define("taro.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,fetch,XMLHttpRequest,WebSocket,webkit,ttJSCore,Reporter,print,indexedDB){ (tt["webpackJsonp"]=tt["webpackJsonp"]||[]).push([[1],{16:function(t,e,n){var r=n(20),i=r.hooks,o=n(507).default;i.isExist("initNativeApi")&&i.call("initNativeApi",o),t.exports=o,t.exports.default=t.exports},17:function(t,e,n){"use strict";n.d(e,"a",(function(){return mt})),n.d(e,"b",(function(){return it})),n.d(e,"c",(function(){return kt})),n.d(e,"d",(function(){return rt})),n.d(e,"e",(function(){return wt})),n.d(e,"f",(function(){return Pt})),n.d(e,"g",(function(){return gt})),n.d(e,"h",(function(){return nt})),n.d(e,"i",(function(){return ft})),n.d(e,"j",(function(){return st})),n.d(e,"k",(function(){return lt})),n.d(e,"l",(function(){return ct})),n.d(e,"m",(function(){return dt})),n.d(e,"n",(function(){return ut})),n.d(e,"o",(function(){return ot})),n.d(e,"p",(function(){return at})),n.d(e,"q",(function(){return Tt})),n.d(e,"r",(function(){return _t})),n.d(e,"s",(function(){return yt})),n.d(e,"t",(function(){return Bt})),n.d(e,"u",(function(){return v})),n.d(e,"v",(function(){return jt})),n.d(e,"w",(function(){return Ot})),n.d(e,"x",(function(){return St}));var r=n(36),i=n(23),o=n(24),a=n(69),c=n(12),u=n(15),s="[]",l="",d="!0",h="!1",f={bindTouchStart:l,bindTouchMove:l,bindTouchEnd:l,bindTouchCancel:l,bindLongTap:l},p={animation:l,bindAnimationStart:l,bindAnimationIteration:l,bindAnimationEnd:l,bindTransitionEnd:l};function v(t){return"'".concat(t,"'")}var b=Object.assign(Object.assign({"hover-class":v("none"),"hover-stop-propagation":h,"hover-start-time":"50","hover-stay-time":"400"},f),p),g={type:l,size:"23",color:l},m=Object.assign({longitude:l,latitude:l,scale:"16",markers:s,covers:l,polyline:s,circles:s,controls:s,"include-points":s,"show-location":l,"layer-style":"1",bindMarkerTap:l,bindControlTap:l,bindCalloutTap:l,bindUpdated:l},f),y={percent:l,"stroke-width":"6",color:v("#09BB07"),activeColor:v("#09BB07"),backgroundColor:v("#EBEBEB"),active:h,"active-mode":v("backwards"),"show-info":h},O={nodes:s},j={selectable:h,space:l,decode:h},k=Object.assign({size:v("default"),type:l,plain:h,disabled:l,loading:h,"form-type":l,"open-type":l,"hover-class":v("button-hover"),"hover-stop-propagation":h,"hover-start-time":"20","hover-stay-time":"70",name:l},f),w={value:l,disabled:l,checked:h,color:v("#09BB07"),name:l},S={bindChange:l,name:l},E={"report-submit":h,bindSubmit:l,bindReset:l,name:l},C={value:l,type:v(l),password:h,placeholder:l,"placeholder-style":l,"placeholder-class":v("input-placeholder"),disabled:l,maxlength:"140","cursor-spacing":"0",focus:h,"confirm-type":v("done"),"confirm-hold":h,cursor:"i.value.length","selection-start":"-1","selection-end":"-1",bindInput:l,bindFocus:l,bindBlur:l,bindConfirm:l,name:l},x={for:l,name:l},T={mode:v("selector"),disabled:l,range:l,"range-key":l,value:l,start:l,end:l,fields:v("day"),"custom-item":l,name:l,bindCancel:l,bindChange:l,bindColumnChange:l},P={value:l,"indicator-style":l,"indicator-class":l,"mask-style":l,"mask-class":l,bindChange:l,name:l},_={name:l},I={value:l,checked:h,disabled:l,color:v("#09BB07"),name:l},N={bindChange:l,name:l},A={min:"0",max:"100",step:"1",disabled:l,value:"0",activeColor:v("#1aad19"),backgroundColor:v("#e9e9e9"),"block-size":"28","block-color":v("#ffffff"),"show-value":h,bindChange:l,bindChanging:l,name:l},L={checked:h,disabled:l,type:v("switch"),color:v("#04BE02"),bindChange:l,name:l},R={value:l,placeholder:l,"placeholder-style":l,"placeholder-class":v("textarea-placeholder"),disabled:l,maxlength:"140","auto-focus":h,focus:h,"auto-height":h,fixed:h,"cursor-spacing":"0",cursor:"-1","selection-start":"-1","selection-end":"-1",bindFocus:l,bindBlur:l,bindLineChange:l,bindInput:l,bindConfirm:l,name:l},B={src:l,bindLoad:"eh",bindError:"eh"},M=Object.assign({"scroll-top":h},f),D={"scale-area":h},U=Object.assign(Object.assign({direction:"none",inertia:h,"out-of-bounds":h,x:l,y:l,damping:"20",friction:"2",disabled:l,scale:h,"scale-min":"0.5","scale-max":"10","scale-value":"1",bindChange:l,bindScale:l,bindHTouchMove:l,bindVTouchMove:l,width:v("10px"),height:v("10px")},f),p),F=Object.assign(Object.assign({"scroll-x":h,"scroll-y":h,"upper-threshold":"50","lower-threshold":"50","scroll-top":l,"scroll-left":l,"scroll-into-view":l,"scroll-with-animation":h,"enable-back-to-top":h,bindScrollToUpper:l,bindScrollToLower:l,bindScroll:l},f),p),W=Object.assign({"indicator-dots":h,"indicator-color":v("rgba(0, 0, 0, .3)"),"indicator-active-color":v("#000000"),autoplay:h,current:"0",interval:"5000",duration:"500",circular:h,vertical:h,"previous-margin":v("0px"),"next-margin":v("0px"),"display-multiple-items":"1",bindChange:l,bindTransition:l,bindAnimationFinish:l},f),V={"item-id":l},q={url:l,"open-type":v("navigate"),delta:"1","hover-class":v("navigator-hover"),"hover-stop-propagation":h,"hover-start-time":"50","hover-stay-time":"600",bindSuccess:l,bindFail:l,bindComplete:l},G={id:l,src:l,loop:h,controls:h,poster:l,name:l,author:l,bindError:l,bindPlay:l,bindPause:l,bindTimeUpdate:l,bindEnded:l},z={"device-position":v("back"),flash:v("auto"),bindStop:l,bindError:l},H=Object.assign({src:l,mode:v("scaleToFill"),"lazy-load":h,bindError:l,bindLoad:l},f),$=Object.assign({src:l,autoplay:h,muted:h,orientation:v("vertical"),"object-fit":v("contain"),"background-mute":h,"min-cache":"1","max-cache":"3",bindStateChange:l,bindFullScreenChange:l,bindNetStatus:l},p),Y=Object.assign({src:l,duration:l,controls:d,"danmu-list":l,"danmu-btn":l,"enable-danmu":l,autoplay:h,loop:h,muted:h,"initial-time":"0","page-gesture":h,direction:l,"show-progress":d,"show-fullscreen-btn":d,"show-play-btn":d,"show-center-play-btn":d,"enable-progress-gesture":d,"object-fit":v("contain"),poster:l,"show-mute-btn":h,bindPlay:l,bindPause:l,bindEnded:l,bindTimeUpdate:l,bindFullScreenChange:l,bindWaiting:l,bindError:l},p),J=Object.assign({"canvas-id":l,"disable-scroll":h,bindError:l},f),K={"unit-id":l,"ad-intervals":l,bindLoad:l,bindError:l,bindClose:l},Q={src:l,bindMessage:l,bindLoad:l,bindError:l},Z={},X={name:l},tt={name:l},et={name:l},nt={View:b,Icon:g,Progress:y,RichText:O,Text:j,Button:k,Checkbox:w,CheckboxGroup:S,Form:E,Input:C,Label:x,Picker:T,PickerView:P,PickerViewColumn:_,Radio:I,RadioGroup:N,Slider:A,Switch:L,CoverImage:B,Textarea:R,CoverView:M,MovableArea:D,MovableView:U,ScrollView:F,Swiper:W,SwiperItem:V,Navigator:q,Audio:G,Camera:z,Image:H,LivePlayer:$,Video:Y,Canvas:J,Ad:K,WebView:Q,Block:Z,Map:m,Slot:tt,SlotView:X,NativeSlot:et},rt=new Set(["input","checkbox","picker","picker-view","radio","slider","switch","textarea"]),it=(new Set(["input","textarea"]),new Set(["progress","icon","rich-text","input","textarea","slider","switch","audio","ad","official-account","open-data","navigation-bar"]),new Map([["view",-1],["catch-view",-1],["cover-view",-1],["static-view",-1],["pure-view",-1],["block",-1],["text",-1],["static-text",6],["slot",8],["slot-view",8],["label",6],["form",4],["scroll-view",4],["swiper",4],["swiper-item",4]]),function(){function t(e){var n;Object(c["a"])(this,t),this.callbacks=null!==(n=null===e||void 0===e?void 0:e.callbacks)&&void 0!==n?n:{}}return Object(u["a"])(t,[{key:"on",value:function(e,n,r){var i,o,a,c;if(!n)return this;e=e.split(t.eventSplitter),this.callbacks||(this.callbacks={});var u=this.callbacks;while(i=e.shift())c=u[i],o=c?c.tail:{},o.next=a={},o.context=r,o.callback=n,u[i]={tail:a,next:c?c.next:o};return this}},{key:"once",value:function(t,e,n){var r=this,i=function i(){for(var o=arguments.length,a=new Array(o),c=0;c1?u-1:0),l=1;le?1:-1:r?-1:i||t>=e?1:-1})).forEach((function(n,r){var i={_num:String(r)};Object.keys(t[n]).filter((function(t){return!/^bind/.test(t)&&!["focus","blur"].includes(t)})).sort().forEach((function(t,e){i[jt(t)]="p"+e})),e[Ot(n)]=i})),e}function _t(t,e){var n=e||gt,r=Object.keys(t);r.forEach((function(e){n.tap(e,t[e])}))}function It(t){return function(){console.warn("\u5c0f\u7a0b\u5e8f\u6682\u4e0d\u652f\u6301 ".concat(t))}}function Nt(t,e){var n="__key_",r=["navigateTo","redirectTo","reLaunch","switchTab"];if(r.indexOf(t)>-1){var i=e.url=e.url||"",o=i.indexOf("?")>-1,a=xt();e.url+=(o?"&":"?")+"".concat(n,"=").concat(a)}}var At=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 Lt(t){return function(){var e,n=null===(e=t.getSystemInfoSync)||void 0===e?void 0:e.call(t);if(!n)return!1;var r=n.platform,i=r.toLowerCase();return"android"===i||"devtools"===i}}function Rt(t){return function(e){e=e?ot(e)?{url:e}:e:{};var n,r=e.success,i=e.fail,o=e.complete,a=new Promise((function(a,c){e.success=function(t){r&&r(t),a(t)},e.fail=function(t){i&&i(t),c(t)},e.complete=function(t){o&&o(t)},n=t.request(e)}));return Dt(n,a),a.abort=function(t){return t&&t(),n&&n.abort(),a},a}}function Bt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.needPromiseApis||[],o=new Set([].concat(Object(r["a"])(i),Object(r["a"])(At))),a=["getEnv","interceptors","Current","getCurrentInstance","options","nextTick","eventCenter","Events","preload","webpackJsonp"],c=new Set(n.isOnlyPromisify?i:Object.keys(e).filter((function(t){return-1===a.indexOf(t)})));n.modifyApis&&n.modifyApis(c),c.forEach((function(r){if(o.has(r)){var i=r;t[i]=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length,o=new Array(r>1?r-1:0),a=1;a2&&void 0!==arguments[2]?arguments[2]:{};t.canIUseWebp=Lt(t),t.getCurrentPages=getCurrentPages||It("getCurrentPages"),t.getApp=getApp||It("getApp"),t.env=e.env||{};try{t.requirePlugin=requirePlugin||It("requirePlugin")}catch(e){t.requirePlugin=It("requirePlugin")}var r=n.request||Rt(e);function i(t){return r(t.requestParams)}var o=new t.Link(i);t.request=o.request.bind(o),t.addInterceptor=o.addInterceptor.bind(o),t.cleanInterceptors=o.cleanInterceptors.bind(o),t.miniGlobal=t.options.miniGlobal=e}function Dt(t,e){if(t&&e){var n=["abort","onHeadersReceived","offHeadersReceived","onProgressUpdate","offProgressUpdate","onChunkReceived","offChunkReceived"];t&&n.forEach((function(n){n in t&&(e[n]=t[n].bind(t))}))}}},185:function(t,e){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports["default"]=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports["default"]=t.exports},186:function(t,e,n){"use strict";n.d(e,"a",(function(){return P})),n.d(e,"b",(function(){return S}));var r=n(12),i=n(15),o=n(17),a=n(20),c=n(347),u=n.n(c),s=n(348);function l(t){return"o"===t[0]&&"n"===t[1]}var d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function h(t,e,n){var r=p(t,e,n);r&&f(t,e,r)}function f(t,e,n){for(var r=0;r0&&(t.textContent="")}},y=u()(m),O=new WeakMap,j=function(){function t(e,n,i){Object(r["a"])(this,t),this.renderer=e,this.initInternalRoot(e,n,i)}return Object(i["a"])(t,[{key:"initInternalRoot",value:function(t,e,n){var r=e;if(n){var i=1,o=!1,a=!1,c="",u=function(t){return console.error(t)},s=null;!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(c=n.identifierPrefix),void 0!==n.onRecoverableError&&(u=n.onRecoverableError),void 0!==n.unstable_transitionCallbacks&&(s=n.unstable_transitionCallbacks),this.internalRoot=t.createContainer(r,i,null,a,o,c,u,s)}else{var l=0;this.internalRoot=t.createContainer(r,l,null,!1,!1,"",(function(){}),null)}}},{key:"render",value:function(t,e){var n=this.renderer,r=this.internalRoot;return n.updateContainer(t,r,null,e),n.getPublicRootInstance(r)}},{key:"unmount",value:function(t){this.renderer.updateContainer(null,this.internalRoot,null,t)}}]),t}();function k(t,e,n){var r=O.get(e);if(null!=r)return r.render(t,n);var i=new j(y,e);return O.set(e,i),i.render(t,n)}function w(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=O.get(t);if(null!=n)return n;var r=new j(y,t,e);return O.set(t,r),r}var S=y.batchedUpdates;function E(t){Object(o["e"])(t&&[1,8,9,11].includes(t.nodeType),"unmountComponentAtNode(...): Target container is not a DOM element.");var e=O.get(t);return!!e&&(S((function(){e.unmount((function(){O.delete(t)}))}),null),!0)}function C(t){if(null==t)return null;var e=t.nodeType;return 1===e||3===e?t:y.findHostInstance(t)}var x=Object(o["k"])(Symbol)&&Symbol.for?Symbol.for("react.portal"):60106;function T(t,e,n){return{$$typeof:x,key:null==n?null:String(n),children:t,containerInfo:e,implementation:null}}var P={render:k,createRoot:w,unstable_batchedUpdates:S,unmountComponentAtNode:E,findDOMNode:C,createPortal:T}},2:function(t,e,n){"use strict";n.r(e),n.d(e,"Ad",(function(){return B})),n.d(e,"Audio",(function(){return _})),n.d(e,"AwemeData",(function(){return H})),n.d(e,"Block",(function(){return D})),n.d(e,"Button",(function(){return u})),n.d(e,"Camera",(function(){return I})),n.d(e,"Canvas",(function(){return R})),n.d(e,"Checkbox",(function(){return s})),n.d(e,"CheckboxGroup",(function(){return l})),n.d(e,"ConsumeCard",(function(){return z})),n.d(e,"CoverImage",(function(){return j})),n.d(e,"CoverView",(function(){return w})),n.d(e,"CustomWrapper",(function(){return V})),n.d(e,"Form",(function(){return d})),n.d(e,"Icon",(function(){return i})),n.d(e,"Image",(function(){return N})),n.d(e,"Input",(function(){return h})),n.d(e,"Label",(function(){return f})),n.d(e,"LivePlayer",(function(){return A})),n.d(e,"Map",(function(){return U})),n.d(e,"MovableArea",(function(){return S})),n.d(e,"MovableView",(function(){return E})),n.d(e,"NativeSlot",(function(){return W})),n.d(e,"Navigator",(function(){return P})),n.d(e,"OpenData",(function(){return Y})),n.d(e,"PayButton",(function(){return G})),n.d(e,"Picker",(function(){return p})),n.d(e,"PickerView",(function(){return v})),n.d(e,"PickerViewColumn",(function(){return b})),n.d(e,"Progress",(function(){return o})),n.d(e,"Radio",(function(){return g})),n.d(e,"RadioGroup",(function(){return m})),n.d(e,"RateButton",(function(){return $})),n.d(e,"RichText",(function(){return a})),n.d(e,"RtcRoom",(function(){return q})),n.d(e,"ScrollView",(function(){return C})),n.d(e,"Slider",(function(){return y})),n.d(e,"Slot",(function(){return F})),n.d(e,"Swiper",(function(){return x})),n.d(e,"SwiperItem",(function(){return T})),n.d(e,"Switch",(function(){return O})),n.d(e,"Text",(function(){return c})),n.d(e,"Textarea",(function(){return k})),n.d(e,"Video",(function(){return L})),n.d(e,"View",(function(){return r})),n.d(e,"WebView",(function(){return M}));var r="view",i="icon",o="progress",a="rich-text",c="text",u="button",s="checkbox",l="checkbox-group",d="form",h="input",f="label",p="picker",v="picker-view",b="picker-view-column",g="radio",m="radio-group",y="slider",O="switch",j="cover-image",k="textarea",w="cover-view",S="movable-area",E="movable-view",C="scroll-view",x="swiper",T="swiper-item",P="navigator",_="audio",I="camera",N="image",A="live-player",L="video",R="canvas",B="ad",M="web-view",D="block",U="map",F="slot",W="native-slot",V="custom-wrapper",q="rtc-room",G="pay-button",z="consume-card",H="aweme-data",$="rate-button",Y="open-data"},20:function(t,e,n){"use strict";n.r(e),function(t,r,i){n.d(e,"Current",(function(){return er})),n.d(e,"FormElement",(function(){return rn})),n.d(e,"History",(function(){return zn})),n.d(e,"Location",(function(){return or})),n.d(e,"MutationObserver",(function(){return ft})),n.d(e,"SVGElement",(function(){return Or})),n.d(e,"Style",(function(){return oe})),n.d(e,"TaroElement",(function(){return se})),n.d(e,"TaroEvent",(function(){return Ze})),n.d(e,"TaroNode",(function(){return Rt})),n.d(e,"TaroRootElement",(function(){return sn})),n.d(e,"TaroText",(function(){return ln})),n.d(e,"URL",(function(){return Tn})),n.d(e,"URLSearchParams",(function(){return xn})),n.d(e,"addLeadingSlash",(function(){return Cr})),n.d(e,"cancelAnimationFrame",(function(){return br})),n.d(e,"createComponentConfig",(function(){return Lr})),n.d(e,"createEvent",(function(){return Xe})),n.d(e,"createPageConfig",(function(){return Ar})),n.d(e,"createRecursiveComponentConfig",(function(){return Rr})),n.d(e,"document",(function(){return In})),n.d(e,"eventCenter",(function(){return Vn})),n.d(e,"eventHandler",(function(){return nn})),n.d(e,"eventSource",(function(){return Pt})),n.d(e,"getComputedStyle",(function(){return Rn})),n.d(e,"getCurrentInstance",(function(){return nr})),n.d(e,"getPageInstance",(function(){return Sr})),n.d(e,"history",(function(){return yr})),n.d(e,"hydrate",(function(){return It})),n.d(e,"incrementId",(function(){return pt})),n.d(e,"injectPageInstance",(function(){return wr})),n.d(e,"location",(function(){return mr})),n.d(e,"navigator",(function(){return hr})),n.d(e,"nextTick",(function(){return Br})),n.d(e,"now",(function(){return cr})),n.d(e,"options",(function(){return le})),n.d(e,"parseUrl",(function(){return Pn})),n.d(e,"removePageInstance",(function(){return Er})),n.d(e,"requestAnimationFrame",(function(){return vr})),n.d(e,"safeExecute",(function(){return xr})),n.d(e,"stringify",(function(){return Tr})),n.d(e,"window",(function(){return fr}));n(69);var o=n(35),a=n(342),c=n(343),u=n(6),s=n(5),l=n(23),d=n(24),h=n(72),f=n(47),p=n(260),v=n(36),b=n(12),g=n(15),m=n(17);n.d(e,"Events",(function(){return m["b"]})),n.d(e,"hooks",(function(){return m["g"]}));var y,O="\u5c0f\u7a0b\u5e8f setData",j="\u9875\u9762\u521d\u59cb\u5316",k="root",w="html",S="head",E="body",C="app",x="container",T="#document",P="document-fragment",_="id",I="uid",N="class",A="style",L="focus",R="view",B="static-view",M="pure-view",D="value",U="input",F="change",W="custom-wrapper",V="target",q="currentTarget",G="type",z="confirm",H="timeStamp",$="keyCode",Y="touchmove",J="catchMove",K="catch-view",Q="comment",Z="onLoad",X="onReady",tt="onShow",et="onHide",nt="options",rt="externalClasses",it="e_result",ot="behaviors",at="a";(function(t){t["INIT"]="0",t["RESTORE"]="1",t["RECOVER"]="2",t["DESTORY"]="3"})(y||(y={}));var ct=[],ut=function(t,e){return!!t&&t.sid===(null===e||void 0===e?void 0:e.sid)},st=function(t,e){var n=e.characterData,r=e.characterDataOldValue,i=e.attributes,o=e.attributeOldValue,a=e.childList;switch(t.type){case"characterData":return!!n&&(r||(t.oldValue=null),!0);case"attributes":return!!i&&(o||(t.oldValue=null),!0);case"childList":return!!a}},lt=!1;function dt(t,e){t.records.push(e),lt||(lt=!0,Promise.resolve().then((function(){lt=!1,ct.forEach((function(t){return t.callback(t.takeRecords())}))})))}function ht(t){ct.forEach((function(e){for(var n=e.options,r=t.target;r;r=r.parentNode){if(ut(e.target,r)&&st(t,n)){dt(e,t);break}if(!n.subtree)break}}))}var ft=function(){function t(e){Object(b["a"])(this,t),this.core={observe:m["s"],disconnect:m["s"],takeRecords:m["s"]}}return Object(g["a"])(t,[{key:"observe",value:function(){var t;(t=this.core).observe.apply(t,arguments)}},{key:"disconnect",value:function(){this.core.disconnect()}},{key:"takeRecords",value:function(){return this.core.takeRecords()}}],[{key:"record",value:function(t){ht(t)}}]),t}(),pt=function(){for(var t=[],e=65;e<=90;e++)t.push(e);for(var n=97;n<=122;n++)t.push(n);var r=t.length-1,i=[0,0];return function(){var e=i.map((function(e){return t[e]})),n=String.fromCharCode.apply(String,Object(v["a"])(e)),o=i.length-1;i[o]++;while(i[o]>r){if(i[o]=0,o-=1,o<0){i.push(0);break}i[o]++}return n}};function vt(t){return 1===t.nodeType}function bt(t){return 3===t.nodeType}function gt(t){return t.nodeName===Q}function mt(t){var e=Object.keys(t.props).find((function(t){return!(/^(class|style|id)$/.test(t)||t.startsWith("data-"))}));return Boolean(e)}function yt(t,e){var n,r=!1;while((null===t||void 0===t?void 0:t.parentElement)&&t.parentElement._path!==k){if(null===(n=t.parentElement.__handlers[e])||void 0===n?void 0:n.length){r=!0;break}t=t.parentElement}return r}function Ot(t){switch(t){case A:return"st";case _:return I;case N:return"cl";default:return t}}var jt,kt=new Map;function wt(t,e,n){Object(m["k"])(n)&&(n={value:n}),Object.defineProperty(t.prototype,e,Object.assign({configurable:!0,enumerable:!0},n))}function St(){return jt||(jt=Object(m["f"])(m["h"])),jt}var Et,Ct,xt=function(t){Object(l["a"])(n,t);var e=Object(d["a"])(n);function n(t,r){var i,o;return Object(b["a"])(this,n),o=e.call(this),t.trim().split(/\s+/).forEach(Object(h["a"])((i=Object(s["a"])(o),Object(f["a"])(n.prototype)),"add",i).bind(Object(s["a"])(o))),o.el=r,o}return Object(g["a"])(n,[{key:"add",value:function(t){return Object(h["a"])(Object(f["a"])(n.prototype),"add",this).call(this,t),this._update(),this}},{key:"remove",value:function(t){Object(h["a"])(Object(f["a"])(n.prototype),"delete",this).call(this,t),this._update()}},{key:"toggle",value:function(t){Object(h["a"])(Object(f["a"])(n.prototype),"has",this).call(this,t)?Object(h["a"])(Object(f["a"])(n.prototype),"delete",this).call(this,t):Object(h["a"])(Object(f["a"])(n.prototype),"add",this).call(this,t),this._update()}},{key:"replace",value:function(t,e){Object(h["a"])(Object(f["a"])(n.prototype),"delete",this).call(this,t),Object(h["a"])(Object(f["a"])(n.prototype),"add",this).call(this,e),this._update()}},{key:"contains",value:function(t){return Object(h["a"])(Object(f["a"])(n.prototype),"has",this).call(this,t)}},{key:"toString",value:function(){return this.value}},{key:"_update",value:function(){this.el.className=this.value}},{key:"value",get:function(){return Object(v["a"])(this).filter((function(t){return""!==t})).join(" ")}},{key:"length",get:function(){return this.size}}]),n}(Object(p["a"])(Set)),Tt=function(t){Object(l["a"])(n,t);var e=Object(d["a"])(n);function n(){return Object(b["a"])(this,n),e.apply(this,arguments)}return Object(g["a"])(n,[{key:"removeNode",value:function(t){var e=t.sid,n=t.uid;this.delete(e),n!==e&&n&&this.delete(n)}},{key:"removeNodeTree",value:function(t){var e=this;this.removeNode(t);var n=t.childNodes;n.forEach((function(t){return e.removeNodeTree(t)}))}}]),n}(Object(p["a"])(Map)),Pt=new Tt,_t={window:m["a"],document:m["a"]};function It(t){var e;Ct||(Ct=St()),Et||(Et=m["g"].call("getSpecialNodes"));var n,r=t.nodeName;if(bt(t))return n={},Object(u["a"])(n,"v",t.nodeValue),Object(u["a"])(n,"nn",Ct[r]._num),n;var i=(e={},Object(u["a"])(e,"nn",r),Object(u["a"])(e,"sid",t.sid),e);t.uid!==t.sid&&(i.uid=t.uid),!t.isAnyEventBinded()&&Et.indexOf(r)>-1&&(i["nn"]="static-".concat(r),r!==R||mt(t)||(i["nn"]=M));var o=t.props;for(var a in o){var c=Object(m["v"])(a);a.startsWith("data-")||a===N||a===A||a===_||c===J||(i[c]=o[a]),r===R&&c===J&&!1!==o[a]&&(i["nn"]=K)}var s=t.childNodes;s=s.filter((function(t){return!gt(t)})),s.length>0?i["cn"]=s.map(It):i["cn"]=[],""!==t.className&&(i["cl"]=t.className);var l=t.cssText;""!==l&&"swiper-item"!==r&&(i["st"]=l),m["g"].call("modifyHydrateData",i);var d=i["nn"],h=Ct[d];if(h)for(var f in i["nn"]=h._num,i)f in h&&(i[h[f]]=i[f],delete i[f]);return i}var Nt=function(){function t(){Object(b["a"])(this,t),this.__handlers={}}return Object(g["a"])(t,[{key:"addEventListener",value:function(t,e,n){if(t=t.toLowerCase(),m["g"].call("onAddEvent",t,e,n,this),"regionchange"===t)return this.addEventListener("begin",e,n),void this.addEventListener("end",e,n);Boolean(n);var r=!1;if(Object(m["n"])(n)&&(Boolean(n.capture),r=Boolean(n.once)),r){var i=function n(){e.apply(this,arguments),this.removeEventListener(t,n)};this.addEventListener(t,i,Object.assign(Object.assign({},n),{once:!1}))}else{var o=e;e=function(){return o.apply(this,arguments)},e.oldHandler=o;var a=this.__handlers[t];Object(m["i"])(a)?a.push(e):this.__handlers[t]=[e]}}},{key:"removeEventListener",value:function(t,e){if(t=t.toLowerCase(),"regionchange"===t)return this.removeEventListener("begin",e),void this.removeEventListener("end",e);if(e){var n=this.__handlers[t];if(Object(m["i"])(n)){var r=n.findIndex((function(t){if(t===e||t.oldHandler===e)return!0}));n.splice(r,1)}}}},{key:"isAnyEventBinded",value:function(){var t=this.__handlers,e=Object.keys(t).find((function(e){return t[e].length}));return Boolean(e)}}]),t}(),At="cn",Lt=pt(),Rt=function(t){Object(l["a"])(n,t);var e=Object(d["a"])(n);function n(){var t;return Object(b["a"])(this,n),t=e.call(this),t.parentNode=null,t.childNodes=[],t.hydrate=function(t){return function(){return It(t)}},t.uid="_"+Lt(),t.sid=t.uid,Pt.set(t.sid,Object(s["a"])(t)),t}return Object(g["a"])(n,[{key:"updateChildNodes",value:function(t){var e=this,n=function(){return[]},r=function(){var t=e.childNodes.filter((function(t){return!gt(t)}));return t.map(It)};this.enqueueUpdate({path:"".concat(this._path,".").concat(At),value:t?n:r})}},{key:"findIndex",value:function(t){var e=this.childNodes.indexOf(t);return Object(m["e"])(-1!==e,"The node to be replaced is not a child of this node."),e}},{key:"insertBefore",value:function(t,e,n){var r=this;if(t.nodeName===P)return t.childNodes.reduceRight((function(t,e){return r.insertBefore(e,t),e}),e),t;if(t.remove({cleanRef:!1}),t.parentNode=this,e){var i=this.findIndex(e);this.childNodes.splice(i,0,t)}else this.childNodes.push(t);if(this._root)if(e)n?this.enqueueUpdate({path:t._path,value:this.hydrate(t)}):this.updateChildNodes();else{var o=1===this.childNodes.length;o?this.updateChildNodes():this.enqueueUpdate({path:t._path,value:this.hydrate(t)})}return ft.record({type:"childList",target:this,addedNodes:[t],removedNodes:n?[e]:[],nextSibling:n?e.nextSibling:e||null,previousSibling:t.previousSibling}),t}},{key:"appendChild",value:function(t){return this.insertBefore(t)}},{key:"replaceChild",value:function(t,e){if(e.parentNode===this)return this.insertBefore(t,e,!0),e.remove({doUpdate:!1}),e}},{key:"removeChild",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.cleanRef,r=e.doUpdate;!1!==n&&!1!==r&&ft.record({type:"childList",target:this,removedNodes:[t],nextSibling:t.nextSibling,previousSibling:t.previousSibling});var i=this.findIndex(t);return this.childNodes.splice(i,1),t.parentNode=null,!1!==n&&Pt.removeNodeTree(t),this._root&&!1!==r&&this.updateChildNodes(),t}},{key:"remove",value:function(t){var e;null===(e=this.parentNode)||void 0===e||e.removeChild(this,t)}},{key:"hasChildNodes",value:function(){return this.childNodes.length>0}},{key:"enqueueUpdate",value:function(t){var e;null===(e=this._root)||void 0===e||e.enqueueUpdate(t)}},{key:"_root",get:function(){var t;return(null===(t=this.parentNode)||void 0===t?void 0:t._root)||null}},{key:"_path",get:function(){var t=this.parentNode;if(t){var e=t.childNodes.filter((function(t){return!gt(t)})),n=e.indexOf(this),r=m["g"].call("getPathIndex",n);return"".concat(t._path,".").concat(At,".").concat(r)}return""}},{key:"nextSibling",get:function(){var t=this.parentNode;return(null===t||void 0===t?void 0:t.childNodes[t.findIndex(this)+1])||null}},{key:"previousSibling",get:function(){var t=this.parentNode;return(null===t||void 0===t?void 0:t.childNodes[t.findIndex(this)-1])||null}},{key:"parentElement",get:function(){var t=this.parentNode;return 1===(null===t||void 0===t?void 0:t.nodeType)?t:null}},{key:"firstChild",get:function(){return this.childNodes[0]||null}},{key:"lastChild",get:function(){var t=this.childNodes;return t[t.length-1]||null}},{key:"textContent",set:function(t){var e=this.childNodes.slice(),n=[];while(this.firstChild)this.removeChild(this.firstChild,{doUpdate:!1});if(""===t)this.updateChildNodes(!0);else{var r=_t.document.createTextNode(t);n.push(r),this.appendChild(r),this.updateChildNodes()}ft.record({type:"childList",target:this,removedNodes:e,addedNodes:n})}},{key:"ownerDocument",get:function(){return _t.document}}],[{key:"extend",value:function(t,e){wt(n,t,e)}}]),n}(Nt),Bt="webkit",Mt=["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 Dt(t,e,n){!n&&Mt.push(t),e.forEach((function(e){Mt.push(t+e),t===Bt&&Mt.push("Webkit"+e)}))}var Ut="Color",Ft="Style",Wt="Width",Vt="Image",qt="Size",Gt=[Ut,Ft,Wt],zt=["FitLength","FitWidth",Vt],Ht=[].concat(zt,["Radius"]),$t=[].concat(Gt,zt),Yt=["EndRadius","StartRadius"],Jt=["Bottom","Left","Right","Top"],Kt=["End","Start"],Qt=["Content","Items","Self"],Zt=["BlockSize","Height","InlineSize",Wt],Xt=["After","Before"];function te(t){ft.record({type:"attributes",target:t._element,attributeName:"style",oldValue:t.cssText})}function ee(t){var e=t._element;e._root&&e.enqueueUpdate({path:"".concat(e._path,".","st"),value:t.cssText})}function ne(t,e){var n=this[e];n!==t&&(!this._pending&&te(this),Object(m["l"])(t)||Object(m["p"])(t)?(this._usedStyleProp.delete(e),delete this._value[e]):(this._usedStyleProp.add(e),this._value[e]=t),!this._pending&&ee(this))}function re(t){for(var e={},n=function(t){var n=Mt[t];e[n]={get:function(){var t=this._value[n];return Object(m["l"])(t)||Object(m["p"])(t)?"":t},set:function(t){ne.call(this,t,n)}}},r=0;r0}},{key:"blur",value:function(){this.setAttribute(L,!1)}},{key:"setAttribute",value:function(t,e){var n=this.nodeName===R&&!mt(this)&&!this.isAnyEventBinded();switch(t!==A&&ft.record({target:this,type:"attributes",attributeName:t,oldValue:this.getAttribute(t)}),t){case A:this.style.cssText=e;break;case _:this.uid!==this.sid&&Pt.delete(this.uid),e=String(e),this.props[t]=this.uid=e,Pt.set(e,this);break;default:this.props[t]=e,t.startsWith("data-")&&(this.dataset===m["a"]&&(this.dataset=Object.create(null)),this.dataset[Object(m["v"])(t.replace(/^data-/,""))]=e);break}if(this._root){var r=St(),i=r[this.nodeName],o=r[R]._num,a=r[B]._num,c=r[K]._num,u=this._path;t=Ot(t);var s=Object(m["v"])(t),l={path:"".concat(u,".").concat(s),value:Object(m["k"])(e)?function(){return e}:e};if(m["g"].call("modifySetAttrPayload",this,t,l,r),i){var d=i[s]||t;l.path="".concat(u,".").concat(Object(m["v"])(d))}this.enqueueUpdate(l),this.nodeName===R&&(s===J?this.enqueueUpdate({path:"".concat(u,".","nn"),value:e?c:this.isAnyEventBinded()?o:a}):n&&mt(this)&&this.enqueueUpdate({path:"".concat(u,".","nn"),value:a}))}}},{key:"removeAttribute",value:function(t){var e=this.nodeName===R&&mt(this)&&!this.isAnyEventBinded();if(ft.record({target:this,type:"attributes",attributeName:t,oldValue:this.getAttribute(t)}),t===A)this.style.cssText="";else{var n=m["g"].call("onRemoveAttribute",this,t);if(n)return;if(!this.props.hasOwnProperty(t))return;delete this.props[t]}if(this._root){var r=St(),i=r[this.nodeName],o=r[R]._num,a=r[B]._num,c=r[M]._num,u=this._path;t=Ot(t);var s=Object(m["v"])(t),l={path:"".concat(u,".").concat(s),value:""};if(m["g"].call("modifyRmAttrPayload",this,t,l,r),i){var d=i[s]||t;l.path="".concat(u,".").concat(Object(m["v"])(d))}this.enqueueUpdate(l),this.nodeName===R&&(s===J?this.enqueueUpdate({path:"".concat(u,".","nn"),value:this.isAnyEventBinded()?o:mt(this)?a:c}):e&&!mt(this)&&this.enqueueUpdate({path:"".concat(u,".","nn"),value:c}))}}},{key:"getAttribute",value:function(t){var e=t===A?this.style.cssText:this.props[t];return null!==e&&void 0!==e?e:""}},{key:"getElementsByTagName",value:function(t){var e=this;return ce(this,(function(n){return n.nodeName===t||"*"===t&&e!==n}))}},{key:"getElementsByClassName",value:function(t){return ce(this,(function(e){var n=e.classList,r=t.trim().split(/\s+/);return r.every((function(t){return n.has(t)}))}))}},{key:"dispatchEvent",value:function(t){var e=t.cancelable,n=this.__handlers[t.type];if(!Object(m["i"])(n))return!1;for(var r=n.length;r--;){var i=n[r],o=void 0;if(i._stop?i._stop=!1:(m["g"].call("modifyDispatchEvent",t,this),o=i.call(this,t)),(!1===o||t._end)&&e&&(t.defaultPrevented=!0),!Object(m["p"])(o)&&t.mpEvent&&(t.mpEvent[it]=o),t._end&&t._stop)break}return t._stop?this._stopPropagation(t):t._stop=!0,null!=n}},{key:"addEventListener",value:function(t,e,r){var i=this.nodeName,o=m["g"].call("getSpecialNodes"),a=!0;if(Object(m["n"])(r)&&!1===r.sideEffect&&(a=!1,delete r.sideEffect),!1!==a&&!this.isAnyEventBinded()&&o.indexOf(i)>-1){var c=St(),u=c[i]._num;this.enqueueUpdate({path:"".concat(this._path,".","nn"),value:u})}Object(h["a"])(Object(f["a"])(n.prototype),"addEventListener",this).call(this,t,e,r)}},{key:"removeEventListener",value:function(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];Object(h["a"])(Object(f["a"])(n.prototype),"removeEventListener",this).call(this,t,e);var i=this.nodeName,o=m["g"].call("getSpecialNodes");if(!1!==r&&!this.isAnyEventBinded()&&o.indexOf(i)>-1){var a=St(),c=mt(this)?"static-".concat(i):"pure-".concat(i),u=a[c]._num;this.enqueueUpdate({path:"".concat(this._path,".","nn"),value:u})}}},{key:"id",get:function(){return this.getAttribute(_)},set:function(t){this.setAttribute(_,t)}},{key:"className",get:function(){return this.getAttribute(N)||""},set:function(t){this.setAttribute(N,t)}},{key:"cssText",get:function(){return this.getAttribute(A)||""}},{key:"classList",get:function(){return new xt(this.className,this)}},{key:"children",get:function(){return this.childNodes.filter(vt)}},{key:"attributes",get:function(){var t=this.props,e=Object.keys(t),n=this.style.cssText,r=e.map((function(e){return{name:e,value:t[e]}}));return r.concat(n?{name:A,value:n}:[])}},{key:"textContent",get:function(){for(var t="",e=this.childNodes,n=0;ne;i--){var o=n.charAt(i);if(!be(o)){if(me(o))return!1;break}}for(var a=t+1;a"===o);if(a)break;i++}var c=i+1;while(c"===u);if(!s)break;c++}fe(n,e,c);var l=e.slice(i,c);return this.tokens.push({type:t,content:l}),l}},{key:"scanAttrs",value:function(){var t=this.html,e=this.position,n=this.tokens,r=e.index,i=null,o=r,a=[],c=t.length;while(r"===u;if(l){r!==o&&a.push(t.slice(o,r));break}if(ke(r,o,t))r!==o&&a.push(t.slice(o,r)),o=r+1,r++;else{var d="'"===u||'"'===u;d?(i=u,r++):r++}}}fe(e,t,r);for(var h=a.length,f="attribute",p=0;p1){var m=v+g;n.push({type:f,content:m}),p+=1;continue}var y=a[p+2];if(p+=1,y){var O=v+"="+y;n.push({type:f,content:O}),p+=1;continue}}}if(v.endsWith("=")){var j=a[p+1];if(j&&!j.includes("=")){var k=v+j;n.push({type:f,content:k}),p+=1;continue}var w=v.slice(0,-1);n.push({type:f,content:w})}else n.push({type:f,content:v})}}},{key:"scanSkipTag",value:function(t){var e=this.html,n=this.position,r=t.toLowerCase(),i=e.length;while(n.index]*>((.|\n|\s)+?)<\/style>/g,r=t;return r=r.replace(n,(function(t,n){var r=n.trim();return e.stringToSelector(r),""})),r.trim()}},{key:"stringToSelector",value:function(t){var e=this,n=t.indexOf(Ee),r=function(){var r=t.indexOf(Ce),i=t.slice(0,n).trim(),o=t.slice(n+1,r);o=o.replace(/:(.*);/g,(function(t,e){var n=e.trim().replace(/ +/g,"+++");return":".concat(n,";")})),o=o.replace(/ /g,""),o=o.replace(/\+\+\+/g," "),/;$/.test(o)||(o+=";"),i.split(",").forEach((function(t){var n=e.parseSelector(t);e.styles.push({content:o,selectorList:n})})),t=t.slice(r+1),n=t.indexOf(Ee)};while(n>-1)r()}},{key:"parseSelector",value:function(t){var e=t.trim().replace(/ *([>~+]) */g," $1").replace(/ +/g," ").replace(/\[\s*([^[\]=\s]+)\s*=\s*([^[\]=\s]+)\s*\]/g,"[$1=$2]").split(" "),n=e.map((function(t){var e=t.charAt(0),n={isChild:e===Pe,isGeneralSibling:e===_e,isAdjacentSibling:e===Ie,tag:null,id:null,class:[],attrs:[]};return t=t.replace(/^[>~+]/,""),t=t.replace(/\[(.+?)\]/g,(function(t,e){var r=e.split("="),i=Object(o["a"])(r,2),a=i[0],c=i[1],u=-1===e.indexOf("="),s={all:u,key:a,value:u?null:c};return n.attrs.push(s),""})),t=t.replace(/([.#][A-Za-z0-9-_]+)/g,(function(t,e){return e[0]===Te?n.id=e.substr(1):e[0]===xe&&n.class.push(e.substr(1)),""})),""!==t&&(n.tag=t),n}));return n}},{key:"matchStyle",value:function(t,e,n){var r=this,i=Le(this.styles).reduce((function(i,o,a){var c=o.content,u=o.selectorList,s=n[a],l=u[s],d=u[s+1];((null===d||void 0===d?void 0:d.isGeneralSibling)||(null===d||void 0===d?void 0:d.isAdjacentSibling))&&(l=d,s+=1,n[a]+=1);var h=r.matchCurrent(t,e,l);if(h&&l.isGeneralSibling){var f=Ae(e);while(f){if(f.h5tagName&&r.matchCurrent(f.h5tagName,f,u[s-1])){h=!0;break}f=Ae(f),h=!1}}if(h&&l.isAdjacentSibling){var p=Ae(e);if(p&&p.h5tagName){var v=r.matchCurrent(p.h5tagName,p,u[s-1]);v||(h=!1)}else h=!1}if(h){if(s===u.length-1)return i+c;s0&&(n[a]-=1,r.matchCurrent(t,e,u[n[a]])&&(n[a]+=1));return i}),"");return i}},{key:"matchCurrent",value:function(t,e,n){if(n.tag&&n.tag!==t)return!1;if(n.id&&n.id!==e.id)return!1;if(n.class.length)for(var r=e.className.split(" "),i=0;i=0){var i=e[r].tagName;if(i===t)break;if(n&&n.includes(i))return!0;r--}}return!1}function He(t){return le.html.renderHTMLTag?t:Ue[t]?Ue[t]:We(t)?t:qe(t)?"view":Ve(t)?"text":"view"}function $e(t){var e="=",n=t.indexOf(e);if(-1===n)return[t];var r=t.slice(0,n).trim(),i=t.slice(n+e.length).trim();return[r,i]}function Ye(t,e,n,r){return t.filter((function(t){return"comment"!==t.type&&("text"!==t.type||""!==t.content)})).map((function(t){if("text"===t.type){var i=e.createTextNode(t.content);return Object(m["k"])(le.html.transformText)&&(i=le.html.transformText(i,t)),null===r||void 0===r||r.appendChild(i),i}var a=e.createElement(He(t.tagName));a.h5tagName=t.tagName,null===r||void 0===r||r.appendChild(a),le.html.renderHTMLTag||(a.className="h5-".concat(t.tagName));for(var c=0;c-1)if(n[s].tagName===u){l=!0;break}while(r0){if(u===n[p].tagName){n.splice(p);var v=p-1;o=n[v].children;break}p-=1}}var b=[],g=void 0;while(r0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0;this.pendingUpdate=!0;var r=this.ctx;setTimeout((function(){var i="".concat(O," \u5f00\u59cb\u65f6\u95f4\u6233 ").concat(Date.now());an.start(i);var o=Object.create(null),a=new Set(e?["root.cn.[0]","root.cn[0]"]:[]);while(t.updatePayloads.length>0){var c=t.updatePayloads.shift(),s=c.path,l=c.value;s.endsWith("cn")&&a.add(s),o[s]=l}var d=function(t){a.forEach((function(e){t.includes(e)&&t!==e&&delete o[t]}));var e=o[t];Object(m["k"])(e)&&(o[t]=e())};for(var h in o)d(h);if(Object(m["k"])(n))return n(o);t.pendingUpdate=!1;var f={},p=new Map;if(e)f=o;else for(var v in o){var b=v.split("."),g=cn(t,b);if(g){var y=g.customWrapper,k=g.splitedPath;p.set(y,Object.assign(Object.assign({},p.get(y)||{}),Object(u["a"])({},"i.".concat(k),o[v])))}else f[v]=o[v]}var w=p.size,S=Object.keys(f).length>0,E=w+(S?1:0),C=0,x=function(){++C===E&&(an.stop(i),t.flushUpdateCallback(),e&&an.stop(j))};w&&p.forEach((function(t,e){e.setData(t,x)})),S&&r.setData(f,x)}),0)}},{key:"enqueueUpdateCallback",value:function(t,e){this.updateCallbacks.push((function(){e?t.call(e):t()}))}},{key:"flushUpdateCallback",value:function(){var t=this.updateCallbacks;if(t.length){var e=t.slice(0);this.updateCallbacks.length=0;for(var n=0;n-1?gn(n,yn(a.slice(0,c)),yn(a.slice(c+1))):a.length&&gn(n,yn(a),"")}}else if(Object(m["i"])(e))for(var u=0,s=e.length;u0&&void 0!==arguments[0]?arguments[0]:"",e={href:"",origin:"",protocol:"",hostname:"",host:"",port:"",pathname:"",search:"",hash:""};if(!t||!Object(m["o"])(t))return e;t=t.trim();var n=/^(([^:/?#]+):)?\/\/(([^/?#]+):(.+)@)?([^/?#:]*)(:(\d+))?([^?#]*)(\?([^#]*))?(#(.*))?/,r=t.match(n);return r?(e.protocol=r[1]||"https:",e.hostname=r[6]||"taro.com",e.port=r[8]||"",e.pathname=r[9]||"/",e.search=r[10]||"",e.hash=r[12]||"",e.href=t,e.origin=e.protocol+"//"+e.hostname,e.host=e.hostname+(e.port?":".concat(e.port):""),e):e}function _n(t,e){var n=/^(https?:)\/\//i,r="",i=null;if(!Object(m["p"])(e)){if(e=String(e).trim(),!n.test(e))throw new TypeError("Failed to construct 'URL': Invalid base URL");i=Pn(e)}if(t=String(t).trim(),n.test(t))r=t;else{if(!i)throw new TypeError("Failed to construct 'URL': Invalid URL");r=t?t.startsWith("//")?i.protocol+t:i.origin+(t.startsWith("/")?t:"/".concat(t)):i.href}return Pn(r)}jn=new WeakMap,kn=new WeakMap,wn=new WeakMap,Sn=new WeakMap,En=new WeakMap,Cn=new WeakMap;var In,Nn=function(t){Object(l["a"])(n,t);var e=Object(d["a"])(n);function n(){return Object(b["a"])(this,n),e.apply(this,arguments)}return Object(g["a"])(n,[{key:"setAttribute",value:function(t,e){if("href"===t){var r=Pn(e);for(var i in r)Object(h["a"])(Object(f["a"])(n.prototype),"setAttribute",this).call(this,i,r[i])}else Object(h["a"])(Object(f["a"])(n.prototype),"setAttribute",this).call(this,t,e)}},{key:"href",get:function(){var t;return null!==(t=this.props["href"])&&void 0!==t?t:""},set:function(t){this.setAttribute("href",t)}},{key:"protocol",get:function(){var t;return null!==(t=this.props["protocol"])&&void 0!==t?t:""}},{key:"host",get:function(){var t;return null!==(t=this.props["host"])&&void 0!==t?t:""}},{key:"search",get:function(){var t;return null!==(t=this.props["search"])&&void 0!==t?t:""}},{key:"hash",get:function(){var t;return null!==(t=this.props["hash"])&&void 0!==t?t:""}},{key:"hostname",get:function(){var t;return null!==(t=this.props["hostname"])&&void 0!==t?t:""}},{key:"port",get:function(){var t;return null!==(t=this.props["port"])&&void 0!==t?t:""}},{key:"pathname",get:function(){var t;return null!==(t=this.props["pathname"])&&void 0!==t?t:""}}]),n}(se),An=function(t){Object(l["a"])(n,t);var e=Object(d["a"])(n);function n(){var t;return Object(b["a"])(this,n),t=e.call(this),t.createEvent=Xe,t.nodeType=9,t.nodeName=T,t}return Object(g["a"])(n,[{key:"createElement",value:function(t){var e,n=t.toLowerCase();switch(!0){case n===k:return e=new sn,e;case m["d"].has(n):e=new rn;break;case n===at:e=new Nn;break;default:e=new se;break}return e.nodeName=n,e.tagName=t.toUpperCase(),e}},{key:"createElementNS",value:function(t,e){return this.createElement(e)}},{key:"createTextNode",value:function(t){return new ln(t)}},{key:"getElementById",value:function(t){var e=Pt.get(t);return Object(m["p"])(e)?null:e}},{key:"querySelector",value:function(t){return/^#/.test(t)?this.getElementById(t.slice(1)):null}},{key:"querySelectorAll",value:function(){return[]}},{key:"createComment",value:function(){var t=new ln("");return t.nodeName=Q,t}},{key:"defaultView",get:function(){return _t.window}}]),n}(se),Ln=function(){var t=new An,e=t.createElement.bind(t),n=e(w),r=e(S),i=e(E),o=e(C);o.id=C;var a=e(x);return t.appendChild(n),n.appendChild(r),n.appendChild(i),i.appendChild(a),a.appendChild(o),t.documentElement=n,t.head=r,t.body=i,t};function Rn(t){return t.style}In=_t.document=Ln();var Bn,Mn,Dn,Un,Fn,Wn,Vn=m["g"].call("getEventCenter",m["b"]),qn=function(){function t(e){Object(b["a"])(this,t),this.cache=new Map,this.name=e}return Object(g["a"])(t,[{key:"has",value:function(t){return this.cache.has(t)}},{key:"set",value:function(t,e){t&&e&&this.cache.set(t,e)}},{key:"get",value:function(t){if(this.has(t))return this.cache.get(t)}},{key:"delete",value:function(t){this.cache.delete(t)}}]),t}(),Gn=new qn("history"),zn=function(t){Object(l["a"])(n,t);var e=Object(d["a"])(n);function n(t,r){var i;return Object(b["a"])(this,n),i=e.call(this),Bn.add(Object(s["a"])(i)),Mn.set(Object(s["a"])(i),void 0),Dn.set(Object(s["a"])(i),[]),Un.set(Object(s["a"])(i),0),Fn.set(Object(s["a"])(i),void 0),hn(Object(s["a"])(i),Fn,r.window,"f"),hn(Object(s["a"])(i),Mn,t,"f"),dn(Object(s["a"])(i),Mn,"f").on("__record_history__",(function(t){var e;hn(Object(s["a"])(i),Un,(e=dn(Object(s["a"])(i),Un,"f"),e++,e),"f"),hn(Object(s["a"])(i),Dn,dn(Object(s["a"])(i),Dn,"f").slice(0,dn(Object(s["a"])(i),Un,"f")),"f"),dn(Object(s["a"])(i),Dn,"f").push({state:null,title:"",url:t})}),null),dn(Object(s["a"])(i),Mn,"f").on("__reset_history__",(function(t){dn(Object(s["a"])(i),Bn,"m",Wn).call(Object(s["a"])(i),t)}),null),i.on(y.INIT,(function(){dn(Object(s["a"])(i),Bn,"m",Wn).call(Object(s["a"])(i))}),null),i.on(y.RESTORE,(function(t){Gn.set(t,{location:dn(Object(s["a"])(i),Mn,"f"),stack:dn(Object(s["a"])(i),Dn,"f").slice(),cur:dn(Object(s["a"])(i),Un,"f")})}),null),i.on(y.RECOVER,(function(t){if(Gn.has(t)){var e=Gn.get(t);hn(Object(s["a"])(i),Mn,e.location,"f"),hn(Object(s["a"])(i),Dn,e.stack,"f"),hn(Object(s["a"])(i),Un,e.cur,"f")}}),null),i.on(y.DESTORY,(function(t){Gn.delete(t)}),null),dn(Object(s["a"])(i),Bn,"m",Wn).call(Object(s["a"])(i)),i}return Object(g["a"])(n,[{key:"go",value:function(t){if(Object(m["m"])(t)&&!isNaN(t)){var e=dn(this,Un,"f")+t;e=Math.min(Math.max(e,0),this.length-1),hn(this,Un,e,"f"),dn(this,Mn,"f").trigger("__set_href_without_history__",dn(this,Dn,"f")[dn(this,Un,"f")].url),dn(this,Fn,"f").trigger("popstate",dn(this,Dn,"f")[dn(this,Un,"f")])}}},{key:"back",value:function(){this.go(-1)}},{key:"forward",value:function(){this.go(1)}},{key:"pushState",value:function(t,e,n){n&&Object(m["o"])(n)&&(hn(this,Dn,dn(this,Dn,"f").slice(0,dn(this,Un,"f")+1),"f"),dn(this,Dn,"f").push({state:t,title:e,url:n}),hn(this,Un,this.length-1,"f"),dn(this,Mn,"f").trigger("__set_href_without_history__",n))}},{key:"replaceState",value:function(t,e,n){n&&Object(m["o"])(n)&&(dn(this,Dn,"f")[dn(this,Un,"f")]={state:t,title:e,url:n},dn(this,Mn,"f").trigger("__set_href_without_history__",n))}},{key:"length",get:function(){return dn(this,Dn,"f").length}},{key:"state",get:function(){return dn(this,Dn,"f")[dn(this,Un,"f")]}},{key:"cache",get:function(){return Gn}}]),n}(m["b"]);Mn=new WeakMap,Dn=new WeakMap,Un=new WeakMap,Fn=new WeakMap,Bn=new WeakSet,Wn=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";hn(this,Dn,[{state:null,title:"",url:t||dn(this,Mn,"f").href}],"f"),hn(this,Un,0,"f")};var Hn,$n,Yn,Jn,Kn,Qn,Zn,Xn,tr,er={app:null,router:null,page:null},nr=function(){return er},rr="https://taro.com",ir=new qn("location"),or=function(t){Object(l["a"])(n,t);var e=Object(d["a"])(n);function n(t){var r;return Object(b["a"])(this,n),r=e.call(this),Hn.add(Object(s["a"])(r)),$n.set(Object(s["a"])(r),new Tn(rr)),Yn.set(Object(s["a"])(r),!1),Jn.set(Object(s["a"])(r),void 0),hn(Object(s["a"])(r),Jn,t.window,"f"),dn(Object(s["a"])(r),Hn,"m",Kn).call(Object(s["a"])(r)),r.on("__set_href_without_history__",(function(t){hn(Object(s["a"])(r),Yn,!0,"f");var e=dn(Object(s["a"])(r),$n,"f").hash;dn(Object(s["a"])(r),$n,"f").href=ar(t),e!==dn(Object(s["a"])(r),$n,"f").hash&&dn(Object(s["a"])(r),Jn,"f").trigger("hashchange"),hn(Object(s["a"])(r),Yn,!1,"f")}),null),r.on(y.INIT,(function(){dn(Object(s["a"])(r),Hn,"m",Kn).call(Object(s["a"])(r))}),null),r.on(y.RESTORE,(function(t){ir.set(t,{lastHref:r.href})}),null),r.on(y.RECOVER,(function(t){if(ir.has(t)){var e=ir.get(t);hn(Object(s["a"])(r),Yn,!0,"f"),dn(Object(s["a"])(r),$n,"f").href=e.lastHref,hn(Object(s["a"])(r),Yn,!1,"f")}}),null),r.on(y.DESTORY,(function(t){ir.delete(t)}),null),r}return Object(g["a"])(n,[{key:"assign",value:function(){Object(m["x"])(!0,"\u5c0f\u7a0b\u5e8f\u73af\u5883\u4e2d\u8c03\u7528location.assign()\u65e0\u6548.")}},{key:"reload",value:function(){Object(m["x"])(!0,"\u5c0f\u7a0b\u5e8f\u73af\u5883\u4e2d\u8c03\u7528location.reload()\u65e0\u6548.")}},{key:"replace",value:function(t){this.trigger("__set_href_without_history__",t)}},{key:"toString",value:function(){return this.href}},{key:"protocol",get:function(){return dn(this,$n,"f").protocol},set:function(t){var e=/^(http|https):$/i;if(t&&Object(m["o"])(t)&&e.test(t.trim())){t=t.trim();var n=dn(this,Hn,"m",Qn).call(this);dn(this,$n,"f").protocol=t,dn(this,Hn,"m",tr).call(this,n)&&dn(this,Hn,"m",Xn).call(this)}}},{key:"host",get:function(){return dn(this,$n,"f").host},set:function(t){if(t&&Object(m["o"])(t)){t=t.trim();var e=dn(this,Hn,"m",Qn).call(this);dn(this,$n,"f").host=t,dn(this,Hn,"m",tr).call(this,e)&&dn(this,Hn,"m",Xn).call(this)}}},{key:"hostname",get:function(){return dn(this,$n,"f").hostname},set:function(t){if(t&&Object(m["o"])(t)){t=t.trim();var e=dn(this,Hn,"m",Qn).call(this);dn(this,$n,"f").hostname=t,dn(this,Hn,"m",tr).call(this,e)&&dn(this,Hn,"m",Xn).call(this)}}},{key:"port",get:function(){return dn(this,$n,"f").port},set:function(t){var e=Number(t=t.trim());if(Object(m["m"])(e)&&!(e<=0)){var n=dn(this,Hn,"m",Qn).call(this);dn(this,$n,"f").port=t,dn(this,Hn,"m",tr).call(this,n)&&dn(this,Hn,"m",Xn).call(this)}}},{key:"pathname",get:function(){return dn(this,$n,"f").pathname},set:function(t){if(t&&Object(m["o"])(t)){t=t.trim();var e=dn(this,Hn,"m",Qn).call(this);dn(this,$n,"f").pathname=t,dn(this,Hn,"m",tr).call(this,e)&&dn(this,Hn,"m",Xn).call(this)}}},{key:"search",get:function(){return dn(this,$n,"f").search},set:function(t){if(t&&Object(m["o"])(t)){t=t.trim(),t=t.startsWith("?")?t:"?".concat(t);var e=dn(this,Hn,"m",Qn).call(this);dn(this,$n,"f").search=t,dn(this,Hn,"m",tr).call(this,e)&&dn(this,Hn,"m",Xn).call(this)}}},{key:"hash",get:function(){return dn(this,$n,"f").hash},set:function(t){if(t&&Object(m["o"])(t)){t=t.trim(),t=t.startsWith("#")?t:"#".concat(t);var e=dn(this,Hn,"m",Qn).call(this);dn(this,$n,"f").hash=t,dn(this,Hn,"m",tr).call(this,e)&&dn(this,Hn,"m",Xn).call(this)}}},{key:"href",get:function(){return dn(this,$n,"f").href},set:function(t){var e=/^(http:|https:)?\/\/.+/;if(t&&Object(m["o"])(t)&&e.test(t=t.trim())){var n=dn(this,Hn,"m",Qn).call(this);dn(this,$n,"f").href=t,dn(this,Hn,"m",tr).call(this,n)&&dn(this,Hn,"m",Xn).call(this)}}},{key:"origin",get:function(){return dn(this,$n,"f").origin},set:function(t){var e=/^(http:|https:)?\/\/.+/;if(t&&Object(m["o"])(t)&&e.test(t=t.trim())){var n=dn(this,Hn,"m",Qn).call(this);dn(this,$n,"f").origin=t,dn(this,Hn,"m",tr).call(this,n)&&dn(this,Hn,"m",Xn).call(this)}}},{key:"cache",get:function(){return ir}}]),n}(m["b"]);function ar(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=rr;return/^[/?#]/.test(t)?e+t:t}$n=new WeakMap,Yn=new WeakMap,Jn=new WeakMap,Hn=new WeakSet,Kn=function(){var t=nr(),e=t.router;if(e){var n=e.path,r=e.params,i=Object.keys(r).map((function(t){return"".concat(t,"=").concat(r[t])})),o=i.length>0?"?"+i.join("&"):"",a="".concat(rr).concat(n.startsWith("/")?n:"/"+n).concat(o);hn(this,$n,new Tn(a),"f"),this.trigger("__reset_history__",this.href)}},Qn=function(){return dn(this,$n,"f")._toRaw()},Zn=function(t){dn(this,$n,"f").href=t},Xn=function(){this.trigger("__record_history__",this.href)},tr=function(t){if(dn(this,Yn,"f"))return!1;var e=dn(this,$n,"f")._toRaw(),n=e.protocol,r=e.hostname,i=e.port,o=e.pathname,a=e.search,c=e.hash;return n!==t.protocol||r!==t.hostname||i!==t.port?(dn(this,Hn,"m",Zn).call(this,t.href),!1):o!==t.pathname||(a!==t.search||(c!==t.hash?(dn(this,Jn,"f").trigger("hashchange"),!0):(dn(this,Hn,"m",Zn).call(this,t.href),!1)))};var cr,ur="Macintosh",sr="Intel Mac OS X 10_14_5",lr="AppleWebKit/534.36 (KHTML, like Gecko) NodeJS/v4.1.0 Chrome/76.0.3809.132 Safari/534.36",dr="("+ur+"; "+sr+") "+lr,hr={appCodeName:"Mozilla",appName:"Netscape",appVersion:"5.0 "+dr,cookieEnabled:!0,mimeTypes:[],onLine:!0,platform:"MacIntel",plugins:[],product:"Taro",productSub:"20030107",userAgent:"Mozilla/5.0 "+dr,vendor:"Joyent",vendorSub:""};(function(){var t;"undefined"!==typeof performance&&null!==performance&&performance.now?cr=function(){return performance.now()}:Date.now?(t=Date.now(),cr=function(){return Date.now()-t}):(t=(new Date).getTime(),cr=function(){return(new Date).getTime()-t})})();var fr,pr=0,vr="undefined"!==typeof t&&null!==t?t:function(t){var e=cr(),n=Math.max(pr+16,e);return setTimeout((function(){t(pr=n)}),n-e)},br="undefined"!==typeof r&&null!==r?r:function(t){clearTimeout(t)},gr=function(t){Object(l["a"])(n,t);var e=Object(d["a"])(n);function n(){var t;Object(b["a"])(this,n),t=e.call(this),t.navigator=hr,t.requestAnimationFrame=vr,t.cancelAnimationFrame=br,t.getComputedStyle=Rn;var r=[].concat(Object(v["a"])(Object.getOwnPropertyNames(i||{})),Object(v["a"])(Object.getOwnPropertySymbols(i||{})));return r.forEach((function(e){"atob"!==e&&"document"!==e&&(Object.prototype.hasOwnProperty.call(Object(s["a"])(t),e)||(t[e]=i[e]))})),t.Date||(t.Date=Date),t.location=new or({window:Object(s["a"])(t)}),t.history=new zn(t.location,{window:Object(s["a"])(t)}),t.initEvent(),t}return Object(g["a"])(n,[{key:"initEvent",value:function(){var t=this.location,e=this.history;this.on(y.INIT,(function(e){t.trigger(y.INIT,e)}),null),this.on(y.RECOVER,(function(n){t.trigger(y.RECOVER,n),e.trigger(y.RECOVER,n)}),null),this.on(y.RESTORE,(function(n){t.trigger(y.RESTORE,n),e.trigger(y.RESTORE,n)}),null),this.on(y.DESTORY,(function(n){t.trigger(y.DESTORY,n),e.trigger(y.DESTORY,n)}),null)}},{key:"addEventListener",value:function(t,e){Object(m["o"])(t)&&this.on(t,e,null)}},{key:"removeEventListener",value:function(t,e){Object(m["o"])(t)&&this.off(t,e,null)}},{key:"setTimeout",value:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){return setTimeout.apply(void 0,arguments)}))},{key:"clearTimeout",value:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){return clearTimeout.apply(void 0,arguments)}))},{key:"document",get:function(){return _t.document}}]),n}(m["b"]);fr=_t.window=new gr;var mr=fr.location,yr=fr.history,Or=function(t){Object(l["a"])(n,t);var e=Object(d["a"])(n);function n(){return Object(b["a"])(this,n),e.apply(this,arguments)}return n}(se),jr=new Map,kr=pt();function wr(t,e){m["g"].call("mergePageInstance",jr.get(e),t),jr.set(e,t)}function Sr(t){return jr.get(t)}function Er(t){jr.delete(t)}function Cr(t){return null==t?"":"/"===t.charAt(0)?t:"/"+t}function xr(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i-1?t.substring(0,n):t).concat(Tr(e))}function _r(t){return t+"."+X}function Ir(t){return t+"."+tt}function Nr(t){return t+"."+et}function Ar(t,e,n,r){var i,a,c,s=null!==e&&void 0!==e?e:"taro_page_".concat(kr()),l=Object(o["a"])(m["g"].call("getMiniLifecycleImpl").page,7),d=l[0],h=l[1],f=l[2],p=l[3],v=l[4],b=l[5],g=l[6],O=null,k=!1,w=[];function S(t){var e=t.route||t.__route__||t.$taroPath;er.router={params:t.$taroParams,path:Cr(e),$taroPath:t.$taroPath,onReady:_r(s),onShow:Ir(s),onHide:Nr(s)},Object(m["p"])(t.exitState)||(er.router.exitState=t.exitState)}var E=(i={},Object(u["a"])(i,d,(function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;c=new Promise((function(t){a=t})),an.start(j),er.page=this,this.config=r||{};var o=Object.assign({},n,{$taroTimestamp:Date.now()}),u=this.$taroPath=Pr(s,o);null==this.$taroParams&&(this.$taroParams=o),S(this),fr.trigger(y.INIT,u);var l=function(){er.app.mount(t,u,(function(){O=_t.document.getElementById(u),Object(m["e"])(null!==O,"\u6ca1\u6709\u627e\u5230\u9875\u9762\u5b9e\u4f8b\u3002"),xr(u,Z,e.$taroParams),a(),O.ctx=e,O.performUpdate(!0,i)}))};k?w.push(l):l()})),Object(u["a"])(i,h,(function(){var t=this.$taroPath;fr.trigger(y.DESTORY,t),xr(t,h),k=!0,er.app.unmount(t,(function(){k=!1,jr.delete(t),O&&(O.ctx=null,O=null),w.length&&(w.forEach((function(t){return t()})),w=[])}))})),Object(u["a"])(i,f,(function(){var t=this;c.then((function(){xr(t.$taroPath,X),vr((function(){return Vn.trigger(_r(s))})),t.onReady.called=!0}))})),Object(u["a"])(i,p,(function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};c.then((function(){er.page=t,S(t),fr.trigger(y.RECOVER,t.$taroPath),xr(t.$taroPath,tt,e),vr((function(){return Vn.trigger(Ir(s))}))}))})),Object(u["a"])(i,v,(function(){fr.trigger(y.RESTORE,this.$taroPath),er.page===this&&(er.page=null,er.router=null),xr(this.$taroPath,et),Vn.trigger(Nr(s))})),i);return b.forEach((function(t){E[t]=function(){return xr.apply(void 0,[this.$taroPath,t].concat(Array.prototype.slice.call(arguments)))}})),g.forEach((function(e){var n;(t[e]||(null===(n=t.prototype)||void 0===n?void 0:n[e])||t[e.replace(/^on/,"enable")])&&(E[e]=function(){for(var t,n=arguments.length,r=new Array(n),i=0;i0&&void 0!==arguments[0]&&arguments[0],e=f.R;return t?h["Current"].router:e.useMemo((function(){return h["Current"].router}),[])},q=j("onTabItemTap"),G=function(){},z=Object.freeze({__proto__:null,useAddToFavorites:R,useDidHide:k,useDidShow:w,useError:S,useLaunch:C,useLoad:T,useOptionMenuClick:B,usePageNotFound:x,usePageScroll:P,usePullDownRefresh:_,usePullIntercept:I,useReachBottom:N,useReady:W,useResize:A,useRouter:V,useSaveExitState:M,useScope:G,useShareAppMessage:D,useShareTimeline:U,useTabItemTap:q,useTitleClick:F,useUnhandledRejection:E,useUnload:L}),H=Object(h["incrementId"])();function $(t){d["g"].tap("getLifecycle",(function(t,e){return e=e.replace(/^on(Show|Hide)$/,"componentDid$1"),t[e]})),d["g"].tap("modifyMpEvent",(function(t){Object.defineProperty(t,"type",{value:t.type.replace(/-/g,"")})})),d["g"].tap("batchedEventUpdates",(function(e){t.unstable_batchedUpdates(e)})),d["g"].tap("mergePageInstance",(function(t,e){t&&e&&("constructor"in t||Object.keys(t).forEach((function(n){var r=t[n],i=b(e[n]);e[n]=i.concat(r)})))}))}function Y(t,e){return function(n){var r=v(t,n),i=function(t){return t&&Object(h["injectPageInstance"])(t,e)},o=r?{ref:i}:{forwardedRef:i,reactReduxForwardedRef:i};return f.PageContext===d["a"]&&(f.PageContext=t.createContext("")),function(t){Object(u["a"])(i,t);var r=Object(s["a"])(i);function i(){var t;return Object(a["a"])(this,i),t=r.apply(this,arguments),t.state={hasError:!1},t}return Object(c["a"])(i,[{key:"componentDidCatch",value:function(t,e){0}},{key:"render",value:function(){var t=this.state.hasError?[]:y(f.PageContext.Provider,{value:e},y(n,Object.assign(Object.assign({},this.props),o)));return y("root",{id:e},t)}}],[{key:"getDerivedStateFromError",value:function(t){var e,n;return null===(n=null===(e=h["Current"].app)||void 0===e?void 0:e.onError)||void 0===n||n.call(e,t.message+t.stack),{hasError:!0}}}]),i}(t.Component)}}function J(t,e,n,l){var b;f.R=e,y=e.createElement,O=n,e.Fragment;var j,k,w=e.createRef(),S=v(e,t),E=new Promise((function(t){return k=t}));function C(){return w.current}function x(t){j?t():E.then((function(){return t()}))}function T(){var t,n,r="app";var i=h["document"].getElementById(r);if((e.version||"").startsWith("18")){var o=O.createRoot(i);null===(t=o.render)||void 0===t||t.call(o,y(P))}else null===(n=O.render)||void 0===n||n.call(O,y(P),i)}$(O);var P=function(n){Object(u["a"])(i,n);var r=Object(s["a"])(i);function i(t){var e;return Object(a["a"])(this,i),e=r.call(this,t),e.pages=[],e.elements=[],j=Object(o["a"])(e),k(Object(o["a"])(e)),e}return Object(c["a"])(i,[{key:"mount",value:function(t,n,r){var i=Y(e,n)(t),o=n+H(),a=function(){return y(i,{key:o,tid:n})};this.pages.push(a),this.forceUpdate(r)}},{key:"unmount",value:function(t,e){var n=this.elements,r=n.findIndex((function(e){return e.props.tid===t}));n.splice(r,1),this.forceUpdate(e)}},{key:"render",value:function(){var e=this.pages,n=this.elements;while(e.length>0){var r=e.pop();n.push(r())}var i=null;return S&&(i={ref:w}),y(t,i,n.slice())}}]),i}(e.Component);T();var _=Object(i["a"])(d["g"].call("getMiniLifecycleImpl").app,3),I=_[0],N=_[1],A=_[2],L=Object.create({render:function(t){j.forceUpdate(t)},mount:function(t,e,n){j?j.mount(t,e,n):E.then((function(r){return r.mount(t,e,n)}))},unmount:function(t,e){j.unmount(t,e)}},(b={config:g({configurable:!0,value:l})},Object(r["a"])(b,I,g({value:function(t){var e=this;m(t);var n=function(){var n,r=C();if(e.$app=r,r){if(r.taroGlobalData){var i=r.taroGlobalData,o=Object.keys(i),a=Object.getOwnPropertyDescriptors(i);o.forEach((function(t){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return i[t]},set:function(e){i[t]=e}})})),Object.defineProperties(e,a)}null===(n=r.onLaunch)||void 0===n||n.call(r,t)}R("onLaunch",t)};x(n)}})),Object(r["a"])(b,N,g({value:function(t){m(t);var e=function(){var e,n=C();null===(e=null===n||void 0===n?void 0:n.componentDidShow)||void 0===e||e.call(n,t),R("onShow",t)};x(e)}})),Object(r["a"])(b,A,g({value:function(){var t=function(){var t,e=C();null===(t=null===e||void 0===e?void 0:e.componentDidHide)||void 0===t||t.call(e),R("onHide")};x(t)}})),Object(r["a"])(b,"onError",g({value:function(t){var e=function(){var e,n=C();null===(e=null===n||void 0===n?void 0:n.onError)||void 0===e||e.call(n,t),R("onError",t)};x(e)}})),Object(r["a"])(b,"onUnhandledRejection",g({value:function(t){var e=function(){var e,n=C();null===(e=null===n||void 0===n?void 0:n.onUnhandledRejection)||void 0===e||e.call(n,t),R("onUnhandledRejection",t)};x(e)}})),Object(r["a"])(b,"onPageNotFound",g({value:function(t){var e=function(){var e,n=C();null===(e=null===n||void 0===n?void 0:n.onPageNotFound)||void 0===e||e.call(n,t),R("onPageNotFound",t)};x(e)}})),b));function R(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r=this.interceptors.length)throw new Error("chain \u53c2\u6570\u9519\u8bef, \u8bf7\u52ff\u76f4\u63a5\u4fee\u6539 request.chain");var e=this._getNextInterceptor(),n=this._getNextChain(),r=e(n),i=r.catch((function(t){return Promise.reject(t)}));return Object.keys(r).forEach((function(t){return p(r[t])&&(i[t]=r[t])})),i}},{key:"_getNextInterceptor",value:function(){return this.interceptors[this.index]}},{key:"_getNextChain",value:function(){return new t(this.requestParams,this.interceptors,this.index+1)}}]),t}(),k=function(){function t(e){s()(this,t),this.taroInterceptor=e,this.chain=new j}return d()(t,[{key:"request",value:function(t){var e=this.chain,n=this.taroInterceptor;return e.interceptors=e.interceptors.filter((function(t){return t!==n})).concat(n),e.proceed(c()({},t))}},{key:"addInterceptor",value:function(t){this.chain.interceptors.push(t)}},{key:"cleanInterceptors",value:function(){this.chain=new j}}]),t}();function w(t){var e,n=t.requestParams,r=new Promise((function(r,i){var o=setTimeout((function(){o=null,i(new Error("\u7f51\u7edc\u94fe\u63a5\u8d85\u65f6,\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01"))}),n&&n.timeout||6e4);e=t.proceed(n),e.then((function(t){o&&(clearTimeout(o),r(t))})).catch((function(t){o&&clearTimeout(o),i(t)}))}));return!v(e)&&p(e.abort)&&(r.abort=e.abort),r}function S(t){var e=t.requestParams;e.method,e.data,e.url;var n=t.proceed(e),r=n.then((function(t){return t}));return p(n.abort)&&(r.abort=n.abort),r}var E=Object.freeze({__proto__:null,timeoutInterceptor:w,logInterceptor:S});function C(t){return t}function x(t){return function(e,n){t.preloadData=b(e)?e:f()({},e,n)}}var T=750,P={640:1.17,750:1,828:.905},_=20;function I(t){return function(e){var n=e.designWidth,r=void 0===n?T:n,i=e.deviceRatio,o=void 0===i?P:i,a=e.baseFontSize,c=void 0===a?_:a;t.config=t.config||{},t.config.designWidth=r,t.config.deviceRatio=o,t.config.baseFontSize=c}}function N(t){return function(e){var n=t.config||{},r=n.deviceRatio||P,i=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return p(n.designWidth)?n.designWidth(t):n.designWidth||T}(e);if(!(i in r))throw new Error("deviceRatio \u914d\u7f6e\u4e2d\u4e0d\u5b58\u5728 ".concat(i," \u7684\u8bbe\u7f6e\uff01"));return parseInt(e,10)*r[i]+"rpx"}}var A={Behavior:C,getEnv:O,ENV_TYPE:y,Link:k,interceptors:E,Current:o["Current"],getCurrentInstance:o["getCurrentInstance"],options:o["options"],nextTick:o["nextTick"],eventCenter:o["eventCenter"],Events:o["Events"],getInitPxTransform:I};A.initPxTransform=I(A),A.preload=x(o["Current"]),A.pxTransform=N(A)},508:function(t,e,n){var r=n(185)["default"];function i(t,e){if("object"!==r(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},922:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(20);Component((0,r.createRecursiveComponentConfig)("custom-wrapper"))}}]); });