| 12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c08eccaa"],{"0358":function(t,e,r){(function(e){t.exports=e()})((function(t){"use strict";var e=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function r(t,e){var r=t[0],n=t[1],o=t[2],i=t[3];r+=(n&o|~n&i)+e[0]-680876936|0,r=(r<<7|r>>>25)+n|0,i+=(r&n|~r&o)+e[1]-389564586|0,i=(i<<12|i>>>20)+r|0,o+=(i&r|~i&n)+e[2]+606105819|0,o=(o<<17|o>>>15)+i|0,n+=(o&i|~o&r)+e[3]-1044525330|0,n=(n<<22|n>>>10)+o|0,r+=(n&o|~n&i)+e[4]-176418897|0,r=(r<<7|r>>>25)+n|0,i+=(r&n|~r&o)+e[5]+1200080426|0,i=(i<<12|i>>>20)+r|0,o+=(i&r|~i&n)+e[6]-1473231341|0,o=(o<<17|o>>>15)+i|0,n+=(o&i|~o&r)+e[7]-45705983|0,n=(n<<22|n>>>10)+o|0,r+=(n&o|~n&i)+e[8]+1770035416|0,r=(r<<7|r>>>25)+n|0,i+=(r&n|~r&o)+e[9]-1958414417|0,i=(i<<12|i>>>20)+r|0,o+=(i&r|~i&n)+e[10]-42063|0,o=(o<<17|o>>>15)+i|0,n+=(o&i|~o&r)+e[11]-1990404162|0,n=(n<<22|n>>>10)+o|0,r+=(n&o|~n&i)+e[12]+1804603682|0,r=(r<<7|r>>>25)+n|0,i+=(r&n|~r&o)+e[13]-40341101|0,i=(i<<12|i>>>20)+r|0,o+=(i&r|~i&n)+e[14]-1502002290|0,o=(o<<17|o>>>15)+i|0,n+=(o&i|~o&r)+e[15]+1236535329|0,n=(n<<22|n>>>10)+o|0,r+=(n&i|o&~i)+e[1]-165796510|0,r=(r<<5|r>>>27)+n|0,i+=(r&o|n&~o)+e[6]-1069501632|0,i=(i<<9|i>>>23)+r|0,o+=(i&n|r&~n)+e[11]+643717713|0,o=(o<<14|o>>>18)+i|0,n+=(o&r|i&~r)+e[0]-373897302|0,n=(n<<20|n>>>12)+o|0,r+=(n&i|o&~i)+e[5]-701558691|0,r=(r<<5|r>>>27)+n|0,i+=(r&o|n&~o)+e[10]+38016083|0,i=(i<<9|i>>>23)+r|0,o+=(i&n|r&~n)+e[15]-660478335|0,o=(o<<14|o>>>18)+i|0,n+=(o&r|i&~r)+e[4]-405537848|0,n=(n<<20|n>>>12)+o|0,r+=(n&i|o&~i)+e[9]+568446438|0,r=(r<<5|r>>>27)+n|0,i+=(r&o|n&~o)+e[14]-1019803690|0,i=(i<<9|i>>>23)+r|0,o+=(i&n|r&~n)+e[3]-187363961|0,o=(o<<14|o>>>18)+i|0,n+=(o&r|i&~r)+e[8]+1163531501|0,n=(n<<20|n>>>12)+o|0,r+=(n&i|o&~i)+e[13]-1444681467|0,r=(r<<5|r>>>27)+n|0,i+=(r&o|n&~o)+e[2]-51403784|0,i=(i<<9|i>>>23)+r|0,o+=(i&n|r&~n)+e[7]+1735328473|0,o=(o<<14|o>>>18)+i|0,n+=(o&r|i&~r)+e[12]-1926607734|0,n=(n<<20|n>>>12)+o|0,r+=(n^o^i)+e[5]-378558|0,r=(r<<4|r>>>28)+n|0,i+=(r^n^o)+e[8]-2022574463|0,i=(i<<11|i>>>21)+r|0,o+=(i^r^n)+e[11]+1839030562|0,o=(o<<16|o>>>16)+i|0,n+=(o^i^r)+e[14]-35309556|0,n=(n<<23|n>>>9)+o|0,r+=(n^o^i)+e[1]-1530992060|0,r=(r<<4|r>>>28)+n|0,i+=(r^n^o)+e[4]+1272893353|0,i=(i<<11|i>>>21)+r|0,o+=(i^r^n)+e[7]-155497632|0,o=(o<<16|o>>>16)+i|0,n+=(o^i^r)+e[10]-1094730640|0,n=(n<<23|n>>>9)+o|0,r+=(n^o^i)+e[13]+681279174|0,r=(r<<4|r>>>28)+n|0,i+=(r^n^o)+e[0]-358537222|0,i=(i<<11|i>>>21)+r|0,o+=(i^r^n)+e[3]-722521979|0,o=(o<<16|o>>>16)+i|0,n+=(o^i^r)+e[6]+76029189|0,n=(n<<23|n>>>9)+o|0,r+=(n^o^i)+e[9]-640364487|0,r=(r<<4|r>>>28)+n|0,i+=(r^n^o)+e[12]-421815835|0,i=(i<<11|i>>>21)+r|0,o+=(i^r^n)+e[15]+530742520|0,o=(o<<16|o>>>16)+i|0,n+=(o^i^r)+e[2]-995338651|0,n=(n<<23|n>>>9)+o|0,r+=(o^(n|~i))+e[0]-198630844|0,r=(r<<6|r>>>26)+n|0,i+=(n^(r|~o))+e[7]+1126891415|0,i=(i<<10|i>>>22)+r|0,o+=(r^(i|~n))+e[14]-1416354905|0,o=(o<<15|o>>>17)+i|0,n+=(i^(o|~r))+e[5]-57434055|0,n=(n<<21|n>>>11)+o|0,r+=(o^(n|~i))+e[12]+1700485571|0,r=(r<<6|r>>>26)+n|0,i+=(n^(r|~o))+e[3]-1894986606|0,i=(i<<10|i>>>22)+r|0,o+=(r^(i|~n))+e[10]-1051523|0,o=(o<<15|o>>>17)+i|0,n+=(i^(o|~r))+e[1]-2054922799|0,n=(n<<21|n>>>11)+o|0,r+=(o^(n|~i))+e[8]+1873313359|0,r=(r<<6|r>>>26)+n|0,i+=(n^(r|~o))+e[15]-30611744|0,i=(i<<10|i>>>22)+r|0,o+=(r^(i|~n))+e[6]-1560198380|0,o=(o<<15|o>>>17)+i|0,n+=(i^(o|~r))+e[13]+1309151649|0,n=(n<<21|n>>>11)+o|0,r+=(o^(n|~i))+e[4]-145523070|0,r=(r<<6|r>>>26)+n|0,i+=(n^(r|~o))+e[11]-1120210379|0,i=(i<<10|i>>>22)+r|0,o+=(r^(i|~n))+e[2]+718787259|0,o=(o<<15|o>>>17)+i|0,n+=(i^(o|~r))+e[9]-343485551|0,n=(n<<21|n>>>11)+o|0,t[0]=r+t[0]|0,t[1]=n+t[1]|0,t[2]=o+t[2]|0,t[3]=i+t[3]|0}function n(t){var e,r=[];for(e=0;e<64;e+=4)r[e>>2]=t.charCodeAt(e)+(t.charCodeAt(e+1)<<8)+(t.charCodeAt(e+2)<<16)+(t.charCodeAt(e+3)<<24);return r}function o(t){var e,r=[];for(e=0;e<64;e+=4)r[e>>2]=t[e]+(t[e+1]<<8)+(t[e+2]<<16)+(t[e+3]<<24);return r}function i(t){var e,o,i,a,s,u,c=t.length,l=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=c;e+=64)r(l,n(t.substring(e-64,e)));for(t=t.substring(e-64),o=t.length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e=0;e<o;e+=1)i[e>>2]|=t.charCodeAt(e)<<(e%4<<3);if(i[e>>2]|=128<<(e%4<<3),e>55)for(r(l,i),e=0;e<16;e+=1)i[e]=0;return a=8*c,a=a.toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(a[2],16),u=parseInt(a[1],16)||0,i[14]=s,i[15]=u,r(l,i),l}function a(t){var e,n,i,a,s,u,c=t.length,l=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=c;e+=64)r(l,o(t.subarray(e-64,e)));for(t=e-64<c?t.subarray(e-64):new Uint8Array(0),n=t.length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e=0;e<n;e+=1)i[e>>2]|=t[e]<<(e%4<<3);if(i[e>>2]|=128<<(e%4<<3),e>55)for(r(l,i),e=0;e<16;e+=1)i[e]=0;return a=8*c,a=a.toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(a[2],16),u=parseInt(a[1],16)||0,i[14]=s,i[15]=u,r(l,i),l}function s(t){var r,n="";for(r=0;r<4;r+=1)n+=e[t>>8*r+4&15]+e[t>>8*r&15];return n}function u(t){var e;for(e=0;e<t.length;e+=1)t[e]=s(t[e]);return t.join("")}function c(t){return/[\u0080-\uFFFF]/.test(t)&&(t=unescape(encodeURIComponent(t))),t}function l(t,e){var r,n=t.length,o=new ArrayBuffer(n),i=new Uint8Array(o);for(r=0;r<n;r+=1)i[r]=t.charCodeAt(r);return e?i:o}function f(t){return String.fromCharCode.apply(null,new Uint8Array(t))}function h(t,e,r){var n=new Uint8Array(t.byteLength+e.byteLength);return n.set(new Uint8Array(t)),n.set(new Uint8Array(e),t.byteLength),r?n:n.buffer}function p(t){var e,r=[],n=t.length;for(e=0;e<n-1;e+=2)r.push(parseInt(t.substr(e,2),16));return String.fromCharCode.apply(String,r)}function d(){this.reset()}return"5d41402abc4b2a76b9719d911017c592"!==u(i("hello"))&&function(t,e){var r=(65535&t)+(65535&e),n=(t>>16)+(e>>16)+(r>>16);return n<<16|65535&r},"undefined"===typeof ArrayBuffer||ArrayBuffer.prototype.slice||function(){function e(t,e){return t=0|t||0,t<0?Math.max(t+e,0):Math.min(t,e)}ArrayBuffer.prototype.slice=function(r,n){var o,i,a,s,u=this.byteLength,c=e(r,u),l=u;return n!==t&&(l=e(n,u)),c>l?new ArrayBuffer(0):(o=l-c,i=new ArrayBuffer(o),a=new Uint8Array(i),s=new Uint8Array(this,c,o),a.set(s),i)}}(),d.prototype.append=function(t){return this.appendBinary(c(t)),this},d.prototype.appendBinary=function(t){this._buff+=t,this._length+=t.length;var e,o=this._buff.length;for(e=64;e<=o;e+=64)r(this._hash,n(this._buff.substring(e-64,e)));return this._buff=this._buff.substring(e-64),this},d.prototype.end=function(t){var e,r,n=this._buff,o=n.length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<o;e+=1)i[e>>2]|=n.charCodeAt(e)<<(e%4<<3);return this._finish(i,o),r=u(this._hash),t&&(r=p(r)),this.reset(),r},d.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},d.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},d.prototype.setState=function(t){return this._buff=t.buff,this._length=t.length,this._hash=t.hash,this},d.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},d.prototype._finish=function(t,e){var n,o,i,a=e;if(t[a>>2]|=128<<(a%4<<3),a>55)for(r(this._hash,t),a=0;a<16;a+=1)t[a]=0;n=8*this._length,n=n.toString(16).match(/(.*?)(.{0,8})$/),o=parseInt(n[2],16),i=parseInt(n[1],16)||0,t[14]=o,t[15]=i,r(this._hash,t)},d.hash=function(t,e){return d.hashBinary(c(t),e)},d.hashBinary=function(t,e){var r=i(t),n=u(r);return e?p(n):n},d.ArrayBuffer=function(){this.reset()},d.ArrayBuffer.prototype.append=function(t){var e,n=h(this._buff.buffer,t,!0),i=n.length;for(this._length+=t.byteLength,e=64;e<=i;e+=64)r(this._hash,o(n.subarray(e-64,e)));return this._buff=e-64<i?new Uint8Array(n.buffer.slice(e-64)):new Uint8Array(0),this},d.ArrayBuffer.prototype.end=function(t){var e,r,n=this._buff,o=n.length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<o;e+=1)i[e>>2]|=n[e]<<(e%4<<3);return this._finish(i,o),r=u(this._hash),t&&(r=p(r)),this.reset(),r},d.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},d.ArrayBuffer.prototype.getState=function(){var t=d.prototype.getState.call(this);return t.buff=f(t.buff),t},d.ArrayBuffer.prototype.setState=function(t){return t.buff=l(t.buff,!0),d.prototype.setState.call(this,t)},d.ArrayBuffer.prototype.destroy=d.prototype.destroy,d.ArrayBuffer.prototype._finish=d.prototype._finish,d.ArrayBuffer.hash=function(t,e){var r=a(new Uint8Array(t)),n=u(r);return e?p(n):n},d}))},"1cfa":function(t,e,r){"use strict";var n=r("8170"),o=r("b852"),i=r("a3da");t.exports={formats:i,parse:o,stringify:n}},5501:function(t,e,r){var o,i;(function(){var r=!1,a=function(t){return t instanceof a?t:this instanceof a?void(this.EXIFwrapped=t):new a(t)};t.exports&&(e=t.exports=a),e.EXIF=a;var s=a.Tags={36864:"ExifVersion",40960:"FlashpixVersion",40961:"ColorSpace",40962:"PixelXDimension",40963:"PixelYDimension",37121:"ComponentsConfiguration",37122:"CompressedBitsPerPixel",37500:"MakerNote",37510:"UserComment",40964:"RelatedSoundFile",36867:"DateTimeOriginal",36868:"DateTimeDigitized",37520:"SubsecTime",37521:"SubsecTimeOriginal",37522:"SubsecTimeDigitized",33434:"ExposureTime",33437:"FNumber",34850:"ExposureProgram",34852:"SpectralSensitivity",34855:"ISOSpeedRatings",34856:"OECF",37377:"ShutterSpeedValue",37378:"ApertureValue",37379:"BrightnessValue",37380:"ExposureBias",37381:"MaxApertureValue",37382:"SubjectDistance",37383:"MeteringMode",37384:"LightSource",37385:"Flash",37396:"SubjectArea",37386:"FocalLength",41483:"FlashEnergy",41484:"SpatialFrequencyResponse",41486:"FocalPlaneXResolution",41487:"FocalPlaneYResolution",41488:"FocalPlaneResolutionUnit",41492:"SubjectLocation",41493:"ExposureIndex",41495:"SensingMethod",41728:"FileSource",41729:"SceneType",41730:"CFAPattern",41985:"CustomRendered",41986:"ExposureMode",41987:"WhiteBalance",41988:"DigitalZoomRation",41989:"FocalLengthIn35mmFilm",41990:"SceneCaptureType",41991:"GainControl",41992:"Contrast",41993:"Saturation",41994:"Sharpness",41995:"DeviceSettingDescription",41996:"SubjectDistanceRange",40965:"InteroperabilityIFDPointer",42016:"ImageUniqueID"},u=a.TiffTags={256:"ImageWidth",257:"ImageHeight",34665:"ExifIFDPointer",34853:"GPSInfoIFDPointer",40965:"InteroperabilityIFDPointer",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",274:"Orientation",277:"SamplesPerPixel",284:"PlanarConfiguration",530:"YCbCrSubSampling",531:"YCbCrPositioning",282:"XResolution",283:"YResolution",296:"ResolutionUnit",273:"StripOffsets",278:"RowsPerStrip",279:"StripByteCounts",513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength",301:"TransferFunction",318:"WhitePoint",319:"PrimaryChromaticities",529:"YCbCrCoefficients",532:"ReferenceBlackWhite",306:"DateTime",270:"ImageDescription",271:"Make",272:"Model",305:"Software",315:"Artist",33432:"Copyright"},c=a.GPSTags={0:"GPSVersionID",1:"GPSLatitudeRef",2:"GPSLatitude",3:"GPSLongitudeRef",4:"GPSLongitude",5:"GPSAltitudeRef",6:"GPSAltitude",7:"GPSTimeStamp",8:"GPSSatellites",9:"GPSStatus",10:"GPSMeasureMode",11:"GPSDOP",12:"GPSSpeedRef",13:"GPSSpeed",14:"GPSTrackRef",15:"GPSTrack",16:"GPSImgDirectionRef",17:"GPSImgDirection",18:"GPSMapDatum",19:"GPSDestLatitudeRef",20:"GPSDestLatitude",21:"GPSDestLongitudeRef",22:"GPSDestLongitude",23:"GPSDestBearingRef",24:"GPSDestBearing",25:"GPSDestDistanceRef",26:"GPSDestDistance",27:"GPSProcessingMethod",28:"GPSAreaInformation",29:"GPSDateStamp",30:"GPSDifferential"},l=a.IFD1Tags={256:"ImageWidth",257:"ImageHeight",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",273:"StripOffsets",274:"Orientation",277:"SamplesPerPixel",278:"RowsPerStrip",279:"StripByteCounts",282:"XResolution",283:"YResolution",284:"PlanarConfiguration",296:"ResolutionUnit",513:"JpegIFOffset",514:"JpegIFByteCount",529:"YCbCrCoefficients",530:"YCbCrSubSampling",531:"YCbCrPositioning",532:"ReferenceBlackWhite"},f=a.StringValues={ExposureProgram:{0:"Not defined",1:"Manual",2:"Normal program",3:"Aperture priority",4:"Shutter priority",5:"Creative program",6:"Action program",7:"Portrait mode",8:"Landscape mode"},MeteringMode:{0:"Unknown",1:"Average",2:"CenterWeightedAverage",3:"Spot",4:"MultiSpot",5:"Pattern",6:"Partial",255:"Other"},LightSource:{0:"Unknown",1:"Daylight",2:"Fluorescent",3:"Tungsten (incandescent light)",4:"Flash",9:"Fine weather",10:"Cloudy weather",11:"Shade",12:"Daylight fluorescent (D 5700 - 7100K)",13:"Day white fluorescent (N 4600 - 5400K)",14:"Cool white fluorescent (W 3900 - 4500K)",15:"White fluorescent (WW 3200 - 3700K)",17:"Standard light A",18:"Standard light B",19:"Standard light C",20:"D55",21:"D65",22:"D75",23:"D50",24:"ISO studio tungsten",255:"Other"},Flash:{0:"Flash did not fire",1:"Flash fired",5:"Strobe return light not detected",7:"Strobe return light detected",9:"Flash fired, compulsory flash mode",13:"Flash fired, compulsory flash mode, return light not detected",15:"Flash fired, compulsory flash mode, return light detected",16:"Flash did not fire, compulsory flash mode",24:"Flash did not fire, auto mode",25:"Flash fired, auto mode",29:"Flash fired, auto mode, return light not detected",31:"Flash fired, auto mode, return light detected",32:"No flash function",65:"Flash fired, red-eye reduction mode",69:"Flash fired, red-eye reduction mode, return light not detected",71:"Flash fired, red-eye reduction mode, return light detected",73:"Flash fired, compulsory flash mode, red-eye reduction mode",77:"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected",79:"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected",89:"Flash fired, auto mode, red-eye reduction mode",93:"Flash fired, auto mode, return light not detected, red-eye reduction mode",95:"Flash fired, auto mode, return light detected, red-eye reduction mode"},SensingMethod:{1:"Not defined",2:"One-chip color area sensor",3:"Two-chip color area sensor",4:"Three-chip color area sensor",5:"Color sequential area sensor",7:"Trilinear sensor",8:"Color sequential linear sensor"},SceneCaptureType:{0:"Standard",1:"Landscape",2:"Portrait",3:"Night scene"},SceneType:{1:"Directly photographed"},CustomRendered:{0:"Normal process",1:"Custom process"},WhiteBalance:{0:"Auto white balance",1:"Manual white balance"},GainControl:{0:"None",1:"Low gain up",2:"High gain up",3:"Low gain down",4:"High gain down"},Contrast:{0:"Normal",1:"Soft",2:"Hard"},Saturation:{0:"Normal",1:"Low saturation",2:"High saturation"},Sharpness:{0:"Normal",1:"Soft",2:"Hard"},SubjectDistanceRange:{0:"Unknown",1:"Macro",2:"Close view",3:"Distant view"},FileSource:{3:"DSC"},Components:{0:"",1:"Y",2:"Cb",3:"Cr",4:"R",5:"G",6:"B"}};function h(t){return!!t.exifdata}function p(t,e){e=e||t.match(/^data\:([^\;]+)\;base64,/im)[1]||"",t=t.replace(/^data\:([^\;]+)\;base64,/gim,"");for(var r=atob(t),n=r.length,o=new ArrayBuffer(n),i=new Uint8Array(o),a=0;a<n;a++)i[a]=r.charCodeAt(a);return o}function d(t,e){var r=new XMLHttpRequest;r.open("GET",t,!0),r.responseType="blob",r.onload=function(t){200!=this.status&&0!==this.status||e(this.response)},r.send()}function g(t,e){function n(r){var n=y(r);t.exifdata=n||{};var o=m(r);if(t.iptcdata=o||{},a.isXmpEnabled){var i=O(r);t.xmpdata=i||{}}e&&e.call(t)}if(t.src)if(/^data\:/i.test(t.src)){var o=p(t.src);n(o)}else if(/^blob\:/i.test(t.src)){var i=new FileReader;i.onload=function(t){n(t.target.result)},d(t.src,(function(t){i.readAsArrayBuffer(t)}))}else{var s=new XMLHttpRequest;s.onload=function(){if(200!=this.status&&0!==this.status)throw"Could not load image";n(s.response),s=null},s.open("GET",t.src,!0),s.responseType="arraybuffer",s.send(null)}else if(self.FileReader&&(t instanceof self.Blob||t instanceof self.File)){i=new FileReader;i.onload=function(t){r&&console.log("Got file of length "+t.target.result.byteLength),n(t.target.result)},i.readAsArrayBuffer(t)}}function y(t){var e=new DataView(t);if(r&&console.log("Got file of length "+t.byteLength),255!=e.getUint8(0)||216!=e.getUint8(1))return r&&console.log("Not a valid JPEG"),!1;var n,o=2,i=t.byteLength;while(o<i){if(255!=e.getUint8(o))return r&&console.log("Not a valid marker at offset "+o+", found: "+e.getUint8(o)),!1;if(n=e.getUint8(o+1),r&&console.log(n),225==n)return r&&console.log("Found 0xFFE1 marker"),C(e,o+4,e.getUint16(o+2)-2);o+=2+e.getUint16(o+2)}}function m(t){var e=new DataView(t);if(r&&console.log("Got file of length "+t.byteLength),255!=e.getUint8(0)||216!=e.getUint8(1))return r&&console.log("Not a valid JPEG"),!1;var n=2,o=t.byteLength,i=function(t,e){return 56===t.getUint8(e)&&66===t.getUint8(e+1)&&73===t.getUint8(e+2)&&77===t.getUint8(e+3)&&4===t.getUint8(e+4)&&4===t.getUint8(e+5)};while(n<o){if(i(e,n)){var a=e.getUint8(n+7);a%2!==0&&(a+=1),0===a&&(a=4);var s=n+8+a,u=e.getUint16(n+6+a);return v(t,s,u)}n++}}var b={120:"caption",110:"credit",25:"keywords",55:"dateCreated",80:"byline",85:"bylineTitle",122:"captionWriter",105:"headline",116:"copyright",15:"category"};function v(t,e,r){var n,o,i,a,s=new DataView(t),u={},c=e;while(c<e+r)28===s.getUint8(c)&&2===s.getUint8(c+1)&&(a=s.getUint8(c+2),a in b&&(i=s.getInt16(c+3),i+5,o=b[a],n=k(s,c+5,i),u.hasOwnProperty(o)?u[o]instanceof Array?u[o].push(n):u[o]=[u[o],n]:u[o]=n)),c++;return u}function w(t,e,n,o,i){var a,s,u,c=t.getUint16(n,!i),l={};for(u=0;u<c;u++)a=n+12*u+2,s=o[t.getUint16(a,!i)],!s&&r&&console.log("Unknown tag: "+t.getUint16(a,!i)),l[s]=S(t,a,e,n,i);return l}function S(t,e,r,n,o){var i,a,s,u,c,l,f=t.getUint16(e+2,!o),h=t.getUint32(e+4,!o),p=t.getUint32(e+8,!o)+r;switch(f){case 1:case 7:if(1==h)return t.getUint8(e+8,!o);for(i=h>4?p:e+8,a=[],u=0;u<h;u++)a[u]=t.getUint8(i+u);return a;case 2:return i=h>4?p:e+8,k(t,i,h-1);case 3:if(1==h)return t.getUint16(e+8,!o);for(i=h>2?p:e+8,a=[],u=0;u<h;u++)a[u]=t.getUint16(i+2*u,!o);return a;case 4:if(1==h)return t.getUint32(e+8,!o);for(a=[],u=0;u<h;u++)a[u]=t.getUint32(p+4*u,!o);return a;case 5:if(1==h)return c=t.getUint32(p,!o),l=t.getUint32(p+4,!o),s=new Number(c/l),s.numerator=c,s.denominator=l,s;for(a=[],u=0;u<h;u++)c=t.getUint32(p+8*u,!o),l=t.getUint32(p+4+8*u,!o),a[u]=new Number(c/l),a[u].numerator=c,a[u].denominator=l;return a;case 9:if(1==h)return t.getInt32(e+8,!o);for(a=[],u=0;u<h;u++)a[u]=t.getInt32(p+4*u,!o);return a;case 10:if(1==h)return t.getInt32(p,!o)/t.getInt32(p+4,!o);for(a=[],u=0;u<h;u++)a[u]=t.getInt32(p+8*u,!o)/t.getInt32(p+4+8*u,!o);return a}}function x(t,e,r){var n=t.getUint16(e,!r);return t.getUint32(e+2+12*n,!r)}function P(t,e,r,n){var o=x(t,e+r,n);if(!o)return{};if(o>t.byteLength)return{};var i=w(t,e,e+o,l,n);if(i["Compression"])switch(i["Compression"]){case 6:if(i.JpegIFOffset&&i.JpegIFByteCount){var a=e+i.JpegIFOffset,s=i.JpegIFByteCount;i["blob"]=new Blob([new Uint8Array(t.buffer,a,s)],{type:"image/jpeg"})}break;case 1:console.log("Thumbnail image format is TIFF, which is not implemented.");break;default:console.log("Unknown thumbnail image format '%s'",i["Compression"])}else 2==i["PhotometricInterpretation"]&&console.log("Thumbnail image format is RGB, which is not implemented.");return i}function k(t,e,r){var o="";for(n=e;n<e+r;n++)o+=String.fromCharCode(t.getUint8(n));return o}function C(t,e){if("Exif"!=k(t,e,4))return r&&console.log("Not valid EXIF data! "+k(t,e,4)),!1;var n,o,i,a,l,h=e+6;if(18761==t.getUint16(h))n=!1;else{if(19789!=t.getUint16(h))return r&&console.log("Not valid TIFF data! (no 0x4949 or 0x4D4D)"),!1;n=!0}if(42!=t.getUint16(h+2,!n))return r&&console.log("Not valid TIFF data! (no 0x002A)"),!1;var p=t.getUint32(h+4,!n);if(p<8)return r&&console.log("Not valid TIFF data! (First offset less than 8)",t.getUint32(h+4,!n)),!1;if(o=w(t,h,h+p,u,n),o.ExifIFDPointer)for(i in a=w(t,h,h+o.ExifIFDPointer,s,n),a){switch(i){case"LightSource":case"Flash":case"MeteringMode":case"ExposureProgram":case"SensingMethod":case"SceneCaptureType":case"SceneType":case"CustomRendered":case"WhiteBalance":case"GainControl":case"Contrast":case"Saturation":case"Sharpness":case"SubjectDistanceRange":case"FileSource":a[i]=f[i][a[i]];break;case"ExifVersion":case"FlashpixVersion":a[i]=String.fromCharCode(a[i][0],a[i][1],a[i][2],a[i][3]);break;case"ComponentsConfiguration":a[i]=f.Components[a[i][0]]+f.Components[a[i][1]]+f.Components[a[i][2]]+f.Components[a[i][3]];break}o[i]=a[i]}if(o.GPSInfoIFDPointer)for(i in l=w(t,h,h+o.GPSInfoIFDPointer,c,n),l){switch(i){case"GPSVersionID":l[i]=l[i][0]+"."+l[i][1]+"."+l[i][2]+"."+l[i][3];break}o[i]=l[i]}return o["thumbnail"]=P(t,h,p,n),o}function O(t){if("DOMParser"in self){var e=new DataView(t);if(r&&console.log("Got file of length "+t.byteLength),255!=e.getUint8(0)||216!=e.getUint8(1))return r&&console.log("Not a valid JPEG"),!1;var n=2,o=t.byteLength,i=new DOMParser;while(n<o-4){if("http"==k(e,n,4)){var a=n-1,s=e.getUint16(n-2)-1,u=k(e,a,s),c=u.indexOf("xmpmeta>")+8;u=u.substring(u.indexOf("<x:xmpmeta"),c);var l=u.indexOf("x:xmpmeta")+10;u=u.slice(0,l)+'xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tiff="http://ns.adobe.com/tiff/1.0/" xmlns:plus="http://schemas.android.com/apk/lib/com.google.android.gms.plus" xmlns:ext="http://www.gettyimages.com/xsltExtension/1.0" xmlns:exif="http://ns.adobe.com/exif/1.0/" xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#" xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#" xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/" xmlns:xapGImg="http://ns.adobe.com/xap/1.0/g/img/" xmlns:Iptc4xmpExt="http://iptc.org/std/Iptc4xmpExt/2008-02-29/" '+u.slice(l);var f=i.parseFromString(u,"text/xml");return E(f)}n++}}}function I(t){var e={};if(1==t.nodeType){if(t.attributes.length>0){e["@attributes"]={};for(var r=0;r<t.attributes.length;r++){var n=t.attributes.item(r);e["@attributes"][n.nodeName]=n.nodeValue}}}else if(3==t.nodeType)return t.nodeValue;if(t.hasChildNodes())for(var o=0;o<t.childNodes.length;o++){var i=t.childNodes.item(o),a=i.nodeName;if(null==e[a])e[a]=I(i);else{if(null==e[a].push){var s=e[a];e[a]=[],e[a].push(s)}e[a].push(I(i))}}return e}function E(t){try{var e={};if(t.children.length>0)for(var r=0;r<t.children.length;r++){var n=t.children.item(r),o=n.attributes;for(var i in o){var a=o[i],s=a.nodeName,u=a.nodeValue;void 0!==s&&(e[s]=u)}var c=n.nodeName;if("undefined"==typeof e[c])e[c]=I(n);else{if("undefined"==typeof e[c].push){var l=e[c];e[c]=[],e[c].push(l)}e[c].push(I(n))}}else e=t.textContent;return e}catch(f){console.log(f.message)}}a.enableXmp=function(){a.isXmpEnabled=!0},a.disableXmp=function(){a.isXmpEnabled=!1},a.getData=function(t,e){return!((self.Image&&t instanceof self.Image||self.HTMLImageElement&&t instanceof self.HTMLImageElement)&&!t.complete)&&(h(t)?e&&e.call(t):g(t,e),!0)},a.getTag=function(t,e){if(h(t))return t.exifdata[e]},a.getIptcTag=function(t,e){if(h(t))return t.iptcdata[e]},a.getAllTags=function(t){if(!h(t))return{};var e,r=t.exifdata,n={};for(e in r)r.hasOwnProperty(e)&&(n[e]=r[e]);return n},a.getAllIptcTags=function(t){if(!h(t))return{};var e,r=t.iptcdata,n={};for(e in r)r.hasOwnProperty(e)&&(n[e]=r[e]);return n},a.pretty=function(t){if(!h(t))return"";var e,r=t.exifdata,n="";for(e in r)r.hasOwnProperty(e)&&("object"==typeof r[e]?r[e]instanceof Number?n+=e+" : "+r[e]+" ["+r[e].numerator+"/"+r[e].denominator+"]\r\n":n+=e+" : ["+r[e].length+" values]\r\n":n+=e+" : "+r[e]+"\r\n");return n},a.readFromBinaryFile=function(t){return y(t)},o=[],i=function(){return a}.apply(e,o),void 0===i||(t.exports=i)}).call(this)},"74d2":function(t,e,r){"use strict";var n=r("b993"),o=r.n(n);o.a},"78c1":function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("upHead")],1)},o=[],i=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"upload"},[r("el-upload",{staticClass:"avatar-uploader",attrs:{action:t.domain,"http-request":t.upqiniu,"show-file-list":!1,"before-upload":t.beforeUpload}},[t.imageUrl?r("img",{staticClass:"avatar",attrs:{src:t.imageUrl}}):r("i",{staticClass:"el-icon-plus avatar-uploader-icon"})])],1)])},a=[],s=r("0358"),u=r.n(s);function c(t){if(null===t||"undefined"===typeof t)return"";var e,r,n=t+"",o="",i=0;e=r=0,i=n.length;for(var a=0;a<i;a++){var s=n.charCodeAt(a),u=null;if(s<128)r++;else if(s>127&&s<2048)u=String.fromCharCode(s>>6|192,63&s|128);else if((63488&s^55296)>0)u=String.fromCharCode(s>>12|224,s>>6&63|128,63&s|128);else{if((64512&s^55296)>0)throw new RangeError("Unmatched trail surrogate at "+a);var c=n.charCodeAt(++a);if((64512&c^56320)>0)throw new RangeError("Unmatched lead surrogate at "+(a-1));s=((1023&s)<<10)+(1023&c)+65536,u=String.fromCharCode(s>>18|240,s>>12&63|128,s>>6&63|128,63&s|128)}null!==u&&(r>e&&(o+=n.slice(e,r)),o+=u,e=r=a+1)}return r>e&&(o+=n.slice(e,i)),o}function l(t){var e,r,n,o,i,a,s,u,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",f=0,h=0,p="",d=[];if(!t)return t;t=c(t+"");do{e=t.charCodeAt(f++),r=t.charCodeAt(f++),n=t.charCodeAt(f++),u=e<<16|r<<8|n,o=u>>18&63,i=u>>12&63,a=u>>6&63,s=63&u,d[h++]=l.charAt(o)+l.charAt(i)+l.charAt(a)+l.charAt(s)}while(f<t.length);switch(p=d.join(""),t.length%3){case 1:p=p.slice(0,-2)+"==";break;case 2:p=p.slice(0,-1)+"=";break}return p}function f(t){var e,r,n,o,i,a,s,u,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l=0,f=0,h="",p=[];if(!t)return t;t+="";do{o=c.indexOf(t.charAt(l++)),i=c.indexOf(t.charAt(l++)),a=c.indexOf(t.charAt(l++)),s=c.indexOf(t.charAt(l++)),u=o<<18|i<<12|a<<6|s,e=u>>16&255,r=u>>8&255,n=255&u,p[f++]=64===a?String.fromCharCode(e):64===s?String.fromCharCode(e,r):String.fromCharCode(e,r,n)}while(l<t.length);return h=p.join(""),h}function h(t){return t=l(t),t.replace(/\//g,"_").replace(/\+/g,"-")}function p(t){return t=t.replace(/_/g,"/").replace(/-/g,"+"),f(t)}var d=function(){return d=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r],e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},d.apply(this,arguments)},g=function(t,e,r,n){function o(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,i){function a(t){try{u(n.next(t))}catch(e){i(e)}}function s(t){try{u(n["throw"](t))}catch(e){i(e)}}function u(t){t.done?r(t.value):o(t.value).then(a,s)}u((n=n.apply(t,e||[])).next())}))},y=function(t,e){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(t){return function(e){return u([t,e])}}function u(i){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,n&&(o=2&i[0]?n["return"]:i[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(s){i=[6,s],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}},m=Math.pow(1024,2);function b(t,e){var r=e*m;if(r>t.size)r=t.size;else while(t.size>1e4*r)r*=2;for(var n=[],o=Math.ceil(t.size/r),i=0;i<o;i++){var a=t.slice(r*i,i===o-1?t.size:r*(i+1));n.push(a)}return n}function v(t){return Object.keys(t).every((function(t){return 0===t.indexOf("x-qn-meta-")}))}function w(t){return Object.keys(t).every((function(t){return 0===t.indexOf("x:")}))}function S(t){return t.reduce((function(t,e){return t+e}),0)}function x(t,e){try{localStorage.setItem(t,JSON.stringify(e))}catch(r){window.console&&window.console.warn&&console.warn("setLocalFileInfo failed")}}function P(t,e,r){var n=null==e?"_":"_key_"+e+"_";return"qiniu_js_sdk_upload_file_name_"+t+n+"size_"+r}function k(t){try{localStorage.removeItem(t)}catch(e){window.console&&window.console.warn&&console.warn("removeLocalFileInfo failed")}}function C(t){try{var e=localStorage.getItem(t);return e?JSON.parse(e):null}catch(r){return window.console&&window.console.warn&&console.warn("getLocalFileInfo failed"),null}}function O(t){var e="UpToken "+t;return{Authorization:e}}function I(t){var e=O(t);return d({"content-type":"application/octet-stream"},e)}function E(t){var e=O(t);return d({"content-type":"application/json"},e)}function U(){return window.XMLHttpRequest?new XMLHttpRequest:window.ActiveXObject("Microsoft.XMLHTTP")}function F(t){return g(this,void 0,void 0,(function(){var e,r;return y(this,(function(n){switch(n.label){case 0:return[4,D(t)];case 1:return e=n.sent(),r=new u.a.ArrayBuffer,r.append(e),[2,r.end()]}}))}))}function D(t){return new Promise((function(e,r){var n=new FileReader;n.onload=function(t){if(t.target){var n=t.target.result;e(n)}else r(new Error("progress event target is undefined"))},n.onerror=function(){r(new Error("fileReader read failed"))},n.readAsArrayBuffer(t)}))}function A(t,e){return new Promise((function(r,n){var o=U();if(o.open(e.method,t),e.onCreate&&e.onCreate(o),e.headers){var i=e.headers;Object.keys(i).forEach((function(t){o.setRequestHeader(t,i[t])}))}o.upload.addEventListener("progress",(function(t){t.lengthComputable&&e.onProgress&&e.onProgress({loaded:t.loaded,total:t.total})})),o.onreadystatechange=function(){var t=o.responseText;if(4===o.readyState){var e=o.getResponseHeader("x-reqId")||"";if(200!==o.status){var i="xhr request failed, code: "+o.status;return t&&(i+=" response: "+t),void n({code:o.status,message:i,reqId:e,isRequestError:!0})}try{r({data:JSON.parse(t),reqId:e})}catch(a){n(a)}}},o.send(e.body)}))}function j(t){if(t&&t.match){var e=t.match(/(^https?)/);if(!e)return"";var r=e[1];return e=t.match(/^https?:\/\/([^:^/]*):(\d*)/),e?e[2]:"http"===r?"80":"443"}return""}function T(t){if(t&&t.match){var e=t.match(/^https?:\/\/([^:^/]*)/);return e?e[1]:""}return""}function L(t){var e=t.split(":"),r=e.length>3?e[1]:e[0],n=JSON.parse(p(e[e.length-1]));return{ak:r,bucket:n.scope.split(":")[0]}}function R(t){var e=window.URL||window.webkitURL||window.mozURL;return e.createObjectURL(t)}function _(t,e){var r=t.width,n=t.height;switch(e){case 1:return{width:r,height:n,matrix:[1,0,0,1,0,0]};case 2:return{width:r,height:n,matrix:[-1,0,0,1,r,0]};case 3:return{width:r,height:n,matrix:[-1,0,0,-1,r,n]};case 4:return{width:r,height:n,matrix:[1,0,0,-1,0,n]};case 5:return{width:n,height:r,matrix:[0,1,1,0,0,0]};case 6:return{width:n,height:r,matrix:[0,1,-1,0,n,0]};case 7:return{width:n,height:r,matrix:[0,-1,-1,0,n,r]};case 8:return{width:n,height:r,matrix:[0,-1,1,0,0,r]};default:throw new Error("orientation "+e+" is unavailable")}}var N,G=function(){function t(){}return t.prototype.log=function(t,e){var r=Object.values(t).join(",");this.send(r,e,0)},t.prototype.send=function(t,e,r){var n=this,o=U();o.open("POST","https://uplog.qbox.me/log/3"),o.setRequestHeader("Content-type","application/x-www-form-urlencoded"),o.setRequestHeader("Authorization","UpToken "+e),o.onreadystatechange=function(){4===o.readyState&&200!==o.status&&++r<=3&&n.send(t,e,r)},o.send(t)},t}(),B=G,z=function(){function t(t,e){this.runTask=t,this.limit=e,this.queue=[],this.processing=[]}return t.prototype.enqueue=function(t){var e=this;return new Promise((function(r,n){e.queue.push({task:t,resolve:r,reject:n}),e.check()}))},t.prototype.run=function(t){var e=this;this.queue=this.queue.filter((function(e){return e!==t})),this.processing.push(t),this.runTask(t.task).then((function(){e.processing=e.processing.filter((function(e){return e!==t})),t.resolve(),e.check()}),(function(e){return t.reject(e)}))},t.prototype.check=function(){var t=this,e=this.processing.length,r=this.limit-e;this.queue.slice(0,r).forEach((function(e){t.run(e)}))},t}(),q={z0:"z0",z1:"z1",z2:"z2",na0:"na0",as0:"as0"},M=(N={},N[q.z0]={srcUphost:"up.qiniup.com",cdnUphost:"upload.qiniup.com"},N[q.z1]={srcUphost:"up-z1.qiniup.com",cdnUphost:"upload-z1.qiniup.com"},N[q.z2]={srcUphost:"up-z2.qiniup.com",cdnUphost:"upload-z2.qiniup.com"},N[q.na0]={srcUphost:"up-na0.qiniup.com",cdnUphost:"upload-na0.qiniup.com"},N[q.as0]={srcUphost:"up-as0.qiniup.com",cdnUphost:"upload-as0.qiniup.com"},N),H=function(){return H=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r],e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},H.apply(this,arguments)},V=function(t,e,r,n){function o(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,i){function a(t){try{u(n.next(t))}catch(e){i(e)}}function s(t){try{u(n["throw"](t))}catch(e){i(e)}}function u(t){t.done?r(t.value):o(t.value).then(a,s)}u((n=n.apply(t,e||[])).next())}))},X=function(t,e){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(t){return function(e){return u([t,e])}}function u(i){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,n&&(o=2&i[0]?n["return"]:i[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(s){i=[6,s],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}};function J(t,e){return V(this,void 0,void 0,(function(){var r,n;return X(this,(function(o){return r=L(t),n=e+"//api.qiniu.com/v2/query?ak="+r.ak+"&bucket="+r.bucket,[2,A(n,{method:"GET"})]}))}))}function W(t,e){return V(this,void 0,void 0,(function(){var r,n,o,i,a;return X(this,(function(s){switch(s.label){case 0:return r=t.upprotocol,t.uphost?[2,r+"//"+t.uphost]:t.region?(n=M[t.region],o=t.useCdnDomain?n.cdnUphost:n.srcUphost,[2,r+"//"+o]):[4,J(e,r)];case 1:return i=s.sent(),a=i.data.up.acc.main,[2,r+"//"+a[0]]}}))}))}function Q(t,e,r){var n=r.url,o=r.id;return n+"/buckets/"+t+"/objects/"+(null!=e?h(e):"~")+"/uploads/"+o}function Y(t,e,r,n){var o=n+"/buckets/"+e+"/objects/"+(null!=r?h(r):"~")+"/uploads";return A(o,{method:"POST",headers:O(t)})}function K(t,e,r,n,o){var i=L(t).bucket,a=Q(i,e,n)+"/"+r;return A(a,H(H({},o),{method:"PUT",headers:I(t)}))}function $(t,e,r,n){var o=L(t).bucket,i=Q(o,e,r);return A(i,H(H({},n),{method:"POST",headers:E(t)}))}var Z=function(){return Z=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r],e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Z.apply(this,arguments)},tt=function(t,e,r,n){function o(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,i){function a(t){try{u(n.next(t))}catch(e){i(e)}}function s(t){try{u(n["throw"](t))}catch(e){i(e)}}function u(t){t.done?r(t.value):o(t.value).then(a,s)}u((n=n.apply(t,e||[])).next())}))},et=function(t,e){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(t){return function(e){return u([t,e])}}function u(i){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,n&&(o=2&i[0]?n["return"]:i[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(s){i=[6,s],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}},rt=4,nt=Math.pow(1024,3),ot=function(){function t(t,e,r){this.statisticsLogger=r,this.xhrList=[],this.aborted=!1,this.retryCount=0,this.config=Z({useCdnDomain:!0,disableStatisticsReport:!1,retryCount:3,checkByMD5:!1,uphost:"",upprotocol:"https:",forceDirect:!1,chunkSize:rt,concurrentRequestLimit:3},t.config),this.putExtra=Z({fname:""},t.putExtra),this.file=t.file,this.key=t.key,this.token=t.token,this.onData=e.onData,this.onError=e.onError,this.onComplete=e.onComplete;try{this.bucket=L(this.token).bucket}catch(n){this.onError(n)}}return t.prototype.putFile=function(){return tt(this,void 0,void 0,(function(){var t,e,r,n,o,i,a,s;return et(this,(function(u){switch(u.label){case 0:if(this.aborted=!1,this.putExtra.fname||(this.putExtra.fname=this.file.name),this.file.size>1e4*nt)throw t=new Error("file size exceed maximum value 10000G"),this.onError(t),t;if(this.putExtra.customVars&&!w(this.putExtra.customVars))throw t=new Error("customVars key should start width x:"),this.onError(t),t;if(this.putExtra.metadata&&!v(this.putExtra.metadata))throw t=new Error("metadata key should start with x-qn-meta-"),this.onError(t),t;u.label=1;case 1:return u.trys.push([1,4,,5]),e=this,[4,W(this.config,this.token)];case 2:return e.uploadUrl=u.sent(),this.uploadAt=(new Date).getTime(),[4,this.run()];case 3:return r=u.sent(),this.onComplete(r.data),this.config.disableStatisticsReport||this.sendLog(r.reqId,200),[2,r];case 4:if(n=u.sent(),this.clear(),n.isRequestError&&!this.config.disableStatisticsReport&&(o=this.aborted?"":n.reqId,i=this.aborted?-2:n.code,this.sendLog(o,i)),a=n.isRequestError&&0===n.code&&!this.aborted,s=++this.retryCount<=this.config.retryCount,a&&s||612===n.code)return[2,this.putFile()];throw this.onError(n),n;case 5:return[2]}}))}))},t.prototype.clear=function(){this.xhrList.forEach((function(t){return t.abort()})),this.xhrList=[]},t.prototype.stop=function(){this.clear(),this.aborted=!0},t.prototype.addXhr=function(t){this.xhrList.push(t)},t.prototype.sendLog=function(t,e){this.statisticsLogger.log({code:e,reqId:t,host:T(this.uploadUrl),remoteIp:"",port:j(this.uploadUrl),duration:((new Date).getTime()-this.uploadAt)/1e3,time:Math.floor(this.uploadAt/1e3),bytesSent:this.progress?this.progress.total.loaded:0,upType:"jssdk-h5",size:this.file.size},this.token)},t.prototype.getProgressInfoItem=function(t,e){return{loaded:t,size:e,percent:t/e*100}},t}(),it=ot,at=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),st=function(){return st=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r],e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},st.apply(this,arguments)},ut=function(t,e,r,n){function o(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,i){function a(t){try{u(n.next(t))}catch(e){i(e)}}function s(t){try{u(n["throw"](t))}catch(e){i(e)}}function u(t){t.done?r(t.value):o(t.value).then(a,s)}u((n=n.apply(t,e||[])).next())}))},ct=function(t,e){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(t){return function(e){return u([t,e])}}function u(i){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,n&&(o=2&i[0]?n["return"]:i[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(s){i=[6,s],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}};function lt(t){var e=/^[1-9]\d*$/;return e.test(String(t))}(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}at(e,t),e.prototype.run=function(){return ut(this,void 0,void 0,(function(){var t,e,r,n=this;return ct(this,(function(o){switch(o.label){case 0:if(!this.config.chunkSize||!lt(this.config.chunkSize))throw new Error("chunkSize must be a positive integer");if(this.config.chunkSize>1024)throw new Error("chunkSize maximum value is 1024");return[4,this.initBeforeUploadChunks()];case 1:return o.sent(),t=new z((function(t){return n.uploadChunk(t)}),this.config.concurrentRequestLimit),e=this.chunks.map((function(e,r){return t.enqueue({chunk:e,index:r})})),r=Promise.all(e).then((function(){return n.mkFileReq()})),r.then((function(){k(n.getLocalKey())}),(function(t){612!==t.code&&400!==t.code||k(n.getLocalKey())})),[2,r]}}))}))},e.prototype.uploadChunk=function(t){return ut(this,void 0,void 0,(function(){var e,r,n,o,i,a,s,u,c,l=this;return ct(this,(function(f){switch(f.label){case 0:return e=t.index,r=t.chunk,n=this.uploadedList[e],o=this.config.checkByMD5,i=function(){l.updateChunkProgress(r.size,e)},n&&!o?(i(),[2]):[4,F(r)];case 1:return a=f.sent(),n&&a===n.md5?(i(),[2]):(s=function(t){l.updateChunkProgress(t.loaded,e)},u={body:r,onProgress:s,onCreate:function(t){return l.addXhr(t)}},[4,K(this.token,this.key,t.index+1,this.getUploadInfo(),u)]);case 2:return c=f.sent(),s({loaded:r.size,total:r.size}),this.uploadedList[e]={etag:c.data.etag,md5:c.data.md5,size:r.size},x(this.getLocalKey(),{id:this.uploadId,data:this.uploadedList}),[2]}}))}))},e.prototype.mkFileReq=function(){return ut(this,void 0,void 0,(function(){var t,e,r=this;return ct(this,(function(n){switch(n.label){case 0:return t=st(st(st({parts:this.uploadedList.map((function(t,e){return{etag:t.etag,partNumber:e+1}})),fname:this.putExtra.fname},this.putExtra.mimeType&&{mimeType:this.putExtra.mimeType}),this.putExtra.customVars&&{customVars:this.putExtra.customVars}),this.putExtra.metadata&&{metadata:this.putExtra.metadata}),[4,$(this.token,this.key,this.getUploadInfo(),{onCreate:function(t){return r.addXhr(t)},body:JSON.stringify(t)})];case 1:return e=n.sent(),this.updateMkFileProgress(1),[2,e]}}))}))},e.prototype.initBeforeUploadChunks=function(){return ut(this,void 0,void 0,(function(){var t,e;return ct(this,(function(r){switch(r.label){case 0:return t=C(this.getLocalKey()),t?[3,2]:(k(this.getLocalKey()),[4,Y(this.token,this.bucket,this.key,this.uploadUrl)]);case 1:return e=r.sent(),this.uploadId=e.data.uploadId,this.uploadedList=[],[3,3];case 2:this.uploadId=t.id,this.uploadedList=t.data,r.label=3;case 3:return this.chunks=b(this.file,this.config.chunkSize),this.loaded={mkFileProgress:0,chunks:this.chunks.map((function(t){return 0}))},this.notifyResumeProgress(),[2]}}))}))},e.prototype.getUploadInfo=function(){return{id:this.uploadId,url:this.uploadUrl}},e.prototype.getLocalKey=function(){return P(this.file.name,this.key,this.file.size)},e.prototype.updateChunkProgress=function(t,e){this.loaded.chunks[e]=t,this.notifyResumeProgress()},e.prototype.updateMkFileProgress=function(t){this.loaded.mkFileProgress=t,this.notifyResumeProgress()},e.prototype.notifyResumeProgress=function(){var t=this;this.progress={total:this.getProgressInfoItem(S(this.loaded.chunks)+this.loaded.mkFileProgress,this.file.size+1),chunks:this.chunks.map((function(e,r){return t.getProgressInfoItem(t.loaded.chunks[r],e.size)})),uploadInfo:{id:this.uploadId,url:this.uploadUrl}},this.onData(this.progress)}})(it);var ft=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),ht=function(t,e,r,n){function o(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,i){function a(t){try{u(n.next(t))}catch(e){i(e)}}function s(t){try{u(n["throw"](t))}catch(e){i(e)}}function u(t){t.done?r(t.value):o(t.value).then(a,s)}u((n=n.apply(t,e||[])).next())}))},pt=function(t,e){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(t){return function(e){return u([t,e])}}function u(i){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,n&&(o=2&i[0]?n["return"]:i[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(s){i=[6,s],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}};(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}ft(e,t),e.prototype.run=function(){return ht(this,void 0,void 0,(function(){var t,e,r,n=this;return pt(this,(function(o){switch(o.label){case 0:return t=new FormData,t.append("file",this.file),t.append("token",this.token),null!=this.key&&t.append("key",this.key),t.append("fname",this.putExtra.fname),this.putExtra.customVars&&(e=this.putExtra.customVars,Object.keys(e).forEach((function(r){return t.append(r,e[r].toString())}))),[4,A(this.uploadUrl,{method:"POST",body:t,onProgress:function(t){n.updateDirectProgress(t.loaded,t.total)},onCreate:function(t){return n.addXhr(t)}})];case 1:return r=o.sent(),this.finishDirectProgress(),[2,r]}}))}))},e.prototype.updateDirectProgress=function(t,e){this.progress={total:this.getProgressInfoItem(t,e+1)},this.onData(this.progress)},e.prototype.finishDirectProgress=function(){if(!this.progress)return this.progress={total:this.getProgressInfoItem(this.file.size,this.file.size)},void this.onData(this.progress);var t=this.progress.total;this.progress={total:this.getProgressInfoItem(t.loaded+1,t.size)},this.onData(this.progress)}})(it);var dt=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),gt=function(){return gt=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r],e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},gt.apply(this,arguments)},yt=function(){function t(){this.closed=!1}return t.prototype.unsubscribe=function(){this.closed||(this.closed=!0,this._unsubscribe&&this._unsubscribe())},t.prototype.add=function(t){this._unsubscribe=t},t}(),mt=function(t){function e(e,r,n){var o=t.call(this)||this;return o.isStopped=!1,o.destination=e&&"object"===typeof e?e:gt(gt(gt({},e&&{next:e}),r&&{error:r}),n&&{complete:n}),o}return dt(e,t),e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype.next=function(t){!this.isStopped&&this.destination.next&&this.destination.next(t)},e.prototype.error=function(t){!this.isStopped&&this.destination.error&&(this.isStopped=!0,this.destination.error(t))},e.prototype.complete=function(t){!this.isStopped&&this.destination.complete&&(this.isStopped=!0,this.destination.complete(t))},e}(yt),bt=(function(){function t(t){this._subscribe=t}t.prototype.subscribe=function(t,e,r){var n=new mt(t,e,r);return n.add(this._subscribe(n)),n}}(),r("5501")),vt=function(){return vt=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r],e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},vt.apply(this,arguments)},wt=function(t,e,r,n){function o(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,i){function a(t){try{u(n.next(t))}catch(e){i(e)}}function s(t){try{u(n["throw"](t))}catch(e){i(e)}}function u(t){t.done?r(t.value):o(t.value).then(a,s)}u((n=n.apply(t,e||[])).next())}))},St=function(t,e){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(t){return function(e){return u([t,e])}}function u(i){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,n&&(o=2&i[0]?n["return"]:i[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(s){i=[6,s],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}},xt=function(t,e){var r="function"===typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),a=[];try{while((void 0===e||e-- >0)&&!(n=i.next()).done)a.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=i["return"])&&r.call(i)}finally{if(o)throw o.error}}return a},Pt=function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(xt(arguments[e]));return t},kt={PNG:"image/png",JPEG:"image/jpeg",WEBP:"image/webp",BMP:"image/bmp"},Ct=4,Ot=Math.log(2),It=Object.keys(kt).map((function(t){return kt[t]})),Et=kt.JPEG;function Ut(t){return It.includes(t)}(function(){function t(t,e){this.file=t,this.config=e,this.config=vt({quality:.92,noCompressIfLarger:!1},this.config)}t.prototype.process=function(){return wt(this,void 0,void 0,(function(){var t,e,r,n,o,i;return St(this,(function(a){switch(a.label){case 0:if(this.outputType=this.file.type,t={},!Ut(this.file.type))throw new Error("unsupported file type: "+this.file.type);return[4,this.getOriginImage()];case 1:return e=a.sent(),[4,this.getCanvas(e)];case 2:return r=a.sent(),n=1,this.config.maxWidth&&(n=Math.min(1,this.config.maxWidth/r.width)),this.config.maxHeight&&(n=Math.min(1,n,this.config.maxHeight/r.height)),t.width=r.width,t.height=r.height,[4,this.doScale(r,n)];case 3:return o=a.sent(),i=this.toBlob(o),i.size>this.file.size&&this.config.noCompressIfLarger?[2,{dist:this.file,width:t.width,height:t.height}]:[2,{dist:i,width:o.width,height:o.height}]}}))}))},t.prototype.clear=function(t,e,r){this.outputType===Et?(t.fillStyle="#fff",t.fillRect(0,0,e,r)):t.clearRect(0,0,e,r)},t.prototype.getOriginImage=function(){var t=this;return new Promise((function(e,r){var n=R(t.file),o=new Image;o.onload=function(){e(o)},o.onerror=function(){r("image load error")},o.src=n}))},t.prototype.getCanvas=function(t){var e=this;return new Promise((function(r,n){bt["EXIF"].getData(t,(function(){var o=bt["EXIF"].getTag(t,"Orientation")||1,i=_(t,o),a=i.width,s=i.height,u=i.matrix,c=document.createElement("canvas"),l=c.getContext("2d");c.width=a,c.height=s,l?(e.clear(l,a,s),l.transform.apply(l,Pt(u)),l.drawImage(t,0,0),r(c)):n(new Error("context is null"))}))}))},t.prototype.doScale=function(t,e){return wt(this,void 0,void 0,(function(){var r,n,o,i,a,s,u,c,l,f,h,p,d,g,y,m;return St(this,(function(b){if(1===e)return[2,t];if(r=t.getContext("2d"),n=Math.min(Ct,Math.ceil(1/e/Ot)),o=Math.pow(e,1/n),i=document.createElement("canvas"),a=i.getContext("2d"),s=t.width,u=t.height,c=s,l=u,i.width=s,i.height=u,!a||!r)throw new Error("mctx or sctx can't be null");for(p=0;p<n;p++)d=s*o|0,g=u*o|0,p===n-1&&(d=c*e,g=l*e),p%2===0?(f=t,h=a):(f=i,h=r),this.clear(h,s,u),h.drawImage(f,0,0,s,u,0,0,d,g),s=d,u=g;return y=f===t?i:t,m=h.getImageData(0,0,s,u),y.width=s,y.height=u,h.putImageData(m,0,0),[2,y]}))}))},t.prototype.toBlob=function(t){var e=t.toDataURL(this.outputType,this.config.quality),r=atob(e.split(",")[1]).split("").map((function(t){return t.charCodeAt(0)})),n=new Blob([new Uint8Array(r)],{type:this.outputType});return n}})();new B;var Ft=r("1cfa"),Dt={data:function(){return{imageUrl:"",token:{},domain:"https://up-z1.qiniup.com",qiniuaddr:"qjzpcd34v.hb-bkt.clouddn.com"}},mounted:function(){},methods:{upqiniu:function(t){var e=this;console.log(t);var r={headers:{"Content-Type":"multipart/form-data"}},n="";n="image/png"===t.file.type?"png":"jpg";var o="GoAllOut"+(new Date).valueOf()+Math.floor(100*Math.random())+"."+n,i={token:localStorage.token},a=Ft.stringify(i);this.axios.post("/api/v1/QiNiu/GetSimpleQiNiuToken",a).then((function(n){var i=new FormData;i.append("file",t.file),i.append("token",n.data.QiNinToken),i.append("key",o),e.axios.post(e.domain,i,r).then((function(t){e.imageUrl="http://"+e.qiniuaddr+"/"+t.data.key}))}))},beforeUpload:function(t){var e="image/jpeg"===t.type||"image/png"===t.type,r=t.size/1024/1024<2;return e||this.$message.error("上传头像图片只能是 JPG 格式!"),r||this.$message.error("上传头像图片大小不能超过 2MB!"),e&&r}}},At=Dt,jt=(r("74d2"),r("9ca4")),Tt=Object(jt["a"])(At,i,a,!1,null,"1263c90e",null),Lt=Tt.exports,Rt={data:function(){return{editableTabsValue:"1"}},components:{upHead:Lt}},_t=Rt,Nt=Object(jt["a"])(_t,n,o,!1,null,"065949aa",null);e["default"]=Nt.exports},"7e2f":function(t,e,r){"use strict";var n=Object.prototype.hasOwnProperty,o=Array.isArray,i=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),a=function(t){while(t.length>1){var e=t.pop(),r=e.obj[e.prop];if(o(r)){for(var n=[],i=0;i<r.length;++i)"undefined"!==typeof r[i]&&n.push(r[i]);e.obj[e.prop]=n}}},s=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n<t.length;++n)"undefined"!==typeof t[n]&&(r[n]=t[n]);return r},u=function t(e,r,i){if(!r)return e;if("object"!==typeof r){if(o(e))e.push(r);else{if(!e||"object"!==typeof e)return[e,r];(i&&(i.plainObjects||i.allowPrototypes)||!n.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!==typeof e)return[e].concat(r);var a=e;return o(e)&&!o(r)&&(a=s(e,i)),o(e)&&o(r)?(r.forEach((function(r,o){if(n.call(e,o)){var a=e[o];a&&"object"===typeof a&&r&&"object"===typeof r?e[o]=t(a,r,i):e.push(r)}else e[o]=r})),e):Object.keys(r).reduce((function(e,o){var a=r[o];return n.call(e,o)?e[o]=t(e[o],a,i):e[o]=a,e}),a)},c=function(t,e){return Object.keys(e).reduce((function(t,r){return t[r]=e[r],t}),t)},l=function(t,e,r){var n=t.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(o){return n}},f=function(t,e,r){if(0===t.length)return t;var n=t;if("symbol"===typeof t?n=Symbol.prototype.toString.call(t):"string"!==typeof t&&(n=String(t)),"iso-8859-1"===r)return escape(n).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var o="",a=0;a<n.length;++a){var s=n.charCodeAt(a);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122?o+=n.charAt(a):s<128?o+=i[s]:s<2048?o+=i[192|s>>6]+i[128|63&s]:s<55296||s>=57344?o+=i[224|s>>12]+i[128|s>>6&63]+i[128|63&s]:(a+=1,s=65536+((1023&s)<<10|1023&n.charCodeAt(a)),o+=i[240|s>>18]+i[128|s>>12&63]+i[128|s>>6&63]+i[128|63&s])}return o},h=function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],n=0;n<e.length;++n)for(var o=e[n],i=o.obj[o.prop],s=Object.keys(i),u=0;u<s.length;++u){var c=s[u],l=i[c];"object"===typeof l&&null!==l&&-1===r.indexOf(l)&&(e.push({obj:i,prop:c}),r.push(l))}return a(e),t},p=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},d=function(t){return!(!t||"object"!==typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},g=function(t,e){return[].concat(t,e)},y=function(t,e){if(o(t)){for(var r=[],n=0;n<t.length;n+=1)r.push(e(t[n]));return r}return e(t)};t.exports={arrayToObject:s,assign:c,combine:g,compact:h,decode:l,encode:f,isBuffer:d,isRegExp:p,maybeMap:y,merge:u}},8170:function(t,e,r){"use strict";var n=r("7e2f"),o=r("a3da"),i=Object.prototype.hasOwnProperty,a={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},s=Array.isArray,u=Array.prototype.push,c=function(t,e){u.apply(t,s(e)?e:[e])},l=Date.prototype.toISOString,f=o["default"],h={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,format:f,formatter:o.formatters[f],indices:!1,serializeDate:function(t){return l.call(t)},skipNulls:!1,strictNullHandling:!1},p=function(t){return"string"===typeof t||"number"===typeof t||"boolean"===typeof t||"symbol"===typeof t||"bigint"===typeof t},d=function t(e,r,o,i,a,u,l,f,d,g,y,m,b){var v=e;if("function"===typeof l?v=l(r,v):v instanceof Date?v=g(v):"comma"===o&&s(v)&&(v=n.maybeMap(v,(function(t){return t instanceof Date?g(t):t})).join(",")),null===v){if(i)return u&&!m?u(r,h.encoder,b,"key"):r;v=""}if(p(v)||n.isBuffer(v)){if(u){var w=m?r:u(r,h.encoder,b,"key");return[y(w)+"="+y(u(v,h.encoder,b,"value"))]}return[y(r)+"="+y(String(v))]}var S,x=[];if("undefined"===typeof v)return x;if(s(l))S=l;else{var P=Object.keys(v);S=f?P.sort(f):P}for(var k=0;k<S.length;++k){var C=S[k],O=v[C];if(!a||null!==O){var I=s(v)?"function"===typeof o?o(r,C):r:r+(d?"."+C:"["+C+"]");c(x,t(O,I,o,i,a,u,l,f,d,g,y,m,b))}}return x},g=function(t){if(!t)return h;if(null!==t.encoder&&void 0!==t.encoder&&"function"!==typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||h.charset;if("undefined"!==typeof t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=o["default"];if("undefined"!==typeof t.format){if(!i.call(o.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var n=o.formatters[r],a=h.filter;return("function"===typeof t.filter||s(t.filter))&&(a=t.filter),{addQueryPrefix:"boolean"===typeof t.addQueryPrefix?t.addQueryPrefix:h.addQueryPrefix,allowDots:"undefined"===typeof t.allowDots?h.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"===typeof t.charsetSentinel?t.charsetSentinel:h.charsetSentinel,delimiter:"undefined"===typeof t.delimiter?h.delimiter:t.delimiter,encode:"boolean"===typeof t.encode?t.encode:h.encode,encoder:"function"===typeof t.encoder?t.encoder:h.encoder,encodeValuesOnly:"boolean"===typeof t.encodeValuesOnly?t.encodeValuesOnly:h.encodeValuesOnly,filter:a,formatter:n,serializeDate:"function"===typeof t.serializeDate?t.serializeDate:h.serializeDate,skipNulls:"boolean"===typeof t.skipNulls?t.skipNulls:h.skipNulls,sort:"function"===typeof t.sort?t.sort:null,strictNullHandling:"boolean"===typeof t.strictNullHandling?t.strictNullHandling:h.strictNullHandling}};t.exports=function(t,e){var r,n,o=t,i=g(e);"function"===typeof i.filter?(n=i.filter,o=n("",o)):s(i.filter)&&(n=i.filter,r=n);var u,l=[];if("object"!==typeof o||null===o)return"";u=e&&e.arrayFormat in a?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var f=a[u];r||(r=Object.keys(o)),i.sort&&r.sort(i.sort);for(var h=0;h<r.length;++h){var p=r[h];i.skipNulls&&null===o[p]||c(l,d(o[p],p,f,i.strictNullHandling,i.skipNulls,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.formatter,i.encodeValuesOnly,i.charset))}var y=l.join(i.delimiter),m=!0===i.addQueryPrefix?"?":"";return i.charsetSentinel&&("iso-8859-1"===i.charset?m+="utf8=%26%2310003%3B&":m+="utf8=%E2%9C%93&"),y.length>0?m+y:""}},a3da:function(t,e,r){"use strict";var n=String.prototype.replace,o=/%20/g,i=r("7e2f"),a={RFC1738:"RFC1738",RFC3986:"RFC3986"};t.exports=i.assign({default:a.RFC3986,formatters:{RFC1738:function(t){return n.call(t,o,"+")},RFC3986:function(t){return String(t)}}},a)},b852:function(t,e,r){"use strict";var n=r("7e2f"),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},u=function(t,e){return t&&"string"===typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},c="utf8=%26%2310003%3B",l="utf8=%E2%9C%93",f=function(t,e){var r,f={},h=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,p=e.parameterLimit===1/0?void 0:e.parameterLimit,d=h.split(e.delimiter,p),g=-1,y=e.charset;if(e.charsetSentinel)for(r=0;r<d.length;++r)0===d[r].indexOf("utf8=")&&(d[r]===l?y="utf-8":d[r]===c&&(y="iso-8859-1"),g=r,r=d.length);for(r=0;r<d.length;++r)if(r!==g){var m,b,v=d[r],w=v.indexOf("]="),S=-1===w?v.indexOf("="):w+1;-1===S?(m=e.decoder(v,a.decoder,y,"key"),b=e.strictNullHandling?null:""):(m=e.decoder(v.slice(0,S),a.decoder,y,"key"),b=n.maybeMap(u(v.slice(S+1),e),(function(t){return e.decoder(t,a.decoder,y,"value")}))),b&&e.interpretNumericEntities&&"iso-8859-1"===y&&(b=s(b)),v.indexOf("[]=")>-1&&(b=i(b)?[b]:b),o.call(f,m)?f[m]=n.combine(f[m],b):f[m]=b}return f},h=function(t,e,r,n){for(var o=n?e:u(e,r),i=t.length-1;i>=0;--i){var a,s=t[i];if("[]"===s&&r.parseArrays)a=[].concat(o);else{a=r.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(c,10);r.parseArrays||""!==c?!isNaN(l)&&s!==c&&String(l)===c&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(a=[],a[l]=o):a[c]=o:a={0:o}}o=a}return o},p=function(t,e,r,n){if(t){var i=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,u=r.depth>0&&a.exec(i),c=u?i.slice(0,u.index):i,l=[];if(c){if(!r.plainObjects&&o.call(Object.prototype,c)&&!r.allowPrototypes)return;l.push(c)}var f=0;while(r.depth>0&&null!==(u=s.exec(i))&&f<r.depth){if(f+=1,!r.plainObjects&&o.call(Object.prototype,u[1].slice(1,-1))&&!r.allowPrototypes)return;l.push(u[1])}return u&&l.push("["+i.slice(u.index)+"]"),h(l,e,r,n)}},d=function(t){if(!t)return a;if(null!==t.decoder&&void 0!==t.decoder&&"function"!==typeof t.decoder)throw new TypeError("Decoder has to be a function.");if("undefined"!==typeof t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e="undefined"===typeof t.charset?a.charset:t.charset;return{allowDots:"undefined"===typeof t.allowDots?a.allowDots:!!t.allowDots,allowPrototypes:"boolean"===typeof t.allowPrototypes?t.allowPrototypes:a.allowPrototypes,arrayLimit:"number"===typeof t.arrayLimit?t.arrayLimit:a.arrayLimit,charset:e,charsetSentinel:"boolean"===typeof t.charsetSentinel?t.charsetSentinel:a.charsetSentinel,comma:"boolean"===typeof t.comma?t.comma:a.comma,decoder:"function"===typeof t.decoder?t.decoder:a.decoder,delimiter:"string"===typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:a.delimiter,depth:"number"===typeof t.depth||!1===t.depth?+t.depth:a.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof t.interpretNumericEntities?t.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"===typeof t.parameterLimit?t.parameterLimit:a.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"===typeof t.plainObjects?t.plainObjects:a.plainObjects,strictNullHandling:"boolean"===typeof t.strictNullHandling?t.strictNullHandling:a.strictNullHandling}};t.exports=function(t,e){var r=d(e);if(""===t||null===t||"undefined"===typeof t)return r.plainObjects?Object.create(null):{};for(var o="string"===typeof t?f(t,r):t,i=r.plainObjects?Object.create(null):{},a=Object.keys(o),s=0;s<a.length;++s){var u=a[s],c=p(u,o[u],r,"string"===typeof t);i=n.merge(i,c,r)}return n.compact(i)}},b993:function(t,e,r){}}]);
- //# sourceMappingURL=chunk-c08eccaa.c5ac5287.js.map
|