LinuxConfig/LarkShell/PC_Gadget/7195161935556460547/app/cli_9cb844403dbb9108/2.16.2010/taro.js

3 lines
99 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

define("taro.js",(function(e,t,n,r,o,i,a,s,c,u,l,d,p,h,f,v,m,g,b,y,w,_,O,E){
/*! For license information please see taro.js.LICENSE.txt */
(tt.webpackJsonp=tt.webpackJsonp||[]).push([[3],{1:function(e,t,n){"use strict";n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return b})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return w})),n.d(t,"g",(function(){return g})),n.d(t,"h",(function(){return u})),n.d(t,"i",(function(){return l})),n.d(t,"j",(function(){return d})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return h})),n.d(t,"m",(function(){return o})),n.d(t,"n",(function(){return m})),n.d(t,"o",(function(){return f})),n.d(t,"p",(function(){return i})),n.d(t,"q",(function(){return v})),n.d(t,"r",(function(){return r}));var r="view",o="rich-text",i="text",a="button",s="checkbox",c="checkbox-group",u="input",l="label",d="picker",p="radio",h="radio-group",f="switch",v="textarea",m="scroll-view",g="image",b="canvas",y="block",w="customized-input"},1028:function(e,t,n){"use strict";var r=n(46),o=new Set(["getNFCAdapter","onWindowResize","offWindowResize","getCustomizedInput"]),i=new Set(["startDeviceCredential","mailto","startPasswordVerify","checkWatermark","openSchema","docsPicker","filePicker","showPrompt","getBlockActionSourceDetail","getWifiStatus","getChatInfo","onChatBadgeChange","offChatBadgeChange","getHostLaunchQuery","setBLEMTU","connectBLEDevice","disconnectBLEDevice","chooseChat","sendMessageCard","share","toggleChat","chooseContact","enterProfile","enterChat","enterBot","exitMiniProgram","startFaceVerify"]);var a=function(){for(var e={},t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((t=>{Object.keys(t).forEach((n=>{n in e?Object.assign(e[n],t[n]):e[n]=Object.assign({},t[n])}))})),e}({Icon:{size:"24"},Progress:{color:Object(r.singleQuote)("#F85959"),"active-color":Object(r.singleQuote)("#F85959"),"background-color":Object(r.singleQuote)("#EBEBEB")},PickerView:{bindpickover:""},Video:{"auto-fullscreen":"false"},WebView:{"progressbar-color":Object(r.singleQuote)("#51a0d8")},Editor:{contents:"{}",placeholder:"","read-only":"false",plugins:"[]",placeholderStyle:"{}","adit-style":"","auto-height":"false",bindready:"",bindinput:"",bindinsertimage:"",bindmentionselect:"",bindmentionclick:"",bindgetfileinfo:"",bindeditorclick:"",bindatfinder:"",bindblur:""}},{View:{bindmouseenter:"",bindmouseleave:""},Button:{shape:Object(r.singleQuote)("default")},Video:{"show-download-btn":"false"},CustomizedInput:{data:"{}",showReminder:"false",showReminderAvatar:"false",placeholder:"",placeholderStyle:"",disabled:"false",focus:"false",enableRemind:"",reminderSuggestions:"[]",bindinput:"",bindconfirm:"",binddelete:"",bindfocus:"",bindblur:""}}),s=a,c={initNativeApi:function(e){Object(r.processApis)(e,tt,{noPromiseApis:o,needPromiseApis:i})}};Object(r.mergeReconciler)(c),Object(r.mergeInternalComponents)(s)},1029:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(46),o=n(1030),i=n(1031),a={initNativeApi(e){var t=e.miniGlobal;r.processApis(e,t,{noPromiseApis:i.noPromiseApis,needPromiseApis:i.needPromiseApis,isOnlyPromisify:!0})}};r.mergeReconciler(a),r.mergeInternalComponents(o.components)},1030:function(e,t,n){"use strict";n.r(t),n.d(t,"components",(function(){return r}));var r={ScrollView:{"show-scroll-bar":"false"},Picker:{"popup-container":""}}},1031:function(e,t,n){"use strict";n.r(t),n.d(t,"noPromiseApis",(function(){return r})),n.d(t,"needPromiseApis",(function(){return o}));var r=new Set([]),o=new Set([])},1032:function(e,t,n){"use strict";n.r(t),function(e,r){var o=n(731),i=n.n(o),a=n(769),s=n.n(a),c=n(772),u=n.n(c),l=n(773),d=n.n(l),p=n(770),h=n.n(p),f=n(43);"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t}),"function"!=typeof Object.defineProperties&&(Object.defineProperties=function(e,t){function n(e){function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function n(e){return"function"==typeof e}if("object"!==i()(e)||null===e)throw new TypeError("bad desc");var r={};if(t(e,"enumerable")&&(r.enumerable=!!e.enumerable),t(e,"configurable")&&(r.configurable=!!e.configurable),t(e,"value")&&(r.value=e.value),t(e,"writable")&&(r.writable=!!e.writable),t(e,"get")){var o=e.get;if(!n(o)&&void 0!==o)throw new TypeError("bad get");r.get=o}if(t(e,"set")){var a=e.set;if(!n(a)&&void 0!==a)throw new TypeError("bad set");r.set=a}if(("get"in r||"set"in r)&&("value"in r||"writable"in r))throw new TypeError("identity-confused descriptor");return r}if("object"!==i()(e)||null===e)throw new TypeError("bad obj");t=Object(t);for(var r=Object.keys(t),o=[],a=0;a<r.length;a++)o.push([r[a],n(t[r[a]])]);for(var s=0;s<o.length;s++)Object.defineProperty(e,o[s][0],o[s][1]);return e});var v={WEAPP:"WEAPP",WEB:"WEB",RN:"RN",SWAN:"SWAN",ALIPAY:"ALIPAY",TT:"TT",QQ:"QQ",JD:"JD",KWAI:"KWAI"},m=null;var g=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;u()(this,e),this.index=r,this.requestParams=t,this.interceptors=n}return d()(e,[{key:"proceed",value:function(e){if(this.requestParams=e,this.index>=this.interceptors.length)throw new Error("chain 参数错误, 请勿直接修改 request.chain");var t=this._getNextInterceptor()(this._getNextChain()),n=t.catch((function(e){return Promise.reject(e)}));return"function"==typeof t.abort&&(n.abort=t.abort),n}},{key:"_getNextInterceptor",value:function(){return this.interceptors[this.index]}},{key:"_getNextChain",value:function(){return new e(this.requestParams,this.interceptors,this.index+1)}}]),e}(),b=function(){function e(t){u()(this,e),this.taroInterceptor=t,this.chain=new g}return d()(e,[{key:"request",value:function(e){var t=this;return this.chain.interceptors=this.chain.interceptors.filter((function(e){return e!==t.taroInterceptor})),this.chain.interceptors.push(this.taroInterceptor),this.chain.proceed(s()({},e))}},{key:"addInterceptor",value:function(e){this.chain.interceptors.push(e)}},{key:"cleanInterceptors",value:function(){this.chain=new g}}]),e}();var y=Object.freeze({__proto__:null,timeoutInterceptor:function(e){var t,n=e.requestParams,r=new Promise((function(r,o){var i=setTimeout((function(){i=null,o(new Error("网络链接超时,请稍后再试!"))}),n&&n.timeout||6e4);(t=e.proceed(n)).then((function(e){i&&(clearTimeout(i),r(e))})).catch((function(e){i&&clearTimeout(i),o(e)}))}));return void 0!==t&&"function"==typeof t.abort&&(r.abort=t.abort),r},logInterceptor:function(e){var t=e.requestParams,n=t.method,r=t.data,o=t.url;console.log("http ".concat(n||"GET"," --\x3e ").concat(o," data: "),r);var i=e.proceed(t),a=i.then((function(e){return console.log("http <-- ".concat(o," result:"),e),e}));return"function"==typeof i.abort&&(a.abort=i.abort),a}});function w(e){return function(t){var n=t.designWidth,r=void 0===n?750:n,o=t.deviceRatio,i=void 0===o?{640:1.17,750:1,828:.905}:o;e.config=e.config||{},e.config.designWidth=r,e.config.deviceRatio=i}}var _={Behavior:function(e){return e},getEnv:function(){return m||("undefined"!=typeof jd&&jd.getSystemInfo?(m=v.JD,v.JD):"undefined"!=typeof qq&&qq.getSystemInfo?(m=v.QQ,v.QQ):"undefined"!=typeof tt&&tt.getSystemInfo?(m=v.TT,v.TT):"undefined"!=typeof wx&&wx.getSystemInfo?(m=v.WEAPP,v.WEAPP):"undefined"!=typeof swan&&swan.getSystemInfo?(m=v.SWAN,v.SWAN):"undefined"!=typeof my&&my.getSystemInfo?(m=v.ALIPAY,v.ALIPAY):"undefined"!=typeof ks&&ks.getSystemInfo?(m=v.KWAI,v.KWAI):void 0!==e&&e.__fbGenNativeModule?(m=v.RN,v.RN):void 0!==r?(m=v.WEB,v.WEB):"Unknown environment")},ENV_TYPE:v,Link:b,interceptors:y,Current:f.Current,getCurrentInstance:f.getCurrentInstance,options:f.options,nextTick:f.nextTick,eventCenter:f.eventCenter,Events:f.Events,useDidShow:f.useDidShow,useDidHide:f.useDidHide,usePullDownRefresh:f.usePullDownRefresh,useReachBottom:f.useReachBottom,usePageScroll:f.usePageScroll,useResize:f.useResize,useShareAppMessage:f.useShareAppMessage,useTabItemTap:f.useTabItemTap,useTitleClick:f.useTitleClick,useOptionMenuClick:f.useOptionMenuClick,usePullIntercept:f.usePullIntercept,useShareTimeline:f.useShareTimeline,useAddToFavorites:f.useAddToFavorites,useReady:f.useReady,useRouter:f.useRouter,getInitPxTransform:w};_.initPxTransform=w(_),_.preload=function(e){return function(t,n){"object"===i()(t)?e.preloadData=t:void 0!==t&&void 0!==n&&(e.preloadData=h()({},t,n))}}(f.Current),_.pxTransform=function(e){return function(t){var n=e.config||{},r=n.designWidth,o=void 0===r?750:r,i=n.deviceRatio,a=void 0===i?{640:1.17,750:1,828:.905}:i;if(!(o in a))throw new Error("deviceRatio 配置中不存在 ".concat(o," 的设置!"));return parseInt(t,10)*a[o]+"rpx"}}(_),t.default=_}.call(this,n(347),n(43).window)},1476:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(43);Component(r.createRecursiveComponentConfig("custom-wrapper"))},19:function(e,t,n){var{container:r,SERVICE_IDENTIFIER:o}=n(43),i=n(1032).default,a=r.get(o.Hooks);"function"==typeof a.initNativeApi&&a.initNativeApi(i),e.exports=i,e.exports.default=e.exports},43:function(e,t,n){"use strict";n.r(t),function(e,r,o,i,s,c){n.d(t,"Current",(function(){return xn})),n.d(t,"ElementNames",(function(){return $})),n.d(t,"Events",(function(){return Nn})),n.d(t,"FormElement",(function(){return vt})),n.d(t,"SERVICE_IDENTIFIER",(function(){return f})),n.d(t,"SVGElement",(function(){return mt})),n.d(t,"Style",(function(){return de})),n.d(t,"TaroElement",(function(){return me})),n.d(t,"TaroEvent",(function(){return pn})),n.d(t,"TaroNode",(function(){return W})),n.d(t,"TaroRootElement",(function(){return ft})),n.d(t,"TaroText",(function(){return V})),n.d(t,"cancelAnimationFrame",(function(){return kn})),n.d(t,"connectReactPage",(function(){return tr})),n.d(t,"connectVuePage",(function(){return cr})),n.d(t,"container",(function(){return dn})),n.d(t,"createComponentConfig",(function(){return Jn})),n.d(t,"createDocument",(function(){return yn})),n.d(t,"createEvent",(function(){return hn})),n.d(t,"createNativeComponentConfig",(function(){return sr})),n.d(t,"createPageConfig",(function(){return Gn})),n.d(t,"createReactApp",(function(){return or})),n.d(t,"createRecursiveComponentConfig",(function(){return Kn})),n.d(t,"createVue3App",(function(){return lr})),n.d(t,"createVueApp",(function(){return ur})),n.d(t,"document",(function(){return _n})),n.d(t,"eventCenter",(function(){return Bn})),n.d(t,"getComputedStyle",(function(){return Pn})),n.d(t,"getCurrentInstance",(function(){return In})),n.d(t,"hydrate",(function(){return H})),n.d(t,"injectPageInstance",(function(){return Mn})),n.d(t,"navigator",(function(){return Sn})),n.d(t,"nextTick",(function(){return kr})),n.d(t,"now",(function(){return wn})),n.d(t,"options",(function(){return dt})),n.d(t,"processPluginHooks",(function(){return sn})),n.d(t,"requestAnimationFrame",(function(){return jn})),n.d(t,"stringify",(function(){return $n})),n.d(t,"useAddToFavorites",(function(){return Tr})),n.d(t,"useDidHide",(function(){return hr})),n.d(t,"useDidShow",(function(){return pr})),n.d(t,"useOptionMenuClick",(function(){return _r})),n.d(t,"usePageScroll",(function(){return mr})),n.d(t,"usePullDownRefresh",(function(){return fr})),n.d(t,"usePullIntercept",(function(){return Or})),n.d(t,"useReachBottom",(function(){return vr})),n.d(t,"useReady",(function(){return Sr})),n.d(t,"useResize",(function(){return gr})),n.d(t,"useRouter",(function(){return Cr})),n.d(t,"useScope",(function(){return jr})),n.d(t,"useShareAppMessage",(function(){return br})),n.d(t,"useShareTimeline",(function(){return Er})),n.d(t,"useTabItemTap",(function(){return yr})),n.d(t,"useTitleClick",(function(){return wr})),n.d(t,"window",(function(){return An})),n(9);var u=n(59),l=n(46);function d(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function p(e,t){return function(n,r){t(n,r,e)}}function h(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}!function(t){!function(e){var n=function(e,t){return function(n,r){"function"!=typeof e[n]&&Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}(t);e(n)}((function(t){var n=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,o=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",i=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",a="function"==typeof Object.create,s={__proto__:[]}instanceof Array,c=!a&&!s,u={create:a?function(){return D(Object.create(null))}:s?function(){return D({__proto__:null})}:function(){return D({})},has:c?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:c?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},l=Object.getPrototypeOf(Function),d="object"==typeof e&&{GIT_SHORT:"03ea7a3",GIT_LONG:"03ea7a38b729b3bbd728f9e122dff3a86ccdb566",GIT_BRANCH:"release_train_2023-09-21_212295",GIT_MESSAGE:"Merge branch 'update-version/20230926' into 'release_train_2023-09-21_212295'\n\nfeat: [ticket] 托管火车占位 (train id 212295) [skipped]\n\nSee merge request ea/approval!4094",NODE_ENV:"production",BUILD_ENV:"online",BUILD_BASE_COMMIT_HASH:"03ea7a38b729b3bbd728f9e122dff3a86ccdb566",BUILD_BRANCH:"release_train_2023-09-21_212295",BUILD_VERSION:"1.0.0.1782"}&&"true"==={GIT_SHORT:"03ea7a3",GIT_LONG:"03ea7a38b729b3bbd728f9e122dff3a86ccdb566",GIT_BRANCH:"release_train_2023-09-21_212295",GIT_MESSAGE:"Merge branch 'update-version/20230926' into 'release_train_2023-09-21_212295'\n\nfeat: [ticket] 托管火车占位 (train id 212295) [skipped]\n\nSee merge request ea/approval!4094",NODE_ENV:"production",BUILD_ENV:"online",BUILD_BASE_COMMIT_HASH:"03ea7a38b729b3bbd728f9e122dff3a86ccdb566",BUILD_BRANCH:"release_train_2023-09-21_212295",BUILD_VERSION:"1.0.0.1782"}.REFLECT_METADATA_USE_MAP_POLYFILL,p=d||"function"!=typeof Map||"function"!=typeof Map.prototype.entries?function(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[i]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,o=n+1;o<r;o++)this._keys[o-1]=this._keys[o],this._values[o-1]=this._values[o];return this._keys.length--,this._values.length--,t===this._cacheKey&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,r)},t.prototype.values=function(){return new n(this._keys,this._values,o)},t.prototype.entries=function(){return new n(this._keys,this._values,a)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[i]=function(){return this.entries()},t.prototype._find=function(e,t){return this._cacheKey!==e&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=e)),this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function r(e,t){return e}function o(e,t){return t}function a(e,t){return[e,t]}}():Map,h=d||"function"!=typeof Set||"function"!=typeof Set.prototype.entries?function(){function e(){this._map=new p}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.values()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[i]=function(){return this.keys()},e}():Set,f=d||"function"!=typeof WeakMap?function(){var e=u.create(),t=r();return function(){function e(){this._key=r()}return e.prototype.has=function(e){var t=o(e,!1);return void 0!==t&&u.has(t,this._key)},e.prototype.get=function(e){var t=o(e,!1);return void 0!==t?u.get(t,this._key):void 0},e.prototype.set=function(e,t){return o(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=o(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=r()},e}();function r(){var t;do{t="@@WeakMap@@"+a()}while(u.has(e,t));return e[t]=!0,t}function o(e,r){if(!n.call(e,t)){if(!r)return;Object.defineProperty(e,t,{value:u.create()})}return e[t]}function i(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function a(){var e=function(e){return"function"==typeof Uint8Array?"undefined"!=typeof crypto?crypto.getRandomValues(new Uint8Array(e)):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(new Uint8Array(e)):i(new Uint8Array(e),e):i(new Array(e),e)}(16);e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var t="",n=0;n<16;++n){var r=e[n];4!==n&&6!==n&&8!==n||(t+="-"),r<16&&(t+="0"),t+=r.toString(16).toLowerCase()}return t}}():WeakMap,v=new f;function m(e,t,n){var r=v.get(e);if(S(r)){if(!n)return;r=new p,v.set(e,r)}var o=r.get(t);if(S(o)){if(!n)return;o=new p,r.set(t,o)}return o}function g(e,t,n){if(b(e,t,n))return!0;var r=M(t);return!C(r)&&g(e,r,n)}function b(e,t,n){var r=m(t,n,!1);return!S(r)&&function(e){return!!e}(r.has(e))}function y(e,t,n){if(b(e,t,n))return w(e,t,n);var r=M(t);return C(r)?void 0:y(e,r,n)}function w(e,t,n){var r=m(t,n,!1);if(!S(r))return r.get(e)}function _(e,t,n,r){m(n,r,!0).set(e,t)}function O(e,t){var n=E(e,t),r=M(e);if(null===r)return n;var o=O(r,t);if(o.length<=0)return n;if(n.length<=0)return o;for(var i=new h,a=[],s=0,c=n;s<c.length;s++){var u=c[s],l=i.has(u);l||(i.add(u),a.push(u))}for(var d=0,p=o;d<p.length;d++)u=p[d],(l=i.has(u))||(i.add(u),a.push(u));return a}function E(e,t){var n=[],r=m(e,t,!1);if(S(r))return n;for(var o=B(r.keys()),i=0;;){var a=R(o);if(!a)return n.length=i,n;var s=F(a);try{n[i]=s}catch(e){try{L(o)}finally{throw e}}i++}}function T(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function S(e){return void 0===e}function C(e){return null===e}function j(e){return"object"==typeof e?null!==e:"function"==typeof e}function k(e,t){switch(T(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var n=3===t?"string":5===t?"number":"default",r=N(e,o);if(void 0!==r){var i=r.call(e,n);if(j(i))throw new TypeError;return i}return function(e,t){if("string"===t){var n=e.toString;if(x(n)){var r=n.call(e);if(!j(r))return r}var o=e.valueOf;if(x(o)&&!j(r=o.call(e)))return r}else{if(x(o=e.valueOf)&&!j(r=o.call(e)))return r;var i=e.toString;if(x(i)&&!j(r=i.call(e)))return r}throw new TypeError}(e,"default"===n?"number":n)}function P(e){var t=k(e,3);return function(e){return"symbol"==typeof e}(t)?t:function(e){return""+e}(t)}function A(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function x(e){return"function"==typeof e}function I(e){return"function"==typeof e}function N(e,t){var n=e[t];if(null!=n){if(!x(n))throw new TypeError;return n}}function B(e){var t=N(e,i);if(!x(t))throw new TypeError;var n=t.call(e);if(!j(n))throw new TypeError;return n}function F(e){return e.value}function R(e){var t=e.next();return!t.done&&t}function L(e){var t=e.return;t&&t.call(e)}function M(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===l)return t;if(t!==l)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var o=r.constructor;return"function"!=typeof o||o===e?t:o}function D(e){return e.__=void 0,delete e.__,e}t("decorate",(function(e,t,n,r){if(S(n)){if(!A(e))throw new TypeError;if(!I(t))throw new TypeError;return function(e,t){for(var n=e.length-1;n>=0;--n){var r=(0,e[n])(t);if(!S(r)&&!C(r)){if(!I(r))throw new TypeError;t=r}}return t}(e,t)}if(!A(e))throw new TypeError;if(!j(t))throw new TypeError;if(!j(r)&&!S(r)&&!C(r))throw new TypeError;return C(r)&&(r=void 0),function(e,t,n,r){for(var o=e.length-1;o>=0;--o){var i=(0,e[o])(t,n,r);if(!S(i)&&!C(i)){if(!j(i))throw new TypeError;r=i}}return r}(e,t,n=P(n),r)})),t("metadata",(function(e,t){return function(n,r){if(!j(n))throw new TypeError;if(!S(r)&&!function(e){switch(T(e)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;_(e,t,n,r)}})),t("defineMetadata",(function(e,t,n,r){if(!j(n))throw new TypeError;return S(r)||(r=P(r)),_(e,t,n,r)})),t("hasMetadata",(function(e,t,n){if(!j(t))throw new TypeError;return S(n)||(n=P(n)),g(e,t,n)})),t("hasOwnMetadata",(function(e,t,n){if(!j(t))throw new TypeError;return S(n)||(n=P(n)),b(e,t,n)})),t("getMetadata",(function(e,t,n){if(!j(t))throw new TypeError;return S(n)||(n=P(n)),y(e,t,n)})),t("getOwnMetadata",(function(e,t,n){if(!j(t))throw new TypeError;return S(n)||(n=P(n)),w(e,t,n)})),t("getMetadataKeys",(function(e,t){if(!j(e))throw new TypeError;return S(t)||(t=P(t)),O(e,t)})),t("getOwnMetadataKeys",(function(e,t){if(!j(e))throw new TypeError;return S(t)||(t=P(t)),E(e,t)})),t("deleteMetadata",(function(e,t,n){if(!j(t))throw new TypeError;S(n)||(n=P(n));var r=m(t,n,!1);if(S(r))return!1;if(!r.delete(e))return!1;if(r.size>0)return!0;var o=v.get(t);return o.delete(n),o.size>0||v.delete(t),!0}))}))}(Reflect||(Reflect={}));var f={TaroElement:"TaroElement",TaroElementFactory:"Factory<TaroElement>",TaroText:"TaroText",TaroTextFactory:"Factory<TaroText>",TaroNodeImpl:"TaroNodeImpl",TaroElementImpl:"TaroElementImpl",Hooks:"hooks",onRemoveAttribute:"onRemoveAttribute",getLifecycle:"getLifecycle",getPathIndex:"getPathIndex",getEventCenter:"getEventCenter",isBubbleEvents:"isBubbleEvents",getSpecialNodes:"getSpecialNodes",eventCenter:"eventCenter",modifyMpEvent:"modifyMpEvent",modifyTaroEvent:"modifyTaroEvent",batchedEventUpdates:"batchedEventUpdates",mergePageInstance:"mergePageInstance",createPullDownComponent:"createPullDownComponent",getDOMNode:"getDOMNode",initNativeApi:"initNativeApi",modifyHydrateData:"modifyHydrateData",modifySetAttrPayload:"modifySetAttrPayload",modifyRmAttrPayload:"modifyRmAttrPayload",onAddEvent:"onAddEvent",patchElement:"patchElement"},v="taro-app",m="小程序 setData",g="页面初始化",b="root",y="document-fragment",w="id",_="class",O="style",E="focus",T="view",S="static-view",C="pure-view",j="props",k="dataset",P="object",A="value",x="input",I="catchMove",N="catch-view",B="comment",F=()=>{var e=0;return()=>(e++).toString()};function R(e){return 1===e.nodeType}function L(e){return e.nodeName===B}function M(e){var t=Object.keys(e.props).find((e=>!(/^(class|style|id)$/.test(e)||e.startsWith("data-"))));return Boolean(t)}function D(e){switch(e){case O:return"st";case w:return"uid";case _:return"cl";default:return e}}var U=class{constructor(e){this.__handlers={},this.hooks=e}addEventListener(e,t,n){var r,o;if(null===(o=(r=this.hooks).onAddEvent)||void 0===o||o.call(r,e,t,n,this),"regionchange"===e)return this.addEventListener("begin",t,n),void this.addEventListener("end",t,n);e=e.toLowerCase();var i=this.__handlers[e],a=(Boolean(n),!1);if(Object(l.isObject)(n)&&(Boolean(n.capture),a=Boolean(n.once)),a){this.addEventListener(e,(function n(){t.apply(this,arguments),this.removeEventListener(e,n)}),Object.assign(Object.assign({},n),{once:!1}))}else Object(l.isArray)(i)?i.push(t):this.__handlers[e]=[t]}removeEventListener(e,t){if(e=e.toLowerCase(),null!=t){var n=this.__handlers[e];if(Object(l.isArray)(n)){var r=n.indexOf(t);n.splice(r,1)}}}isAnyEventBinded(){var e=this.__handlers,t=Object.keys(e).find((t=>e[t].length));return Boolean(t)}};function H(e){var t,n,r=e.nodeName;if(function(e){return 3===e.nodeType}(e))return{v:e.nodeValue,nn:r};var o={nn:r,uid:e.uid},{props:i}=e,a=e.hooks.getSpecialNodes();for(var s in!e.isAnyEventBinded()&&a.indexOf(r)>-1&&(o.nn="static-".concat(r),r!==T||M(e)||(o.nn=C)),i){var c=Object(l.toCamelCase)(s);s.startsWith("data-")||s===_||s===O||s===w||c===I||(o[c]=i[s]),r===T&&c===I&&!1!==i[s]&&(o.nn=N)}var{childNodes:u}=e;return u=u.filter((e=>!L(e))),u.length>0?o.cn=u.map(H):o.cn=[],""!==e.className&&(o.cl=e.className),""!==e.cssText&&"swiper-item"!==r&&(o.st=e.cssText),null===(n=(t=e.hooks).modifyHydrateData)||void 0===n||n.call(t,o),o}U=d([Object(u.d)(),p(0,Object(u.c)(f.Hooks)),h("design:paramtypes",[Object])],U);var $,q=new Map;!function(e){e.Element="Element",e.Document="Document",e.RootElement="RootElement",e.FormElement="FormElement"}($||($={}));var z=F(),W=class extends U{constructor(e,t,n){super(n),this.parentNode=null,this.childNodes=[],this.hydrate=e=>()=>H(e),e.bind(this),this._getElement=t,this.uid="_n_".concat(z()),q.set(this.uid,this)}_empty(){for(;this.childNodes.length>0;){var e=this.childNodes[0];e.parentNode=null,q.delete(e.uid),this.childNodes.shift()}}get _root(){var e;return(null===(e=this.parentNode)||void 0===e?void 0:e._root)||null}findIndex(e){var t=this.childNodes.indexOf(e);return Object(l.ensure)(-1!==t,"The node to be replaced is not a child of this node."),t}get _path(){var e=this.parentNode;if(e){var t=e.childNodes.filter((e=>!L(e))).indexOf(this),n=this.hooks.getPathIndex(t);return"".concat(e._path,".","cn",".").concat(n)}return""}get nextSibling(){var e=this.parentNode;return(null==e?void 0:e.childNodes[e.findIndex(this)+1])||null}get previousSibling(){var e=this.parentNode;return(null==e?void 0:e.childNodes[e.findIndex(this)-1])||null}get parentElement(){var e=this.parentNode;return 1===(null==e?void 0:e.nodeType)?e:null}get firstChild(){return this.childNodes[0]||null}get lastChild(){var e=this.childNodes;return e[e.length-1]||null}set textContent(e){if(this._empty(),""===e)this.enqueueUpdate({path:"".concat(this._path,".","cn"),value:()=>[]});else{var t=this._getElement($.Document)();this.appendChild(t.createTextNode(e))}}insertBefore(e,t,n){if(e.nodeName===y)return e.childNodes.reduceRight(((e,t)=>(this.insertBefore(t,e),t)),t),e;var r;if(e.remove(),e.parentNode=this,t){var o=this.findIndex(t);this.childNodes.splice(o,0,e),r=n?{path:e._path,value:this.hydrate(e)}:{path:"".concat(this._path,".","cn"),value:()=>this.childNodes.filter((e=>!L(e))).map(H)}}else this.childNodes.push(e),r={path:e._path,value:this.hydrate(e)};return this.enqueueUpdate(r),q.has(e.uid)||q.set(e.uid,e),e}appendChild(e){this.insertBefore(e)}replaceChild(e,t){if(t.parentNode===this)return this.insertBefore(e,t,!0),t.remove(!0),t}removeChild(e,t){var n=this.findIndex(e);return this.childNodes.splice(n,1),t||this.enqueueUpdate({path:"".concat(this._path,".","cn"),value:()=>this.childNodes.filter((e=>!L(e))).map(H)}),e.parentNode=null,q.delete(e.uid),e}remove(e){var t;null===(t=this.parentNode)||void 0===t||t.removeChild(this,e)}hasChildNodes(){return this.childNodes.length>0}enqueueUpdate(e){var t;null===(t=this._root)||void 0===t||t.enqueueUpdate(e)}contains(e){var t=!1;return this.childNodes.some((n=>{var{uid:r}=n;if(r===e.uid||r===e.id||n.contains(e))return t=!0,!0})),t}get ownerDocument(){return this._getElement($.Document)()}};W=d([Object(u.d)(),p(0,Object(u.c)(f.TaroNodeImpl)),p(1,Object(u.c)(f.TaroElementFactory)),p(2,Object(u.c)(f.Hooks)),h("design:paramtypes",[Function,Function,Function])],W);var V=class extends W{constructor(e,t,n){super(e,t,n),this.nodeType=3,this.nodeName="#text"}set textContent(e){this._value=e,this.enqueueUpdate({path:"".concat(this._path,".","v"),value:e})}get textContent(){return this._value}set nodeValue(e){this.textContent=e}get nodeValue(){return this._value}};V=d([Object(u.d)(),p(0,Object(u.c)(f.TaroNodeImpl)),p(1,Object(u.c)(f.TaroElementFactory)),p(2,Object(u.c)(f.Hooks)),h("design:paramtypes",[Function,Function,Function])],V);var G=["all","appearance","blockOverflow","blockSize","bottom","clear","contain","content","continue","cursor","direction","display","filter","float","gap","height","inset","isolation","left","letterSpacing","lightingColor","markerSide","mixBlendMode","opacity","order","position","quotes","resize","right","rowGap","tabSize","tableLayout","top","userSelect","verticalAlign","visibility","voiceFamily","volume","whiteSpace","widows","width","zIndex","pointerEvents"];function J(e,t,n){!n&&G.push(e),t.forEach((t=>{G.push(e+t)}))}var K="Color",Y="Style",Q="Width",Z="Image",X="Size",ee=[K,Y,Q],te=["FitLength","FitWidth",Z],ne=[...te,"Radius"],re=[...ee,...te],oe=["EndRadius","StartRadius"],ie=["Bottom","Left","Right","Top"],ae=["End","Start"],se=["Content","Items","Self"],ce=["BlockSize","Height","InlineSize",Q],ue=["After","Before"];function le(e,t){var n=this[t];e&&this._usedStyleProp.add(t),n!==e&&(this._value[t]=e,this._element.enqueueUpdate({path:"".concat(this._element._path,".","st"),value:this.cssText}))}J("borderBlock",ee),J("borderBlockEnd",ee),J("borderBlockStart",ee),J("outline",[...ee,"Offset"]),J("border",[...ee,"Boundary","Break","Collapse","Radius","Spacing"]),J("borderFit",["Length",Q]),J("borderInline",ee),J("borderInlineEnd",ee),J("borderInlineStart",ee),J("borderLeft",re),J("borderRight",re),J("borderTop",re),J("borderBottom",re),J("textDecoration",[K,Y,"Line"]),J("textEmphasis",[K,Y,"Position"]),J("scrollMargin",ie),J("scrollPadding",ie),J("padding",ie),J("margin",[...ie,"Trim"]),J("scrollMarginBlock",ae),J("scrollMarginInline",ae),J("scrollPaddingBlock",ae),J("scrollPaddingInline",ae),J("gridColumn",ae),J("gridRow",ae),J("insetBlock",ae),J("insetInline",ae),J("marginBlock",ae),J("marginInline",ae),J("paddingBlock",ae),J("paddingInline",ae),J("pause",ue),J("cue",ue),J("mask",["Clip","Composite",Z,"Mode","Origin","Position","Repeat",X,"Type"]),J("borderImage",["Outset","Repeat","Slice","Source","Transform",Q]),J("maskBorder",["Mode","Outset","Repeat","Slice","Source",Q]),J("font",["Family","FeatureSettings","Kerning","LanguageOverride","MaxSize","MinSize","OpticalSizing","Palette",X,"SizeAdjust","Stretch",Y,"Weight","VariationSettings"]),J("fontSynthesis",["SmallCaps",Y,"Weight"]),J("transform",["Box","Origin",Y]),J("background",[K,Z,"Attachment","BlendMode","Clip","Origin","Position","Repeat",X]),J("listStyle",[Z,"Position","Type"]),J("scrollSnap",["Align","Stop","Type"]),J("grid",["Area","AutoColumns","AutoFlow","AutoRows"]),J("gridTemplate",["Areas","Columns","Rows"]),J("overflow",["Block","Inline","Wrap","X","Y"]),J("transition",["Delay","Duration","Property","TimingFunction"]),J("lineStacking",["Ruby","Shift","Strategy"]),J("color",["Adjust","InterpolationFilters","Scheme"]),J("textAlign",["All","Last"]),J("page",["BreakAfter","BreakBefore","BreakInside"]),J("speak",["Header","Numeral","Punctuation"]),J("animation",["Delay","Direction","Duration","FillMode","IterationCount","Name","PlayState","TimingFunction"]),J("flex",["Basis","Direction","Flow","Grow","Shrink","Wrap"]),J("offset",[...ue,...ae,"Anchor","Distance","Path","Position","Rotate"]),J("fontVariant",["Alternates","Caps","EastAsian","Emoji","Ligatures","Numeric","Position"]),J("perspective",["Origin"]),J("pitch",["Range"]),J("clip",["Path","Rule"]),J("flow",["From","Into"]),J("align",["Content","Items","Self"],!0),J("alignment",["Adjust","Baseline"],!0),J("bookmark",["Label","Level","State"],!0),J("borderStart",oe,!0),J("borderEnd",oe,!0),J("borderCorner",["Fit",Z,"ImageTransform"],!0),J("borderTopLeft",ne,!0),J("borderTopRight",ne,!0),J("borderBottomLeft",ne,!0),J("borderBottomRight",ne,!0),J("column",["s","Count","Fill","Gap","Rule","RuleColor","RuleStyle","RuleWidth","Span",Q],!0),J("break",[...ue,"Inside"],!0),J("wrap",[...ue,"Flow","Inside","Through"],!0),J("justify",se,!0),J("place",se,!0),J("max",[...ce,"Lines"],!0),J("min",ce,!0),J("line",["Break","Clamp","Grid","Height","Padding","Snap"],!0),J("inline",["BoxAlign",X,"Sizing"],!0),J("text",["CombineUpright","GroupAlign","Height","Indent","Justify","Orientation","Overflow","Shadow","SpaceCollapse","SpaceTrim","Spacing","Transform","UnderlinePosition","Wrap"],!0),J("shape",["ImageThreshold","Inside","Margin","Outside"],!0),J("word",["Break","Spacing","Wrap"],!0),J("nav",["Down","Left","Right","Up"],!0),J("object",["Fit","Position"],!0),J("box",["DecorationBreak","Shadow","Sizing","Snap"],!0);class de{constructor(e){this._element=e,this._usedStyleProp=new Set,this._value={}}setCssVariables(e){this.hasOwnProperty(e)||Object.defineProperty(this,e,{enumerable:!0,configurable:!0,get:()=>this._value[e]||"",set:t=>{le.call(this,t,e)}})}get cssText(){var e="";return this._usedStyleProp.forEach((t=>{var n=this[t];if(n){var r=function(e){return/^--/.test(e)}(t)?t:Object(l.toDashed)(t);e+="".concat(r,": ").concat(n,";")}})),e}set cssText(e){if(null==e&&(e=""),this._usedStyleProp.forEach((e=>{this.removeProperty(e)})),""!==e)for(var t=e.split(";"),n=0;n<t.length;n++){var r=t[n].trim();if(""!==r){var[o,...i]=r.split(":"),a=i.join(":");Object(l.isUndefined)(a)||this.setProperty(o.trim(),a.trim())}}}setProperty(e,t){"-"===e[0]?this.setCssVariables(e):e=Object(l.toCamelCase)(e),Object(l.isUndefined)(t)||(null===t||""===t?this.removeProperty(e):this[e]=t)}removeProperty(e){if(e=Object(l.toCamelCase)(e),!this._usedStyleProp.has(e))return"";var t=this[e];return this[e]="",this._usedStyleProp.delete(e),t}getPropertyValue(e){return this[e=Object(l.toCamelCase)(e)]||""}}function pe(){return!0}function he(e,t){for(var n=[],r=null!=t?t:pe,o=e;o;)1===o.nodeType&&r(o)&&n.push(o),o=fe(o,e);return n}function fe(e,t){var n=e.firstChild;if(n)return n;var r=e;do{if(r===t)return null;var o=r.nextSibling;if(o)return o;r=r.parentElement}while(r);return null}!function(e){for(var t={},n=function(e){var n=G[e];t[n]={get(){return this._value[n]||""},set(e){le.call(this,e,n)}}},r=0;r<G.length;r++)n(r);Object.defineProperties(e.prototype,t)}(de);class ve extends Set{constructor(e,t){super(),e.trim().split(/\s+/).forEach(super.add.bind(this)),this.el=t}get value(){return[...this].join(" ")}add(e){return super.add(e),this._update(),this}get length(){return this.size}remove(e){super.delete(e),this._update()}toggle(e){super.has(e)?super.delete(e):super.add(e),this._update()}replace(e,t){super.delete(e),super.add(t),this._update()}contains(e){return super.has(e)}toString(){return this.value}_update(){this.el.className=this.value}}var me=class extends W{constructor(e,t,n,r){super(e,t,n),this.props={},this.dataset=l.EMPTY_OBJ,r.bind(this),this.nodeType=1,this.style=new de(this),n.patchElement(this)}_stopPropagation(e){for(var t=this;t=t.parentNode;){var n=t.__handlers[e.type];if(Object(l.isArray)(n))for(var r=n.length;r--;){n[r]._stop=!0}}}get id(){return this.getAttribute(w)}set id(e){this.setAttribute(w,e)}get className(){return this.getAttribute(_)||""}set className(e){this.setAttribute(_,e)}get cssText(){return this.getAttribute(O)||""}get classList(){return new ve(this.className,this)}get children(){return this.childNodes.filter(R)}get attributes(){var e=this.props,t=Object.keys(e),n=this.style.cssText;return t.map((t=>({name:t,value:e[t]}))).concat(n?{name:O,value:n}:[])}get textContent(){for(var e="",t=this.childNodes,n=0;n<t.length;n++)e+=t[n].textContent;return e}set textContent(e){super.textContent=e}hasAttribute(e){return!Object(l.isUndefined)(this.props[e])}hasAttributes(){return this.attributes.length>0}focus(){this.setAttribute(E,!0)}blur(){this.setAttribute(E,!1)}setAttribute(e,t){var n,r,o=this.nodeName===T&&!M(this)&&!this.isAnyEventBinded();switch(e){case O:this.style.cssText=t;break;case w:q.delete(this.uid),t=String(t),this.props[e]=this.uid=t,q.set(t,this);break;default:this.props[e]=t,e.startsWith("data-")&&(this.dataset===l.EMPTY_OBJ&&(this.dataset=Object.create(null)),this.dataset[Object(l.toCamelCase)(e.replace(/^data-/,""))]=t)}e=D(e);var i={path:"".concat(this._path,".").concat(Object(l.toCamelCase)(e)),value:t};null===(r=(n=this.hooks).modifySetAttrPayload)||void 0===r||r.call(n,this,e,i),this.enqueueUpdate(i),this.nodeName===T&&(Object(l.toCamelCase)(e)===I?this.enqueueUpdate({path:"".concat(this._path,".","nn"),value:t?N:this.isAnyEventBinded()?T:S}):o&&M(this)&&this.enqueueUpdate({path:"".concat(this._path,".","nn"),value:S}))}removeAttribute(e){var t,n,r,o,i=this.nodeName===T&&M(this)&&!this.isAnyEventBinded();if(e===O)this.style.cssText="";else{if(null===(n=(t=this.hooks).onRemoveAttribute)||void 0===n?void 0:n.call(t,this,e))return;if(!this.props.hasOwnProperty(e))return;delete this.props[e]}e=D(e);var a={path:"".concat(this._path,".").concat(Object(l.toCamelCase)(e)),value:""};null===(o=(r=this.hooks).modifyRmAttrPayload)||void 0===o||o.call(r,this,e,a),this.enqueueUpdate(a),this.nodeName===T&&(Object(l.toCamelCase)(e)===I?this.enqueueUpdate({path:"".concat(this._path,".","nn"),value:this.isAnyEventBinded()?T:M(this)?S:C}):i&&!M(this)&&this.enqueueUpdate({path:"".concat(this._path,".","nn"),value:C}))}getAttribute(e){var t=e===O?this.style.cssText:this.props[e];return null!=t?t:""}getElementsByTagName(e){return he(this,(t=>t.nodeName===e||"*"===e&&this!==t))}getElementsByClassName(e){return he(this,(t=>{var n=t.classList;return e.trim().split(/\s+/).every((e=>n.has(e)))}))}dispatchEvent(e){var t=e.cancelable,n=this.__handlers[e.type];if(!Object(l.isArray)(n))return!1;for(var r=n.length;r--;){var o=n[r],i=void 0;if(o._stop?o._stop=!1:i=o.call(this,e),(!1===i||e._end)&&t&&(e.defaultPrevented=!0),e._end&&e._stop)break}return e._stop?this._stopPropagation(e):e._stop=!0,null!=n}addEventListener(e,t,n){var r=this.nodeName,o=this.hooks.getSpecialNodes();!this.isAnyEventBinded()&&o.indexOf(r)>-1&&this.enqueueUpdate({path:"".concat(this._path,".","nn"),value:r}),super.addEventListener(e,t,n)}removeEventListener(e,t){super.removeEventListener(e,t);var n=this.nodeName,r=this.hooks.getSpecialNodes();!this.isAnyEventBinded()&&r.indexOf(n)>-1&&this.enqueueUpdate({path:"".concat(this._path,".","nn"),value:M(this)?"static-".concat(n):"pure-".concat(n)})}};me=d([Object(u.d)(),p(0,Object(u.c)(f.TaroNodeImpl)),p(1,Object(u.c)(f.TaroElementFactory)),p(2,Object(u.c)(f.Hooks)),p(3,Object(u.c)(f.TaroElementImpl)),h("design:paramtypes",[Function,Function,Function,Function])],me);var ge=Array.isArray,be="object"==typeof r&&r&&r.Object===Object&&r,ye="object"==typeof a&&a&&a.Object===Object&&a,we=be||ye||Function("return this")(),_e=we.Symbol,Oe=Object.prototype,Ee=Oe.hasOwnProperty,Te=Oe.toString,Se=_e?_e.toStringTag:void 0;var Ce=Object.prototype.toString;var je=_e?_e.toStringTag:void 0;function ke(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":je&&je in Object(e)?function(e){var t=Ee.call(e,Se),n=e[Se];try{e[Se]=void 0;var r=!0}catch(e){}var o=Te.call(e);return r&&(t?e[Se]=n:delete e[Se]),o}(e):function(e){return Ce.call(e)}(e)}function Pe(e){return"symbol"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&"[object Symbol]"==ke(e)}var Ae=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,xe=/^\w*$/;function Ie(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var Ne=we["__core-js_shared__"],Be=function(){var e=/[^.]+$/.exec(Ne&&Ne.keys&&Ne.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var Fe=Function.prototype.toString;var Re=/^\[object .+?Constructor\]$/,Le=Function.prototype,Me=Object.prototype,De=Le.toString,Ue=Me.hasOwnProperty,He=RegExp("^"+De.call(Ue).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function $e(e){if(!Ie(e)||function(e){return!!Be&&Be in e}(e))return!1;var t=function(e){if(!Ie(e))return!1;var t=ke(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}(e)?He:Re;return t.test(function(e){if(null!=e){try{return Fe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function qe(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return $e(n)?n:void 0}var ze=qe(Object,"create");var We=Object.prototype.hasOwnProperty;var Ve=Object.prototype.hasOwnProperty;function Ge(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Je(e,t){return e===t||e!=e&&t!=t}function Ke(e,t){for(var n=e.length;n--;)if(Je(e[n][0],t))return n;return-1}Ge.prototype.clear=function(){this.__data__=ze?ze(null):{},this.size=0},Ge.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Ge.prototype.get=function(e){var t=this.__data__;if(ze){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return We.call(t,e)?t[e]:void 0},Ge.prototype.has=function(e){var t=this.__data__;return ze?void 0!==t[e]:Ve.call(t,e)},Ge.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ze&&void 0===t?"__lodash_hash_undefined__":t,this};var Ye=Array.prototype.splice;function Qe(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Qe.prototype.clear=function(){this.__data__=[],this.size=0},Qe.prototype.delete=function(e){var t=this.__data__,n=Ke(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ye.call(t,n,1),--this.size,!0)},Qe.prototype.get=function(e){var t=this.__data__,n=Ke(t,e);return n<0?void 0:t[n][1]},Qe.prototype.has=function(e){return Ke(this.__data__,e)>-1},Qe.prototype.set=function(e,t){var n=this.__data__,r=Ke(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var Ze=qe(we,"Map");function Xe(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function et(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}et.prototype.clear=function(){this.size=0,this.__data__={hash:new Ge,map:new(Ze||Qe),string:new Ge}},et.prototype.delete=function(e){var t=Xe(this,e).delete(e);return this.size-=t?1:0,t},et.prototype.get=function(e){return Xe(this,e).get(e)},et.prototype.has=function(e){return Xe(this,e).has(e)},et.prototype.set=function(e,t){var n=Xe(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function tt(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(tt.Cache||et),n}tt.Cache=et;var nt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rt=/\\(\\)?/g,ot=function(e){var t=tt(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(nt,(function(e,n,r,o){t.push(r?o.replace(rt,"$1"):n||e)})),t}));var it=_e?_e.prototype:void 0,at=it?it.toString:void 0;function st(e){if("string"==typeof e)return e;if(ge(e))return function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}(e,st)+"";if(Pe(e))return at?at.call(e):"";var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}function ct(e,t){return ge(e)?e:function(e,t){if(ge(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Pe(e))||xe.test(e)||!Ae.test(e)||null!=t&&e in Object(t)}(e,t)?[e]:ot(function(e){return null==e?"":st(e)}(e))}function ut(e){if("string"==typeof e||Pe(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}function lt(e,t,n){var r=null==e?void 0:function(e,t){for(var n=0,r=(t=ct(t,e)).length;null!=e&&n<r;)e=e[ut(t[n++])];return n&&n==r?e:void 0}(e,t);return void 0===r?n:r}var dt={prerender:!0,debug:!1};var pt=new class{constructor(){this.recorder=new Map}start(e){dt.debug&&this.recorder.set(e,Date.now())}stop(e){if(dt.debug){var t=Date.now()-this.recorder.get(e);console.log("".concat(e," 时长: ").concat(t,"ms"))}}},ht=F(),ft=class extends me{constructor(e,t,n,r,o){super(e,t,n,r),this.pendingFlush=!1,this.updatePayloads=[],this.updateCallbacks=[],this.pendingUpdate=!1,this.ctx=null,this.nodeName=b,this.eventCenter=o}get _path(){return b}get _root(){return this}enqueueUpdate(e){this.updatePayloads.push(e),this.pendingUpdate||null===this.ctx||this.performUpdate()}performUpdate(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;this.pendingUpdate=!0;var n=this.ctx;setTimeout((()=>{pt.start(m);for(var r=Object.create(null),o=new Set(e?["root.cn.[0]","root.cn[0]"]:[]);this.updatePayloads.length>0;){var{path:i,value:a}=this.updatePayloads.shift();i.endsWith("cn")&&o.add(i),r[i]=a}var s=function(e){o.forEach((t=>{e.includes(t)&&e!==t&&delete r[e]}));var t=r[e];Object(l.isFunction)(t)&&(r[e]=t())};for(var c in r)s(c);if(Object(l.isFunction)(t))t(r);else{this.pendingUpdate=!1;var u=[],d=new Map,p={};if(!e){for(var h in r){for(var f=h.split("."),v=!1,b=f.length;b>0;b--){var y=f.slice(0,b).join("."),w=lt(n.__data__||n.data,y);if(w&&w.nn&&"custom-wrapper"===w.nn){var _=w.uid,O=n.selectComponent("#".concat(_)),E=f.slice(b).join(".");O&&(v=!0,d.set(O,Object.assign(Object.assign({},d.get(O)||{}),{["i.".concat(E)]:r[h]})));break}}v||(p[h]=r[h])}d.size>0&&d.forEach(((e,t)=>{u.push({ctx:t,data:e})}))}var T=u.length;if(T){var S="".concat(this._path,"_update_").concat(ht()),C=this.eventCenter,j=0;C.once(S,(()=>{++j===T+1&&(pt.stop(m),this.pendingFlush||this.flushUpdateCallback(),e&&pt.stop(g))}),C),u.forEach((e=>{e.ctx.setData(e.data,(()=>{C.trigger(S)}))})),Object.keys(p).length&&n.setData(p,(()=>{C.trigger(S)}))}else n.setData(r,(()=>{pt.stop(m),this.pendingFlush||this.flushUpdateCallback(),e&&pt.stop(g)}))}}),0)}enqueueUpdateCallback(e,t){this.updateCallbacks.push((()=>{t?e.call(t):e()}))}flushUpdateCallback(){this.pendingFlush=!1;var e=this.updateCallbacks.slice(0);this.updateCallbacks.length=0;for(var t=0;t<e.length;t++)e[t]()}};ft=d([Object(u.d)(),p(0,Object(u.c)(f.TaroNodeImpl)),p(1,Object(u.c)(f.TaroElementFactory)),p(2,Object(u.c)(f.Hooks)),p(3,Object(u.c)(f.TaroElementImpl)),p(4,Object(u.c)(f.eventCenter)),h("design:paramtypes",[Function,Function,Function,Function,Function])],ft);class vt extends me{get value(){var e=this.props[A];return null==e?"":e}set value(e){this.setAttribute(A,e)}dispatchEvent(e){if(e.mpEvent){var t=e.mpEvent.detail.value;"change"===e.type?this.props.value=t:e.type===x&&(this.value=t)}return super.dispatchEvent(e)}}class mt extends me{}function gt(e,t,n){for(var r=e.index,o=e.index=r+n,i=r;i<o;i++){"\n"===t.charAt(i)?(e.line++,e.column=0):e.column++}}function bt(e,t,n){return gt(e,t,n-e.index)}function yt(e){return{index:e.index,line:e.line,column:e.column}}var wt=/\s/;function _t(e){return wt.test(e)}var Ot=/=/;function Et(e){return Ot.test(e)}function Tt(e){var t=e.toLowerCase();return!!dt.html.skipElements.has(t)}var St=/[A-Za-z0-9]/;function Ct(e,t,n){if(!_t(n.charAt(e)))return!1;for(var r=n.length,o=e-1;o>t;o--){var i=n.charAt(o);if(!_t(i)){if(Et(i))return!1;break}}for(var a=e+1;a<r;a++){var s=n.charAt(a);if(!_t(s))return!Et(s)}}class jt{constructor(e){this.tokens=[],this.position={index:0,column:0,line:0},this.html=e}scan(){for(var{html:e,position:t}=this,n=e.length;t.index<n;){var r=t.index;if(this.scanText(),t.index===r)if(e.startsWith("!--",r+1))this.scanComment();else{var o=this.scanTag();Tt(o)&&this.scanSkipTag(o)}}return this.tokens}scanText(){var{html:e,position:t}=this,n=function(e,t){for(;;){var n=e.indexOf("<",t);if(-1===n)return n;var r=e.charAt(n+1);if("/"===r||"!"===r||St.test(r))return n;t=n+1}}(e,t.index);if(n!==t.index){-1===n&&(n=e.length);var r=yt(t),o=e.slice(t.index,n);bt(t,e,n);var i=yt(t);this.tokens.push({type:"text",content:o,position:{start:r,end:i}})}}scanComment(){var{html:e,position:t}=this,n=yt(t);gt(t,e,4);var r=e.indexOf("--\x3e",t.index),o=r+3;-1===r&&(r=o=e.length);var i=e.slice(t.index,r);bt(t,e,o),this.tokens.push({type:"comment",content:i,position:{start:n,end:yt(t)}})}scanTag(){this.scanTagStart();var e=this.scanTagName();return this.scanAttrs(),this.scanTagEnd(),e}scanTagStart(){var{html:e,position:t}=this,n="/"===e.charAt(t.index+1),r=yt(t);gt(t,e,n?2:1),this.tokens.push({type:"tag-start",close:n,position:{start:r}})}scanTagEnd(){var{html:e,position:t}=this,n="/"===e.charAt(t.index);gt(t,e,n?2:1);var r=yt(t);this.tokens.push({type:"tag-end",close:n,position:{end:r}})}scanTagName(){for(var{html:e,position:t}=this,n=e.length,r=t.index;r<n;){var o=e.charAt(r);if(!(_t(o)||"/"===o||">"===o))break;r++}for(var i=r+1;i<n;){var a=e.charAt(i);if(!!(_t(a)||"/"===a||">"===a))break;i++}bt(t,e,i);var s=e.slice(r,i);return this.tokens.push({type:"tag",content:s}),s}scanAttrs(){for(var{html:e,position:t,tokens:n}=this,r=t.index,o=null,i=r,a=[],s=e.length;r<s;){var c=e.charAt(r);if(o){c===o&&(o=null),r++}else{if("/"===c||">"===c){r!==i&&a.push(e.slice(i,r));break}if(Ct(r,i,e))r!==i&&a.push(e.slice(i,r)),i=r+1,r++;else"'"===c||'"'===c?(o=c,r++):r++}}bt(t,e,r);for(var u=a.length,l="attribute",d=0;d<u;d++){var p=a[d];if(p.includes("=")){var h=a[d+1];if(h&&h.startsWith("=")){if(h.length>1){var f=p+h;n.push({type:l,content:f}),d+=1;continue}var v=a[d+2];if(d+=1,v){var m=p+"="+v;n.push({type:l,content:m}),d+=1;continue}}}if(p.endsWith("=")){var g=a[d+1];if(g&&!g.includes("=")){var b=p+g;n.push({type:l,content:b}),d+=1;continue}var y=p.slice(0,-1);n.push({type:l,content:y})}else n.push({type:l,content:p})}}scanSkipTag(e){for(var{html:t,position:n}=this,r=e.toLowerCase(),o=t.length;n.index<o;){var i=t.indexOf("</",n.index);if(-1===i){this.scanText();break}if(bt(n,t,i),r===this.scanTag().toLowerCase())break}}}function kt(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}var Pt={img:"image",iframe:"web-view"},At=Object.keys(l.internalComponents).map((e=>e.toLowerCase())).join(","),xt=kt(At,!0),It=kt("a,i,abbr,iframe,select,acronym,slot,small,span,bdi,kbd,strong,big,map,sub,sup,br,mark,mark,meter,template,canvas,textarea,cite,object,time,code,output,u,data,picture,tt,datalist,var,dfn,del,q,em,s,embed,samp,b",!0),Nt=kt("address,fieldset,li,article,figcaption,main,aside,figure,nav,blockquote,footer,ol,details,form,p,dialog,h1,h2,h3,h4,h5,h6,pre,dd,header,section,div,hgroup,table,dl,hr,ul,dt",!0);function Bt(e){var t=e.charAt(0),n=e.length-1;return('"'===t||"'"===t)&&t===e.charAt(n)?e.slice(1,n):e}class Ft{constructor(){this.styles=[]}extractStyle(e){var t=e;return t=t.replace(/<style\s?[^>]*>((.|\n|\s)+?)<\/style>/g,((e,t)=>{var n=t.trim();return this.stringToSelector(n),""})),t.trim()}stringToSelector(e){for(var t=this,n=e.indexOf("{"),r=function(){var r=e.indexOf("}"),o=e.slice(0,n).trim(),i=e.slice(n+1,r);i=i.replace(/:(.*);/g,(function(e,t){var n=t.trim().replace(/ +/g,"+++");return":".concat(n,";")})),i=(i=i.replace(/ /g,"")).replace(/\+\+\+/g," "),/;$/.test(i)||(i+=";"),o.split(",").forEach((e=>{var n=t.parseSelector(e);t.styles.push({content:i,selectorList:n})})),e=e.slice(r+1),n=e.indexOf("{")};n>-1;)r()}parseSelector(e){var t=e.trim().replace(/ *([>~+]) */g," $1").replace(/ +/g," ").split(" ").map((e=>{var t=e.charAt(0),n={isChild:">"===t,isGeneralSibling:"~"===t,isAdjacentSibling:"+"===t,tag:null,id:null,class:[],attrs:[]};return e=(e=e.replace(/^[>~+]/,"")).replace(/\[(.+?)\]/g,(function(e,t){var[r,o]=t.split("="),i=-1===t.indexOf("="),a={all:i,key:r,value:i?null:o};return n.attrs.push(a),""})),e=e.replace(/([.#][A-Za-z0-9-_]+)/g,(function(e,t){return"#"===t[0]?n.id=t.substr(1):"."===t[0]&&n.class.push(t.substr(1)),""})),""!==e&&(n.tag=e),n}));return t}matchStyle(e,t,n){var r=function(e){return e.sort(((e,t)=>{var n=Lt(e.selectorList),r=Lt(t.selectorList);if(n!==r)return n-r;var o=Mt(e.selectorList),i=Mt(t.selectorList);return o!==i?o-i:Dt(e.selectorList)-Dt(t.selectorList)}))}(this.styles).reduce(((r,o,i)=>{var{content:a,selectorList:s}=o,c=n[i],u=s[c],l=s[c+1];((null==l?void 0:l.isGeneralSibling)||(null==l?void 0:l.isAdjacentSibling))&&(u=l,c+=1,n[i]+=1);var d=this.matchCurrent(e,t,u);if(d&&u.isGeneralSibling)for(var p=Rt(t);p;){if(p.h5tagName&&this.matchCurrent(p.h5tagName,p,s[c-1])){d=!0;break}p=Rt(p),d=!1}if(d&&u.isAdjacentSibling){var h=Rt(t);if(h&&h.h5tagName)this.matchCurrent(h.h5tagName,h,s[c-1])||(d=!1);else d=!1}if(d){if(c===s.length-1)return r+a;c<s.length-1&&(n[i]+=1)}else u.isChild&&c>0&&(n[i]-=1,this.matchCurrent(e,t,s[n[i]])&&(n[i]+=1));return r}),"");return r}matchCurrent(e,t,n){if(n.tag&&n.tag!==e)return!1;if(n.id&&n.id!==t.id)return!1;if(n.class.length)for(var r=t.className.split(" "),o=0;o<n.class.length;o++){var i=n.class[o];if(-1===r.indexOf(i))return!1}if(n.attrs.length)for(var a=0;a<n.attrs.length;a++){var{all:s,key:c,value:u}=n.attrs[a];if(s&&!t.hasAttribute(c))return!1;if(t.getAttribute(c)!==Bt(u||""))return!1}return!0}}function Rt(e){if(!e.parentElement)return null;var t=e.previousSibling;return t?1===t.nodeType?t:Rt(t):null}function Lt(e){return e.reduce(((e,t)=>e+(t.id?1:0)),0)}function Mt(e){return e.reduce(((e,t)=>e+t.class.length+t.attrs.length),0)}function Dt(e){return e.reduce(((e,t)=>e+(t.tag?1:0)),0)}var Ut={li:["ul","ol","menu"],dt:["dl"],dd:["dl"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table"],td:["table"]};function Ht(e,t){var n=Ut[e];if(n)for(var r=t.length-1;r>=0;){var o=t[r].tagName;if(o===e)break;if(n&&n.includes(o))return!0;r--}return!1}function $t(e){var t=e.indexOf("=");return-1===t?[e]:[e.slice(0,t).trim(),e.slice(t+"=".length).trim()]}function qt(e,t,n,r){return e.filter((e=>"comment"!==e.type&&("text"!==e.type||""!==e.content))).map((e=>{if("text"===e.type){var o=t.createTextNode(e.content);return Object(l.isFunction)(dt.html.transformText)&&(o=dt.html.transformText(o,e)),null==r||r.appendChild(o),o}var i=t.createElement(function(e){return dt.html.renderHTMLTag?e:Pt[e]?Pt[e]:xt(e)?e:Nt(e)?"view":It(e)?"text":"view"}(e.tagName));i.h5tagName=e.tagName,null==r||r.appendChild(i),dt.html.renderHTMLTag||(i.className="h5-".concat(e.tagName));for(var a=0;a<e.attributes.length;a++){var s=e.attributes[a],[c,u]=$t(s);if("class"===c)i.className+=" "+Bt(u);else{if("o"===c[0]&&"n"===c[1])continue;i.setAttribute(c,null==u||Bt(u))}}var{styleTagParser:d,descendantList:p}=n,h=p.slice(),f=d.matchStyle(e.tagName,i,h);return i.setAttribute("style",f+i.style.cssText),qt(e.children,t,{styleTagParser:d,descendantList:h},i),Object(l.isFunction)(dt.html.transformElement)?dt.html.transformElement(i,e):i}))}function zt(e,t){var n=new Ft;e=n.extractStyle(e);var r={tagName:"",children:[],type:"element",attributes:[]};return Wt({tokens:new jt(e).scan(),options:dt,cursor:0,stack:[r]}),qt(r.children,t,{styleTagParser:n,descendantList:Array(n.styles.length).fill(0)})}function Wt(e){for(var{tokens:t,stack:n}=e,{cursor:r}=e,o=t.length,i=n[n.length-1].children;r<o;){var a=t[r];if("tag-start"===a.type){var s=t[++r];r++;var c=s.content.toLowerCase();if(a.close){for(var u=n.length,l=!1;--u>-1;)if(n[u].tagName===c){l=!0;break}for(;r<o;){if("tag-end"!==t[r].type)break;r++}if(l){n.splice(u);break}}else{var d=dt.html.closingElements.has(c);if(d&&(d=!Ht(c,n)),d)for(var p=n.length-1;p>0;){if(c===n[p].tagName){n.splice(p),i=n[p-1].children;break}p-=1}for(var h=[],f=void 0;r<o&&"tag-end"!==(f=t[r]).type;)h.push(f.content),r++;r++;var v=[],m={type:"element",tagName:s.content,attributes:h,children:v};if(i.push(m),!(f.close||dt.html.voidElements.has(c))){n.push({tagName:c,children:v});var g={tokens:t,cursor:r,stack:n};Wt(g),r=g.cursor}}}else i.push(a),r++}e.cursor=r}function Vt(e,t,n){for(;e.firstChild;)e.removeChild(e.firstChild);for(var r=zt(t,n()),o=0;o<r.length;o++)e.appendChild(r[o])}function Gt(e,t,n){for(var r,o,i=zt(t,n()),a=0;a<i.length;a++){var s=i[a];switch(e){case"beforebegin":null===(r=this.parentNode)||void 0===r||r.insertBefore(s,this);break;case"afterbegin":this.hasChildNodes()?this.insertBefore(s,this.childNodes[0]):this.appendChild(s);break;case"beforeend":this.appendChild(s);break;case"afterend":null===(o=this.parentNode)||void 0===o||o.appendChild(s)}}}function Jt(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=t();for(var i in 1===e.nodeType?n=o.createElement(e.nodeName):3===e.nodeType&&(n=o.createTextNode("")),this){var a=this[i];[j,k].includes(i)&&typeof a===P?n[i]=Object.assign({},a):"_value"===i?n[i]=a:i===O&&(n.style._value=Object.assign({},a._value),n.style._usedStyleProp=new Set(Array.from(a._usedStyleProp)))}return r&&(n.childNodes=e.childNodes.map((e=>e.cloneNode(!0)))),n}dt.html={skipElements:new Set(["style","script"]),voidElements:new Set(["!doctype","area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),closingElements:new Set(["html","head","body","p","dt","dd","li","option","thead","th","tbody","tr","td","tfoot","colgroup"]),renderHTMLTag:!1};var Kt=class{constructor(e){this.getDoc=()=>e($.Document)()}bind(e){var t=this.getDoc;(function(e,t){Object.defineProperty(e,"innerHTML",{configurable:!0,enumerable:!0,set(n){Vt.call(e,e,n,t)},get:()=>""})})(e,t),function(e,t){e.insertAdjacentHTML=function(n,r){Gt.call(e,n,r,t)}}(e,t),e.cloneNode=Jt.bind(e,e,t)}};Kt=d([Object(u.d)(),p(0,Object(u.c)(f.TaroElementFactory)),h("design:paramtypes",[Function])],Kt);var Yt=class{bind(e){!function(e){Object.defineProperty(e,"content",{configurable:!0,enumerable:!0,get:()=>function(e){if("template"===e.nodeName){var t=e._getElement($.Element)(y);return t.childNodes=e.childNodes,e.childNodes=[t],t.parentNode=e,t.childNodes.forEach((e=>{e.parentNode=t})),t}}(e)})}(e)}};Yt=d([Object(u.d)()],Yt);var Qt=class extends me{constructor(e,t,n,r,o){super(e,t,n,r),this._getText=o,this.nodeType=9,this.nodeName="#document"}createElement(e){return e===b?this._getElement($.RootElement)():l.controlledComponent.has(e)?this._getElement($.FormElement)(e):this._getElement($.Element)(e)}createElementNS(e,t){return this.createElement(t)}createTextNode(e){return this._getText(e)}getElementById(e){var t=q.get(e);return Object(l.isUndefined)(t)?null:t}querySelector(e){return/^#/.test(e)?this.getElementById(e.slice(1)):null}querySelectorAll(){return[]}createComment(){var e=this._getText("");return e.nodeName=B,e}};Qt=d([Object(u.d)(),p(0,Object(u.c)(f.TaroNodeImpl)),p(1,Object(u.c)(f.TaroElementFactory)),p(2,Object(u.c)(f.Hooks)),p(3,Object(u.c)(f.TaroElementImpl)),p(4,Object(u.c)(f.TaroTextFactory)),h("design:paramtypes",[Function,Function,Function,Function,Function])],Qt);var Zt=class{modifyMpEvent(e){var t;null===(t=this.modifyMpEventImpls)||void 0===t||t.forEach((t=>t(e)))}modifyTaroEvent(e,t){var n;null===(n=this.modifyTaroEventImpls)||void 0===n||n.forEach((n=>n(e,t)))}initNativeApi(e){var t;null===(t=this.initNativeApiImpls)||void 0===t||t.forEach((t=>t(e)))}patchElement(e){var t;null===(t=this.patchElementImpls)||void 0===t||t.forEach((t=>t(e)))}};d([Object(u.c)(f.getLifecycle),h("design:type",Function)],Zt.prototype,"getLifecycle",void 0),d([Object(u.c)(f.getPathIndex),h("design:type",Function)],Zt.prototype,"getPathIndex",void 0),d([Object(u.c)(f.getEventCenter),h("design:type",Function)],Zt.prototype,"getEventCenter",void 0),d([Object(u.c)(f.isBubbleEvents),h("design:type",Function)],Zt.prototype,"isBubbleEvents",void 0),d([Object(u.c)(f.getSpecialNodes),h("design:type",Function)],Zt.prototype,"getSpecialNodes",void 0),d([Object(u.c)(f.onRemoveAttribute),Object(u.f)(),h("design:type",Function)],Zt.prototype,"onRemoveAttribute",void 0),d([Object(u.c)(f.batchedEventUpdates),Object(u.f)(),h("design:type",Function)],Zt.prototype,"batchedEventUpdates",void 0),d([Object(u.c)(f.mergePageInstance),Object(u.f)(),h("design:type",Function)],Zt.prototype,"mergePageInstance",void 0),d([Object(u.c)(f.createPullDownComponent),Object(u.f)(),h("design:type",Function)],Zt.prototype,"createPullDownComponent",void 0),d([Object(u.c)(f.getDOMNode),Object(u.f)(),h("design:type",Function)],Zt.prototype,"getDOMNode",void 0),d([Object(u.c)(f.modifyHydrateData),Object(u.f)(),h("design:type",Function)],Zt.prototype,"modifyHydrateData",void 0),d([Object(u.c)(f.modifySetAttrPayload),Object(u.f)(),h("design:type",Function)],Zt.prototype,"modifySetAttrPayload",void 0),d([Object(u.c)(f.modifyRmAttrPayload),Object(u.f)(),h("design:type",Function)],Zt.prototype,"modifyRmAttrPayload",void 0),d([Object(u.c)(f.onAddEvent),Object(u.f)(),h("design:type",Function)],Zt.prototype,"onAddEvent",void 0),d([Object(u.e)(f.modifyMpEvent),Object(u.f)(),h("design:type",Array)],Zt.prototype,"modifyMpEventImpls",void 0),d([Object(u.e)(f.modifyTaroEvent),Object(u.f)(),h("design:type",Array)],Zt.prototype,"modifyTaroEventImpls",void 0),d([Object(u.e)(f.initNativeApi),Object(u.f)(),h("design:type",Array)],Zt.prototype,"initNativeApiImpls",void 0),d([Object(u.e)(f.patchElement),Object(u.f)(),h("design:type",Array)],Zt.prototype,"patchElementImpls",void 0),Zt=d([Object(u.d)()],Zt);var Xt=new Set(["touchstart","touchmove","touchcancel","touchend","touchforcechange","tap","longpress","longtap","transitionend","animationstart","animationiteration","animationend"]),en=function(e,t){return e[t]},tn=function(e){return"[".concat(e,"]")},nn=function(e){return new e},rn=function(e){return Xt.has(e)},on=function(){return["view","text","image"]},an=new u.b((e=>{e(f.getLifecycle).toFunction(en),e(f.getPathIndex).toFunction(tn),e(f.getEventCenter).toFunction(nn),e(f.isBubbleEvents).toFunction(rn),e(f.getSpecialNodes).toFunction(on)}));function sn(e){Object.keys(l.defaultReconciler).forEach((t=>{if(t in f){var n=f[t],r=l.defaultReconciler[t];Object(l.isArray)(r)?r.forEach((t=>e.bind(n).toFunction(t))):e.isBound(n)?e.rebind(n).toFunction(r):e.bind(n).toFunction(r)}}))}var cn,un,ln,dn=new u.a;dn.bind(f.TaroElement).to(me).whenTargetNamed($.Element),dn.bind(f.TaroElement).to(Qt).inSingletonScope().whenTargetNamed($.Document),dn.bind(f.TaroElement).to(ft).whenTargetNamed($.RootElement),dn.bind(f.TaroElement).to(vt).whenTargetNamed($.FormElement),dn.bind(f.TaroElementFactory).toFactory((e=>t=>n=>{var r=e.container.getNamed(f.TaroElement,t);return n&&(r.nodeName=n),r.tagName=r.nodeName.toUpperCase(),r})),dn.bind(f.TaroText).to(V),dn.bind(f.TaroTextFactory).toFactory((e=>t=>{var n=e.container.get(f.TaroText);return n._value=t,n})),dn.bind(f.TaroNodeImpl).to(Kt).inSingletonScope(),dn.bind(f.TaroElementImpl).to(Yt).inSingletonScope(),dn.bind(f.Hooks).to(Zt).inSingletonScope(),dn.load(an),sn(dn),cn=dn.get(f.Hooks),un=dn.get(f.TaroElementFactory),ln=un($.Document)();class pn{constructor(e,t,n){this._stop=!1,this._end=!1,this.defaultPrevented=!1,this.timeStamp=Date.now(),this.type=e.toLowerCase(),this.mpEvent=n,this.bubbles=Boolean(t&&t.bubbles),this.cancelable=Boolean(t&&t.cancelable)}stopPropagation(){this._stop=!0}stopImmediatePropagation(){this._end=this._stop=!0}preventDefault(){this.defaultPrevented=!0}get target(){var e,t,n,r=ln.getElementById(null===(e=this.mpEvent)||void 0===e?void 0:e.target.id);return Object.assign(Object.assign(Object.assign({},null===(t=this.mpEvent)||void 0===t?void 0:t.target),null===(n=this.mpEvent)||void 0===n?void 0:n.detail),{dataset:null!==r?r.dataset:l.EMPTY_OBJ})}get currentTarget(){var e,t,n,r=ln.getElementById(null===(e=this.mpEvent)||void 0===e?void 0:e.currentTarget.id);return null===r?this.target:Object.assign(Object.assign(Object.assign({},null===(t=this.mpEvent)||void 0===t?void 0:t.currentTarget),null===(n=this.mpEvent)||void 0===n?void 0:n.detail),{dataset:r.dataset})}}function hn(e,t){if("string"==typeof e)return new pn(e,{bubbles:!0,cancelable:!0});var n=new pn(e.type,{bubbles:!0,cancelable:!0},e);for(var r in e)"currentTarget"!==r&&"target"!==r&&"type"!==r&&"timeStamp"!==r&&(n[r]=e[r]);return"confirm"===n.type&&(null==t?void 0:t.nodeName)===x&&(n.keyCode=13),n}var fn={};function vn(e){var t;null===(t=cn.modifyMpEvent)||void 0===t||t.call(cn,e),null==e.currentTarget&&(e.currentTarget=e.target);var n=ln.getElementById(e.currentTarget.id);if(n){var r=()=>{var t,r=hn(e,n);null===(t=cn.modifyTaroEvent)||void 0===t||t.call(cn,r,n),n.dispatchEvent(r)};if("function"==typeof cn.batchedEventUpdates){var o=e.type;!cn.isBubbleEvents(o)||!function(e,t){for(var n,r=!1;(null==e?void 0:e.parentElement)&&e.parentElement._path!==b;){if(null===(n=e.parentElement.__handlers[t])||void 0===n?void 0:n.length){r=!0;break}e=e.parentElement}return r}(n,o)||"touchmove"===o&&n.props.catchMove?cn.batchedEventUpdates((()=>{fn[o]&&(fn[o].forEach((e=>e())),delete fn[o]),r()})):(fn[o]||(fn[o]=[])).push(r)}else r()}}var mn=void 0!==o&&!!o.scripts,gn=mn?o:l.EMPTY_OBJ,bn=mn?i:l.EMPTY_OBJ;function yn(){var e=dn.get(f.TaroElementFactory)($.Document)(),t=e.createElement.bind(e),n=t("html"),r=t("head"),o=t("body"),i=t("app");i.id="app";var a=t("container");return e.appendChild(n),n.appendChild(r),n.appendChild(o),o.appendChild(a),a.appendChild(i),e.documentElement=n,e.head=r,e.body=o,e.createEvent=hn,e}var wn,_n=mn?gn:yn(),On="Macintosh",En="Intel Mac OS X 10_14_5",Tn="AppleWebKit/534.36 (KHTML, like Gecko) NodeJS/v4.1.0 Chrome/76.0.3809.132 Safari/534.36",Sn=mn?bn.navigator:{appCodeName:"Mozilla",appName:"Netscape",appVersion:"5.0 ("+On+"; "+En+") "+Tn,cookieEnabled:!0,mimeTypes:[],onLine:!0,platform:"MacIntel",plugins:[],product:"Taro",productSub:"20030107",userAgent:"Mozilla/5.0 ("+On+"; "+En+") "+Tn,vendor:"Joyent",vendorSub:""};!function(){var e;"undefined"!=typeof performance&&null!==performance&&performance.now?wn=function(){return performance.now()}:Date.now?(wn=function(){return Date.now()-e},e=Date.now()):(wn=function(){return(new Date).getTime()-e},e=(new Date).getTime())}();var Cn=0,jn=null!=s?s:function(e){var t=wn(),n=Math.max(Cn+16,t);return setTimeout((function(){e(Cn=n)}),n-t)},kn=null!=c?c:function(e){clearTimeout(e)};function Pn(e){return e.style}var An=mn?bn:{navigator:Sn,document:_n};mn||([...Object.getOwnPropertyNames(r||bn),...Object.getOwnPropertySymbols(r||bn)].forEach((e=>{"atob"!==e&&(Object.prototype.hasOwnProperty.call(An,e)||(An[e]=r[e]))})),_n.defaultView=An);An.requestAnimationFrame=jn,An.cancelAnimationFrame=kn,An.getComputedStyle=Pn,An.addEventListener=function(){},An.removeEventListener=function(){},"Date"in An||(An.Date=Date),"setTimeout"in An||(An.setTimeout=setTimeout);var xn={app:null,router:null,page:null},In=()=>xn;class Nn{constructor(e){void 0!==e&&e.callbacks?this.callbacks=e.callbacks:this.callbacks={}}on(e,t,n){var r,o,i,a;if(!t)return this;e=e.split(Nn.eventSplitter),this.callbacks||(this.callbacks={});for(var s=this.callbacks;r=e.shift();)(o=(a=s[r])?a.tail:{}).next=i={},o.context=n,o.callback=t,s[r]={tail:i,next:a?a.next:o};return this}once(e,t,n){var r=this;return this.on(e,(function o(){for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];t.apply(r,a),r.off(e,o,n)}),n),this}off(e,t,n){var r,o,i,a,s,c;if(!(o=this.callbacks))return this;if(!(e||t||n))return delete this.callbacks,this;for(e=e?e.split(Nn.eventSplitter):Object.keys(o);r=e.shift();)if(i=o[r],delete o[r],i&&(t||n))for(a=i.tail;(i=i.next)!==a;)s=i.callback,c=i.context,(t&&s!==t||n&&c!==n)&&this.on(r,s,c);return this}trigger(e){var t,n,r,o;if(!(r=this.callbacks))return this;e=e.split(Nn.eventSplitter);for(var i=[].slice.call(arguments,1);t=e.shift();)if(n=r[t])for(o=n.tail;(n=n.next)!==o;)n.callback.apply(n.context||this,i);return this}}Nn.eventSplitter=/\s+/;var Bn=dn.get(f.Hooks).getEventCenter(Nn);dn.bind(f.eventCenter).toConstantValue(Bn);var Fn=new Map,Rn=F(),Ln=dn.get(f.Hooks);function Mn(e,t){var n;null===(n=Ln.mergePageInstance)||void 0===n||n.call(Ln,Fn.get(t),e),Fn.set(t,e)}function Dn(e){return Fn.get(e)}function Un(e){return null==e?"":"/"===e.charAt(0)?e:"/"+e}function Hn(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=Fn.get(e);if(null!=i){var a=Ln.getLifecycle(i,t);if(Object(l.isArray)(a)){var s=a.map((e=>e.apply(i,r)));return s[0]}if(Object(l.isFunction)(a))return a.apply(i,r)}}function $n(e){if(null==e)return"";var t=Object.keys(e).map((t=>t+"="+e[t])).join("&");return""===t?t:"?"+t}function qn(e,t){var n=e;return mn||(n=e+$n(t)),n}function zn(e){return e+".onReady"}function Wn(e){return e+".onShow"}function Vn(e){return e+".onHide"}function Gn(e,t,n,r){var o,i,a,s,c=null!=t?t:"taro_page_".concat(Rn()),u=null,d=!1,p=[],h={onLoad(t,n){s=new Promise((e=>{a=e})),pt.start(g),xn.page=this,this.config=r||{},t.$taroTimestamp=Date.now(),this.$taroPath=qn(c,t),null==this.$taroParams&&(this.$taroParams=Object.assign({},t));var o=mn?this.$taroPath:this.route||this.__route__;xn.router={params:this.$taroParams,path:Un(o),onReady:zn(c),onShow:Wn(c),onHide:Vn(c)};var i=()=>{xn.app.mount(e,this.$taroPath,(()=>{u=_n.getElementById(this.$taroPath),Object(l.ensure)(null!==u,"没有找到页面实例。"),Hn(this.$taroPath,"onLoad",this.$taroParams),a(),mn?Object(l.isFunction)(n)&&n():(u.ctx=this,u.performUpdate(!0,n))}))};d?p.push(i):i()},onReady(){jn((()=>{Bn.trigger(zn(c))})),Hn(this.$taroPath,"onReady"),this.onReady.called=!0},onUnload(){d=!0,xn.app.unmount(this.$taroPath,(()=>{d=!1,Fn.delete(this.$taroPath),u&&(u.ctx=null),p.length&&(p.forEach((e=>e())),p=[])}))},onShow(){s.then((()=>{xn.page=this,this.config=r||{};var e=mn?this.$taroPath:this.route||this.__route__;xn.router={params:this.$taroParams,path:Un(e),onReady:zn(c),onShow:Wn(c),onHide:Vn(c)},jn((()=>{Bn.trigger(Wn(c))})),Hn(this.$taroPath,"onShow")}))},onHide(){xn.page=null,xn.router=null,Hn(this.$taroPath,"onHide"),Bn.trigger(Vn(c))},onPullDownRefresh(){return Hn(this.$taroPath,"onPullDownRefresh")},onReachBottom(){return Hn(this.$taroPath,"onReachBottom")},onPageScroll(e){return Hn(this.$taroPath,"onPageScroll",e)},onResize(e){return Hn(this.$taroPath,"onResize",e)},onTabItemTap(e){return Hn(this.$taroPath,"onTabItemTap",e)},onTitleClick(){return Hn(this.$taroPath,"onTitleClick")},onOptionMenuClick(){return Hn(this.$taroPath,"onOptionMenuClick")},onPopMenuClick(){return Hn(this.$taroPath,"onPopMenuClick")},onPullIntercept(){return Hn(this.$taroPath,"onPullIntercept")},onAddToFavorites(){return Hn(this.$taroPath,"onAddToFavorites")}};return(e.onShareAppMessage||(null===(o=e.prototype)||void 0===o?void 0:o.onShareAppMessage)||e.enableShareAppMessage)&&(h.onShareAppMessage=function(e){var t=null==e?void 0:e.target;if(null!=t){var n=t.id,r=_n.getElementById(n);null!=r&&(e.target.dataset=r.dataset)}return Hn(this.$taroPath,"onShareAppMessage",e)}),(e.onShareTimeline||(null===(i=e.prototype)||void 0===i?void 0:i.onShareTimeline)||e.enableShareTimeline)&&(h.onShareTimeline=function(){return Hn(this.$taroPath,"onShareTimeline")}),h.eh=vn,Object(l.isUndefined)(n)||(h.data=n),mn&&(h.path=c),h}function Jn(e,t,n){var r,o,i,a=null!=t?t:"taro_component_".concat(Rn()),s=null,c={attached(){var t;pt.start(g);var n=qn(a,{id:(null===(t=this.getPageId)||void 0===t?void 0:t.call(this))||Rn()});xn.app.mount(e,n,(()=>{s=_n.getElementById(n),Object(l.ensure)(null!==s,"没有找到组件实例。"),Hn(n,"onLoad"),mn||(s.ctx=this,s.performUpdate(!0))}))},detached(){var e=qn(a,{id:this.getPageId()});xn.app.unmount(e,(()=>{Fn.delete(e),s&&(s.ctx=null)}))},methods:{eh:vn}};return Object(l.isUndefined)(n)||(c.data=n),c.options=null!==(r=null==e?void 0:e.options)&&void 0!==r?r:l.EMPTY_OBJ,c.externalClasses=null!==(o=null==e?void 0:e.externalClasses)&&void 0!==o?o:l.EMPTY_OBJ,c.behaviors=null!==(i=null==e?void 0:e.behaviors)&&void 0!==i?i:l.EMPTY_OBJ,c}function Kn(e){return{properties:{i:{type:Object,value:{nn:"view"}},l:{type:String,value:""}},options:{addGlobalClass:!0,virtualHost:"custom-wrapper"!==e},methods:{eh:vn}}}var Yn=dn.get(f.Hooks);function Qn(e,t){var n;return Object(l.isFunction)(t.render)||!!(null===(n=t.prototype)||void 0===n?void 0:n.isReactComponent)||t.prototype instanceof e.Component}var Zn,Xn=l.EMPTY_OBJ,er=l.EMPTY_OBJ;function tr(e,t){var n=e.createElement;return r=>{var o=e=>e&&Mn(e,t),i=Qn(e,r)?{ref:o}:{forwardedRef:o,reactReduxForwardedRef:o};return er===l.EMPTY_OBJ&&(er=e.createContext("")),class extends e.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(e){return{hasError:!0}}componentDidCatch(e,t){}render(){var e=this.state.hasError?[]:n(er.Provider,{value:t},n(r,Object.assign(Object.assign({},this.props),i)));return mn?n("div",{id:t,className:"taro_page"},e):n("root",{id:t},e)}}}}function nr(){Yn.getLifecycle=function(e,t){return e[t=t.replace(/^on(Show|Hide)$/,"componentDid$1")]},Yn.modifyMpEvent=function(e){e.type=e.type.replace(/-/g,"")},Yn.batchedEventUpdates=function(e){Zn.unstable_batchedUpdates(e)},Yn.mergePageInstance=function(e,t){e&&t&&("constructor"in e||Object.keys(e).forEach((n=>{Object(l.isFunction)(t[n])?t[n]=[t[n],...e[n]]:t[n]=[...t[n]||[],...e[n]]})))}}var rr=F();function or(e,t,n,r){Xn=t,Zn=n,Object(l.ensure)(!!Zn,"构建 React/Nerv 项目请把 process.env.FRAMEWORK 设置为 'react'/'nerv' ");var o,i=Xn.createRef(),a=Qn(Xn,e);nr();class s extends Xn.Component{constructor(){super(...arguments),this.pages=[],this.elements=[]}mount(e,t,n){var r=t+rr();this.pages.push((()=>Xn.createElement(e,{key:r,tid:t}))),this.forceUpdate(n)}unmount(e,t){for(var n=0;n<this.elements.length;n++){if(this.elements[n].props.tid===e){this.elements.splice(n,1);break}}this.forceUpdate(t)}render(){for(;this.pages.length>0;){var t=this.pages.pop();this.elements.push(t())}var n=null;return a&&(n={ref:i}),Xn.createElement(e,n,mn?Xn.createElement("div",null,this.elements.slice()):this.elements.slice())}}mn||(o=Zn.render(Xn.createElement(s),_n.getElementById("app")));var c=Object.create({render(e){o.forceUpdate(e)},mount(e,t,n){var r=tr(Xn,t)(e);o.mount(r,t,n)},unmount(e,t){o.unmount(e,t)}},{config:{writable:!0,enumerable:!0,configurable:!0,value:r},onLaunch:{enumerable:!0,writable:!0,value(e){xn.router=Object.assign({params:null==e?void 0:e.query},e),mn&&(o=Zn.render(Xn.createElement(s),_n.getElementById("app")));var t=i.current;if(null==t?void 0:t.taroGlobalData){var n=t.taroGlobalData,r=Object.keys(n),a=Object.getOwnPropertyDescriptors(n);r.forEach((e=>{Object.defineProperty(this,e,{configurable:!0,enumerable:!0,get:()=>n[e],set(t){n[e]=t}})})),Object.defineProperties(this,a)}this.$app=t,null!=t&&Object(l.isFunction)(t.onLaunch)&&t.onLaunch(e)}},onShow:{enumerable:!0,writable:!0,value(e){var t=i.current;xn.router=Object.assign({params:null==e?void 0:e.query},e),null!=t&&Object(l.isFunction)(t.componentDidShow)&&t.componentDidShow(e),u("onShow")}},onHide:{enumerable:!0,writable:!0,value(e){var t=i.current;null!=t&&Object(l.isFunction)(t.componentDidHide)&&t.componentDidHide(e),u("onHide")}},onPageNotFound:{enumerable:!0,writable:!0,value(e){var t=i.current;null!=t&&Object(l.isFunction)(t.onPageNotFound)&&t.onPageNotFound(e)}}});function u(e){var t=Dn(v);if(t){var n=i.current,r=Yn.getLifecycle(t,e);Array.isArray(r)&&r.forEach((e=>e.apply(n)))}}return xn.app=c,xn.app}var ir,ar=F();function sr(e,t,n,r){Xn=t,Zn=n,nr();var o={properties:{props:{type:null,value:null,observer(e,t){t&&this.component.forceUpdate()}}},created(){xn.app||function(e,t){class n extends e.Component{constructor(){super(...arguments),this.root=e.createRef(),this.ctx=this.props.getCtx()}componentDidMount(){this.ctx.component=this;var e=this.root.current;e.ctx=this.ctx,e.performUpdate(!0)}render(){return e.createElement("root",{ref:this.root},this.props.renderComponent(this.ctx))}}class r extends e.Component{constructor(){super(...arguments),this.state={components:[]}}componentDidMount(){xn.app=this}mount(t,r,o){var i=e=>e&&Mn(e,r),a=Qn(e,t)?{ref:i}:{forwardedRef:i,reactReduxForwardedRef:i},s={compId:r,element:e.createElement(n,{key:r,getCtx:o,renderComponent:n=>e.createElement(t,Object.assign(Object.assign({},(n.data||(n.data={})).props),a))})};this.setState({components:[...this.state.components,s]})}unmount(e){var t=this.state.components,n=t.findIndex((t=>t.compId===e)),r=[...t.slice(0,n),...t.slice(n+1)];this.setState({components:r})}render(){return this.state.components.map((e=>{var{element:t}=e;return t}))}}nr();var o=_n.getElementById("app");t.render(e.createElement(r,{}),o)}(Xn,Zn)},attached(){(function(){var e=getCurrentPages(),t=e[e.length-1];if(xn.page!==t){xn.page=t;var n=t.route||t.__route__,r={params:t.options||{},path:Un(n),onReady:"",onHide:"",onShow:""};xn.router=r,t.options||Object.defineProperty(t,"options",{enumerable:!0,configurable:!0,get(){return this._optionsValue},set(e){r.params=e,this._optionsValue=e}})}})(),this.compId=ar(),this.config=r,xn.app.mount(e,this.compId,(()=>this))},ready(){Hn(this.compId,"onReady")},detached(){xn.app.unmount(this.compId)},pageLifetimes:{show(){Hn(this.compId,"onShow")},hide(){Hn(this.compId,"onHide")}},methods:{eh:vn}};return o}function cr(e,t){return n=>{var r=e.extend({props:{tid:String},mixins:[n,{created(){Mn(this,t)}}]}),o={render:e=>e(mn?"div":"root",{attrs:{id:t,class:mn?"taro_page":""}},[e(r,{props:{tid:t}})])};return o}}function ur(e,t,n){ir=t,Object(l.ensure)(!!ir,"构建 Vue 项目请把 process.env.FRAMEWORK 设置为 'vue'"),function(){var e=dn.get(f.Hooks);e.onRemoveAttribute=function(e,t){var n=e.props;if(!n.hasOwnProperty(t)||Object(l.isBoolean)(n[t]))return e.setAttribute(t,!1),!0},e.getLifecycle=function(e,t){return e.$options[t]}}(),ir.config.getTagNamespace=l.noop;var r,o=[],i=[],a=new ir({render(t){for(;i.length>0;){var n=i.pop();o.push(n(t))}return t(e,{ref:"app"},o.slice())},methods:{mount(e,t,n){i.push((n=>n(e,{key:t}))),this.updateSync(n)},updateSync(e){this._update(this._render(),!1),this.$children.forEach((e=>e._update(e._render(),!1))),e()},unmount(e,t){for(var n=0;n<o.length;n++){if(o[n].key===e){o.splice(n,1);break}}this.updateSync(t)}}});mn||a.$mount(_n.getElementById("app"));var s=Object.create({mount(e,t,n){var r=cr(ir,t)(e);a.mount(r,t,n)},unmount(e,t){a.unmount(e,t)}},{config:{writable:!0,enumerable:!0,configurable:!0,value:n},onLaunch:{writable:!0,enumerable:!0,value(e){xn.router=Object.assign({params:null==e?void 0:e.query},e),mn&&a.$mount(_n.getElementById("app")),null!=(r=a.$refs.app)&&Object(l.isFunction)(r.$options.onLaunch)&&r.$options.onLaunch.call(r,e)}},onShow:{writable:!0,enumerable:!0,value(e){xn.router=Object.assign({params:null==e?void 0:e.query},e),null!=r&&Object(l.isFunction)(r.$options.onShow)&&r.$options.onShow.call(r,e)}},onHide:{writable:!0,enumerable:!0,value(e){null!=r&&Object(l.isFunction)(r.$options.onHide)&&r.$options.onHide.call(r,e)}}});return xn.app=s,xn.app}function lr(e,t,n){var r,o=[];Object(l.ensure)(!Object(l.isFunction)(e._component),"入口组件不支持使用函数式组件"),function(){var e=dn.get(f.Hooks);e.getLifecycle=function(e,t){return e.$options[t]},e.modifyMpEvent=function(e){e.type=e.type.replace(/-/g,"")}}(),e._component.render=function(){return o.slice()},mn||(r=e.mount("#app"));var i=Object.create({mount(e,n,r){var i=function(e,t){return function(n){var r,o={props:{tid:String},created(){Mn(this,t),this.$nextTick((()=>{Hn(t,"onShow")}))}};if(Object(l.isArray)(n.mixins)){var i=n.mixins,a=i.length-1;(null===(r=i[a].props)||void 0===r?void 0:r.tid)?n.mixins[a]=o:n.mixins.push(o)}else n.mixins=[o];return e(mn?"div":"root",{key:t,id:t,class:mn?"taro_page":""},[e(Object.assign({},n),{tid:t})])}}(t,n)(e);o.push(i),this.updateAppInstance(r)},unmount(e,t){o=o.filter((t=>t.key!==e)),this.updateAppInstance(t)},updateAppInstance(e){r.$forceUpdate(),r.$nextTick(e)}},{config:{writable:!0,enumerable:!0,configurable:!0,value:n},onLaunch:{writable:!0,enumerable:!0,value(t){var n;if(xn.router=Object.assign({params:null==t?void 0:t.query},t),mn&&(r=e.mount("#app")),e.taroGlobalData){var o=e.taroGlobalData,i=Object.keys(o),a=Object.getOwnPropertyDescriptors(o);i.forEach((e=>{Object.defineProperty(this,e,{configurable:!0,enumerable:!0,get:()=>o[e],set(t){o[e]=t}})})),Object.defineProperties(this,a)}var s=null===(n=null==r?void 0:r.$options)||void 0===n?void 0:n.onLaunch;Object(l.isFunction)(s)&&s.call(r,t)}},onShow:{writable:!0,enumerable:!0,value(e){var t;xn.router=Object.assign({params:null==e?void 0:e.query},e);var n=null===(t=null==r?void 0:r.$options)||void 0===t?void 0:t.onShow;Object(l.isFunction)(n)&&n.call(r,e)}},onHide:{writable:!0,enumerable:!0,value(e){var t,n=null===(t=null==r?void 0:r.$options)||void 0===t?void 0:t.onHide;Object(l.isFunction)(n)&&n.call(r,e)}}});return xn.app=i,xn.app}var dr=e=>t=>{var n=Xn.useContext(er)||v,r=Xn.useRef(t);r.current!==t&&(r.current=t),Xn.useLayoutEffect((()=>{var t=Dn(n),o=!1;null==t&&(o=!0,t=Object.create(null)),t=t;var i=function(){return r.current(...arguments)};return Object(l.isFunction)(t[e])?t[e]=[t[e],i]:t[e]=[...t[e]||[],i],o&&Mn(t,n),()=>{var t=Dn(n),r=t[e];r===i?t[e]=void 0:Object(l.isArray)(r)&&(t[e]=r.filter((e=>e!==i)))}}),[])},pr=dr("componentDidShow"),hr=dr("componentDidHide"),fr=dr("onPullDownRefresh"),vr=dr("onReachBottom"),mr=dr("onPageScroll"),gr=dr("onResize"),br=dr("onShareAppMessage"),yr=dr("onTabItemTap"),wr=dr("onTitleClick"),_r=dr("onOptionMenuClick"),Or=dr("onPullIntercept"),Er=dr("onShareTimeline"),Tr=dr("onAddToFavorites"),Sr=dr("onReady"),Cr=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?xn.router:Xn.useMemo((()=>xn.router),[])},jr=()=>{};var kr=(e,t)=>{var n,r,o,i=xn.router,a=()=>{setTimeout((function(){t?e.call(t):e()}),1)};if(null!==i){var s=null,c=qn(function(e){return null==e?"":"/"===e.charAt(0)?e.slice(1):e}(i.path),i.params);(null==(s=_n.getElementById(c))?void 0:s.pendingUpdate)?mn?null!==(o=null===(r=null===(n=s.firstChild)||void 0===n?void 0:n.componentOnReady)||void 0===r?void 0:r.call(n).then((()=>{a()})))&&void 0!==o||a():s.enqueueUpdateCallback(e,t):a()}else a()}}.call(this,n(425),n(347),n(43).document,n(43).window,n(43).requestAnimationFrame,n(43).cancelAnimationFrame)},46:function(e,t,n){"use strict";function r(e){return"string"==typeof e}function o(e){return void 0===e}function i(e){return null===e}function a(e){return null!==e&&"object"==typeof e}function s(e){return!0===e||!1===e}function c(e){return"function"==typeof e}function u(e){return"number"==typeof e}function l(e){return"true"===e||"false"===e}n.r(t),n.d(t,"EMPTY_ARR",(function(){return S})),n.d(t,"EMPTY_OBJ",(function(){return T})),n.d(t,"animationEvents",(function(){return v})),n.d(t,"box",(function(){return k})),n.d(t,"cacheDataGet",(function(){return z})),n.d(t,"cacheDataHas",(function(){return W})),n.d(t,"cacheDataSet",(function(){return q})),n.d(t,"capitalize",(function(){return N})),n.d(t,"controlledComponent",(function(){return w})),n.d(t,"defaultReconciler",(function(){return j})),n.d(t,"ensure",(function(){return R})),n.d(t,"events",(function(){return h})),n.d(t,"focusComponents",(function(){return _})),n.d(t,"getUniqueKey",(function(){return H})),n.d(t,"hasOwn",(function(){return F})),n.d(t,"indent",(function(){return Y})),n.d(t,"internalComponents",(function(){return y})),n.d(t,"isArray",(function(){return d})),n.d(t,"isBoolean",(function(){return s})),n.d(t,"isBooleanStringLiteral",(function(){return l})),n.d(t,"isFunction",(function(){return c})),n.d(t,"isNull",(function(){return i})),n.d(t,"isNumber",(function(){return u})),n.d(t,"isObject",(function(){return a})),n.d(t,"isString",(function(){return r})),n.d(t,"isUndefined",(function(){return o})),n.d(t,"mergeInternalComponents",(function(){return V})),n.d(t,"mergeReconciler",(function(){return G})),n.d(t,"nestElements",(function(){return E})),n.d(t,"noop",(function(){return C})),n.d(t,"processApis",(function(){return ee})),n.d(t,"queryToJson",(function(){return M})),n.d(t,"setUniqueKeyToRoute",(function(){return K})),n.d(t,"singleQuote",(function(){return m})),n.d(t,"styles",(function(){return p})),n.d(t,"toCamelCase",(function(){return x})),n.d(t,"toDashed",(function(){return A})),n.d(t,"toKebabCase",(function(){return I})),n.d(t,"touchEvents",(function(){return f})),n.d(t,"unbox",(function(){return P})),n.d(t,"unsupport",(function(){return J})),n.d(t,"voidElements",(function(){return O})),n.d(t,"warn",(function(){return L}));var d=Array.isArray,p={style:"i.".concat("st"),class:"i.".concat("cl")},h={bindtap:"eh"},f={bindTouchStart:"",bindTouchMove:"",bindTouchEnd:"",bindTouchCancel:"",bindLongTap:""},v={bindAnimationStart:"",bindAnimationIteration:"",bindAnimationEnd:"",bindTransitionEnd:""};function m(e){return"'".concat(e,"'")}var g=Object.assign(Object.assign({"hover-class":m("none"),"hover-stop-propagation":"false","hover-start-time":"50","hover-stay-time":"400",animation:""},f),v),b=Object.assign({longitude:"",latitude:"",scale:"16",markers:"[]",covers:"",polyline:"[]",circles:"[]",controls:"[]","include-points":"[]","show-location":"","layer-style":"1",bindMarkerTap:"",bindControlTap:"",bindCalloutTap:"",bindUpdated:""},f),y={View:g,Icon:{type:"",size:"23",color:""},Progress:{percent:"","stroke-width":"6",color:m("#09BB07"),activeColor:m("#09BB07"),backgroundColor:m("#EBEBEB"),active:"false","active-mode":m("backwards"),"show-info":"false"},RichText:{nodes:"[]"},Text:{selectable:"false",space:"",decode:"false"},Button:Object.assign({size:m("default"),type:"",plain:"false",disabled:"",loading:"false","form-type":"","open-type":"","hover-class":m("button-hover"),"hover-stop-propagation":"false","hover-start-time":"20","hover-stay-time":"70",name:""},f),Checkbox:{value:"",disabled:"",checked:"false",color:m("#09BB07"),name:""},CheckboxGroup:{bindChange:"",name:""},Form:{"report-submit":"false",bindSubmit:"",bindReset:"",name:""},Input:{value:"",type:m(""),password:"false",placeholder:"","placeholder-style":"","placeholder-class":m("input-placeholder"),disabled:"",maxlength:"140","cursor-spacing":"0",focus:"false","confirm-type":m("done"),"confirm-hold":"false",cursor:"i.value.length","selection-start":"-1","selection-end":"-1",bindInput:"",bindFocus:"",bindBlur:"",bindConfirm:"",name:""},Label:{for:"",name:""},Picker:{mode:m("selector"),disabled:"",range:"","range-key":"",value:"",start:"",end:"",fields:m("day"),"custom-item":"",name:"",bindCancel:"",bindChange:"",bindColumnChange:""},PickerView:{value:"","indicator-style":"","indicator-class":"","mask-style":"","mask-class":"",bindChange:"",name:""},PickerViewColumn:{name:""},Radio:{value:"",checked:"false",disabled:"",color:m("#09BB07"),name:""},RadioGroup:{bindChange:"",name:""},Slider:{min:"0",max:"100",step:"1",disabled:"",value:"0",activeColor:m("#1aad19"),backgroundColor:m("#e9e9e9"),"block-size":"28","block-color":m("#ffffff"),"show-value":"false",bindChange:"",bindChanging:"",name:""},Switch:{checked:"false",disabled:"",type:m("switch"),color:m("#04BE02"),bindChange:"",name:""},CoverImage:{src:"",bindLoad:"eh",bindError:"eh"},Textarea:{value:"",placeholder:"","placeholder-style":"","placeholder-class":m("textarea-placeholder"),disabled:"",maxlength:"140","auto-focus":"false",focus:"false","auto-height":"false",fixed:"false","cursor-spacing":"0",cursor:"-1","selection-start":"-1","selection-end":"-1",bindFocus:"",bindBlur:"",bindLineChange:"",bindInput:"",bindConfirm:"",name:""},CoverView:Object.assign({"scroll-top":"false"},f),MovableArea:{"scale-area":"false"},MovableView:Object.assign(Object.assign({direction:"none",inertia:"false","out-of-bounds":"false",x:"",y:"",damping:"20",friction:"2",disabled:"",scale:"false","scale-min":"0.5","scale-max":"10","scale-value":"1",animation:"true",bindChange:"",bindScale:"",bindHTouchMove:"",bindVTouchMove:"",width:m("10px"),height:m("10px")},f),v),ScrollView:Object.assign(Object.assign({"scroll-x":"false","scroll-y":"false","upper-threshold":"50","lower-threshold":"50","scroll-top":"","scroll-left":"","scroll-into-view":"","scroll-with-animation":"false","enable-back-to-top":"false",bindScrollToUpper:"",bindScrollToLower:"",bindScroll:""},f),v),Swiper:Object.assign({"indicator-dots":"false","indicator-color":m("rgba(0, 0, 0, .3)"),"indicator-active-color":m("#000000"),autoplay:"false",current:"0",interval:"5000",duration:"500",circular:"false",vertical:"false","previous-margin":"'0px'","next-margin":"'0px'","display-multiple-items":"1",bindChange:"",bindTransition:"",bindAnimationFinish:""},f),SwiperItem:{"item-id":""},Navigator:{url:"","open-type":m("navigate"),delta:"1","hover-class":m("navigator-hover"),"hover-stop-propagation":"false","hover-start-time":"50","hover-stay-time":"600",bindSuccess:"",bindFail:"",bindComplete:""},Audio:{id:"",src:"",loop:"false",controls:"false",poster:"",name:"",author:"",bindError:"",bindPlay:"",bindPause:"",bindTimeUpdate:"",bindEnded:""},Camera:{"device-position":m("back"),flash:m("auto"),bindStop:"",bindError:""},Image:Object.assign({src:"",mode:m("scaleToFill"),"lazy-load":"false",bindError:"",bindLoad:""},f),LivePlayer:{src:"",autoplay:"false",muted:"false",orientation:m("vertical"),"object-fit":m("contain"),"background-mute":"false","min-cache":"1","max-cache":"3",animation:"",bindStateChange:"",bindFullScreenChange:"",bindNetStatus:""},Video:{src:"",duration:"",controls:"true","danmu-list":"","danmu-btn":"","enable-danmu":"",autoplay:"false",loop:"false",muted:"false","initial-time":"0","page-gesture":"false",direction:"","show-progress":"true","show-fullscreen-btn":"true","show-play-btn":"true","show-center-play-btn":"true","enable-progress-gesture":"true","object-fit":m("contain"),poster:"","show-mute-btn":"false",animation:"",bindPlay:"",bindPause:"",bindEnded:"",bindTimeUpdate:"",bindFullScreenChange:"",bindWaiting:"",bindError:""},Canvas:Object.assign({"canvas-id":"","disable-scroll":"false",bindError:""},f),Ad:{"unit-id":"","ad-intervals":"",bindLoad:"",bindError:"",bindClose:""},WebView:{src:"",bindMessage:"",bindLoad:"",bindError:""},Block:{},Map:b,Slot:{name:""},SlotView:{name:""}},w=new Set(["input","checkbox","picker","picker-view","radio","slider","switch","textarea"]),_=new Set(["input","textarea"]),O=new Set(["progress","icon","rich-text","input","textarea","slider","switch","audio","ad","official-account","open-data","navigation-bar"]),E=new Map([["view",-1],["catch-view",-1],["cover-view",-1],["static-view",-1],["pure-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]]),T={},S=[],C=function(){},j=Object.create(null),k=e=>({v:e}),P=e=>e.v;function A(e){return e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function x(e){for(var t="",n=!1,r=0;r<e.length;r++)"-"!==e[r]?(t+=n?e[r].toUpperCase():e[r],n=!1):n=!0;return t}var I=function(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()};function N(e){return e.charAt(0).toUpperCase()+e.slice(1)}var B=Object.prototype.hasOwnProperty,F=(e,t)=>B.call(e,t);function R(e,t){if(!e)throw new Error(t+"\n如有疑问请提交 issue 至https://github.com/nervjs/taro/issues")}function L(e,t){}function M(e){for(var t,n,r,o=decodeURIComponent,i=e.split("&"),a={},s=0,c=i.length;s<c;++s)if((r=i[s]).length){var u=r.indexOf("=");u<0?(t=o(r),n=""):(t=o(r.slice(0,u)),n=o(r.slice(u+1))),"string"==typeof a[t]&&(a[t]=[a[t]]),Array.isArray(a[t])?a[t].push(n):a[t]=n}return a}var D=1,U=(new Date).getTime().toString();function H(){return U+D++}var $={};function q(e,t){$[e]=t}function z(e,t){var n=$[e];return t&&delete $[e],n}function W(e){return e in $}function V(e){Object.keys(e).forEach((t=>{t in y?Object.assign(y[t],e[t]):y[t]=e[t]}))}function G(e){Object.keys(e).forEach((t=>{var n=e[t],r=j[t];r?d(r)?j[t]=r.push(n):j[t]=[r,n]:j[t]=n}))}function J(e){return function(){console.warn("小程序暂不支持 ".concat(e))}}function K(e,t){if(["navigateTo","redirectTo","reLaunch","switchTab"].indexOf(e)>-1){var n=(t.url=t.url||"").indexOf("?")>-1,r=H();t.url+=(n?"&":"?")+"".concat("__key_","=").concat(r)}}function Y(e,t){return e.split("\n").map(((e,n)=>(0===n?"":Array(t).fill(" ").join(""))+e)).join("\n")}var Q=new Set(["addPhoneContact","authorize","canvasGetImageData","canvasPutImageData","canvasToTempFilePath","checkSession","chooseAddress","chooseImage","chooseInvoiceTitle","chooseLocation","chooseVideo","clearStorage","closeBLEConnection","closeBluetoothAdapter","closeSocket","compressImage","connectSocket","createBLEConnection","downloadFile","exitMiniProgram","getAvailableAudioSources","getBLEDeviceCharacteristics","getBLEDeviceServices","getBatteryInfo","getBeacons","getBluetoothAdapterState","getBluetoothDevices","getClipboardData","getConnectedBluetoothDevices","getConnectedWifi","getExtConfig","getFileInfo","getImageInfo","getLocation","getNetworkType","getSavedFileInfo","getSavedFileList","getScreenBrightness","getSetting","getStorage","getStorageInfo","getSystemInfo","getUserInfo","getWifiList","hideHomeButton","hideShareMenu","hideTabBar","hideTabBarRedDot","loadFontFace","login","makePhoneCall","navigateBack","navigateBackMiniProgram","navigateTo","navigateToBookshelf","navigateToMiniProgram","notifyBLECharacteristicValueChange","hideKeyboard","hideLoading","hideNavigationBarLoading","hideToast","openBluetoothAdapter","openDocument","openLocation","openSetting","pageScrollTo","previewImage","queryBookshelf","reLaunch","readBLECharacteristicValue","redirectTo","removeSavedFile","removeStorage","removeTabBarBadge","requestSubscribeMessage","saveFile","saveImageToPhotosAlbum","saveVideoToPhotosAlbum","scanCode","sendSocketMessage","setBackgroundColor","setBackgroundTextStyle","setClipboardData","setEnableDebug","setInnerAudioOption","setKeepScreenOn","setNavigationBarColor","setNavigationBarTitle","setScreenBrightness","setStorage","setTabBarBadge","setTabBarItem","setTabBarStyle","showActionSheet","showFavoriteGuide","showLoading","showModal","showShareMenu","showTabBar","showTabBarRedDot","showToast","startBeaconDiscovery","startBluetoothDevicesDiscovery","startDeviceMotionListening","startPullDownRefresh","stopBeaconDiscovery","stopBluetoothDevicesDiscovery","stopCompass","startCompass","startAccelerometer","stopAccelerometer","showNavigationBarLoading","stopDeviceMotionListening","stopPullDownRefresh","switchTab","uploadFile","vibrateLong","vibrateShort","writeBLECharacteristicValue"]);function Z(e){return function(){if("function"!=typeof e.getSystemInfoSync)return console.error("不支持 API canIUseWebp"),!1;var{platform:t}=e.getSystemInfoSync(),n=t.toLowerCase();return"android"===n||"devtools"===n}}function X(e){return function(t){"string"==typeof(t=t||{})&&(t={url:t});var n,r=t.success,o=t.fail,i=t.complete,a=new Promise(((a,s)=>{t.success=e=>{r&&r(e),a(e)},t.fail=e=>{o&&o(e),s(e)},t.complete=e=>{i&&i(e)},n=e.request(t)}));return a.abort=e=>(e&&e(),n&&n.abort(),a),a}}function ee(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.needPromiseApis||[],o=new Set([...r,...Q]),i=["getEnv","interceptors","Current","getCurrentInstance","options","nextTick","eventCenter","Events","preload","webpackJsonp"],a=new Set(n.isOnlyPromisify?new Set(r):Object.keys(t).filter((e=>-1===i.indexOf(e))));n.modifyApis&&n.modifyApis(a),a.forEach((r=>{if(o.has(r)){var i=r;e[i]=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length,o=new Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];var s=i;if("string"==typeof e)return o.length?t[s](e,...o):t[s](e);if(n.transformMeta){var c=n.transformMeta(s,e);if(s=c.key,e=c.options,!t.hasOwnProperty(s))return J(s)()}var u=null,l=Object.assign({},e);K(s,e);var d=new Promise(((r,i)=>{l.success=t=>{var o,i;null===(o=n.modifyAsyncResult)||void 0===o||o.call(n,s,t),null===(i=e.success)||void 0===i||i.call(e,t),r("connectSocket"===s?Promise.resolve().then((()=>u?Object.assign(u,t):t)):t)},l.fail=t=>{var n;null===(n=e.fail)||void 0===n||n.call(e,t),i(t)},l.complete=t=>{var n;null===(n=e.complete)||void 0===n||n.call(e,t)},u=o.length?t[s](l,...o):t[s](l)}));return"uploadFile"!==s&&"downloadFile"!==s||(d.progress=e=>(null==u||u.onProgressUpdate(e),d),d.abort=e=>(null==e||e(),null==u||u.abort(),d)),d}}else{var a=r;if(n.transformMeta&&(a=n.transformMeta(r,{}).key),!t.hasOwnProperty(a))return void(e[r]=J(r));"function"==typeof t[r]?e[r]=function(){for(var e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];return n.handleSyncApis?n.handleSyncApis(r,t,o):t[a].apply(t,o)}:e[r]=t[a]}})),!n.isOnlyPromisify&&te(e,t,n)}function te(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.canIUseWebp=Z(e),e.getCurrentPages=getCurrentPages||J("getCurrentPages"),e.getApp=getApp||J("getApp"),e.env=t.env||{};try{e.requirePlugin=requirePlugin||J("requirePlugin")}catch(t){e.requirePlugin=J("requirePlugin")}var r=n.request?n.request:X(t);function o(e){return r(e.requestParams)}var i=new e.Link(o);e.request=i.request.bind(i),e.addInterceptor=i.addInterceptor.bind(i),e.cleanInterceptors=i.cleanInterceptors.bind(i),e.miniGlobal=e.options.miniGlobal=t}},572:function(e,t,n){"use strict";n.d(t,"b",(function(){return g}));var r=n(855),o=n.n(r),i=n(771),a=n(43),s=n(46);var c=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord/i;function u(e,t,n){var r;for(r in t)r in n||d(e,r,null,t[r]);var o=e instanceof a.FormElement;for(r in n)(t[r]!==n[r]||o&&"value"===r)&&d(e,r,n[r],t[r])}function l(e,t,n){"-"===t[0]&&e.setProperty(t,n.toString()),e[t]=Object(s.isNumber)(n)&&!1===c.test(t)?n+"px":null==n?"":n}function d(e,t,n,r){var o,i,a,c;if("key"===(t="className"===t?"class":t)||"children"===t||"ref"===t);else if("style"===t){var u=e.style;if(Object(s.isString)(n))u.cssText=n;else{if(Object(s.isString)(r)&&(u.cssText="",r=null),Object(s.isObject)(r))for(var d in r)n&&d in n||l(u,d,"");if(Object(s.isObject)(n))for(var p in n)r&&n[p]===r[p]||l(u,p,n[p])}}else if(function(e){return"o"===e[0]&&"n"===e[1]}(t))!function(e,t,n,r){var o=t.endsWith("Capture"),i=t.toLowerCase().slice(2);o&&(i=i.slice(0,-7));var a=Object(s.capitalize)(Object(s.toCamelCase)(e.tagName.toLowerCase()));"click"===i&&a in s.internalComponents&&(i="tap"),Object(s.isFunction)(n)?(r||e.addEventListener(i,n,o),"regionchange"===i?(e.__handlers.begin[0]=n,e.__handlers.end[0]=n):e.__handlers[i][0]=n):e.removeEventListener(i,r)}(e,t,n,r);else if("dangerouslySetInnerHTML"===t){var h=null!==(i=null===(o=n)||void 0===o?void 0:o.__html)&&void 0!==i?i:"",f=null!==(c=null===(a=r)||void 0===a?void 0:a.__html)&&void 0!==c?c:"";(h||f)&&f!==h&&(e.innerHTML=h)}else Object(s.isFunction)(n)||(null==n?e.removeAttribute(t):e.setAttribute(t,n))}var{unstable_now:p}=i;var h={createInstance:e=>a.document.createElement(e),createTextInstance:e=>a.document.createTextNode(e),getPublicInstance:e=>e,getRootHostContext:()=>({}),getChildHostContext:()=>({}),appendChild(e,t){e.appendChild(t)},appendInitialChild(e,t){e.appendChild(t)},appendChildToContainer(e,t){e.appendChild(t)},removeChild(e,t){e.removeChild(t)},removeChildFromContainer(e,t){e.removeChild(t)},insertBefore(e,t,n){e.insertBefore(t,n)},insertInContainerBefore(e,t,n){e.insertBefore(t,n)},commitTextUpdate(e,t,n){e.nodeValue=n},finalizeInitialChildren:(e,t,n)=>(u(e,{},n),!1),prepareUpdate:()=>s.EMPTY_ARR,commitUpdate(e,t,n,r,o){u(e,r,o)},hideInstance(e){e.style.setProperty("display","none")},unhideInstance(e,t){var n=t.style,r=(null==n?void 0:n.hasOwnProperty("display"))?n.display:null;r=null==r||"boolean"==typeof r||""===r?"":(""+r).trim(),e.style.display=r},clearContainer(e){e.childNodes.length>0&&(e.textContent="")},queueMicrotask:"undefined"!=typeof Promise?e=>Promise.resolve(null).then(e).catch((function(e){setTimeout((()=>{throw e}))})):setTimeout,shouldSetTextContent:function(){return!1},prepareForCommit:()=>null,resetAfterCommit:s.noop,commitMount:s.noop,now:p,cancelTimeout:clearTimeout,scheduleTimeout:setTimeout,preparePortalMount:s.noop,noTimeout:-1,supportsMutation:!0,supportsPersistence:!1,isPrimaryRenderer:!0,supportsHydration:!1},f=o()(h),v=new WeakMap;class m{constructor(e,t){this.renderer=e,this.internalRoot=e.createContainer(t,0,!1,null)}render(e,t){return this.renderer.updateContainer(e,this.internalRoot,null,t),this.renderer.getPublicRootInstance(this.internalRoot)}unmount(e){this.renderer.updateContainer(null,this.internalRoot,null,e)}}var g=f.batchedUpdates;var b="function"==typeof Symbol&&Symbol.for?Symbol.for("react.portal"):60106;var y={render:function(e,t,n){var r=v.get(t);if(null!=r)return r.render(e,n);var o=new m(f,t);return v.set(t,o),o.render(e,n)},unstable_batchedUpdates:g,unmountComponentAtNode:function(e){Object(s.ensure)(e&&[1,8,9,11].includes(e.nodeType),"unmountComponentAtNode(...): Target container is not a DOM element.");var t=v.get(e);return!!t&&(g((()=>{t.unmount((()=>{v.delete(e)}))}),null),!0)},findDOMNode:function(e){if(null==e)return null;var t=e.nodeType;return 1===t||3===t?e:f.findHostInstance(e)},createPortal:function(e,t,n){return{$$typeof:b,key:null==n?null:String(n),children:e,containerInfo:t,implementation:null}}};t.a=y}}])}));