@xysfe/actui 1.6.44 → 1.6.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/BankSelect/index.js +1 -1
- package/es/Button/index.js +1 -1
- package/es/CertifyLayer/index.js +1 -1
- package/es/DeviceFingerprint/index.js +1 -1
- package/es/Dialog/index.js +1 -1
- package/es/FaceRecognition/index.js +1 -1
- package/es/FigurePic/index.js +1 -1
- package/es/FileUpload/index.js +1 -1
- package/es/FormLayer/index.js +1 -1
- package/es/GivenLayer/index.js +1 -1
- package/es/GoldAddressLayer/index.js +1 -1
- package/es/GoldBankPayLimit/index.js +1 -1
- package/es/GoldBenefitDemo/index.js +1 -1
- package/es/GoldCompute/index.js +1 -1
- package/es/GoldComputeV2/index.js +1 -1
- package/es/GoldCost/index.js +1 -1
- package/es/GoldCostLayer/index.js +1 -1
- package/es/GoldFinance/index.js +1 -1
- package/es/GoldFinanceChart/index.js +1 -1
- package/es/GoldFinanceChartV2/index.js +1 -1
- package/es/GoldFinanceV2/index.js +1 -1
- package/es/GoldInsureDescDialog/index.js +1 -1
- package/es/GoldInsureDuty/index.js +1 -1
- package/es/GoldInsureNotice/index.js +1 -1
- package/es/GoldMailPrecheck/index.js +1 -1
- package/es/GoldMailPrecheckV2/index.js +1 -1
- package/es/GoldPayLimitLayer/index.js +1 -1
- package/es/GoldSelect/index.js +1 -1
- package/es/Jigsaw/index.js +1 -1
- package/es/Keyframe/index.js +1 -1
- package/es/Marketing/index.js +1 -1
- package/es/PageLoading/index.js +1 -1
- package/es/PosterLayer/index.js +1 -1
- package/es/ProPosterLayer/index.js +1 -1
- package/es/ProductLayer/index.js +1 -1
- package/es/ProductLayer/style.css +1 -1
- package/es/Recognition/index.js +1 -1
- package/es/RecordRuleLayer/style.css +1 -1
- package/es/ReplayLayer/index.js +1 -1
- package/es/Rule/index.js +1 -1
- package/es/SlidePoster/index.js +1 -1
- package/es/Toast/index.js +1 -1
- package/es/UserAuth/index.js +1 -1
- package/es/index.js +1 -1
- package/es/style.css +1 -1
- package/es/toBase64/index.js +1 -1
- package/lib/GoldInsureDescDialog/index.js +1 -1
- package/lib/ProductLayer/index.js +1 -1
- package/lib/ProductLayer/style.css +1 -1
- package/lib/RecordRuleLayer/style.css +1 -1
- package/lib/index.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/common/scroll.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/assets/utils/encrypt.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/mixins/visible.js","@xysfe/actui/es/assets/common/scroll.js","@xysfe/actui/es/assets/common/goldlayer.js","@xysfe/actui/es/assets/utils/encrypt.js"],e):"object"==typeof exports?exports.GoldCostLayer=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/common/scroll.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/assets/utils/encrypt.js")):t.GoldCostLayer=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/mixins/visible.js"],t["@xysfe/actui/es/assets/common/scroll.js"],t["@xysfe/actui/es/assets/common/goldlayer.js"],t["@xysfe/actui/es/assets/utils/encrypt.js"])}("undefined"!=typeof self?self:this,function(t,e,n,r,o){return function(t){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}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get: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,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=1329)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},1:function(t,e,n){var r=n(27)("wks"),o=n(24),i=n(0).Symbol,s="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=s&&i[t]||(s?i:o)("Symbol."+t))}).store=r},10:function(t,e,n){var r=n(0),o=n(2),i=n(17),s=n(5),a=n(7),c=function(t,e,n){var u,l,f,p=t&c.F,d=t&c.G,v=t&c.S,h=t&c.P,y=t&c.B,b=t&c.W,_=d?o:o[e]||(o[e]={}),m=_.prototype,x=d?r:v?r[e]:(r[e]||{}).prototype;d&&(n=e);for(u in n)(l=!p&&x&&void 0!==x[u])&&a(_,u)||(f=l?x[u]:n[u],_[u]=d&&"function"!=typeof x[u]?n[u]:y&&l?i(f,r):b&&x[u]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):h&&"function"==typeof f?i(Function.call,f):f,h&&((_.virtual||(_.virtual={}))[u]=f,t&c.R&&m&&!m[u]&&s(m,u,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},11:function(t,e){t.exports={}},12:function(t,e,n){var r=n(30),o=n(16);t.exports=function(t){return r(o(t))}},123:function(t,e){t.exports=r},13:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},1329:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(22),o=n.n(r),i=n(1330);i.a.install=function(t){t.component(i.a.name,i.a),t.prototype.$createGoldCostLayer=o()(i.a,t)},e.default=i.a},1330:function(t,e,n){"use strict";function r(t){a||n(1331)}var o=n(997),i=n(1332),s=n(8),a=!1,c=r,u=Object(s.a)(o.a,i.a,i.b,!1,c,"data-v-94eb39bc",null);u.options.__file="src\\components\\GoldCostLayer\\src\\index.vue",e.a=u.exports},1331:function(t,e){},1332:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("act-gold-layer",{attrs:{visible:t.isVisible,title:t.title,center:!1},on:{close:t.hide}},[n("div",{staticClass:"act-cost-box act-iphonex-padding"},[n("p",{staticClass:"act-cost-table-subtit"},[t._v("\n "+t._s(t.subTitle)+"\n ")]),t._v(" "),n("act-cost-table",{attrs:{tableData:t.tableData,fakerTableData:t.fakerTableData,togglable:!1,scrollable:!0,brandColor:t.brandColor}})],1)])},o=[];r._withStripped=!0},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},15:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},16:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},17:function(t,e,n){var r=n(20);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},18:function(t,e){t.exports=!0},19:function(t,e,n){var r=n(27)("keys"),o=n(24);t.exports=function(t){return r[t]||(r[t]=o(t))}},2:function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},20:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},21:function(t,e,n){var r=n(6),o=n(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},22:function(e,n){e.exports=t},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},24:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},25:function(t,e,n){var r=n(9).f,o=n(7),i=n(1)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},26:function(t,e,n){var r=n(37),o=n(28);t.exports=Object.keys||function(t){return r(t,o)}},27:function(t,e,n){var r=n(2),o=n(0),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(18)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},28:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},29:function(t,e,n){var r=n(16);t.exports=function(t){return Object(r(t))}},3:function(t,e,n){t.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e,n){var r=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},31:function(t,e,n){var r=n(15),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},32:function(t,n){t.exports=e},33:function(t,e,n){"use strict";var r=n(18),o=n(10),i=n(46),s=n(5),a=n(11),c=n(52),u=n(25),l=n(54),f=n(1)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,v,h,y,b){c(n,e,v);var _,m,x,g=function(t){if(!p&&t in C)return C[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},j=e+" Iterator",T="values"==h,w=!1,C=t.prototype,S=C[f]||C["@@iterator"]||h&&C[h],O=S||g(h),P=h?T?g("entries"):O:void 0,D="Array"==e?C.entries||S:S;if(D&&(x=l(D.call(new t)))!==Object.prototype&&x.next&&(u(x,j,!0),r||"function"==typeof x[f]||s(x,f,d)),T&&S&&"values"!==S.name&&(w=!0,O=function(){return S.call(this)}),r&&!b||!p&&!w&&C[f]||s(C,f,O),a[e]=O,a[j]=d,h)if(_={values:T?O:g("values"),keys:y?O:g("keys"),entries:P},b)for(m in _)m in C||i(C,m,_[m]);else o(o.P+o.F*(p||w),e,_);return _}},34:function(t,e,n){var r=n(6);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},36:function(t,e,n){t.exports=!n(3)&&!n(13)(function(){return 7!=Object.defineProperty(n(21)("div"),"a",{get:function(){return 7}}).a})},37:function(t,e,n){var r=n(7),o=n(12),i=n(39)(!1),s=n(19)("IE_PROTO");t.exports=function(t,e){var n,a=o(t),c=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);for(;e.length>c;)r(a,n=e[c++])&&(~i(u,n)||u.push(n));return u}},38:function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},39:function(t,e,n){var r=n(12),o=n(31),i=n(40);t.exports=function(t){return function(e,n,s){var a,c=r(e),u=o(c.length),l=i(s,u);if(t&&n!=n){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},4:function(t,e,n){var r=n(6);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},40:function(t,e,n){var r=n(15),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},41:function(t,e,n){var r=n(14),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},42:function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=o(e),this.reject=o(n)}var o=n(20);t.exports.f=function(t){return new r(t)}},43:function(t,e){e.f={}.propertyIsEnumerable},44:function(t,e,n){"use strict";var r=n(51)(!0);n(33)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},45:function(t,e,n){var r=n(4),o=n(53),i=n(28),s=n(19)("IE_PROTO"),a=function(){},c=function(){var t,e=n(21)("iframe"),r=i.length;for(e.style.display="none",n(38).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[i[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[s]=t):n=c(),void 0===e?n:o(n,e)}},46:function(t,e,n){t.exports=n(5)},48:function(t,e,n){n(59);for(var r=n(0),o=n(5),i=n(11),s=n(1)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<a.length;c++){var u=a[c],l=r[u],f=l&&l.prototype;f&&!f[s]&&o(f,s,u),i[u]=i.Array}},49:function(t,e){e.f=Object.getOwnPropertySymbols},5:function(t,e,n){var r=n(9),o=n(23);t.exports=n(3)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},50:function(t,e,n){var r=n(41),o=n(1)("iterator"),i=n(11);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},51:function(t,e,n){var r=n(15),o=n(16);t.exports=function(t){return function(e,n){var i,s,a=String(o(e)),c=r(n),u=a.length;return c<0||c>=u?t?"":void 0:(i=a.charCodeAt(c),i<55296||i>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):i:t?a.slice(c,c+2):s-56320+(i-55296<<10)+65536)}}},52:function(t,e,n){"use strict";var r=n(45),o=n(23),i=n(25),s={};n(5)(s,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:o(1,n)}),i(t,e+" Iterator")}},53:function(t,e,n){var r=n(9),o=n(4),i=n(26);t.exports=n(3)?Object.defineProperties:function(t,e){o(t);for(var n,s=i(e),a=s.length,c=0;a>c;)r.f(t,n=s[c++],e[n]);return t}},54:function(t,e,n){var r=n(7),o=n(29),i=n(19)("IE_PROTO"),s=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?s:null}},58:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},59:function(t,e,n){"use strict";var r=n(60),o=n(58),i=n(11),s=n(12);t.exports=n(33)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},60:function(t,e){t.exports=function(){}},61:function(t,e,n){var r=n(4),o=n(20),i=n(1)("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[i])?e:o(n)}},62:function(t,e,n){var r,o,i,s=n(17),a=n(81),c=n(38),u=n(21),l=n(0),f=l.process,p=l.setImmediate,d=l.clearImmediate,v=l.MessageChannel,h=l.Dispatch,y=0,b={},_=function(){var t=+this;if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e()}},m=function(t){_.call(t.data)};p&&d||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return b[++y]=function(){a("function"==typeof t?t:Function(t),e)},r(y),y},d=function(t){delete b[t]},"process"==n(14)(f)?r=function(t){f.nextTick(s(_,t,1))}:h&&h.now?r=function(t){h.now(s(_,t,1))}:v?(o=new v,i=o.port2,o.port1.onmessage=m,r=s(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",m,!1)):r="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),_.call(t)}}:function(t){setTimeout(s(_,t,1),0)}),t.exports={set:p,clear:d}},63:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},64:function(t,e,n){var r=n(4),o=n(6),i=n(42);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},65:function(t,e,n){t.exports={default:n(67),__esModule:!0}},658:function(t,e){t.exports=o},66:function(t,e,n){t.exports={default:n(79),__esModule:!0}},67:function(t,e,n){n(68),t.exports=n(2).Object.assign},68:function(t,e,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(69)})},684:function(t,e,n){"use strict";var r=n(98),o=n.n(r);e.a={name:"ActCostTable",data:function(){return{moreToggle:!1}},components:{ActScroll:o.a},props:{tableData:{type:Object,default:function(){return null}},fakerTableData:{type:Object,default:function(){return null}},togglable:{type:Boolean,default:!0},scrollable:{type:Boolean,default:!1},brandColor:{type:String,default:""}},computed:{renderData:function(){return this.togglable?this.moreToggle?this.tableData:this.fakerTableData:this.tableData},showToggle:function(){return!!this.togglable&&(this.renderData&&this.renderData.rows&&this.renderData.rows.length&&this.fakerTableData.rows.length<this.tableData.rows.length)}},methods:{toggleMore:function(){this.moreToggle=!this.moreToggle},scrollSuc:function(t){this.scroll=t},refreshScroll:function(){var t=this;this.$nextTick(function(){t.scroll&&t.scroll.refresh()})}},watch:{tableData:function(t){t&&this.refreshScroll()}}}},69:function(t,e,n){"use strict";var r=n(3),o=n(26),i=n(49),s=n(43),a=n(29),c=n(30),u=Object.assign;t.exports=!u||n(13)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=a(t),u=arguments.length,l=1,f=i.f,p=s.f;u>l;)for(var d,v=c(arguments[l++]),h=f?o(v).concat(f(v)):o(v),y=h.length,b=0;y>b;)d=h[b++],r&&!p.call(v,d)||(n[d]=v[d]);return n}:u},7:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},70:function(t,e){},72:function(t,e,n){var r=n(4);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},73:function(t,e,n){var r=n(11),o=n(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},74:function(t,e,n){var r=n(17),o=n(72),i=n(73),s=n(4),a=n(31),c=n(50),u={},l={},e=t.exports=function(t,e,n,f,p){var d,v,h,y,b=p?function(){return t}:c(t),_=r(n,f,e?2:1),m=0;if("function"!=typeof b)throw TypeError(t+" is not iterable!");if(i(b)){for(d=a(t.length);d>m;m++)if((y=e?_(s(v=t[m])[0],v[1]):_(t[m]))===u||y===l)return y}else for(h=b.call(t);!(v=h.next()).done;)if((y=o(h,_,v.value,e))===u||y===l)return y};e.BREAK=u,e.RETURN=l},75:function(t,e,n){var r=n(1)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],s=i[r]();s.next=function(){return{done:n=!0}},i[r]=function(){return s},t(i)}catch(t){}return n}},76:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},77:function(t,e,n){var r=n(5);t.exports=function(t,e,n){for(var o in e)n&&t[o]?t[o]=e[o]:r(t,o,e[o]);return t}},78:function(t,e,n){"use strict";var r=n(0),o=n(2),i=n(9),s=n(3),a=n(1)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:r[t];s&&e&&!e[a]&&i.f(e,a,{configurable:!0,get:function(){return this}})}},79:function(t,e,n){n(70),n(44),n(48),n(80),n(84),n(85),t.exports=n(2).Promise},8:function(t,e,n){"use strict";function r(t,e,n,r,o,i,s,a){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId=i);var l;if(s?(l=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(s)},u._ssrRegister=l):o&&(l=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(u.functional){u._injectStyles=l;var f=u.render;u.render=function(t,e){return l.call(e),f(t,e)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,l):[l]}return{exports:t,options:u}}e.a=r},80:function(t,e,n){"use strict";var r,o,i,s,a=n(18),c=n(0),u=n(17),l=n(41),f=n(10),p=n(6),d=n(20),v=n(76),h=n(74),y=n(61),b=n(62).set,_=n(82)(),m=n(42),x=n(63),g=n(83),j=n(64),T=c.TypeError,w=c.process,C=w&&w.versions,S=C&&C.v8||"",O=c.Promise,P="process"==l(w),D=function(){},k=o=m.f,M=!!function(){try{var t=O.resolve(1),e=(t.constructor={})[n(1)("species")]=function(t){t(D,D)};return(P||"function"==typeof PromiseRejectionEvent)&&t.then(D)instanceof e&&0!==S.indexOf("6.6")&&-1===g.indexOf("Chrome/66")}catch(t){}}(),L=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},E=function(t,e){if(!t._n){t._n=!0;var n=t._c;_(function(){for(var r=t._v,o=1==t._s,i=0;n.length>i;)!function(e){var n,i,s,a=o?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{a?(o||(2==t._h&&R(t),t._h=1),!0===a?n=r:(l&&l.enter(),n=a(r),l&&(l.exit(),s=!0)),n===e.promise?u(T("Promise-chain cycle")):(i=L(n))?i.call(n,c,u):c(n)):u(r)}catch(t){l&&!s&&l.exit(),u(t)}}(n[i++]);t._c=[],t._n=!1,e&&!t._h&&A(t)})}},A=function(t){b.call(c,function(){var e,n,r,o=t._v,i=I(t);if(i&&(e=x(function(){P?w.emit("unhandledRejection",o,t):(n=c.onunhandledrejection)?n({promise:t,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=P||I(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},I=function(t){return 1!==t._h&&0===(t._a||t._c).length},R=function(t){b.call(c,function(){var e;P?w.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},F=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),E(e,!0))},G=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw T("Promise can't be resolved itself");(e=L(t))?_(function(){var r={_w:n,_d:!1};try{e.call(t,u(G,r,1),u(F,r,1))}catch(t){F.call(r,t)}}):(n._v=t,n._s=1,E(n,!1))}catch(t){F.call({_w:n,_d:!1},t)}}};M||(O=function(t){v(this,O,"Promise","_h"),d(t),r.call(this);try{t(u(G,this,1),u(F,this,1))}catch(t){F.call(this,t)}},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=n(77)(O.prototype,{then:function(t,e){var n=k(y(this,O));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=P?w.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&E(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=u(G,t,1),this.reject=u(F,t,1)},m.f=k=function(t){return t===O||t===s?new i(t):o(t)}),f(f.G+f.W+f.F*!M,{Promise:O}),n(25)(O,"Promise"),n(78)("Promise"),s=n(2).Promise,f(f.S+f.F*!M,"Promise",{reject:function(t){var e=k(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(a||!M),"Promise",{resolve:function(t){return j(a&&this===s?O:this,t)}}),f(f.S+f.F*!(M&&n(75)(function(t){O.all(t).catch(D)})),"Promise",{all:function(t){var e=this,n=k(e),r=n.resolve,o=n.reject,i=x(function(){var n=[],i=0,s=1;h(t,!1,function(t){var a=i++,c=!1;n.push(void 0),s++,e.resolve(t).then(function(t){c||(c=!0,n[a]=t,--s||r(n))},o)}),--s||r(n)});return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=k(e),r=n.reject,o=x(function(){h(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},81:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},82:function(t,e,n){var r=n(0),o=n(62).set,i=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,c="process"==n(14)(s);t.exports=function(){var t,e,n,u=function(){var r,o;for(c&&(r=s.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){s.nextTick(u)};else if(!i||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var l=a.resolve(void 0);n=function(){l.then(u)}}else n=function(){o.call(r,u)};else{var f=!0,p=document.createTextNode("");new i(u).observe(p,{characterData:!0}),n=function(){p.data=f=!f}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},83:function(t,e,n){var r=n(0),o=r.navigator;t.exports=o&&o.userAgent||""},84:function(t,e,n){"use strict";var r=n(10),o=n(2),i=n(0),s=n(61),a=n(64);r(r.P+r.R,"Promise",{finally:function(t){var e=s(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then(function(){return n})}:t,n?function(n){return a(e,t()).then(function(){throw n})}:t)}})},85:function(t,e,n){"use strict";var r=n(10),o=n(42),i=n(63);r(r.S,"Promise",{try:function(t){var e=o.f(this),n=i(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},87:function(t,e,n){"use strict";e.__esModule=!0;var r=n(65),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},899:function(t,e,n){"use strict";function r(t){a||n(900)}var o=n(684),i=n(901),s=n(8),a=!1,c=r,u=Object(s.a)(o.a,i.a,i.b,!1,c,"data-v-530770d2",null);u.options.__file="src\\components\\GoldCost\\src\\table.vue",e.a=u.exports},9:function(t,e,n){var r=n(4),o=n(36),i=n(34),s=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},900:function(t,e){},901:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"act-cost-table"},[t.renderData&&t.renderData.rows&&t.renderData.rows.length>0?[t.scrollable?n("act-scroll",{ref:t.scroll,staticClass:"act-cost-table-scrollable",attrs:{listenScrollInit:!0},on:{scrollSuc:t.scrollSuc}},[n("table",{staticClass:"act-cost-table-body"},[n("thead",[n("tr",t._l(t.renderData.head,function(e,r){return n("td",{key:"head-"+r,style:{"background-color":t.brandColor||"#8c7fee"}},[t._v("\n "+t._s(e)+"\n ")])}),0)]),t._v(" "),n("tbody",t._l(t.renderData.rows,function(e,r){return n("tr",{key:"tr-"+r},t._l(e,function(e,o){return n("td",{key:"td-"+r+"-"+o,class:{sw:e.type}},[t._v("\n "+t._s(e.value)+"\n ")])}),0)}),0)])]):n("table",{staticClass:"act-cost-table-body"},[n("thead",[n("tr",t._l(t.renderData.head,function(e,r){return n("td",{key:"head-"+r,style:{"background-color":t.brandColor||"#8c7fee"}},[t._v("\n "+t._s(e)+"\n ")])}),0)]),t._v(" "),n("tbody",t._l(t.renderData.rows,function(e,r){return n("tr",{key:"tr-"+r},t._l(e,function(e,o){return n("td",{key:"td-"+r+"-"+o,class:{sw:e.type}},[t._v("\n "+t._s(e.value)+"\n ")])}),0)}),0)])]:n("div",{staticClass:"act-cost-empty",class:{"act-cost-table-scrollable-empty":t.scrollable}},[t._v("\n 暂无相关数据\n ")]),t._v(" "),t.showToggle?n("a",{staticClass:"act-cost-toggle",class:{"act-cost-toggle-hide":t.moreToggle},style:{color:t.brandColor},attrs:{href:"javascript:;"},on:{click:function(e){return e.stopPropagation(),t.toggleMore(e)}}},[t._v(t._s(t.moreToggle?"收起":"查看全部")),n("span",{style:{"border-color":t.brandColor}})]):t._e()],2)},o=[];r._withStripped=!0},91:function(t,e,n){t.exports={default:n(96),__esModule:!0}},96:function(t,e,n){var r=n(2),o=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},98:function(t,e){t.exports=n},997:function(t,e,n){"use strict";var r=n(91),o=n.n(r),i=n(87),s=n.n(i),a=n(66),c=n.n(a),u=n(32),l=n.n(u),f=n(123),p=n.n(f),d=n(899),v=n(658);n.n(v);e.a={name:"ActGoldCostLayer",mixins:[l.a],data:function(){return{title:"",subTitle:"",tableData:null,fakerTableData:null,staticCostTable:null,staticApplicant:null,staticInsured:null}},props:{costTable:{type:Object,default:function(){return null}},applicant:{type:Object,default:function(){return{}}},insured:{type:Object,default:function(){return{}}},paramExt:{type:Object,default:function(){return{}}},brandColor:{type:String,default:""},btnColor:{type:String,default:""}},components:{ActGoldLayer:p.a,ActCostTable:d.a},computed:{realCostTable:function(){return this.staticCostTable||this.costTable},realApplicant:function(){return this.staticApplicant||this.applicant},realInsured:function(){return this.staticInsured||this.insured}},methods:{setData:function(t,e,n){this.staticCostTable=t,this.staticApplicant=e,this.staticInsured=n},getCost:function(){var t=this;new c.a(function(e,n){var r=void 0,i=s()({},t.paramExt),a={genes:i};t.realApplicant&&(i.applicant=t.realApplicant),1===Number(t.realCostTable.calc_type)?(r="/buy/getCostTableComplex",i.tableId=t.realCostTable.id,i.insureds=[t.realInsured]):(r="/buy/getCostTable",a.tableId=t.realCostTable.id,i.plan=t.realInsured.plan,i.insured=t.realInsured.insured);var c=Object(v.md5)(o()(a));t.costTableCache=t.costTableCache||{},t.costTableCache[c]?e(t.costTableCache[c]):t.$fetch(r,a).then(function(n){t.costTableCache[c]=n,e(n)})}).then(function(e){0===e.ret&&e.data?t.genTableData(e.data):t.genTableData(null)}).catch(function(e){t.genTableData(null)})},genTableData:function(t){if(!t)return this.title="",this.subTitle="",this.tableData=null,void(this.fakerTableData=null);for(var e=[],n=[],r=this.realCostTable.type,o=void 0,i=void 0,s=void 0,a=0,c=t.rows.length;a<c;a++){i=t.rows[a],s=(1===r||2===r)&&+i[3]>+i[2],o=[];for(var u=0,l=t.cols.length;u<l;u++)o.push({value:u===t.cols.length-1?parseFloat(Math.round(100*i[u])/100).toFixed(2):i[u]||0,type:!s||1!==r&&2!==r||3!==u?0:1});e.push(o),a<5||(a+1)%10==0||a===c-1?n.push(o):(1===r||2===r)&&s&&+t.rows[a-1][3]<=+t.rows[a-1][2]?n.push(o):(1===r||2===r)&&s&&+t.rows[a+1][3]<=+t.rows[a+1][2]&&n.push(o)}this.title=t.name,this.subTitle=t.planText,this.tableData={head:t.cols,rows:e},this.fakerTableData={head:t.cols,rows:n}}},watch:{isVisible:function(t){this.getCost()}}}}})});
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/common/scroll.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/assets/utils/encrypt.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/mixins/visible.js","@xysfe/actui/es/assets/common/scroll.js","@xysfe/actui/es/assets/common/goldlayer.js","@xysfe/actui/es/assets/utils/encrypt.js"],e):"object"==typeof exports?exports.GoldCostLayer=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/common/scroll.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/assets/utils/encrypt.js")):t.GoldCostLayer=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/mixins/visible.js"],t["@xysfe/actui/es/assets/common/scroll.js"],t["@xysfe/actui/es/assets/common/goldlayer.js"],t["@xysfe/actui/es/assets/utils/encrypt.js"])}("undefined"!=typeof self?self:this,function(t,e,n,r,o){return function(t){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}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get: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,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=1329)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},1:function(t,e,n){var r=n(27)("wks"),o=n(24),i=n(0).Symbol,s="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=s&&i[t]||(s?i:o)("Symbol."+t))}).store=r},10:function(t,e,n){var r=n(0),o=n(2),i=n(17),s=n(5),a=n(7),c=function(t,e,n){var u,l,f,p=t&c.F,d=t&c.G,v=t&c.S,h=t&c.P,y=t&c.B,b=t&c.W,_=d?o:o[e]||(o[e]={}),m=_.prototype,x=d?r:v?r[e]:(r[e]||{}).prototype;d&&(n=e);for(u in n)(l=!p&&x&&void 0!==x[u])&&a(_,u)||(f=l?x[u]:n[u],_[u]=d&&"function"!=typeof x[u]?n[u]:y&&l?i(f,r):b&&x[u]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):h&&"function"==typeof f?i(Function.call,f):f,h&&((_.virtual||(_.virtual={}))[u]=f,t&c.R&&m&&!m[u]&&s(m,u,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},11:function(t,e){t.exports={}},12:function(t,e,n){var r=n(30),o=n(16);t.exports=function(t){return r(o(t))}},123:function(t,e){t.exports=r},13:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},1329:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(22),o=n.n(r),i=n(1330);i.a.install=function(t){t.component(i.a.name,i.a),t.prototype.$createGoldCostLayer=o()(i.a,t)},e.default=i.a},1330:function(t,e,n){"use strict";function r(t){a||n(1331)}var o=n(997),i=n(1332),s=n(8),a=!1,c=r,u=Object(s.a)(o.a,i.a,i.b,!1,c,"data-v-94eb39bc",null);u.options.__file="src\\components\\GoldCostLayer\\src\\index.vue",e.a=u.exports},1331:function(t,e){},1332:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("act-gold-layer",{attrs:{visible:t.isVisible,title:t.title,center:!1},on:{close:t.hide}},[n("div",{staticClass:"act-cost-box act-iphonex-padding"},[n("p",{staticClass:"act-cost-table-subtit"},[t._v("\n "+t._s(t.subTitle)+"\n ")]),t._v(" "),n("act-cost-table",{attrs:{tableData:t.tableData,fakerTableData:t.fakerTableData,togglable:!1,scrollable:!0,brandColor:t.brandColor}})],1)])},o=[];r._withStripped=!0},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},15:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},16:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},17:function(t,e,n){var r=n(20);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},18:function(t,e){t.exports=!0},19:function(t,e,n){var r=n(27)("keys"),o=n(24);t.exports=function(t){return r[t]||(r[t]=o(t))}},2:function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},20:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},21:function(t,e,n){var r=n(6),o=n(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},22:function(e,n){e.exports=t},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},24:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},25:function(t,e,n){var r=n(9).f,o=n(7),i=n(1)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},26:function(t,e,n){var r=n(37),o=n(28);t.exports=Object.keys||function(t){return r(t,o)}},27:function(t,e,n){var r=n(2),o=n(0),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(18)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},28:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},29:function(t,e,n){var r=n(16);t.exports=function(t){return Object(r(t))}},3:function(t,e,n){t.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e,n){var r=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},31:function(t,e,n){var r=n(15),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},32:function(t,n){t.exports=e},33:function(t,e,n){"use strict";var r=n(18),o=n(10),i=n(46),s=n(5),a=n(11),c=n(52),u=n(25),l=n(54),f=n(1)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,v,h,y,b){c(n,e,v);var _,m,x,g=function(t){if(!p&&t in C)return C[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},j=e+" Iterator",T="values"==h,w=!1,C=t.prototype,S=C[f]||C["@@iterator"]||h&&C[h],O=S||g(h),P=h?T?g("entries"):O:void 0,D="Array"==e?C.entries||S:S;if(D&&(x=l(D.call(new t)))!==Object.prototype&&x.next&&(u(x,j,!0),r||"function"==typeof x[f]||s(x,f,d)),T&&S&&"values"!==S.name&&(w=!0,O=function(){return S.call(this)}),r&&!b||!p&&!w&&C[f]||s(C,f,O),a[e]=O,a[j]=d,h)if(_={values:T?O:g("values"),keys:y?O:g("keys"),entries:P},b)for(m in _)m in C||i(C,m,_[m]);else o(o.P+o.F*(p||w),e,_);return _}},34:function(t,e,n){var r=n(6);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},36:function(t,e,n){t.exports=!n(3)&&!n(13)(function(){return 7!=Object.defineProperty(n(21)("div"),"a",{get:function(){return 7}}).a})},37:function(t,e,n){var r=n(7),o=n(12),i=n(39)(!1),s=n(19)("IE_PROTO");t.exports=function(t,e){var n,a=o(t),c=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);for(;e.length>c;)r(a,n=e[c++])&&(~i(u,n)||u.push(n));return u}},38:function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},39:function(t,e,n){var r=n(12),o=n(31),i=n(40);t.exports=function(t){return function(e,n,s){var a,c=r(e),u=o(c.length),l=i(s,u);if(t&&n!=n){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},4:function(t,e,n){var r=n(6);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},40:function(t,e,n){var r=n(15),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},41:function(t,e,n){var r=n(14),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},42:function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=o(e),this.reject=o(n)}var o=n(20);t.exports.f=function(t){return new r(t)}},43:function(t,e){e.f={}.propertyIsEnumerable},44:function(t,e,n){"use strict";var r=n(51)(!0);n(33)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},45:function(t,e,n){var r=n(4),o=n(53),i=n(28),s=n(19)("IE_PROTO"),a=function(){},c=function(){var t,e=n(21)("iframe"),r=i.length;for(e.style.display="none",n(38).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[i[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[s]=t):n=c(),void 0===e?n:o(n,e)}},46:function(t,e,n){t.exports=n(5)},48:function(t,e,n){n(59);for(var r=n(0),o=n(5),i=n(11),s=n(1)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<a.length;c++){var u=a[c],l=r[u],f=l&&l.prototype;f&&!f[s]&&o(f,s,u),i[u]=i.Array}},49:function(t,e){e.f=Object.getOwnPropertySymbols},5:function(t,e,n){var r=n(9),o=n(23);t.exports=n(3)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},50:function(t,e,n){var r=n(41),o=n(1)("iterator"),i=n(11);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},51:function(t,e,n){var r=n(15),o=n(16);t.exports=function(t){return function(e,n){var i,s,a=String(o(e)),c=r(n),u=a.length;return c<0||c>=u?t?"":void 0:(i=a.charCodeAt(c),i<55296||i>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):i:t?a.slice(c,c+2):s-56320+(i-55296<<10)+65536)}}},52:function(t,e,n){"use strict";var r=n(45),o=n(23),i=n(25),s={};n(5)(s,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:o(1,n)}),i(t,e+" Iterator")}},53:function(t,e,n){var r=n(9),o=n(4),i=n(26);t.exports=n(3)?Object.defineProperties:function(t,e){o(t);for(var n,s=i(e),a=s.length,c=0;a>c;)r.f(t,n=s[c++],e[n]);return t}},54:function(t,e,n){var r=n(7),o=n(29),i=n(19)("IE_PROTO"),s=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?s:null}},58:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},59:function(t,e,n){"use strict";var r=n(60),o=n(58),i=n(11),s=n(12);t.exports=n(33)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},60:function(t,e){t.exports=function(){}},61:function(t,e,n){var r=n(4),o=n(20),i=n(1)("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[i])?e:o(n)}},62:function(t,e,n){var r,o,i,s=n(17),a=n(81),c=n(38),u=n(21),l=n(0),f=l.process,p=l.setImmediate,d=l.clearImmediate,v=l.MessageChannel,h=l.Dispatch,y=0,b={},_=function(){var t=+this;if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e()}},m=function(t){_.call(t.data)};p&&d||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return b[++y]=function(){a("function"==typeof t?t:Function(t),e)},r(y),y},d=function(t){delete b[t]},"process"==n(14)(f)?r=function(t){f.nextTick(s(_,t,1))}:h&&h.now?r=function(t){h.now(s(_,t,1))}:v?(o=new v,i=o.port2,o.port1.onmessage=m,r=s(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",m,!1)):r="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),_.call(t)}}:function(t){setTimeout(s(_,t,1),0)}),t.exports={set:p,clear:d}},63:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},64:function(t,e,n){var r=n(4),o=n(6),i=n(42);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},65:function(t,e,n){t.exports={default:n(67),__esModule:!0}},658:function(t,e){t.exports=o},66:function(t,e,n){t.exports={default:n(79),__esModule:!0}},67:function(t,e,n){n(68),t.exports=n(2).Object.assign},68:function(t,e,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(69)})},684:function(t,e,n){"use strict";var r=n(98),o=n.n(r);e.a={name:"ActCostTable",data:function(){return{moreToggle:!1}},components:{ActScroll:o.a},props:{tableData:{type:Object,default:function(){return null}},fakerTableData:{type:Object,default:function(){return null}},togglable:{type:Boolean,default:!0},scrollable:{type:Boolean,default:!1},brandColor:{type:String,default:""}},computed:{renderData:function(){return this.togglable?this.moreToggle?this.tableData:this.fakerTableData:this.tableData},showToggle:function(){return!!this.togglable&&(this.renderData&&this.renderData.rows&&this.renderData.rows.length&&this.fakerTableData.rows.length<this.tableData.rows.length)}},methods:{toggleMore:function(){this.moreToggle=!this.moreToggle},scrollSuc:function(t){this.scroll=t},refreshScroll:function(){var t=this;this.$nextTick(function(){t.scroll&&t.scroll.refresh()})}},watch:{tableData:function(t){t&&this.refreshScroll()}}}},69:function(t,e,n){"use strict";var r=n(3),o=n(26),i=n(49),s=n(43),a=n(29),c=n(30),u=Object.assign;t.exports=!u||n(13)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=a(t),u=arguments.length,l=1,f=i.f,p=s.f;u>l;)for(var d,v=c(arguments[l++]),h=f?o(v).concat(f(v)):o(v),y=h.length,b=0;y>b;)d=h[b++],r&&!p.call(v,d)||(n[d]=v[d]);return n}:u},7:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},70:function(t,e){},72:function(t,e,n){var r=n(4);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},73:function(t,e,n){var r=n(11),o=n(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},74:function(t,e,n){var r=n(17),o=n(72),i=n(73),s=n(4),a=n(31),c=n(50),u={},l={},e=t.exports=function(t,e,n,f,p){var d,v,h,y,b=p?function(){return t}:c(t),_=r(n,f,e?2:1),m=0;if("function"!=typeof b)throw TypeError(t+" is not iterable!");if(i(b)){for(d=a(t.length);d>m;m++)if((y=e?_(s(v=t[m])[0],v[1]):_(t[m]))===u||y===l)return y}else for(h=b.call(t);!(v=h.next()).done;)if((y=o(h,_,v.value,e))===u||y===l)return y};e.BREAK=u,e.RETURN=l},75:function(t,e,n){var r=n(1)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],s=i[r]();s.next=function(){return{done:n=!0}},i[r]=function(){return s},t(i)}catch(t){}return n}},76:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},77:function(t,e,n){var r=n(5);t.exports=function(t,e,n){for(var o in e)n&&t[o]?t[o]=e[o]:r(t,o,e[o]);return t}},78:function(t,e,n){"use strict";var r=n(0),o=n(2),i=n(9),s=n(3),a=n(1)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:r[t];s&&e&&!e[a]&&i.f(e,a,{configurable:!0,get:function(){return this}})}},79:function(t,e,n){n(70),n(44),n(48),n(80),n(84),n(85),t.exports=n(2).Promise},8:function(t,e,n){"use strict";function r(t,e,n,r,o,i,s,a){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId=i);var l;if(s?(l=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(s)},u._ssrRegister=l):o&&(l=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(u.functional){u._injectStyles=l;var f=u.render;u.render=function(t,e){return l.call(e),f(t,e)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,l):[l]}return{exports:t,options:u}}e.a=r},80:function(t,e,n){"use strict";var r,o,i,s,a=n(18),c=n(0),u=n(17),l=n(41),f=n(10),p=n(6),d=n(20),v=n(76),h=n(74),y=n(61),b=n(62).set,_=n(82)(),m=n(42),x=n(63),g=n(83),j=n(64),T=c.TypeError,w=c.process,C=w&&w.versions,S=C&&C.v8||"",O=c.Promise,P="process"==l(w),D=function(){},k=o=m.f,M=!!function(){try{var t=O.resolve(1),e=(t.constructor={})[n(1)("species")]=function(t){t(D,D)};return(P||"function"==typeof PromiseRejectionEvent)&&t.then(D)instanceof e&&0!==S.indexOf("6.6")&&-1===g.indexOf("Chrome/66")}catch(t){}}(),L=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},E=function(t,e){if(!t._n){t._n=!0;var n=t._c;_(function(){for(var r=t._v,o=1==t._s,i=0;n.length>i;)!function(e){var n,i,s,a=o?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{a?(o||(2==t._h&&R(t),t._h=1),!0===a?n=r:(l&&l.enter(),n=a(r),l&&(l.exit(),s=!0)),n===e.promise?u(T("Promise-chain cycle")):(i=L(n))?i.call(n,c,u):c(n)):u(r)}catch(t){l&&!s&&l.exit(),u(t)}}(n[i++]);t._c=[],t._n=!1,e&&!t._h&&A(t)})}},A=function(t){b.call(c,function(){var e,n,r,o=t._v,i=I(t);if(i&&(e=x(function(){P?w.emit("unhandledRejection",o,t):(n=c.onunhandledrejection)?n({promise:t,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=P||I(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},I=function(t){return 1!==t._h&&0===(t._a||t._c).length},R=function(t){b.call(c,function(){var e;P?w.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},F=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),E(e,!0))},G=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw T("Promise can't be resolved itself");(e=L(t))?_(function(){var r={_w:n,_d:!1};try{e.call(t,u(G,r,1),u(F,r,1))}catch(t){F.call(r,t)}}):(n._v=t,n._s=1,E(n,!1))}catch(t){F.call({_w:n,_d:!1},t)}}};M||(O=function(t){v(this,O,"Promise","_h"),d(t),r.call(this);try{t(u(G,this,1),u(F,this,1))}catch(t){F.call(this,t)}},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=n(77)(O.prototype,{then:function(t,e){var n=k(y(this,O));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=P?w.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&E(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=u(G,t,1),this.reject=u(F,t,1)},m.f=k=function(t){return t===O||t===s?new i(t):o(t)}),f(f.G+f.W+f.F*!M,{Promise:O}),n(25)(O,"Promise"),n(78)("Promise"),s=n(2).Promise,f(f.S+f.F*!M,"Promise",{reject:function(t){var e=k(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(a||!M),"Promise",{resolve:function(t){return j(a&&this===s?O:this,t)}}),f(f.S+f.F*!(M&&n(75)(function(t){O.all(t).catch(D)})),"Promise",{all:function(t){var e=this,n=k(e),r=n.resolve,o=n.reject,i=x(function(){var n=[],i=0,s=1;h(t,!1,function(t){var a=i++,c=!1;n.push(void 0),s++,e.resolve(t).then(function(t){c||(c=!0,n[a]=t,--s||r(n))},o)}),--s||r(n)});return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=k(e),r=n.reject,o=x(function(){h(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},81:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},82:function(t,e,n){var r=n(0),o=n(62).set,i=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,c="process"==n(14)(s);t.exports=function(){var t,e,n,u=function(){var r,o;for(c&&(r=s.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){s.nextTick(u)};else if(!i||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var l=a.resolve(void 0);n=function(){l.then(u)}}else n=function(){o.call(r,u)};else{var f=!0,p=document.createTextNode("");new i(u).observe(p,{characterData:!0}),n=function(){p.data=f=!f}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},83:function(t,e,n){var r=n(0),o=r.navigator;t.exports=o&&o.userAgent||""},84:function(t,e,n){"use strict";var r=n(10),o=n(2),i=n(0),s=n(61),a=n(64);r(r.P+r.R,"Promise",{finally:function(t){var e=s(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then(function(){return n})}:t,n?function(n){return a(e,t()).then(function(){throw n})}:t)}})},85:function(t,e,n){"use strict";var r=n(10),o=n(42),i=n(63);r(r.S,"Promise",{try:function(t){var e=o.f(this),n=i(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},87:function(t,e,n){"use strict";e.__esModule=!0;var r=n(65),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},899:function(t,e,n){"use strict";function r(t){a||n(900)}var o=n(684),i=n(901),s=n(8),a=!1,c=r,u=Object(s.a)(o.a,i.a,i.b,!1,c,"data-v-530770d2",null);u.options.__file="src\\components\\GoldCost\\src\\table.vue",e.a=u.exports},9:function(t,e,n){var r=n(4),o=n(36),i=n(34),s=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},90:function(t,e,n){t.exports={default:n(95),__esModule:!0}},900:function(t,e){},901:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"act-cost-table"},[t.renderData&&t.renderData.rows&&t.renderData.rows.length>0?[t.scrollable?n("act-scroll",{ref:t.scroll,staticClass:"act-cost-table-scrollable",attrs:{listenScrollInit:!0},on:{scrollSuc:t.scrollSuc}},[n("table",{staticClass:"act-cost-table-body"},[n("thead",[n("tr",t._l(t.renderData.head,function(e,r){return n("td",{key:"head-"+r,style:{"background-color":t.brandColor||"#8c7fee"}},[t._v("\n "+t._s(e)+"\n ")])}),0)]),t._v(" "),n("tbody",t._l(t.renderData.rows,function(e,r){return n("tr",{key:"tr-"+r},t._l(e,function(e,o){return n("td",{key:"td-"+r+"-"+o,class:{sw:e.type}},[t._v("\n "+t._s(e.value)+"\n ")])}),0)}),0)])]):n("table",{staticClass:"act-cost-table-body"},[n("thead",[n("tr",t._l(t.renderData.head,function(e,r){return n("td",{key:"head-"+r,style:{"background-color":t.brandColor||"#8c7fee"}},[t._v("\n "+t._s(e)+"\n ")])}),0)]),t._v(" "),n("tbody",t._l(t.renderData.rows,function(e,r){return n("tr",{key:"tr-"+r},t._l(e,function(e,o){return n("td",{key:"td-"+r+"-"+o,class:{sw:e.type}},[t._v("\n "+t._s(e.value)+"\n ")])}),0)}),0)])]:n("div",{staticClass:"act-cost-empty",class:{"act-cost-table-scrollable-empty":t.scrollable}},[t._v("\n 暂无相关数据\n ")]),t._v(" "),t.showToggle?n("a",{staticClass:"act-cost-toggle",class:{"act-cost-toggle-hide":t.moreToggle},style:{color:t.brandColor},attrs:{href:"javascript:;"},on:{click:function(e){return e.stopPropagation(),t.toggleMore(e)}}},[t._v(t._s(t.moreToggle?"收起":"查看全部")),n("span",{style:{"border-color":t.brandColor}})]):t._e()],2)},o=[];r._withStripped=!0},95:function(t,e,n){var r=n(2),o=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},98:function(t,e){t.exports=n},997:function(t,e,n){"use strict";var r=n(90),o=n.n(r),i=n(87),s=n.n(i),a=n(66),c=n.n(a),u=n(32),l=n.n(u),f=n(123),p=n.n(f),d=n(899),v=n(658);n.n(v);e.a={name:"ActGoldCostLayer",mixins:[l.a],data:function(){return{title:"",subTitle:"",tableData:null,fakerTableData:null,staticCostTable:null,staticApplicant:null,staticInsured:null}},props:{costTable:{type:Object,default:function(){return null}},applicant:{type:Object,default:function(){return{}}},insured:{type:Object,default:function(){return{}}},paramExt:{type:Object,default:function(){return{}}},brandColor:{type:String,default:""},btnColor:{type:String,default:""}},components:{ActGoldLayer:p.a,ActCostTable:d.a},computed:{realCostTable:function(){return this.staticCostTable||this.costTable},realApplicant:function(){return this.staticApplicant||this.applicant},realInsured:function(){return this.staticInsured||this.insured}},methods:{setData:function(t,e,n){this.staticCostTable=t,this.staticApplicant=e,this.staticInsured=n},getCost:function(){var t=this;new c.a(function(e,n){var r=void 0,i=s()({},t.paramExt),a={genes:i};t.realApplicant&&(i.applicant=t.realApplicant),1===Number(t.realCostTable.calc_type)?(r="/buy/getCostTableComplex",i.tableId=t.realCostTable.id,i.insureds=[t.realInsured]):(r="/buy/getCostTable",a.tableId=t.realCostTable.id,i.plan=t.realInsured.plan,i.insured=t.realInsured.insured);var c=Object(v.md5)(o()(a));t.costTableCache=t.costTableCache||{},t.costTableCache[c]?e(t.costTableCache[c]):t.$fetch(r,a).then(function(n){t.costTableCache[c]=n,e(n)})}).then(function(e){0===e.ret&&e.data?t.genTableData(e.data):t.genTableData(null)}).catch(function(e){t.genTableData(null)})},genTableData:function(t){if(!t)return this.title="",this.subTitle="",this.tableData=null,void(this.fakerTableData=null);for(var e=[],n=[],r=this.realCostTable.type,o=void 0,i=void 0,s=void 0,a=0,c=t.rows.length;a<c;a++){i=t.rows[a],s=(1===r||2===r)&&+i[3]>+i[2],o=[];for(var u=0,l=t.cols.length;u<l;u++)o.push({value:u===t.cols.length-1?parseFloat(Math.round(100*i[u])/100).toFixed(2):i[u]||0,type:!s||1!==r&&2!==r||3!==u?0:1});e.push(o),a<5||(a+1)%10==0||a===c-1?n.push(o):(1===r||2===r)&&s&&+t.rows[a-1][3]<=+t.rows[a-1][2]?n.push(o):(1===r||2===r)&&s&&+t.rows[a+1][3]<=+t.rows[a+1][2]&&n.push(o)}this.title=t.name,this.subTitle=t.planText,this.tableData={head:t.cols,rows:e},this.fakerTableData={head:t.cols,rows:n}}},watch:{isVisible:function(t){this.getCost()}}}}})});
|
package/es/GoldFinance/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/BScroll/index.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/BScroll/index.js"],e):"object"==typeof exports?exports.GoldFinance=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/BScroll/index.js")):t.GoldFinance=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/BScroll/index.js"])}("undefined"!=typeof self?self:this,function(t,e,n){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get: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,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=1388)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},1:function(t,e,n){var r=n(27)("wks"),i=n(24),o=n(0).Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},10:function(t,e,n){var r=n(0),i=n(2),o=n(17),a=n(5),s=n(7),c=function(t,e,n){var u,l,f,d=t&c.F,h=t&c.G,p=t&c.S,v=t&c.P,m=t&c.B,b=t&c.W,g=h?i:i[e]||(i[e]={}),y=g.prototype,x=h?r:p?r[e]:(r[e]||{}).prototype;h&&(n=e);for(u in n)(l=!d&&x&&void 0!==x[u])&&s(g,u)||(f=l?x[u]:n[u],g[u]=h&&"function"!=typeof x[u]?n[u]:m&&l?o(f,r):b&&x[u]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((g.virtual||(g.virtual={}))[u]=f,t&c.R&&y&&!y[u]&&a(y,u,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},1014:function(t,e,n){"use strict";var r=n(91),i=n.n(r),o=n(111),a=n.n(o),s=n(66),c=n.n(s),u=n(660),l=n.n(u),f=n(87),d=n.n(f),h=n(157),p=n.n(h),v=n(158),m=n.n(v),b=n(1391),g=n(1409),y=n(1412),x=n(1415),_=n(35),w=(n.n(_),{});e.a={name:"ActGoldFinance",components:{GoldBenefit:b.a,GoldCaseDemo:g.a,GoldCostTable:y.a},data:function(){return{realAurora:null,realAuroraRender:null,loading:!0,benefitElems:null,caseDemoInfo:null,costTableInfo:{},costSlideVar:-1,costTableVisible:!1,moduleData:null}},props:{financeInfo:{type:Object,default:function(){return{}}},brandColor:{type:String,default:""},requestUrl:{type:String,default:"/buy/getAnnuityCostTable"},requestParams:{type:Object,default:function(){return{}}},pxToRem:{type:Number,default:0},aurora:{type:Object,default:function(){return null}},auroraRender:{type:Object,default:function(){return null}}},computed:{realTheme:function(){var t={brandColor:window.g_agentShowCfg&&window.g_agentShowCfg.brandcolor||"#8c7fee",btnColor:window.g_agentShowCfg&&window.g_agentShowCfg.btncolor||"#8c7fee"};return this.brandColor&&(t.brandColor=this.brandColor,t.btnColor=this.brandColor),t},isCps:function(){return"#8c7fee"!==this.realTheme.brandColor},curtime:function(){return this.financeInfo&&this.financeInfo.curtime},genes:function(){return this.financeInfo&&this.financeInfo.genes},sourceModule:function(){if(this.financeInfo&&this.financeInfo.insureAttribute&&this.financeInfo.insureAttribute.attrModules){return{insureAttribute:{attrModules:Object(x.b)(this.genes,this.financeInfo.insureAttribute.attrModules)}}}return null},tableId:function(){return this.financeInfo&&this.financeInfo.tableId?this.financeInfo.tableId:this.genes&&this.genes.tableId?this.genes.tableId:this.financeInfo&&this.financeInfo.insureAttribute&&this.financeInfo.insureAttribute.insuranceInfo&&this.financeInfo.insureAttribute.insuranceInfo.costTables&&this.financeInfo.insureAttribute.insuranceInfo.costTables.tables&&this.financeInfo.insureAttribute.insuranceInfo.costTables.tables[0]&&this.financeInfo.insureAttribute.insuranceInfo.costTables.tables[0].id?this.financeInfo.insureAttribute.insuranceInfo.costTables.tables[0].id:""},annuity:function(){return this.financeInfo&&this.financeInfo.annuity},genesRules:function(){return this.annuity&&this.annuity.tplVariables||{}},costSlideMin:function(){var t=this.costTableInfo.rows&&this.costTableInfo.rows[0];return~~(t&&t[1])||0},costSlideMax:function(){var t=this.costTableInfo.rows&&this.costTableInfo.rows[this.costTableInfo.rows.length-1];return~~(t&&t[1])||106},costSlideRealVar:function(){return this.costSlideVar<this.costSlideMin?this.costSlideMin:this.costSlideVar>this.costSlideMax?this.costSlideMax:this.costSlideVar}},methods:{onShowTable:function(){this.costTableVisible=!0},onBenefitChange:function(t){this.costSlideVar=t,this.getBenefitElems(),this.getCaseDemoInfo()},onElementChange:function(t){var e=this;return m()(p.a.mark(function n(){var r,i;return p.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.realAurora.getSiteData({key:"plan.interest",site:["plan"],allAttr:!0});case 2:r=n.sent,i=Object(x.e)(t,r),e.realAurora.changeValues({changeData:i}).catch(function(t){Object(_.isError)(t)&&e.$throw(t)});case 5:case"end":return n.stop()}},n,e)}))()},getModuleData:function(){var t=this;return m()(p.a.mark(function e(){var n;return p.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.realAurora.getModulesData({cleanKey:!0});case 2:n=e.sent,t.moduleData=Object(x.a)(t.genes,n);case 4:case"end":return e.stop()}},e,t)}))()},getCostTableInfo:function(){var t=this;return m()(p.a.mark(function e(){var n,r,i,o,a,s,u,f,h,v,m,b,g,y,x,_,T,S,P;return p.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.genes,r=n.groupId,i=n.common,o=void 0===i?{}:i,a=t.moduleData,s=a.plan,u=void 0===s?{}:s,f=a.insureds,h=void 0===f?[]:f,v=a.benefitDemo,m=void 0===v?{}:v,b=a.applicant,g=void 0===b?{}:b,y=h[0],x=void 0===y?{}:y,_=d()({},t.requestParams,{genes:{groupId:r,common:o,insured:x,plan:u,benefitDemo:m,applicant:g},tableId:t.tableId}),T=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return l()(t).join("_")},S=T(o)+"_"+T(x)+"_"+T(u)+"_"+T(g)+"_"+T(m)+"_"+t.tableId,!w[S]){e.next=9;break}return t.costTableInfo=w[S],e.abrupt("return",c.a.resolve(w[S]));case 9:return t.loading=!0,e.next=12,t.$fetch(t.requestUrl,_).then(function(e){var n=e.ret,r=e.data,i=e.errmsg;return 0===n?(t.costTableInfo=r,w[S]=r,t.$emit("changeCostTable",r),c.a.resolve(r)):(t.costTableInfo={},c.a.reject(i))}).catch(function(t){return c.a.reject(t||"系统繁忙,请稍后再试")});case 12:return P=e.sent,e.abrupt("return",P);case 14:case"end":return e.stop()}},e,t)}))()},getBenefitElems:function(){var t=this;return m()(p.a.mark(function e(){var n,r,i,o,s,u,l,f,h,v,m,b,g,y,w,T,S,P,E,O,C,k,j,A,I,D,R,M,L,W,V,N,G;return p.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.realAurora.getRenderData();case 2:if(n=e.sent,!(r=n.benefitDemo)||!r._elements){e.next=43;break}i=[],o=t.moduleData,s=o.applicant,u=void 0===s?{}:s,l=o.plan,f=void 0===l?{}:l,h=o.insureds,v=void 0===h?[]:h,m=v[0],b=void 0===m?{}:m,g=r._elements,y=Array.isArray(g),w=0,g=y?g:a()(g);case 9:if(!y){e.next=15;break}if(!(w>=g.length)){e.next=12;break}return e.abrupt("break",25);case 12:T=g[w++],e.next=19;break;case 15:if(w=g.next(),!w.done){e.next=18;break}return e.abrupt("break",25);case 18:T=w.value;case 19:if(S=T,1!=~~S.display||18!=~~S.type){e.next=23;break}return-1===t.costSlideVar&&(t.costSlideVar=~~S.defaultValue),e.abrupt("break",25);case 23:e.next=9;break;case 25:P=r._elements,E=Array.isArray(P),O=0,P=E?P:a()(P);case 26:if(!E){e.next=32;break}if(!(O>=P.length)){e.next=29;break}return e.abrupt("break",40);case 29:C=P[O++],e.next=36;break;case 32:if(O=P.next(),!O.done){e.next=35;break}return e.abrupt("break",40);case 35:C=O.value;case 36:k=C,1==~~k.display&&(j=t.costTableInfo.rows,A=t.costSlideRealVar,I=t.genesRules,D=t.curtime,R={visible:!0,range:k.attributeValues||[],type:k.type,key:k.key,site:k.site,attr:k.element_attr?JSON.parse(k.element_attr):{},value:k.defaultValue},Object(_.isString)(k.defaultValue)&&(M=17==~~k.type?k.defaultValue:Object(x.c)(k.defaultValue,t.realTheme),L=void 0!==R.attr.isHideEqZero&&"1"===R.attr.isHideEqZero?["0",0]:[],W=Object(x.d)({applicant:u,insured:b,plan:f,costSlideVar:A,costTable:j,genesValue:M,genesRules:I,dontValue:L,curtime:D}),"null"!==W?R.value=W:R.visible=!1),18==~~k.type&&(V=R.range,R.range[0]&&Object(_.isString)(R.range[0])&&(N=R.range[0],(G=Object(x.d)({applicant:u,insured:b,plan:f,costSlideVar:A,costTable:j,genesValue:N,genesRules:I,curtime:D}))&&(V=d()({},V,JSON.parse(G)))),R.range=[V],R.value=A+""),i.push(R));case 38:e.next=26;break;case 40:return t.loading=!1,t.benefitElems=i,e.abrupt("return",c.a.resolve(i));case 43:case"end":return e.stop()}},e,t)}))()},getCaseDemoInfo:function(){var t=this;return m()(p.a.mark(function e(){var n,r,o,s,u,l,f,h,v,m,b,g,y,_,w,T,S,P,E,O,C,k,j,A,I,D,R,M,L,W;return p.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.realAurora.getRenderData();case 2:if(n=e.sent,!(r=n.caseDemo)||!r._elements){e.next=49;break}o={caseData:{},caseEdge:{},caseAccount:[]},s={},u=t.moduleData,l=u.applicant,f=void 0===l?{}:l,h=u.plan,v=void 0===h?{}:h,m=u.insureds,b=void 0===m?[]:m,g=b[0],y=void 0===g?{}:g,_=r._elements,w=Array.isArray(_),T=0,_=w?_:a()(_);case 10:if(!w){e.next=16;break}if(!(T>=_.length)){e.next=13;break}return e.abrupt("break",47);case 13:S=_[T++],e.next=20;break;case 16:if(T=_.next(),!T.done){e.next=19;break}return e.abrupt("break",47);case 19:S=T.value;case 20:if(P=S,1!=~~P.display){e.next=45;break}if(E=t.costTableInfo.rows||[],O=t.costSlideRealVar,C=t.genesRules,k=P.defaultValue,j=t.curtime,A=Object(x.d)({applicant:f,insured:y,plan:v,costSlideVar:O,costTable:E,genesValue:k,genesRules:C,curtime:j}),I=P.element_attr?JSON.parse(P.element_attr):{},22!=~~P.type){e.next=35;break}D=d()({},I,{title:A,desc:P.name}),s[A]?s[A].caseType<D.title?D.display=!1:o.caseData[s[A].key].display=!1:s[A]={caseType:I.caseType,dotKey:P.key},o.caseData[P.key]=D,e.next=45;break;case 35:if(23!=~~P.type){e.next=44;break}if(R=I.bindStartPoint,M=I.bindEndPoint,L=I.caseType,R&&M&&L){e.next=40;break}return console.log("%c 产品演示模块传参错误,元素类型: "+P.type+", 参数:"+i()(I),"color:red"),e.abrupt("continue",45);case 40:W=I.bindStartPoint+"_"+I.bindEndPoint,o.caseEdge[W]={caseType:L},e.next=45;break;case 44:24==~~P.type&&o.caseAccount.push(d()({},I,{name:P.name,text:A}));case 45:e.next=10;break;case 47:return t.caseDemoInfo=o,e.abrupt("return",c.a.resolve(o));case 49:case"end":return e.stop()}},e,t)}))()},updatePage:function(){var t=this;return m()(p.a.mark(function e(){return p.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.getModuleData();case 2:return e.next=4,t.getCostTableInfo().catch(function(t){});case 4:t.getBenefitElems(),t.getCaseDemoInfo();case 6:case"end":return e.stop()}},e,t)}))()},initAurora:function(){var t=this;if(this.aurora)return this.realAurora=this.aurora,void(this.realAuroraRender=this.auroraRender);if(this.sourceModule){var e={pageName:"financeComponent",sourceData:this.sourceModule,nextTick:this.$nextTick,isCache:!1,render:function(e){var n=e.renderData;t.realAuroraRender=n}};this.realAurora=new window.Aurora,this.realAurora.init(e).catch(function(t){console.log(t)})}}},mounted:function(){this.initAurora()},watch:{auroraRender:function(){this.updatePage()},realAuroraRender:function(){this.updatePage()}}}},1015:function(t,e,n){"use strict";var r=n(1393),i=n(1396),o=n(1399),a=n(1402),s=n(1405),c={16:"benefitTitle",17:"benefitAmount",18:"benefitSlider",19:"benefitText",20:"benefitSelect"};e.a={name:"ActGoldBenefit",props:{elements:{type:Array,default:function(){return[]}},loading:{type:Boolean,default:!1},theme:{type:Object,default:function(){return{}}},isCps:{type:Boolean,default:!1}},components:{benefitTitle:r.a,benefitAmount:i.a,benefitSlider:o.a,benefitText:a.a,benefitSelect:s.a},computed:{type:function(){return this.elements.map(function(t){return Number(t.type)})},components:function(){return this.type.map(function(t){return c[t]})}},methods:{showTable:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];this.$emit.apply(this,["showTable"].concat(e))},updateAge:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];this.$emit.apply(this,["updateAge"].concat(e))},onElementChange:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];this.$emit.apply(this,["onElementChange"].concat(e))}}}},1016:function(t,e,n){"use strict";e.a={name:"ActGoldBenefitTitle",data:function(){return{trackName:{"/":"titleqm_sx","/my":"titleqm_xq","/addmore":"titleqm_zj"}}},props:{element:{type:Object,default:function(){return{}}},path:{type:String,default:""},theme:{type:Object,default:function(){return{}}}},computed:{hasQuesMask:function(){return this.element.attr&&this.element.attr.hasQuesMask&&~~this.element.attr.hasQuesMask}},methods:{showTable:function(){this.$emit("showTable")}}}},1017:function(t,e,n){"use strict";e.a={name:"ActGoldBenefitAmount",props:{element:{type:Object,default:function(){}},loading:{type:Boolean,default:!1}},filters:{fixedTwoNumber:function(t){return t?Math.round(100*t)/100:0}}}},1018:function(t,e,n){"use strict";var r=n(143),i=n.n(r);e.a={name:"ActGoldBenefitSlider",data:function(){return{windowX:0,listScroll:null,forbidScrollEnd:!1}},props:{element:{type:Object,default:function(){return{}}}},computed:{unit:function(){return~~this.element.range[0].unit||""},step:function(){return~~(this.element.attr&&this.element.attr.step)||5},min:function(){return~~this.element.range[0].min||~~(this.element.attr&&this.element.attr.min)||0},max:function(){return~~this.element.range[0].max||~~(this.element.attr&&this.element.attr.max)||100},chooseAge:function(){var t=~~this.element.value||80;return t<this.min?this.min:t>this.max?this.max:t},during:function(){return this.max-this.min+1},width:function(){return 12*(this.max-this.min)+1}},methods:{initScroll:function(){var t=this,e=document.querySelector(".wrapper"),n=12*(this.min-this.chooseAge);this.$refs.wrappercontent.style.width=~~this.windowX+this.width+"px",this.$nextTick(function(){var r=t;t.listScroll?(n>=0&&(t.$emit("updateAge",t.min),n=0),t.listScroll.refresh(),t.forbidScrollEnd=!0,t.listScroll.scrollTo(n,0,0)):(t.listScroll=new i.a(e,{probeType:3,startX:n,scrollX:!0,scrollY:!1}),r.listScroll.on("scrollEnd",function(t){if(r.forbidScrollEnd)return void(r.forbidScrollEnd=!1);var e=void 0;if(t.x>=0)e=r.min;else if(Math.abs(t.x)>=r.width)e=r.max;else{e=Math.floor(Math.abs(t.x)/12+1+r.min);var n=-12*Math.floor(Math.abs(t.x)/12+1);r.forbidScrollEnd=!0,r.listScroll.scrollTo(n,0,0)}r.$emit("updateAge",e)}))})}},mounted:function(){var t=this.$refs.chooseContainer&&this.$refs.chooseContainer.offsetWidth;this.windowX=t||window.innerWidth||document.body&&document.body.clientWidth,this.windowX=this.windowX>750?750:this.windowX,this.initScroll()},watch:{min:function(){this.initScroll()}}}},1019:function(t,e,n){"use strict";e.a={name:"ActGoldBenefitText",props:{element:{type:Object,default:function(){return{}}}}}},1020:function(t,e,n){"use strict";e.a={name:"ActGoldBenefitSelect",data:function(){return{index:0,picker:null,trackName:{"/":"level_sx","/my":"level_xq","/addmore":"level_zj"}}},props:{element:{type:Object,default:function(){return{}}},theme:{type:Object,default:function(){return{}}},path:{type:String,default:""}},methods:{exchange:function(){this.picker||(this.picker=this.$createPicker({data:[this.element.range],selectedIndex:[this.index],onSelect:this.selectExchange,confirmColor:this.theme&&this.theme.brandColor||""})),this.picker.show()},selectExchange:function(t){var e=t[0],n=this.element.range.findIndex(function(t){return t.value===e});this.index=n,this.$emit("onElementChange",[{key:this.element.key,value:e,site:this.element.site}])}},mounted:function(){var t=this.element.value,e=this.element.range.findIndex(function(e){return e.value===t});this.index=e}}},1021:function(t,e,n){"use strict";function r(t){return t?JSON.parse(a()(t)):t}function i(t){return void 0===t}var o=n(91),a=n.n(o);e.a={name:"ActGoldCaseDemo",data:function(){return{caseData:{},caseEdge:{},caseAccount:[],tempData:{},tempEdge:{},tempAccount:[],hasName:!1,minWidth:4.8,maxWidth:32,textExtraWidth:3.2,singleNumWidth:.6675,singleTextWidth:1.2,edgeOffset:.4,accountOffset:.3,errorOffset:-1.2,prevWidth:[0],residueWidth:[],repeatPoint:{}}},props:{caseInfo:{type:Object,default:function(){return{}}},loading:{type:Boolean,default:!1},isCps:{type:Boolean,default:!1},pxToRem:{type:Number,default:0}},computed:{infoPaddingTop:function(){return this.residueWidth.length<2?0:3*(this.residueWidth.length-1)},edgeColor:function(){return this.isCps?{1:"#72b2fc",2:"#ffab45",3:"#ff5a6e"}:{1:"#8c7fee",2:"#ffb229",3:"#ff5a6e"}},colorType:function(){return this.isCps?{1:"linear-gradient(90deg,#73b3fc,#499eff)",2:"linear-gradient(90deg,#ffab45,#ffa142)",3:"linear-gradient(90deg,#ff8695,#ff5a6e)"}:{1:"linear-gradient(90deg,#a59bff,#8b7fed)",2:"linear-gradient(90deg,#ffc85a,#ffae1f)",3:"linear-gradient(90deg,#ff8695,#ff5a6e)"}},matchUnit:function(){return this.pxToRem>0?"rem":"px"},matchRatio:function(){return this.pxToRem>0?10*this.pxToRem:10}},methods:{calTextWidth:function(t){var e=new RegExp(/[^0-9]/gi),n=t.text.replace(e,"").length,r=t.text.length-n;return n*this.singleNumWidth+r*this.singleTextWidth+this.textExtraWidth},calAccountWidth:function(t){for(var e=this.calTextWidth(t);;){if(!(e>this.residueWidth[t.row])){this.residueWidth[t.row]=(this.residueWidth[t.row]||this.maxWidth)-e;break}t.row+=1}return t.bindStartPoint&&t.bindEndPoint?e>this.minWidth?e:this.minWidth:"1"===t.caseType&&e>this.minWidth?e:this.minWidth},calAccountLeft:function(t,e){this.tempData[t.bindPoint]&&"1"===this.tempData[t.bindPoint].isEndPoint?t.right=-1:this.tempData[e.split("_")[1]]&&"1"===this.tempData[e.split("_")[1]].isEndPoint&&(t.right=0),i(this.repeatPoint[t.bindPoint])?(this.repeatPoint[t.bindPoint]={},t.left=this.accountOffset+(this.tempData[t.bindStartPoint].left||this.prevWidth[this.prevWidth.length-1]),this.repeatPoint[t.bindPoint].left=t.left,this.repeatPoint[t.bindPoint].count=1):(t.left=this.repeatPoint[t.bindPoint].left,this.repeatPoint[t.bindPoint].count++)},calEdgeLeft:function(t){this.tempEdge[t]&&i(this.tempEdge[t].left)&&(this.tempEdge[t].left=this.edgeOffset+this.prevWidth[this.prevWidth.length-1])},calEdgeWidth:function(t,e,n){this.tempEdge[e]&&(this.tempEdge[e].width||("1"===this.tempData[e.split("_")[1]].isEndPoint?this.tempEdge[e].right=0:this.tempEdge[e].width=n+("1"===t?this.errorOffset:1.5*this.errorOffset)))},calStartPointLeft:function(t){if(this.tempData[t.bindPoint]&&"1"===this.tempData[t.bindPoint].isEndPoint)return void(this.tempData[t.bindPoint].right=0);i(this.tempData[t.bindStartPoint].left)&&(this.tempData[t.bindStartPoint].left=this.prevWidth[this.prevWidth.length-1])},calEndPointLeft:function(t,e){i(this.tempData[t.bindEndPoint])||i(this.tempData[t.bindEndPoint].left)&&(this.tempData[t.bindEndPoint]&&"1"===this.tempData[t.bindEndPoint].isEndPoint?this.tempData[t.bindEndPoint].right=0:this.tempData[t.bindEndPoint].left=e+this.prevWidth[this.prevWidth.length-1]+("1"===t.caseType?this.errorOffset:1.5*this.errorOffset))},calPrevWidth:function(t,e,n){i(this.tempEdge[t])?"1"!==n.caseType||this.prevWidth[this.prevWidth.length-1]?this.hasName?this.prevWidth.push(this.prevWidth[this.prevWidth.length-1]):this.prevWidth.push(this.prevWidth[this.prevWidth.length-1]+this.minWidth):this.prevWidth.push(e):this.repeatPoint[n.bindPoint].count?this.prevWidth.push(this.tempEdge[t].width+this.minWidth):this.prevWidth.push(this.prevWidth[this.prevWidth.length-1]+this.minWidth)},calAccountBindEndPoint:function(t){var e=this.calTextWidth(t);this.tempData[t.bindPoint]&&"1"===this.tempData[t.bindPoint].isEndPoint&&(t.left=this.maxWidth-this.edgeOffset,t.textLeft=-e)},sortAccountDataByCaseType:function(){var t=[[],[],[]];this.tempAccount.forEach(function(e){return t[Number(e.caseType)-1].push(e)}),t.forEach(function(t){return t.sort(function(t,e){return t.order&&e.order?~~e.order-~~t.order:(e.bindEndPoint||"").length-(t.bindEndPoint||"").length})}),this.tempAccount=t.flat()},reducePrevWidth:function(t){!1===this.tempData[t.bindStartPoint].display&&(this.prevWidth[this.prevWidth.length-1]=this.prevWidth[this.prevWidth.length-1]-this.minWidth+.8)},accountHasName:function(t){t.name&&(this.hasName=!0)},calPosition:function(){var t=this;this.prevWidth=[0],this.residueWidth=[],this.repeatPoint={},this.tempData=r(this.caseInfo.caseData),this.tempEdge=r(this.caseInfo.caseEdge),this.tempAccount=r(this.caseInfo.caseAccount),this.sortAccountDataByCaseType(),this.tempAccount.forEach(function(e){var n=e.bindStartPoint+"_"+e.bindEndPoint;t.accountHasName(e);var r=t.calAccountWidth(e);t.reducePrevWidth(e),t.calAccountLeft(e,n),t.calEdgeWidth(e.caseType,n,r),t.calEdgeLeft(n),t.calStartPointLeft(e),t.calEndPointLeft(e,r),t.calAccountBindEndPoint(e),t.calPrevWidth(n,r,e)}),this.caseData=this.tempData,this.caseEdge=this.tempEdge,this.caseAccount=this.tempAccount}},beforeMount:function(){this.calPosition()},watch:{caseInfo:{handler:function(){this.calPosition()},deep:!0}}}},1022:function(t,e,n){"use strict";var r=n(143),i=n.n(r);e.a={name:"ActGoldCostTable",data:function(){return{scroller:null}},props:{visible:{type:Boolean,default:!1},tables:{type:Object,default:function(){return{}}},theme:{type:Object,default:function(){return{}}}},computed:{title:function(){return this.tables.title||"现金价值表"},styleOption:function(){return this.theme&&this.theme.brandColor?{backgroundColor:this.theme.brandColor}:{}}},methods:{showCol:function(t){var e=this.tables.display||[];return void 0!==e[t]&&1==~~e[t]},cancel:function(){this.$emit("cancelCost")},preventMove:function(t){t._prevent=!0}},watch:{visible:function(t){var e=this;if(t){var n=document.querySelector(".cost-scroll");n&&this.$nextTick(function(){e.scroller?e.scroller.refresh():e.scroller=new i.a(n,{})})}}}}},11:function(t,e){t.exports={}},111:function(t,e,n){t.exports={default:n(115),__esModule:!0}},115:function(t,e,n){n(48),n(44),t.exports=n(116)},116:function(t,e,n){var r=n(4),i=n(50);t.exports=n(2).getIterator=function(t){var e=i(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},12:function(t,e,n){var r=n(30),i=n(16);t.exports=function(t){return r(i(t))}},13:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},1388:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(22),i=n.n(r),o=n(1389);o.a.install=function(t){t.component(o.a.name,o.a),t.prototype.$createGoldFinance=i()(o.a,t)},e.default=o.a},1389:function(t,e,n){"use strict";function r(t){s||n(1390)}var i=n(1014),o=n(1416),a=n(8),s=!1,c=r,u=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-c1910e10",null);u.options.__file="src\\components\\GoldFinance\\src\\index.vue",e.a=u.exports},1390:function(t,e){},1391:function(t,e,n){"use strict";function r(t){s||n(1392)}var i=n(1015),o=n(1408),a=n(8),s=!1,c=r,u=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-fc6ba65e",null);u.options.__file="src\\components\\GoldFinance\\src\\components\\benefit\\index.vue",e.a=u.exports},1392:function(t,e){},1393:function(t,e,n){"use strict";function r(t){s||n(1394)}var i=n(1016),o=n(1395),a=n(8),s=!1,c=r,u=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-dd66223a",null);u.options.__file="src\\components\\GoldFinance\\src\\components\\benefit\\components\\title.vue",e.a=u.exports},1394:function(t,e){},1395:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return""!==t.element.value?n("p",[n("span",{domProps:{innerHTML:t._s(t.element.value)}}),t._v(" "),1===t.hasQuesMask?n("button",{staticClass:"question",style:{background:t.theme.brandColor},on:{click:t.showTable}},[t._v("\n 利益演示 >\n ")]):t._e()]):t._e()},i=[];r._withStripped=!0},1396:function(t,e,n){"use strict";function r(t){s||n(1397)}var i=n(1017),o=n(1398),a=n(8),s=!1,c=r,u=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-a0926146",null);u.options.__file="src\\components\\GoldFinance\\src\\components\\benefit\\components\\amount.vue",e.a=u.exports},1397:function(t,e){},1398:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("p",{staticClass:"price"},[t.loading?n("act-loading",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],attrs:{type:"cir3",color:"red"}}):[t._v("\n "+t._s(t._f("fixedTwoNumber")(t.element.value))+"\n ")]],2)},i=[];r._withStripped=!0},1399:function(t,e,n){"use strict";function r(t){s||n(1400)}var i=n(1018),o=n(1401),a=n(8),s=!1,c=r,u=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-46938b66",null);u.options.__file="src\\components\\GoldFinance\\src\\components\\benefit\\components\\slider.vue",e.a=u.exports},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},1400:function(t,e){},1401:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{ref:"chooseContainer",staticClass:"choose"},[n("div",{staticClass:"choose-container wrapper"},[n("div",{ref:"wrappercontent",staticClass:"choose-content"},t._l(t.during,function(e){return n("div",{key:e,staticClass:"choose-item"},[n("span",{staticClass:"number-item",class:{"number-part":(e+t.min-1)%t.step==0}}),t._v(" "),(e+t.min-1)%t.step==0?n("span",{staticClass:"number-text"},[t._v(t._s(e+t.min-1)+t._s(t.unit))]):t._e()])}),0)]),t._v(" "),n("div",{staticClass:"choose-value skin-bg"})])])},i=[];r._withStripped=!0},1402:function(t,e,n){"use strict";function r(t){s||n(1403)}var i=n(1019),o=n(1404),a=n(8),s=!1,c=r,u=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-69cf88f2",null);u.options.__file="src\\components\\GoldFinance\\src\\components\\benefit\\components\\text.vue",e.a=u.exports},1403:function(t,e){},1404:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("p",{staticClass:"desc",domProps:{innerHTML:t._s(t.element.value)}})])},i=[];r._withStripped=!0},1405:function(t,e,n){"use strict";function r(t){s||n(1406)}var i=n(1020),o=n(1407),a=n(8),s=!1,c=r,u=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-bc1e7bfe",null);u.options.__file="src\\components\\GoldFinance\\src\\components\\benefit\\components\\select.vue",e.a=u.exports},1406:function(t,e){},1407:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"gears"},[n("p",[t._v("\n "+t._s(t.element.range[t.index].textPrefix)+"\n "),n("span",{style:{color:t.theme.brandColor}},[t._v(" "+t._s(t.element.range[t.index].text)+" ")]),t._v("\n "+t._s(t.element.range[t.index].textSuffix)+"\n ")]),t._v(" "),n("a",{staticClass:"btn-exchange",style:{color:t.theme.brandColor,borderColor:t.theme.brandColor},attrs:{href:"javascript:;"},on:{click:t.exchange}},[t._v("切换")])])},i=[];r._withStripped=!0},1408:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"benefit",class:t.isCps?"cps":""},t._l(t.elements,function(e,r){return n(t.components[r],{key:r,tag:"component",class:{"visible-hide":!e.visible},attrs:{element:e,loading:t.loading,theme:t.theme,path:t.$route.path},on:{showTable:t.showTable,updateAge:t.updateAge,onElementChange:t.onElementChange}})}),1)},i=[];r._withStripped=!0},1409:function(t,e,n){"use strict";function r(t){s||n(1410)}var i=n(1021),o=n(1411),a=n(8),s=!1,c=r,u=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-1800f942",null);u.options.__file="src\\components\\GoldFinance\\src\\components\\caseDemo.vue",e.a=u.exports},1410:function(t,e){},1411:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"box",class:t.isCps?"cps":"",style:"padding-bottom: "+t.infoPaddingTop*t.matchRatio+t.matchUnit},[n("div",{staticClass:"main-line",style:t.hasName?"":"margin-left: "+3*t.matchRatio+t.matchUnit},[t._l(t.caseData,function(e,r){return n("div",{key:r,staticClass:"pay-point",style:"\n left: "+e.left*t.matchRatio+t.matchUnit+";\n right: "+e.right*t.matchRatio+t.matchUnit+";\n background: "+t.colorType[e.colorType]},[n("div",{directives:[{name:"show",rawName:"v-show",value:!(!1===e.display),expression:"!(item.display === false)"}],staticClass:"head",style:"1"===e.isEndPoint?"left: unset;right: -"+1*t.matchRatio+t.matchUnit:""},[n("div",{staticClass:"title"},[t._v("\n "+t._s(e.title)+"\n ")]),t._v(" "),n("div",{staticClass:"sub-title"},[t._v("\n "+t._s(e.desc)+"\n ")])])])}),t._v(" "),t._l(t.caseEdge,function(e,r){return n("div",{key:r,staticClass:"pay-line",style:"\n width: "+e.width*t.matchRatio+t.matchUnit+";\n left: "+e.left*t.matchRatio+t.matchUnit+";\n right: "+e.right*t.matchRatio+t.matchUnit+";\n border-top: 1px dotted "+t.edgeColor[e.caseType]})}),t._v(" "),t._l(t.caseAccount,function(e,r){return n("div",{key:r,staticClass:"desc",style:"\n left: "+(e.left.length?e.left*t.matchRatio:""+e.left*t.matchRatio+t.matchUnit)+";\n right: "+e.right*t.matchRatio+t.matchUnit},[e.text?[n("div",{staticClass:"desc-vertical-line",style:"\n height: "+(2+4*(e.row-1))*t.matchRatio+t.matchUnit+";\n margin-left: "+e.lineLeft*t.matchRatio+";\n margin-right: "+e.lineRight*t.matchRatio+t.matchUnit+";\n background: "+t.colorType[t.caseData[e.bindPoint].caseType]}),t._v(" "),n("div",{staticClass:"text",style:"\n margin-left: "+e.textLeft*t.matchRatio+t.matchUnit+";\n margin-right: "+e.textRight*t.matchRatio+t.matchUnit+";\n background: "+t.colorType[t.caseData[e.bindPoint].caseType]},[n("div",{class:{icon:!0,"icon-pay":"1"===t.caseData[e.bindPoint].caseType,"icon-get":"1"!==t.caseData[e.bindPoint].caseType}}),t._v(" "),n("span",[t._v(t._s(e.text))]),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:e.name,expression:"item.name"}],staticClass:"account"},[t._v(t._s(e.name))])])]:t._e()],2)})],2)])},i=[];r._withStripped=!0},1412:function(t,e,n){"use strict";function r(t){s||n(1413)}var i=n(1022),o=n(1414),a=n(8),s=!1,c=r,u=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-b6c9d8f6",null);u.options.__file="src\\components\\GoldFinance\\src\\components\\costTable.vue",e.a=u.exports},1413:function(t,e){},1414:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"layer-finance",on:{touchmove:t.preventMove}},[n("div",{staticClass:"layer-finance-mask",on:{click:function(e){return e.stopPropagation(),t.cancel(e)}}}),t._v(" "),n("div",{staticClass:"layer-finance-box layer_animate cost iphonex_padding"},[n("span",{staticClass:"layer-close",on:{click:function(e){return e.stopPropagation(),t.cancel(e)}}}),t._v(" "),n("p",{staticClass:"main-title"},[t._v("\n 保单利益演示表\n ")]),t._v(" "),n("p",{staticClass:"cost-title"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("p",{staticClass:"cost-table-head"},[t._v("\n 基于用户所选信息的保单利益演示如下:\n ")]),t._v(" "),t.tables.cols&&t.tables.rows&&t.tables.rows.length?[n("div",[n("div",{staticClass:"table-tr thead"},[t._l(t.tables.cols,function(e,r){return[t.showCol(r)?n("span",{key:"head-"+r,staticClass:"table-item",style:t.styleOption},[t._v("\n "+t._s(e)+"\n ")]):t._e()]})],2),t._v(" "),n("div",{staticClass:"cost-scroll"},[n("table",{staticClass:"table-body"},[t.tables.rows&&t.tables.rows.length?n("tbody",t._l(t.tables.rows,function(e,r){return n("tr",{key:"tr-"+r,staticClass:"table-tr "},[t._l(e,function(e,i){return[t.showCol(i)?n("td",{key:"td-"+r+"-"+i,staticClass:"table-item"},[t._v("\n "+t._s(Math.round(100*e)/100)+"\n ")]):t._e()]})],2)}),0):t._e()])])])]:[n("div",{staticClass:"no-data"},[t._v("\n 暂时无法展示\n ")])]],2)])},i=[];r._withStripped=!0},1415:function(t,e,n){"use strict";function r(t,e){if(/(\d{4})(\d{2})(\d{2})/.test(t)){var n=1e3*(e||window.g_curtime),r=new Date(n),i=new Date((t+"").replace(/(\d{4})(\d{2})(\d{2})/,"$1/$2/$3")),o=r.getDate()>=i.getDate()?0:-1,a=r.getMonth()+o>=i.getMonth()?0:-1,s={};return s.y=r.getFullYear()+a-i.getFullYear(),s.d=~~((r.getTime()-i.getTime())/36e5/24),s}}n.d(e,"d",function(){return u}),n.d(e,"c",function(){return l}),n.d(e,"a",function(){return f}),n.d(e,"b",function(){return d}),n.d(e,"e",function(){return h});var i=n(91),o=n.n(i),a=n(111),s=n.n(a),c=n(35),u=(n.n(c),function t(e){var n=e.applicant,i=e.insured,a=e.plan,u=e.costTable,l=e.costSlideVar,f=e.genesValue,d=e.genesRules,h=e.dontValue,p=void 0===h?[]:h,v=e.curtime,m=void 0===v?0:v;if(""===f)return f;var b=f.replace(/g\((\d+)\)/g,function(e,h){if(!d[h])return"";var v=d[h],b=v.detail,g=void 0===b?{}:b,y=v.source,x="";switch(~~y){case 1:if(!n||!n.hasOwnProperty(g.data)||""===n[g.data])break;if(13===g.transType){var _=r(n[g.data],m);_&&(x=_.y+(~~g.offsetYear||0))}else 0===g.transType&&(x=n[g.data]);break;case 2:if(!i.hasOwnProperty(g.data)||""===i[g.data])break;if(13===g.transType){var w=r(i[g.data],m);Object(c.isObject)(w)&&(x=w.y+(~~g.offsetYear||0))}else 0===g.transType&&(x=i[g.data]);break;case 3:if(!a.hasOwnProperty(g.data)||""===a[g.data])break;if(14===g.transType){if(!g.exdata||!g.exdata.birth)break;var T=t({applicant:n,insured:i,plan:a,costTable:u,costSlideVar:l,genesValue:g.exdata.birth,genesRules:d,curtime:m}),S=a[g.data].replace(/[^0-9]/gi,"");""!==T&&(x=~~T+~~S+(~~g.offsetYear||0))}else 0===g.transType&&(x=a[g.data]);break;case 8:if(!Object(c.isObject)(g.exdata)||!Object(c.isArray)(u)||u.length<1)break;var P=g.exdata.slideCol-1,E=g.exdata.targetCol-1;if(11===g.transType){var O=l;if(g.exdata.slideVar){var C=t({applicant:n,insured:i,plan:a,costTable:u,costSlideVar:l,genesValue:g.exdata.slideVar,genesRules:d,curtime:m});""!==C&&(O=~~C)}if(void 0===O)break;for(var k=u,j=Array.isArray(k),A=0,k=j?k:s()(k);;){var I;if(j){if(A>=k.length)break;I=k[A++]}else{if(A=k.next(),A.done)break;I=A.value}var D=I;if(~~D[P]===O){x=void 0!==D[E]?D[E]:"";break}}}else if(12===g.transType){var R=u[0],M=u[u.length-1];void 0!==R[E]&&void 0!==M[E]&&(x=o()({min:R[E],max:M[E]}))}break;case 9:0===g.transType&&(x=g.data||"")}return""===x&&console.log("%c 模板变量替换失败,模板参数: "+f+", 滑动参数:"+l,"color:red"),p.indexOf(x)>-1?(console.log("%c 替换结果命中dotValue,模板参数: "+f+", 替换结果:"+x,"color:red"),"##null##"):x});return/##null##/.test(b)?"null":b}),l=function(t,e){return""===t?t:t.replace(/g\((\d+)\)/g,function(t){return'<span style="color:'+e.brandColor+';">'+t+"</span>"})},f=function(t,e){var n=t.insureds&&t.insureds[0]||{},r=n.insured,i=n.plan,o=t.applicant;if(r)if(e.insureds){var a=e.insureds[0].insured,s=void 0===a?{}:a;for(var c in r)s.hasOwnProperty(c)||(s[c]=r[c])}else e.insureds=[],e.insureds.push(r);if(i)if(e.plan)for(var u in i)e.plan.hasOwnProperty(u)||(e.plan[u]=i[u]);else e.plan=i;if(o)if(e.applicant)for(var l in o)e.applicant.hasOwnProperty(l)||(e.applicant[l]=o[l]);else e.applicant=o;return p(e)},d=function(t,e){var n=t.insureds&&t.insureds[0]||{},r=n.insured,i=n.plan,o=t.applicant;if(i&&e.plan&&Object(c.isArray)(e.plan.productAttributes))for(var a=0;a<e.plan.productAttributes.length;a++){var s=e.plan.productAttributes[a],u=s.key.split(".").pop();i.hasOwnProperty(u)&&(s.defaultValue=i[u])}if(o&&e.applicant&&Object(c.isArray)(e.applicant.productAttributes))for(var l=0;l<e.applicant.productAttributes.length;l++){var f=e.applicant.productAttributes[l],d=f.key.split(".").pop();o.hasOwnProperty(d)&&(f.defaultValue=o[d])}if(r&&e.insureds&&e.insureds.subModules&&e.insureds.subModules[0]&&Object(c.isArray)(e.insureds.subModules[0].productAttributes))for(var h=0;h<e.insureds.subModules[0].productAttributes.length;h++){var p=e.insureds.subModules[0].productAttributes[h],v=p.key.split(".").pop();r.hasOwnProperty(v)&&(p.defaultValue=r[v])}return e},h=function(t,e){if(t&&t.length>0&&e)for(var n=t,r=Array.isArray(n),i=0,n=r?n:s()(n);;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var a=o;if("benefitDemo.gears"===a.key){var c=[].concat(t);return c.push({site:e.site,key:e.key,value:a.value}),c}}return t},p=function(t){return t.plan&&void 0!==t.plan.interest&&t.benefitDemo&&void 0!==t.benefitDemo.gears&&(t.plan.interest=t.benefitDemo.gears),t}},1416:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{},[t.benefitElems&&t.benefitElems.length>0?n("gold-benefit",{attrs:{elements:t.benefitElems,loading:t.loading,theme:t.realTheme,isCps:t.isCps},on:{showTable:t.onShowTable,updateAge:t.onBenefitChange,onElementChange:t.onElementChange}}):t._e(),t._v(" "),t.caseDemoInfo?t._t("caseHerder"):t._e(),t._v(" "),t.caseDemoInfo?n("gold-case-demo",{attrs:{pxToRem:t.pxToRem,isCps:t.isCps,loading:t.loading,caseInfo:t.caseDemoInfo}}):t._e(),t._v(" "),t.caseDemoInfo?t._t("caseFooter"):t._e(),t._v(" "),n("gold-cost-table",{attrs:{visible:t.costTableVisible,tables:t.costTableInfo,theme:t.realTheme},on:{cancelCost:function(e){t.costTableVisible=!1}}})],2)},i=[];r._withStripped=!0},143:function(t,e){t.exports=n},15:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},157:function(t,e,n){t.exports=n(181)},158:function(t,e,n){"use strict";e.__esModule=!0;var r=n(66),i=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t){return function(){var e=t.apply(this,arguments);return new i.default(function(t,n){function r(o,a){try{var s=e[o](a),c=s.value}catch(t){return void n(t)}if(!s.done)return i.default.resolve(c).then(function(t){r("next",t)},function(t){r("throw",t)});t(c)}return r("next")})}}},16:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},17:function(t,e,n){var r=n(20);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},18:function(t,e){t.exports=!0},181:function(t,e,n){var r=function(){return this}()||Function("return this")(),i=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,o=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=n(182),i)r.regeneratorRuntime=o;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}},182:function(t,e){!function(e){"use strict";function n(t,e,n,r){var o=e&&e.prototype instanceof i?e:i,a=Object.create(o.prototype),s=new h(r||[]);return a._invoke=u(t,n,s),a}function r(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function i(){}function o(){}function a(){}function s(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function c(t){function e(n,i,o,a){var s=r(t[n],t,i);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&g.call(u,"__await")?Promise.resolve(u.__await).then(function(t){e("next",t,o,a)},function(t){e("throw",t,o,a)}):Promise.resolve(u).then(function(t){c.value=t,o(c)},a)}a(s.arg)}function n(t,n){function r(){return new Promise(function(r,i){e(t,n,r,i)})}return i=i?i.then(r,r):r()}var i;this._invoke=n}function u(t,e,n){var i=P;return function(o,a){if(i===O)throw new Error("Generator is already running");if(i===C){if("throw"===o)throw a;return v()}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var c=l(s,n);if(c){if(c===k)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===P)throw i=C,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=O;var u=r(t,e,n);if("normal"===u.type){if(i=n.done?C:E,u.arg===k)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(i=C,n.method="throw",n.arg=u.arg)}}}function l(t,e){var n=t.iterator[e.method];if(n===m){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=m,l(t,e),"throw"===e.method))return k;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return k}var i=r(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,k;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=m),e.delegate=null,k):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,k)}function f(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function d(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function h(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(f,this),this.reset(!0)}function p(t){if(t){var e=t[x];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(g.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=m,e.done=!0,e};return r.next=r}}return{next:v}}function v(){return{value:m,done:!0}}var m,b=Object.prototype,g=b.hasOwnProperty,y="function"==typeof Symbol?Symbol:{},x=y.iterator||"@@iterator",_=y.asyncIterator||"@@asyncIterator",w=y.toStringTag||"@@toStringTag",T="object"==typeof t,S=e.regeneratorRuntime;if(S)return void(T&&(t.exports=S));S=e.regeneratorRuntime=T?t.exports:{},S.wrap=n;var P="suspendedStart",E="suspendedYield",O="executing",C="completed",k={},j={};j[x]=function(){return this};var A=Object.getPrototypeOf,I=A&&A(A(p([])));I&&I!==b&&g.call(I,x)&&(j=I);var D=a.prototype=i.prototype=Object.create(j);o.prototype=D.constructor=a,a.constructor=o,a[w]=o.displayName="GeneratorFunction",S.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===o||"GeneratorFunction"===(e.displayName||e.name))},S.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,a):(t.__proto__=a,w in t||(t[w]="GeneratorFunction")),t.prototype=Object.create(D),t},S.awrap=function(t){return{__await:t}},s(c.prototype),c.prototype[_]=function(){return this},S.AsyncIterator=c,S.async=function(t,e,r,i){var o=new c(n(t,e,r,i));return S.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},s(D),D[w]="Generator",D[x]=function(){return this},D.toString=function(){return"[object Generator]"},S.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},S.values=p,h.prototype={constructor:h,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=m,this.done=!1,this.delegate=null,this.method="next",this.arg=m,this.tryEntries.forEach(d),!t)for(var e in this)"t"===e.charAt(0)&&g.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=m)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){function e(e,r){return o.type="throw",o.arg=t,n.next=e,r&&(n.method="next",n.arg=m),!!r}if(this.done)throw t;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var a=g.call(i,"catchLoc"),s=g.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&g.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,k):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),k},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),d(n),k}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;d(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:p(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=m),k}}}(function(){return this}()||Function("return this")())},19:function(t,e,n){var r=n(27)("keys"),i=n(24);t.exports=function(t){return r[t]||(r[t]=i(t))}},2:function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},20:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},21:function(t,e,n){var r=n(6),i=n(0).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},22:function(e,n){e.exports=t},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},24:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},25:function(t,e,n){var r=n(9).f,i=n(7),o=n(1)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},26:function(t,e,n){var r=n(37),i=n(28);t.exports=Object.keys||function(t){return r(t,i)}},27:function(t,e,n){var r=n(2),i=n(0),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(18)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},28:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},29:function(t,e,n){var r=n(16);t.exports=function(t){return Object(r(t))}},3:function(t,e,n){t.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e,n){var r=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},31:function(t,e,n){var r=n(15),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},33:function(t,e,n){"use strict";var r=n(18),i=n(10),o=n(46),a=n(5),s=n(11),c=n(52),u=n(25),l=n(54),f=n(1)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,p,v,m,b){c(n,e,p);var g,y,x,_=function(t){if(!d&&t in P)return P[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},w=e+" Iterator",T="values"==v,S=!1,P=t.prototype,E=P[f]||P["@@iterator"]||v&&P[v],O=E||_(v),C=v?T?_("entries"):O:void 0,k="Array"==e?P.entries||E:E;if(k&&(x=l(k.call(new t)))!==Object.prototype&&x.next&&(u(x,w,!0),r||"function"==typeof x[f]||a(x,f,h)),T&&E&&"values"!==E.name&&(S=!0,O=function(){return E.call(this)}),r&&!b||!d&&!S&&P[f]||a(P,f,O),s[e]=O,s[w]=h,v)if(g={values:T?O:_("values"),keys:m?O:_("keys"),entries:C},b)for(y in g)y in P||o(P,y,g[y]);else i(i.P+i.F*(d||S),e,g);return g}},34:function(t,e,n){var r=n(6);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},35:function(t,n){t.exports=e},36:function(t,e,n){t.exports=!n(3)&&!n(13)(function(){return 7!=Object.defineProperty(n(21)("div"),"a",{get:function(){return 7}}).a})},37:function(t,e,n){var r=n(7),i=n(12),o=n(39)(!1),a=n(19)("IE_PROTO");t.exports=function(t,e){var n,s=i(t),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;e.length>c;)r(s,n=e[c++])&&(~o(u,n)||u.push(n));return u}},38:function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},39:function(t,e,n){var r=n(12),i=n(31),o=n(40);t.exports=function(t){return function(e,n,a){var s,c=r(e),u=i(c.length),l=o(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},4:function(t,e,n){var r=n(6);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},40:function(t,e,n){var r=n(15),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},41:function(t,e,n){var r=n(14),i=n(1)("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),i))?n:o?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},42:function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=i(e),this.reject=i(n)}var i=n(20);t.exports.f=function(t){return new r(t)}},43:function(t,e){e.f={}.propertyIsEnumerable},44:function(t,e,n){"use strict";var r=n(51)(!0);n(33)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},45:function(t,e,n){var r=n(4),i=n(53),o=n(28),a=n(19)("IE_PROTO"),s=function(){},c=function(){var t,e=n(21)("iframe"),r=o.length;for(e.style.display="none",n(38).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=c(),void 0===e?n:i(n,e)}},46:function(t,e,n){t.exports=n(5)},48:function(t,e,n){n(59);for(var r=n(0),i=n(5),o=n(11),a=n(1)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<s.length;c++){var u=s[c],l=r[u],f=l&&l.prototype;f&&!f[a]&&i(f,a,u),o[u]=o.Array}},49:function(t,e){e.f=Object.getOwnPropertySymbols},5:function(t,e,n){var r=n(9),i=n(23);t.exports=n(3)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},50:function(t,e,n){var r=n(41),i=n(1)("iterator"),o=n(11);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},51:function(t,e,n){var r=n(15),i=n(16);t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),c=r(n),u=s.length;return c<0||c>=u?t?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}}},52:function(t,e,n){"use strict";var r=n(45),i=n(23),o=n(25),a={};n(5)(a,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},53:function(t,e,n){var r=n(9),i=n(4),o=n(26);t.exports=n(3)?Object.defineProperties:function(t,e){i(t);for(var n,a=o(e),s=a.length,c=0;s>c;)r.f(t,n=a[c++],e[n]);return t}},54:function(t,e,n){var r=n(7),i=n(29),o=n(19)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},58:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},59:function(t,e,n){"use strict";var r=n(60),i=n(58),o=n(11),a=n(12);t.exports=n(33)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,n):"values"==e?i(0,t[n]):i(0,[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},60:function(t,e){t.exports=function(){}},61:function(t,e,n){var r=n(4),i=n(20),o=n(1)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[o])?e:i(n)}},62:function(t,e,n){var r,i,o,a=n(17),s=n(81),c=n(38),u=n(21),l=n(0),f=l.process,d=l.setImmediate,h=l.clearImmediate,p=l.MessageChannel,v=l.Dispatch,m=0,b={},g=function(){var t=+this;if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e()}},y=function(t){g.call(t.data)};d&&h||(d=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return b[++m]=function(){s("function"==typeof t?t:Function(t),e)},r(m),m},h=function(t){delete b[t]},"process"==n(14)(f)?r=function(t){f.nextTick(a(g,t,1))}:v&&v.now?r=function(t){v.now(a(g,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=y,r=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",y,!1)):r="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),g.call(t)}}:function(t){setTimeout(a(g,t,1),0)}),t.exports={set:d,clear:h}},63:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},64:function(t,e,n){var r=n(4),i=n(6),o=n(42);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},65:function(t,e,n){t.exports={default:n(67),__esModule:!0}},66:function(t,e,n){t.exports={default:n(79),__esModule:!0}},660:function(t,e,n){t.exports={default:n(661),__esModule:!0}},661:function(t,e,n){n(662),t.exports=n(2).Object.values},662:function(t,e,n){var r=n(10),i=n(663)(!1);r(r.S,"Object",{values:function(t){return i(t)}})},663:function(t,e,n){var r=n(3),i=n(26),o=n(12),a=n(43).f;t.exports=function(t){return function(e){for(var n,s=o(e),c=i(s),u=c.length,l=0,f=[];u>l;)n=c[l++],r&&!a.call(s,n)||f.push(t?[n,s[n]]:s[n]);return f}}},67:function(t,e,n){n(68),t.exports=n(2).Object.assign},68:function(t,e,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(69)})},69:function(t,e,n){"use strict";var r=n(3),i=n(26),o=n(49),a=n(43),s=n(29),c=n(30),u=Object.assign;t.exports=!u||n(13)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=s(t),u=arguments.length,l=1,f=o.f,d=a.f;u>l;)for(var h,p=c(arguments[l++]),v=f?i(p).concat(f(p)):i(p),m=v.length,b=0;m>b;)h=v[b++],r&&!d.call(p,h)||(n[h]=p[h]);return n}:u},7:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},70:function(t,e){},72:function(t,e,n){var r=n(4);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},73:function(t,e,n){var r=n(11),i=n(1)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},74:function(t,e,n){var r=n(17),i=n(72),o=n(73),a=n(4),s=n(31),c=n(50),u={},l={},e=t.exports=function(t,e,n,f,d){var h,p,v,m,b=d?function(){return t}:c(t),g=r(n,f,e?2:1),y=0;if("function"!=typeof b)throw TypeError(t+" is not iterable!");if(o(b)){for(h=s(t.length);h>y;y++)if((m=e?g(a(p=t[y])[0],p[1]):g(t[y]))===u||m===l)return m}else for(v=b.call(t);!(p=v.next()).done;)if((m=i(v,g,p.value,e))===u||m===l)return m};e.BREAK=u,e.RETURN=l},75:function(t,e,n){var r=n(1)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},t(o)}catch(t){}return n}},76:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},77:function(t,e,n){var r=n(5);t.exports=function(t,e,n){for(var i in e)n&&t[i]?t[i]=e[i]:r(t,i,e[i]);return t}},78:function(t,e,n){"use strict";var r=n(0),i=n(2),o=n(9),a=n(3),s=n(1)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:r[t];a&&e&&!e[s]&&o.f(e,s,{configurable:!0,get:function(){return this}})}},79:function(t,e,n){n(70),n(44),n(48),n(80),n(84),n(85),t.exports=n(2).Promise},8:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,s){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId=o);var l;if(a?(l=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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var f=u.render;u.render=function(t,e){return l.call(e),f(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:u}}e.a=r},80:function(t,e,n){"use strict";var r,i,o,a,s=n(18),c=n(0),u=n(17),l=n(41),f=n(10),d=n(6),h=n(20),p=n(76),v=n(74),m=n(61),b=n(62).set,g=n(82)(),y=n(42),x=n(63),_=n(83),w=n(64),T=c.TypeError,S=c.process,P=S&&S.versions,E=P&&P.v8||"",O=c.Promise,C="process"==l(S),k=function(){},j=i=y.f,A=!!function(){try{var t=O.resolve(1),e=(t.constructor={})[n(1)("species")]=function(t){t(k,k)};return(C||"function"==typeof PromiseRejectionEvent)&&t.then(k)instanceof e&&0!==E.indexOf("6.6")&&-1===_.indexOf("Chrome/66")}catch(t){}}(),I=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},D=function(t,e){if(!t._n){t._n=!0;var n=t._c;g(function(){for(var r=t._v,i=1==t._s,o=0;n.length>o;)!function(e){var n,o,a,s=i?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{s?(i||(2==t._h&&L(t),t._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),a=!0)),n===e.promise?u(T("Promise-chain cycle")):(o=I(n))?o.call(n,c,u):c(n)):u(r)}catch(t){l&&!a&&l.exit(),u(t)}}(n[o++]);t._c=[],t._n=!1,e&&!t._h&&R(t)})}},R=function(t){b.call(c,function(){var e,n,r,i=t._v,o=M(t);if(o&&(e=x(function(){C?S.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=C||M(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},M=function(t){return 1!==t._h&&0===(t._a||t._c).length},L=function(t){b.call(c,function(){var e;C?S.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},W=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),D(e,!0))},V=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw T("Promise can't be resolved itself");(e=I(t))?g(function(){var r={_w:n,_d:!1};try{e.call(t,u(V,r,1),u(W,r,1))}catch(t){W.call(r,t)}}):(n._v=t,n._s=1,D(n,!1))}catch(t){W.call({_w:n,_d:!1},t)}}};A||(O=function(t){p(this,O,"Promise","_h"),h(t),r.call(this);try{t(u(V,this,1),u(W,this,1))}catch(t){W.call(this,t)}},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=n(77)(O.prototype,{then:function(t,e){var n=j(m(this,O));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=C?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&D(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=u(V,t,1),this.reject=u(W,t,1)},y.f=j=function(t){return t===O||t===a?new o(t):i(t)}),f(f.G+f.W+f.F*!A,{Promise:O}),n(25)(O,"Promise"),n(78)("Promise"),a=n(2).Promise,f(f.S+f.F*!A,"Promise",{reject:function(t){var e=j(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(s||!A),"Promise",{resolve:function(t){return w(s&&this===a?O:this,t)}}),f(f.S+f.F*!(A&&n(75)(function(t){O.all(t).catch(k)})),"Promise",{all:function(t){var e=this,n=j(e),r=n.resolve,i=n.reject,o=x(function(){var n=[],o=0,a=1;v(t,!1,function(t){var s=o++,c=!1;n.push(void 0),a++,e.resolve(t).then(function(t){c||(c=!0,n[s]=t,--a||r(n))},i)}),--a||r(n)});return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=j(e),r=n.reject,i=x(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},81:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},82:function(t,e,n){var r=n(0),i=n(62).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==n(14)(a);t.exports=function(){var t,e,n,u=function(){var r,i;for(c&&(r=a.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);n=function(){l.then(u)}}else n=function(){i.call(r,u)};else{var f=!0,d=document.createTextNode("");new o(u).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},83:function(t,e,n){var r=n(0),i=r.navigator;t.exports=i&&i.userAgent||""},84:function(t,e,n){"use strict";var r=n(10),i=n(2),o=n(0),a=n(61),s=n(64);r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then(function(){return n})}:t,n?function(n){return s(e,t()).then(function(){throw n})}:t)}})},85:function(t,e,n){"use strict";var r=n(10),i=n(42),o=n(63);r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},87:function(t,e,n){"use strict";e.__esModule=!0;var r=n(65),i=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=i.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},9:function(t,e,n){var r=n(4),i=n(36),o=n(34),a=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},91:function(t,e,n){t.exports={default:n(96),__esModule:!0}},96:function(t,e,n){var r=n(2),i=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return i.stringify.apply(i,arguments)}}})});
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/BScroll/index.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/BScroll/index.js"],e):"object"==typeof exports?exports.GoldFinance=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/BScroll/index.js")):t.GoldFinance=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/BScroll/index.js"])}("undefined"!=typeof self?self:this,function(t,e,n){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get: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,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=1388)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},1:function(t,e,n){var r=n(27)("wks"),i=n(24),o=n(0).Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},10:function(t,e,n){var r=n(0),i=n(2),o=n(17),a=n(5),s=n(7),c=function(t,e,n){var u,l,f,d=t&c.F,h=t&c.G,p=t&c.S,v=t&c.P,m=t&c.B,b=t&c.W,g=h?i:i[e]||(i[e]={}),y=g.prototype,x=h?r:p?r[e]:(r[e]||{}).prototype;h&&(n=e);for(u in n)(l=!d&&x&&void 0!==x[u])&&s(g,u)||(f=l?x[u]:n[u],g[u]=h&&"function"!=typeof x[u]?n[u]:m&&l?o(f,r):b&&x[u]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((g.virtual||(g.virtual={}))[u]=f,t&c.R&&y&&!y[u]&&a(y,u,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},1014:function(t,e,n){"use strict";var r=n(90),i=n.n(r),o=n(111),a=n.n(o),s=n(66),c=n.n(s),u=n(660),l=n.n(u),f=n(87),d=n.n(f),h=n(157),p=n.n(h),v=n(158),m=n.n(v),b=n(1391),g=n(1409),y=n(1412),x=n(1415),_=n(35),w=(n.n(_),{});e.a={name:"ActGoldFinance",components:{GoldBenefit:b.a,GoldCaseDemo:g.a,GoldCostTable:y.a},data:function(){return{realAurora:null,realAuroraRender:null,loading:!0,benefitElems:null,caseDemoInfo:null,costTableInfo:{},costSlideVar:-1,costTableVisible:!1,moduleData:null}},props:{financeInfo:{type:Object,default:function(){return{}}},brandColor:{type:String,default:""},requestUrl:{type:String,default:"/buy/getAnnuityCostTable"},requestParams:{type:Object,default:function(){return{}}},pxToRem:{type:Number,default:0},aurora:{type:Object,default:function(){return null}},auroraRender:{type:Object,default:function(){return null}}},computed:{realTheme:function(){var t={brandColor:window.g_agentShowCfg&&window.g_agentShowCfg.brandcolor||"#8c7fee",btnColor:window.g_agentShowCfg&&window.g_agentShowCfg.btncolor||"#8c7fee"};return this.brandColor&&(t.brandColor=this.brandColor,t.btnColor=this.brandColor),t},isCps:function(){return"#8c7fee"!==this.realTheme.brandColor},curtime:function(){return this.financeInfo&&this.financeInfo.curtime},genes:function(){return this.financeInfo&&this.financeInfo.genes},sourceModule:function(){if(this.financeInfo&&this.financeInfo.insureAttribute&&this.financeInfo.insureAttribute.attrModules){return{insureAttribute:{attrModules:Object(x.b)(this.genes,this.financeInfo.insureAttribute.attrModules)}}}return null},tableId:function(){return this.financeInfo&&this.financeInfo.tableId?this.financeInfo.tableId:this.genes&&this.genes.tableId?this.genes.tableId:this.financeInfo&&this.financeInfo.insureAttribute&&this.financeInfo.insureAttribute.insuranceInfo&&this.financeInfo.insureAttribute.insuranceInfo.costTables&&this.financeInfo.insureAttribute.insuranceInfo.costTables.tables&&this.financeInfo.insureAttribute.insuranceInfo.costTables.tables[0]&&this.financeInfo.insureAttribute.insuranceInfo.costTables.tables[0].id?this.financeInfo.insureAttribute.insuranceInfo.costTables.tables[0].id:""},annuity:function(){return this.financeInfo&&this.financeInfo.annuity},genesRules:function(){return this.annuity&&this.annuity.tplVariables||{}},costSlideMin:function(){var t=this.costTableInfo.rows&&this.costTableInfo.rows[0];return~~(t&&t[1])||0},costSlideMax:function(){var t=this.costTableInfo.rows&&this.costTableInfo.rows[this.costTableInfo.rows.length-1];return~~(t&&t[1])||106},costSlideRealVar:function(){return this.costSlideVar<this.costSlideMin?this.costSlideMin:this.costSlideVar>this.costSlideMax?this.costSlideMax:this.costSlideVar}},methods:{onShowTable:function(){this.costTableVisible=!0},onBenefitChange:function(t){this.costSlideVar=t,this.getBenefitElems(),this.getCaseDemoInfo()},onElementChange:function(t){var e=this;return m()(p.a.mark(function n(){var r,i;return p.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.realAurora.getSiteData({key:"plan.interest",site:["plan"],allAttr:!0});case 2:r=n.sent,i=Object(x.e)(t,r),e.realAurora.changeValues({changeData:i}).catch(function(t){Object(_.isError)(t)&&e.$throw(t)});case 5:case"end":return n.stop()}},n,e)}))()},getModuleData:function(){var t=this;return m()(p.a.mark(function e(){var n;return p.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.realAurora.getModulesData({cleanKey:!0});case 2:n=e.sent,t.moduleData=Object(x.a)(t.genes,n);case 4:case"end":return e.stop()}},e,t)}))()},getCostTableInfo:function(){var t=this;return m()(p.a.mark(function e(){var n,r,i,o,a,s,u,f,h,v,m,b,g,y,x,_,T,S,P;return p.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.genes,r=n.groupId,i=n.common,o=void 0===i?{}:i,a=t.moduleData,s=a.plan,u=void 0===s?{}:s,f=a.insureds,h=void 0===f?[]:f,v=a.benefitDemo,m=void 0===v?{}:v,b=a.applicant,g=void 0===b?{}:b,y=h[0],x=void 0===y?{}:y,_=d()({},t.requestParams,{genes:{groupId:r,common:o,insured:x,plan:u,benefitDemo:m,applicant:g},tableId:t.tableId}),T=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return l()(t).join("_")},S=T(o)+"_"+T(x)+"_"+T(u)+"_"+T(g)+"_"+T(m)+"_"+t.tableId,!w[S]){e.next=9;break}return t.costTableInfo=w[S],e.abrupt("return",c.a.resolve(w[S]));case 9:return t.loading=!0,e.next=12,t.$fetch(t.requestUrl,_).then(function(e){var n=e.ret,r=e.data,i=e.errmsg;return 0===n?(t.costTableInfo=r,w[S]=r,t.$emit("changeCostTable",r),c.a.resolve(r)):(t.costTableInfo={},c.a.reject(i))}).catch(function(t){return c.a.reject(t||"系统繁忙,请稍后再试")});case 12:return P=e.sent,e.abrupt("return",P);case 14:case"end":return e.stop()}},e,t)}))()},getBenefitElems:function(){var t=this;return m()(p.a.mark(function e(){var n,r,i,o,s,u,l,f,h,v,m,b,g,y,w,T,S,P,E,O,C,k,j,A,I,D,R,M,L,W,V,N,G;return p.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.realAurora.getRenderData();case 2:if(n=e.sent,!(r=n.benefitDemo)||!r._elements){e.next=43;break}i=[],o=t.moduleData,s=o.applicant,u=void 0===s?{}:s,l=o.plan,f=void 0===l?{}:l,h=o.insureds,v=void 0===h?[]:h,m=v[0],b=void 0===m?{}:m,g=r._elements,y=Array.isArray(g),w=0,g=y?g:a()(g);case 9:if(!y){e.next=15;break}if(!(w>=g.length)){e.next=12;break}return e.abrupt("break",25);case 12:T=g[w++],e.next=19;break;case 15:if(w=g.next(),!w.done){e.next=18;break}return e.abrupt("break",25);case 18:T=w.value;case 19:if(S=T,1!=~~S.display||18!=~~S.type){e.next=23;break}return-1===t.costSlideVar&&(t.costSlideVar=~~S.defaultValue),e.abrupt("break",25);case 23:e.next=9;break;case 25:P=r._elements,E=Array.isArray(P),O=0,P=E?P:a()(P);case 26:if(!E){e.next=32;break}if(!(O>=P.length)){e.next=29;break}return e.abrupt("break",40);case 29:C=P[O++],e.next=36;break;case 32:if(O=P.next(),!O.done){e.next=35;break}return e.abrupt("break",40);case 35:C=O.value;case 36:k=C,1==~~k.display&&(j=t.costTableInfo.rows,A=t.costSlideRealVar,I=t.genesRules,D=t.curtime,R={visible:!0,range:k.attributeValues||[],type:k.type,key:k.key,site:k.site,attr:k.element_attr?JSON.parse(k.element_attr):{},value:k.defaultValue},Object(_.isString)(k.defaultValue)&&(M=17==~~k.type?k.defaultValue:Object(x.c)(k.defaultValue,t.realTheme),L=void 0!==R.attr.isHideEqZero&&"1"===R.attr.isHideEqZero?["0",0]:[],W=Object(x.d)({applicant:u,insured:b,plan:f,costSlideVar:A,costTable:j,genesValue:M,genesRules:I,dontValue:L,curtime:D}),"null"!==W?R.value=W:R.visible=!1),18==~~k.type&&(V=R.range,R.range[0]&&Object(_.isString)(R.range[0])&&(N=R.range[0],(G=Object(x.d)({applicant:u,insured:b,plan:f,costSlideVar:A,costTable:j,genesValue:N,genesRules:I,curtime:D}))&&(V=d()({},V,JSON.parse(G)))),R.range=[V],R.value=A+""),i.push(R));case 38:e.next=26;break;case 40:return t.loading=!1,t.benefitElems=i,e.abrupt("return",c.a.resolve(i));case 43:case"end":return e.stop()}},e,t)}))()},getCaseDemoInfo:function(){var t=this;return m()(p.a.mark(function e(){var n,r,o,s,u,l,f,h,v,m,b,g,y,_,w,T,S,P,E,O,C,k,j,A,I,D,R,M,L,W;return p.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.realAurora.getRenderData();case 2:if(n=e.sent,!(r=n.caseDemo)||!r._elements){e.next=49;break}o={caseData:{},caseEdge:{},caseAccount:[]},s={},u=t.moduleData,l=u.applicant,f=void 0===l?{}:l,h=u.plan,v=void 0===h?{}:h,m=u.insureds,b=void 0===m?[]:m,g=b[0],y=void 0===g?{}:g,_=r._elements,w=Array.isArray(_),T=0,_=w?_:a()(_);case 10:if(!w){e.next=16;break}if(!(T>=_.length)){e.next=13;break}return e.abrupt("break",47);case 13:S=_[T++],e.next=20;break;case 16:if(T=_.next(),!T.done){e.next=19;break}return e.abrupt("break",47);case 19:S=T.value;case 20:if(P=S,1!=~~P.display){e.next=45;break}if(E=t.costTableInfo.rows||[],O=t.costSlideRealVar,C=t.genesRules,k=P.defaultValue,j=t.curtime,A=Object(x.d)({applicant:f,insured:y,plan:v,costSlideVar:O,costTable:E,genesValue:k,genesRules:C,curtime:j}),I=P.element_attr?JSON.parse(P.element_attr):{},22!=~~P.type){e.next=35;break}D=d()({},I,{title:A,desc:P.name}),s[A]?s[A].caseType<D.title?D.display=!1:o.caseData[s[A].key].display=!1:s[A]={caseType:I.caseType,dotKey:P.key},o.caseData[P.key]=D,e.next=45;break;case 35:if(23!=~~P.type){e.next=44;break}if(R=I.bindStartPoint,M=I.bindEndPoint,L=I.caseType,R&&M&&L){e.next=40;break}return console.log("%c 产品演示模块传参错误,元素类型: "+P.type+", 参数:"+i()(I),"color:red"),e.abrupt("continue",45);case 40:W=I.bindStartPoint+"_"+I.bindEndPoint,o.caseEdge[W]={caseType:L},e.next=45;break;case 44:24==~~P.type&&o.caseAccount.push(d()({},I,{name:P.name,text:A}));case 45:e.next=10;break;case 47:return t.caseDemoInfo=o,e.abrupt("return",c.a.resolve(o));case 49:case"end":return e.stop()}},e,t)}))()},updatePage:function(){var t=this;return m()(p.a.mark(function e(){return p.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.getModuleData();case 2:return e.next=4,t.getCostTableInfo().catch(function(t){});case 4:t.getBenefitElems(),t.getCaseDemoInfo();case 6:case"end":return e.stop()}},e,t)}))()},initAurora:function(){var t=this;if(this.aurora)return this.realAurora=this.aurora,void(this.realAuroraRender=this.auroraRender);if(this.sourceModule){var e={pageName:"financeComponent",sourceData:this.sourceModule,nextTick:this.$nextTick,isCache:!1,render:function(e){var n=e.renderData;t.realAuroraRender=n}};this.realAurora=new window.Aurora,this.realAurora.init(e).catch(function(t){console.log(t)})}}},mounted:function(){this.initAurora()},watch:{auroraRender:function(){this.updatePage()},realAuroraRender:function(){this.updatePage()}}}},1015:function(t,e,n){"use strict";var r=n(1393),i=n(1396),o=n(1399),a=n(1402),s=n(1405),c={16:"benefitTitle",17:"benefitAmount",18:"benefitSlider",19:"benefitText",20:"benefitSelect"};e.a={name:"ActGoldBenefit",props:{elements:{type:Array,default:function(){return[]}},loading:{type:Boolean,default:!1},theme:{type:Object,default:function(){return{}}},isCps:{type:Boolean,default:!1}},components:{benefitTitle:r.a,benefitAmount:i.a,benefitSlider:o.a,benefitText:a.a,benefitSelect:s.a},computed:{type:function(){return this.elements.map(function(t){return Number(t.type)})},components:function(){return this.type.map(function(t){return c[t]})}},methods:{showTable:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];this.$emit.apply(this,["showTable"].concat(e))},updateAge:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];this.$emit.apply(this,["updateAge"].concat(e))},onElementChange:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];this.$emit.apply(this,["onElementChange"].concat(e))}}}},1016:function(t,e,n){"use strict";e.a={name:"ActGoldBenefitTitle",data:function(){return{trackName:{"/":"titleqm_sx","/my":"titleqm_xq","/addmore":"titleqm_zj"}}},props:{element:{type:Object,default:function(){return{}}},path:{type:String,default:""},theme:{type:Object,default:function(){return{}}}},computed:{hasQuesMask:function(){return this.element.attr&&this.element.attr.hasQuesMask&&~~this.element.attr.hasQuesMask}},methods:{showTable:function(){this.$emit("showTable")}}}},1017:function(t,e,n){"use strict";e.a={name:"ActGoldBenefitAmount",props:{element:{type:Object,default:function(){}},loading:{type:Boolean,default:!1}},filters:{fixedTwoNumber:function(t){return t?Math.round(100*t)/100:0}}}},1018:function(t,e,n){"use strict";var r=n(143),i=n.n(r);e.a={name:"ActGoldBenefitSlider",data:function(){return{windowX:0,listScroll:null,forbidScrollEnd:!1}},props:{element:{type:Object,default:function(){return{}}}},computed:{unit:function(){return~~this.element.range[0].unit||""},step:function(){return~~(this.element.attr&&this.element.attr.step)||5},min:function(){return~~this.element.range[0].min||~~(this.element.attr&&this.element.attr.min)||0},max:function(){return~~this.element.range[0].max||~~(this.element.attr&&this.element.attr.max)||100},chooseAge:function(){var t=~~this.element.value||80;return t<this.min?this.min:t>this.max?this.max:t},during:function(){return this.max-this.min+1},width:function(){return 12*(this.max-this.min)+1}},methods:{initScroll:function(){var t=this,e=document.querySelector(".wrapper"),n=12*(this.min-this.chooseAge);this.$refs.wrappercontent.style.width=~~this.windowX+this.width+"px",this.$nextTick(function(){var r=t;t.listScroll?(n>=0&&(t.$emit("updateAge",t.min),n=0),t.listScroll.refresh(),t.forbidScrollEnd=!0,t.listScroll.scrollTo(n,0,0)):(t.listScroll=new i.a(e,{probeType:3,startX:n,scrollX:!0,scrollY:!1}),r.listScroll.on("scrollEnd",function(t){if(r.forbidScrollEnd)return void(r.forbidScrollEnd=!1);var e=void 0;if(t.x>=0)e=r.min;else if(Math.abs(t.x)>=r.width)e=r.max;else{e=Math.floor(Math.abs(t.x)/12+1+r.min);var n=-12*Math.floor(Math.abs(t.x)/12+1);r.forbidScrollEnd=!0,r.listScroll.scrollTo(n,0,0)}r.$emit("updateAge",e)}))})}},mounted:function(){var t=this.$refs.chooseContainer&&this.$refs.chooseContainer.offsetWidth;this.windowX=t||window.innerWidth||document.body&&document.body.clientWidth,this.windowX=this.windowX>750?750:this.windowX,this.initScroll()},watch:{min:function(){this.initScroll()}}}},1019:function(t,e,n){"use strict";e.a={name:"ActGoldBenefitText",props:{element:{type:Object,default:function(){return{}}}}}},1020:function(t,e,n){"use strict";e.a={name:"ActGoldBenefitSelect",data:function(){return{index:0,picker:null,trackName:{"/":"level_sx","/my":"level_xq","/addmore":"level_zj"}}},props:{element:{type:Object,default:function(){return{}}},theme:{type:Object,default:function(){return{}}},path:{type:String,default:""}},methods:{exchange:function(){this.picker||(this.picker=this.$createPicker({data:[this.element.range],selectedIndex:[this.index],onSelect:this.selectExchange,confirmColor:this.theme&&this.theme.brandColor||""})),this.picker.show()},selectExchange:function(t){var e=t[0],n=this.element.range.findIndex(function(t){return t.value===e});this.index=n,this.$emit("onElementChange",[{key:this.element.key,value:e,site:this.element.site}])}},mounted:function(){var t=this.element.value,e=this.element.range.findIndex(function(e){return e.value===t});this.index=e}}},1021:function(t,e,n){"use strict";function r(t){return t?JSON.parse(a()(t)):t}function i(t){return void 0===t}var o=n(90),a=n.n(o);e.a={name:"ActGoldCaseDemo",data:function(){return{caseData:{},caseEdge:{},caseAccount:[],tempData:{},tempEdge:{},tempAccount:[],hasName:!1,minWidth:4.8,maxWidth:32,textExtraWidth:3.2,singleNumWidth:.6675,singleTextWidth:1.2,edgeOffset:.4,accountOffset:.3,errorOffset:-1.2,prevWidth:[0],residueWidth:[],repeatPoint:{}}},props:{caseInfo:{type:Object,default:function(){return{}}},loading:{type:Boolean,default:!1},isCps:{type:Boolean,default:!1},pxToRem:{type:Number,default:0}},computed:{infoPaddingTop:function(){return this.residueWidth.length<2?0:3*(this.residueWidth.length-1)},edgeColor:function(){return this.isCps?{1:"#72b2fc",2:"#ffab45",3:"#ff5a6e"}:{1:"#8c7fee",2:"#ffb229",3:"#ff5a6e"}},colorType:function(){return this.isCps?{1:"linear-gradient(90deg,#73b3fc,#499eff)",2:"linear-gradient(90deg,#ffab45,#ffa142)",3:"linear-gradient(90deg,#ff8695,#ff5a6e)"}:{1:"linear-gradient(90deg,#a59bff,#8b7fed)",2:"linear-gradient(90deg,#ffc85a,#ffae1f)",3:"linear-gradient(90deg,#ff8695,#ff5a6e)"}},matchUnit:function(){return this.pxToRem>0?"rem":"px"},matchRatio:function(){return this.pxToRem>0?10*this.pxToRem:10}},methods:{calTextWidth:function(t){var e=new RegExp(/[^0-9]/gi),n=t.text.replace(e,"").length,r=t.text.length-n;return n*this.singleNumWidth+r*this.singleTextWidth+this.textExtraWidth},calAccountWidth:function(t){for(var e=this.calTextWidth(t);;){if(!(e>this.residueWidth[t.row])){this.residueWidth[t.row]=(this.residueWidth[t.row]||this.maxWidth)-e;break}t.row+=1}return t.bindStartPoint&&t.bindEndPoint?e>this.minWidth?e:this.minWidth:"1"===t.caseType&&e>this.minWidth?e:this.minWidth},calAccountLeft:function(t,e){this.tempData[t.bindPoint]&&"1"===this.tempData[t.bindPoint].isEndPoint?t.right=-1:this.tempData[e.split("_")[1]]&&"1"===this.tempData[e.split("_")[1]].isEndPoint&&(t.right=0),i(this.repeatPoint[t.bindPoint])?(this.repeatPoint[t.bindPoint]={},t.left=this.accountOffset+(this.tempData[t.bindStartPoint].left||this.prevWidth[this.prevWidth.length-1]),this.repeatPoint[t.bindPoint].left=t.left,this.repeatPoint[t.bindPoint].count=1):(t.left=this.repeatPoint[t.bindPoint].left,this.repeatPoint[t.bindPoint].count++)},calEdgeLeft:function(t){this.tempEdge[t]&&i(this.tempEdge[t].left)&&(this.tempEdge[t].left=this.edgeOffset+this.prevWidth[this.prevWidth.length-1])},calEdgeWidth:function(t,e,n){this.tempEdge[e]&&(this.tempEdge[e].width||("1"===this.tempData[e.split("_")[1]].isEndPoint?this.tempEdge[e].right=0:this.tempEdge[e].width=n+("1"===t?this.errorOffset:1.5*this.errorOffset)))},calStartPointLeft:function(t){if(this.tempData[t.bindPoint]&&"1"===this.tempData[t.bindPoint].isEndPoint)return void(this.tempData[t.bindPoint].right=0);i(this.tempData[t.bindStartPoint].left)&&(this.tempData[t.bindStartPoint].left=this.prevWidth[this.prevWidth.length-1])},calEndPointLeft:function(t,e){i(this.tempData[t.bindEndPoint])||i(this.tempData[t.bindEndPoint].left)&&(this.tempData[t.bindEndPoint]&&"1"===this.tempData[t.bindEndPoint].isEndPoint?this.tempData[t.bindEndPoint].right=0:this.tempData[t.bindEndPoint].left=e+this.prevWidth[this.prevWidth.length-1]+("1"===t.caseType?this.errorOffset:1.5*this.errorOffset))},calPrevWidth:function(t,e,n){i(this.tempEdge[t])?"1"!==n.caseType||this.prevWidth[this.prevWidth.length-1]?this.hasName?this.prevWidth.push(this.prevWidth[this.prevWidth.length-1]):this.prevWidth.push(this.prevWidth[this.prevWidth.length-1]+this.minWidth):this.prevWidth.push(e):this.repeatPoint[n.bindPoint].count?this.prevWidth.push(this.tempEdge[t].width+this.minWidth):this.prevWidth.push(this.prevWidth[this.prevWidth.length-1]+this.minWidth)},calAccountBindEndPoint:function(t){var e=this.calTextWidth(t);this.tempData[t.bindPoint]&&"1"===this.tempData[t.bindPoint].isEndPoint&&(t.left=this.maxWidth-this.edgeOffset,t.textLeft=-e)},sortAccountDataByCaseType:function(){var t=[[],[],[]];this.tempAccount.forEach(function(e){return t[Number(e.caseType)-1].push(e)}),t.forEach(function(t){return t.sort(function(t,e){return t.order&&e.order?~~e.order-~~t.order:(e.bindEndPoint||"").length-(t.bindEndPoint||"").length})}),this.tempAccount=t.flat()},reducePrevWidth:function(t){!1===this.tempData[t.bindStartPoint].display&&(this.prevWidth[this.prevWidth.length-1]=this.prevWidth[this.prevWidth.length-1]-this.minWidth+.8)},accountHasName:function(t){t.name&&(this.hasName=!0)},calPosition:function(){var t=this;this.prevWidth=[0],this.residueWidth=[],this.repeatPoint={},this.tempData=r(this.caseInfo.caseData),this.tempEdge=r(this.caseInfo.caseEdge),this.tempAccount=r(this.caseInfo.caseAccount),this.sortAccountDataByCaseType(),this.tempAccount.forEach(function(e){var n=e.bindStartPoint+"_"+e.bindEndPoint;t.accountHasName(e);var r=t.calAccountWidth(e);t.reducePrevWidth(e),t.calAccountLeft(e,n),t.calEdgeWidth(e.caseType,n,r),t.calEdgeLeft(n),t.calStartPointLeft(e),t.calEndPointLeft(e,r),t.calAccountBindEndPoint(e),t.calPrevWidth(n,r,e)}),this.caseData=this.tempData,this.caseEdge=this.tempEdge,this.caseAccount=this.tempAccount}},beforeMount:function(){this.calPosition()},watch:{caseInfo:{handler:function(){this.calPosition()},deep:!0}}}},1022:function(t,e,n){"use strict";var r=n(143),i=n.n(r);e.a={name:"ActGoldCostTable",data:function(){return{scroller:null}},props:{visible:{type:Boolean,default:!1},tables:{type:Object,default:function(){return{}}},theme:{type:Object,default:function(){return{}}}},computed:{title:function(){return this.tables.title||"现金价值表"},styleOption:function(){return this.theme&&this.theme.brandColor?{backgroundColor:this.theme.brandColor}:{}}},methods:{showCol:function(t){var e=this.tables.display||[];return void 0!==e[t]&&1==~~e[t]},cancel:function(){this.$emit("cancelCost")},preventMove:function(t){t._prevent=!0}},watch:{visible:function(t){var e=this;if(t){var n=document.querySelector(".cost-scroll");n&&this.$nextTick(function(){e.scroller?e.scroller.refresh():e.scroller=new i.a(n,{})})}}}}},11:function(t,e){t.exports={}},111:function(t,e,n){t.exports={default:n(115),__esModule:!0}},115:function(t,e,n){n(48),n(44),t.exports=n(116)},116:function(t,e,n){var r=n(4),i=n(50);t.exports=n(2).getIterator=function(t){var e=i(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},12:function(t,e,n){var r=n(30),i=n(16);t.exports=function(t){return r(i(t))}},13:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},1388:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(22),i=n.n(r),o=n(1389);o.a.install=function(t){t.component(o.a.name,o.a),t.prototype.$createGoldFinance=i()(o.a,t)},e.default=o.a},1389:function(t,e,n){"use strict";function r(t){s||n(1390)}var i=n(1014),o=n(1416),a=n(8),s=!1,c=r,u=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-c1910e10",null);u.options.__file="src\\components\\GoldFinance\\src\\index.vue",e.a=u.exports},1390:function(t,e){},1391:function(t,e,n){"use strict";function r(t){s||n(1392)}var i=n(1015),o=n(1408),a=n(8),s=!1,c=r,u=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-fc6ba65e",null);u.options.__file="src\\components\\GoldFinance\\src\\components\\benefit\\index.vue",e.a=u.exports},1392:function(t,e){},1393:function(t,e,n){"use strict";function r(t){s||n(1394)}var i=n(1016),o=n(1395),a=n(8),s=!1,c=r,u=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-dd66223a",null);u.options.__file="src\\components\\GoldFinance\\src\\components\\benefit\\components\\title.vue",e.a=u.exports},1394:function(t,e){},1395:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return""!==t.element.value?n("p",[n("span",{domProps:{innerHTML:t._s(t.element.value)}}),t._v(" "),1===t.hasQuesMask?n("button",{staticClass:"question",style:{background:t.theme.brandColor},on:{click:t.showTable}},[t._v("\n 利益演示 >\n ")]):t._e()]):t._e()},i=[];r._withStripped=!0},1396:function(t,e,n){"use strict";function r(t){s||n(1397)}var i=n(1017),o=n(1398),a=n(8),s=!1,c=r,u=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-a0926146",null);u.options.__file="src\\components\\GoldFinance\\src\\components\\benefit\\components\\amount.vue",e.a=u.exports},1397:function(t,e){},1398:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("p",{staticClass:"price"},[t.loading?n("act-loading",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],attrs:{type:"cir3",color:"red"}}):[t._v("\n "+t._s(t._f("fixedTwoNumber")(t.element.value))+"\n ")]],2)},i=[];r._withStripped=!0},1399:function(t,e,n){"use strict";function r(t){s||n(1400)}var i=n(1018),o=n(1401),a=n(8),s=!1,c=r,u=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-46938b66",null);u.options.__file="src\\components\\GoldFinance\\src\\components\\benefit\\components\\slider.vue",e.a=u.exports},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},1400:function(t,e){},1401:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{ref:"chooseContainer",staticClass:"choose"},[n("div",{staticClass:"choose-container wrapper"},[n("div",{ref:"wrappercontent",staticClass:"choose-content"},t._l(t.during,function(e){return n("div",{key:e,staticClass:"choose-item"},[n("span",{staticClass:"number-item",class:{"number-part":(e+t.min-1)%t.step==0}}),t._v(" "),(e+t.min-1)%t.step==0?n("span",{staticClass:"number-text"},[t._v(t._s(e+t.min-1)+t._s(t.unit))]):t._e()])}),0)]),t._v(" "),n("div",{staticClass:"choose-value skin-bg"})])])},i=[];r._withStripped=!0},1402:function(t,e,n){"use strict";function r(t){s||n(1403)}var i=n(1019),o=n(1404),a=n(8),s=!1,c=r,u=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-69cf88f2",null);u.options.__file="src\\components\\GoldFinance\\src\\components\\benefit\\components\\text.vue",e.a=u.exports},1403:function(t,e){},1404:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("p",{staticClass:"desc",domProps:{innerHTML:t._s(t.element.value)}})])},i=[];r._withStripped=!0},1405:function(t,e,n){"use strict";function r(t){s||n(1406)}var i=n(1020),o=n(1407),a=n(8),s=!1,c=r,u=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-bc1e7bfe",null);u.options.__file="src\\components\\GoldFinance\\src\\components\\benefit\\components\\select.vue",e.a=u.exports},1406:function(t,e){},1407:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"gears"},[n("p",[t._v("\n "+t._s(t.element.range[t.index].textPrefix)+"\n "),n("span",{style:{color:t.theme.brandColor}},[t._v(" "+t._s(t.element.range[t.index].text)+" ")]),t._v("\n "+t._s(t.element.range[t.index].textSuffix)+"\n ")]),t._v(" "),n("a",{staticClass:"btn-exchange",style:{color:t.theme.brandColor,borderColor:t.theme.brandColor},attrs:{href:"javascript:;"},on:{click:t.exchange}},[t._v("切换")])])},i=[];r._withStripped=!0},1408:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"benefit",class:t.isCps?"cps":""},t._l(t.elements,function(e,r){return n(t.components[r],{key:r,tag:"component",class:{"visible-hide":!e.visible},attrs:{element:e,loading:t.loading,theme:t.theme,path:t.$route.path},on:{showTable:t.showTable,updateAge:t.updateAge,onElementChange:t.onElementChange}})}),1)},i=[];r._withStripped=!0},1409:function(t,e,n){"use strict";function r(t){s||n(1410)}var i=n(1021),o=n(1411),a=n(8),s=!1,c=r,u=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-1800f942",null);u.options.__file="src\\components\\GoldFinance\\src\\components\\caseDemo.vue",e.a=u.exports},1410:function(t,e){},1411:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"box",class:t.isCps?"cps":"",style:"padding-bottom: "+t.infoPaddingTop*t.matchRatio+t.matchUnit},[n("div",{staticClass:"main-line",style:t.hasName?"":"margin-left: "+3*t.matchRatio+t.matchUnit},[t._l(t.caseData,function(e,r){return n("div",{key:r,staticClass:"pay-point",style:"\n left: "+e.left*t.matchRatio+t.matchUnit+";\n right: "+e.right*t.matchRatio+t.matchUnit+";\n background: "+t.colorType[e.colorType]},[n("div",{directives:[{name:"show",rawName:"v-show",value:!(!1===e.display),expression:"!(item.display === false)"}],staticClass:"head",style:"1"===e.isEndPoint?"left: unset;right: -"+1*t.matchRatio+t.matchUnit:""},[n("div",{staticClass:"title"},[t._v("\n "+t._s(e.title)+"\n ")]),t._v(" "),n("div",{staticClass:"sub-title"},[t._v("\n "+t._s(e.desc)+"\n ")])])])}),t._v(" "),t._l(t.caseEdge,function(e,r){return n("div",{key:r,staticClass:"pay-line",style:"\n width: "+e.width*t.matchRatio+t.matchUnit+";\n left: "+e.left*t.matchRatio+t.matchUnit+";\n right: "+e.right*t.matchRatio+t.matchUnit+";\n border-top: 1px dotted "+t.edgeColor[e.caseType]})}),t._v(" "),t._l(t.caseAccount,function(e,r){return n("div",{key:r,staticClass:"desc",style:"\n left: "+(e.left.length?e.left*t.matchRatio:""+e.left*t.matchRatio+t.matchUnit)+";\n right: "+e.right*t.matchRatio+t.matchUnit},[e.text?[n("div",{staticClass:"desc-vertical-line",style:"\n height: "+(2+4*(e.row-1))*t.matchRatio+t.matchUnit+";\n margin-left: "+e.lineLeft*t.matchRatio+";\n margin-right: "+e.lineRight*t.matchRatio+t.matchUnit+";\n background: "+t.colorType[t.caseData[e.bindPoint].caseType]}),t._v(" "),n("div",{staticClass:"text",style:"\n margin-left: "+e.textLeft*t.matchRatio+t.matchUnit+";\n margin-right: "+e.textRight*t.matchRatio+t.matchUnit+";\n background: "+t.colorType[t.caseData[e.bindPoint].caseType]},[n("div",{class:{icon:!0,"icon-pay":"1"===t.caseData[e.bindPoint].caseType,"icon-get":"1"!==t.caseData[e.bindPoint].caseType}}),t._v(" "),n("span",[t._v(t._s(e.text))]),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:e.name,expression:"item.name"}],staticClass:"account"},[t._v(t._s(e.name))])])]:t._e()],2)})],2)])},i=[];r._withStripped=!0},1412:function(t,e,n){"use strict";function r(t){s||n(1413)}var i=n(1022),o=n(1414),a=n(8),s=!1,c=r,u=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-b6c9d8f6",null);u.options.__file="src\\components\\GoldFinance\\src\\components\\costTable.vue",e.a=u.exports},1413:function(t,e){},1414:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"layer-finance",on:{touchmove:t.preventMove}},[n("div",{staticClass:"layer-finance-mask",on:{click:function(e){return e.stopPropagation(),t.cancel(e)}}}),t._v(" "),n("div",{staticClass:"layer-finance-box layer_animate cost iphonex_padding"},[n("span",{staticClass:"layer-close",on:{click:function(e){return e.stopPropagation(),t.cancel(e)}}}),t._v(" "),n("p",{staticClass:"main-title"},[t._v("\n 保单利益演示表\n ")]),t._v(" "),n("p",{staticClass:"cost-title"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("p",{staticClass:"cost-table-head"},[t._v("\n 基于用户所选信息的保单利益演示如下:\n ")]),t._v(" "),t.tables.cols&&t.tables.rows&&t.tables.rows.length?[n("div",[n("div",{staticClass:"table-tr thead"},[t._l(t.tables.cols,function(e,r){return[t.showCol(r)?n("span",{key:"head-"+r,staticClass:"table-item",style:t.styleOption},[t._v("\n "+t._s(e)+"\n ")]):t._e()]})],2),t._v(" "),n("div",{staticClass:"cost-scroll"},[n("table",{staticClass:"table-body"},[t.tables.rows&&t.tables.rows.length?n("tbody",t._l(t.tables.rows,function(e,r){return n("tr",{key:"tr-"+r,staticClass:"table-tr "},[t._l(e,function(e,i){return[t.showCol(i)?n("td",{key:"td-"+r+"-"+i,staticClass:"table-item"},[t._v("\n "+t._s(Math.round(100*e)/100)+"\n ")]):t._e()]})],2)}),0):t._e()])])])]:[n("div",{staticClass:"no-data"},[t._v("\n 暂时无法展示\n ")])]],2)])},i=[];r._withStripped=!0},1415:function(t,e,n){"use strict";function r(t,e){if(/(\d{4})(\d{2})(\d{2})/.test(t)){var n=1e3*(e||window.g_curtime),r=new Date(n),i=new Date((t+"").replace(/(\d{4})(\d{2})(\d{2})/,"$1/$2/$3")),o=r.getDate()>=i.getDate()?0:-1,a=r.getMonth()+o>=i.getMonth()?0:-1,s={};return s.y=r.getFullYear()+a-i.getFullYear(),s.d=~~((r.getTime()-i.getTime())/36e5/24),s}}n.d(e,"d",function(){return u}),n.d(e,"c",function(){return l}),n.d(e,"a",function(){return f}),n.d(e,"b",function(){return d}),n.d(e,"e",function(){return h});var i=n(90),o=n.n(i),a=n(111),s=n.n(a),c=n(35),u=(n.n(c),function t(e){var n=e.applicant,i=e.insured,a=e.plan,u=e.costTable,l=e.costSlideVar,f=e.genesValue,d=e.genesRules,h=e.dontValue,p=void 0===h?[]:h,v=e.curtime,m=void 0===v?0:v;if(""===f)return f;var b=f.replace(/g\((\d+)\)/g,function(e,h){if(!d[h])return"";var v=d[h],b=v.detail,g=void 0===b?{}:b,y=v.source,x="";switch(~~y){case 1:if(!n||!n.hasOwnProperty(g.data)||""===n[g.data])break;if(13===g.transType){var _=r(n[g.data],m);_&&(x=_.y+(~~g.offsetYear||0))}else 0===g.transType&&(x=n[g.data]);break;case 2:if(!i.hasOwnProperty(g.data)||""===i[g.data])break;if(13===g.transType){var w=r(i[g.data],m);Object(c.isObject)(w)&&(x=w.y+(~~g.offsetYear||0))}else 0===g.transType&&(x=i[g.data]);break;case 3:if(!a.hasOwnProperty(g.data)||""===a[g.data])break;if(14===g.transType){if(!g.exdata||!g.exdata.birth)break;var T=t({applicant:n,insured:i,plan:a,costTable:u,costSlideVar:l,genesValue:g.exdata.birth,genesRules:d,curtime:m}),S=a[g.data].replace(/[^0-9]/gi,"");""!==T&&(x=~~T+~~S+(~~g.offsetYear||0))}else 0===g.transType&&(x=a[g.data]);break;case 8:if(!Object(c.isObject)(g.exdata)||!Object(c.isArray)(u)||u.length<1)break;var P=g.exdata.slideCol-1,E=g.exdata.targetCol-1;if(11===g.transType){var O=l;if(g.exdata.slideVar){var C=t({applicant:n,insured:i,plan:a,costTable:u,costSlideVar:l,genesValue:g.exdata.slideVar,genesRules:d,curtime:m});""!==C&&(O=~~C)}if(void 0===O)break;for(var k=u,j=Array.isArray(k),A=0,k=j?k:s()(k);;){var I;if(j){if(A>=k.length)break;I=k[A++]}else{if(A=k.next(),A.done)break;I=A.value}var D=I;if(~~D[P]===O){x=void 0!==D[E]?D[E]:"";break}}}else if(12===g.transType){var R=u[0],M=u[u.length-1];void 0!==R[E]&&void 0!==M[E]&&(x=o()({min:R[E],max:M[E]}))}break;case 9:0===g.transType&&(x=g.data||"")}return""===x&&console.log("%c 模板变量替换失败,模板参数: "+f+", 滑动参数:"+l,"color:red"),p.indexOf(x)>-1?(console.log("%c 替换结果命中dotValue,模板参数: "+f+", 替换结果:"+x,"color:red"),"##null##"):x});return/##null##/.test(b)?"null":b}),l=function(t,e){return""===t?t:t.replace(/g\((\d+)\)/g,function(t){return'<span style="color:'+e.brandColor+';">'+t+"</span>"})},f=function(t,e){var n=t.insureds&&t.insureds[0]||{},r=n.insured,i=n.plan,o=t.applicant;if(r)if(e.insureds){var a=e.insureds[0].insured,s=void 0===a?{}:a;for(var c in r)s.hasOwnProperty(c)||(s[c]=r[c])}else e.insureds=[],e.insureds.push(r);if(i)if(e.plan)for(var u in i)e.plan.hasOwnProperty(u)||(e.plan[u]=i[u]);else e.plan=i;if(o)if(e.applicant)for(var l in o)e.applicant.hasOwnProperty(l)||(e.applicant[l]=o[l]);else e.applicant=o;return p(e)},d=function(t,e){var n=t.insureds&&t.insureds[0]||{},r=n.insured,i=n.plan,o=t.applicant;if(i&&e.plan&&Object(c.isArray)(e.plan.productAttributes))for(var a=0;a<e.plan.productAttributes.length;a++){var s=e.plan.productAttributes[a],u=s.key.split(".").pop();i.hasOwnProperty(u)&&(s.defaultValue=i[u])}if(o&&e.applicant&&Object(c.isArray)(e.applicant.productAttributes))for(var l=0;l<e.applicant.productAttributes.length;l++){var f=e.applicant.productAttributes[l],d=f.key.split(".").pop();o.hasOwnProperty(d)&&(f.defaultValue=o[d])}if(r&&e.insureds&&e.insureds.subModules&&e.insureds.subModules[0]&&Object(c.isArray)(e.insureds.subModules[0].productAttributes))for(var h=0;h<e.insureds.subModules[0].productAttributes.length;h++){var p=e.insureds.subModules[0].productAttributes[h],v=p.key.split(".").pop();r.hasOwnProperty(v)&&(p.defaultValue=r[v])}return e},h=function(t,e){if(t&&t.length>0&&e)for(var n=t,r=Array.isArray(n),i=0,n=r?n:s()(n);;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var a=o;if("benefitDemo.gears"===a.key){var c=[].concat(t);return c.push({site:e.site,key:e.key,value:a.value}),c}}return t},p=function(t){return t.plan&&void 0!==t.plan.interest&&t.benefitDemo&&void 0!==t.benefitDemo.gears&&(t.plan.interest=t.benefitDemo.gears),t}},1416:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{},[t.benefitElems&&t.benefitElems.length>0?n("gold-benefit",{attrs:{elements:t.benefitElems,loading:t.loading,theme:t.realTheme,isCps:t.isCps},on:{showTable:t.onShowTable,updateAge:t.onBenefitChange,onElementChange:t.onElementChange}}):t._e(),t._v(" "),t.caseDemoInfo?t._t("caseHerder"):t._e(),t._v(" "),t.caseDemoInfo?n("gold-case-demo",{attrs:{pxToRem:t.pxToRem,isCps:t.isCps,loading:t.loading,caseInfo:t.caseDemoInfo}}):t._e(),t._v(" "),t.caseDemoInfo?t._t("caseFooter"):t._e(),t._v(" "),n("gold-cost-table",{attrs:{visible:t.costTableVisible,tables:t.costTableInfo,theme:t.realTheme},on:{cancelCost:function(e){t.costTableVisible=!1}}})],2)},i=[];r._withStripped=!0},143:function(t,e){t.exports=n},15:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},157:function(t,e,n){t.exports=n(182)},158:function(t,e,n){"use strict";e.__esModule=!0;var r=n(66),i=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t){return function(){var e=t.apply(this,arguments);return new i.default(function(t,n){function r(o,a){try{var s=e[o](a),c=s.value}catch(t){return void n(t)}if(!s.done)return i.default.resolve(c).then(function(t){r("next",t)},function(t){r("throw",t)});t(c)}return r("next")})}}},16:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},17:function(t,e,n){var r=n(20);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},18:function(t,e){t.exports=!0},182:function(t,e,n){var r=function(){return this}()||Function("return this")(),i=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,o=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=n(183),i)r.regeneratorRuntime=o;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}},183:function(t,e){!function(e){"use strict";function n(t,e,n,r){var o=e&&e.prototype instanceof i?e:i,a=Object.create(o.prototype),s=new h(r||[]);return a._invoke=u(t,n,s),a}function r(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function i(){}function o(){}function a(){}function s(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function c(t){function e(n,i,o,a){var s=r(t[n],t,i);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&g.call(u,"__await")?Promise.resolve(u.__await).then(function(t){e("next",t,o,a)},function(t){e("throw",t,o,a)}):Promise.resolve(u).then(function(t){c.value=t,o(c)},a)}a(s.arg)}function n(t,n){function r(){return new Promise(function(r,i){e(t,n,r,i)})}return i=i?i.then(r,r):r()}var i;this._invoke=n}function u(t,e,n){var i=P;return function(o,a){if(i===O)throw new Error("Generator is already running");if(i===C){if("throw"===o)throw a;return v()}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var c=l(s,n);if(c){if(c===k)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===P)throw i=C,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=O;var u=r(t,e,n);if("normal"===u.type){if(i=n.done?C:E,u.arg===k)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(i=C,n.method="throw",n.arg=u.arg)}}}function l(t,e){var n=t.iterator[e.method];if(n===m){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=m,l(t,e),"throw"===e.method))return k;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return k}var i=r(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,k;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=m),e.delegate=null,k):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,k)}function f(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function d(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function h(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(f,this),this.reset(!0)}function p(t){if(t){var e=t[x];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(g.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=m,e.done=!0,e};return r.next=r}}return{next:v}}function v(){return{value:m,done:!0}}var m,b=Object.prototype,g=b.hasOwnProperty,y="function"==typeof Symbol?Symbol:{},x=y.iterator||"@@iterator",_=y.asyncIterator||"@@asyncIterator",w=y.toStringTag||"@@toStringTag",T="object"==typeof t,S=e.regeneratorRuntime;if(S)return void(T&&(t.exports=S));S=e.regeneratorRuntime=T?t.exports:{},S.wrap=n;var P="suspendedStart",E="suspendedYield",O="executing",C="completed",k={},j={};j[x]=function(){return this};var A=Object.getPrototypeOf,I=A&&A(A(p([])));I&&I!==b&&g.call(I,x)&&(j=I);var D=a.prototype=i.prototype=Object.create(j);o.prototype=D.constructor=a,a.constructor=o,a[w]=o.displayName="GeneratorFunction",S.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===o||"GeneratorFunction"===(e.displayName||e.name))},S.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,a):(t.__proto__=a,w in t||(t[w]="GeneratorFunction")),t.prototype=Object.create(D),t},S.awrap=function(t){return{__await:t}},s(c.prototype),c.prototype[_]=function(){return this},S.AsyncIterator=c,S.async=function(t,e,r,i){var o=new c(n(t,e,r,i));return S.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},s(D),D[w]="Generator",D[x]=function(){return this},D.toString=function(){return"[object Generator]"},S.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},S.values=p,h.prototype={constructor:h,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=m,this.done=!1,this.delegate=null,this.method="next",this.arg=m,this.tryEntries.forEach(d),!t)for(var e in this)"t"===e.charAt(0)&&g.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=m)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){function e(e,r){return o.type="throw",o.arg=t,n.next=e,r&&(n.method="next",n.arg=m),!!r}if(this.done)throw t;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var a=g.call(i,"catchLoc"),s=g.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&g.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,k):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),k},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),d(n),k}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;d(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:p(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=m),k}}}(function(){return this}()||Function("return this")())},19:function(t,e,n){var r=n(27)("keys"),i=n(24);t.exports=function(t){return r[t]||(r[t]=i(t))}},2:function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},20:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},21:function(t,e,n){var r=n(6),i=n(0).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},22:function(e,n){e.exports=t},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},24:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},25:function(t,e,n){var r=n(9).f,i=n(7),o=n(1)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},26:function(t,e,n){var r=n(37),i=n(28);t.exports=Object.keys||function(t){return r(t,i)}},27:function(t,e,n){var r=n(2),i=n(0),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(18)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},28:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},29:function(t,e,n){var r=n(16);t.exports=function(t){return Object(r(t))}},3:function(t,e,n){t.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e,n){var r=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},31:function(t,e,n){var r=n(15),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},33:function(t,e,n){"use strict";var r=n(18),i=n(10),o=n(46),a=n(5),s=n(11),c=n(52),u=n(25),l=n(54),f=n(1)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,p,v,m,b){c(n,e,p);var g,y,x,_=function(t){if(!d&&t in P)return P[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},w=e+" Iterator",T="values"==v,S=!1,P=t.prototype,E=P[f]||P["@@iterator"]||v&&P[v],O=E||_(v),C=v?T?_("entries"):O:void 0,k="Array"==e?P.entries||E:E;if(k&&(x=l(k.call(new t)))!==Object.prototype&&x.next&&(u(x,w,!0),r||"function"==typeof x[f]||a(x,f,h)),T&&E&&"values"!==E.name&&(S=!0,O=function(){return E.call(this)}),r&&!b||!d&&!S&&P[f]||a(P,f,O),s[e]=O,s[w]=h,v)if(g={values:T?O:_("values"),keys:m?O:_("keys"),entries:C},b)for(y in g)y in P||o(P,y,g[y]);else i(i.P+i.F*(d||S),e,g);return g}},34:function(t,e,n){var r=n(6);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},35:function(t,n){t.exports=e},36:function(t,e,n){t.exports=!n(3)&&!n(13)(function(){return 7!=Object.defineProperty(n(21)("div"),"a",{get:function(){return 7}}).a})},37:function(t,e,n){var r=n(7),i=n(12),o=n(39)(!1),a=n(19)("IE_PROTO");t.exports=function(t,e){var n,s=i(t),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;e.length>c;)r(s,n=e[c++])&&(~o(u,n)||u.push(n));return u}},38:function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},39:function(t,e,n){var r=n(12),i=n(31),o=n(40);t.exports=function(t){return function(e,n,a){var s,c=r(e),u=i(c.length),l=o(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},4:function(t,e,n){var r=n(6);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},40:function(t,e,n){var r=n(15),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},41:function(t,e,n){var r=n(14),i=n(1)("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),i))?n:o?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},42:function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=i(e),this.reject=i(n)}var i=n(20);t.exports.f=function(t){return new r(t)}},43:function(t,e){e.f={}.propertyIsEnumerable},44:function(t,e,n){"use strict";var r=n(51)(!0);n(33)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},45:function(t,e,n){var r=n(4),i=n(53),o=n(28),a=n(19)("IE_PROTO"),s=function(){},c=function(){var t,e=n(21)("iframe"),r=o.length;for(e.style.display="none",n(38).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=c(),void 0===e?n:i(n,e)}},46:function(t,e,n){t.exports=n(5)},48:function(t,e,n){n(59);for(var r=n(0),i=n(5),o=n(11),a=n(1)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<s.length;c++){var u=s[c],l=r[u],f=l&&l.prototype;f&&!f[a]&&i(f,a,u),o[u]=o.Array}},49:function(t,e){e.f=Object.getOwnPropertySymbols},5:function(t,e,n){var r=n(9),i=n(23);t.exports=n(3)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},50:function(t,e,n){var r=n(41),i=n(1)("iterator"),o=n(11);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},51:function(t,e,n){var r=n(15),i=n(16);t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),c=r(n),u=s.length;return c<0||c>=u?t?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}}},52:function(t,e,n){"use strict";var r=n(45),i=n(23),o=n(25),a={};n(5)(a,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},53:function(t,e,n){var r=n(9),i=n(4),o=n(26);t.exports=n(3)?Object.defineProperties:function(t,e){i(t);for(var n,a=o(e),s=a.length,c=0;s>c;)r.f(t,n=a[c++],e[n]);return t}},54:function(t,e,n){var r=n(7),i=n(29),o=n(19)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},58:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},59:function(t,e,n){"use strict";var r=n(60),i=n(58),o=n(11),a=n(12);t.exports=n(33)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,n):"values"==e?i(0,t[n]):i(0,[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},60:function(t,e){t.exports=function(){}},61:function(t,e,n){var r=n(4),i=n(20),o=n(1)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[o])?e:i(n)}},62:function(t,e,n){var r,i,o,a=n(17),s=n(81),c=n(38),u=n(21),l=n(0),f=l.process,d=l.setImmediate,h=l.clearImmediate,p=l.MessageChannel,v=l.Dispatch,m=0,b={},g=function(){var t=+this;if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e()}},y=function(t){g.call(t.data)};d&&h||(d=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return b[++m]=function(){s("function"==typeof t?t:Function(t),e)},r(m),m},h=function(t){delete b[t]},"process"==n(14)(f)?r=function(t){f.nextTick(a(g,t,1))}:v&&v.now?r=function(t){v.now(a(g,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=y,r=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",y,!1)):r="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),g.call(t)}}:function(t){setTimeout(a(g,t,1),0)}),t.exports={set:d,clear:h}},63:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},64:function(t,e,n){var r=n(4),i=n(6),o=n(42);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},65:function(t,e,n){t.exports={default:n(67),__esModule:!0}},66:function(t,e,n){t.exports={default:n(79),__esModule:!0}},660:function(t,e,n){t.exports={default:n(661),__esModule:!0}},661:function(t,e,n){n(662),t.exports=n(2).Object.values},662:function(t,e,n){var r=n(10),i=n(663)(!1);r(r.S,"Object",{values:function(t){return i(t)}})},663:function(t,e,n){var r=n(3),i=n(26),o=n(12),a=n(43).f;t.exports=function(t){return function(e){for(var n,s=o(e),c=i(s),u=c.length,l=0,f=[];u>l;)n=c[l++],r&&!a.call(s,n)||f.push(t?[n,s[n]]:s[n]);return f}}},67:function(t,e,n){n(68),t.exports=n(2).Object.assign},68:function(t,e,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(69)})},69:function(t,e,n){"use strict";var r=n(3),i=n(26),o=n(49),a=n(43),s=n(29),c=n(30),u=Object.assign;t.exports=!u||n(13)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=s(t),u=arguments.length,l=1,f=o.f,d=a.f;u>l;)for(var h,p=c(arguments[l++]),v=f?i(p).concat(f(p)):i(p),m=v.length,b=0;m>b;)h=v[b++],r&&!d.call(p,h)||(n[h]=p[h]);return n}:u},7:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},70:function(t,e){},72:function(t,e,n){var r=n(4);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},73:function(t,e,n){var r=n(11),i=n(1)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},74:function(t,e,n){var r=n(17),i=n(72),o=n(73),a=n(4),s=n(31),c=n(50),u={},l={},e=t.exports=function(t,e,n,f,d){var h,p,v,m,b=d?function(){return t}:c(t),g=r(n,f,e?2:1),y=0;if("function"!=typeof b)throw TypeError(t+" is not iterable!");if(o(b)){for(h=s(t.length);h>y;y++)if((m=e?g(a(p=t[y])[0],p[1]):g(t[y]))===u||m===l)return m}else for(v=b.call(t);!(p=v.next()).done;)if((m=i(v,g,p.value,e))===u||m===l)return m};e.BREAK=u,e.RETURN=l},75:function(t,e,n){var r=n(1)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},t(o)}catch(t){}return n}},76:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},77:function(t,e,n){var r=n(5);t.exports=function(t,e,n){for(var i in e)n&&t[i]?t[i]=e[i]:r(t,i,e[i]);return t}},78:function(t,e,n){"use strict";var r=n(0),i=n(2),o=n(9),a=n(3),s=n(1)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:r[t];a&&e&&!e[s]&&o.f(e,s,{configurable:!0,get:function(){return this}})}},79:function(t,e,n){n(70),n(44),n(48),n(80),n(84),n(85),t.exports=n(2).Promise},8:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,s){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId=o);var l;if(a?(l=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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var f=u.render;u.render=function(t,e){return l.call(e),f(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:u}}e.a=r},80:function(t,e,n){"use strict";var r,i,o,a,s=n(18),c=n(0),u=n(17),l=n(41),f=n(10),d=n(6),h=n(20),p=n(76),v=n(74),m=n(61),b=n(62).set,g=n(82)(),y=n(42),x=n(63),_=n(83),w=n(64),T=c.TypeError,S=c.process,P=S&&S.versions,E=P&&P.v8||"",O=c.Promise,C="process"==l(S),k=function(){},j=i=y.f,A=!!function(){try{var t=O.resolve(1),e=(t.constructor={})[n(1)("species")]=function(t){t(k,k)};return(C||"function"==typeof PromiseRejectionEvent)&&t.then(k)instanceof e&&0!==E.indexOf("6.6")&&-1===_.indexOf("Chrome/66")}catch(t){}}(),I=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},D=function(t,e){if(!t._n){t._n=!0;var n=t._c;g(function(){for(var r=t._v,i=1==t._s,o=0;n.length>o;)!function(e){var n,o,a,s=i?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{s?(i||(2==t._h&&L(t),t._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),a=!0)),n===e.promise?u(T("Promise-chain cycle")):(o=I(n))?o.call(n,c,u):c(n)):u(r)}catch(t){l&&!a&&l.exit(),u(t)}}(n[o++]);t._c=[],t._n=!1,e&&!t._h&&R(t)})}},R=function(t){b.call(c,function(){var e,n,r,i=t._v,o=M(t);if(o&&(e=x(function(){C?S.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=C||M(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},M=function(t){return 1!==t._h&&0===(t._a||t._c).length},L=function(t){b.call(c,function(){var e;C?S.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},W=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),D(e,!0))},V=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw T("Promise can't be resolved itself");(e=I(t))?g(function(){var r={_w:n,_d:!1};try{e.call(t,u(V,r,1),u(W,r,1))}catch(t){W.call(r,t)}}):(n._v=t,n._s=1,D(n,!1))}catch(t){W.call({_w:n,_d:!1},t)}}};A||(O=function(t){p(this,O,"Promise","_h"),h(t),r.call(this);try{t(u(V,this,1),u(W,this,1))}catch(t){W.call(this,t)}},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=n(77)(O.prototype,{then:function(t,e){var n=j(m(this,O));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=C?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&D(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=u(V,t,1),this.reject=u(W,t,1)},y.f=j=function(t){return t===O||t===a?new o(t):i(t)}),f(f.G+f.W+f.F*!A,{Promise:O}),n(25)(O,"Promise"),n(78)("Promise"),a=n(2).Promise,f(f.S+f.F*!A,"Promise",{reject:function(t){var e=j(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(s||!A),"Promise",{resolve:function(t){return w(s&&this===a?O:this,t)}}),f(f.S+f.F*!(A&&n(75)(function(t){O.all(t).catch(k)})),"Promise",{all:function(t){var e=this,n=j(e),r=n.resolve,i=n.reject,o=x(function(){var n=[],o=0,a=1;v(t,!1,function(t){var s=o++,c=!1;n.push(void 0),a++,e.resolve(t).then(function(t){c||(c=!0,n[s]=t,--a||r(n))},i)}),--a||r(n)});return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=j(e),r=n.reject,i=x(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},81:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},82:function(t,e,n){var r=n(0),i=n(62).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==n(14)(a);t.exports=function(){var t,e,n,u=function(){var r,i;for(c&&(r=a.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);n=function(){l.then(u)}}else n=function(){i.call(r,u)};else{var f=!0,d=document.createTextNode("");new o(u).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},83:function(t,e,n){var r=n(0),i=r.navigator;t.exports=i&&i.userAgent||""},84:function(t,e,n){"use strict";var r=n(10),i=n(2),o=n(0),a=n(61),s=n(64);r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then(function(){return n})}:t,n?function(n){return s(e,t()).then(function(){throw n})}:t)}})},85:function(t,e,n){"use strict";var r=n(10),i=n(42),o=n(63);r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},87:function(t,e,n){"use strict";e.__esModule=!0;var r=n(65),i=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=i.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},9:function(t,e,n){var r=n(4),i=n(36),o=n(34),a=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},90:function(t,e,n){t.exports={default:n(95),__esModule:!0}},95:function(t,e,n){var r=n(2),i=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return i.stringify.apply(i,arguments)}}})});
|