webpackJsonp([176],{"1wHS":function(e,t,n){"use strict";function o(e){function t(){r-=1,r<=0?(e(),delete c[o]):c[o]=i()(t)}var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,o=a++,r=n;return c[o]=i()(t),o}t.a=o;var r=n("ommR"),i=n.n(r),a=0,c={};o.cancel=function(e){void 0!==e&&(i.a.cancel(c[e]),delete c[e])},o.ids=c},"Bg/D":function(e,t,n){"use strict";function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function r(){function e(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}function t(e,t,n,r){var i=t&&t.prototype instanceof o?t:o,a=Object.create(i.prototype),c=new d(r||[]);return g(a,"_invoke",{value:u(e,n,c)}),a}function n(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function o(){}function i(){}function a(){}function c(t){["next","throw","return"].forEach(function(n){e(t,n,function(e){return this._invoke(n,e)})})}function l(e,t){function o(r,i,a,c){var l=n(e[r],e,i);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==typeof s&&b.call(s,"__await")?t.resolve(s.__await).then(function(e){o("next",e,a,c)},function(e){o("throw",e,a,c)}):t.resolve(s).then(function(e){u.value=e,a(u)},function(e){return o("throw",e,a,c)})}c(l.arg)}var r;g(this,"_invoke",{value:function(e,n){function i(){return new t(function(t,r){o(e,n,t,r)})}return r=r?r.then(i,i):i()}})}function u(e,t,o){var r="suspendedStart";return function(i,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw a;return y()}for(o.method=i,o.arg=a;;){var c=o.delegate;if(c){var l=s(c,o);if(l){if(l===S)continue;return l}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if("suspendedStart"===r)throw r="completed",o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);r="executing";var u=n(e,t,o);if("normal"===u.type){if(r=o.done?"completed":"suspendedYield",u.arg===S)continue;return{value:u.arg,done:o.done}}"throw"===u.type&&(r="completed",o.method="throw",o.arg=u.arg)}}}function s(e,t){var o=t.method,r=e.iterator[o];if(void 0===r)return t.delegate=null,"throw"===o&&e.iterator.return&&(t.method="return",t.arg=void 0,s(e,t),"throw"===t.method)||"return"!==o&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+o+"' method")),S;var i=n(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,S;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,S):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,S)}function f(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function p(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function d(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(f,this),this.reset(!0)}function h(e){if(e){var t=e[E];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n=0;--o){var r=this.tryEntries[o],i=r.completion;if("root"===r.tryLoc)return t("end");if(r.tryLoc<=this.prev){var a=b.call(r,"catchLoc"),c=b.call(r,"finallyLoc");if(a&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&b.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),p(n),S}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;p(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:h(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),S}},m}function i(e){var t=a();return function(){var n,o=(0,y.default)(e);if(t){var r=(0,y.default)(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return(0,h.default)(this,n)}}function a(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c(e){var t=document.createElement("div");t.setAttribute("class","insurance_modal"),document.body.appendChild(t),v.default.render(m.default.createElement(g,e),t)}var l=n("ouCL");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=l(n("+TWC"));n("sRCI");var s=l(n("vnWH")),f=l(n("Q9dM")),p=l(n("wm7F")),d=l(n("QwVp")),h=l(n("F6AD")),y=l(n("fghW")),m=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var c=i?Object.getOwnPropertyDescriptor(e,a):null;c&&(c.get||c.set)?Object.defineProperty(r,a,c):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n("GiK3")),v=l(n("O27J")),b=(l(n("KSGD")),n("H/Zg")),g=function(e){function t(e,o){var r;return(0,f.default)(this,t),r=n.call(this,e,o),r._toggle=function(e){r.setState({visible:!r.state.visible},function(){"confirm"==e?r.props.okCallBack&&r.props.okCallBack():r.props.cancelCallBack&&r.props.cancelCallBack();var t=document.getElementsByClassName("insurance_modal");Reflect.apply(Array.prototype.forEach,t,[function(e){v.default.unmountComponentAtNode(e),document.body.removeChild(e)}])})},r.state={visible:!0},r}(0,d.default)(t,e);var n=i(t);return(0,p.default)(t,[{key:"render",value:function(){var e=this;return m.default.createElement(s.default,{title:this.props.title,maskClosable:!1,keyboard:!1,destroyOnClose:!0,okText:"\u9a6c\u4e0a\u529e\u7406",cancelButtonProps:{style:{display:"none"}},visible:this.state.visible,onOk:function(){e._toggle("confirm")},onCancel:function(){e._toggle()}},m.default.createElement("p",{style:{color:"#ff4d4f",fontSize:14}},this.props.warningText),m.default.createElement("p",{style:{fontSize:16}},this.props.contentText.split("count")[0],this.props.contentText.split("count")[1]&&m.default.createElement("span",{style:{color:"#ff4d4f"}},this.props.count),this.props.contentText.split("count")[1]||""))}}]),t}(m.Component),w={namespace:"insurance",state:{isShowPlanBook:!1,isShowQuitModal:!0},effects:{showQuitModal:function(e,t){var n=e.payload,o=t.put,i=t.call,a=t.select;return r().mark(function e(){var t,l;return r().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a(function(e){return e.insurance});case 2:if(t=e.sent,l=t.isShowQuitModal,console.log(n.count,"payload.count>>>>"),"add"==n.type){e.next=16;break}return e.next=8,i(b.findYIncumbencyPerCount);case 8:if(countRes=e.sent,n.count=n.num||countRes.data+""||0,0==n.count||!l){e.next=14;break}return e.next=13,o({type:"setQuitModal",payload:!1});case 13:c(n);case 14:e.next=17;break;case 16:c(n);case 17:case"end":return e.stop()}},e)})()}},reducers:{showPlanBook:function(e,t){return(0,u.default)({},e,{isShowPlanBook:t.payload})},setQuitModal:function(e,t){return(0,u.default)({},e,{isShowQuitModal:t.payload})}}};t.default=w},I11u:function(e,t){},J7eb:function(e,t,n){"use strict";function o(e){"@babel/helpers - typeof";return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n=0)){var o=e.props.insertExtraNode;e.extraNode=document.createElement("div");var r=f(e),i=r.extraNode;i.className="ant-click-animating-node";var a=e.getAttributeName();t.setAttribute(a,"true"),m=m||document.createElement("style"),n&&"#ffffff"!==n&&"rgb(255, 255, 255)"!==n&&y(n)&&!/rgba\(\d*, \d*, \d*, 0\)/.test(n)&&"transparent"!==n&&(e.csp&&e.csp.nonce&&(m.nonce=e.csp.nonce),i.style.borderColor=n,m.innerHTML="\n [ant-click-animating-without-extra-node='true']::after, .ant-click-animating-node {\n --antd-wave-shadow-color: ".concat(n,";\n }"),document.body.contains(m)||document.body.appendChild(m)),o&&t.appendChild(i),g.a.addStartEventListener(t,e.onTransitionStart),g.a.addEndEventListener(t,e.onTransitionEnd)}},e.onTransitionStart=function(t){if(!e.destroy){var n=Object(b.findDOMNode)(f(e));t&&t.target===n&&(e.animationStart||e.resetEffect(n))}},e.onTransitionEnd=function(t){t&&"fadeEffect"===t.animationName&&e.resetEffect(t.target)},e.bindAnimationEvent=function(t){if(t&&t.getAttribute&&!t.getAttribute("disabled")&&!(t.className.indexOf("disabled")>=0)){var n=function(n){if("INPUT"!==n.target.tagName&&!h(n.target)){e.resetEffect(t);var o=getComputedStyle(t).getPropertyValue("border-top-color")||getComputedStyle(t).getPropertyValue("border-color")||getComputedStyle(t).getPropertyValue("background-color");e.clickWaveTimeoutId=window.setTimeout(function(){return e.onClick(t,o)},0),w.a.cancel(e.animationStartId),e.animationStart=!0,e.animationStartId=Object(w.a)(function(){e.animationStart=!1},10)}};return t.addEventListener("click",n,!0),{cancel:function(){t.removeEventListener("click",n,!0)}}}},e.renderWave=function(t){var n=t.csp,o=e.props.children;return e.csp=n,o},e}c(t,e);var n=u(t);return a(t,[{key:"componentDidMount",value:function(){var e=Object(b.findDOMNode)(this);e&&1===e.nodeType&&(this.instance=this.bindAnimationEvent(e))}},{key:"componentWillUnmount",value:function(){this.instance&&this.instance.cancel(),this.clickWaveTimeoutId&&clearTimeout(this.clickWaveTimeoutId),this.destroy=!0}},{key:"getAttributeName",value:function(){return this.props.insertExtraNode?"ant-click-animating":"ant-click-animating-without-extra-node"}},{key:"resetEffect",value:function(e){if(e&&e!==this.extraNode&&e instanceof Element){var t=this.props.insertExtraNode,n=this.getAttributeName();e.setAttribute(n,"false"),m&&(m.innerHTML=""),t&&this.extraNode&&e.contains(this.extraNode)&&e.removeChild(this.extraNode),g.a.removeStartEventListener(e,this.onTransitionStart),g.a.removeEndEventListener(e,this.onTransitionEnd)}}},{key:"render",value:function(){return v.createElement(E.a,null,this.renderWave)}}]),t}(v.Component)},Kzp4:function(e,t,n){"use strict";function o(e){if("undefined"==typeof document)return 0;if(e||void 0===r){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var n=document.createElement("div"),o=n.style;o.position="absolute",o.top=0,o.left=0,o.pointerEvents="none",o.visibility="hidden",o.width="200px",o.height="150px",o.overflow="hidden",n.appendChild(t),document.body.appendChild(n);var i=t.offsetWidth;n.style.overflow="scroll";var a=t.offsetWidth;i===a&&(a=n.clientWidth),document.body.removeChild(n),r=i-a}return r}t.a=o;var r},R8mX:function(e,t,n){"use strict";function o(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function r(e){function t(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}this.setState(t.bind(this))}function i(e,t){try{var n=this.props,o=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,o)}finally{this.props=n,this.state=o}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,c=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?c="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(c="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==c){var l=e.displayName||e.name,u="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+l+" uses "+u+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==c?"\n "+c:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=o,t.componentWillReceiveProps=r),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var o=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,e,t,o)}}return e}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"polyfill",function(){return a}),o.__suppressDeprecationWarning=!0,r.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},UGHC:function(e,t,n){(function(t){(function(){var n,o,r,i,a,c;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:void 0!==t&&null!==t&&t.hrtime?(e.exports=function(){return(n()-a)/1e6},o=t.hrtime,n=function(){var e;return e=o(),1e9*e[0]+e[1]},i=n(),c=1e9*t.uptime(),a=i-c):Date.now?(e.exports=function(){return Date.now()-r},r=Date.now()):(e.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(this)}).call(t,n("W2nU"))},crfj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("vtiu"),r=(n.n(o),n("I11u"));n.n(r)},ds30:function(e,t,n){"use strict";function o(e,t,n,o){function r(t){var o=new i.default(t);n.call(e,o)}if(e.addEventListener){var a=function(){var n=!1;return"object"==typeof o?n=o.capture||!1:"boolean"==typeof o&&(n=o),e.addEventListener(t,r,o||!1),{v:{remove:function(){e.removeEventListener(t,r,n)}}}}();if("object"==typeof a)return a.v}else if(e.attachEvent)return e.attachEvent("on"+t,r),{remove:function(){e.detachEvent("on"+t,r)}}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=n("mmAL"),i=function(e){return e&&e.__esModule?e:{default:e}}(r);e.exports=t.default},gIwr:function(e,t,n){"use strict";function o(e){"@babel/helpers - typeof";return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n=o.F1&&t<=o.F12)return!1;switch(t){case o.ALT:case o.CAPS_LOCK:case o.CONTEXT_MENU:case o.CTRL:case o.DOWN:case o.END:case o.ESC:case o.HOME:case o.INSERT:case o.LEFT:case o.MAC_FF_META:case o.META:case o.NUMLOCK:case o.NUM_CENTER:case o.PAGE_DOWN:case o.PAGE_UP:case o.PAUSE:case o.PRINT_SCREEN:case o.RIGHT:case o.SHIFT:case o.UP:case o.WIN_KEY:case o.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=o.ZERO&&e<=o.NINE)return!0;if(e>=o.NUM_ZERO&&e<=o.NUM_MULTIPLY)return!0;if(e>=o.A&&e<=o.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case o.SPACE:case o.QUESTION_MARK:case o.NUM_PLUS:case o.NUM_MINUS:case o.NUM_PERIOD:case o.NUM_DIVISION:case o.SEMICOLON:case o.DASH:case o.EQUALS:case o.COMMA:case o.PERIOD:case o.SLASH:case o.APOSTROPHE:case o.SINGLE_QUOTE:case o.OPEN_SQUARE_BRACKET:case o.BACKSLASH:case o.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t.a=o},rPPc:function(e,t,n){"use strict";function o(e,t){for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}t.a=o},sRCI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("vtiu"),r=(n.n(o),n("hn5N"));n.n(r),n("crfj")},uSQi:function(e,t,n){"use strict";function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.element,o=void 0===n?document.body:n,r={},i=Object.keys(e);return i.forEach(function(e){r[e]=o.style[e]}),i.forEach(function(t){o.style[t]=e[t]}),r}function r(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function a(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};return n(a(a(a({},t),c),{},{ref:e.savePortal}))},getContainer:this.getContainer,forceRender:o},function(t){var n=t.renderComponent,o=t.removeContainer;return e.renderComponent=n,e.removeContainer=o,null})}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,o=t._self,r=e.visible,i=e.getContainer;if(n){var a=n.visible,c=n.getContainer;r!==a&&(R=r&&!a?R+1:R-1);("function"==typeof i&&"function"==typeof c?i.toString()!==c.toString():i!==c)&&o.removeCurrentContainer(!1)}return{prevProps:e}}}]),t}(w.a.Component);U.propTypes={wrapperClassName:S.a.string,forceRender:S.a.bool,getContainer:S.a.any,children:S.a.func,visible:S.a.bool};t.a=Object(P.polyfill)(U)},vnWH:function(e,t,n){"use strict";function o(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],o="scroll"+(t?"Top":"Left");if("number"!=typeof n){var r=e.document;n=r.documentElement[o],"number"!=typeof n&&(n=r.body[o])}return n}function r(e,t){var n=e.style;["Webkit","Moz","Ms","ms"].forEach(function(e){n[e+"TransformOrigin"]=t}),n.transformOrigin=t}function i(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,i=r.defaultView||r.parentWindow;return n.left+=o(i),n.top+=o(i,!0),n}function a(e){"@babel/helpers - typeof";return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(){return l=Object.assign||function(e){for(var t=1;t