@xysfe/actui
Version:
A fantastic mobile ui lib implement by Vue
1 lines • 606 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.GoldInsureNotice=e():t.GoldInsureNotice=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../lib",e(e.s=1870)}({0:function(t,e){var r=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=r)},1:function(t,e,r){"use strict";function n(t,e,r,n,i,o,a,s){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var l="function"==typeof t?t.options:t;e&&(l.render=e,l.staticRenderFns=r,l._compiled=!0),n&&(l.functional=!0),o&&(l._scopeId=o);var u;if(a?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},l._ssrRegister=u):i&&(u=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(l.functional){l._injectStyles=u;var h=l.render;l.render=function(t,e){return u.call(e),h(t,e)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,u):[u]}return{exports:t,options:l}}e.a=n},10:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},100:function(t,e,r){t.exports={default:r(101),__esModule:!0}},101:function(t,e,r){r(55),t.exports=r(0).Object.getOwnPropertySymbols},102:function(t,e,r){"use strict";function n(t){var e={},r={},n={};for(var c in t)if(t.hasOwnProperty(c))if(-1!==s.indexOf(c))e[c]=t[c];else if(a.test(c)){var l=a.exec(c)[1];l=Object(o.a)(l),n[l]=t[c]}else r[c]=t[c];return e.on=Object(i.a)(n,e.on),e.props=Object(i.a)(r,e.props),e}e.a=n;var i=r(62),o=r(103),a=new RegExp(/^on(.+)/),s=["class","style","attrs","props","domProps","on","nativeOn","directives","scopedSlots","slot","key","ref","refInFor"]},103:function(t,e,r){"use strict";function n(t,e){var r=c(t,e);return r.charAt(0).toLowerCase()+r.slice(1)}e.a=n;var i=r(28),o=r.n(i),a=r(4),s=function(t){for(var e=!1,r=!1,n=!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,n=r,r=!0,i++):r&&n&&/[a-zA-Z]/.test(o)&&o.toLowerCase()===o?(t=t.slice(0,i-1)+"-"+t.slice(i-1),n=r,r=!1,e=!0):(e=o.toLowerCase()===o&&o.toUpperCase()!==o,n=r,r=o.toUpperCase()===o&&o.toLowerCase()!==o)}return t},c=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=s(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,r){"use strict";function n(t,e,r,n){var o=void 0,a=void 0,s=new t({render:function(t){var r=a&&a(t);return r&&!Object(i.p)(r)&&(r=[r]),t(e,o,r||[])},methods:{init:function(){document.body.appendChild(this.$el)},destroy:function(){this.$destroy(),document.body.removeChild(this.$el)}}});return s.updateRenderData=function(t,e){o=t,a=e},s.updateRenderData(r,n),s.$mount(),s.init(),s.$children[0]}e.a=n;var i=r(4)},1042:function(t,e,r){"use strict";function n(t){s||r(1043)}var i=r(568),o=r(1044),a=r(1),s=!1,c=n,l=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-503eaf05",null);l.options.__file="src\\components\\Toast\\src\\index.vue",e.a=l.exports},1043:function(t,e){},1044:function(t,e,r){"use strict";r.d(e,"a",function(){return n}),r.d(e,"b",function(){return i});var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("act-popup",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{opacity:"0",pointerEvent:t.pointerEvents,zIndex:t.zIndex},scopedSlots:t._u([{key:"mask",fn:function(){return[r("div",{staticClass:"act-toast",style:{fontSize:t._fontSize}},[r("div",{class:{"act-toast-content":!0,icon:""!==t.iconObj,"icon-left":"left"===t.iconObj.align},style:{"text-align":t.align,background:"rgba(0,0,0,"+t.opacity+")"}},[t.iconObj?r("div",{staticClass:"icon-cont"},[r("Loading",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],attrs:{type:t.iconObj.type,size:t.iconObj.size?t.iconObj.size:33,color:t.iconObj.color,bgcolor:t.iconObj.bgcolor,center:t.iconObj.center}})],1):t._e(),t._v(" "),r("div",{staticClass:"toast-txt"},[t._v("\n "+t._s(t.txt)+"\n ")])])])]},proxy:!0}])})},i=[];n._withStripped=!0},105:function(t,e,r){"use strict";var n=r(20),i=r(64);e.a={name:"ActPopup",mixins:[n.a,i.a],props:{type:{type:String,default:""},mask:{type:Boolean,default:!0},content:{type:String,default:""},center:{type:Boolean,default:!0},opacity:{type:[Number,String],default:.7},pointerEvent:{type:String,default:""},zIndex:{type:[String,Number],default:"999"},topBorderRadius:{type:Boolean,default:!1}},computed:{typeClass:function(){return this.type?"act-"+this.type:""},maskBgColor:function(){return"rgba(0, 0, 0, "+this.opacity+")"}},methods:{maskClick:function(t){this.$emit("mask-click",t)}}}},107:function(t,e,r){var n=r(26),i=r(3)("toStringTag"),o="Arguments"==n(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,r,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=a(e=Object(t),i))?r:o?n(e):"Object"==(s=n(e))&&"function"==typeof e.callee?"Arguments":s}},108:function(t,e,r){"use strict";function n(t){s||r(120)}var i=r(105),o=r(121),a=r(1),s=!1,c=n,l=Object(a.a)(i.a,o.a,o.b,!1,c,null,null);l.options.__file="src\\components\\common\\popup.vue",e.a=l.exports},11:function(t,e,r){var n=r(47),i=r(29);t.exports=function(t){return n(i(t))}},110:function(t,e,r){var n=r(9),i=r(40),o=r(3)("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||void 0==(r=n(a)[o])?e:i(r)}},111:function(t,e,r){var n,i,o,a=r(38),s=r(146),c=r(60),l=r(41),u=r(2),h=u.process,f=u.setImmediate,d=u.clearImmediate,p=u.MessageChannel,v=u.Dispatch,m=0,g={},y=function(){var t=+this;if(g.hasOwnProperty(t)){var e=g[t];delete g[t],e()}},b=function(t){y.call(t.data)};f&&d||(f=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return g[++m]=function(){s("function"==typeof t?t:Function(t),e)},n(m),m},d=function(t){delete g[t]},"process"==r(26)(h)?n=function(t){h.nextTick(a(y,t,1))}:v&&v.now?n=function(t){v.now(a(y,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=b,n=a(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(n=function(t){u.postMessage(t+"","*")},u.addEventListener("message",b,!1)):n="onreadystatechange"in l("script")?function(t){c.appendChild(l("script")).onreadystatechange=function(){c.removeChild(this),y.call(t)}}:function(t){setTimeout(a(y,t,1),0)}),t.exports={set:f,clear:d}},112:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},113:function(t,e,r){var n=r(9),i=r(10),o=r(68);t.exports=function(t,e){if(n(t),i(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},114:function(t,e,r){"use strict";function n(t){t.interceptors.response.use(function(t){return t},function(t){var e={403:"请求被拒绝,请联系客服处理",404:"您访问的资源不可用,请联系客服处理",502:"服务器网关出错,请稍后重试",503:"服务器维护中,请稍后重试",504:"服务器请求超时,请稍后重试"},r="";return r=t&&t.response&&t.response.status?e[t.response.status]?e[t.response.status]+"("+t.response.status+")":"请求失败,请稍后重试("+t.response.status+")":t&&t.message&&/timeout/i.test(t.message)?"请求超时,请稍后重试":"请求失败,请稍后重试",s.a.reject(new Error(r))})}function i(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return new s.a(function(i,o){var a=l.a.create();n(a),a.request({method:"post",url:t,data:e,timeout:r,withCredentials:!0,headers:{"X-Requested-With":"XMLHttpRequest"}}).then(function(t){i(t)}).catch(function(t){o(t)})})}function o(t){return l.a.get(t).then(function(t){return s.a.resolve(t.data)})}e.a=n,e.d=i,e.c=o;var a=r(52),s=r.n(a),c=r(164),l=r.n(c);e.b=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return new s.a(function(i,o){var a=l.a.create();n(a),a.request({method:"post",url:t,data:e,timeout:r,withCredentials:!0,headers:{"X-Requested-With":"XMLHttpRequest","Content-Type":"application/x-www-form-urlencoded"},transformRequest:[function(t){function e(t,e){var r=0,n=t.length;if(void 0===n||"[object Function]"===Object.prototype.toString.call(t)){for(var i in t)if(!1===e.call(t[i],i,t[i]))break}else for(var o=t[0];r<n&&!1!==e.call(o,r,o);o=t[++r]);return t}function r(t,n,i){var o=void 0,a="[object Array]"===Object.prototype.toString.call(n),s="[object Object]"===Object.prototype.toString.call(n);e(n,function(e,n){o=Object.prototype.toString.call(n),i&&(e=i+"["+(s||"[object Object]"===o||"[object Array]"===o?e:"")+"]"),!i&&a?t.add(n.name,n.value):"[object Array]"===o||"[object Object]"===o?r(t,n,e):t.add(e,n)})}if(t){return function(t){var e=[];return e.add=function(t,e){"[object Function]"===Object.prototype.toString.call(e)&&(e=e()),null==e&&(e=""),this.push(encodeURIComponent(t)+"="+encodeURIComponent(e))},r(e,t),e.join("&").replace(/%20/g,"+")}(t)}}]}).then(function(t){i(t)}).catch(function(t){o(t)})})}},115:function(t,e,r){var n=r(107),i=r(3)("iterator"),o=r(18);t.exports=r(0).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[n(t)]}},116:function(t,e,r){"use strict";function n(t){t.preventDefault()}var i={watch:{isVisible:function(t){t?document.body.addEventListener("touchmove",n,{passive:!1}):document.body.removeEventListener("touchmove",n,{passive:!1})}},beforeDestroy:function(){document.body.removeEventListener("touchmove",n,{passive:!1})}};e.a=i},117:function(t,e){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(r=window)}t.exports=r},118:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(154);e.default=n.a},12:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},120:function(t,e){},121:function(t,e,r){"use strict";r.d(e,"a",function(){return n}),r.d(e,"b",function(){return i});var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-popup",class:t.typeClass,style:{pointerEvents:t.pointerEvent,zIndex:t.zIndex}},[r("div",{directives:[{name:"show",rawName:"v-show",value:t.mask,expression:"mask"}],staticClass:"act-popup-mask act-row act-middle",style:{backgroundColor:t.maskBgColor},on:{click:t.maskClick}},[t._t("mask")],2),t._v(" "),r("div",{staticClass:"act-popup-container",class:{"act-popup-center":t.center}},[t.$slots.default?r("div",{class:{"act-popup-content":!0,"act-popup-top-radius":t.topBorderRadius}},[t._t("default")],2):r("div",{class:{"act-popup-content":!0,"act-popup-top-radius":t.topBorderRadius},domProps:{innerHTML:t._s(t.content)}})])])},i=[];n._withStripped=!0},123:function(t,e,r){var n=r(38),i=r(136),o=r(137),a=r(9),s=r(59),c=r(115),l={},u={},e=t.exports=function(t,e,r,h,f){var d,p,v,m,g=f?function(){return t}:c(t),y=n(r,h,e?2:1),b=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(o(g)){for(d=s(t.length);d>b;b++)if((m=e?y(a(p=t[b])[0],p[1]):y(t[b]))===l||m===u)return m}else for(v=g.call(t);!(p=v.next()).done;)if((m=i(v,y,p.value,e))===l||m===u)return m};e.BREAK=l,e.RETURN=u},124:function(t,e,r){t.exports={default:r(186),__esModule:!0}},125:function(t,e,r){"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return t.apply(e,r)}}},126:function(t,e,r){"use strict";function n(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var i=r(17);t.exports=function(t,e,r){if(!e)return t;var o;if(r)o=r(e);else if(i.isURLSearchParams(e))o=e.toString();else{var a=[];i.forEach(e,function(t,e){null!==t&&void 0!==t&&(i.isArray(t)?e+="[]":t=[t],i.forEach(t,function(t){i.isDate(t)?t=t.toISOString():i.isObject(t)&&(t=JSON.stringify(t)),a.push(n(e)+"="+n(t))}))}),o=a.join("&")}if(o){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},127:function(t,e,r){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},128:function(t,e,r){"use strict";(function(e){function n(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var i=r(17),o=r(170),a={"Content-Type":"application/x-www-form-urlencoded"},s={adapter:function(){var t;return"undefined"!=typeof XMLHttpRequest?t=r(129):void 0!==e&&"[object process]"===Object.prototype.toString.call(e)&&(t=r(129)),t}(),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)?t:i.isArrayBufferView(t)?t.buffer:i.isURLSearchParams(t)?(n(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):i.isObject(t)?(n(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(t){s.headers[t]={}}),i.forEach(["post","put","patch"],function(t){s.headers[t]=i.merge(a)}),t.exports=s}).call(e,r(153))},129:function(t,e,r){"use strict";var n=r(17),i=r(171),o=r(126),a=r(173),s=r(176),c=r(177),l=r(130);t.exports=function(t){return new Promise(function(e,u){var h=t.data,f=t.headers;n.isFormData(h)&&delete f["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var p=t.auth.username||"",v=t.auth.password||"";f.Authorization="Basic "+btoa(p+":"+v)}var m=a(t.baseURL,t.url);if(d.open(t.method.toUpperCase(),o(m,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,d.onreadystatechange=function(){if(d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in d?s(d.getAllResponseHeaders()):null,n=t.responseType&&"text"!==t.responseType?d.response:d.responseText,o={data:n,status:d.status,statusText:d.statusText,headers:r,config:t,request:d};i(e,u,o),d=null}},d.onabort=function(){d&&(u(l("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){u(l("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),u(l(e,t,"ECONNABORTED",d)),d=null},n.isStandardBrowserEnv()){var g=r(178),y=(t.withCredentials||c(m))&&t.xsrfCookieName?g.read(t.xsrfCookieName):void 0;y&&(f[t.xsrfHeaderName]=y)}if("setRequestHeader"in d&&n.forEach(f,function(t,e){void 0===h&&"content-type"===e.toLowerCase()?delete f[e]:d.setRequestHeader(e,t)}),n.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),t.responseType)try{d.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){d&&(d.abort(),u(t),d=null)}),void 0===h&&(h=null),d.send(h)})}},13:function(t,e,r){var n=r(2),i=r(0),o=r(38),a=r(7),s=r(6),c=function(t,e,r){var l,u,h,f=t&c.F,d=t&c.G,p=t&c.S,v=t&c.P,m=t&c.B,g=t&c.W,y=d?i:i[e]||(i[e]={}),b=y.prototype,_=d?n:p?n[e]:(n[e]||{}).prototype;d&&(r=e);for(l in r)(u=!f&&_&&void 0!==_[l])&&s(y,l)||(h=u?_[l]:r[l],y[l]=d&&"function"!=typeof _[l]?r[l]:m&&u?o(h,n):g&&_[l]==h?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(h):v&&"function"==typeof h?o(Function.call,h):h,v&&((y.virtual||(y.virtual={}))[l]=h,t&c.R&&b&&!b[l]&&a(b,l,h)))};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},130:function(t,e,r){"use strict";var n=r(172);t.exports=function(t,e,r,i,o){var a=new Error(t);return n(a,e,r,i,o)}},1304:function(t,e,r){"use strict";var n=r(20),i=r(134),o=r(138);e.a={name:"ActGoldDocLayer",mixins:[n.a],data:function(){return{scroll:null}},props:{title:{type:String,default:""},content:{type:String,default:""},opacity:{type:[Number,String],default:.7},zIndex:{type:[String,Number],default:999},closable:{type:Boolean,default:!0},listenScrollEnd:{type:Boolean,default:!1},beforeClose:{type:Function,default:null},listenPullingUp:{type:Boolean,default:!1}},methods:{refreshScroll:function(){var t=this;this.$nextTick(function(){t.scroll?t.scroll.refresh():t.$refs.scroll&&t.$refs.scroll.initScroll()})},scrollSuc:function(t){this.scroll=t},pullingUp:function(t){this.$emit("pullingUp",t)},scrollToTop:function(){this.scroll.scrollTo(0,0)},close:function(){var t=this;this.beforeClose?this.beforeClose(function(e){!1!==e&&(t.hide(),t.$emit("close"))}):(this.hide(),this.$emit("close"))},scrollEnd:function(t){this.$emit("scrollEnd",t)}},components:{ActGoldLayer:i.a,ActScroll:o.a}}},131:function(t,e,r){"use strict";var n=r(17);t.exports=function(t,e){e=e||{};var r={},i=["url","method","params","data"],o=["headers","auth","proxy"],a=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];n.forEach(i,function(t){void 0!==e[t]&&(r[t]=e[t])}),n.forEach(o,function(i){n.isObject(e[i])?r[i]=n.deepMerge(t[i],e[i]):void 0!==e[i]?r[i]=e[i]:n.isObject(t[i])?r[i]=n.deepMerge(t[i]):void 0!==t[i]&&(r[i]=t[i])}),n.forEach(a,function(n){void 0!==e[n]?r[n]=e[n]:void 0!==t[n]&&(r[n]=t[n])});var s=i.concat(o).concat(a),c=Object.keys(e).filter(function(t){return-1===s.indexOf(t)});return n.forEach(c,function(n){void 0!==e[n]?r[n]=e[n]:void 0!==t[n]&&(r[n]=t[n])}),r}},132:function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},134:function(t,e,r){"use strict";function n(t){s||r(203)}var i=r(156),o=r(204),a=r(1),s=!1,c=n,l=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-f3b563a0",null);l.options.__file="src\\components\\common\\goldlayer.vue",e.a=l.exports},1355:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(14),i=r(1383);i.a.install=function(t){t.component(i.a.name,i.a),t.prototype.$createGoldDocLayer=Object(n.a)(i.a,t)},e.default=i.a},136:function(t,e,r){var n=r(9);t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(e){var o=t.return;throw void 0!==o&&n(o.call(t)),e}}},137:function(t,e,r){var n=r(18),i=r(3)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||o[i]===t)}},138:function(t,e,r){"use strict";function n(t){s||r(205)}var i=r(157),o=r(206),a=r(1),s=!1,c=n,l=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-3349a91e",null);l.options.__file="src\\components\\common\\scroll.vue",e.a=l.exports},1383:function(t,e,r){"use strict";function n(t){s||r(1384)}var i=r(1304),o=r(1385),a=r(1),s=!1,c=n,l=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-0e0ce672",null);l.options.__file="src\\components\\GoldDocLayer\\src\\index.vue",e.a=l.exports},1384:function(t,e){},1385:function(t,e,r){"use strict";r.d(e,"a",function(){return n}),r.d(e,"b",function(){return i});var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("act-gold-layer",{attrs:{visible:t.isVisible,title:t.title,opacity:t.opacity,center:!1,zIndex:t.zIndex,closable:t.closable},on:{close:t.close}},[r("div",{staticClass:"act-doc-content act-iphonex-padding"},[t.$slots.header?t._t("header"):t._e(),t._v(" "),t.$slots.headerLeft?t._t("headerLeft"):t._e(),t._v(" "),t.$slots.headerRight?t._t("headerRight"):t._e(),t._v(" "),t.isVisible?r("act-scroll",{ref:t.scroll,staticClass:"scroll-word",attrs:{scrollbar:{fade:!1,interactive:!1},click:!0,listenScrollInit:!0,listenPullingUp:t.listenPullingUp,listenScrollEnd:t.listenScrollEnd},on:{scrollSuc:t.scrollSuc,pullingUp:t.pullingUp,"scroll-end":t.scrollEnd}},[t.$slots.default?t._t("default"):t._e(),t._v(" "),r("div",{domProps:{innerHTML:t._s(t.content)}})],2):t._e(),t._v(" "),t.$slots.footer?t._t("footer"):t._e()],2)])},i=[];n._withStripped=!0},139:function(t,e){t.exports=function(t,e,r,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(r+": incorrect invocation!");return t}},14:function(t,e,r){"use strict";function n(t,e){return function(r,n){var a=this,s=Object(i.a)(r),c=Object(o.a)(e,t,s,n),l=c.$parent,u=c.remove,h=c.show,f=c.hide;return c.remove=function(){c.$removed=!0,u&&u.call(this),l.destroy()},c.show=function(){return h&&h.call.apply(h,[this].concat(Array.prototype.slice.call(arguments))),this},c.hide=function(){return f&&f.call.apply(f,[this].concat(Array.prototype.slice.call(arguments))),this},a&&a._isVue&&a.$once("hook:beforeDestroy",function(){c.$removed||c.remove()}),c}}e.a=n;var i=r(102),o=r(104)},140:function(t,e,r){var n=r(7);t.exports=function(t,e,r){for(var i in e)r&&t[i]?t[i]=e[i]:n(t,i,e[i]);return t}},141:function(t,e,r){var n=r(3)("iterator"),i=!1;try{var o=[7][n]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var r=!1;try{var o=[7],a=o[n]();a.next=function(){return{done:r=!0}},o[n]=function(){return a},t(o)}catch(t){}return r}},142:function(t,e,r){"use strict";var n=r(2),i=r(0),o=r(8),a=r(5),s=r(3)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:n[t];a&&e&&!e[s]&&o.f(e,s,{configurable:!0,get:function(){return this}})}},144:function(t,e,r){r(61),r(53),r(56),r(145),r(149),r(150),t.exports=r(0).Promise},145:function(t,e,r){"use strict";var n,i,o,a,s=r(16),c=r(2),l=r(38),u=r(107),h=r(13),f=r(10),d=r(40),p=r(139),v=r(123),m=r(110),g=r(111).set,y=r(147)(),b=r(68),_=r(112),w=r(148),S=r(113),x=c.TypeError,A=c.process,k=A&&A.versions,T=k&&k.v8||"",C=c.Promise,P="process"==u(A),E=function(){},R=i=b.f,O=!!function(){try{var t=C.resolve(1),e=(t.constructor={})[r(3)("species")]=function(t){t(E,E)};return(P||"function"==typeof PromiseRejectionEvent)&&t.then(E)instanceof e&&0!==T.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),L=function(t){var e;return!(!f(t)||"function"!=typeof(e=t.then))&&e},I=function(t,e){if(!t._n){t._n=!0;var r=t._c;y(function(){for(var n=t._v,i=1==t._s,o=0;r.length>o;)!function(e){var r,o,a,s=i?e.ok:e.fail,c=e.resolve,l=e.reject,u=e.domain;try{s?(i||(2==t._h&&F(t),t._h=1),!0===s?r=n:(u&&u.enter(),r=s(n),u&&(u.exit(),a=!0)),r===e.promise?l(x("Promise-chain cycle")):(o=L(r))?o.call(r,c,l):c(r)):l(n)}catch(t){u&&!a&&u.exit(),l(t)}}(r[o++]);t._c=[],t._n=!1,e&&!t._h&&M(t)})}},M=function(t){g.call(c,function(){var e,r,n,i=t._v,o=D(t);if(o&&(e=_(function(){P?A.emit("unhandledRejection",i,t):(r=c.onunhandledrejection)?r({promise:t,reason:i}):(n=c.console)&&n.error&&n.error("Unhandled promise rejection",i)}),t._h=P||D(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},D=function(t){return 1!==t._h&&0===(t._a||t._c).length},F=function(t){g.call(c,function(){var e;P?A.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},j=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()),I(e,!0))},N=function(t){var e,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw x("Promise can't be resolved itself");(e=L(t))?y(function(){var n={_w:r,_d:!1};try{e.call(t,l(N,n,1),l(j,n,1))}catch(t){j.call(n,t)}}):(r._v=t,r._s=1,I(r,!1))}catch(t){j.call({_w:r,_d:!1},t)}}};O||(C=function(t){p(this,C,"Promise","_h"),d(t),n.call(this);try{t(l(N,this,1),l(j,this,1))}catch(t){j.call(this,t)}},n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=r(140)(C.prototype,{then:function(t,e){var r=R(m(this,C));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=P?A.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&I(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new n;this.promise=t,this.resolve=l(N,t,1),this.reject=l(j,t,1)},b.f=R=function(t){return t===C||t===a?new o(t):i(t)}),h(h.G+h.W+h.F*!O,{Promise:C}),r(27)(C,"Promise"),r(142)("Promise"),a=r(0).Promise,h(h.S+h.F*!O,"Promise",{reject:function(t){var e=R(this);return(0,e.reject)(t),e.promise}}),h(h.S+h.F*(s||!O),"Promise",{resolve:function(t){return S(s&&this===a?C:this,t)}}),h(h.S+h.F*!(O&&r(141)(function(t){C.all(t).catch(E)})),"Promise",{all:function(t){var e=this,r=R(e),n=r.resolve,i=r.reject,o=_(function(){var r=[],o=0,a=1;v(t,!1,function(t){var s=o++,c=!1;r.push(void 0),a++,e.resolve(t).then(function(t){c||(c=!0,r[s]=t,--a||n(r))},i)}),--a||n(r)});return o.e&&i(o.v),r.promise},race:function(t){var e=this,r=R(e),n=r.reject,i=_(function(){v(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return i.e&&n(i.v),r.promise}})},146:function(t,e){t.exports=function(t,e,r){var n=void 0===r;switch(e.length){case 0:return n?t():t.call(r);case 1:return n?t(e[0]):t.call(r,e[0]);case 2:return n?t(e[0],e[1]):t.call(r,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(r,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(r,e[0],e[1],e[2],e[3])}return t.apply(r,e)}},147:function(t,e,r){var n=r(2),i=r(111).set,o=n.MutationObserver||n.WebKitMutationObserver,a=n.process,s=n.Promise,c="process"==r(26)(a);t.exports=function(){var t,e,r,l=function(){var n,i;for(c&&(n=a.domain)&&n.exit();t;){i=t.fn,t=t.next;try{i()}catch(n){throw t?r():e=void 0,n}}e=void 0,n&&n.enter()};if(c)r=function(){a.nextTick(l)};else if(!o||n.navigator&&n.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);r=function(){u.then(l)}}else r=function(){i.call(n,l)};else{var h=!0,f=document.createTextNode("");new o(l).observe(f,{characterData:!0}),r=function(){f.data=h=!h}}return function(n){var i={fn:n,next:void 0};e&&(e.next=i),t||(t=i,r()),e=i}}},148:function(t,e,r){var n=r(2),i=n.navigator;t.exports=i&&i.userAgent||""},149:function(t,e,r){"use strict";var n=r(13),i=r(0),o=r(2),a=r(110),s=r(113);n(n.P+n.R,"Promise",{finally:function(t){var e=a(this,i.Promise||o.Promise),r="function"==typeof t;return this.then(r?function(r){return s(e,t()).then(function(){return r})}:t,r?function(r){return s(e,t()).then(function(){throw r})}:t)}})},15:function(t,e,r){var n=r(50),i=r(33);t.exports=Object.keys||function(t){return n(t,i)}},150:function(t,e,r){"use strict";var n=r(13),i=r(68),o=r(112);n(n.S,"Promise",{try:function(t){var e=i.f(this),r=o(t);return(r.e?e.reject:e.resolve)(r.v),e.promise}})},152:function(t,e,r){"use strict";r.d(e,"a",function(){return i});var n=r(4),i=function(){var t=!0;if(n.K.isIOS){var e=Object(n.l)(navigator.userAgent.toLowerCase());if(!e)return t;Number(""+e.major+e.minor)>=133&&(t=!1)}return t}()},1527:function(t,e,r){"use strict";var n=r(52),i=r.n(n),o=r(58),a=r.n(o),s=r(304),c=r(1873),l=r(1882),u=r(4),h=r(14),f=r(963),d=r(959),p={file:1,health:2,img:3,healthNotice:4,excel:5};e.a={name:"ActGoldInsureNotice",components:{ActGoldDialog:f.default,Toast:d.default},data:function(){return{noticeTitle:"健康告知",offlineTips:""}},props:{scene:{type:String,default:""},text:{type:String,default:"更多请查看"},groupId:{type:[Number,String],default:""},productId:{type:[Number,String],default:""},docInfo:{type:Object,default:function(){return{}}},health:{type:Object,default:function(){return null}},denyCarrers:{type:[Array,Object],default:function(){return null}},policy:{type:[String,Object],default:""},textColor:{type:String,default:"#666"},textFontSize:{type:[Number,String],default:13},brandColor:{type:String,default:"#8c7fee"},zIndex:{type:[String,Number],default:999},healthFiles:{type:Object,default:function(){return{}}},noticesData:{type:Object,default:null},premiumData:{type:Array,default:function(){return null}},premiumTitle:{type:String,default:function(){return"费率表"}},showOther:{type:Boolean,default:!1},isProductExplanationDocsFolded:{type:Boolean,default:!1},location:{type:[String,Number],default:""},isMobileModel:{type:Boolean,default:!1}},computed:{docFile:function(){var t=this;if(!this.docInfo)return{needknow:[],terms:[],inform:[],impknows:[],releaseClause:[],otherbiz:[],otherdocs:[],productExplanationDocs:[],remainOtherDocs:[]};var e=JSON.parse(a()(this.docInfo));e.needknow&&e.needknow.forEach(function(e,r){e.src||(e.src=location.protocol+"//"+location.host+"/insurance/termList?productid="+t.productId+"&groupid="+t.groupId+"&action=needknow&index="+r+"#/detail")}),e.terms&&e.terms.forEach(function(e,r){e.src||(e.src=location.protocol+"//"+location.host+"/insurance/termList?productid="+t.productId+"&groupid="+t.groupId+"&action=term&index="+r+"#/detail")}),e.inform&&e.inform.forEach(function(e,r){e.src||(e.src=location.protocol+"//"+location.host+"/insurance/termList?productid="+t.productId+"&groupid="+t.groupId+"&action=inform&index="+r+"#/detail")});var r=[];e.impknows&&e.impknows.forEach(function(e,n){e.src||(e.src=location.protocol+"//"+location.host+"/insurance/termList?productid="+t.productId+"&groupid="+t.groupId+"&action=inform&index="+n+"#/detail"),t.locationValid(e)&&r.push(e)});var n=[];e.releaseClause&&e.releaseClause.forEach(function(e,r){e.src||(e.src=location.protocol+"//"+location.host+"/insurance/termList?productid="+t.productId+"&groupid="+t.groupId+"&action=inform&index="+r+"#/detail"),t.locationValid(e)&&n.push(e)}),e.otherbiz&&e.otherbiz.forEach(function(e,r){e.src||(e.src=location.protocol+"//"+location.host+"/insurance/termList?productid="+t.productId+"&groupid="+t.groupId+"&action=otherbiz&index="+r+"#/detail")});var i=[],o=[],s=[];return e.otherdocs&&e.otherdocs.length&&e.otherdocs.forEach(function(e,r){e.src||(e.src=location.protocol+"//"+location.host+"/insurance/termList?productid="+t.productId+"&groupid="+t.groupId+"&action=otherdocs&index="+r+"#/detail"),e.file_type&&11===Number(e.file_type)&&t.isProductExplanationDocsFolded?i.push(e):t.locationValid(e)?s.push(e):o.push(e)}),e.impknows=r,e.releaseClause=n,e.productExplanationDocs=i,e.remainOtherDocs=o,e.otherbiz=(e.otherbiz||[]).concat(s),e},termsAndInform:function(){return(this.docFile.terms||[]).concat(this.docFile.inform||[]).concat(this.docFile.productExplanationDocs||[]).sort(function(t,e){return t.order-e.order})},otherProductInfo:function(){return(this.docFile.otherbiz||[]).concat(this.docFile.impknows||[]).concat(this.docFile.releaseClause||[]).sort(function(t,e){return t.order-e.order})},formatPremiumData:function(){var t=this;return this.premiumData?(this.premiumData.forEach(function(e,r){e.src||(e.src=location.protocol+"//"+location.host+"/insurance/termList?productid="+t.productId+"&groupid="+t.groupId+"&action=premium&index="+r+"#/detail")}),this.premiumData):null},denyCarrerList:function(){return this.getDenyCarrerList(this.denyCarrers)},healthTitle:function(){var t="";return this.health&&(this.health.title?t=this.health.title:this.health.noticeType>0?t=2===Number(this.health.noticeType)?this.denyCarrerList.length?"旅游及职业告知":"旅游告知":this.denyCarrerList.length?"健康及职业告知":"健康告知":this.denyCarrerList.length&&(t=2===Number(this.health.noticeType)?"旅游告知":"职业工种告知")),t},noticeFiles:function(){var t=[];if(this.docFile.needknow&&this.docFile.needknow.length&&t.push({title:"更多投保须知",track:"detail_noticemore",type:p.file,data:(this.docFile.needknow||[]).sort(function(t,e){return t.order-e.order})}),this.termsAndInform&&this.termsAndInform.length&&t.push({title:"保险条款及告知",track:"detail_term",type:p.file,data:this.termsAndInform}),this.otherProductInfo&&this.otherProductInfo.length&&t.push({title:"其他产品资料",track:"detail_others",type:p.file,data:this.otherProductInfo}),this.docFile.remainOtherDocs.length&&this.showOther&&(this.docFile.remainOtherDocs||[]).sort(function(t,e){return t.order-e.order}).forEach(function(e){t.push({title:e.title,track:"detail_others",type:p.file,data:[e]})}),this.health&&((this.health.list&&this.health.list.length)>0||this.denyCarrerList&&this.denyCarrerList.length>0||this.health.tourism)&&t.push({title:this.healthTitle,track:"detail_health",type:p.health}),this.isShowNotice&&t.push({title:this.noticesData.noticesEndpointTitle||"健康告知",track:"detail_health",type:p.healthNotice}),this.policy){var e=[],r=this.policy.url;r&&("string"==typeof r&&(e=[r]),Array.isArray(r)&&(e=r)),t.push({title:this.policy.desc||"电子保单样本",track:"detail_epolicy",type:p.file,data:[{type:this.policy.type||2,urls:e}]})}if(this.formatPremiumData){var n=p.file;1===this.formatPremiumData.length&&5==+this.formatPremiumData[0].type&&this.isExcelFile(this.formatPremiumData[0].src)&&(n=p.excel),t.push({title:this.premiumTitle,track:"detail_fee",type:n,data:this.formatPremiumData})}return t},fontSize:function(){return Object(u.g)(this.textFontSize)},openInWindow:function(){return!this.isMobileModel&&(!u.K.isMobile&&!u.K.isWx)},isShowNotice:function(){return!!this.noticesData&&("healthConsult"===this.scene||!!(this.noticesData&&this.noticesData.notices&&1===this.noticesData.notices.length&&this.noticesData.notices[0].health&&1===this.noticesData.notices[0].health.length))}},methods:{locationValid:function(t){return!!(this.location&&t.location&&t.location.length&&t.location.includes(Number(this.location)))},onClick:function(t){var e=this;if(t.type===p.file)this.docPop&&this.docPop.remove(),this.docPop=this.createDocPop({title:t.title,docData:t.data,brandColor:this.brandColor,openInWindow:this.openInWindow,zIndex:this.zIndex}).show();else if(t.type===p.img)this.imagePieview?this.imagePieview.setData([t.data],0):this.imagePieview=this.$createImagePreview({images:[t.data],zoom:!0,zIndex:this.zIndex,opacity:1}),this.imagePieview.show();else if(t.type===p.health)this.healthPop&&this.healthPop.remove(),this.healthPop=this.createHealthComponent({title:this.healthTitle,health:this.health,healthFiles:this.healthFiles,denyCarrerList:this.denyCarrerList,brandColor:this.brandColor,openInWindow:this.openInWindow,zIndex:this.zIndex}).show();else if(t.type===p.healthNotice)this.healthNoticePop&&this.healthNoticePop.remove(),this.healthNoticePop=this.createHealthNoticeComponent({title:this.noticeTitle,noticesData:this.noticesData,denyCarrerList:this.denyCarrerList,brandColor:this.brandColor,openInWindow:this.openInWindow,zIndex:this.zIndex,onViewOfflineTips:function(t){e.offlineTips=t,e.$refs.tipsDialog.show()},onHandleToast:function(){e.$refs.offlineToast.show("无法操作")}}).show();else if(t.type===p.excel){var r=t.data[0];this.openExcelFile(r.src).catch(function(t){e.$createToast({textAlign:"center",toastTxt:t.msg,txt:t.msg,type:"txt"}).show()})}},openUrl:function(t){u.K.isMobile||u.K.isWx?location.href=t:window.open(t,"_blank")},isExcelFile:function(t){return/^.*\.(?:(xlsx|xls|csv))$/.test(t)},openExcelFile:function(t){var e=this;return new i.a(function(r,n){if(u.K.isApp){var i={path:t},o=[window.kcbJs,window.xysJs],a=!0;o.forEach(function(o,s){o&&o.invoke({path:"/file/showExcel",data:i,success:function(){a=!1,r()},fail:function(t){n(t)},unsupport:function(){s&&a&&e.openUrl(t)}})})}else if(u.K.isWx)navigator.clipboard.writeText(t).then(function(){var t="文件链接已写入剪切板,请前往浏览器下载";e.$createToast({textAlign:"center",toastTxt:t,txt:t,type:"txt"}).show()}).catch(function(){var t="当前环境不支持预览或下载excel文件,请前往App内查看";e.$createToast({textAlign:"center",toastTxt:t,txt:t,type:"txt"}).show()});else try{location.href=t}catch(t){n({msg:"打开excel文件失败"})}})},getDenyCarrerList:function(t){var e=[];if(!Object(u.A)(t))return e;var r=[],n=[],i={},o={};for(var a in t)for(var s in t[a])i[t[a][s].c1]?i[t[a][s].c1].push(t[a][s].c3):(i[t[a][s].c1]=[t[a][s].c3],r.push(t[a][s].c1)),o[t[a][s].c2]?o[t[a][s].c2].push(t[a][s].c3):(o[t[a][s].c2]=[t[a][s].c3],n.push(t[a][s].c2));var c=void 0,l=void 0;n.length<25?(c=n,l=o):(c=r,l=i);for(var h=void 0,f=c.length-1,d=parseInt(c.length/3)+(c.length%3>0?1:0),p=0;p<d;p++)h={list:[],tipsList:[]},3*p<=f&&(h.list.push({content:c[3*p],index:3*p}),h.tipsList.push({content:l[c[3*p]].join(","),index:3*p})),3*p+1<=f?(h.list.push({content:c[3*p+1],index:3*p+1}),h.tipsList.push({content:l[c[3*p+1]].join(","),index:3*p+1})):h.list.push({}),3*p+2<=f?(h.list.push({content:c[3*p+2],index:3*p+2}),h.tipsList.push({content:l[c[3*p+2]].join(","),index:3*p+2})):h.list.push({}),e.push(h);return e}},created:function(){this.createDocPop=Object(h.a)(s.default,this.constructor),this.createHealthComponent=Object(h.a)(c.a,this.constructor),this.createHealthNoticeComponent=Object(h.a)(l.a,this.constructor)}}},1528:function(t,e,r){"use strict";var n=r(1355),i=r(1529),o=r(1531),a=r(1533),s=r(20),c=r(310),l=r(4),u=r(138);e.a={name:"Health",mixins:[s.a],data:function(){return{activeIndex:0,showHealthFile:!1,healthFile:null,termsInfo:null}},props:{title:{type:String,default:""},health:{type:Object,default:function(){return null}},denyCarrerList:{type:Array,default:function(){return[]}},brandColor:{type:String,default:"#8c7fee"},zIndex:{type:[String,Number],default:999},openInWindow:{type:Boolean,default:!1},healthFiles:{type:Object,default:function(){return{}}}},computed:{hasHealth:function(){return this.health&&this.health.list&&this.health.list.length>0},layerTitle:function(){return this.showHealthFile&&this.healthFile&&this.healthFile.title?this.healthFile.title:this.title}},methods:{isSelected:function(t){return t===this.activeIndex},changeVer:function(t){this.activeIndex=t,this.$refs.doclayer.refreshScroll()},carrerSelect:function(){this.$refs.doclayer.refreshScroll()},openHealthFile:function(t){var e=this.healthFiles[t];if(!e)return!1;this.healthFile=e,this.reset(e),this.showDoc(0)},goBack:function(){this.showHealthFile=!1},showDoc:function(t){var e=this;if(this.openInWindow&&this.healthFile&&this.healthFile.src)return void this.openUrl(this.healthFile.src);this.showHealthFile=!0,this.index=t,this.$nextTick(function(){e.$refs.scrollZoom.showDoc(t)})},reset:function(t){var e=[],r={type:Number(t.type),title:t.title,urls:t.urls,souceFile:t.src,init:!1,classObject:{"scroll-pdf":!1,"scroll-word":!1},myScroll:null,styleImg:{height:"auto"},freeScroll:!0,scrollbar:{fade:!0,interactive:!0},bounce:{bottom:!1,left:!1,right:!1,top:!1},zoom:!0,listenScrollInit:!0,listenScrollEnd:!1,listenZoomEnd:!1,listenScroll:!1,mouseWheel:!0,currentScale:1,scrollY:0,cWidth:0,cHeight:0,liTag:null,wordHtml:""};e.push(r),this.termsInfo=e},openUrl:function(t){l.K.isMobile||l.K.isWx?location.href=t:window.open(t,"_blank")}},watch:{showHealthFile:function(){this.$refs.doclayer.scrollToTop()},isVisible:function(t,e){t&&!e&&(this.showHealthFile=!1)}},components:{ActGoldDocLayer:n.default,HealthTips:i.a,HealthContent:o.a,DenyCarrer:a.a,ActScrollZoom:c.a,scroll:u.a}}},1529:function(t,e,r){"use strict";function n(t){s||r(1875)}var i=r(1530),o=r(1876),a=r(1),s=!1,c=n,l=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-88e4dba8",null);l.options.__file="src\\components\\GoldInsureNotice\\src\\components\\tips.vue",e.a=l.exports},153:function(t,e){function r(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function i(t){if(u===setTimeout)return setTimeout(t,0);if((u===r||!u)&&setTimeout)return u=setTimeout,setTimeout(t,0);try{return u(t,0)}catch(e){try{return u.call(null,t,0)}catch(e){return u.call(this,t,0)}}}function o(t){if(h===clearTimeout)return clearTimeout(t);if((h===n||!h)&&clearTimeout)return h=clearTimeout,clearTimeout(t);try{return h(t)}catch(e){try{return h.call(null,t)}catch(e){return h.call(this,t)}}}function a(){v&&d&&(v=!1,d.length?p=d.concat(p):m=-1,p.length&&s())}function s(){if(!v){var t=i(a);v=!0;for(var e=p.length;e;){for(d=p,p=[];++m<e;)d&&d[m].run();m=-1,e=p.length}d=null,v=!1,o(t)}}function c(t,e){this.fun=t,this.array=e}function l(){}var u,h,f=t.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:r}catch(t){u=r}try{h="function"==typeof clearTimeout?clearTimeout:n}catch(t){h=n}}();var d,p=[],v=!1,m=-1;f.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];p.push(new c(t,e)),1!==p.length||v||i(s)},c.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=l,f.addListener=l,f.once=l,f.off=l,f.removeListener=l,f.removeAllListeners=l,f.emit=l,f.prependListener=l,f.prependOnceListener=l,f.listeners=function(t){return[]},f.binding=function(t){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(t){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},1530:function(t,e,r){"use strict";e.a={props:{item:{type:Object,default:function(){return{}}}},computed:{humanCheckState:function(){var t=Number(this.item.human_check_type);return!isNaN(t)&&0!==t},autoCheckState:function(){var t=Number(this.item.auto_check_type);return!isNaN(t)&&0!==t}}}},1531:function(t,e,r){"use strict";function n(t){s||r(1877)}var i=r(1532),o=r(1878),a=r(1),s=!1,c=n,l=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-2550ecb5",null);l.options.__file="src\\components\\GoldInsureNotice\\src\\components\\content.vue",e.a=l.exports},1532:function(t,e,r){"use strict";e.a={props:{title:{type:String,default:""},item:{type:Object,default:function(){return{}}}},mounted:function(){var t=this;document.querySelectorAll(".act-health-cntt a").forEach(function(e){e.addEventListener("click",function(){var r=e.getAttribute("data-id");if(!r)return!1;t.$emit("openHealthFile",r)})})}}},1533:function(t,e,r){"use strict";function n(t){s||r(1879)}var i=r(1534),o=r(1880),a=r(1),s=!1,c=n,l=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-2467bbeb",null);l.options.__file="src\\components\\GoldInsureNotice\\src\\components\\denyCarrer.vue",e.a=l.exports},1534:function(t,e,r){"use strict";e.a={data:function(){return{tipsLine:-1,tipsIndex:-1}},props:{denyCarrerList:{type:Array,default:function(){return[]}}},methods:{isSelected:function(t,e){return t===this.tipsLine&&e===this.tipsIndex},onClick:function(t,e){this.tipsLine===t&&this.tipsIndex===e||(this.tipsLine=t,this.tipsIndex=e,this.$emit("select",{line:t,index:e}))}}}},1535:function(t,e,r){"use strict";var n=r(1355),i=r(20),o=r(138),a=r(1531),s=r(1529),c=r(1533),l=r(1884),u=r(4),h=r(310);e.a={name:"HealthNotice",mixins:[i.a],props:{title:{type:String,default:""},brandColor:{type:String,default:"#8c7fee"},zIndex:{type:[String,Number],default:999},openInWindow:{type:Boolean,default:!1},noticesData:{type:Object,default:null}},data:function(){return{activeIndex:0,showHealthFile:!1,termsInfo:null,headerActiveIndex:0,notice_mode:0,health:null,denyCarrerList:null,tourism:null,appNotice:{health:"",tourism:"",denyCarrerList:""},insuranceNotice:{health:"",tourism:"",denyCarrerList:""},healthFiles:null,healthFile:null,noticeHeaderOptions:[{belong:1,text:"投保人健康告知"},{belong:1,text:"被保险人健康告知"}]}},computed:{layerTitle:function(){return this.showHealthFile&&this.healthFile&&this.healthFile.title?this.healthFile.title:this.title}},methods:{isSelected:function(t){return t===this.activeIndex},changeVer:function(t){this.activeIndex=t,this.$refs.doclayer.refreshScroll()},carrerSelect:function(){this.$refs.doclayer.refreshScroll()},selHeader:function(t){0===t&&(this.health=this.appNotice.health,this.tourism=this.appNotice.tourism,this.denyCarrerList=this.appNotice.denyCarrerList),1===t&&(this.health=this.insuranceNotice.health,this.tourism=this.insuranceNotice.tourism,this.denyCarrerList=this.insuranceNotice.denyCarrerList),this.headerActiveIndex=t,this.activeIndex=0,this.$refs.doclayer.refreshScroll()},openHealthFile:function(t){var e=this.healthFiles[t];if(!e)return!1;this.healthFile=e,this.reset(e),this.showDoc(0)},goBack:function(){this.showHealthFile=!1},showDoc:function(t){var e=this;if(this.openInWindow&&this.healthFile&&this.healthFile.src)return void this.openUrl(this.healthFile.src);this.showHealthFile=!0,this.index=t,this.$nextTick(function(){e.$refs.scrollZoom.showDoc(t)})},reset:function(t){var e=[],r={type:Number(t.type),title:t.title,urls:t.urls,souceFile:t.src,init:!1,classObject:{"scroll-pdf":!1,"scroll-word":!1},myScroll:null,styleImg:{height:"auto"},freeScroll:!0,scrollbar:{fade:!0,interactive:!0},bounce:{bottom:!1,left:!1,right:!1,top:!1},zoom:!0,listenScrollInit:!0,listenScrollEnd:!1,listenZoomEnd:!1,listenScroll:!1,mouseWheel:!0,currentScale:1,scrollY:0,cWidth:0,cHeight:0,liTag:null,wordHtml:""};e.push(r),this.termsInfo=e},openUrl:function(t){u.K.isMobile||u.K.isWx?location.href=t:window.open(t,"_blank")},getDenyCarrerList:function(t){var e=[];if(!Object(u.A)(t))return e;var r=[],n=[],i={},o={};for(var a in t)for(var s in t[a])i[t[a][s].c1]?i[t[a][s].c1].push(t[a][s].c3):(i[t[a][s].c1]=[t[a][s].c3],r.push(t[a][s].c1)),o[t[a][s].c2]?o[t[a][s].c2].push(t[a][s].c3):(o[t[a][s].c2]=[t[a][s].c3],n.push(t[a][s].c2));var c=void 0,l=void 0;n.length<25?(c=n,l=o):(c=r,l=i);for(var h=void 0,f=c.length-1,d=parseInt(c.length/3)+(c.length%3>0?1:0),p=0;p<d;p++)h={list:[],tipsList:[]},3*p<=f&&(h.list.push({content:c[3*p],index:3*p}),h.tipsList.push({content:l[c[3*p]].join(","),index:3*p})),3*p+1<=f?(h.list.push({content:c[3*p+1],index:3*p+1}),h.tipsList.push({content:l[c[3*p+1]].join(","),index:3*p+1})):h.list.push({}),3*p+2<=f?(h.list.push({content:c[3*p+2],index:3*p+2}),h.tipsList.push({content:l[c[3*p+2]].join(","),index:3*p+2})):h.list.push({}),e.push(h);return e},viewOfflineTips:function(t){this.$emit("viewOfflineTips",t)}},components:{ActGoldDocLayer:n.default,HealthContent:a.a,HealthTips:s.a,DenyCarrer:c.a,ActScrollZoom:h.a,scroll:o.a,offlineHealth:l.a},watch:{showHealthFile:function(){this.$refs.doclayer.scrollToTop()},isVisible:function(t,e){t&&!e&&(this.showHealthFile=!1)},noticesData:{handler:function(t){if(t&&Object(u.A)(t.noticeFiles)&&(this.healthFiles=t.noticeFiles),t&&1==+t.notice_mode){if(this.notice_mode=+t.notice_mode,t.notices.length&&t.notices[0].health.length){var e=t.notices[0].health,r={list:[]};e.forEach(function(e){var n={notice_name:e.notice_name,human_check_type:t.has_human_check,auto_check_type:t.has_auto_check,healthContent:e.content,isOffline:!1};r.list.push(n)}),this.health=r}this.tourism=Object(u.A)(t.notices[0].tourism)&&t.notices[0].tourism.content,this.denyCarrerList=Object(u.A)(t.notices[0].careersDenied)&&this.getDenyCarrerList(t.notices[0].careersDenied.content)||[]}if(t&&(2==+t.notice_mode||3==+t.notice_mode)&&(this.notice_mode=+t.notice_mode,t.notices.length)){var n=t.notices.find(function(t){return 1==+t.entity_belong}),i=t.notices.find(function(t){return 2==+t.entity_belong});if(n){if(n.health.length){var o={list:[]};n.health.forEach(function(e){var r={notice_name:e.notice_name,human_check_type:t.has_human_check,auto_check_type:t.has_auto_check,healthContent:e.content,isOffline:3==+t.notice_mode};o.list.push(r)}),this.appNotice.health=o,i&&(this.health=o)}this.appNotice.tourism=Object(u.A)(n.tourism)&&n.tourism.content,this.appNotice.denyCarrerList=Object(u.A)(n.careersDenied)&&this.getDenyCarrerList(n.careersDenied.content)||[],this.tourism=this.appNotice.tourism,this.denyCarrerList=this.appNotice.denyCarrerList}if(i){if(i.health.length){var a={list:[]};i.health.forEach(function(e){var r={notice_name:e.notice_name,human_check_type:t.has_human_check,auto_check_type:t.has_auto_check,healthContent:e.content,isOffline:3==+t.notice_mode};a.list.push(r)}),this.insuranceNotice.health=a,n||(this.health=a)}this.insuranceNotice.tourism=Object(u.A)(i.tourism)&&i.tourism.content,this.insuranceNotice.denyCarrerList=Object(u.A)(i.careersDenied)&&this.getDenyCarrerList(i.careersDenied.content)||[],n||(this.tourism=this.insuranceNotice.tourism,this.denyCarrerList=this.insuranceNotice.denyCarrerList)}}},immediate:!0}}}},1536:function(t,e,r){"use strict";var n=r(4);e.a={props:{title:{type:String,default:""},item:{type:Object,default:function(){return{}}},brandColor:{type:String,default:"#8c7fee"}},data:function(){return{tips:""}},computed:{bgColor:function(){return"linear-gradient(90deg, "+this.genRgba(this.brandColor,.4)+" 0%, "+this.genRgba(this.brandColor,.8)+" 100%);"}},methods:{genRgba:function(t,e){var r=Object(n.o)(t||"#8c7fee",e||.1);return function(t){var e=t.replace(/rgba?\(/,"").replace(/\)/,"").replace(/[\s+]/g,"").split(","),r=parseFloat(e[3]||1),n=Math.floor(r*parseInt(e[0])+255*(1-r)),i=Math.floor(r*parseInt(e[1])+255*(1-r)),o=Math.floor(r*parseInt(e[2])+255*(1-r));return"#"+("0"+n.toString(16)).slice(-2)+("0"+i.toString(16)).slice(-2)+("0"+o.toString(16)).slice(-2)}(r)},viewTips:function(t){this.$emit("viewOfflineTips",t)},handleToast:function(){this.$emit("handleToast")}}}},154:function(t,e,r){"use strict";function n(){return window.performance&&window.performance.now?window.performance.now()+window.performance.timing.navigationStart:+new Date}function i(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];for(var i=0;i<r.length;i++){var o=r[i];for(var a in o)t[a]=o[a]}return t}function o(t){return void 0===t||null===t}function a(t,e){return Math.sqrt(t*t+e*e)}function s(t){return!1!==F&&("standard"===F?"transitionEnd"===t?"transitionend":t:F+t.charAt(0).toUpperCase()+t.s