=0;i--)if(""!==t[i])break;return e>i?[]:t.slice(e,i-e+1)}t=e.resolve(t).substr(1),i=e.resolve(i).substr(1);for(var a=n(t.split("/")),o=n(i.split("/")),r=Math.min(a.length,o.length),s=r,c=0;c=1;--o)if(e=t.charCodeAt(o),47===e){if(!a){n=o;break}}else a=!1;return-1===n?i?"/":".":i&&1===n?"/":t.slice(0,n)},e.basename=function(t,e){var i=function(t){"string"!==typeof t&&(t+="");var e,i=0,n=-1,a=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!a){i=e+1;break}}else-1===n&&(a=!1,n=e+1);return-1===n?"":t.slice(i,n)}(t);return e&&i.substr(-1*e.length)===e&&(i=i.substr(0,i.length-e.length)),i},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,i=0,n=-1,a=!0,o=0,r=t.length-1;r>=0;--r){var s=t.charCodeAt(r);if(47!==s)-1===n&&(a=!1,n=r+1),46===s?-1===e?e=r:1!==o&&(o=1):-1!==e&&(o=-1);else if(!a){i=r+1;break}}return-1===e||-1===n||0===o||1===o&&e===n-1&&e===i+1?"":t.slice(e,n)};var a="b"==="ab".substr(-1)?function(t,e,i){return t.substr(e,i)}:function(t,e,i){return e<0&&(e=t.length+e),t.substr(e,i)}}).call(this,i("4362"))},dff1:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={props:{}}},dff4:function(t,e,i){(function(e){var n=i("970b"),a=i("5bc3"),o=i("13ee"),r=o.blankChar,s=i("9079"),c=uni.getSystemInfoSync().windowWidth,u=function(){"use strict";function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n(this,t),this.attrs={},this.CssHandler=new s(i.tagStyle,c),this.data=e,this.domain=i.domain,this.DOM=[],this.i=this.start=this.audioNum=this.imgNum=this.videoNum=0,i.prot=(this.domain||"").includes("://")?this.domain.split("://")[0]:"http",this.options=i,this.state=this.Text,this.STACK=[]}return a(t,[{key:"parse",value:function(){for(var t;t=this.data[this.i];this.i++)this.state(t);this.state==this.Text&&this.setText();while(this.STACK.length)this.popNode(this.STACK.pop());return this.DOM.length&&(this.DOM[0].PoweredBy="Parser",this.title&&(this.DOM[0].title=this.title)),this.DOM}},{key:"setAttr",value:function(){var t=this.attrName.toLowerCase();if(o.trustAttrs[t]){var e=this.attrVal;e?this.attrs[t]="src"==t?this.getUrl(this.decode(e,"amp")):"href"==t||"style"==t?this.decode(e,"amp"):e:o.boolAttrs[t]&&(this.attrs[t]="T")}this.attrVal="";while(r[this.data[this.i]])this.i++;this.isClose()?this.setNode():(this.start=this.i,this.state=this.AttrName)}},{key:"setText",value:function(){var t,e=this.section();if(e)if(e=o.onText&&o.onText(e,(function(){return t=!0}))||e,t){this.data=this.data.substr(0,this.start)+e+this.data.substr(this.i);var i=this.start+e.length;for(this.i=this.start;this.i",this.i))&&(this.i=this.data.length),void("svg"==i&&a()))}}},{key:"matchAttr",value:function(t){var i=t.attrs,n=this.CssHandler.match(t.name,i,t)+(i.style||""),a={};switch(i.id&&(1&this.options.compress?i.id=void 0:this.options.useAnchor&&this.bubble()),2&this.options.compress&&i.class&&(i.class=void 0),t.name){case"a":case"ad":this.bubble();break;case"iframe":case"embed":this.bubble();break;case"font":if(i.color&&(a["color"]=i.color,i.color=void 0),i.face&&(a["font-family"]=i.face,i.face=void 0),i.size){var o=parseInt(i.size);o<1?o=1:o>7&&(o=7);a["font-size"]=["xx-small","x-small","small","medium","large","x-large","xx-large"][o-1],i.size=void 0}break;case"video":case"audio":i.id?this["".concat(t.name,"Num")]++:i.id=t.name+ ++this["".concat(t.name,"Num")],"video"==t.name&&(this.videoNum>3&&(t.lazyLoad=1),i.width&&(a.width=parseFloat(i.width)+(i.width.includes("%")?"%":"px"),i.width=void 0),i.height&&(a.height=parseFloat(i.height)+(i.height.includes("%")?"%":"px"),i.height=void 0)),i.source=[],i.src&&i.source.push(i.src),i.controls||i.autoplay||e("warn","\u5b58\u5728\u6ca1\u6709 controls \u5c5e\u6027\u7684 ".concat(t.name," \u6807\u7b7e\uff0c\u53ef\u80fd\u5bfc\u81f4\u65e0\u6cd5\u64ad\u653e"),t," at components/jyf-parser/libs/MpHtmlParser.js:217"),this.bubble();break;case"td":case"th":if(i.colspan||i.rowspan)for(var s,u=this.STACK.length;s=this.STACK[--u];)if("table"==s.name){s.c=void 0;break}}i.align&&(a["text-align"]=i.align,i.align=void 0);var l,d=n.split(";");n="";for(var f=0,p=d.length;fc&&(a.height="",i.height&&(i.height=void 0))),a.height?(i.height=a.height,a.height=""):i.height&&!i.height.includes("%")&&(i.height+="px"));for(var m in a){var _=a[m];if((m.includes("flex")||"order"==m||"self-align"==m)&&(t.c=1),_.includes("url")){var v=_.indexOf("(");if(-1!=v++){while('"'==_[v]||"'"==_[v]||r[_[v]])v++;_=_.substr(0,v)+this.getUrl(_.substr(v))}}else _.includes("rpx")?_=_.replace(/[0-9.]+\s*rpx/g,(function(t){return parseFloat(t)*c/750+"px"})):"white-space"==m&&_.includes("pre")&&(this.pre=t.pre=!0);n+=";".concat(m,":").concat(_)}n=n.substr(1),n&&(i.style=n)}},{key:"popNode",value:function(t){if(t.pre){t.pre=this.pre=void 0;for(var e=this.STACK.length;e--;)this.STACK[e].pre&&(this.pre=!0)}var i=this.siblings(),n=i.length,a=t.children;if("head"==t.name||o.filter&&0==o.filter(t,this))return i.pop();var r=t.attrs;if(o.blockTags[t.name]?t.name="div":o.trustTags[t.name]||(t.name="span"),"div"!=t.name&&"p"!=t.name&&"t"!=t.name[0]||(n>1&&" "==i[n-2].text&&i.splice(--n-1,1),a.length&&" "==a[a.length-1].text&&a.pop()),t.c&&("ul"==t.name||"ol"==t.name))if((t.attrs.style||"").includes("list-style:none"))for(var s,c=0;s=a[c++];)"li"==s.name&&(s.name="div");else if("ul"==t.name){for(var u=1,l=this.STACK.length;l--;)"ul"==this.STACK[l].name&&u++;if(1!=u)for(var d=a.length;d--;)a[d].floor=u}else for(var f,p=0,h=1;f=a[p++];)"li"==f.name&&(f.type="ol",f.num=function(t,e){if("a"==e)return String.fromCharCode(97+(t-1)%26);if("A"==e)return String.fromCharCode(65+(t-1)%26);if("i"==e||"I"==e){t=(t-1)%99+1;var i=(["X","XX","XXX","XL","L","LX","LXX","LXXX","XC"][Math.floor(t/10)-1]||"")+(["I","II","III","IV","V","VI","VII","VIII","IX"][t%10-1]||"");return"i"==e?i.toLowerCase():i}return t}(h++,r.type)+".");if("table"==t.name){var y=r.cellpadding,g=r.cellspacing,m=r.border;if(t.c&&(this.bubble(),y||(y=2),g||(g=2)),m&&(r.style="border:".concat(m,"px solid gray;").concat(r.style||"")),g&&(r.style="border-spacing:".concat(g,"px;").concat(r.style||"")),(m||y)&&function t(e){for(var i,n=0;i=e[n];n++)"th"==i.name||"td"==i.name?(m&&(i.attrs.style="border:".concat(m,"px solid gray;").concat(i.attrs.style)),y&&(i.attrs.style="padding:".concat(y,"px;").concat(i.attrs.style))):t(i.children||[])}(a),this.options.autoscroll){var _=Object.assign({},t);t.name="div",t.attrs={style:"overflow:scroll"},t.children=[_]}}this.CssHandler.pop&&this.CssHandler.pop(t),"div"!=t.name||Object.keys(r).length||1!=a.length||"div"!=a[0].name||(i[n-1]=a[0])}},{key:"bubble",value:function(){for(var t,e=this.STACK.length;t=this.STACK[--e];){if(o.richOnlyTags[t.name])return"table"!=t.name||Object.hasOwnProperty.call(t,"c")||(t.c=1),!1;t.c=1}return!0}},{key:"decode",value:function(t,e){var i,n,a=-1;while(1){if(-1==(a=t.indexOf("&",a+1)))break;if(-1==(i=t.indexOf(";",a+2)))break;"#"==t[a+1]?(n=parseInt(("x"==t[a+2]?"0":"")+t.substring(a+2,i)),isNaN(n)||(t=t.substr(0,a)+String.fromCharCode(n)+t.substr(i+1))):(n=t.substring(a+1,i),(o.entities[n]||n==e)&&(t=t.substr(0,a)+(o.entities[n]||"&")+t.substr(i+1)))}return t}},{key:"getUrl",value:function(t){return"/"==t[0]?"/"==t[1]?t=this.options.prot+":"+t:this.domain&&(t=this.domain+t):this.domain&&0!=t.indexOf("data:")&&!t.includes("://")&&(t=this.domain+"/"+t),t}},{key:"isClose",value:function(){return">"==this.data[this.i]||"/"==this.data[this.i]&&">"==this.data[this.i+1]}},{key:"section",value:function(){return this.data.substring(this.start,this.i)}},{key:"parent",value:function(){return this.STACK[this.STACK.length-1]}},{key:"siblings",value:function(){return this.STACK.length?this.parent().children:this.DOM}},{key:"Text",value:function(t){if("<"==t){var e=this.data[this.i+1],i=function(t){return t>="a"&&t<="z"||t>="A"&&t<="Z"};i(e)?(this.setText(),this.start=this.i+1,this.state=this.TagName):"/"==e?(this.setText(),i(this.data[1+ ++this.i])?(this.start=this.i+1,this.state=this.EndTag):this.Comment()):"!"==e&&(this.setText(),this.Comment())}}},{key:"Comment",value:function(){var t;t="--"==this.data.substring(this.i+2,this.i+4)?"--\x3e":"[CDATA["==this.data.substring(this.i+2,this.i+9)?"]]>":">",-1==(this.i=this.data.indexOf(t,this.i+2))?this.i=this.data.length:this.i+=t.length-1,this.start=this.i+1,this.state=this.Text}},{key:"TagName",value:function(t){if(r[t]){this.tagName=this.section();while(r[this.data[this.i]])this.i++;this.isClose()?this.setNode():(this.start=this.i,this.state=this.AttrName)}else this.isClose()&&(this.tagName=this.section(),this.setNode())}},{key:"AttrName",value:function(t){var e=r[t];if(e&&(this.attrName=this.section(),t=this.data[this.i]),"="==t){e||(this.attrName=this.section());while(r[this.data[++this.i]]);this.start=this.i--,this.state=this.AttrValue}else e?this.setAttr():this.isClose()&&(this.attrName=this.section(),this.setAttr())}},{key:"AttrValue",value:function(t){if('"'==t||"'"==t){if(this.start++,-1==(this.i=this.data.indexOf(t,this.i+1)))return this.i=this.data.length;this.attrVal=this.section(),this.i++}else{for(;!r[this.data[this.i]]&&!this.isClose();this.i++);this.attrVal=this.section()}this.setAttr()}},{key:"EndTag",value:function(t){if(r[t]||">"==t||"/"==t){for(var e=this.section().toLowerCase(),i=this.STACK.length;i--;)if(this.STACK[i].name==e)break;if(-1!=i){var n;while((n=this.STACK.pop()).name!=e);this.popNode(n)}else"p"!=e&&"br"!=e||this.siblings().push({name:e,attrs:{}});this.i=this.data.indexOf(">",this.i),this.start=this.i+1,-1==this.i?this.i=this.data.length:this.state=this.Text}}}]),t}();t.exports=u}).call(this,i("0de9")["default"])},e043:function(t,e,i){"use strict";(function(t){var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("a34a")),o=n(i("9523")),r=n(i("c973"));function s(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function c(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:"0",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0";t=String(t).split("."),e=String(e).split(".");for(var i=Math.min(t.length,e.length),n=0,a=0;ar){n=1;break}if(oe.length,c=s?t:e,u=i;u0){n=s?1:-1;break}}return n}(e,this.version)?this.deleteSavedFile(i):(this.downloadSuccess=!0,this.installForBeforeFilePath=i,this.tempFilePath=i)}},closeUpdate:function(){var t=this;return(0,r.default)(a.default.mark((function e(){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t.downloading){e.next=5;break}if(!t.is_mandatory){e.next=3;break}return e.abrupt("return",uni.showToast({title:"\u4e0b\u8f7d\u4e2d\uff0c\u8bf7\u7a0d\u540e\u2026\u2026",icon:"none",duration:500}));case 3:return uni.showModal({title:"\u662f\u5426\u53d6\u6d88\u4e0b\u8f7d\uff1f",cancelText:"\u5426",confirmText:"\u662f",success:function(t){t.confirm&&(d&&d.abort(),uni.navigateBack())}}),e.abrupt("return");case 5:if(!t.downloadSuccess||!t.tempFilePath){e.next=10;break}return e.next=8,t.saveFile(t.tempFilePath,t.version);case 8:return uni.navigateBack(),e.abrupt("return");case 10:uni.navigateBack();case 11:case"end":return e.stop()}}),e)})))()},updateApp:function(){var t=this;this.checkStoreScheme().catch((function(){t.downloadPackage()}))},checkStoreScheme:function(){var t=(this.store_list||[]).filter((function(t){return t.enable}));return t&&t.length?(t.sort((function(t,e){return e.priority-t.priority})).map((function(t){return t.scheme})).reduce((function(t,e,i){return u=(t||(t=Promise.reject())).catch((function(){return new Promise((function(t,i){plus.runtime.openURL(e,(function(t){i(t)}))}))})),u}),u),u):Promise.reject()},downloadPackage:function(){var e=this;this.downloading=!0,d=uni.downloadFile({url:this.url,success:function(i){if(200==i.statusCode)if(e.downloadSuccess=!0,e.isWGT&&"wgt"!==i.tempFilePath.split(".").slice(-1)[0]){var n=function(e){t("log","[FILE RENAME FAIL]\uff1a",JSON.stringify(e)," at uni_modules/uni-upgrade-center-app/pages/upgrade-popup.vue:287")};plus.io.resolveLocalFileSystemURL(i.tempFilePath,(function(t){var e=this;t.getParent((function(i){var a="new_wgt_".concat(Date.now(),".wgt");t.copyTo(i,a,(function(t){e.tempFilePath=t.fullPath,e.downLoadComplete()}),n)}),n)}),n)}else e.tempFilePath=i.tempFilePath,e.downLoadComplete()}}),d.onProgressUpdate((function(t){e.downLoadPercent=t.progress,e.downloadedSize=(t.totalBytesWritten/Math.pow(1024,2)).toFixed(2),e.packageFileSize=(t.totalBytesExpectedToWrite/Math.pow(1024,2)).toFixed(2)}))},downLoadComplete:function(){this.downloading=!1,this.downLoadPercent=0,this.downloadedSize=0,this.packageFileSize=0,d=null,this.is_mandatory&&this.installPackage()},installPackage:function(){var t=this;this.isWGT&&(this.installing=!0),plus.runtime.install(this.tempFilePath,{force:!1},function(){var e=(0,r.default)(a.default.mark((function e(i){var n;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.installing=!1,t.installed=!0,t.isWGT?t.is_mandatory&&(uni.showLoading({icon:"none",title:"\u5b89\u88c5\u6210\u529f\uff0c\u6b63\u5728\u91cd\u542f\u2026\u2026"}),setTimeout((function(){uni.hideLoading(),t.restart()}),1e3)):(n=uni.getStorageSync(l),uni.setStorageSync(l,c(c({},n),{},{installed:!0})));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),function(){var e=(0,r.default)(a.default.mark((function e(i){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t.installForBeforeFilePath){e.next=4;break}return e.next=3,t.deleteSavedFile(t.installForBeforeFilePath);case 3:t.installForBeforeFilePath="";case 4:t.installing=!1,t.installed=!1,uni.showModal({title:"\u66f4\u65b0\u5931\u8d25\uff0c\u8bf7\u91cd\u65b0\u4e0b\u8f7d",content:i.message,showCancel:!1});case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),this.isWGT||this.is_mandatory||uni.navigateBack()},restart:function(){this.installed=!1,plus.runtime.restart()},saveFile:function(t,e){return new Promise((function(i,n){uni.saveFile({tempFilePath:t,success:function(t){var i=t.savedFilePath;uni.setStorageSync(l,{version:e,savedFilePath:i})},complete:function(){i()}})}))},deleteSavedFile:function(t){return uni.removeStorageSync(l),uni.removeSavedFile({filePath:t})},jumpToAppStore:function(){plus.runtime.openURL(this.url)}}};e.default=f}).call(this,i("0de9")["default"])},e089:function(t,e,i){"use strict";(function(t){var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("90be")),o=n(i("65fd"));function r(t){var e=new Date(t),i=e.getFullYear(),n=e.getMonth()+1;n=n<10?"0"+n:n;var a=e.getDate();a=a<10?"0"+a:a;var o=e.getHours();o=o<10?"0"+o:o;var r=e.getMinutes(),s=e.getSeconds();return r=r<10?"0"+r:r,s=s<10?"0"+s:s,i+"-"+n+"-"+a+" "+o+":"+r+":"+s}var s={data:function(){return{showTotal:!1,single:"",playData:{},curIndex:null,pageWidth:uni.getSystemInfoSync().windowWidth,pageHeight:uni.getSystemInfoSync().windowHeight-200,fiveYunNum:5,date:(new Date).getTime(),dateToString:r(new Date),timestamp:Date.now()-1728e5,showCalendar:!1,quxue:[],tiangandizhi:{},yuanXue:["\u8155\u9aa8","\u4e18\u589f","\u4e18\u589f","\u592a\u6eaa","\u5927\u9675","\u4eac\u9aa8","\u9633\u6c60","\u592a\u6e0a","\u5408\u8c37","\u592a\u767d","\u51b2\u9633","\u795e\u95e8"]}},onLoad:function(){var e=(new Date).toISOString().slice(0,10);this.timestamp=new Date(e).getTime(),t("log","\u521d\u59cb\u65f6\u95f4",this.dateToString,this.date," at pages/timeAcupoint/totalTable.vue:216"),this.getXueWei(this.dateToString),this.getTGDZ(this.dateToString)},onUnload:function(){},onHide:function(){},methods:{scroll:function(t){},showTotalFun:function(){this.showTotal=!this.showTotal},getHightLightColor:function(t){if(-1!=t.indexOf("*"))return"#9c3211"},getTGDZ:function(e){var i=this;o.default.request({url:"book/point/TGDZForYear",method:"POST",data:{date:e},header:{"Content-Type":"application/json"}}).then((function(e){0==e.code&&(t("log","\u5929\u5e72\u5730\u652f",e.tgdz," at pages/timeAcupoint/totalTable.vue:255"),i.tiangandizhi=e.tgdz)})).catch((function(e){t("log",e,"e"," at pages/timeAcupoint/totalTable.vue:260")}))},getXueWei:function(e){var i=this;o.default.request({url:"book/point/SCQX",method:"POST",data:{date:e},header:{"Content-Type":"application/json"}}).then((function(e){0==e.code&&e.flag.length>0&&(t("log","\u65f6\u8fb0\u53d6\u7a74",e.flag," at pages/timeAcupoint/totalTable.vue:278"),i.quxue=e.flag,i.curIndex=e.flag.findIndex((function(t){return 1==t.now})),i.curIndex=i.curIndex+2,t("log",i.curIndex,"this.curIndex"," at pages/timeAcupoint/totalTable.vue:284"))})).catch((function(e){i.curIndex=null,t("log",e,"e"," at pages/timeAcupoint/totalTable.vue:289")}))},changeLog:function(e){t("log","change\u4e8b\u4ef6:",e," at pages/timeAcupoint/totalTable.vue:296");var i=e.slice(0,10);this.timestamp=new Date(i).getTime(),this.dateToString=e,this.getXueWei(e),this.getTGDZ(e)}},components:{musicPlay:a.default}};e.default=s}).call(this,i("0de9")["default"])},e0e2:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={gap:{bgColor:"transparent",height:20,marginTop:0,marginBottom:0,customStyle:{}}}},e115:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:t._$s(0,"sc","mescroll-body"),style:t._$s(0,"s",{minHeight:t.minHeight,"padding-top":t.padTop,"padding-bottom":t.padBottom}),attrs:{_i:0},on:{touchstart:t.touchstartEvent,touchmove:t.touchmoveEvent,touchend:t.touchendEvent,touchcancel:t.touchendEvent}},[i("view",{staticClass:t._$s(1,"sc","mescroll-body-content"),style:t._$s(1,"s",{transform:t.translateY,transition:t.transition}),attrs:{_i:1}},[t._$s(2,"i",t.mescroll.optDown.use)?i("view",{staticClass:t._$s(2,"sc","mescroll-downwarp"),style:t._$s(2,"s",{background:t.mescroll.optDown.bgColor,color:t.mescroll.optDown.textColor}),attrs:{_i:2}},[i("view",{staticClass:t._$s(3,"sc","downwarp-content"),attrs:{_i:3}},[i("view",{staticClass:t._$s(4,"sc","downwarp-progress"),class:t._$s(4,"c",{"mescroll-rotate":t.isDownLoading}),style:t._$s(4,"s",{"border-color":t.mescroll.optDown.textColor,transform:t.downRotate}),attrs:{_i:4}}),i("view",{staticClass:t._$s(5,"sc","downwarp-tip"),attrs:{_i:5}},[t._v(t._$s(5,"t0-0",t._s(t.downText)))])])]):t._e(),t._t("default",null,{_i:6}),t._$s(7,"i",t.isShowEmpty)?i("mescroll-empty",{attrs:{option:t.mescroll.optUp.empty,_i:7},on:{emptyclick:t.emptyClick}}):t._e(),t._$s(8,"i",t.mescroll.optUp.use&&!t.isDownLoading&&3!==t.upLoadType)?i("view",{staticClass:t._$s(8,"sc","mescroll-upwarp"),style:t._$s(8,"s",{background:t.mescroll.optUp.bgColor,color:t.mescroll.optUp.textColor}),attrs:{_i:8}},[i("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(9,"v-show",1===t.upLoadType),expression:"_$s(9,'v-show',upLoadType===1)"}],attrs:{_i:9}},[i("view",{staticClass:t._$s(10,"sc","upwarp-progress mescroll-rotate"),style:t._$s(10,"s",{"border-color":t.mescroll.optUp.textColor}),attrs:{_i:10}}),i("view",{staticClass:t._$s(11,"sc","upwarp-tip"),attrs:{_i:11}},[t._v(t._$s(11,"t0-0",t._s(t.mescroll.optUp.textLoading)))])]),t._$s(12,"i",2===t.upLoadType)?i("view",{staticClass:t._$s(12,"sc","upwarp-nodata"),attrs:{_i:12}},[t._v(t._$s(12,"t0-0",t._s(t.mescroll.optUp.textNoMore)))]):t._e()]):t._e()],2),t._$s(13,"i",t.safearea)?i("view",{staticClass:t._$s(13,"sc","mescroll-safearea"),attrs:{_i:13}}):t._e(),i("mescroll-top",{attrs:{option:t.mescroll.optUp.toTop,_i:14},on:{click:t.toTopClick},model:{value:t._$s(14,"v-model",t.isShowToTop),callback:function(e){t.isShowToTop=e},expression:"isShowToTop"}})],1)},a=[]},e149:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={zNavBar:i("e540").default,publicModule:i("3b5e").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:t._$s(0,"sc","page"),attrs:{_i:0}},[i("z-nav-bar",{attrs:{_i:1}}),i("public-module",{attrs:{_i:2}}),i("view",{staticClass:t._$s(3,"sc","title"),attrs:{_i:3}}),i("view",{staticClass:t._$s(4,"sc","input_box"),attrs:{_i:4}},[i("text",{staticClass:t._$s(5,"sc","input_tit"),attrs:{_i:5}}),i("input",{directives:[{name:"model",rawName:"v-model",value:t.phone,expression:"phone"}],attrs:{_i:6},domProps:{value:t._$s(6,"v-model",t.phone)},on:{input:function(e){e.target.composing||(t.phone=e.target.value)}}})]),i("view",{staticClass:t._$s(7,"sc","input_box"),attrs:{_i:7}},[i("text",{staticClass:t._$s(8,"sc","input_tit"),attrs:{_i:8}}),i("input",{directives:[{name:"model",rawName:"v-model",value:t.code,expression:"code"}],attrs:{_i:9},domProps:{value:t._$s(9,"v-model",t.code)},on:{input:function(e){e.target.composing||(t.code=e.target.value)}}}),i("button",{attrs:{_i:10},on:{click:t.getCode}},[t._v(t._$s(10,"t0-0",t._s(t.codeText)))])]),i("view",{staticClass:t._$s(11,"sc","input_box"),attrs:{_i:11}},[i("text",{staticClass:t._$s(12,"sc","input_tit"),attrs:{_i:12}}),i("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],attrs:{_i:13},domProps:{value:t._$s(13,"v-model",t.password)},on:{input:function(e){e.target.composing||(t.password=e.target.value)}}})]),i("view",{staticClass:t._$s(14,"sc","input_box"),attrs:{_i:14}},[i("text",{staticClass:t._$s(15,"sc","input_tit"),attrs:{_i:15}}),i("input",{directives:[{name:"model",rawName:"v-model",value:t.confirmPassword,expression:"confirmPassword"}],attrs:{_i:16},domProps:{value:t._$s(16,"v-model",t.confirmPassword)},on:{input:function(e){e.target.composing||(t.confirmPassword=e.target.value)}}})]),i("view",{staticClass:t._$s(17,"sc","input_box"),attrs:{_i:17}},[i("text",{staticClass:t._$s(18,"sc","input_tit"),attrs:{_i:18}}),i("input",{directives:[{name:"model",rawName:"v-model",value:t.recommendCode,expression:"recommendCode"}],attrs:{_i:19},domProps:{value:t._$s(19,"v-model",t.recommendCode)},on:{confirm:t.onSubmit,input:function(e){e.target.composing||(t.recommendCode=e.target.value)}}})]),i("view",{staticClass:t._$s(20,"sc","protocol_box"),attrs:{_i:20}},[i("view",{staticClass:t._$s(21,"sc","select"),class:t._$s(21,"c",{active:t.agree}),attrs:{_i:21},on:{click:function(e){t.agree=!t.agree}}}),i("text",{attrs:{_i:22},on:{click:function(e){return t.onPageJump("/pages/user/protocol")}}}),i("text",{attrs:{_i:23},on:{click:function(e){return t.onPageJump("/pages/user/protocol")}}})]),i("view",{staticClass:t._$s(24,"sc","btn_box"),attrs:{_i:24}},[i("button",{attrs:{_i:25},on:{click:t.onSubmit}})])],1)},o=[]},e17a:function(t,e,i){"use strict";i.r(e);var n=i("66cc"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},e1c4:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={uniIcons:i("a4a7").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:t._$s(0,"sc","uni-stat__select"),attrs:{_i:0}},[t._$s(1,"i",t.label)?i("span",{staticClass:t._$s(1,"sc","uni-label-text hide-on-phone"),attrs:{_i:1}},[t._v(t._$s(1,"t0-0",t._s(t.label+"\uff1a")))]):t._e(),i("view",{staticClass:t._$s(2,"sc","uni-stat-box"),class:t._$s(2,"c",{"uni-stat__actived":t.current}),attrs:{_i:2}},[i("view",{staticClass:t._$s(3,"sc","uni-select"),class:t._$s(3,"c",{"uni-select--disabled":t.disabled}),attrs:{_i:3}},[i("view",{staticClass:t._$s(4,"sc","uni-select__input-box"),attrs:{_i:4},on:{click:t.toggleSelector}},[t._$s(5,"i",t.current)?i("view",{staticClass:t._$s(5,"sc","uni-select__input-text"),attrs:{_i:5}},[t._v(t._$s(5,"t0-0",t._s(t.current)))]):i("view",{staticClass:t._$s(6,"sc","uni-select__input-text uni-select__input-placeholder"),attrs:{_i:6}},[t._v(t._$s(6,"t0-0",t._s(t.typePlaceholder)))]),t._$s(7,"i",t.current&&t.clear&&!t.disabled)?i("view",{attrs:{_i:7},on:{click:function(e){return e.stopPropagation(),t.clearVal(e)}}},[i("uni-icons",{attrs:{type:"clear",color:"#c0c4cc",size:"24",_i:8}})],1):i("view",[i("uni-icons",{attrs:{type:t.showSelector?"top":"bottom",size:"14",color:"#999",_i:10}})],1)]),t._$s(11,"i",t.showSelector)?i("view",{staticClass:t._$s(11,"sc","uni-select--mask"),attrs:{_i:11},on:{click:t.toggleSelector}}):t._e(),t._$s(12,"i",t.showSelector)?i("view",{staticClass:t._$s(12,"sc","uni-select__selector"),attrs:{_i:12}},[i("view",{staticClass:t._$s(13,"sc","uni-popper__arrow"),attrs:{_i:13}}),i("scroll-view",{staticClass:t._$s(14,"sc","uni-select__selector-scroll"),attrs:{_i:14}},[t._$s(15,"i",0===t.mixinDatacomResData.length)?i("view",{staticClass:t._$s(15,"sc","uni-select__selector-empty"),attrs:{_i:15}},[i("text",[t._v(t._$s(16,"t0-0",t._s(t.emptyTips)))])]):t._l(t._$s(17,"f",{forItems:t.mixinDatacomResData}),(function(e,n,a,o){return i("view",{key:t._$s(17,"f",{forIndex:a,key:n}),staticClass:t._$s("17-"+o,"sc","uni-select__selector-item"),attrs:{_i:"17-"+o},on:{click:function(i){return t.change(e)}}},[i("text",{class:t._$s("18-"+o,"c",{"uni-select__selector__disabled":e.disable}),attrs:{_i:"18-"+o}},[t._v(t._$s("18-"+o,"t0-0",t._s(t.formatItemName(e))))])])}))],2)]):t._e()])])])},o=[]},e2b2:function(t,e,i){"use strict";i.r(e);var n=i("a824"),a=i("94ae");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);var r=i("f0c5"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"798fa8c2",null,!1,n["a"],void 0);e["default"]=s.exports},e2fd:function(t,e,i){"use strict";(function(t){var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("278c")),o=n(i("448a")),r=i("bcb0"),s=n(i("a7c6")),c={name:"ZsyCalendar",components:{DateBox:s.default},props:{duration:{type:Number,default:300},cellHeight:{type:Number,default:75},dateActiveColor:{type:String,default:"#FE6601"},sundayIndex:{type:Number,default:6},mode:{type:String,default:"close"},changeSetDefault:{type:Boolean,default:!0},defaultSelectedDate:{type:null|String,default:null},showArrowBtn:{type:Boolean,default:!0}},data:function(){return{today:(0,r.parseTime)(new Date,"{y}-{m}-{d}"),selectedDate:null,week:[],current:1,calendarSwiperDates:[],swiperChangeByClick:!1,swiperMode:this.mode,monthDateCache:{},emitTimer:null,dateClick:!1}},computed:{getcurCalendarDates:function(){return"open"===this.swiperMode?this.calendarSwiperDates:this.getCalendarShrinkSwiperDates()},getAdjacentYMD:function(){var t=this.getAssignDateInfo(!1,0),e=this.getAssignDateInfo(!1,1),i="".concat(1===e?t-1:t,"-").concat(1===e?12:e-1),n="".concat(t,"-").concat(e),a="".concat(12===e?t+1:t,"-").concat(12===e?1:e+1);return[i,n,a]},getAssignDateInfo:function(){var t=this;return function(e,i){return 1*(e?t.today:t.selectedDate).split("-")[i]}},showBackToTodayBtn:function(){return this.getAssignDateInfo(!1,0)!==this.getAssignDateInfo(!0,0)||this.getAssignDateInfo(!1,1)!==this.getAssignDateInfo(!0,1)},swiperHeight:function(){var t=(this.calendarSwiperDates[this.current]||[]).length/7*(this.cellHeight+20)+"rpx",e=this.cellHeight+20+"rpx";return"open"===this.swiperMode?t:e}},watch:{current:function(t,e){0!==t||2!==e?(2!==t||0!==e)&&t>e?this.swiperChange(1):this.swiperChange(-1):this.swiperChange(1)},selectedDate:{deep:!0,handler:function(e,i){var n=this,a=new Date(e).getTime(),o=(new Date).getTime();if(t("log",o,a," at components/zsy-calendar/zsy-calendar.vue:172"),a>o)return uni.showToast({title:"\u672a\u6765\u65e5\u671f\u4e0d\u53ef\u6253\u5361",icon:"none"}),!1;"close"===this.swiperMode&&setTimeout((function(){n.generateAdjacentMonthDate()}),this.duration),e&&(null===i||this.dateClick)?(this.emitDate(),this.dateClick=!1):(null!==this.emitTimer&&(clearTimeout(this.emitTimer),this.emitTimer=null),this.emitTimer=setTimeout((function(){n.emitDate(),n.emitTimer=null}),this.duration+200))}}},created:function(){this.init()},methods:{init:function(){null===this.selectedDate&&(this.selectedDate=this.defaultSelectedDate||this.today),this.initWeek(),this.generateAdjacentMonthDate()},initWeek:function(){var t=["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],e=this.sundayIndex<0?0:this.sundayIndex>=t.length?t.length-1:this.sundayIndex;t.unshift.apply(t,(0,o.default)(t.slice(-e))),t.length=7,this.week=t},adjacentSortByCurrent:function(e,i,n){var a;return 0===this.current?a=[i,n,e]:1===this.current?a=[e,i,n]:2===this.current&&(a=[n,e,i]),t("log",a,"arr"," at components/zsy-calendar/zsy-calendar.vue:234"),a},generateAdjacentMonthDate:function(){var e=this,i=[];this.getAdjacentYMD.map((function(t){var n=t.split("-"),o=(0,a.default)(n,2),r=o[0],s=o[1];i.push(e.generateMonthDateCache(r,s))})),t("log",i,"arr"," at components/zsy-calendar/zsy-calendar.vue:245");var n=i[0],o=i[1],r=i[2];this.calendarSwiperDates=this.adjacentSortByCurrent(n,o,r),this.swiperChangeByClick&&(this.swiperChangeByClick=!1)},generateMonthDateCache:function(t,e){if(t=Number(t),e=Number(e),this.monthDateCache["".concat(t,"-").concat(e)])return this.monthDateCache["".concat(t,"-").concat(e)];var i=[],n=new Date(t,e,0).getDate(),a=["\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u65e5"][new Date(t,e-1,0).getDay()],o=this.week.indexOf(a);if(0!==o)for(var s=new Date(t,e-1,0).getDate(),c=0;ca?a:n;this.selectedDate=(0,r.parseTime)(new Date(e,i-1,o),"{y}-{m}-{d}")}else{var s=this.current+t<0?2:this.current+t>2?0:this.current+t;this.selectedDate=this.getcurCalendarDates[s][0].dateFormat}},goToDate:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.today;try{if(t.split("-").length<2||t.split("-").length>3)throw"\u53c2\u6570\u6709\u8bef";2===t.split("-").length&&(t+="-01")}catch(e){throw Error("\u8bf7\u68c0\u67e5\u53c2\u6570\u662f\u5426\u7b26\u5408\u89c4\u8303")}this.selectedDate=t,this.generateAdjacentMonthDate()},chooseDate:function(t){if(t.dateFormat===this.selectedDate)return!1;"open"===this.swiperMode?"cur"!==t.type?("prev"===t.type?this.current=0===this.current?2:this.current-1:this.current=2===this.current?0:this.current+1,this.swiperChangeByClick=!0):this.dateClick=!0:("cur"!==t.type&&(this.swiperChangeByClick=!0),this.dateClick=!0),this.selectedDate=t.dateFormat},emitDate:function(){var t={selectedDate:this.selectedDate};this.$emit("change",t)}}};e.default=c}).call(this,i("0de9")["default"])},e332:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","u-safe-bottom"),class:this._$s(0,"c",[!this.isNvue&&"u-safe-area-inset-bottom"]),style:this._$s(0,"s",[this.style]),attrs:{_i:0}})},a=[]},e353:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={input:{value:"",type:"text",fixed:!1,disabled:!1,disabledColor:"#f5f7fa",clearable:!1,password:!1,maxlength:-1,placeholder:null,placeholderClass:"input-placeholder",placeholderStyle:"color: #c0c4cc",showWordLimit:!1,confirmType:"done",confirmHold:!1,holdKeyboard:!1,focus:!1,autoBlur:!1,disableDefaultPadding:!1,cursor:-1,cursorSpacing:30,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,inputAlign:"left",fontSize:"15px",color:"#303133",prefixIcon:"",prefixIconStyle:"",suffixIcon:"",suffixIconStyle:"",border:"surround",readonly:!1,shape:"square",formatter:null}}},e380:function(t,e,i){"use strict";i.r(e);var n=i("9108"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},e3c7:function(t,e,i){"use strict";i.r(e);var n=i("ff26"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},e3db:function(t,e){var i={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==i.call(t)}},e43a:function(t,e,i){"use strict";i.r(e);var n=i("6342"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},e4b3:function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("a34a")),o=n(i("c973")),r=n(i("f352")),s={name:"u-col",mixins:[uni.$u.mpMixin,uni.$u.mixin,r.default],data:function(){return{width:0,parentData:{gutter:0},gridNum:12}},computed:{uJustify:function(){return"end"==this.justify||"start"==this.justify?"flex-"+this.justify:"around"==this.justify||"between"==this.justify?"space-"+this.justify:this.justify},uAlignItem:function(){return"top"==this.align?"flex-start":"bottom"==this.align?"flex-end":this.align},colStyle:function(){var t={paddingLeft:uni.$u.addUnit(uni.$u.getPx(this.parentData.gutter)/2),paddingRight:uni.$u.addUnit(uni.$u.getPx(this.parentData.gutter)/2),alignItems:this.uAlignItem,justifyContent:this.uJustify,textAlign:this.textAlign,flex:"0 0 ".concat(100/this.gridNum*this.span,"%"),marginLeft:100/12*this.offset+"%"};return uni.$u.deepMerge(t,uni.$u.addStyle(this.customStyle))}},mounted:function(){this.init()},methods:{init:function(){var t=this;return(0,o.default)(a.default.mark((function e(){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.updateParentData(),e.next=3,t.parent.getComponentWidth();case 3:t.width=e.sent;case 4:case"end":return e.stop()}}),e)})))()},updateParentData:function(){this.getParentData("u-row")},clickHandler:function(t){this.$emit("click")}}};e.default=s},e50d:function(t,e,i){var n=i("7037")["default"];t.exports=function(t,e){if("object"!=n(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var a=i.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports["default"]=t.exports},e540:function(t,e,i){"use strict";i.r(e);var n=i("098a"),a=i("9f42");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);var r=i("f0c5"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},e554:function(t,e,i){"use strict";i.r(e);var n=i("a58b"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},e65b:function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("9523")),o=n(i("90be")),r=n(i("65fd")),s=i("26cb");function c(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}var u={data:function(){return{playData:{},highlight:"",current:0,twocurrent:0,oneLevel:[],towLevel:[],commodityList:[],utabs:!1,bgiStyle:{background:"#2ab58833"},iconStyle:{fontSize:"40rpx",fontWeight:"bold",color:"#54a966"},scrollTop:0}},onShow:function(){this.getOneLevel()},computed:function(t){for(var e=1;e0){var a,o={};a=e.cartList.some((function(t,e){if(t.productId==n.productId)return o=t,o.productAmount=t.productAmount+1,!0})),a?r.default.request({url:"book/ordercart/update",method:"POST",data:o,header:{"Content-Type":"application/json"}}).then((function(t){0==t.code&&uni.showToast({title:"\u52a0\u5165\u8d2d\u7269\u8f66\u6210\u529f",duration:1e3})})):r.default.request({url:"book/ordercart/save",method:"POST",data:n,header:{"Content-Type":"application/json"}}).then((function(t){0==t.code&&uni.showToast({title:"\u52a0\u5165\u8d2d\u7269\u8f66\u6210\u529f",duration:1e3})}))}else r.default.request({url:"book/ordercart/save",method:"POST",data:n,header:{"Content-Type":"application/json"}}).then((function(t){0==t.code&&uni.showToast({title:"\u52a0\u5165\u8d2d\u7269\u8f66\u6210\u529f",duration:1e3})}))}))},toDetail:function(t){uni.navigateTo({url:"./commodityDetail?id=".concat(t)})}},onPullDownRefresh:function(){this.commodityList=[],this.getOneLevel()}};e.default=u},e6e1:function(t,e,i){"use strict";i.r(e);var n=i("3964"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},e6f6:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={zNavBar:i("e540").default,uLoadingIcon:i("4466").default,uDivider:i("381d").default,uPopup:i("1608").default,uniForms:i("3390").default,uButton:i("ec98").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",{staticClass:t._$s(0,"sc","container"),attrs:{_i:0}},[n("view",{staticClass:t._$s(1,"sc","header"),attrs:{_i:1}},[n("z-nav-bar",{attrs:{title:t.productInfo.name+"-\u4e66\u8bc4",_i:2}})],1),n("view",{staticClass:t._$s(3,"sc","bookInfo"),attrs:{_i:3}},[n("view",{staticClass:t._$s(4,"sc","flexbox"),attrs:{_i:4}},[n("image",{staticClass:t._$s(5,"sc","imageradius bookinfoimage"),attrs:{src:t._$s(5,"a-src",t.productInfo.images),_i:5}}),n("view",{staticClass:t._$s(6,"sc","bookInfo-inner"),attrs:{_i:6}},[n("span",{staticClass:t._$s(7,"sc","title"),attrs:{_i:7}},[t._v(t._$s(7,"t0-0",t._s(t.productInfo.name)))]),t._$s(8,"i",""!=t.productInfo.authorName)?n("span",{staticClass:t._$s(8,"sc","author"),attrs:{_i:8}},[t._v(t._$s(8,"t0-0",t._s(t.productInfo.authorName)))]):t._e(),n("view",{staticClass:t._$s(9,"sc","ting-du-mai"),attrs:{_i:9}},[t._$s(10,"i",t.productInfo.canListen)?n("view",{staticClass:t._$s(10,"sc","ting-du-mai-item"),attrs:{_i:10},on:{click:function(e){return t.toOtherPage(1,t.productInfo)}}}):t._e(),t._$s(11,"i",1==t.productInfo.clockIn)?n("view",{staticClass:t._$s(11,"sc","ting-du-mai-item"),attrs:{_i:11},on:{click:function(e){return t.toOtherPage(2,t.productInfo)}}}):t._e(),t._$s(12,"i",0==t.productInfo.bookType)?n("view",{staticClass:t._$s(12,"sc","ting-du-mai-item"),attrs:{_i:12},on:{click:function(e){return t.toOtherPage(3,t.productInfo)}}}):t._e()])])]),t._$s(13,"i",""==t.productInfo.content)?n("view",{staticClass:t._$s(13,"sc","description"),attrs:{_i:13}}):n("view",{staticClass:t._$s(14,"sc","description"),attrs:{_i:14}},[t._v(t._$s(14,"t0-0",t._s(t.productInfo.content)))])]),n("view",{staticClass:t._$s(15,"sc","mainContent"),attrs:{_i:15}},[t._$s(16,"i",t.shupingList.length>0)?n("view",[n("view",{staticClass:t._$s(17,"sc","flexbox shuping-topbar"),attrs:{_i:17}},[n("view",{staticClass:t._$s(18,"sc","shuping-topbar-tiao"),attrs:{_i:18}},[t._v(t._$s(18,"t0-0",t._s(t.shupingNum||0)))]),n("view",{staticClass:t._$s(19,"sc","shuping-topbar-order"),attrs:{_i:19}},[n("view",{class:t._$s(20,"c",1==t.orderListTab?"orderdefine ordStyle":"orderdefine"),attrs:{_i:20},on:{click:function(e){return t.orderTabCLi(1)}}}),n("view"),n("view",{class:t._$s(22,"c",2==t.orderListTab?"orderdefine ordStyle":"orderdefine"),attrs:{_i:22},on:{click:function(e){return t.orderTabCLi(2)}}})])]),t._l(t._$s(23,"f",{forItems:t.shupingList}),(function(e,a,o,r){return n("view",{key:t._$s(23,"f",{forIndex:o,key:a}),staticClass:t._$s("23-"+r,"sc","item"),attrs:{_i:"23-"+r},on:{click:function(i){return i.stopPropagation(),t.toDetail(e)}}},[n("view",{staticClass:t._$s("24-"+r,"sc","title"),attrs:{_i:"24-"+r}},[t._v(t._$s("24-"+r,"t0-0",t._s(e.title)))]),t._$s("25-"+r,"i",e.image)?n("image",{staticClass:t._$s("25-"+r,"sc","feng"),attrs:{src:t._$s("25-"+r,"a-src",e.image),_i:"25-"+r}}):t._e(),n("view",{staticClass:t._$s("26-"+r,"sc","description"),attrs:{_i:"26-"+r},domProps:{innerHTML:t._s(t._$s("26-"+r,"v-html",e.content))}}),n("view",{staticClass:t._$s("27-"+r,"sc","btns flexbox"),attrs:{_i:"27-"+r}},[n("span",{staticClass:t._$s("28-"+r,"sc","left"),attrs:{_i:"28-"+r}},[t._v(t._$s("28-"+r,"t0-0",t._s(t.formatTimeDifferenceFromT(e.createTime))))]),n("span",{staticClass:t._$s("29-"+r,"sc","right flexbox opbtns"),attrs:{_i:"29-"+r}},[t._$s("30-"+r,"i",e.ilike)?n("image",{staticClass:t._$s("30-"+r,"sc","gzicon"),attrs:{src:t._$s("30-"+r,"a-src",i("5d76")),_i:"30-"+r},on:{click:function(i){return i.stopPropagation(),t.clickLike(e)}}}):n("image",{staticClass:t._$s("31-"+r,"sc","gzicon"),attrs:{src:t._$s("31-"+r,"a-src",i("5215")),_i:"31-"+r},on:{click:function(i){return i.stopPropagation(),t.clickLike(e)}}}),n("view",[t._v(t._$s("32-"+r,"t0-0",t._s(e.contlike)))]),n("image",{staticClass:t._$s("33-"+r,"sc","gzicon"),attrs:{src:t._$s("33-"+r,"a-src",i("399c")),_i:"33-"+r}}),n("view",[t._v(t._$s("34-"+r,"t0-0",t._s(e.commentNum)))])])]),t._$s("35-"+r,"i",a50?t.slice(0,50)+"...":t}},computed:u({},(0,s.mapState)(["userInfo"])),components:{musicPlay:o.default},methods:u(u({},(0,s.mapMutations)(["setUserInfo"])),{},{getUserInfo:function(){var t=this;this.$http.post("book/user/info/"+this.userInfo.id).then((function(e){t.userMsg=e.user}))},getTags:function(){var e=this;this.loadingNow=!1,this.$http.post("book/label/getLabels").then((function(i){t("log",i,"\u6807\u7b7e\u5217\u8868"," at pages/peanut/home.vue:486"),0==i.code&&i.result.labels.length>0&&(e.tagList=i.result.labels,e.tabsid=e.tagList[0].splId,e.getJtData())})).catch((function(e){t("log",e,"e"," at pages/peanut/home.vue:493")}))},tabsChange:function(t){this.tjProList=[],this.tabsid=t.splId,15==this.tabsid?this.wztabsid="0":16==this.tabsid?this.wztabsid="-1":this.wztabsid="",this.page=1,this.getJtData()},wztabsChange:function(t){this.tjProList=[],this.wztabsid=t.splId,this.page=1,this.getJtData()},getJtData:function(){var e=this;this.$http.post("book/label/getProductsByLabel",{splId:this.tabsid,limit:this.pageSize,page:this.page,type:this.wztabsid}).then((function(i){0==i.code&&i.page.records.length>0?(e.tjProList=e.tjProList.concat(i.page.records),e.totalPage=i.page.pages,e.status=3,t("log",e.tjProList,"\u6309\u6807\u7b7e\u68c0\u7d22\u7ed3\u679c"," at pages/peanut/home.vue:532")):(e.tjProList=[],e.totalPage=0)})).catch((function(e){t("log",e,"\u6807\u7b7e\u68c0\u7d22\u62a5\u9519"," at pages/peanut/home.vue:538")}))},getOffSale:function(){var e=this;this.$http.post("book/shopproduct/listactivityprice?limit=10&page=1").then((function(i){t("log",i,"\u6298\u6263"," at pages/peanut/home.vue:546"),0==i.code&&i.page.list.length>0&&(e.offSaleList=i.page.list,e.tabsNumber=0)})).catch((function(e){t("log",e,"e"," at pages/peanut/home.vue:553")}))},getNewBook:function(){var e=this;this.$http.post("book/shopproduct/getNewBook",{limit:4,page:1}).then((function(i){t("log",i,"xinshu"," at pages/peanut/home.vue:564"),e.newBookList=i.page.list})).catch((function(e){t("log",e,"\u65b0\u4e66\u4e0a\u5e02\u62a5\u9519"," at pages/peanut/home.vue:567")}))},requestIapOrder:function(){var e=this;t("log","\u68c0\u6d4b\u652f\u4ed8\u73af\u5883..."," at pages/peanut/home.vue:572"),plus.payment.getChannels((function(i){for(var n in t("log",i,"channels"," at pages/peanut/home.vue:574"),i)"appleiap"===i[n].id&&(e.iapChannel=i[n],e.userInfo.restoreFlag&&e.restoreComplateRequest())}))},restoreComplateRequest:function(){var e=this;t("log","\u68c0\u6d4b\u672a\u5b8c\u6210\u8ba2\u5355"," at pages/peanut/home.vue:591"),t("log",this.iapChannel,"this.iapChannel"," at pages/peanut/home.vue:592"),this.iapChannel.restoreComplateRequest({manualFinishTransaction:!0},(function(i){e.checking||(e.checking=!0,e.ComplateRequestArr=i,t("log",e.ComplateRequestArr,"\u672a\u5b8c\u6210\u8ba2\u5355\u6570\u7ec4"," at pages/peanut/home.vue:601"),i&&i.length>0&&i.map((function(t,i){"1"==t.transactionState?e.iapCheck(t,i):e.finishTransaction(t)})))}))},finishTransaction:function(e,i){var n=this;this.iapChannel.finishTransaction(e,(function(e){t("log","\u5173\u95ed\u8ba2\u5355\u6210\u529f",i," at pages/peanut/home.vue:624"),i==n.ComplateRequestArr.length-1&&n.setUserInfo({restoreFlag:!1})}),(function(e){t("log","\u5173\u95ed\u8ba2\u5355\u5931\u8d25"," at pages/peanut/home.vue:634")}))},iapCheck:function(e,i){var n=this;t("log","\u8fdb\u5165\u540e\u53f0\u9a8c\u8bc1"," at pages/peanut/home.vue:639");var a={transactionId:e.transactionIdentifier,customerOid:n.userInfo.id,productId:e.payment.productid,orderId:e.payment.username,receiptData:e.transactionReceipt,loadAnimate:"none"};t("log",a,"data"," at pages/peanut/home.vue:648"),r.default.request({url:"/Ipa/veri",method:"POST",data:a,header:{"Content-Type":"application/json"}}).then((function(a){t("log",JSON.stringify(a)," at pages/peanut/home.vue:657"),t("log",a.code," at pages/peanut/home.vue:658"),0==a.code?(t("log","\u5145\u503c\u8ba2\u5355\u5df2\u5904\u7406\uff0c\u8bf7\u7559\u610f\u8d26\u6237\u91d1\u989d\u53d8\u52a8...."," at pages/peanut/home.vue:661"),n.finishTransaction(e,i)):200==a.code&&(t("log","\u91cd\u590d\u9a8c\u8bc1...."," at pages/peanut/home.vue:665"),n.finishTransaction(e,i))})).catch((function(a){t("log","\u652f\u4ed8\u9a8c\u8bc1\u5931\u8d25\uff0c\u8fdb\u5165\u8f6e\u8be2\u7a0b\u5e8f..."," at pages/peanut/home.vue:669"),n.getIapPayResult(e,i)})),t("log","--------------"," at pages/peanut/home.vue:672")},getIapPayResult:function(e,i){var n=this;this.ComplateRequestInterval=setTimeout((function(){n.maxTimes<=3?(n.iapCheck(e,i),t("log","\u6267\u884c1",n.maxTimes,n.ComplateRequestInterval," at pages/peanut/home.vue:681"),n.maxTimes+=1):(n.maxTimes=0,t("log","\u505c\u6b62\u8f6e\u8be2",n.maxTimes,n.ComplateRequestInterval,n.maxTimes," at pages/peanut/home.vue:685"),n.checking=!1,n.saveErrorIapOrder(e,i),clearTimeout(n.ComplateRequestInterval))}),1e4)},saveErrorIapOrder:function(e,i){var n=this;t("log","\u63d0\u4ea4\u5230\u5145\u503c\u95ee\u9898\u5355\u91cc\u9762..."," at pages/peanut/home.vue:696");var a={transactionId:e.transactionIdentifier,failureflag:1,orderId:e.payment.username,receiptData:e.transactionReceipt,productId:e.payment.productid,customerOid:this.userInfo.id};r.default.request({url:"Ipa/failure",method:"POST",data:a,header:{"Content-Type":"application/json"}}).then((function(a){t("log",JSON.stringify(a)," at pages/peanut/home.vue:713"),200==a.code&&(t("log","\u63d0\u4ea4\u6210\u529f\uff0c\u5173\u95ed\u8ba2\u5355"," at pages/peanut/home.vue:715"),n.finishTransaction(e,i))})).catch((function(a){t("log",a," at pages/peanut/home.vue:719"),0==a.statusCode&&n.finishTransaction(e,i)}))},getData:function(){this.getNewBook()},onPageJump:function(e){t("log",this.userMsg,"this.userMsg"," at pages/peanut/home.vue:756"),"../luck/luck"!=e||0!=this.userMsg.wylqPower?uni.navigateTo({url:e}):uni.showModal({content:"\u8d2d\u4e70 \u4e2d\u533b\u65f6\u95f4\u533b\u5b66\xb7\u706b\u75c5\u539f\u7406 \u540e\u65b9\u53ef\u4f7f\u7528\u6b64\u529f\u80fd",confirmText:"\u597d\u7684",showCancel:!1,success:function(t){t.confirm}})},onPageJumpData:function(t,e){uni.navigateTo({url:t+"?id="+e})},onTabJump:function(t){uni.switchTab({url:t})},onGoing:function(){uni.showToast({icon:"none",title:"\u5f00\u53d1\u4e2d\uff0c\u656c\u8bf7\u671f\u5f85..."})},onBookJump:function(t){uni.navigateTo({url:"../eBook/bookContent?Id="+t.bookid})},goDetail:function(t){uni.navigateTo({url:"../bookShop/commodityDetail?id="+t})},onShopMore:function(t){uni.navigateTo({url:"../bookShop/bookShopType?type="+t})},onBookMore:function(t){uni.navigateTo({url:"../eBook/bookType?Type="+t})}})};e.default=l}).call(this,i("0de9")["default"])},e85d:function(t,e,i){"use strict";i.r(e);var n=i("5a08"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},e8cd:function(t,e,i){"use strict";(function(t){var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("9523")),o=n(i("65fd")),r=n(i("c27d")),s=n(i("90be")),c=(i("ef09"),i("26cb"));i("4143");function u(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function l(t){for(var e=1;e0&&void 0!==arguments[0]&&arguments[0];c((function(e){a.default.getServerNo(e,t,(function(t){"forcibly"==t.updateType||"silent"==t.updateType?/\.wgt$/i.test(t.downloadUrl)?u(t):/\.html$/i.test(t.downloadUrl)?plus.runtime.openURL(t.downloadUrl):"android"==o?u(t):plus.runtime.openURL(t.downloadUrl):"solicit"==t.updateType&&l(t,(function(){/\.wgt$/i.test(t.downloadUrl)?u(t):/\.html$/i.test(t.downloadUrl)?plus.runtime.openURL(t.downloadUrl):"android"==o?u(t):plus.runtime.openURL(t.downloadUrl)}))}))}))},e.getCurrentNo=void 0;var a=n(i("180a")),o=uni.getSystemInfoSync().platform,r=a.default.appUpdateColor?a.default.appUpdateColor:"FF5B78",s=a.default.appUpdateIcon?a.default.appUpdateIcon:"/uni_modules/zhouWei-APPUpdate/static/ic_ar.png",c=function(t){plus.runtime.getProperty(plus.runtime.appid,(function(e){t&&t({versionCode:e.versionCode,versionName:e.version})}))};e.getCurrentNo=c;var u=function(e){var i;if("forcibly"==e.updateType||"solicit"==e.updateType){var n={progress:!0,buttonNum:2};"forcibly"==e.updateType&&(n.buttonNum=0);var a=0,o=function(t){var e=new plus.nativeObj.View("maskLayer",{top:"0px",left:"0px",height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0.5)"}),i=d(t),n=new plus.nativeObj.View("popupView",{tag:"rect",top:(i.screenHeight-i.popupViewHeight)/2+"px",left:"15%",height:i.popupViewHeight+"px",width:"70%"}),a=0,o=0,s=0,c=2;t.buttonNum>=0&&(c=t.buttonNum);n.draw(i.elementList);var u={change:function(t){var e=[];if(t.progressValue&&(a=t.progressValue,e.push({tag:"rect",id:"progressValueBg",rectStyles:{radius:"4px",color:r},position:{top:4*i.viewContentPadding+60+"px",left:i.viewContentPadding+"px",width:i.viewContentWidth*(t.progressValue/100)+"px",height:"8px"}})),t.progressTip&&(o=t.progressTip,e.push({tag:"font",id:"progressValue",text:t.progressTip,textStyles:{size:"14px",color:r,whiteSpace:"normal"},position:{top:4*i.viewContentPadding+20+"px",height:"30px"}})),t.contentText&&(s=t.contentText,e.push({tag:"font",id:"content",text:t.contentText,textStyles:{size:"16px",color:"#333",whiteSpace:"normal"},position:{top:2*i.viewContentPadding+30+"px",height:"30px"}})),t.buttonNum>=0&&c!=t.buttonNum){c=t.buttonNum,n.reset(),i=d(Object.assign({progressValue:a,progressTip:o,contentText:s},t));var u=[];i.elementList.map((function(t,i){var n=!1;e.forEach((function(e,i){t.id==e.id&&(n=!0)})),n||u.push(t)})),e=u.concat(e),n.setStyle({tag:"rect",top:(i.screenHeight-i.popupViewHeight)/2+"px",left:"15%",height:i.popupViewHeight+"px",width:"70%"}),n.draw(e)}else n.draw(e)},cancel:function(){e.hide(),n.hide()}};return n.addEventListener("click",(function(t){var a=i.popupViewHeight-i.viewContentPadding,o=i.popupViewWidth-i.viewContentPadding;if(t.clientY>a-40&&t.clientYi.viewContentPadding&&t.clientXi.viewContentPadding&&t.clientXo-r&&t.clientX=2&&(a=i,o.change({progressValue:i,progressTip:"\u5df2\u4e0b\u8f7d"+i+"%",progress:!0}));break}})),o.cancelDownload=function(){i&&i.abort(),uni.showToast({title:"\u5df2\u53d6\u6d88\u4e0b\u8f7d",icon:"none"})},o.reboot=function(){plus.runtime.restart()}}else"silent"==e.updateType&&(i=plus.downloader.createDownload(e.downloadUrl,{filename:"_doc/update/"},(function(e,i){200==i?plus.runtime.install(e.filename,{},(function(){t("log","\u5e94\u7528\u8d44\u6e90\u66f4\u65b0\u5b8c\u6210"," at uni_modules/zhouWei-APPUpdate/js_sdk/appUpdate.js:108")}),(function(t){plus.nativeUI.alert("\u5b89\u88c5\u6587\u4ef6\u5931\u8d25["+t.code+"]\uff1a"+t.message)})):plus.nativeUI.alert("\u6587\u4ef6\u4e0b\u8f7d\u5931\u8d25...")})),i.start())};function l(t,e){var i=new plus.nativeObj.View("maskLayer",{top:"0px",left:"0px",height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0.5)"}),n=plus.screen.resolutionWidth,a=plus.screen.resolutionHeight,o=.7*n,c=parseInt(o-40),u=function(t,e){for(var i=t.split(""),n=i.length,a=0,o=0,r=[],s=0,c=0;c0?o+14+7*s>e?(r.push({type:"text",content:t.substring(a,c)}),a=c,o=14,s=0):(o+=14+7*s,s=0):o+14>e?(r.push({type:"text",content:t.substring(a,c)}),a=c,o=14):o+=14:/\n/g.test(i[c])?(r.push({type:"break",content:t.substring(a,c)}),a=c+1,o=0,s=0):"\\"==i[c]&&"n"==i[c+1]?(r.push({type:"break",content:t.substring(a,c)}),a=c+2,o=0,s=0):/[a-zA-Z0-9]/g.test(i[c])?(s+=1,o+7*s>e&&(r.push({type:"text",content:t.substring(a,c+1-s)}),a=c+1-s,o=7*s,s=0)):o+7>e?(r.push({type:"text",content:t.substring(a,c)}),a=c,o=7):o+=7;return a0&&(l+=18,f+=18),d.push({tag:"font",id:"content"+e+1,text:t.content,textStyles:{size:"14px",color:"#666",lineSpacing:"50%",align:"left"},position:{top:f+"px",left:"20px",width:c+"px",height:"18px"}}),"break"==t.type&&(f+=10,l+=10)})),"forcibly"==t.updateType?(d.push({tag:"rect",rectStyles:{radius:"6px",color:r},position:{bottom:"20px",left:"20px",width:c+"px",height:"30px"}}),d.push({tag:"font",id:"confirmText",text:"\u7acb\u5373\u5347\u7ea7",textStyles:{size:"14px",color:"#FFF",lineSpacing:"0%"},position:{bottom:"20px",left:"20px",width:c+"px",height:"30px"}})):(d.push({tag:"rect",id:"cancelBox",rectStyles:{radius:"3px",borderColor:"#f1f1f1",borderWidth:"1px"},position:{bottom:"20px",left:"20px",width:(c-20)/2+"px",height:"30px"}}),d.push({tag:"rect",id:"confirmBox",rectStyles:{radius:"3px",color:r},position:{bottom:"20px",left:(c-20)/2+40+"px",width:(c-20)/2+"px",height:"30px"}}),d.push({tag:"font",id:"cancelText",text:"\u6682\u4e0d\u5347\u7ea7",textStyles:{size:"14px",color:"#666",lineSpacing:"0%",whiteSpace:"normal"},position:{bottom:"20px",left:"20px",width:(c-20)/2+"px",height:"30px"}}),d.push({tag:"font",id:"confirmText",text:"\u7acb\u5373\u5347\u7ea7",textStyles:{size:"14px",color:"#FFF",lineSpacing:"0%",whiteSpace:"normal"},position:{bottom:"20px",left:(c-20)/2+40+"px",width:(c-20)/2+"px",height:"30px"}}));var p=new plus.nativeObj.View("popupView",{tag:"rect",top:(a-l)/2+"px",left:"15%",height:l+"px",width:"70%"});p.drawRect({color:"#FFFFFF",radius:"8px"},{top:"40px",height:l-40+"px"}),p.draw(d),p.addEventListener("click",(function(n){var a=l-20,r=o-20,s=(c-20)/2;n.clientY>a-30&&n.clientY20&&n.clientX20&&n.clientXr-s&&n.clientX0?this.toPx(this.height):this.height&&Number(this.height)<0?this.toPx("100%")+uni.upx2px(this.height):this.toPx("100%"),this.navbar?t-this.statusBarHeight-uni.upx2px(88)+"px":t+"px"},numTop:function(){return this.toPx(this.top)},padTop:function(){return this.numTop+"px"},numBottom:function(){return this.toPx(this.bottom)},padBottom:function(){return this.numBottom+"px"},isDownReset:function(){return 3===this.downLoadType||4===this.downLoadType},transition:function(){return this.isDownReset?"transform 300ms":this.downTransition},translateY:function(){return this.downHight>0?"translateY("+this.downHight+"px)":""},isDownLoading:function(){return 3===this.downLoadType},downRotate:function(){return"rotate("+360*this.downRate+"deg)"},downText:function(){switch(this.downLoadType){case 1:return this.mescroll.optDown.textInOffset;case 2:return this.mescroll.optDown.textOutOffset;case 3:return this.mescroll.optDown.textLoading;case 4:return this.mescroll.optDown.textLoading;default:return this.mescroll.optDown.textInOffset}}},methods:{toPx:function(t){if("string"===typeof t)if(-1!==t.indexOf("px"))if(-1!==t.indexOf("rpx"))t=t.replace("rpx","");else{if(-1===t.indexOf("upx"))return Number(t.replace("px",""));t=t.replace("upx","")}else if(-1!==t.indexOf("%")){var e=Number(t.replace("%",""))/100;return this.windowHeight*e}return t?uni.upx2px(Number(t)):0},touchstartEvent:function(t){this.mescroll.touchstartEvent(t)},touchmoveEvent:function(t){this.mescroll.touchmoveEvent(t)},touchendEvent:function(t){this.mescroll.touchendEvent(t)},emptyClick:function(){this.$emit("emptyclick",this.mescroll)},toTopClick:function(){this.mescroll.scrollTo(0,this.mescroll.optUp.toTop.duration),this.$emit("topclick",this.mescroll)}},created:function(){var t=this,e={down:{inOffset:function(e){t.downLoadType=1},outOffset:function(e){t.downLoadType=2},onMoving:function(e,i,n){t.downHight=n,t.downRate=i},showLoading:function(e,i){t.downLoadType=3,t.downHight=i},endDownScroll:function(e){t.downLoadType=4,t.downHight=0},callback:function(e){t.$emit("down",e)}},up:{showLoading:function(){t.upLoadType=1},showNoMore:function(){t.upLoadType=2},hideUpScroll:function(e){t.upLoadType=e.optUp.hasNext?0:3},empty:{onShow:function(e){t.isShowEmpty=e}},toTop:{onShow:function(e){t.isShowToTop=e}},callback:function(e){t.$emit("up",e)}}};a.default.extend(e,o.default);var i=JSON.parse(JSON.stringify({down:t.down,up:t.up}));a.default.extend(i,e),t.mescroll=new a.default(i,!0),t.$emit("init",t.mescroll);var n=uni.getSystemInfoSync();n.windowHeight&&(t.windowHeight=n.windowHeight),n.windowBottom&&(t.windowBottom=n.windowBottom),n.statusBarHeight&&(t.statusBarHeight=n.statusBarHeight),t.mescroll.setBodyHeight(n.windowHeight),t.mescroll.resetScrollTo((function(e,i){"string"===typeof e?setTimeout((function(){uni.createSelectorQuery().select("#"+e).boundingClientRect((function(e){var n=e.top;n+=t.mescroll.getScrollTop(),uni.pageScrollTo({scrollTop:n,duration:i})})).exec()}),30):uni.pageScrollTo({scrollTop:e,duration:i})})),t.up&&t.up.toTop&&null!=t.up.toTop.safearea||(t.mescroll.optUp.toTop.safearea=t.safearea)}};e.default=c},e9c9:function(t,e,i){"use strict";i.r(e);var n=i("eed6"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},e9d2:function(t,e,i){"use strict";i.r(e);var n=i("cb84"),a=i("7c4f");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);var r=i("f0c5"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"4ed602a5",null,!1,n["a"],void 0);e["default"]=s.exports},ea4e:function(t,e,i){"use strict";i.r(e);var n=i("1af6"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},eac3:function(t,e,i){"use strict";i.r(e);var n=i("d202"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},eae8:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={countTo:{startVal:0,endVal:0,duration:2e3,autoplay:!0,decimals:0,useEasing:!0,decimal:".",color:"#606266",fontSize:22,bold:!1,separator:""}}},eb22:function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("f8c9")),o=n(i("f901")),r=n(i("1ea1")),s={en:a.default,"zh-Hans":o.default,"zh-Hant":r.default};e.default=s},eb66:function(t,e,i){"use strict";(function(t){var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a,o=n(i("9523")),r=n(i("90be")),s=n(i("65fd")),c=i("26cb");function u(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}var l=new RegExp("^(?=.{8,})(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*\\W).*$","g"),d=new RegExp("^(?=.{8,})(((?=.*[A-Z])(?=.*[a-z]))|((?=.*[A-Z])(?=.*[0-9]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[a-z])(?=.*\\W))|((?=.*[0-9])(?=.*\\W))|((?=.*[A-Z])(?=.*\\W))).*$","g"),f=new RegExp("(?=.{8,}).*","g"),p={data:function(){return{playData:{},userMes:{quCode:"",phone:"",email:"",id:"",age:"",sex:"",nickname:"",tel:"",oldName:""},userMsage:{quCode:"",phonecode:"",phone:"",emailcode:"",email:"",id:"",age:"",sex:"",nickname:"",tel:"",YNpass:"",oldName:""},userMiMa:{id:"",password:"",Repassword:""},readonly:!1,phoneShow:!1,emailShow:!1,avatarShow:!1,nicknameShow:!1,ageShow:!1,sexShow:!1,passwordShow:!1,fileAvatar:[],quCodeList:[],sexList:[{title:"\u7537",id:1},{title:"\u5973",id:0}],PhoneEmailNote:"\u83b7\u53d6\u9a8c\u8bc1\u7801",passNote:"",passStr:"",passwordOk:!1}},onLoad:function(t){uni.hideTabBar()},computed:function(t){for(var e=1;e0?e.quCodeList=t.baseAreas.map((function(t){var e={text:t.title+" (+"+t.code+")",value:t.code};return e})):e.quCodeList=[]})).catch((function(e){t("log",e,"e"," at pages/user/persData.vue:294")}))},getData:function(){var t=this;void 0!=this.userInfo.id&&this.$http.post("book/user/info/"+t.userInfo.id).then((function(e){t.userMes.id=e.user.id,t.userMes.age=e.user.age,t.userMes.sex=e.user.sex,t.userMes.nickname=e.user.nickname,t.userMes.tel=e.user.tel,t.userMes.avatar=e.user.avatar,t.userMes.oldName=t.userMes.nickname,t.userMes.id=e.user.id,t.userMsage.age=e.user.age,t.userMsage.email=e.user.email,t.userMsage.sex=e.user.sex,t.userMsage.nickname=e.user.nickname,t.userMsage.tel=e.user.tel,t.userMsage.avatar=e.user.avatar,t.userMsage.YNpass=e.user.password,t.userMiMa.id=e.user.id}))},cancelPass:function(){this.passwordShow=!1,this.userMiMa.password="",this.userMiMa.Repassword="",this.passNote="",this.passStr=""},inputMethod:function(t){this.passwordOk=!1,l.test(t)?(this.passStr="\u5bc6\u7801\u5f3a\u5ea6\u5f88\u4e0d\u9519\u54e6\uff01",this.passNote="",this.passwordOk=!0):d.test(t)?(this.passNote="\u8bf7\u81f3\u5c11\u4f7f\u7528\u5927\u5c0f\u5199\u5b57\u6bcd\u3001\u6570\u5b57\u3001\u7b26\u53f7\u4e24\u79cd\u7c7b\u578b\u7ec4\u5408\u7684\u5bc6\u7801\uff0c\u957f\u5ea6\u4e3a8\u4f4d\u3002",this.passStr="\u5bc6\u7801\u5f3a\u5ea6\u4e2d\u7b49!",this.passwordOk=!0):f.test(t)?(this.passStr="\u5bc6\u7801\u5f3a\u5ea6\u592a\u5f31!",this.passNote="\u8bf7\u81f3\u5c11\u4f7f\u7528\u5927\u5c0f\u5199\u5b57\u6bcd\u3001\u6570\u5b57\u3001\u7b26\u53f7\u4e24\u79cd\u7c7b\u578b\u7ec4\u5408\u7684\u5bc6\u7801\uff0c\u957f\u5ea6\u4e3a8\u4f4d\u3002"):(this.passwordOk=!1,this.passNote="\u8bf7\u81f3\u5c11\u4f7f\u7528\u5927\u5c0f\u5199\u5b57\u6bcd\u3001\u6570\u5b57\u3001\u7b26\u53f7\u4e24\u79cd\u7c7b\u578b\u7ec4\u5408\u7684\u5bc6\u7801\uff0c\u957f\u5ea6\u4e3a8\u4f4d\u3002",this.passStr="")},OpenClear:function(){clearInterval(a),this.PhoneEmailNote="\u83b7\u53d6\u9a8c\u8bc1\u7801",this.readonly=!1},emPHCode:function(){var t=this;a&&clearInterval(a),this.readonly=!0,this.PhoneEmailNote="60S";var e=60;a=setInterval((function(){e--,t.PhoneEmailNote=e+"S",e<=0&&(clearInterval(a),t.PhoneEmailNote="\u83b7\u53d6\u9a8c\u8bc1\u7801",t.readonly=!1)}),1e3)},onSetCode:function(t){var e=this;if(!this.readonly){if("phone"==t){if(""==this.userMes.phone)return void uni.showToast({title:"\u8bf7\u8f93\u5165\u624b\u673a\u53f7",icon:"none"});if((""==this.userMes.quCode||86==this.userMes.quCode)&&!this.$base.phoneRegular.test(this.userMes.phone))return void uni.showToast({title:"\u624b\u673a\u683c\u5f0f\u4e0d\u6b63\u786e",icon:"none"});this.$http.get("book/user/sms/sendcode",{phone:this.userMes.phone,areaCode:this.userMes.quCode,type:2e3}).then((function(t){uni.showToast({title:"\u9a8c\u8bc1\u7801\u53d1\u9001\u6210\u529f",icon:"none"}),e.emPHCode()}))}if("email"==t){if(!this.userMes.email)return void uni.showToast({title:"\u8bf7\u8f93\u5165\u90ae\u7bb1",icon:"none"});if(!this.$base.mailRegular.test(this.userMes.email))return void uni.showToast({title:"\u90ae\u7bb1\u683c\u5f0f\u4e0d\u6b63\u786e",icon:"none"});this.$http.get("book/user/getMailCaptcha",{email:this.userMes.email}).then((function(t){uni.showToast({title:"\u9a8c\u8bc1\u7801\u53d1\u9001\u6210\u529f",icon:"none"}),e.emPHCode()}))}}},chosePhone:function(e){if(this.userMes.code=this.userMes.phonecode,""!=this.userMes.phone)if(""!=this.userMes.code&&null!=this.userMes.code){var i=this;s.default.request({url:"book/user/updateUserTel",method:"POST",data:this.userMes,header:{"Content-Type":"application/json"}}).then((function(t){0==t.code&&(i.getData(),i.phoneShow=!1,uni.showToast({title:"\u7ed1\u5b9a\u624b\u673a\u53f7\u6210\u529f"}))})).catch((function(e){t("log",e," at pages/user/persData.vue:487")}))}else uni.showToast({title:"\u8bf7\u8f93\u5165\u9a8c\u8bc1\u7801",icon:"none"});else uni.showToast({title:"\u8bf7\u8f93\u5165\u624b\u673a\u53f7",icon:"none"})},choseEmail:function(e){if(this.userMes.code=this.userMes.emailcode,""!=this.userMes.email)if(""!=this.userMes.code&&null!=this.userMes.code){var i=this;s.default.request({url:"book/user/updateUserEmail",method:"POST",data:this.userMes,header:{"Content-Type":"application/json"}}).then((function(t){0==t.code&&(i.getData(),i.emailShow=!1,uni.showToast({title:"\u7ed1\u5b9a\u90ae\u7bb1\u6210\u529f"}))})).catch((function(e){t("log",e," at pages/user/persData.vue:528")}))}else uni.showToast({title:"\u8bf7\u8f93\u5165\u9a8c\u8bc1\u7801",icon:"none"});else uni.showToast({title:"\u8bf7\u8f93\u5165\u90ae\u7bb1",icon:"none"})},choseAvatar:function(t){0!=this.fileAvatar.length?(this.userMes.avatar=this.fileAvatar[0].url,this.choseData(),this.avatarShow=!1,this.fileAvatar.splice(0,1)):uni.showToast({title:"\u8bf7\u9009\u62e9\u56fe\u7247",icon:"none"})},choseAge:function(t){this.userMes.age<=0?uni.showToast({title:"\u5e74\u9f84\u4e0d\u80fd\u5c0f\u4e8e0",icon:"none"}):(this.choseData(),this.ageShow=!1)},choseNickname:function(e){e&&""!=e?(this.choseData(),this.nicknameShow=!1):(this.userMes.nickname=this.userMes.oldName,t("log",this.userMes.nickname," at pages/user/persData.vue:569"),uni.showToast({title:"\u6635\u79f0\u4e0d\u53ef\u4e3a\u7a7a",icon:"none"}))},choseSex:function(t){this.userMes.sex=t,this.choseData(),this.sexShow=!1},chosePassword:function(){if(!this.passwordOk)return t("log","\u4e0d\u6ee1\u8db3\u5bc6\u7801\u683c\u5f0f",this.passNote," at pages/user/persData.vue:588"),void uni.showToast({title:this.passNote,icon:"none"});var e=this;""!=e.userMiMa.Repassword&&""!=e.userMiMa.password?e.userMiMa.Repassword==e.userMiMa.password?s.default.request({url:"book/user/updateUserPassword",method:"POST",data:e.userMiMa,header:{"Content-Type":"application/json"}}).then((function(t){0==t.code&&(uni.showToast({title:"\u4fee\u6539\u6210\u529f"}),e.passwordShow=!1)})).catch((function(e){t("log",e," at pages/user/persData.vue:628")})):uni.showToast({icon:"none",title:"\u4e24\u6b21\u5bc6\u7801\u8f93\u5165\u4e0d\u4e00\u81f4\uff01"}):uni.showToast({icon:"none",title:"\u8bf7\u8f93\u5165\u5bc6\u7801\uff01"})},choseData:function(){var e=this;s.default.request({url:"book/user/update",method:"POST",data:e.userMes,header:{"Content-Type":"application/json"}}).then((function(t){0==t.code&&(e.getData(),uni.showToast({title:"\u4fee\u6539\u6210\u529f"}))})).catch((function(e){t("log",e," at pages/user/persData.vue:652")}))},afterRead:function(t){var e=this;uni.uploadFile({url:this.$baseUrl+"oss/fileoss",filePath:t.file[0].url,name:"file",formData:{},success:function(t){e.fileAvatar.push({url:JSON.parse(t.data).url})}})},deletePic:function(){this.fileAvatar.splice(0,1)}}};e.default=p}).call(this,i("0de9")["default"])},ec05:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={uPopup:i("1608").default,uLine:i("49a1").default,uLoadingIcon:i("4466").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("u-popup",{attrs:{mode:"center",zoom:t.zoom,show:t.show,customStyle:{borderRadius:"6px",overflow:"hidden",marginTop:"-"+t.$u.addUnit(t.negativeTop)},closeOnClickOverlay:t.closeOnClickOverlay,safeAreaInsetBottom:!1,duration:400,_i:0},on:{click:t.clickHandler}},[i("view",{staticClass:t._$s(1,"sc","u-modal"),style:t._$s(1,"s",{width:t.$u.addUnit(t.width)}),attrs:{_i:1}},[t._$s(2,"i",t.title)?i("text",{staticClass:t._$s(2,"sc","u-modal__title"),attrs:{_i:2}},[t._v(t._$s(2,"t0-0",t._s(t.title)))]):t._e(),i("view",{staticClass:t._$s(3,"sc","u-modal__content"),style:t._$s(3,"s",{paddingTop:(t.title?12:25)+"px"}),attrs:{_i:3}},[t._t("default",[i("text",{staticClass:t._$s(5,"sc","u-modal__content__text"),attrs:{_i:5}},[t._v(t._$s(5,"t0-0",t._s(t.content)))])],{_i:4})],2),t._$s(6,"i",t.$slots.confirmButton)?i("view",{staticClass:t._$s(6,"sc","u-modal__button-group--confirm-button"),attrs:{_i:6}},[t._t("confirmButton",null,{_i:7})],2):[i("u-line",{attrs:{_i:9}}),i("view",{staticClass:t._$s(10,"sc","u-modal__button-group"),style:t._$s(10,"s",{flexDirection:t.buttonReverse?"row-reverse":"row"}),attrs:{_i:10}},[t._$s(11,"i",t.showCancelButton)?i("view",{staticClass:t._$s(11,"sc","u-modal__button-group__wrapper u-modal__button-group__wrapper--cancel"),class:t._$s(11,"c",[t.showCancelButton&&!t.showConfirmButton&&"u-modal__button-group__wrapper--only-cancel"]),attrs:{_i:11},on:{click:t.cancelHandler}},[i("text",{staticClass:t._$s(12,"sc","u-modal__button-group__wrapper__text"),style:t._$s(12,"s",{color:t.cancelColor}),attrs:{_i:12}},[t._v(t._$s(12,"t0-0",t._s(t.cancelText)))])]):t._e(),t._$s(13,"i",t.showConfirmButton&&t.showCancelButton)?i("u-line",{attrs:{direction:"column",_i:13}}):t._e(),t._$s(14,"i",t.showConfirmButton)?i("view",{staticClass:t._$s(14,"sc","u-modal__button-group__wrapper u-modal__button-group__wrapper--confirm"),class:t._$s(14,"c",[!t.showCancelButton&&t.showConfirmButton&&"u-modal__button-group__wrapper--only-confirm"]),attrs:{_i:14},on:{click:t.confirmHandler}},[t._$s(15,"i",t.loading)?i("u-loading-icon",{attrs:{_i:15}}):i("text",{staticClass:t._$s(16,"sc","u-modal__button-group__wrapper__text"),style:t._$s(16,"s",{color:t.confirmColor}),attrs:{_i:16}},[t._v(t._$s(16,"t0-0",t._s(t.confirmText)))])],1):t._e()],1)]],2)])},o=[]},ec36:function(t,e,i){"use strict";var n=i("4ea4"),a=n(i("9523"));i("7d1c"),i("4a2a"),i("a9ff");var o=n(i("8bbf")),r=n(i("ac9a")),s=n(i("4328")),c=i("fb3d"),u=i("3607"),l=n(i("9bfd")),d=n(i("41a9"));i("c957");var f=n(i("c855")),p=n(i("65fd")),h=i("d5e6"),y=n(i("2c48"));n(i("94bc"));function g(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}o.default.prototype.$music=c.music,o.default.prototype.$bgm=c.bgm,o.default.prototype.$getHours=u.nowHour,o.default.prototype.$baseUrl="https://api.nuttyreading.com/",o.default.prototype.$apkUrl="https://a.app.qq.com/o/simple.jsp?pkgname=com.cn.nuttyreading",uni.getSystemInfo({success:function(t){o.default.prototype.iosHidden=!0,"ios"==t.platform?o.default.prototype.iosHide=!1:o.default.prototype.iosHide=!0}}),o.default.use(l.default),o.default.prototype.$qs=s.default,o.default.prototype.$store=d.default,o.default.prototype.$base=f.default,o.default.prototype.$http=p.default,o.default.prototype.judgeLogin=h.judgeLogin,o.default.config.productionTip=!1,o.default.component("mescroll-body",y.default),r.default.mpType="app";var m=new o.default(function(t){for(var e=1;e=o)return t;switch(t){case"%s":return String(e[n++]);case"%d":return Number(e[n++]);case"%j":try{return JSON.stringify(e[n++])}catch(i){return"[Circular]"}break;default:return t}})),s=e[n];n()\[\]\\.,;:\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,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},I={integer:function(t){return/^(-)?\d+$/.test(t)},float:function(t){return/^(-)?\d+(\.\d+)?$/.test(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(e){return!1}},date:function(t){return"function"===typeof t.getTime&&"function"===typeof t.getMonth&&"function"===typeof t.getYear},number:function(t){return!isNaN(t)&&"number"===typeof+t},object:function(t){return"object"===(0,r.default)(t)&&!I.array(t)},method:function(t){return"function"===typeof t},email:function(t){return"string"===typeof t&&!!t.match(v.email)&&t.length<255},url:function(t){return"string"===typeof t&&!!t.match(v.url)},hex:function(t){return"string"===typeof t&&!!t.match(v.hex)}};var b={required:_,whitespace:function(t,e,i,n,a){(/^\s+$/.test(e)||""===e)&&n.push(f(a.messages.whitespace,t.fullField))},type:function(t,e,i,n,a){if(t.required&&void 0===e)_(t,e,i,n,a);else{var o=t.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(o)>-1?I[o](e)||n.push(f(a.messages.types[o],t.fullField,t.type)):o&&(0,r.default)(e)!==t.type&&n.push(f(a.messages.types[o],t.fullField,t.type))}},range:function(t,e,i,n,a){var o="number"===typeof t.len,r="number"===typeof t.min,s="number"===typeof t.max,c=e,u=null,l="number"===typeof e,d="string"===typeof e,p=Array.isArray(e);if(l?u="number":d?u="string":p&&(u="array"),!u)return!1;p&&(c=e.length),d&&(c=e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),o?c!==t.len&&n.push(f(a.messages[u].len,t.fullField,t.len)):r&&!s&&ct.max?n.push(f(a.messages[u].max,t.fullField,t.max)):r&&s&&(ct.max)&&n.push(f(a.messages[u].range,t.fullField,t.min,t.max))},enum:function(t,e,i,n,a){t["enum"]=Array.isArray(t["enum"])?t["enum"]:[],-1===t["enum"].indexOf(e)&&n.push(f(a.messages["enum"],t.fullField,t["enum"].join(", ")))},pattern:function(t,e,i,n,a){if(t.pattern)if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||n.push(f(a.messages.pattern.mismatch,t.fullField,e,t.pattern));else if("string"===typeof t.pattern){var o=new RegExp(t.pattern);o.test(e)||n.push(f(a.messages.pattern.mismatch,t.fullField,e,t.pattern))}}};function w(t,e,i,n,a){var o=t.type,r=[],s=t.required||!t.required&&n.hasOwnProperty(t.field);if(s){if(p(e,o)&&!t.required)return i();b.required(t,e,n,r,a,o),p(e,o)||b.type(t,e,n,r,a)}i(r)}var C={string:function(t,e,i,n,a){var o=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(p(e,"string")&&!t.required)return i();b.required(t,e,n,o,a,"string"),p(e,"string")||(b.type(t,e,n,o,a),b.range(t,e,n,o,a),b.pattern(t,e,n,o,a),!0===t.whitespace&&b.whitespace(t,e,n,o,a))}i(o)},method:function(t,e,i,n,a){var o=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(p(e)&&!t.required)return i();b.required(t,e,n,o,a),void 0!==e&&b.type(t,e,n,o,a)}i(o)},number:function(t,e,i,n,a){var o=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(""===e&&(e=void 0),p(e)&&!t.required)return i();b.required(t,e,n,o,a),void 0!==e&&(b.type(t,e,n,o,a),b.range(t,e,n,o,a))}i(o)},boolean:function(t,e,i,n,a){var o=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(p(e)&&!t.required)return i();b.required(t,e,n,o,a),void 0!==e&&b.type(t,e,n,o,a)}i(o)},regexp:function(t,e,i,n,a){var o=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(p(e)&&!t.required)return i();b.required(t,e,n,o,a),p(e)||b.type(t,e,n,o,a)}i(o)},integer:function(t,e,i,n,a){var o=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(p(e)&&!t.required)return i();b.required(t,e,n,o,a),void 0!==e&&(b.type(t,e,n,o,a),b.range(t,e,n,o,a))}i(o)},float:function(t,e,i,n,a){var o=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(p(e)&&!t.required)return i();b.required(t,e,n,o,a),void 0!==e&&(b.type(t,e,n,o,a),b.range(t,e,n,o,a))}i(o)},array:function(t,e,i,n,a){var o=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(p(e,"array")&&!t.required)return i();b.required(t,e,n,o,a,"array"),p(e,"array")||(b.type(t,e,n,o,a),b.range(t,e,n,o,a))}i(o)},object:function(t,e,i,n,a){var o=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(p(e)&&!t.required)return i();b.required(t,e,n,o,a),void 0!==e&&b.type(t,e,n,o,a)}i(o)},enum:function(t,e,i,n,a){var o=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(p(e)&&!t.required)return i();b.required(t,e,n,o,a),void 0!==e&&b["enum"](t,e,n,o,a)}i(o)},pattern:function(t,e,i,n,a){var o=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(p(e,"string")&&!t.required)return i();b.required(t,e,n,o,a),p(e,"string")||b.pattern(t,e,n,o,a)}i(o)},date:function(t,e,i,n,a){var o=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(p(e)&&!t.required)return i();var s;if(b.required(t,e,n,o,a),!p(e))s="number"===typeof e?new Date(e):e,b.type(t,s,n,o,a),s&&b.range(t,s.getTime(),n,o,a)}i(o)},url:w,hex:w,email:w,required:function(t,e,i,n,a){var o=[],s=Array.isArray(e)?"array":(0,r.default)(e);b.required(t,e,n,o,a,s),i(o)},any:function(t,e,i,n,a){var o=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(p(e)&&!t.required)return i();b.required(t,e,n,o,a)}i(o)}};function x(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var k=x();function $(t){this.rules=null,this._messages=k,this.define(t)}$.prototype={messages:function(t){return t&&(this._messages=m(x(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if("object"!==(0,r.default)(t)||Array.isArray(t))throw new Error("Rules must be an object");var e,i;for(e in this.rules={},t)t.hasOwnProperty(e)&&(i=t[e],this.rules[e]=Array.isArray(i)?i:[i])},validate:function(t,e,i){var n=this;void 0===e&&(e={}),void 0===i&&(i=function(){});var a,o,s=t,u=e,l=i;if("function"===typeof u&&(l=u,u={}),!this.rules||0===Object.keys(this.rules).length)return l&&l(),Promise.resolve();if(u.messages){var p=this.messages();p===k&&(p=x()),m(p,u.messages),u.messages=p}else u.messages=this.messages();var h={},_=u.keys||Object.keys(this.rules);_.forEach((function(e){a=n.rules[e],o=s[e],a.forEach((function(i){var a=i;"function"===typeof a.transform&&(s===t&&(s=c({},s)),o=s[e]=a.transform(o)),a="function"===typeof a?{validator:a}:c({},a),a.validator=n.getValidationMethod(a),a.field=e,a.fullField=a.fullField||e,a.type=n.getType(a),a.validator&&(h[e]=h[e]||[],h[e].push({rule:a,value:o,source:s,field:e}))}))}));var v={};return y(h,u,(function(t,e){var i,n=t.rule,a=("object"===n.type||"array"===n.type)&&("object"===(0,r.default)(n.fields)||"object"===(0,r.default)(n.defaultField));function o(t,e){return c(c({},e),{},{fullField:"".concat(n.fullField,".").concat(t)})}function s(i){void 0===i&&(i=[]);var r=i;if(Array.isArray(r)||(r=[r]),!u.suppressWarning&&r.length&&$.warning("async-validator:",r),r.length&&n.message&&(r=[].concat(n.message)),r=r.map(g(n)),u.first&&r.length)return v[n.field]=1,e(r);if(a){if(n.required&&!t.value)return r=n.message?[].concat(n.message).map(g(n)):u.error?[u.error(n,f(u.messages.required,n.field))]:[],e(r);var s={};if(n.defaultField)for(var l in t.value)t.value.hasOwnProperty(l)&&(s[l]=n.defaultField);for(var d in s=c(c({},s),t.rule.fields),s)if(s.hasOwnProperty(d)){var p=Array.isArray(s[d])?s[d]:[s[d]];s[d]=p.map(o.bind(null,d))}var h=new $(s);h.messages(u.messages),t.rule.options&&(t.rule.options.messages=u.messages,t.rule.options.error=u.error),h.validate(t.value,t.rule.options||u,(function(t){var i=[];r&&r.length&&i.push.apply(i,r),t&&t.length&&i.push.apply(i,t),e(i.length?i:null)}))}else e(r)}a=a&&(n.required||!n.required&&t.value),n.field=t.field,n.asyncValidator?i=n.asyncValidator(n,t.value,s,t.source,u):n.validator&&(i=n.validator(n,t.value,s,t.source,u),!0===i?s():!1===i?s(n.message||"".concat(n.field," fails")):i instanceof Array?s(i):i instanceof Error&&s(i.message)),i&&i.then&&i.then((function(){return s()}),(function(t){return s(t)}))}),(function(t){(function(t){var e,i=[],n={};function a(t){var e;Array.isArray(t)?i=(e=i).concat.apply(e,t):i.push(t)}for(e=0;e=5){for(var n in t.list)n<5&&i.push({icon:"../../static/icon/shop_bar_"+(Number(n)+Number(1))+".png",name:t.list[n].name,catId:t.list[n].catId});i.push({icon:"../../static/icon/shop_bar_more.png",name:"\u66f4\u591a"}),e.gridArr=i}})),this.$http.get("book/shopseckill/getSeckillProd").then((function(i){e.seckillList=i.list,t("log",e.seckillList," at pages/bookShop/bookShopIndex.vue:163")})),this.$http.post("book/shopproduct/appGetList?limit=".concat(this.limit,"&page=").concat(this.page,"&istop=").concat(this.istop)).then((function(t){e.goodsList=t.page.list}))},methods:{goDetail:function(t){uni.navigateTo({url:"./commodityDetail?id="+t})},toClassify:function(t,e){t?uni.navigateTo({url:"./classify?type=".concat(e)}):uni.navigateTo({url:"./classifyAll"})},goSearch:function(){uni.navigateTo({url:"./commoditySearch"})},onShopMore:function(t){uni.navigateTo({url:"./bookShopType?type="+t})}}};e.default=c}).call(this,i("0de9")["default"])},ed6d:function(t,e,i){var n=i("4a4b");t.exports=function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&n(t,e)},t.exports.__esModule=!0,t.exports["default"]=t.exports},ed85:function(t,e,i){"use strict";i.r(e);var n=i("5719"),a=i("cd44");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);var r=i("f0c5"),s=i("7bb9"),c=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);"function"===typeof s["a"]&&Object(s["a"])(c),e["default"]=c.exports},ed91:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={zNavBar:i("e540").default,uRow:i("dd40").default,uCol:i("8df0").default,uDivider:i("381d").default,uLoadingIcon:i("4466").default,publicModule:i("3b5e").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",{staticClass:t._$s(0,"sc","container"),attrs:{_i:0}},[n("view",{staticClass:t._$s(1,"sc","header"),attrs:{_i:1}},[n("z-nav-bar",{attrs:{title:"\u8bb2\u4e66",_i:2}})],1),n("view",[n("view",{staticClass:t._$s(4,"sc","mytabs flexbox"),attrs:{_i:4}},[n("view",{class:t._$s(5,"c",["item","item1",1==t.contentShow?"active":""]),attrs:{_i:5},on:{click:function(e){return t.setData(1)}}}),n("view",{class:t._$s(6,"c",["item","item2",2==t.contentShow?"active":""]),attrs:{_i:6},on:{click:function(e){return t.setData(2)}}})])]),n("view",{staticClass:t._$s(7,"sc","mainContainer"),attrs:{_i:7}},[t._$s(8,"i",t.bookList.length>0)?n("view",{staticClass:t._$s(8,"sc","item"),attrs:{_i:8}},[n("u-row",{attrs:{gutter:"16",justify:"flex-start",_i:9}},t._l(t._$s(10,"f",{forItems:t.bookList}),(function(e,a,o,r){return n("u-col",{key:t._$s(10,"f",{forIndex:o,key:a}),attrs:{span:"4",_i:"10-"+r}},[n("view",[n("view",{staticClass:t._$s("12-"+r,"sc","videoBox demo-layout bg-purple"),attrs:{_i:"12-"+r},on:{click:function(i){return t.toDetail(e)}}},[t._$s("13-"+r,"i",""!=e.images)?n("image",{attrs:{src:t._$s("13-"+r,"a-src",e.images),_i:"13-"+r}}):n("image",{attrs:{src:t._$s("14-"+r,"a-src",i("f6ce")),_i:"14-"+r}})]),n("text",{staticClass:t._$s("15-"+r,"sc","bookName"),attrs:{_i:"15-"+r}},[t._v(t._$s("15-"+r,"t0-0",t._s(e.name)))])])])})),1)],1):n("u-divider",{attrs:{text:"\u6682\u65e0\u6570\u636e",_i:16}}),n("view",[t._$s(18,"i",0==t.status)?n("view",[n("u-loading-icon",{attrs:{_i:19}}),n("font",{attrs:{_i:20}},[t._v("")])],1):t._e(),t._$s(21,"i",1==t.status)?n("view",[n("u-divider",{attrs:{text:"\u5168\u90e8\u52a0\u8f7d\u5b8c\u6210",_i:22}})],1):t._e()])],1),n("public-module",{attrs:{_i:23}}),n("music-play",{attrs:{playData:t.playData,_i:24}})],1)},o=[]},edc9:function(t,e,i){"use strict";i.r(e);var n=i("a5a2"),a=i("8173");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);var r=i("f0c5"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},edf0:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={sticky:{offsetTop:0,customNavHeight:0,disabled:!1,bgColor:"transparent",zIndex:"",index:""}}},ee7c:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={uIcon:i("3836").default,uLoadingIcon:i("4466").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:t._$s(0,"sc","u-upload"),style:t._$s(0,"s",[t.$u.addStyle(t.customStyle)]),attrs:{_i:0}},[i("view",{staticClass:t._$s(1,"sc","u-upload__wrap"),attrs:{_i:1}},[t._$s(2,"i",t.previewImage)?t._l(t._$s(3,"f",{forItems:t.lists}),(function(e,n,a,o){return i("view",{key:t._$s(3,"f",{forIndex:a,key:n}),staticClass:t._$s("3-"+o,"sc","u-upload__wrap__preview"),attrs:{_i:"3-"+o}},[t._$s("4-"+o,"i",e.isImage||e.type&&"image"===e.type)?i("image",{staticClass:t._$s("4-"+o,"sc","u-upload__wrap__preview__image"),style:t._$s("4-"+o,"s",[{width:t.$u.addUnit(t.width),height:t.$u.addUnit(t.height)}]),attrs:{src:t._$s("4-"+o,"a-src",e.thumb||e.url),mode:t._$s("4-"+o,"a-mode",t.imageMode),_i:"4-"+o},on:{click:function(i){return t.onPreviewImage(e)}}}):i("view",{staticClass:t._$s("5-"+o,"sc","u-upload__wrap__preview__other"),attrs:{_i:"5-"+o}},[i("u-icon",{attrs:{color:"#80CBF9",size:"26",name:e.isVideo||e.type&&"video"===e.type?"movie":"folder",_i:"6-"+o}}),i("text",{staticClass:t._$s("7-"+o,"sc","u-upload__wrap__preview__other__text"),attrs:{_i:"7-"+o}},[t._v(t._$s("7-"+o,"t0-0",t._s(e.isVideo||e.type&&"video"===e.type?"\u89c6\u9891":"\u6587\u4ef6")))])],1),t._$s("8-"+o,"i","uploading"===e.status||"failed"===e.status)?i("view",{staticClass:t._$s("8-"+o,"sc","u-upload__status"),attrs:{_i:"8-"+o}},[i("view",{staticClass:t._$s("9-"+o,"sc","u-upload__status__icon"),attrs:{_i:"9-"+o}},[t._$s("10-"+o,"i","failed"===e.status)?i("u-icon",{attrs:{name:"close-circle",color:"#ffffff",size:"25",_i:"10-"+o}}):i("u-loading-icon",{attrs:{size:"22",mode:"circle",color:"#ffffff",_i:"11-"+o}})],1),t._$s("12-"+o,"i",e.message)?i("text",{staticClass:t._$s("12-"+o,"sc","u-upload__status__message"),attrs:{_i:"12-"+o}},[t._v(t._$s("12-"+o,"t0-0",t._s(e.message)))]):t._e()]):t._e(),t._$s("13-"+o,"i","uploading"!==e.status&&(t.deletable||e.deletable))?i("view",{staticClass:t._$s("13-"+o,"sc","u-upload__deletable"),attrs:{_i:"13-"+o},on:{click:function(e){return e.stopPropagation(),t.deleteItem(n)}}},[i("view",{staticClass:t._$s("14-"+o,"sc","u-upload__deletable__icon"),attrs:{_i:"14-"+o}},[i("u-icon",{attrs:{name:"close",color:"#ffffff",size:"10",_i:"15-"+o}})],1)]):t._e(),t._$s("16-"+o,"i","success"===e.status)?i("view",{staticClass:t._$s("16-"+o,"sc","u-upload__success"),attrs:{_i:"16-"+o}},[i("view",{staticClass:t._$s("17-"+o,"sc","u-upload__success__icon"),attrs:{_i:"17-"+o}},[i("u-icon",{attrs:{name:"checkmark",color:"#ffffff",size:"12",_i:"18-"+o}})],1)]):t._e()])})):t._e(),t._$s(19,"i",t.isInCount)?[t._$s(20,"i",t.$slots.default||t.$slots.$default)?i("view",{attrs:{_i:20},on:{click:t.chooseFile}},[t._t("default",null,{_i:21})],2):i("view",{staticClass:t._$s(22,"sc","u-upload__button"),class:t._$s(22,"c",[t.disabled&&"u-upload__button--disabled"]),style:t._$s(22,"s",[{width:t.$u.addUnit(t.width),height:t.$u.addUnit(t.height)}]),attrs:{"hover-class":t._$s(22,"a-hover-class",t.disabled?"":"u-upload__button--hover"),_i:22},on:{click:t.chooseFile}},[i("u-icon",{attrs:{name:t.uploadIcon,size:"26",color:t.uploadIconColor,_i:23}}),t._$s(24,"i",t.uploadText)?i("text",{staticClass:t._$s(24,"sc","u-upload__button__text"),attrs:{_i:24}},[t._v(t._$s(24,"t0-0",t._s(t.uploadText)))]):t._e()],1)]:t._e()],2)])},o=[]},eeb4:function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"clockDate",data:function(){return{current:1,duration:300,swiperHeight:75}},methods:{swiperChange:function(e){t("log",e," at components/clockDate.vue:32")}}};e.default=i}).call(this,i("0de9")["default"])},eed6:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{level:{type:Number,default:0},charging:{type:Boolean,default:!1}},data:function(){return{}},mounted:function(){},methods:{}};e.default=n},eedf:function(t,e,i){t.exports=i.p+"static/icon/me_lise_more.png"},ef09:function(t,e,i){(function(t){var n,a,o=i("7037");
/*!
* jQuery JavaScript Library v2.2.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:23Z
*/
(function(e,i){"object"===o(t)&&"object"===o(t.exports)?t.exports=e.document?i(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return i(t)}:i(e)})("undefined"!==typeof window?window:this,(function(i,r){var s=[],c=i.document,u=s.slice,l=s.concat,d=s.push,f=s.indexOf,p={},h=p.toString,y=p.hasOwnProperty,g={},m=function t(e,i){return new t.fn.init(e,i)},_=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,v=/^-ms-/,I=/-([\da-z])/gi,b=function(t,e){return e.toUpperCase()};function w(t){var e=!!t&&"length"in t&&t.length,i=m.type(t);return"function"!==i&&!m.isWindow(t)&&("array"===i||0===e||"number"===typeof e&&e>0&&e-1 in t)}m.fn=m.prototype={jquery:"2.2.4",constructor:m,selector:"",length:0,toArray:function(){return u.call(this)},get:function(t){return null!=t?t<0?this[t+this.length]:this[t]:u.call(this)},pushStack:function(t){var e=m.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t){return m.each(this,t)},map:function(t){return this.pushStack(m.map(this,(function(e,i){return t.call(e,i,e)})))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(i>=0&&i=0},isPlainObject:function(t){var e;if("object"!==m.type(t)||t.nodeType||m.isWindow(t))return!1;if(t.constructor&&!y.call(t,"constructor")&&!y.call(t.constructor.prototype||{},"isPrototypeOf"))return!1;for(e in t);return void 0===e||y.call(t,e)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"===o(t)||"function"===typeof t?p[h.call(t)]||"object":o(t)},globalEval:function(t){var e,i=eval;t=m.trim(t),t&&(1===t.indexOf("use strict")?(e=c.createElement("script"),e.text=t,c.head.appendChild(e).parentNode.removeChild(e)):i(t))},camelCase:function(t){return t.replace(v,"ms-").replace(I,b)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e){var i,n=0;if(w(t)){for(i=t.length;n+~]|"+B+")"+B+"*"),q=new RegExp("="+B+"*([^\\]'\"]*?)"+B+"*\\]","g"),W=new RegExp(R),V=new RegExp("^"+M+"$"),Q={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+E),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+B+"*(even|odd|(([+-]|)(\\d*)n|)"+B+"*(?:([+-]|)"+B+"*(\\d+)|))"+B+"*\\)|)","i"),bool:new RegExp("^(?:"+A+")$","i"),needsContext:new RegExp("^"+B+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+B+"*((?:-\\d)?\\d*)"+B+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,Z=/'|\\/g,tt=new RegExp("\\\\([\\da-f]{1,6}"+B+"?|("+B+")|.)","ig"),et=function(t,e,i){var n="0x"+e-65536;return n!==n||i?e:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},it=function(){f()};try{O.apply(N=L.call(b.childNodes),b.childNodes),N[b.childNodes.length].nodeType}catch(It){O={apply:N.length?function(t,e){T.apply(t,L.call(e))}:function(t,e){var i=t.length,n=0;while(t[i++]=e[n++]);t.length=i-1}}}function nt(t,e,n,a){var o,s,u,l,d,h,m,_,w=e&&e.ownerDocument,C=e?e.nodeType:9;if(n=n||[],"string"!==typeof t||!t||1!==C&&9!==C&&11!==C)return n;if(!a&&((e?e.ownerDocument||e:b)!==p&&f(e),e=e||p,y)){if(11!==C&&(h=X.exec(t)))if(o=h[1]){if(9===C){if(!(u=e.getElementById(o)))return n;if(u.id===o)return n.push(u),n}else if(w&&(u=w.getElementById(o))&&v(e,u)&&u.id===o)return n.push(u),n}else{if(h[2])return O.apply(n,e.getElementsByTagName(t)),n;if((o=h[3])&&i.getElementsByClassName&&e.getElementsByClassName)return O.apply(n,e.getElementsByClassName(o)),n}if(i.qsa&&!$[t+" "]&&(!g||!g.test(t))){if(1!==C)w=e,_=t;else if("object"!==e.nodeName.toLowerCase()){(l=e.getAttribute("id"))?l=l.replace(Z,"\\$&"):e.setAttribute("id",l=I),m=r(t),s=m.length,d=V.test(l)?"#"+l:"[id='"+l+"']";while(s--)m[s]=d+" "+ht(m[s]);_=m.join(","),w=K.test(t)&&ft(e.parentNode)||e}if(_)try{return O.apply(n,w.querySelectorAll(_)),n}catch(x){}finally{l===I&&e.removeAttribute("id")}}}return c(t.replace(F,"$1"),e,n,a)}function at(){var t=[];return function e(i,a){return t.push(i+" ")>n.cacheLength&&delete e[t.shift()],e[i+" "]=a}}function ot(t){return t[I]=!0,t}function rt(t){var e=p.createElement("div");try{return!!t(e)}catch(It){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function st(t,e){var i=t.split("|"),a=i.length;while(a--)n.attrHandle[i[a]]=e}function ct(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||1<<31)-(~t.sourceIndex||1<<31);if(n)return n;if(i)while(i=i.nextSibling)if(i===e)return-1;return t?1:-1}function ut(t){return function(e){var i=e.nodeName.toLowerCase();return"input"===i&&e.type===t}}function lt(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function dt(t){return ot((function(e){return e=+e,ot((function(i,n){var a,o=t([],i.length,e),r=o.length;while(r--)i[a=o[r]]&&(i[a]=!(n[a]=i[a]))}))}))}function ft(t){return t&&"undefined"!==typeof t.getElementsByTagName&&t}for(e in i=nt.support={},o=nt.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},f=nt.setDocument=function(t){var e,a,r=t?t.ownerDocument||t:b;return r!==p&&9===r.nodeType&&r.documentElement?(p=r,h=p.documentElement,y=!o(p),(a=p.defaultView)&&a.top!==a&&(a.addEventListener?a.addEventListener("unload",it,!1):a.attachEvent&&a.attachEvent("onunload",it)),i.attributes=rt((function(t){return t.className="i",!t.getAttribute("className")})),i.getElementsByTagName=rt((function(t){return t.appendChild(p.createComment("")),!t.getElementsByTagName("*").length})),i.getElementsByClassName=J.test(p.getElementsByClassName),i.getById=rt((function(t){return h.appendChild(t).id=I,!p.getElementsByName||!p.getElementsByName(I).length})),i.getById?(n.find["ID"]=function(t,e){if("undefined"!==typeof e.getElementById&&y){var i=e.getElementById(t);return i?[i]:[]}},n.filter["ID"]=function(t){var e=t.replace(tt,et);return function(t){return t.getAttribute("id")===e}}):(delete n.find["ID"],n.filter["ID"]=function(t){var e=t.replace(tt,et);return function(t){var i="undefined"!==typeof t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}}),n.find["TAG"]=i.getElementsByTagName?function(t,e){return"undefined"!==typeof e.getElementsByTagName?e.getElementsByTagName(t):i.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],a=0,o=e.getElementsByTagName(t);if("*"===t){while(i=o[a++])1===i.nodeType&&n.push(i);return n}return o},n.find["CLASS"]=i.getElementsByClassName&&function(t,e){if("undefined"!==typeof e.getElementsByClassName&&y)return e.getElementsByClassName(t)},m=[],g=[],(i.qsa=J.test(p.querySelectorAll))&&(rt((function(t){h.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+B+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||g.push("\\["+B+"*(?:value|"+A+")"),t.querySelectorAll("[id~="+I+"-]").length||g.push("~="),t.querySelectorAll(":checked").length||g.push(":checked"),t.querySelectorAll("a#"+I+"+*").length||g.push(".#.+[+~]")})),rt((function(t){var e=p.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&g.push("name"+B+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),g.push(",.*:")}))),(i.matchesSelector=J.test(_=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&rt((function(t){i.disconnectedMatch=_.call(t,"div"),_.call(t,"[s!='']:x"),m.push("!=",R)})),g=g.length&&new RegExp(g.join("|")),m=m.length&&new RegExp(m.join("|")),e=J.test(h.compareDocumentPosition),v=e||J.test(h.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)while(e=e.parentNode)if(e===t)return!0;return!1},D=e?function(t,e){if(t===e)return d=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!i.sortDetached&&e.compareDocumentPosition(t)===n?t===p||t.ownerDocument===b&&v(b,t)?-1:e===p||e.ownerDocument===b&&v(b,e)?1:l?j(l,t)-j(l,e):0:4&n?-1:1)}:function(t,e){if(t===e)return d=!0,0;var i,n=0,a=t.parentNode,o=e.parentNode,r=[t],s=[e];if(!a||!o)return t===p?-1:e===p?1:a?-1:o?1:l?j(l,t)-j(l,e):0;if(a===o)return ct(t,e);i=t;while(i=i.parentNode)r.unshift(i);i=e;while(i=i.parentNode)s.unshift(i);while(r[n]===s[n])n++;return n?ct(r[n],s[n]):r[n]===b?-1:s[n]===b?1:0},p):p},nt.matches=function(t,e){return nt(t,null,null,e)},nt.matchesSelector=function(t,e){if((t.ownerDocument||t)!==p&&f(t),e=e.replace(q,"='$1']"),i.matchesSelector&&y&&!$[e+" "]&&(!m||!m.test(e))&&(!g||!g.test(e)))try{var n=_.call(t,e);if(n||i.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(It){}return nt(e,p,null,[t]).length>0},nt.contains=function(t,e){return(t.ownerDocument||t)!==p&&f(t),v(t,e)},nt.attr=function(t,e){(t.ownerDocument||t)!==p&&f(t);var a=n.attrHandle[e.toLowerCase()],o=a&&S.call(n.attrHandle,e.toLowerCase())?a(t,e,!y):void 0;return void 0!==o?o:i.attributes||!y?t.getAttribute(e):(o=t.getAttributeNode(e))&&o.specified?o.value:null},nt.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},nt.uniqueSort=function(t){var e,n=[],a=0,o=0;if(d=!i.detectDuplicates,l=!i.sortStable&&t.slice(0),t.sort(D),d){while(e=t[o++])e===t[o]&&(a=n.push(o));while(a--)t.splice(n[a],1)}return l=null,t},a=nt.getText=function(t){var e,i="",n=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"===typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=a(t)}else if(3===o||4===o)return t.nodeValue}else while(e=t[n++])i+=a(e);return i},n=nt.selectors={cacheLength:50,createPseudo:ot,match:Q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(tt,et),t[3]=(t[3]||t[4]||t[5]||"").replace(tt,et),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||nt.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&nt.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return Q["CHILD"].test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&W.test(i)&&(e=r(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(tt,et).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=x[t+" "];return e||(e=new RegExp("(^|"+B+")"+t+"("+B+"|$)"))&&x(t,(function(t){return e.test("string"===typeof t.className&&t.className||"undefined"!==typeof t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,i){return function(n){var a=nt.attr(n,t);return null==a?"!="===e:!e||(a+="","="===e?a===i:"!="===e?a!==i:"^="===e?i&&0===a.indexOf(i):"*="===e?i&&a.indexOf(i)>-1:"$="===e?i&&a.slice(-i.length)===i:"~="===e?(" "+a.replace(z," ")+" ").indexOf(i)>-1:"|="===e&&(a===i||a.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,i,n,a){var o="nth"!==t.slice(0,3),r="last"!==t.slice(-4),s="of-type"===e;return 1===n&&0===a?function(t){return!!t.parentNode}:function(e,i,c){var u,l,d,f,p,h,y=o!==r?"nextSibling":"previousSibling",g=e.parentNode,m=s&&e.nodeName.toLowerCase(),_=!c&&!s,v=!1;if(g){if(o){while(y){f=e;while(f=f[y])if(s?f.nodeName.toLowerCase()===m:1===f.nodeType)return!1;h=y="only"===t&&!h&&"nextSibling"}return!0}if(h=[r?g.firstChild:g.lastChild],r&&_){f=g,d=f[I]||(f[I]={}),l=d[f.uniqueID]||(d[f.uniqueID]={}),u=l[t]||[],p=u[0]===w&&u[1],v=p&&u[2],f=p&&g.childNodes[p];while(f=++p&&f&&f[y]||(v=p=0)||h.pop())if(1===f.nodeType&&++v&&f===e){l[t]=[w,p,v];break}}else if(_&&(f=e,d=f[I]||(f[I]={}),l=d[f.uniqueID]||(d[f.uniqueID]={}),u=l[t]||[],p=u[0]===w&&u[1],v=p),!1===v)while(f=++p&&f&&f[y]||(v=p=0)||h.pop())if((s?f.nodeName.toLowerCase()===m:1===f.nodeType)&&++v&&(_&&(d=f[I]||(f[I]={}),l=d[f.uniqueID]||(d[f.uniqueID]={}),l[t]=[w,v]),f===e))break;return v-=a,v===n||v%n===0&&v/n>=0}}},PSEUDO:function(t,e){var i,a=n.pseudos[t]||n.setFilters[t.toLowerCase()]||nt.error("unsupported pseudo: "+t);return a[I]?a(e):a.length>1?(i=[t,t,"",e],n.setFilters.hasOwnProperty(t.toLowerCase())?ot((function(t,i){var n,o=a(t,e),r=o.length;while(r--)n=j(t,o[r]),t[n]=!(i[n]=o[r])})):function(t){return a(t,0,i)}):a}},pseudos:{not:ot((function(t){var e=[],i=[],n=s(t.replace(F,"$1"));return n[I]?ot((function(t,e,i,a){var o,r=n(t,null,a,[]),s=t.length;while(s--)(o=r[s])&&(t[s]=!(e[s]=o))})):function(t,a,o){return e[0]=t,n(e,null,o,i),e[0]=null,!i.pop()}})),has:ot((function(t){return function(e){return nt(t,e).length>0}})),contains:ot((function(t){return t=t.replace(tt,et),function(e){return(e.textContent||e.innerText||a(e)).indexOf(t)>-1}})),lang:ot((function(t){return V.test(t||"")||nt.error("unsupported lang: "+t),t=t.replace(tt,et).toLowerCase(),function(e){var i;do{if(i=y?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return i=i.toLowerCase(),i===t||0===i.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===h},focus:function(t){return t===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!n.pseudos["empty"](t)},header:function(t){return G.test(t.nodeName)},input:function(t){return Y.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:dt((function(){return[0]})),last:dt((function(t,e){return[e-1]})),eq:dt((function(t,e,i){return[i<0?i+e:i]})),even:dt((function(t,e){for(var i=0;i=0;)t.push(n);return t})),gt:dt((function(t,e,i){for(var n=i<0?i+e:i;++n1?function(e,i,n){var a=t.length;while(a--)if(!t[a](e,i,n))return!1;return!0}:t[0]}function mt(t,e,i,n,a){for(var o,r=[],s=0,c=t.length,u=null!=e;s-1&&(o[u]=!(r[u]=d))}}else m=mt(m===r?m.splice(h,m.length):m),a?a(null,r,m,c):O.apply(r,m)}))}function vt(t){for(var e,i,a,o=t.length,r=n.relative[t[0].type],s=r||n.relative[" "],c=r?1:0,l=yt((function(t){return t===e}),s,!0),d=yt((function(t){return j(e,t)>-1}),s,!0),f=[function(t,i,n){var a=!r&&(n||i!==u)||((e=i).nodeType?l(t,i,n):d(t,i,n));return e=null,a}];c1&>(f),c>1&&ht(t.slice(0,c-1).concat({value:" "===t[c-2].type?"*":""})).replace(F,"$1"),i,c0,a=t.length>0,o=function(o,r,s,c,l){var d,h,g,m=0,_="0",v=o&&[],I=[],b=u,C=o||a&&n.find["TAG"]("*",l),x=w+=null==b?1:Math.random()||.1,k=C.length;for(l&&(u=r===p||r||l);_!==k&&null!=(d=C[_]);_++){if(a&&d){h=0,r||d.ownerDocument===p||(f(d),s=!y);while(g=t[h++])if(g(d,r||p,s)){c.push(d);break}l&&(w=x)}i&&((d=!g&&d)&&m--,o&&v.push(d))}if(m+=_,i&&_!==m){h=0;while(g=e[h++])g(v,I,r,s);if(o){if(m>0)while(_--)v[_]||I[_]||(I[_]=P.call(c));I=mt(I)}O.apply(c,I),l&&!o&&I.length>0&&m+e.length>1&&nt.uniqueSort(c)}return l&&(w=x,u=b),v};return i?ot(o):o}(o,a)),s.selector=t}return s},c=nt.select=function(t,e,a,o){var c,u,l,d,f,p="function"===typeof t&&t,h=!o&&r(t=p.selector||t);if(a=a||[],1===h.length){if(u=h[0]=h[0].slice(0),u.length>2&&"ID"===(l=u[0]).type&&i.getById&&9===e.nodeType&&y&&n.relative[u[1].type]){if(e=(n.find["ID"](l.matches[0].replace(tt,et),e)||[])[0],!e)return a;p&&(e=e.parentNode),t=t.slice(u.shift().value.length)}c=Q["needsContext"].test(t)?0:u.length;while(c--){if(l=u[c],n.relative[d=l.type])break;if((f=n.find[d])&&(o=f(l.matches[0].replace(tt,et),K.test(u[0].type)&&ft(e.parentNode)||e))){if(u.splice(c,1),t=o.length&&ht(u),!t)return O.apply(a,o),a;break}}}return(p||s(t,h))(o,e,!y,a,!e||K.test(t)&&ft(e.parentNode)||e),a},i.sortStable=I.split("").sort(D).join("")===I,i.detectDuplicates=!!d,f(),i.sortDetached=rt((function(t){return 1&t.compareDocumentPosition(p.createElement("div"))})),rt((function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")}))||st("type|href|height|width",(function(t,e,i){if(!i)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),i.attributes&&rt((function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||st("value",(function(t,e,i){if(!i&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),rt((function(t){return null==t.getAttribute("disabled")}))||st(A,(function(t,e,i){var n;if(!i)return!0===t[e]?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null})),nt}(i);m.find=C,m.expr=C.selectors,m.expr[":"]=m.expr.pseudos,m.uniqueSort=m.unique=C.uniqueSort,m.text=C.getText,m.isXMLDoc=C.isXML,m.contains=C.contains;var x=function(t,e,i){var n=[],a=void 0!==i;while((t=t[e])&&9!==t.nodeType)if(1===t.nodeType){if(a&&m(t).is(i))break;n.push(t)}return n},k=function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i},$=m.expr.match.needsContext,D=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,S=/^.[^:#\[\.,]*$/;function N(t,e,i){if(m.isFunction(e))return m.grep(t,(function(t,n){return!!e.call(t,n,t)!==i}));if(e.nodeType)return m.grep(t,(function(t){return t===e!==i}));if("string"===typeof e){if(S.test(e))return m.filter(e,t,i);e=m.filter(e,t)}return m.grep(t,(function(t){return f.call(e,t)>-1!==i}))}m.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?m.find.matchesSelector(n,t)?[n]:[]:m.find.matches(t,m.grep(e,(function(t){return 1===t.nodeType})))},m.fn.extend({find:function(t){var e,i=this.length,n=[],a=this;if("string"!==typeof t)return this.pushStack(m(t).filter((function(){for(e=0;e1?m.unique(n):n),n.selector=this.selector?this.selector+" "+t:t,n},filter:function(t){return this.pushStack(N(this,t||[],!1))},not:function(t){return this.pushStack(N(this,t||[],!0))},is:function(t){return!!N(this,"string"===typeof t&&$.test(t)?m(t):t||[],!1).length}});var P,T=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,O=m.fn.init=function(t,e,i){var n,a;if(!t)return this;if(i=i||P,"string"===typeof t){if(n="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:T.exec(t),!n||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof m?e[0]:e,m.merge(this,m.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:c,!0)),D.test(n[1])&&m.isPlainObject(e))for(n in e)m.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return a=c.getElementById(n[2]),a&&a.parentNode&&(this.length=1,this[0]=a),this.context=c,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):m.isFunction(t)?void 0!==i.ready?i.ready(t):t(m):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),m.makeArray(t,this))};O.prototype=m.fn,P=m(c);var L=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(t,e){while((t=t[e])&&1!==t.nodeType);return t}m.fn.extend({has:function(t){var e=m(t,this),i=e.length;return this.filter((function(){for(var t=0;t-1:1===i.nodeType&&m.find.matchesSelector(i,t))){o.push(i);break}return this.pushStack(o.length>1?m.uniqueSort(o):o)},index:function(t){return t?"string"===typeof t?f.call(m(t),this[0]):f.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(m.uniqueSort(m.merge(this.get(),m(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),m.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return x(t,"parentNode")},parentsUntil:function(t,e,i){return x(t,"parentNode",i)},next:function(t){return A(t,"nextSibling")},prev:function(t){return A(t,"previousSibling")},nextAll:function(t){return x(t,"nextSibling")},prevAll:function(t){return x(t,"previousSibling")},nextUntil:function(t,e,i){return x(t,"nextSibling",i)},prevUntil:function(t,e,i){return x(t,"previousSibling",i)},siblings:function(t){return k((t.parentNode||{}).firstChild,t)},children:function(t){return k(t.firstChild)},contents:function(t){return t.contentDocument||m.merge([],t.childNodes)}},(function(t,e){m.fn[t]=function(i,n){var a=m.map(this,e,i);return"Until"!==t.slice(-5)&&(n=i),n&&"string"===typeof n&&(a=m.filter(n,a)),this.length>1&&(j[t]||m.uniqueSort(a),L.test(t)&&a.reverse()),this.pushStack(a)}}));var B,M=/\S+/g;function E(){c.removeEventListener("DOMContentLoaded",E),i.removeEventListener("load",E),m.ready()}m.Callbacks=function(t){t="string"===typeof t?function(t){var e={};return m.each(t.match(M)||[],(function(t,i){e[i]=!0})),e}(t):m.extend({},t);var e,i,n,a,o=[],r=[],s=-1,c=function(){for(a=t.once,n=e=!0;r.length;s=-1){i=r.shift();while(++s-1)o.splice(i,1),i<=s&&s--})),this},has:function(t){return t?m.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return a=r=[],o=i="",this},disabled:function(){return!o},lock:function(){return a=r=[],i||(o=i=""),this},locked:function(){return!!a},fireWith:function(t,i){return a||(i=i||[],i=[t,i.slice?i.slice():i],r.push(i),e||c()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!n}};return u},m.extend({Deferred:function(t){var e=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],i="pending",n={state:function(){return i},always:function(){return a.done(arguments).fail(arguments),this},then:function(){var t=arguments;return m.Deferred((function(i){m.each(e,(function(e,o){var r=m.isFunction(t[e])&&t[e];a[o[1]]((function(){var t=r&&r.apply(this,arguments);t&&m.isFunction(t.promise)?t.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[o[0]+"With"](this===n?i.promise():this,r?[t]:arguments)}))})),t=null})).promise()},promise:function(t){return null!=t?m.extend(t,n):n}},a={};return n.pipe=n.then,m.each(e,(function(t,o){var r=o[2],s=o[3];n[o[1]]=r.add,s&&r.add((function(){i=s}),e[1^t][2].disable,e[2][2].lock),a[o[0]]=function(){return a[o[0]+"With"](this===a?n:this,arguments),this},a[o[0]+"With"]=r.fireWith})),n.promise(a),t&&t.call(a,a),a},when:function(t){var e,i,n,a=0,o=u.call(arguments),r=o.length,s=1!==r||t&&m.isFunction(t.promise)?r:0,c=1===s?t:m.Deferred(),l=function(t,i,n){return function(a){i[t]=this,n[t]=arguments.length>1?u.call(arguments):a,n===e?c.notifyWith(i,n):--s||c.resolveWith(i,n)}};if(r>1)for(e=new Array(r),i=new Array(r),n=new Array(r);a0||(B.resolveWith(c,[m]),m.fn.triggerHandler&&(m(c).triggerHandler("ready"),m(c).off("ready"))))}}),m.ready.promise=function(t){return B||(B=m.Deferred(),"complete"===c.readyState||"loading"!==c.readyState&&!c.documentElement.doScroll?i.setTimeout(m.ready):(c.addEventListener("DOMContentLoaded",E),i.addEventListener("load",E))),B.promise(t)},m.ready.promise();var R=function t(e,i,n,a,o,r,s){var c=0,u=e.length,l=null==n;if("object"===m.type(n))for(c in o=!0,n)t(e,i,c,n[c],!0,r,s);else if(void 0!==a&&(o=!0,m.isFunction(a)||(s=!0),l&&(s?(i.call(e,a),i=null):(l=i,i=function(t,e,i){return l.call(m(t),i)})),i))for(;c-1&&void 0!==i&&U.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){U.remove(this,t)}))}}),m.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=H.get(t,e),i&&(!n||m.isArray(i)?n=H.access(t,e,m.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=m.queue(t,e),n=i.length,a=i.shift(),o=m._queueHooks(t,e);"inprogress"===a&&(a=i.shift(),n--),a&&("fx"===e&&i.unshift("inprogress"),delete o.stop,a.call(t,(function(){m.dequeue(t,e)}),o)),!n&&o&&o.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return H.get(t,i)||H.access(t,i,{empty:m.Callbacks("once memory").add((function(){H.remove(t,[e+"queue",i])}))})}}),m.fn.extend({queue:function(t,e){var i=2;return"string"!==typeof t&&(e=t,t="fx",i--),arguments.length",""],thead:[1,""],col:[2,""],tr:[2,""],td:[3,""],_default:[0,"",""]};function it(t,e){var i="undefined"!==typeof t.getElementsByTagName?t.getElementsByTagName(e||"*"):"undefined"!==typeof t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&m.nodeName(t,e)?m.merge([t],i):i}function nt(t,e){for(var i=0,n=t.length;i-1)a&&a.push(o);else if(u=m.contains(o.ownerDocument,o),r=it(d.appendChild(o),"script"),u&&nt(r),i){l=0;while(o=r[l++])tt.test(o.type||"")&&i.push(o)}return d}(function(){var t=c.createDocumentFragment(),e=t.appendChild(c.createElement("div")),i=c.createElement("input");i.setAttribute("type","radio"),i.setAttribute("checked","checked"),i.setAttribute("name","t"),e.appendChild(i),g.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",g.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue})();var rt=/^key/,st=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ct=/^([^.]*)(?:\.(.+)|)/;function ut(){return!0}function lt(){return!1}function dt(){try{return c.activeElement}catch(t){}}function ft(t,e,i,n,a,r){var s,c;if("object"===o(e)){for(c in"string"!==typeof i&&(n=n||i,i=void 0),e)ft(t,c,i,n,e[c],r);return t}if(null==n&&null==a?(a=i,n=i=void 0):null==a&&("string"===typeof i?(a=n,n=void 0):(a=n,n=i,i=void 0)),!1===a)a=lt;else if(!a)return t;return 1===r&&(s=a,a=function(t){return m().off(t),s.apply(this,arguments)},a.guid=s.guid||(s.guid=m.guid++)),t.each((function(){m.event.add(this,e,a,n,i)}))}m.event={global:{},add:function(t,e,i,n,a){var o,r,s,c,u,l,d,f,p,h,y,g=H.get(t);if(g){i.handler&&(o=i,i=o.handler,a=o.selector),i.guid||(i.guid=m.guid++),(c=g.events)||(c=g.events={}),(r=g.handle)||(r=g.handle=function(e){return"undefined"!==typeof m&&m.event.triggered!==e.type?m.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(M)||[""],u=e.length;while(u--)s=ct.exec(e[u])||[],p=y=s[1],h=(s[2]||"").split(".").sort(),p&&(d=m.event.special[p]||{},p=(a?d.delegateType:d.bindType)||p,d=m.event.special[p]||{},l=m.extend({type:p,origType:y,data:n,handler:i,guid:i.guid,selector:a,needsContext:a&&m.expr.match.needsContext.test(a),namespace:h.join(".")},o),(f=c[p])||(f=c[p]=[],f.delegateCount=0,d.setup&&!1!==d.setup.call(t,n,h,r)||t.addEventListener&&t.addEventListener(p,r)),d.add&&(d.add.call(t,l),l.handler.guid||(l.handler.guid=i.guid)),a?f.splice(f.delegateCount++,0,l):f.push(l),m.event.global[p]=!0)}},remove:function(t,e,i,n,a){var o,r,s,c,u,l,d,f,p,h,y,g=H.hasData(t)&&H.get(t);if(g&&(c=g.events)){e=(e||"").match(M)||[""],u=e.length;while(u--)if(s=ct.exec(e[u])||[],p=y=s[1],h=(s[2]||"").split(".").sort(),p){d=m.event.special[p]||{},p=(n?d.delegateType:d.bindType)||p,f=c[p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=o=f.length;while(o--)l=f[o],!a&&y!==l.origType||i&&i.guid!==l.guid||s&&!s.test(l.namespace)||n&&n!==l.selector&&("**"!==n||!l.selector)||(f.splice(o,1),l.selector&&f.delegateCount--,d.remove&&d.remove.call(t,l));r&&!f.length&&(d.teardown&&!1!==d.teardown.call(t,h,g.handle)||m.removeEvent(t,p,g.handle),delete c[p])}else for(p in c)m.event.remove(t,p+e[u],i,n,!0);m.isEmptyObject(c)&&H.remove(t,"handle events")}},dispatch:function(t){t=m.event.fix(t);var e,i,n,a,o,r=[],s=u.call(arguments),c=(H.get(this,"events")||{})[t.type]||[],l=m.event.special[t.type]||{};if(s[0]=t,t.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,t)){r=m.event.handlers.call(this,t,c),e=0;while((a=r[e++])&&!t.isPropagationStopped()){t.currentTarget=a.elem,i=0;while((o=a.handlers[i++])&&!t.isImmediatePropagationStopped())t.rnamespace&&!t.rnamespace.test(o.namespace)||(t.handleObj=o,t.data=o.data,n=((m.event.special[o.origType]||{}).handle||o.handler).apply(a.elem,s),void 0!==n&&!1===(t.result=n)&&(t.preventDefault(),t.stopPropagation()))}return l.postDispatch&&l.postDispatch.call(this,t),t.result}},handlers:function(t,e){var i,n,a,o,r=[],s=e.delegateCount,c=t.target;if(s&&c.nodeType&&("click"!==t.type||isNaN(t.button)||t.button<1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&(!0!==c.disabled||"click"!==t.type)){for(n=[],i=0;i-1:m.find(a,this,null,[c]).length),n[a]&&n.push(o);n.length&&r.push({elem:c,handlers:n})}return s]*)\/>/gi,ht=/