1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2543],{91573:function(e,t,n){n.d(t,{Z:function(){return r}});var r=(0,n(29296).Z)("caret-down-filled","IconCaretDownFilled",[["path",{d:"M18 9c.852 0 1.297 .986 .783 1.623l-.076 .084l-6 6a1 1 0 0 1 -1.32 .083l-.094 -.083l-6 -6l-.083 -.094l-.054 -.077l-.054 -.096l-.017 -.036l-.027 -.067l-.032 -.108l-.01 -.053l-.01 -.06l-.004 -.057v-.118l.005 -.058l.009 -.06l.01 -.052l.032 -.108l.027 -.067l.07 -.132l.065 -.09l.073 -.081l.094 -.083l.077 -.054l.096 -.054l.036 -.017l.067 -.027l.108 -.032l.053 -.01l.06 -.01l.057 -.004l12.059 -.002z",fill:"currentColor",key:"svg-0",strokeWidth:"0"}]])},27514:function(e,t,n){n.d(t,{Z:function(){return r}});var r=(0,n(29296).Z)("copy","IconCopy",[["path",{d:"M7 7m0 2.667a2.667 2.667 0 0 1 2.667 -2.667h8.666a2.667 2.667 0 0 1 2.667 2.667v8.666a2.667 2.667 0 0 1 -2.667 2.667h-8.666a2.667 2.667 0 0 1 -2.667 -2.667z",key:"svg-0"}],["path",{d:"M4.012 16.737a2.005 2.005 0 0 1 -1.012 -1.737v-10c0 -1.1 .9 -2 2 -2h10c.75 0 1.158 .385 1.5 1",key:"svg-1"}]])},7196:function(e,t,n){n.d(t,{Z:function(){return r}});var r=(0,n(29296).Z)("map-pin","IconMapPin",[["path",{d:"M9 11a3 3 0 1 0 6 0a3 3 0 0 0 -6 0",key:"svg-0"}],["path",{d:"M17.657 16.657l-4.243 4.243a2 2 0 0 1 -2.827 0l-4.244 -4.243a8 8 0 1 1 11.314 0z",key:"svg-1"}]])},64594:function(e,t,n){n.d(t,{Z:function(){return r}});var r=(0,n(29296).Z)("map-pin-2","IconMapPin2",[["path",{d:"M12 18.5l-3 -1.5l-6 3v-13l6 -3l6 3l6 -3v7",key:"svg-0"}],["path",{d:"M9 4v13",key:"svg-1"}],["path",{d:"M15 7v5",key:"svg-2"}],["path",{d:"M21.121 20.121a3 3 0 1 0 -4.242 0c.418 .419 1.125 1.045 2.121 1.879c1.051 -.89 1.759 -1.516 2.121 -1.879z",key:"svg-3"}],["path",{d:"M19 18v.01",key:"svg-4"}]])},52162:function(e,t,n){n.d(t,{Z:function(){return r}});var r=(0,n(29296).Z)("map-pin-filled","IconMapPinFilled",[["path",{d:"M18.364 4.636a9 9 0 0 1 .203 12.519l-.203 .21l-4.243 4.242a3 3 0 0 1 -4.097 .135l-.144 -.135l-4.244 -4.243a9 9 0 0 1 12.728 -12.728zm-6.364 3.364a3 3 0 1 0 0 6a3 3 0 0 0 0 -6z",fill:"currentColor",key:"svg-0",strokeWidth:"0"}]])},8501:function(e,t,n){n.d(t,{Z:function(){return r}});var r=(0,n(29296).Z)("message-plus","IconMessagePlus",[["path",{d:"M8 9h8",key:"svg-0"}],["path",{d:"M8 13h6",key:"svg-1"}],["path",{d:"M12.01 18.594l-4.01 2.406v-3h-2a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v5.5",key:"svg-2"}],["path",{d:"M16 19h6",key:"svg-3"}],["path",{d:"M19 16v6",key:"svg-4"}]])},98355:function(e,t,n){n.d(t,{Z:function(){return r}});var r=(0,n(29296).Z)("message-report","IconMessageReport",[["path",{d:"M18 4a3 3 0 0 1 3 3v8a3 3 0 0 1 -3 3h-5l-5 3v-3h-2a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3h12z",key:"svg-0"}],["path",{d:"M12 8v3",key:"svg-1"}],["path",{d:"M12 14v.01",key:"svg-2"}]])},56036:function(e,t,n){n.d(t,{Z:function(){return r}});var r=(0,n(29296).Z)("photo","IconPhoto",[["path",{d:"M15 8h.01",key:"svg-0"}],["path",{d:"M3 6a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v12a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3v-12z",key:"svg-1"}],["path",{d:"M3 16l5 -5c.928 -.893 2.072 -.893 3 0l5 5",key:"svg-2"}],["path",{d:"M14 14l1 -1c.928 -.893 2.072 -.893 3 0l3 3",key:"svg-3"}]])},49105:function(e,t,n){n.d(t,{Z:function(){return r}});var r=(0,n(29296).Z)("search","IconSearch",[["path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0",key:"svg-0"}],["path",{d:"M21 21l-6 -6",key:"svg-1"}]])},20083:function(e,t,n){n.d(t,{Z:function(){return r}});var r=(0,n(29296).Z)("shield-exclamation","IconShieldExclamation",[["path",{d:"M15.04 19.745c-.942 .551 -1.964 .976 -3.04 1.255a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3a12 12 0 0 0 8.5 3a12 12 0 0 1 .195 6.015",key:"svg-0"}],["path",{d:"M19 16v3",key:"svg-1"}],["path",{d:"M19 22v.01",key:"svg-2"}]])},62681:function(e,t,n){n.d(t,{Z:function(){return r}});var r=(0,n(29296).Z)("sparkles","IconSparkles",[["path",{d:"M16 18a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2zm0 -12a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2zm-7 12a6 6 0 0 1 6 -6a6 6 0 0 1 -6 -6a6 6 0 0 1 -6 6a6 6 0 0 1 6 6z",key:"svg-0"}]])},18413:function(e,t,n){n.d(t,{Z:function(){return r}});var r=(0,n(29296).Z)("thumb-up","IconThumbUp",[["path",{d:"M7 11v8a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1v-7a1 1 0 0 1 1 -1h3a4 4 0 0 0 4 -4v-1a2 2 0 0 1 4 0v5h3a2 2 0 0 1 2 2l-1 5a2 3 0 0 1 -2 2h-7a3 3 0 0 1 -3 -3",key:"svg-0"}]])},19351:function(e,t,n){n.d(t,{Z:function(){return r}});var r=(0,n(29296).Z)("tool","IconTool",[["path",{d:"M7 10h3v-3l-3.5 -3.5a6 6 0 0 1 8 8l6 6a2 2 0 0 1 -3 3l-6 -6a6 6 0 0 1 -8 -8l3.5 3.5",key:"svg-0"}]])},14009:function(e,t,n){n.d(t,{Z:function(){return r}});var r=(0,n(29296).Z)("trash-x","IconTrashX",[["path",{d:"M4 7h16",key:"svg-0"}],["path",{d:"M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12",key:"svg-1"}],["path",{d:"M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3",key:"svg-2"}],["path",{d:"M10 12l4 4m0 -4l-4 4",key:"svg-3"}]])},71594:function(e,t,n){n.d(t,{Z:function(){return r}});var r=(0,n(29296).Z)("user","IconUser",[["path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0",key:"svg-0"}],["path",{d:"M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2",key:"svg-1"}]])},98026:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(61755);function i(e){return!function(e,t){if(t.length<1)throw TypeError("1 argument required, but only "+t.length+" present")}(1,arguments),e instanceof Date||"object"===(0,r.Z)(e)&&"[object Date]"===Object.prototype.toString.call(e)}},75505:function(e,t,n){n.d(t,{ZP:function(){return tM}});
1class r{constructor(e){if("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)throw 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)}}var i=n(29228).Buffer;function o(e,t,n){try{return new DataView(e,t,n)}catch(i){return new r(e,t,n)}}function a(e,t,n){let r=[];for(let i=0;i<n&&t+i<e.byteLength;i++)r.push(e.getUint8(t+i));return s(r)}function u(e,t){let n=[],r=0;for(;t+r<e.byteLength;){let i=e.getUint8(t+r);if(0===i)break;n.push(i),r++}return s(n)}function l(e,t){let n=e.getUint8(t),r=a(e,t+1,n);return[n,r]}function s(e){return e.map(e=>String.fromCharCode(e)).join("")}function f(){for(let e=1;e<arguments.length;e++)for(let t in arguments[e])arguments[0][t]=arguments[e][t];return arguments[0]}function c(e,t,n){let r=!1;Object.defineProperty(e,t,{get:()=>(r||(r=!0,Object.defineProperty(e,t,{configurable:!0,enumerable:!0,value:n.apply(e),writable:!0})),e[t]),configurable:!0,enumerable:!0})}function d(e){return"undefined"!=typeof btoa?"string"==typeof e?btoa(e):btoa(Array.prototype.reduce.call(new Uint8Array(e),(e,t)=>e+String.fromCharCode(t),"")):void 0===i?void 0:void 0!==i.from?i.from(e).toString("base64"):new i(e).toString("base64")}function p(e,t){return Array(t+1).join(e)}let g=void 0;function m(e,t,n,r="string"){if(0===t&&"function"==typeof DecompressionStream){let t=new DecompressionStream("deflate"),i=new Blob([e]).stream().pipeThrough(t);return"dataview"===r?new Response(i).arrayBuffer().then(e=>new DataView(e)):new Response(i).arrayBuffer().then(e=>new TextDecoder(n).decode(e))}return void 0!==t?Promise.reject(`Unknown compression method ${t}.`):e}var h={USE_FILE:!0,USE_JFIF:!0,USE_PNG_FILE:!0,USE_EXIF:!0,USE_IPTC:!0,USE_XMP:!0,USE_ICC:!0,USE_MPF:!0,USE_PHOTOSHOP:!0,USE_THUMBNAIL:!0,USE_TIFF:!0,USE_JPEG:!0,USE_PNG:!0,USE_HEIC:!0,USE_AVIF:!0,USE_WEBP:!0,USE_GIF:!0};function S(e){return e.map(e=>String.fromCharCode(e)).join("")}function y(e){if(e.length>=8){let t=S(e.slice(0,8));if("ASCII\0\0\0"===t)return S(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"}function v(e){return e[0][0]/e[0][1]+e[1][0]/e[1][1]/60+e[2][0]/e[2][1]/3600}var b=function(e,t){if(18761===e.getUint16(t))return 18761;if(19789===e.getUint16(t))return 19789;throw Error("Illegal byte order value. Faulty image.")},I={isTiffFile:function(e){return!!e&&e.byteLength>=4&&function(e){let t=18761===e.getUint16(0);return 42===e.getUint16(2,t)}(e)},findTiffOffsets:function(){return h.USE_EXIF?{hasAppMarkers:!0,tiffHeaderOffset:0}:{}}},C={isJpegFile:function(e){return!!e&&e.byteLength>=2&&65496===e.getUint16(0)},findJpegOffsets:function(e){let t,n,r,i,o,u,l,s,f,c=2;for(;c+4+5<=e.byteLength;){var d,p,g,m,S,y,v;if(h.USE_FILE&&(d=c,65472===e.getUint16(d)))t=e.getUint16(c+2),n=c+2;else if(h.USE_FILE&&(p=c,65474===e.getUint16(p)))t=e.getUint16(c+2),r=c+2;else if(h.USE_JFIF&&function(e,t){let n=E.length;return 65504===e.getUint16(t)&&a(e,t+4,n)===E&&0===e.getUint8(t+4+n)}(e,c))t=e.getUint16(c+2),i=c+2;else if(h.USE_EXIF&&function(e,t){let n=x.length;return 65505===e.getUint16(t)&&a(e,t+4,n)===x&&0===e.getUint8(t+4+n)}(e,c))t=e.getUint16(c+2),o=c+10;else{if(h.USE_XMP&&(m=e,S=c,65505===m.getUint16(S)&&a(m,S+4,M.length)===M))l||(l=[]),t=e.getUint16(c+2),l.push({dataOffset:c+33,length:t-31});else{if(h.USE_XMP&&(y=e,v=c,65505===y.getUint16(v)&&a(y,v+4,F.length)===F))l||(l=[]),t=e.getUint16(c+2),l.push({dataOffset:c+79,length:t-77});else if(h.USE_IPTC&&function(e,t){let n=T.length;return 65517===e.getUint16(t)&&a(e,t+4,n)===T&&0===e.getUint8(t+4+n)}(e,c))t=e.getUint16(c+2),u=c+18;else if(h.USE_ICC&&function(e,t){let n=U.length;return 65506===e.getUint16(t)&&a(e,t+4,n)===U}(e,c)){t=e.getUint16(c+2);let n=c+18,r=t-16,i=e.getUint8(c+P),o=e.getUint8(c+A);s||(s=[]),s.push({offset:n,length:r,chunkNumber:i,chunksTotal:o})}else if(h.USE_MPF&&function(e,t){let n=w.length;return 65506===e.getUint16(t)&&a(e,t+4,n)===w}(e,c))t=e.getUint16(c+2),f=c+8;else if(function(e,t){let n=e.getUint16(t);return n>=65504&&n<=65519||65534===n||65472===n||65474===n||65476===n||65499===n||65501===n||65498===n}(e,c))t=e.getUint16(c+2);else{if(g=c,65535===e.getUint16(g)){c++;continue}break}}}c+=2+t}return{hasAppMarkers:c>2,fileDataOffset:n||r,jfifDataOffset:i,tiffHeaderOffset:o,iptcDataOffset:u,xmpChunks:l,iccChunks:s,mpfDataOffset:f}}};let U="ICC_PROFILE\0",P=4+U.length,A=P+1,w="MPF\0",E="JFIF",x="Exif",M="http://ns.adobe.com/xap/1.0/\0",F="http://ns.adobe.com/xmp/extension/\0",T="Photoshop 3.0";var k={isPngFile:function(e){return!!e&&a(e,0,O.length)===O},findPngOffsets:function(e,t){let n={hasAppMarkers:!1},r=O.length;for(;r+4+4<=e.byteLength;){if(h.USE_PNG_FILE&&"IHDR"===a(e,r+4,4))n.hasAppMarkers=!0,n.pngHeaderOffset=r+D;else{var i,o;if(h.USE_XMP&&a(i=e,(o=r)+4,4)===N&&a(i,o+D,L.length)===L){let t=function(e,t){t+=D+L.length+1+1;let n=0;for(;n<2&&t<e.byteLength;)0===e.getUint8(t)&&n++,t++;if(!(n<2))return t}(e,r);void 0!==t&&(n.hasAppMarkers=!0,n.xmpChunks=[{dataOffset:t,length:e.getUint32(r+0)-(t-(r+D))}])}else if(function(e,t,n){let r=a(e,t+4,4);return r===R||r===N||r===_&&n}(e,r,t)){n.hasAppMarkers=!0;let t=a(e,r+4,4);n.pngTextChunks||(n.pngTextChunks=[]),n.pngTextChunks.push({length:e.getUint32(r+0),type:t,offset:r+D})}else if("eXIf"===a(e,r+4,4))n.hasAppMarkers=!0,n.tiffHeaderOffset=r+D;else if(h.USE_ICC&&t&&"iCCP"===a(e,r+4,4)){n.hasAppMarkers=!0;let t=e.getUint32(r+0),i=r+D,{profileName:o,compressionMethod:a,compressedProfileOffset:l}=function(e,t){let n=u(e,t);return t+=n.length+1,{profileName:n,compressionMethod:e.getUint8(t),compressedProfileOffset:t+=1}}(e,i);n.iccChunks||(n.iccChunks=[]),n.iccChunks.push({offset:l,length:t-(l-i),chunkNumber:1,chunksTotal:1,profileName:o,compressionMethod:a})}else[G,B].includes(a(e,r+4,4))&&(n.hasAppMarkers=!0,n.pngChunkOffsets||(n.pngChunkOffsets=[]),n.pngChunkOffsets.push(r+0))}r+=e.getUint32(r+0)+4+4+4}return n}};let O="\x89PNG\r\n\x1a\n",D=8,L="XML:com.adobe.xmp\0",R="tEXt",N="iTXt",_="zTXt",G="pHYs",B="tIME";function j(e,t,n){return 4===n?e.getUint32(t):8===n?(console.warn("This file uses an 8-bit offset which is currently not supported by ExifReader. Contact the maintainer to get it fixed."),e.getUint32(t+4)):0}function z(e,t){var n;let{length:r,contentOffset:i}=function(e,t){let n=e.getUint32(t);return 0===n?{length:e.byteLength-t,contentOffset:t+4+4}:1===n&&0===e.getUint32(t+8)?{length:e.getUint32(t+12),contentOffset:t+4+4+8}:{length:n,contentOffset:t+4+4}}(e,t);if(r<8)return;let o=e.getUint32(t+4);if(1718909296===o)return{type:"ftyp",majorBrand:a(e,i,4),length:r};if(1768977008===o)return{type:"iprp",subBoxes:W(e,i,r-(i-t)),length:r};if(1768973167===o)return{type:"ipco",properties:W(e,i,r-(i-t)),length:r};if(1668246642===o)return{type:"colr",icc:function(e,t){let n=a(e,t,4);if("prof"===n||"rICC"===n)return{offset:t+4,length:e.getUint32(t+4),chunkNumber:1,chunksTotal:1}}(e,i),length:r};let l=e.getUint8(i);return 1835365473===o?{type:"meta",subBoxes:W(e,(n=i+1)+3,r-(n+3-t)),length:r}:1768714083===o?function(e,t,n,r){var i;let{offsets:o,sizes:a}=function(e,t){let n={item:{dataReferenceIndex:2,extentCount:2,extent:{}}};e<2?(n.itemCount=2,n.item.itemId=2):2===e&&(n.itemCount=4,n.item.itemId=4),1===e||2===e?n.item.constructionMethod=2:n.item.constructionMethod=0;let r={offsetSize:t,lengthSize:t,baseOffsetSize:t+1,indexSize:t+1};return r.itemCount=t+2,r.items=r.itemCount+n.itemCount,r.item={itemId:0},r.item.constructionMethod=r.item.itemId+n.item.itemId,r.item.dataReferenceIndex=r.item.constructionMethod+n.item.constructionMethod,{offsets:r,sizes:n}}(t,n+3),u=e.getUint8(o.offsetSize)>>4;a.item.extent.extentOffset=u;let l=15&e.getUint8(o.lengthSize);a.item.extent.extentLength=l;let s=e.getUint8(o.baseOffsetSize)>>4;a.item.baseOffset=s;let f=function(e,t,n){if(1===n||2===n)return 15&e.getUint8(t)}(e,o.indexSize,t);a.item.extent.extentIndex=void 0!==f?f:0;let c=(i=o.itemCount,t<2?e.getUint16(i):2===t?e.getUint32(i):void 0);return{type:"iloc",items:function(e,t,n,r,i,o,a,u){if(void 0===u)return[];let l=[],s=n.items;for(let n=0;n<u;n++){var f;let n={extents:[]};n.itemId=(f=s,t<2?e.getUint16(f):2===t?e.getUint32(f):void 0),s+=r.item.itemId,n.constructionMethod=1===t||2===t?15&e.getUint16(s):void 0,s+=r.item.constructionMethod,n.dataReferenceIndex=e.getUint16(s),s+=r.item.dataReferenceIndex,n.baseOffset=j(e,s,r.item.baseOffset),s+=r.item.baseOffset,n.extentCount=e.getUint16(s),s+=r.item.extentCount;for(let u=0;u<n.extentCount;u++){let u={};u.extentIndex=function(e,t,n,r){if((1===t||2===t)&&r>0)return j(e,n,r)}(e,t,s,a),s+=r.item.extent.extentIndex,u.extentOffset=j(e,s,i),s+=r.item.extent.extentOffset,u.extentLength=j(e,s,o),s+=r.item.extent.extentLength,n.extents.push(u)}l.push(n)}return l}(e,t,o,a,u,l,f,c),length:r}}(e,l,i+1,r):1768517222===o?function(e,t,n,r,i){let{offsets:o}=function(e,t){let n={entryCount:t+3},r={};return 0===e?r.entryCount=2:r.entryCount=4,n.itemInfos=n.entryCount+r.entryCount,{offsets:n}}(n,r);return{type:"iinf",itemInfos:W(e,o.itemInfos,i-(o.itemInfos-t)),length:i}}(e,t,l,i+1,r):1768842853===o?function(e,t,n,r,i){r+=3;let o={type:"infe",length:i};return(0===n||1===n)&&(o.itemId=e.getUint16(r),r+=2,o.itemProtectionIndex=e.getUint16(r),r+=2,o.itemName=u(e,r),r+=o.itemName.length+1),n>=2&&(2===n?(o.itemId=e.getUint16(r),r+=2):3===n&&(o.itemId=e.getUint32(r),r+=4),o.itemProtectionIndex=e.getUint16(r),r+=2,o.itemType=e.getUint32(r),r+=4,o.itemName=u(e,r),r+=o.itemName.length+1,1835625829===o.itemType?(o.contentType=u(e,r),t+i>(r+=o.contentType.length+1)&&(o.contentEncoding=u(e,r),r+=o.contentEncoding.length+1)):1970432288===o.itemType&&(o.itemUri=u(e,r),r+=o.itemUri.length+1)),o}(e,t,l,i+1,r):{type:void 0,length:r}}function $(e){if(h.USE_EXIF||h.USE_XMP||h.USE_ICC){let t={},n=function(e){let t=0;for(;t+4+4<=e.byteLength;){let n=z(e,t);if(void 0===n)break;if("meta"===n.type)return n;t+=n.length}}(e);return n?(h.USE_EXIF&&(t.tiffHeaderOffset=function(e,t){try{let n=t.subBoxes.find(e=>"iinf"===e.type).itemInfos.find(e=>1165519206===e.itemType).itemId,r=V(t,n),i=r.baseOffset+r.extents[0].extentOffset;return i+4+e.getUint32(i)}catch(e){return}}(e,n)),h.USE_XMP&&(t.xmpChunks=function(e){try{let t=e.subBoxes.find(e=>"iinf"===e.type).itemInfos.find(e=>1835625829===e.itemType&&"application/rdf+xml"===e.contentType).itemId,n=V(e,t),r=V(e,t).extents[0];return[{dataOffset:n.baseOffset+r.extentOffset,length:r.extentLength}]}catch(e){return}}(n)),h.USE_ICC&&(t.iccChunks=function(e){try{let t=e.subBoxes.find(e=>"iprp"===e.type).subBoxes.find(e=>"ipco"===e.type).properties.find(e=>"colr"===e.type).icc;if(t)return[t]}catch(e){}}(n)),t.hasAppMarkers=void 0!==t.tiffHeaderOffset||void 0!==t.xmpChunks||void 0!==t.iccChunks,t):{hasAppMarkers:!1}}return{}}function V(e,t){return e.subBoxes.find(e=>"iloc"===e.type).items.find(e=>e.itemId===t)}function W(e,t,n){let r=[1165519206,1835625829],i=[],o=t;for(;o<t+n;){let t=z(e,o);if(void 0===t)break;void 0!==t.type&&(void 0===t.itemType||-1!==r.indexOf(t.itemType))&&i.push(t),o+=t.length}return i}var H={isHeicFile:function(e){if(!e)return!1;try{let t=z(e,0);return t&&-1!==["heic","heix","hevc","hevx","heim","heis","hevm","hevs","mif1"].indexOf(t.majorBrand)}catch(e){return!1}},findHeicOffsets:function(e){return $(e)}},X={isAvifFile:function(e){if(!e)return!1;try{let t=z(e,0);return t&&"avif"===t.majorBrand}catch(e){return!1}}
1,findAvifOffsets:function(e){return $(e)}},Z={isWebpFile:function(e){let t="RIFF",n="WEBP";return!!e&&a(e,0,t.length)===t&&a(e,8,n.length)===n},findOffsets:function(e){let t,n,r,i;let o="Exif\0\0",u=12,l=!1;for(;u+8<e.byteLength;){let s=a(e,u,4),f=e.getUint32(u+4,!0);h.USE_EXIF&&"EXIF"===s?(l=!0,t=a(e,u+8,o.length)===o?u+8+o.length:u+8):h.USE_XMP&&"XMP "===s?(l=!0,n=[{dataOffset:u+8,length:f}]):h.USE_ICC&&"ICCP"===s?(l=!0,r=[{offset:u+8,length:f,chunkNumber:1,chunksTotal:1}]):"VP8X"===s&&(l=!0,i=u+8),u+=8+(f%2==0?f:f+1)}return{hasAppMarkers:l,tiffHeaderOffset:t,xmpChunks:n,iccChunks:r,vp8xChunkOffset:i}}},J={isGifFile:function(e){return!!e&&Y.includes(a(e,0,6))},findOffsets:function(){return{gifHeaderOffset:0}}};let Y=["GIF87a","GIF89a"];var K={isXMLFile:function(e){return!!e&&a(e,0,q.length)===q},findOffsets:function(e){let t=[];return t.push({dataOffset:0,length:e.byteLength}),{xmpChunks:t}}};let q="<?xpacket begin";var Q=function(e,t){if(h.USE_TIFF&&I.isTiffFile(e))return ee(I.findTiffOffsets(),"tiff","TIFF");if(h.USE_JPEG&&C.isJpegFile(e))return ee(C.findJpegOffsets(e),"jpeg","JPEG");if(h.USE_PNG&&k.isPngFile(e))return ee(k.findPngOffsets(e,t),"png","PNG");if(h.USE_HEIC&&H.isHeicFile(e))return ee(H.findHeicOffsets(e),"heic","HEIC");if(h.USE_AVIF&&X.isAvifFile(e))return ee(X.findAvifOffsets(e),"avif","AVIF");if(h.USE_WEBP&&Z.isWebpFile(e))return ee(Z.findOffsets(e),"webp","WebP");if(h.USE_GIF&&J.isGifFile(e))return ee(J.findOffsets(e),"gif","GIF");if(h.USE_XMP&&K.isXMLFile(e))return ee(K.findOffsets(e),"xml","XML");throw Error("Invalid image format")};function ee(e,t,n){return f({},e,{fileType:{value:t,description:n}})}var et={ApertureValue:e=>Math.pow(Math.sqrt(2),e[0]/e[1]).toFixed(2),ColorSpace:e=>1===e?"sRGB":65535===e?"Uncalibrated":"Unknown",ComponentsConfiguration: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(""),Contrast:e=>0===e?"Normal":1===e?"Soft":2===e?"Hard":"Unknown",CustomRendered:e=>0===e?"Normal process":1===e?"Custom process":"Unknown",ExposureMode:e=>0===e?"Auto exposure":1===e?"Manual exposure":2===e?"Auto bracket":"Unknown",ExposureProgram(e){if(0===e)return"Undefined";if(1===e)return"Manual";if(2===e)return"Normal program";if(3===e)return"Aperture priority";if(4===e)return"Shutter priority";if(5===e)return"Creative program";if(6===e)return"Action program";else if(7===e)return"Portrait mode";else if(8===e)return"Landscape mode";else if(9===e)return"Bulb";return"Unknown"},ExposureTime(e){if(e[0]/e[1]>.25){let t=e[0]/e[1];return Number.isInteger(t)?""+t:t.toFixed(1)}return 0!==e[0]?`1/${Math.round(e[1]/e[0])}`:`0/${e[1]}`},FNumber:e=>`f/${e[0]/e[1]}`,FocalLength:e=>e[0]/e[1]+" mm",FocalPlaneResolutionUnit:e=>2===e?"inches":3===e?"centimeters":"Unknown",LightSource:e=>{if(1===e)return"Daylight";if(2===e)return"Fluorescent";if(3===e)return"Tungsten (incandescent light)";if(4===e)return"Flash";if(9===e)return"Fine weather";if(10===e)return"Cloudy weather";if(11===e)return"Shade";else if(12===e)return"Daylight fluorescent (D 5700 â 7100K)";else if(13===e)return"Day white fluorescent (N 4600 â 5400K)";else if(14===e)return"Cool white fluorescent (W 3900 â 4500K)";else if(15===e)return"White fluorescent (WW 3200 â 3700K)";else if(17===e)return"Standard light A";else if(18===e)return"Standard light B";else if(19===e)return"Standard light C";else if(20===e)return"D55";else if(21===e)return"D65";else if(22===e)return"D75";else if(23===e)return"D50";else if(24===e)return"ISO studio tungsten";else if(255===e)return"Other light source";return"Unknown"},MeteringMode(e){if(1===e)return"Average";if(2===e)return"CenterWeightedAverage";if(3===e)return"Spot";if(4===e)return"MultiSpot";if(5===e)return"Pattern";if(6===e)return"Partial";if(255===e)return"Other";return"Unknown"},ResolutionUnit:e=>2===e?"inches":3===e?"centimeters":"Unknown",Saturation:e=>0===e?"Normal":1===e?"Low saturation":2===e?"High saturation":"Unknown",SceneCaptureType:e=>0===e?"Standard":1===e?"Landscape":2===e?"Portrait":3===e?"Night scene":"Unknown",Sharpness:e=>0===e?"Normal":1===e?"Soft":2===e?"Hard":"Unknown",ShutterSpeedValue(e){let t=Math.pow(2,e[0]/e[1]);return t<=1?`${Math.round(1/t)}`:`1/${Math.round(t)}`},WhiteBalance:e=>0===e?"Auto white balance":1===e?"Manual white balance":"Unknown",XResolution:e=>""+Math.round(e[0]/e[1]),YResolution:e=>""+Math.round(e[0]/e[1])}
1,en={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:{name:"XResolution",description:et.XResolution},283:{name:"YResolution",description:et.YResolution},284:"PlanarConfiguration",285:"PageName",286:{name:"XPosition",description:e=>""+Math.round(e[0]/e[1])},287:{name:"YPosition",description:e=>""+Math.round(e[0]/e[1])},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:et.ResolutionUnit},297:"PageNumber",301:"TransferFunction",305:"Software",306:"DateTime",315:"Artist",316:"HostComputer",317:"Predictor",318:{name:"WhitePoint",description:e=>e.map(e=>`${e[0]}/${e[1]}`).join(", ")},319:{name:"PrimaryChromaticities",description:e=>e.map(e=>`${e[0]}/${e[1]}`).join(", ")},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=>{let 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:{name:"YCbCrCoefficients",description:e=>e.map(e=>""+e[0]/e[1]).join("/")},530:"YCbCrSubSampling",531:{name:"YCbCrPositioning",description:e=>1===e?"centered":2===e?"co-sited":"undefined "+e},532:{name:"ReferenceBlackWhite",description:e=>e.map(e=>""+e[0]/e[1]).join(", ")},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:et.LightSource},50779:{name:"CalibrationIlluminant2",description:et.LightSource},50781:"RawDataUniqueID",50827:"OriginalRawFileName",50828:"OriginalRawFileData",50831:"AsShotICCProfile",50832:"AsShotPreProfileMatrix",50833:"CurrentICCProfile",50834:"CurrentPreProfileMatrix",50879:"C
1olorimetricReference",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"};let er=f({},en,{33434:{name:"ExposureTime",description:et.ExposureTime},33437:{name:"FNumber",description:et.FNumber},34850:{name:"ExposureProgram",description:et.ExposureProgram},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=>S(e)},36867:"DateTimeOriginal",36868:"DateTimeDigitized",36873:"GooglePlusUploadCode",36880:"OffsetTime",36881:"OffsetTimeOriginal",36882:"OffsetTimeDigitized",37121:{name:"ComponentsConfiguration",description:et.ComponentsConfiguration},37122:"CompressedBitsPerPixel",37377:{name:"ShutterSpeedValue",description:et.ShutterSpeedValue},37378:{name:"ApertureValue",description:et.ApertureValue},37379:"BrightnessValue",37380:"ExposureBiasValue",37381:{name:"MaxApertureValue",description:e=>Math.pow(Math.sqrt(2),e[0]/e[1]).toFixed(2)},37382:{name:"SubjectDistance",description:e=>e[0]/e[1]+" m"},37383:{name:"MeteringMode",description:et.MeteringMode},37384:{name:"LightSource",description:et.LightSource},37385:{name:"Flash",description:e=>{if(0===e)return"Flash did not fire";if(1===e)return"Flash fired";if(5===e)return"Strobe return light not detected";if(7===e)return"Strobe return light detected";if(9===e)return"Flash fired, compulsory flash mode";if(13===e)return"Flash fired, compulsory flash mode, return light not detected";if(15===e)return"Flash fired, compulsory flash mode, return light detected";else if(16===e)return"Flash did not fire, compulsory flash mode";else if(24===e)return"Flash did not fire, auto mode";else if(25===e)return"Flash fired, auto mode";else if(29===e)return"Flash fired, auto mode, return light not detected";else if(31===e)return"Flash fired, auto mode, return light detected";else if(32===e)return"No flash function";else if(65===e)return"Flash fired, red-eye reduction mode";else if(69===e)return"Flash fired, red-eye reduction mode, return light not detected";else if(71===e)return"Flash fired, red-eye reduction mode, return light detected";else if(73===e)return"Flash fired, compulsory flash mode, red-eye reduction mode";
1else if(77===e)return"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected";else if(79===e)return"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected";else if(89===e)return"Flash fired, auto mode, red-eye reduction mode";else if(93===e)return"Flash fired, auto mode, return light not detected, red-eye reduction mode";else if(95===e)return"Flash fired, auto mode, return light detected, red-eye reduction mode";return"Unknown"}},37386:{name:"FocalLength",description:et.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:y},37520:"SubSecTime",37521:"SubSecTimeOriginal",37522:"SubSecTimeDigitized",37724:"ImageSourceData",37888:{name:"AmbientTemperature",description:e=>e[0]/e[1]+" \xb0C"},37889:{name:"Humidity",description:e=>e[0]/e[1]+" %"},37890:{name:"Pressure",description:e=>e[0]/e[1]+" hPa"},37891:{name:"WaterDepth",description:e=>e[0]/e[1]+" m"},37892:{name:"Acceleration",description:e=>e[0]/e[1]+" mGal"},37893:{name:"CameraElevationAngle",description:e=>e[0]/e[1]+" \xb0"},40960:{name:"FlashpixVersion",description:e=>e.map(e=>String.fromCharCode(e)).join("")},40961:{name:"ColorSpace",description:et.ColorSpace},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:et.FocalPlaneResolutionUnit},41492:{name:"SubjectLocation",description:([e,t])=>`X: ${e}, Y: ${t}`},41493:"ExposureIndex",41495:{name:"SensingMethod",description:e=>{if(1===e)return"Undefined";if(2===e)return"One-chip color area sensor";if(3===e)return"Two-chip color area sensor";if(4===e)return"Three-chip color area sensor";if(5===e)return"Color sequential area sensor";if(7===e)return"Trilinear sensor";if(8===e)return"Color sequential linear sensor";return"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:et.CustomRendered},41986:{name:"ExposureMode",description:et.ExposureMode},41987:{name:"WhiteBalance",description:et.WhiteBalance},41988:{name:"DigitalZoomRatio",description:e=>0===e[0]?"Digital zoom was not used":""+e[0]/e[1]},41989:{name:"FocalLengthIn35mmFilm",description:e=>0===e?"Unknown":e},41990:{name:"SceneCaptureType",description:et.SceneCaptureType},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:et.Contrast},41993:{name:"Saturation",description:et.Saturation},41994:{name:"Sharpness",description:et.Sharpness},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:{name:"LensSpecification",description:e=>{let t=parseFloat((e[0][0]/e[0][1]).toFixed(5)),n=parseFloat((e[1][0]/e[1][1]).toFixed(5)),r=`${t}-${n} mm`;if(0===e[3][1])return`${r} f/?`;let i=1/(e[2][1]/e[2][1]/(e[3][0]/e[3][1]));return`${r} f/${parseFloat(i.toFixed(5))}`}},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"}),ei="exif",eo="interoperability";var ea={"0th":er,"1st":en,[ei]:er,gps:{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=>{let t=e.join("");return"N"===t?"North latitude":"S"===t?"South latitude":"Unknown"}},2:{name:"GPSLatitude",description:v},3:{name:"GPSLongitudeRef",description:e=>{let t=e.join("");return"E"===t?"East longitude":"W"===t?"West longitude":"Unknown"}},4:{name:"GPSLongitude",description:v},5:{name:"GPSAltitudeRef",description:e=>0===e?"Sea level":1===e?"Sea level reference (negative value)":"Unknown"},6:{name:"GPSAltitude",description:e=>e[0]/e[1]+" m"},7:{name:"GPSTimeStamp",description:e=>e.map(([e,t])=>{let n=e/t;return/^\d(\.|$)/.test(`${n}`)?`0${n}`:n}).join(":")},8:"GPSSatellites",9:{name:"GPSStatus",description:e=>{let t=e.join("");return"A"===t?"Measurement in progress":"V"===t?"Measurement Interoperability":"Unknown"}},10:{name:"GPSMeasureMode",description:e=>{let t=e.join("");return"2"===t?"2-dimensional measurement":"3"===t?"3-dimensional measurement":"Unknown"}},11:"GPSDOP",12:{name:"GPSSpeedRef",description:e=>{let 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=>{let t=e.join("");return"T"===t?"True direction":"M"===t?"Magnetic direction":"Unknown"}},15:"GPSTrack",16:{name:"GPSImgDirectionRef",description:e=>{let t=e.join("");return"T"===t?"True direction":"M"===t?"Magnetic direction":"Unknown"}},17:"GPSImgDirection",18:"GPSMapDatum",19:{name:"GPSDestLatitudeRef",description:e=>{let t=e.join("");return"N"===t?"North latitude":"S"===t?"South latitude":"Unknown"}},20:{name:"GPSDestLatitude",description:e=>e[0][0]/e[0][1]+e[1][0]/e[1][1]/60+e[2][0]/e[2][1]/3600},21:{name:"GPSDestLongitudeRef",description:e=>{let t=e.join("");return"E"===t?"East longitude":"W"===t?"West longitude":"Unknown"}}
1,22:{name:"GPSDestLongitude",description:e=>e[0][0]/e[0][1]+e[1][0]/e[1][1]/60+e[2][0]/e[2][1]/3600},23:{name:"GPSDestBearingRef",description:e=>{let t=e.join("");return"T"===t?"True direction":"M"===t?"Magnetic direction":"Unknown"}},24:"GPSDestBearing",25:{name:"GPSDestDistanceRef",description:e=>{let t=e.join("");return"K"===t?"Kilometers":"M"===t?"Miles":"N"===t?"Knots":"Unknown"}},26:"GPSDestDistance",27:{name:"GPSProcessingMethod",description:y},28:{name:"GPSAreaInformation",description:y},29:"GPSDateStamp",30:{name:"GPSDifferential",description:e=>0===e?"Measurement without differential correction":1===e?"Differential correction applied":"Unknown"},31:"GPSHPositioningError"},[eo]:{1:"InteroperabilityIndex",2:{name:"InteroperabilityVersion",description:e=>S(e)},4096:"RelatedImageFileFormat",4097:"RelatedImageWidth",4098:"RelatedImageHeight"},mpf:h.USE_MPF?{45056:{name:"MPFVersion",description:e=>S(e)},45057:"NumberOfImages",45058:"MPEntry",45059:"ImageUIDList",45060:"TotalFrames"}:{}};let eu={1:1,2:1,3:2,4:4,5:8,7:1,9:4,10:8,13:4},el={BYTE:1,ASCII:2,SHORT:3,LONG:4,RATIONAL:5,UNDEFINED:7,SLONG:9,SRATIONAL:10,IFD:13};var es={getAsciiValue:function(e){return e.map(e=>String.fromCharCode(e))},getByteAt:ef,getAsciiAt:function(e,t){return e.getUint8(t)},getShortAt:function(e,t,n){return e.getUint16(t,18761===n)},getLongAt:ec,getRationalAt:function(e,t,n){return[ec(e,t,n),ec(e,t+4,n)]},getUndefinedAt:function(e,t){return ef(e,t)},getSlongAt:ed,getSrationalAt:function(e,t,n){return[ed(e,t,n),ed(e,t+4,n)]},getIfdPointerAt:function(e,t,n){return ec(e,t,n)},typeSizes:eu,tagTypes:el,getTypeSize:function(e){if(void 0===el[e])throw Error("No such type found.");return eu[el[e]]}};function ef(e,t){return e.getUint8(t)}function ec(e,t,n){return e.getUint32(t,18761===n)}function ed(e,t,n){return e.getInt32(t,18761===n)}let ep={1:es.getByteAt,2:es.getAsciiAt,3:es.getShortAt,4:es.getLongAt,5:es.getRationalAt,7:es.getUndefinedAt,9:es.getSlongAt,10:es.getSrationalAt,13:es.getIfdPointerAt};function eg(e,t,n){return t+es.getLongAt(e,t+4,n)}function em(e,t,n,r,i,o){var a;let u=es.getTypeSize("SHORT"),l={},s=(a=r)+es.getTypeSize("SHORT")<=e.byteLength?es.getShortAt(e,a,i):0;r+=u;for(let a=0;a<s&&!(r+12>e.byteLength);a++){let a=function(e,t,n,r,i,o){let a;let u=es.getTypeSize("SHORT"),l=u+es.getTypeSize("SHORT"),s=l+es.getTypeSize("LONG"),f=es.getShortAt(e,r,i),c=es.getShortAt(e,r+u,i),d=es.getLongAt(e,r+l,i);if(void 0===es.typeSizes[c]||!o&&void 0===ea[t][f])return;if(es.typeSizes[c]*d<=es.getTypeSize("LONG"))a=eh(e,r+s,c,d,i);else{let t=es.getLongAt(e,r+s,i);a=n+t+es.typeSizes[c]*d<=e.byteLength?eh(e,n+t,c,d,i,33723===f):"<faulty value>"}c===es.tagTypes.ASCII&&(a=function(e){try{return e.map(e=>decodeURIComponent(escape(e)))}catch(t){return e}}(a=function(e){let t=[],n=0;for(let r=0;r<e.length;r++){if("\0"===e[r]){n++;continue}void 0===t[n]&&(t[n]=""),t[n]+=e[r]}return t}(a)));let p=`undefined-${f}`,g=a;if(void 0!==ea[t][f]){if(void 0!==ea[t][f].name&&void 0!==ea[t][f].description){p=ea[t][f].name;try{g=ea[t][f].description(a)}catch(e){g=eS(a)}}else c===es.tagTypes.RATIONAL||c===es.tagTypes.SRATIONAL?(p=ea[t][f],g=""+a[0]/a[1]):(p=ea[t][f],g=eS(a))}return{id:f,name:p,value:a,description:g}}(e,t,n,r,i,o);void 0!==a&&(l[a.name]={id:a.id,value:a.value,description:a.description}),r+=12}if(h.USE_THUMBNAIL&&r<e.byteLength-es.getTypeSize("LONG")){let o=es.getLongAt(e,r,i);0!==o&&"0th"===t&&(l.Thumbnail=em(e,"1st",n,n+o,i,!0))}return l}function eh(e,t,n,r,i,o=!1){let a=[];o&&(r*=es.typeSizes[n],n=es.tagTypes.BYTE);for(let o=0;o<r;o++)a.push(ep[n](e,t,i)),t+=es.typeSizes[n];return n===es.tagTypes.ASCII?a=es.getAsciiValue(a):1===a.length&&(a=a[0]),a}function eS(e){return e instanceof Array?e.join(", "):e}let ey="Exif IFD Pointer",ev="GPS Info IFD Pointer",eb="Interoperability IFD Pointer";var eI={read:function(e,t,n){var r,i,o;let a=b(e,t),u=em(e,"0th",t,eg(e,t,a),a,n);return void 0!==(o=u=void 0!==(i=u=void 0!==(r=u)[ey]?f(r,em(e,ei,t,t+r[ey].value,a,n)):r)[ev]?f(i,em(e,"gps",t,t+i[ev].value,a,n)):i)[eb]?f(o,em(e,eo,t,t+o[eb].value,a,n)):o}}
1,eC={read:function(e,t,n){let r=b(e,t),i=em(e,"mpf",t,eg(e,t,r),r,n);return function(e,t,n,r){if(!n.MPEntry)return n;let i=[];for(let s=0;s<Math.ceil(n.MPEntry.value.length/16);s++){var o,a,u,l;i[s]={};let f=eU(n.MPEntry.value,16*s,es.getTypeSize("LONG"),r);i[s].ImageFlags=function(e){let t=[e>>31&1,e>>30&1,e>>29&1],n=[];return t[0]&&n.push("Dependent Parent Image"),t[1]&&n.push("Dependent Child Image"),t[2]&&n.push("Representative Image"),{value:t,description:n.join(", ")||"None"}}(f),i[s].ImageFormat=function(e){let t=e>>24&7;return{value:t,description:0===t?"JPEG":"Unknown"}}(f),i[s].ImageType=function(e){let t=16777215&e;return{value:t,description:({196608:"Baseline MP Primary Image",65537:"Large Thumbnail (VGA equivalent)",65538:"Large Thumbnail (Full HD equivalent)",131073:"Multi-Frame Image (Panorama)",131074:"Multi-Frame Image (Disparity)",131075:"Multi-Frame Image (Multi-Angle)",0:"Undefined"})[t]||"Unknown"}}(f);let p=eU(n.MPEntry.value,16*s+4,es.getTypeSize("LONG"),r);i[s].ImageSize={value:p,description:""+p};let g=(o=s,a=n.MPEntry,u=r,l=t,0===o?0:eU(a.value,16*o+8,es.getTypeSize("LONG"),u)+l);i[s].ImageOffset={value:g,description:""+g};let m=eU(n.MPEntry.value,16*s+12,es.getTypeSize("SHORT"),r);i[s].DependentImage1EntryNumber={value:m,description:""+m};let h=eU(n.MPEntry.value,16*s+14,es.getTypeSize("SHORT"),r);i[s].DependentImage2EntryNumber={value:h,description:""+h},i[s].image=e.buffer.slice(g,g+p),c(i[s],"base64",function(){return d(this.image)})}return n.Images=i,n}(e,t,i,r)}};function eU(e,t,n,r){if(18761===r){let r=0;for(let i=0;i<n;i++)r+=e[t+i]<<8*i;return r}let i=0;for(let r=0;r<n;r++)i+=e[t+r]<<8*(n-1-r);return i}var eP={read:function(e,t){let n=es.getShortAt(e,t),r=function(e,t,n){if(8>n)return;let r=es.getByteAt(e,t+7);return{value:r,description:""+r}}(e,t,n);return{"Bits Per Sample":function(e,t,n){if(3>n)return;let r=es.getByteAt(e,t+2);return{value:r,description:""+r}}(e,t,n),"Image Height":function(e,t,n){if(5>n)return;let r=es.getShortAt(e,t+3);return{value:r,description:`${r}px`}}(e,t,n),"Image Width":function(e,t,n){if(7>n)return;let r=es.getShortAt(e,t+5);return{value:r,description:`${r}px`}}(e,t,n),"Color Components":r,Subsampling:r&&function(e,t,n,r){if(8+3*n>r)return;let i=[];for(let r=0;r<n;r++){let n=t+8+3*r;i.push([es.getByteAt(e,n),es.getByteAt(e,n+1),es.getByteAt(e,n+2)])}return{value:i,description:i.length>1?function(e){let t={1:"Y",2:"Cb",3:"Cr",4:"I",5:"Q"};return e.map(e=>t[e[0]]).join("")}(i)+function(e){let 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]]}(i):""}}(e,t,r.value,n)}}},eA={read:function(e,t){let n=es.getShortAt(e,t),r=function(e,t,n){if(15>n)return;let r=es.getByteAt(e,t+14);return{value:r,description:`${r}px`}}(e,t,n),i=function(e,t,n){if(16>n)return;let r=es.getByteAt(e,t+15);return{value:r,description:`${r}px`}}(e,t,n),o={"JFIF Version":function(e,t,n){if(9>n)return;let r=es.getByteAt(e,t+7),i=es.getByteAt(e,t+7+1);return{value:256*r+i,description:r+"."+i}}(e,t,n),"Resolution Unit":function(e,t,n){if(10>n)return;let r=es.getByteAt(e,t+9);return{value:r,description:0===r?"None":1===r?"inches":2===r?"cm":"Unknown"}}(e,t,n),XResolution:function(e,t,n){if(12>n)return;let r=es.getShortAt(e,t+10);return{value:r,description:""+r}}(e,t,n),YResolution:function(e,t,n){if(14>n)return;let r=es.getShortAt(e,t+12);return{value:r,description:""+r}}(e,t,n),"JFIF Thumbnail Width":r,"JFIF Thumbnail Height":i};if(void 0!==r&&void 0!==i){let a=function(e,t,n,r){if(0!==n&&!(16+n>r))return{value:e.buffer.slice(t+16,t+16+n),description:"<24-bit RGB pixel data>"}}(e,t,3*r.value*i.value,n);a&&(o["JFIF Thumbnail"]=a)}for(let e in o)void 0===o[e]&&delete o[e];return o}},ew={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:eE},336:{name:"Time Sent",description:ex},346:{name:"Coded Character Set",description:eM,encoding_name:eM},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"===S(e)?"Additional Language":"Unknown"},522:"Urgency",524:{name:"Subject Reference",repeatable:!0,description:e=>{let t=S(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=>{let t=S(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:eE},572:{name:"Time Created",description:ex},574:{name:"Digital Creation Date",description:eE},575:{name:"Digital Creation Time",description:ex},577:"Originating Program",582:"Program Version",587:{name:"Object Cycle",description:e=>{let t=S(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:{n
1ame:"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=>{let t=S(e);return"P"===t?"Portrait":"L"===t?"Landscape":"S"===t?"Square":"Unknown"}},647:"Language Identifier",662:{name:"Audio Type",description:e=>{let t=S(e),n=t.charAt(0),r=t.charAt(1),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(S(e),10)+" Hz"},664:{name:"Audio Sampling Resolution",description:e=>{let t=parseInt(S(e),10);return t+(1===t?" bit":" bits")}},665:{name:"Audio Duration",description:e=>{let t=S(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){let t=(e[0]<<8)+e[1];if(0===t)return"No ObjectData";if(1===t)return"IPTC-NAA Digital Newsphoto Parameter Record";if(2===t)return"IPTC7901 Recommended Message Format";if(3===t)return"Tagged Image File Format (Adobe/Aldus Image data)";else if(4===t)return"Illustrator (Adobe Graphics data)";else if(5===t)return"AppleSingle (Apple Computer Inc)";else if(6===t)return"NAA 89-3 (ANPA 1312)";else if(7===t)return"MacBinary II";else if(8===t)return"IPTC Unstructured Character Oriented File Format (UCOFF)";else if(9===t)return"United Press International ANPA 1312 variant";else if(10===t)return"United Press International Down-Load Message";else if(11===t)return"JPEG File Interchange (JFIF)";else if(12===t)return"Photo-CD Image-Pac (Eastman Kodak)";else if(13===t)return"Microsoft Bit Mapped Graphics File [*.BMP]";else if(14===t)return"Digital Audio File [*.WAV] (Microsoft & Creative Labs)";else if(15===t)return"Audio plus Moving Video [*.AVI] (Microsoft)";else if(16===t)return"PC DOS/Windows Executable Files [*.COM][*.EXE]";else if(17===t)return"Compressed Binary File [*.ZIP] (PKWare Inc)";else if(18===t)return"Audio Interchange File Format AIFF (Apple Computer Inc)";else if(19===t)return"RIFF Wave (Microsoft Corporation)";else if(20===t)return"Freehand (Macromedia/Aldus)";else if(21===t)return'Hypertext Markup Language "HTML" (The Internet Society)';else if(22===t)return"MPEG 2 Audio Layer 2 (Musicom), ISO/IEC";else if(23===t)return"MPEG 2 Audio Layer 3, ISO/IEC";else if(24===t)return"Portable Document File (*.PDF) Adobe";else if(25===t)return"News Industry Text Format (NITF)";else if(26===t)return"Tape Archive (*.TAR)";else if(27===t)return"Tidningarnas Telegrambyr\xe5 NITF version (TTNITF DTD)";else if(28===t)return"Ritzaus Bureau NITF version (RBNITF DTD)";else if(29===t)return"Corel Draw [*.CDR]";return`Unknown format ${t}`}return S(e)}},713:{name:"ObjectData Preview File Format Version",description:(e,t)=>{let 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=S(e);if(t["ObjectData Preview File Format"]){let e=S(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 eE(e){let t=S(e);return t.length>=8?t.substr(0,4)+"-"+t.substr(4,2)+"-"+t.substr(6,2):t}function ex(e){let t=S(e),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 eM(e){let t=S(e);if("\x1b%G"===t)return"UTF-8";if("\x1b%5"===t)return"Windows-1252";if("\x1b%/G"===t)return"UTF-8 Level 1";if("\x1b%/H"===t)return"UTF-8 Level 2";if("\x1b%/I"===t)return"UTF-8 Level 3";if("\x1b/A"===t)return"ISO-8859-1";if("\x1b/B"===t)return"ISO-8859-2";else if("\x1b/C"===t)return"ISO-8859-3";else if("\x1b/D"===t)return"ISO-8859-4";else if("\x1b/@"===t)return"ISO-8859-5";else if("\x1b/G"===t)return"ISO-8859-6";else if("\x1b/F"===t)return"ISO-8859-7";else if("\x1b/H"===t)return"ISO-8859-8";return"Unknown"}var eF=function(){if("undefined"!=typeof TextDecoder)return TextDecoder},eT={decode:function(e,t){let n=eF();if(void 0!==n&&void 0!==e)try{return new n(e).decode(t instanceof DataView?t.buffer:Uint8Array.from(t))}catch(e){}return function(e){try{return decodeURIComponent(escape(e))}catch(t){return e}}(t.map(e=>String.fromCharCode(e)).join(""))}},ek={read:function(e,t,n){try{if(Array.isArray(e))return eO(new DataView(Uint8Array.from(e).buffer),{size:e.length},0,n);let{naaBlock:r,dataOffset:i}=function(e,t){for(;t+12<=e.byteLength;){let n=function(e,t){if(943868237!==e.getUint32(t,!1))throw Error("Not an IPTC resource block.");return{type:e.getUint16(t+4),size:e.getUint16(t+10)}}(e,t);if(1028===n.type)return{naaBlock:n,dataOffset:t+12};t+=12+n.size+(n.size%2!=0?1:0)}throw Error("No IPTC NAA resource block.")}(e,t);return eO(e,r,i,n)}catch(e){return{}}}};function eO(e,t,n,r){let i;let o={},a=n+t.size;
1for(;n<a&&n<e.byteLength;){let{tag:t,tagSize:a}=function(e,t,n,r,i){var o,a,u;if(28!==e.getUint8(t))return{tag:null,tagSize:0};let l=e.getUint16(t+1),s=e.getUint16(t+3);if(!i&&!ew.iptc[l])return{tag:void 0,tagSize:s};let f=function(e,t,n){let r=[];for(let i=0;i<n;i++)r.push(e.getUint8(t+i));return r}(e,t+5,s),c={id:l,name:(o=ew.iptc[l],a=l,u=f,o?"string"==typeof o?o:"function"==typeof o.name?o.name(u):o.name:`undefined-${a}`),value:f,description:function(e,t,n,r){if(e&&void 0!==e.description)try{return e.description(t,n)}catch(e){}return e&&t instanceof Array?eT.decode(r,t):t}(ew.iptc[l],f,n,r)};return ew.iptc[l]&&ew.iptc[l].repeatable&&(c.repeatable=!0),ew.iptc[l]&&void 0!==ew.iptc[l].encoding_name&&(c.encoding=ew.iptc[l].encoding_name(f)),{tag:c,tagSize:s}}(e,n,o,i,r);if(null===t)break;t&&("encoding"in t&&(i=t.encoding),void 0===o[t.name]||void 0===t.repeatable?o[t.name]={id:t.id,value:t.value,description:t.description}:(o[t.name]instanceof Array||(o[t.name]=[{id:o[t.name].id,value:o[t.name].value,description:o[t.name].description}]),o[t.name].push({id:t.id,value:t.value,description:t.description}))),n+=5+a}return o}var eD={"tiff:Orientation":e=>"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,"tiff:ResolutionUnit":e=>et.ResolutionUnit(parseInt(e,10)),"tiff:XResolution":e=>eL(et.XResolution,e),"tiff:YResolution":e=>eL(et.YResolution,e),"exif:ApertureValue":e=>eL(et.ApertureValue,e),"exif:GPSLatitude":eN,"exif:GPSLongitude":eN,"exif:FNumber":e=>eL(et.FNumber,e),"exif:FocalLength":e=>eL(et.FocalLength,e),"exif:FocalPlaneResolutionUnit":e=>et.FocalPlaneResolutionUnit(parseInt(e,10)),"exif:ColorSpace":e=>et.ColorSpace("0x"===e.substring(0,2)?parseInt(e.substring(2),16):parseInt(e,10)),"exif:ComponentsConfiguration"(e,t){if(/^\d, \d, \d, \d$/.test(t)){let e=t.split(", ").map(e=>e.charCodeAt(0));return et.ComponentsConfiguration(e)}return t},"exif:Contrast":e=>et.Contrast(parseInt(e,10)),"exif:CustomRendered":e=>et.CustomRendered(parseInt(e,10)),"exif:ExposureMode":e=>et.ExposureMode(parseInt(e,10)),"exif:ExposureProgram":e=>et.ExposureProgram(parseInt(e,10)),"exif:ExposureTime":e=>eR(e)?et.ExposureTime(e.split("/").map(e=>parseInt(e,10))):e,"exif:MeteringMode":e=>et.MeteringMode(parseInt(e,10)),"exif:Saturation":e=>et.Saturation(parseInt(e,10)),"exif:SceneCaptureType":e=>et.SceneCaptureType(parseInt(e,10)),"exif:Sharpness":e=>et.Sharpness(parseInt(e,10)),"exif:ShutterSpeedValue":e=>eL(et.ShutterSpeedValue,e),"exif:WhiteBalance":e=>et.WhiteBalance(parseInt(e,10))};function eL(e,t){return eR(t)?e(t.split("/")):t}function eR(e){return/^-?\d+\/-?\d+$/.test(e)}function eN(e){let[t,n]=e.split(",");if(void 0!==t&&void 0!==n){let 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 e_=function(){if("undefined"!=typeof DOMParser)return new DOMParser;try{return new(require("@xmldom/xmldom")).DOMParser({errorHandler:{error:()=>{throw Error("Faulty XML")}}})}catch(e){return}},eG={read:function(e,t){let n={};if("string"==typeof e)return ej(n,e),n;let[r,i]=function(e,t){if(0===t.length)return[];let n=[eB(e,t.slice(0,1))];return t.length>1&&n.push(eB(e,t.slice(1))),n}(e,t),o=ej(n,r);if(i){let r=ej(n,i);o||r||(delete n._raw,ej(n,eB(e,t)))}return n}};function eB(e,t){let n=new Uint8Array(t.reduce((e,t)=>e+t.length,0)),r=0;for(let i=0;i<t.length;i++){let o=t[i],a=e.buffer.slice(o.dataOffset,o.dataOffset+o.length);n.set(new Uint8Array(a),r),r+=o.length}return new DataView(n.buffer)}function ej(e,t){try{let{doc:n,raw:r}=function(e){let t=e_();if(!t)throw console.warn("Warning: DOMParser is not available. It is needed to be able to parse XMP tags."),Error();let n="string"==typeof e?e:a(e,0,e.byteLength),r=t.parseFromString(n.replace(/^.+(<\?xpacket begin)/,"$1").replace(/(<\?xpacket end=".*"\?>).+$/,"$1"),"application/xml");if("parsererror"===r.documentElement.nodeName)throw Error(r.documentElement.textContent);return{doc:r,raw:n}}(t);e._raw=(e._raw||"")+r;let i=function e(t){for(let n=0;n<t.childNodes.length;n++){if("x:xmpmeta"===t.childNodes[n].tagName)return e(t.childNodes[n]);if("rdf:RDF"===t.childNodes[n].tagName)return t.childNodes[n]}throw Error()}(n);return f(e,ez(function e(t,n=!1){let r=function(e){let t=[];for(let n=0;n<e.childNodes.length;n++)t.push(e.childNodes[n]);return t}(t);return 1===r.length&&"#text"===r[0].nodeName?n?{}:r[0].nodeValue:function(t){let n={};return t.forEach(t=>
1{if(t.nodeName&&"#text"!==t.nodeName){let r={attributes:function(e){let t={};for(let n=0;n<e.attributes.length;n++)t[e.attributes[n].nodeName]=decodeURIComponent(escape(e.attributes[n].value));return t}(t),value:e(t)};void 0!==n[t.nodeName]?(Array.isArray(n[t.nodeName])||(n[t.nodeName]=[n[t.nodeName]]),n[t.nodeName].push(r)):n[t.nodeName]=r}}),n}(r)}(i,!0))),!0}catch(e){return!1}}function ez(e){let t={};if("string"==typeof e)return e;for(let n in e){let r=e[n];Array.isArray(r)||(r=[r]),r.forEach(e=>{f(t,e$(e.attributes)),"object"==typeof e.value&&f(t,eX(e.value))})}return t}function e$(e){let t={};for(let n in e)try{"rdf:parseType"===n||eV(n)||(t[eW(n)]={value:e[n],attributes:{},description:eH(e[n],n)})}catch(e){}return t}function eV(e){return"xmlns"===e.split(":")[0]}function eW(e){return/^MicrosoftPhoto(_\d+_)?:Rating$/i.test(e)?"RatingPercent":e.split(":")[1]}function eH(e,t){if(Array.isArray(e)){let n=e.map(e=>void 0!==e.value?eH(e.value):eH(e)).join(", ");return t&&"function"==typeof eD[t]?eD[t](e,n):n}if("object"==typeof e)return function(e){let t=[];for(let n in e)t.push(`${"CiAdrCity"===n?"CreatorCity":"CiAdrCtry"===n?"CreatorCountry":"CiAdrExtadr"===n?"CreatorAddress":"CiAdrPcode"===n?"CreatorPostalCode":"CiAdrRegion"===n?"CreatorRegion":"CiEmailWork"===n?"CreatorWorkEmail":"CiTelWork"===n?"CreatorWorkPhone":"CiUrlWork"===n?"CreatorWorkUrl":n}: ${eH(e[n].value)}`);return t.join("; ")}(e);try{if(t&&"function"==typeof eD[t])return eD[t](e);return decodeURIComponent(escape(e))}catch(t){return e}}function eX(e){let t={};for(let n in e)try{eV(n)||(t[eW(n)]=function(e,t){return Array.isArray(e)?e2(e[e.length-1],t):"Resource"===e.attributes["rdf:parseType"]&&"string"==typeof e.value&&""===e.value.trim()?{value:"",attributes:{},description:""}:eZ(e)?eJ(e,t):eK(e)?eq(e,t):eQ(e)?e0(e,t):void 0!==e1(e.value)?function(e,t){let n=e1(e.value).value["rdf:li"],r=eY(e),i=[];return void 0===n?n=[]:Array.isArray(n)||(n=[n]),n.forEach(e=>{i.push(eZ(e)?eJ(e):eK(e)?eq(e).value:eQ(e)?e0(e).value:e2(e))}),{value:i,attributes:r,description:eH(i,t)}}(e,t):e2(e,t)}(e[n],n))}catch(e){}return t}function eZ(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 eJ(e,t){var n;let r=eY(e);void 0!==e.value["rdf:Description"]&&(e=e.value["rdf:Description"]),f(r,eY(e),function(e){let t={};for(let n in e.value)"rdf:value"===n||eV(n)||(t[eW(n)]=e.value[n].value);return t}(e));let i=e3((n=e).value["rdf:value"])||n.value["rdf:value"].value;return{value:i,attributes:r,description:eH(i,t)}}function eY(e){let t={};for(let n in e.attributes)"rdf:parseType"===n||"rdf:resource"===n||eV(n)||(t[eW(n)]=e.attributes[n]);return t}function eK(e){return"Resource"===e.attributes["rdf:parseType"]||void 0!==e.value["rdf:Description"]&&void 0===e.value["rdf:Description"].value["rdf:value"]}function eq(e,t){let n={value:{},attributes:{}};return void 0!==e.value["rdf:Description"]&&(f(n.value,e$(e.value["rdf:Description"].attributes)),f(n.attributes,eY(e)),e=e.value["rdf:Description"]),f(n.value,eX(e.value)),n.description=eH(n.value,t),n}function eQ(e){return 0===Object.keys(e.value).length&&void 0===e.attributes["xml:lang"]&&void 0===e.attributes["rdf:resource"]}function e0(e,t){let n=e$(e.attributes);return{value:n,attributes:{},description:eH(n,t)}}function e1(e){return e["rdf:Bag"]||e["rdf:Seq"]||e["rdf:Alt"]}function e2(e,t){let n=e3(e)||ez(e.value);return{value:n,attributes:eY(e),description:eH(n,t)}}function e3(e){return e.attributes&&e.attributes["rdf:resource"]}var e6={2e3:{name:"PathInformation",description:function(e){let t={},n=[];for(let r=0;r<e.byteLength;r+=26){let i=es.getShortAt(e,r);e4[i]&&(t[i]||(t[i]=e4[i].description),n.push({type:i,path:e4[i].path(e,r+2)}))}return JSON.stringify({types:t,paths:n})}},2999:{name:"ClippingPathName",description(e){let[,t]=l(e,0);return t}}};let e4={0:{description:"Closed subpath length",path:(e,t)=>[es.getShortAt(e,t)]},1:{description:"Closed subpath Bezier knot, linked",path:e5},2:{description:"Closed subpath Bezier knot, unlinked",path:e5},3:{description:"Open subpath length",path:(e,t)=>[es.getShortAt(e,t)]},4:{description:"Open subpath Bezier knot, linked",path:e5},5:{description:"Open subpath Bezier knot, unlinked",path:e5},6:{description:"Path fill rule",path:()=>[]},8:{description:"Initial fill rule",path:(e,t)=>[es.getShortAt(e,t)]},7:{description:"Clipboard",path:function(e,t){return[[e8(e,t,8),e8(e,t+4,8),e8(e,t+8,8),e8(e,t+12,8)],e8(e,t+16,8)]}}};function e5(e,t){let n=[];for(let r=0;r<24;r+=8)n.push(function(e,t){let n=e8(e,t,8);return[e8(e,t+4,8),n]}(e,t+r));return n}function e8(e,t,n){var r,i;let o=es.getLongAt(e,t),a=o&parseInt(p("1",32-n),2);return parseInt((i=((2130706432&o)>>>32-n).toString(2)+"."+(p("0",32-n-(r=a.toString(2)).length)+r)).replace(".",""),2)/Math.pow(2,(i.split(".")[1]||"").length)*(o>>>31==0?1:-1)}var e7={read:function(e,t){let n=o(new Uint8Array(e).buffer),r={},i=0;for(;i<e.length;){let e=a(n,i,te);i+=te;let u=es.getShortAt(n,i),{tagName:s,tagNameSize:f}=function(e,t){let[n,r]=l(e,t);return{tagName:r,tagNameSize:1+n+(n%2==0?1:0)}}(n,i+=2);i+=f;let c=es.getLongAt(n,i);if(i+=4,e===e9){let e=o(n.buffer,i,c),l={id:u,value:a(e,0,c)};if(e6[u]){try{l.description=e6[u].description(e)}
1catch(e){l.description="<no description formatter>"}r[s||e6[u].name]=l}else t&&(r[`undefined-${u}`]=l)}i+=c+c%2}return r}};let e9="8BIM",te=e9.length,tt={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"}},tn={4:{name:"Preferred CMM type",value:(e,t)=>a(e,t,4),description:e=>null!==e?tr(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)=>a(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)=>a(e,t,4)},20:{name:"Connection Space",value:(e,t)=>a(e,t,4)},24:{name:"ICC Profile Date",value:(e,t)=>(function(e,t){let n=e.getUint16(t),r=e.getUint16(t+2)-1,i=e.getUint16(t+4);return new Date(Date.UTC(n,r,i,e.getUint16(t+6),e.getUint16(t+8),e.getUint16(t+10)))})(e,t).toISOString()},36:{name:"ICC Signature",value:(e,t)=>{var n;return n=e.buffer.slice(t,t+4),String.fromCharCode.apply(null,new Uint8Array(n))}},40:{name:"Primary Platform",value:(e,t)=>a(e,t,4),description:e=>tr(e)},48:{name:"Device Manufacturer",value:(e,t)=>a(e,t,4),description:e=>tr(e)},52:{name:"Device Model Number",value:(e,t)=>a(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)=>a(e,t,4)}};function tr(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 ti={read:function(e,t,n){return n&&t[0].compressionMethod!==g?0!==t[0].compressionMethod?{}:m(new DataView(e.buffer.slice(t[0].offset,t[0].offset+t[0].length)),t[0].compressionMethod,"utf-8","dataview").then(to).catch(()=>({})):function(e,t){try{let n=t.reduce((e,t)=>e+t.length,0),r=new Uint8Array(n),i=0,o=Array.isArray(e)?new DataView(Uint8Array.from(e).buffer).buffer:e.buffer;for(let e=1;e<=t.length;e++){let n=t.find(t=>t.chunkNumber===e);if(!n)throw Error(`ICC chunk ${e} not found`);let a=o.slice(n.offset,n.offset+n.length),u=new Uint8Array(a);r.set(u,i),i+=u.length}return to(new DataView(r.buffer))}catch(e){return{}}}(e,t)}};function to(e){let t=e.buffer,n=e.getUint32();if(e.byteLength!==n)throw Error("ICC profile length not matching");if(e.length<84)throw Error("ICC profile too short");let r={},i=Object.keys(tn);for(let t=0;t<i.length;t++){let n=i[t],o=tn[n],a=o.value(e,parseInt(n,10)),u=a;o.description&&(u=o.description(a)),r[o.name]={value:a,description:u}}if("acsp"!==ta(t.slice(36,40)))throw Error("ICC profile: missing signature");if(t.length<132)return r;let o=e.getUint32(128),u=132;for(let n=0;n<o;n++){var l;if(l=u,t.length<l+12)break;let n=a(e,u,4),i=e.getUint32(u+4),o=e.getUint32(u+8);if(i>t.length)break;let f=a(e,i,4);if("desc"===f){let a=e.getUint32(i+8);if(a>o)return r;tu(r,n,ta(t.slice(i+12,i+a+11)))}else if("mluc"===f){let t=e.getUint32(i+8),o=e.getUint32(i+12),u=i+16,l=[];for(let n=0;n<t;n++){let t=a(e,u+0,2),n=a(e,u+2,2),r=e.getUint32(u+4),f=e.getUint32(u+8),c=function(e,t,n){let r=[];for(let i=0;i<n&&t+i<e.byteLength;i+=2)r.push(e.getUint16(t+i));return 0===r[r.length-1]&&r.pop(),s(r)}(e,i+f,r);l.push({languageCode:t,countryCode:n,text:c}),u+=o}if(1===t)tu(r,n,l[0].text);else{let e={};for(let t=0;t<l.length;t++)e[`${l[t].languageCode}-${l[t].countryCode}`]=l[t].text;tu(r,n,e)}}else"text"===f?tu(r,n,ta(t.slice(i+8,i+o-7))):"sig "===f&&tu(r,n,ta(t.slice(i+8,i+12)));u+=12}return r}function ta(e){return String.fromCharCode.apply(null,new Uint8Array(e))}function tu(e,t,n){tt[t]?e[tt[t].name]={value:n,description:n}:e[t]={value:n,description:n}}var tl={read:function(e,t){return{"Image Width":function(e,t){if(t+0+4>e.byteLength)return;let n=es.getLongAt(e,t);return{value:n,description:`${n}px`}}(e,t),"Image Height":function(e,t){if(t+4+4>e.byteLength)return;let n=es.getLongAt(e,t+4);return{value:n,description:`${n}px`}}(e,t),"Bit Depth":function(e,t){if(t+8+1>e.byteLength)return;let n=es.getByteAt(e,t+8);return{value:n,description:`${n}`}}(e,t),"Color Type":function(e,t){if(t+9+1>e.byteLength)return;let n=es.getByteAt(e,t+9);return{value:n,description:({0:"Grayscale",2:"RGB",3:"Palette",4:"Grayscale with Alpha",6:"RGB with Alpha"})[n]||"Unknown"}}(e,t),Compression:function(e,t){if(t+10+1>e.byteLength)return;let n=es.getByteAt(e,t+10);return{value:n,description:0===n?"Deflate/Inflate":"Unknown"}}(e,t),Filter:function(e,t){if(t+11+1>e.byteLength)return;let n=es.getByteAt(e,t+11);return{value:n,description:0===n?"Adaptive":"Unknown"}}(e,t),Interlace:function(e,t){if(t+12+1>e.byteLength)return;let n=es.getByteAt(e,t+12);return{value:n,description:({0:"Noninterlaced",1:"Adam7 Interlace"})[n]||"Unknown"}}(e,t)}}},ts={read:function(e,t,n,r){let i={},o=[];for(let a=0;a<t.length;a++){let{offset:u,length:l,type:s}=t[a],f=function(e,t,n,r,i){let o;let a=[],u=[],l=[],s=tf,f=g;for(let i=0;i<n&&t+i<e.byteLength;i++){if(s===tc){f=function({type:e,dataView:t,offset:n}){if(e===N){if(1===t.getUint8(n))return t.getUint8(n+1)}else if(e===_)return t.getUint8(n);return g}({type:r,dataView:e,offset:t+i}),r===N&&(i+=1),s=tm(r,s);continue}if(s===tg){o=new DataView(e.buffer.slice(t+i,t+n));break}let c=e.getUint8(t+i);0===c?s=tm(r,s):s===tf?a.push(c):s===td?u.push(c):s===tp&&l.push(c)}if(f!==g&&!i)return{};let c=m(o,f,r===R||r===_?"latin1":"utf-8");return c instanceof Promise?c.then(e=>th(e,r,u,a)).catch(()=>th("<text using unknown compression>".split(""),r,u,a)):th(c,r,u,a)}(e,u,l,s,n);if(f instanceof Promise)o.push(f.then(({name:e,value:t,description:n})=>{try{if(h.USE_EXIF&&"raw profile type exif"===e.toLowerCase()&&"exif"===t.substring(1,5))return{__exif:eI.read(tS(t),6,r)};if(h.USE_IPTC&&"raw profile type iptc"===e.toLowerCase()&&"iptc"===t.substring(1,5))return{__iptc:ek.read(tS(t),0,r)};if(e)return{[e]:{value:t,description:n}}}catch(e){}return{}}));else{let{name:e,value:t,description:n}=f;e&&(i[e]={value:t,description:n})}}return{readTags:i,readTagsPromise:o.length>0?Promise.all(o):void 0}}};let tf="STATE_KEYWORD",tc="STATE_COMPRESSION",td="STATE_LANG",tp="STATE_TRANSLATED_KEYWORD",tg="STATE_TEXT";function tm(e,t){return t===tf&&[N,_].includes(e)?tc:t===tc?e===N?td:tg:t===td?tp:tg}function th(e,t,n,r){let i=e instanceof DataView?a(e,0,e.byteLength):e;return{name:function(e,t,n){let r=s(n);if(e===R||0===t.length)return r;let i=s(t);return`${r} (${i})`}(t,n,r),value:i,description:t===N?eT.decode("UTF-8",e):i}}function tS(e){return function(e){let t=new DataView(new ArrayBuffer(e.length/2));for(let n=0;n<e.length;n+=2)t.setUint8(n/2,parseInt(e.substring(n,n+2),16));return t}
1(e.match(/\n(exif|iptc)\n\s*\d+\n([\s\S]*)$/)[2].replace(/\n/g,""))}var ty={read:function(e,t){let n={};for(let r=0;r<t.length;r++){let i=es.getLongAt(e,t[r]+0),o=a(e,t[r]+4,4);o===G?(n["Pixels Per Unit X"]=function(e,t,n){if(!tv(e,t,n,0,4))return;let r=es.getLongAt(e,t+D+0);return{value:r,description:""+r}}(e,t[r],i),n["Pixels Per Unit Y"]=function(e,t,n){if(!tv(e,t,n,4,4))return;let r=es.getLongAt(e,t+D+4);return{value:r,description:""+r}}(e,t[r],i),n["Pixel Units"]=function(e,t,n){if(!tv(e,t,n,8,1))return;let r=es.getByteAt(e,t+D+8);return{value:r,description:1===r?"meters":"Unknown"}}(e,t[r],i)):o===B&&(n["Modify Date"]=function(e,t,n){if(!tv(e,t,n,0,7))return;let r=es.getShortAt(e,t+D),i=es.getByteAt(e,t+D+2),o=es.getByteAt(e,t+D+3),a=es.getByteAt(e,t+D+4),u=es.getByteAt(e,t+D+5),l=es.getByteAt(e,t+D+6);return{value:[r,i,o,a,u,l],description:`${tb(r,4)}-${tb(i,2)}-${tb(o,2)} ${tb(a,2)}:${tb(u,2)}:${tb(l,2)}`}}(e,t[r],i))}return n}};function tv(e,t,n,r,i){return r+i<=n&&t+D+r+i<=e.byteLength}function tb(e,t){return`${"0".repeat(t-(""+e).length)}${e}`}var tI={read:function(e,t){let n={},r=es.getByteAt(e,t);return n.Alpha=function(e){let t=16&e;return{value:t?1:0,description:t?"Yes":"No"}}(r),n.Animation=function(e){let t=2&e;return{value:t?1:0,description:t?"Yes":"No"}}(r),n.ImageWidth=tC(e,t+4),n.ImageHeight=tC(e,t+7),n}};function tC(e,t){let n=es.getByteAt(e,t)+256*es.getByteAt(e,t+1)+65536*es.getByteAt(e,t+2)+1;return{value:n,description:n+"px"}}var tU={read:function(e){return{"GIF Version":function(e){if(6>e.byteLength)return;let t=a(e,3,3);return{value:t,description:t}}(e),"Image Width":function(e){if(8>e.byteLength)return;let t=e.getUint16(6,!0);return{value:t,description:`${t}px`}}(e),"Image Height":function(e){if(10>e.byteLength)return;let t=e.getUint16(8,!0);return{value:t,description:`${t}px`}}(e),"Global Color Map":function(e){if(11>e.byteLength)return;let t=(128&e.getUint8(10))>>>7;return{value:t,description:1===t?"Yes":"No"}}(e),"Bits Per Pixel":function(e){if(11>e.byteLength)return;let t=(7&e.getUint8(10))+1;return{value:t,description:`${t} ${1===t?"bit":"bits"}`}}(e),"Color Resolution Depth":function(e){if(11>e.byteLength)return;let t=((112&e.getUint8(10))>>>4)+1;return{value:t,description:`${t} ${1===t?"bit":"bits"}`}}(e)}}};let tP=[6,7,99];var tA={get:function(e,t,n){if(t&&(void 0===t.Compression||tP.includes(t.Compression.value))&&t.JPEGInterchangeFormat&&t.JPEGInterchangeFormat.value&&t.JPEGInterchangeFormatLength&&t.JPEGInterchangeFormatLength.value){t.type="image/jpeg";let r=n+t.JPEGInterchangeFormat.value;t.image=e.buffer.slice(r,r+t.JPEGInterchangeFormatLength.value),c(t,"base64",function(){return d(this.image)})}return t}};function tw(e){this.name="MetadataMissingError",this.message=e||"No Exif data",this.stack=Error().stack}tw.prototype=Error();var tE={MetadataMissingError:tw},tx=n(29228).Buffer,tM={load:function(e,t={}){return"string"==typeof e?(t.async=!0,(function(e,t){return/^\w+:\/\//.test(e)?"undefined"!=typeof fetch?function(e,{length:t}={}){let n={method:"GET"};return Number.isInteger(t)&&t>=0&&(n.headers={range:`bytes=0-${t-1}`}
1),fetch(e,n).then(e=>e.arrayBuffer())}(e,t):function(e,{length:t}={}){return new Promise((n,r)=>{let i={};Number.isInteger(t)&&t>=0&&(i.headers={range:`bytes=0-${t-1}`}),(/^https:\/\//.test(e)?require("https").get:require("http").get)(e,i,e=>{if(e.statusCode>=200&&e.statusCode<=299){let t=[];e.on("data",e=>t.push(tx.from(e))),e.on("error",e=>r(e)),e.on("end",()=>n(tx.concat(t)))}else r(`Could not fetch file: ${e.statusCode} ${e.statusMessage}`),e.resume()}).on("error",e=>r(e))})}(e,t):/^data:[^;,]*(;base64)?,/.test(e)?Promise.resolve(function(e){let t=e.substring(e.indexOf(",")+1);if(-1!==e.indexOf(";base64"))return"undefined"!=typeof atob?Uint8Array.from(atob(t),e=>e.charCodeAt(0)).buffer:void 0===i?void 0:void 0!==i.from?i.from(t,"base64"):new i(t,"base64");let n=decodeURIComponent(t);return void 0!==i?void 0!==i.from?i.from(n):new i(n):Uint8Array.from(n,e=>e.charCodeAt(0)).buffer}(e)):function(e,{length:t}={}){return new Promise((n,r)=>{let i=function(){try{return require("fs")}catch(e){return}}();i.open(e,(o,a)=>{o?r(o):i.stat(e,(o,u)=>{if(o)r(o);else{let o=Math.min(u.size,void 0!==t?t:u.size),l=tx.alloc(o);i.read(a,{buffer:l,length:o},t=>{t?r(t):i.close(a,t=>{t&&console.warn(`Could not close file ${e}:`,t),n(l)})})}})})})}(e,t)})(e,t).then(e=>tF(e,t))):"undefined"!=typeof window&&"undefined"!=typeof File&&e instanceof File?(t.async=!0,new Promise((t,n)=>{let r=new FileReader;r.onload=e=>t(e.target.result),r.onerror=()=>n(r.error),r.readAsArrayBuffer(e)}).then(e=>tF(e,t))):tF(e,t)},loadView:tT,errors:tE};function tF(e,t){return function(e){try{return tx.isBuffer(e)}catch(e){return!1}}(e)&&(e=new Uint8Array(e).buffer),tT(function(e){try{return new DataView(e)}catch(t){return new r(e)}}(e),t)}function tT(e,{expanded:t=!1,async:n=!1,includeUnknown:r=!1}={expanded:!1,async:!1,includeUnknown:!1}){let i=!1,o={},a=[],{fileType:u,fileDataOffset:l,jfifDataOffset:c,tiffHeaderOffset:d,iptcDataOffset:p,xmpChunks:g,iccChunks:m,mpfDataOffset:S,pngHeaderOffset:y,pngTextChunks:b,pngChunkOffsets:I,vp8xChunkOffset:C,gifHeaderOffset:U}=Q(e,n);if(h.USE_JPEG&&h.USE_FILE&&void 0!==l){i=!0;let n=eP.read(e,l);t?o.file=n:o=f({},o,n)}if(h.USE_JPEG&&h.USE_JFIF&&void 0!==c){i=!0;let n=eA.read(e,c);t?o.jfif=n:o=f({},o,n)}if(h.USE_EXIF&&void 0!==d){i=!0;let n=eI.read(e,d,r);if(n.Thumbnail&&(o.Thumbnail=n.Thumbnail,delete n.Thumbnail),t?(o.exif=n,function(e){if(e.exif){if(e.exif.GPSLatitude&&e.exif.GPSLatitudeRef)try{e.gps=e.gps||{},e.gps.Latitude=v(e.exif.GPSLatitude.value),"S"===e.exif.GPSLatitudeRef.value.join("")&&(e.gps.Latitude=-e.gps.Latitude)}catch(e){}if(e.exif.GPSLongitude&&e.exif.GPSLongitudeRef)try{e.gps=e.gps||{},e.gps.Longitude=v(e.exif.GPSLongitude.value),"W"===e.exif.GPSLongitudeRef.value.join("")&&(e.gps.Longitude=-e.gps.Longitude)}catch(e){}if(e.exif.GPSAltitude&&e.exif.GPSAltitudeRef)try{e.gps=e.gps||{},e.gps.Altitude=e.exif.GPSAltitude.value[0]/e.exif.GPSAltitude.value[1],1===e.exif.GPSAltitudeRef.value&&(e.gps.Altitude=-e.gps.Altitude)}catch(e){}}}(o)):o=f({},o,n),h.USE_TIFF&&h.USE_IPTC&&n["IPTC-NAA"]&&!(void 0!==p)){let e=ek.read(n["IPTC-NAA"].value,0,r);t?o.iptc=e:o=f({},o,e)}if(h.USE_TIFF&&h.USE_XMP&&n.ApplicationNotes&&!tk(g)){let e=eG.read(s(n.ApplicationNotes.value));t?o.xmp=e:(delete e._raw,o=f({},o,e))}if(h.USE_PHOTOSHOP&&n.ImageSourceData){let e=e7.read(n.PhotoshopSettings.value,r);t?o.photoshop=e:o=f({},o,e)}if(h.USE_TIFF&&h.USE_ICC&&n.ICC_Profile&&!tO(m)){let e=ti.read(n.ICC_Profile.value,[{offset:0,length:n.ICC_Profile.value.length,chunkNumber:1,chunksTotal:1}]);t?o.icc=e:o=f({},o,e)}}if(h.USE_JPEG&&h.USE_IPTC&&void 0!==p){i=!0;let n=ek.read(e,p,r);t?o.iptc=n:o=f({},o,n)}if(h.USE_XMP&&tk(g)){i=!0;let n=eG.read(e,g);t?o.xmp=n:(delete n._raw,o=f({},o,n))}if((h.USE_JPEG||h.USE_WEBP)&&h.USE_ICC&&tO(m)){i=!0;let t=ti.read(e,m,n);t instanceof Promise?a.push(t.then(A)):A(t)}if(h.USE_MPF&&void 0!==S){i=!0;let n=eC.read(e,S,r);t?o.mpf=n:o=f({},o,n)}if(h.USE_PNG&&h.USE_PNG_FILE&&void 0!==y){i=!0;let n=tl.read(e,y);t?(o.png=o.png?f({},o.png,n):n,o.pngFile=n):o=f({},o,n)}if(h.USE_PNG&&void 0!==b){i=!0;let{readTags:t,readTagsPromise:o}=ts.read(e,b,n,r);w(t),o&&a.push(o.then(e=>e.forEach(w)))}if(h.USE_PNG&&void 0!==I){i=!0;let n=ty.read(e,I);t?o.png=o.png?f({},o.png,n):n:o=f({},o,n)}if(h.USE_WEBP&&void 0!==C){i=!0;let n=tI.read(e,C);t?o.riff=o.riff?f({},o.riff,n):n:o=f({},o,n)}if(h.USE_GIF&&void 0!==U){i=!0;let n=tU.read(e,U);t?o.gif=o.gif?f({},o.gif,n):n:o=f({},o,n)}let P=(h.USE_JPEG||h.USE_WEBP)&&h.USE_EXIF&&h.USE_THUMBNAIL&&tA.get(e,o.Thumbn
1ail,d);if(P?(i=!0,o.Thumbnail=P):delete o.Thumbnail,u&&(t?(o.file||(o.file={}),o.file.FileType=u):o.FileType=u,i=!0),!i)throw new tE.MetadataMissingError;if(n)return Promise.all(a).then(()=>o);return o;function A(e){t?o.icc=e:o=f({},o,e)}function w(e){if(t){for(let t of["exif","iptc"]){let n=`__${t}`;e[n]&&(o[t]=o[t]?f({},o.exif,e[n]):e[n],delete e[n])}o.png=o.png?f({},o.png,e):e,o.pngText=o.pngText?f({},o.png,e):e}else o=f({},o,e.__exif?e.__exif:{},e.__iptc?e.__iptc:{},e),delete o.__exif,delete o.__iptc}}function tk(e){return Array.isArray(e)&&e.length>0}function tO(e){return Array.isArray(e)&&e.length>0}},18491:function(e,t,n){n.d(t,{default:function(){return i.a}});var r=n(73548),i=n.n(r)},73548:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=n(86651);n(83890),n(58496);let i=r._(n(53992));function o(e,t){var n;let r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};"function"==typeof e&&(r.loader=e);let o={...r,...t};return(0,i.default)({...o,modules:null==(n=o.loadableGenerated)?void 0:n.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},44377:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return i}});let r=n(84895);function i(e){let{reason:t,children:n}=e;if("undefined"==typeof window)throw new r.BailoutToCSRError(t);return n}},53992:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let r=n(83890),i=n(58496),o=n(44377),a=n(2992);function u(e){return{default:e&&"default"in e?e.default:e}}let l={loader:()=>Promise.resolve(u(()=>null)),loading:null,ssr:!0},s=function(e){let t={...l,...e},n=(0,i.lazy)(()=>t.loader().then(u)),s=t.loading;function f(e){let u=s?(0,r.jsx)(s,{isLoading:!0,pastDelay:!0,error:null}):null,l=t.ssr?(0,r.jsxs)(r.Fragment,{children:["undefined"==typeof window?(0,r.jsx)(a.PreloadCss,{moduleIds:t.modules}):null,(0,r.jsx)(n,{...e})]}):(0,r.jsx)(o.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(n,{...e})});return(0,r.jsx)(i.Suspense,{fallback:u,children:l})}return f.displayName="LoadableComponent",f}},2992:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadCss",{enumerable:!0,get:function(){return o}});let r=n(83890),i=n(85296);function o(e){let{moduleIds:t}=e;if("undefined"!=typeof window)return null;let n=(0,i.getExpectedRequestStore)("next/dynamic css"),o=[];if(n.reactLoadableManifest&&t){let e=n.reactLoadableManifest;for(let n of t){if(!e[n])continue;let t=e[n].files.filter(e=>e.endsWith(".css"));o.push(...t)}}return 0===o.length?null:(0,r.jsx)(r.Fragment,{children:o.map(e=>(0,r.jsx)("link",{precedence:"dynamic",rel:"stylesheet",href:n.assetPrefix+"/_next/"+encodeURI(e),as:"style"},e))})}},43711:function(e,t,n){n.d(t,{LM:function(){return l},WV:function(){return s},ZP:function(){return u}});var r=n(58496);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var o=function(e){var t=(0,r.useRef)(e);return t.current=e,t},a=function(e,t){var n;return function(){for(var r=this,i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];null!==n&&(clearTimeout(n),n=null),n=setTimeout(function(){return e.apply(r,o)},t)}},u=function(e){var t=void 0===e?{}:e,n=t.requestOptions,u=t.debounce,l=t.cache,s=void 0===l?86400:l,f=t.cacheKey,c=void 0===f?"upa":f,d=t.googleMaps,p=t.callbackName,g=t.defaultValue,m=t.initOnMount,h=void 0===m||m,S=(0,r.useState)(!1),y=S[0],v=S[1],b=(0,r.useState)(void 0===g?"":g),I=b[0],C=b[1],U=(0,r.useState)({loading:!1,status:"",data:[]}),P=U[0],A=U[1],w=(0,r.useRef)(),E=o(n),x=o(d),M=(0,r.useCallback)(function(){if(!w.current){var e,t=window.google,n=x.current,r=(null==n?void 0:n.places)||(null==t?void 0:null==(e=t.maps)?void 0:e.places);if(!r){console.error("\uD83D\uDCA1 use-places-autocomplete: Google Maps Places API library must be loaded. See: https://github.com/wellyshen/use-places-autocomplete#load-the-library");return}
1w.current=new r.AutocompleteService,v(!0)}},[x]),F=(0,r.useCallback)(function(){A({loading:!1,status:"",data:[]})},[]),T=(0,r.useCallback)(function(e){void 0===e&&(e=c);try{sessionStorage.removeItem(e)}catch(e){}},[c]),k=(0,r.useCallback)(a(function(e){if(!e){F();return}A(function(e){return i({},e,{loading:!0})});var t,n={};try{n=JSON.parse(sessionStorage.getItem(c)||"{}")}catch(e){}if(s&&(n=Object.keys(n).reduce(function(e,t){return n[t].maxAge-Date.now()>=0&&(e[t]=n[t]),e},{}))[e]){A({loading:!1,status:"OK",data:n[e].data});return}null==(t=w.current)||t.getPlacePredictions(i({},E.current,{input:e}),function(t,r){if(A({loading:!1,status:r,data:t||[]}),s&&"OK"===r){n[e]={data:t,maxAge:Date.now()+1e3*s};try{sessionStorage.setItem(c,JSON.stringify(n))}catch(e){}}})},void 0===u?200:u),[s,c,F,E]),O=(0,r.useCallback)(function(e,t){void 0===t&&(t=!0),C(e),w.current&&t&&k(e)},[k]);return(0,r.useEffect)(function(){if(!h)return function(){return null};var e=window.google;return x.current||null!=e&&e.maps||!p?M():window[p]=M,function(){window[p]&&delete window[p]}},[p,x,M,h]),{ready:y,value:I,suggestions:P,setValue:O,clearSuggestions:F,clearCache:T,init:M}},l=function(e){var t=new window.google.maps.Geocoder;return new Promise(function(n,r){t.geocode(e,function(t,i){"OK"!==i&&r(i),!e.address&&e.componentRestrictions&&(console.error("\uD83D\uDCA1 use-places-autocomplete: Please provide an address when using getGeocode() with the componentRestrictions."),n(t)),n(t)})})},s=function(e){var t=e.geometry.location,n=t.lat,r=t.lng;return{lat:n(),lng:r()}}},61755:function(e,t,n){n.d(t,{Z:function(){return r}});function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.