New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

miniapp-framework

Package Overview
Dependencies
Maintainers
2
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

miniapp-framework - npm Package Compare versions

Comparing version 0.0.82 to 0.0.83

2

dist/native/renderer.js

@@ -1,1 +0,1 @@

/*! miniapp framework version: 0.0.82 bulid time: Thu Jan 10 2019 18:12:38 GMT+0800 (CST) */!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=133)}({0:function(e,t,n){"use strict";n.d(t,"g",function(){return a}),n.d(t,"f",function(){return c}),n.d(t,"e",function(){return u}),n.d(t,"c",function(){return s}),n.d(t,"d",function(){return l}),n.d(t,"b",function(){return f}),n.d(t,"a",function(){return d}),n.d(t,"i",function(){return h}),n.d(t,"h",function(){return v}),n.d(t,"j",function(){return y});var o=n(1),r={},i="private.addProperties",a="start",c="rendererReady",u="pagePrepared",s="firstRendererToWorker",l="firstWorkerToRenderer",f="DOMMutationStart",d="DOMMutationEnd",p="undefined"!=typeof performance?performance.now.bind(performance):Date.now.bind(Date);function h(e,t){r[e+"@"+t]=p()}function v(e,t){return r[e+"@"+t]}function y(e,t,n){Object(o.a)("Renderer Performance",n),e.$call(i,{pageId:t,measureValues:n})}},1:function(e,t,n){"use strict";n.d(t,"c",function(){return a}),n.d(t,"a",function(){return c}),n.d(t,"d",function(){return u}),n.d(t,"b",function(){return s});var o=n(4),r={all:-1,debug:0,log:1,info:1,warn:2,error:3,none:4},i="error";try{Object(o.a)().__set_log_level__=function(e){i=e}}catch(e){u("mount __set_log_level__ at global object err",e)}function a(){if(r[i]<=r.log){for(var e,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];(e=console).log.apply(e,["[Log]"].concat(n))}}function c(){if(r[i]<=r.debug){for(var e,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];(e=console).log.apply(e,["[Debug]"].concat(n))}}function u(){if(r[i]<=r.warn){for(var e,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];(e=console).log.apply(e,["[WARN]"].concat(n))}}function s(){if(r[i]<=r.error){for(var e,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];(e=console).log.apply(e,["[ERROR]"].concat(n))}}},10:function(module,__webpack_exports__,__webpack_require__){"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function retrocycle($){var px=/^\$(?:\[(?:\d+|"(?:[^\\"\u0000-\u001f]|\\(?:[\\"\/bfnrt]|u[0-9a-zA-Z]{4}))*")\])*$/;return function rez(value){value&&"object"===_typeof(value)&&(Array.isArray(value)?value.forEach(function(element,i){if("object"===_typeof(element)&&null!==element){var path=element.$ref;"string"==typeof path&&px.test(path)?value[i]=eval(path):rez(element)}}):Object.keys(value).forEach(function(name){var item=value[name];if("object"===_typeof(item)&&null!==item){var path=item.$ref;"string"==typeof path&&px.test(path)?value[name]=eval(path):rez(item)}}))}($),$}__webpack_require__.d(__webpack_exports__,"a",function(){return retrocycle})},11:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o={taobao:{"--color-primary":"#ff5500","--color-warn":"#fb9025","--button-primary-background-color-from":"#ff8800","--button-primary-background-color-to":"#ff5500","--button-primary-text-color":"#ffffff","--button-warn-background-color-from":"#fbca2f","--button-warn-background-color-to":"#fb9025","--button-warn-text-color":"#ffffff","--button-default-background-color-from":"#ffffff","--button-default-background-color-to":"#ffffff","--button-default-text-color":"#ff5500","--button-border-radius":"40px"},alipay:{"--color-primary":"#2E7ADC","--color-warn":"red","--button-primary-background-color-from":"#2E7ADC","--button-primary-background-color-to":"#2E7ADC","--button-primary-text-color":"#ffffff","--button-warn-background-color-from":"red","--button-warn-background-color-to":"red","--button-warn-text-color":"#ffffff","--button-default-background-color-from":"#ffffff","--button-default-background-color-to":"#ffffff","--button-default-text-color":"#2E7ADC","--button-border-radius":"10px"}};function r(e,t){var n=e&&e.themeName,r=o[n];r||(r=o[n="taobao"]),e&&e.customVars&&(r=Object.assign({},r,e.customVars));var i=t.document.documentElement;t.CSS&&t.CSS.supports&&t.CSS.supports("--a",0)?function(e,t){Object.keys(e||{}).forEach(function(n){var o=e[n];t.style.setProperty(n,o)})}(r,i):new t.MutationObserver(function(e){var t=!0,n=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var c=i.value;if("childList"===c.type){var u=c.addedNodes[0];if(u&&u.shadowRoot){var s=u.shadowRoot.querySelector("style");s&&function(){var e=s.textContent;Object.keys(r).forEach(function(t){var n=r[t];e=e.replace(new RegExp("var\\(".concat(t,"[^\\)]*\\)"),"g"),n)}),s.textContent=e}()}}}}catch(e){n=!0,o=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw o}}}).observe(t.document.body,{childList:!0,subtree:!0})}},12:function(e,t,n){"use strict";function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function r(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}var i,a,c=0,u=[],s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.current=[],this.elements=t,this.options={container:window,wait:100,x:0,y:0,cls:"appear",once:!1,onReset:function(){},onAppear:function(){},onDisappear:function(){}},this.container=null,this.appearWatchElements=null,this.initConfig.apply(this,arguments)}return r(e,null,[{key:"createEvent",value:function(){i=document.createEvent("HTMLEvents"),a=document.createEvent("HTMLEvents"),i.initEvent("appear",!1,!0),a.initEvent("disappear",!1,!0)}}]),r(e,[{key:"initConfig",value:function(e){this.extend(this.options,e||(e={})),this.appearWatchElements=this.appearWatchElements||this.getElements(),this.bindEvent()}},{key:"extend",value:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}},{key:"inViewport",value:function(e,t,n){var o=e.getBoundingClientRect(),r=o.top,i=o.right,a=o.bottom,u=o.left;return u=t.right>u&&t.left<i,r=t.bottom>r-c&&t.top<a,u&&r}},{key:"getElements",value:function(e){var t,n=this.options.container;return this.container=n,t=u||[],t=[].slice.call(t,null)}},{key:"check",value:function(e){var t=this;l(function(){t.calculate(e)})}},{key:"calculate",value:function(e){var t=this,n=this.container,o=e||this.getElements(),r=d(window,{x:this.options.x,y:this.options.y}),c=this.options.once;arguments[0];n&&o&&o.length>0&&[].forEach.call(o,function(e,n){if(e){if(e.isOnce&&e._hasAppear)return u.splice(n,1),void o.splice(n,1);t.checkEveryDom(e,r,c,i,a,"normal",n)}})}},{key:"checkEveryDom",value:function(e,t,n,o,r,i,a){var c=d(e),u=this.getDirection(e._eleOffset,c),s=this.inViewport(e,t,i),l=e._appear,f=e._hasAppear,p=e._hasDisAppear;e._eleOffset=c,o.direction=u,r.direction=u,s&&!l?(n&&!f||!n)&&(e.dispatchEvent(o),e._hasAppear=!0,e._appear=!0):!s&&l&&(n&&!p||!n)&&(e.dispatchEvent(r),e._hasDisAppear=!0,e._appear=!1)}},{key:"reset",value:function(e){return this.initConfig(e),this.appearWatchElements.forEach(function(e){delete e._hasAppear,delete e._hasDisAppear,delete e._appear}),this}},{key:"bindEvent",value:function(){var e,t,n,o,r,i,a,c,u=this,s=(e=function(){u.check()},t=this.options.wait,i=null,a=0,c=function(){a=Date.now(),i=null,r=e.apply(n,o)},function(){var u=Date.now(),s=t-(u-a);return n=this,o=arguments,s<=0?(clearTimeout(i),i=null,a=u,r=e.apply(n,o)):i||(i=setTimeout(c,s)),r});this.__handle&&(this.container.removeEventListener("scroll",this.__handle,!1,!0),this.__handle=null),this.__handle=s,this.container.addEventListener("scroll",s,!1,!0)}},{key:"getDirection",value:function(e,t){var n="none",o=e.left-t.left,r=e.top-t.top;return 0==r&&(n=0!=o?o>0?"left":"right":"none"),0==o&&(n=0!=r?r>0?"up":"down":"none"),n}}]),e}(),l=window.requestAnimationFrame||window.webkitRequestAnimationFrame||function(e){setTimeout(e,1/60*1e3)};function f(e){e.offsetTop&&"number"==typeof e.offsetTop&&(c=e.offsetTop)}function d(e,t){var n,o,r,i;if(e){if(t||(t={x:0,y:0}),e===window)i=0,o=(n=0)+e.innerWidth,r=i+e.innerHeight;else if(null===e.parentNode)n=0,i=0,o=0,r=0;else{var a=e.getBoundingClientRect(),c=a.top,u=a.right,s=a.bottom;n=a.left,i=c,o=u,r=s}return{left:n,top:i,right:o+t.x,bottom:r+t.y}}}var p,h,v,y=s,m={root:null,rootMargin:"0px",threshold:0};function g(e){e.forEach(function(e){var t=e.target;e.boundingClientRect;e.intersectionRatio>0?(t.dataset.appeared=!0,t.dispatchEvent(p)):t.dataset.appeared&&(t.dataset.appeared=!1,t.dispatchEvent(h))})}function b(){p=document.createEvent("HTMLEvents"),h=document.createEvent("HTMLEvents"),p.initEvent("appear",!1,!0),h.initEvent("disappear",!1,!0),v=new IntersectionObserver(g,m)}var w=null,_="function"==typeof IntersectionObserver,k=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=t.prototype.addEventListener,o=t.prototype.removeEventListener;t.prototype.addEventListener=function(t,o,r,i){var a,c=t&&String(t).toLowerCase(),s="appear"===c||"disappear"===c;s&&(_?((a=this)===document&&(a=document.documentElement),v.observe(a)):function(e){if(-1===u.indexOf(e)&&!e.appended){var t=Boolean(e.getAttribute("isonce"))||Boolean(e.getAttribute("data-once"));e.isOnce=t,e.appended=!0,u.push(e),e._eleOffset=d(e)}}(this)),_||(w&&s&&w.check([this]),"scroll"!==c||i||(w=new y({container:this}),e.push(w))),n.call(this,t,o,r)},t.prototype.removeEventListener=function(t,n,r,i){var a=this,c=t&&String(t).toLowerCase();_||"scroll"!==c||i||e.forEach(function(t,n){t.__handle&&t.container===a&&(a.removeEventListener("scroll",t.__handle,!1,!0),t.__handle=null,t.appearWatchElements=[],t.container=null,e.splice(n,1))}),o.call(this,t,n,r)}};t.a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;if(!_){var t=[];return y.createEvent(),k(t,e.Node),w=new y({container:e}),t.push(w),{config:f}}b(),k([],e.Node)}},13:function(e,t,n){"use strict";var o=function(){return Date.now()},r="Expected a function",i=(Math.max,Math.min);var a=function(e,t){var n,a,c,u,s,l,f=0,d=!1,p=!1,h=!0;if("function"!=typeof e)throw new TypeError(r);function v(t){var o=n,r=a;return n=a=void 0,f=t,u=e.apply(r,o)}function y(e){var n=e-l;return void 0===l||n>=t||n<0||p&&e-f>=c}function m(){var e=o();if(y(e))return g(e);s=setTimeout(m,function(e){var n=t-(e-l);return p?i(n,c-(e-f)):n}(e))}function g(e){return s=void 0,h&&n?v(e):(n=a=void 0,u)}function b(){var e=o(),r=y(e);if(n=arguments,a=this,l=e,r){if(void 0===s)return function(e){return f=e,s=setTimeout(m,t),d?v(e):u}(l);if(p)return s=setTimeout(m,t),v(l)}return void 0===s&&(s=setTimeout(m,t)),u}return t=Number(t)||0,b.cancel=function(){void 0!==s&&clearTimeout(s),f=0,n=l=a=s=void 0},b.flush=function(){return void 0===s?u:g(o())},b};n.d(t,"a",function(){return l});var c=50,u="reachbottom",s=100;function l(e){e.addEventListener("scroll",function(e){var t=e.document,n=a(function(){t.body.dispatchEvent(new CustomEvent(u))},s);return function(o){var r=e.innerHeight,i=e.pageYOffset,a=t.body.scrollHeight;i>0&&a-(r+i)<=c&&n()}}(e))}},133:function(e,t,n){"use strict";n.r(t);var o=n(40),r=n.n(o),i=n(9),a=n.n(i),c="undefined"==typeof __sfc__?null:void 0!==__sfc__.getRawJSON?JSON.parse(__sfc__.getRawJSON()):__sfc__;function u(){return c?c.options.clientId:s("clientId")}function s(e){var t=location.href,n=new RegExp("".concat(e,"=([^&]+)")).exec(t);return n?decodeURIComponent(n[1]):"$unknown"}var l=n(41),f=n.n(l),d=n(0),p=document.documentElement.style,h=document.documentElement.clientWidth,v="ontouchstart"in window||"onmsgesturechange"in window,y=u();var m=n(1),g=n(6),b=n.n(g),w=n(10),_="https://g.alicdn.com/miniapp/miniapp-console/rax-console.js?r="+Date.now(),k=null;var E=[],S=["info","log","error","debug","warn"];function O(e){var t=(e||{}).payload,n=void 0===t?{}:t;"switch"!==n.type?k&&k.instance?-1!==S.indexOf(n.type)&&k&&k.instance&&k.instance.addMessage({source:"console-api",type:"log",level:n.type,parameters:n.args.map(function(e){return Object(w.a)(e)})}):E.push(e):!0===n.value?function(){if(k)return b.a.resolve(k);var e=document.createElement("script");return new b.a(function(t,n){e.onload=function(){k={load:window.RaxConsole.default,unload:window.RaxConsole.unload},t(k)},e.charset="utf-8",e.onerror=n,e.src=_,document.head.appendChild(e)})}().then(function(e){e.instance=e.load(),E.forEach(O),E=[]}):!1===n.value&&(k.unload(),k.instance=null)}var x=1,M=2,j=0;var T=n(12),C=n(11),A=n(13);Object(T.a)(window),Object(A.a)(window);var $,N=r()({}),I=c?c.options.pageName:s("pageName"),P=u(),R=("?"===($=location.search||"")[0]&&($=$.slice(1)),a.a.parse($)),L={inited:!1};N.$on("[[VideoContextAction]]",function(e){var t=e.data,n=t.action,o=t.id,r=t.args,i=document.getElementById(o);null!==i&&i[n].apply(i,r)}),N.$on("[[ModuleAPIEvent]]",function(e){var t=e.data,n=t.type,o=t.data;switch(n){case"pageScrollTo":var r=o.behavior,i=o.scrollTop;window.scrollTo({top:i||0,behavior:r||"auto"})}}),N.$on("r#",function(e){Object(d.i)(d.e,P),L.inited||(!function(e){v&&(document.documentElement.style.cursor="pointer"),p.fontSize=h/750*100+"px";var t={postMessage:function(t){e.$emit("r2w",{data:t},"AppWorker"),Object(d.h)(d.c,y)||Object(d.i)(d.c,y)}};e.$on("w2r",function(n){"function"==typeof t.onmessage&&(Object(d.h)(d.b,y)||Object(d.i)(d.b,y),t.onmessage(n.data),Object(d.h)(d.a,y)||Object(d.i)(d.a,y)),Object(d.h)(d.d,y)||(Object(d.i)(d.d,y),setTimeout(function(){Object(d.j)(e,y,{"r:preparePage":Object(d.h)(d.e,y)-Object(d.h)(d.f,y),"r:prepareDOM":Object(d.h)(d.c,y)-Object(d.h)(d.e,y),"r:renderPage":Object(d.h)(d.d,y)-Object(d.h)(d.c,y),"r:firstDOMRender":Object(d.h)(d.a,y)-Object(d.h)(d.b,y)})},16))}),f()({worker:t,tagNamePrefix:"a-"})}(N),L.inited=!0)}),N.$on("console",function(e){O(e.data)}),N.$call("miniApp.getConfig",{},function(e){var t=e?e.themeConfig:{};Object(C.a)(t,window)},function(e){Object(m.b)("miniApp.getConfig on err",e)}),window.__renderer_to_worker__=function(e){N.$emit(e.type,{payload:e,pageName:I},"AppWorker")},c.options&&c.options.lazyload||(Object(d.i)(d.f,P),N.$emit("r$",{clientId:P,pageName:I,pageQuery:R},"AppWorker")),R.remoteInspectUrl&&function(e){if(!(j>=x)){j=x;var t=document.createElement("script");t.async=!0,t.src=e,t.onload=function(){j=M},document.body.appendChild(t)}}(R.remoteInspectUrl)},15:function(e,t){var n,o,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{o="function"==typeof clearTimeout?clearTimeout:a}catch(e){o=a}}();var u,s=[],l=!1,f=-1;function d(){l&&u&&(l=!1,u.length?s=u.concat(s):f=-1,s.length&&p())}function p(){if(!l){var e=c(d);l=!0;for(var t=s.length;t;){for(u=s,s=[];++f<t;)u&&u[f].run();f=-1,t=s.length}u=null,l=!1,function(e){if(o===clearTimeout)return clearTimeout(e);if((o===a||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function v(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new h(e,t)),1!==s.length||l||c(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=v,r.addListener=v,r.once=v,r.off=v,r.removeListener=v,r.removeAllListeners=v,r.emit=v,r.prependListener=v,r.prependOnceListener=v,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},17:function(e,t,n){"use strict";function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";var a={};if("string"!=typeof e||0===e.length)return a;var c=/\+/g;e=e.split(t);var u=1e3;i&&"number"==typeof i.maxKeys&&(u=i.maxKeys);var s=e.length;u>0&&s>u&&(s=u);for(var l=0;l<s;++l){var f,d,p,h,v=e[l].replace(c,"%20"),y=v.indexOf(n);y>=0?(f=v.substr(0,y),d=v.substr(y+1)):(f=v,d=""),p=decodeURIComponent(f),h=decodeURIComponent(d),o(a,p)?r(a[p])?a[p].push(h):a[p]=[a[p],h]:a[p]=h}return a};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},18:function(e,t,n){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=function(e){switch(o(e)){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,u){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"===o(e)?a(c(e),function(o){var c=encodeURIComponent(r(o))+n;return i(e[o])?a(e[o],function(e){return c+encodeURIComponent(r(e))}).join(t):c+encodeURIComponent(r(e[o]))}).join(t):u?encodeURIComponent(r(u))+n+encodeURIComponent(r(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function a(e,t){if(e.map)return e.map(t);for(var n=[],o=0;o<e.length;o++)n.push(t(e[o],o));return n}var c=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},4:function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return r});var o="undefined"!=typeof navigator?navigator.userAgent:"unknow";/(iPhone|iPad|iPod)/.test(o),/Android/.test(o),/AliTB/.test(o);function r(){return void 0!==e?e:"undefined"!=typeof self?self:new Function("return this")()}}).call(this,n(5))},40:function(e,t,n){(function(o,r){var i,a,c;function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}console.log("Start windmill renderer.min (0.5.1) framework. Build at 2018-12-05 14:27"),c=function(){"use strict";"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{writable:!0,enumerable:!1,configurable:!0,value:function(e,t){var n=arguments;if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var o=Object(e),r=1;r<arguments.length;r++){var i=n[r];if(null!=i)for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(o[a]=i[a])}return o}});var e,t=(e=1e5,function(){var t=String(e);return e+=1,t});function n(){return void 0!==o?o:"undefined"!=typeof self?self:new Function("return this")()}function i(e,t,o){void 0===o&&(o=!0);var r=n();try{Object.defineProperty(r,e,{value:t,configurable:!0,enumerable:!0,writable:!o})}catch(o){r[e]=t}}function a(e){return Object.prototype.toString.call(e).slice(8,-1)}function c(e){return"Object"===a(e)}function s(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t]}var l=function(){},f={},d=["debug","info","log","warn","error"];function p(e){if("object"==(void 0===r?"undefined":u(r))&&r&&r.env,!0===f.debugMode||"true"===f.debugMode)return!0;var t=f.logLevel||"error";return d.indexOf(e)>=d.indexOf(t)}function h(e){p("debug")&&l("debug",e)}function v(e){p("warn")&&l("warn",e)}function y(e){p("error")&&l("error",e)}function m(e){y(e)}l=function(e,t){var n,o="["+((n=e).charAt(0).toUpperCase()+n.slice(1))+"][wml-r] "+t;return f.isWeex&&-1<["Android","iOS"].indexOf(f.platform)?console.log(o):console.error(o)};var g={network:["request","uploadFile","downloadFile"],miniApp:["setAppShareInfo","hideLauncherLoading","setWebViewTop","setWebViewBackgroundImage","getConfig"],mtop:["request"],storage:["length","setItem","getItem","removeItem","clearStorage","getStorageInfo",{name:"getItemSync",sync:!0},{name:"setItemSync",sync:!0},{name:"removeItemSync",sync:!0},{name:"clearStorageSync",sync:!0},{name:"getStorageInfoSync",sync:!0}],memoryStorage:["setItem","getItem"],tabBar:["show","hide","setTabBarItem","setTabBarStyle","setTabBarBadge","removeTabBarBadge","showTabBarRedDot","hideTabBarRedDot"],navigator:["push","pop","openMessagePage","reloadPage","getBackStack","popToHome","navigateTo","redirectTo","switchTab","navigateBackMiniProgram","navigateToMiniProgram"],user:["login","logout","info"],modal:["alert","confirm","toast","hideToast","showLoading","hideLoading","prompt"],navigatorBar:["show","hide","setTitle","setRightItem","setStyle","setDrawer","setActionSheet","hasIndexBadge","scaleIndexBadge","resetIndexBadge","getHeight","openDrawer","isDrawerOpened","closeDrawer","setLeftItem","showMenu","hideMenu","getStatusBarHeight","setNavigationBar","hideNavigationBarLoading","showNavigationBarLoading"],clipboard:["writeText","readText"],picker:["pick","pickDate","pickTime","chooseCity"],webSocket:["webSocket","send","close","onOpen","onMessage","onClose","onError"],calendar:["addEvent","checkEvent","removeEvent"],connection:["getType","getDownlinkMax","onChange"],screen:["setAlwaysOn","setBrightness","getScreenBrightness"],broadcast:["createChannel","postMessage","onMessage","close"],share:["doShare"],cookie:["read","write","getAllObjects"],audio:["load","play","pause","stop","setVolume","canPlayType"],wopc:["authLogin","checkAuthSession","doAuth","getSessionKey","setSessionKey"],WopcMtopPlugin:["request"],device:["onShake","vibrate","vibrateShort","onUserCaptureScreen","offUserCaptureScreen"],keyboard:["hideKeyboard"],contact:["choosePhoneContact"],location:["getLocation"],alipay:["tradePay"],userTrack:["commit","commitut","commitEvent","customAdvance","pageAppear","pageDisappear","skipPage","updatePageUtparam","updateNextPageUtparam"],"nuvajs-exec":["exec"],aluWVJSBridge:["userIsLogin","refreshAlipayCookie"],TBDeviceInfo:["getUtdid"],actionSheet:["showActionSheet"],image:["chooseImage","previewImage","compressImage","getImageInfo","saveImage"],media:["startVoice","stopVoice"],audioRecord:["startRecord","stopRecord","cancelRecord"],audioPlayer:["playVoice","pauseVoice","stopVoice"],file:["saveFile","getFileInfo","getFileList","removeFile"],video:["chooseVideo","getVideoInfo","saveVideoToPhotosAlbum"],phone:["makePhoneCall"],compass:["startCompass","stopCompass","onCompassChange"],tbsecurity:["secureToken"],sendMtop:["request"],ZCache:["prefetch","fetch"],WVZCache:["prefetch","fetch"],sku:["show","hide"],chat:["open"],ucc:["uccBind","uccTrustLogin","uccUnbind"],address:["choose"]},b="__windmill_post_message__",w="__windmill_on_message__",_=function(){};_.prototype.$on=function(e,t){return void 0===t&&(t=s),h('$on "'+e+'"'),!e&&m("invalid event name "+e+" for windmill.$on."),t===s&&m("bind event "+e+" with no callback through windmill.$on."),this.bridge.onReceiveMessage({data:{type:e},origin:this.label,type:"Event"},t)},_.prototype.$once=function(e,t){return void 0===t&&(t=s),h('$once "'+e+'"'),!e&&m("invalid event name "+e+" for windmill.$once."),t===s&&m("bind event "+e+" with no callback through windmill.$once."),this.bridge.onReceiveMessage({data:{type:e,once:!0},origin:this.label,type:"Event"},t)},_.prototype.$off=function(e,t){return h('$off "'+e+'"'),!e&&m("invalid event name "+e+" for windmill.$off."),this.bridge.unbindEventListener("Event."+e,t)},_.prototype.$cycle=function(e,t){return void 0===t&&(t=s),h('$cycle "'+e+'"'),e&&/^app:|^page(:|@)/.test(e)||m("invalid lifecycle name "+e+" for windmill.$cycle."),t===s&&m("hook lifecycle "+e+" with no callback function through windmill.$cycle."),"AppWorker"!==this.label&&/^app:/.test(e)&&m("Shouldn't bind lifecycle hook for app in a page client."),this.bridge.onReceiveMessage({type:"Lifecycle",origin:this.label,data:{type:e}},t)},_.prototype.$decycle=function(e,t){return h('$decycle "'+e+'"'),e&&/^app:|^page(:|@)/.test(e)||m("invalid lifecycle name "+e+" for windmill.$decycle."),this.bridge.unbindEventListener("Lifecycle."+e,t)},_.prototype.$emit=function(e,t,n){return void 0===t&&(t={}),h('$emit("'+e+'")'),!e&&m("invalid event name "+e+" for windmill.$emit."),n&&n!==this.label?this.bridge.postMessage({data:{type:e,data:t},origin:this.label,target:n,type:"Event"}):this.bridge.emitEvent(""+e,t)},_.prototype.$callAsync=function(e,t){var n=this;return void 0===t&&(t={}),h('$callAsync "'+e+'"'),e||m("invalid method name "+e+" for windmill.$callAsync."),new Promise(function(o,r){n.bridge.dispatchMessage({type:"ModuleCall",origin:n.label,target:"AppWorker",data:{method:e,params:t}},o,r,!1)})},_.prototype.$call=function(e,t,n,o){return void 0===t&&(t={}),void 0===n&&(n=s),void 0===o&&(o=s),h('$call "'+e+'", params: '+JSON.stringify(t)),e||m("invalid method name "+e+" for windmill.$call."),this.bridge.dispatchMessage({type:"ModuleCall",origin:this.label,target:"AppWorker",data:{method:e,params:t}},n,o,!0)},_.prototype.$registerModules=function(e){!function(e,t){if(void 0===t&&(t=!1),c(e)){var n=function(n){var o=e[n];g[n]?t||v('The "'+n+'" module has already been registered.It would be overridden.'):g[n]=[];var r=g[n];Array.isArray(o)?o.forEach(function(e){if(c(e))r.push(e);else if("string"==typeof e){var o=e;-1===r.indexOf(o)?r.push(o):t||v('The "'+o+'" of the "'+n+'" module has already been registered.')}}):y('Invalid parameter type! The method list of the "'+n+'" module should be an Array.')};for(var o in e)n(o)}else y("Invalid parameter type! The module definition is not a plain object.")}(e,!0)},_.prototype.$getAvailableModules=function(){return function(e){var t={};try{t=JSON.parse(JSON.stringify(e))}catch(e){}return t}(g)};var k="[[EVENT_MAP]]";function E(e,t){var n=e[k];return Array.isArray(n[t])||(n[t]=[]),n[t]}var S=function(){h("Create new EventEmitter."),Object.defineProperty(this,k,{configurable:!1,enumerable:!1,writable:!1,value:{}})};S.prototype.on=function(e,t){return h('EventEmitter: on("'+e+'")'),E(this,e).push({listener:t,once:!1,callCount:0}),this},S.prototype.once=function(e,t){return h('EventEmitter: once("'+e+'")'),E(this,e).push({listener:t,once:!0,callCount:0}),this},S.prototype.off=function(e,t){h('EventEmitter: off("'+e+'"'+(t?", listener":"")+")");var n=this[k];if(t){var o=n[e];if(Array.isArray(o)){var r=o.findIndex(function(e){return e.listener===t});-1!==r&&o.splice(r,1)}}else delete n[e];return this};var O,x=3;function M(e){var t;try{t=JSON.stringify(e)}catch(n){t=e}m("failed to postMessage: "+t)}function j(e,t,n,o,r,i){var a=t+"."+n;return e.WindVane?e.WindVane.call(t,n,o,r,i):m("should have WindVane in global context"+(a?" to call "+a:"")+".")}var T=!(S.prototype.emit=function(e){for(var t=[],n=arguments.length-1;0<n--;)t[n]=arguments[n+1];h('EventEmitter: emit("'+e+'", '+JSON.stringify(t)+")");var o=this[k],r=o[e];return Array.isArray(r)&&(o[e]=r.filter(function(n){try{n.listener.apply(null,t),n.callCount+=1}catch(t){throw y('Failed to emit the "'+e+'" event: '+t.toString()+"\nSource code: "+("function"==typeof(o=n.listener)?Function.prototype.toString.call(o):"")),t}var o;return!n.once})),this}),C=function(){this._messages=[]};C.prototype.postMessage=function(e){h("cache message in lazyMsgModule. "+JSON.stringify(e)),this._messages.push(e)},C.prototype.replaceWith=function(e){A=!1,this._messageModule=e,this._flush()},C.prototype._flush=function(){var e=this;this._messages.forEach(function(t){return e._messageModule.postMessage(t)})};var A,$,N=new C;function I(e,t){var r,a=e?(r=e).requireModule("@weex/windmill")||r.requireModule("windmill"):function(){var e=n();if("function"!=typeof e[b])return 0<x&&(x--,y("Can't find available \""+b+'" API in the context.')),!1;var t={};return t.postMessage=e[b],t.onmessage=function(e){h('Register the "'+w+'" API.'),i(w,e)},t}()||function(){if(!O){var e="undefined"!=typeof window?window:o;O={postMessage:function(t){return j(e,"Windmill","postMessage",t,function(){},M)},onmessage:function(t){if(!T)return T=!0,j(e,"Windmill","onMessage",{},t,M)}}}return O}();if(!a)return m("can't find message module ("+(e?"windmill module":"message module in webview")+")."),A=!0,N;if("function"==typeof t){h('Set the "onmessage" method to the bridge through callback.');try{a.onmessage(t)}catch(e){y('Failed to set the "onmessage" method to the bridge through callback.'),y(e.toString())}}return A&&N.replaceWith(a),a}function P(e){var t=e.match(/([^@]+)(@\S+)/);return t&&t[1]||e}var R=function(e,t){var n=this;void 0===t&&(t={}),h("Create a new RendererBridge."),$=t.isWeex,this._emitter=new S,h("Register onmessage api for "+($?"Weex windmill module":"webview")+"."),$&&(this._weex=e),this._onMessage=function(e){if(h("Receive message from the worker. (message: "+JSON.stringify(e)+")"),!c(e)&&(y("The parameter of onmessage should be a plain object! Not "+a(e)),"string"==typeof e))try{e=JSON.parse(e)}catch(e){return void y("Failed to parse the message string. "+e.toString())}var t=e.type,o=e.data;void 0===o&&(o={});var r=e.origin,i=e.callbackId;switch(t){case"Callback":n._emitter.emit("callback@AppWorker:"+i,o);break;case"Event":var u=P(o.type);n._emitter.emit(t+"."+u,Object.assign({origin:r},o,{type:u}));break;case"Lifecycle":n._emitter.emit(t+"."+o.lifecycle,o.options);break;case"SetData":n._emitter.emit("Event.setdata",o);break;default:m('Unknown message type received from worker: "'+t+'"')}},I(e,this._onMessage)};R.prototype.dispatchMessage=function(e,t,n,o){h("Dispatch message to worker. (message: "+JSON.stringify(e)+")"),e.callbackId=this._genCallbackId(function(o){return o.status&&"SUCCESS"===o.status?t(o):(o.status,y("call API "+e.data.method+" from renderer failed: "+o.status+", "+o.error),n(o))},{keepAlive:o});try{e.keepAlive=!0,this.postMessage(e)}catch(o){n(o)}},R.prototype.postMessage=function(e){try{h("Call postMessage to worker. (message: "+JSON.stringify(e)+")"),I(this._weex,this._onMessage).postMessage(e)}catch(e){m(e.message||e.toString()||"postMessage failed.")}},R.prototype._genCallbackId=function(e,n){var o=n.keepAlive,r=n.callbackId||t();return this._emitter[o?"on":"once"]("callback@AppWorker:"+r,e),r},R.prototype.onReceiveMessage=function(e,t){var n=e.type,o=e.data;void 0===o&&(o={});var r=o.type;"Event"===n&&(r=P(r),o.type=r);var i=o.once?"once":"on";this._emitter[i](n+"."+r,t)},R.prototype.unbindEventListener=function(e,t){this._emitter.off(P(e),t)},R.prototype.emitEvent=function(e,t){void 0===t&&(t={});var n=P(e);this._emitter.emit("Event."+n,{type:n,data:t})};var L=function(e){function t(t,n){void 0===n&&(n={}),e.call(this),this._name=n.pageName||"",this.label=n.clientId||"",t&&c(t.config)&&(this._name=t.config.pageName||"",this.label=t.config.clientId||"",t.config.availableModules?(this.$registerModules(t.config.availableModules),this._gotAvailableModulesFromWeex=!0):v("No available modules in weex options.")),h("Create a new RendererRuntime. ("+this.label+", "+this._name+")"),this.bridge=new R(t,n),this._init()}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype._init=function(){var e=this;this.bridge.onReceiveMessage({origin:"AppWorker",target:this.label,type:"Event",data:{type:"registerModules"}},function(t){t&&"registerModules"===t.type&&(h("Register available modules in renderer. ("+Object.keys(t.data)+")"),e.$registerModules(t.data))})},t.prototype.ready=function(){this.bridge.dispatchMessage({origin:this.label,target:"AppWorker",type:"Event",data:{type:"[[RendererRuntimeReady]]",data:{label:this.label,handshake:!this._gotAvailableModulesFromWeex}}},s,s)},t.prototype.$getCurrentActivePageId=function(){return this.label},t}(_),D=["$on","$once","$off","$emit","$cycle","$decycle","$call","$callAsync","$navTo","$getAvailableModules","$getCurrentActivePageId"];return function(e,t){var n=!(!e||!e.requireModule);!function(e){if(!e||!e.platform)return console.error("set logger environment failed.");Object.assign(f,e)}({platform:n&&e.config.env.platform,debugMode:n&&e.config.env.debugMode,isWeex:n}),h("Setup Windmill renderer framework."),e&&!e.requireModule&&(t=e,e=void 0),t||(t={}),h("Instantiate renderer in "+(((t=Object.assign({},t)).isWeex=n)?"Weex container":"WindVane container")+".");var o,r,a,u,s,l=new L(e,t),d=(o=l,r={},D.forEach(function(e){"function"==typeof o[e]&&(r[e]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return o[e].apply(o,t)})}),r);return h("Prepare runtime APIs: "+JSON.stringify(D)),t.exposeModuleGetter&&i("__WINDMILL_MODULE_GETTER__",(a=function(){return d},u=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return(e=a()).$call.apply(e,t)},s=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return(e=a()).$callSync.apply(e,t)},function(e){if(!e)return h("Require a universal module proxy."),{call:u};var t=g[e];if(Array.isArray(t)){h('Require the "'+e+'" module.');var n={};return t.forEach(function(t){if("string"==typeof t)n[t]=function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];return u.apply(void 0,[e+"."+t].concat(n))};else if(c(t)&&t.name){var o=t.name;t.sync?n[o]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return s.apply(void 0,[e+"."+o].concat(t))}:n[o]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return u.apply(void 0,[e+"."+o].concat(t))}}}),n}v('Require unknown module "'+e+"\".It may not exist or haven't been registered.")})),l.ready(),d}},"object"==u(t)&&void 0!==e?e.exports=c():void 0===(a="function"==typeof(i=c)?i.call(t,n,t,e):i)||(e.exports=a)}).call(this,n(5),n(15))},41:function(e,t,n){var o,r;function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r=function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===i(e)&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=/-[a-z]/g,r={};function i(e){return r[e]||(r[e]=e.replace(o,function(e){return e.slice(1).toUpperCase()}))}},,,function(e,t,n){"use strict";function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}n.r(t);var r=function(){function e(){var t,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n="_map",o=new Map,n in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}var t,n,r;return t=e,(n=[{key:"_setMountNode",value:function(e){this.mountNode=e}},{key:"get",value:function(e){return e?"BODY"===e.nodeName?this.mountNode:this._map.get(e.$$id):null}},{key:"set",value:function(e,t){return t.$$id=e.$$id,this._map.set(e.$$id,t)}},{key:"delete",value:function(e){return e?this._map.delete(e.$$id):null}}])&&o(t.prototype,n),r&&o(t,r),e}(),a=!1;try{addEventListener("test",null,{get passive(){a=!0}})}catch(e){}function c(e){return(c="function"==typeof Symbol&&"symbol"===i(Symbol.iterator)?function(e){return i(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":i(e)})(e)}function u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var s=!a||{capture:!0,passive:!0},l={load:!0,error:!0,unload:!0,abort:!0,loadstart:!0,progress:!0,loadend:!0,blur:!0,focus:!0,scroll:!0,appear:!0,disappear:!0,invalid:!0},f=["touchstart","touchmove","touchend","touchcancel"],d=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.postMessage=t,this.registeredEventCounts={},this.mountNode=n.mountNode||document,this.touch=null}var t,n,o;return t=e,(n=[{key:"addEvent",value:function(e,t){l[t]?this.addNoBubblesEventListener(e,t):this.registeredEventCounts[t]?this.registeredEventCounts[t]++:(this.registeredEventCounts[t]=1,this.mountNode.addEventListener(t,this.eventProxyHandler.bind(this),s))}},{key:"removeEvent",value:function(e,t){l[t]?this.removeNoBubblesEventListener(e,t):(this.registeredEventCounts[t]--,0===this.registeredEventCounts[t]&&this.mountNode.removeEventListener(t,this.eventProxyHandler.bind(this)))}},{key:"addNoBubblesEventListener",value:function(e,t){var n=this;function o(o){var r={$$id:e.$$id};n.postMessage({type:"event",event:{type:t,target:r,currentTarget:r,detail:o.detail}})}e["__$".concat(t,"_listener__")]=o,e.addEventListener(t,o)}},{key:"removeNoBubblesEventListener",value:function(e,t){var n=e["__$".concat(t,"_listener__")];n&&(e.removeEventListener(t,n),e["__$".concat(t,"_listener__")]=null)}},{key:"eventProxyHandler",value:function(e){if("click"===e.type&&this.touch)return!1;var t={type:e.type};for(var n in e.target&&(t.target=e.target.$$id),"scroll"===e.type&&e.target===document&&(t.target=document.body.$$id,t.scrollTop=document.documentElement.scrollTop||document.body.scrollTop),e.detail&&(t.detail=e.detail),e){var o=e[n];"object"===c(o)||"function"==typeof o||n===n.toUpperCase()||t.hasOwnProperty(n)||(t[n]=o)}if(-1!==f.indexOf(e.type)&&(t.touches=h(e.touches),t.changedTouches=h(e.changedTouches)),this.postMessage({type:"event",event:t}),"touchstart"===e.type)this.touch=p(e);else if("touchend"===e.type&&this.touch){var r=p(e);if(r)Math.sqrt(Math.pow(r.pageX-this.touch.pageX,2)+Math.pow(r.pageY-this.touch.pageY,2))<10&&(t.type="click",this.postMessage({type:"event",event:t}))}}}])&&u(t.prototype,n),o&&u(t,o),e}();function p(e){var t=e.changedTouches&&e.changedTouches[0]||e.touches&&e.touches[0]||e;return t&&{pageX:t.pageX,pageY:t.pageY}}function h(e){for(var t=[],n=0,o=e.length;n<o;n++){var r=e[n],i=r.clientX,a=r.clientY,c=r.pageX,u=r.pageY,s=r.identifier,l=r.target;t.push({clientX:i,clientY:a,pageX:c,pageY:u,identifier:s,$$id:l.$$id})}return t}var v={audio:!0,button:!0,canvas:!0,checkbox:!0,"checkbox-group":!0,icon:!0,label:!0,picker:!0,"picker-view":!0,"picker-view-column":!0,radio:!0,slider:!0,text:!0,video:!0,image:!0,input:!0,map:!0,"radio-group":!0,swiper:!0,"swiper-item":!0,textarea:!0,view:!0,form:!0,navigator:!0,progress:!0,"scroll-view":!0,switch:!0,"web-view":!0,page:!0,animation:!0},y={style:!0};var m="a-";function g(e){var t=String(e).toLowerCase();return function(e){return y.hasOwnProperty(e)}(t)?t:function(e){return v.hasOwnProperty(e)}(t)?m+t:"a-unknown"}var b={flex:!0,alignItems:!0,alignSelf:!0,flexDirection:!0,justifyContent:!0,flexWrap:!0,lineClamp:!0,textSizeAdjust:!0,textDecorationLine:!0,textDecorationColor:!0,textDecorationStyle:!0,textDecorationSkip:!0,writingMode:!0,animatin:!0,animationName:!0,animationDuration:!0,animationTimingFunction:!0,animationDelay:!0,animationIterationCount:!0,animationDirection:!0,animationFillMode:!0,animationPlayState:!0,transform:!0,transformOrigin:!0,transformStyle:!0,perspective:!0,perspectiveOrigin:!0,backfaceVisibility:!0,appearance:!0,userSelect:!0,columns:!0,columnWidth:!0,columnCount:!0,columnGap:!0,columnRule:!0,columnRuleWidth:!0,columnRuleStyle:!0,columnRuleColor:!0,columnSpan:!0,columnFill:!0,columnBreakBefore:!0,columnBreakAfter:!0,columnBreakInside:!0},w={position:"sticky",display:"flex"},_={shouldPrefix:function(e){return b[e]||w[e]}};function k(e,t){var n={};for(var o in t){var r=t[o];_.shouldPrefix(o)?_[o](r,n):n[o]=r}for(var i in n){var a=n[i];if(Array.isArray(a))for(var c=0;c<a.length;c++)e.style[i]=a[c];else e.style[i]=a}}Object.keys(b).forEach(function(e){var t="webkit"+e[0].toUpperCase()+e.slice(1);_[e]=function(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o[t]=n,o[e]=n,o}}),Object.keys(w).forEach(function(e){var t=w[e];_[e]=function(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o[e]=n===t?["-webkit-"+t,t]:n,o}});var E=n(0),S={};function O(e){return(O="function"==typeof Symbol&&"symbol"===i(Symbol.iterator)?function(e){return i(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":i(e)})(e)}var x="style",M={slot:!0};function j(e,t,n){var o;(o=t,M.hasOwnProperty(o))||(t!==x?"object"===O(n)||"boolean"==typeof n?e[Object(E.a)(t)]=n:(t=function(e){if(S[e])return S[e];for(var t="",n=0,o=e.length;n<o;n++)/[a-z]/.test(e[n])?t+=e[n]:/[A-Z]/.test(e[n])?t+="-"+e[n].toLowerCase():"-"===e[n]&&(t+="-");return S[e]=t}(t),null==n?e.removeAttribute(t):e.setAttribute(t,n)):k(e,n))}function T(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var C="textContent"in document?"textContent":"nodeValue",A=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.eventHandler=new d(t,{mountNode:n}),this.mountNode=n||document.body,this.sharedNodeMap=new r,this.sharedNodeMap._setMountNode(this.mountNode)}var t,n,o;return t=e,(n=[{key:"apply",value:function(e){for(var t=e.mutations,n=0;n<t.length;n++){var o=t[n];this[o.type](o)}}},{key:"childList",value:function(e){var t=e.target,n=e.removedNodes,o=e.addedNodes,r=e.nextSibling,i=this.sharedNodeMap,a=t;a&&"BODY"===a.nodeName&&(this.mountNode.$$id=a.$$id);var c=i.get(a);if(n)for(var u=n.length;u--;){var s=i.get(n[u]);i.delete(s),c&&s&&c.removeChild(s)}if(o)for(var l=0;l<o.length;l++){var f=i.get(o[l]);f||(f=this.createNode(o[l])),c&&c.insertBefore(f,r&&i.get(r)||null)}}},{key:"createNode",value:function(e){var t=function(e){var t,n;return 3===e.nodeType?t=document.createTextNode(e.data):1===e.nodeType&&(n=g(e.nodeName))?t=document.createElement(n):8===e.nodeType&&(t=document.createComment(e.data)),t}(e);if(1===e.nodeType&&g(e.nodeName)){if(e.className&&(t.className=e.className),e.style&&k(t,e.style),e.attributes)for(var n=0;n<e.attributes.length;n++){var o=e.attributes[n];j(t,o.name,o.value)}if(e.childNodes)for(var r=0;r<e.childNodes.length;r++)t.appendChild(this.createNode(e.childNodes[r]));if(e.events)for(var i=0;i<e.events.length;i++)this.eventHandler.addEvent(t,e.events[i])}return this.sharedNodeMap.set(e,t),t}},{key:"attributes",value:function(e){var t=e.target,n=e.attributeName,o=e.newValue,r=e.style,i=this.sharedNodeMap.get(t);i&&(r&&j(i,"style",r),n&&j(i,n,o))}},{key:"characterData",value:function(e){var t=e.target,n=e.newValue;this.sharedNodeMap.get(t)[C]=n}},{key:"addEvent",value:function(e){var t=e.target,n=e.eventName,o=this.sharedNodeMap.get(t);o&&this.eventHandler.addEvent(o,n)}},{key:"removeEvent",value:function(e){var t=e.target,n=e.eventName,o=this.sharedNodeMap.get(t);o&&this.eventHandler.removeEvent(o,n)}},{key:"canvasRenderingContext2D",value:function(e){var t=e.target,n=e.method,o=e.args,r=e.properties,i=this.sharedNodeMap.get(t);if(i){var a=i.getContext("2d");if(r)for(var c in r)r.hasOwnProperty(c)&&(a[c]=r[c]);n&&a[n].apply(a,o)}}}])&&T(t.prototype,n),o&&T(t,o),e}();function $(e){return($="function"==typeof Symbol&&"symbol"===i(Symbol.iterator)?function(e){return i(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":i(e)})(e)}function N(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var I=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sender=t}var t,n,o;return t=e,(n=[{key:"apply",value:function(e){var t=e.data;this[t.type](t)}},{key:"returnSuccess",value:function(e,t){if("object"===$(t))try{t=JSON.parse(JSON.stringify(t))}catch(e){t=t.toString()}"function"==typeof t&&(t=t.toString()),this.send({type:"success",id:e,success:t})}},{key:"returnError",value:function(e,t){var n=t.name,o=t.message;this.send({type:"error",id:e,error:{name:n,message:o}})}},{key:"send",value:function(e){this.sender({type:"return",return:e})}},{key:"eval",value:function(e){var t=e.id,n=e.code;try{this.returnSuccess(t,window.eval(n))}catch(e){this.returnError(t,e)}}}])&&N(t.prototype,n),o&&N(t,o),e}();function P(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var R=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sender=t}var t,n,o;return t=e,(n=[{key:"apply",value:function(e){var t=e.data,n=t.type,o=t.prop;"call"===n&&"replace"===o&&location.replace(t.args[0])}}])&&P(t.prototype,n),o&&P(t,o),e}();t.default=function(e){var t=e.worker,n=e.mountNode,o=t.postMessage.bind(t),r={MutationRecord:new A(o,n),EvaluationRecord:new I(o),Location:new R(o)};t.onmessage=function(e){var t=e.data,n=t.type;r[n]?r[n].apply(t):console.error("Can not handle with "+n,t)},t.postMessage({type:"init",url:location.href,width:"undefined"!=typeof DEVICE_WIDTH?DEVICE_WIDTH:document.documentElement.clientWidth})}}])},"object"===i(t)&&void 0!==e?e.exports=r():void 0===(o=function(e,t,n){n.exports=r()}.call(t,n,t,e))||(e.exports=o)},5:function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o;o=function(){return this}();try{o=o||new Function("return this")()}catch(e){"object"===("undefined"==typeof window?"undefined":n(window))&&(o=window)}e.exports=o},6:function(e,t,n){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e){return(r="function"==typeof Symbol&&"symbol"===o(Symbol.iterator)?function(e){return o(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":o(e)})(e)}function i(){}var a="function"==typeof setImmediate&&setImmediate||function(e){"function"==typeof setTimeout?setTimeout(e,0):e()},c=function(e){"undefined"!=typeof console&&console&&console.log("Possible Unhandled Promise Rejection:",e)};function u(e){if("object"!==r(this))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("Promise resolver is not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],h(e,this)}function s(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,a(function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var o;try{o=n(e._value)}catch(e){return void f(t.promise,e)}l(t.promise,o)}else(1===e._state?l:f)(t.promise,e._value)})):e._deferreds.push(t)}function l(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===r(t)||"function"==typeof t)){var n=t.then;if(t instanceof u)return e._state=3,e._value=t,void d(e);if("function"==typeof n)return void h((o=n,i=t,function(){o.apply(i,arguments)}),e)}e._state=1,e._value=t,d(e)}catch(t){f(e,t)}var o,i}function f(e,t){e._state=2,e._value=t,d(e)}function d(e){2===e._state&&0===e._deferreds.length&&a(function(){e._handled||c(e._value)});for(var t=0,n=e._deferreds.length;t<n;t++)s(e,e._deferreds[t]);e._deferreds=null}function p(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function h(e,t){var n=!1;try{e(function(e){n||(n=!0,l(t,e))},function(e){n||(n=!0,f(t,e))})}catch(e){if(n)return;n=!0,f(t,e)}}u.prototype.catch=function(e){return this.then(null,e)},u.prototype.then=function(e,t){var n=new this.constructor(i);return s(this,new p(e,t,n)),n},u.all=function(e){var t=Array.prototype.slice.call(e);return new u(function(e,n){if(0===t.length)return e([]);var o=t.length;function i(a,c){try{if(c&&("object"===r(c)||"function"==typeof c)){var u=c.then;if("function"==typeof u)return void u.call(c,function(e){i(a,e)},n)}t[a]=c,0==--o&&e(t)}catch(e){n(e)}}for(var a=0;a<t.length;a++)i(a,t[a])})},u.resolve=function(e){return e&&"object"===r(e)&&e.constructor===u?e:new u(function(t){t(e)})},u.reject=function(e){return new u(function(t,n){n(e)})},u.race=function(e){return new u(function(t,n){for(var o=0,r=e.length;o<r;o++)e[o].then(t,n)})},u._setImmediateFn=function(e){a=e},u._setUnhandledRejectionFn=function(e){c=e},e.exports=u},9:function(e,t,n){"use strict";t.decode=t.parse=n(17),t.encode=t.stringify=n(18)}});
/*! miniapp framework version: 0.0.83 bulid time: Thu Jan 17 2019 10:41:56 GMT+0800 (CST) */!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=132)}({0:function(e,t,n){"use strict";n.d(t,"c",function(){return a}),n.d(t,"a",function(){return c}),n.d(t,"d",function(){return u}),n.d(t,"b",function(){return s});var o=n(3),r={all:-1,debug:0,log:1,info:1,warn:2,error:3,none:4},i="error";try{Object(o.a)().__set_log_level__=function(e){i=e}}catch(e){u("mount __set_log_level__ at global object err",e)}function a(){if(r[i]<=r.log){for(var e,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];(e=console).log.apply(e,["[Log]"].concat(n))}}function c(){if(r[i]<=r.debug){for(var e,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];(e=console).log.apply(e,["[Debug]"].concat(n))}}function u(){if(r[i]<=r.warn){for(var e,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];(e=console).log.apply(e,["[WARN]"].concat(n))}}function s(){if(r[i]<=r.error){for(var e,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];(e=console).log.apply(e,["[ERROR]"].concat(n))}}},10:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o={taobao:{"--color-primary":"#ff5500","--color-warn":"#fb9025","--button-primary-background-color-from":"#ff8800","--button-primary-background-color-to":"#ff5500","--button-primary-text-color":"#ffffff","--button-warn-background-color-from":"#fbca2f","--button-warn-background-color-to":"#fb9025","--button-warn-text-color":"#ffffff","--button-default-background-color-from":"#ffffff","--button-default-background-color-to":"#ffffff","--button-default-text-color":"#ff5500","--button-border-radius":"40px"},alipay:{"--color-primary":"#2E7ADC","--color-warn":"red","--button-primary-background-color-from":"#2E7ADC","--button-primary-background-color-to":"#2E7ADC","--button-primary-text-color":"#ffffff","--button-warn-background-color-from":"red","--button-warn-background-color-to":"red","--button-warn-text-color":"#ffffff","--button-default-background-color-from":"#ffffff","--button-default-background-color-to":"#ffffff","--button-default-text-color":"#2E7ADC","--button-border-radius":"10px"}};function r(e,t){var n=e&&e.themeName,r=o[n];r||(r=o[n="taobao"]),e&&e.customVars&&(r=Object.assign({},r,e.customVars));var i=t.document.documentElement;t.CSS&&t.CSS.supports&&t.CSS.supports("--a",0)?function(e,t){Object.keys(e||{}).forEach(function(n){var o=e[n];t.style.setProperty(n,o)})}(r,i):new t.MutationObserver(function(e){var t=!0,n=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var c=i.value;if("childList"===c.type){var u=c.addedNodes[0];if(u&&u.shadowRoot){var s=u.shadowRoot.querySelector("style");s&&function(){var e=s.textContent;Object.keys(r).forEach(function(t){var n=r[t];e=e.replace(new RegExp("var\\(".concat(t,"[^\\)]*\\)"),"g"),n)}),s.textContent=e}()}}}}catch(e){n=!0,o=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw o}}}).observe(t.document.body,{childList:!0,subtree:!0})}},11:function(e,t,n){"use strict";function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function r(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}var i,a,c=0,u=[],s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.current=[],this.elements=t,this.options={container:window,wait:100,x:0,y:0,cls:"appear",once:!1,onReset:function(){},onAppear:function(){},onDisappear:function(){}},this.container=null,this.appearWatchElements=null,this.initConfig.apply(this,arguments)}return r(e,null,[{key:"createEvent",value:function(){i=document.createEvent("HTMLEvents"),a=document.createEvent("HTMLEvents"),i.initEvent("appear",!1,!0),a.initEvent("disappear",!1,!0)}}]),r(e,[{key:"initConfig",value:function(e){this.extend(this.options,e||(e={})),this.appearWatchElements=this.appearWatchElements||this.getElements(),this.bindEvent()}},{key:"extend",value:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}},{key:"inViewport",value:function(e,t,n){var o=e.getBoundingClientRect(),r=o.top,i=o.right,a=o.bottom,u=o.left;return u=t.right>u&&t.left<i,r=t.bottom>r-c&&t.top<a,u&&r}},{key:"getElements",value:function(e){var t,n=this.options.container;return this.container=n,t=u||[],t=[].slice.call(t,null)}},{key:"check",value:function(e){var t=this;l(function(){t.calculate(e)})}},{key:"calculate",value:function(e){var t=this,n=this.container,o=e||this.getElements(),r=d(window,{x:this.options.x,y:this.options.y}),c=this.options.once;arguments[0];n&&o&&o.length>0&&[].forEach.call(o,function(e,n){if(e){if(e.isOnce&&e._hasAppear)return u.splice(n,1),void o.splice(n,1);t.checkEveryDom(e,r,c,i,a,"normal",n)}})}},{key:"checkEveryDom",value:function(e,t,n,o,r,i,a){var c=d(e),u=this.getDirection(e._eleOffset,c),s=this.inViewport(e,t,i),l=e._appear,f=e._hasAppear,p=e._hasDisAppear;e._eleOffset=c,o.direction=u,r.direction=u,s&&!l?(n&&!f||!n)&&(e.dispatchEvent(o),e._hasAppear=!0,e._appear=!0):!s&&l&&(n&&!p||!n)&&(e.dispatchEvent(r),e._hasDisAppear=!0,e._appear=!1)}},{key:"reset",value:function(e){return this.initConfig(e),this.appearWatchElements.forEach(function(e){delete e._hasAppear,delete e._hasDisAppear,delete e._appear}),this}},{key:"bindEvent",value:function(){var e,t,n,o,r,i,a,c,u=this,s=(e=function(){u.check()},t=this.options.wait,i=null,a=0,c=function(){a=Date.now(),i=null,r=e.apply(n,o)},function(){var u=Date.now(),s=t-(u-a);return n=this,o=arguments,s<=0?(clearTimeout(i),i=null,a=u,r=e.apply(n,o)):i||(i=setTimeout(c,s)),r});this.__handle&&(this.container.removeEventListener("scroll",this.__handle,!1,!0),this.__handle=null),this.__handle=s,this.container.addEventListener("scroll",s,!1,!0)}},{key:"getDirection",value:function(e,t){var n="none",o=e.left-t.left,r=e.top-t.top;return 0==r&&(n=0!=o?o>0?"left":"right":"none"),0==o&&(n=0!=r?r>0?"up":"down":"none"),n}}]),e}(),l=window.requestAnimationFrame||window.webkitRequestAnimationFrame||function(e){setTimeout(e,1/60*1e3)};function f(e){e.offsetTop&&"number"==typeof e.offsetTop&&(c=e.offsetTop)}function d(e,t){var n,o,r,i;if(e){if(t||(t={x:0,y:0}),e===window)i=0,o=(n=0)+e.innerWidth,r=i+e.innerHeight;else if(null===e.parentNode)n=0,i=0,o=0,r=0;else{var a=e.getBoundingClientRect(),c=a.top,u=a.right,s=a.bottom;n=a.left,i=c,o=u,r=s}return{left:n,top:i,right:o+t.x,bottom:r+t.y}}}var p,v,h,y=s,m={root:null,rootMargin:"0px",threshold:0};function g(e){e.forEach(function(e){var t=e.target;e.boundingClientRect;e.intersectionRatio>0?(t.dataset.appeared=!0,t.dispatchEvent(p)):t.dataset.appeared&&(t.dataset.appeared=!1,t.dispatchEvent(v))})}function b(){p=document.createEvent("HTMLEvents"),v=document.createEvent("HTMLEvents"),p.initEvent("appear",!1,!0),v.initEvent("disappear",!1,!0),h=new IntersectionObserver(g,m)}var w=null,_="function"==typeof IntersectionObserver,k=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=t.prototype.addEventListener,o=t.prototype.removeEventListener;t.prototype.addEventListener=function(t,o,r,i){var a,c=t&&String(t).toLowerCase(),s="appear"===c||"disappear"===c;s&&(_?((a=this)===document&&(a=document.documentElement),h.observe(a)):function(e){if(-1===u.indexOf(e)&&!e.appended){var t=Boolean(e.getAttribute("isonce"))||Boolean(e.getAttribute("data-once"));e.isOnce=t,e.appended=!0,u.push(e),e._eleOffset=d(e)}}(this)),_||(w&&s&&w.check([this]),"scroll"!==c||i||(w=new y({container:this}),e.push(w))),n.call(this,t,o,r)},t.prototype.removeEventListener=function(t,n,r,i){var a=this,c=t&&String(t).toLowerCase();_||"scroll"!==c||i||e.forEach(function(t,n){t.__handle&&t.container===a&&(a.removeEventListener("scroll",t.__handle,!1,!0),t.__handle=null,t.appearWatchElements=[],t.container=null,e.splice(n,1))}),o.call(this,t,n,r)}};t.a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;if(!_){var t=[];return y.createEvent(),k(t,e.Node),w=new y({container:e}),t.push(w),{config:f}}b(),k([],e.Node)}},12:function(e,t,n){"use strict";var o=function(){return Date.now()},r="Expected a function",i=(Math.max,Math.min);var a=function(e,t){var n,a,c,u,s,l,f=0,d=!1,p=!1,v=!0;if("function"!=typeof e)throw new TypeError(r);function h(t){var o=n,r=a;return n=a=void 0,f=t,u=e.apply(r,o)}function y(e){var n=e-l;return void 0===l||n>=t||n<0||p&&e-f>=c}function m(){var e=o();if(y(e))return g(e);s=setTimeout(m,function(e){var n=t-(e-l);return p?i(n,c-(e-f)):n}(e))}function g(e){return s=void 0,v&&n?h(e):(n=a=void 0,u)}function b(){var e=o(),r=y(e);if(n=arguments,a=this,l=e,r){if(void 0===s)return function(e){return f=e,s=setTimeout(m,t),d?h(e):u}(l);if(p)return s=setTimeout(m,t),h(l)}return void 0===s&&(s=setTimeout(m,t)),u}return t=Number(t)||0,b.cancel=function(){void 0!==s&&clearTimeout(s),f=0,n=l=a=s=void 0},b.flush=function(){return void 0===s?u:g(o())},b};n.d(t,"a",function(){return l});var c=50,u="reachbottom",s=100;function l(e){e.addEventListener("scroll",function(e){var t=e.document,n=a(function(){t.body.dispatchEvent(new CustomEvent(u))},s);return function(o){var r=e.innerHeight,i=e.pageYOffset,a=t.body.scrollHeight;i>0&&a-(r+i)<=c&&n()}}(e))}},132:function(e,t,n){"use strict";n.r(t);var o=n(39),r=n.n(o),i=n(8),a=n.n(i),c="undefined"==typeof __sfc__?null:void 0!==__sfc__.getRawJSON?JSON.parse(__sfc__.getRawJSON()):__sfc__;function u(e){var t=location.href,n=new RegExp("".concat(e,"=([^&]+)")).exec(t);return n?decodeURIComponent(n[1]):"$unknown"}var s=n(40),l=n.n(s),f=document.documentElement.style,d=document.documentElement.clientWidth,p="ontouchstart"in window||"onmsgesturechange"in window;var v=n(0),h=n(5),y=n.n(h),m=n(9),g="https://g.alicdn.com/miniapp/miniapp-console/rax-console.js?r="+Date.now(),b=null;var w=[],_=["info","log","error","debug","warn"];function k(e){var t=(e||{}).payload,n=void 0===t?{}:t;"switch"!==n.type?b&&b.instance?-1!==_.indexOf(n.type)&&b&&b.instance&&b.instance.addMessage({source:"console-api",type:"log",level:n.type,parameters:n.args.map(function(e){return Object(m.a)(e)})}):w.push(e):!0===n.value?function(){if(b)return y.a.resolve(b);var e=document.createElement("script");return new y.a(function(t,n){e.onload=function(){b={load:window.RaxConsole.default,unload:window.RaxConsole.unload},t(b)},e.charset="utf-8",e.onerror=n,e.src=g,document.head.appendChild(e)})}().then(function(e){e.instance=e.load(),w.forEach(k),w=[]}):!1===n.value&&(b.unload(),b.instance=null)}var E=1,S=2,x=0;var M=n(11),O=n(10),C=n(12);Object(M.a)(window),Object(C.a)(window);var T,A=r()({}),$=c?c.options.pageName:u("pageName"),j=c?c.options.clientId:u("clientId"),N=("?"===(T=location.search||"")[0]&&(T=T.slice(1)),a.a.parse(T)),I={inited:!1};A.$on("[[VideoContextAction]]",function(e){var t=e.data,n=t.action,o=t.id,r=t.args,i=document.getElementById(o);null!==i&&i[n].apply(i,r)}),A.$on("[[ModuleAPIEvent]]",function(e){var t=e.data,n=t.type,o=t.data;switch(n){case"pageScrollTo":var r=o.behavior,i=o.scrollTop;window.scrollTo({top:i||0,behavior:r||"auto"})}}),A.$on("r#",function(e){I.inited||(!function(e){p&&(document.documentElement.style.cursor="pointer"),f.fontSize=d/750*100+"px";var t={postMessage:function(t){e.$emit("r2w",{data:t},"AppWorker")}};e.$on("w2r",function(e){"function"==typeof t.onmessage&&t.onmessage(e.data)}),l()({worker:t,tagNamePrefix:"a-"})}(A),I.inited=!0)}),A.$on("console",function(e){k(e.data)}),A.$call("miniApp.getConfig",{},function(e){var t=e?e.themeConfig:{};Object(O.a)(t,window)},function(e){Object(v.b)("miniApp.getConfig on err",e)}),window.__renderer_to_worker__=function(e){A.$emit(e.type,{payload:e,pageName:$},"AppWorker")},c.options&&c.options.lazyload||A.$emit("r$",{clientId:j,pageName:$,pageQuery:N},"AppWorker"),N.remoteInspectUrl&&function(e){if(!(x>=E)){x=E;var t=document.createElement("script");t.async=!0,t.src=e,t.onload=function(){x=S},document.body.appendChild(t)}}(N.remoteInspectUrl)},14:function(e,t){var n,o,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{o="function"==typeof clearTimeout?clearTimeout:a}catch(e){o=a}}();var u,s=[],l=!1,f=-1;function d(){l&&u&&(l=!1,u.length?s=u.concat(s):f=-1,s.length&&p())}function p(){if(!l){var e=c(d);l=!0;for(var t=s.length;t;){for(u=s,s=[];++f<t;)u&&u[f].run();f=-1,t=s.length}u=null,l=!1,function(e){if(o===clearTimeout)return clearTimeout(e);if((o===a||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(e)}}function v(e,t){this.fun=e,this.array=t}function h(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new v(e,t)),1!==s.length||l||c(p)},v.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=h,r.addListener=h,r.once=h,r.off=h,r.removeListener=h,r.removeAllListeners=h,r.emit=h,r.prependListener=h,r.prependOnceListener=h,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},16:function(e,t,n){"use strict";function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";var a={};if("string"!=typeof e||0===e.length)return a;var c=/\+/g;e=e.split(t);var u=1e3;i&&"number"==typeof i.maxKeys&&(u=i.maxKeys);var s=e.length;u>0&&s>u&&(s=u);for(var l=0;l<s;++l){var f,d,p,v,h=e[l].replace(c,"%20"),y=h.indexOf(n);y>=0?(f=h.substr(0,y),d=h.substr(y+1)):(f=h,d=""),p=decodeURIComponent(f),v=decodeURIComponent(d),o(a,p)?r(a[p])?a[p].push(v):a[p]=[a[p],v]:a[p]=v}return a};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},17:function(e,t,n){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=function(e){switch(o(e)){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,u){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"===o(e)?a(c(e),function(o){var c=encodeURIComponent(r(o))+n;return i(e[o])?a(e[o],function(e){return c+encodeURIComponent(r(e))}).join(t):c+encodeURIComponent(r(e[o]))}).join(t):u?encodeURIComponent(r(u))+n+encodeURIComponent(r(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function a(e,t){if(e.map)return e.map(t);for(var n=[],o=0;o<e.length;o++)n.push(t(e[o],o));return n}var c=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},3:function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return r});var o="undefined"!=typeof navigator?navigator.userAgent:"unknow";/(iPhone|iPad|iPod)/.test(o),/Android/.test(o),/AliTB/.test(o);function r(){return void 0!==e?e:"undefined"!=typeof self?self:new Function("return this")()}}).call(this,n(4))},39:function(e,t,n){(function(o,r){var i,a,c;function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}console.log("Start windmill renderer.min (0.5.1) framework. Build at 2018-12-05 14:27"),c=function(){"use strict";"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{writable:!0,enumerable:!1,configurable:!0,value:function(e,t){var n=arguments;if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var o=Object(e),r=1;r<arguments.length;r++){var i=n[r];if(null!=i)for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(o[a]=i[a])}return o}});var e,t=(e=1e5,function(){var t=String(e);return e+=1,t});function n(){return void 0!==o?o:"undefined"!=typeof self?self:new Function("return this")()}function i(e,t,o){void 0===o&&(o=!0);var r=n();try{Object.defineProperty(r,e,{value:t,configurable:!0,enumerable:!0,writable:!o})}catch(o){r[e]=t}}function a(e){return Object.prototype.toString.call(e).slice(8,-1)}function c(e){return"Object"===a(e)}function s(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t]}var l=function(){},f={},d=["debug","info","log","warn","error"];function p(e){if("object"==(void 0===r?"undefined":u(r))&&r&&r.env,!0===f.debugMode||"true"===f.debugMode)return!0;var t=f.logLevel||"error";return d.indexOf(e)>=d.indexOf(t)}function v(e){p("debug")&&l("debug",e)}function h(e){p("warn")&&l("warn",e)}function y(e){p("error")&&l("error",e)}function m(e){y(e)}l=function(e,t){var n,o="["+((n=e).charAt(0).toUpperCase()+n.slice(1))+"][wml-r] "+t;return f.isWeex&&-1<["Android","iOS"].indexOf(f.platform)?console.log(o):console.error(o)};var g={network:["request","uploadFile","downloadFile"],miniApp:["setAppShareInfo","hideLauncherLoading","setWebViewTop","setWebViewBackgroundImage","getConfig"],mtop:["request"],storage:["length","setItem","getItem","removeItem","clearStorage","getStorageInfo",{name:"getItemSync",sync:!0},{name:"setItemSync",sync:!0},{name:"removeItemSync",sync:!0},{name:"clearStorageSync",sync:!0},{name:"getStorageInfoSync",sync:!0}],memoryStorage:["setItem","getItem"],tabBar:["show","hide","setTabBarItem","setTabBarStyle","setTabBarBadge","removeTabBarBadge","showTabBarRedDot","hideTabBarRedDot"],navigator:["push","pop","openMessagePage","reloadPage","getBackStack","popToHome","navigateTo","redirectTo","switchTab","navigateBackMiniProgram","navigateToMiniProgram"],user:["login","logout","info"],modal:["alert","confirm","toast","hideToast","showLoading","hideLoading","prompt"],navigatorBar:["show","hide","setTitle","setRightItem","setStyle","setDrawer","setActionSheet","hasIndexBadge","scaleIndexBadge","resetIndexBadge","getHeight","openDrawer","isDrawerOpened","closeDrawer","setLeftItem","showMenu","hideMenu","getStatusBarHeight","setNavigationBar","hideNavigationBarLoading","showNavigationBarLoading"],clipboard:["writeText","readText"],picker:["pick","pickDate","pickTime","chooseCity"],webSocket:["webSocket","send","close","onOpen","onMessage","onClose","onError"],calendar:["addEvent","checkEvent","removeEvent"],connection:["getType","getDownlinkMax","onChange"],screen:["setAlwaysOn","setBrightness","getScreenBrightness"],broadcast:["createChannel","postMessage","onMessage","close"],share:["doShare"],cookie:["read","write","getAllObjects"],audio:["load","play","pause","stop","setVolume","canPlayType"],wopc:["authLogin","checkAuthSession","doAuth","getSessionKey","setSessionKey"],WopcMtopPlugin:["request"],device:["onShake","vibrate","vibrateShort","onUserCaptureScreen","offUserCaptureScreen"],keyboard:["hideKeyboard"],contact:["choosePhoneContact"],location:["getLocation"],alipay:["tradePay"],userTrack:["commit","commitut","commitEvent","customAdvance","pageAppear","pageDisappear","skipPage","updatePageUtparam","updateNextPageUtparam"],"nuvajs-exec":["exec"],aluWVJSBridge:["userIsLogin","refreshAlipayCookie"],TBDeviceInfo:["getUtdid"],actionSheet:["showActionSheet"],image:["chooseImage","previewImage","compressImage","getImageInfo","saveImage"],media:["startVoice","stopVoice"],audioRecord:["startRecord","stopRecord","cancelRecord"],audioPlayer:["playVoice","pauseVoice","stopVoice"],file:["saveFile","getFileInfo","getFileList","removeFile"],video:["chooseVideo","getVideoInfo","saveVideoToPhotosAlbum"],phone:["makePhoneCall"],compass:["startCompass","stopCompass","onCompassChange"],tbsecurity:["secureToken"],sendMtop:["request"],ZCache:["prefetch","fetch"],WVZCache:["prefetch","fetch"],sku:["show","hide"],chat:["open"],ucc:["uccBind","uccTrustLogin","uccUnbind"],address:["choose"]},b="__windmill_post_message__",w="__windmill_on_message__",_=function(){};_.prototype.$on=function(e,t){return void 0===t&&(t=s),v('$on "'+e+'"'),!e&&m("invalid event name "+e+" for windmill.$on."),t===s&&m("bind event "+e+" with no callback through windmill.$on."),this.bridge.onReceiveMessage({data:{type:e},origin:this.label,type:"Event"},t)},_.prototype.$once=function(e,t){return void 0===t&&(t=s),v('$once "'+e+'"'),!e&&m("invalid event name "+e+" for windmill.$once."),t===s&&m("bind event "+e+" with no callback through windmill.$once."),this.bridge.onReceiveMessage({data:{type:e,once:!0},origin:this.label,type:"Event"},t)},_.prototype.$off=function(e,t){return v('$off "'+e+'"'),!e&&m("invalid event name "+e+" for windmill.$off."),this.bridge.unbindEventListener("Event."+e,t)},_.prototype.$cycle=function(e,t){return void 0===t&&(t=s),v('$cycle "'+e+'"'),e&&/^app:|^page(:|@)/.test(e)||m("invalid lifecycle name "+e+" for windmill.$cycle."),t===s&&m("hook lifecycle "+e+" with no callback function through windmill.$cycle."),"AppWorker"!==this.label&&/^app:/.test(e)&&m("Shouldn't bind lifecycle hook for app in a page client."),this.bridge.onReceiveMessage({type:"Lifecycle",origin:this.label,data:{type:e}},t)},_.prototype.$decycle=function(e,t){return v('$decycle "'+e+'"'),e&&/^app:|^page(:|@)/.test(e)||m("invalid lifecycle name "+e+" for windmill.$decycle."),this.bridge.unbindEventListener("Lifecycle."+e,t)},_.prototype.$emit=function(e,t,n){return void 0===t&&(t={}),v('$emit("'+e+'")'),!e&&m("invalid event name "+e+" for windmill.$emit."),n&&n!==this.label?this.bridge.postMessage({data:{type:e,data:t},origin:this.label,target:n,type:"Event"}):this.bridge.emitEvent(""+e,t)},_.prototype.$callAsync=function(e,t){var n=this;return void 0===t&&(t={}),v('$callAsync "'+e+'"'),e||m("invalid method name "+e+" for windmill.$callAsync."),new Promise(function(o,r){n.bridge.dispatchMessage({type:"ModuleCall",origin:n.label,target:"AppWorker",data:{method:e,params:t}},o,r,!1)})},_.prototype.$call=function(e,t,n,o){return void 0===t&&(t={}),void 0===n&&(n=s),void 0===o&&(o=s),v('$call "'+e+'", params: '+JSON.stringify(t)),e||m("invalid method name "+e+" for windmill.$call."),this.bridge.dispatchMessage({type:"ModuleCall",origin:this.label,target:"AppWorker",data:{method:e,params:t}},n,o,!0)},_.prototype.$registerModules=function(e){!function(e,t){if(void 0===t&&(t=!1),c(e)){var n=function(n){var o=e[n];g[n]?t||h('The "'+n+'" module has already been registered.It would be overridden.'):g[n]=[];var r=g[n];Array.isArray(o)?o.forEach(function(e){if(c(e))r.push(e);else if("string"==typeof e){var o=e;-1===r.indexOf(o)?r.push(o):t||h('The "'+o+'" of the "'+n+'" module has already been registered.')}}):y('Invalid parameter type! The method list of the "'+n+'" module should be an Array.')};for(var o in e)n(o)}else y("Invalid parameter type! The module definition is not a plain object.")}(e,!0)},_.prototype.$getAvailableModules=function(){return function(e){var t={};try{t=JSON.parse(JSON.stringify(e))}catch(e){}return t}(g)};var k="[[EVENT_MAP]]";function E(e,t){var n=e[k];return Array.isArray(n[t])||(n[t]=[]),n[t]}var S=function(){v("Create new EventEmitter."),Object.defineProperty(this,k,{configurable:!1,enumerable:!1,writable:!1,value:{}})};S.prototype.on=function(e,t){return v('EventEmitter: on("'+e+'")'),E(this,e).push({listener:t,once:!1,callCount:0}),this},S.prototype.once=function(e,t){return v('EventEmitter: once("'+e+'")'),E(this,e).push({listener:t,once:!0,callCount:0}),this},S.prototype.off=function(e,t){v('EventEmitter: off("'+e+'"'+(t?", listener":"")+")");var n=this[k];if(t){var o=n[e];if(Array.isArray(o)){var r=o.findIndex(function(e){return e.listener===t});-1!==r&&o.splice(r,1)}}else delete n[e];return this};var x,M=3;function O(e){var t;try{t=JSON.stringify(e)}catch(n){t=e}m("failed to postMessage: "+t)}function C(e,t,n,o,r,i){var a=t+"."+n;return e.WindVane?e.WindVane.call(t,n,o,r,i):m("should have WindVane in global context"+(a?" to call "+a:"")+".")}var T=!(S.prototype.emit=function(e){for(var t=[],n=arguments.length-1;0<n--;)t[n]=arguments[n+1];v('EventEmitter: emit("'+e+'", '+JSON.stringify(t)+")");var o=this[k],r=o[e];return Array.isArray(r)&&(o[e]=r.filter(function(n){try{n.listener.apply(null,t),n.callCount+=1}catch(t){throw y('Failed to emit the "'+e+'" event: '+t.toString()+"\nSource code: "+("function"==typeof(o=n.listener)?Function.prototype.toString.call(o):"")),t}var o;return!n.once})),this}),A=function(){this._messages=[]};A.prototype.postMessage=function(e){v("cache message in lazyMsgModule. "+JSON.stringify(e)),this._messages.push(e)},A.prototype.replaceWith=function(e){$=!1,this._messageModule=e,this._flush()},A.prototype._flush=function(){var e=this;this._messages.forEach(function(t){return e._messageModule.postMessage(t)})};var $,j,N=new A;function I(e,t){var r,a=e?(r=e).requireModule("@weex/windmill")||r.requireModule("windmill"):function(){var e=n();if("function"!=typeof e[b])return 0<M&&(M--,y("Can't find available \""+b+'" API in the context.')),!1;var t={};return t.postMessage=e[b],t.onmessage=function(e){v('Register the "'+w+'" API.'),i(w,e)},t}()||function(){if(!x){var e="undefined"!=typeof window?window:o;x={postMessage:function(t){return C(e,"Windmill","postMessage",t,function(){},O)},onmessage:function(t){if(!T)return T=!0,C(e,"Windmill","onMessage",{},t,O)}}}return x}();if(!a)return m("can't find message module ("+(e?"windmill module":"message module in webview")+")."),$=!0,N;if("function"==typeof t){v('Set the "onmessage" method to the bridge through callback.');try{a.onmessage(t)}catch(e){y('Failed to set the "onmessage" method to the bridge through callback.'),y(e.toString())}}return $&&N.replaceWith(a),a}function P(e){var t=e.match(/([^@]+)(@\S+)/);return t&&t[1]||e}var R=function(e,t){var n=this;void 0===t&&(t={}),v("Create a new RendererBridge."),j=t.isWeex,this._emitter=new S,v("Register onmessage api for "+(j?"Weex windmill module":"webview")+"."),j&&(this._weex=e),this._onMessage=function(e){if(v("Receive message from the worker. (message: "+JSON.stringify(e)+")"),!c(e)&&(y("The parameter of onmessage should be a plain object! Not "+a(e)),"string"==typeof e))try{e=JSON.parse(e)}catch(e){return void y("Failed to parse the message string. "+e.toString())}var t=e.type,o=e.data;void 0===o&&(o={});var r=e.origin,i=e.callbackId;switch(t){case"Callback":n._emitter.emit("callback@AppWorker:"+i,o);break;case"Event":var u=P(o.type);n._emitter.emit(t+"."+u,Object.assign({origin:r},o,{type:u}));break;case"Lifecycle":n._emitter.emit(t+"."+o.lifecycle,o.options);break;case"SetData":n._emitter.emit("Event.setdata",o);break;default:m('Unknown message type received from worker: "'+t+'"')}},I(e,this._onMessage)};R.prototype.dispatchMessage=function(e,t,n,o){v("Dispatch message to worker. (message: "+JSON.stringify(e)+")"),e.callbackId=this._genCallbackId(function(o){return o.status&&"SUCCESS"===o.status?t(o):(o.status,y("call API "+e.data.method+" from renderer failed: "+o.status+", "+o.error),n(o))},{keepAlive:o});try{e.keepAlive=!0,this.postMessage(e)}catch(o){n(o)}},R.prototype.postMessage=function(e){try{v("Call postMessage to worker. (message: "+JSON.stringify(e)+")"),I(this._weex,this._onMessage).postMessage(e)}catch(e){m(e.message||e.toString()||"postMessage failed.")}},R.prototype._genCallbackId=function(e,n){var o=n.keepAlive,r=n.callbackId||t();return this._emitter[o?"on":"once"]("callback@AppWorker:"+r,e),r},R.prototype.onReceiveMessage=function(e,t){var n=e.type,o=e.data;void 0===o&&(o={});var r=o.type;"Event"===n&&(r=P(r),o.type=r);var i=o.once?"once":"on";this._emitter[i](n+"."+r,t)},R.prototype.unbindEventListener=function(e,t){this._emitter.off(P(e),t)},R.prototype.emitEvent=function(e,t){void 0===t&&(t={});var n=P(e);this._emitter.emit("Event."+n,{type:n,data:t})};var L=function(e){function t(t,n){void 0===n&&(n={}),e.call(this),this._name=n.pageName||"",this.label=n.clientId||"",t&&c(t.config)&&(this._name=t.config.pageName||"",this.label=t.config.clientId||"",t.config.availableModules?(this.$registerModules(t.config.availableModules),this._gotAvailableModulesFromWeex=!0):h("No available modules in weex options.")),v("Create a new RendererRuntime. ("+this.label+", "+this._name+")"),this.bridge=new R(t,n),this._init()}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype._init=function(){var e=this;this.bridge.onReceiveMessage({origin:"AppWorker",target:this.label,type:"Event",data:{type:"registerModules"}},function(t){t&&"registerModules"===t.type&&(v("Register available modules in renderer. ("+Object.keys(t.data)+")"),e.$registerModules(t.data))})},t.prototype.ready=function(){this.bridge.dispatchMessage({origin:this.label,target:"AppWorker",type:"Event",data:{type:"[[RendererRuntimeReady]]",data:{label:this.label,handshake:!this._gotAvailableModulesFromWeex}}},s,s)},t.prototype.$getCurrentActivePageId=function(){return this.label},t}(_),D=["$on","$once","$off","$emit","$cycle","$decycle","$call","$callAsync","$navTo","$getAvailableModules","$getCurrentActivePageId"];return function(e,t){var n=!(!e||!e.requireModule);!function(e){if(!e||!e.platform)return console.error("set logger environment failed.");Object.assign(f,e)}({platform:n&&e.config.env.platform,debugMode:n&&e.config.env.debugMode,isWeex:n}),v("Setup Windmill renderer framework."),e&&!e.requireModule&&(t=e,e=void 0),t||(t={}),v("Instantiate renderer in "+(((t=Object.assign({},t)).isWeex=n)?"Weex container":"WindVane container")+".");var o,r,a,u,s,l=new L(e,t),d=(o=l,r={},D.forEach(function(e){"function"==typeof o[e]&&(r[e]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return o[e].apply(o,t)})}),r);return v("Prepare runtime APIs: "+JSON.stringify(D)),t.exposeModuleGetter&&i("__WINDMILL_MODULE_GETTER__",(a=function(){return d},u=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return(e=a()).$call.apply(e,t)},s=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return(e=a()).$callSync.apply(e,t)},function(e){if(!e)return v("Require a universal module proxy."),{call:u};var t=g[e];if(Array.isArray(t)){v('Require the "'+e+'" module.');var n={};return t.forEach(function(t){if("string"==typeof t)n[t]=function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];return u.apply(void 0,[e+"."+t].concat(n))};else if(c(t)&&t.name){var o=t.name;t.sync?n[o]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return s.apply(void 0,[e+"."+o].concat(t))}:n[o]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return u.apply(void 0,[e+"."+o].concat(t))}}}),n}h('Require unknown module "'+e+"\".It may not exist or haven't been registered.")})),l.ready(),d}},"object"==u(t)&&void 0!==e?e.exports=c():void 0===(a="function"==typeof(i=c)?i.call(t,n,t,e):i)||(e.exports=a)}).call(this,n(4),n(14))},4:function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o;o=function(){return this}();try{o=o||new Function("return this")()}catch(e){"object"===("undefined"==typeof window?"undefined":n(window))&&(o=window)}e.exports=o},40:function(e,t,n){var o,r;function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r=function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===i(e)&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=/-[a-z]/g,r={};function i(e){return r[e]||(r[e]=e.replace(o,function(e){return e.slice(1).toUpperCase()}))}},,,function(e,t,n){"use strict";function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}n.r(t);var r=function(){function e(){var t,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n="_map",o=new Map,n in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}var t,n,r;return t=e,(n=[{key:"_setMountNode",value:function(e){this.mountNode=e}},{key:"get",value:function(e){return e?"BODY"===e.nodeName?this.mountNode:this._map.get(e.$$id):null}},{key:"set",value:function(e,t){return t.$$id=e.$$id,this._map.set(e.$$id,t)}},{key:"delete",value:function(e){return e?this._map.delete(e.$$id):null}}])&&o(t.prototype,n),r&&o(t,r),e}(),a=!1;try{addEventListener("test",null,{get passive(){a=!0}})}catch(e){}function c(e){return(c="function"==typeof Symbol&&"symbol"===i(Symbol.iterator)?function(e){return i(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":i(e)})(e)}function u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var s=!a||{capture:!0,passive:!0},l={load:!0,error:!0,unload:!0,abort:!0,loadstart:!0,progress:!0,loadend:!0,blur:!0,focus:!0,scroll:!0,appear:!0,disappear:!0,invalid:!0},f=["touchstart","touchmove","touchend","touchcancel"],d=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.postMessage=t,this.registeredEventCounts={},this.mountNode=n.mountNode||document,this.touch=null}var t,n,o;return t=e,(n=[{key:"addEvent",value:function(e,t){l[t]?this.addNoBubblesEventListener(e,t):this.registeredEventCounts[t]?this.registeredEventCounts[t]++:(this.registeredEventCounts[t]=1,this.mountNode.addEventListener(t,this.eventProxyHandler.bind(this),s))}},{key:"removeEvent",value:function(e,t){l[t]?this.removeNoBubblesEventListener(e,t):(this.registeredEventCounts[t]--,0===this.registeredEventCounts[t]&&this.mountNode.removeEventListener(t,this.eventProxyHandler.bind(this)))}},{key:"addNoBubblesEventListener",value:function(e,t){var n=this;function o(o){var r={$$id:e.$$id};n.postMessage({type:"event",event:{type:t,target:r,currentTarget:r,detail:o.detail}})}e["__$".concat(t,"_listener__")]=o,e.addEventListener(t,o)}},{key:"removeNoBubblesEventListener",value:function(e,t){var n=e["__$".concat(t,"_listener__")];n&&(e.removeEventListener(t,n),e["__$".concat(t,"_listener__")]=null)}},{key:"eventProxyHandler",value:function(e){if("click"===e.type&&this.touch)return!1;var t={type:e.type};for(var n in e.target&&(t.target=e.target.$$id),"scroll"===e.type&&e.target===document&&(t.target=document.body.$$id,t.scrollTop=document.documentElement.scrollTop||document.body.scrollTop),e.detail&&(t.detail=e.detail),e){var o=e[n];"object"===c(o)||"function"==typeof o||n===n.toUpperCase()||t.hasOwnProperty(n)||(t[n]=o)}if(-1!==f.indexOf(e.type)&&(t.touches=v(e.touches),t.changedTouches=v(e.changedTouches)),this.postMessage({type:"event",event:t}),"touchstart"===e.type)this.touch=p(e);else if("touchend"===e.type&&this.touch){var r=p(e);if(r)Math.sqrt(Math.pow(r.pageX-this.touch.pageX,2)+Math.pow(r.pageY-this.touch.pageY,2))<10&&(t.type="click",this.postMessage({type:"event",event:t}))}}}])&&u(t.prototype,n),o&&u(t,o),e}();function p(e){var t=e.changedTouches&&e.changedTouches[0]||e.touches&&e.touches[0]||e;return t&&{pageX:t.pageX,pageY:t.pageY}}function v(e){for(var t=[],n=0,o=e.length;n<o;n++){var r=e[n],i=r.clientX,a=r.clientY,c=r.pageX,u=r.pageY,s=r.identifier,l=r.target;t.push({clientX:i,clientY:a,pageX:c,pageY:u,identifier:s,$$id:l.$$id})}return t}var h={audio:!0,button:!0,canvas:!0,checkbox:!0,"checkbox-group":!0,icon:!0,label:!0,picker:!0,"picker-view":!0,"picker-view-column":!0,radio:!0,slider:!0,text:!0,video:!0,image:!0,input:!0,map:!0,"radio-group":!0,swiper:!0,"swiper-item":!0,textarea:!0,view:!0,form:!0,navigator:!0,progress:!0,"scroll-view":!0,switch:!0,"web-view":!0,page:!0,animation:!0},y={style:!0};var m="a-";function g(e){var t=String(e).toLowerCase();return function(e){return y.hasOwnProperty(e)}(t)?t:function(e){return h.hasOwnProperty(e)}(t)?m+t:"a-unknown"}var b={flex:!0,alignItems:!0,alignSelf:!0,flexDirection:!0,justifyContent:!0,flexWrap:!0,lineClamp:!0,textSizeAdjust:!0,textDecorationLine:!0,textDecorationColor:!0,textDecorationStyle:!0,textDecorationSkip:!0,writingMode:!0,animatin:!0,animationName:!0,animationDuration:!0,animationTimingFunction:!0,animationDelay:!0,animationIterationCount:!0,animationDirection:!0,animationFillMode:!0,animationPlayState:!0,transform:!0,transformOrigin:!0,transformStyle:!0,perspective:!0,perspectiveOrigin:!0,backfaceVisibility:!0,appearance:!0,userSelect:!0,columns:!0,columnWidth:!0,columnCount:!0,columnGap:!0,columnRule:!0,columnRuleWidth:!0,columnRuleStyle:!0,columnRuleColor:!0,columnSpan:!0,columnFill:!0,columnBreakBefore:!0,columnBreakAfter:!0,columnBreakInside:!0},w={position:"sticky",display:"flex"},_={shouldPrefix:function(e){return b[e]||w[e]}};function k(e,t){var n={};for(var o in t){var r=t[o];_.shouldPrefix(o)?_[o](r,n):n[o]=r}for(var i in n){var a=n[i];if(Array.isArray(a))for(var c=0;c<a.length;c++)e.style[i]=a[c];else e.style[i]=a}}Object.keys(b).forEach(function(e){var t="webkit"+e[0].toUpperCase()+e.slice(1);_[e]=function(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o[t]=n,o[e]=n,o}}),Object.keys(w).forEach(function(e){var t=w[e];_[e]=function(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o[e]=n===t?["-webkit-"+t,t]:n,o}});var E=n(0),S={};function x(e){return(x="function"==typeof Symbol&&"symbol"===i(Symbol.iterator)?function(e){return i(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":i(e)})(e)}var M="style",O={slot:!0};function C(e,t,n){var o;(o=t,O.hasOwnProperty(o))||(t!==M?"object"===x(n)||"boolean"==typeof n?e[Object(E.a)(t)]=n:(t=function(e){if(S[e])return S[e];for(var t="",n=0,o=e.length;n<o;n++)/[a-z]/.test(e[n])?t+=e[n]:/[A-Z]/.test(e[n])?t+="-"+e[n].toLowerCase():"-"===e[n]&&(t+="-");return S[e]=t}(t),null==n?e.removeAttribute(t):e.setAttribute(t,n)):k(e,n))}function T(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var A="textContent"in document?"textContent":"nodeValue",$=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.eventHandler=new d(t,{mountNode:n}),this.mountNode=n||document.body,this.sharedNodeMap=new r,this.sharedNodeMap._setMountNode(this.mountNode)}var t,n,o;return t=e,(n=[{key:"apply",value:function(e){for(var t=e.mutations,n=0;n<t.length;n++){var o=t[n];this[o.type](o)}}},{key:"childList",value:function(e){var t=e.target,n=e.removedNodes,o=e.addedNodes,r=e.nextSibling,i=this.sharedNodeMap,a=t;a&&"BODY"===a.nodeName&&(this.mountNode.$$id=a.$$id);var c=i.get(a);if(n)for(var u=n.length;u--;){var s=i.get(n[u]);i.delete(s),c&&s&&c.removeChild(s)}if(o)for(var l=0;l<o.length;l++){var f=i.get(o[l]);f||(f=this.createNode(o[l])),c&&c.insertBefore(f,r&&i.get(r)||null)}}},{key:"createNode",value:function(e){var t=function(e){var t,n;return 3===e.nodeType?t=document.createTextNode(e.data):1===e.nodeType&&(n=g(e.nodeName))?t=document.createElement(n):8===e.nodeType&&(t=document.createComment(e.data)),t}(e);if(1===e.nodeType&&g(e.nodeName)){if(e.className&&(t.className=e.className),e.style&&k(t,e.style),e.attributes)for(var n=0;n<e.attributes.length;n++){var o=e.attributes[n];C(t,o.name,o.value)}if(e.childNodes)for(var r=0;r<e.childNodes.length;r++)t.appendChild(this.createNode(e.childNodes[r]));if(e.events)for(var i=0;i<e.events.length;i++)this.eventHandler.addEvent(t,e.events[i])}return this.sharedNodeMap.set(e,t),t}},{key:"attributes",value:function(e){var t=e.target,n=e.attributeName,o=e.newValue,r=e.style,i=this.sharedNodeMap.get(t);i&&(r&&C(i,"style",r),n&&C(i,n,o))}},{key:"characterData",value:function(e){var t=e.target,n=e.newValue;this.sharedNodeMap.get(t)[A]=n}},{key:"addEvent",value:function(e){var t=e.target,n=e.eventName,o=this.sharedNodeMap.get(t);o&&this.eventHandler.addEvent(o,n)}},{key:"removeEvent",value:function(e){var t=e.target,n=e.eventName,o=this.sharedNodeMap.get(t);o&&this.eventHandler.removeEvent(o,n)}},{key:"canvasRenderingContext2D",value:function(e){var t=e.target,n=e.method,o=e.args,r=e.properties,i=this.sharedNodeMap.get(t);if(i){var a=i.getContext("2d");if(r)for(var c in r)r.hasOwnProperty(c)&&(a[c]=r[c]);n&&a[n].apply(a,o)}}}])&&T(t.prototype,n),o&&T(t,o),e}();function j(e){return(j="function"==typeof Symbol&&"symbol"===i(Symbol.iterator)?function(e){return i(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":i(e)})(e)}function N(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var I=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sender=t}var t,n,o;return t=e,(n=[{key:"apply",value:function(e){var t=e.data;this[t.type](t)}},{key:"returnSuccess",value:function(e,t){if("object"===j(t))try{t=JSON.parse(JSON.stringify(t))}catch(e){t=t.toString()}"function"==typeof t&&(t=t.toString()),this.send({type:"success",id:e,success:t})}},{key:"returnError",value:function(e,t){var n=t.name,o=t.message;this.send({type:"error",id:e,error:{name:n,message:o}})}},{key:"send",value:function(e){this.sender({type:"return",return:e})}},{key:"eval",value:function(e){var t=e.id,n=e.code;try{this.returnSuccess(t,window.eval(n))}catch(e){this.returnError(t,e)}}}])&&N(t.prototype,n),o&&N(t,o),e}();function P(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var R=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sender=t}var t,n,o;return t=e,(n=[{key:"apply",value:function(e){var t=e.data,n=t.type,o=t.prop;"call"===n&&"replace"===o&&location.replace(t.args[0])}}])&&P(t.prototype,n),o&&P(t,o),e}();t.default=function(e){var t=e.worker,n=e.mountNode,o=t.postMessage.bind(t),r={MutationRecord:new $(o,n),EvaluationRecord:new I(o),Location:new R(o)};t.onmessage=function(e){var t=e.data,n=t.type;r[n]?r[n].apply(t):console.error("Can not handle with "+n,t)},t.postMessage({type:"init",url:location.href,width:"undefined"!=typeof DEVICE_WIDTH?DEVICE_WIDTH:document.documentElement.clientWidth})}}])},"object"===i(t)&&void 0!==e?e.exports=r():void 0===(o=function(e,t,n){n.exports=r()}.call(t,n,t,e))||(e.exports=o)},5:function(e,t,n){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e){return(r="function"==typeof Symbol&&"symbol"===o(Symbol.iterator)?function(e){return o(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":o(e)})(e)}function i(){}var a="function"==typeof setImmediate&&setImmediate||function(e){"function"==typeof setTimeout?setTimeout(e,0):e()},c=function(e){"undefined"!=typeof console&&console&&console.log("Possible Unhandled Promise Rejection:",e)};function u(e){if("object"!==r(this))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("Promise resolver is not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],v(e,this)}function s(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,a(function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var o;try{o=n(e._value)}catch(e){return void f(t.promise,e)}l(t.promise,o)}else(1===e._state?l:f)(t.promise,e._value)})):e._deferreds.push(t)}function l(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===r(t)||"function"==typeof t)){var n=t.then;if(t instanceof u)return e._state=3,e._value=t,void d(e);if("function"==typeof n)return void v((o=n,i=t,function(){o.apply(i,arguments)}),e)}e._state=1,e._value=t,d(e)}catch(t){f(e,t)}var o,i}function f(e,t){e._state=2,e._value=t,d(e)}function d(e){2===e._state&&0===e._deferreds.length&&a(function(){e._handled||c(e._value)});for(var t=0,n=e._deferreds.length;t<n;t++)s(e,e._deferreds[t]);e._deferreds=null}function p(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function v(e,t){var n=!1;try{e(function(e){n||(n=!0,l(t,e))},function(e){n||(n=!0,f(t,e))})}catch(e){if(n)return;n=!0,f(t,e)}}u.prototype.catch=function(e){return this.then(null,e)},u.prototype.then=function(e,t){var n=new this.constructor(i);return s(this,new p(e,t,n)),n},u.all=function(e){var t=Array.prototype.slice.call(e);return new u(function(e,n){if(0===t.length)return e([]);var o=t.length;function i(a,c){try{if(c&&("object"===r(c)||"function"==typeof c)){var u=c.then;if("function"==typeof u)return void u.call(c,function(e){i(a,e)},n)}t[a]=c,0==--o&&e(t)}catch(e){n(e)}}for(var a=0;a<t.length;a++)i(a,t[a])})},u.resolve=function(e){return e&&"object"===r(e)&&e.constructor===u?e:new u(function(t){t(e)})},u.reject=function(e){return new u(function(t,n){n(e)})},u.race=function(e){return new u(function(t,n){for(var o=0,r=e.length;o<r;o++)e[o].then(t,n)})},u._setImmediateFn=function(e){a=e},u._setUnhandledRejectionFn=function(e){c=e},e.exports=u},8:function(e,t,n){"use strict";t.decode=t.parse=n(16),t.encode=t.stringify=n(17)},9:function(module,__webpack_exports__,__webpack_require__){"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function retrocycle($){var px=/^\$(?:\[(?:\d+|"(?:[^\\"\u0000-\u001f]|\\(?:[\\"\/bfnrt]|u[0-9a-zA-Z]{4}))*")\])*$/;return function rez(value){value&&"object"===_typeof(value)&&(Array.isArray(value)?value.forEach(function(element,i){if("object"===_typeof(element)&&null!==element){var path=element.$ref;"string"==typeof path&&px.test(path)?value[i]=eval(path):rez(element)}}):Object.keys(value).forEach(function(name){var item=value[name];if("object"===_typeof(item)&&null!==item){var path=item.$ref;"string"==typeof path&&px.test(path)?value[name]=eval(path):rez(item)}}))}($),$}__webpack_require__.d(__webpack_exports__,"a",function(){return retrocycle})}});
{
"name": "miniapp-framework",
"version": "0.0.82",
"version": "0.0.83",
"description": "",

@@ -21,3 +21,3 @@ "files": [

"dependencies": {
"@ali/ide-modules": "0.0.16",
"@ali/ide-modules": "0.0.20",
"@ali/miniapp-error-page": "^0.0.5",

@@ -24,0 +24,0 @@ "@ali/universal-dtracker": "0.0.28",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc