(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7fe21768","chunk-7738c8a7"],{"3cfa":function(e,t,n){},"6f37":function(module,__webpack_exports__,__webpack_require__){"use strict";function get(){if("undefined"!==typeof DOMParser)return DOMParser;try{return eval("require")("xmldom").DOMParser}catch(error){return}}__webpack_exports__["a"]={get:get}},"9c7f":function(e,t,n){"use strict";var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"editable-cell"},[e.editable?t("div",{staticClass:"editable-cell-input-wrapper"},[e.textarea?t("a-textarea",{attrs:{value:e.text},on:{change:e.handleChange,pressEnter:e.check}}):t("a-input",{attrs:{value:e.text},on:{change:e.handleChange,pressEnter:e.check}}),t("a-icon",{staticClass:"editable-cell-icon-check",attrs:{type:"check"},on:{click:e.check}})],1):t("div",{staticClass:"editable-cell-text-wrapper"},[e._v(" "+e._s(e.text||" ")+" "),t("a-icon",{staticClass:"editable-cell-icon",attrs:{type:"edit"},on:{click:e.edit}})],1)])},i=[],o={props:{text:{type:String,default:""},textarea:{type:Boolean,default:!1}},data:function(){return{value:this.text,editable:!1}},methods:{handleChange:function(e){var t=e.target.value;this.value=t},check:function(){this.editable=!1,this.$emit("change",this.value)},edit:function(){this.editable=!0}}},a=o,s=(n("9f9d"),n("2877")),c=Object(s["a"])(a,r,i,!1,null,null,null);t["a"]=c.exports},"9f9d":function(e,t,n){"use strict";n("3cfa")},b460:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"e",(function(){return c})),n.d(t,"c",(function(){return u}));var r=n("b775"),i={mockups:"/mockups"};function o(e){return Object(r["b"])({url:i.mockups,method:"get",params:e})}function a(e){return Object(r["b"])({url:i.mockups+"/".concat(e.id),method:"put",data:e})}function s(e){return e&&e.length?Object(r["b"])({url:i.mockups,method:"delete",data:{ids:e}}):e?Object(r["b"])({url:i.mockups+"/"+e,method:"delete"}):void 0}function c(e){return Object(r["b"])({url:i.mockups+"/sessionVerify",method:"post",data:e})}function u(e){return Object(r["b"])({url:i.mockups+"/replace",method:"post",data:e})}},b85c:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));n("a4d3"),n("e01a"),n("d28b"),n("d3b7"),n("3ca3"),n("ddb0");var r=n("06c5");function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Object(r["a"])(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==n["return"]||n["return"]()}finally{if(c)throw a}}}}},e2851:function(e,t,n){"use strict";function r(e,t,n){const r=[];for(let i=0;i<n&&t+i<e.byteLength;i++)r.push(e.getUint8(t+i,!1));return o(r).join("")}function i(e,t,n){const r=[];for(let i=0;i<n&&t+i<e.byteLength;i+=2)r.push(e.getUint16(t+i));return o(r).join("")}function o(e){return e.map(e=>String.fromCharCode(e))}function a(e,...t){for(const n of t)for(const t in n)e[t]=n[t];return e}class s{constructor(e){if(c(e))throw new Error("DataView: Passed buffer type is unsupported.");this.buffer=e,this.byteLength=this.buffer.length}getUint8(e){return this.buffer.readUInt8(e)}getUint16(e,t){return t?this.buffer.readUInt16LE(e):this.buffer.readUInt16BE(e)}getUint32(e,t){return t?this.buffer.readUInt32LE(e):this.buffer.readUInt32BE(e)}getInt32(e,t){return t?this.buffer.readInt32LE(e):this.buffer.readInt32BE(e)}}function c(e){return"object"!==typeof e||void 0===e.length||void 0===e.readUInt8||void 0===e.readUInt16LE||void 0===e.readUInt16BE||void 0===e.readUInt32LE||void 0===e.readUInt32BE||void 0===e.readInt32LE||void 0===e.readInt32BE}const u=18761,d=19789;var l={BIG_ENDIAN:d,LITTLE_ENDIAN:u,getByteOrder:f};function f(e,t){if(e.getUint16(t)===u)return u;if(e.getUint16(t)===d)return d;throw new Error("Illegal byte order value. Faulty image.")}const p=4,m=2,g=42,h=2,S=0,b="ftyp",v=4,C=["heic","heix","hevc","hevx","heim","heis","hevm","hevs","mif1"],y=4,I=65496,w=2,A=4,P=2,U=10,D=18,T=33,k=79,O=18,N="ICC_PROFILE\0",R=A+N.length,F=R+1,E=65472,M=65474,x=65476,L=65499,G=65501,j=65498,B=65504,z=65505,W=65506,V=65517,_=65519,H=65534,K="Exif",Y="http://ns.adobe.com/xap/1.0/\0",$="http://ns.adobe.com/xmp/extension/\0",X="Photoshop 3.0";var q={parseAppMarkers:J};function J(e){if(Z(e))return ee();if(te(e))return ne(e);if(ge(e))return he(e);throw new Error("Invalid image format")}function Z(e){return e.byteLength>=p&&Q(e)}function Q(e){const t=e.getUint16(0)===l.LITTLE_ENDIAN;return e.getUint16(h,t)===g}function ee(){return{hasAppMarkers:!0,tiffHeaderOffset:S}}function te(e){return e.byteLength>=m&&e.getUint16(0,!1)===I}function ne(e){let t,n,r,i,o,a,s,c=w;while(c+A+5<=e.byteLength){if(re(e,c))n=c+P;else if(ie(e,c))r=c+P;else if(ae(e,c))t=e.getUint16(c+P,!1),i=c+U;else if(se(e,c))a||(a=[]),t=e.getUint16(c+P,!1),a.push(le(c,t));else if(ue(e,c))a||(a=[]),t=e.getUint16(c+P,!1),a.push(fe(c,t));else if(pe(e,c))t=e.getUint16(c+P,!1),o=c+D;else if(oe(e,c)){t=e.getUint16(c+P,!1);const n=c+O,r=t-(O-P),i=e.getUint8(c+R,!1),o=e.getUint8(c+F,!1);s||(s=[]),s.push({offset:n,length:r,chunkNumber:i,chunksTotal:o})}else{if(!me(e,c))break;t=e.getUint16(c+P,!1)}c+=P+t}return{hasAppMarkers:c>w,fileDataOffset:n||r,tiffHeaderOffset:i,iptcDataOffset:o,xmpChunks:a,iccChunks:s}}function re(e,t){return e.getUint16(t,!1)===E}function ie(e,t){return e.getUint16(t,!1)===M}function oe(e,t){const n=N.length;return e.getUint16(t,!1)===W&&r(e,t+A,n)===N}function ae(e,t){const n=K.length;return e.getUint16(t,!1)===z&&r(e,t+A,n)===K&&0===e.getUint8(t+A+n,!1)}function se(e,t){return e.getUint16(t,!1)===z&&ce(e,t)}function ce(e,t){const n=Y.length;return r(e,t+A,n)===Y}function ue(e,t){return e.getUint16(t,!1)===z&&de(e,t)}function de(e,t){const n=$.length;return r(e,t+A,n)===$}function le(e,t){return{dataOffset:e+T,length:t-(T-P)}}function fe(e,t){return{dataOffset:e+k,length:t-(k-P)}}function pe(e,t){const n=X.length;return e.getUint16(t,!1)===V&&r(e,t+A,n)===X&&0===e.getUint8(t+A+n,!1)}function me(e,t){const n=e.getUint16(t,!1);return n>=B&&n<=_||n===H||n===E||n===M||n===x||n===L||n===G||n===j}function ge(e){const t=r(e,v+b.length,y);return r(e,v,b.length)===b&&-1!==C.indexOf(t)}function he(e){const t=2,n=2,i=K.length;let o=v+b.length+y;while(o+i+t+n<=e.byteLength){const n=e.getUint16(o+i+t,!1);if(r(e,o,i)===K&&0===e.getUint8(o+i,!1)&&(n===l.LITTLE_ENDIAN||n===l.BIG_ENDIAN))return{hasAppMarkers:!0,tiffHeaderOffset:o+i+t};o++}return{hasAppMarkers:!1}}const Se={1:1,2:1,3:2,4:4,5:8,7:1,9:4,10:8,13:4},be={BYTE:1,ASCII:2,SHORT:3,LONG:4,RATIONAL:5,UNDEFINED:7,SLONG:9,SRATIONAL:10,IFD:13};var ve={getAsciiValue:Ce,getByteAt:ye,getAsciiAt:Ie,getShortAt:we,getLongAt:Ae,getRationalAt:Pe,getUndefinedAt:Ue,getSlongAt:De,getSrationalAt:Te,getIfdPointerAt:ke,typeSizes:Se,tagTypes:be,getTypeSize:Oe};function Ce(e){return e.map(e=>String.fromCharCode(e))}function ye(e,t){return e.getUint8(t)}function Ie(e,t){return e.getUint8(t)}function we(e,t,n){return e.getUint16(t,n===l.LITTLE_ENDIAN)}function Ae(e,t,n){return e.getUint32(t,n===l.LITTLE_ENDIAN)}function Pe(e,t,n){return Ae(e,t,n)/Ae(e,t+4,n)}function Ue(e,t){return ye(e,t)}function De(e,t,n){return e.getInt32(t,n===l.LITTLE_ENDIAN)}function Te(e,t,n){return De(e,t,n)/De(e,t+4,n)}function ke(e,t,n){return Ae(e,t,n)}function Oe(e){if(void 0===be[e])throw new Error("No such type found.");return Se[be[e]]}var Ne={LightSource:e=>1===e?"Daylight":2===e?"Fluorescent":3===e?"Tungsten (incandescent light)":4===e?"Flash":9===e?"Fine weather":10===e?"Cloudy weather":11===e?"Shade":12===e?"Daylight fluorescent (D 5700 – 7100K)":13===e?"Day white fluorescent (N 4600 – 5400K)":14===e?"Cool white fluorescent (W 3900 – 4500K)":15===e?"White fluorescent (WW 3200 – 3700K)":17===e?"Standard light A":18===e?"Standard light B":19===e?"Standard light C":20===e?"D55":21===e?"D65":22===e?"D75":23===e?"D50":24===e?"ISO studio tungsten":255===e?"Other light source":"Unknown"},Re={11:"ProcessingSoftware",254:{name:"SubfileType",description:e=>({0:"Full-resolution image",1:"Reduced-resolution image",2:"Single page of multi-page image",3:"Single page of multi-page reduced-resolution image",4:"Transparency mask",5:"Transparency mask of reduced-resolution image",6:"Transparency mask of multi-page image",7:"Transparency mask of reduced-resolution multi-page image",65537:"Alternate reduced-resolution image",4294967295:"Invalid"}[e]||"Unknown")},255:{name:"OldSubfileType",description:e=>({0:"Full-resolution image",1:"Reduced-resolution image",2:"Single page of multi-page image"}[e]||"Unknown")},256:"ImageWidth",257:"ImageLength",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",263:{name:"Thresholding",description:e=>({1:"No dithering or halftoning",2:"Ordered dither or halfton",3:"Randomized dither"}[e]||"Unknown")},264:"CellWidth",265:"CellLength",266:{name:"FillOrder",description:e=>({1:"Normal",2:"Reversed"}[e]||"Unknown")},269:"DocumentName",270:"ImageDescription",271:"Make",272:"Model",273:"StripOffsets",274:{name:"Orientation",description:e=>1===e?"top-left":2===e?"top-right":3===e?"bottom-right":4===e?"bottom-left":5===e?"left-top":6===e?"right-top":7===e?"right-bottom":8===e?"left-bottom":"Undefined"},277:"SamplesPerPixel",278:"RowsPerStrip",279:"StripByteCounts",280:"MinSampleValue",281:"MaxSampleValue",282:"XResolution",283:"YResolution",284:"PlanarConfiguration",285:"PageName",286:"XPosition",287:"YPosition",290:{name:"GrayResponseUnit",description:e=>({1:"0.1",2:"0.001",3:"0.0001",4:"1e-05",5:"1e-06"}[e]||"Unknown")},296:{name:"ResolutionUnit",description:e=>2===e?"inches":3===e?"centimeters":"Unknown"},297:"PageNumber",301:"TransferFunction",305:"Software",306:"DateTime",315:"Artist",316:"HostComputer",317:"Predictor",318:"WhitePoint",319:"PrimaryChromaticities",321:"HalftoneHints",322:"TileWidth",323:"TileLength",330:"A100DataOffset",332:{name:"InkSet",description:e=>({1:"CMYK",2:"Not CMYK"}[e]||"Unknown")},337:"TargetPrinter",338:{name:"ExtraSamples",description:e=>({0:"Unspecified",1:"Associated Alpha",2:"Unassociated Alpha"}[e]||"Unknown")},339:{name:"SampleFormat",description:e=>{const t={1:"Unsigned",2:"Signed",3:"Float",4:"Undefined",5:"Complex int",6:"Complex float"};return Array.isArray(e)?e.map(e=>t[e]||"Unknown").join(", "):"Unknown"}},513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength",529:"YCbCrCoefficients",530:"YCbCrSubSampling",531:{name:"YCbCrPositioning",description:e=>1===e?"centered":2===e?"co-sited":"undefined "+e},532:"ReferenceBlackWhite",700:"ApplicationNotes",18246:"Rating",18249:"RatingPercent",33432:{name:"Copyright",description:e=>e.join("; ")},33550:"PixelScale",33723:"IPTC-NAA",33920:"IntergraphMatrix",33922:"ModelTiePoint",34118:"SEMInfo",34264:"ModelTransform",34377:"PhotoshopSettings",34665:"Exif IFD Pointer",34675:"ICC_Profile",34735:"GeoTiffDirectory",34736:"GeoTiffDoubleParams",34737:"GeoTiffAsciiParams",34853:"GPS Info IFD Pointer",40091:"XPTitle",40092:"XPComment",40093:"XPAuthor",40094:"XPKeywords",40095:"XPSubject",42112:"GDALMetadata",42113:"GDALNoData",50341:"PrintIM",50707:"DNGBackwardVersion",50708:"UniqueCameraModel",50709:"LocalizedCameraModel",50721:"ColorMatrix1",50722:"ColorMatrix2",50723:"CameraCalibration1",50724:"CameraCalibration2",50725:"ReductionMatrix1",50726:"ReductionMatrix2",50727:"AnalogBalance",50728:"AsShotNeutral",50729:"AsShotWhiteXY",50730:"BaselineExposure",50731:"BaselineNoise",50732:"BaselineSharpness",50734:"LinearResponseLimit",50735:"CameraSerialNumber",50736:"DNGLensInfo",50739:"ShadowScale",50741:{name:"MakerNoteSafety",description:e=>({0:"Unsafe",1:"Safe"}[e]||"Unknown")},50778:{name:"CalibrationIlluminant1",description:Ne["LightSource"]},50779:{name:"CalibrationIlluminant2",description:Ne["LightSource"]},50781:"RawDataUniqueID",50827:"OriginalRawFileName",50828:"OriginalRawFileData",50831:"AsShotICCProfile",50832:"AsShotPreProfileMatrix",50833:"CurrentICCProfile",50834:"CurrentPreProfileMatrix",50879:"ColorimetricReference",50885:"SRawType",50898:"PanasonicTitle",50899:"PanasonicTitle2",50931:"CameraCalibrationSig",50932:"ProfileCalibrationSig",50933:"ProfileIFD",50934:"AsShotProfileName",50936:"ProfileName",50937:"ProfileHueSatMapDims",50938:"ProfileHueSatMapData1",50939:"ProfileHueSatMapData2",50940:"ProfileToneCurve",50941:{name:"ProfileEmbedPolicy",description:e=>({0:"Allow Copying",1:"Embed if Used",2:"Never Embed",3:"No Restrictions"}[e]||"Unknown")},50942:"ProfileCopyright",50964:"ForwardMatrix1",50965:"ForwardMatrix2",50966:"PreviewApplicationName",50967:"PreviewApplicationVersion",50968:"PreviewSettingsName",50969:"PreviewSettingsDigest",50970:{name:"PreviewColorSpace",description:e=>({1:"Gray Gamma 2.2",2:"sRGB",3:"Adobe RGB",4:"ProPhoto RGB"}[e]||"Unknown")},50971:"PreviewDateTime",50972:"RawImageDigest",50973:"OriginalRawFileDigest",50981:"ProfileLookTableDims",50982:"ProfileLookTableData",51043:"TimeCodes",51044:"FrameRate",51058:"TStop",51081:"ReelName",51089:"OriginalDefaultFinalSize",51090:"OriginalBestQualitySize",51091:"OriginalDefaultCropSize",51105:"CameraLabel",51107:{name:"ProfileHueSatMapEncoding",description:e=>({0:"Linear",1:"sRGB"}[e]||"Unknown")},51108:{name:"ProfileLookTableEncoding",description:e=>({0:"Linear",1:"sRGB"}[e]||"Unknown")},51109:"BaselineExposureOffset",51110:{name:"DefaultBlackRender",description:e=>({0:"Auto",1:"None"}[e]||"Unknown")},51111:"NewRawImageDigest",51112:"RawToPreviewGain"};function Fe(e){return e.map(e=>String.fromCharCode(e)).join("")}function Ee(e){if(e.length>=8){const t=Fe(e.slice(0,8));if("ASCII\0\0\0"===t)return Fe(e.slice(8));if("JIS\0\0\0\0\0"===t)return"[JIS encoded text]";if("UNICODE\0"===t)return"[Unicode encoded text]";if("\0\0\0\0\0\0\0\0"===t)return"[Undefined encoding]"}return"Undefined"}var Me={33434:"ExposureTime",33437:"FNumber",34850:{name:"ExposureProgram",description:e=>0===e?"Undefined":1===e?"Manual":2===e?"Normal program":3===e?"Aperture priority":4===e?"Shutter priority":5===e?"Creative program":6===e?"Action program":7===e?"Portrait mode":8===e?"Landscape mode":"Unknown"},34852:"SpectralSensitivity",34855:"ISOSpeedRatings",34856:{name:"OECF",description:()=>"[Raw OECF table data]"},34858:"TimeZoneOffset",34859:"SelfTimerMode",34864:{name:"SensitivityType",description:e=>({1:"Standard Output Sensitivity",2:"Recommended Exposure Index",3:"ISO Speed",4:"Standard Output Sensitivity and Recommended Exposure Index",5:"Standard Output Sensitivity and ISO Speed",6:"Recommended Exposure Index and ISO Speed",7:"Standard Output Sensitivity, Recommended Exposure Index and ISO Speed"}[e]||"Unknown")},34865:"StandardOutputSensitivity",34866:"RecommendedExposureIndex",34867:"ISOSpeed",34868:"ISOSpeedLatitudeyyy",34869:"ISOSpeedLatitudezzz",36864:{name:"ExifVersion",description:e=>Fe(e)},36867:"DateTimeOriginal",36868:"DateTimeDigitized",36873:"GooglePlusUploadCode",36880:"OffsetTime",36881:"OffsetTimeOriginal",36882:"OffsetTimeDigitized",37121:{name:"ComponentsConfiguration",description:e=>e.map(e=>49===e?"Y":50===e?"Cb":51===e?"Cr":52===e?"R":53===e?"G":54===e?"B":void 0).join("")},37122:"CompressedBitsPerPixel",37377:"ShutterSpeedValue",37378:"ApertureValue",37379:"BrightnessValue",37380:"ExposureBiasValue",37381:"MaxApertureValue",37382:"SubjectDistance",37383:{name:"MeteringMode",description:e=>1===e?"Average":2===e?"CenterWeightedAverage":3===e?"Spot":4===e?"MultiSpot":5===e?"Pattern":6===e?"Partial":255===e?"Other":"Unknown"},37384:{name:"LightSource",description:Ne["LightSource"]},37385:{name:"Flash",description:e=>0===e?"Flash did not fire":1===e?"Flash fired":5===e?"Strobe return light not detected":7===e?"Strobe return light detected":9===e?"Flash fired, compulsory flash mode":13===e?"Flash fired, compulsory flash mode, return light not detected":15===e?"Flash fired, compulsory flash mode, return light detected":16===e?"Flash did not fire, compulsory flash mode":24===e?"Flash did not fire, auto mode":25===e?"Flash fired, auto mode":29===e?"Flash fired, auto mode, return light not detected":31===e?"Flash fired, auto mode, return light detected":32===e?"No flash function":65===e?"Flash fired, red-eye reduction mode":69===e?"Flash fired, red-eye reduction mode, return light not detected":71===e?"Flash fired, red-eye reduction mode, return light detected":73===e?"Flash fired, compulsory flash mode, red-eye reduction mode":77===e?"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected":79===e?"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected":89===e?"Flash fired, auto mode, red-eye reduction mode":93===e?"Flash fired, auto mode, return light not detected, red-eye reduction mode":95===e?"Flash fired, auto mode, return light detected, red-eye reduction mode":"Unknown"},37386:"FocalLength",37393:"ImageNumber",37394:{name:"SecurityClassification",description:e=>({C:"Confidential",R:"Restricted",S:"Secret",T:"Top Secret",U:"Unclassified"}[e]||"Unknown")},37395:"ImageHistory",37396:{name:"SubjectArea",description:e=>2===e.length?`Location; X: ${e[0]}, Y: ${e[1]}`:3===e.length?`Circle; X: ${e[0]}, Y: ${e[1]}, diameter: ${e[2]}`:4===e.length?`Rectangle; X: ${e[0]}, Y: ${e[1]}, width: ${e[2]}, height: ${e[3]}`:"Unknown"},37500:{name:"MakerNote",description:()=>"[Raw maker note data]"},37510:{name:"UserComment",description:Ee},37520:"SubSecTime",37521:"SubSecTimeOriginal",37522:"SubSecTimeDigitized",37888:"AmbientTemperature",37889:"Humidity",37890:"Pressure",37891:"WaterDepth",37892:"Acceleration",37893:"CameraElevationAngle",40960:{name:"FlashpixVersion",description:e=>e.map(e=>String.fromCharCode(e)).join("")},40961:{name:"ColorSpace",description:e=>1===e?"sRGB":65535===e?"Uncalibrated":"Unknown"},40962:"PixelXDimension",40963:"PixelYDimension",40964:"RelatedSoundFile",40965:"Interoperability IFD Pointer",41483:"FlashEnergy",41484:{name:"SpatialFrequencyResponse",description:()=>"[Raw SFR table data]"},41486:"FocalPlaneXResolution",41487:"FocalPlaneYResolution",41488:{name:"FocalPlaneResolutionUnit",description:e=>2===e?"inches":3===e?"centimeters":"Unknown"},41492:{name:"SubjectLocation",description:([e,t])=>`X: ${e}, Y: ${t}`},41493:"ExposureIndex",41495:{name:"SensingMethod",description:e=>1===e?"Undefined":2===e?"One-chip color area sensor":3===e?"Two-chip color area sensor":4===e?"Three-chip color area sensor":5===e?"Color sequential area sensor":7===e?"Trilinear sensor":8===e?"Color sequential linear sensor":"Unknown"},41728:{name:"FileSource",description:e=>3===e?"DSC":"Unknown"},41729:{name:"SceneType",description:e=>1===e?"A directly photographed image":"Unknown"},41730:{name:"CFAPattern",description:()=>"[Raw CFA pattern table data]"},41985:{name:"CustomRendered",description:e=>0===e?"Normal process":1===e?"Custom process":"Unknown"},41986:{name:"ExposureMode",description:e=>0===e?"Auto exposure":1===e?"Manual exposure":2===e?"Auto bracket":"Unknown"},41987:{name:"WhiteBalance",description:e=>0===e?"Auto white balance":1===e?"Manual white balance":"Unknown"},41988:{name:"DigitalZoomRatio",description:e=>0===e?"Digital zoom was not used":e},41989:{name:"FocalLengthIn35mmFilm",description:e=>0===e?"Unknown":e},41990:{name:"SceneCaptureType",description:e=>0===e?"Standard":1===e?"Landscape":2===e?"Portrait":3===e?"Night scene":"Unknown"},41991:{name:"GainControl",description:e=>0===e?"None":1===e?"Low gain up":2===e?"High gain up":3===e?"Low gain down":4===e?"High gain down":"Unknown"},41992:{name:"Contrast",description:e=>0===e?"Normal":1===e?"Soft":2===e?"Hard":"Unknown"},41993:{name:"Saturation",description:e=>0===e?"Normal":1===e?"Low saturation":2===e?"High saturation":"Unknown"},41994:{name:"Sharpness",description:e=>0===e?"Normal":1===e?"Soft":2===e?"Hard":"Unknown"},41995:{name:"DeviceSettingDescription",description:()=>"[Raw device settings table data]"},41996:{name:"SubjectDistanceRange",description:e=>1===e?"Macro":2===e?"Close view":3===e?"Distant view":"Unknown"},42016:"ImageUniqueID",42032:"CameraOwnerName",42033:"BodySerialNumber",42034:"LensSpecification",42035:"LensMake",42036:"LensModel",42037:"LensSerialNumber",42080:{name:"CompositeImage",description:e=>({1:"Not a Composite Image",2:"General Composite Image",3:"Composite Image Captured While Shooting"}[e]||"Unknown")},42081:"SourceImageNumberOfCompositeImage",42082:"SourceExposureTimesOfCompositeImage",42240:"Gamma",59932:"Padding",59933:"OffsetSchema",65e3:"OwnerName",65001:"SerialNumber",65002:"Lens",65100:"RawFile",65101:"Converter",65102:"WhiteBalance",65105:"Exposure",65106:"Shadows",65107:"Brightness",65108:"Contrast",65109:"Saturation",65110:"Sharpness",65111:"Smoothness",65112:"MoireFilter"},xe={0:{name:"GPSVersionID",description:e=>2===e[0]&&2===e[1]&&0===e[2]&&0===e[3]?"Version 2.2":"Unknown"},1:{name:"GPSLatitudeRef",description:e=>{const t=e.join("");return"N"===t?"North latitude":"S"===t?"South latitude":"Unknown"}},2:{name:"GPSLatitude",description:e=>e[0]+e[1]/60+e[2]/3600},3:{name:"GPSLongitudeRef",description:e=>{const t=e.join("");return"E"===t?"East longitude":"W"===t?"West longitude":"Unknown"}},4:{name:"GPSLongitude",description:e=>e[0]+e[1]/60+e[2]/3600},5:{name:"GPSAltitudeRef",description:e=>0===e?"Sea level":1===e?"Sea level reference (negative value)":"Unknown"},6:{name:"GPSAltitude",description:e=>e+" m"},7:{name:"GPSTimeStamp",description:e=>e.map(e=>1===(""+e).length?"0"+e:e).join(":")},8:"GPSSatellites",9:{name:"GPSStatus",description:e=>{const t=e.join("");return"A"===t?"Measurement in progress":"V"===t?"Measurement Interoperability":"Unknown"}},10:{name:"GPSMeasureMode",description:e=>{const t=e.join("");return"2"===t?"2-dimensional measurement":"3"===t?"3-dimensional measurement":"Unknown"}},11:"GPSDOP",12:{name:"GPSSpeedRef",description:e=>{const t=e.join("");return"K"===t?"Kilometers per hour":"M"===t?"Miles per hour":"N"===t?"Knots":"Unknown"}},13:"GPSSpeed",14:{name:"GPSTrackRef",description:e=>{const t=e.join("");return"T"===t?"True direction":"M"===t?"Magnetic direction":"Unknown"}},15:"GPSTrack",16:{name:"GPSImgDirectionRef",description:e=>{const t=e.join("");return"T"===t?"True direction":"M"===t?"Magnetic direction":"Unknown"}},17:"GPSImgDirection",18:"GPSMapDatum",19:{name:"GPSDestLatitudeRef",description:e=>{const t=e.join("");return"N"===t?"North latitude":"S"===t?"South latitude":"Unknown"}},20:{name:"GPSDestLatitude",description:e=>e[0]+e[1]/60+e[2]/3600},21:{name:"GPSDestLongitudeRef",description:e=>{const t=e.join("");return"E"===t?"East longitude":"W"===t?"West longitude":"Unknown"}},22:{name:"GPSDestLongitude",description:e=>e[0]+e[1]/60+e[2]/3600},23:{name:"GPSDestBearingRef",description:e=>{const t=e.join("");return"T"===t?"True direction":"M"===t?"Magnetic direction":"Unknown"}},24:"GPSDestBearing",25:{name:"GPSDestDistanceRef",description:e=>{const t=e.join("");return"K"===t?"Kilometers":"M"===t?"Miles":"N"===t?"Knots":"Unknown"}},26:"GPSDestDistance",27:{name:"GPSProcessingMethod",description:Ee},28:{name:"GPSAreaInformation",description:Ee},29:"GPSDateStamp",30:{name:"GPSDifferential",description:e=>0===e?"Measurement without differential correction":1===e?"Differential correction applied":"Unknown"},31:"GPSHPositioningError"},Le={1:"InteroperabilityIndex",2:{name:"InteroperabilityVersion",description:e=>Fe(e)},4096:"RelatedImageFileFormat",4097:"RelatedImageWidth",4098:"RelatedImageHeight"};const Ge=a({},Re,Me);var je={"0th":Ge,exif:Ge,gps:xe,interoperability:Le};const Be="Exif IFD Pointer",ze="GPS Info IFD Pointer",We="Interoperability IFD Pointer",Ve={1:ve.getByteAt,2:ve.getAsciiAt,3:ve.getShortAt,4:ve.getLongAt,5:ve.getRationalAt,7:ve.getUndefinedAt,9:ve.getSlongAt,10:ve.getSrationalAt,13:ve.getIfdPointerAt};var _e={read:He};function He(e,t){const n=l.getByteOrder(e,t);let r=Ke(e,t,n);return r=$e(r,e,t,n),r=Xe(r,e,t,n),r=qe(r,e,t,n),r}function Ke(e,t,n){return Je(e,"0th",t,Ye(e,t,n),n)}function Ye(e,t,n){return t+ve.getLongAt(e,t+4,n)}function $e(e,t,n,r){return void 0!==e[Be]?a(e,Je(t,"exif",n,n+e[Be].value,r)):e}function Xe(e,t,n,r){return void 0!==e[ze]?a(e,Je(t,"gps",n,n+e[ze].value,r)):e}function qe(e,t,n,r){return void 0!==e[We]?a(e,Je(t,"interoperability",n,n+e[We].value,r)):e}function Je(e,t,n,r,i){const o=ve.getTypeSize("SHORT"),a=12,s={},c=ve.getShortAt(e,r,i);r+=o;for(let u=0;u<c;u++){const o=Ze(e,t,n,r,i);void 0!==o&&(s[o.name]={id:o.id,value:o.value,description:o.description}),r+=a}return s}function Ze(e,t,n,r,i){const o=ve.getTypeSize("SHORT"),a=o+ve.getTypeSize("SHORT"),s=a+ve.getTypeSize("LONG"),c=ve.getShortAt(e,r,i),u=ve.getShortAt(e,r+o,i),d=ve.getLongAt(e,r+a,i);let l;if(void 0!==ve.typeSizes[u]){if(Qe(u,d))l=et(e,r+s,u,d,i);else{const t=ve.getLongAt(e,r+s,i);l=tt(e,n,t,u,d)?et(e,n+t,u,d,i):"<faulty value>"}if(u===ve.tagTypes["ASCII"]&&(l=nt(l),l=rt(l)),void 0!==je[t][c]){let e,n;if(void 0!==je[t][c]["name"]&&void 0!==je[t][c]["description"]){e=je[t][c]["name"];try{n=je[t][c]["description"](l)}catch(f){n=it(l)}}else e=je[t][c],n=it(l);return{id:c,name:e,value:l,description:n}}return{id:c,name:"undefined-"+c,value:l,description:l}}}function Qe(e,t){return ve.typeSizes[e]*t<=ve.getTypeSize("LONG")}function et(e,t,n,r,i){let o=[];for(let a=0;a<r;a++)o.push(Ve[n](e,t,i)),t+=ve.typeSizes[n];return n===ve.tagTypes["ASCII"]?o=ve.getAsciiValue(o):1===o.length&&(o=o[0]),o}function tt(e,t,n,r,i){return t+n+ve.typeSizes[r]*i<=e.byteLength}function nt(e){const t=[];let n=0;for(const r of e)"\0"!==r?(void 0===t[n]&&(t[n]=""),t[n]+=r):n++;return t}function rt(e){try{return e.map(e=>decodeURIComponent(escape(e)))}catch(t){return e}}function it(e){return e instanceof Array?e.join(", "):e}var ot={read:at};function at(e,t){const n=st(e,t),r=lt(e,t,n);return{"Bits Per Sample":ct(e,t,n),"Image Height":ut(e,t,n),"Image Width":dt(e,t,n),"Color Components":r,Subsampling:r&&ft(e,t,r.value,n)}}function st(e,t){return ve.getShortAt(e,t)}function ct(e,t,n){const r=2,i=1;if(r+i>n)return;const o=ve.getByteAt(e,t+r);return{value:o,description:""+o}}function ut(e,t,n){const r=3,i=2;if(r+i>n)return;const o=ve.getShortAt(e,t+r);return{value:o,description:o+"px"}}function dt(e,t,n){const r=5,i=2;if(r+i>n)return;const o=ve.getShortAt(e,t+r);return{value:o,description:o+"px"}}function lt(e,t,n){const r=7,i=1;if(r+i>n)return;const o=ve.getByteAt(e,t+r);return{value:o,description:""+o}}function ft(e,t,n,r){const i=8,o=3*n;if(i+o>r)return;const a=[];for(let s=0;s<n;s++){const n=t+i+3*s;a.push([ve.getByteAt(e,n),ve.getByteAt(e,n+1),ve.getByteAt(e,n+2)])}return{value:a,description:a.length>1?pt(a)+mt(a):""}}function pt(e){const t={1:"Y",2:"Cb",3:"Cr",4:"I",5:"Q"};return e.map(e=>t[e[0]]).join("")}function mt(e){const t={17:"4:4:4 (1 1)",18:"4:4:0 (1 2)",20:"4:4:1 (1 4)",33:"4:2:2 (2 1)",34:"4:2:0 (2 2)",36:"4:2:1 (2 4)",65:"4:1:1 (4 1)",66:"4:1:0 (4 2)"};return 0===e.length||void 0===e[0][1]||void 0===t[e[0][1]]?"":t[e[0][1]]}var gt={iptc:{256:{name:"Model Version",description:e=>((e[0]<<8)+e[1]).toString()},261:{name:"Destination",repeatable:!0},276:{name:"File Format",description:e=>((e[0]<<8)+e[1]).toString()},278:{name:"File Format Version",description:e=>((e[0]<<8)+e[1]).toString()},286:"Service Identifier",296:"Envelope Number",306:"Product ID",316:"Envelope Priority",326:{name:"Date Sent",description:ht},336:{name:"Time Sent",description:St},346:{name:"Coded Character Set",description:bt,encoding_name:bt},356:"UNO",376:{name:"ARM Identifier",description:e=>((e[0]<<8)+e[1]).toString()},378:{name:"ARM Version",description:e=>((e[0]<<8)+e[1]).toString()},512:{name:"Record Version",description:e=>((e[0]<<8)+e[1]).toString()},515:"Object Type Reference",516:"Object Attribute Reference",517:"Object Name",519:"Edit Status",520:{name:"Editorial Update",description:e=>"01"===Fe(e)?"Additional Language":"Unknown"},522:"Urgency",524:{name:"Subject Reference",repeatable:!0,description:e=>{const t=Fe(e).split(":");return t[2]+(t[3]?"/"+t[3]:"")+(t[4]?"/"+t[4]:"")}},527:"Category",532:{name:"Supplemental Category",repeatable:!0},534:"Fixture Identifier",537:{name:"Keywords",repeatable:!0},538:{name:"Content Location Code",repeatable:!0},539:{name:"Content Location Name",repeatable:!0},542:"Release Date",547:"Release Time",549:"Expiration Date",550:"Expiration Time",552:"Special Instructions",554:{name:"Action Advised",description:e=>{const t=Fe(e);return"01"===t?"Object Kill":"02"===t?"Object Replace":"03"===t?"Object Append":"04"===t?"Object Reference":"Unknown"}},557:{name:"Reference Service",repeatable:!0},559:{name:"Reference Date",repeatable:!0},562:{name:"Reference Number",repeatable:!0},567:{name:"Date Created",description:ht},572:{name:"Time Created",description:St},574:{name:"Digital Creation Date",description:ht},575:{name:"Digital Creation Time",description:St},577:"Originating Program",582:"Program Version",587:{name:"Object Cycle",description:e=>{const t=Fe(e);return"a"===t?"morning":"p"===t?"evening":"b"===t?"both":"Unknown"}},592:{name:"By-line",repeatable:!0},597:{name:"By-line Title",repeatable:!0},602:"City",604:"Sub-location",607:"Province/State",612:"Country/Primary Location Code",613:"Country/Primary Location Name",615:"Original Transmission Reference",617:"Headline",622:"Credit",627:"Source",628:"Copyright Notice",630:{name:"Contact",repeatable:!0},632:"Caption/Abstract",634:{name:"Writer/Editor",repeatable:!0},637:{name:"Rasterized Caption",description:e=>e},642:"Image Type",643:{name:"Image Orientation",description:e=>{const t=Fe(e);return"P"===t?"Portrait":"L"===t?"Landscape":"S"===t?"Square":"Unknown"}},647:"Language Identifier",662:{name:"Audio Type",description:e=>{const t=Fe(e),n=t.charAt(0),r=t.charAt(1);let i="";return"1"===n?i+="Mono":"2"===n&&(i+="Stereo"),"A"===r?i+=", actuality":"C"===r?i+=", question and answer session":"M"===r?i+=", music, transmitted by itself":"Q"===r?i+=", response to a question":"R"===r?i+=", raw sound":"S"===r?i+=", scener":"V"===r?i+=", voicer":"W"===r&&(i+=", wrap"),""!==i?i:t}},663:{name:"Audio Sampling Rate",description:e=>parseInt(Fe(e),10)+" Hz"},664:{name:"Audio Sampling Resolution",description:e=>{const t=parseInt(Fe(e),10);return t+(1===t?" bit":" bits")}},665:{name:"Audio Duration",description:e=>{const t=Fe(e);return t.length>=6?t.substr(0,2)+":"+t.substr(2,2)+":"+t.substr(4,2):t}},666:"Audio Outcue",698:"Short Document ID",699:"Unique Document ID",700:"Owner ID",712:{name:e=>2===e.length?"ObjectData Preview File Format":"Record 2 destination",description:e=>{if(2===e.length){const t=(e[0]<<8)+e[1];return 0===t?"No ObjectData":1===t?"IPTC-NAA Digital Newsphoto Parameter Record":2===t?"IPTC7901 Recommended Message Format":3===t?"Tagged Image File Format (Adobe/Aldus Image data)":4===t?"Illustrator (Adobe Graphics data)":5===t?"AppleSingle (Apple Computer Inc)":6===t?"NAA 89-3 (ANPA 1312)":7===t?"MacBinary II":8===t?"IPTC Unstructured Character Oriented File Format (UCOFF)":9===t?"United Press International ANPA 1312 variant":10===t?"United Press International Down-Load Message":11===t?"JPEG File Interchange (JFIF)":12===t?"Photo-CD Image-Pac (Eastman Kodak)":13===t?"Microsoft Bit Mapped Graphics File [*.BMP]":14===t?"Digital Audio File [*.WAV] (Microsoft & Creative Labs)":15===t?"Audio plus Moving Video [*.AVI] (Microsoft)":16===t?"PC DOS/Windows Executable Files [*.COM][*.EXE]":17===t?"Compressed Binary File [*.ZIP] (PKWare Inc)":18===t?"Audio Interchange File Format AIFF (Apple Computer Inc)":19===t?"RIFF Wave (Microsoft Corporation)":20===t?"Freehand (Macromedia/Aldus)":21===t?'Hypertext Markup Language "HTML" (The Internet Society)':22===t?"MPEG 2 Audio Layer 2 (Musicom), ISO/IEC":23===t?"MPEG 2 Audio Layer 3, ISO/IEC":24===t?"Portable Document File (*.PDF) Adobe":25===t?"News Industry Text Format (NITF)":26===t?"Tape Archive (*.TAR)":27===t?"Tidningarnas Telegrambyrå NITF version (TTNITF DTD)":28===t?"Ritzaus Bureau NITF version (RBNITF DTD)":29===t?"Corel Draw [*.CDR]":"Unknown format "+t}return Fe(e)}},713:{name:"ObjectData Preview File Format Version",description:(e,t)=>{const n={"00":{"00":"1"},"01":{"01":"1","02":"2","03":"3","04":"4"},"02":{"04":"4"},"03":{"01":"5.0","02":"6.0"},"04":{"01":"1.40"},"05":{"01":"2"},"06":{"01":"1"},11:{"01":"1.02"},20:{"01":"3.1","02":"4.0","03":"5.0","04":"5.5"},21:{"02":"2.0"}},r=Fe(e);if(t["ObjectData Preview File Format"]){const e=Fe(t["ObjectData Preview File Format"].value);if(n[e]&&n[e][r])return n[e][r]}return r}},714:"ObjectData Preview Data",1802:{name:"Size Mode",description:e=>e[0].toString()},1812:{name:"Max Subfile Size",description:e=>{let t=0;for(let n=0;n<e.length;n++)t=(t<<8)+e[n];return t.toString()}},1882:{name:"ObjectData Size Announced",description:e=>{let t=0;for(let n=0;n<e.length;n++)t=(t<<8)+e[n];return t.toString()}},1887:{name:"Maximum ObjectData Size",description:e=>{let t=0;for(let n=0;n<e.length;n++)t=(t<<8)+e[n];return t.toString()}}}};function ht(e){const t=Fe(e);return t.length>=8?t.substr(0,4)+"-"+t.substr(4,2)+"-"+t.substr(6,2):t}function St(e){const t=Fe(e);let n=t;return t.length>=6&&(n=t.substr(0,2)+":"+t.substr(2,2)+":"+t.substr(4,2),11===t.length&&(n+=t.substr(6,1)+t.substr(7,2)+":"+t.substr(9,2))),n}function bt(e){const t=Fe(e);return"%G"===t?"UTF-8":"%5"===t?"Windows-1252":"%/G"===t?"UTF-8 Level 1":"%/H"===t?"UTF-8 Level 2":"%/I"===t?"UTF-8 Level 3":"/A"===t?"ISO-8859-1":"/B"===t?"ISO-8859-2":"/C"===t?"ISO-8859-3":"/D"===t?"ISO-8859-4":"/@"===t?"ISO-8859-5":"/G"===t?"ISO-8859-6":"/F"===t?"ISO-8859-7":"/H"===t?"ISO-8859-8":"Unknown"}var vt={get:Ct};function Ct(){if("undefined"!==typeof TextDecoder)return TextDecoder}const yt=5;var It={decode:wt,TAG_HEADER_SIZE:yt};function wt(e,t){const n=vt.get();if("undefined"!==typeof n&&void 0!==e)try{return new n(e).decode(Uint8Array.from(t))}catch(i){}const r=t.map(e=>String.fromCharCode(e)).join("");return At(r)}function At(e){try{return decodeURIComponent(escape(e))}catch(t){return e}}const Pt=943868237,Ut=4,Dt=Ut+8,Tt=1028,kt=5;var Ot={read:Nt};function Nt(e,t){try{const{naaBlock:n,dataOffset:r}=Rt(e,t);return xt(e,n,r)}catch(n){return{}}}function Rt(e,t){while(t+Dt<=e.byteLength){const n=Ft(e,t);if(Et(n))return{naaBlock:n,dataOffset:t};t+=Dt+n.size+Mt(n)}throw new Error("No IPTC NAA resource block.")}function Ft(e,t){const n=10;if(e.getUint32(t,!1)!==Pt)throw new Error("Not an IPTC resource block.");return{type:e.getUint16(t+Ut,!1),size:e.getUint16(t+n,!1)}}function Et(e){return e.type===Tt}function Mt(e){return e.size%2!==0?1:0}function xt(e,t,n){const r={};let i=void 0;n+=Dt;const o=n+t["size"];while(n<o&&n<e.byteLength){const{tag:t,tagSize:o}=Lt(e,n,r,i);if(null===t)break;"encoding"in t&&(i=t.encoding),void 0===r[t.name]||void 0===t["repeatable"]?r[t.name]={id:t.id,value:t.value,description:t.description}:(r[t.name]instanceof Array||(r[t.name]=[{id:r[t.name].id,value:r[t.name].value,description:r[t.name].description}]),r[t.name].push({id:t.id,value:t.value,description:t.description})),n+=kt+o}return r}function Lt(e,t,n,r){const i=1,o=3;if(Gt(e,t))return{tag:null,tagSize:0};const a=e.getUint16(t+i,!1),s=e.getUint16(t+o,!1),c=jt(e,t+kt,s),u={id:a,name:Bt(gt["iptc"][a],a,c),value:c,description:Vt(gt["iptc"][a],c,n,r)};return Kt(a)&&(u["repeatable"]=!0),Yt(a)&&(u["encoding"]=gt["iptc"][a]["encoding_name"](c)),{tag:u,tagSize:s}}function Gt(e,t){const n=28;return e.getUint8(t)!==n}function jt(e,t,n){const r=[];for(let i=0;i<n;i++)r.push(e.getUint8(t+i));return r}function Bt(e,t,n){return e?zt(e)?e:Wt(e)?e["name"](n):e["name"]:"undefined-"+t}function zt(e){return"string"===typeof e}function Wt(e){return"function"===typeof e["name"]}function Vt(e,t,n,r){if(Ht(e))try{return e["description"](t,n)}catch(i){}return _t(e,t)?It.decode(r,t):t}function _t(e,t){return e&&t instanceof Array}function Ht(e){return e&&void 0!==e["description"]}function Kt(e){return gt["iptc"][e]&&gt["iptc"][e]["repeatable"]}function Yt(e){return gt["iptc"][e]&&void 0!==gt["iptc"][e]["encoding_name"]}var $t={"tiff:Orientation"(e){return"1"===e?"Horizontal (normal)":"2"===e?"Mirror horizontal":"3"===e?"Rotate 180":"4"===e?"Mirror vertical":"5"===e?"Mirror horizontal and rotate 270 CW":"6"===e?"Rotate 90 CW":"7"===e?"Mirror horizontal and rotate 90 CW":"8"===e?"Rotate 270 CW":e},"exif:GPSLatitude":Xt,"exif:GPSLongitude":Xt};function Xt(e){const[t,n]=e.split(",");if(void 0!==t&&void 0!==n){const e=parseFloat(t),r=parseFloat(n),i=n.charAt(n.length-1);if(!Number.isNaN(e)&&!Number.isNaN(r))return""+(e+r/60)+i}return e}var qt=n("6f37"),Jt={read:Zt};function Zt(e,t){return Qt(e,t).reduce(tn,{})}function Qt(e,t){if(0===t.length)return[];const n=[en(e,t.slice(0,1))];return t.length>1&&n.push(en(e,t.slice(1))),n}function en(e,t){const n=t.reduce((e,t)=>e+t.length,0),r=new Uint8Array(n);let i=0;for(const o of t){const t=e.buffer.slice(o.dataOffset,o.dataOffset+o.length);r.set(new Uint8Array(t),i),i+=o.length}return new DataView(r.buffer)}function tn(e,t){try{const n=nn(t),r=rn(n);return a(e,pn(on(r,!0)))}catch(n){return e}}function nn(e){const t=qt["a"].get();if(!t)throw console.warn("Warning: DOMParser is not available. It is needed to be able to parse XMP tags."),new Error;const n=new t,i=r(e,0,e.byteLength),o=n.parseFromString(i,"application/xml");if("parsererror"===o.documentElement.nodeName)throw new Error(o.documentElement.textContent);return o}function rn(e){for(let t=0;t<e.childNodes.length;t++){if("x:xmpmeta"===e.childNodes[t].tagName)return rn(e.childNodes[t]);if("rdf:RDF"===e.childNodes[t].tagName)return e.childNodes[t]}throw new Error}function on(e,t=!1){const n=an(e);return sn(n)?t?{}:cn(n[0]):un(n)}function an(e){const t=[];for(let n=0;n<e.childNodes.length;n++)t.push(e.childNodes[n]);return t}function sn(e){return 1===e.length&&"#text"===e[0].nodeName}function cn(e){return e.nodeValue}function un(e){const t={};return e.forEach(e=>{if(dn(e)){const n=ln(e);void 0!==t[e.nodeName]?(Array.isArray(t[e.nodeName])||(t[e.nodeName]=[t[e.nodeName]]),t[e.nodeName].push(n)):t[e.nodeName]=n}}),t}function dn(e){return e.nodeName&&"#text"!==e.nodeName}function ln(e){return{attributes:fn(e),value:on(e)}}function fn(e){const t={};for(let n=0;n<e.attributes.length;n++)t[e.attributes[n].nodeName]=decodeURIComponent(escape(e.attributes[n].value));return t}function pn(e){const t={};if("string"===typeof e)return e;for(const n in e){let r=e[n];Array.isArray(r)||(r=[r]),r.forEach(e=>{a(t,mn(e.attributes)),"object"===typeof e.value&&a(t,In(e.value))})}return t}function mn(e){const t={};for(const n in e)gn(n)&&(t[Sn(n)]={value:e[n],attributes:{},description:bn(e[n],n)});return t}function gn(e){return"rdf:parseType"!==e&&!hn(e)}function hn(e){return"xmlns"===e.split(":")[0]}function Sn(e){return e.split(":")[1]}function bn(e,t){if(Array.isArray(e))return vn(e);if("object"===typeof e)return Cn(e);try{return t&&"function"===typeof $t[t]?$t[t](e):decodeURIComponent(escape(e))}catch(n){return e}}function vn(e){return e.map(e=>void 0!==e.value?bn(e.value):bn(e)).join(", ")}function Cn(e){const t=[];for(const n in e)t.push(`${yn(n)}: ${e[n].value}`);return t.join("; ")}function yn(e){return"CiAdrCity"===e?"CreatorCity":"CiAdrCtry"===e?"CreatorCountry":"CiAdrExtadr"===e?"CreatorAddress":"CiAdrPcode"===e?"CreatorPostalCode":"CiAdrRegion"===e?"CreatorRegion":"CiEmailWork"===e?"CreatorWorkEmail":"CiTelWork"===e?"CreatorWorkPhone":"CiUrlWork"===e?"CreatorWorkUrl":e}function In(e){const t={};for(const n in e)hn(n)||(t[Sn(n)]=wn(e[n],n));return t}function wn(e,t){return An(e)?Pn(e,t):kn(e)?On(e,t):Nn(e)?Rn(e,t):Fn(e)?Mn(e,t):Gn(e,t)}function An(e){return"Resource"===e.attributes["rdf:parseType"]&&void 0!==e.value["rdf:value"]||void 0!==e.value["rdf:Description"]&&void 0!==e.value["rdf:Description"].value["rdf:value"]}function Pn(e,t){const n=Un(e);void 0!==e.value["rdf:Description"]&&(e=e.value["rdf:Description"]),a(n,Un(e),Dn(e));const r=Tn(e);return{value:r,attributes:n,description:bn(r,t)}}function Un(e){const t={};for(const n in e.attributes)"rdf:parseType"===n||"rdf:resource"===n||hn(n)||(t[Sn(n)]=e.attributes[n]);return t}function Dn(e){const t={};for(const n in e.value)"rdf:value"===n||hn(n)||(t[Sn(n)]=e.value[n].value);return t}function Tn(e){return jn(e.value["rdf:value"])||e.value["rdf:value"].value}function kn(e){return"Resource"===e.attributes["rdf:parseType"]||void 0!==e.value["rdf:Description"]&&void 0===e.value["rdf:Description"].value["rdf:value"]}function On(e,t){const n={value:{},attributes:{}};return void 0!==e.value["rdf:Description"]&&(a(n.value,mn(e.value["rdf:Description"].attributes)),a(n.attributes,Un(e)),e=e.value["rdf:Description"]),a(n.value,In(e.value)),n.description=bn(n.value,t),n}function Nn(e){return 0===Object.keys(e.value).length&&void 0===e.attributes["rdf:resource"]}function Rn(e,t){const n=mn(e.attributes);return{value:n,attributes:{},description:bn(n,t)}}function Fn(e){return void 0!==En(e.value)}function En(e){return e["rdf:Bag"]||e["rdf:Seq"]||e["rdf:Alt"]}function Mn(e,t){let n=En(e.value).value["rdf:li"];const r=Un(e),i=[];return void 0===n?n=[]:Array.isArray(n)||(n=[n]),n.forEach(e=>{i.push(xn(e))}),{value:i,attributes:r,description:bn(i,t)}}function xn(e){return An(e)?Pn(e):Ln(e)?In(e.value):{value:e.value,attributes:Un(e),description:bn(e.value)}}function Ln(e){return"Resource"===e.attributes["rdf:parseType"]}function Gn(e,t){const n=jn(e)||pn(e.value);return{value:n,attributes:Un(e),description:bn(n,t)}}function jn(e){return e.attributes&&e.attributes["rdf:resource"]}const Bn={desc:{name:"ICC Description"},cprt:{name:"ICC Copyright"},dmdd:{name:"ICC Device Model Description"},vued:{name:"ICC Viewing Conditions Description"},dmnd:{name:"ICC Device Manufacturer for Display"},tech:{name:"Technology"}},zn={4:{name:"Preferred CMM type",value:(e,t)=>r(e,t,4),description:e=>null!==e?_n(e):""},8:{name:"Profile Version",value:(e,t)=>e.getUint8(t).toString(10)+"."+(e.getUint8(t+1)>>4).toString(10)+"."+(e.getUint8(t+1)%16).toString(10)},12:{name:"Profile/Device class",value:(e,t)=>r(e,t,4),description:e=>{switch(e.toLowerCase()){case"scnr":return"Input Device profile";case"mntr":return"Display Device profile";case"prtr":return"Output Device profile";case"link":return"DeviceLink profile";case"abst":return"Abstract profile";case"spac":return"ColorSpace profile";case"nmcl":return"NamedColor profile";case"cenc":return"ColorEncodingSpace profile";case"mid ":return"MultiplexIdentification profile";case"mlnk":return"MultiplexLink profile";case"mvis":return"MultiplexVisualization profile";default:return e}}},16:{name:"Color Space",value:(e,t)=>r(e,t,4)},20:{name:"Connection Space",value:(e,t)=>r(e,t,4)},24:{name:"ICC Profile Date",value:(e,t)=>Wn(e,t).toISOString()},36:{name:"ICC Signature",value:(e,t)=>Vn(e.buffer.slice(t,t+4))},40:{name:"Primary Platform",value:(e,t)=>r(e,t,4),description:e=>_n(e)},48:{name:"Device Manufacturer",value:(e,t)=>r(e,t,4),description:e=>_n(e)},52:{name:"Device Model Number",value:(e,t)=>r(e,t,4)},64:{name:"Rendering Intent",value:(e,t)=>e.getUint32(t),description:e=>{switch(e){case 0:return"Perceptual";case 1:return"Relative Colorimetric";case 2:return"Saturation";case 3:return"Absolute Colorimetric";default:return e}}},80:{name:"Profile Creator",value:(e,t)=>r(e,t,4)}};function Wn(e,t){const n=e.getUint16(t),r=e.getUint16(t+2)-1,i=e.getUint16(t+4),o=e.getUint16(t+6),a=e.getUint16(t+8),s=e.getUint16(t+10);return new Date(Date.UTC(n,r,i,o,a,s))}function Vn(e){return String.fromCharCode.apply(null,new Uint8Array(e))}function _n(e){switch(e.toLowerCase()){case"appl":return"Apple";case"adbe":return"Adobe";case"msft":return"Microsoft";case"sunw":return"Sun Microsystems";case"sgi":return"Silicon Graphics";case"tgnt":return"Taligent";default:return e}}var Hn={read:er};const Kn=84,Yn=128,$n="acsp",Xn="desc",qn="mluc",Jn="text",Zn="sig ",Qn=12;function er(e,t){try{const n=t.reduce((e,t)=>e+t.length,0),r=new Uint8Array(n);let i=0;const o=e.buffer;for(let e=1;e<=t.length;e++){const n=t.find(t=>t.chunkNumber===e);if(!n)throw new Error(`ICC chunk ${e} not found`);const a=o.slice(n.offset,n.offset+n.length),s=new Uint8Array(a);r.set(s,i),i+=s.length}return rr(new DataView(r.buffer))}catch(n){return{}}}function tr(e){return e.length<Yn+4}function nr(e,t){return e.length<t+Qn}function rr(e){const t=e.buffer,n=e.getUint32();if(e.byteLength!==n)throw new Error("ICC profile length not matching");if(e.length<Kn)throw new Error("ICC profile too short");const o={};for(const r of Object.keys(zn)){const t=zn[r],n=t.value(e,parseInt(r,10));let i=n;t.description&&(i=t.description(n)),o[t.name]={value:n,description:i}}const a=ir(t.slice(36,40));if(a!==$n)throw new Error("ICC profile: missing signature");if(tr(t))return o;const s=e.getUint32(128);let c=132;for(let u=0;u<s;u++){if(nr(t,c))return o;const n=r(e,c,4),a=e.getUint32(c+4),s=e.getUint32(c+8);if(a>t.length)return o;const u=r(e,a,4);if(u===Xn){const r=e.getUint32(a+8);if(r>s)return o;const i=ir(t.slice(a+12,a+r+11));or(o,n,i)}else if(u===qn){const t=e.getUint32(a+8),s=e.getUint32(a+12);let c=a+16;const u=[];for(let n=0;n<t;n++){const t=r(e,c+0,2),n=r(e,c+2,2),o=e.getUint32(c+4),d=e.getUint32(c+8),l=i(e,a+d,o);u.push({languageCode:t,countryCode:n,text:l}),c+=s}if(1===t)or(o,n,u[0].text);else{const e={};for(let t=0;t<u.length;t++)e[`${u[t].languageCode}-${u[t].countryCode}`]=u[t].text;or(o,n,e)}}else if(u===Jn){const e=ir(t.slice(a+8,a+s-7));or(o,n,e)}else if(u===Zn){const e=ir(t.slice(a+8,a+12));or(o,n,e)}c+=12}return o}function ir(e){return String.fromCharCode.apply(null,new Uint8Array(e))}function or(e,t,n){Bn[t]?e[Bn[t].name]={value:n,description:n}:e[t]={value:n,description:n}}function ar(e){this.name="MetadataMissingError",this.message=e||"No Exif data",this.stack=(new Error).stack}ar.prototype=new Error;var sr={MetadataMissingError:ar};t["a"]={load:cr,loadView:dr,errors:sr};function cr(e,t={expanded:!1}){return dr(ur(e),t)}function ur(e){try{return new DataView(e)}catch(t){return new s(e)}}function dr(e,t={expanded:!1}){let n=!1,r={};const{fileDataOffset:i,tiffHeaderOffset:o,iptcDataOffset:s,xmpChunks:c,iccChunks:u}=q.parseAppMarkers(e);if(lr(i)){n=!0;const o=ot.read(e,i);t.expanded?r.file=o:r=a({},r,o)}if(fr(o)){n=!0;const i=_e.read(e,o);t.expanded?r.exif=i:r=a({},r,i)}if(pr(s)){n=!0;const i=Ot.read(e,s);t.expanded?r.iptc=i:r=a({},r,i)}if(mr(c)){n=!0;const i=Jt.read(e,c);t.expanded?r.xmp=i:r=a({},r,i)}if(gr(u)){n=!0;const i=Hn.read(e,u);t.expanded?r.icc=i:r=a({},r,i)}if(!n)throw new sr.MetadataMissingError;return r}function lr(e){return void 0!==e}function fr(e){return void 0!==e}function pr(e){return void 0!==e}function mr(e){return Array.isArray(e)&&e.length>0}function gr(e){return Array.isArray(e)&&e.length>0}},f8af4:function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return c}));var r=n("b775"),i={profiles:"/profiles"};function o(e){return Object(r["b"])({url:i.profiles,method:"get",params:e})}function a(e){var t=i.profiles;return 0!==e.id&&(t+="/".concat(e.id)),Object(r["b"])({url:t,method:0===e.id?"post":"put",data:e})}function s(e){return e&&e instanceof Array&&e.length?Object(r["b"])({url:i.profiles,method:"get",params:{ids:e}}):e?Object(r["b"])({url:i.profiles+"/"+e,method:"get"}):void 0}function c(e){return e&&e instanceof Array&&e.length?Object(r["b"])({url:i.profiles,method:"delete",data:{ids:e}}):e?Object(r["b"])({url:i.profiles+"/"+e,method:"delete"}):void 0}}}]);