"use weex:vue";

if (typeof Promise !== 'undefined' && !Promise.prototype.finally) {
  Promise.prototype.finally = function(callback) {
    const promise = this.constructor
    return this.then(
      value => promise.resolve(callback()).then(() => value),
      reason => promise.resolve(callback()).then(() => {
        throw reason
      })
    )
  }
};

if (typeof uni !== 'undefined' && uni && uni.requireGlobal) {
  const global = uni.requireGlobal()
  ArrayBuffer = global.ArrayBuffer
  Int8Array = global.Int8Array
  Uint8Array = global.Uint8Array
  Uint8ClampedArray = global.Uint8ClampedArray
  Int16Array = global.Int16Array
  Uint16Array = global.Uint16Array
  Int32Array = global.Int32Array
  Uint32Array = global.Uint32Array
  Float32Array = global.Float32Array
  Float64Array = global.Float64Array
  BigInt64Array = global.BigInt64Array
  BigUint64Array = global.BigUint64Array
};


(()=>{var u=Object.create;var c=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames;var v=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty;var g=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var y=(e,t,r,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of w(t))!f.call(e,o)&&o!==r&&c(e,o,{get:()=>t[o],enumerable:!(s=b(t,o))||s.enumerable});return e};var x=(e,t,r)=>(r=e!=null?u(v(e)):{},y(t||!e||!e.__esModule?c(r,"default",{value:e,enumerable:!0}):r,e));var n=g((k,i)=>{i.exports=Vue});var l=x(n());var _=(e,t)=>{let r=e.__vccOpts||e;for(let[s,o]of t)r[s]=o;return r};var d={bigbox:{"":{flex:1}},box:{"":{flex:1}}},m={data(){return{webviewStyles:{progress:{color:"#FF3333"}},theUrl:""}},onLoad(e){this.theUrl=decodeURIComponent(e.page),e.pageTitle&&uni.setNavigationBarTitle({title:e.pageTitle})},methods:{}};function h(e,t,r,s,o,S){return(0,l.openBlock)(),(0,l.createElementBlock)("scroll-view",{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:"true",style:{flexDirection:"column"}},[(0,l.createElementVNode)("view",{class:"bigbox"},[(0,l.createElementVNode)("u-web-view",{class:"box",updateTitle:"true",webviewStyles:o.webviewStyles,src:o.theUrl},null,8,["webviewStyles","src"])])])}var a=_(m,[["render",h],["styles",[d]]]);var p=plus.webview.currentWebview();if(p){let e=parseInt(p.id),t="pages/webview/index",r={};try{r=JSON.parse(p.__query__)}catch(o){}a.mpType="page";let s=Vue.createPageApp(a,{$store:getApp({allowDefault:!0}).$store,__pageId:e,__pagePath:t,__pageQuery:r});s.provide("__globalStyles",Vue.useCssStyles([...__uniConfig.styles,...a.styles||[]])),s.mount("#root")}})();
