UNPKG

@mucfe/matui

Version:

基于Vue和ElementUi的PC组件库

1 lines 27.1 kB
module.exports=function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t["default"]}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="/",e(e.s="7c72")}({"01f9":function(t,n,e){"use strict";var r=e("2d00"),o=e("5ca1"),i=e("2aba"),c=e("32e9"),a=e("84f2"),u=e("41a0"),s=e("7f20"),f=e("38fd"),l=e("2b4c")("iterator"),p=!([].keys&&"next"in[].keys()),d="@@iterator",v="keys",h="values",b=function(){return this};t.exports=function(t,n,e,m,y,g,_){u(e,n,m);var x,w,j,C=function(t){if(!p&&t in S)return S[t];switch(t){case v:return function(){return new e(this,t)};case h:return function(){return new e(this,t)}}return function(){return new e(this,t)}},O=n+" Iterator",M=y==h,k=!1,S=t.prototype,P=S[l]||S[d]||y&&S[y],E=P||C(y),T=y?M?C("entries"):E:void 0,D="Array"==n&&S.entries||P;if(D&&(j=f(D.call(new t)),j!==Object.prototype&&j.next&&(s(j,O,!0),r||"function"==typeof j[l]||c(j,l,b))),M&&P&&P.name!==h&&(k=!0,E=function(){return P.call(this)}),r&&!_||!p&&!k&&S[l]||c(S,l,E),a[n]=E,a[O]=b,y)if(x={values:M?E:C(h),keys:g?E:C(v),entries:T},_)for(w in x)w in S||i(S,w,x[w]);else o(o.P+o.F*(p||k),n,x);return x}},"0824":function(t,n){t.exports=require("@mucfe/matui/lib/message")},"097d":function(t,n,e){"use strict";var r=e("5ca1"),o=e("8378"),i=e("7726"),c=e("ebd6"),a=e("bcaa");r(r.P+r.R,"Promise",{finally:function(t){var n=c(this,o.Promise||i.Promise),e="function"==typeof t;return this.then(e?function(e){return a(n,t()).then((function(){return e}))}:t,e?function(e){return a(n,t()).then((function(){throw e}))}:t)}})},"0d58":function(t,n,e){var r=e("ce10"),o=e("e11e");t.exports=Object.keys||function(t){return r(t,o)}},1495:function(t,n,e){var r=e("86cc"),o=e("cb7c"),i=e("0d58");t.exports=e("9e1e")?Object.defineProperties:function(t,n){o(t);var e,c=i(n),a=c.length,u=0;while(a>u)r.f(t,e=c[u++],n[e]);return t}},1750:function(t,n){t.exports=require("core-js/modules/es6.symbol")},1991:function(t,n,e){var r,o,i,c=e("9b43"),a=e("31f4"),u=e("fab2"),s=e("230e"),f=e("7726"),l=f.process,p=f.setImmediate,d=f.clearImmediate,v=f.MessageChannel,h=f.Dispatch,b=0,m={},y="onreadystatechange",g=function(){var t=+this;if(m.hasOwnProperty(t)){var n=m[t];delete m[t],n()}},_=function(t){g.call(t.data)};p&&d||(p=function(t){var n=[],e=1;while(arguments.length>e)n.push(arguments[e++]);return m[++b]=function(){a("function"==typeof t?t:Function(t),n)},r(b),b},d=function(t){delete m[t]},"process"==e("2d95")(l)?r=function(t){l.nextTick(c(g,t,1))}:h&&h.now?r=function(t){h.now(c(g,t,1))}:v?(o=new v,i=o.port2,o.port1.onmessage=_,r=c(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",_,!1)):r=y in s("script")?function(t){u.appendChild(s("script"))[y]=function(){u.removeChild(this),g.call(t)}}:function(t){setTimeout(c(g,t,1),0)}),t.exports={set:p,clear:d}},"1fa8":function(t,n,e){var r=e("cb7c");t.exports=function(t,n,e,o){try{return o?n(r(e)[0],e[1]):n(e)}catch(c){var i=t["return"];throw void 0!==i&&r(i.call(t)),c}}},"230e":function(t,n,e){var r=e("d3f4"),o=e("7726").document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},"23c6":function(t,n,e){var r=e("2d95"),o=e("2b4c")("toStringTag"),i="Arguments"==r(function(){return arguments}()),c=function(t,n){try{return t[n]}catch(e){}};t.exports=function(t){var n,e,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=c(n=Object(t),o))?e:i?r(n):"Object"==(a=r(n))&&"function"==typeof n.callee?"Arguments":a}},2579:function(t,n){t.exports=require("core-js/modules/es6.string.iterator")},"25fc":function(t,n){t.exports=require("core-js/modules/es6.function.name")},2621:function(t,n){n.f=Object.getOwnPropertySymbols},"27ee":function(t,n,e){var r=e("23c6"),o=e("2b4c")("iterator"),i=e("84f2");t.exports=e("8378").getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},2877:function(t,n,e){"use strict";function r(t,n,e,r,o,i,c,a){var u,s="function"===typeof t?t.options:t;if(n&&(s.render=n,s.staticRenderFns=e,s._compiled=!0),r&&(s.functional=!0),i&&(s._scopeId="data-v-"+i),c?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(c)},s._ssrRegister=u):o&&(u=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),u)if(s.functional){s._injectStyles=u;var f=s.render;s.render=function(t,n){return u.call(n),f(t,n)}}else{var l=s.beforeCreate;s.beforeCreate=l?[].concat(l,u):[u]}return{exports:t,options:s}}e.d(n,"a",(function(){return r}))},"2aba":function(t,n,e){var r=e("7726"),o=e("32e9"),i=e("69a8"),c=e("ca5a")("src"),a=e("fa5b"),u="toString",s=(""+a).split(u);e("8378").inspectSource=function(t){return a.call(t)},(t.exports=function(t,n,e,a){var u="function"==typeof e;u&&(i(e,"name")||o(e,"name",n)),t[n]!==e&&(u&&(i(e,c)||o(e,c,t[n]?""+t[n]:s.join(String(n)))),t===r?t[n]=e:a?t[n]?t[n]=e:o(t,n,e):(delete t[n],o(t,n,e)))})(Function.prototype,u,(function(){return"function"==typeof this&&this[c]||a.call(this)}))},"2aeb":function(t,n,e){var r=e("cb7c"),o=e("1495"),i=e("e11e"),c=e("613b")("IE_PROTO"),a=function(){},u="prototype",s=function(){var t,n=e("230e")("iframe"),r=i.length,o="<",c=">";n.style.display="none",e("fab2").appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write(o+"script"+c+"document.F=Object"+o+"/script"+c),t.close(),s=t.F;while(r--)delete s[u][i[r]];return s()};t.exports=Object.create||function(t,n){var e;return null!==t?(a[u]=r(t),e=new a,a[u]=null,e[c]=t):e=s(),void 0===n?e:o(e,n)}},"2b4c":function(t,n,e){var r=e("5537")("wks"),o=e("ca5a"),i=e("7726").Symbol,c="function"==typeof i,a=t.exports=function(t){return r[t]||(r[t]=c&&i[t]||(c?i:o)("Symbol."+t))};a.store=r},"2d00":function(t,n){t.exports=!1},"2d95":function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},"31f4":function(t,n){t.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},"32e9":function(t,n,e){var r=e("86cc"),o=e("4630");t.exports=e("9e1e")?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},"33a4":function(t,n,e){var r=e("84f2"),o=e("2b4c")("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},"36e7":function(t,n){t.exports=require("@mucfe/matui/lib/gold-module")},"38fd":function(t,n,e){var r=e("69a8"),o=e("4bf8"),i=e("613b")("IE_PROTO"),c=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},"41a0":function(t,n,e){"use strict";var r=e("2aeb"),o=e("4630"),i=e("7f20"),c={};e("32e9")(c,e("2b4c")("iterator"),(function(){return this})),t.exports=function(t,n,e){t.prototype=r(c,{next:o(1,e)}),i(t,n+" Iterator")}},4588:function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},4630:function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},4685:function(t,n){t.exports=require("core-js/modules/es7.symbol.async-iterator")},"4a59":function(t,n,e){var r=e("9b43"),o=e("1fa8"),i=e("33a4"),c=e("cb7c"),a=e("9def"),u=e("27ee"),s={},f={};n=t.exports=function(t,n,e,l,p){var d,v,h,b,m=p?function(){return t}:u(t),y=r(e,l,n?2:1),g=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(d=a(t.length);d>g;g++)if(b=n?y(c(v=t[g])[0],v[1]):y(t[g]),b===s||b===f)return b}else for(h=m.call(t);!(v=h.next()).done;)if(b=o(h,y,v.value,n),b===s||b===f)return b};n.BREAK=s,n.RETURN=f},"4bf8":function(t,n,e){var r=e("be13");t.exports=function(t){return Object(r(t))}},"52a7":function(t,n){n.f={}.propertyIsEnumerable},"551c":function(t,n,e){"use strict";var r,o,i,c,a=e("2d00"),u=e("7726"),s=e("9b43"),f=e("23c6"),l=e("5ca1"),p=e("d3f4"),d=e("d8e8"),v=e("f605"),h=e("4a59"),b=e("ebd6"),m=e("1991").set,y=e("8079")(),g=e("a5b8"),_=e("9c80"),x=e("a25f"),w=e("bcaa"),j="Promise",C=u.TypeError,O=u.process,M=O&&O.versions,k=M&&M.v8||"",S=u[j],P="process"==f(O),E=function(){},T=o=g.f,D=!!function(){try{var t=S.resolve(1),n=(t.constructor={})[e("2b4c")("species")]=function(t){t(E,E)};return(P||"function"==typeof PromiseRejectionEvent)&&t.then(E)instanceof n&&0!==k.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(r){}}(),I=function(t){var n;return!(!p(t)||"function"!=typeof(n=t.then))&&n},A=function(t,n){if(!t._n){t._n=!0;var e=t._c;y((function(){var r=t._v,o=1==t._s,i=0,c=function(n){var e,i,c,a=o?n.ok:n.fail,u=n.resolve,s=n.reject,f=n.domain;try{a?(o||(2==t._h&&$(t),t._h=1),!0===a?e=r:(f&&f.enter(),e=a(r),f&&(f.exit(),c=!0)),e===n.promise?s(C("Promise-chain cycle")):(i=I(e))?i.call(e,u,s):u(e)):s(r)}catch(l){f&&!c&&f.exit(),s(l)}};while(e.length>i)c(e[i++]);t._c=[],t._n=!1,n&&!t._h&&F(t)}))}},F=function(t){m.call(u,(function(){var n,e,r,o=t._v,i=R(t);if(i&&(n=_((function(){P?O.emit("unhandledRejection",o,t):(e=u.onunhandledrejection)?e({promise:t,reason:o}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",o)})),t._h=P||R(t)?2:1),t._a=void 0,i&&n.e)throw n.v}))},R=function(t){return 1!==t._h&&0===(t._a||t._c).length},$=function(t){m.call(u,(function(){var n;P?O.emit("rejectionHandled",t):(n=u.onrejectionhandled)&&n({promise:t,reason:t._v})}))},q=function(t){var n=this;n._d||(n._d=!0,n=n._w||n,n._v=t,n._s=2,n._a||(n._a=n._c.slice()),A(n,!0))},B=function(t){var n,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw C("Promise can't be resolved itself");(n=I(t))?y((function(){var r={_w:e,_d:!1};try{n.call(t,s(B,r,1),s(q,r,1))}catch(o){q.call(r,o)}})):(e._v=t,e._s=1,A(e,!1))}catch(r){q.call({_w:e,_d:!1},r)}}};D||(S=function(t){v(this,S,j,"_h"),d(t),r.call(this);try{t(s(B,this,1),s(q,this,1))}catch(n){q.call(this,n)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=e("dcbc")(S.prototype,{then:function(t,n){var e=T(b(this,S));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=P?O.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&A(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=s(B,t,1),this.reject=s(q,t,1)},g.f=T=function(t){return t===S||t===c?new i(t):o(t)}),l(l.G+l.W+l.F*!D,{Promise:S}),e("7f20")(S,j),e("7a56")(j),c=e("8378")[j],l(l.S+l.F*!D,j,{reject:function(t){var n=T(this),e=n.reject;return e(t),n.promise}}),l(l.S+l.F*(a||!D),j,{resolve:function(t){return w(a&&this===c?S:this,t)}}),l(l.S+l.F*!(D&&e("5cc5")((function(t){S.all(t)["catch"](E)}))),j,{all:function(t){var n=this,e=T(n),r=e.resolve,o=e.reject,i=_((function(){var e=[],i=0,c=1;h(t,!1,(function(t){var a=i++,u=!1;e.push(void 0),c++,n.resolve(t).then((function(t){u||(u=!0,e[a]=t,--c||r(e))}),o)})),--c||r(e)}));return i.e&&o(i.v),e.promise},race:function(t){var n=this,e=T(n),r=e.reject,o=_((function(){h(t,!1,(function(t){n.resolve(t).then(e.resolve,r)}))}));return o.e&&r(o.v),e.promise}})},5537:function(t,n,e){var r=e("8378"),o=e("7726"),i="__core-js_shared__",c=o[i]||(o[i]={});(t.exports=function(t,n){return c[t]||(c[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(t,n,e){var r=e("7726"),o=e("8378"),i=e("32e9"),c=e("2aba"),a=e("9b43"),u="prototype",s=function(t,n,e){var f,l,p,d,v=t&s.F,h=t&s.G,b=t&s.S,m=t&s.P,y=t&s.B,g=h?r:b?r[n]||(r[n]={}):(r[n]||{})[u],_=h?o:o[n]||(o[n]={}),x=_[u]||(_[u]={});for(f in h&&(e=n),e)l=!v&&g&&void 0!==g[f],p=(l?g:e)[f],d=y&&l?a(p,r):m&&"function"==typeof p?a(Function.call,p):p,g&&c(g,f,p,t&s.U),_[f]!=p&&i(_,f,d),m&&x[f]!=p&&(x[f]=p)};r.core=o,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},"5cc5":function(t,n,e){var r=e("2b4c")("iterator"),o=!1;try{var i=[7][r]();i["return"]=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(c){}t.exports=function(t,n){if(!n&&!o)return!1;var e=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:e=!0}},i[r]=function(){return a},t(i)}catch(c){}return e}},"613b":function(t,n,e){var r=e("5537")("keys"),o=e("ca5a");t.exports=function(t){return r[t]||(r[t]=o(t))}},"626a":function(t,n,e){var r=e("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},6619:function(t,n){t.exports=require("core-js/modules/es6.regexp.to-string")},6821:function(t,n,e){var r=e("626a"),o=e("be13");t.exports=function(t){return r(o(t))}},"69a8":function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},"6a99":function(t,n,e){var r=e("d3f4");t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},7333:function(t,n,e){"use strict";var r=e("0d58"),o=e("2621"),i=e("52a7"),c=e("4bf8"),a=e("626a"),u=Object.assign;t.exports=!u||e("79e5")((function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach((function(t){n[t]=t})),7!=u({},t)[e]||Object.keys(u({},n)).join("")!=r}))?function(t,n){var e=c(t),u=arguments.length,s=1,f=o.f,l=i.f;while(u>s){var p,d=a(arguments[s++]),v=f?r(d).concat(f(d)):r(d),h=v.length,b=0;while(h>b)l.call(d,p=v[b++])&&(e[p]=d[p])}return e}:u},7726:function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},"77f1":function(t,n,e){var r=e("4588"),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},"78b9":function(t,n){t.exports=require("@mucfe/matui/lib/dialog")},"79e5":function(t,n){t.exports=function(t){try{return!!t()}catch(n){return!0}}},"7a56":function(t,n,e){"use strict";var r=e("7726"),o=e("86cc"),i=e("9e1e"),c=e("2b4c")("species");t.exports=function(t){var n=r[t];i&&n&&!n[c]&&o.f(n,c,{configurable:!0,get:function(){return this}})}},"7c72":function(t,n,e){"use strict";e.r(n);e("25fc"),e("cadf"),e("551c"),e("f751"),e("097d");var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("section",{staticClass:"mat-gold-compute"},[e("MatDialog",{attrs:{top:"5vh",width:"1140px",beforeClose:t.cancel,visible:t.visible},on:{"update:visible":function(n){t.visible=n}}},[e("div",{staticClass:"mat-gold-compute__header",attrs:{slot:"title"},slot:"title"},[e("h3",[t._v(t._s(t.title))])]),t._t("header"),t.viewData?e("section",[t.viewData.applicant?e("MatGoldModule",{attrs:{moduleData:t.viewData.applicant,brandColor:t.brandColor,btnColor:t.btnColor},on:{inputfocus:t.onInputFocus,inputblur:t.onInputBlur,tipsclick:t.tipsClick,contactclick:t.contactClick,verifycodeclick:t.verifyCodeClick,change:t.changeValues,changemodule:t.changeModule,error:t.onError}}):t._e(),t.viewData.insureds?e("MatGoldModule",{attrs:{moduleData:t.viewData.insureds,name:"被保人",brandColor:t.brandColor,btnColor:t.btnColor},on:{inputfocus:t.onInputFocus,inputblur:t.onInputBlur,tipsclick:t.tipsClick,contactclick:t.contactClick,verifycodeclick:t.verifyCodeClick,change:t.changeValues,changemodule:t.changeModule,error:t.onError}}):t._e(),t.viewData.plan?e("MatGoldModule",{attrs:{moduleData:t.viewData.plan,brandColor:t.brandColor,btnColor:t.btnColor},on:{inputfocus:t.onInputFocus,inputblur:t.onInputBlur,tipsclick:t.tipsClick,verifycodeclick:t.verifyCodeClick,change:t.changeValues,changemodule:t.changeModule,error:t.onError}}):t._e()],1):t._e(),e("div",{staticClass:"mat-gold-compute__footer",attrs:{slot:"footer"},slot:"footer"},[e("div",{staticClass:"mat-gold-compute__box"},[e("a",{staticClass:"mat-gold-compute__cancel",attrs:{href:"javascript:;"},on:{click:t.cancel}},[t._v("\n 取消选择\n ")]),e("div",{staticClass:"mat-gold-compute__aggre"},[e("div",{staticClass:"mat-gold-compute__price"},[t._v("\n 保费:"),e("span",[t._v(t._s(t.priceInfo&&t.priceInfo.totalPrice?"¥"+t.priceInfo.priceText:""))])]),t.planMigration["plan.tips"]?e("div",{staticClass:"mat-gold-compute__tips"},[t._v("\n "+t._s(t.planMigration["plan.tips"])+"\n ")]):t._e()])]),e("MatButton",{staticClass:"mat-gold-compute__button",attrs:{type:"danger",loading:t.loading},on:{click:function(n){return n.stopPropagation(),t.submit(n)}}},[t._v("\n 确认\n ")])],1)],2)],1)},o=[],i=(e("4685"),e("1750"),e("2579"),e("d624"),e("6619"),e("78b9")),c=e.n(i),a=e("f071"),u=e.n(a),s=e("36e7"),f=e.n(s),l=e("0824"),p=e.n(l),d=e("cf34"),v=e.n(d),h=e("e0d3");function b(t,n){var e="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=m(t))||n&&t&&"number"===typeof t.length){e&&(t=e);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,a=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return c=t.done,t},e:function(t){a=!0,i=t},f:function(){try{c||null==e.return||e.return()}finally{if(a)throw i}}}}function m(t,n){if(t){if("string"===typeof t)return y(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?y(t,n):void 0}}function y(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}var g={name:"MatGoldCompute",components:{MatDialog:c.a,MatButton:u.a,MatGoldModule:f.a},data:function(){return{priceInfo:null,renderData:null,viewData:null,aurora:null,planMigration:{},loading:!1}},props:{visible:{type:Boolean,default:!1},data:{type:Object,default:function(){return{}}},pageName:{type:String,default:""},isCache:{type:Boolean,default:!0},transType:{type:Boolean,default:!0},title:{type:String,default:""},brandColor:{type:String,default:""},btnColor:{type:String,default:""},appId:{type:String,default:""}},methods:{init:function(){var t=this;if(this.data){if("undefined"===window||!window.Aurora)throw new Error("[MatGoldCompute] 该组件依赖Aurora,请引入Aurora后再使用");this.viewData=null,this.aurora=new window.Aurora,this.aurora.init({sourceData:Object(h["deepCopy"])(this.data),pageName:this.pageName,isCache:this.isCache,transType:this.transType,nextTick:this.$nextTick===window.setTimeout?null:window.setTimeout.bind(window),render:function(n){var e=n.priceInfo;e&&(t.priceInfo=e),t.setViewData(t.aurora.getRenderData())}})}},changeValues:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;this.aurora&&this.aurora.changeValues({changeData:t,scene:n})},changeModule:function(t){this.aurora&&this.aurora.changeModules(t)},tipsClick:function(t){var n=t.title,e=void 0===n?"":n,r=t.text;v.a.alert(r,e,{closeOnClickModal:!0,closeOnPressEscape:!0,dangerouslyUseHTMLString:!0})},onInputFocus:function(t){this.$emit("inputfocus",t)},onInputBlur:function(t){this.$emit("inputblur",t)},contactClick:function(t){t.event,t.site,t.scene},verifyCodeClick:function(t){this.$emit("verifycodeclick",t)},onError:function(t){var n=t.errmsg;p()({showClose:!0,message:n,type:"error"})},planFilter:function(t){var n={};if(t&&t._elements){var e,r=b(t._elements);try{for(r.s();!(e=r.n()).done;){var o=e.value;!o.display||"plan.account"!==o.key&&"plan.tips"!==o.key||(n[o.key]=o.defaultValue,o.migration=1)}}catch(i){r.e(i)}finally{r.f()}}this.planMigration=n},clearCache:function(t){this.aurora.clearCache(t)},submit:function(){var t=this;return!this.loading&&(this.loading=!0,this.aurora.validatorSubmit().then((function(n){if(0===n.ret){var e=Object(h["getApiData"])(t.aurora.getPageData({attrModules:!0,plan:!!t.viewData.plan}));setTimeout((function(){t.loading=!1}),200),t.$emit("submit",e)}else setTimeout((function(){t.loading=!1}),200),t.onError({errmsg:n.errmsg})})))},setViewData:function(t){this.viewData=t;var n=this.viewData&&this.viewData.plan;this.planFilter(n),this.$emit("change",{priceInfo:this.priceInfo,data:Object(h["getApiData"])(this.aurora.getPageData({attrModules:!0,plan:!!this.viewData.plan}))})},cancel:function(){this.$emit("cancel")}},mounted:function(){this.init()},watch:{data:function(t,n){window.Aurora&&(this.data=t,this.init())}}},_=g,x=e("2877"),w=Object(x["a"])(_,r,o,!1,null,null,null),j=w.exports;j.install=function(t){t.component(j.name,j)};n["default"]=j},"7f20":function(t,n,e){var r=e("86cc").f,o=e("69a8"),i=e("2b4c")("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},8079:function(t,n,e){var r=e("7726"),o=e("1991").set,i=r.MutationObserver||r.WebKitMutationObserver,c=r.process,a=r.Promise,u="process"==e("2d95")(c);t.exports=function(){var t,n,e,s=function(){var r,o;u&&(r=c.domain)&&r.exit();while(t){o=t.fn,t=t.next;try{o()}catch(i){throw t?e():n=void 0,i}}n=void 0,r&&r.enter()};if(u)e=function(){c.nextTick(s)};else if(!i||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var f=a.resolve(void 0);e=function(){f.then(s)}}else e=function(){o.call(r,s)};else{var l=!0,p=document.createTextNode("");new i(s).observe(p,{characterData:!0}),e=function(){p.data=l=!l}}return function(r){var o={fn:r,next:void 0};n&&(n.next=o),t||(t=o,e()),n=o}}},8378:function(t,n){var e=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=e)},"84f2":function(t,n){t.exports={}},"86cc":function(t,n,e){var r=e("cb7c"),o=e("c69a"),i=e("6a99"),c=Object.defineProperty;n.f=e("9e1e")?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return c(t,n,e)}catch(a){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},"9b43":function(t,n,e){var r=e("d8e8");t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},"9c6c":function(t,n,e){var r=e("2b4c")("unscopables"),o=Array.prototype;void 0==o[r]&&e("32e9")(o,r,{}),t.exports=function(t){o[r][t]=!0}},"9c80":function(t,n){t.exports=function(t){try{return{e:!1,v:t()}}catch(n){return{e:!0,v:n}}}},"9def":function(t,n,e){var r=e("4588"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},"9e1e":function(t,n,e){t.exports=!e("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a25f:function(t,n,e){var r=e("7726"),o=r.navigator;t.exports=o&&o.userAgent||""},a5b8:function(t,n,e){"use strict";var r=e("d8e8");function o(t){var n,e;this.promise=new t((function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r})),this.resolve=r(n),this.reject=r(e)}t.exports.f=function(t){return new o(t)}},bcaa:function(t,n,e){var r=e("cb7c"),o=e("d3f4"),i=e("a5b8");t.exports=function(t,n){if(r(t),o(n)&&n.constructor===t)return n;var e=i.f(t),c=e.resolve;return c(n),e.promise}},be13:function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},c366:function(t,n,e){var r=e("6821"),o=e("9def"),i=e("77f1");t.exports=function(t){return function(n,e,c){var a,u=r(n),s=o(u.length),f=i(c,s);if(t&&e!=e){while(s>f)if(a=u[f++],a!=a)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===e)return t||f||0;return!t&&-1}}},c69a:function(t,n,e){t.exports=!e("9e1e")&&!e("79e5")((function(){return 7!=Object.defineProperty(e("230e")("div"),"a",{get:function(){return 7}}).a}))},ca5a:function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},cadf:function(t,n,e){"use strict";var r=e("9c6c"),o=e("d53b"),i=e("84f2"),c=e("6821");t.exports=e("01f9")(Array,"Array",(function(t,n){this._t=c(t),this._i=0,this._k=n}),(function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):o(0,"keys"==n?e:"values"==n?t[e]:[e,t[e]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},cb7c:function(t,n,e){var r=e("d3f4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},ce10:function(t,n,e){var r=e("69a8"),o=e("6821"),i=e("c366")(!1),c=e("613b")("IE_PROTO");t.exports=function(t,n){var e,a=o(t),u=0,s=[];for(e in a)e!=c&&r(a,e)&&s.push(e);while(n.length>u)r(a,e=n[u++])&&(~i(s,e)||s.push(e));return s}},cf34:function(t,n){t.exports=require("@mucfe/matui/lib/message-box")},d3f4:function(t,n){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d53b:function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},d624:function(t,n){t.exports=require("core-js/modules/es6.array.from")},d8e8:function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},dcbc:function(t,n,e){var r=e("2aba");t.exports=function(t,n,e){for(var o in n)r(t,o,n[o],e);return t}},e0d3:function(t,n){t.exports=require("@mucfe/matui/lib/utils/helpers")},e11e:function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},ebd6:function(t,n,e){var r=e("cb7c"),o=e("d8e8"),i=e("2b4c")("species");t.exports=function(t,n){var e,c=r(t).constructor;return void 0===c||void 0==(e=r(c)[i])?n:o(e)}},f071:function(t,n){t.exports=require("@mucfe/matui/lib/button")},f605:function(t,n){t.exports=function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!");return t}},f751:function(t,n,e){var r=e("5ca1");r(r.S+r.F,"Object",{assign:e("7333")})},fa5b:function(t,n,e){t.exports=e("5537")("native-function-to-string",Function.toString)},fab2:function(t,n,e){var r=e("7726").document;t.exports=r&&r.documentElement}});