var feloader=function(t){!function(t){"use strict";for(var e,r,n={},i=function(){},o="memory".split(","),a="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");e=o.pop();)t[e]=t[e]||n;for(;r=a.pop();)t[r]=t[r]||i}(this.console=this.console||{});var e=this,r=function(){this.Env={host:e,mods:{}},this.Config={debug:"",packages:{},fns:{},useDailyAssets:!1,forceAssetsHost:t,assetsHost:"g.alicdn.com",dailyAssetsHost:"g-assets.daily.taobao.net",crossorigin:!1};var r=this.Loader={};r.Status={ERROR:-1,UNLOADED:0,LOADING:1,LOADED:2,INITIALIZING:3,INITIALIZED:4},this.initUtils(),this.initDataStructure(),this.initCssOnLoad(),this.initGetScript(),this.initConfig(),this.initComboLoader(),this.initLoader(),this.init()};return r.prototype.__BUILD_TIME="",r.prototype.version="5.0.0",r.prototype.config=function(e,r){var n,i,o,a=this.Config,s=a.fns,u=this;if("string"==typeof e)n=s[e],r===t?i=n?n.call(u):a[e]:n?i=n.call(u,r):a[e]=r;else for(var c in e)r=e[c],o=s[c],o?o.call(u,r):a[c]=r;return i},r}();!function(t){function e(t){var e=t.match(u)||[],r={};for(var n in c)r[n]=e[c[n]];return r.hostname&&(r.hostname=r.hostname.toLowerCase()),r.hostname&&!r.pathname&&(r.pathname="/"),r.host=r.hostname,r.port&&(r.host=r.hostname+":"+r.port),r}function r(t){var e=0;return parseFloat(t.replace(/\./g,function(){return 0===e++?".":""}))}function n(t){var e=t.split(/\//);return"/"===t.charAt(0)&&e[0]&&e.unshift(""),"/"===t.charAt(t.length-1)&&t.length>1&&e[e.length-1]&&e.push(""),e}function i(t,e){var r,n,i=0;if(l(t))for(n=t.length;n>i&&e(t[i],i,t)!==!1;i++);else for(r=o(t),n=r.length;n>i&&e(t[r[i]],r[i],t)!==!1;i++);}function o(t){var e=[];for(var r in t)e.push(r);return e}function a(t,e){for(var r in e)t[r]=e[r];return t}function s(t){return"/"===t.charAt(0)&&(t=0===t.indexOf("//")?location.protocol+t:location.protocol+"//"+location.host+t),"/"===t.charAt(t.length-1)&&(t+="index"),h.endsWith(t,".js")&&(t=t.slice(0,-3)),t}var u=new RegExp("^([\\w\\d+.-]+:)?(?://(?:([^/?#@]*)@)?([\\w\\d\\-\\u0100-\\uffff.+%]*|\\[[^\\]]+\\])(?::([0-9]+))?)?([^?#]+)?(\\?[^#]*)?(#.*)?$"),c={protocol:1,auth:2,hostname:3,port:4,pathname:5,search:6,hash:7},l=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},f=/(http(s)?:)?\/\/([^\/]+)(?::(\d+))?/,d=Array.prototype.map,h={noop:function(){},map:d?function(t,e,r){return d.call(t,e,r||this)}:function(t,e,r){for(var n=t.length,i=new Array(n),o=0;n>o;o++){var a="string"==typeof t?t.charAt(o):t[o];(a||o in t)&&(i[o]=e.call(r||this,a,o,t))}return i},startsWith:function(t,e){return 0===t.lastIndexOf(e,0)},isEmptyObject:function(t){for(var e in t)if(void 0!==e)return!1;return!0},endsWith:function(t,e){var r=t.length-e.length;return r>=0&&t.indexOf(e,r)===r},now:Date.now||function(){return+new Date},each:i,keys:o,isArray:l,indexOf:function(t,e){for(var r=0,n=e.length;n>r;r++)if(e[r]===t)return r;return-1},normalizeSlash:function(t){return t.replace(/\\/g,"/")},normalizePath:function(t,r){var i=r.charAt(0);if("."!==i)return r;var o="";if(h.startsWithProtocol(t)){var a=e(t);o=a.protocol+"//"+a.host,t=a.pathname}var s=n(t),u=n(r);s.pop();for(var c=0,l=u.length;l>c;c++){var f=u[c];"."===f||(".."===f?s.pop():s.push(f))}return o+s.join("/").replace(/\/+/,"/")},startsWithProtocol:function(t){return h.startsWith(t,"http:")||h.startsWith(t,"https:")||h.startsWith(t,"file:")},isSameOriginAs:function(t,e){var r=t.match(f),n=e.match(f);return r[0]===n[0]},getHash:function(t){var e,r=5381;for(e=t.length;--e>-1;)r=(r<<5)+r+t.charCodeAt(e);return r+""},getSuffix:function(t){var e=t.match(/\.(\w+)$/);return e?e[1]:void 0}},g=function(){var t,e,n=this.Loader,i=this.Env,o=n.Status,u=i.mods,c=i.host,l=n.Utils={},f=c.document,d=(c.navigator||{}).userAgent||"";((t=d.match(/Web[Kk]it[\/]{0,1}([\d.]*)/))||(t=d.match(/Safari[\/]{0,1}([\d.]*)/)))&&t[1]&&(l.webkit=r(t[1])),(t=d.match(/Trident\/([\d.]*)/))&&(l.trident=r(t[1])),(t=d.match(/Gecko/))&&(l.gecko=.1,(t=d.match(/rv:([\d.]*)/))&&t[1]&&(l.gecko=r(t[1]))),(t=d.match(/MSIE ([^;]*)|Trident.*; rv(?:\s|:)?([0-9.]+)/))&&(e=t[1]||t[2])&&(l.ie=r(e),l.ieMode=f.documentMode||l.ie,l.trident=l.trident||1),a(l,h),a(l,{mix:a,docHead:function(){return f.getElementsByTagName("head")[0]||f.documentElement},collectErrors:function(t,e,r){var n,i,a,s;for(r=r||{},e=e||[],n=0;ne;e++)n&=t[e].initRecursive();return n},getModulesExports:function(t){for(var e=t.length,r=[],n=0;e>n;n++)r.push(t[n].getExports());return r},addModule:function(t,e,r){var n=u[t];return n&&void 0!==n.factory?(console.warn(t+" is defined more than once"),void 0):(l.createModule(t,a({id:t,status:o.LOADED,factory:e},r)),void 0)}})};t.prototype.initUtils=g}(feloader),function(t,e){function r(t,r){var n=this;n.name=e,n.base=e,n.main=e,n.filter=e,n.tag=e,n.charset=e,n.combine=e,n.group=e,n.ctx=r,n.ctx.Loader.Utils.mix(n,t)}function n(t,r){return t[r]!==e?t[r]:t.ctx.Config[r]}function i(t,e,r){for(var n=0;nn;n++)t[n]=e.resolve(t[n]).id;return t}function u(t){var e,r=t.id,n=t.alias;if("string"==typeof n&&(t.alias=n=[n]),n)return n;if(e=t.getPackage()){var i;e.name===r&&(i=e.main)?(r+="/","."!==i.charAt(0)&&(i="./"+i),n=[t.ctx.Loader.Utils.normalizePath(r,i)]):e.alias&&(n=e.alias(r))}return n=t.alias=n||[a(r,t)]}var c="ignorePackageNameInUri";r.prototype={constructor:r,reset:function(t){this.ctx.Loader.Utils.mix(this,t)},getFilter:function(){return n(this,"filter")},getTag:function(){return n(this,"tag")},getBase:function(){return this.base},getCharset:function(){return n(this,"charset")},isCombine:function(){return n(this,"combine")},isIgnorePackageNameInUri:function(){return n(this,c)},getGroup:function(){return n(this,"group")}},o.prototype={feloader:1,constructor:o,config:function(){return this.config},reset:function(t){var e=this,r=this.ctx.Loader.Utils.mix;r(e,t),t.requires&&e.setRequiresModules(t.requires)},require:function(t){return this.resolve(t).getExports()},resolve:function(t){var e=this.ctx.Loader.Utils;return e.createModule(e.normalizePath(this.id,t))},add:function(t){this.waits[t.id]=t},remove:function(t){delete this.waits[t.id]},contains:function(t){return this.waits[t.id]},flush:function(){this.ctx.Loader.Utils.each(this.waits,function(t){t.flush()}),this.waits={}},getType:function(){var t=this.ctx.Loader.Utils,e=this,r=e.type;if(!r){var n=e.id;r=t.endsWith(n,".css")?"css":"js",e.type=r}return r},getAlias:function(){var t=this,e=t.id,r=u(t),n=[];if(r[0]===e)n=r;else if(r.length>1)for(var i=0,o=r.length;o>i;i++){var a=r[i];if(a&&a!==e){var s=this.ctx.Loader.Utils.createModule(a),c=s.getAlias();c?n.push.apply(n,c):n.push(a)}}else n.push(r[0]);return t.normalizedAlias=n,n},getNormalizedModules:function(){var t=this,e=t.getAlias(),r=[],n=this.ctx.Loader.Utils;return n.each(e,function(t){t&&r.push(t)}),t.normalizedModules=n.map(r,function(e){return t.ctx.Loader.Utils.createModule(e)}),t.normalizedModules},fixTwoVersion:function(t){var e=/(\d+\.\d+\.\d+\/.*)\d+\.\d+\.\d+\//;return e.test(t)&&(t=t.replace(e,"$1")),t},getUri:function(){var t=this;return t.uri=this.ctx.Loader.Utils.normalizeSlash(this.ctx.Config.resolveModFn(t)),this.fixTwoVersion(t.uri)},getUrl:function(){return this.getUri()},getExports:function(){var t=this.getNormalizedModules();return t[0]&&t[0].exports},getPackage:function(){var t,e=this,r=e.id,n=this.ctx.Config,i=this.ctx.Loader.Utils,o=this.ctx.Loader.Utils.startsWith,a=n.packages,s=e.id+"/",u="";for(t in a){var c=t;i.endsWith(c,"/")||(c+="/"),o(s,c)&&t.length>u.length&&(u=t)}return!a[u]&&(o(r,"/")||o(r,"http://")||o(r,"https://")||o(r,"file://"))?(e.packageInfo=null,e.packageInfo):(e.packageInfo=a[u]||a.core,e.packageInfo)},getTag:function(){var t=this;return t.tag||t.getPackage()&&t.getPackage().getTag()},getCharset:function(){var t=this;return t.charset||t.getPackage()&&t.getPackage().getCharset()},setRequiresModules:function(t){var e=this,r=e.requiredModules=e.ctx.Loader.Utils.map(s(t,e),function(t){return e.ctx.Loader.Utils.createModule(t)}),n=[];this.ctx.Loader.Utils.each(r,function(t){n.push.apply(n,t.getNormalizedModules())}),e.normalizedRequiredModules=n},getNormalizedRequiredModules:function(){var t=this;return t.setRequiresModules(t.requires),t.normalizedRequiredModules},getRequiredModules:function(){var t=this;return t.requiredModules?t.requiredModules:(t.setRequiresModules(t.requires),t.requiredModules)},callFactory:function(){var t=this;return t.factory.apply(t,t.cjs?[t._require,t.exports,t]:t.ctx.Loader.Utils.map(t.getRequiredModules(),function(t){return t.getExports()}))},initSelf:function(){var t,r=this,n=r.factory,i=this.ctx.Config,o=this.ctx.Loader.Status,a=this.ctx.Loader.Utils;if("function"==typeof n){if(r.exports={},i.debug)t=r.callFactory();else{try{t=r.callFactory()}catch(s){if(r.status=o.ERROR,r.onError||i.onModuleError){var u={type:"init",exception:s,module:r};r.error=u,r.onError&&r.onError(u),i.onModuleError&&i.onModuleError(u)}else setTimeout(function(){throw s},0);return 0}var c=1;if(a.each(r.getNormalizedRequiredModules(),function(t){return t.status===o.ERROR?(c=0,!1):void 0}),!c)return 0}t!==e&&(r.exports=t)}else r.exports=n;return r.status=o.INITIALIZED,r.afterInit&&r.afterInit(r),i.afterModuleInit&&i.afterModuleInit(r),1},initRecursive:function(){var t=this,e=1,r=t.status,n=this.ctx.Loader.Status,i=this.ctx.Loader.Utils;return r===n.ERROR?0:r>=n.INITIALIZING?e:(t.status=n.INITIALIZING,t.cjs?e=t.initSelf():(i.each(t.getNormalizedRequiredModules(),function(t){e=e&&t.initRecursive()}),e&&t.initSelf()),e)},undef:function(){this.status=this.ctx.Loader.Status.UNLOADED,this.error=null,this.factory=null,this.exports=null}};var l=function(){var t=this,e=this.Loader;e.Package=function(e){return new r(e,t)},e.Module=function(e){return new o(e,t)}};t.prototype.initDataStructure=l}(feloader),function(t){var e=function(){function t(){o||r()}function e(t){var e=0;if(i.webkit)t.sheet&&(e=1);else if(t.sheet)try{var r=t.sheet.cssRules;r&&(e=1)}catch(n){var o=n.name;"NS_ERROR_DOM_SECURITY_ERR"===o&&(e=1)}return e}function r(){for(var t in a){var s=a[t],u=s.node;e(u)&&(s.callback&&s.callback.call(u),delete a[t])}o=i.isEmptyObject(a)?0:setTimeout(r,n)}var n=30,i=this.Loader.Utils,o=0,a={};i.pollCss=function(e,r){var n=e.href,i=a[n]={};i.node=e,i.callback=r,t()},i.isCssLoaded=e};t.prototype.initCssOnLoad=e}(feloader),function(t){var e=function(){var t,e=1e3,r=this.Env.host,n=r.document,i=this.Loader.Utils,o=this.Config,a={},s=i.webkit;this.getScript=function(r,u,c){function l(){var t=x.readyState;t&&"loaded"!==t&&"complete"!==t||(x.onreadystatechange=x.onload=null,b(0))}var f,d,h,g,p,m=u,v=o.crossorigin,y=i.endsWith(r,".css");if("object"==typeof m&&(u=m.success,f=m.error,d=m.timeout,c=m.charset,h=m.attrs),y&&i.ieMode<10&&n.getElementsByTagName("style").length+n.getElementsByTagName("link").length>=31)return setTimeout(function(){throw new Error("style and link's number is more than 31.ie < 10 can not insert link: "+r)},0),f&&f(),void 0;if(g=a[r]=a[r]||[],g.push([u,f]),g.length>1)return g.node;var x=n.createElement(y?"link":"script"),M=function(){p&&(clearTimeout(p),p=void 0)};h&&i.each(h,function(t,e){x.setAttribute(e,t)}),c&&(x.charset=c),y?(x.href=r,x.rel="stylesheet"):(x.src=r,x.async=!0,v&&x.setAttribute("crossorigin","anonymous")),g.node=x;var b=function(t){var e,n=t;M(),i.each(a[r],function(t){(e=t[n])&&e.call(x)}),delete a[r]},E="onload"in x,L=o.forceCssPoll||s&&536>s||!s&&!i.trident&&!i.gecko;return y&&L&&E&&(E=!1),E?(x.onload=l,x.onerror=function(){x.onerror=null,b(1)}):y?i.pollCss(x,function(){b(0)}):x.onreadystatechange=l,d&&(p=setTimeout(function(){b(1)},d*e)),t||(t=i.docHead()),y?t.appendChild(x):t.insertBefore(x,t.firstChild),x}};t.prototype.initGetScript=e}(feloader),function(t,e){function r(t,e){return function(r){var n={};for(var i in r)n[i]={},n[i][t]=r[i];e.config("modules",n)}}var n=function(){function t(t,e){if(t=s.normalizeSlash(t),e&&"/"!==t.charAt(t.length-1)&&(t+="/"),l){if(s.startsWith(t,"http:")||s.startsWith(t,"//")||s.startsWith(t,"https:")||s.startsWith(t,"file:"))return t;t=l.protocol+"//"+l.host+s.normalizePath(l.pathname,t)}return t}function n(t,e,r){var n=e.getTag()||c.tag||"";return n&&(r&&(n+=r),t+="?t="+n),t}var i=this,o=this.Loader,a=o.Package,s=o.Utils,u=this.Env.host,c=this.Config,l=u.location,f=c.fns;c.loadModsFn=function(t,e){i.getScript(t.uri,e)},c.resolveModFn=function(t){var e,r,i,o,a=t.id,u=t.path,c=t.getPackage();if(!c){var l=s.endsWith(a,".css"),f=s.endsWith(a,".js");return o=l?"css":"js",i="."+o,l||f||(a+=".js"),n(a,t,i)}var d=c.getBase(),h=c.name;return o=t.getType(),i="."+o,u||(s.endsWith(a,i)&&(a=a.slice(0,-i.length)),e=c.getFilter()||"","function"==typeof e?u=e(a,o):"string"==typeof e&&(e&&(e="-"+e),u=a+e+i)),"core"===h?r=d+u:a===h?r=d.substring(0,d.length-1)+e+i:(c.isIgnorePackageNameInUri()&&(u=u.substring(h.length+1)),r=d+u),n(r,t,i)},f.requires=r("requires",i),f.alias=r("alias",i),f.packages=function(r){var n=c.packages;return r===e?n:r?(s.each(r,function(e,r){var i=e.name||r;s.startsWith(i,"/")?i=l.protocol+"//"+l.host+i:(s.startsWith(i,"./")||s.startsWith(i,"../"))&&(i=s.normalizePath(l.href,i)),s.endsWith(i,"/")&&(i=i.slice(0,-1)),e.name=i;var o=e.base||e.path;o&&(e.base=t(o,!0)),n[i]?n[i].reset(e):n[i]=new a(e)}),e):(c.packages={core:n.core},e)},f.modules=function(e){e&&s.each(e,function(e,r){var n=e.uri;n&&(e.uri=t(n)),s.createModule(r,e)})},f.base=function(t){var r=this,n=c.packages.core;return t?(r.config("packages",{core:{base:t}}),e):n&&n.getBase()}};t.prototype.initConfig=n}(feloader),function(t,e){function r(t,e){if(t||"function"!=typeof e)t&&t.requires&&!t.cjs&&(t.cjs=0);else{var r=[];r.length&&(t=t||{},t.requires=r)}return t}function n(t){var e,r,n,i=[];for(e=0,n=t.length;n>e;e++)r=t[e],"exports"===r||"module"===r||"require"===r||i.push(r);return i}function i(t,e){var r=t.indexOf("//"),n="";-1!==r&&(n=t.substring(0,t.indexOf("//")+2)),t=t.substring(n.length).split(/\//),e=e.substring(n.length).split(/\//);for(var i=Math.min(t.length,e.length),o=0;i>o&&t[o]===e[o];o++);var a=n+t.slice(0,o).join("/")+"/";return a=a.replace(/\/\/$/,"/")}function o(t,e,r,n,i,o){if(t&&e.length>1){for(var a=t.length,s=[],u=0;u=0;e--)if(n=i[e],"interactive"===n.readyState){t=n;break}return r=t?t.getAttribute("data-mod-id"):c}var u,c,l,f=this.Loader,d=this.Config,h=f.Status,g=f.Utils,p=g.addModule,m=g.each,v=g.getHash,y=h.LOADING,x=h.LOADED,M=h.ERROR,b=g.ieMode&&g.ieMode<10,E=0;a.add=function(t,i,o,a){if("string"==typeof t)if(3===a&&g.isArray(i)){var f=i;i=o,o={requires:n(f),cjs:1}}else 2===a&&i.call&&(o={cjs:1});if(g.isArray(t)&&2===a){var f=t;t=i,i={requires:n(f),cjs:1}}"function"==typeof t||1===a?(o=i,i=t,o=r(o,i),b?(t=s(),t&&p(t,i,o),c=null,l=0):u={factory:i,config:o}):(b?(c=null,l=0):u=e,o=r(o,i),p(t,i,o))};g.mix(a.prototype,{use:function(e){for(var r,n=this,i=d.timeout,o=[],a=0;ax)n[a]=1;else{u===x||s.contains(c)||(u!==y&&(s.status=y,i.push(s)),s.add(c),c.wait(s)),d.requireModsPre||c.calculate(s.getNormalizedRequiredModules(),e,r,n,i),n[a]=1}else e.push(s),n[a]=1;return i},getComboMods:function(t){var e,r,n,o,a,s,u,c,l,f,d,h=t.length,p={},m={};for(e=0;h>e;++e)if(n=t[e],a=n.getType(),d=n.getUri(),o=n.getPackage(),o?(c=o.getBase(),l=o.name,u=o.getCharset(),s=o.getTag(),f=o.getGroup()):c=n.id,o&&o.isCombine()&&f){var y=p[a]||(p[a]={});f=f+"-"+u;var x=y[f]||(y[f]={}),M=0;g.each(x,function(t,e){if(g.isSameOriginAs(e,c)){var r=i(e,c);t.push(n),s&&s!==t.tag&&(t.tag=v(t.tag+s)),delete x[e],x[r]=t,M=1}}),M||(r=x[c]=[n],r.charset=u,r.tag=s||"")}else{var b=m[a]||(m[a]={});(r=b[c])?s&&s!==r.tag&&(r.tag=v(r.tag+s)):(r=b[c]=[],r.charset=u,r.tag=s||""),r.push(n)}return{groups:p,normals:m}},getComboUris:function(t){function r(t,r,n){function a(t){if(r){if(d.useDailyAssets)return t.replace(d.assetsHost,d.dailyAssetsHost);if(d.forceAssetsHost)return t.replace(d.assetsHost,d.forceAssetsHost)}return t}function s(t){L.push({combine:1,uri:a(t),charset:M,mods:y})}function p(){return o(m,v,r,u,c,b)}for(var m,v=[],y=[],x=n.tag,M=n.charset,b=x?"?t="+encodeURIComponent(x)+"."+t:"",E=r.length,L=[],q=0;qf||p().length>h)&&(v.pop(),y.pop(),s(p()),v=[],y=[],m=e,q--)}else L.push({combine:0,uri:a(k),charset:M,mods:[w]})}v.length&&s(p()),l[t].push.apply(l[t],L)}var n,a,s,u=d.comboPrefix,c=d.comboSep,l={},f=d.comboMaxFileNum,h=d.comboMaxUriLength,p=this.getComboMods(t),m=p.normals,v=p.groups;for(n in m){l[n]=l[n]||[];for(a in m[n])r(n,a,m[n][a])}for(n in v){l[n]=l[n]||[];for(s in v[n])for(a in v[n][s])r(n,a,v[n][s][a])}return l},flush:function(){var t=this;if(t.callback){for(var e=t.head,r=t.callback;e;){var n=e.node,i=n.status;if(!(i>=x||i===M))return;n.remove(t),e=t.head=e.next}t.callback=null,r()}},isCompleteLoading:function(){return!this.head},wait:function(t){var e=this;if(e.head){var r={node:t};e.tail.next=r,e.tail=r}else e.tail=e.head={node:t}}}),f.ComboLoader=a};t.prototype.initComboLoader=a}(feloader),function(t){var e=function(){var e=this.Loader,r=e.Utils,n=r.createModule,i=e.ComboLoader;r.mix(this,{getModule:function(t){return n(t)},getPackage:function(t){return this.Config.packages[t]},add:function(t,e,r){i.add(t,e,r,arguments.length)},use:function(e,n,o){function a(e,n){if(console.error("feloader: "+n+" the following modules error"),console.error(r.map(e,function(t){return t.id})),o){try{o.apply(t,e)}catch(i){setTimeout(function(){throw i},0)}o=null}}function s(){++c;var e=[],i=u.calculate(h,e);if(e.length)a(e,"load");else if(u.isCompleteLoading()){var o=r.initModules(h);if(o){if(n){try{n.apply(t,r.getModulesExports(d))}catch(l){setTimeout(function(){throw l},0)}n=null}}else a(r.collectErrors(h),"init")}else u.callback=s,i.length&&u.use(i)}var u,c=0;if("string"==typeof e&&(e=e.split(/\s*,\s*/)),!e||e&&!e.length)return t;"object"==typeof n&&(o=n.error,n=n.success);for(var l=0;ld;d++){var g=s[d];if(g.match(n)){u+=g.replace(r,"$1");break}}}return a.base=a.base||u,a},s=function(t){var e,n,i=r.getElementsByTagName("script");for(e=i.length-1;e>=0;e--)if(n=a(i[e],t))return n;return null};t.init=function(e){var r=e.name;t.config(s(r))},r&&r.getElementsByTagName&&(t.config(i.mix({comboMaxUriLength:2e3,comboMaxFileNum:40},s("feloader"))),t.config("combine",!0)),function(){function e(t){var e;for(e=0;e0?a.offset().top-p.scrollTop()<=115?(b.addClass(y),o((0,d["default"])(e).find(".lzd-site-nav-menu"))):(b.removeClass(y),l((0,d["default"])(e).find(".lzd-site-nav-menu"))):p.scrollTop()>=600?b.addClass(y):b.removeClass(y)}},{"key":"floatEvent","value":function(e){var a=this;this.animHead(e),p.on("scroll",function(){a.animHead(e)})}},{"key":"addLoginRedirectUrl","value":function(){(0,d["default"])("#anonLogin a").on("click",function(e){if("2"===window.g_config.voyagerVersion){var a=(0,d["default"])(e.target).attr("href"),n=window.location.href;n.indexOf(a)>-1||(e.preventDefault(),a.indexOf("?")>0?a+="&redirect="+encodeURIComponent(n):a+="?redirect="+encodeURIComponent(n),location.href=a)}}),(0,d["default"])("#account-popup-logout").on("click",function(e){if("2"===window.g_config.voyagerVersion){var a=(0,d["default"])(e.currentTarget).attr("href"),n=window.location.href;e.preventDefault(),a.indexOf("?")>0?a+="&redirect="+encodeURIComponent(n):a+="?redirect="+encodeURIComponent(n),location.href=a}})}}]),e}();a["default"]=function(e){new w(e)},n.exports=a["default"]});define('@ali/lzdmod-jquery/index',function (require, exports, module) { module.exports=function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="//g.alicdn.com/lzdmod/jquery/5.0.9/",t(t.s=0)}([function(e,t,n){"use strict";e.exports=n(1)},function(e,t,n){var r,i;/*! * jQuery JavaScript Library v1.12.4 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2016-05-20T17:17Z */ !function(t,n){"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,o){function a(e){var t=!!e&&"length"in e&&e.length,n=me.type(e);return"function"!==n&&!me.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function s(e,t,n){if(me.isFunction(t))return me.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return me.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(ke.test(t))return me.filter(t,e,n);t=me.filter(t,e)}return me.grep(e,function(e){return me.inArray(e,t)>-1!==n})}function u(e,t){do{e=e[t]}while(e&&1!==e.nodeType);return e}function l(e){var t={};return me.each(e.match(Le)||[],function(e,n){t[n]=!0}),t}function c(){se.addEventListener?(se.removeEventListener("DOMContentLoaded",f),n.removeEventListener("load",f)):(se.detachEvent("onreadystatechange",f),n.detachEvent("onload",f))}function f(){(se.addEventListener||"load"===n.event.type||"complete"===se.readyState)&&(c(),me.ready())}function d(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(Me,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Oe.test(n)?me.parseJSON(n):n)}catch(e){}me.data(e,t,n)}else n=void 0}return n}function p(e){var t;for(t in e)if(("data"!==t||!me.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function h(e,t,n,r){if(_e(e)){var i,o,a=me.expando,s=e.nodeType,u=s?me.cache:e,l=s?e[a]:e[a]&&a;if(l&&u[l]&&(r||u[l].data)||void 0!==n||"string"!=typeof t)return l||(l=s?e[a]=ae.pop()||me.guid++:a),u[l]||(u[l]=s?{}:{toJSON:me.noop}),"object"!=typeof t&&"function"!=typeof t||(r?u[l]=me.extend(u[l],t):u[l].data=me.extend(u[l].data,t)),o=u[l],r||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[me.camelCase(t)]=n),"string"==typeof t?null==(i=o[t])&&(i=o[me.camelCase(t)]):i=o,i}}function g(e,t,n){if(_e(e)){var r,i,o=e.nodeType,a=o?me.cache:e,s=o?e[me.expando]:me.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){me.isArray(t)?t=t.concat(me.map(t,me.camelCase)):t in r?t=[t]:(t=me.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;for(;i--;)delete r[t[i]];if(n?!p(r):!me.isEmptyObject(r))return}(n||(delete a[s].data,p(a[s])))&&(o?me.cleanData([e],!0):ge.deleteExpando||a!=a.window?delete a[s]:a[s]=void 0)}}}function m(e,t,n,r){var i,o=1,a=20,s=r?function(){return r.cur()}:function(){return me.css(e,t,"")},u=s(),l=n&&n[3]||(me.cssNumber[t]?"":"px"),c=(me.cssNumber[t]||"px"!==l&&+u)&&Re.exec(me.css(e,t));if(c&&c[3]!==l){l=l||c[3],n=n||[],c=+u||1;do{o=o||".5",c/=o,me.style(e,t,c+l)}while(o!==(o=s()/u)&&1!==o&&--a)}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function v(e){var t=Ue.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function y(e,t){var n,r,i=0,o=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||me.nodeName(r,t)?o.push(r):me.merge(o,y(r,t));return void 0===t||t&&me.nodeName(e,t)?me.merge([e],o):o}function x(e,t){for(var n,r=0;null!=(n=e[r]);r++)me._data(n,"globalEval",!t||me._data(t[r],"globalEval"))}function b(e){Ie.test(e.type)&&(e.defaultChecked=e.checked)}function w(e,t,n,r,i){for(var o,a,s,u,l,c,f,d=e.length,p=v(t),h=[],g=0;g"!==f[1]||Je.test(a)?0:u:u.firstChild,o=a&&a.childNodes.length;o--;)me.nodeName(c=a.childNodes[o],"tbody")&&!c.childNodes.length&&a.removeChild(c);for(me.merge(h,u.childNodes),u.textContent="";u.firstChild;)u.removeChild(u.firstChild);u=p.lastChild}else h.push(t.createTextNode(a));for(u&&p.removeChild(u),ge.appendChecked||me.grep(y(h,"input"),b),g=0;a=h[g++];)if(r&&me.inArray(a,r)>-1)i&&i.push(a);else if(s=me.contains(a.ownerDocument,a),u=y(p.appendChild(a),"script"),s&&x(u),n)for(o=0;a=u[o++];)ze.test(a.type||"")&&n.push(a);return u=null,p}function T(){return!0}function C(){return!1}function E(){try{return se.activeElement}catch(e){}}function N(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)N(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=C;else if(!i)return e;return 1===o&&(a=i,i=function(e){return me().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=me.guid++)),e.each(function(){me.event.add(this,t,i,r,n)})}function k(e,t){return me.nodeName(e,"table")&&me.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function S(e){return e.type=(null!==me.find.attr(e,"type"))+"/"+e.type,e}function A(e){var t=at.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function D(e,t){if(1===t.nodeType&&me.hasData(e)){var n,r,i,o=me._data(e),a=me._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;r1&&"string"==typeof p&&!ge.checkClone&&ot.test(p))return e.each(function(i){var o=e.eq(i);h&&(t[0]=p.call(this,i,o.html())),L(o,t,n,r)});if(f&&(l=w(t,e[0].ownerDocument,!1,e,r),i=l.firstChild,1===l.childNodes.length&&(l=i),i||r)){for(s=me.map(y(l,"script"),S),a=s.length;c")).appendTo(t.documentElement),t=(ct[0].contentWindow||ct[0].contentDocument).document,t.write(),t.close(),n=q(e,t),ct.detach()),ft[e]=n),n}function O(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function M(e){if(e in kt)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=Nt.length;n--;)if((e=Nt[n]+t)in kt)return e}function F(e,t){for(var n,r,i,o=[],a=0,s=e.length;a=0&&n=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==me.type(e)||e.nodeType||me.isWindow(e))return!1;try{if(e.constructor&&!he.call(e,"constructor")&&!he.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}if(!ge.ownFirst)for(t in e)return he.call(e,t);for(t in e);return void 0===t||he.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?de[pe.call(e)]||"object":typeof e},globalEval:function(e){e&&me.trim(e)&&(n.execScript||function(e){n.eval.call(n,e)})(e)},camelCase:function(e){return e.replace(ye,"ms-").replace(xe,be)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(a(e))for(n=e.length;rb.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[F]=!0,e}function i(e){var t=j.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=n.length;r--;)b.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||X)-(~e.sourceIndex||X);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function u(e){return e&&void 0!==e.getElementsByTagName&&e}function l(){}function c(e){for(var t=0,n=e.length,r="";t1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function p(e,n,r){for(var i=0,o=n.length;i-1&&(r[l]=!(a[l]=f))}}else x=h(x===a?x.splice(m,x.length):x),o?o(null,a,x,u):G.apply(a,x)})}function m(e){for(var t,n,r,i=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=f(function(e){return e===t},a,!0),l=f(function(e){return K(t,e)>-1},a,!0),p=[function(e,n,r){var i=!o&&(r||n!==k)||((t=n).nodeType?u(e,n,r):l(e,n,r));return t=null,i}];s1&&d(p),s>1&&c(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(oe,"$1"),n,s0,o=e.length>0,a=function(r,a,s,u,l){var c,f,d,p=0,g="0",m=r&&[],v=[],y=k,x=r||o&&b.find.TAG("*",l),w=P+=null==y?1:Math.random()||.1,T=x.length;for(l&&(k=a===j||a||l);g!==T&&null!=(c=x[g]);g++){if(o&&c){for(f=0,a||c.ownerDocument===j||(D(c),s=!H);d=e[f++];)if(d(c,a||j,s)){u.push(c);break}l&&(P=w)}i&&((c=!d&&c)&&p--,r&&m.push(c))}if(p+=g,i&&g!==p){for(f=0;d=n[f++];)d(m,v,a,s);if(r){if(p>0)for(;g--;)m[g]||v[g]||(v[g]=Y.call(u));v=h(v)}G.apply(u,v),l&&!r&&v.length>0&&p+n.length>1&&t.uniqueSort(u)}return l&&(P=w,k=y),m};return i?r(a):a}var y,x,b,w,T,C,E,N,k,S,A,D,j,L,H,q,_,O,M,F="sizzle"+1*new Date,R=e.document,P=0,B=0,W=n(),I=n(),$=n(),z=function(e,t){return e===t&&(A=!0),0},X=1<<31,U={}.hasOwnProperty,V=[],Y=V.pop,J=V.push,G=V.push,Q=V.slice,K=function(e,t){for(var n=0,r=e.length;n+~]|"+ee+")"+ee+"*"),ue=new RegExp("="+ee+"*([^\\]'\"]*?)"+ee+"*\\]","g"),le=new RegExp(re),ce=new RegExp("^"+te+"$"),fe={ID:new RegExp("^#("+te+")"),CLASS:new RegExp("^\\.("+te+")"),TAG:new RegExp("^("+te+"|[*])"),ATTR:new RegExp("^"+ne),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ee+"*(even|odd|(([+-]|)(\\d*)n|)"+ee+"*(?:([+-]|)"+ee+"*(\\d+)|))"+ee+"*\\)|)","i"),bool:new RegExp("^(?:"+Z+")$","i"),needsContext:new RegExp("^"+ee+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ee+"*((?:-\\d)?\\d*)"+ee+"*\\)|)(?=[^-]|$)","i")},de=/^(?:input|select|textarea|button)$/i,pe=/^h\d$/i,he=/^[^{]+\{\s*\[native \w/,ge=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,me=/[+~]/,ve=/'|\\/g,ye=new RegExp("\\\\([\\da-f]{1,6}"+ee+"?|("+ee+")|.)","ig"),xe=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},be=function(){D()};try{G.apply(V=Q.call(R.childNodes),R.childNodes),V[R.childNodes.length].nodeType}catch(e){G={apply:V.length?function(e,t){J.apply(e,Q.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}x=t.support={},T=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},D=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:R;return r!==j&&9===r.nodeType&&r.documentElement?(j=r,L=j.documentElement,H=!T(j),(n=j.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",be,!1):n.attachEvent&&n.attachEvent("onunload",be)),x.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),x.getElementsByTagName=i(function(e){return e.appendChild(j.createComment("")),!e.getElementsByTagName("*").length}),x.getElementsByClassName=he.test(j.getElementsByClassName),x.getById=i(function(e){return L.appendChild(e).id=F,!j.getElementsByName||!j.getElementsByName(F).length}),x.getById?(b.find.ID=function(e,t){if(void 0!==t.getElementById&&H){var n=t.getElementById(e);return n?[n]:[]}},b.filter.ID=function(e){var t=e.replace(ye,xe);return function(e){return e.getAttribute("id")===t}}):(delete b.find.ID,b.filter.ID=function(e){var t=e.replace(ye,xe);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),b.find.TAG=x.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):x.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=x.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&H)return t.getElementsByClassName(e)},_=[],q=[],(x.qsa=he.test(j.querySelectorAll))&&(i(function(e){L.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+ee+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||q.push("\\["+ee+"*(?:value|"+Z+")"),e.querySelectorAll("[id~="+F+"-]").length||q.push("~="),e.querySelectorAll(":checked").length||q.push(":checked"),e.querySelectorAll("a#"+F+"+*").length||q.push(".#.+[+~]")}),i(function(e){var t=j.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&q.push("name"+ee+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),q.push(",.*:")})),(x.matchesSelector=he.test(O=L.matches||L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&i(function(e){x.disconnectedMatch=O.call(e,"div"),O.call(e,"[s!='']:x"),_.push("!=",re)}),q=q.length&&new RegExp(q.join("|")),_=_.length&&new RegExp(_.join("|")),t=he.test(L.compareDocumentPosition),M=t||he.test(L.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},z=t?function(e,t){if(e===t)return A=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!x.sortDetached&&t.compareDocumentPosition(e)===n?e===j||e.ownerDocument===R&&M(R,e)?-1:t===j||t.ownerDocument===R&&M(R,t)?1:S?K(S,e)-K(S,t):0:4&n?-1:1)}:function(e,t){if(e===t)return A=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],u=[t];if(!i||!o)return e===j?-1:t===j?1:i?-1:o?1:S?K(S,e)-K(S,t):0;if(i===o)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?a(s[r],u[r]):s[r]===R?-1:u[r]===R?1:0},j):j},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==j&&D(e),n=n.replace(ue,"='$1']"),x.matchesSelector&&H&&!$[n+" "]&&(!_||!_.test(n))&&(!q||!q.test(n)))try{var r=O.call(e,n);if(r||x.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,j,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==j&&D(e),M(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==j&&D(e);var n=b.attrHandle[t.toLowerCase()],r=n&&U.call(b.attrHandle,t.toLowerCase())?n(e,t,!H):void 0;return void 0!==r?r:x.attributes||!H?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(A=!x.detectDuplicates,S=!x.sortStable&&e.slice(0),e.sort(z),A){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return S=null,e},w=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=w(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=w(t);return n},b=t.selectors={cacheLength:50,createPseudo:r,match:fe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ye,xe),e[3]=(e[3]||e[4]||e[5]||"").replace(ye,xe),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return fe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&le.test(n)&&(t=C(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ye,xe).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=W[e+" "];return t||(t=new RegExp("(^|"+ee+")"+e+"("+ee+"|$)"))&&W(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(ie," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,d,p,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!u&&!s,x=!1;if(m){if(o){for(;g;){for(d=t;d=d[g];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&y){for(d=m,f=d[F]||(d[F]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),l=c[e]||[],p=l[0]===P&&l[1],x=p&&l[2],d=p&&m.childNodes[p];d=++p&&d&&d[g]||(x=p=0)||h.pop();)if(1===d.nodeType&&++x&&d===t){c[e]=[P,p,x];break}}else if(y&&(d=t,f=d[F]||(d[F]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),l=c[e]||[],p=l[0]===P&&l[1],x=p),!1===x)for(;(d=++p&&d&&d[g]||(x=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++x||(y&&(f=d[F]||(d[F]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),c[e]=[P,x]),d!==t)););return(x-=i)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,n){var i,o=b.pseudos[e]||b.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[F]?o(n):o.length>1?(i=[e,e,"",n],b.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=K(e,i[a]),e[r]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=E(e.replace(oe,"$1"));return i[F]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(ye,xe),function(t){return(t.textContent||t.innerText||w(t)).indexOf(e)>-1}}),lang:r(function(e){return ce.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ye,xe).toLowerCase(),function(t){var n;do{if(n=H?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===L},focus:function(e){return e===j.activeElement&&(!j.hasFocus||j.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return pe.test(e.nodeName)},input:function(e){return de.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:s(function(){return[0]}),last:s(function(e,t){return[t-1]}),eq:s(function(e,t,n){return[n<0?n+t:n]}),even:s(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:s(function(e,t,n){for(var r=n<0?n+t:n;++r2&&"ID"===(a=o[0]).type&&x.getById&&9===t.nodeType&&H&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(ye,xe),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=fe.needsContext.test(e)?0:o.length;i--&&(a=o[i],!b.relative[s=a.type]);)if((l=b.find[s])&&(r=l(a.matches[0].replace(ye,xe),me.test(o[0].type)&&u(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&c(o)))return G.apply(n,r),n;break}}return(f||E(e,d))(r,t,!H,n,!t||me.test(e)&&u(t.parentNode)||t),n},x.sortStable=F.split("").sort(z).join("")===F,x.detectDuplicates=!!A,D(),x.sortDetached=i(function(e){return 1&e.compareDocumentPosition(j.createElement("div"))}),i(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),x.attributes&&i(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(Z,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(n);me.find=we,me.expr=we.selectors,me.expr[":"]=me.expr.pseudos,me.uniqueSort=me.unique=we.uniqueSort,me.text=we.getText,me.isXMLDoc=we.isXML,me.contains=we.contains;var Te=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&me(e).is(n))break;r.push(e)}return r},Ce=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Ee=me.expr.match.needsContext,Ne=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,ke=/^.[^:#\[\.,]*$/;me.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?me.find.matchesSelector(r,e)?[r]:[]:me.find.matches(e,me.grep(t,function(e){return 1===e.nodeType}))},me.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(me(e).filter(function(){for(t=0;t1?me.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(s(this,e||[],!1))},not:function(e){return this.pushStack(s(this,e||[],!0))},is:function(e){return!!s(this,"string"==typeof e&&Ee.test(e)?me(e):e||[],!1).length}});var Se,Ae=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(me.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||Se,"string"==typeof e){if(!(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:Ae.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof me?t[0]:t,me.merge(this,me.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:se,!0)),Ne.test(r[1])&&me.isPlainObject(t))for(r in t)me.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}if((i=se.getElementById(r[2]))&&i.parentNode){if(i.id!==r[2])return Se.find(e);this.length=1,this[0]=i}return this.context=se,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):me.isFunction(e)?void 0!==n.ready?n.ready(e):e(me):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),me.makeArray(e,this))}).prototype=me.fn,Se=me(se);var De=/^(?:parents|prev(?:Until|All))/,je={children:!0,contents:!0,next:!0,prev:!0};me.fn.extend({has:function(e){var t,n=me(e,this),r=n.length;return this.filter(function(){for(t=0;t-1:1===n.nodeType&&me.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?me.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?me.inArray(this[0],me(e)):me.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(me.uniqueSort(me.merge(this.get(),me(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),me.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Te(e,"parentNode")},parentsUntil:function(e,t,n){return Te(e,"parentNode",n)},next:function(e){return u(e,"nextSibling")},prev:function(e){return u(e,"previousSibling")},nextAll:function(e){return Te(e,"nextSibling")},prevAll:function(e){return Te(e,"previousSibling")},nextUntil:function(e,t,n){return Te(e,"nextSibling",n)},prevUntil:function(e,t,n){return Te(e,"previousSibling",n)},siblings:function(e){return Ce((e.parentNode||{}).firstChild,e)},children:function(e){return Ce(e.firstChild)},contents:function(e){return me.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:me.merge([],e.childNodes)}},function(e,t){me.fn[e]=function(n,r){var i=me.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=me.filter(r,i)),this.length>1&&(je[e]||(i=me.uniqueSort(i)),De.test(e)&&(i=i.reverse())),this.pushStack(i)}});var Le=/\S+/g;me.Callbacks=function(e){e="string"==typeof e?l(e):me.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s-1;)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?me.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=!0,n||c.disable(),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=n||[],n=[e,n.slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},me.extend({Deferred:function(e){var t=[["resolve","done",me.Callbacks("once memory"),"resolved"],["reject","fail",me.Callbacks("once memory"),"rejected"],["notify","progress",me.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return me.Deferred(function(n){me.each(t,function(t,o){var a=me.isFunction(e[t])&&e[t];i[o[1]](function(){var e=a&&a.apply(this,arguments);e&&me.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?me.extend(e,r):r}},i={};return r.pipe=r.then,me.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,o=ue.call(arguments),a=o.length,s=1!==a||e&&me.isFunction(e.promise)?a:0,u=1===s?e:me.Deferred(),l=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?ue.call(arguments):i,r===t?u.notifyWith(n,r):--s||u.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);i0||(He.resolveWith(se,[me]),me.fn.triggerHandler&&(me(se).triggerHandler("ready"),me(se).off("ready"))))}}),me.ready.promise=function(e){if(!He)if(He=me.Deferred(),"complete"===se.readyState||"loading"!==se.readyState&&!se.documentElement.doScroll)n.setTimeout(me.ready);else if(se.addEventListener)se.addEventListener("DOMContentLoaded",f),n.addEventListener("load",f);else{se.attachEvent("onreadystatechange",f),n.attachEvent("onload",f);var t=!1;try{t=null==n.frameElement&&se.documentElement}catch(e){}t&&t.doScroll&&function e(){if(!me.isReady){try{t.doScroll("left")}catch(t){return n.setTimeout(e,50)}c(),me.ready()}}()}return He.promise(e)},me.ready.promise();var qe;for(qe in me(ge))break;ge.ownFirst="0"===qe,ge.inlineBlockNeedsLayout=!1,me(function(){var e,t,n,r;(n=se.getElementsByTagName("body")[0])&&n.style&&(t=se.createElement("div"),r=se.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),void 0!==t.style.zoom&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",ge.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(r))}),function(){var e=se.createElement("div");ge.deleteExpando=!0;try{delete e.test}catch(e){ge.deleteExpando=!1}e=null}();var _e=function(e){var t=me.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||!0!==t&&e.getAttribute("classid")===t)},Oe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Me=/([A-Z])/g;me.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?me.cache[e[me.expando]]:e[me.expando])&&!p(e)},data:function(e,t,n){return h(e,t,n)},removeData:function(e,t){return g(e,t)},_data:function(e,t,n){return h(e,t,n,!0)},_removeData:function(e,t){return g(e,t,!0)}}),me.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=me.data(o),1===o.nodeType&&!me._data(o,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=me.camelCase(r.slice(5)),d(o,r,i[r])));me._data(o,"parsedAttrs",!0)}return i}return"object"==typeof e?this.each(function(){me.data(this,e)}):arguments.length>1?this.each(function(){me.data(this,e,t)}):o?d(o,e,me.data(o,e)):void 0},removeData:function(e){return this.each(function(){me.removeData(this,e)})}}),me.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=me._data(e,t),n&&(!r||me.isArray(n)?r=me._data(e,t,me.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=me.queue(e,t),r=n.length,i=n.shift(),o=me._queueHooks(e,t),a=function(){me.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return me._data(e,n)||me._data(e,n,{empty:me.Callbacks("once memory").add(function(){me._removeData(e,t+"queue"),me._removeData(e,n)})})}}),me.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length
a",ge.leadingWhitespace=3===e.firstChild.nodeType,ge.tbody=!e.getElementsByTagName("tbody").length,ge.htmlSerialize=!!e.getElementsByTagName("link").length,ge.html5Clone="<:nav>"!==se.createElement("nav").cloneNode(!0).outerHTML,n.type="checkbox",n.checked=!0,t.appendChild(n),ge.appendChecked=n.checked,e.innerHTML="",ge.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,t.appendChild(e),n=se.createElement("input"),n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),ge.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,ge.noCloneEvent=!!e.addEventListener,e[me.expando]=1,ge.attributes=!e.getAttribute(me.expando)}();var Ve={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:ge.htmlSerialize?[0,"",""]:[1,"X
","
"]};Ve.optgroup=Ve.option,Ve.tbody=Ve.tfoot=Ve.colgroup=Ve.caption=Ve.thead,Ve.th=Ve.td;var Ye=/<|&#?\w+;/,Je=/-1&&(h=p.split("."),p=h.shift(),h.sort()),a=p.indexOf(":")<0&&"on"+p,e=e[me.expando]?e:new me.Event(p,"object"==typeof e&&e),e.isTrigger=i?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:me.makeArray(t,[e]),l=me.event.special[p]||{},i||!l.trigger||!1!==l.trigger.apply(r,t))){if(!i&&!l.noBubble&&!me.isWindow(r)){for(u=l.delegateType||p,Ze.test(u+p)||(s=s.parentNode);s;s=s.parentNode)d.push(s),c=s;c===(r.ownerDocument||se)&&d.push(c.defaultView||c.parentWindow||n)}for(f=0;(s=d[f++])&&!e.isPropagationStopped();)e.type=f>1?u:l.bindType||p,o=(me._data(s,"events")||{})[e.type]&&me._data(s,"handle"),o&&o.apply(s,t),(o=a&&s[a])&&o.apply&&_e(s)&&(e.result=o.apply(s,t),!1===e.result&&e.preventDefault());if(e.type=p,!i&&!e.isDefaultPrevented()&&(!l._default||!1===l._default.apply(d.pop(),t))&&_e(r)&&a&&r[p]&&!me.isWindow(r)){c=r[a],c&&(r[a]=null),me.event.triggered=p;try{r[p]()}catch(e){}me.event.triggered=void 0,c&&(r[a]=c)}return e.result}},dispatch:function(e){e=me.event.fix(e);var t,n,r,i,o,a=[],s=ue.call(arguments),u=(me._data(this,"events")||{})[e.type]||[],l=me.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,e)){for(a=me.event.handlers.call(this,e,u),t=0;(i=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(o.namespace)||(e.handleObj=o,e.data=o.data,void 0!==(r=((me.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(e.result=r)&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(!0!==u.disabled||"click"!==e.type)){for(r=[],n=0;n-1:me.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&a.push({elem:u,handlers:r})}return s]","i"),rt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,it=/\s*$/g,ut=v(se),lt=ut.appendChild(se.createElement("div"));me.extend({htmlPrefilter:function(e){return e.replace(rt,"<$1>")},clone:function(e,t,n){var r,i,o,a,s,u=me.contains(e.ownerDocument,e);if(ge.html5Clone||me.isXMLDoc(e)||!nt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(lt.innerHTML=e.outerHTML,lt.removeChild(o=lt.firstChild)),!(ge.noCloneEvent&&ge.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||me.isXMLDoc(e)))for(r=y(o),s=y(e),a=0;null!=(i=s[a]);++a)r[a]&&j(i,r[a]);if(t)if(n)for(s=s||y(e),r=r||y(o),a=0;null!=(i=s[a]);a++)D(i,r[a]);else D(e,o);return r=y(o,"script"),r.length>0&&x(r,!u&&y(e,"script")),r=s=i=null,o},cleanData:function(e,t){for(var n,r,i,o,a=0,s=me.expando,u=me.cache,l=ge.attributes,c=me.event.special;null!=(n=e[a]);a++)if((t||_e(n))&&(i=n[s],o=i&&u[i])){if(o.events)for(r in o.events)c[r]?me.event.remove(n,r):me.removeEvent(n,r,o.handle);u[i]&&(delete u[i],l||void 0===n.removeAttribute?n[s]=void 0:n.removeAttribute(s),ae.push(i))}}}),me.fn.extend({domManip:L,detach:function(e){return H(this,e,!0)},remove:function(e){return H(this,e)},text:function(e){return We(this,function(e){return void 0===e?me.text(this):this.empty().append((this[0]&&this[0].ownerDocument||se).createTextNode(e))},null,e,arguments.length)},append:function(){return L(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){k(this,e).appendChild(e)}})},prepend:function(){return L(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=k(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return L(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return L(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&me.cleanData(y(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&me.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return me.clone(this,e,t)})},html:function(e){return We(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(tt,""):void 0;if("string"==typeof e&&!it.test(e)&&(ge.htmlSerialize||!nt.test(e))&&(ge.leadingWhitespace||!Xe.test(e))&&!Ve[($e.exec(e)||["",""])[1].toLowerCase()]){e=me.htmlPrefilter(e);try{for(;nt",l.childNodes[0].style.borderCollapse="separate",e=l.getElementsByTagName("td"),e[0].style.cssText="margin:0;border:0;padding:0;display:none",(o=0===e[0].offsetHeight)&&(e[0].style.display="",e[1].style.display="none",o=0===e[0].offsetHeight)),f.removeChild(u)}var t,r,i,o,a,s,u=se.createElement("div"),l=se.createElement("div");l.style&&(l.style.cssText="float:left;opacity:.5",ge.opacity="0.5"===l.style.opacity,ge.cssFloat=!!l.style.cssFloat,l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",ge.clearCloneStyle="content-box"===l.style.backgroundClip,u=se.createElement("div"),u.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",l.innerHTML="",u.appendChild(l),ge.boxSizing=""===l.style.boxSizing||""===l.style.MozBoxSizing||""===l.style.WebkitBoxSizing,me.extend(ge,{reliableHiddenOffsets:function(){return null==t&&e(),o},boxSizingReliable:function(){return null==t&&e(),i},pixelMarginRight:function(){return null==t&&e(),r},pixelPosition:function(){return null==t&&e(),t},reliableMarginRight:function(){return null==t&&e(),a},reliableMarginLeft:function(){return null==t&&e(),s}}))}();var mt,vt,yt=/^(top|right|bottom|left)$/;n.getComputedStyle?(mt=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},vt=function(e,t,n){var r,i,o,a,s=e.style;return n=n||mt(e),a=n?n.getPropertyValue(t)||n[t]:void 0,""!==a&&void 0!==a||me.contains(e.ownerDocument,e)||(a=me.style(e,t)),n&&!ge.pixelMarginRight()&&pt.test(a)&&dt.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o),void 0===a?a:a+""}):gt.currentStyle&&(mt=function(e){return e.currentStyle},vt=function(e,t,n){var r,i,o,a,s=e.style;return n=n||mt(e),a=n?n[t]:void 0,null==a&&s&&s[t]&&(a=s[t]),pt.test(a)&&!yt.test(t)&&(r=s.left,i=e.runtimeStyle,o=i&&i.left,o&&(i.left=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=r,o&&(i.left=o)),void 0===a?a:a+""||"auto"});var xt=/alpha\([^)]*\)/i,bt=/opacity\s*=\s*([^)]*)/i,wt=/^(none|table(?!-c[ea]).+)/,Tt=new RegExp("^("+Fe+")(.*)$","i"),Ct={position:"absolute",visibility:"hidden",display:"block"},Et={letterSpacing:"0",fontWeight:"400"},Nt=["Webkit","O","Moz","ms"],kt=se.createElement("div").style;me.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=vt(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:ge.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=me.camelCase(t),u=e.style;if(t=me.cssProps[s]||(me.cssProps[s]=M(s)||s),a=me.cssHooks[t]||me.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:u[t];if(o=typeof n,"string"===o&&(i=Re.exec(n))&&i[1]&&(n=m(e,t,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(me.cssNumber[s]?"":"px")),ge.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(e,n,r)))))try{u[t]=n}catch(e){}}},css:function(e,t,n,r){var i,o,a,s=me.camelCase(t);return t=me.cssProps[s]||(me.cssProps[s]=M(s)||s),a=me.cssHooks[t]||me.cssHooks[s],a&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=vt(e,t,r)),"normal"===o&&t in Et&&(o=Et[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),me.each(["height","width"],function(e,t){me.cssHooks[t]={get:function(e,n,r){if(n)return wt.test(me.css(e,"display"))&&0===e.offsetWidth?ht(e,Ct,function(){return B(e,t,r)}):B(e,t,r)},set:function(e,n,r){var i=r&&mt(e);return R(e,n,r?P(e,t,r,ge.boxSizing&&"border-box"===me.css(e,"boxSizing",!1,i),i):0)}}}),ge.opacity||(me.cssHooks.opacity={get:function(e,t){return bt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=me.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===me.trim(o.replace(xt,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=xt.test(o)?o.replace(xt,i):o+" "+i)}}),me.cssHooks.marginRight=O(ge.reliableMarginRight,function(e,t){if(t)return ht(e,{display:"inline-block"},vt,[e,"marginRight"])}),me.cssHooks.marginLeft=O(ge.reliableMarginLeft,function(e,t){if(t)return(parseFloat(vt(e,"marginLeft"))||(me.contains(e.ownerDocument,e)?e.getBoundingClientRect().left-ht(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}):0))+"px"}),me.each({margin:"",padding:"",border:"Width"},function(e,t){me.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+Pe[r]+t]=o[r]||o[r-2]||o[0];return i}},dt.test(e)||(me.cssHooks[e+t].set=R)}),me.fn.extend({css:function(e,t){return We(this,function(e,t,n){var r,i,o={},a=0;if(me.isArray(t)){for(r=mt(e),i=t.length;a1)},show:function(){return F(this,!0)},hide:function(){return F(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Be(this)?me(this).show():me(this).hide()})}}),me.Tween=W,W.prototype={constructor:W,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||me.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(me.cssNumber[n]?"":"px")},cur:function(){var e=W.propHooks[this.prop];return e&&e.get?e.get(this):W.propHooks._default.get(this)},run:function(e){var t,n=W.propHooks[this.prop];return this.options.duration?this.pos=t=me.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):W.propHooks._default.set(this),this}},W.prototype.init.prototype=W.prototype,W.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=me.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){me.fx.step[e.prop]?me.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[me.cssProps[e.prop]]&&!me.cssHooks[e.prop]?e.elem[e.prop]=e.now:me.style(e.elem,e.prop,e.now+e.unit)}}},W.propHooks.scrollTop=W.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},me.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},me.fx=W.prototype.init,me.fx.step={};var St,At,Dt=/^(?:toggle|show|hide)$/,jt=/queueHooks$/;me.Animation=me.extend(V,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return m(n.elem,e,Re.exec(t),n),n}]},tweener:function(e,t){me.isFunction(e)?(t=e,e=["*"]):e=e.match(Le);for(var n,r=0,i=e.length;r
a",e=n.getElementsByTagName("a")[0],t.setAttribute("type","checkbox"),n.appendChild(t),e=n.getElementsByTagName("a")[0],e.style.cssText="top:1px",ge.getSetAttribute="t"!==n.className,ge.style=/top/.test(e.getAttribute("style")),ge.hrefNormalized="/a"===e.getAttribute("href"),ge.checkOn=!!t.value,ge.optSelected=i.selected,ge.enctype=!!se.createElement("form").enctype,r.disabled=!0,ge.optDisabled=!i.disabled,t=se.createElement("input"),t.setAttribute("value",""),ge.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),ge.radioValue="t"===t.value}();var Lt=/\r/g,Ht=/[\x20\t\r\n\f]+/g;me.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=me.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,me(this).val()):e,null==i?i="":"number"==typeof i?i+="":me.isArray(i)&&(i=me.map(i,function(e){return null==e?"":e+""})),(t=me.valHooks[this.type]||me.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return(t=me.valHooks[i.type]||me.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(Lt,""):null==n?"":n)}}}),me.extend({valHooks:{option:{get:function(e){var t=me.find.attr(e,"value");return null!=t?t:me.trim(me.text(e)).replace(Ht," ")}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||i<0,a=o?null:[],s=o?i+1:r.length,u=i<0?s:o?i:0;u-1)try{r.selected=n=!0}catch(e){r.scrollHeight}else r.selected=!1;return n||(e.selectedIndex=-1),i}}}}),me.each(["radio","checkbox"],function(){me.valHooks[this]={set:function(e,t){if(me.isArray(t))return e.checked=me.inArray(me(e).val(),t)>-1}},ge.checkOn||(me.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var qt,_t,Ot=me.expr.attrHandle,Mt=/^(?:checked|selected)$/i,Ft=ge.getSetAttribute,Rt=ge.input;me.fn.extend({attr:function(e,t){return We(this,me.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){me.removeAttr(this,e)})}}),me.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?me.prop(e,t,n):(1===o&&me.isXMLDoc(e)||(t=t.toLowerCase(),i=me.attrHooks[t]||(me.expr.match.bool.test(t)?_t:qt)),void 0!==n?null===n?void me.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:(r=me.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!ge.radioValue&&"radio"===t&&me.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(Le);if(o&&1===e.nodeType)for(;n=o[i++];)r=me.propFix[n]||n,me.expr.match.bool.test(n)?Rt&&Ft||!Mt.test(n)?e[r]=!1:e[me.camelCase("default-"+n)]=e[r]=!1:me.attr(e,n,""),e.removeAttribute(Ft?n:r)}}),_t={set:function(e,t,n){return!1===t?me.removeAttr(e,n):Rt&&Ft||!Mt.test(n)?e.setAttribute(!Ft&&me.propFix[n]||n,n):e[me.camelCase("default-"+n)]=e[n]=!0,n}},me.each(me.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Ot[t]||me.find.attr;Rt&&Ft||!Mt.test(t)?Ot[t]=function(e,t,r){var i,o;return r||(o=Ot[t],Ot[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,Ot[t]=o),i}:Ot[t]=function(e,t,n){if(!n)return e[me.camelCase("default-"+t)]?t.toLowerCase():null}}),Rt&&Ft||(me.attrHooks.value={set:function(e,t,n){if(!me.nodeName(e,"input"))return qt&&qt.set(e,t,n);e.defaultValue=t}}),Ft||(qt={set:function(e,t,n){var r=e.getAttributeNode(n);if(r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n))return t}},Ot.id=Ot.name=Ot.coords=function(e,t,n){var r;if(!n)return(r=e.getAttributeNode(t))&&""!==r.value?r.value:null},me.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);if(n&&n.specified)return n.value},set:qt.set},me.attrHooks.contenteditable={set:function(e,t,n){qt.set(e,""!==t&&t,n)}},me.each(["width","height"],function(e,t){me.attrHooks[t]={set:function(e,n){if(""===n)return e.setAttribute(t,"auto"),n}}})),ge.style||(me.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var Pt=/^(?:input|select|textarea|button|object)$/i,Bt=/^(?:a|area)$/i;me.fn.extend({prop:function(e,t){return We(this,me.prop,e,t,arguments.length>1)},removeProp:function(e){return e=me.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(e){}})}}),me.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&me.isXMLDoc(e)||(t=me.propFix[t]||t,i=me.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=me.find.attr(e,"tabindex");return t?parseInt(t,10):Pt.test(e.nodeName)||Bt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ge.hrefNormalized||me.each(["href","src"],function(e,t){me.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),ge.optSelected||(me.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),me.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){me.propFix[this.toLowerCase()]=this}),ge.enctype||(me.propFix.enctype="encoding");var Wt=/[\t\r\n\f]/g;me.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(me.isFunction(e))return this.each(function(t){me(this).addClass(e.call(this,t,Y(this)))});if("string"==typeof e&&e)for(t=e.match(Le)||[];n=this[u++];)if(i=Y(n),r=1===n.nodeType&&(" "+i+" ").replace(Wt," ")){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");s=me.trim(r),i!==s&&me.attr(n,"class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(me.isFunction(e))return this.each(function(t){me(this).removeClass(e.call(this,t,Y(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(Le)||[];n=this[u++];)if(i=Y(n),r=1===n.nodeType&&(" "+i+" ").replace(Wt," ")){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");s=me.trim(r),i!==s&&me.attr(n,"class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):me.isFunction(e)?this.each(function(n){me(this).toggleClass(e.call(this,n,Y(this),t),t)}):this.each(function(){var t,r,i,o;if("string"===n)for(r=0,i=me(this),o=e.match(Le)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||(t=Y(this),t&&me._data(this,"__className__",t),me.attr(this,"class",t||!1===e?"":me._data(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+Y(n)+" ").replace(Wt," ").indexOf(t)>-1)return!0;return!1}}),me.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(e,t){me.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),me.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var It=n.location,$t=me.now(),zt=/\?/,Xt=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;me.parseJSON=function(e){if(n.JSON&&n.JSON.parse)return n.JSON.parse(e+"");var t,r=null,i=me.trim(e+"");return i&&!me.trim(i.replace(Xt,function(e,n,i,o){return t&&n&&(r=0),0===r?e:(t=i||n,r+=!o-!i,"")}))?Function("return "+i)():me.error("Invalid JSON: "+e)},me.parseXML=function(e){var t,r;if(!e||"string"!=typeof e)return null;try{n.DOMParser?(r=new n.DOMParser,t=r.parseFromString(e,"text/xml")):(t=new n.ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(e))}catch(e){t=void 0}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||me.error("Invalid XML: "+e),t};var Ut=/#.*$/,Vt=/([?&])_=[^&]*/,Yt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Jt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Gt=/^(?:GET|HEAD)$/,Qt=/^\/\//,Kt=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Zt={},en={},tn="*/".concat("*"),nn=It.href,rn=Kt.exec(nn.toLowerCase())||[];me.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:nn,type:"GET",isLocal:Jt.test(rn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":tn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":me.parseJSON,"text xml":me.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Q(Q(e,me.ajaxSettings),t):Q(me.ajaxSettings,e)},ajaxPrefilter:J(Zt),ajaxTransport:J(en),ajax:function(e,t){function r(e,t,r,i){var o,f,y,x,w,C=t;2!==b&&(b=2,u&&n.clearTimeout(u),c=void 0,s=i||"",T.readyState=e>0?4:0,o=e>=200&&e<300||304===e,r&&(x=K(d,T,r)),x=Z(d,x,T,o),o?(d.ifModified&&(w=T.getResponseHeader("Last-Modified"),w&&(me.lastModified[a]=w),(w=T.getResponseHeader("etag"))&&(me.etag[a]=w)),204===e||"HEAD"===d.type?C="nocontent":304===e?C="notmodified":(C=x.state,f=x.data,y=x.error,o=!y)):(y=C,!e&&C||(C="error",e<0&&(e=0))),T.status=e,T.statusText=(t||C)+"",o?g.resolveWith(p,[f,C,T]):g.rejectWith(p,[T,C,y]),T.statusCode(v),v=void 0,l&&h.trigger(o?"ajaxSuccess":"ajaxError",[T,d,o?f:y]),m.fireWith(p,[T,C]),l&&(h.trigger("ajaxComplete",[T,d]),--me.active||me.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var i,o,a,s,u,l,c,f,d=me.ajaxSetup({},t),p=d.context||d,h=d.context&&(p.nodeType||p.jquery)?me(p):me.event,g=me.Deferred(),m=me.Callbacks("once memory"),v=d.statusCode||{},y={},x={},b=0,w="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!f)for(f={};t=Yt.exec(s);)f[t[1].toLowerCase()]=t[2];t=f[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=x[n]=x[n]||e,y[e]=t),this},overrideMimeType:function(e){return b||(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(b<2)for(t in e)v[t]=[v[t],e[t]];else T.always(e[T.status]);return this},abort:function(e){var t=e||w;return c&&c.abort(t),r(0,t),this}};if(g.promise(T).complete=m.add,T.success=T.done,T.error=T.fail,d.url=((e||d.url||nn)+"").replace(Ut,"").replace(Qt,rn[1]+"//"),d.type=t.method||t.type||d.method||d.type,d.dataTypes=me.trim(d.dataType||"*").toLowerCase().match(Le)||[""],null==d.crossDomain&&(i=Kt.exec(d.url.toLowerCase()),d.crossDomain=!(!i||i[1]===rn[1]&&i[2]===rn[2]&&(i[3]||("http:"===i[1]?"80":"443"))===(rn[3]||("http:"===rn[1]?"80":"443")))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=me.param(d.data,d.traditional)),G(Zt,d,t,T),2===b)return T;l=me.event&&d.global,l&&0==me.active++&&me.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Gt.test(d.type),a=d.url,d.hasContent||(d.data&&(a=d.url+=(zt.test(a)?"&":"?")+d.data,delete d.data),!1===d.cache&&(d.url=Vt.test(a)?a.replace(Vt,"$1_="+$t++):a+(zt.test(a)?"&":"?")+"_="+$t++)),d.ifModified&&(me.lastModified[a]&&T.setRequestHeader("If-Modified-Since",me.lastModified[a]),me.etag[a]&&T.setRequestHeader("If-None-Match",me.etag[a])),(d.data&&d.hasContent&&!1!==d.contentType||t.contentType)&&T.setRequestHeader("Content-Type",d.contentType),T.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+tn+"; q=0.01":""):d.accepts["*"]);for(o in d.headers)T.setRequestHeader(o,d.headers[o]);if(d.beforeSend&&(!1===d.beforeSend.call(p,T,d)||2===b))return T.abort();w="abort";for(o in{success:1,error:1,complete:1})T[o](d[o]);if(c=G(en,d,t,T)){if(T.readyState=1,l&&h.trigger("ajaxSend",[T,d]),2===b)return T;d.async&&d.timeout>0&&(u=n.setTimeout(function(){T.abort("timeout")},d.timeout));try{b=1,c.send(y,r)}catch(e){if(!(b<2))throw e;r(-1,e)}}else r(-1,"No Transport");return T},getJSON:function(e,t,n){return me.get(e,t,n,"json")},getScript:function(e,t){return me.get(e,void 0,t,"script")}}),me.each(["get","post"],function(e,t){me[t]=function(e,n,r,i){return me.isFunction(n)&&(i=i||r,r=n,n=void 0),me.ajax(me.extend({url:e,type:t,dataType:i,data:n,success:r},me.isPlainObject(e)&&e))}}),me._evalUrl=function(e){return me.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},me.fn.extend({wrapAll:function(e){if(me.isFunction(e))return this.each(function(t){me(this).wrapAll(e.call(this,t))});if(this[0]){var t=me(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return me.isFunction(e)?this.each(function(t){me(this).wrapInner(e.call(this,t))}):this.each(function(){var t=me(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=me.isFunction(e);return this.each(function(n){me(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){me.nodeName(this,"body")||me(this).replaceWith(this.childNodes)}).end()}}),me.expr.filters.hidden=function(e){return ge.reliableHiddenOffsets()?e.offsetWidth<=0&&e.offsetHeight<=0&&!e.getClientRects().length:te(e)},me.expr.filters.visible=function(e){return!me.expr.filters.hidden(e)};var on=/%20/g,an=/\[\]$/,sn=/\r?\n/g,un=/^(?:submit|button|image|reset|file)$/i,ln=/^(?:input|select|textarea|keygen)/i;me.param=function(e,t){var n,r=[],i=function(e,t){t=me.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=me.ajaxSettings&&me.ajaxSettings.traditional),me.isArray(e)||e.jquery&&!me.isPlainObject(e))me.each(e,function(){i(this.name,this.value)});else for(n in e)ne(n,e[n],t,i);return r.join("&").replace(on,"+")},me.fn.extend({serialize:function(){return me.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=me.prop(this,"elements");return e?me.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!me(this).is(":disabled")&&ln.test(this.nodeName)&&!un.test(e)&&(this.checked||!Ie.test(e))}).map(function(e,t){var n=me(this).val();return null==n?null:me.isArray(n)?me.map(n,function(e){return{name:t.name,value:e.replace(sn,"\r\n")}}):{name:t.name,value:n.replace(sn,"\r\n")}}).get()}}),me.ajaxSettings.xhr=void 0!==n.ActiveXObject?function(){return this.isLocal?ie():se.documentMode>8?re():/^(get|post|head|put|delete|options)$/i.test(this.type)&&re()||ie()}:re;var cn=0,fn={},dn=me.ajaxSettings.xhr();n.attachEvent&&n.attachEvent("onunload",function(){for(var e in fn)fn[e](void 0,!0)}),ge.cors=!!dn&&"withCredentials"in dn,dn=ge.ajax=!!dn,dn&&me.ajaxTransport(function(e){if(!e.crossDomain||ge.cors){var t;return{send:function(r,i){var o,a=e.xhr(),s=++cn;if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)a[o]=e.xhrFields[o];e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(o in r)void 0!==r[o]&&a.setRequestHeader(o,r[o]+"");a.send(e.hasContent&&e.data||null),t=function(n,r){var o,u,l;if(t&&(r||4===a.readyState))if(delete fn[s],t=void 0,a.onreadystatechange=me.noop,r)4!==a.readyState&&a.abort();else{l={},o=a.status,"string"==typeof a.responseText&&(l.text=a.responseText);try{u=a.statusText}catch(e){u=""}o||!e.isLocal||e.crossDomain?1223===o&&(o=204):o=l.text?200:404}l&&i(o,u,l,a.getAllResponseHeaders())},e.async?4===a.readyState?n.setTimeout(t):a.onreadystatechange=fn[s]=t:t()},abort:function(){t&&t(void 0,!0)}}}}),me.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return me.globalEval(e),e}}}),me.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),me.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=se.head||me("head")[0]||se.documentElement;return{send:function(r,i){t=se.createElement("script"),t.async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){(n||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||i(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}});var pn=[],hn=/(=)\?(?=&|$)|\?\?/;me.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=pn.pop()||me.expando+"_"+$t++;return this[e]=!0,e}}),me.ajaxPrefilter("json jsonp",function(e,t,r){var i,o,a,s=!1!==e.jsonp&&(hn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&hn.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=me.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(hn,"$1"+i):!1!==e.jsonp&&(e.url+=(zt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||me.error(i+" was not called"),a[0]},e.dataTypes[0]="json",o=n[i],n[i]=function(){a=arguments},r.always(function(){void 0===o?me(n).removeProp(i):n[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,pn.push(i)),a&&me.isFunction(o)&&o(a[0]),a=o=void 0}),"script"}),me.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||se;var r=Ne.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=w([e],t,i),i&&i.length&&me(i).remove(),me.merge([],r.childNodes))};var gn=me.fn.load;me.fn.load=function(e,t,n){if("string"!=typeof e&&gn)return gn.apply(this,arguments);var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=me.trim(e.slice(s,e.length)),e=e.slice(0,s)),me.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&me.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?me("
").append(me.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},me.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){me.fn[t]=function(e){return this.on(t,e)}}),me.expr.filters.animated=function(e){return me.grep(me.timers,function(t){return e===t.elem}).length},me.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l,c=me.css(e,"position"),f=me(e),d={};"static"===c&&(e.style.position="relative"),s=f.offset(),o=me.css(e,"top"),u=me.css(e,"left"),l=("absolute"===c||"fixed"===c)&&me.inArray("auto",[o,u])>-1,l?(r=f.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),me.isFunction(t)&&(t=t.call(e,n,me.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):f.css(d)}},me.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){me.offset.setOffset(this,e,t)});var t,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;if(o)return t=o.documentElement,me.contains(t,i)?(void 0!==i.getBoundingClientRect&&(r=i.getBoundingClientRect()),n=oe(o),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r},position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===me.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),me.nodeName(e[0],"html")||(n=e.offset()),n.top+=me.css(e[0],"borderTopWidth",!0),n.left+=me.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-me.css(r,"marginTop",!0),left:t.left-n.left-me.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&!me.nodeName(e,"html")&&"static"===me.css(e,"position");)e=e.offsetParent;return e||gt})}}),me.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);me.fn[e]=function(r){return We(this,function(e,r,i){var o=oe(e);if(void 0===i)return o?t in o?o[t]:o.document.documentElement[r]:e[r];o?o.scrollTo(n?me(o).scrollLeft():i,n?i:me(o).scrollTop()):e[r]=i},e,r,arguments.length,null)}}),me.each(["top","left"],function(e,t){me.cssHooks[t]=O(ge.pixelPosition,function(e,n){if(n)return n=vt(e,t),pt.test(n)?me(e).position()[t]+"px":n})}),me.each({Height:"height",Width:"width"},function(e,t){me.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){me.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===i?"margin":"border");return We(this,function(t,n,r){var i;return me.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?me.css(t,n,a):me.style(t,n,r,a)},t,o?r:void 0,o,null)}})}),me.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),me.fn.size=function(){return this.length},me.fn.andSelf=me.fn.addBack,r=[],void 0!==(i=function(){return me}.apply(t,r))&&(e.exports=i);var mn=n.jQuery,vn=n.$;return me.noConflict=function(e){return n.$===me&&(n.$=vn),e&&n.jQuery===me&&(n.jQuery=mn),me},o||(n.jQuery=n.$=me),me})}]); }); define("@ali/lzdmod-site-nav-pc/assets/links-bar/index",["@ali/lzdmod-jquery/index","@ali/lzdmod-common-info/index","../reqwest/index","../common/popper/index","../cart/index","../download-app/index","../track-order/index","../switch-lang/index","../user-info/index"],function(e,a,n){function i(e){return e&&e.__esModule?e:{"default":e}}function r(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{"value":!0});var t=Object.assign||function(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{},a=e?null:{},t=document.cookie?document.cookie.split("; "):[],o=/(%[0-9A-Z]{2})+/g,i=0;i0&&void 0!==arguments[0]?arguments[0]:{};e=l({},v,e);var n=u(),a={regionID:"",language:""};return"weex"===n?a=r():"object"===("undefined"==typeof window?"undefined":c(window))&&"web"===n&&(a=i()),a.regionID=a.regionID.toLocaleUpperCase(),a.language=d(a.regionID,a.language),e.short&&(a.language=a.language.substring(0,2)),a}function i(){var e="",n="";if("object"===("undefined"==typeof window?"undefined":c(window))&&window._i18n_){var a=window._i18n_;if("string"==typeof a)try{a=JSON.parse(a)}catch(e){}"object"===(void 0===a?"undefined":c(a))&&(e=a.regionID,n=a.language)}if(!e&&window.g_config&&"object"===c(window.g_config)&&(e=window.g_config.regionID,n=window.g_config.language),!e&&"object"===("undefined"==typeof location?"undefined":c(location))&&location.hostname){for(var t in p.default){var o=p.default[t];if(o&&o.domain&&location.hostname.indexOf(o.domain)>=0){e=t;break}}n=f(m.default.get("hng"))[1]}if(!e){var i=f(m.default.get("hng"));e=i[0],n=i[1]}return e=e||"",n=n||"",{regionID:e,language:n}}function r(){var e="",n="";return"object"===("undefined"==typeof WXEnvironment?"undefined":c(WXEnvironment))&&(e=WXEnvironment&&WXEnvironment["_i18n_.regionID"]||"",n=WXEnvironment&&WXEnvironment["_i18n_.language"]||""),{regionID:e,language:n}}function u(){var e="";return"function"==typeof callNative?e="weex":"object"!==("undefined"==typeof navigator?"undefined":c(navigator))||"Mozilla"!==navigator.appCodeName&&"Gecko"!==navigator.product||(e="web"),e}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments[1],a=p.default[e]?p.default[e].lang:"";if(!a)return"";if(!n)return a[0];for(var t="",o=0;o-1){t=i;break}}return t||(t=a[0]),t}function f(e){return e?e.split("|"):[]}Object.defineProperty(n,"__esModule",{value:!0});var c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l=Object.assign||function(e){for(var n=1;n-1)&&(e=n)}),e):a:null}function i(){if("weex"!==(0,c.getContainer)()){var e=(0,l.default)(),n=e.regionID,a=e.language,t=void 0;try{t=m.default[n].lang}catch(e){}if(t)return u(Array.isArray(t)?t.indexOf(a)>-1?a:t[0]:t)}}function r(){if("weex"!==(0,c.getContainer)()){var e=(0,l.default)(),n=e.regionID,a=m.default[n],t=a?{path:"/",domain:"."+a.domain}:{path:"/"};f.default.remove(g,t)}}function u(e){if(e&&"weex"!==(0,c.getContainer)()){var n=(0,l.default)(),a=n.regionID;e=o(e,a);var t=m.default[a],i=location.hostname.indexOf(p)>0;if(e||t){var r={domain:i?"."+p:"."+t.domain,expires:30};f.default.set("hng",a+"|"+e+"|"+t.currency+"|"+t.id,r),i||(f.default.remove(g,{path:"/",domain:"."+t.domain}),f.default.set(g,e.substring(0,2),{expires:30}))}}}Object.defineProperty(n,"__esModule",{value:!0});var d=a(0),f=t(d),c=a(1),l=t(c),s=a(2),m=t(s),g="userLanguageML",p="lazada.test",v={setDefault:i,setLang:u,get:function(){return f.default.get("hng")},removeRoot:r};n.default=v},function(e,n,a){"use strict";function t(){return i.default.get("anon_uid")||i.default.get("t_uid")||""}Object.defineProperty(n,"__esModule",{value:!0});var o=a(0),i=function(e){return e&&e.__esModule?e:{default:e}}(o);n.default=t},function(e,n,a){"use strict";function t(e){return e&&e.__esModule?e:{default:e}}function o(){var e=/127\.0\.0\.1|localhost|daily|waptest|\.test/;if("web"===l){var n="object"===("undefined"==typeof location?"undefined":r(location))&&location.hostname||"";return e.test(n)||location.search.indexOf("wh_debug=true")>=0}return!1}function i(){if("web"===l){var e="object"===("undefined"==typeof location?"undefined":r(location))&&location.hostname||"";return e.indexOf("-p.lazada.")>=0||e.indexOf("pre-wormhole.")>=0}return!1}Object.defineProperty(n,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n.default=function(e){var n="";if(o())n=d.default.DAILY;else{if("string"!=typeof e||!e){e=((0,c.default)()||{}).regionID}n=i()?d.default.PRE[e.toLocaleUpperCase()]:d.default[e.toLocaleUpperCase()]}return n};var u=a(7),d=t(u),f=a(1),c=t(f),l=(0,f.getContainer)()},function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={ID:{prefix:"",subDomain:"acs-m",mainDomain:"lazada.co.id"},MY:{prefix:"",subDomain:"acs-m",mainDomain:"lazada.com.my"},PH:{prefix:"",subDomain:"acs-m",mainDomain:"lazada.com.ph"},SG:{prefix:"",subDomain:"acs-m",mainDomain:"lazada.sg"},TH:{prefix:"",subDomain:"acs-m",mainDomain:"lazada.co.th"},VN:{prefix:"",subDomain:"acs-m",mainDomain:"lazada.vn"},DAILY:{prefix:"acs",subDomain:"waptest",mainDomain:"lazada.test"},PRE:{ID:{prefix:"",subDomain:"acs-wapa",mainDomain:"lazada.co.id"},MY:{prefix:"",subDomain:"acs-wapa",mainDomain:"lazada.com.my"},PH:{prefix:"",subDomain:"acs-wapa",mainDomain:"lazada.com.ph"},SG:{prefix:"",subDomain:"acs-wapa",mainDomain:"lazada.sg"},TH:{prefix:"",subDomain:"acs-wapa",mainDomain:"lazada.co.th"},VN:{prefix:"",subDomain:"acs-wapa",mainDomain:"lazada.vn"}}}}]); }); define("@ali/lzdmod-site-nav-pc/assets/reqwest/index",function(require,exports,module){function succeed(e){var t=protocolRe.exec(e.url);return t=t&&t[1]||context.location.protocol,httpsRe.test(t)?twoHundo.test(e.request.status):!!e.request.response}function handleReadyState(e,t,n){return function(){return e._aborted?n(e.request):e._timedOut?n(e.request,"Request is aborted: timeout"):void(e.request&&4==e.request[readyState]&&(e.request.onreadystatechange=noop,succeed(e)?t(e.request):n(e.request)))}}function setHeaders(e,t){var n,a=t.headers||{};a.Accept=a.Accept||defaultHeaders.accept[t.type]||defaultHeaders.accept["*"];var r="undefined"!=typeof FormData&&t.data instanceof FormData;t.crossOrigin||a[requestedWith]||(a[requestedWith]=defaultHeaders.requestedWith),a[contentType]||r||(a[contentType]=t.contentType||defaultHeaders.contentType);for(n in a)a.hasOwnProperty(n)&&"setRequestHeader"in e&&e.setRequestHeader(n,a[n])}function setCredentials(e,t){"undefined"!=typeof t.withCredentials&&"undefined"!=typeof e.withCredentials&&(e.withCredentials=!!t.withCredentials)}function generalCallback(e){lastValue=e}function urlappend(e,t){return e+(/\?/.test(e)?"&":"?")+t}function handleJsonp(e,t,n,a){var r=uniqid++,i=e.jsonpCallback||"callback",o=e.jsonpCallbackName||reqwest.getcallbackPrefix(r),s=new RegExp("((^|\\?|&)"+i+")=([^&]+)"),l=a.match(s),d=doc.createElement("script"),u=0,c=-1!==navigator.userAgent.indexOf("MSIE 10.0");return l?"?"===l[3]?a=a.replace(s,"$1="+o):o=l[3]:a=urlappend(a,i+"="+o),context[o]=generalCallback,d.type="text/javascript",d.src=a,d.async=!0,"undefined"==typeof d.onreadystatechange||c||(d.htmlFor=d.id="_reqwest_"+r),d.onload=d.onreadystatechange=function(){if(d[readyState]&&"complete"!==d[readyState]&&"loaded"!==d[readyState]||u)return!1;d.onload=d.onreadystatechange=null,d.onclick&&d.onclick(),t(lastValue),lastValue=undefined,head.removeChild(d),u=1},head.appendChild(d),{"abort":function(){d.onload=d.onreadystatechange=null,n({},"Request is aborted: timeout",{}),lastValue=undefined,head.removeChild(d),u=1}}}function getRequest(e,t){var n,a=this.o,r=(a.method||"GET").toUpperCase(),i="string"==typeof a?a:a.url,o=!1!==a.processData&&a.data&&"string"!=typeof a.data?reqwest.toQueryString(a.data):a.data||null,s=!1;return"jsonp"!=a.type&&"GET"!=r||!o||(i=urlappend(i,o),o=null),"jsonp"==a.type?handleJsonp(a,e,t,i):(n=a.xhr&&a.xhr(a)||xhr(a),n.open(r,i,!1!==a.async),setHeaders(n,a),setCredentials(n,a),context[xDomainRequest]&&n instanceof context[xDomainRequest]?(n.onload=e,n.onerror=t,n.onprogress=function(){},s=!0):n.onreadystatechange=handleReadyState(this,e,t),a.before&&a.before(n),s?setTimeout(function(){n.send(o)},200):n.send(o),n)}function Reqwest(e,t){this.o=e,this.fn=t,init.apply(this,arguments)}function setType(e){return null===e?undefined:e.match("json")?"json":e.match("javascript")?"js":e.match("text")?"html":e.match("xml")?"xml":void 0}function init(o,fn){function complete(e){for(o.timeout&&clearTimeout(self.timeout),self.timeout=null;self._completeHandlers.length>0;)self._completeHandlers.shift()(e)}function success(resp){var type=o.type||resp&&setType(resp.getResponseHeader("Content-Type"));resp="jsonp"!==type?self.request:resp;var filteredResponse=globalSetupOptions.dataFilter(resp.responseText,type),r=filteredResponse;try{resp.responseText=r}catch(e){}if(r)switch(type){case"json":try{resp=context.JSON?context.JSON.parse(r):eval("("+r+")")}catch(err){return error(resp,"Could not parse JSON in response",err)}break;case"js":resp=eval(r);break;case"html":resp=r;break;case"xml":resp=resp.responseXML&&resp.responseXML.parseError&&resp.responseXML.parseError.errorCode&&resp.responseXML.parseError.reason?null:resp.responseXML}for(self._responseArgs.resp=resp,self._fulfilled=!0,fn(resp),self._successHandler(resp);self._fulfillmentHandlers.length>0;)resp=self._fulfillmentHandlers.shift()(resp);complete(resp)}function timedOut(){self._timedOut=!0,self.request.abort()}function error(e,t,n){for(e=self.request,self._responseArgs.resp=e,self._responseArgs.msg=t,self._responseArgs.t=n,self._erred=!0;self._errorHandlers.length>0;)self._errorHandlers.shift()(e,t,n);complete(e)}this.url="string"==typeof o?o:o.url,this.timeout=null,this._fulfilled=!1,this._successHandler=function(){},this._fulfillmentHandlers=[],this._errorHandlers=[],this._completeHandlers=[],this._erred=!1,this._responseArgs={};var self=this;fn=fn||function(){},o.timeout&&(this.timeout=setTimeout(function(){timedOut()},o.timeout)),o.success&&(this._successHandler=function(){o.success.apply(o,arguments)}),o.error&&this._errorHandlers.push(function(){o.error.apply(o,arguments)}),o.complete&&this._completeHandlers.push(function(){o.complete.apply(o,arguments)}),this.request=getRequest.call(this,success,error)}function reqwest(e,t){return new Reqwest(e,t)}function normalize(e){return e?e.replace(/\r?\n/g,"\r\n"):""}function serial(e,t){var n,a,r,i,o=e.name,s=e.tagName.toLowerCase(),l=function(e){e&&!e.disabled&&t(o,normalize(e.attributes.value&&e.attributes.value.specified?e.value:e.text))};if(!e.disabled&&o)switch(s){case"input":/reset|button|image|file/i.test(e.type)||(n=/checkbox/i.test(e.type),a=/radio/i.test(e.type),r=e.value,(!(n||a)||e.checked)&&t(o,normalize(n&&""===r?"on":r)));break;case"textarea":t(o,normalize(e.value));break;case"select":if("select-one"===e.type.toLowerCase())l(e.selectedIndex>=0?e.options[e.selectedIndex]:null);else for(i=0;e.length&&i0?(n.innerHTML=a,n.style.display="block"):(n.innerHTML="",n.style.display="none"))}};window.LZD=window.LZD||{},window.LZD.Cart=i,a["default"]=i,n.exports=a["default"]});define("@ali/lzdmod-site-nav-pc/assets/download-app/index",["@ali/lzdmod-common-info/index","@ali/lzdmod-jquery/index","@ali/lzdmod-site-nav-pc/i18n","../reqwest/index"],function(e,a,n){function i(e){return e&&e.__esModule?e:{"default":e}}function r(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{"value":!0}),a["default"]=undefined;var o=function(){function e(e,a){for(var n=0;n0){for(var t='
'+(0,s["default"])("My Last Order")+"
",n=0;n'+a.updated_at+" - Order "+(a.displayNumber||a.number)+"

"}this.$myOrder.html(t).addClass("my-order-show")}if(!this.cfg.customerInfo.isLogin){var r='
';this.$form.prepend(r),this.$inputEmail=(0,d["default"])("#topActionTrackEmail")}},"bindEvent":function(){this.$form.on("submit",this.onFormSubmit.bind(this)),this.cfg.checkEmail&&this.$inputEmail.on("keyup",this.onFormNext.bind(this)),this.$inputOrderNumber.on("keyup",this.triggleSubmit.bind(this)),this.$form.find(".top-button").on("click",this.clickSubmit.bind(this))},"clickSubmit":function(e){e.preventDefault(),this.$form.submit()},"triggleSubmit":function(e){e.preventDefault(),13===e.keyCode&&this.$form.submit()},"onFormNext":function(e){e.preventDefault(),13===e.keyCode&&this.$inputOrderNumber.focus()},"onFormSubmit":function(e){var t=this;e.preventDefault();var n=this.cfg.checkEmail?this.$inputEmail.val().trim():null,a=this.$inputOrderNumber.val().trim();this.clearError();var r=!1,i={};this.cfg.checkEmail?(r=this.isValidEmail(n)&&this.isValidOrderNumber(a),i[w]=encodeURIComponent(n),i[x]=a):(r=this.isValidOrderNumber(a),i[x]=a),r?(this.showLoading(),(0,c["default"])({"url":this.cfg.url,"timeout":3e4,"type":"json","method":"GET","withCredentials":!0,"data":i}).then(function(e){if(t.hideLoading(),"2"===window.g_config.voyagerVersion&&(e=t.formatResult(e)),e.data&&e.data.success){var r=e.data.tradeOrderId?e.data.tradeOrderId:a;t.cfg.checkEmail?location.href=v+"?"+x+"="+encodeURIComponent(r)+"&"+w+"="+encodeURIComponent(n):location.href=v+"?"+x+"="+encodeURIComponent(r)+"&"+w+"="}else e&&e.data&&e.data.msg?"2"===window.g_config.voyagerVersion?t.showError(e.data.msg):t.showError((0,s["default"])(e.data.msg)):t.showError((0,s["default"])("Sorry, something went wrong. Please try again later!"))},function(){t.hideLoading()})):this.showError((0,s["default"])("Please fill out all fields correctly"))},"formatResult":function(e){var t={};return e&&e.success?(t.data={"success":e.success},e.tradeOrderId&&(t.data.tradeOrderId=e.tradeOrderId)):t.data={"success":e.success,"msg":e.errorMsg},t},"isValidEmail":function(e){if(e.length<6||e.length>60)return!1;var t=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/g;return e&&""!==e&&t.test(e)},"isValidOrderNumber":function(e){var t=/^\d{2,20}$/g;return e&&""!==e&&t.test(e)},"clearError":function(){this.$errorMsg.html(""),this.$el.removeClass(p)},"showSuccess":function(){this.$el.addClass("lzd-track-content-error")},"showError":function(e){e&&this.$errorMsg.html((0,s["default"])(e)),this.$el.addClass(p)},"showLoading":function(){this.$errorMsg.html((0,s["default"])("Loading...")),this.$el.addClass(h)},"hideLoading":function(){this.$errorMsg.html(""),this.$el.removeClass(h)}},t["default"]=r,n.exports=t["default"]});define("@ali/lzdmod-site-nav-pc/assets/switch-lang/index",["@ali/lzdmod-jquery/index","@ali/lzdmod-common-info/index"],function(e,n,t){function a(e){return e&&e.__esModule?e:{"default":e}}function r(){(0,l["default"])(".lzd-switch-item").on("click",function(e){i((0,l["default"])(e.currentTarget).attr("data-lang")),location.reload()})}function i(e){e&&d.LzdCookie.setLang(e)}function o(){d.LzdCookie.removeRoot&&d.LzdCookie.removeRoot(),d.LzdCookie.get()&&"null"!==d.LzdCookie.get()||d.LzdCookie.setDefault(),r()}Object.defineProperty(n,"__esModule",{"value":!0});var s=e("@ali/lzdmod-jquery/index"),l=a(s),d=e("@ali/lzdmod-common-info/index");n["default"]=o,t.exports=n["default"]});define("@ali/lzdmod-site-nav-pc/assets/user-info/index",["@ali/lzdmod-site-nav-pc/i18n","@ali/lzdmod-jquery/index"],function(e,t,n){function a(e){return e&&e.__esModule?e:{"default":e}}function r(e){if(e.isLogin){var t=(0,o["default"])("siteNav.account").replace("{user}",e.first_name);(0,l["default"])("#anonLogin").remove(),(0,l["default"])("#anonSignup").remove(),(0,l["default"])("#topActionUserAccont").removeClass("top-links-item-hidden").find("#myAccountTrigger").text(t)}}var i=e("@ali/lzdmod-site-nav-pc/i18n"),o=a(i),s=e("@ali/lzdmod-jquery/index"),l=a(s);n.exports=r});define("@ali/lzdmod-site-nav-pc/assets/affiliate/index",["@ali/lzdmod-common-info/index","../reqwest/index"],function(e,a,n){function i(e){return e&&e.__esModule?e:{"default":e}}function r(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{"value":!0});var o=function(){function e(e,a){for(var n=0;n2?u.substring(0,2):u,"regionID":d,"submitSpm":"gostr=/lzdpub.header.search;locaid=d_go"},t))}},t.exports=n["default"]});define("@ali/lzdmod-site-nav-pc/assets/liveup/index",["@ali/lzdmod-jquery/index","@ali/lzdmod-common-info/index"],function(e,a,n){function i(e){return e&&e.__esModule?e:{"default":e}}function r(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{"value":!0});var t=e("@ali/lzdmod-jquery/index"),o=i(t),l=e("@ali/lzdmod-common-info/index"),s=(0,l.getEnv)(),d=s.regionID,u=function e(){r(this,e);var a={},n=(0,o["default"])("#topActionLiveUpBanner");if("SG"===d)try{a=JSON.parse((0,o["default"])(".J_LiveUpData").html());var i=a&&a.desktopLiveUpInfo&&a.desktopLiveUpInfo?a.desktopLiveUpInfo:{};(0,o["default"])("body").on("userInfoUpdate",function(e,a){var r=a.isLogin,t=r&&a.is_loyalty_member,o=i.liveUpBannerInfo||{},l=i.becomeLiveUp||{},s="",d="";"2"===window.g_config.voyagerVersion&&(r&&t?(s=l.redirectUrl||"",d=l.picUrl||""):(s=o.redirectUrl||"",d=o.picUrl||"")),s&&d&&n.html('')})}catch(t){}else(0,o["default"])("body").on("userInfoUpdate",function(e,a){var n=a.isLogin,i=n&&a.enableEwallet;"2"===window.g_config.voyagerVersion&&(n&&(void 0===i||i)||(0,o["default"])("#topActionEWallet").show())})};a["default"]=u,n.exports=a["default"]});define("@ali/lzdmod-site-menu-pc/pc/index",["@ali/lzdmod-jquery/index"],function(e,n,i){function t(e){return e&&e.__esModule?e:{"default":e}}function a(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function r(e,n,i){if("hidden"!==(0,d["default"])(e).css("visibility")){if("sub"===n){var t=(0,d["default"])(i.currentTarget).attr("id");i.currentTarget&&t&&(0,d["default"])(e).find(".lzd-site-menu-"+n+"."+t).addClass("lzd-site-menu-"+n+"-active")}else(0,d["default"])(i.currentTarget).find(".lzd-site-menu-"+n).addClass("lzd-site-menu-"+n+"-active");(0,d["default"])(i.currentTarget).children("a").addClass("hover")}}function l(e,n){var i="";try{JSON.parse(n).map(function(e){return e.childCategoryUrl&&e.childCategoryName&&(i+='
  • \n '+e.childCategoryName+"
  • "),i})}catch(t){console.log(t)}(0,d["default"])(e).append('
      \n ",e.content.forEach(function(e,i){0!==i&&(n+=","),n+=' '+e.text+""}),n+="
    "}},{"key":"clickMoreLink","value":function(e,n){var i=this;if(e.preventDefault(),this.isShowMore)this.isShowMore=!1,this.footer=(0,l["default"])(".J_FooterMoreLink"),this.footer.hide();else{this.isShowMore=!0;var t=(0,l["default"])(n).find(".J_MoreCategoryLeft"),o=(0,l["default"])(n).find(".J_MoreCategoryRight"),a=(0,l["default"])(n).find(".lzd-footer-category-left"),r=(0,l["default"])(n).find(".lzd-footer-category-right");if(a.html()){var d=t.html().trim();if(d){d=JSON.parse(d);var s="";d.forEach(function(e){s+=i.renderCategory(e)}),a.append(s).fadeIn("slow")}}if(r.html()){var u=o.html().trim();if(u){u=JSON.parse(u);var f="";u.forEach(function(e){f+=i.renderCategory(e)}),r.append(f).fadeIn("slow")}}}}},{"key":"downloadAppByMobile","value":function(){var e=window.location.host.indexOf(".lazada")>-1?"":"//www.lazada.sg",n=(0,l["default"])("#txtphone").val(),i=/^\d{8}$/,t=/^\d{8}$/;if(!n.match(t)&&!n.match(i))return alert("Please enter a valid mobile number!"),(0,l["default"])("#txtphone").focus(),!1;alert("Thank you. We will send you the the Lazada app download link shortly."),(0,s["default"])({"url":e+"/index/smsproxy/?key=smshp&mobile=+65"+(0,l["default"])("#txtphone").val(),"headers":{"X-Requested-With":"XMLHttpRequest","Access-Control-Allow-Origin":"*"},"mode":"cors"}).then(function(){(0,l["default"])("#txtphone").val("").attr("placeholder","Thank you!")})["catch"](function(){})}}]),e}();n["default"]=function(e){new u(e)},i.exports=n["default"]});define("@ali/lzdmod-desktop-footer/pc/reqwest/index",function(require,exports,module){function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0;)self._completeHandlers.shift()(e)}function success(resp){var type=o.type||resp&&setType(resp.getResponseHeader("Content-Type"));resp="jsonp"!==type?self.request:resp;var filteredResponse=globalSetupOptions.dataFilter(resp.responseText,type),r=filteredResponse;try{resp.responseText=r}catch(e){}if(r)switch(type){case"json":try{resp=context.JSON?context.JSON.parse(r):eval("("+r+")")}catch(err){return error(resp,"Could not parse JSON in response",err)}break;case"js":resp=eval(r);break;case"html":resp=r;break;case"xml":resp=resp.responseXML&&resp.responseXML.parseError&&resp.responseXML.parseError.errorCode&&resp.responseXML.parseError.reason?null:resp.responseXML}for(self._responseArgs.resp=resp,self._fulfilled=!0,fn(resp),self._successHandler(resp);self._fulfillmentHandlers.length>0;)resp=self._fulfillmentHandlers.shift()(resp);complete(resp)}function timedOut(){self._timedOut=!0,self.request.abort()}function error(e,t,n){for(e=self.request,self._responseArgs.resp=e,self._responseArgs.msg=t,self._responseArgs.t=n,self._erred=!0;self._errorHandlers.length>0;)self._errorHandlers.shift()(e,t,n);complete(e)}this.url="string"==typeof o?o:o.url,this.timeout=null,this._fulfilled=!1,this._successHandler=function(){},this._fulfillmentHandlers=[],this._errorHandlers=[],this._completeHandlers=[],this._erred=!1,this._responseArgs={};var self=this;fn=fn||function(){},o.timeout&&(this.timeout=setTimeout(function(){timedOut()},o.timeout)),o.success&&(this._successHandler=function(){o.success.apply(o,arguments)}),o.error&&this._errorHandlers.push(function(){o.error.apply(o,arguments)}),o.complete&&this._completeHandlers.push(function(){o.complete.apply(o,arguments)}),this.request=getRequest.call(this,success,error)}function reqwest(e,t){return new Reqwest(e,t)}function normalize(e){return e?e.replace(/\r?\n/g,"\r\n"):""}function serial(e,t){var n=e.name,r=e.tagName.toLowerCase(),o=function(e){e&&!e.disabled&&t(n,normalize(e.attributes.value&&e.attributes.value.specified?e.value:e.text))},i=void 0,a=void 0,s=void 0,l=void 0;if(!e.disabled&&n)switch(r){case"input":/reset|button|image|file/i.test(e.type)||(i=/checkbox/i.test(e.type),a=/radio/i.test(e.type),s=e.value,(!(i||a)||e.checked)&&t(n,normalize(i&&""===s?"on":s)));break;case"textarea":t(n,normalize(e.value));break;case"select":if("select-one"===e.type.toLowerCase())o(e.selectedIndex>=0?e.options[e.selectedIndex]:null);else for(l=0;e.length&&l