@xysfe/actui
Version:
A fantastic mobile ui lib implement by Vue
1 lines • 54.1 kB
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.GoldInput=e():t.GoldInput=e()}("undefined"!=typeof self?self:this,function(){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="../lib",e(e.s=545)}({0:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},1:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,u){t=t||{};var s=typeof t.default;"object"!==s&&"function"!==s||(t=t.default);var c="function"==typeof t?t.options:t;e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._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)},c._ssrRegister=l):i&&(l=u?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var f=c.render;c.render=function(t,e){return l.call(e),f(t,e)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:t,options:c}}e.a=r},10:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},100:function(t,e,n){t.exports={default:n(101),__esModule:!0}},101:function(t,e,n){n(55),t.exports=n(0).Object.getOwnPropertySymbols},102:function(t,e,n){"use strict";function r(t){var e={},n={},r={};for(var s in t)if(t.hasOwnProperty(s))if(-1!==u.indexOf(s))e[s]=t[s];else if(a.test(s)){var c=a.exec(s)[1];c=Object(o.a)(c),r[c]=t[s]}else n[s]=t[s];return e.on=Object(i.a)(r,e.on),e.props=Object(i.a)(n,e.props),e}e.a=r;var i=n(62),o=n(103),a=new RegExp(/^on(.+)/),u=["class","style","attrs","props","domProps","on","nativeOn","directives","scopedSlots","slot","key","ref","refInFor"]},103:function(t,e,n){"use strict";function r(t,e){var n=s(t,e);return n.charAt(0).toLowerCase()+n.slice(1)}e.a=r;var i=n(28),o=n.n(i),a=n(4),u=function(t){for(var e=!1,n=!1,r=!1,i=0;i<t.length;i++){var o=t[i];e&&/[a-zA-Z]/.test(o)&&o.toUpperCase()===o?(t=t.slice(0,i)+"-"+t.slice(i),e=!1,r=n,n=!0,i++):n&&r&&/[a-zA-Z]/.test(o)&&o.toLowerCase()===o?(t=t.slice(0,i-1)+"-"+t.slice(i-1),r=n,n=!1,e=!0):(e=o.toLowerCase()===o&&o.toUpperCase()!==o,r=n,n=o.toUpperCase()===o&&o.toLowerCase()!==o)}return t},s=function(t,e){if("string"!=typeof t&&!Object(a.p)(t))throw new TypeError("Expected the input to be `string | string[]`");e=o()({pascalCase:!1},e);return t=Array.isArray(t)?t.map(function(t){return t.trim()}).filter(function(t){return t.length}).join("-"):t.trim(),0===t.length?"":1===t.length?e.pascalCase?t.toUpperCase():t.toLowerCase():(t!==t.toLowerCase()&&(t=u(t)),t=t.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,function(t,e){return e.toUpperCase()}).replace(/\d+(\w|$)/g,function(t){return t.toUpperCase()}),function(t){return e.pascalCase?t.charAt(0).toUpperCase()+t.slice(1):t}(t))}},104:function(t,e,n){"use strict";function r(t,e,n,r){var o=void 0,a=void 0,u=new t({render:function(t){var n=a&&a(t);return n&&!Object(i.p)(n)&&(n=[n]),t(e,o,n||[])},methods:{init:function(){document.body.appendChild(this.$el)},destroy:function(){this.$destroy(),document.body.removeChild(this.$el)}}});return u.updateRenderData=function(t,e){o=t,a=e},u.updateRenderData(n,r),u.$mount(),u.init(),u.$children[0]}e.a=r;var i=n(4)},107:function(t,e,n){var r=n(26),i=n(3)("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),i))?n:o?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},11:function(t,e,n){var r=n(47),i=n(29);t.exports=function(t){return r(i(t))}},115:function(t,e,n){var r=n(107),i=n(3)("iterator"),o=n(18);t.exports=n(0).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},12:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},124:function(t,e,n){t.exports={default:n(186),__esModule:!0}},13:function(t,e,n){var r=n(2),i=n(0),o=n(38),a=n(7),u=n(6),s=function(t,e,n){var c,l,f,p=t&s.F,d=t&s.G,h=t&s.S,m=t&s.P,g=t&s.B,y=t&s.W,v=d?i:i[e]||(i[e]={}),b=v.prototype,x=d?r:h?r[e]:(r[e]||{}).prototype;d&&(n=e);for(c in n)(l=!p&&x&&void 0!==x[c])&&u(v,c)||(f=l?x[c]:n[c],v[c]=d&&"function"!=typeof x[c]?n[c]:g&&l?o(f,r):y&&x[c]==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):m&&"function"==typeof f?o(Function.call,f):f,m&&((v.virtual||(v.virtual={}))[c]=f,t&s.R&&b&&!b[c]&&a(b,c,f)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},14:function(t,e,n){"use strict";function r(t,e){return function(n,r){var a=this,u=Object(i.a)(n),s=Object(o.a)(e,t,u,r),c=s.$parent,l=s.remove,f=s.show,p=s.hide;return s.remove=function(){s.$removed=!0,l&&l.call(this),c.destroy()},s.show=function(){return f&&f.call.apply(f,[this].concat(Array.prototype.slice.call(arguments))),this},s.hide=function(){return p&&p.call.apply(p,[this].concat(Array.prototype.slice.call(arguments))),this},a&&a._isVue&&a.$once("hook:beforeDestroy",function(){s.$removed||s.remove()}),s}}e.a=r;var i=n(102),o=n(104)},15:function(t,e,n){var r=n(50),i=n(33);t.exports=Object.keys||function(t){return r(t,i)}},155:function(t,e,n){"use strict";var r=n(4);e.a={name:"ActGoldBaseElement",props:{common:{type:Object,default:function(){return{tit:"",subTit:"",tips:"",errMsg:"",colons:!1,align:"right",border:"top",titPadding:!1,remarks:"",flexDirection:"row",bindKey:"",showBindKey:!0,brandColor:"",tags:[]}}},type:{type:String,default:"text"},lattice:{type:Boolean,default:!1},textarea:{type:Boolean,default:!1},hasSuffix:{type:Boolean,default:!1},hasArrow:{type:Boolean,default:!1},hasColumn:{type:Boolean,default:!1},isVerifyCode:{type:Boolean,default:!1},isPure:{type:Boolean,default:!1},tempVar:{type:Object,default:function(){return{}}},remarkTipStyle:{type:[Object,null],default:function(){return null}}},computed:{title:function(){return this.common.titPadding?Object(r.i)(this.common.tit):this.common.tit},textAlign:function(){return"align-"+this.common.align},borderClass:function(){return"none"===this.common.border?"":"border-"+this.common.border},remarksVar:function(){return(this.tempVar.prefix||"")+(this.tempVar.var||"")+(this.tempVar.suffix||"")},remarksWithThemeColor:function(){if(this.common.remarks){var t="text-decoration: none; color:"+(this.common.brandColor||"#8c7fee")+";",e=/<a([^>]+)>/g;return this.common.remarks.replace(e,function(e,n){return n.includes("data-taken")?"<a"+n+' style="'+t+'">':e})}return this.common.remarks},hasTag:function(){return this.common.tags&&this.common.tags.length&&!!this.tagContent},hasSign:function(){return this.common.autoRenewalBindAction&&1==~~this.common.autoRenewalBindAction},tagContent:function(){var t=this,e=this.common.tags.find(function(e){return e.bindValue===t.common.value});return e?e.text:""},computedRemarksStyle:function(){var t={};if(this.remarkTipStyle){var e=this.remarkTipStyle||{},n=e.left;t["--tip-left"]=n?n-9+"px":"26px"}return this.common.remarksBgColor&&(t["background-color"]=this.common.remarksBgColor,t["--arrow-color"]=this.common.remarksBgColor),t}},methods:{showTips:function(){this.$emit("showTips",this.common.tips)},remarksLink:function(t){this.$emit("takenLink",t)}},directives:{"taken-link":{bind:function(t,e,n){t.addEventListener("click",function(t){if("A"===t.target.tagName){var e=t.target.getAttribute("data-taken");e&&n.context.remarksLink(e)}})}}}}},16:function(t,e){t.exports=!0},18:function(t,e){t.exports={}},186:function(t,e,n){n(56),n(53),t.exports=n(187)},187:function(t,e,n){var r=n(9),i=n(115);t.exports=n(0).getIterator=function(t){var e=i(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},19:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},199:function(t,e){},2: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)},200: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:"element",class:[{"element-colons":t.common.colons,"element-verify":t.isVerifyCode,"element-pure":t.isPure},t.borderClass],attrs:{"data-bind-key":[t.common.showBindKey?t.common.bindKey:""]}},[n("div",{staticClass:"element-control",class:{"element-textarea-box":t.textarea,"element-control-tit-nl":"column"===t.common.flexDirection||t.common.tit&&t.common.tit.length>14,"element-index":"email"===t.type}},[t.title?n("label",{staticClass:"element-label"},[n("span",{staticClass:"element-label-text",domProps:{innerHTML:t._s(t.title)}}),t.common.subTit?n("span",{staticClass:"element-subname"},[t._v("("+t._s(t.common.subTit)+")")]):t._e(),t.common.tips?n("a",{staticClass:"element-question",attrs:{href:"javascript:;"},on:{click:function(e){return e.stopPropagation(),t.showTips.apply(null,arguments)}}}):t._e(),t.common.colons?n("i",{staticClass:"colons"},[t._v(":")]):t._e()]):t._e(),t._v(" "),t.$slots.default?n("div",{staticClass:"element-info",class:[{"element-arrow":t.hasArrow,"element-suffix":t.hasSuffix,"element-column":t.hasColumn,hasTag:t.hasTag,hasSign:t.hasSign},t.textAlign]},[t._t("default"),t._v(" "),t._t("email")],2):t._e()]),t._v(" "),t.hasTag?n("div",{staticClass:"element-tag",domProps:{innerHTML:t._s(t.tagContent)}}):t._e(),t._v(" "),t.common.remarks?n("div",{directives:[{name:"taken-link",rawName:"v-taken-link"}],staticClass:"element-remarks",class:{"element-remarks-lattice":t.lattice,"remarks-sharp":1!=~~t.common.remarksNoSharp},style:t.computedRemarksStyle},[n("div",{staticClass:"element-remarks-txt",domProps:{innerHTML:t._s(t.remarksWithThemeColor)}})]):t._e(),t._v(" "),t.remarksVar?n("div",{staticClass:"element-temp-var"},[t._v("\n "+t._s(t.remarksVar)+"\n ")]):t._e(),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.common.errMsg,expression:"common.errMsg"}],staticClass:"element-error",class:{"element-error-lattice":t.lattice},domProps:{innerHTML:t._s(t.common.errMsg)}})])},i=[];r._withStripped=!0},217:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(14),i=n(351);i.a.install=function(t){t.component(i.a.name,i.a),t.prototype.$createBaseInput=Object(r.a)(i.a,t)},e.default=i.a},23:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},24:function(t,e,n){var r=n(29);t.exports=function(t){return Object(r(t))}},25:function(t,e){e.f={}.propertyIsEnumerable},251:function(t,e,n){"use strict";var r=n(4);e.a={name:"ActBaseInput",mixins:[],data:function(){return{inputValue:"",inputState:0,maxLenValue:"",oldInputValue:"",canSetSelectionList:["text","search","url","tel","password"],isNeedSetSelectionRange:!1}},props:{value:{type:[String,Number,Object],default:""},type:{type:String,default:"text"},placeholder:{type:String,default:""},maxLength:{type:[String,Number],default:""},allowSpace:{type:Boolean,default:!1},isVerifyCode:{type:Boolean,default:!1}},computed:{inputType:function(){return"mobile"===this.type||"bankcard"===this.type?"tel":"idcard"===this.type?"tel":this.type},paddingBlank:function(){return"mobile"===this.type?r.h:"bankcard"===this.type?r.f:null},maxLen:function(){return""!==this.maxLength&&Number(this.maxLength)>0?Number(this.maxLength):""},currentValue:function(){var t=this.inputValue.replace(/(^\s*)|(\s*$)/g,"");return this.paddingBlank&&(t=this.removeBlank(t)),t}},methods:{focus:function(){this.$refs.input.focus()},blur:function(){this.$refs.input.blur()},setInputValue:function(t){this.inputValue!==t&&(this.inputValue=this.formatValue(t))},onFocus:function(t){this.$emit("focus",t)},onBlur:function(t){/ip(hone|od).*(micromessenger|mqqbrowser)/i.test(navigator.userAgent)&&window.scrollTo(window.scrollX,window.scrollY),this.changeValue(t),this.$emit("blur",t)},onPaste:function(t){t.target._paste=!0},onInput:function(t){var e=this;this.setInputState();var n=!r.x&&this.paddingBlank,i=this.inputValue;this.allowSpace||(i=this.inputValue.replace(/\s/g,""));var o=t.target.selectionStart,a=!0;this.isNeedSetSelectionRange=!1,n&&(this.isNeedSetSelectionRange=!0,(i=i.replace(/\D/g,""))!==this.inputValue.replace(/\s/g,"")&&(a=!1,o--));var u=i;if(this.isOverLength(i)&&(this.isNeedSetSelectionRange=!0,t.target._paste?u=u.slice(0,this.maxLen):(u=this.maxLenValue,o--)),u=this.getValueByCheck(u),this.maxLenValue=u,n){if(this.inputValue=this.paddingBlank(u),a){var s=this.inputValue[o-1];/\s/g.test(s)&&1===this.inputState&&o++}}else this.inputValue=u;this.isNeedSetSelectionRange&&this.$nextTick(function(){t.target._paste?(e.canSetSelectionList.indexOf(t.target.type)>-1&&setTimeout(function(){t.target.setSelectionRange(e.inputValue.length,e.inputValue.length)},30),t.target._paste=!1):e.canSetSelectionList.indexOf(t.target.type)>-1&&setTimeout(function(){t.target.setSelectionRange(o,o)},30)}),this.$emit("input",this.currentValue,t)},getValueByCheck:function(t){var e=t;return this.isVerifyCode&&(e=this.checkVerifyCode(e)),e&&"lowercase"===this.type?(this.isNeedSetSelectionRange=!0,e=e.toLowerCase()):e&&"uppercase"===this.type?(this.isNeedSetSelectionRange=!0,e=e.toUpperCase()):e&&"email"===this.type&&(e=e.replace(/[\u4e00-\u9fa5]/gi,"").replace(/\s*/gi,"").substr(0,40)),e},onClick:function(t){this.$emit("click",t)},onTap:function(t){this.$emit("tap",t)},formatValue:function(t){return!r.x&&this.paddingBlank?this.paddingBlank(t):t},removeBlank:function(t){return t.replace(/\s/g,"")},setInputState:function(){if(this.paddingBlank){var t=this.inputValue.replace(/\s/g,"").length,e=this.oldInputValue.replace(/\s/g,"").length;this.inputState=t>e?1:t<e?2:0}this.oldInputValue=this.inputValue},changeValue:function(t){var e=t.srcElement?t.srcElement:t.target,n=e.value.replace(/(^\s*)|(\s*$)/g,"");this.paddingBlank&&(n=this.removeBlank(n)),this.value!==n&&this.$emit("change",n)},isOverLength:function(t){var e=t.match(/\s/g)||[];return""!==this.maxLen&&t.length-e.length>this.maxLen},mucChange:function(t){this.$emit("mucChange",t)},checkVerifyCode:function(t){if(!t)return"";var e=String(t);if(e.length&&e.length>=8){var n=Math.floor(e.length/2),r=e.slice(0,n);if(r===e.slice(n,e.length))return r}return e}},mounted:function(){this.inputValue=this.formatValue(this.value),this.$watch("value",function(t,e){this.inputValue=this.formatValue(t)})}}},26:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},27:function(t,e,n){var r=n(8).f,i=n(6),o=n(3)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},28:function(t,e,n){t.exports={default:n(82),__esModule:!0}},29:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},3:function(t,e,n){var r=n(32)("wks"),i=n(23),o=n(2).Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},30:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},31:function(t,e,n){var r=n(32)("keys"),i=n(23);t.exports=function(t){return r[t]||(r[t]=i(t))}},32:function(t,e,n){var r=n(0),i=n(2),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(16)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},33:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},34:function(t,e,n){var r=n(10);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,e){e.f=Object.getOwnPropertySymbols},351:function(t,e,n){"use strict";function r(t){u||n(352)}var i=n(251),o=n(353),a=n(1),u=!1,s=r,c=Object(a.a)(i.a,o.a,o.b,!1,s,"data-v-18134e52",null);c.options.__file="src\\components\\BaseInput\\src\\index.vue",e.a=c.exports},352:function(t,e){},353: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"checkbox"===t.inputType?n("input",{directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],ref:"input",attrs:{placeholder:t.placeholder,type:"checkbox"},domProps:{checked:Array.isArray(t.inputValue)?t._i(t.inputValue,null)>-1:t.inputValue},on:{focus:t.onFocus,blur:t.onBlur,input:t.onInput,paste:t.onPaste,click:t.onClick,tap:t.onTap,mucChange:function(e){return t.mucChange(e)},change:function(e){var n=t.inputValue,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.inputValue=n.concat([null])):o>-1&&(t.inputValue=n.slice(0,o).concat(n.slice(o+1)))}else t.inputValue=i}}}):"radio"===t.inputType?n("input",{directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],ref:"input",attrs:{placeholder:t.placeholder,type:"radio"},domProps:{checked:t._q(t.inputValue,null)},on:{focus:t.onFocus,blur:t.onBlur,input:t.onInput,paste:t.onPaste,click:t.onClick,tap:t.onTap,mucChange:function(e){return t.mucChange(e)},change:function(e){t.inputValue=null}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],ref:"input",attrs:{placeholder:t.placeholder,type:t.inputType},domProps:{value:t.inputValue},on:{focus:t.onFocus,blur:t.onBlur,input:[function(e){e.target.composing||(t.inputValue=e.target.value)},t.onInput],paste:t.onPaste,click:t.onClick,tap:t.onTap,mucChange:function(e){return t.mucChange(e)}}})},i=[];r._withStripped=!0},36:function(t,e,n){e.f=n(3)},361:function(t,e,n){"use strict";var r=n(124),i=n.n(r),o=n(39),a=n(42),u=n(43),s=n(44),c=n(217);e.a={name:"ActGoldInput",mixins:[o.a,a.a,u.a],data:function(){return{isShowTip:!1,emailAuto:[],selectEmailValue:"",istopTip:!1,showSuggestions:!1,picker:null,decimalPlaces:this.value>0?2:0,maxlength:this.maxLength?this.maxLength:1e4,focused:!1,bubblePosition:{right:"0px",bottom:"10px"},isIntersecting:this.isVisible}},computed:{isAutofixEmail:function(){return"email"===this.type},inputValue:function(){return this.getRatioValue(this.value)},displayValue:function(){return this.focused?this.inputValue:this.bubble?this.bubbleSeparatorValue(this.inputValue):this.inputValue},showTip:function(){return this.asyncSearch&&this.showSuggestions},showBubble:function(){if(!this.isVisible)return!1;if(!this.bubble)return!1;if(String(this.inputValue).startsWith("0"))return!1;var t=Number(this.inputValue);return!(isNaN(t)||t<1e4)},bubbleText:function(){return this.getBubbleAmount(this.inputValue)}},watch:{showTip:function(t,e){t?(this.picker?this.picker.show():(this.picker=this.$GoldAddressLayer({title:"企业搜索",searchUrl:"/enterprise/getCompanyInfo",onSelect:this.selectSuggestion,brandColor:this.brandColor}),this.picker.show()),this.$refs.input.blur()):this.picker.hide()},value:{handler:function(t){this.calcBubblePostion()}},immediate:!0},methods:{getBubbleAmount:function(t){if(void 0===t||""===t||null===t)return"";var e=Number(t);if(e<1e4)return"";for(var n=[{value:1e8,label:"兆"},{value:1e7,label:"千亿"},{value:1e6,label:"百亿"},{value:1e5,label:"十亿"},{value:1e4,label:"亿"}],r=n,o=Array.isArray(r),a=0,r=o?r:i()(r);;){var u;if(o){if(a>=r.length)break;u=r[a++]}else{if(a=r.next(),a.done)break;u=a.value}var s=u;if(e>=s.value)return""+s.label}return""},calcBubblePostion:function(){var t=this;this.showBubble&&this.$nextTick(function(){var e=t.$refs.bubbleRef;if(e){var n=t.$refs.input;if(n){var r=n.$el;if(r){var i=e.querySelector("span");if(i){var o=i.getBoundingClientRect(),a=r.getBoundingClientRect(),u=e.getBoundingClientRect(),s=a.width-u.width/2,c=o.width-4;t.bubblePosition={left:s-c+"px",bottom:"10px"}}}}}})},bubbleSeparatorValue:function(t){return null===t||void 0===t||""===t?t:String(t).startsWith("0")?t:isNaN(Number(t))||Number(t)<1e3?t:Number(t).toLocaleString("zh-CN")},onFocus:function(t){var e=this;this.focused=!0,this.$emit("focus",t),this.showSuggestions&&(this.showSuggestions=!1),this.$nextTick(function(){e.showSuggestions=!0})},onBlur:function(t){this.focused=!1,this.isAutofixEmail&&(this.emailAuto=[]),this.$emit("blur",t)},selectEmail:function(t){var e=t&&t.replace(/\s*/gi,"");this.$refs.input.setInputValue(e)},onInput:function(t,e){if(1!==this.displayRatio){t=t.replace(/(^\s*)|(\s*$)/g,"");var n=t.length;if(/^[0-9]+(.[0-9]{1,2})?$/.test(t)){var r=t.split(".");r[1]&&2===r[1].length?this.maxlength=n||0:this.maxlength=1e4}}var i=t;if(this.isAutofixEmail){if(!i)return void(this.emailAuto=[]);var o=i.lastIndexOf("@"),a=i.lastIndexOf("."),u="";a>-1&&o>-1?u=i.substring(o+1,a):o>-1&&(u=i.substring(o+1)),i.match(/@$/)&&(i=i.replace(/@$/,"")),o>-1&&(i=i.substring(0,o)),this.emailAuto=this.emailAutoList.map(function(t){if(t.indexOf(u)>-1)return i+t}).filter(function(t){return!!t})}var s=document.body.clientHeight,c=e.target.getBoundingClientRect().bottom;this.istopTip=s-c<280,this.$emit("input",t)},onChange:function(t){this.change(void 0,this.getRealValue(t))},getRatioValue:function(t){return 1===this.displayRatio||""===t||isNaN(t)?t:(t*this.displayRatio).toFixed(this.decimalPlaces)},getRealValue:function(t){if(1===this.displayRatio||""===t||isNaN(t))return t;var e=t.split(".");return this.decimalPlaces=e[1]?e[1].length:0,(parseFloat(t)/this.displayRatio).toFixed(this.decimalPlaces)},selectSuggestion:function(t){this.change(void 0,t),this.showSuggestions=!1}},mounted:function(){var t=this;this.bubble&&(this.observer=new IntersectionObserver(function(e){e[0].isIntersecting?(t.isIntersecting=!0,t.calcBubblePostion()):t.isIntersecting=!1}),this.observer.observe(this.$el))},beforeDestroy:function(){this.observer&&this.observer.disconnect()},components:{ActGoldBaseElement:s.a,ActBaseInput:c.default}}},37:function(t,e,n){var r=n(2),i=n(0),o=n(16),a=n(36),u=n(8).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||u(e,t,{value:a.f(t)})}},38:function(t,e,n){var r=n(40);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)}}},39:function(t,e,n){"use strict";var r={model:{prop:"visible",event:"toggle"},props:{visible:{type:Boolean,default:!0}},data:function(){return{isVisible:this.visible}},watch:{isVisible:function(t){this.$emit("toggle",t)}},mounted:function(){var t=this;this.$watch("visible",function(e,n){e?t.show():n&&t.hide()},{immediate:!0})},methods:{show:function(){return this.isVisible=!0,this},hide:function(){return this.isVisible=!1,this}}};e.a=r},4:function(t,e,n){"use strict";function r(t,e){if(t.findIndex)return t.findIndex(e);var n=-1;return t.some(function(t,r,i){var o=e.call(this,t,r,i);if(o)return n=r,o}),n}function i(t){return t?JSON.parse(U()(t)):t}function o(t,e){for(var n in e)t[n]&&"object"===D()(t[n])?o(t[n],e[n]):t[n]=e[n]}function a(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)}function u(t){return"[object String]"===Object.prototype.toString.call(t)}function s(t){return"[object Number]"===Object.prototype.toString.call(t)}function c(t){return"[object Object]"===Object.prototype.toString.call(t)}function l(t){return"[object Boolean]"===Object.prototype.toString.call(t)}function f(t){return null===t}function p(t){return void 0!==t&&null!==t}function d(t){return void 0===t}function h(t){return"[object Error]"===Object.prototype.toString.call(t)}function m(t){return"function"==typeof t}function g(t){return"[object Promise]"===Object.prototype.toString.call(t)||c(t)&&m(t.then)}function y(t,e,n){function r(e){var n=g,r=y;return g=y=void 0,S=e,b=t.apply(r,n)}function i(t,e){return C?(window.cancelAnimationFrame(x),window.requestAnimationFrame(t)):setTimeout(t,e)}function o(t){if(C)return window.cancelAnimationFrame(t);clearTimeout(t)}function a(t){return S=t,x=i(l,e),_?r(t):b}function u(t){var n=t-w,r=t-S,i=e-n;return O?Math.min(i,v-r):i}function s(t){var n=t-w,r=t-S;return void 0===w||n>=e||n<0||O&&r>=v}function l(){var t=Date.now();if(s(t))return f(t);x=i(l,u(t))}function f(t){return x=void 0,k&&g?r(t):(g=y=void 0,b)}function p(){void 0!==x&&o(x),S=0,g=w=y=x=void 0}function d(){return void 0===x?b:f(Date.now())}function h(){return void 0!==x}function m(){for(var t=Date.now(),n=s(t),o=arguments.length,u=Array(o),c=0;c<o;c++)u[c]=arguments[c];if(g=u,y=this,w=t,n){if(void 0===x)return a(w);if(O)return x=i(l,e),r(w)}return void 0===x&&(x=i(l,e)),b}var g=void 0,y=void 0,v=void 0,b=void 0,x=void 0,w=void 0,S=0,_=!1,O=!1,k=!0,C=!e&&0!==e&&"function"==typeof window.requestAnimationFrame;if("function"!=typeof t)throw new TypeError("Expected a function");return e=+e||0,c(n)&&(_=!!n.leading,O="maxWait"in n,v=O?Math.max(+n.maxWait||0,e):v,k="trailing"in n?!!n.trailing:k),m.cancel=p,m.flush=d,m.pending=h,m}function v(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return c(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),y(t,e,{leading:r,trailing:i,maxWait:e})}function b(t){return!!/^1\d{10}$/.test(t)}function x(t){var e=t.length;return e>3&&e<8?t=t.replace(/\s/g,"").replace(/^(.{3})/g,"$1 "):e>=8&&(t=t.replace(/\s/g,"").replace(/^(.{3})(.+)/g,function(t,e,n){return e+" "+n.replace(/(.{4})(?=.)/g,"$1 ")})),t}function w(t){return t.replace(/\s/g,"").replace(/(.{4})(?=.)/g,"$1 ")}function S(t){if(void 0!==t||null!==t)return/^\d+(\.\d+)?$/.test(t+"")?t+"px":t}function _(t){if(!t)return"";var e=t.length;return 2===e?t.split("").join("  "):3===e?t.split("").join(" "):t}function O(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=t.offsetHeight;if(e){var r=t.currentStyle||getComputedStyle(t);n+=parseInt(r.marginTop||0)+parseInt(r.marginBottom||0)}return n}function k(t,e){var n=/^#([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})$/i.exec(t),r=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t),i=null;return n?i={r:parseInt(n[1]+n[1],16),g:parseInt(n[2]+n[2],16),b:parseInt(n[3]+n[3],16)}:r&&(i={r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16)}),i?void 0!==e?"rgba("+i.r+", "+i.g+", "+i.b+", "+e+")":"rgb("+i.r+", "+i.g+", "+i.b+")":""}function C(t){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefhijklmnopqrstuvwxyz",n=e.length,r="";t=t||32;for(var i=0;i<t;i++)r+=e.charAt(Math.floor(Math.random()*n));return r}function j(t,e){var n=e||location.href,r=new RegExp("(\\?|&)"+t+"=([^&#$\\s]+)"),i=n.match(r);return i&&i[2]}function A(t){var e=window.getComputedStyle(t),n="none"===e.display,r=null===t.offsetParent&&"fixed"!==e.position;return n||r}function T(t,e,n){return Math.min(Math.max(t,e),n)}function V(t){var e=/os (\d\d?_\d(_\d)?)/,n=e.exec(t);if(!n)return null;var r=n[1].split("_").map(function(t){return parseInt(t,10)});return{major:r[0],minor:r[1],patch:r[2]||0}}function B(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";e=e||window.location.href;var n=new RegExp("(\\?|#|&)"+t+"=([^&#]*)(&|#|$)"),r=e.match(n);return decodeURIComponent(r?r[2]:"")}function P(t){return t?h(t)?t.message:u(t)?t:t.errmsg||"请求失败,请稍后重试":"请求失败,请稍后重试"}function N(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=[],n=new RegExp("https?://[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]"),r=0;r<t.length;r++){var i=t[r];if(!n.test(i))return;e.push(i.split("?")[0])}return e}function L(t){var e=JSON.parse(U()(t)),n=e.attrModules,r=void 0===n?{}:n,i=e.plan,o=r.applicant,u=r.insureds,s=r.hcpics,c=r.hctext,l=r.makeup,f=r.apphctext,p=r.apphcpics,d={},h=function(t){var e=null,n=null,r=null,i=null,o={},u={},s={};for(var c in t){var l=t[c].defaultValue,f=t[c].required,p=t[c].display;if(a(l)){var d=N(l);d&&(l=d)}1!==Number(f)&&1!==Number(p)||("idType"===c||"id"===c||"idValidType"===c||"idValidEndTime"===c||"idValidStartTime"===c?(e=e||{},e[c]=l):"socialInsAddr"===c||"socialInsDetail"===c||"socialInsPost"===c||"socialInsTel"===c?(n=n||{},n[c]=l):"residentAddr"===c||"residentDetail"===c||"residentPost"===c||"residentTel"===c?(r=r||{},r[c]=l):"officeAddr"===c||"officeDetail"===c||"officePost"===c||"officeTel"===c?(i=i||{},i[c]=l):"companyIdType"===c||"companyId"===c?(u=u||{},u[c]=l):"detail"===c?(s=s||{},s[c]=l):o[c]=l)}return e&&(o.certificate=e),n&&(o.socialIns=n),r&&(o.resident=r),i&&(o.office=i),u&&(o.companyCertificate=u),s&&(o.companyAddress=s),o};if(r.plan&&(i=h(r.plan)),o&&(d.applicant={},o&&(d.applicant=h(o))),u||i){d.insureds=[];for(var m=u||[""],g=0;g<m.length;g++){var y=m[g],v=null,b={};y&&(v=h(y)),v&&(b.insured=v),i&&(b.plan=i),d.insureds.push(b)}}if(c&&(d.hctext=h(c)),f&&(d.apphctext=h(f)),s&&(d.hcpics=h(s)),p&&(d.apphcpics=h(p)),l){d.makeup={};for(var x=l||[""],w=0;w<x.length;w++){var S=x[w],_=null;S&&(_=h(S)),_&&(d.makeup=R()(d.makeup,_))}}return d}function E(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8,e=URL.createObjectURL(new Blob).toString();return URL.revokeObjectURL(e),(e.substring(e.lastIndexOf("/")+1)||"").replace(new RegExp("-","g"),"").substring(0,t)}function I(t){if("string"!=typeof t)return!1;var e=t.toLowerCase();try{return"pdf"===new URL(e.startsWith("http")?e:"https://"+e).pathname.split(".").pop()}catch(t){return/.pdf($|\?|#)/.test(e)}}function $(t){try{if(!t||"string"!=typeof t)return{id:"",originalName:"",error:"输入参数无效"};var e=t.trim();if(e.startsWith("http://")||e.startsWith("https://")){var n=e.split("/");if(0===n.length)return{id:"",originalName:"",error:"URL格式错误"};e=n.pop().split("?")[0]}if(!e.includes("~~"))return{id:"",originalName:e,error:"文件名不包含~~分隔符"};var r=e.split("~~");if(r.length<2)return{id:"",originalName:e,error:"文件名格式错误"};var i=r[0]||"",o=r[1].replace(/\.[^.]+$/,"");if(!o)return{id:i,originalName:"",error:"Base64编码部分为空"};for(var a=o.replace(/-/g,"+").replace(/_/g,"/");a.length%4;)a+="=";var u="";try{u=atob(a)}catch(t){return{id:i,originalName:"",error:"Base64解码失败: "+t.message}}var s="";try{var c=Uint8Array.from(u,function(t){return t.charCodeAt(0)});s=new TextDecoder("utf-8").decode(c)}catch(t){try{s=decodeURIComponent(u)}catch(t){s=u}}return{id:i,originalName:s,error:null}}catch(t){return console.error("parseEncodedFile 解析错误:",t),{id:"",originalName:"",error:t&&t.message||"未知错误"}}}n.d(e,"K",function(){return at}),n.d(e,"x",function(){return ut}),e.e=r,e.d=i,e.c=o,e.p=a,e.D=u,e.z=s,e.A=c,e.q=l,e.y=f,e.r=p,e.E=d,e.s=h,e.t=m,e.C=g,e.b=y,e.J=v,e.w=b,e.h=x,e.f=w,e.g=S,e.i=_,e.F=O,e.o=k,e.H=C,e.m=j,e.u=A,e.I=T,e.l=V,e.n=B,e.k=P,e.j=L,n.d(e,"v",function(){return st}),e.a=E,e.B=I,e.G=$;var M=n(28),R=n.n(M),F=n(79),D=n.n(F),W=n(58),U=n.n(W),G="undefined"!=typeof window,K=G&&window.navigator.userAgent.toLowerCase(),q=K&&/msie|trident/.test(K),z=K&&K.indexOf("msie 9.0")>0,H=K&&K.indexOf("edge/")>0,J=K&&K.indexOf("android")>0,X=K&&/iphone|ipad|ipod|ios/.test(K),Y=K&&/arkweb|harmony/.test(K),Z=K&&/chrome\/\d+/.test(K)&&!H,Q=K&&/MicroMessenger/i.test(K),tt=K&&/wxwork/i.test(K),et=K&&/mucxiaoyusan/i.test(K),nt=K&&/muckacabao/i.test(K),rt=K&&/mucyanxuan/i.test(K),it=et||nt,ot=K&&/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/i.test(K),at={isIE:q,isMobile:ot,isIE9:z,isEdge:H,isAndroid:J,isIOS:X,isHarmonyOS:Y,isChrome:Z,isWx:Q,isWxWork:tt,isApp:it,isXysApp:et,isKcbApp:nt,isYxApp:rt},ut=/MucWebAutoTester/.test(window.navigator.userAgent),st=function(){return!("undefined"==typeof window||!window)&&(/iphone/gi.test(window.navigator.userAgent)&&window.screen.height>=812)}},40:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},41:function(t,e,n){var r=n(10),i=n(2).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},42:function(t,e,n){"use strict";var r=n(4);e.a={props:{required:{type:Boolean,default:!1},tit:{type:String,default:""},title:{type:String,default:""},subTit:{type:String,default:""},tips:{type:[String,Object],default:""},eleType:{type:Number,default:0},emailAutoList:{type:Array,default:function(){return[]}},remarks:{type:String,default:""},tags:{type:Array,default:function(){return[]}},inputCarry:{type:Object,default:function(){return null}},errMsg:{type:String,default:""},value:{type:[String,Object,Number,Array],default:void 0},desc:{type:[String,Number],default:""},type:{type:String,default:"text"},stepperTabs:{type:Object,default:function(){return null}},stepperAppend:{type:Object,default:function(){return null}},placeholder:{type:String,default:""},unit:{type:String,default:""},bubble:{type:Boolean,default:!1},options:{type:Array,default:function(){return[]}},range:{type:[Object,Array],default:function(){return{conMin:1,conMax:1,min:1,max:1e3,step:1}}},displayRatio:{type:Number,default:1},fontSize:{type:[String,Number],default:""},color:{type:String,default:""},rows:{type:[String,Number],default:1},align:{type:String,default:"right"},colons:{type:Boolean,default:!1},border:{type:String,default:"none"},titPadding:{type:Boolean,default:!1},zIndex:{type:Number,default:100},brandColor:{type:String,default:"#8c7fee"},btnColor:{type:String,default:"#ff5a6e"},uploadOption:{type:Object,default:function(){return{}}},attachElement:{type:Object,default:function(){return null}},linkTips:{type:Object,default:function(){return null}},isCps:{type:Boolean,default:!1},appId:{type:String,default:""},maxLength:{type:[String,Number],default:""},tempVar:{type:Object,default:function(){return{}}},diseaseUrl:{type:String,default:""},diseaseParams:{type:Object,default:function(){return{}}},download:{type:Object,default:function(){return null}},examplePicture:{type:Array,default:function(){return[]}},signaturePicture:{type:String,default:""},disabled:{type:Boolean,default:!1},dataTrack:{type:String,default:""},allowSpace:{type:Boolean,default:!1},pickerType:{type:String,default:""},needSearch:{type:Number,default:0},signatureMode:{type:String,default:""},faceCheckData:{type:Object,default:function(){return null}},showLayerFn:{type:Function,default:null},disableShow:{type:Object,default:function(){return null}},multiNumber:{type:Number,default:-1},flexDirection:{type:String,default:"row"},alwaysTips:{type:[String,Number],default:"0"},verifyCodeConfig:{type:Object,default:function(){return{}}},bindKey:{type:String,default:""},showBindKey:{type:Boolean,default:!0},asyncSearch:{type:[String,Number],default:0},swicthPop:{type:[Object,Array],default:null},swicthBottomText:{type:[Object,Array],default:null},swicthAction:{type:[Object,Array],default:null},valueType:{type:[String,Number],default:""},showTextButton:{type:String,default:""},autoRenewalBindAction:{type:Number,default:0},remarksBgColor:{type:String,default:"#f7f8fc"},remarksNoSharp:{type:Number,default:0}},computed:{common:function(){return{tit:this.tit,subTit:this.subTit,tips:this.tips,remarks:this.remarks,tags:this.tags,errMsg:this.errMsg,colons:this.colons,align:this.align,border:this.border,titPadding:this.titPadding,flexDirection:this.flexDirection,bindKey:this.bindKey,showBindKey:this.showBindKey,isCps:this.isCps,brandColor:this.brandColor,value:this.value,autoRenewalBindAction:this.autoRenewalBindAction,remarksBgColor:this.remarksBgColor,remarksNoSharp:this.remarksNoSharp}},size:function(){return Object(r.g)(this.fontSize)}},methods:{showTips:function(){if(this.tips){var t=this.tips;if(Object(r.D)(t))try{t=JSON.parse(t),Object(r.A)(t)||(t={title:this.tit,text:this.tips})}catch(e){t={title:this.tit,text:this.tips}}this.$emit("tipsclick",t)}},takenLink:function(t){this.$emit("takenLink",t)}}}},43:function(t,e,n){"use strict";var r=n(4);e.a={props:{elemKey:{type:String,default:""}},computed:{isWebTester:function(){return r.x}},methods:{mucChange:function(t){this.isWebTester&&"_mucValue"in t&&this.change(t,t._mucValue)},change:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";this.handleChangeAdditionalEvent(e,n),this.$emit("change",e,n)},cancel:function(){this.$emit("cancel")},handleChangeAdditionalEvent:function(t,e){var n=this,r=Array.isArray(this.swicthPop)?this.swicthPop.find(function(e){return String(e.bindValue)===String(t)}):this.swicthPop;r&&String(r.bindValue)===String(t)&&(this[this.bindKey+"-"+r.bindValue+"-swicthPopFinish"]||3==+r.type&&(this.__goldDialog__&&this.__goldDialog__.remove(),this.__goldDialog__=this.$createGoldDialog({zIndex:500,dialogType:2,title:r.title,buttonType:"sticky",closable:!1,maskClosable:!1,showCancelButton:!0,showConfirmButton:!0,confirmButtonText:r.confirmBtn[1].text,cancelButtonText:r.confirmBtn[0].text,content:r.content,confirmButtonColor:this.brandColor,onCancel:function(){var t=r.confirmBtn[0],i=t.bindValue,o=t.bindElements;n.$emit("change",i,e),Array.isArray(o)&&o.length&&n.$emit("changeChainElements",o)},onConfirm:function(){var t=r.confirmBtn[1],i=t.bindValue,o=t.bindElements;n.$emit("change",i,e),Array.isArray(o)&&o.length&&n.$emit("changeChainElements",o)}}),this.__goldDialog__.show(),1==+r.showOnce&&(this[this.bindKey+"-"+r.bindValue+"-swicthPopFinish"]=!0)))}}}},44:function(t,e,n){"use strict";function r(t){u||n(199)}var i=n(155),o=n(200),a=n(1),u=!1,s=r,c=Object(a.a)(i.a,o.a,o.b,!1,s,"data-v-507024ec",null);c.options.__file="src\\components\\common\\baseelement.vue",e.a=c.exports},45:function(t,e,n){"use strict";var r=n(16),i=n(13),o=n(49),a=n(7),u=n(18),s=n(70),c=n(27),l=n(74),f=n(3)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,h,m,g,y){s(n,e,h);var v,b,x,w=function(t){if(!p&&t in k)return k[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},S=e+" Iterator",_="values"==m,O=!1,k=t.prototype,C=k[f]||k["@@iterator"]||m&&k[m],j=C||w(m),A=m?_?w("entries"):j:void 0,T="Array"==e?k.entries||C:C;if(T&&(x=l(T.call(new t)))!==Object.prototype&&x.next&&(c(x,S,!0),r||"function"==typeof x[f]||a(x,f,d)),_&&C&&"values"!==C.name&&(O=!0,j=function(){return C.call(this)}),r&&!y||!p&&!O&&k[f]||a(k,f,j),u[e]=j,u[S]=d,m)if(v={values:_?j:w("values"),keys:g?j:w("keys"),entries:A},y)for(b in v)b in k||o(k,b,v[b]);else i(i.P+i.F*(p||O),e,v);return v}},46:function(t,e,n){var r=n(9),i=n(71),o=n(33),a=n(31)("IE_PROTO"),u=function(){},s=function(){var t,e=n(41)("iframe"),r=o.length;for(e.style.display="none",n(60).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.F;r--;)delete s.prototype[o[r]];return s()};t.exports=Object.create||function(t,e){var n;return null!==t?(u.prototype=r(t),n=new u,u.prototype=null,n[a]=t):n=s(),void 0===e?n:i(n,e)}},47:function(t,e,n){var r=n(26);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},48:function(t,e,n){t.exports=!n(5)&&!n(12)(function(){return 7!=Object.defineProperty(n(41)("div"),"a",{get:function(){return 7}}).a})},49:function(t,e,n){t.exports=n(7)},5:function(t,e,n){t.exports=!n(12)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},50:function(t,e,n){var r=n(6),i=n(11),o=n(72)(!1),a=n(31)("IE_PROTO");t.exports=function(t,e){var n,u=i(t),s=0,c=[];for(n in u)n!=a&&r(u,n)&&c.push(n);for(;e.length>s;)r(u,n=e[s++])&&(~o(c,n)||c.push(n));return c}},51:function(t,e,n){var r=n(50),i=n(33).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},53:function(t,e,n){"use strict";var r=n(69)(!0);n(45)(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})})},54:function(t,e,n){var r=n(11),i=n(51).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(t){try{return i(t)}catch(t){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?u(t):i(r(t))}},545:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(14),i=n(546);i.a.install=function(t){t.component(i.a.name,i.a),t.prototype.$createGoldInput=Object(r.a)(i.a,t)},e.default=i.a},546:function(t,e,n){"use strict";function r(t){u||n(547)}var i=n(361),o=n(548),a=n(1),u=!1,s=r,c=Object(a.a)(i.a,o.a,o.b,!1,s,"data-v-fb240230",null);c.options.__file="src\\components\\GoldInput\\src\\index.vue",e.a=c.exports},547:function(t,e){},548: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("act-gold-base-element",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],class:{"element-bubble-box":t.showBubble},attrs:{common:t.common,type:t.type,hasSuffix:!!t.$slots.suffix},on:{showTips:t.showTips,takenLink:t.takenLink},scopedSlots:t._u([{key:"email",fn:function(){return["email"===t.type&&t.emailAuto.length>0?n("div",{class:[{"email-auto-fix":!t.istopTip},{"email-auto-fix-top":t.istopTip}]},t._l(t.emailAuto,function(e){return n("p",{key:e,staticClass:"email-item",on:{mousedown:function(n){return t.selectEmail(e)},touchstart:function(n){return t.selectEmail(e)}}},[t._v("\n "+t._s(e)+"\n ")])}),0):t._e()]},proxy:!0}])},[n("act-base-input",{ref:"input",attrs:{type:t.type,placeholder:t.placeholder,value:t.displayValue,"data-key":[t.isWebTester?t.elemKey:""],maxLength:t.maxlength,allowSpace:t.allowSpace},on:{focus:t.onFocus,blur:t.onBlur,input:t.onInput,change:t.onChange,mucChange:function(e){return t.mucChange(e)}}}),t._v(" "),t._v(" "),t.unit?n("span",{staticClass:"element-unit"},[t._v(t._s(t.unit))]):t._e(),t._v(" "),t.$slots.suffix?t._t("suffix"):t._e(),t._v(" "),t.showBubble?n("div",{ref:"bubbleRef",staticClass:"element-bubble",style:t.bubblePosition},[n("div",{staticClass:"element-bubble-text"},[t._v("\n "+t._s(t.bubbleText)+"\n ")]),t._v(" "),n("span",{staticClass:"element-bubble-input"},[t._v(t._s(t.displayValue))])]):t._e()],2)},i=[];r._withStripped=!0},55:function(t,e,n){"use strict";var r=n(2),i=n(6),o=n(5),a=n(13),u=n(49),s=n(77).KEY,c=n(12),l=n(32),f=n(27),p=n(23),d=n(3),h=n(36),m=n(37),g=n(85),y=n(80),v=n(9),b=n(10),x=n(24),w=n(11),S=n(34),_=n(19),O=n(46),k=n(54),C=n(86),j=n(35),A=n(8),T=n(15),V=C.f,B=A.f,P=k.f,N=r.Symbol,L=r.JSON,E=L&&L.stringify,I=d("_hidden"),$=d("toPrimitive"),M={}.propertyIsEnumerable,R=l("symbol-registry"),F=l("symbols"),D=l("op-symbols"),W=Object.prototype,U="function"==typeof N&&!!j.f,G=r.QObject,K=!G||!G.prototype||!G.prototype.findChild,q=o&&c(function(){return 7!=O(B({},"a",{get:function(){return B(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=V(W,e);r&&delete W[e],B(t,e,n),r&&t!==W&&B(W,e,r)}:B,z=function(t){var e=F[t]=O(N.prototype);return e._k=t,e},H=U&&"symbol"==typeof N.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof N},J=function(t,e,n){return t===W&&J(D,e,n),v(t),e=S(e,!0),v(n),i(F,e)?(n.enumerable?(i(t,I)&&t[I][e]&&(t[I][e]=!1),n=O(n,{enumerable:_(0,!1)})):(i(t,I)||B(t,I,_(1,{})),t[I][e]=!0),q(t,e,n)):B(t,e,n)},X=function(t,e){v(t);for(var n,r=g(e=w(e)),i=0,o=r.length;o>i;)J(t,n=r[i++],e[n]);return t},Y=function(t,e){return void 0===e?O(t):X(O(t),e)},Z=function(t){var e=M.call(this,t=S(t,!0));return!(this===W&&i(F,t)&&!i(D,t))&&(!(e||!i(this,t)||!i(F,t)||i(this,I)&&this[I][t])||e)},Q=function(t,e){if(t=w(t),e=S(e,!0),t!==W||!i(F,e)||i(D,e)){var n=V(t,e);return!n||!i(F,e)||i(t,I)&&t[I][e]||(n.enumerable=!0),n}},tt=function(t){for(var e,n=P(w(t)),r=[],o=0;n.length>o;)i(F,e=n[o++])||e==I||e==s||r.push(e);return r},et=function(t){for(var e,n=t===W,r=P(n?D:w(t)),o=[],a=0;r.length>a;)!i(F,e=r[a++])||n&&!i(W,e)||o.push(F[e]);return o};U||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===W&&e.call(D,n),i(this,I)&&i(this[I],t)&&(this[I][t]=!1),q(this,t,_(1,n))};return o&&K&&q(W,t,{configurable:!0,set:e}),z(t)},u(N.prototype,"toString",function(){return this._k}),C.f=Q,A.f=J,n(51).f=k.f=tt,n(25).f=Z,j.f=et,o&&!n(16)&&u(W,"propertyIsEnumerable",Z,!0),h.f=function(t){return z(d(t))}),a(a.G+a.W+a.F*!U,{Symbol:N});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;nt.length>rt;)d(nt[rt++]);for(var it=T(d.store),ot=0;it.length>ot;)m(it[ot++]);a(a.S+a.F*!U,"Symbol",{for:function(t){return i(R,t+="")?R[t]:R[t]=N(t)},keyFor:function(t){if(!H(t))throw TypeError(t+" is not a symbol!");for(var e in R)if(R[e]===t)return e},useSetter:function(){K=!0},useSimple:function(){K=!1}}),a(a.S+a.F*!U,"Object",{create:Y,defineProperty:J,defineProperties:X,getOwnPropertyDescriptor:Q,getOwnPropertyNames:tt,getOwnPropertySymbols:et});var at=c(function(){j.f(1)});a(a.S+a.F*at,"Object",{getOwnPropertySymbols:function(t){return j.f(x(t))}}),L&&a(a.S+a.F*(!U||c(function(){var t=N();return"[null]"!=E([t])||"{}"!=E({a:t})||"{}"!=E(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(b(e)||void 0!==t)&&!H(t))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!H(e))return e}),r[1]=e,E.apply(L,r)}}),N.prototype[$]||n(7)(N.prototype,$,N.prototype.valueOf),f(N,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},56:function(t,e,n){n(75);for(var r=n(2),i=n(7),o=n(18),a=n(3)("toStringTag"),u="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(","),s=0;s<u.length;s++){var c=u[s],l=r[c],f=l&&l.prototype;f&&!f[a]&&i(f,a,c),o[c]=o.Array}},57:function(t,e,n){var r=n(13),i=n(0),o=n(12);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},58:function(t,e,n){t.exports={default:n(81),__esModule:!0}},59:function(t,e,n){var r=n(30),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},6:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},60:function(t,e,n){var r=n(2).document;t.exports=r&&r.documentElement},61:function(t,e){},62:function(t,e,n){"use strict";function r(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}var i=n(65),o=n.n(i),a=n(97),u=n.n(a),s=n(28),c=n.n(s),l=n(100),f=n.n(l),p=f.a,d=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,m=function(){try{if(!c.a)return!1;var t=new String("abc");if(t[5]="de","5"===u()(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==u()(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===o()(c()({},r)).join("")}catch(t){return!1}}()?c.a:function(t,e){for(var n,i,o=r(t),a=1;a<arguments.length;a++){n=Object(arguments[a]);for(var u in n)d.call(n,u)&&(o[u]=n[u]);if(p){i=p(n);for(var s=0;s<i.length;s++)h.call(n,i[s])&&(o[i[s]]=n[i[s]])}}return o};e.a=m},65:function(t,e,n){t.exports={default:n(94),__esModule:!0}},67:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},69:function(t,e,n){var r=n(30),i=n(29);t.exports=function(t){return function(e,n){var o,a,u=String(i(e)),s=r(n),c=u.length;return s<0||s>=c?t?"":void 0:(o=u.charCodeAt(s),o<55296||o>56319||s+1===c||(a=u.charCodeAt(s+1))<56320||a>57343?t?u.charAt(s):o:t?u.slice(s,s+2):a-56320+(o-55296<<10)+65536)}}},7:function(t,e,n){var r=n(8),i=n(19);t.exports=n(5)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},70:function(t,e,n){"use strict";var r=n(46),i=n(19),o=n(27),a={};n(7)(a,n(3)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},71:function(t,e,n){var r=n(8),i=n(9),o=n(15);t.exports=n(5)?Object.defineProperties:function(t,e){i(t);for(var n,a=o(e),u=a.length,s=0;u>s;)r.f(t,n=a[s++],e[n]);return t}},72:function(t,e,n){var r=n(11),i=n(59),o=n(73);t.exports=function(t){return function(e,n,a){var u,s=r(e),c=i(s.length),l=o(a,c);if(t&&n!=n){for(;c>l;)if((u=s[l++])!=u)return!0}else for(;c>l;l++)if((t||l in s)&&s[l]===n)return t||l||0;return!t&&-1}}},73:function(t,e,n){var r=n(30),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},74:function(t,e,n){var r=n(6),i=n(24),o=n(31)("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: