|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-my-mySign"],{"0239":function(e,t,n){"use strict";n("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("a9e3");var r={props:{label:{type:String,default:uni.$u.props.formItem.label},prop:{type:String,default:uni.$u.props.formItem.prop},borderBottom:{type:[String,Boolean],default:uni.$u.props.formItem.borderBottom},labelPosition:{type:String,default:uni.$u.props.formItem.labelPosition},labelWidth:{type:[String,Number],default:uni.$u.props.formItem.labelWidth},rightIcon:{type:String,default:uni.$u.props.formItem.rightIcon},leftIcon:{type:String,default:uni.$u.props.formItem.leftIcon},required:{type:Boolean,default:uni.$u.props.formItem.required},leftIconStyle:{type:[String,Object],default:uni.$u.props.formItem.leftIconStyle}}};t.default=r},"0635":function(e,t,n){"use strict";var r=n("8e96"),i=n.n(r);i.a},"06ca":function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){}));var r=function(){var e=this.$createElement,t=this._self._c||e;return t("v-uni-view",{staticClass:"u-line",style:[this.lineStyle]})},i=[]},"0843":function(e,t,n){"use strict";n.r(t);var r=n("0c67"),i=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t["default"]=i.a},"0b16":function(e,t,n){"use strict";var r=n("1985"),i=n("35e8");function a(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=b,t.resolve=function(e,t){return b(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?b(e,!1,!0).resolveObject(t):t},t.format=function(e){i.isString(e)&&(e=b(e));return e instanceof a?e.format():a.prototype.format.call(e)},t.Url=a;var o=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(c),f=["%","/","?",";","#"].concat(l),d=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n("b383");function b(e,t,n){if(e&&i.isObject(e)&&e instanceof a)return e;var r=new a;return r.parse(e,t,n),r}a.prototype.parse=function(e,t,n){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),s=-1!==a&&a<e.indexOf("#")?"?":"#",c=e.split(s);c[0]=c[0].replace(/\\/g,"/"),e=c.join(s);var b=e;if(b=b.trim(),!n&&1===e.split("#").length){var w=u.exec(b);if(w)return this.path=b,this.href=b,this.pathname=w[1],w[2]?(this.search=w[2],this.query=t?y.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var _=o.exec(b);if(_){_=_[0];var x=_.toLowerCase();this.protocol=x,b=b.substr(_.length)}if(n||_||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var S="//"===b.substr(0,2);!S||_&&g[_]||(b=b.substr(2),this.slashes=!0)}if(!g[_]&&(S||_&&!m[_])){for(var k,E,O=-1,j=0;j<d.length;j++){var C=b.indexOf(d[j]);-1!==C&&(-1===O||C<O)&&(O=C)}E=-1===O?b.lastIndexOf("@"):b.lastIndexOf("@",O),-1!==E&&(k=b.slice(0,E),b=b.slice(E+1),this.auth=decodeURIComponent(k)),O=-1;for(j=0;j<f.length;j++){C=b.indexOf(f[j]);-1!==C&&(-1===O||C<O)&&(O=C)}-1===O&&(O=b.length),this.host=b.slice(0,O),b=b.slice(O),this.parseHost(),this.hostname=this.hostname||"";var P="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!P)for(var T=this.hostname.split(/\./),A=(j=0,T.length);j<A;j++){var M=T[j];if(M&&!M.match(h)){for(var q="",R=0,I=M.length;R<I;R++)M.charCodeAt(R)>127?q+="x":q+=M[R];if(!q.match(h)){var L=T.slice(0,j),D=T.slice(j+1),F=M.match(p);F&&(L.push(F[1]),D.unshift(F[2])),D.length&&(b="/"+D.join(".")+b),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),P||(this.hostname=r.toASCII(this.hostname));var N=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+N,this.href+=this.host,P&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!v[x])for(j=0,A=l.length;j<A;j++){var U=l[j];if(-1!==b.indexOf(U)){var $=encodeURIComponent(U);$===U&&($=escape(U)),b=b.split(U).join($)}}var W=b.indexOf("#");-1!==W&&(this.hash=b.substr(W),b=b.slice(0,W));var H=b.indexOf("?");if(-1!==H?(this.search=b.substr(H),this.query=b.substr(H+1),t&&(this.query=y.parse(this.query)),b=b.slice(0,H)):t&&(this.search="",this.query={}),b&&(this.pathname=b),m[x]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){N=this.pathname||"";var z=this.search||"";this.path=N+z}return this.href=this.format(),this},a.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",a=!1,o="";this.host?a=e+this.host:this.hostname&&(a=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(a+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(o=y.stringify(this.query));var s=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||m[t])&&!1!==a?(a="//"+(a||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):a||(a=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})),s=s.replace("#","%23"),t+a+n+s+r},a.prototype.resolve=function(e){return this.resolveObject(b(e,!1,!0)).format()},a.prototype.resolveObject=function(e){if(i.isString(e)){var t=new a;t.parse(e,!1,!0),e=t}for(var n=new a,r=Object.keys(this),o=0;o<r.length;o++){var s=r[o];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var u=Object.keys(e),c=0;c<u.length;c++){var l=u[c];"protocol"!==l&&(n[l]=e[l])}return m[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!m[e.protocol]){for(var f=Object.keys(e),d=0;d<f.length;d++){var h=f[d];n[h]=e[h]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||g[e.protocol])n.pathname=e.pathname;else{var p=(e.pathname||"").split("/");while(p.length&&!(e.host=p.shift()));e.host||(e.host=""),e.hostname||(e.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),n.pathname=p.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var v=n.pathname||"",y=n.search||"";n.path=v+y}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var b=n.pathname&&"/"===n.pathname.charAt(0),w=e.host||e.pathname&&"/"===e.pathname.charAt(0),_=w||b||n.host&&e.pathname,x=_,S=n.pathname&&n.pathname.split("/")||[],k=(p=e.pathname&&e.pathname.split("/")||[],n.protocol&&!m[n.protocol]);if(k&&(n.hostname="",n.port=null,n.host&&(""===S[0]?S[0]=n.host:S.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===p[0]?p[0]=e.host:p.unshift(e.host)),e.host=null),_=_&&(""===p[0]||""===S[0])),w)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,S=p;else if(p.length)S||(S=[]),S.pop(),S=S.concat(p),n.search=e.search,n.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(k){n.hostname=n.host=S.shift();var E=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");E&&(n.auth=E.shift(),n.host=n.hostname=E.shift())}return n.search=e.search,n.query=e.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!S.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var O=S.slice(-1)[0],j=(n.host||e.host||S.length>1)&&("."===O||".."===O)||""===O,C=0,P=S.length;P>=0;P--)O=S[P],"."===O?S.splice(P,1):".."===O?(S.splice(P,1),C++):C&&(S.splice(P,1),C--);if(!_&&!x)for(;C--;C)S.unshift("..");!_||""===S[0]||S[0]&&"/"===S[0].charAt(0)||S.unshift(""),j&&"/"!==S.join("/").substr(-1)&&S.push("");var T=""===S[0]||S[0]&&"/"===S[0].charAt(0);if(k){n.hostname=n.host=T?"":S.length?S.shift():"";E=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");E&&(n.auth=E.shift(),n.host=n.hostname=E.shift())}return _=_||n.host&&S.length,_&&!T&&S.unshift(""),S.length?n.pathname=S.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},a.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},"0c67":function(e,t,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("5403")),a={name:"u-line",mixins:[uni.$u.mpMixin,uni.$u.mixin,i.default],computed:{lineStyle:function(){var e={};return e.margin=this.margin,"row"===this.direction?(e.borderBottomWidth="1px",e.borderBottomStyle=this.dashed?"dashed":"solid",e.width=uni.$u.addUnit(this.length),this.hairline&&(e.transform="scaleY(0.5)")):(e.borderLeftWidth="1px",e.borderLeftStyle=this.dashed?"dashed":"solid",e.height=uni.$u.addUnit(this.length),this.hairline&&(e.transform="scaleX(0.5)")),e.borderColor=this.color,uni.$u.deepMerge(e,uni.$u.addStyle(this.customStyle))}}};t.default=a},1:function(e,t){},"191b":function(e,t,n){"use strict";var r=n("94dc"),i=n.n(r);i.a},1985:function(e,t,n){(function(e,r){var i;/*! https://mths.be/punycode v1.4.1 by @mathias */(function(a){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof r&&r;o.global!==o&&o.window!==o&&o.self;var s,u=2147483647,c=/^xn--/,l=/[^\x20-\x7E]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,p=String.fromCharCode;function v(e){throw new RangeError(d[e])}function g(e,t){var n=e.length,r=[];while(n--)r[n]=t(e[n]);return r}function m(e,t){var n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(f,".");var i=e.split("."),a=g(i,t).join(".");return r+a}function y(e){var t,n,r=[],i=0,a=e.length;while(i<a)t=e.charCodeAt(i++),t>=55296&&t<=56319&&i<a?(n=e.charCodeAt(i++),56320==(64512&n)?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--)):r.push(t);return r}function b(e){return g(e,(function(e){var t="";return e>65535&&(e-=65536,t+=p(e>>>10&1023|55296),e=56320|1023&e),t+=p(e),t})).join("")}function w(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:36}function _(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function x(e,t,n){var r=0;for(e=n?h(e/700):e>>1,e+=h(e/t);e>455;r+=36)e=h(e/35);return h(r+36*e/(e+38))}function S(e){var t,n,r,i,a,o,s,c,l,f,d=[],p=e.length,g=0,m=128,y=72;for(n=e.lastIndexOf("-"),n<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&v("not-basic"),d.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<p;){for(a=g,o=1,s=36;;s+=36){if(i>=p&&v("invalid-input"),c=w(e.charCodeAt(i++)),(c>=36||c>h((u-g)/o))&&v("overflow"),g+=c*o,l=s<=y?1:s>=y+26?26:s-y,c<l)break;f=36-l,o>h(u/f)&&v("overflow"),o*=f}t=d.length+1,y=x(g-a,t,0==a),h(g/t)>u-m&&v("overflow"),m+=h(g/t),g%=t,d.splice(g++,0,m)}return b(d)}function k(e){var t,n,r,i,a,o,s,c,l,f,d,g,m,b,w,S=[];for(e=y(e),g=e.length,t=128,n=0,a=72,o=0;o<g;++o)d=e[o],d<128&&S.push(p(d));r=i=S.length,i&&S.push("-");while(r<g){for(s=u,o=0;o<g;++o)d=e[o],d>=t&&d<s&&(s=d);for(m=r+1,s-t>h((u-n)/m)&&v("overflow"),n+=(s-t)*m,t=s,o=0;o<g;++o)if(d=e[o],d<t&&++n>u&&v("overflow"),d==t){for(c=n,l=36;;l+=36){if(f=l<=a?1:l>=a+26?26:l-a,c<f)break;w=c-f,b=36-f,S.push(p(_(f+w%b,0))),c=h(w/b)}S.push(p(_(c,0))),a=x(n,m,r==i),n=0,++r}++n,++t}return S.join("")}s={version:"1.4.1",ucs2:{decode:y,encode:b},decode:S,encode:k,toASCII:function(e){return m(e,(function(e){return l.test(e)?"xn--"+k(e):e}))},toUnicode:function(e){return m(e,(function(e){return c.test(e)?S(e.slice(4).toLowerCase()):e}))}},i=function(){return s}.call(t,n,t,e),void 0===i||(e.exports=i)})()}).call(this,n("62e4")(e),n("c8ba"))},2:function(e,t){},"221f":function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){}));var r=function(){var e=this.$createElement,t=this._self._c||e;return t("v-uni-view",{staticClass:"u-form"},[this._t("default")],2)},i=[]},2764:function(e,t,n){var r=n("6604");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("4f06").default;i("142a6b50",r,!0,{sourceMap:!1,shadowMode:!1})},"27bf":function(e,t,n){"use strict";e.exports=o;var r=n("b19a"),i=Object.create(n("3a7c"));function a(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);r.call(this,e),this._transformState={afterTransform:a.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"===typeof e.transform&&(this._transform=e.transform),"function"===typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"===typeof this._flush?this._flush((function(t,n){u(e,t,n)})):u(this,null,null)}function u(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=n("3fb5"),i.inherits(o,r),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,r.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},o.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},o.prototype._destroy=function(e,t){var n=this;r.prototype._destroy.call(this,e,(function(e){t(e),n.emit("close")}))}},"27fc":function(e,t,n){"use strict";var r=n("2764"),i=n.n(r);i.a},"28aa":function(e,t,n){var r=n("58dc");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("4f06").default;i("0e62bbb8",r,!0,{sourceMap:!1,shadowMode:!1})},2909:function(e,t,n){"use strict";n("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e)||(0,i.default)(e)||(0,a.default)(e)||(0,o.default)()};var r=s(n("6005")),i=s(n("db90")),a=s(n("06c5")),o=s(n("3427"));function s(e){return e&&e.__esModule?e:{default:e}}},"29b8":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 主要颜色 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-view[data-v-2f0e5305], uni-scroll-view[data-v-2f0e5305], uni-swiper-item[data-v-2f0e5305]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-line[data-v-2f0e5305]{vertical-align:middle}',""]),e.exports=t},"2d78":function(e,t,n){"use strict";n.r(t);var r=n("06ca"),i=n("0843");for(var a in i)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(a);n("191b");var o=n("f0c5"),s=Object(o["a"])(i["default"],r["b"],r["c"],!1,null,"2f0e5305",null,!1,r["a"],void 0);t["default"]=s.exports},3022:function(e,t,n){(function(e){var r=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},i=/%[sdj%]/g;t.format=function(e){if(!m(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(s(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,a=r.length,o=String(e).replace(i,(function(e){if("%%"===e)return"%";if(n>=a)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return e}})),u=r[n];n<a;u=r[++n])v(u)||!w(u)?o+=" "+u:o+=" "+s(u);return o},t.deprecate=function(n,r){if("undefined"!==typeof e&&!0===e.noDeprecation)return n;if("undefined"===typeof e)return function(){return t.deprecate(n,r).apply(this,arguments)};var i=!1;return function(){if(!i){if(e.throwDeprecation)throw new Error(r);e.traceDeprecation?console.trace(r):console.error(r),i=!0}return n.apply(this,arguments)}};var a,o={};function s(e,n){var r={seen:[],stylize:c};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),p(n)?r.showHidden=n:n&&t._extend(r,n),y(r.showHidden)&&(r.showHidden=!1),y(r.depth)&&(r.depth=2),y(r.colors)&&(r.colors=!1),y(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=u),l(r,e,r.depth)}function u(e,t){var n=s.styles[t];return n?"["+s.colors[n][0]+"m"+e+"["+s.colors[n][1]+"m":e}function c(e,t){return e}function l(e,n,r){if(e.customInspect&&n&&S(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return m(i)||(i=l(e,i,r)),i}var a=function(e,t){if(y(t))return e.stylize("undefined","undefined");if(m(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(g(t))return e.stylize(""+t,"number");if(p(t))return e.stylize(""+t,"boolean");if(v(t))return e.stylize("null","null")}(e,n);if(a)return a;var o=Object.keys(n),s=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(n)),x(n)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return f(n);if(0===o.length){if(S(n)){var u=n.name?": "+n.name:"";return e.stylize("[Function"+u+"]","special")}if(b(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(_(n))return e.stylize(Date.prototype.toString.call(n),"date");if(x(n))return f(n)}var c,w="",k=!1,E=["{","}"];if(h(n)&&(k=!0,E=["[","]"]),S(n)){var O=n.name?": "+n.name:"";w=" [Function"+O+"]"}return b(n)&&(w=" "+RegExp.prototype.toString.call(n)),_(n)&&(w=" "+Date.prototype.toUTCString.call(n)),x(n)&&(w=" "+f(n)),0!==o.length||k&&0!=n.length?r<0?b(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),c=k?function(e,t,n,r,i){for(var a=[],o=0,s=t.length;o<s;++o)C(t,String(o))?a.push(d(e,t,n,r,String(o),!0)):a.push("");return i.forEach((function(i){i.match(/^\d+$/)||a.push(d(e,t,n,r,i,!0))})),a}(e,n,r,s,o):o.map((function(t){return d(e,n,r,s,t,k)})),e.seen.pop(),function(e,t,n){var r=e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(r>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(c,w,E)):E[0]+w+E[1]}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,n,r,i,a){var o,s,u;if(u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},u.get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),C(r,i)||(o="["+i+"]"),s||(e.seen.indexOf(u.value)<0?(s=v(n)?l(e,u.value,null):l(e,u.value,n-1),s.indexOf("\n")>-1&&(s=a?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n"))):s=e.stylize("[Circular]","special")),y(o)){if(a&&i.match(/^\d+$/))return s;o=JSON.stringify(""+i),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+s}function h(e){return Array.isArray(e)}function p(e){return"boolean"===typeof e}function v(e){return null===e}function g(e){return"number"===typeof e}function m(e){return"string"===typeof e}function y(e){return void 0===e}function b(e){return w(e)&&"[object RegExp]"===k(e)}function w(e){return"object"===typeof e&&null!==e}function _(e){return w(e)&&"[object Date]"===k(e)}function x(e){return w(e)&&("[object Error]"===k(e)||e instanceof Error)}function S(e){return"function"===typeof e}function k(e){return Object.prototype.toString.call(e)}function E(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(n){if(y(a)&&(a=Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"电商模板,纯前端模板,可直接使用",VUE_APP_PLATFORM:"h5",VUE_APP_INDEX_CSS_HASH:"97465e7b",VUE_APP_INDEX_DARK_CSS_HASH:"e6047db7",BASE_URL:"/"}).NODE_DEBUG||""),n=n.toUpperCase(),!o[n])if(new RegExp("\\b"+n+"\\b","i").test(a)){var r=e.pid;o[n]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",n,r,e)}}else o[n]=function(){};return o[n]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=h,t.isBoolean=p,t.isNull=v,t.isNullOrUndefined=function(e){return null==e},t.isNumber=g,t.isString=m,t.isSymbol=function(e){return"symbol"===typeof e},t.isUndefined=y,t.isRegExp=b,t.isObject=w,t.isDate=_,t.isError=x,t.isFunction=S,t.isPrimitive=function(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e},t.isBuffer=n("d60a");var O=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function j(){var e=new Date,t=[E(e.getHours()),E(e.getMinutes()),E(e.getSeconds())].join(":");return[e.getDate(),O[e.getMonth()],t].join(" ")}function C(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",j(),t.format.apply(t,arguments))},t.inherits=n("3fb5"),t._extend=function(e,t){if(!t||!w(t))return e;var n=Object.keys(t),r=n.length;while(r--)e[n[r]]=t[n[r]];return e};var P="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function T(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');if(P&&e[P]){var t=e[P];if("function"!==typeof t)throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),i=[],a=0;a<arguments.length;a++)i.push(arguments[a]);i.push((function(e,r){e?n(e):t(r)}));try{e.apply(this,i)}catch(o){n(o)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),P&&Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,r(e))},t.promisify.custom=P,t.callbackify=function(t){if("function"!==typeof t)throw new TypeError('The "original" argument must be of type Function');function n(){for(var n=[],r=0;r<arguments.length;r++)n.push(arguments[r]);var i=n.pop();if("function"!==typeof i)throw new TypeError("The last argument must be of type Function");var a=this,o=function(){return i.apply(a,arguments)};t.apply(this,n).then((function(t){e.nextTick(o,null,t)}),(function(t){e.nextTick(T,t,o)}))}return Object.setPrototypeOf(n,Object.getPrototypeOf(t)),Object.defineProperties(n,r(t)),n}}).call(this,n("4362"))},3427:function(e,t,n){"use strict";n("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},n("d9e2"),n("d401")},"35e8":function(e,t,n){"use strict";e.exports={isString:function(e){return"string"===typeof e},isObject:function(e){return"object"===typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},3866:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.show?n("v-uni-view",{ref:"limeSignature",staticClass:"lime-signature",style:[e.canvasStyle,e.styles]},[e.useCanvas2d?n("v-uni-canvas",{staticClass:"lime-signature__canvas",attrs:{id:e.canvasId,type:"2d",disableScroll:e.disableScroll},on:{touchstart:function(t){arguments[0]=t=e.$handleEvent(t),e.touchStart.apply(void 0,arguments)},touchmove:function(t){arguments[0]=t=e.$handleEvent(t),e.touchMove.apply(void 0,arguments)},touchend:function(t){arguments[0]=t=e.$handleEvent(t),e.touchEnd.apply(void 0,arguments)}}}):n("v-uni-canvas",{staticClass:"lime-signature__canvas",attrs:{disableScroll:e.disableScroll,"canvas-id":e.canvasId,id:e.canvasId,width:e.canvasWidth,height:e.canvasHeight},on:{touchstart:function(t){arguments[0]=t=e.$handleEvent(t),e.touchStart.apply(void 0,arguments)},touchmove:function(t){arguments[0]=t=e.$handleEvent(t),e.touchMove.apply(void 0,arguments)},touchend:function(t){arguments[0]=t=e.$handleEvent(t),e.touchEnd.apply(void 0,arguments)},mousedown:function(t){arguments[0]=t=e.$handleEvent(t),e.touchStart.apply(void 0,arguments)},mousemove:function(t){arguments[0]=t=e.$handleEvent(t),e.touchMove.apply(void 0,arguments)},mouseup:function(t){arguments[0]=t=e.$handleEvent(t),e.touchEnd.apply(void 0,arguments)}}}),n("v-uni-canvas",{staticClass:"offscreen",style:"width:"+e.offscreenSize[0]+"px;height:"+e.offscreenSize[1]+"px",attrs:{"canvas-id":"offscreen",id:"offscreen",width:e.offscreenSize[0],height:e.offscreenSize[1]}})],1):e._e()},i=[]},"3a7c":function(e,t,n){function r(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===r(e)},t.isBoolean=function(e){return"boolean"===typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"===typeof e},t.isString=function(e){return"string"===typeof e},t.isSymbol=function(e){return"symbol"===typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===r(e)},t.isObject=function(e){return"object"===typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===r(e)},t.isError=function(e){return"[object Error]"===r(e)||e instanceof Error},t.isFunction=function(e){return"function"===typeof e},t.isPrimitive=function(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e},t.isBuffer=n("b639").Buffer.isBuffer},"3ccc":function(e,t,n){n("ac1f"),n("1276"),n("d3b7"),n("159b"),n("4de4");var r=n("3e8f"),i=n("ca3d"),a=n("df7c"),o=n("7b6d");function s(e){var t=r.existsSync(e);return t?e:s(a.dirname(e))}i.extend(t,r),t.fs=r,t.fileMatch=o,t.mkdir=function(e,t,n){var o=s(e),u=a.relative(o,e);if(i.isFunction(t)&&(n=t,t=null),i.isFunction(n)||(n=i.noop),t=t||511,!u)return n();function c(e){if(c.count===u.length)return n();e=a.join(e,u[c.count]),r.mkdir(e,t,(function(t){c.count++,c(e)}))}u=u.split(a.sep),c.count=0,c(o)},t.mkdirSync=function(e,t){var n=s(e),i=a.relative(n,e);i&&(i=i.split(a.sep),i.forEach((function(e){n=a.join(n,e),r.mkdirSync(n,t)})))},t.writeFile=function(e,n,o,s){var u=function(e,t){return i.isFunction(e)?{options:null,callback:e}:i.isObject(e)?{options:e,callback:t}:{options:null,callback:i.noop}}(o,s),c=a.dirname(e);o=u.options,s=u.callback,t.mkdir(c,(function(){r.writeFile(e,n,o,s)}))},t.writeFileSync=function(e,n,i){var o=a.dirname(e);t.mkdirSync(o),r.writeFileSync(e,n,i)},t.copyFile=function(e,n,a){a=i.extend({encoding:"utf8",done:i.noop},a||{}),a.process||(a.encoding=null),r.readFile(e,{encoding:a.encoding},(function(e,r){if(e)return a.done(e);a.process&&(r=a.process(r)),t.writeFile(n,r,a,a.done)}))},t.copyFileSync=function(e,n,a){var o;a=i.extend({encoding:"utf8"},a||{}),a.process?(o=r.readFileSync(e,a),o=a.process(o,e,a.relative),i.isObject(o)&&o.filepath&&(n=o.filepath,o=o.contents),t.writeFileSync(n,o,a)):(o=r.readFileSync(e),t.writeFileSync(n,o))},t.recurse=function(e,t,n){i.isFunction(t)&&(n=t,t=null);var s=o(t),u=e;(function e(t){r.readdir(t,(function(i,o){if(i)return n(i);o.forEach((function(i){var o=a.join(t,i);r.stat(o,(function(t,r){var c=a.relative(u,o),l=s(c);r.isDirectory()?(e(o),l&&n(o,c)):l&&n(o,c,i)}))}))}))})(e)},t.recurseSync=function(e,t,n){i.isFunction(t)&&(n=t,t=null);var s=o(t),u=e;(function e(t){r.readdirSync(t).forEach((function(i){var o=a.join(t,i),c=r.statSync(o),l=a.relative(u,o),f=s(l);c.isDirectory()?(e(o),f&&n(o,l)):f&&n(o,l,i)}))})(e)},t.rmdirSync=function(e){t.recurseSync(e,(function(e,t,n){n?r.unlinkSync(e):r.rmdirSync(e)})),r.rmdirSync(e)},t.copySync=function(e,n,r){r=i.extend({encoding:"utf8",filter:null,noProcess:""},r||{});var s=o(r.noProcess);t.mkdirSync(n),t.recurseSync(e,r.filter,(function(e,i,o){if(o){var u=a.join(n,i),c={relative:i};r.process&&!s(i)&&(c.encoding=r.encoding,c.process=r.process),t.copyFileSync(e,u,c)}}))}},"3e8f":function(e,t){},"3fb5":function(e,t){"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},"40a6":function(e,t,n){"use strict";n.r(t);var r=n("f5a3"),i=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t["default"]=i.a},"415f":function(e,t,n){"use strict";n.r(t);var r=n("89fd"),i=n("d7e7");for(var a in i)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(a);n("fcac");var o=n("f0c5"),s=Object(o["a"])(i["default"],r["b"],r["c"],!1,null,"26bd37d8",null,!1,r["a"],void 0);t["default"]=s.exports},"41ed":function(e,t,n){"use strict";(function(e){n("7a82");var r=n("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("5530")),a=r(n("53ca"));n("d3b7"),n("159b"),n("14d9"),n("fb6a"),n("ac1f"),n("5319"),n("a9e3"),n("e9c4"),n("b64b"),n("c975"),n("00b4"),n("4d63"),n("c607"),n("2c3e"),n("25f0"),n("466d"),n("d9e2"),n("d401"),n("99af"),n("ddb0"),n("d81d"),n("a434");var o=/%[sdj%]/g,s=function(){};function u(e){if(!e||!e.length)return null;var t={};return e.forEach((function(e){var n=e.field;t[n]=t[n]||[],t[n].push(e)})),t}function c(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=1,i=t[0],a=t.length;if("function"===typeof i)return i.apply(null,t.slice(1));if("string"===typeof i){for(var s=String(i).replace(o,(function(e){if("%%"===e)return"%";if(r>=a)return e;switch(e){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(n){return"[Circular]"}break;default:return e}})),u=t[r];r<a;u=t[++r])s+=" ".concat(u);return s}return i}function l(e,t){return void 0===e||null===e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"pattern"===e}(t)||"string"!==typeof e||e))}function f(e,t,n){var r=0,i=e.length;(function a(o){if(o&&o.length)n(o);else{var s=r;r+=1,s<i?t(e[s],a):n([])}})([])}function d(e,t,n,r){if(t.first){var i=new Promise((function(t,i){var a=function(e){var t=[];return Object.keys(e).forEach((function(n){t.push.apply(t,e[n])})),t}(e);f(a,n,(function(e){return r(e),e.length?i({errors:e,fields:u(e)}):t()}))}));return i.catch((function(e){return e})),i}var a=t.firstFields||[];!0===a&&(a=Object.keys(e));var o=Object.keys(e),s=o.length,c=0,l=[],d=new Promise((function(t,i){var d=function(e){if(l.push.apply(l,e),c++,c===s)return r(l),l.length?i({errors:l,fields:u(l)}):t()};o.length||(r(l),t()),o.forEach((function(t){var r=e[t];-1!==a.indexOf(t)?f(r,n,d):function(e,t,n){var r=[],i=0,a=e.length;function o(e){r.push.apply(r,e),i++,i===a&&n(r)}e.forEach((function(e){t(e,o)}))}(r,n,d)}))}));return d.catch((function(e){return e})),d}function h(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:"function"===typeof t?t():t,field:t.field||e.fullField}}}function p(e,t){if(t)for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];"object"===(0,a.default)(r)&&"object"===(0,a.default)(e[n])?e[n]=(0,i.default)((0,i.default)({},e[n]),r):e[n]=r}return e}function v(e,t,n,r,i,a){!e.required||n.hasOwnProperty(e.field)&&!l(t,a||e.type)||r.push(c(i.messages.required,e.fullField))}"undefined"!==typeof e&&Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"电商模板,纯前端模板,可直接使用",VUE_APP_PLATFORM:"h5",VUE_APP_INDEX_CSS_HASH:"97465e7b",VUE_APP_INDEX_DARK_CSS_HASH:"e6047db7",BASE_URL:"/"});var g={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},m={integer:function(e){return/^(-)?\d+$/.test(e)},float:function(e){return/^(-)?\d+(\.\d+)?$/.test(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return"function"===typeof e.getTime&&"function"===typeof e.getMonth&&"function"===typeof e.getYear},number:function(e){return!isNaN(e)&&"number"===typeof+e},object:function(e){return"object"===(0,a.default)(e)&&!m.array(e)},method:function(e){return"function"===typeof e},email:function(e){return"string"===typeof e&&!!e.match(g.email)&&e.length<255},url:function(e){return"string"===typeof e&&!!e.match(g.url)},hex:function(e){return"string"===typeof e&&!!e.match(g.hex)}};var y={required:v,whitespace:function(e,t,n,r,i){(/^\s+$/.test(t)||""===t)&&r.push(c(i.messages.whitespace,e.fullField))},type:function(e,t,n,r,i){if(e.required&&void 0===t)v(e,t,n,r,i);else{var o=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(o)>-1?m[o](t)||r.push(c(i.messages.types[o],e.fullField,e.type)):o&&(0,a.default)(t)!==e.type&&r.push(c(i.messages.types[o],e.fullField,e.type))}},range:function(e,t,n,r,i){var a="number"===typeof e.len,o="number"===typeof e.min,s="number"===typeof e.max,u=t,l=null,f="number"===typeof t,d="string"===typeof t,h=Array.isArray(t);if(f?l="number":d?l="string":h&&(l="array"),!l)return!1;h&&(u=t.length),d&&(u=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),a?u!==e.len&&r.push(c(i.messages[l].len,e.fullField,e.len)):o&&!s&&u<e.min?r.push(c(i.messages[l].min,e.fullField,e.min)):s&&!o&&u>e.max?r.push(c(i.messages[l].max,e.fullField,e.max)):o&&s&&(u<e.min||u>e.max)&&r.push(c(i.messages[l].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,i){e["enum"]=Array.isArray(e["enum"])?e["enum"]:[],-1===e["enum"].indexOf(t)&&r.push(c(i.messages["enum"],e.fullField,e["enum"].join(", ")))},pattern:function(e,t,n,r,i){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(c(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"===typeof e.pattern){var a=new RegExp(e.pattern);a.test(t)||r.push(c(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}};function b(e,t,n,r,i){var a=e.type,o=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(l(t,a)&&!e.required)return n();y.required(e,t,r,o,i,a),l(t,a)||y.type(e,t,r,o,i)}n(o)}var w={string:function(e,t,n,r,i){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(l(t,"string")&&!e.required)return n();y.required(e,t,r,a,i,"string"),l(t,"string")||(y.type(e,t,r,a,i),y.range(e,t,r,a,i),y.pattern(e,t,r,a,i),!0===e.whitespace&&y.whitespace(e,t,r,a,i))}n(a)},method:function(e,t,n,r,i){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(l(t)&&!e.required)return n();y.required(e,t,r,a,i),void 0!==t&&y.type(e,t,r,a,i)}n(a)},number:function(e,t,n,r,i){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(""===t&&(t=void 0),l(t)&&!e.required)return n();y.required(e,t,r,a,i),void 0!==t&&(y.type(e,t,r,a,i),y.range(e,t,r,a,i))}n(a)},boolean:function(e,t,n,r,i){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(l(t)&&!e.required)return n();y.required(e,t,r,a,i),void 0!==t&&y.type(e,t,r,a,i)}n(a)},regexp:function(e,t,n,r,i){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(l(t)&&!e.required)return n();y.required(e,t,r,a,i),l(t)||y.type(e,t,r,a,i)}n(a)},integer:function(e,t,n,r,i){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(l(t)&&!e.required)return n();y.required(e,t,r,a,i),void 0!==t&&(y.type(e,t,r,a,i),y.range(e,t,r,a,i))}n(a)},float:function(e,t,n,r,i){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(l(t)&&!e.required)return n();y.required(e,t,r,a,i),void 0!==t&&(y.type(e,t,r,a,i),y.range(e,t,r,a,i))}n(a)},array:function(e,t,n,r,i){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(l(t,"array")&&!e.required)return n();y.required(e,t,r,a,i,"array"),l(t,"array")||(y.type(e,t,r,a,i),y.range(e,t,r,a,i))}n(a)},object:function(e,t,n,r,i){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(l(t)&&!e.required)return n();y.required(e,t,r,a,i),void 0!==t&&y.type(e,t,r,a,i)}n(a)},enum:function(e,t,n,r,i){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(l(t)&&!e.required)return n();y.required(e,t,r,a,i),void 0!==t&&y["enum"](e,t,r,a,i)}n(a)},pattern:function(e,t,n,r,i){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(l(t,"string")&&!e.required)return n();y.required(e,t,r,a,i),l(t,"string")||y.pattern(e,t,r,a,i)}n(a)},date:function(e,t,n,r,i){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(l(t)&&!e.required)return n();var s;if(y.required(e,t,r,a,i),!l(t))s="number"===typeof t?new Date(t):t,y.type(e,s,r,a,i),s&&y.range(e,s.getTime(),r,a,i)}n(a)},url:b,hex:b,email:b,required:function(e,t,n,r,i){var o=[],s=Array.isArray(t)?"array":(0,a.default)(t);y.required(e,t,r,o,i,s),n(o)},any:function(e,t,n,r,i){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(l(t)&&!e.required)return n();y.required(e,t,r,a,i)}n(a)}};function _(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var x=_();function S(e){this.rules=null,this._messages=x,this.define(e)}S.prototype={messages:function(e){return e&&(this._messages=p(_(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==(0,a.default)(e)||Array.isArray(e))throw new Error("Rules must be an object");var t,n;for(t in this.rules={},e)e.hasOwnProperty(t)&&(n=e[t],this.rules[t]=Array.isArray(n)?n:[n])},validate:function(e,t,n){var r=this;void 0===t&&(t={}),void 0===n&&(n=function(){});var o,s,l=e,f=t,v=n;if("function"===typeof f&&(v=f,f={}),!this.rules||0===Object.keys(this.rules).length)return v&&v(),Promise.resolve();if(f.messages){var g=this.messages();g===x&&(g=_()),p(g,f.messages),f.messages=g}else f.messages=this.messages();var m={},y=f.keys||Object.keys(this.rules);y.forEach((function(t){o=r.rules[t],s=l[t],o.forEach((function(n){var a=n;"function"===typeof a.transform&&(l===e&&(l=(0,i.default)({},l)),s=l[t]=a.transform(s)),a="function"===typeof a?{validator:a}:(0,i.default)({},a),a.validator=r.getValidationMethod(a),a.field=t,a.fullField=a.fullField||t,a.type=r.getType(a),a.validator&&(m[t]=m[t]||[],m[t].push({rule:a,value:s,source:l,field:t}))}))}));var b={};return d(m,f,(function(e,t){var n,r=e.rule,o=("object"===r.type||"array"===r.type)&&("object"===(0,a.default)(r.fields)||"object"===(0,a.default)(r.defaultField));function s(e,t){return(0,i.default)((0,i.default)({},t),{},{fullField:"".concat(r.fullField,".").concat(e)})}function u(n){void 0===n&&(n=[]);var a=n;if(Array.isArray(a)||(a=[a]),!f.suppressWarning&&a.length&&S.warning("async-validator:",a),a.length&&r.message&&(a=[].concat(r.message)),a=a.map(h(r)),f.first&&a.length)return b[r.field]=1,t(a);if(o){if(r.required&&!e.value)return a=r.message?[].concat(r.message).map(h(r)):f.error?[f.error(r,c(f.messages.required,r.field))]:[],t(a);var u={};if(r.defaultField)for(var l in e.value)e.value.hasOwnProperty(l)&&(u[l]=r.defaultField);for(var d in u=(0,i.default)((0,i.default)({},u),e.rule.fields),u)if(u.hasOwnProperty(d)){var p=Array.isArray(u[d])?u[d]:[u[d]];u[d]=p.map(s.bind(null,d))}var v=new S(u);v.messages(f.messages),e.rule.options&&(e.rule.options.messages=f.messages,e.rule.options.error=f.error),v.validate(e.value,e.rule.options||f,(function(e){var n=[];a&&a.length&&n.push.apply(n,a),e&&e.length&&n.push.apply(n,e),t(n.length?n:null)}))}else t(a)}o=o&&(r.required||!r.required&&e.value),r.field=e.field,r.asyncValidator?n=r.asyncValidator(r,e.value,u,e.source,f):r.validator&&(n=r.validator(r,e.value,u,e.source,f),!0===n?u():!1===n?u(r.message||"".concat(r.field," fails")):n instanceof Array?u(n):n instanceof Error&&u(n.message)),n&&n.then&&n.then((function(){return u()}),(function(e){return u(e)}))}),(function(e){(function(e){var t,n=[],r={};function i(e){var t;Array.isArray(e)?n=(t=n).concat.apply(t,e):n.push(e)}for(t=0;t<e.length;t++)i(e[t]);n.length?r=u(n):(n=null,r=null),v(n,r)})(e)}))},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!==typeof e.validator&&e.type&&!w.hasOwnProperty(e.type))throw new Error(c("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if("function"===typeof e.validator)return e.validator;var t=Object.keys(e),n=t.indexOf("message");return-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0]?w.required:w[this.getType(e)]||!1}},S.register=function(e,t){if("function"!==typeof t)throw new Error("Cannot register a validator by type, validator is not a function");w[e]=t},S.warning=s,S.messages=x;var k=S;t.default=k}).call(this,n("4362"))},"429b":function(e,t,n){e.exports=n("faa1").EventEmitter},4362:function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("df7c")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},4681:function(e,t,n){"use strict";var r=n("966d");function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var n=this,a=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return a||o?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||r.nextTick(i,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?(r.nextTick(i,n,e),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},"482f":function(e,t,n){"use strict";n.r(t);var r=n("221f"),i=n("a89a");for(var a in i)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(a);var o=n("f0c5"),s=Object(o["a"])(i["default"],r["b"],r["c"],!1,null,"d782867e",null,!1,r["a"],void 0);t["default"]=s.exports},"53a8":function(e,t){e.exports=function(){for(var e={},t=0;t<arguments.length;t++){var r=arguments[t];for(var i in r)n.call(r,i)&&(e[i]=r[i])}return e};var n=Object.prototype.hasOwnProperty},5403:function(e,t,n){"use strict";n("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("a9e3");var r={props:{color:{type:String,default:uni.$u.props.line.color},length:{type:[String,Number],default:uni.$u.props.line.length},direction:{type:String,default:uni.$u.props.line.direction},hairline:{type:Boolean,default:uni.$u.props.line.hairline},margin:{type:[String,Number],default:uni.$u.props.line.margin},dashed:{type:Boolean,default:uni.$u.props.line.dashed}}};t.default=r},"564f":function(e,t,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("ac1f"),n("466d"),n("d401"),n("81b2"),n("0eb6"),n("b7ef"),n("8bd4"),n("ace4"),n("d3b7"),n("5cc6"),n("907a"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("986a"),n("1d02"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("3c5d"),n("2954"),n("649e"),n("219c"),n("b39a"),n("72f7"),n("3ca3"),n("ddb0"),n("2b3d"),n("9861");var i=r(n("ade3")),a=n("4838"),o=n("5d56"),s=(n("96d8"),{components:{},data:function(){var e;return{userInfo:{},showXieyi:!0,form:{bank_username:"",bank_realname:"",bank_no:"",bank_address:"",bank_sub_address:"",sign_image:""},rules:(e={bank_username:[{required:!0,message:"请输入姓名",trigger:["change","blur"]}],bank_realname:[{required:!0,message:"请输入银行卡姓名",trigger:["change","blur"]}],bank_no:[{required:!0,message:"请输入银行卡号",trigger:["change","blur"]}],bank_address:[{required:!0,message:"请输入开户行",trigger:["change","blur"]}]},(0,i.default)(e,"bank_address",[{required:!0,message:"请输入开户行",trigger:["change","blur"]}]),(0,i.default)(e,"bank_sub_address",[{required:!0,message:"请输入支行",trigger:["change","blur"]}]),e),showList:!0,show:!1,content:"",intervalTime:15}},methods:{showSign:function(){1===this.userInfo.sign_status||0===this.userInfo.sign_status&&this.userInfo.sign_image||(this.show=!0)},submitSign:function(){var e=this;console.log("submit"),console.log(this.$refs.uForm.validate,"submit"),this.form.bank_address&&this.form.bank_no&&this.form.bank_realname&&this.form.bank_sub_address&&this.form.bank_username&&this.form.sign_image&&(0,a.confirmSign)(this.form).then((function(t){if(1===t.code){e.$refs.uToast.show({message:"签约信息已提交"});var n=setTimeout((function(){uni.navigateBack({delta:1}),clearTimeout(n)}),1e3)}}))},base64toBlob:function(e){var t=e.split(","),n=t[0].match(/:(.*?);/)[1],r=atob(t[1]),i=r.length,a=new Uint8Array(i);while(i--)a[i]=r.charCodeAt(i);return new Blob([a],{type:n})},onClick:function(e){var t=this;console.log(e,"type"),"openSmooth"!=e?"save"!=e?this.$refs.signatureRef&&this.$refs.signatureRef[e]():this.$refs.signatureRef.canvasToTempFilePath({success:function(e){if(e.isEmpty)uni.$u.toast("请签名");else{var n=URL.createObjectURL(t.base64toBlob(e.tempFilePath));uni.uploadFile({url:t.baseUrl+"api/common/upload",filePath:n,name:"file",header:{token:(0,o.getToken)()},formData:{},success:function(e){var n=JSON.parse(e.data);1==n.code?(t.form.sign_image=n.data.fullurl,console.log(n,"this.form.sign_image"),t.show=!1):uni.$u.toast(JSON.parse(e.data).msg)},fail:function(e){console.log(e,"rrr")}})}}}):this.openSmooth=!this.openSmooth},saveSignPic:function(e){console.log(e),(0,a.updateUserInfo)({sign_image:e}).then((function(e){console.log(e,"ooooo"),1==e.code&&uni.switchTab({url:"/pages/qianyue/qianyue"})}))}},onShow:function(){var e=this;(0,a.getUserInfo)().then((function(t){e.userInfo=Object.assign((e.userInfo,t.data)),e.userInfo.sign_image&&(e.form={bank_username:e.userInfo.bank_username,bank_realname:e.userInfo.bank_realname,bank_no:e.userInfo.bank_no,bank_address:e.userInfo.bank_address,bank_sub_address:e.userInfo.bank_sub_address,sign_image:e.userInfo.sign_image})})),(0,a.privacyPolicy)({id:2}).then((function(t){console.log(t,"privacyPolicy"),e.content=t.data.content}));var t=setInterval((function(){e.intervalTime>0?e.intervalTime--:clearInterval(t)}),1e3);this.getUserInfoHandle(),this.show=!1},onLoad:function(){},onReady:function(){}});t.default=s},"58dc":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 主要颜色 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.interval[data-v-26bd37d8]{position:fixed;top:40px;left:5px;border-radius:50%;height:40px;width:40px;display:flex;justify-content:center;align-items:center;color:red;font-size:25px}.close[data-v-26bd37d8]{top:45px;right:15px;position:fixed;z-index:99}.qianyue[data-v-26bd37d8]{padding:%?24?%}.qianyue .banner[data-v-26bd37d8]{height:%?260?%;margin-bottom:%?10?%;border-radius:%?10?%;overflow:hidden}.qianyue .banner .u-swiper[data-v-26bd37d8]{background-color:#fff!important}.qianyue .qgList .qgItem[data-v-26bd37d8]{height:%?286?%;width:100%;position:relative;overflow:hidden;margin-bottom:%?20?%}.qianyue .qgList .qgItem .bgPic[data-v-26bd37d8]{width:100%}.qianyue .qgList .qgItem .qgInfo[data-v-26bd37d8]{position:absolute;top:0;right:0;bottom:0;left:0;height:100%;width:100%;text-align:center;background:rgba(0,0,0,.6);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:99}.qianyue .qgList .qgItem .qgInfo .conpany[data-v-26bd37d8]{display:flex;align-items:center;color:#c1c1c1}.qianyue .qgList .qgItem .qgInfo .conpany .line[data-v-26bd37d8]{height:%?4?%;width:%?100?%;background-color:#c1c1c1}.qianyue .qgList .qgItem .qgInfo .conpany .text[data-v-26bd37d8]{font-size:%?30?%;color:#c1c1c1;margin:0 %?10?%}.qianyue .qgList .qgItem .qgInfo .time[data-v-26bd37d8]{font-size:%?38?%;color:#fff;margin-top:26px}.gobottom[data-v-26bd37d8]{color:hsla(0,0%,64.7%,.5);font-size:%?30?%;margin-top:%?20?%;text-align:center}.istruction[data-v-26bd37d8]{text-align:center;color:#9f751f;margin-top:%?80?%}.xieyi[data-v-26bd37d8]{border:1px solid #236030;color:#236030;border-radius:%?10?%;width:40%;text-align:center;margin:%?30?% auto;padding:%?10?% 0}.sign[data-v-26bd37d8]{border:1px solid #236030;color:#236030;border-radius:%?10?%;width:40%;text-align:center;margin:%?30?% auto;padding:%?10?% 0}.btn[data-v-26bd37d8]{display:flex;position:fixed;bottom:10px;width:100%}.btn uni-button[data-v-26bd37d8]{flex:1;margin:0 %?10?%;background-color:#236030;color:#fff;font-size:%?28?%}.sign-btn[data-v-26bd37d8]{width:80px;height:30px;line-height:30px;background-color:#fff;text-align:center}.saveBtn[data-v-26bd37d8]{background:#236030;color:#fff;border:1px solid #236030;overflow:hidden;font-size:%?28?%;height:44px;line-height:44px;text-align:center;border-radius:%?10?%;margin-top:%?100?%}',""]),e.exports=t},"5e1a":function(e,t,n){"use strict";var r=n("8707").Buffer,i=n(2);function a(e,t,n){e.copy(t,n)}e.exports=function(){function e(){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";var t=this.head,n=""+t.data;while(t=t.next)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);if(1===this.length)return this.head.data;var t=r.allocUnsafe(e>>>0),n=this.head,i=0;while(n)a(n.data,t,i),i+=n.data.length,n=n.next;return t},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},6005:function(e,t,n){"use strict";n("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(Array.isArray(e))return(0,r.default)(e)};var r=function(e){return e&&e.__esModule?e:{default:e}}(n("6b75"))},6604:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 主要颜色 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.lime-signature[data-v-65d7357f],\n.lime-signature__canvas[data-v-65d7357f]{width:100%;height:100%}.offscreen[data-v-65d7357f]{position:fixed;top:0;left:9999px}',""]),e.exports=t},"726a":function(e,t,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("c9aa")),a=i.default;t.default=a},"742e":function(e,t,n){"use strict";n.r(t);var r=n("8efa"),i=n("40a6");for(var a in i)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(a);n("0635");var o=n("f0c5"),s=Object(o["a"])(i["default"],r["b"],r["c"],!1,null,"03e1ba13",null,!1,r["a"],void 0);t["default"]=s.exports},"780f":function(e,t,n){"use strict";e.exports=a;var r=n("27bf"),i=Object.create(n("3a7c"));function a(e){if(!(this instanceof a))return new a(e);r.call(this,e)}i.inherits=n("3fb5"),i.inherits(a,r),a.prototype._transform=function(e,t,n){n(null,e)}},"7b6d":function(e,t,n){n("d3b7"),n("159b"),n("c975"),n("ac1f"),n("5319"),n("498a"),n("14d9"),n("4d63"),n("c607"),n("2c3e"),n("25f0"),n("00b4");var r=n("ca3d");e.exports=function(e,t){if(null===e)return function(){return!0};if(""===e||r.isArray(e)&&!e.length)return function(){return!1};r.isString(e)&&(e=[e]);var n=[],i=[],a=t?"i":"";return e.forEach((function(e){var t=0===e.indexOf("!");e=e.replace(/^!/,"").replace(/\*(?![\/*])/,"[^/]*?").replace("**/","([^/]+/)*").replace(/\{([^\}]+)\}/g,(function(e,t){var n=t.split(","),r=n.length,i="(?:";return n.forEach((function(e,t){i+="("+e.trim()+")",t+1!==r&&(i+="|")})),i+=")",i})).replace(/([\/\.])/g,"\\$1"),e="(^"+e+"$)",t?i.push(e):n.push(e)})),n=n.length?new RegExp(n.join("|"),a):null,i=i.length?new RegExp(i.join("|"),a):null,function(e){return e=r.path.unixifyPath(e),(!i||!i.test(e))&&!(!n||!n.test(e))}}},"7cd7":function(e,t,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.uniContext=t.toDataURL=t.createImage=void 0,t.useCurrentPage=function(){var e=getCurrentPages();return e[e.length-1]};var i=r(n("5530")),a=r(n("d4ec")),o=r(n("bee2"));n("99af"),n("d3b7");t.uniContext=function(e,t){var n=uni.createCanvasContext(e,t);return n.uniDrawImage||(n.uniDrawImage=n.drawImage,n.drawImage=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];n.uniDrawImage.apply(n,[e.src].concat(r))}),n.getImageData||(n.getImageData=function(n,r,i,a){return new Promise((function(o,s){t.proxy&&(t=t.proxy),uni.canvasGetImageData({canvasId:e,x:n,y:r,width:i,height:a,success:function(e){o(e)},fail:function(e){s(e)}},t)}))}),n};var s=function(){function e(){(0,a.default)(this,e),this.currentSrc=null,this.naturalHeight=0,this.naturalWidth=0,this.width=0,this.height=0,this.tagName="IMG"}return(0,o.default)(e,[{key:"src",get:function(){return this.currentSrc},set:function(e){var t=this;this.currentSrc=e,uni.getImageInfo({src:e,success:function(e){t.naturalWidth=t.width=e.width,t.naturalHeight=t.height=e.height,t.onload()},fail:function(){t.onerror()}})}}]),e}();t.createImage=function(){return new s};t.toDataURL=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new Promise((function(r,a){var o=n.canavs,s=(0,i.default)((0,i.default)({},n),{},{canvasId:e,success:function(e){r(e.tempFilePath)},fail:function(e){a(e)}});o&&o.toTempFilePath?o.toTempFilePath(s):uni.canvasToTempFilePath(s,t)}))}},"7d72":function(e,t,n){"use strict";var r=n("8707").Buffer,i=r.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";var t;while(1)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!==typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=c,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=l,this.end=f,t=3;break;default:return this.write=d,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function o(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!==(192&t[0]))return e.lastNeed=0,"<EFBFBD>";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"<EFBFBD>";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"<EFBFBD>"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function l(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}t.StringDecoder=a,a.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(t=this.fillLast(e),void 0===t)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},a.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"<EFBFBD>":t},a.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var i=o(t[r]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--r<n||-2===i)return 0;if(i=o(t[r]),i>=0)return i>0&&(e.lastNeed=i-2),i;if(--r<n||-2===i)return 0;if(i=o(t[r]),i>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},a.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},8707:function(e,t,n){
|
|
|
var r=n("b639"),i=r.Buffer;function a(e,t){for(var n in e)t[n]=e[n]}function o(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(a(r,t),t.Buffer=o),o.prototype=Object.create(i.prototype),a(i,o),o.from=function(e,t,n){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},o.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"===typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},o.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},"89fd":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return r}));var r={uIcon:n("5b12").default,uForm:n("482f").default,uFormItem:n("742e").default,uInput:n("ee4b").default,uToast:n("69dd").default,uPopup:n("b511").default,lSignature:n("cf55").default},i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"qianyue"},[e.showXieyi&&e.content&&!e.userInfo.sign_image?n("div",{staticClass:"xieyi-content",staticStyle:{position:"relative"},domProps:{innerHTML:e._s(e.content)}}):e._e(),e.showXieyi&&e.content&&!e.userInfo.sign_image?n("v-uni-view",{staticClass:"interval"},[e._v(e._s(e.intervalTime))]):e._e(),e.showXieyi&&e.content&&0===e.intervalTime&&!e.userInfo.sign_image?n("u-icon",{staticClass:"close",attrs:{name:"close",color:"#909399",size:"28"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showXieyi=!1}}}):e._e(),!e.showXieyi||e.userInfo.sign_image?n("div",[1===e.userInfo.sign_status?n("v-uni-view",{staticStyle:{"text-align":"center",color:"green","font-weight":"600",width:"100%"}},[e._v("已签约")]):e._e(),2===e.userInfo.sign_status?n("v-uni-view",{staticStyle:{"text-align":"center",color:"red","font-weight":"600",width:"100%"}},[e._v("审核不通过")]):e._e(),0===e.userInfo.sign_status&&e.userInfo.sign_image?n("v-uni-view",{staticStyle:{"text-align":"center",color:"grey","font-weight":"600",width:"100%"}},[e._v("审核中")]):e._e(),n("u-form",{ref:"uForm",attrs:{model:e.form,rules:e.rules}},[n("u-form-item",{attrs:{label:"姓名",prop:"bank_username","border-bottom":!0,required:!0}},[n("u-input",{attrs:{border:!1,disabled:1===e.userInfo.sign_status||0===e.userInfo.sign_status&&e.userInfo.sign_image,placeholder:"请输入姓名"},model:{value:e.form.bank_username,callback:function(t){e.$set(e.form,"bank_username",t)},expression:"form.bank_username"}})],1),n("u-form-item",{attrs:{"label-width":100,label:"银行卡姓名",prop:"bank_realname","border-bottom":!0,required:!0}},[n("u-input",{attrs:{border:!1,disabled:1===e.userInfo.sign_status||0===e.userInfo.sign_status&&e.userInfo.sign_image,placeholder:"请输入银行卡姓名"},model:{value:e.form.bank_realname,callback:function(t){e.$set(e.form,"bank_realname",t)},expression:"form.bank_realname"}})],1),n("u-form-item",{attrs:{"label-width":85,label:"银行卡号",prop:"bank_no","border-bottom":!0,required:!0}},[n("u-input",{attrs:{border:!1,disabled:1===e.userInfo.sign_status||0===e.userInfo.sign_status&&e.userInfo.sign_image,placeholder:"请输入银行卡号"},model:{value:e.form.bank_no,callback:function(t){e.$set(e.form,"bank_no",t)},expression:"form.bank_no"}})],1),n("u-form-item",{attrs:{"label-width":70,label:"开户行",prop:"bank_address","border-bottom":!0,required:!0}},[n("u-input",{attrs:{border:!1,disabled:1===e.userInfo.sign_status||0===e.userInfo.sign_status&&e.userInfo.sign_image,placeholder:"请输入开户行"},model:{value:e.form.bank_address,callback:function(t){e.$set(e.form,"bank_address",t)},expression:"form.bank_address"}})],1),n("u-form-item",{attrs:{label:"支行",prop:"bank_sub_address","border-bottom":!0,required:!0}},[n("u-input",{attrs:{disabled:1===e.userInfo.sign_status||0===e.userInfo.sign_status&&e.userInfo.sign_image,border:!1,placeholder:"请输入支行"},model:{value:e.form.bank_sub_address,callback:function(t){e.$set(e.form,"bank_sub_address",t)},expression:"form.bank_sub_address"}})],1),n("u-form-item",{attrs:{label:"签字",prop:"sign_image","border-bottom":!0,required:!0}},[e.form.sign_image?n("v-uni-image",{staticStyle:{width:"60vw"},attrs:{mode:"aspectFit",src:e.form.sign_image},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showSign.apply(void 0,arguments)}}}):n("v-uni-view",{staticClass:"sign-btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showSign.apply(void 0,arguments)}}},[e._v("点击签名")])],1)],1)],1):e._e(),!e.showXieyi||e.userInfo.sign_image?n("v-uni-view",[e.userInfo.sign_image&&2!==e.userInfo.sign_status?e._e():n("v-uni-view",{staticClass:"saveBtn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.submitSign.apply(void 0,arguments)}}},[e._v("提交")])],1):e._e(),n("u-toast",{ref:"uToast"}),n("u-popup",{attrs:{show:e.show,mode:"bottom",round:"10"},on:{close:function(t){arguments[0]=t=e.$handleEvent(t),e.show=!1}}},[n("v-uni-view",{staticStyle:{width:"100vw",height:"60vh"}},[n("l-signature",{ref:"signatureRef",attrs:{disableScroll:!0,backgroundColor:"#ddd",landscape:!0,openSmooth:e.openSmooth}})],1),n("v-uni-view",{staticClass:"btn"},[n("v-uni-button",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onClick("clear")}}},[e._v("清空")]),n("v-uni-button",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onClick("undo")}}},[e._v("撤消")]),n("v-uni-button",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onClick("save")}}},[e._v("保存")])],1)],1)],1)},a=[]},"8ad2":function(e,t,n){"use strict";n("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("a9e3");var r={props:{model:{type:Object,default:uni.$u.props.form.model},rules:{type:[Object,Function,Array],default:uni.$u.props.form.rules},errorType:{type:String,default:uni.$u.props.form.errorType},borderBottom:{type:Boolean,default:uni.$u.props.form.borderBottom},labelPosition:{type:String,default:uni.$u.props.form.labelPosition},labelWidth:{type:[String,Number],default:uni.$u.props.form.labelWidth},labelAlign:{type:String,default:uni.$u.props.form.labelAlign},labelStyle:{type:Object,default:uni.$u.props.form.labelStyle}}};t.default=r},"8c05":function(e,t){e.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},"8c19":function(e,t,n){"use strict";n.r(t);var r=n("e1b7"),i=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t["default"]=i.a},"8d7a":function(e,t,n){(function(t){n("e9c4"),n("14d9"),n("99af"),n("d401"),n("d3b7"),n("25f0"),n("ac1f"),n("5319");var r=n("9490"),i=n("ca3d"),a=n("0b16"),o=n("df7c"),s=n("b383"),u=n("3ccc");function c(e,n){var o={headers:{"Content-Type":"application/json"},method:"GET",encoding:"utf8",isBuffer:!1,json:!1};i.isString(e)?o.url=e:i.extend(o,e),o.data&&("GET"===o.method?o.url+="?"+s.stringify(o.data):(o.data=JSON.stringify(o.data),o.headers["Content-Length"]=new t(o.data).length)),i.extend(o,i.pick(a.parse(o.url),"hostname","port","path","auth")),delete o.url;var u=r.request(o,(function(e){var r=[],i=0;e.on("data",(function(e){r.push(e),i+=e.length})),e.on("end",(function(){var a="";if(o.isBuffer)a=t.concat(r,i);else{for(var s=new t(i),u=0,c=0,l=r.length;u<l;u++){var f=r[u];f.copy(s,c),c+=f.length}a=s.toString(o.encoding),o.json&&(a=JSON.parse(a))}n(null,e,a)}))}));u.on("error",n),"GET"!==o.method&&o.data&&u.write(o.data),u.end()}c.post=function(e,t){i.isString(e)&&(e={url:e}),e.method="POST",c(e,t)},c.download=function(e,t){var n=i.extend({rootPath:"",ignore:!1},e);c({url:n.url,isBuffer:!0},(function(r,s,c){if(r)return t(r);if(200!==s.statusCode)return t(r,s,c);var l,f=a.parse(e.url).pathname.replace(/^\//,"");l=n.destPath?i.isFunction(n.destPath)?n.destPath(o.basename(f)):n.destPath:o.join(e.rootPath,f),n.ignore&&(l=l.toLowerCase()),u.writeFile(l,c,(function(e){if(e)return t(e);t(null,s,c,l)}))}))},e.exports=c}).call(this,n("b639").Buffer)},"8e96":function(e,t,n){var r=n("b4e8");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("4f06").default;i("7ac1786a",r,!0,{sourceMap:!1,shadowMode:!1})},"8efa":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return r}));var r={uIcon:n("5b12").default,uLine:n("2d78").default},i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"u-form-item"},[n("v-uni-view",{staticClass:"u-form-item__body",style:[e.$u.addStyle(e.customStyle),{flexDirection:"left"===(e.labelPosition||e.parentData.labelPosition)?"row":"column"}],on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.clickHandler.apply(void 0,arguments)}}},[e._t("label",[e.required||e.leftIcon||e.label?n("v-uni-view",{staticClass:"u-form-item__body__left",style:{width:e.$u.addUnit(e.labelWidth||e.parentData.labelWidth),marginBottom:"left"===e.parentData.labelPosition?0:"5px"}},[n("v-uni-view",{staticClass:"u-form-item__body__left__content"},[e.required?n("v-uni-text",{staticClass:"u-form-item__body__left__content__required"},[e._v("*")]):e._e(),e.leftIcon?n("v-uni-view",{staticClass:"u-form-item__body__left__content__icon"},[n("u-icon",{attrs:{name:e.leftIcon,"custom-style":e.leftIconStyle}})],1):e._e(),n("v-uni-text",{staticClass:"u-form-item__body__left__content__label",style:[e.parentData.labelStyle,{justifyContent:"left"===e.parentData.labelAlign?"flex-start":"center"===e.parentData.labelAlign?"center":"flex-end"}]},[e._v(e._s(e.label))])],1)],1):e._e()]),n("v-uni-view",{staticClass:"u-form-item__body__right"},[n("v-uni-view",{staticClass:"u-form-item__body__right__content"},[n("v-uni-view",{staticClass:"u-form-item__body__right__content__slot"},[e._t("default")],2),e.$slots.right?n("v-uni-view",{staticClass:"item__body__right__content__icon"},[e._t("right")],2):e._e()],1)],1)],2),e._t("error",[e.message&&"message"===e.parentData.errorType?n("v-uni-text",{staticClass:"u-form-item__body__right__message",style:{marginLeft:e.$u.addUnit("top"===e.parentData.labelPosition?0:e.labelWidth||e.parentData.labelWidth)}},[e._v(e._s(e.message))]):e._e()]),e.borderBottom?n("u-line",{attrs:{color:e.message&&"border-bottom"===e.parentData.errorType?e.$u.color.error:e.propsLine.color,customStyle:"margin-top: "+(e.message&&"message"===e.parentData.errorType?"5px":0)}}):e._e()],2)},a=[]},"91dd":function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,a){t=t||"&",n=n||"=";var o={};if("string"!==typeof e||0===e.length)return o;var s=/\+/g;e=e.split(t);var u=1e3;a&&"number"===typeof a.maxKeys&&(u=a.maxKeys);var c=e.length;u>0&&c>u&&(c=u);for(var l=0;l<c;++l){var f,d,h,p,v=e[l].replace(s,"%20"),g=v.indexOf(n);g>=0?(f=v.substr(0,g),d=v.substr(g+1)):(f=v,d=""),h=decodeURIComponent(f),p=decodeURIComponent(d),r(o,h)?i(o[h])?o[h].push(p):o[h]=[o[h],p]:o[h]=p}return o};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},"925e":function(e,t,n){(function(t,r,i){var a=n("a9f1"),o=n("3fb5"),s=n("c90b"),u=n("e372"),c=n("d938"),l=s.IncomingMessage,f=s.readyStates;var d=e.exports=function(e){var n,r=this;u.Writable.call(r),r._opts=e,r._body=[],r._headers={},e.auth&&r.setHeader("Authorization","Basic "+new t(e.auth).toString("base64")),Object.keys(e.headers).forEach((function(t){r.setHeader(t,e.headers[t])}));var i=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!a.abortController)i=!1,n=!0;else if("prefer-streaming"===e.mode)n=!1;else if("allow-wrong-content-type"===e.mode)n=!a.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");n=!0}r._mode=function(e,t){return a.fetch&&t?"fetch":a.mozchunkedarraybuffer?"moz-chunked-arraybuffer":a.msstream?"ms-stream":a.arraybuffer&&e?"arraybuffer":a.vbArray&&e?"text:vbarray":"text"}(n,i),r._fetchTimer=null,r.on("finish",(function(){r._onFinish()}))};o(d,u.Writable),d.prototype.setHeader=function(e,t){var n=e.toLowerCase();-1===h.indexOf(n)&&(this._headers[n]={name:e,value:t})},d.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},d.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},d.prototype._onFinish=function(){var e=this;if(!e._destroyed){var n=e._opts,o=e._headers,s=null;"GET"!==n.method&&"HEAD"!==n.method&&(s=a.arraybuffer?c(t.concat(e._body)):a.blobConstructor?new r.Blob(e._body.map((function(e){return c(e)})),{type:(o["content-type"]||{}).value||""}):t.concat(e._body).toString());var u=[];if(Object.keys(o).forEach((function(e){var t=o[e].name,n=o[e].value;Array.isArray(n)?n.forEach((function(e){u.push([t,e])})):u.push([t,n])})),"fetch"===e._mode){var l=null;if(a.abortController){var d=new AbortController;l=d.signal,e._fetchAbortController=d,"requestTimeout"in n&&0!==n.requestTimeout&&(e._fetchTimer=r.setTimeout((function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()}),n.requestTimeout))}r.fetch(e._opts.url,{method:e._opts.method,headers:u,body:s||void 0,mode:"cors",credentials:n.withCredentials?"include":"same-origin",signal:l}).then((function(t){e._fetchResponse=t,e._connect()}),(function(t){r.clearTimeout(e._fetchTimer),e._destroyed||e.emit("error",t)}))}else{var h=e._xhr=new r.XMLHttpRequest;try{h.open(e._opts.method,e._opts.url,!0)}catch(p){return void i.nextTick((function(){e.emit("error",p)}))}"responseType"in h&&(h.responseType=e._mode.split(":")[0]),"withCredentials"in h&&(h.withCredentials=!!n.withCredentials),"text"===e._mode&&"overrideMimeType"in h&&h.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in n&&(h.timeout=n.requestTimeout,h.ontimeout=function(){e.emit("requestTimeout")}),u.forEach((function(e){h.setRequestHeader(e[0],e[1])})),e._response=null,h.onreadystatechange=function(){switch(h.readyState){case f.LOADING:case f.DONE:e._onXHRProgress();break}},"moz-chunked-arraybuffer"===e._mode&&(h.onprogress=function(){e._onXHRProgress()}),h.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{h.send(s)}catch(p){return void i.nextTick((function(){e.emit("error",p)}))}}}},d.prototype._onXHRProgress=function(){(function(e){try{var t=e.status;return null!==t&&0!==t}catch(n){return!1}})(this._xhr)&&!this._destroyed&&(this._response||this._connect(),this._response._onXHRProgress())},d.prototype._connect=function(){var e=this;e._destroyed||(e._response=new l(e._xhr,e._fetchResponse,e._mode,e._fetchTimer),e._response.on("error",(function(t){e.emit("error",t)})),e.emit("response",e._response))},d.prototype._write=function(e,t,n){this._body.push(e),n()},d.prototype.abort=d.prototype.destroy=function(){this._destroyed=!0,r.clearTimeout(this._fetchTimer),this._response&&(this._response._destroyed=!0),this._xhr?this._xhr.abort():this._fetchAbortController&&this._fetchAbortController.abort()},d.prototype.end=function(e,t,n){"function"===typeof e&&(n=e,e=void 0),u.Writable.prototype.end.call(this,e,t,n)},d.prototype.flushHeaders=function(){},d.prototype.setTimeout=function(){},d.prototype.setNoDelay=function(){},d.prototype.setSocketKeepAlive=function(){};var h=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]}).call(this,n("b639").Buffer,n("c8ba"),n("4362"))},9490:function(e,t,n){(function(e){var r=n("925e"),i=n("c90b"),a=n("53a8"),o=n("8c05"),s=n("0b16"),u=t;u.request=function(t,n){t="string"===typeof t?s.parse(t):a(t);var i=-1===e.location.protocol.search(/^https?:$/)?"http:":"",o=t.protocol||i,u=t.hostname||t.host,c=t.port,l=t.path||"/";u&&-1!==u.indexOf(":")&&(u="["+u+"]"),t.url=(u?o+"//"+u:"")+(c?":"+c:"")+l,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var f=new r(t);return n&&f.on("response",n),f},u.get=function(e,t){var n=u.request(e,t);return n.end(),n},u.ClientRequest=r,u.IncomingMessage=i.IncomingMessage,u.Agent=function(){},u.Agent.defaultMaxSockets=4,u.globalAgent=new u.Agent,u.STATUS_CODES=o,u.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,n("c8ba"))},"94dc":function(e,t,n){var r=n("29b8");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("4f06").default;i("5ed55596",r,!0,{sourceMap:!1,shadowMode:!1})},"95a1":function(e,t,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("c7eb")),a=r(n("2909")),o=r(n("ade3")),s=r(n("1da1"));n("d81d"),n("b64b"),n("99af"),n("caad"),n("2532"),n("ac1f"),n("00b4"),n("14d9"),n("d3b7");var u=r(n("8ad2")),c=r(n("41ed"));c.default.warning=function(){};var l={name:"u-form",mixins:[uni.$u.mpMixin,uni.$u.mixin,u.default],provide:function(){return{uForm:this}},data:function(){return{formRules:{},validator:{},originalModel:null}},watch:{rules:{immediate:!0,handler:function(e){this.setRules(e)}},propsChange:function(e){var t;null!==(t=this.children)&&void 0!==t&&t.length&&this.children.map((function(e){"function"==typeof e.updateParentData&&e.updateParentData()}))},model:{immediate:!0,handler:function(e){this.originalModel||(this.originalModel=uni.$u.deepClone(e))}}},computed:{propsChange:function(){return[this.errorType,this.borderBottom,this.labelPosition,this.labelWidth,this.labelAlign,this.labelStyle]}},created:function(){this.children=[]},methods:{setRules:function(e){0!==Object.keys(e).length&&(this.formRules=e,this.validator=new c.default(e))},resetFields:function(){this.resetModel()},resetModel:function(e){var t=this;this.children.map((function(e){var n=null===e||void 0===e?void 0:e.prop,r=uni.$u.getProperty(t.originalModel,n);uni.$u.setProperty(t.model,n,r)}))},clearValidate:function(e){e=[].concat(e),this.children.map((function(t){(void 0===e[0]||e.includes(t.prop))&&(t.message=null)}))},validateField:function(e,t){var n=arguments,r=this;return(0,s.default)((0,i.default)().mark((function s(){var u;return(0,i.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:u=n.length>2&&void 0!==n[2]?n[2]:null,r.$nextTick((function(){var n=[];e=[].concat(e),r.children.map((function(t){var i=[];if(e.includes(t.prop)){var s=uni.$u.getProperty(r.model,t.prop),l=t.prop.split("."),f=l[l.length-1],d=r.formRules[t.prop];if(!d)return;for(var h=[].concat(d),p=0;p<h.length;p++){var v=h[p],g=[].concat(null===v||void 0===v?void 0:v.trigger);if(!u||g.includes(u)){var m=new c.default((0,o.default)({},f,v));m.validate((0,o.default)({},f,s),(function(e,r){var o,s;uni.$u.test.array(e)&&(n.push.apply(n,(0,a.default)(e)),i.push.apply(i,(0,a.default)(e))),t.message=null!==(o=null===(s=i[0])||void 0===s?void 0:s.message)&&void 0!==o?o:null}))}}}})),"function"===typeof t&&t(n)}));case 2:case"end":return i.stop()}}),s)})))()},validate:function(e){var t=this;return new Promise((function(e,n){t.$nextTick((function(){var r=t.children.map((function(e){return e.prop}));t.validateField(r,(function(r){r.length?("toast"===t.errorType&&uni.$u.toast(r[0].message),n(r)):e(!0)}))}))}))}}};t.default=l},"966d":function(e,t,n){"use strict";(function(t){"undefined"===typeof t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,n,r,i){if("function"!==typeof e)throw new TypeError('"callback" argument must be a function');var a,o,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,n)}));case 3:return t.nextTick((function(){e.call(null,n,r)}));case 4:return t.nextTick((function(){e.call(null,n,r,i)}));default:a=new Array(s-1),o=0;while(o<a.length)a[o++]=arguments[o];return t.nextTick((function(){e.apply(null,a)}))}}}:e.exports=t}).call(this,n("4362"))},"96d8":function(e,t,n){n("d401"),n("d3b7"),n("25f0"),n("ac1f"),n("466d"),n("d9e2");var r=n("3ccc"),i=n("df7c"),a=n("8d7a");function o(e,t){var n=i.extname(e).substr(1);return n=n||"png","svg"===n&&(n="svg+xml"),"data:image/"+n+";base64,"+t.toString("base64")}function s(e){var t=e.match(/^data:image\/([\w+]+);base64,([\s\S]+)/),n={jpeg:"jpg","svg+xml":"svg"};if(!t)throw new Error("image base64 data error");var r=n[t[1]]?n[t[1]]:t[1];return{extname:"."+r,base64:t[2]}}t.base64=function(e,t){t||(t=util.noop),r.readFile(e,(function(n,r){if(n)return t(n);t(null,o(e,r))}))},t.base64Sync=function(e){var t=r.readFileSync(e);return o(e,t)},t.requestBase64=function(e,t){a({url:e,isBuffer:!0},(function(e,n,r){if(e)return t(e);var i="data:"+n.headers["content-type"]+";base64,"+r.toString("base64");t(e,n,i)}))},t.img=function(e,t,n,a){var o=s(e),u=i.join(t,n+o.extname);r.writeFile(u,o.base64,{encoding:"base64"},(function(e){a(e,u)}))},t.imgSync=function(e,t,n){var a=s(e),o=i.join(t,n+a.extname);return r.writeFileSync(o,a.base64,{encoding:"base64"}),o}},a136:function(e,t,n){"use strict";n.r(t);var r=n("726a"),i=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t["default"]=i.a},a428:function(e,t,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.base64ToPath=function(e){var t=/data:image\/(\w+);base64,(.*)/.exec(e)||[],n=(0,i.default)(t,3);n[1],n[2];return new Promise((function(e,t){}))},t.canIUseCanvas2d=function(){return!1},t.compareVersion=a,t.getRect=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="boundingClientRect",r=t.context,i=t.type,a=void 0===i?n:i;return new Promise((function(t,i){var o=uni.createSelectorQuery().in(r).select(e),s=function(e){e?t(e):i()};a==n?o[a](s).exec():o[a]({node:!0,size:!0,rect:!0},s).exec()}))},t.requestAnimationFrame=void 0,t.sleep=function(e){return new Promise((function(t){return setTimeout(t,e)}))},t.wrapEvent=void 0;var i=r(n("3835"));function a(e,t){e=e.split("."),t=t.split(".");var n=Math.max(e.length,t.length);while(e.length<n)e.push("0");while(t.length<n)t.push("0");for(var r=0;r<n;r++){var i=parseInt(e[r],10),a=parseInt(t[r],10);if(i>a)return 1;if(i<a)return-1}return 0}n("14d9"),n("e25e"),n("ac1f"),n("d3b7");t.wrapEvent=function(e){if(e)return e.preventDefault||(e.preventDefault=function(){}),e};t.requestAnimationFrame=function(e){setTimeout(e,30)}},a89a:function(e,t,n){"use strict";n.r(t);var r=n("95a1"),i=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t["default"]=i.a},a9f1:function(e,t,n){(function(e){t.fetch=s(e.fetch)&&s(e.ReadableStream),t.writableStream=s(e.WritableStream),t.abortController=s(e.AbortController),t.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),t.blobConstructor=!0}catch(u){}var n;function r(){if(void 0!==n)return n;if(e.XMLHttpRequest){n=new e.XMLHttpRequest;try{n.open("GET",e.XDomainRequest?"/":"https://example.com")}catch(u){n=null}}else n=null;return n}function i(e){var t=r();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(u){}return!1}var a="undefined"!==typeof e.ArrayBuffer,o=a&&s(e.ArrayBuffer.prototype.slice);function s(e){return"function"===typeof e}t.arraybuffer=t.fetch||a&&i("arraybuffer"),t.msstream=!t.fetch&&o&&i("ms-stream"),t.mozchunkedarraybuffer=!t.fetch&&a&&i("moz-chunked-arraybuffer"),t.overrideMimeType=t.fetch||!!r()&&s(r().overrideMimeType),t.vbArray=s(e.VBArray),n=null}).call(this,n("c8ba"))},ad71:function(e,t,n){"use strict";(function(t,r){var i=n("966d");e.exports=b;var a,o=n("e3db");b.ReadableState=y;n("faa1").EventEmitter;var s=function(e,t){return e.listeners(t).length},u=n("429b"),c=n("8707").Buffer,l=t.Uint8Array||function(){};var f=Object.create(n("3a7c"));f.inherits=n("3fb5");var d=n(1),h=void 0;h=d&&d.debuglog?d.debuglog("stream"):function(){};var p,v=n("5e1a"),g=n("4681");f.inherits(b,u);var m=["error","close","destroy","pause","resume"];function y(e,t){a=a||n("b19a"),e=e||{};var r=t instanceof a;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,o=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(o||0===o)?o:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new v,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=n("7d72").StringDecoder),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function b(e){if(a=a||n("b19a"),!(this instanceof b))return new b(e);this._readableState=new y(e,this),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),u.call(this)}function w(e,t,n,r,i){var a,o=e._readableState;null===t?(o.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,S(e)}(e,o)):(i||(a=function(e,t){var n;(function(e){return c.isBuffer(e)||e instanceof l})(t)||"string"===typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));return n}(o,t)),a?e.emit("error",a):o.objectMode||t&&t.length>0?("string"===typeof t||o.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=function(e){return c.from(e)}(t)),r?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):_(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!n?(t=o.decoder.write(t),o.objectMode||0!==t.length?_(e,o,t,!1):E(e,o)):_(e,o,t,!1))):r||(o.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(o)}function _(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&S(e)),E(e,t)}Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),b.prototype.destroy=g.destroy,b.prototype._undestroy=g.undestroy,b.prototype._destroy=function(e,t){this.push(null),t(e)},b.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"===typeof e&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=c.from(e,t),t=""),n=!0),w(this,e,t,!1,n)},b.prototype.unshift=function(e){return w(this,e,null,!0,!1)},b.prototype.isPaused=function(){return!1===this._readableState.flowing},b.prototype.setEncoding=function(e){return p||(p=n("7d72").StringDecoder),this._readableState.decoder=new p(e),this._readableState.encoding=e,this};function x(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function S(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(h("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(k,e):k(e))}function k(e){h("emit readable"),e.emit("readable"),P(e)}function E(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(O,e,t))}function O(e,t){var n=t.length;while(!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark){if(h("maybeReadMore read 0"),e.read(0),n===t.length)break;n=t.length}t.readingMore=!1}function j(e){h("readable nexttick read 0"),e.read(0)}function C(e,t){t.reading||(h("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),P(e),t.flowing&&!t.reading&&e.read(0)}function P(e){var t=e._readableState;h("flow",t.flowing);while(t.flowing&&null!==e.read());}function T(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?function(e,t){var n=t.head,r=1,i=n.data;e-=i.length;while(n=n.next){var a=n.data,o=e>a.length?a.length:e;if(o===a.length?i+=a:i+=a.slice(0,e),e-=o,0===e){o===a.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(o));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=c.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;while(r=r.next){var a=r.data,o=e>a.length?a.length:e;if(a.copy(n,n.length-e,0,o),e-=o,0===e){o===a.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(o));break}++i}return t.length-=i,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function A(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(M,t,e))}function M(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function q(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}b.prototype.read=function(e){h("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?A(this):S(this),null;if(e=x(e,t),0===e&&t.ended)return 0===t.length&&A(this),null;var r,i=t.needReadable;return h("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&(i=!0,h("length less than watermark",i)),t.ended||t.reading?(i=!1,h("reading or ended",i)):i&&(h("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=x(n,t))),r=e>0?T(e,t):null,null===r?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&A(this)),null!==r&&this.emit("data",r),r},b.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(e,t){var n=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=e;break;case 1:a.pipes=[a.pipes,e];break;default:a.pipes.push(e);break}a.pipesCount+=1,h("pipe count=%d opts=%j",a.pipesCount,t);var u=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr,c=u?f:w;function l(t,r){h("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,function(){h("cleanup"),e.removeListener("close",y),e.removeListener("finish",b),e.removeListener("drain",d),e.removeListener("error",m),e.removeListener("unpipe",l),n.removeListener("end",f),n.removeListener("end",w),n.removeListener("data",g),p=!0,!a.awaitDrain||e._writableState&&!e._writableState.needDrain||d()}())}function f(){h("onend"),e.end()}a.endEmitted?i.nextTick(c):n.once("end",c),e.on("unpipe",l);var d=function(e){return function(){var t=e._readableState;h("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,P(e))}}(n);e.on("drain",d);var p=!1;var v=!1;function g(t){h("ondata"),v=!1;var r=e.write(t);!1!==r||v||((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==q(a.pipes,e))&&!p&&(h("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,v=!0),n.pause())}function m(t){h("onerror",t),w(),e.removeListener("error",m),0===s(e,"error")&&e.emit("error",t)}function y(){e.removeListener("finish",b),w()}function b(){h("onfinish"),e.removeListener("close",y),w()}function w(){h("unpipe"),n.unpipe(e)}return n.on("data",g),function(e,t,n){if("function"===typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?o(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",m),e.once("close",y),e.once("finish",b),e.emit("pipe",n),a.flowing||(h("pipe resume"),n.resume()),e},b.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)r[a].emit("unpipe",this,n);return this}var o=q(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},b.prototype.on=function(e,t){var n=u.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&S(this):i.nextTick(j,this))}return n},b.prototype.addListener=b.prototype.on,b.prototype.resume=function(){var e=this._readableState;return e.flowing||(h("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(C,e,t))}(this,e)),this},b.prototype.pause=function(){return h("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(h("pause"),this._readableState.flowing=!1,this.emit("pause")),this},b.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(h("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){if(h("wrapped data"),n.decoder&&(i=n.decoder.write(i)),(!n.objectMode||null!==i&&void 0!==i)&&(n.objectMode||i&&i.length)){var a=t.push(i);a||(r=!0,e.pause())}})),e)void 0===this[i]&&"function"===typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<m.length;a++)e.on(m[a],this.emit.bind(this,m[a]));return this._read=function(t){h("wrapped _read",t),r&&(r=!1,e.resume())},this},Object.defineProperty(b.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),b._fromList=T}).call(this,n("c8ba"),n("4362"))},b19a:function(e,t,n){"use strict";var r=n("966d"),i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=f;var a=Object.create(n("3a7c"));a.inherits=n("3fb5");var o=n("ad71"),s=n("dc14");a.inherits(f,o);for(var u=i(s.prototype),c=0;c<u.length;c++){var l=u[c];f.prototype[l]||(f.prototype[l]=s.prototype[l])}function f(e){if(!(this instanceof f))return new f(e);o.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",d)}function d(){this.allowHalfOpen||this._writableState.ended||r.nextTick(h,this)}function h(e){e.end()}Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(f.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),f.prototype._destroy=function(e,t){this.push(null),this.end(),r.nextTick(t,e)}},b383:function(e,t,n){"use strict";t.decode=t.parse=n("91dd"),t.encode=t.stringify=n("e099")},b4e8:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 主要颜色 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-view[data-v-03e1ba13], uni-scroll-view[data-v-03e1ba13], uni-swiper-item[data-v-03e1ba13]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-form-item[data-v-03e1ba13]{display:flex;flex-direction:column;font-size:14px;color:#303133}.u-form-item__body[data-v-03e1ba13]{display:flex;flex-direction:row;padding:10px 0}.u-form-item__body__left[data-v-03e1ba13]{display:flex;flex-direction:row;align-items:center}.u-form-item__body__left__content[data-v-03e1ba13]{position:relative;display:flex;flex-direction:row;align-items:center;padding-right:%?10?%;flex:1}.u-form-item__body__left__content__icon[data-v-03e1ba13]{margin-right:%?8?%}.u-form-item__body__left__content__required[data-v-03e1ba13]{position:absolute;left:-9px;color:#f56c6c;line-height:20px;font-size:20px;top:3px}.u-form-item__body__left__content__label[data-v-03e1ba13]{display:flex;flex-direction:row;align-items:center;flex:1;color:#303133;font-size:15px}.u-form-item__body__right[data-v-03e1ba13]{flex:1}.u-form-item__body__right__content[data-v-03e1ba13]{display:flex;flex-direction:row;align-items:center;flex:1}.u-form-item__body__right__content__slot[data-v-03e1ba13]{flex:1;display:flex;flex-direction:row;align-items:center}.u-form-item__body__right__content__icon[data-v-03e1ba13]{margin-left:%?10?%;color:#c0c4cc;font-size:%?30?%}.u-form-item__body__right__message[data-v-03e1ba13]{font-size:12px;line-height:12px;color:#f56c6c}',""]),e.exports=t},b7d1:function(e,t,n){(function(t){function n(e){try{if(!t.localStorage)return!1}catch(r){return!1}var n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}e.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}}).call(this,n("c8ba"))},c723:function(e,t,n){"use strict";var r=n("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Signature=void 0;var i=r(n("53ca"));function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;arguments.length>t;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e){return s="function"==typeof Symbol&&"symbol"==(0,i.default)(Symbol.iterator)?function(e){return(0,i.default)(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":(0,i.default)(e)},s(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function v(e,t){if(t&&("object"==(0,i.default)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function g(e){var t=function(){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}}();return function(){var n,r=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return v(this,n)}}n("b64b"),n("a4d3"),n("4de4"),n("d3b7"),n("e439"),n("14d9"),n("159b"),n("dbb4"),n("1d1c"),n("7a82"),n("e01a"),n("d28b"),n("3ca3"),n("ddb0"),n("d9e2"),n("d401"),n("131a"),n("3410"),n("f8c9"),n("4ae1"),n("a434"),n("acd8"),n("a9e3"),n("cb29"),n("fb6a");var m=function(e){var t=s(e);return null!==e&&"object"===t||"function"===t},y={}.toString,b=function(e,t){return y.call(e)==="[object "+t+"]"},w=function(e){return b(e,"String")},_=function(e){return b(e,"Number")},x=function(e){return b(e,"Function")},S=function(){function e(){u(this,e),this.__events=void 0,this.__events={}}return l(e,[{key:"on",value:function(e,t){if(e&&t){var n=this.__events[e]||[];n.push(t),this.__events[e]=n}}},{key:"emit",value:function(e,t){var n=this;if(m(e)&&(e=(t=e)&&t.type),e){var r=this.__events[e];r&&r.length&&r.forEach((function(e){e.call(n,t)}))}}},{key:"off",value:function(e,t){var n=this.__events,r=n[e];if(r&&r.length)if(t)for(var i=0,a=r.length;a>i;i++)r[i]===t&&(r.splice(i,1),i--);else delete n[e]}},{key:"getEvents",value:function(){return this.__events}}]),e}(),k=function(e){d(n,S);var t=g(n);function n(e,r){var i;return u(this,n),(i=t.call(this)).context=void 0,i.canvas=void 0,i.attrs=void 0,i.isCanvasElement=void 0,i.context=e,i.canvas=r.canvas||e.canvas||{width:r.width||0,height:r.height||0},i.attrs=r||{},i.isCanvasElement=!0,i}return l(n,[{key:"width",get:function(){return this.canvas.width},set:function(e){this.canvas.width=e}},{key:"height",get:function(){return this.canvas.height},set:function(e){this.canvas.height=e}},{key:"getContext",value:function(){return this.context}},{key:"getBoundingClientRect",value:function(){var e=this.attrs||{},t=e.top,n=e.right,r=e.width,i=e.height,a=e.left,o=e.bottom;return{top:void 0===t?0:t,width:void 0===r?0:r,right:void 0===n?0:n,height:void 0===i?0:i,bottom:void 0===o?0:o,left:void 0===a?0:a}}},{key:"setAttribute",value:function(e,t){this.attrs[e]=t}},{key:"addEventListener",value:function(e,t){this.on(e,t)}},{key:"removeEventListener",value:function(e,t){this.off(e,t)}},{key:"dispatchEvent",value:function(e,t){this.emit(e,t)}}]),n}();function E(e,t){try{return e.currentStyle?e.currentStyle[t]:document.defaultView&&document.defaultView.getComputedStyle(e,null).getPropertyValue(t)}catch(e){return{width:300,height:150}[t]}}function O(e,t){var n=t.get("el");if(!n)return e;var r=n.getBoundingClientRect(),i=r.top,a=void 0===i?0:i,o=r.left,s=void 0===o?0:o,u=parseFloat(E(n,"padding-left"))||0,c=parseFloat(E(n,"padding-top"))||0;return{x:e.x-s-u,y:e.y-a-c}}function j(e,t){var n=t.get("landscape");if(!n)return e;if(x(n))return n(e,t);var r=t.get("height");return{x:e.y,y:r-e.x}}var C=function(e,t){var n=e.touches;if(!n||!n.length)return[j(O({x:e.clientX,y:e.clientY},t),t)];n.length||(n=e.changedTouches||[]);for(var r=[],i=0,a=n.length;a>i;i++){var o,s=n[i],u=s.x,c=s.y,l=s.clientX,f=s.clientY;o=_(u)||_(c)?{x:u,y:c}:O({x:l,y:f},t),r.push(j(o,t))}return r},P=function(e,t){var n=t.x-e.x,r=t.y-e.y;return Math.abs(n)>Math.abs(r)?n>0?"right":"left":r>0?"down":"up"},T=function(e,t){var n=Math.abs(t.x-e.x),r=Math.abs(t.y-e.y);return Math.sqrt(n*n+r*r)},A=function(){function e(t){var n=this,r=t.canvas,i=t.el;u(this,e),this.processEvent=void 0,this.canvas=void 0,this.startTime=0,this.endTime=0,this.startPoints=null,this.startDistance=0,this.center=null,this.pressTimeout=void 0,this.eventType=null,this.direction=null,this.lastMoveTime=0,this.prevMovePoints=null,this.prevMoveTime=0,this.lastMovePoints=null,this.pinch=!1,this._click=function(e){var t=C(e,n.canvas);e.points=t,n.emitEvent("click",e)},this._start=function(e){var t,r,i=C(e,n.canvas);i&&(e.points=i,n.emitEvent("touchstart",e),n.reset(),n.startTime=Date.now(),n.startPoints=i,i.length>1?(n.startDistance=T(i[0],i[1]),n.center={x:(t=i[0]).x+((r=i[1]).x-t.x)/2,y:t.y+(r.y-t.y)/2}):n.pressTimeout=setTimeout((function(){var t="press",r="none";e.direction=r,n.emitStart(t,e),n.emitEvent(t,e),n.eventType=t,n.direction=r}),250))},this._move=function(e){var t=C(e,n.canvas);if(t){e.points=t,n.emitEvent("touchmove",e);var r=n.startPoints;if(r)if(t.length>1){var i=n.startDistance,a=T(t[0],t[1]);e.zoom=a/i,e.center=n.center,n.emitStart("pinch",e),n.emitEvent("pinch",e)}else{var o=t[0].x-r[0].x,s=t[0].y-r[0].y,u=n.direction||P(r[0],t[0]);n.direction=u;var c=n.getEventType(t);e.direction=u,e.deltaX=o,e.deltaY=s,n.emitStart(c,e),n.emitEvent(c,e);var l=n.lastMoveTime,f=Date.now();f-l>0&&(n.prevMoveTime=l,n.prevMovePoints=n.lastMovePoints,n.lastMoveTime=f,n.lastMovePoints=t)}}},this._end=function(e){var t=C(e,n.canvas);e.points=t,n.emitEnd(e),n.emitEvent("touchend",e);var r=n.lastMoveTime;if(100>Date.now()-r){var i=r-(n.prevMoveTime||n.startTime);if(i>0){var a=n.prevMovePoints||n.startPoints,o=n.lastMovePoints;if(!a||!o)return;var s=T(a[0],o[0])/i;s>.3&&(e.velocity=s,e.direction=P(a[0],o[0]),n.emitEvent("swipe",e))}}n.reset();var u=e.touches;u&&u.length>0&&n._start(e)},this._cancel=function(e){n.emitEvent("touchcancel",e),n.reset()},this.canvas=r,this.delegateEvent(i),this.processEvent={}}return l(e,[{key:"delegateEvent",value:function(e){e.addEventListener("click",this._click),e.addEventListener("touchstart",this._start),e.addEventListener("touchmove",this._move),e.addEventListener("touchend",this._end),e.addEventListener("touchcancel",this._cancel)}},{key:"emitEvent",value:function(e,t){this.canvas.emit(e,t)}},{key:"getEventType",value:function(e){var t,n=this.eventType,r=this.startTime,i=this.startPoints;if(n)return n;var a=this.canvas.__events.pan;if(a&&a.length){var o=Date.now();if(!i)return;t=o-r>250&&10>T(i[0],e[0])?"press":"pan"}else t="press";return this.eventType=t,t}},{key:"enable",value:function(e){this.processEvent[e]=!0}},{key:"isProcess",value:function(e){return this.processEvent[e]}},{key:"emitStart",value:function(e,t){this.isProcess(e)||(this.enable(e),this.emitEvent("".concat(e,"start"),t))}},{key:"emitEnd",value:function(e){}},{key:"clearPressTimeout",value:function(){this.pressTimeout&&(clearTimeout(this.pressTimeout),this.pressTimeout=null)}},{key:"reset",value:function(){this.clearPressTimeout(),this.startTime=0,this.startPoints=null,this.startDistance=0,this.direction=null,this.eventType=null,this.pinch=!1,this.prevMoveTime=0,this.prevMovePoints=null,this.lastMoveTime=0,this.lastMovePoints=null}}]),e}(),M=function(e){d(n,S);var t=g(n);function n(e){var r;return u(this,n),(r=t.call(this))._attrs={},r._isWindow=void 0,r._attrs=Object.assign({},e),r._isWindow="undefined"!=typeof window,r._initPixelRatio(),r._initCanvas(),["createImage","toDataURL","requestAnimationFrame"].forEach((function(t){r._initAttrs(t,e.canvas||r.get("el"))})),r}return l(n,[{key:"get",value:function(e){return this._attrs[e]}},{key:"set",value:function(e,t){this._attrs[e]=t}},{key:"_initAttrs",value:function(e,t){var n=this;this.get(e)||this.set(e,(function(){return t[e]?t[e].apply(t,arguments):n._isWindow?window[e]?(r=window)[e].apply(r,arguments):"createImage"==e?new Image:null:void 0;var r}))}},{key:"_initCanvas",value:function(){var e,t,n=this.get("el"),r=this.get("context");if(!n&&!r)throw Error("请指定 id、el 或 context!");e=n?w(n)?(t=n)?document.getElementById(t):null:n:function(e,t){return e?function(e){if(!e)return!1;if(1!==e.nodeType||!e.nodeName||"canvas"!==e.nodeName.toLowerCase())return!1;var t=!1;try{e.addEventListener("eventTest",(function(){t=!0})),e.dispatchEvent(new Event("eventTest"))}catch(e){t=!1}return t}(e.canvas)?e.canvas:new k(e,t):null}(r,this._attrs),r&&e&&!e.getContext&&(e.getContext=function(){return r});var i=this.get("width")||function(e){var t=E(e,"width");return"auto"===t&&(t=e.offsetWidth),parseFloat(t)}(e)||e.width,a=this.get("height")||function(e){var t=E(e,"height");return"auto"===t&&(t=e.offsetHeight),parseFloat(t)}(e)||e.height;this.set("canvas",this),this.set("el",e),this.set("context",r||e.getContext("2d")),this.changeSize(i,a);var o=new A({canvas:this,el:e,parent:this.get("parent")});this.set("eventController",o)}},{key:"_initPixelRatio",value:function(){this.get("pixelRatio")||this.set("pixelRatio",window&&window.devicePixelRatio||1)}},{key:"changeSize",value:function(e,t){var n,r=this.get("pixelRatio"),i=this.get("el");i.style&&(i.style.width=e+"px",i.style.height=t+"px"),(n=i)&&"object"===s(n)&&(1===n.nodeType&&n.nodeName||n.isCanvasElement)&&(i.width=e*r,i.height=t*r,1!==r&&this.get("context").scale(r,r)),this.set("width",e),this.set("height",t)}},{key:"destroy",value:function(){if(!this.get("destroyed")){var e=this.get("el");e.width=0,e.height=0,this.clear(),this._attrs={},this.set("destroyed",!0)}}},{key:"clear",value:function(){}},{key:"isDestroyed",value:function(){return this.get("destroyed")}}]),n}(),q={penColor:"black",backgroundColor:"",openSmooth:!0,penSize:2,minLineWidth:2,maxLineWidth:6,minSpeed:1.5,maxWidthDiffRate:20,maxHistoryLength:20},R=null,I=function(){function e(t){var n=this;u(this,e),this.canAddHistory=!0,this.points=[],this.historyList=[],this.canvas=void 0,this._isEmpty=!0,this.active=!1,this.getLineWidth=function(e){var t=n.get("options"),r=t.minSpeed,i=t.minLineWidth,a=n.getMaxLineWidth();return Math.min(Math.max(a-(a-i)*e/Math.max(Math.min(r,10),1),i),a)},this.drawTrapezoid=function(e,t,r,i){var a=n.get("context");a.beginPath(),a.moveTo(Number(e.x.toFixed(1)),Number(e.y.toFixed(1))),a.lineTo(Number(t.x.toFixed(1)),Number(t.y.toFixed(1))),a.lineTo(Number(r.x.toFixed(1)),Number(r.y.toFixed(1))),a.lineTo(Number(i.x.toFixed(1)),Number(i.y.toFixed(1))),a.fillStyle=n.get("options").penColor,a.fill(),a.draw&&a.draw(!0)},this.drawNoSmoothLine=function(e,t){t.lastX=e.x+.5*(t.x-e.x),t.lastY=e.y+.5*(t.y-e.y),"number"==typeof e.lastX&&n.drawCurveLine(e.lastX,e.lastY,e.x,e.y,t.lastX,t.lastY,n.getMaxLineWidth())},this.drawCurveLine=function(e,t,r,i,a,o,s){s=Number(s.toFixed(1));var u=n.get("context");u.lineWidth=s,u.beginPath(),u.moveTo(Number(e.toFixed(1)),Number(t.toFixed(1))),u.quadraticCurveTo(Number(r.toFixed(1)),Number(i.toFixed(1)),Number(a.toFixed(1)),Number(o.toFixed(1))),u.stroke(),u.draw&&u.draw(!0)},this.getRadianData=function(e,t,n,r){var i=n-e,a=r-t;if(0===i)return{val:0,pos:-1};if(0===a)return{val:0,pos:1};var o=Math.abs(Math.atan(a/i));return n>e&&t>r||e>n&&r>t?{val:o,pos:1}:{val:o,pos:-1}},this.getRadianPoints=function(e,t,n,r){if(0===e.val)return 1===e.pos?[{x:t,y:n+r},{x:t,y:n-r}]:[{y:n,x:t+r},{y:n,x:t-r}];var i=Math.sin(e.val)*r,a=Math.cos(e.val)*r;return 1===e.pos?[{x:t+i,y:n+a},{x:t-i,y:n-a}]:[{x:t+i,y:n-a},{x:t-i,y:n+a}]},this.drawSmoothLine=function(e,t){var r=t.x-e.x,i=t.y-e.y;if(Math.abs(r)+Math.abs(i)>2?(t.lastX1=e.x+.3*r,t.lastY1=e.y+.3*i,t.lastX2=e.x+.7*r,t.lastY2=e.y+.7*i):(t.lastX1=t.lastX2=e.x+.5*r,t.lastY1=t.lastY2=e.y+.5*i),t.perLineWidth=(e.lineWidth+t.lineWidth)/2,"number"==typeof e.lastX1){if(n.drawCurveLine(e.lastX2,e.lastY2,e.x,e.y,t.lastX1,t.lastY1,t.perLineWidth),e.isFirstPoint)return;if(e.lastX1===e.lastX2&&e.lastY1===e.lastY2)return;var a=n.getRadianData(e.lastX1,e.lastY1,e.lastX2,e.lastY2),o=n.getRadianPoints(a,e.lastX1,e.lastY1,e.perLineWidth/2),s=n.getRadianPoints(a,e.lastX2,e.lastY2,t.perLineWidth/2);n.drawTrapezoid(o[0],s[0],s[1],o[1])}else t.isFirstPoint=!0},this.addHistory=function(){var e=n.get("options").maxHistoryLength;if(e&&n.canAddHistory)if(n.canAddHistory=!1,n.get("createImage")){var t=null;t=n.get("createImage")();var r=n.get("toDataURL")&&n.get("toDataURL")();w(r)?t.src=r:r.then((function(e){t.src=e})),t.onload=function(){var r=R;R=t,n.historyList.push(r),n.historyList=n.historyList.slice(-e)}}else n.historyList.length++},this.drawByImage=function(e){var t=n.get("context"),r=n.get("width"),i=n.get("height");t.clearRect(0,0,r,i);try{e&&t.drawImage(e,0,0,r,i),t.draw&&t.draw(!0)}catch(e){n.historyList.length=0}},this.isEmpty=function(){return n.get("options").maxHistoryLength>0?0===n.historyList.length:n._isEmpty},this.clear=function(){var e=n.get("context");e.clearRect(0,0,n.get("width"),n.get("height")),e.draw&&e.draw(),n._isEmpty=!0,R=null,n.historyList.length=0},this.undo=function(){if(0===n.get("options").maxHistoryLength&&n.clear(),n.get("createImage")&&n.historyList.length){var e=n.historyList.splice(-1)[0];n.drawByImage(e),0===n.historyList.length&&n.clear()}},this.canvas=t,this.canvas.set("pen",q),this.init()}return l(e,[{key:"getOption",value:function(){}},{key:"setOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=o({},e),n=t.maxLineWidth;if(n&&e.penSize&&n==q.maxLineWidth){var r=Math.max(n,e.penSize);t.maxLineWidth=r}this.canvas.set("pen",Object.assign({},q,t))}},{key:"get",value:function(e){return this.canvas.get("options"==e?"pen":e)}},{key:"init",value:function(){var e=this;this.get("context").lineCap="round",this.canvas.on("touchstart",(function(t){return e.onDrawStart(t)})),this.canvas.on("touchmove",(function(t){return e.onDrawMove(t)})),this.canvas.on("touchend",(function(t){return e.onDrawEnd(t)}))}},{key:"drawBackground",value:function(){var e=this.get("context"),t=this.get("width"),n=this.get("height"),r=this.get("options"),i=r.backgroundColor,a=r.backgroundImage;i&&(e.fillStyle=i,e.fillRect(0,0,t,n),e.draw&&e.draw(!0)),a&&this.drawByImage(a)}},{key:"getContentBoundingBox",value:function(e){var t=this.get("pixelRatio"),n=this.get("width"),r=this.get("height"),i=this.get("el"),a="CANVAS"===i.nodeName,o=a?n:i.width,s=a?r:i.height;t=a?1:t;var u=function(n){for(var r=o,i=s,a=0,u=0,c=0;n.length>c;c+=4)if(n[c+3]>0){var l=c/4%o,f=Math.floor(c/4/o);r=Math.min(r,l),i=Math.min(i,f),a=Math.max(a,l),u=Math.max(u,f)}var d={width:(a-r+1)/t,height:(u-i+1)/t,startX:r/t,startY:i/t};return e&&e(d),d};if("CANVAS"===i.nodeName){var c=document.createElement("canvas");c.width=n,c.height=r;var l=c.getContext("2d");l.drawImage(i,0,0,n,r);var f=l.getImageData(0,0,n,r).data;return u(f)}var d,h=this.get("context").getImageData(0,0,o,s);return m(d=h)&&x(d.then)&&x(d.catch)?(h.then((function(e){return u(e.data)})),null):u(h.data)}},{key:"remove",value:function(){var e=this;this.canvas.off("touchstart",(function(t){return e.onDrawStart(t)})),this.canvas.off("touchmove",(function(t){return e.onDrawMove(t)})),this.canvas.off("touchend",(function(t){return e.onDrawEnd(t)}))}},{key:"disableScroll",value:function(e){e.preventDefault&&this.get("options").disableScroll&&e.preventDefault()}},{key:"onDrawStart",value:function(e){this.disableScroll(e);var t=e.points;if(this.active){this.canAddHistory=!0,this.get("context").strokeStyle=this.get("options").penColor;var n=t[0];this.initPoint(n.x,n.y)}}},{key:"onDrawMove",value:function(e){if(this.disableScroll(e),this.active){var t=e.points[0];this.initPoint(t.x,t.y),this.onDraw()}}},{key:"onDrawEnd",value:function(e){this.active&&(this.addHistory(),this.canAddHistory=!0,this.points=[])}},{key:"onDraw",value:function(){var e=this,t=this.get("context");if(this.points.length>=2){t.lineWidth=this.get("options").penSize||2;var n=this.points.slice(-1)[0],r=this.points.slice(-2,-1)[0],i=function(){e._isEmpty=!1,e.get("options").openSmooth?e.drawSmoothLine(r,n):e.drawNoSmoothLine(r,n)},a=this.get("el").canvas;a&&a.requestAnimationFrame?a.requestAnimationFrame((function(){return i()})):"function"==typeof requestAnimationFrame?requestAnimationFrame((function(){return i()})):i()}}},{key:"getMaxLineWidth",value:function(){var e=this.get("options");return Math.min(e.penSize,e.maxLineWidth)}},{key:"initPoint",value:function(e,t){var n={x:e,y:t,t:Date.now()},r=this.points.slice(-1)[0];if(!r||r.t!==n.t&&(r.x!==e||r.y!==t)){if(this.get("options").openSmooth&&r){var i=this.points.slice(-2,-1)[0];if(n.distance=Math.sqrt(Math.pow(n.x-r.x,2)+Math.pow(n.y-r.y,2)),n.speed=n.distance/(n.t-r.t||.1),n.lineWidth=this.getLineWidth(n.speed),i&&i.lineWidth&&r.lineWidth){var a=(n.lineWidth-r.lineWidth)/r.lineWidth,o=this.get("options").maxWidthDiffRate/100;o=o>1?1:.01>o?.01:o,Math.abs(a)>o&&(n.lineWidth=r.lineWidth*(1+(a>0?o:-o)))}}this.points.push(n),this.points=this.points.slice(-3)}}}]),e}(),L=function(){function e(t){u(this,e),this.canvas=void 0,this._ee=void 0,this.pen=void 0;var n=new M(t);n.set("parent",this),this.canvas=n,this._ee=new S,this.pen=new I(n),this.init()}return l(e,[{key:"init",value:function(){this.pen.active=!0}},{key:"destroy",value:function(){this.canvas.destroy()}},{key:"clear",value:function(){this.pen.clear()}},{key:"undo",value:function(){this.pen.undo()}},{key:"save",value:function(){}},{key:"getContentBoundingBox",value:function(e){return this.pen.getContentBoundingBox(e)}},{key:"isEmpty",value:function(){return this.pen.isEmpty()}},{key:"on",value:function(e,t){this._ee.on(e,t)}},{key:"emit",value:function(e,t){this._ee.emit(e,t)}},{key:"off",value:function(e,t){this._ee.off(e,t)}}]),e}();t.Signature=L;var D=L;t.default=D},c90b:function(e,t,n){(function(e,r,i){var a=n("a9f1"),o=n("3fb5"),s=n("e372"),u=t.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},c=t.IncomingMessage=function(t,n,o,u){var c=this;if(s.Readable.call(c),c._mode=o,c.headers={},c.rawHeaders=[],c.trailers={},c.rawTrailers=[],c.on("end",(function(){e.nextTick((function(){c.emit("close")}))})),"fetch"===o){if(c._fetchResponse=n,c.url=n.url,c.statusCode=n.status,c.statusMessage=n.statusText,n.headers.forEach((function(e,t){c.headers[t.toLowerCase()]=e,c.rawHeaders.push(t,e)})),a.writableStream){var l=new WritableStream({write:function(e){return new Promise((function(t,n){c._destroyed?n():c.push(new r(e))?t():c._resumeFetch=t}))},close:function(){i.clearTimeout(u),c._destroyed||c.push(null)},abort:function(e){c._destroyed||c.emit("error",e)}});try{return void n.body.pipeTo(l).catch((function(e){i.clearTimeout(u),c._destroyed||c.emit("error",e)}))}catch(v){}}var f=n.body.getReader();(function e(){f.read().then((function(t){if(!c._destroyed){if(t.done)return i.clearTimeout(u),void c.push(null);c.push(new r(t.value)),e()}})).catch((function(e){i.clearTimeout(u),c._destroyed||c.emit("error",e)}))})()}else{c._xhr=t,c._pos=0,c.url=t.responseURL,c.statusCode=t.status,c.statusMessage=t.statusText;var d=t.getAllResponseHeaders().split(/\r?\n/);if(d.forEach((function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var n=t[1].toLowerCase();"set-cookie"===n?(void 0===c.headers[n]&&(c.headers[n]=[]),c.headers[n].push(t[2])):void 0!==c.headers[n]?c.headers[n]+=", "+t[2]:c.headers[n]=t[2],c.rawHeaders.push(t[1],t[2])}})),c._charset="x-user-defined",!a.overrideMimeType){var h=c.rawHeaders["mime-type"];if(h){var p=h.match(/;\s*charset=([^;])(;|$)/);p&&(c._charset=p[1].toLowerCase())}c._charset||(c._charset="utf-8")}}};o(c,s.Readable),c.prototype._read=function(){var e=this._resumeFetch;e&&(this._resumeFetch=null,e())},c.prototype._onXHRProgress=function(){var e=this,t=e._xhr,n=null;switch(e._mode){case"text:vbarray":if(t.readyState!==u.DONE)break;try{n=new i.VBArray(t.responseBody).toArray()}catch(l){}if(null!==n){e.push(new r(n));break}case"text":try{n=t.responseText}catch(l){e._mode="text:vbarray";break}if(n.length>e._pos){var a=n.substr(e._pos);if("x-user-defined"===e._charset){for(var o=new r(a.length),s=0;s<a.length;s++)o[s]=255&a.charCodeAt(s);e.push(o)}else e.push(a,e._charset);e._pos=n.length}break;case"arraybuffer":if(t.readyState!==u.DONE||!t.response)break;n=t.response,e.push(new r(new Uint8Array(n)));break;case"moz-chunked-arraybuffer":if(n=t.response,t.readyState!==u.LOADING||!n)break;e.push(new r(new Uint8Array(n)));break;case"ms-stream":if(n=t.response,t.readyState!==u.LOADING)break;var c=new i.MSStreamReader;c.onprogress=function(){c.result.byteLength>e._pos&&(e.push(new r(new Uint8Array(c.result.slice(e._pos)))),e._pos=c.result.byteLength)},c.onload=function(){e.push(null)},c.readAsArrayBuffer(n);break}e._xhr.readyState===u.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(this,n("4362"),n("b639").Buffer,n("c8ba"))},c9aa:function(e,t){},ca3d:function(e,t,n){(function(e){n("d3b7"),n("fb6a"),n("159b"),n("c975"),n("14d9"),n("ac1f"),n("5319");var r=n("3022"),i=Object.prototype.toString,a="win32"===e.platform;function o(e){return"[object Object]"===i.call(e)}function s(e,t){var n;for(var r in t)n=t[r],Array.isArray(n)?(Array.isArray(e[r])||(e[r]=[]),s(e[r],n)):o(n)?(o(e[r])||(e[r]={}),s(e[r],n)):e[r]=n;return e}if(["Function","String","Number","Date","RegExp"].forEach((function(e){t["is"+e]=function(t){return i.call(t)==="[object "+e+"]"}})),s(t,r),t.isObject=o,t.extend=function(){var e=Array.prototype.slice.call(arguments,0),t=e.shift();return e.forEach((function(e){s(t,e)})),t},t.isArray=Array.isArray,t.isUndefined=function(e){return"undefined"==typeof e},t.noop=function(){},t.unique=function(e){var t=[];return e.forEach((function(e){-1==t.indexOf(e)&&t.push(e)})),t},t.escape=function(e){return String(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")},t.unescape=function(e){return String(e).replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")},t.hrtime=function(t){if(t){var n=e.hrtime(t);return n=1e3*(n[0]+n[1]/1e9)+"ms",n}return e.hrtime()},t.pick=function(e,n){var r={};if(t.isFunction(n))for(var i in e){var a=e[i];n(a,i,e)&&(r[i]=a)}else{var o=Array.prototype.slice.call(arguments,1);o.forEach((function(t){t in e&&(r[t]=e[t])}))}return r},t.path={},a){var u=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;t.path.isAbsolute=function(e){var t=u.exec(e),n=t[1]||"",r=!!n&&":"!==n.charAt(1);return!!t[2]||r},t.path.unixifyPath=function(e){return e.replace(/\\/g,"/")}}else t.path.isAbsolute=function(e){return"/"===e.charAt(0)},t.path.unixifyPath=function(e){return e}}).call(this,n("4362"))},cb29:function(e,t,n){var r=n("23e7"),i=n("81d5"),a=n("44d2");r({target:"Array",proto:!0},{fill:i}),a("fill")},cf55:function(e,t,n){"use strict";n.r(t);var r=n("3866"),i=n("a136");for(var a in i)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(a);var o=n("8c19");for(var a in o)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(a);n("27fc");var s=n("f0c5");i["default"].__module="sign";var u=Object(s["a"])(o["default"],r["b"],r["c"],!1,null,"65d7357f",null,!1,r["a"],i["default"]);t["default"]=u.exports},d60a:function(e,t){e.exports=function(e){return e&&"object"===typeof e&&"function"===typeof e.copy&&"function"===typeof e.fill&&"function"===typeof e.readUInt8}},d711:function(e,t,n){"use strict";n("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("a9e3");var r={styles:String,disableScroll:{type:Boolean,default:!0},type:{type:String,default:"2d"},penColor:{type:String,default:"black"},penSize:{type:Number,default:2},backgroundColor:String,openSmooth:Boolean,minLineWidth:{type:Number,default:2},maxLineWidth:{type:Number,default:6},minSpeed:{type:Number,default:1.5},maxWidthDiffRate:{type:Number,default:20},maxHistoryLength:{type:Number,default:20},beforeDelay:{type:Number,default:0},landscape:{type:Boolean},boundingBox:{type:Boolean}};t.default=r},d7e7:function(e,t,n){"use strict";n.r(t);var r=n("564f"),i=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t["default"]=i.a},d938:function(e,t,n){var r=n("b639").Buffer;e.exports=function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"===typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(r.isBuffer(e)){for(var t=new Uint8Array(e.length),n=e.length,i=0;i<n;i++)t[i]=e[i];return t.buffer}throw new Error("Argument must be a Buffer")}},dc14:function(e,t,n){"use strict";(function(t,r){var i=n("966d");function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){(function(e,t,n){var r=e.entry;e.entry=null;while(r){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e})(t,e)}}e.exports=m;var o,s=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?setImmediate:i.nextTick;m.WritableState=g;var u=Object.create(n("3a7c"));u.inherits=n("3fb5");var c={deprecate:n("b7d1")},l=n("429b"),f=n("8707").Buffer,d=r.Uint8Array||function(){};var h,p=n("4681");function v(){}function g(e,t){o=o||n("b19a"),e=e||{};var r=t instanceof o;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var u=e.highWaterMark,c=e.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=u||0===u?u:r&&(c||0===c)?c:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===e.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){(function(e,t){var n=e._writableState,r=n.sync,a=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)(function(e,t,n,r,a){--t.pendingcb,n?(i.nextTick(a,r),i.nextTick(S,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(a(r),e._writableState.errorEmitted=!0,e.emit("error",r),S(e,t))})(e,n,r,t,a);else{var o=_(n);o||n.corked||n.bufferProcessing||!n.bufferedRequest||w(e,n),r?s(b,e,n,o,a):b(e,n,o,a)}})(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function m(e){if(o=o||n("b19a"),!h.call(m,this)&&!(this instanceof o))return new m(e);this._writableState=new g(e,this),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),l.call(this)}function y(e,t,n,r,i,a,o){t.writelen=r,t.writecb=o,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function b(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),S(e,t)}function w(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;var s=0,u=!0;while(n)i[s]=n,n.isBuf||(u=!1),n=n.next,s+=1;i.allBuffers=u,y(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{while(n){var c=n.chunk,l=n.encoding,f=n.callback,d=t.objectMode?1:c.length;if(y(e,t,!1,d,c,l,f),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function _(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function x(e,t){e._final((function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),S(e,t)}))}function S(e,t){var n=_(t);return n&&(function(e,t){t.prefinished||t.finalCalled||("function"===typeof e._final?(t.pendingcb++,t.finalCalled=!0,i.nextTick(x,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}u.inherits(m,l),g.prototype.getBuffer=function(){var e=this.bufferedRequest,t=[];while(e)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(h=Function.prototype[Symbol.hasInstance],Object.defineProperty(m,Symbol.hasInstance,{value:function(e){return!!h.call(this,e)||this===m&&(e&&e._writableState instanceof g)}})):h=function(e){return e instanceof this},m.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},m.prototype.write=function(e,t,n){var r=this._writableState,a=!1,o=!r.objectMode&&function(e){return f.isBuffer(e)||e instanceof d}(e);return o&&!f.isBuffer(e)&&(e=function(e){return f.from(e)}(e)),"function"===typeof t&&(n=t,t=null),o?t="buffer":t||(t=r.defaultEncoding),"function"!==typeof n&&(n=v),r.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),i.nextTick(t,n)}(this,n):(o||function(e,t,n,r){var a=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"===typeof n||void 0===n||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),i.nextTick(r,o),a=!1),a}(this,r,e,n))&&(r.pendingcb++,a=function(e,t,n,r,i,a){if(!n){var o=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=f.from(t,n));return t}(t,r,i);r!==o&&(n=!0,i="buffer",r=o)}var s=t.objectMode?1:r.length;t.length+=s;var u=t.length<t.highWaterMark;u||(t.needDrain=!0);if(t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:a,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else y(e,t,!1,s,r,i,a);return u}(this,r,o,e,t,n)),a},m.prototype.cork=function(){var e=this._writableState;e.corked++},m.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||w(this,e))},m.prototype.setDefaultEncoding=function(e){if("string"===typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(m.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),m.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},m.prototype._writev=null,m.prototype.end=function(e,t,n){var r=this._writableState;"function"===typeof e?(n=e,e=null,t=null):"function"===typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(e,t,n){t.ending=!0,S(e,t),n&&(t.finished?i.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(m.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),m.prototype.destroy=p.destroy,m.prototype._undestroy=p.undestroy,m.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,n("4362"),n("c8ba"))},df7c:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",i=!1,a=arguments.length-1;a>=-1&&!i;a--){var o=a>=0?arguments[a]:e.cwd();if("string"!==typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,i="/"===o.charAt(0))}return t=n(r(t.split("/"),(function(e){return!!e})),!i).join("/"),(i?"/":"")+t||"."},t.normalize=function(e){var a=t.isAbsolute(e),o="/"===i(e,-1);return e=n(r(e.split("/"),(function(e){return!!e})),!a).join("/"),e||a||(e="."),e&&o&&(e+="/"),(a?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var n=e.length-1;n>=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),a=r(n.split("/")),o=Math.min(i.length,a.length),s=o,u=0;u<o;u++)if(i[u]!==a[u]){s=u;break}var c=[];for(u=s;u<i.length;u++)c.push("..");return c=c.concat(a.slice(s)),c.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,i=!0,a=e.length-1;a>=1;--a)if(t=e.charCodeAt(a),47===t){if(!i){r=a;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=function(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){n=t+1;break}}else-1===r&&(i=!1,r=t+1);return-1===r?"":e.slice(n,r)}(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,i=!0,a=0,o=e.length-1;o>=0;--o){var s=e.charCodeAt(o);if(47!==s)-1===r&&(i=!1,r=o+1),46===s?-1===t?t=o:1!==a&&(a=1):-1!==t&&(a=-1);else if(!i){n=o+1;break}}return-1===t||-1===r||0===a||1===a&&t===r-1&&t===n+1?"":e.slice(t,r)};var i="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("4362"))},e099:function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,s){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"===typeof e?a(o(e),(function(o){var s=encodeURIComponent(r(o))+n;return i(e[o])?a(e[o],(function(e){return s+encodeURIComponent(r(e))})).join(t):s+encodeURIComponent(r(e[o]))})).join(t):s?encodeURIComponent(r(s))+n+encodeURIComponent(r(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function a(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var o=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},e1b7:function(e,t,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("c7eb")),a=r(n("1da1"));n("e9c4");var o=n("a428"),s=n("c723"),u=n("7cd7"),c=r(n("d711")),l={props:c.default,data:function(){return{canvasWidth:null,canvasHeight:null,offscreenWidth:null,offscreenHeight:null,useCanvas2d:!0,show:!0,offscreenStyles:""}},computed:{canvasId:function(){return"lime-signature".concat(this._uid)},offscreenId:function(){return this.canvasId+"offscreen"},offscreenSize:function(){var e=this.offscreenWidth,t=this.offscreenHeight;return this.landscape?[t,e]:[e,t]},canvasStyle:function(){var e=this.canvasWidth,t=this.canvasHeight,n=this.backgroundColor;return{width:e&&e+"px",height:t&&t+"px",background:n}},param:function(){var e=this.penColor,t=this.penSize,n=this.backgroundColor,r=this.landscape,i=this.boundingBox,a=this.openSmooth,o=this.minLineWidth,s=this.maxLineWidth,u=this.minSpeed,c=this.maxWidthDiffRate,l=this.maxHistoryLength,f=this.disableScroll;return JSON.parse(JSON.stringify({penColor:e,penSize:t,backgroundColor:n,landscape:r,boundingBox:i,openSmooth:a,minLineWidth:o,maxLineWidth:s,minSpeed:u,maxWidthDiffRate:c,maxHistoryLength:l,disableScroll:f}))}},created:function(){this.useCanvas2d="2d"==this.type&&(0,o.canIUseCanvas2d)()},mounted:function(){var e=this;return(0,a.default)((0,i.default)().mark((function t(){var n;return(0,i.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e.beforeDelay){t.next=3;break}return t.next=3,(0,o.sleep)(e.beforeDelay);case 3:return t.next=5,e.getContext();case 5:n=t.sent,e.signature=new s.Signature(n),e.canvasEl=e.signature.canvas.get("el"),e.offscreenWidth=e.canvasWidth=e.signature.canvas.get("width"),e.offscreenHeight=e.canvasHeight=e.signature.canvas.get("height"),e.stopWatch=e.$watch("param",(function(t){e.signature.pen.setOption(t)}),{immediate:!0});case 11:case"end":return t.stop()}}),t)})))()},beforeDestroy:function(){this.stopWatch&&this.stopWatch(),this.signature.destroy(),this.show=!1,this.signature=null},methods:{undo:function(){this.signature&&this.signature.undo()},clear:function(){this.signature&&this.signature.clear()},isEmpty:function(){return this.signature.isEmpty()},canvasToTempFilePath:function(e){var t=this,n=this.isEmpty(),r=function(t){return e.fail&&e.fail(t)},s=this.signature.canvas.get("el"),c=s.canvas,l=this.backgroundColor,f=this.landscape,d=this.boundingBox,h=this.signature.canvas.get("width"),p=this.signature.canvas.get("height"),v=0,g=0,m=function(r){var i=uni.createCanvasContext("offscreen",t);i.save(),i.setTransform(1,0,0,1,0,0),f&&(i.translate(0,h),i.rotate(-Math.PI/2)),l&&(i.fillStyle=l,i.fillRect(0,0,h,p)),i.drawImage(r,0,0,h,p),i.draw(!1,(function(){(0,u.toDataURL)("offscreen",t,e).then((function(t){var r=Math.max(h,p);i.restore(),i.clearRect(0,0,r,r),function(t){e.success&&e.success(t)}({tempFilePath:t,isEmpty:n})}))}))},y=function(){var e={x:v,y:g,width:h,height:p,canvas:t.useCanvas2d?c:null};(0,u.toDataURL)(t.canvasId,t,e).then(m).catch(r)};d?this.signature.getContentBoundingBox(function(){var e=(0,a.default)((0,i.default)().mark((function e(n){return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.offscreenWidth=h=n.width,t.offscreenHeight=p=n.height,v=n.startX,g=n.startY,e.next=6,(0,o.sleep)(100);case 6:y();case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()):y()},getContext:function(){var e=this;return(0,o.getRect)("#".concat(this.canvasId),{context:this,type:this.useCanvas2d?"fields":"boundingClientRect"}).then((function(t){if(t){var n,r=t.width,i=t.height,a=t.node,s=t.left,c=t.top,l=t.right,f=uni.getSystemInfoSync(),d=f.pixelRatio;return a?(n=a.getContext("2d"),a.width=r*d,a.height=i*d):(d=1,n=(0,u.uniContext)(e.canvasId,e),a={createImage:u.createImage,toDataURL:function(){return(0,u.toDataURL)(e.canvasId,e)},requestAnimationFrame:o.requestAnimationFrame}),n.clearRect(0,0,r,i),{left:s,top:c,right:l,width:r,height:i,context:n,canvas:a,pixelRatio:d}}}))},touchStart:function(e){this.canvasEl&&(this.isStart=!0,this.canvasEl.dispatchEvent("touchstart",(0,o.wrapEvent)(e)))},touchMove:function(e){!this.canvasEl||!this.isStart&&this.canvasEl||this.canvasEl.dispatchEvent("touchmove",(0,o.wrapEvent)(e))},touchEnd:function(e){this.canvasEl&&(this.isStart=!1,this.canvasEl.dispatchEvent("touchend",(0,o.wrapEvent)(e)))}}};t.default=l},e372:function(e,t,n){t=e.exports=n("ad71"),t.Stream=t,t.Readable=t,t.Writable=n("dc14"),t.Duplex=n("b19a"),t.Transform=n("27bf"),t.PassThrough=n("780f")},f5a3:function(e,t,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("0239")),a={name:"u-form-item",mixins:[uni.$u.mpMixin,uni.$u.mixin,i.default],data:function(){return{message:"",parentData:{labelPosition:"left",labelAlign:"left",labelStyle:{},labelWidth:45,errorType:"message"}}},computed:{propsLine:function(){return uni.$u.props.line}},mounted:function(){this.init()},methods:{init:function(){this.updateParentData(),this.parent||uni.$u.error("u-form-item需要结合u-form组件使用")},updateParentData:function(){this.getParentData("u-form")},clearValidate:function(){this.message=null},resetField:function(){var e=uni.$u.getProperty(this.parent.originalModel,this.prop);uni.$u.setProperty(this.parent.model,this.prop,e),this.message=null},clickHandler:function(){this.$emit("click")}}};t.default=a},faa1:function(e,t,n){"use strict";var r,i="object"===typeof Reflect?Reflect:null,a=i&&"function"===typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"===typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!==e};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(e,t){return new Promise((function(n,r){function i(n){e.removeListener(t,a),r(n)}function a(){"function"===typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}m(e,t,a,{once:!0}),"error"!==t&&function(e,t,n){"function"===typeof e.on&&m(e,"error",t,n)}(e,i,{once:!0})}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var u=10;function c(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function f(e,t,n,r){var i,a,o;if(c(n),a=e._events,void 0===a?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),o=a[t]),void 0===o)o=a[t]=n,++e._eventsCount;else if("function"===typeof o?o=a[t]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),i=l(e),i>0&&o.length>i&&!o.warned){o.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=o.length,function(e){console&&console.warn&&console.warn(e)}(s)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=d.bind(r);return i.listener=n,r.wrapFn=i,i}function p(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"===typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):g(i,i.length)}function v(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"===typeof n)return 1;if(void 0!==n)return n.length}return 0}function g(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function m(e,t,n,r){if("function"===typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!==typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(a){r.once&&e.removeEventListener(t,i),n(a)}))}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(e){if("number"!==typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!==typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return l(this)},s.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var u=i[e];if(void 0===u)return!1;if("function"===typeof u)a(u,this,t);else{var c=u.length,l=g(u,c);for(n=0;n<c;++n)a(l[n],this,t)}return!0},s.prototype.addListener=function(e,t){return f(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return f(this,e,t,!0)},s.prototype.once=function(e,t){return c(t),this.on(e,h(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return c(t),this.prependListener(e,h(this,e,t)),this},s.prototype.removeListener=function(e,t){var n,r,i,a,o;if(c(t),r=this._events,void 0===r)return this;if(n=r[e],void 0===n)return this;if(n===t||n.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!==typeof n){for(i=-1,a=n.length-1;a>=0;a--)if(n[a]===t||n[a].listener===t){o=n[a].listener,i=a;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,o||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,n,r;if(n=this._events,void 0===n)return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,a=Object.keys(n);for(r=0;r<a.length;++r)i=a[r],"removeListener"!==i&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(t=n[e],"function"===typeof t)this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return p(this,e,!0)},s.prototype.rawListeners=function(e){return p(this,e,!1)},s.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):v.call(e,t)},s.prototype.listenerCount=v,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},fcac:function(e,t,n){"use strict";var r=n("28aa"),i=n.n(r);i.a}}]); |