(this.webpackJsonph5=this.webpackJsonph5||[]).push([[15],{473:function(e,t,n){(function(e){var r=n(166),o=n(524),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,c=a&&a.exports===i?r.Buffer:void 0,u=(c?c.isBuffer:void 0)||o;e.exports=u}).call(this,n(262)(e))},474:function(e,t,n){var r=n(525),o=n(526),i=n(527),a=i&&i.isTypedArray,c=a?o(a):r;e.exports=c},475:function(e,t,n){var r=n(512),o=n(494);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},481:function(e,t,n){var r=n(464),o=n(519),i=n(520),a=n(521),c=n(522),u=n(523);function s(e){var t=this.__data__=new r(e);this.size=t.size}s.prototype.clear=o,s.prototype.delete=i,s.prototype.get=a,s.prototype.has=c,s.prototype.set=u,e.exports=s},485:function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},486:function(e,t){e.exports=function(e){return e}},491:function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},508:function(e,t,n){var r=n(166).Uint8Array;e.exports=r},509:function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},510:function(e,t,n){var r=n(528),o=n(547),i=n(458),a=n(473),c=n(492),u=n(474),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&o(e),f=!n&&!l&&a(e),p=!n&&!l&&!f&&u(e),d=n||l||f||p,v=d?r(e.length,String):[],h=v.length;for(var m in e)!t&&!s.call(e,m)||d&&("length"==m||f&&("offset"==m||"parent"==m)||p&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||c(m,h))||v.push(m);return v}},519:function(e,t,n){var r=n(464);e.exports=function(){this.__data__=new r,this.size=0}},520:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},521:function(e,t){e.exports=function(e){return this.__data__.get(e)}},522:function(e,t){e.exports=function(e){return this.__data__.has(e)}},523:function(e,t,n){var r=n(464),o=n(502),i=n(503);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},524:function(e,t){e.exports=function(){return!1}},525:function(e,t,n){var r=n(263),o=n(494),i=n(261),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},526:function(e,t){e.exports=function(e){return function(t){return e(t)}}},527:function(e,t,n){(function(e){var r=n(267),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=c}).call(this,n(262)(e))},528:function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n',n=''),'\n \n \n \n \n \n '+t+'\n \n \n
\n \n '+n+'\n \n
\n \n \n '}},{key:"initIframeSrc",value:function(){this.domain&&(this.getIframeNode().src="javascript:void((function(){\n var d = document;\n d.open();\n d.domain='"+this.domain+"';\n d.write('');\n d.close();\n })())")}},{key:"initIframe",value:function(){var t=this.getIframeNode(),n=t.contentWindow,r=void 0;this.domain=this.domain||"",this.initIframeSrc();try{r=n.document}catch(e){this.domain=document.domain,this.initIframeSrc(),r=(n=t.contentWindow).document}r.open("text/html","replace"),r.write(this.getIframeHTML(this.domain)),r.close(),this.getFormInputNode().onchange=this.onChange}},{key:"endUpload",value:function(){this.state.uploading&&(this.file={},this.state.uploading=!1,this.setState({uploading:!1}),this.initIframe())}},{key:"startUpload",value:function(){this.state.uploading||(this.state.uploading=!0,this.setState({uploading:!0}))}},{key:"updateIframeWH",value:function(){var e=L.a.findDOMNode(this),t=this.getIframeNode();t.style.height=e.offsetHeight+"px",t.style.width=e.offsetWidth+"px"}},{key:"abort",value:function(e){if(e){var t=e;e&&e.uid&&(t=e.uid),t===this.file.uid&&this.endUpload()}else this.endUpload()}},{key:"post",value:function(e){var t=this,n=this.getFormNode(),r=this.getFormDataNode(),o=this.props.data,i=this.props.onStart;"function"==typeof o&&(o=o(e));var a=document.createDocumentFragment();for(var c in o)if(o.hasOwnProperty(c)){var u=document.createElement("input");u.setAttribute("name",c),u.value=o[c],a.appendChild(u)}r.appendChild(a),new Promise((function(n){var r=t.props.action;if("function"==typeof r)return n(r(e));n(r)})).then((function(t){n.setAttribute("action",t),n.submit(),r.innerHTML="",i(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,i=t.className,a=t.prefixCls,u=t.children,s=t.style,l=c()({},A,{display:this.state.uploading||r?"none":""}),f=j()((e={},g()(e,a,!0),g()(e,a+"-disabled",r),g()(e,i,i),e));return o.a.createElement(n,{className:f,style:c()({position:"relative",zIndex:0},s)},o.a.createElement("iframe",{ref:this.saveIframe,onLoad:this.onLoad,style:l}),u)}}]),z);function z(){var e,t,n,r;s()(this,z);for(var o=arguments.length,i=Array(o),a=0;a