(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([[907],{3114:function(t,e,n){"use strict";n.d(e,{A:function(){return I}});var r={};n.r(r),n.d(r,{logInterceptor:function(){return b},timeoutInterceptor:function(){return m}});var i=n(5518),o=n(9489),a=n(8322),u=n(3896),c=n(7819),s={ASCF:"ASCF",WEAPP:"WEAPP",SWAN:"SWAN",ALIPAY:"ALIPAY",TT:"TT",QQ:"QQ",JD:"JD",WEB:"WEB",RN:"RN",HARMONY:"HARMONY",QUICKAPP:"QUICKAPP",HARMONYHYBRID:"HARMONYHYBRID"};function l(){return s.WEAPP}var d=n(3029),f=n(2901),h=n(7766),v=function(){function t(e,n,r){(0,d.A)(this,t),this.index=r||0,this.requestParams=e||{},this.interceptors=n||[]}return(0,f.A)(t,[{key:"proceed",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.requestParams=t,this.index>=this.interceptors.length)throw new Error("chain \u53c2\u6570\u9519\u8bef, \u8bf7\u52ff\u76f4\u63a5\u4fee\u6539 request.chain");var e=this._getNextInterceptor(),n=this._getNextChain(),r=e(n),i=r.catch(function(t){return Promise.reject(t)});return Object.keys(r).forEach(function(t){return(0,h.Tn)(r[t])&&(i[t]=r[t])}),i}},{key:"_getNextInterceptor",value:function(){return this.interceptors[this.index]}},{key:"_getNextChain",value:function(){return new t(this.requestParams,this.interceptors,this.index+1)}}])}(),p=function(){function t(e){(0,d.A)(this,t),this.taroInterceptor=e,this.chain=new v}return(0,f.A)(t,[{key:"request",value:function(t){var e=this.chain,n=this.taroInterceptor;return e.interceptors=e.interceptors.filter(function(t){return t!==n}).concat(n),e.proceed(Object.assign({},t))}},{key:"addInterceptor",value:function(t){this.chain.interceptors.push(t)}},{key:"cleanInterceptors",value:function(){this.chain=new v}}])}();function g(t){return new p(function(e){return t(e.requestParams)})}function m(t){var e,n=t.requestParams,r=new Promise(function(r,i){var o=setTimeout(function(){clearTimeout(o),i(new Error("\u7f51\u7edc\u94fe\u63a5\u8d85\u65f6,\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01"))},n&&n.timeout||6e4);e=t.proceed(n),e.then(function(t){o&&(clearTimeout(o),r(t))}).catch(function(t){o&&clearTimeout(o),i(t)})});return!(0,h.b0)(e)&&(0,h.Tn)(e.abort)&&(r.abort=e.abort),r}function b(t){var e=t.requestParams,n=e.method,r=e.data,i=e.url;console.log("http ".concat(n||"GET"," --\x3e ").concat(i," data: "),r);var o=t.proceed(e),a=o.then(function(t){return console.log("http <-- ".concat(i," result:"),t),t});return(0,h.Tn)(o.abort)&&(a.abort=o.abort),a}var y=n(4467);function k(t){return t}function w(t){return function(e,n){t.preloadData=(0,h.Gv)(e)?e:(0,y.A)({},e,n)}}var A=750,E={640:1.17,750:1,828:.905},S=20,C=5,T="rpx";function x(t){return function(e){var n=e.designWidth,r=void 0===n?A:n,i=e.deviceRatio,o=void 0===i?E:i,a=e.baseFontSize,u=void 0===a?S:a,c=e.targetUnit,s=void 0===c?T:c,l=e.unitPrecision,d=void 0===l?C:l;t.config=t.config||{},t.config.designWidth=r,t.config.deviceRatio=o,t.config.baseFontSize=u,t.config.targetUnit=s,t.config.unitPrecision=d}}function L(t){return function(e){var n=t.config||{},r=n.baseFontSize,i=n.deviceRatio||E,o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return(0,h.Tn)(n.designWidth)?n.designWidth(t):n.designWidth||A}(e);if(!(o in i))throw new Error("deviceRatio \u914d\u7f6e\u4e2d\u4e0d\u5b58\u5728 ".concat(o," \u7684\u8bbe\u7f6e\uff01"));var a=n.targetUnit||T,u=n.unitPrecision||C,c=~~e,s=1/i[o];switch(a){case"rem":s*=2*r;break;case"px":s*=2;break}var l=c/s;return u>=0&&u<=100&&(l=Number(l.toFixed(u))),l+a}}var I={Behavior:k,getEnv:l,ENV_TYPE:s,Link:p,interceptors:r,Current:i.E,getCurrentInstance:i.n,options:o.f,nextTick:a.d,eventCenter:u.k,Events:c.s,getInitPxTransform:x,interceptorify:g};I.initPxTransform=x(I),I.preload=w(i.E),I.pxTransform=L(I)},1291:function(t,e,n){"use strict";n.d(e,{ND:function(){return nt}});var r=n(4467),i=n(5544),o=n(3029),a=n(2901),u=n(6919),c=n(5501),s=n(436),l=n(7225),d=n(7766),f=n(6021),h=n(5518),v=n(8870),p=n(4733),g=n(6541),m=n(2709),b=n(7768),y={PageContext:l.MZ,R:l.MZ},k="taro-app";function w(t,e){var n,r=e.prototype;return!(null===(n=e.displayName)||void 0===n?void 0:n.includes("Connect"))&&((0,d.Tn)(e.render)||!!(null===r||void 0===r?void 0:r.isReactComponent)||r instanceof t.Component)}function A(t){return(0,d.cy)(t)?t:t?[t]:[]}function E(t){return t.writable=!0,t.enumerable=!0,t}function S(t){h.E.router=Object.assign({params:null===t||void 0===t?void 0:t.query},t)}var C,T,x=function(t){return function(e){var n=y.R,r=y.PageContext,i=n.useContext(r)||k,o=n.useRef(),a=n.useRef(e);a.current!==e&&(a.current=e),n.useLayoutEffect(function(){var e=o.current=(0,v.zk)(i),n=!1;e||(n=!0,o.current=Object.create(null),e=o.current);var r=function(){return a.current.apply(a,arguments)};return(0,d.Tn)(e[t])?e[t]=[e[t],r]:e[t]=[].concat((0,s.A)(e[t]||[]),[r]),n&&(0,v.wT)(e,i),function(){var e=o.current;if(e){var n=e[t];n===r?e[t]=void 0:(0,d.cy)(n)&&(e[t]=n.filter(function(t){return t!==r})),o.current=void 0}}},[])}},L=x("componentDidHide"),I=x("componentDidShow"),P=x("onError"),N=x("onUnhandledRejection"),O=x("onLaunch"),_=x("onPageNotFound"),R=x("onLoad"),M=x("onPageScroll"),B=x("onPullDownRefresh"),D=x("onPullIntercept"),G=x("onReachBottom"),F=x("onResize"),j=x("onUnload"),U=x("onAddToFavorites"),V=x("onOptionMenuClick"),H=x("onKeyboardHeight"),W=x("onSaveExitState"),$=x("onShareAppMessage"),K=x("onShareTimeline"),z=x("onTitleClick"),Y=x("onReady"),q=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=y.R;return t?h.E.router:e.useMemo(function(){return h.E.router},[])},J=x("onTabItemTap"),Z=function(){},Q=Object.freeze({__proto__:null,useAddToFavorites:U,useDidHide:L,useDidShow:I,useError:P,useKeyboardHeight:H,useLaunch:O,useLoad:R,useOptionMenuClick:V,usePageNotFound:_,usePageScroll:M,usePullDownRefresh:B,usePullIntercept:D,useReachBottom:G,useReady:Y,useResize:F,useRouter:q,useSaveExitState:W,useScope:Z,useShareAppMessage:$,useShareTimeline:K,useTabItemTap:J,useTitleClick:z,useUnhandledRejection:N,useUnload:j}),X=(0,p.F$)();function tt(t){f.JL.tap("getLifecycle",function(t,e){return e=e.replace(/^on(Show|Hide)$/,"componentDid$1"),t[e]}),f.JL.tap("modifyMpEvent",function(t){Object.defineProperty(t,"type",{value:t.type.replace(/-/g,"")})}),f.JL.tap("batchedEventUpdates",function(e){null===t||void 0===t||t.unstable_batchedUpdates(e)}),f.JL.tap("mergePageInstance",function(t,e){t&&e&&("constructor"in t||Object.keys(t).forEach(function(n){var r=t[n],i=A(e[n]);e[n]=i.concat(r)}))})}function et(t,e){return function(n){var r=w(t,n),i=function(t){return t&&(0,v.wT)(t,e)},s=r?{ref:i}:{forwardedRef:i,reactReduxForwardedRef:i};return y.PageContext===l.MZ&&(y.PageContext=t.createContext("")),function(t){function r(){var t;return(0,o.A)(this,r),t=(0,u.A)(this,r,arguments),t.state={hasError:!1},t}return(0,c.A)(r,t),(0,a.A)(r,[{key:"componentDidCatch",value:function(t,e){0}},{key:"render",value:function(){var t=this.state.hasError?[]:C(y.PageContext.Provider,{value:e},C(n,Object.assign(Object.assign({},this.props),s)));return C("root",{id:e},t)}}],[{key:"getDerivedStateFromError",value:function(t){var e,n;return null===(n=null===(e=h.E.app)||void 0===e?void 0:e.onError)||void 0===n||n.call(e,t.message+t.stack),{hasError:!0}}}])}(t.Component)}}function nt(t,e,n,s){y.R=e,C=e.createElement,T=n,e.Fragment;var l,d,p=e.createRef(),A=w(e,t),x=new Promise(function(t){return d=t});function L(){return p.current}function I(t){x.then(function(){return t()})}function P(){var t,n,r=(null===s||void 0===s?void 0:s.appId)||"app",i=g.F.getElementById(r);if(null==i){var o=g.F.getElementById(m.MR);i=g.F.createElement(r),i.id=r,null===o||void 0===o||o.appendChild(i)}if((e.version||"").startsWith("18")){var a=T.createRoot(i);null===(t=a.render)||void 0===t||t.call(a,C(N))}else null===(n=T.render)||void 0===n||n.call(T,C(N),i)}tt(T);var N=function(n){function r(t){var e;return(0,o.A)(this,r),e=(0,u.A)(this,r,[t]),e.pages=[],e.elements=[],l=e,d(e),e}return(0,c.A)(r,n),(0,a.A)(r,[{key:"mount",value:function(t,n,r){var i=et(e,n)(t),o=n+X(),a=function(){return C(i,{key:o,tid:n})};this.pages.push(a),this.forceUpdate(function(){return b.k.stop(m.zP),r.apply(void 0,arguments)})}},{key:"unmount",value:function(t,e){var n=this.elements,r=n.findIndex(function(e){return e.props.tid===t});n.splice(r,1),this.forceUpdate(e)}},{key:"render",value:function(){var e=this.pages,n=this.elements;while(e.length>0){var r=e.pop();n.push(r())}var i=null;return A&&(i={ref:p}),C(t,i,n.slice())}}])}(e.Component);P();var O=(0,i.A)(f.JL.call("getMiniLifecycleImpl").app,3),_=O[0],R=O[1],M=O[2],B=Object.create({render:function(t){l.forceUpdate(t)},mount:function(t,e,n){l?l.mount(t,e,n):x.then(function(r){return r.mount(t,e,n)})},unmount:function(t,e){l?l.unmount(t,e):x.then(function(n){return n.unmount(t,e)})}},(0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)({config:E({configurable:!0,value:s})},_,E({value:function(t){var e=this;S(t);var n=function(){var n,r=L();if(e.$app=r,r){if(r.taroGlobalData){var i=r.taroGlobalData,o=Object.keys(i),a=Object.getOwnPropertyDescriptors(i);o.forEach(function(t){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return i[t]},set:function(e){i[t]=e}})}),Object.defineProperties(e,a)}null===(n=r.onLaunch)||void 0===n||n.call(r,t)}D("onLaunch",t)};I(n)}})),R,E({value:function(t){S(t);var e=function(){var e,n=L();null===(e=null===n||void 0===n?void 0:n.componentDidShow)||void 0===e||e.call(n,t),D("onShow",t)};I(e)}})),M,E({value:function(){var t=function(){var t,e=L();null===(t=null===e||void 0===e?void 0:e.componentDidHide)||void 0===t||t.call(e),D("onHide")};I(t)}})),"onError",E({value:function(t){var e=function(){var e,n=L();null===(e=null===n||void 0===n?void 0:n.onError)||void 0===e||e.call(n,t),D("onError",t)};I(e)}})),"onUnhandledRejection",E({value:function(t){var e=function(){var e,n=L();null===(e=null===n||void 0===n?void 0:n.onUnhandledRejection)||void 0===e||e.call(n,t),D("onUnhandledRejection",t)};I(e)}})),"onPageNotFound",E({value:function(t){var e=function(){var e,n=L();null===(e=null===n||void 0===n?void 0:n.onPageNotFound)||void 0===e||e.call(n,t),D("onPageNotFound",t)};I(e)}})));function D(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:{},r=n.needPromiseApis||[],c=new Set([].concat((0,i.A)(r),(0,i.A)(u))),s=["getEnv","interceptors","Current","getCurrentInstance","options","nextTick","eventCenter","Events","preload","webpackJsonp"],l=new Set(n.isOnlyPromisify?r:Object.keys(e).filter(function(t){return-1===s.indexOf(t)}));n.modifyApis&&n.modifyApis(l),l.forEach(function(r){if(c.has(r)){var i=r;t[i]=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length,o=new Array(r>1?r-1:0),u=1;u2&&void 0!==arguments[2]?arguments[2]:{};t.canIUseWebp=c(t),t.getCurrentPages=getCurrentPages||(0,a.Zb)("getCurrentPages"),t.getApp=getApp||(0,a.Zb)("getApp"),t.env=e.env||{};try{t.requirePlugin=requirePlugin||(0,a.Zb)("requirePlugin")}catch(e){t.requirePlugin=(0,a.Zb)("requirePlugin")}var r=n.request||s(e);function i(t){return r(t.requestParams)}var o=new t.Link(i);t.request=o.request.bind(o),t.addInterceptor=o.addInterceptor.bind(o),t.cleanInterceptors=o.cleanInterceptors.bind(o),t.miniGlobal=t.options.miniGlobal=e,t.getAppInfo=function(){return{platform:"mini",taroVersion:"4.2.0",designWidth:t.config.designWidth}},t.createSelectorQuery=h(t,e,"createSelectorQuery","exec"),t.createIntersectionObserver=h(t,e,"createIntersectionObserver","observe")}function f(t,e){if(t&&e){var n=["abort","onHeadersReceived","offHeadersReceived","onProgressUpdate","offProgressUpdate","onChunkReceived","offChunkReceived"];t&&n.forEach(function(n){n in t&&(e[n]=t[n].bind(t))})}}function h(t,e,n,r){return function(){var i=e[n].apply(e,arguments),o=i[r].bind(i);return i[r]=function(){for(var e=arguments.length,n=new Array(e),r=0;r3&&void 0!==arguments[3]?arguments[3]:"string";null!=n?"number"===r?(0===n&&""===t.value||e!=n)&&(t.value=W(n)):e!==W(n)&&(t.value=W(n)):"submit"!==r&&"reset"!==r||t.removeAttribute("value")}function z(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();if("input"===e){var n=t.type;return!n||!!y[n]}return"textarea"===e}var Y=$,q=U;function J(t){var e=t.type,n=t.nodeName;return n&&"input"===n.toLowerCase()&&("checkbox"===e||"radio"===e)}function Z(t){return t._valueTracker}function Q(t){t._valueTracker=null}function X(t){var e=J(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,o=n.set;Object.defineProperty(t,e,{configurable:!0,enumerable:n.enumerable,get:function(){return i.call(this)},set:function(t){r=""+t,o.call(this,t)}});var a={getValue:function(){return r},setValue:function(t){r=""+t},stopTracking:function(){Q(t),delete t[e]}};return a}}function tt(t){Z(t)||(t._valueTracker=X(t))}function et(t,e){if(!t)return!1;var n=Z(t);if(!n)return!0;var r=n.getValue();return e!==r&&(n.setValue(e),!0)}var nt=/aspect|acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function rt(t){return"o"===t[0]&&"n"===t[1]}function it(t,e){if(t===e)return!0;if("object"!==(0,u.A)(t)||null===t||"object"!==(0,u.A)(e)||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(var i=0;i0&&(t.textContent="")}},vt=m()(ht),pt=null;function gt(t,e){var n,r,i=D(e),o=t.type;if(i&&z(e)&&("input"===o||"change"===o)){var a=W(null===(r=null===(n=t.mpEvent)||void 0===n?void 0:n.detail)||void 0===r?void 0:r.value);return mt(i,a)}}function mt(t,e){var n=G(t);return!!n&&(et(n,e)?t:void 0)}function bt(t){pt?pt.push(t):pt=[t]}function yt(){return null!==pt}function kt(){var t=yt();t&&(vt.flushSync(),wt())}function wt(){if(pt){var t=pt;pt=null;for(var e=0;e1&&void 0!==arguments[1]?arguments[1]:{},r=St.get(t);if(null!=r)return r;var i=new Ct(vt,t,n);return St.set(t,i),B(null===(e=null===i||void 0===i?void 0:i.internalRoot)||void 0===e?void 0:e.current,t),f.JL.tap("dispatchTaroEvent",function(t,e){var n=T(t.type);vt.runWithPriority(n,function(){e.dispatchEvent(t)})}),f.JL.tap("modifyTaroEvent",function(t,e){var n,r,i=gt(t,e);if(i){var o=null===(r=null===(n=t.mpEvent)||void 0===n?void 0:n.detail)||void 0===r?void 0:r.value;bt({target:e,value:o})}}),i}var Lt=!1,It=function(t,e){if(Lt)return t(e);Lt=!0;try{return vt.batchedUpdates(t,e)}finally{Lt=!1,kt()}};function Pt(t){(0,l.D8)(t&&[1,8,9,11].includes(t.nodeType),"unmountComponentAtNode(...): Target container is not a DOM element.");var e=St.get(t);return!!e&&(It(function(){e.unmount(function(){St.delete(t)})},null),!0)}function Nt(t){if(null==t)return null;var e=t.nodeType;return 1===e||3===e?t:vt.findHostInstance(t)}var Ot=(0,s.Tn)(Symbol)&&Symbol.for?Symbol.for("react.portal"):60106;function _t(t,e,n){return{$$typeof:Ot,key:null==n?null:String(n),children:t,containerInfo:e,implementation:null}}var Rt=vt.flushSync,Mt={render:Tt,flushSync:Rt,createRoot:xt,unstable_batchedUpdates:It,unmountComponentAtNode:Pt,findDOMNode:Nt,createPortal:_t,internalInstanceKey:I}},831:function(t,e,n){"use strict";n.d(e,{D:function(){return g},l:function(){return p}});var r,i,o,a,u,c,s=n(3029),l=n(2901),d=n(1635),f=n(7766),h=n(1389),v=function(){function t(e,n){(0,s.A)(this,t),r.set(this,""),i.set(this,""),o.set(this,""),a.set(this,""),u.set(this,""),c.set(this,void 0),(0,f.Kg)(e)||(e=String(e));var l=m(e,n),v=l.hash,p=l.hostname,g=l.pathname,b=l.port,y=l.protocol,k=l.search;(0,d.GG)(this,r,v,"f"),(0,d.GG)(this,i,p,"f"),(0,d.GG)(this,o,g||"/","f"),(0,d.GG)(this,a,b,"f"),(0,d.GG)(this,u,y,"f"),(0,d.GG)(this,c,new h.I(k),"f")}return(0,l.A)(t,[{key:"protocol",get:function(){return(0,d.gn)(this,u,"f")},set:function(t){(0,f.Kg)(t)&&(0,d.GG)(this,u,t.trim(),"f")}},{key:"host",get:function(){return this.hostname+(this.port?":"+this.port:"")},set:function(t){if(t&&(0,f.Kg)(t)){t=t.trim();var e=g("//".concat(t)),n=e.hostname,r=e.port;this.hostname=n,this.port=r}}},{key:"hostname",get:function(){return(0,d.gn)(this,i,"f")},set:function(t){t&&(0,f.Kg)(t)&&(0,d.GG)(this,i,t.trim(),"f")}},{key:"port",get:function(){return(0,d.gn)(this,a,"f")},set:function(t){(0,f.Kg)(t)&&(0,d.GG)(this,a,t.trim(),"f")}},{key:"pathname",get:function(){return(0,d.gn)(this,o,"f")},set:function(t){if((0,f.Kg)(t)){t=t.trim();var e=/^(\/|\.\/|\.\.\/)/,n=t;while(e.test(n))n=n.replace(e,"");n?(0,d.GG)(this,o,"/"+n,"f"):(0,d.GG)(this,o,"/","f")}}},{key:"search",get:function(){var t=(0,d.gn)(this,c,"f").toString();return 0===t.length||t.startsWith("?")?t:"?".concat(t)},set:function(t){(0,f.Kg)(t)&&(t=t.trim(),(0,d.GG)(this,c,new h.I(t),"f"))}},{key:"hash",get:function(){return(0,d.gn)(this,r,"f")},set:function(t){(0,f.Kg)(t)&&(t=t.trim(),t?(0,d.GG)(this,r,t.startsWith("#")?t:"#".concat(t),"f"):(0,d.GG)(this,r,"","f"))}},{key:"href",get:function(){return"".concat(this.protocol,"//").concat(this.host).concat(this.pathname).concat(this.search).concat(this.hash)},set:function(t){if(t&&(0,f.Kg)(t)){t=t.trim();var e=g(t),n=e.protocol,r=e.hostname,i=e.port,o=e.hash,a=e.search,u=e.pathname;this.protocol=n,this.hostname=r,this.pathname=u,this.port=i,this.hash=o,this.search=a}}},{key:"origin",get:function(){return"".concat(this.protocol,"//").concat(this.host)},set:function(t){if(t&&(0,f.Kg)(t)){t=t.trim();var e=g(t),n=e.protocol,r=e.hostname,i=e.port;this.protocol=n,this.hostname=r,this.port=i}}},{key:"searchParams",get:function(){return(0,d.gn)(this,c,"f")}},{key:"toString",value:function(){return this.href}},{key:"toJSON",value:function(){return this.toString()}},{key:"_toRaw",value:function(){return{protocol:this.protocol,port:this.port,host:this.host,hostname:this.hostname,pathname:this.pathname,hash:this.hash,search:this.search,origin:this.origin,href:this.href}}}],[{key:"createObjectURL",value:function(){throw new Error("Oops, not support URL.createObjectURL() in miniprogram.")}},{key:"revokeObjectURL",value:function(){throw new Error("Oops, not support URL.revokeObjectURL() in miniprogram.")}}])}();r=new WeakMap,i=new WeakMap,o=new WeakMap,a=new WeakMap,u=new WeakMap,c=new WeakMap;var p=v;function g(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e={href:"",origin:"",protocol:"",hostname:"",host:"",port:"",pathname:"",search:"",hash:""};if(!t||!(0,f.Kg)(t))return e;t=t.trim();var n=/^(([^:/?#]+):)?\/\/(([^/?#]+):(.+)@)?([^/?#:]*)(:(\d+))?([^?#]*)(\?([^#]*))?(#(.*))?/,r=t.match(n);return r?(e.protocol=r[1]||"https:",e.hostname=r[6]||"taro.com",e.port=r[8]||"",e.pathname=r[9]||"/",e.search=r[10]||"",e.hash=r[12]||"",e.href=t,e.origin=e.protocol+"//"+e.hostname+(e.port?":".concat(e.port):""),e.host=e.hostname+(e.port?":".concat(e.port):""),e):e}function m(t,e){var n=/^(https?:)\/\//i,r="",i=null;if(!(0,f.b0)(e)){if(e=String(e).trim(),!n.test(e))throw new TypeError("Failed to construct 'URL': Invalid base URL");i=g(e)}if(t=String(t).trim(),n.test(t))r=t;else{if(!i)throw new TypeError("Failed to construct 'URL': Invalid URL");r=t?t.startsWith("//")?i.protocol+t:i.origin+(t.startsWith("/")?t:"/".concat(t)):i.href}return g(r)}},1389:function(t,e,n){"use strict";n.d(e,{I:function(){return m}});var r,i,o=n(3029),a=n(2901),u=n(1635),c=n(7766),s=/[!'()~]|%20|%00/g,l=/\+/g,d={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};function f(t){return d[t]}function h(t,e,n){var r=(0,c.cy)(n)?n.join(","):n;e in t?t[e].push(r):t[e]=[r]}function v(t,e){h(this,e,t)}function p(t){return decodeURIComponent(t.replace(l," "))}function g(t){return encodeURIComponent(t).replace(s,f)}var m=(i=function(){function t(e){(0,o.A)(this,t),r.set(this,Object.create(null)),null!==e&&void 0!==e||(e="");var n=(0,u.gn)(this,r,"f");if("string"===typeof e){"?"===e.charAt(0)&&(e=e.slice(1));for(var i=e.split("&"),a=0,s=i.length;a-1?h(n,p(l.slice(0,d)),p(l.slice(d+1))):l.length&&h(n,p(l),"")}catch(t){0}}}else if((0,c.cy)(e))for(var f=0,g=e.length;f1?n-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:"";(0,h.GG)(this,o,[{state:null,title:"",url:t||(0,h.gn)(this,i,"f").href}],"f"),(0,h.GG)(this,a,0,"f")};var k=y},6079:function(t,e,n){"use strict";n.d(e,{a:function(){return x}});var r,i,o,a,u,c,s,l,d,f=n(3029),h=n(2901),v=n(6919),p=n(5501),g=n(1635),m=n(7766),b=n(7225),y=n(7819),k=n(2709),w=n(5518),A=n(2587),E=n(831),S="https://taro.com",C=new A.b("location"),T=function(t){function e(t){var n;return(0,f.A)(this,e),n=(0,v.A)(this,e),r.add(n),i.set(n,new E.l(S)),o.set(n,!1),a.set(n,void 0),(0,g.GG)(n,a,t.window,"f"),(0,g.gn)(n,r,"m",u).call(n),n.on("__set_href_without_history__",function(t){(0,g.GG)(n,o,!0,"f");var e=(0,g.gn)(n,i,"f").hash;(0,g.gn)(n,i,"f").href=L(t),e!==(0,g.gn)(n,i,"f").hash&&(0,g.gn)(n,a,"f").trigger("hashchange"),(0,g.GG)(n,o,!1,"f")},null),n.on(k.oF.INIT,function(){(0,g.gn)(n,r,"m",u).call(n)},null),n.on(k.oF.RESTORE,function(t){C.set(t,{lastHref:n.href})},null),n.on(k.oF.RECOVER,function(t){if(C.has(t)){var e=C.get(t);(0,g.GG)(n,o,!0,"f"),(0,g.gn)(n,i,"f").href=e.lastHref,(0,g.GG)(n,o,!1,"f")}},null),n.on(k.oF.DESTROY,function(t){C.delete(t)},null),n}return(0,p.A)(e,t),(0,h.A)(e,[{key:"protocol",get:function(){return(0,g.gn)(this,i,"f").protocol},set:function(t){var e=/^(http|https):$/i;if(t&&(0,m.Kg)(t)&&e.test(t.trim())){t=t.trim();var n=(0,g.gn)(this,r,"m",c).call(this);(0,g.gn)(this,i,"f").protocol=t,(0,g.gn)(this,r,"m",d).call(this,n)&&(0,g.gn)(this,r,"m",l).call(this)}}},{key:"host",get:function(){return(0,g.gn)(this,i,"f").host},set:function(t){if(t&&(0,m.Kg)(t)){t=t.trim();var e=(0,g.gn)(this,r,"m",c).call(this);(0,g.gn)(this,i,"f").host=t,(0,g.gn)(this,r,"m",d).call(this,e)&&(0,g.gn)(this,r,"m",l).call(this)}}},{key:"hostname",get:function(){return(0,g.gn)(this,i,"f").hostname},set:function(t){if(t&&(0,m.Kg)(t)){t=t.trim();var e=(0,g.gn)(this,r,"m",c).call(this);(0,g.gn)(this,i,"f").hostname=t,(0,g.gn)(this,r,"m",d).call(this,e)&&(0,g.gn)(this,r,"m",l).call(this)}}},{key:"port",get:function(){return(0,g.gn)(this,i,"f").port},set:function(t){var e=Number(t=t.trim());if((0,m.Et)(e)&&!(e<=0)){var n=(0,g.gn)(this,r,"m",c).call(this);(0,g.gn)(this,i,"f").port=t,(0,g.gn)(this,r,"m",d).call(this,n)&&(0,g.gn)(this,r,"m",l).call(this)}}},{key:"pathname",get:function(){return(0,g.gn)(this,i,"f").pathname},set:function(t){if(t&&(0,m.Kg)(t)){t=t.trim();var e=(0,g.gn)(this,r,"m",c).call(this);(0,g.gn)(this,i,"f").pathname=t,(0,g.gn)(this,r,"m",d).call(this,e)&&(0,g.gn)(this,r,"m",l).call(this)}}},{key:"search",get:function(){return(0,g.gn)(this,i,"f").search},set:function(t){if(t&&(0,m.Kg)(t)){t=t.trim(),t=t.startsWith("?")?t:"?".concat(t);var e=(0,g.gn)(this,r,"m",c).call(this);(0,g.gn)(this,i,"f").search=t,(0,g.gn)(this,r,"m",d).call(this,e)&&(0,g.gn)(this,r,"m",l).call(this)}}},{key:"hash",get:function(){return(0,g.gn)(this,i,"f").hash},set:function(t){if(t&&(0,m.Kg)(t)){t=t.trim(),t=t.startsWith("#")?t:"#".concat(t);var e=(0,g.gn)(this,r,"m",c).call(this);(0,g.gn)(this,i,"f").hash=t,(0,g.gn)(this,r,"m",d).call(this,e)&&(0,g.gn)(this,r,"m",l).call(this)}}},{key:"href",get:function(){return(0,g.gn)(this,i,"f").href},set:function(t){var e=/^(http:|https:)?\/\/.+/;if(t&&(0,m.Kg)(t)&&e.test(t=t.trim())){var n=(0,g.gn)(this,r,"m",c).call(this);(0,g.gn)(this,i,"f").href=t,(0,g.gn)(this,r,"m",d).call(this,n)&&(0,g.gn)(this,r,"m",l).call(this)}}},{key:"origin",get:function(){return(0,g.gn)(this,i,"f").origin},set:function(t){var e=/^(http:|https:)?\/\/.+/;if(t&&(0,m.Kg)(t)&&e.test(t=t.trim())){var n=(0,g.gn)(this,r,"m",c).call(this);(0,g.gn)(this,i,"f").origin=t,(0,g.gn)(this,r,"m",d).call(this,n)&&(0,g.gn)(this,r,"m",l).call(this)}}},{key:"assign",value:function(){(0,b.R8)(!0,"\u5c0f\u7a0b\u5e8f\u73af\u5883\u4e2d\u8c03\u7528location.assign()\u65e0\u6548.")}},{key:"reload",value:function(){(0,b.R8)(!0,"\u5c0f\u7a0b\u5e8f\u73af\u5883\u4e2d\u8c03\u7528location.reload()\u65e0\u6548.")}},{key:"replace",value:function(t){this.trigger("__set_href_without_history__",t)}},{key:"toString",value:function(){return this.href}},{key:"cache",get:function(){return C}}])}(y.s);i=new WeakMap,o=new WeakMap,a=new WeakMap,r=new WeakSet,u=function(){var t=(0,w.n)(),e=t.router;if(e){var n=e.path,r=e.params,o=Object.keys(r).map(function(t){return"".concat(t,"=").concat(r[t])}),a=o.length>0?"?"+o.join("&"):"",u="".concat(S).concat(n.startsWith("/")?n:"/"+n).concat(a);(0,g.GG)(this,i,new E.l(u),"f"),this.trigger("__reset_history__",this.href)}},c=function(){return(0,g.gn)(this,i,"f")._toRaw()},s=function(t){(0,g.gn)(this,i,"f").href=t},l=function(){this.trigger("__record_history__",this.href)},d=function(t){if((0,g.gn)(this,o,"f"))return!1;var e=(0,g.gn)(this,i,"f")._toRaw(),n=e.protocol,u=e.hostname,c=e.port,l=e.pathname,d=e.search,f=e.hash;return n!==t.protocol||u!==t.hostname||c!==t.port?((0,g.gn)(this,r,"m",s).call(this,t.href),!1):l!==t.pathname||(d!==t.search||(f!==t.hash?((0,g.gn)(this,a,"f").trigger("hashchange"),!0):((0,g.gn)(this,r,"m",s).call(this,t.href),!1)))};var x=T;function L(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=S;return/^[/?#]/.test(t)?e+t:t}},5943:function(t,e,n){"use strict";n.d(e,{C:function(){return u}});var r="Macintosh",i="Intel Mac OS X 10_14_5",o="AppleWebKit/534.36 (KHTML, like Gecko) NodeJS/v4.1.0 Chrome/76.0.3809.132 Safari/534.36",a="("+r+"; "+i+") "+o,u={appCodeName:"Mozilla",appName:"Netscape",appVersion:"5.0 "+a,cookieEnabled:!0,mimeTypes:[],onLine:!0,platform:"MacIntel",plugins:[],product:"Taro",productSub:"20030107",userAgent:"Mozilla/5.0 "+a,vendor:"Joyent",vendorSub:""}},3363:function(t,e,n){"use strict";var r;n.d(e,{Ny:function(){return a},er:function(){return o},tB:function(){return r}}),function(){var t;"undefined"!==typeof performance&&null!==performance&&performance.now?r=function(){return performance.now()}:Date.now?(t=Date.now(),r=function(){return Date.now()-t}):(t=(new Date).getTime(),r=function(){return(new Date).getTime()-t})}();var i=0,o=function(t){var e=r(),n=Math.max(i+16,e);return setTimeout(function(){t(i=n)},n-e)},a=function(t){clearTimeout(t)}},7860:function(t,e,n){"use strict";n.d(e,{UW:function(){return k},fC:function(){return y},mw:function(){return b}});var r=n(436),i=n(3029),o=n(2901),a=n(6919),u=n(5501),c=n(7766),s=n(7819),l=n(2709),d=n(9260),f=n(7432),h=n(1554),v=n(6079),p=n(5943),g=n(3363),m=function(t){function e(){var t;(0,i.A)(this,e),t=(0,a.A)(this,e),t.navigator=p.C,t.requestAnimationFrame=g.er,t.cancelAnimationFrame=g.Ny,t.getComputedStyle=f.S;var o=[].concat((0,r.A)(Object.getOwnPropertyNames(n.g||{})),(0,r.A)(Object.getOwnPropertySymbols(n.g||{})));return o.forEach(function(e){if("atob"!==e&&"document"!==e&&!Object.prototype.hasOwnProperty.call(t,e))try{t[e]=n.g[e]}catch(t){0}}),t.Date||(t.Date=Date),t.location=new v.a({window:t}),t.history=new h.B(t.location,{window:t}),t.initEvent(),t}return(0,u.A)(e,t),(0,o.A)(e,[{key:"initEvent",value:function(){var t=this.location,e=this.history;this.on(l.oF.INIT,function(e){t.trigger(l.oF.INIT,e)},null),this.on(l.oF.RECOVER,function(n){t.trigger(l.oF.RECOVER,n),e.trigger(l.oF.RECOVER,n)},null),this.on(l.oF.RESTORE,function(n){t.trigger(l.oF.RESTORE,n),e.trigger(l.oF.RESTORE,n)},null),this.on(l.oF.DESTROY,function(n){t.trigger(l.oF.DESTROY,n),e.trigger(l.oF.DESTROY,n)},null)}},{key:"document",get:function(){return d.A.document}},{key:"addEventListener",value:function(t,e){(0,c.Kg)(t)&&this.on(t,e,null)}},{key:"removeEventListener",value:function(t,e){(0,c.Kg)(t)&&this.off(t,e,null)}},{key:"setTimeout",value:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(){return setTimeout.apply(void 0,arguments)})},{key:"clearTimeout",value:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(){return clearTimeout.apply(void 0,arguments)})}])}(s.s),b=d.A.window=new m,y=b.location,k=b.history},2709:function(t,e,n){"use strict";n.d(e,{$8:function(){return p},$p:function(){return f},A:function(){return tt},DO:function(){return U},FY:function(){return g},GK:function(){return D},HT:function(){return Q},IB:function(){return z},ID:function(){return m},L_:function(){return w},M9:function(){return u},MR:function(){return v},Me:function(){return o},OC:function(){return G},PD:function(){return S},PL:function(){return N},QJ:function(){return W},Qg:function(){return I},Qn:function(){return _},Ru:function(){return C},Su:function(){return V},UX:function(){return X},V0:function(){return b},Vu:function(){return a},Vx:function(){return d},XT:function(){return q},Y:function(){return k},YK:function(){return $},Yb:function(){return i},ZE:function(){return M},_0:function(){return Y},bO:function(){return P},d_:function(){return Z},fx:function(){return E},g3:function(){return l},gR:function(){return A},lw:function(){return J},m$:function(){return R},n5:function(){return T},nG:function(){return B},oF:function(){return r},qb:function(){return O},qv:function(){return L},r7:function(){return s},tp:function(){return y},uq:function(){return h},vH:function(){return j},vx:function(){return F},x_:function(){return H},zO:function(){return x},zP:function(){return c},zV:function(){return K}});var r,i=2046,o="Taro runtime",a="taro-app",u="\u5c0f\u7a0b\u5e8f setData",c="\u9875\u9762\u521d\u59cb\u5316",s="root",l="html",d="head",f="body",h="app",v="container",p="#document",g="document-fragment",m="id",b="uid",y="class",k="style",w="focus",A="view",E="static-view",S="pure-view",C="click-view",T="props",x="dataset",L="object",I="value",P="input",N="change",O="custom-wrapper",_="target",R="currentTarget",M="type",B="confirm",D="timeStamp",G="keyCode",F="touchmove",j="Date",U="setTimeout",V="compileMode",H="catchMove",W="catch-view",$="comment",K="onLoad",z="onReady",Y="onShow",q="onHide",J="options",Z="externalClasses",Q="e_result",X="behaviors",tt="a";(function(t){t["INIT"]="0",t["RESTORE"]="1",t["RECOVER"]="2",t["DESTROY"]="3"})(r||(r={}))},5518:function(t,e,n){"use strict";n.d(e,{E:function(){return r},n:function(){return i}});var r={app:null,router:null,page:null},i=function(){return r}},1702:function(t,e,n){"use strict";n.d(e,{_:function(){return f}});var r=n(3029),i=n(2901),o=n(7225),a=[],u=function(t,e){return!!t&&t.sid===(null===e||void 0===e?void 0:e.sid)},c=function(t,e){var n=e.characterData,r=e.characterDataOldValue,i=e.attributes,o=e.attributeOldValue,a=e.childList;switch(t.type){case"characterData":return!!n&&(r||(t.oldValue=null),!0);case"attributes":return!!i&&(o||(t.oldValue=null),!0);case"childList":return!!a}},s=!1;function l(t,e){t.records.push(e),s||(s=!0,Promise.resolve().then(function(){s=!1,a.forEach(function(t){return t.callback(t.takeRecords())})}))}function d(t){a.forEach(function(e){for(var n=e.options,r=t.target;r;r=r.parentNode){if(u(e.target,r)&&c(t,n)){l(e,t);break}if(!n.subtree)break}})}var f=function(){function t(e){(0,r.A)(this,t),this.core={observe:o.lQ,disconnect:o.lQ,takeRecords:o.lQ}}return(0,i.A)(t,[{key:"observe",value:function(){var t;(t=this.core).observe.apply(t,arguments)}},{key:"disconnect",value:function(){this.core.disconnect()}},{key:"takeRecords",value:function(){return this.core.takeRecords()}}],[{key:"record",value:function(t){d(t)}}])}()},6326:function(t,e,n){"use strict";n.d(e,{$:function(){return A}});var r=n(3029),i=n(2901),o=n(6919),a=n(5311),u=n(9413),c=n(5501),s=n(7225),l=n(6021),d=n(7766),f=n(2709),h=n(1702),v=n(4733),p=function(){function t(e,n){var i=this;(0,r.A)(this,t),this.tokenList=[],this.el=n,e.trim().split(/\s+/).forEach(function(t){return i.tokenList.push(t)})}return(0,i.A)(t,[{key:"value",get:function(){return this.toString()}},{key:"length",get:function(){return this.tokenList.length}},{key:"add",value:function(){var t=0,e=!1,n=arguments,r=n.length,i=this.tokenList;do{var o=n[t];this.checkTokenIsValid(o)&&!~i.indexOf(o)&&(i.push(o),e=!0)}while(++t0}},{key:"focus",get:function(){return function(){this.setAttribute(f.L_,!0)}},set:function(t){this.setAttribute(f.L_,t)}},{key:"blur",value:function(){this.setAttribute(f.L_,!1)}},{key:"setAttribute",value:function(t,e){var n=this.nodeName===f.gR&&!(0,v.Vg)(this)&&!this.isAnyEventBinded();switch(t!==f.Y&&h._.record({target:this,type:"attributes",attributeName:t,oldValue:this.getAttribute(t)}),t){case f.Y:this.style.cssText=e;break;case f.ID:this.uid!==this.sid&&g.K.delete(this.uid),e=String(e),this.props[t]=this.uid=e,g.K.set(e,this);break;default:this.props[t]=e,t.startsWith("data-")&&(this.dataset===s.MZ&&(this.dataset=Object.create(null)),this.dataset[(0,s.Cb)(t.replace(/^data-/,""))]=e);break}if(this._root){var r=(0,v.dg)(),i=r[this.nodeName],o=r[f.gR]._num,a=r[f.Ru]._num,u=r[f.fx]._num,c=r[f.QJ]._num,p=this._path;t=(0,v.Oc)(t);var m=(0,s.Cb)(t),b={path:"".concat(p,".").concat(m),value:(0,d.Tn)(e)?function(){return e}:e};if(l.JL.call("modifySetAttrPayload",this,t,b,r),i){var y=i[m]||t;b.path="".concat(p,".").concat((0,s.Cb)(y))}this.enqueueUpdate(b),this.nodeName===f.gR&&(m===f.x_?this.enqueueUpdate({path:"".concat(p,".","nn"),value:e?c:this.isOnlyClickBinded()&&!(0,v.Vg)(this)?a:this.isAnyEventBinded()?o:u}):n&&(0,v.Vg)(this)&&this.enqueueUpdate({path:"".concat(p,".","nn"),value:u}))}}},{key:"removeAttribute",value:function(t){var e=this.nodeName===f.gR&&(0,v.Vg)(this)&&!this.isAnyEventBinded();if(h._.record({target:this,type:"attributes",attributeName:t,oldValue:this.getAttribute(t)}),t===f.Y)this.style.cssText="";else{var n=l.JL.call("onRemoveAttribute",this,t);if(n)return;if(!this.props.hasOwnProperty(t))return;delete this.props[t]}if(this._root){var r=(0,v.dg)(),i=r[this.nodeName],o=r[f.gR]._num,a=r[f.fx]._num,u=r[f.PD]._num,c=r[f.Ru]._num,d=this._path;t=(0,v.Oc)(t);var p=(0,s.Cb)(t),g={path:"".concat(d,".").concat(p),value:""};if(l.JL.call("modifyRmAttrPayload",this,t,g,r),i){var m=i[p]||t;g.path="".concat(d,".").concat((0,s.Cb)(m))}this.enqueueUpdate(g),this.nodeName===f.gR&&(p===f.x_?this.enqueueUpdate({path:"".concat(d,".","nn"),value:this.isOnlyClickBinded()&&!(0,v.Vg)(this)?c:this.isAnyEventBinded()?o:(0,v.Vg)(this)?a:u}):e&&!(0,v.Vg)(this)&&this.enqueueUpdate({path:"".concat(d,".","nn"),value:u}))}}},{key:"getAttribute",value:function(t){var e=t===f.Y?this.style.cssText:this.props[t];return null!==e&&void 0!==e?e:""}},{key:"getElementsByTagName",value:function(t){var e=this;return k(this,function(n){return n.nodeName===t||"*"===t&&e!==n})}},{key:"getElementsByClassName",value:function(t){var e=t.trim().split(/\s+/);return k(this,function(t){var n=t.classList;return e.every(function(t){return n.contains(t)})})}},{key:"dispatchEvent",value:function(t){var e=t.cancelable,n=this.__handlers[t.type];if(!(0,d.cy)(n))return!1;for(var r=n.length;r--;){var i=n[r],o=void 0;if(i._stop?i._stop=!1:(l.JL.call("modifyDispatchEvent",t,this),o=i.call(this,t)),(!1===o||t._end)&&e&&(t.defaultPrevented=!0),!(0,d.b0)(o)&&t.mpEvent){var a=l.JL.call("modifyTaroEventReturn",this,t,o);a&&(t.mpEvent[f.HT]=o)}if(t._end&&t._stop)break}return t._stop&&this._stopPropagation(t),null!=n}},{key:"addEventListener",value:function(t,n,r){var i=this.nodeName,o=l.JL.call("getSpecialNodes"),u=!0;if((0,d.Gv)(r)&&!1===r.sideEffect&&(u=!1,delete r.sideEffect),l.JL.call("modifyAddEventListener",this,u,v.dg),!1!==u&&!this.isAnyEventBinded()&&o.indexOf(i)>-1){var c=(0,v.dg)(),s=c[i]._num;this.enqueueUpdate({path:"".concat(this._path,".","nn"),value:s})}(0,a.A)(e,"addEventListener",this,3)([t,n,r])}},{key:"removeEventListener",value:function(t,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];(0,a.A)(e,"removeEventListener",this,3)([t,n]);var i=this.nodeName,o=l.JL.call("getSpecialNodes");if(l.JL.call("modifyRemoveEventListener",this,r,v.dg),!1!==r&&!this.isAnyEventBinded()&&o.indexOf(i)>-1){var u=(0,v.dg)(),c=(0,v.Vg)(this)?"static-".concat(i):"pure-".concat(i),s=u[c]._num;this.enqueueUpdate({path:"".concat(this._path,".","nn"),value:s})}}}],[{key:"extend",value:function(t,n){(0,v.X$)(e,t,n)}}])}(m.X)},9452:function(t,e,n){"use strict";n.d(e,{K:function(){return s}});var r=n(3029),i=n(2901),o=n(6919),a=n(5501),u=n(3437),c=function(t){function e(){return(0,r.A)(this,e),(0,o.A)(this,e,arguments)}return(0,a.A)(e,t),(0,i.A)(e,[{key:"removeNode",value:function(t){var e=t.sid,n=t.uid;this.delete(e),n!==e&&n&&this.delete(n)}},{key:"removeNodeTree",value:function(t){var e=this;this.removeNode(t);var n=t.childNodes;n.forEach(function(t){return e.removeNodeTree(t)})}}])}((0,u.A)(Map)),s=new c},6696:function(t,e,n){"use strict";n.d(e,{$r:function(){return p},F1:function(){return g},Nd:function(){return d},lh:function(){return f}});var r=n(3029),i=n(2901),o=n(7225),a=n(7766),u=n(6021),c=n(2709),s=n(9260),l=n(4733),d=function(){function t(e,n,i){(0,r.A)(this,t),this._stop=!1,this._end=!1,this.defaultPrevented=!1,this.button=0,this.timeStamp=Date.now(),this.type=e.toLowerCase(),this.mpEvent=i,this.bubbles=Boolean(n&&n.bubbles),this.cancelable=Boolean(n&&n.cancelable)}return(0,i.A)(t,[{key:"stopPropagation",value:function(){this._stop=!0}},{key:"stopImmediatePropagation",value:function(){this._end=this._stop=!0}},{key:"preventDefault",value:function(){this.defaultPrevented=!0}},{key:"target",get:function(){var t,e,n,r,i,a=this.cacheTarget;if(a)return a;var u=Object.create((null===(t=this.mpEvent)||void 0===t?void 0:t.target)||null),c=s.A.document.getElementById((null===(e=u.dataset)||void 0===e?void 0:e.sid)||u.id||null),l=s.A.document.getElementById((null===(n=u.targetDataset)||void 0===n?void 0:n.sid)||(null===(r=u.dataset)||void 0===r?void 0:r.sid)||u.id||null);for(var d in u.dataset=Object.assign(Object.assign({},null!==c?c.dataset:o.MZ),null!==l?l.dataset:o.MZ),null===(i=this.mpEvent)||void 0===i?void 0:i.detail)u[d]=this.mpEvent.detail[d];return this.cacheTarget=u,u}},{key:"currentTarget",get:function(){var t,e,n,r,i,o,a,u,c=this.cacheCurrentTarget;if(c)return c;var l=s.A.document,d=Object.create((null===(t=this.mpEvent)||void 0===t?void 0:t.currentTarget)||null),f=l.getElementById((null===(e=d.dataset)||void 0===e?void 0:e.sid)||d.id||null),h=l.getElementById((null===(i=null===(r=null===(n=this.mpEvent)||void 0===n?void 0:n.target)||void 0===r?void 0:r.dataset)||void 0===i?void 0:i.sid)||(null===(a=null===(o=this.mpEvent)||void 0===o?void 0:o.target)||void 0===a?void 0:a.id)||null);if(null===f||f&&f===h)return this.cacheCurrentTarget=this.target,this.target;for(var v in d.dataset=f.dataset,null===(u=this.mpEvent)||void 0===u?void 0:u.detail)d[v]=this.mpEvent.detail[v];return this.cacheCurrentTarget=d,d}}])}();function f(t,e){if("string"===typeof t)return new d(t,{bubbles:!0,cancelable:!0});var n=new d(t.type,{bubbles:!0,cancelable:!0},t);for(var r in t)r!==c.m$&&r!==c.Qn&&r!==c.ZE&&r!==c.GK&&(n[r]=t[r]);return n.type===c.nG&&(null===e||void 0===e?void 0:e.nodeName)===c.bO&&(n[c.OC]=13),n}var h={};function v(t){var e=t[c.HT];return(0,a.b0)(e)||delete t[c.HT],e}function p(t){var e,n;void 0===t.type&&Object.defineProperty(t,"type",{value:t._type}),void 0===t.detail&&Object.defineProperty(t,"detail",{value:t._detail||Object.assign({},t)}),t.currentTarget=t.currentTarget||t.target||Object.assign({},t),u.JL.call("modifyMpEventImpl",t);var r=t.currentTarget,i=(null===(e=r.dataset)||void 0===e?void 0:e.sid)||r.id||(null===(n=t.detail)||void 0===n?void 0:n.id)||"",o=s.A.document.getElementById(i);if(o){var a=function(){var e=f(t,o);u.JL.call("modifyTaroEvent",e,o),u.JL.call("dispatchTaroEvent",e,o),u.JL.call("dispatchTaroEventFinish",e,o)};if(!u.JL.isExist("batchedEventUpdates"))return a(),v(t);var d=t.type;if(!u.JL.call("isBubbleEvents",d)||!(0,l.Bv)(o,d)||d===c.vx&&o.props.catchMove)return u.JL.call("batchedEventUpdates",function(){h[d]&&(h[d].forEach(function(t){return t()}),delete h[d]),a()}),v(t);(h[d]||(h[d]=[])).push(a)}}function g(t,e,n){Object.assign(n,{mpEvent:n,bubbles:!0,cancelable:!0}),e(n,t)}},8480:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(3029),i=n(2901),o=n(6919),a=n(5311),u=n(5501),c=n(2709),s=n(6326),l=function(t){function e(){return(0,r.A)(this,e),(0,o.A)(this,e,arguments)}return(0,u.A)(e,t),(0,i.A)(e,[{key:"type",get:function(){var t;return null!==(t=this.props[c.ZE])&&void 0!==t?t:""},set:function(t){this.setAttribute(c.ZE,t)}},{key:"value",get:function(){var t=this.props[c.Qg];return null==t?"":t},set:function(t){this.setAttribute(c.Qg,t)}},{key:"dispatchEvent",value:function(t){if(t.mpEvent){var n=t.mpEvent.detail.value;t.type===c.PL?this.props.value=n:t.type===c.bO&&(this.value=n)}return(0,a.A)(e,"dispatchEvent",this,3)([t])}}])}(s.$)},3897:function(t,e,n){"use strict";n.d(e,{X:function(){return y}});var r=n(3029),i=n(2901),o=n(6919),a=n(5501),u=n(7225),c=n(6021),s=n(2709),l=n(1702),d=n(9260),f=n(8132),h=n(4733),v=n(9452),p=n(7766),g=function(){function t(){(0,r.A)(this,t),this.__handlers={}}return(0,i.A)(t,[{key:"addEventListener",value:function(t,e,n){if(t=t.toLowerCase(),c.JL.call("onAddEvent",t,e,n,this),"regionchange"===t)return this.addEventListener("begin",e,n),void this.addEventListener("end",e,n);Boolean(n);var r=!1;if((0,p.Gv)(n)&&(Boolean(n.capture),r=Boolean(n.once)),r){var i=function(){e.apply(this,arguments),this.removeEventListener(t,i)};this.addEventListener(t,i,Object.assign(Object.assign({},n),{once:!1}))}else{var o=e;e=function(){return o.apply(this,arguments)},e.oldHandler=o;var a=this.__handlers[t];(0,p.cy)(a)?a.push(e):this.__handlers[t]=[e]}}},{key:"removeEventListener",value:function(t,e){if(t=t.toLowerCase(),"regionchange"===t)return this.removeEventListener("begin",e),void this.removeEventListener("end",e);if(e){var n=this.__handlers[t];if((0,p.cy)(n)){var r=n.findIndex(function(t){if(t===e||t.oldHandler===e)return!0});n.splice(r,1)}}}},{key:"isAnyEventBinded",value:function(){var t=this.__handlers,e=Object.keys(t).find(function(e){return t[e].length});return Boolean(e)}},{key:"isOnlyClickBinded",value:function(){var t=this.__handlers,e=t.tap&&1===Object.keys(t).length;return Boolean(e)}}])}(),m="cn",b=(0,h.F$)(),y=function(t){function e(){var t;return(0,r.A)(this,e),t=(0,o.A)(this,e),t.parentNode=null,t.childNodes=[],t.hydrate=function(t){return function(){return(0,f.Q)(t)}},t.uid="_"+b(),t.sid=t.uid,v.K.set(t.sid,t),t}return(0,a.A)(e,t),(0,i.A)(e,[{key:"updateChildNodes",value:function(t){var e=this,n=function(){return[]},r=function(){var t=e.childNodes.filter(function(t){return!(0,h.Cn)(t)});return t.map(f.Q)};this.enqueueUpdate({path:"".concat(this._path,".").concat(m),value:t?n:r})}},{key:"updateSingleChild",value:function(t){var e=this;this.childNodes.forEach(function(n,r){(0,h.Cn)(n)||t&&ri?this.updateChildNodes():this.updateSingleChild(i)}else{var u=1===o;u?this.updateChildNodes():this.enqueueUpdate({path:t._path,value:this.hydrate(t)})}return l._.record({type:"childList",target:this,addedNodes:[t],removedNodes:n?[e]:[],nextSibling:n?e.nextSibling:e||null,previousSibling:t.previousSibling}),t}},{key:"appendChild",value:function(t){return this.insertBefore(t)}},{key:"replaceChild",value:function(t,e){if(e.parentNode===this)return this.insertBefore(t,e,!0),e.remove({doUpdate:!1}),e}},{key:"removeChild",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.cleanRef,r=e.doUpdate;!1!==n&&!1!==r&&l._.record({type:"childList",target:this,removedNodes:[t],nextSibling:t.nextSibling,previousSibling:t.previousSibling});var i=this.findIndex(t);return this.childNodes.splice(i,1),t.parentNode=null,!1!==n&&v.K.removeNodeTree(t),this._root&&!1!==r&&this.updateChildNodes(),t}},{key:"remove",value:function(t){var e;null===(e=this.parentNode)||void 0===e||e.removeChild(this,t)}},{key:"hasChildNodes",value:function(){return this.childNodes.length>0}},{key:"enqueueUpdate",value:function(t){var e;null===(e=this._root)||void 0===e||e.enqueueUpdate(t)}},{key:"ownerDocument",get:function(){return d.A.document}}],[{key:"extend",value:function(t,n){(0,h.X$)(e,t,n)}}])}(g)},9602:function(t,e,n){"use strict";n.d(e,{p:function(){return p}});var r=n(4467),i=n(3029),o=n(2901),a=n(6919),u=n(5501),c=n(7766),s=n(6021),l=n(2709),d=n(7768),f=n(4733),h=n(6326);function v(t,e){var n,r=e.slice(1),i=t,o="";if(r.some(function(t,r){var a=t.replace(/^\[(.+)\]$/,"$1").replace(/\bcn\b/g,"childNodes");if(i=i[a],(0,c.cy)(i)&&(i=i.filter(function(t){return!(0,f.Cn)(t)})),(0,c.b0)(i))return!0;if(i.nodeName===l.qb){var u=f.DD.get(i.sid);u&&(n=u,o=e.slice(r+2).join("."))}}),n)return{customWrapper:n,splitedPath:o}}var p=function(t){function e(){var t;return(0,i.A)(this,e),t=(0,a.A)(this,e),t.updatePayloads=[],t.updateCallbacks=[],t.pendingUpdate=!1,t.ctx=null,t.nodeName=l.r7,t.tagName=l.r7.toUpperCase(),t}return(0,u.A)(e,t),(0,o.A)(e,[{key:"_path",get:function(){return l.r7}},{key:"_root",get:function(){return this}},{key:"scheduleTask",value:function(t){setTimeout(t)}},{key:"enqueueUpdate",value:function(t){this.updatePayloads.push(t),!this.pendingUpdate&&this.ctx&&this.performUpdate()}},{key:"performUpdate",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0;this.pendingUpdate=!0;var i=s.JL.call("proxyToRaw",this.ctx);this.scheduleTask(function(){var o="".concat(l.M9," \u5f00\u59cb\u65f6\u95f4\u6233 ").concat(Date.now());d.k.start(o);var a=Object.create(null),u=new Set(e?["root.cn.[0]","root.cn[0]"]:[]);while(t.updatePayloads.length>0){var s=t.updatePayloads.shift(),f=s.path,h=s.value;f.endsWith("cn")&&u.add(f),a[f]=h}var p=function(t){u.forEach(function(e){t.includes(e)&&t!==e&&delete a[t]});var e=a[t];(0,c.Tn)(e)&&(a[t]=e())};for(var g in a)p(g);if((0,c.Tn)(n))return n(a);t.pendingUpdate=!1;var m={},b=new Map;if(e)m=a;else for(var y in a){var k=y.split("."),w=v(t,k);if(w){var A=w.customWrapper,E=w.splitedPath;b.set(A,Object.assign(Object.assign({},b.get(A)||{}),(0,r.A)({},"i.".concat(E),a[y])))}else m[y]=a[y]}var S=b.size,C=Object.keys(m).length>0,T=S+(C?1:0),x=0,L=function(){++x===T&&(d.k.stop(o),t.flushUpdateCallback(),e&&d.k.stop(l.zP))};S&&b.forEach(function(t,e){e.setData(t,L)}),C&&i.setData(m,L)})}},{key:"enqueueUpdateCallback",value:function(t,e){this.updateCallbacks.push(function(){e?t.call(e):t()})}},{key:"flushUpdateCallback",value:function(){var t=this.updateCallbacks;if(t.length){var e=t.slice(0);this.updateCallbacks.length=0;for(var n=0;n2?n-2:0),i=2;i-1?t.substring(0,n):t).concat(T(e))}function L(t){return t+"."+f.IB}function I(t){return t+"."+f._0}function P(t){return t+"."+f.XT}function N(t,e,n,s){var b,A,E=null!==e&&void 0!==e?e:"taro_page_".concat(w()),S=(0,o.A)(a.JL.call("getMiniLifecycleImpl").page,7),T=S[0],N=S[1],O=S[2],_=S[3],R=S[4],M=S[5],B=S[6],D=null,G=!1,F=[];function j(t){var e=t.route||t.__route__||t.$taroPath;h.E.router={params:t.$taroParams,path:(0,y.tb)(e),$taroPath:t.$taroPath,onReady:L(E),onShow:I(E),onHide:P(E)},(0,u.b0)(t.exitState)||(h.E.router.exitState=t.exitState)}var U=(0,i.A)((0,i.A)((0,i.A)((0,i.A)((0,i.A)({},T,function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;A=new Promise(function(t){b=t}),m.k.start(f.zP),h.E.page=this,this.config=s||{};var i=Object.assign({},n,{$taroTimestamp:Date.now()}),o=this.$taroPath=x(E,i);null==this.$taroParams&&(this.$taroParams=i),j(this),d.mw.trigger(f.oF.INIT,o);var a=function(){h.E.app.mount(t,o,function(){D=g.A.document.getElementById(o),(0,c.D8)(null!==D,"\u6ca1\u6709\u627e\u5230\u9875\u9762\u5b9e\u4f8b\u3002"),C(o,f.zV,e.$taroParams),b(),D.ctx=e,D.performUpdate(!0,r)})};G?F.push(a):a()}),N,function(){var t=this.$taroPath;d.mw.trigger(f.oF.DESTROY,t),C(t,N),G=!0,h.E.app.unmount(t,function(){G=!1,k.delete(t),D&&(D.ctx=null,D=null),F.length&&(F.forEach(function(t){return t()}),F=[])})}),O,function(){var t=this;A.then(function(){C(t.$taroPath,f.IB),(0,l.er)(function(){return p.k.trigger(L(E))}),t.onReady.called=!0})}),_,function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};A.then(function(){h.E.page=t,j(t),d.mw.trigger(f.oF.RECOVER,t.$taroPath),C(t.$taroPath,f._0,e),(0,l.er)(function(){return p.k.trigger(I(E))})})}),R,function(){d.mw.trigger(f.oF.RESTORE,this.$taroPath),h.E.page===this&&(h.E.page=null,h.E.router=null),C(this.$taroPath,f.XT),p.k.trigger(P(E))});var V=!1;return M.forEach(function(t){var e=!1;t=t.replace(/^defer:/,function(){return e=!0,""}),t=t.replace(/^events:/,function(){return""}),U[t]=function(){var n=arguments,i=this,o=function(){return C.apply(void 0,[i.$taroPath,t].concat((0,r.A)(n)))};return V?o():e?void A.then(o):o()}}),B.forEach(function(e){var n;(t[e]||(null===(n=t.prototype)||void 0===n?void 0:n[e])||t[e.replace(/^on/,"enable")]||(null===s||void 0===s?void 0:s[e.replace(/^on/,"enable")]))&&(U[e]=function(){for(var t,n=arguments.length,r=new Array(n),i=0;i-1&&(t.isAnyEventBinded()||(f["nn"]="static-".concat(n),n!==c.gR||(0,s.Vg)(t)||(f["nn"]=c.PD)),n===c.gR&&t.isOnlyClickBinded()&&!(0,s.Vg)(t)&&(f["nn"]=c.Ru));var h=t.props;for(var v in h){var p=(0,u.Cb)(v);v.startsWith("data-")||v===c.tp||v===c.Y||v===c.ID||p===c.x_||p===c.Su||(f[p]=h[v]),n===c.gR&&p===c.x_&&!1!==h[v]&&(f["nn"]=c.QJ),p===c.Su&&(d=h[v])}f["cn"]=t.childNodes.filter(function(t){return!(0,s.Cn)(t)}).map(l),""!==t.className&&(f["cl"]=t.className);var g=t.cssText;""!==g&&"swiper-item"!==n&&(f["st"]=g),a.JL.call("modifyHydrateData",f,t);var m=f["nn"],b=i[m];if(b)for(var y in f["nn"]=b._num,f)y in b&&(f[b[y]]=f[y],delete f[y]);null!==d&&(f["nn"]=d);var k=a.JL.call("transferHydrateData",f,t,b);return k||f}},4490:function(t,e,n){"use strict";n.r(e),n.d(e,{A:function(){return kt.A},APP:function(){return kt.uq},BEHAVIORS:function(){return kt.UX},BODY:function(){return kt.$p},CATCHMOVE:function(){return kt.x_},CATCH_VIEW:function(){return kt.QJ},CHANGE:function(){return kt.PL},CLASS:function(){return kt.tp},CLICK_VIEW:function(){return kt.Ru},COMMENT:function(){return kt.YK},COMPILE_MODE:function(){return kt.Su},CONFIRM:function(){return kt.nG},CONTAINER:function(){return kt.MR},CONTEXT_ACTIONS:function(){return kt.oF},CURRENT_TARGET:function(){return kt.m$},CUSTOM_WRAPPER:function(){return kt.qb},Current:function(){return wt.E},DATASET:function(){return kt.zO},DATE:function(){return kt.vH},DOCUMENT_ELEMENT_NAME:function(){return kt.$8},DOCUMENT_FRAGMENT:function(){return kt.FY},EVENT_CALLBACK_RESULT:function(){return kt.HT},EXTERNAL_CLASSES:function(){return kt.d_},Events:function(){return X.s},FOCUS:function(){return kt.L_},FormElement:function(){return ft.Z},HEAD:function(){return kt.Vx},HOOKS_APP_ID:function(){return kt.Vu},HTML:function(){return kt.g3},History:function(){return rt.B},ID:function(){return kt.ID},INPUT:function(){return kt.bO},KEY_CODE:function(){return kt.OC},Location:function(){return it.a},MutationObserver:function(){return yt._},OBJECT:function(){return kt.qv},ON_HIDE:function(){return kt.XT},ON_LOAD:function(){return kt.zV},ON_READY:function(){return kt.IB},ON_SHOW:function(){return kt._0},OPTIONS:function(){return kt.lw},PAGE_INIT:function(){return kt.zP},PROPERTY_THRESHOLD:function(){return kt.Yb},PROPS:function(){return kt.n5},PURE_VIEW:function(){return kt.PD},ROOT_STR:function(){return kt.r7},SET_DATA:function(){return kt.M9},SET_TIMEOUT:function(){return kt.DO},STATIC_VIEW:function(){return kt.fx},STYLE:function(){return kt.Y},SVGElement:function(){return mt},Style:function(){return vt.O},TARGET:function(){return kt.Qn},TARO_RUNTIME:function(){return kt.Me},TIME_STAMP:function(){return kt.GK},TOUCHMOVE:function(){return kt.vx},TYPE:function(){return kt.ZE},TaroElement:function(){return lt.$},TaroEvent:function(){return dt.Nd},TaroNode:function(){return i.X},TaroRootElement:function(){return ht.p},TaroText:function(){return bt.s},UID:function(){return kt.V0},URL:function(){return ut.l},URLSearchParams:function(){return ct.I},VALUE:function(){return kt.Qg},VIEW:function(){return kt.gR},addLeadingSlash:function(){return Nt.tb},cancelAnimationFrame:function(){return at.Ny},convertNumber2PX:function(){return Lt.h6},createComponentConfig:function(){return Et.sq},createEvent:function(){return dt.lh},createPageConfig:function(){return Et.eU},createRecursiveComponentConfig:function(){return Et.s$},customWrapperCache:function(){return Lt.DD},debounce:function(){return Pt.s},document:function(){return et.F},env:function(){return Q.A},eventCenter:function(){return St.k},eventHandler:function(){return dt.$r},eventHandlerTTDom:function(){return dt.F1},eventSource:function(){return At.K},extend:function(){return Lt.X$},getComponentsAlias:function(){return Lt.dg},getComputedStyle:function(){return nt.S},getCurrentInstance:function(){return wt.n},getCurrentPage:function(){return Nt.p$},getHomePage:function(){return Nt.rE},getOnHideEventKey:function(){return Et.pW},getOnReadyEventKey:function(){return Et.sQ},getOnShowEventKey:function(){return Et.Er},getPageInstance:function(){return Et.zk},getPath:function(){return Et.Yn},handlePolyfill:function(){return It},hasBasename:function(){return Nt.lA},history:function(){return st.UW},hooks:function(){return tt.JL},hydrate:function(){return Ct.Q},incrementId:function(){return Lt.F$},injectPageInstance:function(){return Et.wT},isComment:function(){return Lt.Cn},isElement:function(){return Lt.vq},isHasExtractProp:function(){return Lt.Vg},isParentBound:function(){return Lt.Bv},isText:function(){return Lt.KH},location:function(){return st.fC},navigator:function(){return ot.C},nextTick:function(){return Tt.d},now:function(){return at.tB},options:function(){return o.f},parseUrl:function(){return ut.D},perf:function(){return xt.k},removePageInstance:function(){return Et.RW},requestAnimationFrame:function(){return at.er},safeExecute:function(){return Et.V5},setInnerHTML:function(){return Z},shortcutAttr:function(){return Lt.Oc},stringify:function(){return Et.As},stripBasename:function(){return Nt.pb},stripSuffix:function(){return Nt.yK},stripTrailing:function(){return Nt.Hl},throttle:function(){return Pt.n},window:function(){return st.mw}});var r=n(8885),i=n(3897),o=n(9489),a=n(5544),u=n(7766),c=n(3029),s=n(2901);function l(){return{index:0,column:0,line:0}}function d(t,e,n){for(var r=t.index,i=t.index=r+n,o=r;oe;i--){var o=n.charAt(i);if(!p(o)){if(m(o))return!1;break}}for(var a=t+1;a"===o);if(a)break;i++}var u=i+1;while(u"===c);if(!s)break;u++}f(n,e,u);var l=e.slice(i,u);return this.tokens.push({type:t,content:l}),l}},{key:"scanAttrs",value:function(){var t=this.html,e=this.position,n=this.tokens,r=e.index,i=null,o=r,a=[],u=t.length;while(r"===c;if(l){r!==o&&a.push(t.slice(o,r));break}if(w(r,o,t))r!==o&&a.push(t.slice(o,r)),o=r+1,r++;else{var d="'"===c||'"'===c;d?(i=c,r++):r++}}}f(e,t,r);for(var h=a.length,v="attribute",p=0;p1){var y=g+b;n.push({type:v,content:y}),p+=1;continue}var k=a[p+2];if(p+=1,k){var A=g+"="+k;n.push({type:v,content:A}),p+=1;continue}}}if(g.endsWith("=")){var E=a[p+1];if(E&&!E.includes("=")){var S=g+E;n.push({type:v,content:S}),p+=1;continue}var C=g.slice(0,-1);n.push({type:v,content:C})}else n.push({type:v,content:g})}}},{key:"scanSkipTag",value:function(t){var e=this.html,n=this.position,r=t.toLowerCase(),i=e.length;while(n.index]*>((.|\n|\s)+?)<\/style>/g,r=t;return r=r.replace(n,function(t,n){var r=n.trim();return e.stringToSelector(r),""}),r.trim()}},{key:"stringToSelector",value:function(t){var e=this,n=t.indexOf(S),r=function(){var r=t.indexOf(C),i=t.slice(0,n).trim(),o=t.slice(n+1,r);o=o.replace(/:(.*);/g,function(t,e){var n=e.trim().replace(/ +/g,"+++");return":".concat(n,";")}),o=o.replace(/ /g,""),o=o.replace(/\+\+\+/g," "),/;$/.test(o)||(o+=";"),i.split(",").forEach(function(t){var n=e.parseSelector(t);e.styles.push({content:o,selectorList:n})}),t=t.slice(r+1),n=t.indexOf(S)};while(n>-1)r()}},{key:"parseSelector",value:function(t){var e=t.trim().replace(/ *([>~+]) */g," $1").replace(/ +/g," ").replace(/\[\s*([^[\]=\s]+)\s*=\s*([^[\]=\s]+)\s*\]/g,"[$1=$2]").split(" "),n=e.map(function(t){var e=t.charAt(0),n={isChild:e===L,isGeneralSibling:e===I,isAdjacentSibling:e===P,tag:null,id:null,class:[],attrs:[]};return t=t.replace(/^[>~+]/,""),t=t.replace(/\[(.+?)\]/g,function(t,e){var r=e.split("="),i=(0,a.A)(r,2),o=i[0],u=i[1],c=-1===e.indexOf("="),s={all:c,key:o,value:c?null:u};return n.attrs.push(s),""}),t=t.replace(/([.#][A-Za-z0-9-_]+)/g,function(t,e){return e[0]===x?n.id=e.substr(1):e[0]===T&&n.class.push(e.substr(1)),""}),""!==t&&(n.tag=t),n});return n}},{key:"matchStyle",value:function(t,e,n){var r=this,i=_(this.styles).reduce(function(i,o,a){var u=o.content,c=o.selectorList,s=n[a],l=c[s],d=c[s+1];((null===d||void 0===d?void 0:d.isGeneralSibling)||(null===d||void 0===d?void 0:d.isAdjacentSibling))&&(l=d,s+=1,n[a]+=1);var f=r.matchCurrent(t,e,l);if(f&&l.isGeneralSibling){var h=O(e);while(h){if(h.h5tagName&&r.matchCurrent(h.h5tagName,h,c[s-1])){f=!0;break}h=O(h),f=!1}}if(f&&l.isAdjacentSibling){var v=O(e);if(v&&v.h5tagName){var p=r.matchCurrent(v.h5tagName,v,c[s-1]);p||(f=!1)}else f=!1}if(f){if(s===c.length-1)return i+u;s0&&(n[a]-=1,r.matchCurrent(t,e,c[n[a]])&&(n[a]+=1));return i},"");return i}},{key:"matchCurrent",value:function(t,e,n){if(n.tag&&n.tag!==t)return!1;if(n.id&&n.id!==e.id)return!1;if(n.class.length)for(var r=e.className.split(" "),i=0;i=0){var i=e[r].tagName;if(i===t)break;if(n&&n.includes(i))return!0;r--}}return!1}function K(t){return o.f.html.renderHTMLTag?t:F[t]?F[t]:U(t)?t:H(t)?"view":V(t)?"text":"view"}function z(t){var e="=",n=t.indexOf(e);if(-1===n)return[t];var r=t.slice(0,n).trim(),i=t.slice(n+e.length).trim();return[r,i]}function Y(t,e,n,r){return t.filter(function(t){return"comment"!==t.type&&("text"!==t.type||""!==t.content)}).map(function(t){if("text"===t.type){var i=e.createTextNode(t.content);return(0,u.Tn)(o.f.html.transformText)&&(i=o.f.html.transformText(i,t)),null===r||void 0===r||r.appendChild(i),i}var c=e.createElement(K(t.tagName));c.h5tagName=t.tagName,null===r||void 0===r||r.appendChild(c),o.f.html.renderHTMLTag||(c.className="h5-".concat(t.tagName));for(var s=0;s-1)if(n[l].tagName===s){d=!0;break}while(r0){if(s===n[p].tagName){n.splice(p);var g=p-1;a=n[g].children;break}p-=1}}var m=[],b=void 0;while(ro?u():setTimeout(function(){return s()},20)}s()}},9489:function(t,e,n){"use strict";n.d(e,{f:function(){return r}});var r={prerender:!0,debug:!1}},7768:function(t,e,n){"use strict";n.d(e,{k:function(){return d}});var r,i,o=n(3029),a=n(2901),u=n(1635),c=n(9489),s=n(9924),l=function(){function t(){(0,o.A)(this,t),r.add(this),this.recorder=new Map}return(0,a.A)(t,[{key:"start",value:function(t){c.f.debug&&this.recorder.set(t,Date.now())}},{key:"stop",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();if(c.f.debug){var n=this.recorder.get(t);if(n>=0){this.recorder.delete(t);var o=e-n;console.log("".concat(t," \u65f6\u957f\uff1a ").concat(o,"ms \u5f00\u59cb\u65f6\u95f4\uff1a").concat((0,u.gn)(this,r,"m",i).call(this,n)," \u7ed3\u675f\u65f6\u95f4\uff1a").concat((0,u.gn)(this,r,"m",i).call(this,e)))}}}},{key:"delayStop",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;if(c.f.debug)return(0,s.s)(function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Date.now(),r=arguments.length>1?arguments[1]:void 0;e.stop(t,n),null===r||void 0===r||r()},n)}}])}();r=new WeakSet,i=function(t){var e=new Date(t);return"".concat(e.getHours(),":").concat(e.getMinutes(),":").concat(e.getSeconds(),".").concat("".concat(e.getMilliseconds()).padStart(3,"0"))};var d=new l},2587:function(t,e,n){"use strict";n.d(e,{b:function(){return o}});var r=n(3029),i=n(2901),o=function(){function t(e){(0,r.A)(this,t),this.cache=new Map,this.name=e}return(0,i.A)(t,[{key:"has",value:function(t){return this.cache.has(t)}},{key:"set",value:function(t,e){t&&e&&this.cache.set(t,e)}},{key:"get",value:function(t){if(this.has(t))return this.cache.get(t)}},{key:"delete",value:function(t){this.cache.delete(t)}}])}()},4733:function(t,e,n){"use strict";n.d(e,{Bv:function(){return h},Cn:function(){return d},DD:function(){return g},F$:function(){return c},KH:function(){return l},Oc:function(){return v},Vg:function(){return f},X$:function(){return m},dg:function(){return b},h6:function(){return y},vq:function(){return s}});var r=n(436),i=n(7766),o=n(7225),a=n(6570),u=n(2709),c=function(){for(var t=[],e=65;e<=90;e++)t.push(e);for(var n=97;n<=122;n++)t.push(n);var i=t.length-1,o=[0,0];return function(){var e=o.map(function(e){return t[e]}),n=String.fromCharCode.apply(String,(0,r.A)(e)),a=o.length-1;o[a]++;while(o[a]>i){if(o[a]=0,a-=1,a<0){o.push(0);break}o[a]++}return n}};function s(t){return 1===t.nodeType}function l(t){return 3===t.nodeType}function d(t){return t.nodeName===u.YK}function f(t){var e=Object.keys(t.props).find(function(t){return!(/^(class|style|id)$/.test(t)||t.startsWith("data-"))});return Boolean(e)}function h(t,e){var n;while(t=(null===t||void 0===t?void 0:t.parentElement)||null){if(!t||t.nodeName===u.r7||"root-portal"===t.nodeName)return!1;if(null===(n=t.__handlers[e])||void 0===n?void 0:n.length)return!0}return!1}function v(t){switch(t){case u.Y:return"st";case u.ID:return u.V0;case u.tp:return"cl";default:return t}}var p,g=new Map;function m(t,e,n){(0,i.Tn)(n)&&(n={value:n}),Object.defineProperty(t.prototype,e,Object.assign({configurable:!0,enumerable:!0},n))}function b(){return p||(p=(0,o.dg)(a.YN)),p}function y(t){return t+"px"}},9924:function(t,e,n){"use strict";function r(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:250,r=arguments.length>2?arguments[2]:void 0,i=0;return function(){for(var o=arguments.length,a=new Array(o),u=0;un?(t.apply(this,a),i=s):(clearTimeout(e),e=setTimeout(function(){i=s,t.apply(c,a)},n))}}function i(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:250,r=arguments.length>2?arguments[2]:void 0;return function(){for(var i=arguments.length,o=new Array(i),a=0;a0&&void 0!==arguments[0]?arguments[0]:"";return"/"===t.charAt(0)?t:"/"+t},a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return new RegExp("^"+e+"(\\/|\\?|#|$)","i").test(t)||t===e},u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return a(t,e)?t.substring(e.length):t},c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.replace(/[?#][\s\S]*$/,"")},s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t.includes(e)?t.substring(0,t.length-e.length):t},l=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",c=o(u(e,n)),s=(null===(t=Object.entries(i).find(function(t){var e=(0,r.A)(t,1),n=e[0];return n===c}))||void 0===t?void 0:t[1])||c;return a||("string"===typeof s?s:s[0])||n},d=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"hash",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",n="hash"===t?i.fC.hash.slice(1).split("?")[0]:i.fC.pathname;return o(u(n,e))}},6570:function(t,e,n){"use strict";n.d(e,{Ig:function(){return Q},YN:function(){return Z}});var r="[]",i="",o="!0",a="!1",u={bindTouchStart:i,bindTouchMove:i,bindTouchEnd:i,bindTouchCancel:i,bindLongTap:i},c={animation:i,bindAnimationStart:i,bindAnimationIteration:i,bindAnimationEnd:i,bindTransitionEnd:i};function s(t){return"'".concat(t,"'")}var l=Object.assign(Object.assign({"hover-class":s("none"),"hover-stop-propagation":a,"hover-start-time":"50","hover-stay-time":"400"},u),c),d={type:i,size:"23",color:i},f=Object.assign({longitude:i,latitude:i,scale:"16",markers:r,covers:i,polyline:r,circles:r,controls:r,"include-points":r,"show-location":i,"layer-style":"1",bindMarkerTap:i,bindControlTap:i,bindCalloutTap:i,bindUpdated:i},u),h={percent:i,"stroke-width":"6",color:s("#09BB07"),activeColor:s("#09BB07"),backgroundColor:s("#EBEBEB"),active:a,"active-mode":s("backwards"),"show-info":a},v={nodes:r},p=Object.assign({selectable:a,space:i,decode:a},u),g=Object.assign({size:s("default"),type:i,plain:a,disabled:i,loading:a,"form-type":i,"open-type":i,"hover-class":s("button-hover"),"hover-stop-propagation":a,"hover-start-time":"20","hover-stay-time":"70",name:i,bindagreeprivacyauthorization:i},u),m={value:i,disabled:i,checked:a,color:s("#09BB07"),name:i},b={bindChange:i,name:i},y={"report-submit":a,bindSubmit:i,bindReset:i,name:i},k={value:i,type:s(i),password:a,placeholder:i,"placeholder-style":i,"placeholder-class":s("input-placeholder"),disabled:i,maxlength:"140","cursor-spacing":"0",focus:a,"confirm-type":s("done"),"confirm-hold":a,cursor:"-1","selection-start":"-1","selection-end":"-1",bindInput:i,bindFocus:i,bindBlur:i,bindConfirm:i,name:i},w=Object.assign({for:i,name:i},u),A={mode:s("selector"),disabled:i,range:i,"range-key":i,value:i,start:i,end:i,fields:s("day"),"custom-item":i,name:i,bindCancel:i,bindChange:i,bindColumnChange:i},E={value:i,"indicator-style":i,"indicator-class":i,"mask-style":i,"mask-class":i,bindChange:i,name:i},S={name:i},C={value:i,checked:a,disabled:i,color:s("#09BB07"),name:i},T={bindChange:i,name:i},x={min:"0",max:"100",step:"1",disabled:i,value:"0",activeColor:s("#1aad19"),backgroundColor:s("#e9e9e9"),"block-size":"28","block-color":s("#ffffff"),"show-value":a,bindChange:i,bindChanging:i,name:i},L={checked:a,disabled:i,type:s("switch"),color:s("#04BE02"),bindChange:i,name:i},I={value:i,placeholder:i,"placeholder-style":i,"placeholder-class":s("textarea-placeholder"),disabled:i,maxlength:"140","auto-focus":a,focus:a,"auto-height":a,fixed:a,"cursor-spacing":"0",cursor:"-1","selection-start":"-1","selection-end":"-1",bindFocus:i,bindBlur:i,bindLineChange:i,bindInput:i,bindConfirm:i,name:i},P={src:i,bindLoad:"eh",bindError:"eh"},N=Object.assign({"scroll-top":a},u),O={"scale-area":a},_=Object.assign(Object.assign({direction:"none",inertia:a,"out-of-bounds":a,x:i,y:i,damping:"20",friction:"2",disabled:i,scale:a,"scale-min":"0.5","scale-max":"10","scale-value":"1",bindChange:i,bindScale:i,bindHTouchMove:i,bindVTouchMove:i,width:s("10px"),height:s("10px")},u),c),R=Object.assign(Object.assign({"scroll-x":a,"scroll-y":a,"upper-threshold":"50","lower-threshold":"50","scroll-top":i,"scroll-left":i,"scroll-into-view":i,"scroll-with-animation":a,"enable-back-to-top":a,bindScrollToUpper:i,bindScrollToLower:i,bindScroll:i},u),c),M=Object.assign({"indicator-dots":a,"indicator-color":s("rgba(0, 0, 0, .3)"),"indicator-active-color":s("#000000"),autoplay:a,current:"0",interval:"5000",duration:"500",circular:a,vertical:a,"previous-margin":s("0px"),"next-margin":s("0px"),"display-multiple-items":"1",bindChange:i,bindTransition:i,bindAnimationFinish:i},u),B={"item-id":i},D={url:i,"open-type":s("navigate"),delta:"1","hover-class":s("navigator-hover"),"hover-stop-propagation":a,"hover-start-time":"50","hover-stay-time":"600",bindSuccess:i,bindFail:i,bindComplete:i},G={id:i,src:i,loop:a,controls:a,poster:i,name:i,author:i,bindError:i,bindPlay:i,bindPause:i,bindTimeUpdate:i,bindEnded:i},F={"device-position":s("back"),flash:s("auto"),bindStop:i,bindError:i},j=Object.assign({src:i,mode:s("scaleToFill"),"lazy-load":a,bindError:i,bindLoad:i},u),U=Object.assign({src:i,autoplay:a,muted:a,orientation:s("vertical"),"object-fit":s("contain"),"background-mute":a,"min-cache":"1","max-cache":"3",bindStateChange:i,bindFullScreenChange:i,bindNetStatus:i},c),V=Object.assign({src:i,duration:i,controls:o,"danmu-list":i,"danmu-btn":i,"enable-danmu":i,autoplay:a,loop:a,muted:a,"initial-time":"0","page-gesture":a,direction:i,"show-progress":o,"show-fullscreen-btn":o,"show-play-btn":o,"show-center-play-btn":o,"enable-progress-gesture":o,"object-fit":s("contain"),poster:i,"show-mute-btn":a,bindPlay:i,bindPause:i,bindEnded:i,bindTimeUpdate:i,bindFullScreenChange:i,bindWaiting:i,bindError:i},c),H=Object.assign({"canvas-id":i,"disable-scroll":a,bindError:i},u),W={"unit-id":i,"ad-intervals":i,bindLoad:i,bindError:i,bindClose:i},$={src:i,bindMessage:i,bindLoad:i,bindError:i},K={},z={name:i},Y={name:i},q={name:i},J={},Z={View:l,Icon:d,Progress:h,RichText:v,Text:p,Button:g,Checkbox:m,CheckboxGroup:b,Form:y,Input:k,Label:w,Picker:A,PickerView:E,PickerViewColumn:S,Radio:C,RadioGroup:T,Slider:x,Switch:L,CoverImage:P,Textarea:I,CoverView:N,MovableArea:O,MovableView:_,ScrollView:R,Swiper:M,SwiperItem:B,Navigator:D,Audio:G,Camera:F,Image:j,LivePlayer:U,Video:V,Canvas:H,Ad:W,WebView:$,Block:K,Map:f,Slot:Y,SlotView:z,NativeSlot:q,Script:J},Q=new Set(["input","checkbox","picker","picker-view","radio","slider","switch","textarea"]);new Set(["input","textarea"]),new Set(["progress","icon","rich-text","input","textarea","slider","switch","audio","ad","official-account","open-data","navigation-bar"]),new Map([["view",-1],["catch-view",-1],["cover-view",-1],["static-view",-1],["pure-view",-1],["click-view",-1],["block",-1],["text",-1],["static-text",6],["slot",8],["slot-view",8],["label",6],["form",4],["scroll-view",4],["swiper",4],["swiper-item",4]])},8885:function(t,e,n){"use strict";var r;n.d(e,{bI:function(){return i},lp:function(){return o},pD:function(){return r}}),function(t){t["MINI"]="mini",t["ASCF"]="ascf",t["WEB"]="web",t["RN"]="rn",t["HARMONY"]="harmony",t["QUICK"]="quickapp"}(r||(r={}));r.WEB,r.HARMONY,r.ASCF,r.MINI,r.RN,r.QUICK;var i=new Set(["page-container","slot","custom-wrapper","clue-order-form","aweme-group","pay-button","address-area","consume-card","aweme-data","rate-button","store-area","inline-payment-panel","aweme-user-card","aweme-live-book","draw-ad","lynx-view","flow-ad","ai-agent-chat","component"]),o=new Set(["view","scroll-view","swiper","cover-view","cover-image","icon","text","rich-text","progress","button","checkbox","form","input","label","picker","picker-view","picker-view-column","radio","radio-group","checkbox-group","slider","switch","textarea","navigator","audio","image","video","camera","live-player","live-pusher","map","canvas","open-data","web-view","swiper-item","movable-area","movable-view","functional-page-navigator","ad","block","import","official-account","editor"]);new Set(["animation-iteration-count","border-image-outset","border-image-slice","border-image-width","box-flex","box-flex-group","box-ordinal-group","column-count","columns","flex","flex-grow","flex-positive","flex-shrink","flex-negative","flex-order","grid-area","grid-row","grid-row-end","grid-row-span","grid-row-start","grid-column","grid-column-end","grid-column-span","grid-column-start","font-weight","line-clamp","line-height","opacity","order","orphans","tab-size","widows","z-index","zoom","fill-opacity","flood-opacity","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-miterlimit","stroke-opacity","stroke-width"])},7819:function(t,e,n){"use strict";n.d(e,{s:function(){return a}});var r=n(2284),i=n(3029),o=n(2901),a=function(){function t(e){var n;(0,i.A)(this,t),this.callbacks=null!==(n=null===e||void 0===e?void 0:e.callbacks)&&void 0!==n?n:{}}return(0,o.A)(t,[{key:"on",value:function(e,n,i){var o,a,u;if(!n)return this;u="symbol"===(0,r.A)(e)?[e]:e.split(t.eventSplitter),this.callbacks||(this.callbacks={});var c=this.callbacks;while(o=u.shift()){var s=c[o],l=s?s.tail:{};l.next=a={},l.context=i,l.callback=n,c[o]={tail:a,next:s?s.next:l}}return this}},{key:"once",value:function(t,e,n){var r=this,i=function(){for(var o=arguments.length,a=new Array(o),u=0;u1?u-1:0),s=1;s1?s-1:0),d=1;de?1:-1:r?-1:i||t>=e?1:-1}).forEach(function(n,r){var i={_num:String(r)};Object.keys(t[n]).filter(function(t){return!/^bind/.test(t)&&!["focus","blur","$duplicateFromComponent"].includes(t)}).sort().forEach(function(t,e){i[c(t)]="p"+e}),e[u(n)]=i}),e}function b(t,e){var n=e||i.JL,r=Object.keys(t);r.forEach(function(e){n.tap(e,t[e])})}function y(t){return function(){console.warn("\u5c0f\u7a0b\u5e8f\u6682\u4e0d\u652f\u6301 ".concat(t))}}function k(t,e){var n="__key_",r=["navigateTo","redirectTo","reLaunch","switchTab"];if(r.indexOf(t)>-1){var i=e.url=e.url||"",o=i.indexOf("?")>-1,a=v();e.url+=(o?"&":"?")+"".concat(n,"=").concat(a)}}function w(){return!1}(function(t){t[t["V1"]=1]="V1",t[t["V2"]=2]="V2"})(p||(p={}))},758:function(t,e,n){var r=n(4490),i=r.hooks,o=n(3114).A;i.isExist("initNativeApi")&&i.call("initNativeApi",o),t.exports=o,t.exports["default"]=t.exports},5838:function(t,e,n){"use strict";var r=n(8870);Component((0,r.s$)())},2736:function(t,e,n){"use strict";var r=n(8870);Component((0,r.s$)("custom-wrapper"))}}]);