!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.app=t():e.app=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var 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},a=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"buyPage";this.gotoNative("homePage",e)}},{key:"setTitle",value:function(e){this.putData("title",e)}},{key:"share",value:function(e){this.doAction("share",e)}},{key:"init",value:function(){var e=this;this.bridge=window.HnJsBridge,this.isAndroidApp?setTimeout(function(){e.setTitle({show:0})},200):this.isIosApp&&setInterval(function(){e.setTitle({show:0})},200),["hnUserId","hnUserTicket","appChannel","deviceId","location","sysVersion","osType","appVersion","sessionId"].forEach(function(t){e.settings[t]=e.getData(t)})}}]),t}(f.default);["getData","putData","doAction","gotoNative","doAsyncAction"].forEach(function(e){c.prototype[e]=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n="object"===(void 0===n?"undefined":u(n))?JSON.stringify(n):String(n),this.bridge&&this.bridge[e].call(this.bridge,t,n)}}),e.exports=c},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n