(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1ffa0b74"],{"0383":function(e,t,r){"use strict";var n=r("dbce"),i=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=f;var a=i(r("448a")),o=i(r("9523")),s=i(r("278c")),l=n(r("67ea"));function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(r,!0).forEach((function(t){(0,o["default"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l["default"],r={hasAlpha:{},encoders:{},decoders:{},class:{},constants:{}};function n(e){Object.entries(e).forEach((function(e){var t=(0,s["default"])(e,2),n=t[0],i=t[1];r[n]=u({},r[n],{},i)}))}function i(e){var t=e();Array.isArray(t.mime)?l.addType.apply(void 0,(0,a["default"])(t.mime)):Object.entries(t.mime).forEach((function(e){return l.addType.apply(void 0,(0,a["default"])(e))})),delete t.mime,n(t)}function o(e){var t=e(l.jimpEvChange)||{};t["class"]||t.constants?n(t):n({class:t})}return e.types&&(e.types.forEach(i),t.decoders=u({},t.decoders,{},r.decoders),t.encoders=u({},t.encoders,{},r.encoders),t.hasAlpha=u({},t.hasAlpha,{},r.hasAlpha)),e.plugins&&e.plugins.forEach(o),(0,l.addJimpMethods)(r["class"],t),(0,l.addConstants)(r.constants,t),l["default"]}},"04a2":function(e,t,r){(function(t){var n=r("7a87"),i=t.from([66,77,70,3]);e.exports=function(e){return"string"===typeof e?"BMF"===e.substring(0,3):e.length>4&&n(e.slice(0,4),i)}}).call(this,r("b639").Buffer)},"04b7":function(e,t){e.exports={exif:{1:"InteropIndex",2:"InteropVersion",11:"ProcessingSoftware",254:"SubfileType",255:"OldSubfileType",256:"ImageWidth",257:"ImageHeight",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",263:"Thresholding",264:"CellWidth",265:"CellLength",266:"FillOrder",269:"DocumentName",270:"ImageDescription",271:"Make",272:"Model",273:"StripOffsets",274:"Orientation",277:"SamplesPerPixel",278:"RowsPerStrip",279:"StripByteCounts",280:"MinSampleValue",281:"MaxSampleValue",282:"XResolution",283:"YResolution",284:"PlanarConfiguration",285:"PageName",286:"XPosition",287:"YPosition",288:"FreeOffsets",289:"FreeByteCounts",290:"GrayResponseUnit",291:"GrayResponseCurve",292:"T4Options",293:"T6Options",296:"ResolutionUnit",297:"PageNumber",300:"ColorResponseUnit",301:"TransferFunction",305:"Software",306:"ModifyDate",315:"Artist",316:"HostComputer",317:"Predictor",318:"WhitePoint",319:"PrimaryChromaticities",320:"ColorMap",321:"HalftoneHints",322:"TileWidth",323:"TileLength",324:"TileOffsets",325:"TileByteCounts",326:"BadFaxLines",327:"CleanFaxData",328:"ConsecutiveBadFaxLines",330:"SubIFD",332:"InkSet",333:"InkNames",334:"NumberofInks",336:"DotRange",337:"TargetPrinter",338:"ExtraSamples",339:"SampleFormat",340:"SMinSampleValue",341:"SMaxSampleValue",342:"TransferRange",343:"ClipPath",344:"XClipPathUnits",345:"YClipPathUnits",346:"Indexed",347:"JPEGTables",351:"OPIProxy",400:"GlobalParametersIFD",401:"ProfileType",402:"FaxProfile",403:"CodingMethods",404:"VersionYear",405:"ModeNumber",433:"Decode",434:"DefaultImageColor",435:"T82Options",437:"JPEGTables",512:"JPEGProc",513:"ThumbnailOffset",514:"ThumbnailLength",515:"JPEGRestartInterval",517:"JPEGLosslessPredictors",518:"JPEGPointTransforms",519:"JPEGQTables",520:"JPEGDCTables",521:"JPEGACTables",529:"YCbCrCoefficients",530:"YCbCrSubSampling",531:"YCbCrPositioning",532:"ReferenceBlackWhite",559:"StripRowCounts",700:"ApplicationNotes",999:"USPTOMiscellaneous",4096:"RelatedImageFileFormat",4097:"RelatedImageWidth",4098:"RelatedImageHeight",18246:"Rating",18247:"XP_DIP_XML",18248:"StitchInfo",18249:"RatingPercent",32781:"ImageID",32931:"WangTag1",32932:"WangAnnotation",32933:"WangTag3",32934:"WangTag4",32995:"Matteing",32996:"DataType",32997:"ImageDepth",32998:"TileDepth",33405:"Model2",33421:"CFARepeatPatternDim",33422:"CFAPattern2",33423:"BatteryLevel",33424:"KodakIFD",33432:"Copyright",33434:"ExposureTime",33437:"FNumber",33445:"MDFileTag",33446:"MDScalePixel",33447:"MDColorTable",33448:"MDLabName",33449:"MDSampleInfo",33450:"MDPrepDate",33451:"MDPrepTime",33452:"MDFileUnits",33550:"PixelScale",33589:"AdventScale",33590:"AdventRevision",33628:"UIC1Tag",33629:"UIC2Tag",33630:"UIC3Tag",33631:"UIC4Tag",33723:"IPTC-NAA",33918:"IntergraphPacketData",33919:"IntergraphFlagRegisters",33920:"IntergraphMatrix",33921:"INGRReserved",33922:"ModelTiePoint",34016:"Site",34017:"ColorSequence",34018:"IT8Header",34019:"RasterPadding",34020:"BitsPerRunLength",34021:"BitsPerExtendedRunLength",34022:"ColorTable",34023:"ImageColorIndicator",34024:"BackgroundColorIndicator",34025:"ImageColorValue",34026:"BackgroundColorValue",34027:"PixelIntensityRange",34028:"TransparencyIndicator",34029:"ColorCharacterization",34030:"HCUsage",34031:"TrapIndicator",34032:"CMYKEquivalent",34118:"SEMInfo",34152:"AFCP_IPTC",34232:"PixelMagicJBIGOptions",34264:"ModelTransform",34306:"WB_GRGBLevels",34310:"LeafData",34377:"PhotoshopSettings",34665:"ExifOffset",34675:"ICC_Profile",34687:"TIFF_FXExtensions",34688:"MultiProfiles",34689:"SharedData",34690:"T88Options",34732:"ImageLayer",34735:"GeoTiffDirectory",34736:"GeoTiffDoubleParams",34737:"GeoTiffAsciiParams",34850:"ExposureProgram",34852:"SpectralSensitivity",34853:"GPSInfo",34855:"ISO",34856:"Opto-ElectricConvFactor",34857:"Interlace",34858:"TimeZoneOffset",34859:"SelfTimerMode",34864:"SensitivityType",34865:"StandardOutputSensitivity",34866:"RecommendedExposureIndex",34867:"ISOSpeed",34868:"ISOSpeedLatitudeyyy",34869:"ISOSpeedLatitudezzz",34908:"FaxRecvParams",34909:"FaxSubAddress",34910:"FaxRecvTime",34954:"LeafSubIFD",36864:"ExifVersion",36867:"DateTimeOriginal",36868:"CreateDate",37121:"ComponentsConfiguration",37122:"CompressedBitsPerPixel",37377:"ShutterSpeedValue",37378:"ApertureValue",37379:"BrightnessValue",37380:"ExposureCompensation",37381:"MaxApertureValue",37382:"SubjectDistance",37383:"MeteringMode",37384:"LightSource",37385:"Flash",37386:"FocalLength",37387:"FlashEnergy",37388:"SpatialFrequencyResponse",37389:"Noise",37390:"FocalPlaneXResolution",37391:"FocalPlaneYResolution",37392:"FocalPlaneResolutionUnit",37393:"ImageNumber",37394:"SecurityClassification",37395:"ImageHistory",37396:"SubjectArea",37397:"ExposureIndex",37398:"TIFF-EPStandardID",37399:"SensingMethod",37434:"CIP3DataFile",37435:"CIP3Sheet",37436:"CIP3Side",37439:"StoNits",37500:"MakerNote",37510:"UserComment",37520:"SubSecTime",37521:"SubSecTimeOriginal",37522:"SubSecTimeDigitized",37679:"MSDocumentText",37680:"MSPropertySetStorage",37681:"MSDocumentTextPosition",37724:"ImageSourceData",40091:"XPTitle",40092:"XPComment",40093:"XPAuthor",40094:"XPKeywords",40095:"XPSubject",40960:"FlashpixVersion",40961:"ColorSpace",40962:"ExifImageWidth",40963:"ExifImageHeight",40964:"RelatedSoundFile",40965:"InteropOffset",41483:"FlashEnergy",41484:"SpatialFrequencyResponse",41485:"Noise",41486:"FocalPlaneXResolution",41487:"FocalPlaneYResolution",41488:"FocalPlaneResolutionUnit",41489:"ImageNumber",41490:"SecurityClassification",41491:"ImageHistory",41492:"SubjectLocation",41493:"ExposureIndex",41494:"TIFF-EPStandardID",41495:"SensingMethod",41728:"FileSource",41729:"SceneType",41730:"CFAPattern",41985:"CustomRendered",41986:"ExposureMode",41987:"WhiteBalance",41988:"DigitalZoomRatio",41989:"FocalLengthIn35mmFormat",41990:"SceneCaptureType",41991:"GainControl",41992:"Contrast",41993:"Saturation",41994:"Sharpness",41995:"DeviceSettingDescription",41996:"SubjectDistanceRange",42016:"ImageUniqueID",42032:"OwnerName",42033:"SerialNumber",42034:"LensInfo",42035:"LensMake",42036:"LensModel",42037:"LensSerialNumber",42112:"GDALMetadata",42113:"GDALNoData",42240:"Gamma",44992:"ExpandSoftware",44993:"ExpandLens",44994:"ExpandFilm",44995:"ExpandFilterLens",44996:"ExpandScanner",44997:"ExpandFlashLamp",48129:"PixelFormat",48130:"Transformation",48131:"Uncompressed",48132:"ImageType",48256:"ImageWidth",48257:"ImageHeight",48258:"WidthResolution",48259:"HeightResolution",48320:"ImageOffset",48321:"ImageByteCount",48322:"AlphaOffset",48323:"AlphaByteCount",48324:"ImageDataDiscard",48325:"AlphaDataDiscard",50215:"OceScanjobDesc",50216:"OceApplicationSelector",50217:"OceIDNumber",50218:"OceImageLogic",50255:"Annotations",50341:"PrintIM",50560:"USPTOOriginalContentType",50706:"DNGVersion",50707:"DNGBackwardVersion",50708:"UniqueCameraModel",50709:"LocalizedCameraModel",50710:"CFAPlaneColor",50711:"CFALayout",50712:"LinearizationTable",50713:"BlackLevelRepeatDim",50714:"BlackLevel",50715:"BlackLevelDeltaH",50716:"BlackLevelDeltaV",50717:"WhiteLevel",50718:"DefaultScale",50719:"DefaultCropOrigin",50720:"DefaultCropSize",50721:"ColorMatrix1",50722:"ColorMatrix2",50723:"CameraCalibration1",50724:"CameraCalibration2",50725:"ReductionMatrix1",50726:"ReductionMatrix2",50727:"AnalogBalance",50728:"AsShotNeutral",50729:"AsShotWhiteXY",50730:"BaselineExposure",50731:"BaselineNoise",50732:"BaselineSharpness",50733:"BayerGreenSplit",50734:"LinearResponseLimit",50735:"CameraSerialNumber",50736:"DNGLensInfo",50737:"ChromaBlurRadius",50738:"AntiAliasStrength",50739:"ShadowScale",50740:"DNGPrivateData",50741:"MakerNoteSafety",50752:"RawImageSegmentation",50778:"CalibrationIlluminant1",50779:"CalibrationIlluminant2",50780:"BestQualityScale",50781:"RawDataUniqueID",50784:"AliasLayerMetadata",50827:"OriginalRawFileName",50828:"OriginalRawFileData",50829:"ActiveArea",50830:"MaskedAreas",50831:"AsShotICCProfile",50832:"AsShotPreProfileMatrix",50833:"CurrentICCProfile",50834:"CurrentPreProfileMatrix",50879:"ColorimetricReference",50898:"PanasonicTitle",50899:"PanasonicTitle2",50931:"CameraCalibrationSig",50932:"ProfileCalibrationSig",50933:"ProfileIFD",50934:"AsShotProfileName",50935:"NoiseReductionApplied",50936:"ProfileName",50937:"ProfileHueSatMapDims",50938:"ProfileHueSatMapData1",50939:"ProfileHueSatMapData2",50940:"ProfileToneCurve",50941:"ProfileEmbedPolicy",50942:"ProfileCopyright",50964:"ForwardMatrix1",50965:"ForwardMatrix2",50966:"PreviewApplicationName",50967:"PreviewApplicationVersion",50968:"PreviewSettingsName",50969:"PreviewSettingsDigest",50970:"PreviewColorSpace",50971:"PreviewDateTime",50972:"RawImageDigest",50973:"OriginalRawFileDigest",50974:"SubTileBlockSize",50975:"RowInterleaveFactor",50981:"ProfileLookTableDims",50982:"ProfileLookTableData",51008:"OpcodeList1",51009:"OpcodeList2",51022:"OpcodeList3",51041:"NoiseProfile",51043:"TimeCodes",51044:"FrameRate",51058:"TStop",51081:"ReelName",51089:"OriginalDefaultFinalSize",51090:"OriginalBestQualitySize",51091:"OriginalDefaultCropSize",51105:"CameraLabel",51107:"ProfileHueSatMapEncoding",51108:"ProfileLookTableEncoding",51109:"BaselineExposureOffset",51110:"DefaultBlackRender",51111:"NewRawImageDigest",51112:"RawToPreviewGain",51125:"DefaultUserCrop",59932:"Padding",59933:"OffsetSchema",65e3:"OwnerName",65001:"SerialNumber",65002:"Lens",65024:"KDC_IFD",65100:"RawFile",65101:"Converter",65102:"WhiteBalance",65105:"Exposure",65106:"Shadows",65107:"Brightness",65108:"Contrast",65109:"Saturation",65110:"Sharpness",65111:"Smoothness",65112:"MoireFilter"},gps:{0:"GPSVersionID",1:"GPSLatitudeRef",2:"GPSLatitude",3:"GPSLongitudeRef",4:"GPSLongitude",5:"GPSAltitudeRef",6:"GPSAltitude",7:"GPSTimeStamp",8:"GPSSatellites",9:"GPSStatus",10:"GPSMeasureMode",11:"GPSDOP",12:"GPSSpeedRef",13:"GPSSpeed",14:"GPSTrackRef",15:"GPSTrack",16:"GPSImgDirectionRef",17:"GPSImgDirection",18:"GPSMapDatum",19:"GPSDestLatitudeRef",20:"GPSDestLatitude",21:"GPSDestLongitudeRef",22:"GPSDestLongitude",23:"GPSDestBearingRef",24:"GPSDestBearing",25:"GPSDestDistanceRef",26:"GPSDestDistance",27:"GPSProcessingMethod",28:"GPSAreaInformation",29:"GPSDateStamp",30:"GPSDifferential",31:"GPSHPositioningError"}}},"0538":function(e,t,r){"use strict";var n=r("1c0b"),i=r("861d"),a=[].slice,o={},s=function(e,t,r){if(!(t in o)){for(var n=[],i=0;i<t;i++)n[i]="a["+i+"]";o[t]=Function("C,a","return new C("+n.join(",")+")")}return o[t](e,r)};e.exports=Function.bind||function(e){var t=n(this),r=a.call(arguments,1),o=function(){var n=r.concat(a.call(arguments));return this instanceof o?s(t,n.length,n):t.apply(e,n)};return i(t.prototype)&&(o.prototype=t.prototype),o}},"057f":function(e,t,r){var n=r("fc6a"),i=r("241c").f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return o.slice()}};e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?s(e):i(n(e))}},"0676":function(e,t){function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=r},"06c5":function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));r("a630"),r("fb6a"),r("b0c0"),r("d3b7"),r("25f0"),r("3ca3");var n=r("6b75");function i(e,t){if(e){if("string"===typeof e)return Object(n["a"])(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n["a"])(e,t):void 0}}},"07a0":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=n(r("7037")),a=r("c2d7"),o=function(){return{displace:function(e,t,r){if("object"!==(0,i["default"])(e)||e.constructor!==this.constructor)return a.throwError.call(this,"The source must be a Jimp image",r);if("number"!==typeof t)return a.throwError.call(this,"factor must be a number",r);var n=this.cloneQuiet();return this.scanQuiet(0,0,this.bitmap.width,this.bitmap.height,(function(r,i,a){var o=e.bitmap.data[a]/256*t;o=Math.round(o);var s=this.getPixelIndex(r+o,i);this.bitmap.data[s]=n.bitmap.data[a],this.bitmap.data[s+1]=n.bitmap.data[a+1],this.bitmap.data[s+2]=n.bitmap.data[a+2]})),(0,a.isNodePattern)(r)&&r.call(this,null,this),this}}};t["default"]=o},"07f4":function(e,t,r){"use strict";var n=r("be7fe"),i=4,a=0,o=1,s=2;function l(e){var t=e.length;while(--t>=0)e[t]=0}var c=0,u=1,f=2,h=3,d=258,p=29,m=256,g=m+1+p,b=30,y=19,v=2*g+1,_=15,w=16,E=7,P=256,A=16,k=17,C=18,S=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],I=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],B=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],x=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],T=512,R=new Array(2*(g+2));l(R);var M=new Array(2*b);l(M);var O=new Array(T);l(O);var N=new Array(d-h+1);l(N);var U=new Array(p);l(U);var L,D,F,$=new Array(b);function G(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function j(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function H(e){return e<256?O[e]:O[256+(e>>>7)]}function z(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function W(e,t,r){e.bi_valid>w-r?(e.bi_buf|=t<<e.bi_valid&65535,z(e,e.bi_buf),e.bi_buf=t>>w-e.bi_valid,e.bi_valid+=r-w):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function V(e,t,r){W(e,r[2*t],r[2*t+1])}function q(e,t){var r=0;do{r|=1&e,e>>>=1,r<<=1}while(--t>0);return r>>>1}function Z(e){16===e.bi_valid?(z(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}function Y(e,t){var r,n,i,a,o,s,l=t.dyn_tree,c=t.max_code,u=t.stat_desc.static_tree,f=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,d=t.stat_desc.extra_base,p=t.stat_desc.max_length,m=0;for(a=0;a<=_;a++)e.bl_count[a]=0;for(l[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<v;r++)n=e.heap[r],a=l[2*l[2*n+1]+1]+1,a>p&&(a=p,m++),l[2*n+1]=a,n>c||(e.bl_count[a]++,o=0,n>=d&&(o=h[n-d]),s=l[2*n],e.opt_len+=s*(a+o),f&&(e.static_len+=s*(u[2*n+1]+o)));if(0!==m){do{a=p-1;while(0===e.bl_count[a])a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[p]--,m-=2}while(m>0);for(a=p;0!==a;a--){n=e.bl_count[a];while(0!==n)i=e.heap[--r],i>c||(l[2*i+1]!==a&&(e.opt_len+=(a-l[2*i+1])*l[2*i],l[2*i+1]=a),n--)}}}function X(e,t,r){var n,i,a=new Array(_+1),o=0;for(n=1;n<=_;n++)a[n]=o=o+r[n-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=q(a[s]++,s))}}function K(){var e,t,r,n,i,a=new Array(_+1);for(r=0,n=0;n<p-1;n++)for(U[n]=r,e=0;e<1<<S[n];e++)N[r++]=n;for(N[r-1]=n,i=0,n=0;n<16;n++)for($[n]=i,e=0;e<1<<I[n];e++)O[i++]=n;for(i>>=7;n<b;n++)for($[n]=i<<7,e=0;e<1<<I[n]-7;e++)O[256+i++]=n;for(t=0;t<=_;t++)a[t]=0;e=0;while(e<=143)R[2*e+1]=8,e++,a[8]++;while(e<=255)R[2*e+1]=9,e++,a[9]++;while(e<=279)R[2*e+1]=7,e++,a[7]++;while(e<=287)R[2*e+1]=8,e++,a[8]++;for(X(R,g+1,a),e=0;e<b;e++)M[2*e+1]=5,M[2*e]=q(e,5);L=new G(R,S,m+1,g,_),D=new G(M,I,0,b,_),F=new G(new Array(0),B,0,y,E)}function Q(e){var t;for(t=0;t<g;t++)e.dyn_ltree[2*t]=0;for(t=0;t<b;t++)e.dyn_dtree[2*t]=0;for(t=0;t<y;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*P]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function J(e){e.bi_valid>8?z(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function ee(e,t,r,i){J(e),i&&(z(e,r),z(e,~r)),n.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}function te(e,t,r,n){var i=2*t,a=2*r;return e[i]<e[a]||e[i]===e[a]&&n[t]<=n[r]}function re(e,t,r){var n=e.heap[r],i=r<<1;while(i<=e.heap_len){if(i<e.heap_len&&te(t,e.heap[i+1],e.heap[i],e.depth)&&i++,te(t,n,e.heap[i],e.depth))break;e.heap[r]=e.heap[i],r=i,i<<=1}e.heap[r]=n}function ne(e,t,r){var n,i,a,o,s=0;if(0!==e.last_lit)do{n=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===n?V(e,i,t):(a=N[i],V(e,a+m+1,t),o=S[a],0!==o&&(i-=U[a],W(e,i,o)),n--,a=H(n),V(e,a,r),o=I[a],0!==o&&(n-=$[a],W(e,n,o)))}while(s<e.last_lit);V(e,P,t)}function ie(e,t){var r,n,i,a=t.dyn_tree,o=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=v,r=0;r<l;r++)0!==a[2*r]?(e.heap[++e.heap_len]=c=r,e.depth[r]=0):a[2*r+1]=0;while(e.heap_len<2)i=e.heap[++e.heap_len]=c<2?++c:0,a[2*i]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=c,r=e.heap_len>>1;r>=1;r--)re(e,a,r);i=l;do{r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],re(e,a,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,a[2*i]=a[2*r]+a[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,a[2*r+1]=a[2*n+1]=i,e.heap[1]=i++,re(e,a,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],Y(e,t),X(a,c,e.bl_count)}function ae(e,t,r){var n,i,a=-1,o=t[1],s=0,l=7,c=4;for(0===o&&(l=138,c=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)i=o,o=t[2*(n+1)+1],++s<l&&i===o||(s<c?e.bl_tree[2*i]+=s:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[2*A]++):s<=10?e.bl_tree[2*k]++:e.bl_tree[2*C]++,s=0,a=i,0===o?(l=138,c=3):i===o?(l=6,c=3):(l=7,c=4))}function oe(e,t,r){var n,i,a=-1,o=t[1],s=0,l=7,c=4;for(0===o&&(l=138,c=3),n=0;n<=r;n++)if(i=o,o=t[2*(n+1)+1],!(++s<l&&i===o)){if(s<c)do{V(e,i,e.bl_tree)}while(0!==--s);else 0!==i?(i!==a&&(V(e,i,e.bl_tree),s--),V(e,A,e.bl_tree),W(e,s-3,2)):s<=10?(V(e,k,e.bl_tree),W(e,s-3,3)):(V(e,C,e.bl_tree),W(e,s-11,7));s=0,a=i,0===o?(l=138,c=3):i===o?(l=6,c=3):(l=7,c=4)}}function se(e){var t;for(ae(e,e.dyn_ltree,e.l_desc.max_code),ae(e,e.dyn_dtree,e.d_desc.max_code),ie(e,e.bl_desc),t=y-1;t>=3;t--)if(0!==e.bl_tree[2*x[t]+1])break;return e.opt_len+=3*(t+1)+5+5+4,t}function le(e,t,r,n){var i;for(W(e,t-257,5),W(e,r-1,5),W(e,n-4,4),i=0;i<n;i++)W(e,e.bl_tree[2*x[i]+1],3);oe(e,e.dyn_ltree,t-1),oe(e,e.dyn_dtree,r-1)}function ce(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return a;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return o;for(t=32;t<m;t++)if(0!==e.dyn_ltree[2*t])return o;return a}l($);var ue=!1;function fe(e){ue||(K(),ue=!0),e.l_desc=new j(e.dyn_ltree,L),e.d_desc=new j(e.dyn_dtree,D),e.bl_desc=new j(e.bl_tree,F),e.bi_buf=0,e.bi_valid=0,Q(e)}function he(e,t,r,n){W(e,(c<<1)+(n?1:0),3),ee(e,t,r,!0)}function de(e){W(e,u<<1,3),V(e,P,R),Z(e)}function pe(e,t,r,n){var a,o,l=0;e.level>0?(e.strm.data_type===s&&(e.strm.data_type=ce(e)),ie(e,e.l_desc),ie(e,e.d_desc),l=se(e),a=e.opt_len+3+7>>>3,o=e.static_len+3+7>>>3,o<=a&&(a=o)):a=o=r+5,r+4<=a&&-1!==t?he(e,t,r,n):e.strategy===i||o===a?(W(e,(u<<1)+(n?1:0),3),ne(e,R,M)):(W(e,(f<<1)+(n?1:0),3),le(e,e.l_desc.max_code+1,e.d_desc.max_code+1,l+1),ne(e,e.dyn_ltree,e.dyn_dtree)),Q(e),n&&J(e)}function me(e,t,r){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(N[r]+m+1)]++,e.dyn_dtree[2*H(t)]++),e.last_lit===e.lit_bufsize-1}t._tr_init=fe,t._tr_stored_block=he,t._tr_flush_block=pe,t._tr_tally=me,t._tr_align=de},"0960":function(e,t,r){e.exports=r("b19a")},"09ea":function(e,t,r){var n=r("df7c"),i=r("3e8f"),a=parseInt("0777",8);function o(e,t,r,s){"function"===typeof t?(r=t,t={}):t&&"object"===typeof t||(t={mode:t});var l=t.mode,c=t.fs||i;void 0===l&&(l=a),s||(s=null);var u=r||function(){};e=n.resolve(e),c.mkdir(e,l,(function(r){if(!r)return s=s||e,u(null,s);switch(r.code){case"ENOENT":if(n.dirname(e)===e)return u(r);o(n.dirname(e),t,(function(r,n){r?u(r,n):o(e,t,u,n)}));break;default:c.stat(e,(function(e,t){e||!t.isDirectory()?u(r,s):u(null,s)}));break}}))}e.exports=o.mkdirp=o.mkdirP=o,o.sync=function e(t,r,o){r&&"object"===typeof r||(r={mode:r});var s=r.mode,l=r.fs||i;void 0===s&&(s=a),o||(o=null),t=n.resolve(t);try{l.mkdirSync(t,s),o=o||t}catch(u){switch(u.code){case"ENOENT":o=e(n.dirname(t),r,o),e(t,r,o);break;default:var c;try{c=l.statSync(t)}catch(f){throw u}if(!c.isDirectory())throw u;break}}return o}},"0b16":function(e,t,r){"use strict";var n=r("1985"),i=r("35e8");function a(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=w,t.resolve=P,t.resolveObject=A,t.format=E,t.Url=a;var o=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["<",">",'"',"`"," ","\r","\n","\t"],u=["{","}","|","\\","^","`"].concat(c),f=["'"].concat(u),h=["%","/","?",";","#"].concat(f),d=["/","?","#"],p=255,m=/^[+a-z0-9A-Z_-]{0,63}$/,g=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,b={javascript:!0,"javascript:":!0},y={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},_=r("b383");function w(e,t,r){if(e&&i.isObject(e)&&e instanceof a)return e;var n=new a;return n.parse(e,t,r),n}function E(e){return i.isString(e)&&(e=w(e)),e instanceof a?e.format():a.prototype.format.call(e)}function P(e,t){return w(e,!1,!0).resolve(t)}function A(e,t){return e?w(e,!1,!0).resolveObject(t):t}a.prototype.parse=function(e,t,r){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),s=-1!==a&&a<e.indexOf("#")?"?":"#",c=e.split(s),u=/\\/g;c[0]=c[0].replace(u,"/"),e=c.join(s);var w=e;if(w=w.trim(),!r&&1===e.split("#").length){var E=l.exec(w);if(E)return this.path=w,this.href=w,this.pathname=E[1],E[2]?(this.search=E[2],this.query=t?_.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var P=o.exec(w);if(P){P=P[0];var A=P.toLowerCase();this.protocol=A,w=w.substr(P.length)}if(r||P||w.match(/^\/\/[^@\/]+@[^@\/]+/)){var k="//"===w.substr(0,2);!k||P&&y[P]||(w=w.substr(2),this.slashes=!0)}if(!y[P]&&(k||P&&!v[P])){for(var C,S,I=-1,B=0;B<d.length;B++){var x=w.indexOf(d[B]);-1!==x&&(-1===I||x<I)&&(I=x)}S=-1===I?w.lastIndexOf("@"):w.lastIndexOf("@",I),-1!==S&&(C=w.slice(0,S),w=w.slice(S+1),this.auth=decodeURIComponent(C)),I=-1;for(B=0;B<h.length;B++){x=w.indexOf(h[B]);-1!==x&&(-1===I||x<I)&&(I=x)}-1===I&&(I=w.length),this.host=w.slice(0,I),w=w.slice(I),this.parseHost(),this.hostname=this.hostname||"";var T="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!T)for(var R=this.hostname.split(/\./),M=(B=0,R.length);B<M;B++){var O=R[B];if(O&&!O.match(m)){for(var N="",U=0,L=O.length;U<L;U++)O.charCodeAt(U)>127?N+="x":N+=O[U];if(!N.match(m)){var D=R.slice(0,B),F=R.slice(B+1),$=O.match(g);$&&(D.push($[1]),F.unshift($[2])),F.length&&(w="/"+F.join(".")+w),this.hostname=D.join(".");break}}}this.hostname.length>p?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=n.toASCII(this.hostname));var G=this.port?":"+this.port:"",j=this.hostname||"";this.host=j+G,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==w[0]&&(w="/"+w))}if(!b[A])for(B=0,M=f.length;B<M;B++){var H=f[B];if(-1!==w.indexOf(H)){var z=encodeURIComponent(H);z===H&&(z=escape(H)),w=w.split(H).join(z)}}var W=w.indexOf("#");-1!==W&&(this.hash=w.substr(W),w=w.slice(0,W));var V=w.indexOf("?");if(-1!==V?(this.search=w.substr(V),this.query=w.substr(V+1),t&&(this.query=_.parse(this.query)),w=w.slice(0,V)):t&&(this.search="",this.query={}),w&&(this.pathname=w),v[A]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){G=this.pathname||"";var q=this.search||"";this.path=G+q}return this.href=this.format(),this},a.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",a=!1,o="";this.host?a=e+this.host:this.hostname&&(a=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(a+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(o=_.stringify(this.query));var s=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||v[t])&&!1!==a?(a="//"+(a||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):a||(a=""),n&&"#"!==n.charAt(0)&&(n="#"+n),s&&"?"!==s.charAt(0)&&(s="?"+s),r=r.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})),s=s.replace("#","%23"),t+a+r+s+n},a.prototype.resolve=function(e){return this.resolveObject(w(e,!1,!0)).format()},a.prototype.resolveObject=function(e){if(i.isString(e)){var t=new a;t.parse(e,!1,!0),e=t}for(var r=new a,n=Object.keys(this),o=0;o<n.length;o++){var s=n[o];r[s]=this[s]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var l=Object.keys(e),c=0;c<l.length;c++){var u=l[c];"protocol"!==u&&(r[u]=e[u])}return v[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!v[e.protocol]){for(var f=Object.keys(e),h=0;h<f.length;h++){var d=f[h];r[d]=e[d]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||y[e.protocol])r.pathname=e.pathname;else{var p=(e.pathname||"").split("/");while(p.length&&!(e.host=p.shift()));e.host||(e.host=""),e.hostname||(e.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),r.pathname=p.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var m=r.pathname||"",g=r.search||"";r.path=m+g}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var b=r.pathname&&"/"===r.pathname.charAt(0),_=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=_||b||r.host&&e.pathname,E=w,P=r.pathname&&r.pathname.split("/")||[],A=(p=e.pathname&&e.pathname.split("/")||[],r.protocol&&!v[r.protocol]);if(A&&(r.hostname="",r.port=null,r.host&&(""===P[0]?P[0]=r.host:P.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===p[0]?p[0]=e.host:p.unshift(e.host)),e.host=null),w=w&&(""===p[0]||""===P[0])),_)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,P=p;else if(p.length)P||(P=[]),P.pop(),P=P.concat(p),r.search=e.search,r.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(A){r.hostname=r.host=P.shift();var k=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");k&&(r.auth=k.shift(),r.host=r.hostname=k.shift())}return r.search=e.search,r.query=e.query,i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!P.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var C=P.slice(-1)[0],S=(r.host||e.host||P.length>1)&&("."===C||".."===C)||""===C,I=0,B=P.length;B>=0;B--)C=P[B],"."===C?P.splice(B,1):".."===C?(P.splice(B,1),I++):I&&(P.splice(B,1),I--);if(!w&&!E)for(;I--;I)P.unshift("..");!w||""===P[0]||P[0]&&"/"===P[0].charAt(0)||P.unshift(""),S&&"/"!==P.join("/").substr(-1)&&P.push("");var x=""===P[0]||P[0]&&"/"===P[0].charAt(0);if(A){r.hostname=r.host=x?"":P.length?P.shift():"";k=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");k&&(r.auth=k.shift(),r.host=r.hostname=k.shift())}return w=w||r.host&&P.length,w&&!x&&P.unshift(""),P.length?r.pathname=P.join("/"):(r.pathname=null,r.path=null),i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},a.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},"10d1":function(e,t,r){"use strict";var n,i=r("da84"),a=r("e2cc"),o=r("f183"),s=r("6d61"),l=r("acac"),c=r("861d"),u=r("69f3").enforce,f=r("7f9a"),h=!i.ActiveXObject&&"ActiveXObject"in i,d=Object.isExtensible,p=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},m=e.exports=s("WeakMap",p,l);if(f&&h){n=l.getConstructor(p,"WeakMap",!0),o.REQUIRED=!0;var g=m.prototype,b=g["delete"],y=g.has,v=g.get,_=g.set;a(g,{delete:function(e){if(c(e)&&!d(e)){var t=u(this);return t.frozen||(t.frozen=new n),b.call(this,e)||t.frozen["delete"](e)}return b.call(this,e)},has:function(e){if(c(e)&&!d(e)){var t=u(this);return t.frozen||(t.frozen=new n),y.call(this,e)||t.frozen.has(e)}return y.call(this,e)},get:function(e){if(c(e)&&!d(e)){var t=u(this);return t.frozen||(t.frozen=new n),y.call(this,e)?v.call(this,e):t.frozen.get(e)}return v.call(this,e)},set:function(e,t){if(c(e)&&!d(e)){var r=u(this);r.frozen||(r.frozen=new n),y.call(this,e)?_.call(this,e,t):r.frozen.set(e,t)}else _.call(this,e,t);return this}})}},1147:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var n=r("c2d7"),i=function(){return{shadow:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;"function"===typeof t&&(r=t,t={});var i=t,a=i.opacity,o=void 0===a?.7:a,s=i.size,l=void 0===s?1.1:s,c=i.x,u=void 0===c?-25:c,f=i.y,h=void 0===f?25:f,d=i.blur,p=void 0===d?5:d,m=this.clone(),g=this.clone();return g.scan(0,0,g.bitmap.width,g.bitmap.height,(function(t,r,n){g.bitmap.data[n]=0,g.bitmap.data[n+1]=0,g.bitmap.data[n+2]=0,g.bitmap.data[n+3]=g.constructor.limit255(g.bitmap.data[n+3]*o),e.bitmap.data[n]=0,e.bitmap.data[n+1]=0,e.bitmap.data[n+2]=0,e.bitmap.data[n+3]=0})),g.resize(g.bitmap.width*l,g.bitmap.height*l).blur(p),this.composite(g,u,h),this.composite(m,0,0),(0,n.isNodePattern)(r)&&r.call(this,null,this),this}}};t["default"]=i},"11b0":function(e,t,r){function n(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}r("a4d3"),r("e01a"),r("d28b"),r("a630"),r("d3b7"),r("3ca3"),r("ddb0"),e.exports=n},"13db":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=r("ca3d"),a=n(r("6eb7")),o=n(r("7998")),s=n(r("d669")),l=n(r("dafe")),c=n(r("52ad")),u=function(){return(0,i.mergeDeep)((0,a["default"])(),(0,o["default"])(),(0,s["default"])(),(0,l["default"])(),(0,c["default"])())};t["default"]=u},1536:function(e,t,r){"use strict";(function(t){var n=r("662d");function i(e,t,r,n,i){for(var a=0;a<r;a++)n[i+a]=e[t+a]}function a(e,t,r){for(var n=0,i=t+r,a=t;a<i;a++)n+=Math.abs(e[a]);return n}function o(e,t,r,n,i,a){for(var o=0;o<r;o++){var s=o>=a?e[t+o-a]:0,l=e[t+o]-s;n[i+o]=l}}function s(e,t,r,n){for(var i=0,a=0;a<r;a++){var o=a>=n?e[t+a-n]:0,s=e[t+a]-o;i+=Math.abs(s)}return i}function l(e,t,r,n,i){for(var a=0;a<r;a++){var o=t>0?e[t+a-r]:0,s=e[t+a]-o;n[i+a]=s}}function c(e,t,r){for(var n=0,i=t+r,a=t;a<i;a++){var o=t>0?e[a-r]:0,s=e[a]-o;n+=Math.abs(s)}return n}function u(e,t,r,n,i,a){for(var o=0;o<r;o++){var s=o>=a?e[t+o-a]:0,l=t>0?e[t+o-r]:0,c=e[t+o]-(s+l>>1);n[i+o]=c}}function f(e,t,r,n){for(var i=0,a=0;a<r;a++){var o=a>=n?e[t+a-n]:0,s=t>0?e[t+a-r]:0,l=e[t+a]-(o+s>>1);i+=Math.abs(l)}return i}function h(e,t,r,i,a,o){for(var s=0;s<r;s++){var l=s>=o?e[t+s-o]:0,c=t>0?e[t+s-r]:0,u=t>0&&s>=o?e[t+s-(r+o)]:0,f=e[t+s]-n(l,c,u);i[a+s]=f}}function d(e,t,r,i){for(var a=0,o=0;o<r;o++){var s=o>=i?e[t+o-i]:0,l=t>0?e[t+o-r]:0,c=t>0&&o>=i?e[t+o-(r+i)]:0,u=e[t+o]-n(s,l,c);a+=Math.abs(u)}return a}var p={0:i,1:o,2:l,3:u,4:h},m={0:a,1:s,2:c,3:f,4:d};e.exports=function(e,r,n,i,a){var o;if("filterType"in i&&-1!==i.filterType){if("number"!==typeof i.filterType)throw new Error("unrecognised filter types");o=[i.filterType]}else o=[0,1,2,3,4];16===i.bitDepth&&(a*=2);for(var s=r*a,l=0,c=0,u=new t((s+1)*n),f=o[0],h=0;h<n;h++){if(o.length>1)for(var d=1/0,g=0;g<o.length;g++){var b=m[o[g]](e,c,s,a);b<d&&(f=o[g],d=b)}u[l]=f,l++,p[f](e,c,s,u,l,a),l+=s,c+=s}return u}}).call(this,r("b639").Buffer)},1717:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var n=r("c2d7"),i=function(){return{gaussian:function(e,t){if("number"!==typeof e)return n.throwError.call(this,"r must be a number",t);if(e<1)return n.throwError.call(this,"r must be greater than 0",t);for(var r=Math.ceil(2.57*e),i=2*r+1,a=e*e*2,o=a*Math.PI,s=[],l=0;l<i;l++){s[l]=[];for(var c=0;c<i;c++){var u=Math.pow(c-r,2)+Math.pow(l-r,2);s[l][c]=Math.exp(-u/a)/o}}for(var f=0;f<this.bitmap.height;f++)for(var h=0;h<this.bitmap.width;h++)for(var d=0,p=0,m=0,g=0,b=0,y=0;y<i;y++){for(var v=0;v<i;v++){var _=Math.min(this.bitmap.width-1,Math.max(0,v+h-r)),w=Math.min(this.bitmap.height-1,Math.max(0,y+f-r)),E=s[y][v],P=w*this.bitmap.width+_<<2;d+=this.bitmap.data[P]*E,p+=this.bitmap.data[P+1]*E,m+=this.bitmap.data[P+2]*E,g+=this.bitmap.data[P+3]*E,b+=E}var A=f*this.bitmap.width+h<<2;this.bitmap.data[A]=Math.round(d/b),this.bitmap.data[A+1]=Math.round(p/b),this.bitmap.data[A+2]=Math.round(m/b),this.bitmap.data[A+3]=Math.round(g/b)}return(0,n.isNodePattern)(t)&&t.call(this,null,this),this}}};t["default"]=i},1985:function(e,t,r){(function(e,n){var i;/*! https://mths.be/punycode v1.4.1 by @mathias */(function(a){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof n&&n;o.global!==o&&o.window!==o&&o.self;var s,l=2147483647,c=36,u=1,f=26,h=38,d=700,p=72,m=128,g="-",b=/^xn--/,y=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,_={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=c-u,E=Math.floor,P=String.fromCharCode;function A(e){throw new RangeError(_[e])}function k(e,t){var r=e.length,n=[];while(r--)n[r]=t(e[r]);return n}function C(e,t){var r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(v,".");var i=e.split("."),a=k(i,t).join(".");return n+a}function S(e){var t,r,n=[],i=0,a=e.length;while(i<a)t=e.charCodeAt(i++),t>=55296&&t<=56319&&i<a?(r=e.charCodeAt(i++),56320==(64512&r)?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),i--)):n.push(t);return n}function I(e){return k(e,(function(e){var t="";return e>65535&&(e-=65536,t+=P(e>>>10&1023|55296),e=56320|1023&e),t+=P(e),t})).join("")}function B(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:c}function x(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function T(e,t,r){var n=0;for(e=r?E(e/d):e>>1,e+=E(e/t);e>w*f>>1;n+=c)e=E(e/w);return E(n+(w+1)*e/(e+h))}function R(e){var t,r,n,i,a,o,s,h,d,b,y=[],v=e.length,_=0,w=m,P=p;for(r=e.lastIndexOf(g),r<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&A("not-basic"),y.push(e.charCodeAt(n));for(i=r>0?r+1:0;i<v;){for(a=_,o=1,s=c;;s+=c){if(i>=v&&A("invalid-input"),h=B(e.charCodeAt(i++)),(h>=c||h>E((l-_)/o))&&A("overflow"),_+=h*o,d=s<=P?u:s>=P+f?f:s-P,h<d)break;b=c-d,o>E(l/b)&&A("overflow"),o*=b}t=y.length+1,P=T(_-a,t,0==a),E(_/t)>l-w&&A("overflow"),w+=E(_/t),_%=t,y.splice(_++,0,w)}return I(y)}function M(e){var t,r,n,i,a,o,s,h,d,b,y,v,_,w,k,C=[];for(e=S(e),v=e.length,t=m,r=0,a=p,o=0;o<v;++o)y=e[o],y<128&&C.push(P(y));n=i=C.length,i&&C.push(g);while(n<v){for(s=l,o=0;o<v;++o)y=e[o],y>=t&&y<s&&(s=y);for(_=n+1,s-t>E((l-r)/_)&&A("overflow"),r+=(s-t)*_,t=s,o=0;o<v;++o)if(y=e[o],y<t&&++r>l&&A("overflow"),y==t){for(h=r,d=c;;d+=c){if(b=d<=a?u:d>=a+f?f:d-a,h<b)break;k=h-b,w=c-b,C.push(P(x(b+k%w,0))),h=E(k/w)}C.push(P(x(h,0))),a=T(r,_,n==i),r=0,++n}++r,++t}return C.join("")}function O(e){return C(e,(function(e){return b.test(e)?R(e.slice(4).toLowerCase()):e}))}function N(e){return C(e,(function(e){return y.test(e)?"xn--"+M(e):e}))}s={version:"1.4.1",ucs2:{decode:S,encode:I},decode:R,encode:M,toASCII:N,toUnicode:O},i=function(){return s}.call(t,r,t,e),void 0===i||(e.exports=i)})()}).call(this,r("62e4")(e),r("c8ba"))},"1aca":function(e,t,r){var n=r("30c8"),i=r("803d");e.exports={encode:n,decode:i}},"1bc3":function(e,t,r){"use strict";(function(n,i){var a=r("f654").ok,o=r("470b"),s=r("3022"),l=r("b639").kMaxLength;function c(e){if(!(this instanceof c))return new c(e);e&&e.chunkSize<o.Z_MIN_CHUNK&&(e.chunkSize=o.Z_MIN_CHUNK),o.Inflate.call(this,e),this._offset=void 0===this._offset?this._outOffset:this._offset,this._buffer=this._buffer||this._outBuffer,e&&null!=e.maxLength&&(this._maxLength=e.maxLength)}function u(e){return new c(e)}function f(e,t){t&&n.nextTick(t),e._handle&&(e._handle.close(),e._handle=null)}function h(e,t){if("string"===typeof t&&(t=i.from(t)),!(t instanceof i))throw new TypeError("Not a string or buffer");var r=e._finishFlushFlag;return null==r&&(r=o.Z_FINISH),e._processChunk(t,r)}function d(e,t){return h(new c(t),e)}c.prototype._processChunk=function(e,t,r){if("function"===typeof r)return o.Inflate._processChunk.call(this,e,t,r);var n,s=this,c=e&&e.length,u=this._chunkSize-this._offset,h=this._maxLength,d=0,p=[],m=0;function g(e,t){if(!s._hadError){var r=u-t;if(a(r>=0,"have should not go down"),r>0){var n=s._buffer.slice(s._offset,s._offset+r);if(s._offset+=r,n.length>h&&(n=n.slice(0,h)),p.push(n),m+=n.length,h-=n.length,0===h)return!1}return(0===t||s._offset>=s._chunkSize)&&(u=s._chunkSize,s._offset=0,s._buffer=i.allocUnsafe(s._chunkSize)),0===t&&(d+=c-e,c=e,!0)}}this.on("error",(function(e){n=e})),a(this._handle,"zlib binding closed");do{var b=this._handle.writeSync(t,e,d,c,this._buffer,this._offset,u);b=b||this._writeState}while(!this._hadError&&g(b[0],b[1]));if(this._hadError)throw n;if(m>=l)throw f(this),new RangeError("Cannot create final Buffer. It would be larger than 0x"+l.toString(16)+" bytes");var y=i.concat(p,m);return f(this),y},s.inherits(c,o.Inflate),e.exports=t=d,t.Inflate=c,t.createInflate=u,t.inflateSync=d}).call(this,r("4362"),r("b639").Buffer)},"1dbf":function(e,t,r){"use strict";var n=r("86a9"),i=r("c733");t.read=function(e,t){return n(e,t||{})},t.write=function(e,t){return i(e,t)}},"1e92":function(e,t,r){"use strict";r("46d9")},2090:function(e,t,r){"use strict";(function(e){var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=n(r("448a")),a=n(r("66cb")),o=r("c2d7");function s(e,t,r,n){for(var i=[0,0,0],a=(t.length-1)/2,o=0;o<t.length;o+=1)for(var s=0;s<t[o].length;s+=1){var l=e.getPixelIndex(r+o-a,n+s-a);i[0]+=e.bitmap.data[l]*t[o][s],i[1]+=e.bitmap.data[l+1]*t[o][s],i[2]+=e.bitmap.data[l+2]*t[o][s]}return i}var l=function(e){return"undefined"!==typeof e&&null!==e};function c(e){return this.scanQuiet(0,0,this.bitmap.width,this.bitmap.height,(function(e,t,r){var n=parseInt(.2126*this.bitmap.data[r]+.7152*this.bitmap.data[r+1]+.0722*this.bitmap.data[r+2],10);this.bitmap.data[r]=n,this.bitmap.data[r+1]=n,this.bitmap.data[r+2]=n})),(0,o.isNodePattern)(e)&&e.call(this,null,this),this}function u(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:50;return{r:(t.r-e.r)*(r/100)+e.r,g:(t.g-e.g)*(r/100)+e.g,b:(t.b-e.b)*(r/100)+e.b}}function f(e,t){var r=this;return e&&Array.isArray(e)?(e=e.map((function(e){return"xor"!==e.apply&&"mix"!==e.apply||(e.params[0]=(0,a["default"])(e.params[0]).toRgb()),e})),this.scanQuiet(0,0,this.bitmap.width,this.bitmap.height,(function(n,s,l){var c={r:r.bitmap.data[l],g:r.bitmap.data[l+1],b:r.bitmap.data[l+2]},f=function(e,t){return r.constructor.limit255(c[e]+t)};e.forEach((function(e){if("mix"===e.apply)c=u(c,e.params[0],e.params[1]);else if("tint"===e.apply)c=u(c,{r:255,g:255,b:255},e.params[0]);else if("shade"===e.apply)c=u(c,{r:0,g:0,b:0},e.params[0]);else if("xor"===e.apply)c={r:c.r^e.params[0].r,g:c.g^e.params[0].g,b:c.b^e.params[0].b};else if("red"===e.apply)c.r=f("r",e.params[0]);else if("green"===e.apply)c.g=f("g",e.params[0]);else if("blue"===e.apply)c.b=f("b",e.params[0]);else{var n;if("hue"===e.apply&&(e.apply="spin"),c=(0,a["default"])(c),!c[e.apply])return o.throwError.call(r,"action "+e.apply+" not supported",t);c=(n=c)[e.apply].apply(n,(0,i["default"])(e.params)).toRgb()}})),r.bitmap.data[l]=c.r,r.bitmap.data[l+1]=c.g,r.bitmap.data[l+2]=c.b})),(0,o.isNodePattern)(t)&&t.call(this,null,this),this):o.throwError.call(this,"actions must be an array",t)}var h=function(){return{brightness:function(e,t){return"number"!==typeof e?o.throwError.call(this,"val must be numbers",t):e<-1||e>1?o.throwError.call(this,"val must be a number between -1 and +1",t):(this.scanQuiet(0,0,this.bitmap.width,this.bitmap.height,(function(t,r,n){e<0?(this.bitmap.data[n]=this.bitmap.data[n]*(1+e),this.bitmap.data[n+1]=this.bitmap.data[n+1]*(1+e),this.bitmap.data[n+2]=this.bitmap.data[n+2]*(1+e)):(this.bitmap.data[n]=this.bitmap.data[n]+(255-this.bitmap.data[n])*e,this.bitmap.data[n+1]=this.bitmap.data[n+1]+(255-this.bitmap.data[n+1])*e,this.bitmap.data[n+2]=this.bitmap.data[n+2]+(255-this.bitmap.data[n+2])*e)})),(0,o.isNodePattern)(t)&&t.call(this,null,this),this)},contrast:function(e,t){if("number"!==typeof e)return o.throwError.call(this,"val must be numbers",t);if(e<-1||e>1)return o.throwError.call(this,"val must be a number between -1 and +1",t);var r=(e+1)/(1-e);function n(e){return e=Math.floor(r*(e-127)+127),e<0?0:e>255?255:e}return this.scanQuiet(0,0,this.bitmap.width,this.bitmap.height,(function(e,t,r){this.bitmap.data[r]=n(this.bitmap.data[r]),this.bitmap.data[r+1]=n(this.bitmap.data[r+1]),this.bitmap.data[r+2]=n(this.bitmap.data[r+2])})),(0,o.isNodePattern)(t)&&t.call(this,null,this),this},posterize:function(e,t){return"number"!==typeof e?o.throwError.call(this,"n must be numbers",t):(e<2&&(e=2),this.scanQuiet(0,0,this.bitmap.width,this.bitmap.height,(function(t,r,n){this.bitmap.data[n]=Math.floor(this.bitmap.data[n]/255*(e-1))/(e-1)*255,this.bitmap.data[n+1]=Math.floor(this.bitmap.data[n+1]/255*(e-1))/(e-1)*255,this.bitmap.data[n+2]=Math.floor(this.bitmap.data[n+2]/255*(e-1))/(e-1)*255})),(0,o.isNodePattern)(t)&&t.call(this,null,this),this)},greyscale:c,grayscale:c,opacity:function(e,t){return"number"!==typeof e?o.throwError.call(this,"f must be a number",t):e<0||e>1?o.throwError.call(this,"f must be a number from 0 to 1",t):(this.scanQuiet(0,0,this.bitmap.width,this.bitmap.height,(function(t,r,n){var i=this.bitmap.data[n+3]*e;this.bitmap.data[n+3]=i})),(0,o.isNodePattern)(t)&&t.call(this,null,this),this)},sepia:function(e){return this.scanQuiet(0,0,this.bitmap.width,this.bitmap.height,(function(e,t,r){var n=this.bitmap.data[r],i=this.bitmap.data[r+1],a=this.bitmap.data[r+2];n=.393*n+.769*i+.189*a,i=.349*n+.686*i+.168*a,a=.272*n+.534*i+.131*a,this.bitmap.data[r]=n<255?n:255,this.bitmap.data[r+1]=i<255?i:255,this.bitmap.data[r+2]=a<255?a:255})),(0,o.isNodePattern)(e)&&e.call(this,null,this),this},fade:function(e,t){return"number"!==typeof e?o.throwError.call(this,"f must be a number",t):e<0||e>1?o.throwError.call(this,"f must be a number from 0 to 1",t):(this.opacity(1-e),(0,o.isNodePattern)(t)&&t.call(this,null,this),this)},convolution:function(t,r,n){"function"===typeof r&&"undefined"===typeof n&&(n=r,r=null),r||(r=this.constructor.EDGE_EXTEND);var i,a,s,l,c,u,f,h,d,p,m=e.from(this.bitmap.data),g=t.length,b=t[0].length,y=Math.floor(g/2),v=Math.floor(b/2),_=-y,w=-v;return this.scanQuiet(0,0,this.bitmap.width,this.bitmap.height,(function(e,n,o){l=0,s=0,a=0;for(var g=_;g<=y;g++)for(var b=w;b<=v;b++)h=e+b,d=n+g,i=t[g+y][b+v],p=this.getPixelIndex(h,d,r),-1===p?(f=0,u=0,c=0):(c=this.bitmap.data[p+0],u=this.bitmap.data[p+1],f=this.bitmap.data[p+2]),a+=i*c,s+=i*u,l+=i*f;a<0&&(a=0),s<0&&(s=0),l<0&&(l=0),a>255&&(a=255),s>255&&(s=255),l>255&&(l=255),m[o+0]=a,m[o+1]=s,m[o+2]=l})),this.bitmap.data=m,(0,o.isNodePattern)(n)&&n.call(this,null,this),this},opaque:function(e){return this.scanQuiet(0,0,this.bitmap.width,this.bitmap.height,(function(e,t,r){this.bitmap.data[r+3]=255})),(0,o.isNodePattern)(e)&&e.call(this,null,this),this},pixelate:function(e,t,r,n,i,a){if("function"===typeof t)a=t,i=null,n=null,r=null,t=null;else{if("number"!==typeof e)return o.throwError.call(this,"size must be a number",a);if(l(t)&&"number"!==typeof t)return o.throwError.call(this,"x must be a number",a);if(l(r)&&"number"!==typeof r)return o.throwError.call(this,"y must be a number",a);if(l(n)&&"number"!==typeof n)return o.throwError.call(this,"w must be a number",a);if(l(i)&&"number"!==typeof i)return o.throwError.call(this,"h must be a number",a)}var c=[[1/16,2/16,1/16],[2/16,.25,2/16],[1/16,2/16,1/16]];t=t||0,r=r||0,n=l(n)?n:this.bitmap.width-t,i=l(i)?i:this.bitmap.height-r;var u=this.cloneQuiet();return this.scanQuiet(t,r,n,i,(function(t,r,n){t=e*Math.floor(t/e),r=e*Math.floor(r/e);var i=s(u,c,t,r);this.bitmap.data[n]=i[0],this.bitmap.data[n+1]=i[1],this.bitmap.data[n+2]=i[2]})),(0,o.isNodePattern)(a)&&a.call(this,null,this),this},convolute:function(e,t,r,n,i,a){if(!Array.isArray(e))return o.throwError.call(this,"the kernel must be an array",a);if("function"===typeof t)a=t,t=null,r=null,n=null,i=null;else{if(l(t)&&"number"!==typeof t)return o.throwError.call(this,"x must be a number",a);if(l(r)&&"number"!==typeof r)return o.throwError.call(this,"y must be a number",a);if(l(n)&&"number"!==typeof n)return o.throwError.call(this,"w must be a number",a);if(l(i)&&"number"!==typeof i)return o.throwError.call(this,"h must be a number",a)}var c=(e.length-1)/2;t=l(t)?t:c,r=l(r)?r:c,n=l(n)?n:this.bitmap.width-t,i=l(i)?i:this.bitmap.height-r;var u=this.cloneQuiet();return this.scanQuiet(t,r,n,i,(function(t,r,n){var i=s(u,e,t,r);this.bitmap.data[n]=this.constructor.limit255(i[0]),this.bitmap.data[n+1]=this.constructor.limit255(i[1]),this.bitmap.data[n+2]=this.constructor.limit255(i[2])})),(0,o.isNodePattern)(a)&&a.call(this,null,this),this},color:f,colour:f}};t["default"]=h}).call(this,r("b639").Buffer)},2105:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var n=r("c2d7");function i(t,r){t%=360;var n=t*Math.PI/180,i=Math.cos(n),a=Math.sin(n),o=this.bitmap.width,s=this.bitmap.height;if(!0===r||"string"===typeof r){o=Math.ceil(Math.abs(this.bitmap.width*i)+Math.abs(this.bitmap.height*a))+1,s=Math.ceil(Math.abs(this.bitmap.width*a)+Math.abs(this.bitmap.height*i))+1,o%2!==0&&o++,s%2!==0&&s++;var l=this.cloneQuiet();this.scanQuiet(0,0,this.bitmap.width,this.bitmap.height,(function(e,t,r){this.bitmap.data.writeUInt32BE(this._background,r)}));var c=Math.max(o,s,this.bitmap.width,this.bitmap.height);this.resize(c,c,r),this.blit(l,this.bitmap.width/2-l.bitmap.width/2,this.bitmap.height/2-l.bitmap.height/2)}var u=this.bitmap.width,f=this.bitmap.height,h=e.alloc(this.bitmap.data.length);function d(e,t){return function(r,n){return{x:r+e,y:n+t}}}for(var p=d(-u/2,-f/2),m=d(u/2+.5,f/2+.5),g=1;g<=f;g++)for(var b=1;b<=u;b++){var y=p(b,g),v=m(i*y.x-a*y.y,i*y.y+a*y.x),_=u*(g-1)+b-1<<2;if(v.x>=0&&v.x<u&&v.y>=0&&v.y<f){var w=(u*(0|v.y)+v.x|0)<<2,E=this.bitmap.data.readUInt32BE(w);h.writeUInt32BE(E,_)}else h.writeUInt32BE(this._background,_)}if(this.bitmap.data=h,!0===r||"string"===typeof r){var P=u/2-o/2,A=f/2-s/2;this.crop(P,A,o,s)}}var a=function(){return{rotate:function(e,t,r){return"undefined"!==typeof t&&null!==t||(t=!0),"function"===typeof t&&"undefined"===typeof r&&(r=t,t=!0),"number"!==typeof e?n.throwError.call(this,"deg must be a number",r):"boolean"!==typeof t&&"string"!==typeof t?n.throwError.call(this,"mode must be a boolean or a string",r):(i.call(this,e,t,r),(0,n.isNodePattern)(r)&&r.call(this,null,this),this)}}};t["default"]=a}).call(this,r("b639").Buffer)},"21b4":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var n=r("c2d7"),i=function(){return{threshold:function(e,t){var r=this,i=e.max,a=e.replace,o=void 0===a?255:a,s=e.autoGreyscale,l=void 0===s||s;return"number"!==typeof i?n.throwError.call(this,"max must be a number",t):"number"!==typeof o?n.throwError.call(this,"replace must be a number",t):"boolean"!==typeof l?n.throwError.call(this,"autoGreyscale must be a boolean",t):(i=this.constructor.limit255(i),o=this.constructor.limit255(o),l&&this.greyscale(),this.scanQuiet(0,0,this.bitmap.width,this.bitmap.height,(function(e,t,n){var a=r.bitmap.data[n]<i?r.bitmap.data[n]:o;r.bitmap.data[n]=a,r.bitmap.data[n+1]=a,r.bitmap.data[n+2]=a})),(0,n.isNodePattern)(t)&&t.call(this,null,this),this)}}};t["default"]=i},2236:function(e,t,r){var n=r("5a43");function i(e){if(Array.isArray(e))return n(e)}e.exports=i},"230b":function(e,t,r){"use strict";(function(t){var n=r("3022"),i=r("91f2"),a=r("e22f6"),o=e.exports=function(e){i.call(this);var r=[],n=this;this._filter=new a(e,{read:this.read.bind(this),write:function(e){r.push(e)},complete:function(){n.emit("complete",t.concat(r))}}),this._filter.start()};n.inherits(o,i)}).call(this,r("b639").Buffer)},"239f":function(e,t,r){var n=r("51f3");function i(e,t){var r=new n(e,t);return function(e){return r.convert(e)}}i.BIN="01",i.OCT="01234567",i.DEC="0123456789",i.HEX="0123456789abcdef",e.exports=i},"24f8":function(e,t,r){var n=r("9490"),i=r("0b16"),a=e.exports;for(var o in n)n.hasOwnProperty(o)&&(a[o]=n[o]);function s(e){if("string"===typeof e&&(e=i.parse(e)),e.protocol||(e.protocol="https:"),"https:"!==e.protocol)throw new Error('Protocol "'+e.protocol+'" not supported. Expected "https:"');return e}a.request=function(e,t){return e=s(e),n.request.call(this,e,t)},a.get=function(e,t){return e=s(e),n.get.call(this,e,t)}},"25f0":function(e,t,r){"use strict";var n=r("6eeb"),i=r("825a"),a=r("d039"),o=r("ad6d"),s="toString",l=RegExp.prototype,c=l[s],u=a((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),f=c.name!=s;(u||f)&&n(RegExp.prototype,s,(function(){var e=i(this),t=String(e.source),r=e.flags,n=String(void 0===r&&e instanceof RegExp&&!("flags"in l)?o.call(e):r);return"/"+t+"/"+n}),{unsafe:!0})},2767:function(e,t,r){"use strict";(function(e){var n=r("2ad0"),i=[function(){},function(e,t,r,n){if(n===t.length)throw new Error("Ran out of data");var i=t[n];e[r]=i,e[r+1]=i,e[r+2]=i,e[r+3]=255},function(e,t,r,n){if(n+1>=t.length)throw new Error("Ran out of data");var i=t[n];e[r]=i,e[r+1]=i,e[r+2]=i,e[r+3]=t[n+1]},function(e,t,r,n){if(n+2>=t.length)throw new Error("Ran out of data");e[r]=t[n],e[r+1]=t[n+1],e[r+2]=t[n+2],e[r+3]=255},function(e,t,r,n){if(n+3>=t.length)throw new Error("Ran out of data");e[r]=t[n],e[r+1]=t[n+1],e[r+2]=t[n+2],e[r+3]=t[n+3]}],a=[function(){},function(e,t,r,n){var i=t[0];e[r]=i,e[r+1]=i,e[r+2]=i,e[r+3]=n},function(e,t,r){var n=t[0];e[r]=n,e[r+1]=n,e[r+2]=n,e[r+3]=t[1]},function(e,t,r,n){e[r]=t[0],e[r+1]=t[1],e[r+2]=t[2],e[r+3]=n},function(e,t,r){e[r]=t[0],e[r+1]=t[1],e[r+2]=t[2],e[r+3]=t[3]}];function o(e,t){var r=[],n=0;function i(){if(n===e.length)throw new Error("Ran out of data");var i,a,o,s,l,c,u,f,h=e[n];switch(n++,t){default:throw new Error("unrecognised depth");case 16:u=e[n],n++,r.push((h<<8)+u);break;case 4:u=15&h,f=h>>4,r.push(f,u);break;case 2:l=3&h,c=h>>2&3,u=h>>4&3,f=h>>6&3,r.push(f,u,c,l);break;case 1:i=1&h,a=h>>1&1,o=h>>2&1,s=h>>3&1,l=h>>4&1,c=h>>5&1,u=h>>6&1,f=h>>7&1,r.push(f,u,c,l,s,o,a,i);break}}return{get:function(e){while(r.length<e)i();var t=r.slice(0,e);return r=r.slice(e),t},resetAfterLine:function(){r.length=0},end:function(){if(n!==e.length)throw new Error("extra data found")}}}function s(e,t,r,n,a,o){for(var s=e.width,l=e.height,c=e.index,u=0;u<l;u++)for(var f=0;f<s;f++){var h=r(f,u,c);i[n](t,a,h,o),o+=n}return o}function l(e,t,r,n,i,o){for(var s=e.width,l=e.height,c=e.index,u=0;u<l;u++){for(var f=0;f<s;f++){var h=i.get(n),d=r(f,u,c);a[n](t,h,d,o)}i.resetAfterLine()}}t.dataToBitMap=function(t,r){var i,a=r.width,c=r.height,u=r.depth,f=r.bpp,h=r.interlace;if(8!==u)var d=o(t,u);i=u<=8?new e(a*c*4):new Uint16Array(a*c*4);var p,m,g=Math.pow(2,u)-1,b=0;if(h)p=n.getImagePasses(a,c),m=n.getInterlaceIterator(a,c);else{var y=0;m=function(){var e=y;return y+=4,e},p=[{width:a,height:c}]}for(var v=0;v<p.length;v++)8===u?b=s(p[v],i,m,f,t,b):l(p[v],i,m,f,d,g);if(8===u){if(b!==t.length)throw new Error("extra data found")}else d.end();return i}}).call(this,r("b639").Buffer)},"278c":function(e,t,r){var n=r("c135"),i=r("9b42"),a=r("6613"),o=r("c240");function s(e,t){return n(e)||i(e,t)||a(e,t)||o()}e.exports=s},"27bf":function(e,t,r){"use strict";e.exports=o;var n=r("b19a"),i=Object.create(r("3a7c"));function a(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);n.call(this,e),this._transformState={afterTransform:a.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"===typeof e.transform&&(this._transform=e.transform),"function"===typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"===typeof this._flush?this._flush((function(t,r){l(e,t,r)})):l(this,null,null)}function l(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=r("3fb5"),i.inherits(o,n),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},o.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},o.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,(function(e){t(e),r.emit("close")}))}},"27cc":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var n=r("c2d7"),i=function(){return{cover:function(e,t,r,i,a){if("number"!==typeof e||"number"!==typeof t)return n.throwError.call(this,"w and h must be numbers",a);r&&"function"===typeof r&&"undefined"===typeof a?(a=r,r=null,i=null):"function"===typeof i&&"undefined"===typeof a&&(a=i,i=null),r=r||this.constructor.HORIZONTAL_ALIGN_CENTER|this.constructor.VERTICAL_ALIGN_MIDDLE;var o=7&r,s=r>>3;if((0===o||o&o-1)&&(0===s||s&s-1))return n.throwError.call(this,"only use one flag per alignment direction",a);var l=o>>1,c=s>>1,u=e/t>this.bitmap.width/this.bitmap.height?e/this.bitmap.width:t/this.bitmap.height;return this.scale(u,i),this.crop((this.bitmap.width-e)/2*l,(this.bitmap.height-t)/2*c,e,t),(0,n.isNodePattern)(a)&&a.call(this,null,this),this}}};t["default"]=i},"28a0":function(e,t){"function"===typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},2909:function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r("6b75");function i(e){if(Array.isArray(e))return Object(n["a"])(e)}r("a4d3"),r("e01a"),r("d28b"),r("a630"),r("d3b7"),r("3ca3"),r("ddb0");function a(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}var o=r("06c5");function s(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e){return i(e)||a(e)||Object(o["a"])(e)||s()}},2956:function(e,t,r){"use strict";const n=r("d9d3"),{Gif:i,GifError:a}=r("480c"),{GifCodec:o}=r("51d2"),{GifFrame:s}=r("ad0b"),l=r("2bbd");e.exports={BitmapImage:n,Gif:i,GifCodec:o,GifFrame:s,GifUtil:l,GifError:a}},"2ad0":function(e,t,r){"use strict";var n=[{x:[0],y:[0]},{x:[4],y:[0]},{x:[0,4],y:[4]},{x:[2,6],y:[0,4]},{x:[0,2,4,6],y:[2,6]},{x:[1,3,5,7],y:[0,2,4,6]},{x:[0,1,2,3,4,5,6,7],y:[1,3,5,7]}];t.getImagePasses=function(e,t){for(var r=[],i=e%8,a=t%8,o=(e-i)/8,s=(t-a)/8,l=0;l<n.length;l++){for(var c=n[l],u=o*c.x.length,f=s*c.y.length,h=0;h<c.x.length;h++){if(!(c.x[h]<i))break;u++}for(h=0;h<c.y.length;h++){if(!(c.y[h]<a))break;f++}u>0&&f>0&&r.push({width:u,height:f,index:l})}return r},t.getInterlaceIterator=function(e){return function(t,r,i){var a=t%n[i].x.length,o=(t-a)/n[i].x.length*8+n[i].x[a],s=r%n[i].y.length,l=(r-s)/n[i].y.length*8+n[i].y[s];return 4*o+l*e*4}}},"2bbd":function(e,t,r){"use strict";(function(e){const n=r("3e8f"),i=r("e460"),a=r("d9d3"),{GifFrame:o}=r("ad0b"),{GifError:s}=r("480c"),{GifCodec:l}=r("51d2"),c=[".jpg",".jpeg",".png",".bmp"],u=new l;function f(e,t,r,n,a){const o=Array.isArray(e)?e:[e],s=["FloydSteinberg","FalseFloydSteinberg","Stucki","Atkinson","Jarvis","Burkes","Sierra","TwoSierra","SierraLite"];if(a){if(s.indexOf(a.ditherAlgorithm)<0)throw new Error(`Invalid ditherAlgorithm '${a.ditherAlgorithm}'`);void 0===a.serpentine&&(a.serpentine=!0),void 0===a.minimumColorDistanceToDither&&(a.minimumColorDistanceToDither=0),void 0===a.calculateErrorLikeGIMP&&(a.calculateErrorLikeGIMP=!1)}const l=new i.distance.Euclidean,c=new i.palette[t](l,r,n);let u;u=a?new i.image.ErrorDiffusionArray(l,i.image.ErrorDiffusionArrayKernel[a.ditherAlgorithm],a.serpentine,a.minimumColorDistanceToDither,a.calculateErrorLikeGIMP):new i.image.NearestColor(l);const f=[];o.forEach(e=>{const t=e.bitmap.data,r=new ArrayBuffer(t.length),n=new Uint32Array(r);for(let i=0,o=0;i<t.length;i+=4,++o)n[o]=t.readUInt32LE(i,!0);const a=i.utils.PointContainer.fromUint32Array(n,e.bitmap.width,e.bitmap.height);c.sample(a),f.push(a)});const h=c.quantizeSync();for(let i=0;i<o.length;++i){const e=o[i].bitmap.data,t=u.quantizeSync(f[i],h),r=t.toUint32Array();for(let n=0,i=0;n<e.length;n+=4,++i)e.writeUInt32LE(r[i],n)}}function h(e){return new Promise((t,r)=>{n.readFile(e,(e,n)=>e?r(e):t(n))})}function d(e,t){return new Promise((r,i)=>{n.writeFile(e,t,e=>e?i(e):r())})}t.cloneFrames=function(e){let t=[];return e.forEach(e=>{t.push(new o(e))}),t},t.getColorInfo=function(e,t){let r=!1;const n=[];for(let c=0;c<e.length;++c){let t=e[c].getPalette();if(t.usesTransparency&&(r=!0),t.indexCount>256)throw new s(`Frame ${c} uses more than 256 color indexes`);n.push(t)}if(0===t)return{usesTransparency:r,palettes:n};const i=new Set;n.forEach(e=>{e.colors.forEach(e=>{i.add(e)})});let a=i.size;if(r&&++a,t&&a>t)return{usesTransparency:r,palettes:n};const o=new Array(i.size),l=i.values();for(let s=0;s<o.length;++s)o[s]=l.next().value;return o.sort((e,t)=>e-t),{colors:o,indexCount:a,usesTransparency:r,palettes:n}},t.copyAsJimp=function(e,r){return t.shareAsJimp(e,new a(r))},t.getMaxDimensions=function(e){let t=0,r=0;return e.forEach(e=>{const n=e.xOffset+e.bitmap.width;n>t&&(t=n);const i=e.yOffset+e.bitmap.height;i>r&&(r=i)}),{maxWidth:t,maxHeight:r}},t.quantizeDekker=function(e,t,r){t=t||256,f(e,"NeuQuantFloat",t,0,r)},t.quantizeSorokin=function(e,t,r,n){let i;switch(t=t||256,r=r||"min-pop",r){case"min-pop":i=2;break;case"top-pop":i=1;break;default:throw new Error(`Invalid quantizeSorokin histogram '${r}'`)}f(e,"RGBQuant",t,i,n)},t.quantizeWu=function(e,t,r,n){if(t=t||256,r=r||5,r<1||r>8)throw new Error("Invalid quantization quality");f(e,"WuQuant",t,r,n)},t.read=function(t,r){return r=r||u,e.isBuffer(t)?r.decodeGif(t):h(t).then(e=>r.decodeGif(e))},t.shareAsJimp=function(e,t){const r=new e(t.bitmap.width,t.bitmap.height,0);return r.bitmap.data=t.bitmap.data,r},t.write=function(e,t,r,n){n=n||u;const i=e.match(/\.[a-zA-Z]+$/);if(null!==i&&c.includes(i[0].toLowerCase()))throw new Error(`GIF '${e}' has an unexpected suffix`);return n.encodeGif(t,r).then(t=>d(e,t.buffer).then(()=>t))}}).call(this,r("b639").Buffer)},"2c63":function(e,t,r){e.exports=r("dc14")},"2c85":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EDGE_CROP=t.EDGE_WRAP=t.EDGE_EXTEND=t.BLEND_EXCLUSION=t.BLEND_DIFFERENCE=t.BLEND_HARDLIGHT=t.BLEND_LIGHTEN=t.BLEND_DARKEN=t.BLEND_OVERLAY=t.BLEND_SCREEN=t.BLEND_ADD=t.BLEND_MULTIPLY=t.BLEND_DESTINATION_OVER=t.BLEND_SOURCE_OVER=t.VERTICAL_ALIGN_BOTTOM=t.VERTICAL_ALIGN_MIDDLE=t.VERTICAL_ALIGN_TOP=t.HORIZONTAL_ALIGN_RIGHT=t.HORIZONTAL_ALIGN_CENTER=t.HORIZONTAL_ALIGN_LEFT=t.AUTO=void 0;var n=-1;t.AUTO=n;var i=1;t.HORIZONTAL_ALIGN_LEFT=i;var a=2;t.HORIZONTAL_ALIGN_CENTER=a;var o=4;t.HORIZONTAL_ALIGN_RIGHT=o;var s=8;t.VERTICAL_ALIGN_TOP=s;var l=16;t.VERTICAL_ALIGN_MIDDLE=l;var c=32;t.VERTICAL_ALIGN_BOTTOM=c;var u="srcOver";t.BLEND_SOURCE_OVER=u;var f="dstOver";t.BLEND_DESTINATION_OVER=f;var h="multiply";t.BLEND_MULTIPLY=h;var d="add";t.BLEND_ADD=d;var p="screen";t.BLEND_SCREEN=p;var m="overlay";t.BLEND_OVERLAY=m;var g="darken";t.BLEND_DARKEN=g;var b="lighten";t.BLEND_LIGHTEN=b;var y="hardLight";t.BLEND_HARDLIGHT=y;var v="difference";t.BLEND_DIFFERENCE=v;var _="exclusion";t.BLEND_EXCLUSION=_;var w=1;t.EDGE_EXTEND=w;var E=2;t.EDGE_WRAP=E;var P=3;t.EDGE_CROP=P},"2ceb":function(e,t,r){"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},3022:function(e,t,r){(function(e){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},i=/%[sdj%]/g;t.format=function(e){if(!E(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(s(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,a=n.length,o=String(e).replace(i,(function(e){if("%%"===e)return"%";if(r>=a)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return e}})),l=n[r];r<a;l=n[++r])v(l)||!C(l)?o+=" "+l:o+=" "+s(l);return o},t.deprecate=function(r,n){if("undefined"!==typeof e&&!0===e.noDeprecation)return r;if("undefined"===typeof e)return function(){return t.deprecate(r,n).apply(this,arguments)};var i=!1;function a(){if(!i){if(e.throwDeprecation)throw new Error(n);e.traceDeprecation?console.trace(n):console.error(n),i=!0}return r.apply(this,arguments)}return a};var a,o={};function s(e,r){var n={seen:[],stylize:c};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),y(r)?n.showHidden=r:r&&t._extend(n,r),A(n.showHidden)&&(n.showHidden=!1),A(n.depth)&&(n.depth=2),A(n.colors)&&(n.colors=!1),A(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),f(n,e,n.depth)}function l(e,t){var r=s.styles[t];return r?"["+s.colors[r][0]+"m"+e+"["+s.colors[r][1]+"m":e}function c(e,t){return e}function u(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}function f(e,r,n){if(e.customInspect&&r&&B(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,e);return E(i)||(i=f(e,i,n)),i}var a=h(e,r);if(a)return a;var o=Object.keys(r),s=u(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(r)),I(r)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return d(r);if(0===o.length){if(B(r)){var l=r.name?": "+r.name:"";return e.stylize("[Function"+l+"]","special")}if(k(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(S(r))return e.stylize(Date.prototype.toString.call(r),"date");if(I(r))return d(r)}var c,y="",v=!1,_=["{","}"];if(b(r)&&(v=!0,_=["[","]"]),B(r)){var w=r.name?": "+r.name:"";y=" [Function"+w+"]"}return k(r)&&(y=" "+RegExp.prototype.toString.call(r)),S(r)&&(y=" "+Date.prototype.toUTCString.call(r)),I(r)&&(y=" "+d(r)),0!==o.length||v&&0!=r.length?n<0?k(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),c=v?p(e,r,n,s,o):o.map((function(t){return m(e,r,n,s,t,v)})),e.seen.pop(),g(c,y,_)):_[0]+y+_[1]}function h(e,t){if(A(t))return e.stylize("undefined","undefined");if(E(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return w(t)?e.stylize(""+t,"number"):y(t)?e.stylize(""+t,"boolean"):v(t)?e.stylize("null","null"):void 0}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function p(e,t,r,n,i){for(var a=[],o=0,s=t.length;o<s;++o)N(t,String(o))?a.push(m(e,t,r,n,String(o),!0)):a.push("");return i.forEach((function(i){i.match(/^\d+$/)||a.push(m(e,t,r,n,i,!0))})),a}function m(e,t,r,n,i,a){var o,s,l;if(l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},l.get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),N(n,i)||(o="["+i+"]"),s||(e.seen.indexOf(l.value)<0?(s=v(r)?f(e,l.value,null):f(e,l.value,r-1),s.indexOf("\n")>-1&&(s=a?s.split("\n").map((function(e){return"  "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return"   "+e})).join("\n"))):s=e.stylize("[Circular]","special")),A(o)){if(a&&i.match(/^\d+$/))return s;o=JSON.stringify(""+i),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+s}function g(e,t,r){var n=e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);return n>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function b(e){return Array.isArray(e)}function y(e){return"boolean"===typeof e}function v(e){return null===e}function _(e){return null==e}function w(e){return"number"===typeof e}function E(e){return"string"===typeof e}function P(e){return"symbol"===typeof e}function A(e){return void 0===e}function k(e){return C(e)&&"[object RegExp]"===T(e)}function C(e){return"object"===typeof e&&null!==e}function S(e){return C(e)&&"[object Date]"===T(e)}function I(e){return C(e)&&("[object Error]"===T(e)||e instanceof Error)}function B(e){return"function"===typeof e}function x(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e}function T(e){return Object.prototype.toString.call(e)}function R(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(r){if(A(a)&&(a=Object({NODE_ENV:"production",VUE_APP_LANGUAGE_KEY:"en",VUE_APP_NEW_COMPANY:"false",VUE_APP_VERSION:"6.3.1",BASE_URL:"./"}).NODE_DEBUG||""),r=r.toUpperCase(),!o[r])if(new RegExp("\\b"+r+"\\b","i").test(a)){var n=e.pid;o[r]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",r,n,e)}}else o[r]=function(){};return o[r]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=b,t.isBoolean=y,t.isNull=v,t.isNullOrUndefined=_,t.isNumber=w,t.isString=E,t.isSymbol=P,t.isUndefined=A,t.isRegExp=k,t.isObject=C,t.isDate=S,t.isError=I,t.isFunction=B,t.isPrimitive=x,t.isBuffer=r("d60a");var M=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O(){var e=new Date,t=[R(e.getHours()),R(e.getMinutes()),R(e.getSeconds())].join(":");return[e.getDate(),M[e.getMonth()],t].join(" ")}function N(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",O(),t.format.apply(t,arguments))},t.inherits=r("28a0"),t._extend=function(e,t){if(!t||!C(t))return e;var r=Object.keys(t),n=r.length;while(n--)e[r[n]]=t[r[n]];return e};var U="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function L(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}function D(t){if("function"!==typeof t)throw new TypeError('The "original" argument must be of type Function');function r(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var i=r.pop();if("function"!==typeof i)throw new TypeError("The last argument must be of type Function");var a=this,o=function(){return i.apply(a,arguments)};t.apply(this,r).then((function(t){e.nextTick(o,null,t)}),(function(t){e.nextTick(L,t,o)}))}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),Object.defineProperties(r,n(t)),r}t.promisify=function(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');if(U&&e[U]){var t=e[U];if("function"!==typeof t)throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,U,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),i=[],a=0;a<arguments.length;a++)i.push(arguments[a]);i.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,i)}catch(o){r(o)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),U&&Object.defineProperty(t,U,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,n(e))},t.promisify.custom=U,t.callbackify=D}).call(this,r("4362"))},"30c8":function(e,t,r){(function(t){function r(e){this.buffer=e.data,this.width=e.width,this.height=e.height,this.extraBytes=this.width%4,this.rgbSize=this.height*(3*this.width+this.extraBytes),this.headerInfoSize=40,this.data=[],this.flag="BM",this.reserved=0,this.offset=54,this.fileSize=this.rgbSize+this.offset,this.planes=1,this.bitPP=24,this.compress=0,this.hr=0,this.vr=0,this.colors=0,this.importantColors=0}r.prototype.encode=function(){var e=new t(this.offset+this.rgbSize);this.pos=0,e.write(this.flag,this.pos,2),this.pos+=2,e.writeUInt32LE(this.fileSize,this.pos),this.pos+=4,e.writeUInt32LE(this.reserved,this.pos),this.pos+=4,e.writeUInt32LE(this.offset,this.pos),this.pos+=4,e.writeUInt32LE(this.headerInfoSize,this.pos),this.pos+=4,e.writeUInt32LE(this.width,this.pos),this.pos+=4,e.writeInt32LE(-this.height,this.pos),this.pos+=4,e.writeUInt16LE(this.planes,this.pos),this.pos+=2,e.writeUInt16LE(this.bitPP,this.pos),this.pos+=2,e.writeUInt32LE(this.compress,this.pos),this.pos+=4,e.writeUInt32LE(this.rgbSize,this.pos),this.pos+=4,e.writeUInt32LE(this.hr,this.pos),this.pos+=4,e.writeUInt32LE(this.vr,this.pos),this.pos+=4,e.writeUInt32LE(this.colors,this.pos),this.pos+=4,e.writeUInt32LE(this.importantColors,this.pos),this.pos+=4;for(var r=0,n=3*this.width+this.extraBytes,i=0;i<this.height;i++){for(var a=0;a<this.width;a++){var o=this.pos+i*n+3*a;r++,e[o]=this.buffer[r++],e[o+1]=this.buffer[r++],e[o+2]=this.buffer[r++]}if(this.extraBytes>0){var s=this.pos+i*n+3*this.width;e.fill(0,s,s+this.extraBytes)}}return e},e.exports=function(e,t){"undefined"===typeof t&&(t=100);var n=new r(e),i=n.encode();return{data:i,width:e.width,height:e.height}}}).call(this,r("b639").Buffer)},"320c":function(e,t,r){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var n=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function s(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==n.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(a){return!1}}e.exports=s()?Object.assign:function(e,t){for(var r,s,l=o(e),c=1;c<arguments.length;c++){for(var u in r=Object(arguments[c]),r)i.call(r,u)&&(l[u]=r[u]);if(n){s=n(r);for(var f=0;f<s.length;f++)a.call(r,s[f])&&(l[s[f]]=r[s[f]])}}return l}},"324e":function(e,t,r){"use strict";function n(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;e.a*=r;var n=t.a+e.a-t.a*e.a,i=(e.r*e.a+t.r*t.a*(1-e.a))/n,a=(e.g*e.a+t.g*t.a*(1-e.a))/n,o=(e.b*e.a+t.b*t.a*(1-e.a))/n;return{r:i,g:a,b:o,a:n}}function i(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;e.a*=r;var n=t.a+e.a-t.a*e.a,i=(t.r*t.a+e.r*e.a*(1-t.a))/n,a=(t.g*t.a+e.g*e.a*(1-t.a))/n,o=(t.b*t.a+e.b*e.a*(1-t.a))/n;return{r:i,g:a,b:o,a:n}}function a(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;e.a*=r;var n=t.a+e.a-t.a*e.a,i=e.r*e.a,a=e.g*e.a,o=e.b*e.a,s=t.r*t.a,l=t.g*t.a,c=t.b*t.a,u=(i*s+i*(1-t.a)+s*(1-e.a))/n,f=(a*l+a*(1-t.a)+l*(1-e.a))/n,h=(o*c+o*(1-t.a)+c*(1-e.a))/n;return{r:u,g:f,b:h,a:n}}function o(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;e.a*=r;var n=t.a+e.a-t.a*e.a,i=e.r*e.a,a=e.g*e.a,o=e.b*e.a,s=t.r*t.a,l=t.g*t.a,c=t.b*t.a,u=(i+s)/n,f=(a+l)/n,h=(o+c)/n;return{r:u,g:f,b:h,a:n}}function s(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;e.a*=r;var n=t.a+e.a-t.a*e.a,i=e.r*e.a,a=e.g*e.a,o=e.b*e.a,s=t.r*t.a,l=t.g*t.a,c=t.b*t.a,u=(i*t.a+s*e.a-i*s+i*(1-t.a)+s*(1-e.a))/n,f=(a*t.a+l*e.a-a*l+a*(1-t.a)+l*(1-e.a))/n,h=(o*t.a+c*e.a-o*c+o*(1-t.a)+c*(1-e.a))/n;return{r:u,g:f,b:h,a:n}}function l(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;e.a*=r;var n=t.a+e.a-t.a*e.a,i=e.r*e.a,a=e.g*e.a,o=e.b*e.a,s=t.r*t.a,l=t.g*t.a,c=t.b*t.a,u=(2*s<=t.a?2*i*s+i*(1-t.a)+s*(1-e.a):i*(1+t.a)+s*(1+e.a)-2*s*i-t.a*e.a)/n,f=(2*l<=t.a?2*a*l+a*(1-t.a)+l*(1-e.a):a*(1+t.a)+l*(1+e.a)-2*l*a-t.a*e.a)/n,h=(2*c<=t.a?2*o*c+o*(1-t.a)+c*(1-e.a):o*(1+t.a)+c*(1+e.a)-2*c*o-t.a*e.a)/n;return{r:u,g:f,b:h,a:n}}function c(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;e.a*=r;var n=t.a+e.a-t.a*e.a,i=e.r*e.a,a=e.g*e.a,o=e.b*e.a,s=t.r*t.a,l=t.g*t.a,c=t.b*t.a,u=(Math.min(i*t.a,s*e.a)+i*(1-t.a)+s*(1-e.a))/n,f=(Math.min(a*t.a,l*e.a)+a*(1-t.a)+l*(1-e.a))/n,h=(Math.min(o*t.a,c*e.a)+o*(1-t.a)+c*(1-e.a))/n;return{r:u,g:f,b:h,a:n}}function u(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;e.a*=r;var n=t.a+e.a-t.a*e.a,i=e.r*e.a,a=e.g*e.a,o=e.b*e.a,s=t.r*t.a,l=t.g*t.a,c=t.b*t.a,u=(Math.max(i*t.a,s*e.a)+i*(1-t.a)+s*(1-e.a))/n,f=(Math.max(a*t.a,l*e.a)+a*(1-t.a)+l*(1-e.a))/n,h=(Math.max(o*t.a,c*e.a)+o*(1-t.a)+c*(1-e.a))/n;return{r:u,g:f,b:h,a:n}}function f(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;e.a*=r;var n=t.a+e.a-t.a*e.a,i=e.r*e.a,a=e.g*e.a,o=e.b*e.a,s=t.r*t.a,l=t.g*t.a,c=t.b*t.a,u=(2*i<=e.a?2*i*s+i*(1-t.a)+s*(1-e.a):i*(1+t.a)+s*(1+e.a)-2*s*i-t.a*e.a)/n,f=(2*a<=e.a?2*a*l+a*(1-t.a)+l*(1-e.a):a*(1+t.a)+l*(1+e.a)-2*l*a-t.a*e.a)/n,h=(2*o<=e.a?2*o*c+o*(1-t.a)+c*(1-e.a):o*(1+t.a)+c*(1+e.a)-2*c*o-t.a*e.a)/n;return{r:u,g:f,b:h,a:n}}function h(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;e.a*=r;var n=t.a+e.a-t.a*e.a,i=e.r*e.a,a=e.g*e.a,o=e.b*e.a,s=t.r*t.a,l=t.g*t.a,c=t.b*t.a,u=(i+s-2*Math.min(i*t.a,s*e.a))/n,f=(a+l-2*Math.min(a*t.a,l*e.a))/n,h=(o+c-2*Math.min(o*t.a,c*e.a))/n;return{r:u,g:f,b:h,a:n}}function d(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;e.a*=r;var n=t.a+e.a-t.a*e.a,i=e.r*e.a,a=e.g*e.a,o=e.b*e.a,s=t.r*t.a,l=t.g*t.a,c=t.b*t.a,u=(i*t.a+s*e.a-2*i*s+i*(1-t.a)+s*(1-e.a))/n,f=(a*t.a+l*e.a-2*a*l+a*(1-t.a)+l*(1-e.a))/n,h=(o*t.a+c*e.a-2*o*c+o*(1-t.a)+c*(1-e.a))/n;return{r:u,g:f,b:h,a:n}}Object.defineProperty(t,"__esModule",{value:!0}),t.srcOver=n,t.dstOver=i,t.multiply=a,t.add=o,t.screen=s,t.overlay=l,t.darken=c,t.lighten=u,t.hardLight=f,t.difference=h,t.exclusion=d},3372:function(e,t,r){"use strict";var n=[];(function(){for(var e=0;e<256;e++){for(var t=e,r=0;r<8;r++)1&t?t=3988292384^t>>>1:t>>>=1;n[e]=t}})();var i=e.exports=function(){this._crc=-1};i.prototype.write=function(e){for(var t=0;t<e.length;t++)this._crc=n[255&(this._crc^e[t])]^this._crc>>>8;return!0},i.prototype.crc32=function(){return-1^this._crc},i.crc32=function(e){for(var t=-1,r=0;r<e.length;r++)t=n[255&(t^e[r])]^t>>>8;return-1^t}},3410:function(e,t,r){var n=r("23e7"),i=r("d039"),a=r("7b0b"),o=r("e163"),s=r("e177"),l=i((function(){o(1)}));n({target:"Object",stat:!0,forced:l,sham:!s},{getPrototypeOf:function(e){return o(a(e))}})},"35dd":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var n=r("c2d7");function i(){var e={r:new Array(256).fill(0),g:new Array(256).fill(0),b:new Array(256).fill(0)};return this.scanQuiet(0,0,this.bitmap.width,this.bitmap.height,(function(t,r,n){e.r[this.bitmap.data[n+0]]++,e.g[this.bitmap.data[n+1]]++,e.b[this.bitmap.data[n+2]]++})),e}var a=function(e,t,r){return 255*(e-t)/(r-t)},o=function(e){return[e.findIndex((function(e){return e>0})),255-e.slice().reverse().findIndex((function(e){return e>0}))]},s=function(){return{normalize:function(e){var t=i.call(this),r={r:o(t.r),g:o(t.g),b:o(t.b)};return this.scanQuiet(0,0,this.bitmap.width,this.bitmap.height,(function(e,t,n){var i=this.bitmap.data[n+0],o=this.bitmap.data[n+1],s=this.bitmap.data[n+2];this.bitmap.data[n+0]=a(i,r.r[0],r.r[1]),this.bitmap.data[n+1]=a(o,r.g[0],r.g[1]),this.bitmap.data[n+2]=a(s,r.b[0],r.b[1])})),(0,n.isNodePattern)(e)&&e.call(this,null,this),this}}};t["default"]=s},"35e8":function(e,t,r){"use strict";e.exports={isString:function(e){return"string"===typeof e},isObject:function(e){return"object"===typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},"36c6":function(e,t,r){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}r("3410"),e.exports=n},"3a7c":function(e,t,r){(function(e){function r(e){return Array.isArray?Array.isArray(e):"[object Array]"===g(e)}function n(e){return"boolean"===typeof e}function i(e){return null===e}function a(e){return null==e}function o(e){return"number"===typeof e}function s(e){return"string"===typeof e}function l(e){return"symbol"===typeof e}function c(e){return void 0===e}function u(e){return"[object RegExp]"===g(e)}function f(e){return"object"===typeof e&&null!==e}function h(e){return"[object Date]"===g(e)}function d(e){return"[object Error]"===g(e)||e instanceof Error}function p(e){return"function"===typeof e}function m(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e}function g(e){return Object.prototype.toString.call(e)}t.isArray=r,t.isBoolean=n,t.isNull=i,t.isNullOrUndefined=a,t.isNumber=o,t.isString=s,t.isSymbol=l,t.isUndefined=c,t.isRegExp=u,t.isObject=f,t.isDate=h,t.isError=d,t.isFunction=p,t.isPrimitive=m,t.isBuffer=e.isBuffer}).call(this,r("b639").Buffer)},"3c96":function(e,t){function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}e.exports=r},"3cbc":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var n=r("c2d7");function i(e){var t=[1,9,3,11,13,5,15,7,4,12,2,10,16,8,14,6];return this.scanQuiet(0,0,this.bitmap.width,this.bitmap.height,(function(e,r,n){var i=((3&r)<<2)+e%4,a=t[i];this.bitmap.data[n]=Math.min(this.bitmap.data[n]+a,255),this.bitmap.data[n+1]=Math.min(this.bitmap.data[n+1]+a,255),this.bitmap.data[n+2]=Math.min(this.bitmap.data[n+2]+a,255)})),(0,n.isNodePattern)(e)&&e.call(this,null,this),this}var a=function(){return{dither565:i,dither16:i}};t["default"]=a},"3cf2":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var n=r("c2d7"),i=function(){return{contain:function(e,t,r,i,a){if("number"!==typeof e||"number"!==typeof t)return n.throwError.call(this,"w and h must be numbers",a);"string"===typeof r&&("function"===typeof i&&"undefined"===typeof a&&(a=i),i=r,r=null),"function"===typeof r&&("undefined"===typeof a&&(a=r),i=null,r=null),"function"===typeof i&&"undefined"===typeof a&&(a=i,i=null),r=r||this.constructor.HORIZONTAL_ALIGN_CENTER|this.constructor.VERTICAL_ALIGN_MIDDLE;var o=7&r,s=r>>3;if((0===o||o&o-1)&&(0===s||s&s-1))return n.throwError.call(this,"only use one flag per alignment direction",a);var l=o>>1,c=s>>1,u=e/t>this.bitmap.width/this.bitmap.height?t/this.bitmap.height:e/this.bitmap.width,f=this.cloneQuiet().scale(u,i);return this.resize(e,t,i),this.scanQuiet(0,0,this.bitmap.width,this.bitmap.height,(function(e,t,r){this.bitmap.data.writeUInt32BE(this._background,r)})),this.blit(f,(this.bitmap.width-f.bitmap.width)/2*l,(this.bitmap.height-f.bitmap.height)/2*c),(0,n.isNodePattern)(a)&&a.call(this,null,this),this}}};t["default"]=i},"3d78":function(e,t,r){"use strict";const n=e=>[...e].map(e=>e.charCodeAt(0)),i=n("META-INF/mozilla.rsa"),a=n("[Content_Types].xml"),o=n("_rels/.rels");e.exports=e=>{const t=e instanceof Uint8Array?e:new Uint8Array(e);if(!(t&&t.length>1))return null;const r=(e,r)=>{r=Object.assign({offset:0},r);for(let n=0;n<e.length;n++)if(r.mask){if(e[n]!==(r.mask[n]&t[n+r.offset]))return!1}else if(e[n]!==t[n+r.offset])return!1;return!0},s=(e,t)=>r(n(e),t);if(r([255,216,255]))return{ext:"jpg",mime:"image/jpeg"};if(r([137,80,78,71,13,10,26,10]))return{ext:"png",mime:"image/png"};if(r([71,73,70]))return{ext:"gif",mime:"image/gif"};if(r([87,69,66,80],{offset:8}))return{ext:"webp",mime:"image/webp"};if(r([70,76,73,70]))return{ext:"flif",mime:"image/flif"};if((r([73,73,42,0])||r([77,77,0,42]))&&r([67,82],{offset:8}))return{ext:"cr2",mime:"image/x-canon-cr2"};if(r([73,73,42,0])||r([77,77,0,42]))return{ext:"tif",mime:"image/tiff"};if(r([66,77]))return{ext:"bmp",mime:"image/bmp"};if(r([73,73,188]))return{ext:"jxr",mime:"image/vnd.ms-photo"};if(r([56,66,80,83]))return{ext:"psd",mime:"image/vnd.adobe.photoshop"};if(r([80,75,3,4])){if(r([109,105,109,101,116,121,112,101,97,112,112,108,105,99,97,116,105,111,110,47,101,112,117,98,43,122,105,112],{offset:30}))return{ext:"epub",mime:"application/epub+zip"};if(r(i,{offset:30}))return{ext:"xpi",mime:"application/x-xpinstall"};if(s("mimetypeapplication/vnd.oasis.opendocument.text",{offset:30}))return{ext:"odt",mime:"application/vnd.oasis.opendocument.text"};if(s("mimetypeapplication/vnd.oasis.opendocument.spreadsheet",{offset:30}))return{ext:"ods",mime:"application/vnd.oasis.opendocument.spreadsheet"};if(s("mimetypeapplication/vnd.oasis.opendocument.presentation",{offset:30}))return{ext:"odp",mime:"application/vnd.oasis.opendocument.presentation"};const e=(e,t=0)=>e.findIndex((e,r,n)=>r>=t&&80===n[r]&&75===n[r+1]&&3===n[r+2]&&4===n[r+3]);let n=0,l=!1,c=null;do{const i=n+30;if(l||(l=r(a,{offset:i})||r(o,{offset:i})),c||(s("word/",{offset:i})?c={ext:"docx",mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"}:s("ppt/",{offset:i})?c={ext:"pptx",mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation"}:s("xl/",{offset:i})&&(c={ext:"xlsx",mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"})),l&&c)return c;n=e(t,i)}while(n>=0);if(c)return c}if(r([80,75])&&(3===t[2]||5===t[2]||7===t[2])&&(4===t[3]||6===t[3]||8===t[3]))return{ext:"zip",mime:"application/zip"};if(r([117,115,116,97,114],{offset:257}))return{ext:"tar",mime:"application/x-tar"};if(r([82,97,114,33,26,7])&&(0===t[6]||1===t[6]))return{ext:"rar",mime:"application/x-rar-compressed"};if(r([31,139,8]))return{ext:"gz",mime:"application/gzip"};if(r([66,90,104]))return{ext:"bz2",mime:"application/x-bzip2"};if(r([55,122,188,175,39,28]))return{ext:"7z",mime:"application/x-7z-compressed"};if(r([120,1]))return{ext:"dmg",mime:"application/x-apple-diskimage"};if(r([51,103,112,53])||r([0,0,0])&&r([102,116,121,112],{offset:4})&&(r([109,112,52,49],{offset:8})||r([109,112,52,50],{offset:8})||r([105,115,111,109],{offset:8})||r([105,115,111,50],{offset:8})||r([109,109,112,52],{offset:8})||r([77,52,86],{offset:8})||r([100,97,115,104],{offset:8})))return{ext:"mp4",mime:"video/mp4"};if(r([77,84,104,100]))return{ext:"mid",mime:"audio/midi"};if(r([26,69,223,163])){const e=t.subarray(4,4100),r=e.findIndex((e,t,r)=>66===r[t]&&130===r[t+1]);if(-1!==r){const t=r+3,n=r=>[...r].every((r,n)=>e[t+n]===r.charCodeAt(0));if(n("matroska"))return{ext:"mkv",mime:"video/x-matroska"};if(n("webm"))return{ext:"webm",mime:"video/webm"}}}if(r([0,0,0,20,102,116,121,112,113,116,32,32])||r([102,114,101,101],{offset:4})||r([102,116,121,112,113,116,32,32],{offset:4})||r([109,100,97,116],{offset:4})||r([119,105,100,101],{offset:4}))return{ext:"mov",mime:"video/quicktime"};if(r([82,73,70,70])){if(r([65,86,73],{offset:8}))return{ext:"avi",mime:"video/vnd.avi"};if(r([87,65,86,69],{offset:8}))return{ext:"wav",mime:"audio/vnd.wave"};if(r([81,76,67,77],{offset:8}))return{ext:"qcp",mime:"audio/qcelp"}}if(r([48,38,178,117,142,102,207,17,166,217]))return{ext:"wmv",mime:"video/x-ms-wmv"};if(r([0,0,1,186])||r([0,0,1,179]))return{ext:"mpg",mime:"video/mpeg"};if(r([102,116,121,112,51,103],{offset:4}))return{ext:"3gp",mime:"video/3gpp"};for(let n=0;n<2&&n<t.length-16;n++){if(r([73,68,51],{offset:n})||r([255,226],{offset:n,mask:[255,226]}))return{ext:"mp3",mime:"audio/mpeg"};if(r([255,228],{offset:n,mask:[255,228]}))return{ext:"mp2",mime:"audio/mpeg"};if(r([255,248],{offset:n,mask:[255,252]}))return{ext:"mp2",mime:"audio/mpeg"};if(r([255,240],{offset:n,mask:[255,252]}))return{ext:"mp4",mime:"audio/mpeg"}}if(r([102,116,121,112,77,52,65],{offset:4})||r([77,52,65,32]))return{ext:"m4a",mime:"audio/mp4"};if(r([79,112,117,115,72,101,97,100],{offset:28}))return{ext:"opus",mime:"audio/opus"};if(r([79,103,103,83]))return r([128,116,104,101,111,114,97],{offset:28})?{ext:"ogv",mime:"video/ogg"}:r([1,118,105,100,101,111,0],{offset:28})?{ext:"ogm",mime:"video/ogg"}:r([127,70,76,65,67],{offset:28})?{ext:"oga",mime:"audio/ogg"}:r([83,112,101,101,120,32,32],{offset:28})?{ext:"spx",mime:"audio/ogg"}:r([1,118,111,114,98,105,115],{offset:28})?{ext:"ogg",mime:"audio/ogg"}:{ext:"ogx",mime:"application/ogg"};if(r([102,76,97,67]))return{ext:"flac",mime:"audio/x-flac"};if(r([77,65,67,32]))return{ext:"ape",mime:"audio/ape"};if(r([119,118,112,107]))return{ext:"wv",mime:"audio/wavpack"};if(r([35,33,65,77,82,10]))return{ext:"amr",mime:"audio/amr"};if(r([37,80,68,70]))return{ext:"pdf",mime:"application/pdf"};if(r([77,90]))return{ext:"exe",mime:"application/x-msdownload"};if((67===t[0]||70===t[0])&&r([87,83],{offset:1}))return{ext:"swf",mime:"application/x-shockwave-flash"};if(r([123,92,114,116,102]))return{ext:"rtf",mime:"application/rtf"};if(r([0,97,115,109]))return{ext:"wasm",mime:"application/wasm"};if(r([119,79,70,70])&&(r([0,1,0,0],{offset:4})||r([79,84,84,79],{offset:4})))return{ext:"woff",mime:"font/woff"};if(r([119,79,70,50])&&(r([0,1,0,0],{offset:4})||r([79,84,84,79],{offset:4})))return{ext:"woff2",mime:"font/woff2"};if(r([76,80],{offset:34})&&(r([0,0,1],{offset:8})||r([1,0,2],{offset:8})||r([2,0,2],{offset:8})))return{ext:"eot",mime:"application/vnd.ms-fontobject"};if(r([0,1,0,0,0]))return{ext:"ttf",mime:"font/ttf"};if(r([79,84,84,79,0]))return{ext:"otf",mime:"font/otf"};if(r([0,0,1,0]))return{ext:"ico",mime:"image/x-icon"};if(r([0,0,2,0]))return{ext:"cur",mime:"image/x-icon"};if(r([70,76,86,1]))return{ext:"flv",mime:"video/x-flv"};if(r([37,33]))return{ext:"ps",mime:"application/postscript"};if(r([253,55,122,88,90,0]))return{ext:"xz",mime:"application/x-xz"};if(r([83,81,76,105]))return{ext:"sqlite",mime:"application/x-sqlite3"};if(r([78,69,83,26]))return{ext:"nes",mime:"application/x-nintendo-nes-rom"};if(r([67,114,50,52]))return{ext:"crx",mime:"application/x-google-chrome-extension"};if(r([77,83,67,70])||r([73,83,99,40]))return{ext:"cab",mime:"application/vnd.ms-cab-compressed"};if(r([33,60,97,114,99,104,62,10,100,101,98,105,97,110,45,98,105,110,97,114,121]))return{ext:"deb",mime:"application/x-deb"};if(r([33,60,97,114,99,104,62]))return{ext:"ar",mime:"application/x-unix-archive"};if(r([237,171,238,219]))return{ext:"rpm",mime:"application/x-rpm"};if(r([31,160])||r([31,157]))return{ext:"Z",mime:"application/x-compress"};if(r([76,90,73,80]))return{ext:"lz",mime:"application/x-lzip"};if(r([208,207,17,224,161,177,26,225]))return{ext:"msi",mime:"application/x-msi"};if(r([6,14,43,52,2,5,1,1,13,1,2,1,1,2]))return{ext:"mxf",mime:"application/mxf"};if(r([71],{offset:4})&&(r([71],{offset:192})||r([71],{offset:196})))return{ext:"mts",mime:"video/mp2t"};if(r([66,76,69,78,68,69,82]))return{ext:"blend",mime:"application/x-blender"};if(r([66,80,71,251]))return{ext:"bpg",mime:"image/bpg"};if(r([0,0,0,12,106,80,32,32,13,10,135,10])){if(r([106,112,50,32],{offset:20}))return{ext:"jp2",mime:"image/jp2"};if(r([106,112,120,32],{offset:20}))return{ext:"jpx",mime:"image/jpx"};if(r([106,112,109,32],{offset:20}))return{ext:"jpm",mime:"image/jpm"};if(r([109,106,112,50],{offset:20}))return{ext:"mj2",mime:"image/mj2"}}if(r([70,79,82,77,0]))return{ext:"aif",mime:"audio/aiff"};if(s("<?xml "))return{ext:"xml",mime:"application/xml"};if(r([66,79,79,75,77,79,66,73],{offset:60}))return{ext:"mobi",mime:"application/x-mobipocket-ebook"};if(r([102,116,121,112],{offset:4})){if(r([109,105,102,49],{offset:8}))return{ext:"heic",mime:"image/heif"};if(r([109,115,102,49],{offset:8}))return{ext:"heic",mime:"image/heif-sequence"};if(r([104,101,105,99],{offset:8})||r([104,101,105,120],{offset:8}))return{ext:"heic",mime:"image/heic"};if(r([104,101,118,99],{offset:8})||r([104,101,118,120],{offset:8}))return{ext:"heic",mime:"image/heic-sequence"}}return r([171,75,84,88,32,49,49,187,13,10,26,10])?{ext:"ktx",mime:"image/ktx"}:null}},"3dcc":function(e,t,r){},"3e8f":function(e,t){},"3fb5":function(e,t){"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},4126:function(e,t,r){"use strict";var n=r("a177"),i=r("be7fe"),a=r("7b27"),o=r("4dc6"),s=r("8936"),l=Object.prototype.toString,c=0,u=4,f=0,h=1,d=2,p=-1,m=0,g=8;function b(e){if(!(this instanceof b))return new b(e);this.options=i.assign({level:p,method:g,chunkSize:16384,windowBits:15,memLevel:8,strategy:m,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var r=n.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==f)throw new Error(o[r]);if(t.header&&n.deflateSetHeader(this.strm,t.header),t.dictionary){var c;if(c="string"===typeof t.dictionary?a.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,r=n.deflateSetDictionary(this.strm,c),r!==f)throw new Error(o[r]);this._dict_set=!0}}function y(e,t){var r=new b(t);if(r.push(e,!0),r.err)throw r.msg||o[r.err];return r.result}function v(e,t){return t=t||{},t.raw=!0,y(e,t)}function _(e,t){return t=t||{},t.gzip=!0,y(e,t)}b.prototype.push=function(e,t){var r,o,s=this.strm,p=this.options.chunkSize;if(this.ended)return!1;o=t===~~t?t:!0===t?u:c,"string"===typeof e?s.input=a.string2buf(e):"[object ArrayBuffer]"===l.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(p),s.next_out=0,s.avail_out=p),r=n.deflate(s,o),r!==h&&r!==f)return this.onEnd(r),this.ended=!0,!1;0!==s.avail_out&&(0!==s.avail_in||o!==u&&o!==d)||("string"===this.options.to?this.onData(a.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((s.avail_in>0||0===s.avail_out)&&r!==h);return o===u?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===f):o!==d||(this.onEnd(f),s.avail_out=0,!0)},b.prototype.onData=function(e){this.chunks.push(e)},b.prototype.onEnd=function(e){e===f&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Deflate=b,t.deflate=y,t.deflateRaw=v,t.gzip=_},4196:function(e,t,r){"use strict";(function(t){function r(e,t,r,n,i){for(var a=0,o=0;o<n;o++)for(var s=0;s<r;s++){var l=i[e[a]];if(!l)throw new Error("index "+e[a]+" not in palette");for(var c=0;c<4;c++)t[a+c]=l[c];a+=4}}function n(e,t,r,n,i){for(var a=0,o=0;o<n;o++)for(var s=0;s<r;s++){var l=!1;if(1===i.length?i[0]===e[a]&&(l=!0):i[0]===e[a]&&i[1]===e[a+1]&&i[2]===e[a+2]&&(l=!0),l)for(var c=0;c<4;c++)t[a+c]=0;a+=4}}function i(e,t,r,n,i){for(var a=255,o=Math.pow(2,i)-1,s=0,l=0;l<n;l++)for(var c=0;c<r;c++){for(var u=0;u<4;u++)t[s+u]=Math.floor(e[s+u]*a/o+.5);s+=4}}e.exports=function(e,a){var o=a.depth,s=a.width,l=a.height,c=a.colorType,u=a.transColor,f=a.palette,h=e;return 3===c?r(e,h,s,l,f):(u&&n(e,h,s,l,u),8!==o&&(16===o&&(h=new t(s*l*4)),i(e,h,s,l,o))),h}}).call(this,r("b639").Buffer)},"429b":function(e,t,r){e.exports=r("faa1").EventEmitter},"445d":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var n=r("c2d7"),i=r("cf38"),a=function(){return{blur:function(e,t){if("number"!==typeof e)return n.throwError.call(this,"r must be a number",t);if(e<1)return n.throwError.call(this,"r must be greater than 0",t);var r,a,o,s,l,c,u,f,h,d,p,m,g,b,y=this.bitmap.width-1,v=this.bitmap.height-1,_=e+1,w=i.mulTable[e],E=i.shgTable[e],P=[],A=[],k=[],C=[],S=[],I=[],B=2;while(B-- >0){for(m=0,g=0,c=0;c<this.bitmap.height;c++){for(r=this.bitmap.data[g]*_,a=this.bitmap.data[g+1]*_,o=this.bitmap.data[g+2]*_,s=this.bitmap.data[g+3]*_,u=1;u<=e;u++)f=g+((u>y?y:u)<<2),r+=this.bitmap.data[f++],a+=this.bitmap.data[f++],o+=this.bitmap.data[f++],s+=this.bitmap.data[f];for(l=0;l<this.bitmap.width;l++)P[m]=r,A[m]=a,k[m]=o,C[m]=s,0===c&&(S[l]=((f=l+_)<y?f:y)<<2,I[l]=(f=l-e)>0?f<<2:0),h=g+S[l],d=g+I[l],r+=this.bitmap.data[h++]-this.bitmap.data[d++],a+=this.bitmap.data[h++]-this.bitmap.data[d++],o+=this.bitmap.data[h++]-this.bitmap.data[d++],s+=this.bitmap.data[h]-this.bitmap.data[d],m++;g+=this.bitmap.width<<2}for(l=0;l<this.bitmap.width;l++){for(p=l,r=P[p]*_,a=A[p]*_,o=k[p]*_,s=C[p]*_,u=1;u<=e;u++)p+=u>v?0:this.bitmap.width,r+=P[p],a+=A[p],o+=k[p],s+=C[p];for(m=l<<2,c=0;c<this.bitmap.height;c++)b=s*w>>>E,this.bitmap.data[m+3]=b,b>255&&(this.bitmap.data[m+3]=255),b>0?(b=255/b,this.bitmap.data[m]=(r*w>>>E)*b,this.bitmap.data[m+1]=(a*w>>>E)*b,this.bitmap.data[m+2]=(o*w>>>E)*b):(this.bitmap.data[m+2]=0,this.bitmap.data[m+1]=0,this.bitmap.data[m]=0),0===l&&(S[c]=((f=c+_)<v?f:v)*this.bitmap.width,I[c]=(f=c-e)>0?f*this.bitmap.width:0),h=l+S[c],d=l+I[c],r+=P[h]-P[d],a+=A[h]-A[d],o+=k[h]-k[d],s+=C[h]-C[d],m+=this.bitmap.width<<2}}return(0,n.isNodePattern)(t)&&t.call(this,null,this),this}}};t["default"]=a},"448a":function(e,t,r){var n=r("2236"),i=r("11b0"),a=r("6613"),o=r("0676");function s(e){return n(e)||i(e)||a(e)||o()}e.exports=s},4627:function(__webpack_module__,__webpack_exports__,__webpack_require__){"use strict";function _mergeNamespaces(e,t){return t.forEach((function(t){Object.keys(t).forEach((function(r){if("default"!==r&&!(r in e)){var n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return t[r]}})}}))})),Object.freeze(e)}function ownKeys$1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys$1(Object(r),!0).forEach((function(t){_defineProperty(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys$1(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _iterableToArrayLimit(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);o=!0);}catch(e){s=!0,i=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw i}}return a}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}__webpack_require__.d(__webpack_exports__,"a",(function(){return imageCompression}));var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function createCommonjsModule(e){var t={exports:{}};return e(t,t.exports),t.exports}var check=function(e){return e&&e.Math==Math&&e},global$1=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof commonjsGlobal&&commonjsGlobal)||function(){return this}()||Function("return this")(),isPure=!1,setGlobal=function(e,t){try{Object.defineProperty(global$1,e,{value:t,configurable:!0,writable:!0})}catch(r){global$1[e]=t}return t},SHARED="__core-js_shared__",store$1=global$1[SHARED]||setGlobal(SHARED,{}),sharedStore=store$1,shared=createCommonjsModule((function(e){(e.exports=function(e,t){return sharedStore[e]||(sharedStore[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.18.0",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),requireObjectCoercible=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},toObject=function(e){return Object(requireObjectCoercible(e))},hasOwnProperty={}.hasOwnProperty,has$1=Object.hasOwn||function(e,t){return hasOwnProperty.call(toObject(e),t)},id=0,postfix=Math.random(),uid=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++id+postfix).toString(36)},isCallable=function(e){return"function"==typeof e},aFunction=function(e){return isCallable(e)?e:void 0},getBuiltIn=function(e,t){return arguments.length<2?aFunction(global$1[e]):global$1[e]&&global$1[e][t]},engineUserAgent=getBuiltIn("navigator","userAgent")||"",process$3=global$1.process,Deno=global$1.Deno,versions=process$3&&process$3.versions||Deno&&Deno.version,v8=versions&&versions.v8,match,version;v8?(match=v8.split("."),version=match[0]<4?1:match[0]+match[1]):engineUserAgent&&(match=engineUserAgent.match(/Edge\/(\d+)/),(!match||match[1]>=74)&&(match=engineUserAgent.match(/Chrome\/(\d+)/),match&&(version=match[1])));var engineV8Version=version&&+version,fails=function(e){try{return!!e()}catch(e){return!0}},nativeSymbol=!!Object.getOwnPropertySymbols&&!fails((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&engineV8Version&&engineV8Version<41})),useSymbolAsUid=nativeSymbol&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,WellKnownSymbolsStore=shared("wks"),Symbol$1=global$1.Symbol,createWellKnownSymbol=useSymbolAsUid?Symbol$1:Symbol$1&&Symbol$1.withoutSetter||uid,wellKnownSymbol=function(e){return has$1(WellKnownSymbolsStore,e)&&(nativeSymbol||"string"==typeof WellKnownSymbolsStore[e])||(nativeSymbol&&has$1(Symbol$1,e)?WellKnownSymbolsStore[e]=Symbol$1[e]:WellKnownSymbolsStore[e]=createWellKnownSymbol("Symbol."+e)),WellKnownSymbolsStore[e]},TO_STRING_TAG$4=wellKnownSymbol("toStringTag"),test$1={};test$1[TO_STRING_TAG$4]="z";var toStringTagSupport="[object z]"===String(test$1),descriptors=!fails((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),isObject=function(e){return"object"==typeof e?null!==e:isCallable(e)},document$3=global$1.document,EXISTS$1=isObject(document$3)&&isObject(document$3.createElement),documentCreateElement=function(e){return EXISTS$1?document$3.createElement(e):{}},ie8DomDefine=!descriptors&&!fails((function(){return 7!=Object.defineProperty(documentCreateElement("div"),"a",{get:function(){return 7}}).a})),anObject=function(e){if(isObject(e))return e;throw TypeError(String(e)+" is not an object")},isSymbol=useSymbolAsUid?function(e){return"symbol"==typeof e}:function(e){var t=getBuiltIn("Symbol");return isCallable(t)&&Object(e)instanceof t},tryToString=function(e){try{return String(e)}catch(e){return"Object"}},aCallable=function(e){if(isCallable(e))return e;throw TypeError(tryToString(e)+" is not a function")},getMethod=function(e,t){var r=e[t];return null==r?void 0:aCallable(r)},ordinaryToPrimitive=function(e,t){var r,n;if("string"===t&&isCallable(r=e.toString)&&!isObject(n=r.call(e)))return n;if(isCallable(r=e.valueOf)&&!isObject(n=r.call(e)))return n;if("string"!==t&&isCallable(r=e.toString)&&!isObject(n=r.call(e)))return n;throw TypeError("Can't convert object to primitive value")},TO_PRIMITIVE=wellKnownSymbol("toPrimitive"),toPrimitive=function(e,t){if(!isObject(e)||isSymbol(e))return e;var r,n=getMethod(e,TO_PRIMITIVE);if(n){if(void 0===t&&(t="default"),r=n.call(e,t),!isObject(r)||isSymbol(r))return r;throw TypeError("Can't convert object to primitive value")}return void 0===t&&(t="number"),ordinaryToPrimitive(e,t)},toPropertyKey=function(e){var t=toPrimitive(e,"string");return isSymbol(t)?t:String(t)},$defineProperty=Object.defineProperty,f$5=descriptors?$defineProperty:function(e,t,r){if(anObject(e),t=toPropertyKey(t),anObject(r),ie8DomDefine)try{return $defineProperty(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e},objectDefineProperty={f:f$5},createPropertyDescriptor=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},createNonEnumerableProperty=descriptors?function(e,t,r){return objectDefineProperty.f(e,t,createPropertyDescriptor(1,r))}:function(e,t,r){return e[t]=r,e},functionToString=Function.toString;isCallable(sharedStore.inspectSource)||(sharedStore.inspectSource=function(e){return functionToString.call(e)});var inspectSource=sharedStore.inspectSource,WeakMap$1=global$1.WeakMap,nativeWeakMap=isCallable(WeakMap$1)&&/native code/.test(inspectSource(WeakMap$1)),keys$2=shared("keys"),sharedKey=function(e){return keys$2[e]||(keys$2[e]=uid(e))},hiddenKeys$1={},OBJECT_ALREADY_INITIALIZED="Object already initialized",WeakMap=global$1.WeakMap,set$2,get$1,has,enforce=function(e){return has(e)?get$1(e):set$2(e,{})},getterFor=function(e){return function(t){var r;if(!isObject(t)||(r=get$1(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}};if(nativeWeakMap||sharedStore.state){var store=sharedStore.state||(sharedStore.state=new WeakMap),wmget=store.get,wmhas=store.has,wmset=store.set;set$2=function(e,t){if(wmhas.call(store,e))throw new TypeError(OBJECT_ALREADY_INITIALIZED);return t.facade=e,wmset.call(store,e,t),t},get$1=function(e){return wmget.call(store,e)||{}},has=function(e){return wmhas.call(store,e)}}else{var STATE=sharedKey("state");hiddenKeys$1[STATE]=!0,set$2=function(e,t){if(has$1(e,STATE))throw new TypeError(OBJECT_ALREADY_INITIALIZED);return t.facade=e,createNonEnumerableProperty(e,STATE,t),t},get$1=function(e){return has$1(e,STATE)?e[STATE]:{}},has=function(e){return has$1(e,STATE)}}var internalState={set:set$2,get:get$1,has:has,enforce:enforce,getterFor:getterFor},FunctionPrototype$1=Function.prototype,getDescriptor=descriptors&&Object.getOwnPropertyDescriptor,EXISTS=has$1(FunctionPrototype$1,"name"),PROPER=EXISTS&&"something"===function(){}.name,CONFIGURABLE=EXISTS&&(!descriptors||descriptors&&getDescriptor(FunctionPrototype$1,"name").configurable),functionName={EXISTS:EXISTS,PROPER:PROPER,CONFIGURABLE:CONFIGURABLE},redefine=createCommonjsModule((function(e){var t=functionName.CONFIGURABLE,r=internalState.get,n=internalState.enforce,i=String(String).split("String");(e.exports=function(e,r,a,o){var s,l=!!o&&!!o.unsafe,c=!!o&&!!o.enumerable,u=!!o&&!!o.noTargetGet,f=o&&void 0!==o.name?o.name:r;isCallable(a)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!has$1(a,"name")||t&&a.name!==f)&&createNonEnumerableProperty(a,"name",f),(s=n(a)).source||(s.source=i.join("string"==typeof f?f:""))),e!==global$1?(l?!u&&e[r]&&(c=!0):delete e[r],c?e[r]=a:createNonEnumerableProperty(e,r,a)):c?e[r]=a:setGlobal(r,a)})(Function.prototype,"toString",(function(){return isCallable(this)&&r(this).source||inspectSource(this)}))})),toString$1={}.toString,classofRaw=function(e){return toString$1.call(e).slice(8,-1)},TO_STRING_TAG$3=wellKnownSymbol("toStringTag"),CORRECT_ARGUMENTS="Arguments"==classofRaw(function(){return arguments}()),tryGet=function(e,t){try{return e[t]}catch(e){}},classof=toStringTagSupport?classofRaw:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=tryGet(t=Object(e),TO_STRING_TAG$3))?r:CORRECT_ARGUMENTS?classofRaw(t):"Object"==(n=classofRaw(t))&&isCallable(t.callee)?"Arguments":n},objectToString=toStringTagSupport?{}.toString:function(){return"[object "+classof(this)+"]"};toStringTagSupport||redefine(Object.prototype,"toString",objectToString,{unsafe:!0});var $propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor$4=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor$4&&!$propertyIsEnumerable.call({1:2},1),f$4=NASHORN_BUG?function(e){var t=getOwnPropertyDescriptor$4(this,e);return!!t&&t.enumerable}:$propertyIsEnumerable,objectPropertyIsEnumerable={f:f$4},split="".split,indexedObject=fails((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==classofRaw(e)?split.call(e,""):Object(e)}:Object,toIndexedObject=function(e){return indexedObject(requireObjectCoercible(e))},$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,f$3=descriptors?$getOwnPropertyDescriptor:function(e,t){if(e=toIndexedObject(e),t=toPropertyKey(t),ie8DomDefine)try{return $getOwnPropertyDescriptor(e,t)}catch(e){}if(has$1(e,t))return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(e,t),e[t])},objectGetOwnPropertyDescriptor={f:f$3},ceil=Math.ceil,floor$7=Math.floor,toInteger=function(e){return isNaN(e=+e)?0:(e>0?floor$7:ceil)(e)},min$6=Math.min,toLength=function(e){return e>0?min$6(toInteger(e),9007199254740991):0},max$2=Math.max,min$5=Math.min,toAbsoluteIndex=function(e,t){var r=toInteger(e);return r<0?max$2(r+t,0):min$5(r,t)},createMethod$5=function(e){return function(t,r,n){var i,a=toIndexedObject(t),o=toLength(a.length),s=toAbsoluteIndex(n,o);if(e&&r!=r){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===r)return e||s||0;return!e&&-1}},arrayIncludes={includes:createMethod$5(!0),indexOf:createMethod$5(!1)},indexOf=arrayIncludes.indexOf,objectKeysInternal=function(e,t){var r,n=toIndexedObject(e),i=0,a=[];for(r in n)!has$1(hiddenKeys$1,r)&&has$1(n,r)&&a.push(r);for(;t.length>i;)has$1(n,r=t[i++])&&(~indexOf(a,r)||a.push(r));return a},enumBugKeys=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],hiddenKeys=enumBugKeys.concat("length","prototype"),f$2=Object.getOwnPropertyNames||function(e){return objectKeysInternal(e,hiddenKeys)},objectGetOwnPropertyNames={f:f$2},f$1=Object.getOwnPropertySymbols,objectGetOwnPropertySymbols={f:f$1},ownKeys=getBuiltIn("Reflect","ownKeys")||function(e){var t=objectGetOwnPropertyNames.f(anObject(e)),r=objectGetOwnPropertySymbols.f;return r?t.concat(r(e)):t},copyConstructorProperties=function(e,t){for(var r=ownKeys(t),n=objectDefineProperty.f,i=objectGetOwnPropertyDescriptor.f,a=0;a<r.length;a++){var o=r[a];has$1(e,o)||n(e,o,i(t,o))}},replacement=/#|\.prototype\./,isForced=function(e,t){var r=data[normalize(e)];return r==POLYFILL||r!=NATIVE&&(isCallable(t)?fails(t):!!t)},normalize=isForced.normalize=function(e){return String(e).replace(replacement,".").toLowerCase()},data=isForced.data={},NATIVE=isForced.NATIVE="N",POLYFILL=isForced.POLYFILL="P",isForced_1=isForced,getOwnPropertyDescriptor$3=objectGetOwnPropertyDescriptor.f,_export=function(e,t){var r,n,i,a,o,s=e.target,l=e.global,c=e.stat;if(r=l?global$1:c?global$1[s]||setGlobal(s,{}):(global$1[s]||{}).prototype)for(n in t){if(a=t[n],i=e.noTargetGet?(o=getOwnPropertyDescriptor$3(r,n))&&o.value:r[n],!isForced_1(l?n:s+(c?".":"#")+n,e.forced)&&void 0!==i){if(typeof a==typeof i)continue;copyConstructorProperties(a,i)}(e.sham||i&&i.sham)&&createNonEnumerableProperty(a,"sham",!0),redefine(r,n,a,e)}},nativePromiseConstructor=global$1.Promise,redefineAll=function(e,t,r){for(var n in t)redefine(e,n,t[n],r);return e},aPossiblePrototype=function(e){if("object"==typeof e||isCallable(e))return e;throw TypeError("Can't set "+String(e)+" as a prototype")},objectSetPrototypeOf=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return anObject(r),aPossiblePrototype(n),t?e.call(r,n):r.__proto__=n,r}}():void 0),defineProperty$5=objectDefineProperty.f,TO_STRING_TAG$2=wellKnownSymbol("toStringTag"),setToStringTag=function(e,t,r){e&&!has$1(e=r?e:e.prototype,TO_STRING_TAG$2)&&defineProperty$5(e,TO_STRING_TAG$2,{configurable:!0,value:t})},SPECIES$6=wellKnownSymbol("species"),setSpecies=function(e){var t=getBuiltIn(e),r=objectDefineProperty.f;descriptors&&t&&!t[SPECIES$6]&&r(t,SPECIES$6,{configurable:!0,get:function(){return this}})},anInstance=function(e,t,r){if(e instanceof t)return e;throw TypeError("Incorrect "+(r?r+" ":"")+"invocation")},iterators={},ITERATOR$8=wellKnownSymbol("iterator"),ArrayPrototype$1=Array.prototype,isArrayIteratorMethod=function(e){return void 0!==e&&(iterators.Array===e||ArrayPrototype$1[ITERATOR$8]===e)},functionBindContext=function(e,t,r){if(aCallable(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}},ITERATOR$7=wellKnownSymbol("iterator"),getIteratorMethod=function(e){if(null!=e)return getMethod(e,ITERATOR$7)||getMethod(e,"@@iterator")||iterators[classof(e)]},getIterator=function(e,t){var r=arguments.length<2?getIteratorMethod(e):t;if(aCallable(r))return anObject(r.call(e));throw TypeError(String(e)+" is not iterable")},iteratorClose=function(e,t,r){var n,i;anObject(e);try{if(!(n=getMethod(e,"return"))){if("throw"===t)throw r;return r}n=n.call(e)}catch(e){i=!0,n=e}if("throw"===t)throw r;if(i)throw n;return anObject(n),r},Result=function(e,t){this.stopped=e,this.result=t},iterate=function(e,t,r){var n,i,a,o,s,l,c,u=r&&r.that,f=!(!r||!r.AS_ENTRIES),h=!(!r||!r.IS_ITERATOR),d=!(!r||!r.INTERRUPTED),p=functionBindContext(t,u,1+f+d),m=function(e){return n&&iteratorClose(n,"normal",e),new Result(!0,e)},g=function(e){return f?(anObject(e),d?p(e[0],e[1],m):p(e[0],e[1])):d?p(e,m):p(e)};if(h)n=e;else{if(!(i=getIteratorMethod(e)))throw TypeError(String(e)+" is not iterable");if(isArrayIteratorMethod(i)){for(a=0,o=toLength(e.length);o>a;a++)if((s=g(e[a]))&&s instanceof Result)return s;return new Result(!1)}n=getIterator(e,i)}for(l=n.next;!(c=l.call(n)).done;){try{s=g(c.value)}catch(e){iteratorClose(n,"throw",e)}if("object"==typeof s&&s&&s instanceof Result)return s}return new Result(!1)},ITERATOR$6=wellKnownSymbol("iterator"),SAFE_CLOSING=!1;try{var called=0,iteratorWithReturn={next:function(){return{done:!!called++}},return:function(){SAFE_CLOSING=!0}};iteratorWithReturn[ITERATOR$6]=function(){return this},Array.from(iteratorWithReturn,(function(){throw 2}))}catch(e){}var checkCorrectnessOfIteration=function(e,t){if(!t&&!SAFE_CLOSING)return!1;var r=!1;try{var n={};n[ITERATOR$6]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(e){}return r},empty=[],construct=getBuiltIn("Reflect","construct"),constructorRegExp=/^\s*(?:class|function)\b/,exec=constructorRegExp.exec,INCORRECT_TO_STRING=!constructorRegExp.exec((function(){})),isConstructorModern=function(e){if(!isCallable(e))return!1;try{return construct(Object,empty,e),!0}catch(e){return!1}},isConstructorLegacy=function(e){if(!isCallable(e))return!1;switch(classof(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return INCORRECT_TO_STRING||!!exec.call(constructorRegExp,inspectSource(e))},isConstructor=!construct||fails((function(){var e;return isConstructorModern(isConstructorModern.call)||!isConstructorModern(Object)||!isConstructorModern((function(){e=!0}))||e}))?isConstructorLegacy:isConstructorModern,aConstructor=function(e){if(isConstructor(e))return e;throw TypeError(tryToString(e)+" is not a constructor")},SPECIES$5=wellKnownSymbol("species"),speciesConstructor=function(e,t){var r,n=anObject(e).constructor;return void 0===n||null==(r=anObject(n)[SPECIES$5])?t:aConstructor(r)},html=getBuiltIn("document","documentElement"),engineIsIos=/(?:ipad|iphone|ipod).*applewebkit/i.test(engineUserAgent),engineIsNode="process"==classofRaw(global$1.process),set$1=global$1.setImmediate,clear=global$1.clearImmediate,process$2=global$1.process,MessageChannel=global$1.MessageChannel,Dispatch=global$1.Dispatch,counter=0,queue={},ONREADYSTATECHANGE="onreadystatechange",location,defer,channel,port;try{location=global$1.location}catch(e){}var run=function(e){if(queue.hasOwnProperty(e)){var t=queue[e];delete queue[e],t()}},runner=function(e){return function(){run(e)}},listener=function(e){run(e.data)},post=function(e){global$1.postMessage(String(e),location.protocol+"//"+location.host)};set$1&&clear||(set$1=function(e){for(var t=[],r=arguments.length,n=1;r>n;)t.push(arguments[n++]);return queue[++counter]=function(){(isCallable(e)?e:Function(e)).apply(void 0,t)},defer(counter),counter},clear=function(e){delete queue[e]},engineIsNode?defer=function(e){process$2.nextTick(runner(e))}:Dispatch&&Dispatch.now?defer=function(e){Dispatch.now(runner(e))}:MessageChannel&&!engineIsIos?(channel=new MessageChannel,port=channel.port2,channel.port1.onmessage=listener,defer=functionBindContext(port.postMessage,port,1)):global$1.addEventListener&&isCallable(global$1.postMessage)&&!global$1.importScripts&&location&&"file:"!==location.protocol&&!fails(post)?(defer=post,global$1.addEventListener("message",listener,!1)):defer=ONREADYSTATECHANGE in documentCreateElement("script")?function(e){html.appendChild(documentCreateElement("script"))[ONREADYSTATECHANGE]=function(){html.removeChild(this),run(e)}}:function(e){setTimeout(runner(e),0)});var task$1={set:set$1,clear:clear},engineIsIosPebble=/ipad|iphone|ipod/i.test(engineUserAgent)&&void 0!==global$1.Pebble,engineIsWebosWebkit=/web0s(?!.*chrome)/i.test(engineUserAgent),getOwnPropertyDescriptor$2=objectGetOwnPropertyDescriptor.f,macrotask=task$1.set,MutationObserver=global$1.MutationObserver||global$1.WebKitMutationObserver,document$2=global$1.document,process$1=global$1.process,Promise$1=global$1.Promise,queueMicrotaskDescriptor=getOwnPropertyDescriptor$2(global$1,"queueMicrotask"),queueMicrotask=queueMicrotaskDescriptor&&queueMicrotaskDescriptor.value,flush,head,last,notify$1,toggle,node,promise,then;queueMicrotask||(flush=function(){var e,t;for(engineIsNode&&(e=process$1.domain)&&e.exit();head;){t=head.fn,head=head.next;try{t()}catch(e){throw head?notify$1():last=void 0,e}}last=void 0,e&&e.enter()},engineIsIos||engineIsNode||engineIsWebosWebkit||!MutationObserver||!document$2?!engineIsIosPebble&&Promise$1&&Promise$1.resolve?(promise=Promise$1.resolve(void 0),promise.constructor=Promise$1,then=promise.then,notify$1=function(){then.call(promise,flush)}):notify$1=engineIsNode?function(){process$1.nextTick(flush)}:function(){macrotask.call(global$1,flush)}:(toggle=!0,node=document$2.createTextNode(""),new MutationObserver(flush).observe(node,{characterData:!0}),notify$1=function(){node.data=toggle=!toggle}));var microtask=queueMicrotask||function(e){var t={fn:e,next:void 0};last&&(last.next=t),head||(head=t,notify$1()),last=t},PromiseCapability=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=aCallable(t),this.reject=aCallable(r)},f=function(e){return new PromiseCapability(e)},newPromiseCapability$1={f:f},promiseResolve=function(e,t){if(anObject(e),isObject(t)&&t.constructor===e)return t;var r=newPromiseCapability$1.f(e);return(0,r.resolve)(t),r.promise},hostReportErrors=function(e,t){var r=global$1.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))},perform=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},engineIsBrowser="object"==typeof window,task=task$1.set,SPECIES$4=wellKnownSymbol("species"),PROMISE="Promise",getInternalState$4=internalState.get,setInternalState$5=internalState.set,getInternalPromiseState=internalState.getterFor(PROMISE),NativePromisePrototype=nativePromiseConstructor&&nativePromiseConstructor.prototype,PromiseConstructor=nativePromiseConstructor,PromiseConstructorPrototype=NativePromisePrototype,TypeError$1=global$1.TypeError,document$1=global$1.document,process=global$1.process,newPromiseCapability=newPromiseCapability$1.f,newGenericPromiseCapability=newPromiseCapability,DISPATCH_EVENT=!!(document$1&&document$1.createEvent&&global$1.dispatchEvent),NATIVE_REJECTION_EVENT=isCallable(global$1.PromiseRejectionEvent),UNHANDLED_REJECTION="unhandledrejection",REJECTION_HANDLED="rejectionhandled",PENDING=0,FULFILLED=1,REJECTED=2,HANDLED=1,UNHANDLED=2,SUBCLASSING=!1,Internal,OwnPromiseCapability,PromiseWrapper,nativeThen,FORCED$6=isForced_1(PROMISE,(function(){var e=inspectSource(PromiseConstructor),t=e!==String(PromiseConstructor);if(!t&&66===engineV8Version)return!0;if(engineV8Version>=51&&/native code/.test(e))return!1;var r=new PromiseConstructor((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};return(r.constructor={})[SPECIES$4]=n,!(SUBCLASSING=r.then((function(){}))instanceof n)||!t&&engineIsBrowser&&!NATIVE_REJECTION_EVENT})),INCORRECT_ITERATION=FORCED$6||!checkCorrectnessOfIteration((function(e){PromiseConstructor.all(e).catch((function(){}))})),isThenable=function(e){var t;return!(!isObject(e)||!isCallable(t=e.then))&&t},notify=function(e,t){if(!e.notified){e.notified=!0;var r=e.reactions;microtask((function(){for(var n=e.value,i=e.state==FULFILLED,a=0;r.length>a;){var o,s,l,c=r[a++],u=i?c.ok:c.fail,f=c.resolve,h=c.reject,d=c.domain;try{u?(i||(e.rejection===UNHANDLED&&onHandleUnhandled(e),e.rejection=HANDLED),!0===u?o=n:(d&&d.enter(),o=u(n),d&&(d.exit(),l=!0)),o===c.promise?h(TypeError$1("Promise-chain cycle")):(s=isThenable(o))?s.call(o,f,h):f(o)):h(n)}catch(e){d&&!l&&d.exit(),h(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&onUnhandled(e)}))}},dispatchEvent=function(e,t,r){var n,i;DISPATCH_EVENT?((n=document$1.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),global$1.dispatchEvent(n)):n={promise:t,reason:r},!NATIVE_REJECTION_EVENT&&(i=global$1["on"+e])?i(n):e===UNHANDLED_REJECTION&&hostReportErrors("Unhandled promise rejection",r)},onUnhandled=function(e){task.call(global$1,(function(){var t,r=e.facade,n=e.value;if(isUnhandled(e)&&(t=perform((function(){engineIsNode?process.emit("unhandledRejection",n,r):dispatchEvent(UNHANDLED_REJECTION,r,n)})),e.rejection=engineIsNode||isUnhandled(e)?UNHANDLED:HANDLED,t.error))throw t.value}))},isUnhandled=function(e){return e.rejection!==HANDLED&&!e.parent},onHandleUnhandled=function(e){task.call(global$1,(function(){var t=e.facade;engineIsNode?process.emit("rejectionHandled",t):dispatchEvent(REJECTION_HANDLED,t,e.value)}))},bind=function(e,t,r){return function(n){e(t,n,r)}},internalReject=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=REJECTED,notify(e,!0))},internalResolve=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw TypeError$1("Promise can't be resolved itself");var n=isThenable(t);n?microtask((function(){var r={done:!1};try{n.call(t,bind(internalResolve,r,e),bind(internalReject,r,e))}catch(t){internalReject(r,t,e)}})):(e.value=t,e.state=FULFILLED,notify(e,!1))}catch(t){internalReject({done:!1},t,e)}}};if(FORCED$6&&(PromiseConstructor=function(e){anInstance(this,PromiseConstructor,PROMISE),aCallable(e),Internal.call(this);var t=getInternalState$4(this);try{e(bind(internalResolve,t),bind(internalReject,t))}catch(e){internalReject(t,e)}},PromiseConstructorPrototype=PromiseConstructor.prototype,Internal=function(e){setInternalState$5(this,{type:PROMISE,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:PENDING,value:void 0})},Internal.prototype=redefineAll(PromiseConstructorPrototype,{then:function(e,t){var r=getInternalPromiseState(this),n=newPromiseCapability(speciesConstructor(this,PromiseConstructor));return n.ok=!isCallable(e)||e,n.fail=isCallable(t)&&t,n.domain=engineIsNode?process.domain:void 0,r.parent=!0,r.reactions.push(n),r.state!=PENDING&&notify(r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),OwnPromiseCapability=function(){var e=new Internal,t=getInternalState$4(e);this.promise=e,this.resolve=bind(internalResolve,t),this.reject=bind(internalReject,t)},newPromiseCapability$1.f=newPromiseCapability=function(e){return e===PromiseConstructor||e===PromiseWrapper?new OwnPromiseCapability(e):newGenericPromiseCapability(e)},isCallable(nativePromiseConstructor)&&NativePromisePrototype!==Object.prototype)){nativeThen=NativePromisePrototype.then,SUBCLASSING||(redefine(NativePromisePrototype,"then",(function(e,t){var r=this;return new PromiseConstructor((function(e,t){nativeThen.call(r,e,t)})).then(e,t)}),{unsafe:!0}),redefine(NativePromisePrototype,"catch",PromiseConstructorPrototype.catch,{unsafe:!0}));try{delete NativePromisePrototype.constructor}catch(e){}objectSetPrototypeOf&&objectSetPrototypeOf(NativePromisePrototype,PromiseConstructorPrototype)}_export({global:!0,wrap:!0,forced:FORCED$6},{Promise:PromiseConstructor}),setToStringTag(PromiseConstructor,PROMISE,!1),setSpecies(PROMISE),PromiseWrapper=getBuiltIn(PROMISE),_export({target:PROMISE,stat:!0,forced:FORCED$6},{reject:function(e){var t=newPromiseCapability(this);return t.reject.call(void 0,e),t.promise}}),_export({target:PROMISE,stat:!0,forced:FORCED$6},{resolve:function(e){return promiseResolve(this,e)}}),_export({target:PROMISE,stat:!0,forced:INCORRECT_ITERATION},{all:function(e){var t=this,r=newPromiseCapability(t),n=r.resolve,i=r.reject,a=perform((function(){var r=aCallable(t.resolve),a=[],o=0,s=1;iterate(e,(function(e){var l=o++,c=!1;a.push(void 0),s++,r.call(t,e).then((function(e){c||(c=!0,a[l]=e,--s||n(a))}),i)})),--s||n(a)}));return a.error&&i(a.value),r.promise},race:function(e){var t=this,r=newPromiseCapability(t),n=r.reject,i=perform((function(){var i=aCallable(t.resolve);iterate(e,(function(e){i.call(t,e).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}});var inheritIfRequired=function(e,t,r){var n,i;return objectSetPrototypeOf&&isCallable(n=t.constructor)&&n!==r&&isObject(i=n.prototype)&&i!==r.prototype&&objectSetPrototypeOf(e,i),e},objectKeys=Object.keys||function(e){return objectKeysInternal(e,enumBugKeys)},objectDefineProperties=descriptors?Object.defineProperties:function(e,t){anObject(e);for(var r,n=objectKeys(t),i=n.length,a=0;i>a;)objectDefineProperty.f(e,r=n[a++],t[r]);return e},GT=">",LT="<",PROTOTYPE$1="prototype",SCRIPT="script",IE_PROTO$1=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(e){return LT+SCRIPT+GT+e+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(e){e.write(scriptTag("")),e.close();var t=e.parentWindow.Object;return e=null,t},NullProtoObjectViaIFrame=function(){var e,t=documentCreateElement("iframe"),r="java"+SCRIPT+":";return t.style.display="none",html.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(scriptTag("document.F=Object")),e.close(),e.F},activeXDocument,NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch(e){}NullProtoObject="undefined"!=typeof document?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(activeXDocument);for(var e=enumBugKeys.length;e--;)delete NullProtoObject[PROTOTYPE$1][enumBugKeys[e]];return NullProtoObject()};hiddenKeys$1[IE_PROTO$1]=!0;var objectCreate=Object.create||function(e,t){var r;return null!==e?(EmptyConstructor[PROTOTYPE$1]=anObject(e),r=new EmptyConstructor,EmptyConstructor[PROTOTYPE$1]=null,r[IE_PROTO$1]=e):r=NullProtoObject(),void 0===t?r:objectDefineProperties(r,t)},toString=function(e){if("Symbol"===classof(e))throw TypeError("Cannot convert a Symbol value to a string");return String(e)},whitespaces="\t\n\v\f\r                　\u2028\u2029\ufeff",whitespace="["+whitespaces+"]",ltrim=RegExp("^"+whitespace+whitespace+"*"),rtrim=RegExp(whitespace+whitespace+"*$"),createMethod$4=function(e){return function(t){var r=toString(requireObjectCoercible(t));return 1&e&&(r=r.replace(ltrim,"")),2&e&&(r=r.replace(rtrim,"")),r}},stringTrim={start:createMethod$4(1),end:createMethod$4(2),trim:createMethod$4(3)},getOwnPropertyNames$1=objectGetOwnPropertyNames.f,getOwnPropertyDescriptor$1=objectGetOwnPropertyDescriptor.f,defineProperty$4=objectDefineProperty.f,trim=stringTrim.trim,NUMBER="Number",NativeNumber=global$1[NUMBER],NumberPrototype=NativeNumber.prototype,BROKEN_CLASSOF=classofRaw(objectCreate(NumberPrototype))==NUMBER,toNumber=function(e){if(isSymbol(e))throw TypeError("Cannot convert a Symbol value to a number");var t,r,n,i,a,o,s,l,c=toPrimitive(e,"number");if("string"==typeof c&&c.length>2)if(43===(t=(c=trim(c)).charCodeAt(0))||45===t){if(88===(r=c.charCodeAt(2))||120===r)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+c}for(o=(a=c.slice(2)).length,s=0;s<o;s++)if((l=a.charCodeAt(s))<48||l>i)return NaN;return parseInt(a,n)}return+c};if(isForced_1(NUMBER,!NativeNumber(" 0o1")||!NativeNumber("0b1")||NativeNumber("+0x1"))){for(var NumberWrapper=function(e){var t=arguments.length<1?0:e,r=this;return r instanceof NumberWrapper&&(BROKEN_CLASSOF?fails((function(){NumberPrototype.valueOf.call(r)})):classofRaw(r)!=NUMBER)?inheritIfRequired(new NativeNumber(toNumber(t)),r,NumberWrapper):toNumber(t)},keys$1=descriptors?getOwnPropertyNames$1(NativeNumber):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),j$1=0,key$1;keys$1.length>j$1;j$1++)has$1(NativeNumber,key$1=keys$1[j$1])&&!has$1(NumberWrapper,key$1)&&defineProperty$4(NumberWrapper,key$1,getOwnPropertyDescriptor$1(NativeNumber,key$1));NumberWrapper.prototype=NumberPrototype,NumberPrototype.constructor=NumberWrapper,redefine(global$1,NUMBER,NumberWrapper)}var FUNCTION_NAME_EXISTS=functionName.EXISTS,defineProperty$3=objectDefineProperty.f,FunctionPrototype=Function.prototype,FunctionPrototypeToString=FunctionPrototype.toString,nameRE=/^\s*function ([^ (]*)/,NAME$1="name";descriptors&&!FUNCTION_NAME_EXISTS&&defineProperty$3(FunctionPrototype,NAME$1,{configurable:!0,get:function(){try{return FunctionPrototypeToString.call(this).match(nameRE)[1]}catch(e){return""}}}),_export({global:!0},{globalThis:global$1});var $assign=Object.assign,defineProperty$2=Object.defineProperty,objectAssign=!$assign||fails((function(){if(descriptors&&1!==$assign({b:1},$assign(defineProperty$2({},"a",{enumerable:!0,get:function(){defineProperty$2(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol();return e[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=$assign({},e)[r]||"abcdefghijklmnopqrst"!=objectKeys($assign({},t)).join("")}))?function(e,t){for(var r=toObject(e),n=arguments.length,i=1,a=objectGetOwnPropertySymbols.f,o=objectPropertyIsEnumerable.f;n>i;)for(var s,l=indexedObject(arguments[i++]),c=a?objectKeys(l).concat(a(l)):objectKeys(l),u=c.length,f=0;u>f;)s=c[f++],descriptors&&!o.call(l,s)||(r[s]=l[s]);return r}:$assign;_export({target:"Object",stat:!0,forced:Object.assign!==objectAssign},{assign:objectAssign});var path=global$1;path.Object.assign;var regexpFlags=function(){var e=anObject(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},$RegExp$2=global$1.RegExp,UNSUPPORTED_Y$2=fails((function(){var e=$RegExp$2("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),BROKEN_CARET=fails((function(){var e=$RegExp$2("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),regexpStickyHelpers={UNSUPPORTED_Y:UNSUPPORTED_Y$2,BROKEN_CARET:BROKEN_CARET},$RegExp$1=global$1.RegExp,regexpUnsupportedDotAll=fails((function(){var e=$RegExp$1(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),$RegExp=global$1.RegExp,regexpUnsupportedNcg=fails((function(){var e=$RegExp("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),getInternalState$3=internalState.get,nativeExec=RegExp.prototype.exec,nativeReplace=shared("native-string-replace",String.prototype.replace),patchedExec=nativeExec,UPDATES_LAST_INDEX_WRONG=(re1=/a/,re2=/b*/g,nativeExec.call(re1,"a"),nativeExec.call(re2,"a"),0!==re1.lastIndex||0!==re2.lastIndex),re1,re2,UNSUPPORTED_Y$1=regexpStickyHelpers.UNSUPPORTED_Y||regexpStickyHelpers.BROKEN_CARET,NPCG_INCLUDED=void 0!==/()??/.exec("")[1],PATCH=UPDATES_LAST_INDEX_WRONG||NPCG_INCLUDED||UNSUPPORTED_Y$1||regexpUnsupportedDotAll||regexpUnsupportedNcg;PATCH&&(patchedExec=function(e){var t,r,n,i,a,o,s,l=this,c=getInternalState$3(l),u=toString(e),f=c.raw;if(f)return f.lastIndex=l.lastIndex,t=patchedExec.call(f,u),l.lastIndex=f.lastIndex,t;var h=c.groups,d=UNSUPPORTED_Y$1&&l.sticky,p=regexpFlags.call(l),m=l.source,g=0,b=u;if(d&&(-1===(p=p.replace("y","")).indexOf("g")&&(p+="g"),b=u.slice(l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&"\n"!==u.charAt(l.lastIndex-1))&&(m="(?: "+m+")",b=" "+b,g++),r=new RegExp("^(?:"+m+")",p)),NPCG_INCLUDED&&(r=new RegExp("^"+m+"$(?!\\s)",p)),UPDATES_LAST_INDEX_WRONG&&(n=l.lastIndex),i=nativeExec.call(d?r:l,b),d?i?(i.input=i.input.slice(g),i[0]=i[0].slice(g),i.index=l.lastIndex,l.lastIndex+=i[0].length):l.lastIndex=0:UPDATES_LAST_INDEX_WRONG&&i&&(l.lastIndex=l.global?i.index+i[0].length:n),NPCG_INCLUDED&&i&&i.length>1&&nativeReplace.call(i[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)})),i&&h)for(i.groups=o=objectCreate(null),a=0;a<h.length;a++)o[(s=h[a])[0]]=i[s[1]];return i});var regexpExec=patchedExec;_export({target:"RegExp",proto:!0,forced:/./.exec!==regexpExec},{exec:regexpExec});var SPECIES$3=wellKnownSymbol("species"),RegExpPrototype$1=RegExp.prototype,fixRegexpWellKnownSymbolLogic=function(e,t,r,n){var i=wellKnownSymbol(e),a=!fails((function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})),o=a&&!fails((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[SPECIES$3]=function(){return r},r.flags="",r[i]=/./[i]),r.exec=function(){return t=!0,null},r[i](""),!t}));if(!a||!o||r){var s=/./[i],l=t(i,""[e],(function(e,t,r,n,i){var o=t.exec;return o===regexpExec||o===RegExpPrototype$1.exec?a&&!i?{done:!0,value:s.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}));redefine(String.prototype,e,l[0]),redefine(RegExpPrototype$1,i,l[1])}n&&createNonEnumerableProperty(RegExpPrototype$1[i],"sham",!0)},MATCH$1=wellKnownSymbol("match"),isRegexp=function(e){var t;return isObject(e)&&(void 0!==(t=e[MATCH$1])?!!t:"RegExp"==classofRaw(e))},createMethod$3=function(e){return function(t,r){var n,i,a=toString(requireObjectCoercible(t)),o=toInteger(r),s=a.length;return o<0||o>=s?e?"":void 0:(n=a.charCodeAt(o))<55296||n>56319||o+1===s||(i=a.charCodeAt(o+1))<56320||i>57343?e?a.charAt(o):n:e?a.slice(o,o+2):i-56320+(n-55296<<10)+65536}},stringMultibyte={codeAt:createMethod$3(!1),charAt:createMethod$3(!0)},charAt$1=stringMultibyte.charAt,advanceStringIndex=function(e,t,r){return t+(r?charAt$1(e,t).length:1)},regexpExecAbstract=function(e,t){var r=e.exec;if(isCallable(r)){var n=r.call(e,t);return null!==n&&anObject(n),n}if("RegExp"===classofRaw(e))return regexpExec.call(e,t);throw TypeError("RegExp#exec called on incompatible receiver")},UNSUPPORTED_Y=regexpStickyHelpers.UNSUPPORTED_Y,arrayPush=[].push,min$4=Math.min,MAX_UINT32=4294967295,SPLIT_WORKS_WITH_OVERWRITTEN_EXEC=!fails((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));fixRegexpWellKnownSymbolLogic("split",(function(e,t,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,r){var n=toString(requireObjectCoercible(this)),i=void 0===r?MAX_UINT32:r>>>0;if(0===i)return[];if(void 0===e)return[n];if(!isRegexp(e))return t.call(n,e,i);for(var a,o,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,f=new RegExp(e.source,c+"g");(a=regexpExec.call(f,n))&&!((o=f.lastIndex)>u&&(l.push(n.slice(u,a.index)),a.length>1&&a.index<n.length&&arrayPush.apply(l,a.slice(1)),s=a[0].length,u=o,l.length>=i));)f.lastIndex===a.index&&f.lastIndex++;return u===n.length?!s&&f.test("")||l.push(""):l.push(n.slice(u)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:t.call(this,e,r)}:t,[function(t,r){var i=requireObjectCoercible(this),a=null==t?void 0:getMethod(t,e);return a?a.call(t,i,r):n.call(toString(i),t,r)},function(e,i){var a=anObject(this),o=toString(e),s=r(n,a,o,i,n!==t);if(s.done)return s.value;var l=speciesConstructor(a,RegExp),c=a.unicode,u=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(UNSUPPORTED_Y?"g":"y"),f=new l(UNSUPPORTED_Y?"^(?:"+a.source+")":a,u),h=void 0===i?MAX_UINT32:i>>>0;if(0===h)return[];if(0===o.length)return null===regexpExecAbstract(f,o)?[o]:[];for(var d=0,p=0,m=[];p<o.length;){f.lastIndex=UNSUPPORTED_Y?0:p;var g,b=regexpExecAbstract(f,UNSUPPORTED_Y?o.slice(p):o);if(null===b||(g=min$4(toLength(f.lastIndex+(UNSUPPORTED_Y?p:0)),o.length))===d)p=advanceStringIndex(o,p,c);else{if(m.push(o.slice(d,p)),m.length===h)return m;for(var y=1;y<=b.length-1;y++)if(m.push(b[y]),m.length===h)return m;p=d=g}}return m.push(o.slice(d)),m}]}),!SPLIT_WORKS_WITH_OVERWRITTEN_EXEC,UNSUPPORTED_Y),fixRegexpWellKnownSymbolLogic("match",(function(e,t,r){return[function(t){var r=requireObjectCoercible(this),n=null==t?void 0:getMethod(t,e);return n?n.call(t,r):new RegExp(t)[e](toString(r))},function(e){var n=anObject(this),i=toString(e),a=r(t,n,i);if(a.done)return a.value;if(!n.global)return regexpExecAbstract(n,i);var o=n.unicode;n.lastIndex=0;for(var s,l=[],c=0;null!==(s=regexpExecAbstract(n,i));){var u=toString(s[0]);l[c]=u,""===u&&(n.lastIndex=advanceStringIndex(i,toLength(n.lastIndex),o)),c++}return 0===c?null:l}]}));var UNSCOPABLES=wellKnownSymbol("unscopables"),ArrayPrototype=Array.prototype;null==ArrayPrototype[UNSCOPABLES]&&objectDefineProperty.f(ArrayPrototype,UNSCOPABLES,{configurable:!0,value:objectCreate(null)});var addToUnscopables=function(e){ArrayPrototype[UNSCOPABLES][e]=!0},correctPrototypeGetter=!fails((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),IE_PROTO=sharedKey("IE_PROTO"),ObjectPrototype$2=Object.prototype,objectGetPrototypeOf=correctPrototypeGetter?Object.getPrototypeOf:function(e){var t=toObject(e);if(has$1(t,IE_PROTO))return t[IE_PROTO];var r=t.constructor;return isCallable(r)&&t instanceof r?r.prototype:t instanceof Object?ObjectPrototype$2:null},ITERATOR$5=wellKnownSymbol("iterator"),BUGGY_SAFARI_ITERATORS$1=!1,IteratorPrototype$2,PrototypeOfArrayIteratorPrototype,arrayIterator;[].keys&&(arrayIterator=[].keys(),"next"in arrayIterator?(PrototypeOfArrayIteratorPrototype=objectGetPrototypeOf(objectGetPrototypeOf(arrayIterator)),PrototypeOfArrayIteratorPrototype!==Object.prototype&&(IteratorPrototype$2=PrototypeOfArrayIteratorPrototype)):BUGGY_SAFARI_ITERATORS$1=!0);var NEW_ITERATOR_PROTOTYPE=null==IteratorPrototype$2||fails((function(){var e={};return IteratorPrototype$2[ITERATOR$5].call(e)!==e}));NEW_ITERATOR_PROTOTYPE&&(IteratorPrototype$2={}),isCallable(IteratorPrototype$2[ITERATOR$5])||redefine(IteratorPrototype$2,ITERATOR$5,(function(){return this}));var iteratorsCore={IteratorPrototype:IteratorPrototype$2,BUGGY_SAFARI_ITERATORS:BUGGY_SAFARI_ITERATORS$1},IteratorPrototype$1=iteratorsCore.IteratorPrototype,returnThis$1=function(){return this},createIteratorConstructor=function(e,t,r){var n=t+" Iterator";return e.prototype=objectCreate(IteratorPrototype$1,{next:createPropertyDescriptor(1,r)}),setToStringTag(e,n,!1),iterators[n]=returnThis$1,e},PROPER_FUNCTION_NAME$3=functionName.PROPER,CONFIGURABLE_FUNCTION_NAME$1=functionName.CONFIGURABLE,IteratorPrototype=iteratorsCore.IteratorPrototype,BUGGY_SAFARI_ITERATORS=iteratorsCore.BUGGY_SAFARI_ITERATORS,ITERATOR$4=wellKnownSymbol("iterator"),KEYS="keys",VALUES="values",ENTRIES="entries",returnThis=function(){return this},defineIterator=function(e,t,r,n,i,a,o){createIteratorConstructor(r,t,n);var s,l,c,u=function(e){if(e===i&&m)return m;if(!BUGGY_SAFARI_ITERATORS&&e in d)return d[e];switch(e){case KEYS:return function(){return new r(this,e)};case VALUES:return function(){return new r(this,e)};case ENTRIES:return function(){return new r(this,e)}}return function(){return new r(this)}},f=t+" Iterator",h=!1,d=e.prototype,p=d[ITERATOR$4]||d["@@iterator"]||i&&d[i],m=!BUGGY_SAFARI_ITERATORS&&p||u(i),g="Array"==t&&d.entries||p;if(g&&(s=objectGetPrototypeOf(g.call(new e)))!==Object.prototype&&s.next&&(objectGetPrototypeOf(s)!==IteratorPrototype&&(objectSetPrototypeOf?objectSetPrototypeOf(s,IteratorPrototype):isCallable(s[ITERATOR$4])||redefine(s,ITERATOR$4,returnThis)),setToStringTag(s,f,!0)),PROPER_FUNCTION_NAME$3&&i==VALUES&&p&&p.name!==VALUES&&(CONFIGURABLE_FUNCTION_NAME$1?createNonEnumerableProperty(d,"name",VALUES):(h=!0,m=function(){return p.call(this)})),i)if(l={values:u(VALUES),keys:a?m:u(KEYS),entries:u(ENTRIES)},o)for(c in l)(BUGGY_SAFARI_ITERATORS||h||!(c in d))&&redefine(d,c,l[c]);else _export({target:t,proto:!0,forced:BUGGY_SAFARI_ITERATORS||h},l);return d[ITERATOR$4]!==m&&redefine(d,ITERATOR$4,m,{name:i}),iterators[t]=m,l},ARRAY_ITERATOR="Array Iterator",setInternalState$4=internalState.set,getInternalState$2=internalState.getterFor(ARRAY_ITERATOR),es_array_iterator=defineIterator(Array,"Array",(function(e,t){setInternalState$4(this,{type:ARRAY_ITERATOR,target:toIndexedObject(e),index:0,kind:t})}),(function(){var e=getInternalState$2(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values");iterators.Arguments=iterators.Array,addToUnscopables("keys"),addToUnscopables("values"),addToUnscopables("entries");var arrayBufferNative="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,defineProperty$1=objectDefineProperty.f,Int8Array$3=global$1.Int8Array,Int8ArrayPrototype=Int8Array$3&&Int8Array$3.prototype,Uint8ClampedArray=global$1.Uint8ClampedArray,Uint8ClampedArrayPrototype=Uint8ClampedArray&&Uint8ClampedArray.prototype,TypedArray=Int8Array$3&&objectGetPrototypeOf(Int8Array$3),TypedArrayPrototype=Int8ArrayPrototype&&objectGetPrototypeOf(Int8ArrayPrototype),ObjectPrototype$1=Object.prototype,isPrototypeOf=ObjectPrototype$1.isPrototypeOf,TO_STRING_TAG$1=wellKnownSymbol("toStringTag"),TYPED_ARRAY_TAG=uid("TYPED_ARRAY_TAG"),TYPED_ARRAY_CONSTRUCTOR$1=uid("TYPED_ARRAY_CONSTRUCTOR"),NATIVE_ARRAY_BUFFER_VIEWS$1=arrayBufferNative&&!!objectSetPrototypeOf&&"Opera"!==classof(global$1.opera),TYPED_ARRAY_TAG_REQIRED=!1,NAME,Constructor,Prototype,TypedArrayConstructorsList={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},BigIntArrayConstructorsList={BigInt64Array:8,BigUint64Array:8},isView=function(e){if(!isObject(e))return!1;var t=classof(e);return"DataView"===t||has$1(TypedArrayConstructorsList,t)||has$1(BigIntArrayConstructorsList,t)},isTypedArray=function(e){if(!isObject(e))return!1;var t=classof(e);return has$1(TypedArrayConstructorsList,t)||has$1(BigIntArrayConstructorsList,t)},aTypedArray$m=function(e){if(isTypedArray(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor$2=function(e){if(isCallable(e)&&(!objectSetPrototypeOf||isPrototypeOf.call(TypedArray,e)))return e;throw TypeError(tryToString(e)+" is not a typed array constructor")},exportTypedArrayMethod$n=function(e,t,r){if(descriptors){if(r)for(var n in TypedArrayConstructorsList){var i=global$1[n];if(i&&has$1(i.prototype,e))try{delete i.prototype[e]}catch(e){}}TypedArrayPrototype[e]&&!r||redefine(TypedArrayPrototype,e,r?t:NATIVE_ARRAY_BUFFER_VIEWS$1&&Int8ArrayPrototype[e]||t)}},exportTypedArrayStaticMethod=function(e,t,r){var n,i;if(descriptors){if(objectSetPrototypeOf){if(r)for(n in TypedArrayConstructorsList)if((i=global$1[n])&&has$1(i,e))try{delete i[e]}catch(e){}if(TypedArray[e]&&!r)return;try{return redefine(TypedArray,e,r?t:NATIVE_ARRAY_BUFFER_VIEWS$1&&TypedArray[e]||t)}catch(e){}}for(n in TypedArrayConstructorsList)!(i=global$1[n])||i[e]&&!r||redefine(i,e,t)}};for(NAME in TypedArrayConstructorsList)Constructor=global$1[NAME],Prototype=Constructor&&Constructor.prototype,Prototype?createNonEnumerableProperty(Prototype,TYPED_ARRAY_CONSTRUCTOR$1,Constructor):NATIVE_ARRAY_BUFFER_VIEWS$1=!1;for(NAME in BigIntArrayConstructorsList)Constructor=global$1[NAME],Prototype=Constructor&&Constructor.prototype,Prototype&&createNonEnumerableProperty(Prototype,TYPED_ARRAY_CONSTRUCTOR$1,Constructor);if((!NATIVE_ARRAY_BUFFER_VIEWS$1||!isCallable(TypedArray)||TypedArray===Function.prototype)&&(TypedArray=function(){throw TypeError("Incorrect invocation")},NATIVE_ARRAY_BUFFER_VIEWS$1))for(NAME in TypedArrayConstructorsList)global$1[NAME]&&objectSetPrototypeOf(global$1[NAME],TypedArray);if((!NATIVE_ARRAY_BUFFER_VIEWS$1||!TypedArrayPrototype||TypedArrayPrototype===ObjectPrototype$1)&&(TypedArrayPrototype=TypedArray.prototype,NATIVE_ARRAY_BUFFER_VIEWS$1))for(NAME in TypedArrayConstructorsList)global$1[NAME]&&objectSetPrototypeOf(global$1[NAME].prototype,TypedArrayPrototype);if(NATIVE_ARRAY_BUFFER_VIEWS$1&&objectGetPrototypeOf(Uint8ClampedArrayPrototype)!==TypedArrayPrototype&&objectSetPrototypeOf(Uint8ClampedArrayPrototype,TypedArrayPrototype),descriptors&&!has$1(TypedArrayPrototype,TO_STRING_TAG$1))for(NAME in TYPED_ARRAY_TAG_REQIRED=!0,defineProperty$1(TypedArrayPrototype,TO_STRING_TAG$1,{get:function(){return isObject(this)?this[TYPED_ARRAY_TAG]:void 0}}),TypedArrayConstructorsList)global$1[NAME]&&createNonEnumerableProperty(global$1[NAME],TYPED_ARRAY_TAG,NAME);var arrayBufferViewCore={NATIVE_ARRAY_BUFFER_VIEWS:NATIVE_ARRAY_BUFFER_VIEWS$1,TYPED_ARRAY_CONSTRUCTOR:TYPED_ARRAY_CONSTRUCTOR$1,TYPED_ARRAY_TAG:TYPED_ARRAY_TAG_REQIRED&&TYPED_ARRAY_TAG,aTypedArray:aTypedArray$m,aTypedArrayConstructor:aTypedArrayConstructor$2,exportTypedArrayMethod:exportTypedArrayMethod$n,exportTypedArrayStaticMethod:exportTypedArrayStaticMethod,isView:isView,isTypedArray:isTypedArray,TypedArray:TypedArray,TypedArrayPrototype:TypedArrayPrototype},NATIVE_ARRAY_BUFFER_VIEWS=arrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS,ArrayBuffer$1=global$1.ArrayBuffer,Int8Array$2=global$1.Int8Array,typedArrayConstructorsRequireWrappers=!NATIVE_ARRAY_BUFFER_VIEWS||!fails((function(){Int8Array$2(1)}))||!fails((function(){new Int8Array$2(-1)}))||!checkCorrectnessOfIteration((function(e){new Int8Array$2,new Int8Array$2(null),new Int8Array$2(1.5),new Int8Array$2(e)}),!0)||fails((function(){return 1!==new Int8Array$2(new ArrayBuffer$1(2),1,void 0).length})),toIndex=function(e){if(void 0===e)return 0;var t=toInteger(e),r=toLength(t);if(t!==r)throw RangeError("Wrong length or index");return r},abs=Math.abs,pow$1=Math.pow,floor$6=Math.floor,log=Math.log,LN2=Math.LN2,pack=function(e,t,r){var n,i,a,o=new Array(r),s=8*r-t-1,l=(1<<s)-1,c=l>>1,u=23===t?pow$1(2,-24)-pow$1(2,-77):0,f=e<0||0===e&&1/e<0?1:0,h=0;for((e=abs(e))!=e||e===1/0?(i=e!=e?1:0,n=l):(n=floor$6(log(e)/LN2),e*(a=pow$1(2,-n))<1&&(n--,a*=2),(e+=n+c>=1?u/a:u*pow$1(2,1-c))*a>=2&&(n++,a/=2),n+c>=l?(i=0,n=l):n+c>=1?(i=(e*a-1)*pow$1(2,t),n+=c):(i=e*pow$1(2,c-1)*pow$1(2,t),n=0));t>=8;o[h++]=255&i,i/=256,t-=8);for(n=n<<t|i,s+=t;s>0;o[h++]=255&n,n/=256,s-=8);return o[--h]|=128*f,o},unpack=function(e,t){var r,n=e.length,i=8*n-t-1,a=(1<<i)-1,o=a>>1,s=i-7,l=n-1,c=e[l--],u=127&c;for(c>>=7;s>0;u=256*u+e[l],l--,s-=8);for(r=u&(1<<-s)-1,u>>=-s,s+=t;s>0;r=256*r+e[l],l--,s-=8);if(0===u)u=1-o;else{if(u===a)return r?NaN:c?-1/0:1/0;r+=pow$1(2,t),u-=o}return(c?-1:1)*r*pow$1(2,u-t)},ieee754={pack:pack,unpack:unpack},arrayFill=function(e){for(var t=toObject(this),r=toLength(t.length),n=arguments.length,i=toAbsoluteIndex(n>1?arguments[1]:void 0,r),a=n>2?arguments[2]:void 0,o=void 0===a?r:toAbsoluteIndex(a,r);o>i;)t[i++]=e;return t},getOwnPropertyNames=objectGetOwnPropertyNames.f,defineProperty=objectDefineProperty.f,PROPER_FUNCTION_NAME$2=functionName.PROPER,CONFIGURABLE_FUNCTION_NAME=functionName.CONFIGURABLE,getInternalState$1=internalState.get,setInternalState$3=internalState.set,ARRAY_BUFFER="ArrayBuffer",DATA_VIEW="DataView",PROTOTYPE="prototype",WRONG_LENGTH="Wrong length",WRONG_INDEX="Wrong index",NativeArrayBuffer=global$1[ARRAY_BUFFER],$ArrayBuffer=NativeArrayBuffer,$DataView=global$1[DATA_VIEW],$DataViewPrototype=$DataView&&$DataView[PROTOTYPE],ObjectPrototype=Object.prototype,RangeError$1=global$1.RangeError,packIEEE754=ieee754.pack,unpackIEEE754=ieee754.unpack,packInt8=function(e){return[255&e]},packInt16=function(e){return[255&e,e>>8&255]},packInt32=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},unpackInt32=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},packFloat32=function(e){return packIEEE754(e,23,4)},packFloat64=function(e){return packIEEE754(e,52,8)},addGetter=function(e,t){defineProperty(e[PROTOTYPE],t,{get:function(){return getInternalState$1(this)[t]}})},get=function(e,t,r,n){var i=toIndex(r),a=getInternalState$1(e);if(i+t>a.byteLength)throw RangeError$1(WRONG_INDEX);var o=getInternalState$1(a.buffer).bytes,s=i+a.byteOffset,l=o.slice(s,s+t);return n?l:l.reverse()},set=function(e,t,r,n,i,a){var o=toIndex(r),s=getInternalState$1(e);if(o+t>s.byteLength)throw RangeError$1(WRONG_INDEX);for(var l=getInternalState$1(s.buffer).bytes,c=o+s.byteOffset,u=n(+i),f=0;f<t;f++)l[c+f]=u[a?f:t-f-1]};if(arrayBufferNative){var INCORRECT_ARRAY_BUFFER_NAME=PROPER_FUNCTION_NAME$2&&NativeArrayBuffer.name!==ARRAY_BUFFER;if(fails((function(){NativeArrayBuffer(1)}))&&fails((function(){new NativeArrayBuffer(-1)}))&&!fails((function(){return new NativeArrayBuffer,new NativeArrayBuffer(1.5),new NativeArrayBuffer(NaN),INCORRECT_ARRAY_BUFFER_NAME&&!CONFIGURABLE_FUNCTION_NAME})))INCORRECT_ARRAY_BUFFER_NAME&&CONFIGURABLE_FUNCTION_NAME&&createNonEnumerableProperty(NativeArrayBuffer,"name",ARRAY_BUFFER);else{$ArrayBuffer=function(e){return anInstance(this,$ArrayBuffer),new NativeArrayBuffer(toIndex(e))};for(var ArrayBufferPrototype=$ArrayBuffer[PROTOTYPE]=NativeArrayBuffer[PROTOTYPE],keys=getOwnPropertyNames(NativeArrayBuffer),j=0,key;keys.length>j;)(key=keys[j++])in $ArrayBuffer||createNonEnumerableProperty($ArrayBuffer,key,NativeArrayBuffer[key]);ArrayBufferPrototype.constructor=$ArrayBuffer}objectSetPrototypeOf&&objectGetPrototypeOf($DataViewPrototype)!==ObjectPrototype&&objectSetPrototypeOf($DataViewPrototype,ObjectPrototype);var testView=new $DataView(new $ArrayBuffer(2)),$setInt8=$DataViewPrototype.setInt8;testView.setInt8(0,2147483648),testView.setInt8(1,2147483649),!testView.getInt8(0)&&testView.getInt8(1)||redefineAll($DataViewPrototype,{setInt8:function(e,t){$setInt8.call(this,e,t<<24>>24)},setUint8:function(e,t){$setInt8.call(this,e,t<<24>>24)}},{unsafe:!0})}else $ArrayBuffer=function(e){anInstance(this,$ArrayBuffer,ARRAY_BUFFER);var t=toIndex(e);setInternalState$3(this,{bytes:arrayFill.call(new Array(t),0),byteLength:t}),descriptors||(this.byteLength=t)},$DataView=function(e,t,r){anInstance(this,$DataView,DATA_VIEW),anInstance(e,$ArrayBuffer,DATA_VIEW);var n=getInternalState$1(e).byteLength,i=toInteger(t);if(i<0||i>n)throw RangeError$1("Wrong offset");if(i+(r=void 0===r?n-i:toLength(r))>n)throw RangeError$1(WRONG_LENGTH);setInternalState$3(this,{buffer:e,byteLength:r,byteOffset:i}),descriptors||(this.buffer=e,this.byteLength=r,this.byteOffset=i)},descriptors&&(addGetter($ArrayBuffer,"byteLength"),addGetter($DataView,"buffer"),addGetter($DataView,"byteLength"),addGetter($DataView,"byteOffset")),redefineAll($DataView[PROTOTYPE],{getInt8:function(e){return get(this,1,e)[0]<<24>>24},getUint8:function(e){return get(this,1,e)[0]},getInt16:function(e){var t=get(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=get(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return unpackInt32(get(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return unpackInt32(get(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return unpackIEEE754(get(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return unpackIEEE754(get(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){set(this,1,e,packInt8,t)},setUint8:function(e,t){set(this,1,e,packInt8,t)},setInt16:function(e,t){set(this,2,e,packInt16,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){set(this,2,e,packInt16,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){set(this,4,e,packInt32,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){set(this,4,e,packInt32,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){set(this,4,e,packFloat32,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){set(this,8,e,packFloat64,t,arguments.length>2?arguments[2]:void 0)}});setToStringTag($ArrayBuffer,ARRAY_BUFFER),setToStringTag($DataView,DATA_VIEW);var arrayBuffer={ArrayBuffer:$ArrayBuffer,DataView:$DataView},floor$5=Math.floor,isInteger=function(e){return!isObject(e)&&isFinite(e)&&floor$5(e)===e},toPositiveInteger=function(e){var t=toInteger(e);if(t<0)throw RangeError("The argument can't be less than 0");return t},toOffset=function(e,t){var r=toPositiveInteger(e);if(r%t)throw RangeError("Wrong offset");return r},aTypedArrayConstructor$1=arrayBufferViewCore.aTypedArrayConstructor,typedArrayFrom=function(e){var t,r,n,i,a,o,s=aConstructor(this),l=toObject(e),c=arguments.length,u=c>1?arguments[1]:void 0,f=void 0!==u,h=getIteratorMethod(l);if(h&&!isArrayIteratorMethod(h))for(o=(a=getIterator(l,h)).next,l=[];!(i=o.call(a)).done;)l.push(i.value);for(f&&c>2&&(u=functionBindContext(u,arguments[2],2)),r=toLength(l.length),n=new(aTypedArrayConstructor$1(s))(r),t=0;r>t;t++)n[t]=f?u(l[t],t):l[t];return n},isArray=Array.isArray||function(e){return"Array"==classofRaw(e)},SPECIES$2=wellKnownSymbol("species"),arraySpeciesConstructor=function(e){var t;return isArray(e)&&(t=e.constructor,(isConstructor(t)&&(t===Array||isArray(t.prototype))||isObject(t)&&null===(t=t[SPECIES$2]))&&(t=void 0)),void 0===t?Array:t},arraySpeciesCreate=function(e,t){return new(arraySpeciesConstructor(e))(0===t?0:t)},push=[].push,createMethod$2=function(e){var t=1==e,r=2==e,n=3==e,i=4==e,a=6==e,o=7==e,s=5==e||a;return function(l,c,u,f){for(var h,d,p=toObject(l),m=indexedObject(p),g=functionBindContext(c,u,3),b=toLength(m.length),y=0,v=f||arraySpeciesCreate,_=t?v(l,b):r||o?v(l,0):void 0;b>y;y++)if((s||y in m)&&(d=g(h=m[y],y,p),e))if(t)_[y]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:push.call(_,h)}else switch(e){case 4:return!1;case 7:push.call(_,h)}return a?-1:n||i?i:_}},arrayIteration={forEach:createMethod$2(0),map:createMethod$2(1),filter:createMethod$2(2),some:createMethod$2(3),every:createMethod$2(4),find:createMethod$2(5),findIndex:createMethod$2(6),filterReject:createMethod$2(7)},typedArrayConstructor=createCommonjsModule((function(e){var t=objectGetOwnPropertyNames.f,r=arrayIteration.forEach,n=internalState.get,i=internalState.set,a=objectDefineProperty.f,o=objectGetOwnPropertyDescriptor.f,s=Math.round,l=global$1.RangeError,c=arrayBuffer.ArrayBuffer,u=arrayBuffer.DataView,f=arrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS,h=arrayBufferViewCore.TYPED_ARRAY_CONSTRUCTOR,d=arrayBufferViewCore.TYPED_ARRAY_TAG,p=arrayBufferViewCore.TypedArray,m=arrayBufferViewCore.TypedArrayPrototype,g=arrayBufferViewCore.aTypedArrayConstructor,b=arrayBufferViewCore.isTypedArray,y=function(e,t){for(var r=0,n=t.length,i=new(g(e))(n);n>r;)i[r]=t[r++];return i},v=function(e,t){a(e,t,{get:function(){return n(this)[t]}})},_=function(e){var t;return e instanceof c||"ArrayBuffer"==(t=classof(e))||"SharedArrayBuffer"==t},w=function(e,t){return b(e)&&!isSymbol(t)&&t in e&&isInteger(+t)&&t>=0},E=function(e,t){return t=toPropertyKey(t),w(e,t)?createPropertyDescriptor(2,e[t]):o(e,t)},P=function(e,t,r){return t=toPropertyKey(t),!(w(e,t)&&isObject(r)&&has$1(r,"value"))||has$1(r,"get")||has$1(r,"set")||r.configurable||has$1(r,"writable")&&!r.writable||has$1(r,"enumerable")&&!r.enumerable?a(e,t,r):(e[t]=r.value,e)};descriptors?(f||(objectGetOwnPropertyDescriptor.f=E,objectDefineProperty.f=P,v(m,"buffer"),v(m,"byteOffset"),v(m,"byteLength"),v(m,"length")),_export({target:"Object",stat:!0,forced:!f},{getOwnPropertyDescriptor:E,defineProperty:P}),e.exports=function(e,o,g){var v=e.match(/\d+$/)[0]/8,w=e+(g?"Clamped":"")+"Array",E="get"+e,P="set"+e,A=global$1[w],k=A,C=k&&k.prototype,S={},I=function(e,t){a(e,t,{get:function(){return function(e,t){var r=n(e);return r.view[E](t*v+r.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var i=n(e);g&&(r=(r=s(r))<0?0:r>255?255:255&r),i.view[P](t*v+i.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};f?typedArrayConstructorsRequireWrappers&&(k=o((function(e,t,r,n){return anInstance(e,k,w),inheritIfRequired(isObject(t)?_(t)?void 0!==n?new A(t,toOffset(r,v),n):void 0!==r?new A(t,toOffset(r,v)):new A(t):b(t)?y(k,t):typedArrayFrom.call(k,t):new A(toIndex(t)),e,k)})),objectSetPrototypeOf&&objectSetPrototypeOf(k,p),r(t(A),(function(e){e in k||createNonEnumerableProperty(k,e,A[e])})),k.prototype=C):(k=o((function(e,t,r,n){anInstance(e,k,w);var a,o,s,f=0,h=0;if(isObject(t)){if(!_(t))return b(t)?y(k,t):typedArrayFrom.call(k,t);a=t,h=toOffset(r,v);var d=t.byteLength;if(void 0===n){if(d%v)throw l("Wrong length");if((o=d-h)<0)throw l("Wrong length")}else if((o=toLength(n)*v)+h>d)throw l("Wrong length");s=o/v}else s=toIndex(t),a=new c(o=s*v);for(i(e,{buffer:a,byteOffset:h,byteLength:o,length:s,view:new u(a)});f<s;)I(e,f++)})),objectSetPrototypeOf&&objectSetPrototypeOf(k,p),C=k.prototype=objectCreate(m)),C.constructor!==k&&createNonEnumerableProperty(C,"constructor",k),createNonEnumerableProperty(C,h,k),d&&createNonEnumerableProperty(C,d,w),S[w]=k,_export({global:!0,forced:k!=A,sham:!f},S),"BYTES_PER_ELEMENT"in k||createNonEnumerableProperty(k,"BYTES_PER_ELEMENT",v),"BYTES_PER_ELEMENT"in C||createNonEnumerableProperty(C,"BYTES_PER_ELEMENT",v),setSpecies(w)}):e.exports=function(){}}));typedArrayConstructor("Uint8",(function(e){return function(t,r,n){return e(this,t,r,n)}}));var min$3=Math.min,arrayCopyWithin=[].copyWithin||function(e,t){var r=toObject(this),n=toLength(r.length),i=toAbsoluteIndex(e,n),a=toAbsoluteIndex(t,n),o=arguments.length>2?arguments[2]:void 0,s=min$3((void 0===o?n:toAbsoluteIndex(o,n))-a,n-i),l=1;for(a<i&&i<a+s&&(l=-1,a+=s-1,i+=s-1);s-- >0;)a in r?r[i]=r[a]:delete r[i],i+=l,a+=l;return r},aTypedArray$l=arrayBufferViewCore.aTypedArray,exportTypedArrayMethod$m=arrayBufferViewCore.exportTypedArrayMethod;exportTypedArrayMethod$m("copyWithin",(function(e,t){return arrayCopyWithin.call(aTypedArray$l(this),e,t,arguments.length>2?arguments[2]:void 0)}));var $every=arrayIteration.every,aTypedArray$k=arrayBufferViewCore.aTypedArray,exportTypedArrayMethod$l=arrayBufferViewCore.exportTypedArrayMethod;exportTypedArrayMethod$l("every",(function(e){return $every(aTypedArray$k(this),e,arguments.length>1?arguments[1]:void 0)}));var aTypedArray$j=arrayBufferViewCore.aTypedArray,exportTypedArrayMethod$k=arrayBufferViewCore.exportTypedArrayMethod;exportTypedArrayMethod$k("fill",(function(e){return arrayFill.apply(aTypedArray$j(this),arguments)}));var arrayFromConstructorAndList=function(e,t){for(var r=0,n=t.length,i=new e(n);n>r;)i[r]=t[r++];return i},TYPED_ARRAY_CONSTRUCTOR=arrayBufferViewCore.TYPED_ARRAY_CONSTRUCTOR,aTypedArrayConstructor=arrayBufferViewCore.aTypedArrayConstructor,typedArraySpeciesConstructor=function(e){return aTypedArrayConstructor(speciesConstructor(e,e[TYPED_ARRAY_CONSTRUCTOR]))},typedArrayFromSpeciesAndList=function(e,t){return arrayFromConstructorAndList(typedArraySpeciesConstructor(e),t)},$filter$1=arrayIteration.filter,aTypedArray$i=arrayBufferViewCore.aTypedArray,exportTypedArrayMethod$j=arrayBufferViewCore.exportTypedArrayMethod;exportTypedArrayMethod$j("filter",(function(e){var t=$filter$1(aTypedArray$i(this),e,arguments.length>1?arguments[1]:void 0);return typedArrayFromSpeciesAndList(this,t)}));var $find=arrayIteration.find,aTypedArray$h=arrayBufferViewCore.aTypedArray,exportTypedArrayMethod$i=arrayBufferViewCore.exportTypedArrayMethod;exportTypedArrayMethod$i("find",(function(e){return $find(aTypedArray$h(this),e,arguments.length>1?arguments[1]:void 0)}));var $findIndex=arrayIteration.findIndex,aTypedArray$g=arrayBufferViewCore.aTypedArray,exportTypedArrayMethod$h=arrayBufferViewCore.exportTypedArrayMethod;exportTypedArrayMethod$h("findIndex",(function(e){return $findIndex(aTypedArray$g(this),e,arguments.length>1?arguments[1]:void 0)}));var $forEach$1=arrayIteration.forEach,aTypedArray$f=arrayBufferViewCore.aTypedArray,exportTypedArrayMethod$g=arrayBufferViewCore.exportTypedArrayMethod;exportTypedArrayMethod$g("forEach",(function(e){$forEach$1(aTypedArray$f(this),e,arguments.length>1?arguments[1]:void 0)}));var $includes$1=arrayIncludes.includes,aTypedArray$e=arrayBufferViewCore.aTypedArray,exportTypedArrayMethod$f=arrayBufferViewCore.exportTypedArrayMethod;exportTypedArrayMethod$f("includes",(function(e){return $includes$1(aTypedArray$e(this),e,arguments.length>1?arguments[1]:void 0)}));var $indexOf=arrayIncludes.indexOf,aTypedArray$d=arrayBufferViewCore.aTypedArray,exportTypedArrayMethod$e=arrayBufferViewCore.exportTypedArrayMethod;exportTypedArrayMethod$e("indexOf",(function(e){return $indexOf(aTypedArray$d(this),e,arguments.length>1?arguments[1]:void 0)}));var PROPER_FUNCTION_NAME$1=functionName.PROPER,ITERATOR$3=wellKnownSymbol("iterator"),Uint8Array$2=global$1.Uint8Array,arrayValues=es_array_iterator.values,arrayKeys=es_array_iterator.keys,arrayEntries=es_array_iterator.entries,aTypedArray$c=arrayBufferViewCore.aTypedArray,exportTypedArrayMethod$d=arrayBufferViewCore.exportTypedArrayMethod,nativeTypedArrayIterator=Uint8Array$2&&Uint8Array$2.prototype[ITERATOR$3],PROPER_ARRAY_VALUES_NAME=!!nativeTypedArrayIterator&&"values"===nativeTypedArrayIterator.name,typedArrayValues=function(){return arrayValues.call(aTypedArray$c(this))};exportTypedArrayMethod$d("entries",(function(){return arrayEntries.call(aTypedArray$c(this))})),exportTypedArrayMethod$d("keys",(function(){return arrayKeys.call(aTypedArray$c(this))})),exportTypedArrayMethod$d("values",typedArrayValues,PROPER_FUNCTION_NAME$1&&!PROPER_ARRAY_VALUES_NAME),exportTypedArrayMethod$d(ITERATOR$3,typedArrayValues,PROPER_FUNCTION_NAME$1&&!PROPER_ARRAY_VALUES_NAME);var aTypedArray$b=arrayBufferViewCore.aTypedArray,exportTypedArrayMethod$c=arrayBufferViewCore.exportTypedArrayMethod,$join=[].join;exportTypedArrayMethod$c("join",(function(e){return $join.apply(aTypedArray$b(this),arguments)}));var arrayMethodIsStrict=function(e,t){var r=[][e];return!!r&&fails((function(){r.call(null,t||function(){throw 1},1)}))},min$2=Math.min,$lastIndexOf=[].lastIndexOf,NEGATIVE_ZERO=!!$lastIndexOf&&1/[1].lastIndexOf(1,-0)<0,STRICT_METHOD$2=arrayMethodIsStrict("lastIndexOf"),FORCED$5=NEGATIVE_ZERO||!STRICT_METHOD$2,arrayLastIndexOf=FORCED$5?function(e){if(NEGATIVE_ZERO)return $lastIndexOf.apply(this,arguments)||0;var t=toIndexedObject(this),r=toLength(t.length),n=r-1;for(arguments.length>1&&(n=min$2(n,toInteger(arguments[1]))),n<0&&(n=r+n);n>=0;n--)if(n in t&&t[n]===e)return n||0;return-1}:$lastIndexOf,aTypedArray$a=arrayBufferViewCore.aTypedArray,exportTypedArrayMethod$b=arrayBufferViewCore.exportTypedArrayMethod;exportTypedArrayMethod$b("lastIndexOf",(function(e){return arrayLastIndexOf.apply(aTypedArray$a(this),arguments)}));var $map=arrayIteration.map,aTypedArray$9=arrayBufferViewCore.aTypedArray,exportTypedArrayMethod$a=arrayBufferViewCore.exportTypedArrayMethod;exportTypedArrayMethod$a("map",(function(e){return $map(aTypedArray$9(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(typedArraySpeciesConstructor(e))(t)}))}));var createMethod$1=function(e){return function(t,r,n,i){aCallable(r);var a=toObject(t),o=indexedObject(a),s=toLength(a.length),l=e?s-1:0,c=e?-1:1;if(n<2)for(;;){if(l in o){i=o[l],l+=c;break}if(l+=c,e?l<0:s<=l)throw TypeError("Reduce of empty array with no initial value")}for(;e?l>=0:s>l;l+=c)l in o&&(i=r(i,o[l],l,a));return i}},arrayReduce={left:createMethod$1(!1),right:createMethod$1(!0)},$reduce=arrayReduce.left,aTypedArray$8=arrayBufferViewCore.aTypedArray,exportTypedArrayMethod$9=arrayBufferViewCore.exportTypedArrayMethod;exportTypedArrayMethod$9("reduce",(function(e){return $reduce(aTypedArray$8(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}));var $reduceRight=arrayReduce.right,aTypedArray$7=arrayBufferViewCore.aTypedArray,exportTypedArrayMethod$8=arrayBufferViewCore.exportTypedArrayMethod;exportTypedArrayMethod$8("reduceRight",(function(e){return $reduceRight(aTypedArray$7(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}));var aTypedArray$6=arrayBufferViewCore.aTypedArray,exportTypedArrayMethod$7=arrayBufferViewCore.exportTypedArrayMethod,floor$4=Math.floor;exportTypedArrayMethod$7("reverse",(function(){for(var e,t=aTypedArray$6(this).length,r=floor$4(t/2),n=0;n<r;)e=this[n],this[n++]=this[--t],this[t]=e;return this}));var aTypedArray$5=arrayBufferViewCore.aTypedArray,exportTypedArrayMethod$6=arrayBufferViewCore.exportTypedArrayMethod,FORCED$4=fails((function(){new Int8Array(1).set({})}));exportTypedArrayMethod$6("set",(function(e){aTypedArray$5(this);var t=toOffset(arguments.length>1?arguments[1]:void 0,1),r=this.length,n=toObject(e),i=toLength(n.length),a=0;if(i+t>r)throw RangeError("Wrong length");for(;a<i;)this[t+a]=n[a++]}),FORCED$4);var aTypedArray$4=arrayBufferViewCore.aTypedArray,exportTypedArrayMethod$5=arrayBufferViewCore.exportTypedArrayMethod,$slice$1=[].slice,FORCED$3=fails((function(){new Int8Array(1).slice()}));exportTypedArrayMethod$5("slice",(function(e,t){for(var r=$slice$1.call(aTypedArray$4(this),e,t),n=typedArraySpeciesConstructor(this),i=0,a=r.length,o=new n(a);a>i;)o[i]=r[i++];return o}),FORCED$3);var $some=arrayIteration.some,aTypedArray$3=arrayBufferViewCore.aTypedArray,exportTypedArrayMethod$4=arrayBufferViewCore.exportTypedArrayMethod;exportTypedArrayMethod$4("some",(function(e){return $some(aTypedArray$3(this),e,arguments.length>1?arguments[1]:void 0)}));var floor$3=Math.floor,mergeSort=function(e,t){var r=e.length,n=floor$3(r/2);return r<8?insertionSort(e,t):merge(mergeSort(e.slice(0,n),t),mergeSort(e.slice(n),t),t)},insertionSort=function(e,t){for(var r,n,i=e.length,a=1;a<i;){for(n=a,r=e[a];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==a++&&(e[n]=r)}return e},merge=function(e,t,r){for(var n=e.length,i=t.length,a=0,o=0,s=[];a<n||o<i;)a<n&&o<i?s.push(r(e[a],t[o])<=0?e[a++]:t[o++]):s.push(a<n?e[a++]:t[o++]);return s},arraySort=mergeSort,firefox=engineUserAgent.match(/firefox\/(\d+)/i),engineFfVersion=!!firefox&&+firefox[1],engineIsIeOrEdge=/MSIE|Trident/.test(engineUserAgent),webkit=engineUserAgent.match(/AppleWebKit\/(\d+)\./),engineWebkitVersion=!!webkit&&+webkit[1],aTypedArray$2=arrayBufferViewCore.aTypedArray,exportTypedArrayMethod$3=arrayBufferViewCore.exportTypedArrayMethod,Uint16Array$1=global$1.Uint16Array,nativeSort$1=Uint16Array$1&&Uint16Array$1.prototype.sort,ACCEPT_INCORRECT_ARGUMENTS=!!nativeSort$1&&!fails((function(){var e=new Uint16Array$1(2);e.sort(null),e.sort({})})),STABLE_SORT$1=!!nativeSort$1&&!fails((function(){if(engineV8Version)return engineV8Version<74;if(engineFfVersion)return engineFfVersion<67;if(engineIsIeOrEdge)return!0;if(engineWebkitVersion)return engineWebkitVersion<602;var e,t,r=new Uint16Array$1(516),n=Array(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,n[e]=e-2*t+3;for(r.sort((function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(r[e]!==n[e])return!0})),getSortCompare$1=function(e){return function(t,r){return void 0!==e?+e(t,r)||0:r!=r?-1:t!=t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r}};exportTypedArrayMethod$3("sort",(function(e){if(void 0!==e&&aCallable(e),STABLE_SORT$1)return nativeSort$1.call(this,e);aTypedArray$2(this);var t,r=toLength(this.length),n=Array(r);for(t=0;t<r;t++)n[t]=this[t];for(n=arraySort(this,getSortCompare$1(e)),t=0;t<r;t++)this[t]=n[t];return this}),!STABLE_SORT$1||ACCEPT_INCORRECT_ARGUMENTS);var aTypedArray$1=arrayBufferViewCore.aTypedArray,exportTypedArrayMethod$2=arrayBufferViewCore.exportTypedArrayMethod;exportTypedArrayMethod$2("subarray",(function(e,t){var r=aTypedArray$1(this),n=r.length,i=toAbsoluteIndex(e,n);return new(typedArraySpeciesConstructor(r))(r.buffer,r.byteOffset+i*r.BYTES_PER_ELEMENT,toLength((void 0===t?n:toAbsoluteIndex(t,n))-i))}));var Int8Array$1=global$1.Int8Array,aTypedArray=arrayBufferViewCore.aTypedArray,exportTypedArrayMethod$1=arrayBufferViewCore.exportTypedArrayMethod,$toLocaleString=[].toLocaleString,$slice=[].slice,TO_LOCALE_STRING_BUG=!!Int8Array$1&&fails((function(){$toLocaleString.call(new Int8Array$1(1))})),FORCED$2=fails((function(){return[1,2].toLocaleString()!=new Int8Array$1([1,2]).toLocaleString()}))||!fails((function(){Int8Array$1.prototype.toLocaleString.call([1,2])}));exportTypedArrayMethod$1("toLocaleString",(function(){return $toLocaleString.apply(TO_LOCALE_STRING_BUG?$slice.call(aTypedArray(this)):aTypedArray(this),arguments)}),FORCED$2);var exportTypedArrayMethod=arrayBufferViewCore.exportTypedArrayMethod,Uint8Array$1=global$1.Uint8Array,Uint8ArrayPrototype=Uint8Array$1&&Uint8Array$1.prototype||{},arrayToString=[].toString,arrayJoin=[].join;fails((function(){arrayToString.call({})}))&&(arrayToString=function(){return arrayJoin.call(this)});var IS_NOT_ARRAY_METHOD=Uint8ArrayPrototype.toString!=arrayToString;exportTypedArrayMethod("toString",arrayToString,IS_NOT_ARRAY_METHOD);var $includes=arrayIncludes.includes;_export({target:"Array",proto:!0},{includes:function(e){return $includes(this,e,arguments.length>1?arguments[1]:void 0)}}),addToUnscopables("includes");var notARegexp=function(e){if(isRegexp(e))throw TypeError("The method doesn't accept regular expressions");return e},MATCH=wellKnownSymbol("match"),correctIsRegexpLogic=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[MATCH]=!1,"/./"[e](t)}catch(e){}}return!1};_export({target:"String",proto:!0,forced:!correctIsRegexpLogic("includes")},{includes:function(e){return!!~toString(requireObjectCoercible(this)).indexOf(toString(notARegexp(e)),arguments.length>1?arguments[1]:void 0)}});var createProperty=function(e,t,r){var n=toPropertyKey(t);n in e?objectDefineProperty.f(e,n,createPropertyDescriptor(0,r)):e[n]=r},SPECIES$1=wellKnownSymbol("species"),arrayMethodHasSpeciesSupport=function(e){return engineV8Version>=51||!fails((function(){var t=[];return(t.constructor={})[SPECIES$1]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},HAS_SPECIES_SUPPORT$1=arrayMethodHasSpeciesSupport("slice"),SPECIES=wellKnownSymbol("species"),nativeSlice=[].slice,max$1=Math.max;_export({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT$1},{slice:function(e,t){var r,n,i,a=toIndexedObject(this),o=toLength(a.length),s=toAbsoluteIndex(e,o),l=toAbsoluteIndex(void 0===t?o:t,o);if(isArray(a)&&(r=a.constructor,(isConstructor(r)&&(r===Array||isArray(r.prototype))||isObject(r)&&null===(r=r[SPECIES]))&&(r=void 0),r===Array||void 0===r))return nativeSlice.call(a,s,l);for(n=new(void 0===r?Array:r)(max$1(l-s,0)),i=0;s<l;s++,i++)s in a&&createProperty(n,i,a[s]);return n.length=i,n}}),typedArrayConstructor("Uint32",(function(e){return function(t,r,n){return e(this,t,r,n)}})),typedArrayConstructor("Uint16",(function(e){return function(t,r,n){return e(this,t,r,n)}}));var $filter=arrayIteration.filter,HAS_SPECIES_SUPPORT=arrayMethodHasSpeciesSupport("filter");_export({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT},{filter:function(e){return $filter(this,e,arguments.length>1?arguments[1]:void 0)}});var PROPER_FUNCTION_NAME=functionName.PROPER,TO_STRING="toString",RegExpPrototype=RegExp.prototype,nativeToString=RegExpPrototype[TO_STRING],NOT_GENERIC=fails((function(){return"/a/b"!=nativeToString.call({source:"a",flags:"b"})})),INCORRECT_NAME=PROPER_FUNCTION_NAME&&nativeToString.name!=TO_STRING;(NOT_GENERIC||INCORRECT_NAME)&&redefine(RegExp.prototype,TO_STRING,(function(){var e=anObject(this),t=toString(e.source),r=e.flags;return"/"+t+"/"+toString(void 0===r&&e instanceof RegExp&&!("flags"in RegExpPrototype)?regexpFlags.call(e):r)}),{unsafe:!0});var test=[],nativeSort=test.sort,FAILS_ON_UNDEFINED=fails((function(){test.sort(void 0)})),FAILS_ON_NULL=fails((function(){test.sort(null)})),STRICT_METHOD$1=arrayMethodIsStrict("sort"),STABLE_SORT=!fails((function(){if(engineV8Version)return engineV8Version<70;if(!(engineFfVersion&&engineFfVersion>3)){if(engineIsIeOrEdge)return!0;if(engineWebkitVersion)return engineWebkitVersion<603;var e,t,r,n,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)test.push({k:t+n,v:r})}for(test.sort((function(e,t){return t.v-e.v})),n=0;n<test.length;n++)t=test[n].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}})),FORCED$1=FAILS_ON_UNDEFINED||!FAILS_ON_NULL||!STRICT_METHOD$1||!STABLE_SORT,getSortCompare=function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:toString(t)>toString(r)?1:-1}};_export({target:"Array",proto:!0,forced:FORCED$1},{sort:function(e){void 0!==e&&aCallable(e);var t=toObject(this);if(STABLE_SORT)return void 0===e?nativeSort.call(t):nativeSort.call(t,e);var r,n,i=[],a=toLength(t.length);for(n=0;n<a;n++)n in t&&i.push(t[n]);for(r=(i=arraySort(i,getSortCompare(e))).length,n=0;n<r;)t[n]=i[n++];for(;n<a;)delete t[n++];return t}});var UZIP_1=createCommonjsModule((function(e){var t,r,n={};e.exports=n,n.parse=function(e,t){for(var r=n.bin.readUshort,i=n.bin.readUint,a=0,o={},s=new Uint8Array(e),l=s.length-4;101010256!=i(s,l);)l--;a=l,a+=4;var c=r(s,a+=4);r(s,a+=2);var u=i(s,a+=2),f=i(s,a+=4);a+=4,a=f;for(var h=0;h<c;h++){i(s,a),a+=4,a+=4,a+=4,i(s,a+=4),u=i(s,a+=4);var d=i(s,a+=4),p=r(s,a+=4),m=r(s,a+2),g=r(s,a+4);a+=6;var b=i(s,a+=8);a+=4,a+=p+m+g,n._readLocal(s,b,o,u,d,t)}return o},n._readLocal=function(e,t,r,i,a,o){var s=n.bin.readUshort,l=n.bin.readUint;l(e,t),s(e,t+=4),s(e,t+=2);var c=s(e,t+=2);l(e,t+=2),l(e,t+=4),t+=4;var u=s(e,t+=8),f=s(e,t+=2);t+=2;var h=n.bin.readUTF8(e,t,u);if(t+=u,t+=f,o)r[h]={size:a,csize:i};else{var d=new Uint8Array(e.buffer,t);if(0==c)r[h]=new Uint8Array(d.buffer.slice(t,t+i));else{if(8!=c)throw"unknown compression method: "+c;var p=new Uint8Array(a);n.inflateRaw(d,p),r[h]=p}}},n.inflateRaw=function(e,t){return n.F.inflate(e,t)},n.inflate=function(e,t){return e[0],e[1],n.inflateRaw(new Uint8Array(e.buffer,e.byteOffset+2,e.length-6),t)},n.deflate=function(e,t){null==t&&(t={level:6});var r=0,i=new Uint8Array(50+Math.floor(1.1*e.length));i[r]=120,i[r+1]=156,r+=2,r=n.F.deflateRaw(e,i,r,t.level);var a=n.adler(e,0,e.length);return i[r+0]=a>>>24&255,i[r+1]=a>>>16&255,i[r+2]=a>>>8&255,i[r+3]=a>>>0&255,new Uint8Array(i.buffer,0,r+4)},n.deflateRaw=function(e,t){null==t&&(t={level:6});var r=new Uint8Array(50+Math.floor(1.1*e.length)),i=n.F.deflateRaw(e,r,i,t.level);return new Uint8Array(r.buffer,0,i)},n.encode=function(e,t){null==t&&(t=!1);var r=0,i=n.bin.writeUint,a=n.bin.writeUshort,o={};for(var s in e){var l=!n._noNeed(s)&&!t,c=e[s],u=n.crc.crc(c,0,c.length);o[s]={cpr:l,usize:c.length,crc:u,file:l?n.deflateRaw(c):c}}for(var s in o)r+=o[s].file.length+30+46+2*n.bin.sizeUTF8(s);r+=22;var f=new Uint8Array(r),h=0,d=[];for(var s in o){var p=o[s];d.push(h),h=n._writeHeader(f,h,s,p,0)}var m=0,g=h;for(var s in o)p=o[s],d.push(h),h=n._writeHeader(f,h,s,p,1,d[m++]);var b=h-g;return i(f,h,101010256),h+=4,a(f,h+=4,m),a(f,h+=2,m),i(f,h+=2,b),i(f,h+=4,g),h+=4,h+=2,f.buffer},n._noNeed=function(e){var t=e.split(".").pop().toLowerCase();return-1!="png,jpg,jpeg,zip".indexOf(t)},n._writeHeader=function(e,t,r,i,a,o){var s=n.bin.writeUint,l=n.bin.writeUshort,c=i.file;return s(e,t,0==a?67324752:33639248),t+=4,1==a&&(t+=2),l(e,t,20),l(e,t+=2,0),l(e,t+=2,i.cpr?8:0),s(e,t+=2,0),s(e,t+=4,i.crc),s(e,t+=4,c.length),s(e,t+=4,i.usize),l(e,t+=4,n.bin.sizeUTF8(r)),l(e,t+=2,0),t+=2,1==a&&(t+=2,t+=2,s(e,t+=6,o),t+=4),t+=n.bin.writeUTF8(e,t,r),0==a&&(e.set(c,t),t+=c.length),t},n.crc={table:function(){for(var e=new Uint32Array(256),t=0;t<256;t++){for(var r=t,n=0;n<8;n++)1&r?r=3988292384^r>>>1:r>>>=1;e[t]=r}return e}(),update:function(e,t,r,i){for(var a=0;a<i;a++)e=n.crc.table[255&(e^t[r+a])]^e>>>8;return e},crc:function(e,t,r){return 4294967295^n.crc.update(4294967295,e,t,r)}},n.adler=function(e,t,r){for(var n=1,i=0,a=t,o=t+r;a<o;){for(var s=Math.min(a+5552,o);a<s;)i+=n+=e[a++];n%=65521,i%=65521}return i<<16|n},n.bin={readUshort:function(e,t){return e[t]|e[t+1]<<8},writeUshort:function(e,t,r){e[t]=255&r,e[t+1]=r>>8&255},readUint:function(e,t){return 16777216*e[t+3]+(e[t+2]<<16|e[t+1]<<8|e[t])},writeUint:function(e,t,r){e[t]=255&r,e[t+1]=r>>8&255,e[t+2]=r>>16&255,e[t+3]=r>>24&255},readASCII:function(e,t,r){for(var n="",i=0;i<r;i++)n+=String.fromCharCode(e[t+i]);return n},writeASCII:function(e,t,r){for(var n=0;n<r.length;n++)e[t+n]=r.charCodeAt(n)},pad:function(e){return e.length<2?"0"+e:e},readUTF8:function(e,t,r){for(var i,a="",o=0;o<r;o++)a+="%"+n.bin.pad(e[t+o].toString(16));try{i=decodeURIComponent(a)}catch(i){return n.bin.readASCII(e,t,r)}return i},writeUTF8:function(e,t,r){for(var n=r.length,i=0,a=0;a<n;a++){var o=r.charCodeAt(a);if(0==(4294967168&o))e[t+i]=o,i++;else if(0==(4294965248&o))e[t+i]=192|o>>6,e[t+i+1]=128|o>>0&63,i+=2;else if(0==(4294901760&o))e[t+i]=224|o>>12,e[t+i+1]=128|o>>6&63,e[t+i+2]=128|o>>0&63,i+=3;else{if(0!=(4292870144&o))throw"e";e[t+i]=240|o>>18,e[t+i+1]=128|o>>12&63,e[t+i+2]=128|o>>6&63,e[t+i+3]=128|o>>0&63,i+=4}}return i},sizeUTF8:function(e){for(var t=e.length,r=0,n=0;n<t;n++){var i=e.charCodeAt(n);if(0==(4294967168&i))r++;else if(0==(4294965248&i))r+=2;else if(0==(4294901760&i))r+=3;else{if(0!=(4292870144&i))throw"e";r+=4}}return r}},n.F={},n.F.deflateRaw=function(e,t,r,i){var a=[[0,0,0,0,0],[4,4,8,4,0],[4,5,16,8,0],[4,6,16,16,0],[4,10,16,32,0],[8,16,32,32,0],[8,16,128,128,0],[8,32,128,256,0],[32,128,258,1024,1],[32,258,258,4096,1]][i],o=n.F.U,s=n.F._goodIndex;n.F._hash;var l=n.F._putsE,c=0,u=r<<3,f=0,h=e.length;if(0==i){for(;c<h;)l(t,u,c+(A=Math.min(65535,h-c))==h?1:0),u=n.F._copyExact(e,c,A,t,u+8),c+=A;return u>>>3}var d=o.lits,p=o.strt,m=o.prev,g=0,b=0,y=0,v=0,_=0,w=0;for(h>2&&(p[w=n.F._hash(e,0)]=0),c=0;c<h;c++){if(_=w,c+1<h-2){w=n.F._hash(e,c+1);var E=c+1&32767;m[E]=p[w],p[w]=E}if(f<=c){(g>14e3||b>26697)&&h-c>100&&(f<c&&(d[g]=c-f,g+=2,f=c),u=n.F._writeBlock(c==h-1||f==h?1:0,d,g,v,e,y,c-y,t,u),g=b=v=0,y=c);var P=0;c<h-2&&(P=n.F._bestMatch(e,c,m,_,Math.min(a[2],h-c),a[3]));var A=P>>>16,k=65535&P;if(0!=P){k=65535&P;var C=s(A=P>>>16,o.of0);o.lhst[257+C]++;var S=s(k,o.df0);o.dhst[S]++,v+=o.exb[C]+o.dxb[S],d[g]=A<<23|c-f,d[g+1]=k<<16|C<<8|S,g+=2,f=c+A}else o.lhst[e[c]]++;b++}}for(y==c&&0!=e.length||(f<c&&(d[g]=c-f,g+=2,f=c),u=n.F._writeBlock(1,d,g,v,e,y,c-y,t,u),g=0,b=0,g=b=v=0,y=c);0!=(7&u);)u++;return u>>>3},n.F._bestMatch=function(e,t,r,i,a,o){var s=32767&t,l=r[s],c=s-l+32768&32767;if(l==s||i!=n.F._hash(e,t-c))return 0;for(var u=0,f=0,h=Math.min(32767,t);c<=h&&0!=--o&&l!=s;){if(0==u||e[t+u]==e[t+u-c]){var d=n.F._howLong(e,t,c);if(d>u){if(f=c,(u=d)>=a)break;c+2<d&&(d=c+2);for(var p=0,m=0;m<d-2;m++){var g=t-c+m+32768&32767,b=g-r[g]+32768&32767;b>p&&(p=b,l=g)}}}c+=(s=l)-(l=r[s])+32768&32767}return u<<16|f},n.F._howLong=function(e,t,r){if(e[t]!=e[t-r]||e[t+1]!=e[t+1-r]||e[t+2]!=e[t+2-r])return 0;var n=t,i=Math.min(e.length,t+258);for(t+=3;t<i&&e[t]==e[t-r];)t++;return t-n},n.F._hash=function(e,t){return(e[t]<<8|e[t+1])+(e[t+2]<<4)&65535},n.saved=0,n.F._writeBlock=function(e,t,r,i,a,o,s,l,c){var u,f,h,d,p,m,g,b,y,v=n.F.U,_=n.F._putsF,w=n.F._putsE;v.lhst[256]++,f=(u=n.F.getTrees())[0],h=u[1],d=u[2],p=u[3],m=u[4],g=u[5],b=u[6],y=u[7];var E=32+(0==(c+3&7)?0:8-(c+3&7))+(s<<3),P=i+n.F.contSize(v.fltree,v.lhst)+n.F.contSize(v.fdtree,v.dhst),A=i+n.F.contSize(v.ltree,v.lhst)+n.F.contSize(v.dtree,v.dhst);A+=14+3*g+n.F.contSize(v.itree,v.ihst)+(2*v.ihst[16]+3*v.ihst[17]+7*v.ihst[18]);for(var k=0;k<286;k++)v.lhst[k]=0;for(k=0;k<30;k++)v.dhst[k]=0;for(k=0;k<19;k++)v.ihst[k]=0;var C=E<P&&E<A?0:P<A?1:2;if(_(l,c,e),_(l,c+1,C),c+=3,0==C){for(;0!=(7&c);)c++;c=n.F._copyExact(a,o,s,l,c)}else{var S,I;if(1==C&&(S=v.fltree,I=v.fdtree),2==C){n.F.makeCodes(v.ltree,f),n.F.revCodes(v.ltree,f),n.F.makeCodes(v.dtree,h),n.F.revCodes(v.dtree,h),n.F.makeCodes(v.itree,d),n.F.revCodes(v.itree,d),S=v.ltree,I=v.dtree,w(l,c,p-257),w(l,c+=5,m-1),w(l,c+=5,g-4),c+=4;for(var B=0;B<g;B++)w(l,c+3*B,v.itree[1+(v.ordr[B]<<1)]);c+=3*g,c=n.F._codeTiny(b,v.itree,l,c),c=n.F._codeTiny(y,v.itree,l,c)}for(var x=o,T=0;T<r;T+=2){for(var R=t[T],M=R>>>23,O=x+(8388607&R);x<O;)c=n.F._writeLit(a[x++],S,l,c);if(0!=M){var N=t[T+1],U=N>>16,L=N>>8&255,D=255&N;w(l,c=n.F._writeLit(257+L,S,l,c),M-v.of0[L]),c+=v.exb[L],_(l,c=n.F._writeLit(D,I,l,c),U-v.df0[D]),c+=v.dxb[D],x+=M}}c=n.F._writeLit(256,S,l,c)}return c},n.F._copyExact=function(e,t,r,n,i){var a=i>>>3;return n[a]=r,n[a+1]=r>>>8,n[a+2]=255-n[a],n[a+3]=255-n[a+1],a+=4,n.set(new Uint8Array(e.buffer,t,r),a),i+(r+4<<3)},n.F.getTrees=function(){for(var e=n.F.U,t=n.F._hufTree(e.lhst,e.ltree,15),r=n.F._hufTree(e.dhst,e.dtree,15),i=[],a=n.F._lenCodes(e.ltree,i),o=[],s=n.F._lenCodes(e.dtree,o),l=0;l<i.length;l+=2)e.ihst[i[l]]++;for(l=0;l<o.length;l+=2)e.ihst[o[l]]++;for(var c=n.F._hufTree(e.ihst,e.itree,7),u=19;u>4&&0==e.itree[1+(e.ordr[u-1]<<1)];)u--;return[t,r,c,a,s,u,i,o]},n.F.getSecond=function(e){for(var t=[],r=0;r<e.length;r+=2)t.push(e[r+1]);return t},n.F.nonZero=function(e){for(var t="",r=0;r<e.length;r+=2)0!=e[r+1]&&(t+=(r>>1)+",");return t},n.F.contSize=function(e,t){for(var r=0,n=0;n<t.length;n++)r+=t[n]*e[1+(n<<1)];return r},n.F._codeTiny=function(e,t,r,i){for(var a=0;a<e.length;a+=2){var o=e[a],s=e[a+1];i=n.F._writeLit(o,t,r,i);var l=16==o?2:17==o?3:7;o>15&&(n.F._putsE(r,i,s,l),i+=l)}return i},n.F._lenCodes=function(e,t){for(var r=e.length;2!=r&&0==e[r-1];)r-=2;for(var n=0;n<r;n+=2){var i=e[n+1],a=n+3<r?e[n+3]:-1,o=n+5<r?e[n+5]:-1,s=0==n?-1:e[n-1];if(0==i&&a==i&&o==i){for(var l=n+5;l+2<r&&e[l+2]==i;)l+=2;(c=Math.min(l+1-n>>>1,138))<11?t.push(17,c-3):t.push(18,c-11),n+=2*c-2}else if(i==s&&a==i&&o==i){for(l=n+5;l+2<r&&e[l+2]==i;)l+=2;var c=Math.min(l+1-n>>>1,6);t.push(16,c-3),n+=2*c-2}else t.push(i,0)}return r>>>1},n.F._hufTree=function(e,t,r){var i=[],a=e.length,o=t.length,s=0;for(s=0;s<o;s+=2)t[s]=0,t[s+1]=0;for(s=0;s<a;s++)0!=e[s]&&i.push({lit:s,f:e[s]});var l=i.length,c=i.slice(0);if(0==l)return 0;if(1==l){var u=i[0].lit;return c=0==u?1:0,t[1+(u<<1)]=1,t[1+(c<<1)]=1,1}i.sort((function(e,t){return e.f-t.f}));var f=i[0],h=i[1],d=0,p=1,m=2;for(i[0]={lit:-1,f:f.f+h.f,l:f,r:h,d:0};p!=l-1;)f=d!=p&&(m==l||i[d].f<i[m].f)?i[d++]:i[m++],h=d!=p&&(m==l||i[d].f<i[m].f)?i[d++]:i[m++],i[p++]={lit:-1,f:f.f+h.f,l:f,r:h};var g=n.F.setDepth(i[p-1],0);for(g>r&&(n.F.restrictDepth(c,r,g),g=r),s=0;s<l;s++)t[1+(c[s].lit<<1)]=c[s].d;return g},n.F.setDepth=function(e,t){return-1!=e.lit?(e.d=t,t):Math.max(n.F.setDepth(e.l,t+1),n.F.setDepth(e.r,t+1))},n.F.restrictDepth=function(e,t,r){var n=0,i=1<<r-t,a=0;for(e.sort((function(e,t){return t.d==e.d?e.f-t.f:t.d-e.d})),n=0;n<e.length&&e[n].d>t;n++){var o=e[n].d;e[n].d=t,a+=i-(1<<r-o)}for(a>>>=r-t;a>0;)(o=e[n].d)<t?(e[n].d++,a-=1<<t-o-1):n++;for(;n>=0;n--)e[n].d==t&&a<0&&(e[n].d--,a++);0!=a&&console.log("debt left")},n.F._goodIndex=function(e,t){var r=0;return t[16|r]<=e&&(r|=16),t[8|r]<=e&&(r|=8),t[4|r]<=e&&(r|=4),t[2|r]<=e&&(r|=2),t[1|r]<=e&&(r|=1),r},n.F._writeLit=function(e,t,r,i){return n.F._putsF(r,i,t[e<<1]),i+t[1+(e<<1)]},n.F.inflate=function(e,t){var r=Uint8Array;if(3==e[0]&&0==e[1])return t||new r(0);var i=n.F,a=i._bitsF,o=i._bitsE,s=i._decodeTiny,l=i.makeCodes,c=i.codes2map,u=i._get17,f=i.U,h=null==t;h&&(t=new r(e.length>>>2<<3));for(var d,p,m=0,g=0,b=0,y=0,v=0,_=0,w=0,E=0,P=0;0==m;)if(m=a(e,P,1),g=a(e,P+1,2),P+=3,0!=g){if(h&&(t=n.F._check(t,E+(1<<17))),1==g&&(d=f.flmap,p=f.fdmap,_=511,w=31),2==g){b=o(e,P,5)+257,y=o(e,P+5,5)+1,v=o(e,P+10,4)+4,P+=14;for(var A=0;A<38;A+=2)f.itree[A]=0,f.itree[A+1]=0;var k=1;for(A=0;A<v;A++){var C=o(e,P+3*A,3);f.itree[1+(f.ordr[A]<<1)]=C,C>k&&(k=C)}P+=3*v,l(f.itree,k),c(f.itree,k,f.imap),d=f.lmap,p=f.dmap,P=s(f.imap,(1<<k)-1,b+y,e,P,f.ttree);var S=i._copyOut(f.ttree,0,b,f.ltree);_=(1<<S)-1;var I=i._copyOut(f.ttree,b,y,f.dtree);w=(1<<I)-1,l(f.ltree,S),c(f.ltree,S,d),l(f.dtree,I),c(f.dtree,I,p)}for(;;){var B=d[u(e,P)&_];P+=15&B;var x=B>>>4;if(x>>>8==0)t[E++]=x;else{if(256==x)break;var T=E+x-254;if(x>264){var R=f.ldef[x-257];T=E+(R>>>3)+o(e,P,7&R),P+=7&R}var M=p[u(e,P)&w];P+=15&M;var O=M>>>4,N=f.ddef[O],U=(N>>>4)+a(e,P,15&N);for(P+=15&N,h&&(t=n.F._check(t,E+(1<<17)));E<T;)t[E]=t[E++-U],t[E]=t[E++-U],t[E]=t[E++-U],t[E]=t[E++-U];E=T}}}else{0!=(7&P)&&(P+=8-(7&P));var L=4+(P>>>3),D=e[L-4]|e[L-3]<<8;h&&(t=n.F._check(t,E+D)),t.set(new r(e.buffer,e.byteOffset+L,D),E),P=L+D<<3,E+=D}return t.length==E?t:t.slice(0,E)},n.F._check=function(e,t){var r=e.length;if(t<=r)return e;var n=new Uint8Array(Math.max(r<<1,t));return n.set(e,0),n},n.F._decodeTiny=function(e,t,r,i,a,o){for(var s=n.F._bitsE,l=n.F._get17,c=0;c<r;){var u=e[l(i,a)&t];a+=15&u;var f=u>>>4;if(f<=15)o[c]=f,c++;else{var h=0,d=0;16==f?(d=3+s(i,a,2),a+=2,h=o[c-1]):17==f?(d=3+s(i,a,3),a+=3):18==f&&(d=11+s(i,a,7),a+=7);for(var p=c+d;c<p;)o[c]=h,c++}}return a},n.F._copyOut=function(e,t,r,n){for(var i=0,a=0,o=n.length>>>1;a<r;){var s=e[a+t];n[a<<1]=0,n[1+(a<<1)]=s,s>i&&(i=s),a++}for(;a<o;)n[a<<1]=0,n[1+(a<<1)]=0,a++;return i},n.F.makeCodes=function(e,t){for(var r,i,a,o,s=n.F.U,l=e.length,c=s.bl_count,u=0;u<=t;u++)c[u]=0;for(u=1;u<l;u+=2)c[e[u]]++;var f=s.next_code;for(r=0,c[0]=0,i=1;i<=t;i++)r=r+c[i-1]<<1,f[i]=r;for(a=0;a<l;a+=2)0!=(o=e[a+1])&&(e[a]=f[o],f[o]++)},n.F.codes2map=function(e,t,r){for(var i=e.length,a=n.F.U.rev15,o=0;o<i;o+=2)if(0!=e[o+1])for(var s=o>>1,l=e[o+1],c=s<<4|l,u=t-l,f=e[o]<<u,h=f+(1<<u);f!=h;)r[a[f]>>>15-t]=c,f++},n.F.revCodes=function(e,t){for(var r=n.F.U.rev15,i=15-t,a=0;a<e.length;a+=2){var o=e[a]<<t-e[a+1];e[a]=r[o]>>>i}},n.F._putsE=function(e,t,r){r<<=7&t;var n=t>>>3;e[n]|=r,e[n+1]|=r>>>8},n.F._putsF=function(e,t,r){r<<=7&t;var n=t>>>3;e[n]|=r,e[n+1]|=r>>>8,e[n+2]|=r>>>16},n.F._bitsE=function(e,t,r){return(e[t>>>3]|e[1+(t>>>3)]<<8)>>>(7&t)&(1<<r)-1},n.F._bitsF=function(e,t,r){return(e[t>>>3]|e[1+(t>>>3)]<<8|e[2+(t>>>3)]<<16)>>>(7&t)&(1<<r)-1},n.F._get17=function(e,t){return(e[t>>>3]|e[1+(t>>>3)]<<8|e[2+(t>>>3)]<<16)>>>(7&t)},n.F._get25=function(e,t){return(e[t>>>3]|e[1+(t>>>3)]<<8|e[2+(t>>>3)]<<16|e[3+(t>>>3)]<<24)>>>(7&t)},n.F.U=(t=Uint16Array,r=Uint32Array,{next_code:new t(16),bl_count:new t(16),ordr:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],of0:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],exb:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],ldef:new t(32),df0:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],dxb:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],ddef:new r(32),flmap:new t(512),fltree:[],fdmap:new t(32),fdtree:[],lmap:new t(32768),ltree:[],ttree:[],dmap:new t(32768),dtree:[],imap:new t(512),itree:[],rev15:new t(32768),lhst:new r(286),dhst:new r(30),ihst:new r(19),lits:new r(15e3),strt:new t(65536),prev:new t(32768)}),function(){for(var e=n.F.U,t=0;t<32768;t++){var r=t;r=(4278255360&(r=(4042322160&(r=(3435973836&(r=(2863311530&r)>>>1|(1431655765&r)<<1))>>>2|(858993459&r)<<2))>>>4|(252645135&r)<<4))>>>8|(16711935&r)<<8,e.rev15[t]=(r>>>16|r<<16)>>>17}function i(e,t,r){for(;0!=t--;)e.push(0,r)}for(t=0;t<32;t++)e.ldef[t]=e.of0[t]<<3|e.exb[t],e.ddef[t]=e.df0[t]<<4|e.dxb[t];i(e.fltree,144,8),i(e.fltree,112,9),i(e.fltree,24,7),i(e.fltree,8,8),n.F.makeCodes(e.fltree,9),n.F.codes2map(e.fltree,9,e.flmap),n.F.revCodes(e.fltree,9),i(e.fdtree,32,5),n.F.makeCodes(e.fdtree,5),n.F.codes2map(e.fdtree,5,e.fdmap),n.F.revCodes(e.fdtree,5),i(e.itree,19,0),i(e.ltree,286,0),i(e.dtree,30,0),i(e.ttree,320,0)}()})),UZIP=Object.freeze(_mergeNamespaces({__proto__:null,default:UZIP_1},[UZIP_1])),UPNG={},N,W,H;UPNG.toRGBA8=function(e){var t=e.width,r=e.height;if(null==e.tabs.acTL)return[UPNG.toRGBA8.decodeImage(e.data,t,r,e).buffer];var n=[];null==e.frames[0].data&&(e.frames[0].data=e.data);for(var i=t*r*4,a=new Uint8Array(i),o=new Uint8Array(i),s=new Uint8Array(i),l=0;l<e.frames.length;l++){var c=e.frames[l],u=c.rect.x,f=c.rect.y,h=c.rect.width,d=c.rect.height,p=UPNG.toRGBA8.decodeImage(c.data,h,d,e);if(0!=l)for(var m=0;m<i;m++)s[m]=a[m];if(0==c.blend?UPNG._copyTile(p,h,d,a,t,r,u,f,0):1==c.blend&&UPNG._copyTile(p,h,d,a,t,r,u,f,1),n.push(a.buffer.slice(0)),0==c.dispose);else if(1==c.dispose)UPNG._copyTile(o,h,d,a,t,r,u,f,0);else if(2==c.dispose)for(m=0;m<i;m++)a[m]=s[m]}return n},UPNG.toRGBA8.decodeImage=function(e,t,r,n){var i=t*r,a=UPNG.decode._getBPP(n),o=Math.ceil(t*a/8),s=new Uint8Array(4*i),l=new Uint32Array(s.buffer),c=n.ctype,u=n.depth,f=UPNG._bin.readUshort;if(6==c){var h=i<<2;if(8==u)for(var d=0;d<h;d+=4)s[d]=e[d],s[d+1]=e[d+1],s[d+2]=e[d+2],s[d+3]=e[d+3];if(16==u)for(d=0;d<h;d++)s[d]=e[d<<1]}else if(2==c){var p=n.tabs.tRNS;if(null==p){if(8==u)for(d=0;d<i;d++){var m=3*d;l[d]=255<<24|e[m+2]<<16|e[m+1]<<8|e[m]}if(16==u)for(d=0;d<i;d++)m=6*d,l[d]=255<<24|e[m+4]<<16|e[m+2]<<8|e[m]}else{var g=p[0],b=p[1],y=p[2];if(8==u)for(d=0;d<i;d++){var v=d<<2;m=3*d,l[d]=255<<24|e[m+2]<<16|e[m+1]<<8|e[m],e[m]==g&&e[m+1]==b&&e[m+2]==y&&(s[v+3]=0)}if(16==u)for(d=0;d<i;d++)v=d<<2,m=6*d,l[d]=255<<24|e[m+4]<<16|e[m+2]<<8|e[m],f(e,m)==g&&f(e,m+2)==b&&f(e,m+4)==y&&(s[v+3]=0)}}else if(3==c){var _=n.tabs.PLTE,w=n.tabs.tRNS,E=w?w.length:0;if(1==u)for(var P=0;P<r;P++){var A=P*o,k=P*t;for(d=0;d<t;d++){v=k+d<<2;var C=3*(S=e[A+(d>>3)]>>7-((7&d)<<0)&1);s[v]=_[C],s[v+1]=_[C+1],s[v+2]=_[C+2],s[v+3]=S<E?w[S]:255}}if(2==u)for(P=0;P<r;P++)for(A=P*o,k=P*t,d=0;d<t;d++)v=k+d<<2,C=3*(S=e[A+(d>>2)]>>6-((3&d)<<1)&3),s[v]=_[C],s[v+1]=_[C+1],s[v+2]=_[C+2],s[v+3]=S<E?w[S]:255;if(4==u)for(P=0;P<r;P++)for(A=P*o,k=P*t,d=0;d<t;d++)v=k+d<<2,C=3*(S=e[A+(d>>1)]>>4-((1&d)<<2)&15),s[v]=_[C],s[v+1]=_[C+1],s[v+2]=_[C+2],s[v+3]=S<E?w[S]:255;if(8==u)for(d=0;d<i;d++){var S;v=d<<2,C=3*(S=e[d]),s[v]=_[C],s[v+1]=_[C+1],s[v+2]=_[C+2],s[v+3]=S<E?w[S]:255}}else if(4==c){if(8==u)for(d=0;d<i;d++){v=d<<2;var I=e[B=d<<1];s[v]=I,s[v+1]=I,s[v+2]=I,s[v+3]=e[B+1]}if(16==u)for(d=0;d<i;d++){var B;v=d<<2,I=e[B=d<<2],s[v]=I,s[v+1]=I,s[v+2]=I,s[v+3]=e[B+2]}}else if(0==c)for(g=n.tabs.tRNS?n.tabs.tRNS:-1,P=0;P<r;P++){var x=P*o,T=P*t;if(1==u)for(var R=0;R<t;R++){var M=(I=255*(e[x+(R>>>3)]>>>7-(7&R)&1))==255*g?0:255;l[T+R]=M<<24|I<<16|I<<8|I}else if(2==u)for(R=0;R<t;R++)M=(I=85*(e[x+(R>>>2)]>>>6-((3&R)<<1)&3))==85*g?0:255,l[T+R]=M<<24|I<<16|I<<8|I;else if(4==u)for(R=0;R<t;R++)M=(I=17*(e[x+(R>>>1)]>>>4-((1&R)<<2)&15))==17*g?0:255,l[T+R]=M<<24|I<<16|I<<8|I;else if(8==u)for(R=0;R<t;R++)M=(I=e[x+R])==g?0:255,l[T+R]=M<<24|I<<16|I<<8|I;else if(16==u)for(R=0;R<t;R++)I=e[x+(R<<1)],M=f(e,x+(R<<d))==g?0:255,l[T+R]=M<<24|I<<16|I<<8|I}return s},UPNG.decode=function(e){for(var t,r=new Uint8Array(e),n=8,i=UPNG._bin,a=i.readUshort,o=i.readUint,s={tabs:{},frames:[]},l=new Uint8Array(r.length),c=0,u=0,f=[137,80,78,71,13,10,26,10],h=0;h<8;h++)if(r[h]!=f[h])throw"The input is not a PNG file!";for(;n<r.length;){var d=i.readUint(r,n);n+=4;var p=i.readASCII(r,n,4);if(n+=4,"IHDR"==p)UPNG.decode._IHDR(r,n,s);else if("CgBI"==p)s.tabs[p]=r.slice(n,n+4);else if("IDAT"==p){for(h=0;h<d;h++)l[c+h]=r[n+h];c+=d}else if("acTL"==p)s.tabs[p]={num_frames:o(r,n),num_plays:o(r,n+4)},t=new Uint8Array(r.length);else if("fcTL"==p){var m;0!=u&&((m=s.frames[s.frames.length-1]).data=UPNG.decode._decompress(s,t.slice(0,u),m.rect.width,m.rect.height),u=0);var g={x:o(r,n+12),y:o(r,n+16),width:o(r,n+4),height:o(r,n+8)},b=a(r,n+22);b=a(r,n+20)/(0==b?100:b);var y={rect:g,delay:Math.round(1e3*b),dispose:r[n+24],blend:r[n+25]};s.frames.push(y)}else if("fdAT"==p){for(h=0;h<d-4;h++)t[u+h]=r[n+h+4];u+=d-4}else if("pHYs"==p)s.tabs[p]=[i.readUint(r,n),i.readUint(r,n+4),r[n+8]];else if("cHRM"==p)for(s.tabs[p]=[],h=0;h<8;h++)s.tabs[p].push(i.readUint(r,n+4*h));else if("tEXt"==p||"zTXt"==p){null==s.tabs[p]&&(s.tabs[p]={});var v=i.nextZero(r,n),_=i.readASCII(r,n,v-n),w=n+d-v-1;if("tEXt"==p)A=i.readASCII(r,v+1,w);else{var E=UPNG.decode._inflate(r.slice(v+2,v+2+w));A=i.readUTF8(E,0,E.length)}s.tabs[p][_]=A}else if("iTXt"==p){null==s.tabs[p]&&(s.tabs[p]={}),v=0;var P=n;v=i.nextZero(r,P),_=i.readASCII(r,P,v-P);var A,k=r[P=v+1];r[P+1],P+=2,v=i.nextZero(r,P),i.readASCII(r,P,v-P),P=v+1,v=i.nextZero(r,P),i.readUTF8(r,P,v-P),w=d-((P=v+1)-n),0==k?A=i.readUTF8(r,P,w):(E=UPNG.decode._inflate(r.slice(P,P+w)),A=i.readUTF8(E,0,E.length)),s.tabs[p][_]=A}else if("PLTE"==p)s.tabs[p]=i.readBytes(r,n,d);else if("hIST"==p){var C=s.tabs.PLTE.length/3;for(s.tabs[p]=[],h=0;h<C;h++)s.tabs[p].push(a(r,n+2*h))}else if("tRNS"==p)3==s.ctype?s.tabs[p]=i.readBytes(r,n,d):0==s.ctype?s.tabs[p]=a(r,n):2==s.ctype&&(s.tabs[p]=[a(r,n),a(r,n+2),a(r,n+4)]);else if("gAMA"==p)s.tabs[p]=i.readUint(r,n)/1e5;else if("sRGB"==p)s.tabs[p]=r[n];else if("bKGD"==p)0==s.ctype||4==s.ctype?s.tabs[p]=[a(r,n)]:2==s.ctype||6==s.ctype?s.tabs[p]=[a(r,n),a(r,n+2),a(r,n+4)]:3==s.ctype&&(s.tabs[p]=r[n]);else if("IEND"==p)break;n+=d,i.readUint(r,n),n+=4}return 0!=u&&((m=s.frames[s.frames.length-1]).data=UPNG.decode._decompress(s,t.slice(0,u),m.rect.width,m.rect.height),u=0),s.data=UPNG.decode._decompress(s,l,s.width,s.height),delete s.compress,delete s.interlace,delete s.filter,s},UPNG.decode._decompress=function(e,t,r,n){var i=UPNG.decode._getBPP(e),a=Math.ceil(r*i/8),o=new Uint8Array((a+1+e.interlace)*n);return t=e.tabs.CgBI?UPNG.inflateRaw(t,o):UPNG.decode._inflate(t,o),0==e.interlace?t=UPNG.decode._filterZero(t,e,0,r,n):1==e.interlace&&(t=UPNG.decode._readInterlace(t,e)),t},UPNG.decode._inflate=function(e,t){return UPNG.inflateRaw(new Uint8Array(e.buffer,2,e.length-6),t)},UPNG.inflateRaw=(H={},H.H={},H.H.N=function(e,t){var r,n,i=Uint8Array,a=0,o=0,s=0,l=0,c=0,u=0,f=0,h=0,d=0;if(3==e[0]&&0==e[1])return t||new i(0);var p=H.H,m=p.b,g=p.e,b=p.R,y=p.n,v=p.A,_=p.Z,w=p.m,E=null==t;for(E&&(t=new i(e.length>>>2<<5));0==a;)if(a=m(e,d,1),o=m(e,d+1,2),d+=3,0!=o){if(E&&(t=H.H.W(t,h+(1<<17))),1==o&&(r=w.J,n=w.h,u=511,f=31),2==o){s=g(e,d,5)+257,l=g(e,d+5,5)+1,c=g(e,d+10,4)+4,d+=14;for(var P=1,A=0;A<38;A+=2)w.Q[A]=0,w.Q[A+1]=0;for(A=0;A<c;A++){var k=g(e,d+3*A,3);w.Q[1+(w.X[A]<<1)]=k,k>P&&(P=k)}d+=3*c,y(w.Q,P),v(w.Q,P,w.u),r=w.w,n=w.d,d=b(w.u,(1<<P)-1,s+l,e,d,w.v);var C=p.V(w.v,0,s,w.C);u=(1<<C)-1;var S=p.V(w.v,s,l,w.D);f=(1<<S)-1,y(w.C,C),v(w.C,C,r),y(w.D,S),v(w.D,S,n)}for(;;){var I=r[_(e,d)&u];d+=15&I;var B=I>>>4;if(B>>>8==0)t[h++]=B;else{if(256==B)break;var x=h+B-254;if(B>264){var T=w.q[B-257];x=h+(T>>>3)+g(e,d,7&T),d+=7&T}var R=n[_(e,d)&f];d+=15&R;var M=R>>>4,O=w.c[M],N=(O>>>4)+m(e,d,15&O);for(d+=15&O;h<x;)t[h]=t[h++-N],t[h]=t[h++-N],t[h]=t[h++-N],t[h]=t[h++-N];h=x}}}else{0!=(7&d)&&(d+=8-(7&d));var U=4+(d>>>3),L=e[U-4]|e[U-3]<<8;E&&(t=H.H.W(t,h+L)),t.set(new i(e.buffer,e.byteOffset+U,L),h),d=U+L<<3,h+=L}return t.length==h?t:t.slice(0,h)},H.H.W=function(e,t){var r=e.length;if(t<=r)return e;var n=new Uint8Array(r<<1);return n.set(e,0),n},H.H.R=function(e,t,r,n,i,a){for(var o=H.H.e,s=H.H.Z,l=0;l<r;){var c=e[s(n,i)&t];i+=15&c;var u=c>>>4;if(u<=15)a[l]=u,l++;else{var f=0,h=0;16==u?(h=3+o(n,i,2),i+=2,f=a[l-1]):17==u?(h=3+o(n,i,3),i+=3):18==u&&(h=11+o(n,i,7),i+=7);for(var d=l+h;l<d;)a[l]=f,l++}}return i},H.H.V=function(e,t,r,n){for(var i=0,a=0,o=n.length>>>1;a<r;){var s=e[a+t];n[a<<1]=0,n[1+(a<<1)]=s,s>i&&(i=s),a++}for(;a<o;)n[a<<1]=0,n[1+(a<<1)]=0,a++;return i},H.H.n=function(e,t){for(var r,n,i,a,o=H.H.m,s=e.length,l=o.j,c=0;c<=t;c++)l[c]=0;for(c=1;c<s;c+=2)l[e[c]]++;var u=o.K;for(r=0,l[0]=0,n=1;n<=t;n++)r=r+l[n-1]<<1,u[n]=r;for(i=0;i<s;i+=2)0!=(a=e[i+1])&&(e[i]=u[a],u[a]++)},H.H.A=function(e,t,r){for(var n=e.length,i=H.H.m.r,a=0;a<n;a+=2)if(0!=e[a+1])for(var o=a>>1,s=e[a+1],l=o<<4|s,c=t-s,u=e[a]<<c,f=u+(1<<c);u!=f;)r[i[u]>>>15-t]=l,u++},H.H.l=function(e,t){for(var r=H.H.m.r,n=15-t,i=0;i<e.length;i+=2){var a=e[i]<<t-e[i+1];e[i]=r[a]>>>n}},H.H.M=function(e,t,r){r<<=7&t;var n=t>>>3;e[n]|=r,e[n+1]|=r>>>8},H.H.I=function(e,t,r){r<<=7&t;var n=t>>>3;e[n]|=r,e[n+1]|=r>>>8,e[n+2]|=r>>>16},H.H.e=function(e,t,r){return(e[t>>>3]|e[1+(t>>>3)]<<8)>>>(7&t)&(1<<r)-1},H.H.b=function(e,t,r){return(e[t>>>3]|e[1+(t>>>3)]<<8|e[2+(t>>>3)]<<16)>>>(7&t)&(1<<r)-1},H.H.Z=function(e,t){return(e[t>>>3]|e[1+(t>>>3)]<<8|e[2+(t>>>3)]<<16)>>>(7&t)},H.H.i=function(e,t){return(e[t>>>3]|e[1+(t>>>3)]<<8|e[2+(t>>>3)]<<16|e[3+(t>>>3)]<<24)>>>(7&t)},H.H.m=(N=Uint16Array,W=Uint32Array,{K:new N(16),j:new N(16),X:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],T:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],q:new N(32),p:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],z:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],c:new W(32),J:new N(512),_:[],h:new N(32),$:[],w:new N(32768),C:[],v:[],d:new N(32768),D:[],u:new N(512),Q:[],r:new N(32768),s:new W(286),Y:new W(30),a:new W(19),t:new W(15e3),k:new N(65536),g:new N(32768)}),function(){for(var e=H.H.m,t=0;t<32768;t++){var r=t;r=(4278255360&(r=(4042322160&(r=(3435973836&(r=(2863311530&r)>>>1|(1431655765&r)<<1))>>>2|(858993459&r)<<2))>>>4|(252645135&r)<<4))>>>8|(16711935&r)<<8,e.r[t]=(r>>>16|r<<16)>>>17}function n(e,t,r){for(;0!=t--;)e.push(0,r)}for(t=0;t<32;t++)e.q[t]=e.S[t]<<3|e.T[t],e.c[t]=e.p[t]<<4|e.z[t];n(e._,144,8),n(e._,112,9),n(e._,24,7),n(e._,8,8),H.H.n(e._,9),H.H.A(e._,9,e.J),H.H.l(e._,9),n(e.$,32,5),H.H.n(e.$,5),H.H.A(e.$,5,e.h),H.H.l(e.$,5),n(e.Q,19,0),n(e.C,286,0),n(e.D,30,0),n(e.v,320,0)}(),H.H.N),UPNG.decode._readInterlace=function(e,t){for(var r=t.width,n=t.height,i=UPNG.decode._getBPP(t),a=i>>3,o=Math.ceil(r*i/8),s=new Uint8Array(n*o),l=0,c=[0,0,4,0,2,0,1],u=[0,4,0,2,0,1,0],f=[8,8,8,4,4,2,2],h=[8,8,4,4,2,2,1],d=0;d<7;){for(var p=f[d],m=h[d],g=0,b=0,y=c[d];y<n;)y+=p,b++;for(var v=u[d];v<r;)v+=m,g++;var _=Math.ceil(g*i/8);UPNG.decode._filterZero(e,t,l,g,b);for(var w=0,E=c[d];E<n;){for(var P=u[d],A=l+w*_<<3;P<r;){var k;if(1==i&&(k=(k=e[A>>3])>>7-(7&A)&1,s[E*o+(P>>3)]|=k<<7-((7&P)<<0)),2==i&&(k=(k=e[A>>3])>>6-(7&A)&3,s[E*o+(P>>2)]|=k<<6-((3&P)<<1)),4==i&&(k=(k=e[A>>3])>>4-(7&A)&15,s[E*o+(P>>1)]|=k<<4-((1&P)<<2)),i>=8)for(var C=E*o+P*a,S=0;S<a;S++)s[C+S]=e[(A>>3)+S];A+=i,P+=m}w++,E+=p}g*b!=0&&(l+=b*(1+_)),d+=1}return s},UPNG.decode._getBPP=function(e){return[1,null,3,1,2,null,4][e.ctype]*e.depth},UPNG.decode._filterZero=function(e,t,r,n,i){var a=UPNG.decode._getBPP(t),o=Math.ceil(n*a/8),s=UPNG.decode._paeth;a=Math.ceil(a/8);var l=0,c=1,u=e[r],f=0;if(u>1&&(e[r]=[0,0,1][u-2]),3==u)for(f=a;f<o;f++)e[f+1]=e[f+1]+(e[f+1-a]>>>1)&255;for(var h=0;h<i;h++)if(f=0,0==(u=e[(c=(l=r+h*o)+h+1)-1]))for(;f<o;f++)e[l+f]=e[c+f];else if(1==u){for(;f<a;f++)e[l+f]=e[c+f];for(;f<o;f++)e[l+f]=e[c+f]+e[l+f-a]}else if(2==u)for(;f<o;f++)e[l+f]=e[c+f]+e[l+f-o];else if(3==u){for(;f<a;f++)e[l+f]=e[c+f]+(e[l+f-o]>>>1);for(;f<o;f++)e[l+f]=e[c+f]+(e[l+f-o]+e[l+f-a]>>>1)}else{for(;f<a;f++)e[l+f]=e[c+f]+s(0,e[l+f-o],0);for(;f<o;f++)e[l+f]=e[c+f]+s(e[l+f-a],e[l+f-o],e[l+f-a-o])}return e},UPNG.decode._paeth=function(e,t,r){var n=e+t-r,i=n-e,a=n-t,o=n-r;return i*i<=a*a&&i*i<=o*o?e:a*a<=o*o?t:r},UPNG.decode._IHDR=function(e,t,r){var n=UPNG._bin;r.width=n.readUint(e,t),t+=4,r.height=n.readUint(e,t),t+=4,r.depth=e[t],t++,r.ctype=e[t],t++,r.compress=e[t],t++,r.filter=e[t],t++,r.interlace=e[t],t++},UPNG._bin={nextZero:function(e,t){for(;0!=e[t];)t++;return t},readUshort:function(e,t){return e[t]<<8|e[t+1]},writeUshort:function(e,t,r){e[t]=r>>8&255,e[t+1]=255&r},readUint:function(e,t){return 16777216*e[t]+(e[t+1]<<16|e[t+2]<<8|e[t+3])},writeUint:function(e,t,r){e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r},readASCII:function(e,t,r){for(var n="",i=0;i<r;i++)n+=String.fromCharCode(e[t+i]);return n},writeASCII:function(e,t,r){for(var n=0;n<r.length;n++)e[t+n]=r.charCodeAt(n)},readBytes:function(e,t,r){for(var n=[],i=0;i<r;i++)n.push(e[t+i]);return n},pad:function(e){return e.length<2?"0".concat(e):e},readUTF8:function(e,t,r){for(var n,i="",a=0;a<r;a++)i+="%".concat(UPNG._bin.pad(e[t+a].toString(16)));try{n=decodeURIComponent(i)}catch(n){return UPNG._bin.readASCII(e,t,r)}return n}},UPNG._copyTile=function(e,t,r,n,i,a,o,s,l){for(var c=Math.min(t,i),u=Math.min(r,a),f=0,h=0,d=0;d<u;d++)for(var p=0;p<c;p++)if(o>=0&&s>=0?(f=d*t+p<<2,h=(s+d)*i+o+p<<2):(f=(-s+d)*t-o+p<<2,h=d*i+p<<2),0==l)n[h]=e[f],n[h+1]=e[f+1],n[h+2]=e[f+2],n[h+3]=e[f+3];else if(1==l){var m=e[f+3]*(1/255),g=e[f]*m,b=e[f+1]*m,y=e[f+2]*m,v=n[h+3]*(1/255),_=n[h]*v,w=n[h+1]*v,E=n[h+2]*v,P=1-m,A=m+v*P,k=0==A?0:1/A;n[h+3]=255*A,n[h+0]=(g+_*P)*k,n[h+1]=(b+w*P)*k,n[h+2]=(y+E*P)*k}else if(2==l)m=e[f+3],g=e[f],b=e[f+1],y=e[f+2],v=n[h+3],_=n[h],w=n[h+1],E=n[h+2],m==v&&g==_&&b==w&&y==E?(n[h]=0,n[h+1]=0,n[h+2]=0,n[h+3]=0):(n[h]=g,n[h+1]=b,n[h+2]=y,n[h+3]=m);else if(3==l){if(m=e[f+3],g=e[f],b=e[f+1],y=e[f+2],v=n[h+3],_=n[h],w=n[h+1],E=n[h+2],m==v&&g==_&&b==w&&y==E)continue;if(m<220&&v>20)return!1}return!0},UPNG.encode=function(e,t,r,n,i,a,o){null==n&&(n=0),null==o&&(o=!1);var s=UPNG.encode.compress(e,t,r,n,[!1,!1,!1,0,o]);return UPNG.encode.compressPNG(s,-1),UPNG.encode._main(s,t,r,i,a)},UPNG.encodeLL=function(e,t,r,n,i,a,o,s){for(var l={ctype:0+(1==n?0:2)+(0==i?0:4),depth:a,frames:[]},c=(n+i)*a,u=c*t,f=0;f<e.length;f++)l.frames.push({rect:{x:0,y:0,width:t,height:r},img:new Uint8Array(e[f]),blend:0,dispose:1,bpp:Math.ceil(c/8),bpl:Math.ceil(u/8)});return UPNG.encode.compressPNG(l,0,!0),UPNG.encode._main(l,t,r,o,s)},UPNG.encode._main=function(e,t,r,n,i){null==i&&(i={});var a=UPNG.crc.crc,o=UPNG._bin.writeUint,s=UPNG._bin.writeUshort,l=UPNG._bin.writeASCII,c=8,u=e.frames.length>1,f=!1,h=33+(u?20:0);if(null!=i.sRGB&&(h+=13),null!=i.pHYs&&(h+=21),3==e.ctype){for(var d=e.plte.length,p=0;p<d;p++)e.plte[p]>>>24!=255&&(f=!0);h+=8+3*d+4+(f?8+1*d+4:0)}for(var m=0;m<e.frames.length;m++)u&&(h+=38),h+=(A=e.frames[m]).cimg.length+12,0!=m&&(h+=4);h+=12;var g=new Uint8Array(h),b=[137,80,78,71,13,10,26,10];for(p=0;p<8;p++)g[p]=b[p];if(o(g,c,13),l(g,c+=4,"IHDR"),o(g,c+=4,t),o(g,c+=4,r),g[c+=4]=e.depth,g[++c]=e.ctype,g[++c]=0,g[++c]=0,g[++c]=0,o(g,++c,a(g,c-17,17)),c+=4,null!=i.sRGB&&(o(g,c,1),l(g,c+=4,"sRGB"),g[c+=4]=i.sRGB,o(g,++c,a(g,c-5,5)),c+=4),null!=i.pHYs&&(o(g,c,9),l(g,c+=4,"pHYs"),o(g,c+=4,i.pHYs[0]),o(g,c+=4,i.pHYs[1]),g[c+=4]=i.pHYs[2],o(g,++c,a(g,c-13,13)),c+=4),u&&(o(g,c,8),l(g,c+=4,"acTL"),o(g,c+=4,e.frames.length),o(g,c+=4,null!=i.loop?i.loop:0),o(g,c+=4,a(g,c-12,12)),c+=4),3==e.ctype){for(o(g,c,3*(d=e.plte.length)),l(g,c+=4,"PLTE"),c+=4,p=0;p<d;p++){var y=3*p,v=e.plte[p],_=255&v,w=v>>>8&255,E=v>>>16&255;g[c+y+0]=_,g[c+y+1]=w,g[c+y+2]=E}if(o(g,c+=3*d,a(g,c-3*d-4,3*d+4)),c+=4,f){for(o(g,c,d),l(g,c+=4,"tRNS"),c+=4,p=0;p<d;p++)g[c+p]=e.plte[p]>>>24&255;o(g,c+=d,a(g,c-d-4,d+4)),c+=4}}var P=0;for(m=0;m<e.frames.length;m++){var A=e.frames[m];u&&(o(g,c,26),l(g,c+=4,"fcTL"),o(g,c+=4,P++),o(g,c+=4,A.rect.width),o(g,c+=4,A.rect.height),o(g,c+=4,A.rect.x),o(g,c+=4,A.rect.y),s(g,c+=4,n[m]),s(g,c+=2,1e3),g[c+=2]=A.dispose,g[++c]=A.blend,o(g,++c,a(g,c-30,30)),c+=4);var k=A.cimg;o(g,c,(d=k.length)+(0==m?0:4));var C=c+=4;l(g,c,0==m?"IDAT":"fdAT"),c+=4,0!=m&&(o(g,c,P++),c+=4),g.set(k,c),o(g,c+=d,a(g,C,c-C)),c+=4}return o(g,c,0),l(g,c+=4,"IEND"),o(g,c+=4,a(g,c-4,4)),c+=4,g.buffer},UPNG.encode.compressPNG=function(e,t,r){for(var n=0;n<e.frames.length;n++){var i=e.frames[n];i.rect.width;var a=i.rect.height,o=new Uint8Array(a*i.bpl+a);i.cimg=UPNG.encode._filterZero(i.img,a,i.bpp,i.bpl,o,t,r)}},UPNG.encode.compress=function(e,t,r,n,i){for(var a=i[0],o=i[1],s=i[2],l=i[3],c=i[4],u=6,f=8,h=255,d=0;d<e.length;d++)for(var p=new Uint8Array(e[d]),m=p.length,g=0;g<m;g+=4)h&=p[g+3];var b=255!=h,y=UPNG.encode.framize(e,t,r,a,o,s),v={},_=[],w=[];if(0!=n){var E=[];for(g=0;g<y.length;g++)E.push(y[g].img.buffer);var P=UPNG.encode.concatRGBA(E),A=UPNG.quantize(P,n),k=0,C=new Uint8Array(A.abuf);for(g=0;g<y.length;g++){var S=(W=y[g].img).length;for(w.push(new Uint8Array(A.inds.buffer,k>>2,S>>2)),d=0;d<S;d+=4)W[d]=C[k+d],W[d+1]=C[k+d+1],W[d+2]=C[k+d+2],W[d+3]=C[k+d+3];k+=S}for(g=0;g<A.plte.length;g++)_.push(A.plte[g].est.rgba)}else for(d=0;d<y.length;d++){var I=y[d],B=new Uint32Array(I.img.buffer),x=I.rect.width,T=(m=B.length,new Uint8Array(m));for(w.push(T),g=0;g<m;g++){var R=B[g];if(0!=g&&R==B[g-1])T[g]=T[g-1];else if(g>x&&R==B[g-x])T[g]=T[g-x];else{var M=v[R];if(null==M&&(v[R]=M=_.length,_.push(R),_.length>=300))break;T[g]=M}}}var O=_.length;for(O<=256&&0==c&&(f=O<=2?1:O<=4?2:O<=16?4:8,f=Math.max(f,l)),d=0;d<y.length;d++){(I=y[d]).rect.x,I.rect.y,x=I.rect.width;var N=I.rect.height,U=I.img;new Uint32Array(U.buffer);var L=4*x,D=4;if(O<=256&&0==c){L=Math.ceil(f*x/8);for(var F=new Uint8Array(L*N),$=w[d],G=0;G<N;G++){g=G*L;var j=G*x;if(8==f)for(var H=0;H<x;H++)F[g+H]=$[j+H];else if(4==f)for(H=0;H<x;H++)F[g+(H>>1)]|=$[j+H]<<4-4*(1&H);else if(2==f)for(H=0;H<x;H++)F[g+(H>>2)]|=$[j+H]<<6-2*(3&H);else if(1==f)for(H=0;H<x;H++)F[g+(H>>3)]|=$[j+H]<<7-1*(7&H)}U=F,u=3,D=1}else if(0==b&&1==y.length){F=new Uint8Array(x*N*3);var z=x*N;for(g=0;g<z;g++){var W,V=4*g;F[W=3*g]=U[V],F[W+1]=U[V+1],F[W+2]=U[V+2]}U=F,u=2,D=3,L=3*x}I.img=U,I.bpl=L,I.bpp=D}return{ctype:u,depth:f,plte:_,frames:y}},UPNG.encode.framize=function(e,t,r,n,i,a){for(var o=[],s=0;s<e.length;s++){var l,c=new Uint8Array(e[s]),u=new Uint32Array(c.buffer),f=0,h=0,d=t,p=r,m=n?1:0;if(0!=s){for(var g=a||n||1==s||0!=o[s-2].dispose?1:2,b=0,y=1e9,v=0;v<g;v++){for(var _=new Uint8Array(e[s-1-v]),w=new Uint32Array(e[s-1-v]),E=t,P=r,A=-1,k=-1,C=0;C<r;C++)for(var S=0;S<t;S++)u[O=C*t+S]!=w[O]&&(S<E&&(E=S),S>A&&(A=S),C<P&&(P=C),C>k&&(k=C));-1==A&&(E=P=A=k=0),i&&(1==(1&E)&&E--,1==(1&P)&&P--);var I=(A-E+1)*(k-P+1);I<y&&(y=I,b=v,f=E,h=P,d=A-E+1,p=k-P+1)}_=new Uint8Array(e[s-1-b]),1==b&&(o[s-1].dispose=2),l=new Uint8Array(d*p*4),UPNG._copyTile(_,t,r,l,d,p,-f,-h,0),1==(m=UPNG._copyTile(c,t,r,l,d,p,-f,-h,3)?1:0)?UPNG.encode._prepareDiff(c,t,r,l,{x:f,y:h,width:d,height:p}):UPNG._copyTile(c,t,r,l,d,p,-f,-h,0)}else l=c.slice(0);o.push({rect:{x:f,y:h,width:d,height:p},img:l,blend:m,dispose:0})}if(n)for(s=0;s<o.length;s++)if(1!=(N=o[s]).blend){var B=N.rect,x=o[s-1].rect,T=Math.min(B.x,x.x),R=Math.min(B.y,x.y),M={x:T,y:R,width:Math.max(B.x+B.width,x.x+x.width)-T,height:Math.max(B.y+B.height,x.y+x.height)-R};o[s-1].dispose=1,s-1!=0&&UPNG.encode._updateFrame(e,t,r,o,s-1,M,i),UPNG.encode._updateFrame(e,t,r,o,s,M,i)}if(1!=e.length)for(var O=0;O<o.length;O++){var N;(N=o[O]).rect.width,N.rect.height}return o},UPNG.encode._updateFrame=function(e,t,r,n,i,a,o){for(var s=Uint8Array,l=Uint32Array,c=new s(e[i-1]),u=new l(e[i-1]),f=i+1<e.length?new s(e[i+1]):null,h=new s(e[i]),d=new l(h.buffer),p=t,m=r,g=-1,b=-1,y=0;y<a.height;y++)for(var v=0;v<a.width;v++){var _=a.x+v,w=a.y+y,E=w*t+_,P=d[E];0==P||0==n[i-1].dispose&&u[E]==P&&(null==f||0!=f[4*E+3])||(_<p&&(p=_),_>g&&(g=_),w<m&&(m=w),w>b&&(b=w))}-1==g&&(p=m=g=b=0),o&&(1==(1&p)&&p--,1==(1&m)&&m--),a={x:p,y:m,width:g-p+1,height:b-m+1};var A=n[i];A.rect=a,A.blend=1,A.img=new Uint8Array(a.width*a.height*4),0==n[i-1].dispose?(UPNG._copyTile(c,t,r,A.img,a.width,a.height,-a.x,-a.y,0),UPNG.encode._prepareDiff(h,t,r,A.img,a)):UPNG._copyTile(h,t,r,A.img,a.width,a.height,-a.x,-a.y,0)},UPNG.encode._prepareDiff=function(e,t,r,n,i){UPNG._copyTile(e,t,r,n,i.width,i.height,-i.x,-i.y,2)},UPNG.encode._filterZero=function(e,t,r,n,i,a,o){var s,l=[],c=[0,1,2,3,4];-1!=a?c=[a]:(t*n>5e5||1==r)&&(c=[0]),o&&(s={level:0});for(var u,f=UZIP,h=0;h<c.length;h++){for(var d=0;d<t;d++)UPNG.encode._filterLine(i,e,d,n,r,c[h]);l.push(f.deflate(i,s))}var p=1e9;for(h=0;h<l.length;h++)l[h].length<p&&(u=h,p=l[h].length);return l[u]},UPNG.encode._filterLine=function(e,t,r,n,i,a){var o=r*n,s=o+r,l=UPNG.decode._paeth;if(e[s]=a,s++,0==a)if(n<500)for(var c=0;c<n;c++)e[s+c]=t[o+c];else e.set(new Uint8Array(t.buffer,o,n),s);else if(1==a){for(c=0;c<i;c++)e[s+c]=t[o+c];for(c=i;c<n;c++)e[s+c]=t[o+c]-t[o+c-i]+256&255}else if(0==r){for(c=0;c<i;c++)e[s+c]=t[o+c];if(2==a)for(c=i;c<n;c++)e[s+c]=t[o+c];if(3==a)for(c=i;c<n;c++)e[s+c]=t[o+c]-(t[o+c-i]>>1)+256&255;if(4==a)for(c=i;c<n;c++)e[s+c]=t[o+c]-l(t[o+c-i],0,0)+256&255}else{if(2==a)for(c=0;c<n;c++)e[s+c]=t[o+c]+256-t[o+c-n]&255;if(3==a){for(c=0;c<i;c++)e[s+c]=t[o+c]+256-(t[o+c-n]>>1)&255;for(c=i;c<n;c++)e[s+c]=t[o+c]+256-(t[o+c-n]+t[o+c-i]>>1)&255}if(4==a){for(c=0;c<i;c++)e[s+c]=t[o+c]+256-l(0,t[o+c-n],0)&255;for(c=i;c<n;c++)e[s+c]=t[o+c]+256-l(t[o+c-i],t[o+c-n],t[o+c-i-n])&255}}},UPNG.crc={table:function(){for(var e=new Uint32Array(256),t=0;t<256;t++){for(var r=t,n=0;n<8;n++)1&r?r=3988292384^r>>>1:r>>>=1;e[t]=r}return e}(),update:function(e,t,r,n){for(var i=0;i<n;i++)e=UPNG.crc.table[255&(e^t[r+i])]^e>>>8;return e},crc:function(e,t,r){return 4294967295^UPNG.crc.update(4294967295,e,t,r)}},UPNG.quantize=function(e,t){var r,n=new Uint8Array(e),i=n.slice(0),a=new Uint32Array(i.buffer),o=UPNG.quantize.getKDtree(i,t),s=o[0],l=o[1],c=UPNG.quantize.planeDst,u=n,f=a,h=u.length,d=new Uint8Array(n.length>>2);if(n.length<2e7)for(var p=0;p<h;p+=4){var m=u[p]*(1/255),g=u[p+1]*(1/255),b=u[p+2]*(1/255),y=u[p+3]*(1/255);r=UPNG.quantize.getNearest(s,m,g,b,y),d[p>>2]=r.ind,f[p>>2]=r.est.rgba}else for(p=0;p<h;p+=4){for(m=u[p]*(1/255),g=u[p+1]*(1/255),b=u[p+2]*(1/255),y=u[p+3]*(1/255),r=s;r.left;)r=c(r.est,m,g,b,y)<=0?r.left:r.right;d[p>>2]=r.ind,f[p>>2]=r.est.rgba}return{abuf:i.buffer,inds:d,plte:l}},UPNG.quantize.getKDtree=function(e,t,r){null==r&&(r=1e-4);var n=new Uint32Array(e.buffer),i={i0:0,i1:e.length,bst:null,est:null,tdst:0,left:null,right:null};i.bst=UPNG.quantize.stats(e,i.i0,i.i1),i.est=UPNG.quantize.estats(i.bst);for(var a=[i];a.length<t;){for(var o=0,s=0,l=0;l<a.length;l++)a[l].est.L>o&&(o=a[l].est.L,s=l);if(o<r)break;var c=a[s],u=UPNG.quantize.splitPixels(e,n,c.i0,c.i1,c.est.e,c.est.eMq255);if(c.i0>=u||c.i1<=u)c.est.L=0;else{var f={i0:c.i0,i1:u,bst:null,est:null,tdst:0,left:null,right:null};f.bst=UPNG.quantize.stats(e,f.i0,f.i1),f.est=UPNG.quantize.estats(f.bst);var h={i0:u,i1:c.i1,bst:null,est:null,tdst:0,left:null,right:null};for(h.bst={R:[],m:[],N:c.bst.N-f.bst.N},l=0;l<16;l++)h.bst.R[l]=c.bst.R[l]-f.bst.R[l];for(l=0;l<4;l++)h.bst.m[l]=c.bst.m[l]-f.bst.m[l];h.est=UPNG.quantize.estats(h.bst),c.left=f,c.right=h,a[s]=f,a.push(h)}}for(a.sort((function(e,t){return t.bst.N-e.bst.N})),l=0;l<a.length;l++)a[l].ind=l;return[i,a]},UPNG.quantize.getNearest=function(e,t,r,n,i){if(null==e.left)return e.tdst=UPNG.quantize.dist(e.est.q,t,r,n,i),e;var a=UPNG.quantize.planeDst(e.est,t,r,n,i),o=e.left,s=e.right;a>0&&(o=e.right,s=e.left);var l=UPNG.quantize.getNearest(o,t,r,n,i);if(l.tdst<=a*a)return l;var c=UPNG.quantize.getNearest(s,t,r,n,i);return c.tdst<l.tdst?c:l},UPNG.quantize.planeDst=function(e,t,r,n,i){var a=e.e;return a[0]*t+a[1]*r+a[2]*n+a[3]*i-e.eMq},UPNG.quantize.dist=function(e,t,r,n,i){var a=t-e[0],o=r-e[1],s=n-e[2],l=i-e[3];return a*a+o*o+s*s+l*l},UPNG.quantize.splitPixels=function(e,t,r,n,i,a){var o=UPNG.quantize.vecDot;for(n-=4;r<n;){for(;o(e,r,i)<=a;)r+=4;for(;o(e,n,i)>a;)n-=4;if(r>=n)break;var s=t[r>>2];t[r>>2]=t[n>>2],t[n>>2]=s,r+=4,n-=4}for(;o(e,r,i)>a;)r-=4;return r+4},UPNG.quantize.vecDot=function(e,t,r){return e[t]*r[0]+e[t+1]*r[1]+e[t+2]*r[2]+e[t+3]*r[3]},UPNG.quantize.stats=function(e,t,r){for(var n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],i=[0,0,0,0],a=r-t>>2,o=t;o<r;o+=4){var s=e[o]*(1/255),l=e[o+1]*(1/255),c=e[o+2]*(1/255),u=e[o+3]*(1/255);i[0]+=s,i[1]+=l,i[2]+=c,i[3]+=u,n[0]+=s*s,n[1]+=s*l,n[2]+=s*c,n[3]+=s*u,n[5]+=l*l,n[6]+=l*c,n[7]+=l*u,n[10]+=c*c,n[11]+=c*u,n[15]+=u*u}return n[4]=n[1],n[8]=n[2],n[9]=n[6],n[12]=n[3],n[13]=n[7],n[14]=n[11],{R:n,m:i,N:a}},UPNG.quantize.estats=function(e){var t=e.R,r=e.m,n=e.N,i=r[0],a=r[1],o=r[2],s=r[3],l=0==n?0:1/n,c=[t[0]-i*i*l,t[1]-i*a*l,t[2]-i*o*l,t[3]-i*s*l,t[4]-a*i*l,t[5]-a*a*l,t[6]-a*o*l,t[7]-a*s*l,t[8]-o*i*l,t[9]-o*a*l,t[10]-o*o*l,t[11]-o*s*l,t[12]-s*i*l,t[13]-s*a*l,t[14]-s*o*l,t[15]-s*s*l],u=c,f=UPNG.M4,h=[Math.random(),Math.random(),Math.random(),Math.random()],d=0,p=0;if(0!=n)for(var m=0;m<16&&(h=f.multVec(u,h),p=Math.sqrt(f.dot(h,h)),h=f.sml(1/p,h),!(0!=m&&Math.abs(p-d)<1e-9));m++)d=p;var g=[i*l,a*l,o*l,s*l];return{Cov:c,q:g,e:h,L:d,eMq255:f.dot(f.sml(255,g),h),eMq:f.dot(h,g),rgba:(Math.round(255*g[3])<<24|Math.round(255*g[2])<<16|Math.round(255*g[1])<<8|Math.round(255*g[0])<<0)>>>0}},UPNG.M4={multVec:function(e,t){return[e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3],e[4]*t[0]+e[5]*t[1]+e[6]*t[2]+e[7]*t[3],e[8]*t[0]+e[9]*t[1]+e[10]*t[2]+e[11]*t[3],e[12]*t[0]+e[13]*t[1]+e[14]*t[2]+e[15]*t[3]]},dot:function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]},sml:function(e,t){return[e*t[0],e*t[1],e*t[2],e*t[3]]}},UPNG.encode.concatRGBA=function(e){for(var t=0,r=0;r<e.length;r++)t+=e[r].byteLength;var n=new Uint8Array(t),i=0;for(r=0;r<e.length;r++){for(var a=new Uint8Array(e[r]),o=a.length,s=0;s<o;s+=4){var l=a[s],c=a[s+1],u=a[s+2],f=a[s+3];0==f&&(l=c=u=0),n[i+s]=l,n[i+s+1]=c,n[i+s+2]=u,n[i+s+3]=f}i+=o}return n.buffer};var BROWSER_NAME={CHROME:"CHROME",FIREFOX:"FIREFOX",DESKTOP_SAFARI:"DESKTOP_SAFARI",IE:"IE",MOBILE_SAFARI:"MOBILE_SAFARI",ETC:"ETC"},_BROWSER_NAME$CHROME$,MAX_CANVAS_SIZE=(_BROWSER_NAME$CHROME$={},_defineProperty(_BROWSER_NAME$CHROME$,BROWSER_NAME.CHROME,16384),_defineProperty(_BROWSER_NAME$CHROME$,BROWSER_NAME.FIREFOX,11180),_defineProperty(_BROWSER_NAME$CHROME$,BROWSER_NAME.DESKTOP_SAFARI,16384),_defineProperty(_BROWSER_NAME$CHROME$,BROWSER_NAME.IE,8192),_defineProperty(_BROWSER_NAME$CHROME$,BROWSER_NAME.MOBILE_SAFARI,4096),_defineProperty(_BROWSER_NAME$CHROME$,BROWSER_NAME.ETC,8192),_BROWSER_NAME$CHROME$),isBrowser="undefined"!=typeof window,moduleMapper=isBrowser&&window.cordova&&window.cordova.require&&window.cordova.require("cordova/modulemapper"),CustomFile=isBrowser&&(moduleMapper&&moduleMapper.getOriginalSymbol(window,"File")||void 0!==window.File&&File),CustomFileReader=isBrowser&&(moduleMapper&&moduleMapper.getOriginalSymbol(window,"FileReader")||void 0!==window.FileReader&&FileReader);function getFilefromDataUrl(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now();return new Promise((function(n){for(var i=e.split(","),a=i[0].match(/:(.*?);/)[1],o=globalThis.atob(i[1]),s=o.length,l=new Uint8Array(s);s--;)l[s]=o.charCodeAt(s);var c=new Blob([l],{type:a});c.name=t,c.lastModified=r,n(c)}))}function getDataUrlFromFile(e){return new Promise((function(t,r){var n=new CustomFileReader;n.onload=function(){return t(n.result)},n.onerror=function(e){return r(e)},n.readAsDataURL(e)}))}function loadImage(e){return new Promise((function(t,r){var n=new Image;n.onload=function(){return t(n)},n.onerror=function(e){return r(e)},n.src=e}))}function getBrowserName(){if(void 0!==getBrowserName.cachedResult)return getBrowserName.cachedResult;var e=BROWSER_NAME.ETC,t=navigator.userAgent;return/Chrom(e|ium)/i.test(t)?e=BROWSER_NAME.CHROME:/iP(ad|od|hone)/i.test(t)&&/WebKit/i.test(t)&&!/(CriOS|FxiOS|OPiOS|mercury)/i.test(t)?e=BROWSER_NAME.MOBILE_SAFARI:/Safari/i.test(t)?e=BROWSER_NAME.DESKTOP_SAFARI:/Firefox/i.test(t)?e=BROWSER_NAME.FIREFOX:(/MSIE/i.test(t)||1==!!document.documentMode)&&(e=BROWSER_NAME.IE),getBrowserName.cachedResult=e,getBrowserName.cachedResult}function approximateBelowMaximumCanvasSizeOfBrowser(e,t){for(var r=getBrowserName(),n=MAX_CANVAS_SIZE[r],i=e,a=t,o=i*a,s=i>a?a/i:i/a;o>n*n;){var l=(n+i)/2,c=(n+a)/2;l<c?(a=c,i=c*s):(a=l*s,i=l),o=i*a}return{width:i,height:a}}function getNewCanvasAndCtx(e,t){var r,n;try{if(null===(n=(r=new OffscreenCanvas(e,t)).getContext("2d")))throw new Error("getContext of OffscreenCanvas returns null")}catch(e){n=(r=document.createElement("canvas")).getContext("2d")}return r.width=e,r.height=t,[r,n]}function drawImageInCanvas(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=approximateBelowMaximumCanvasSizeOfBrowser(e.width,e.height),n=r.width,i=r.height,a=getNewCanvasAndCtx(n,i),o=_slicedToArray(a,2),s=o[0],l=o[1];return t&&/jpe?g/.test(t)&&(l.fillStyle="white",l.fillRect(0,0,s.width,s.height)),l.drawImage(e,0,0,s.width,s.height),s}function isIOS(){return void 0!==isIOS.cachedResult||(isIOS.cachedResult=["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document),isIOS.cachedResult}function drawFileInCanvas(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise((function(r,n){var i,a,o=function(){try{return a=drawImageInCanvas(i,t.fileType||e.type),r([i,a])}catch(e){return n(e)}},s=function(t){try{var r=function(e){try{throw e}catch(e){return n(e)}};try{return getDataUrlFromFile(e).then((function(e){try{return loadImage(e).then((function(e){try{return i=e,function(){try{return o()}catch(e){return n(e)}}()}catch(e){return r(e)}}),r)}catch(e){return r(e)}}),r)}catch(e){r(e)}}catch(e){return n(e)}};try{if(isIOS()||[BROWSER_NAME.DESKTOP_SAFARI,BROWSER_NAME.MOBILE_SAFARI].includes(getBrowserName()))throw new Error("Skip createImageBitmap on IOS and Safari");return createImageBitmap(e).then((function(e){try{return i=e,o()}catch(e){return s()}}),s)}catch(e){s()}}))}function canvasToFile(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;return new Promise((function(a,o){var s,l,c;if("image/png"===t)return l=e.getContext("2d").getImageData(0,0,e.width,e.height).data,c=UPNG.encode([l],e.width,e.height,256*i),(s=new Blob([c],{type:t})).name=r,s.lastModified=n,f.call(this);{return"function"==typeof OffscreenCanvas&&e instanceof OffscreenCanvas?e.convertToBlob({type:t,quality:i}).then(function(e){try{return(s=e).name=r,s.lastModified=n,u.call(this)}catch(e){return o(e)}}.bind(this),o):getFilefromDataUrl(e.toDataURL(t,i),r,n).then(function(e){try{return s=e,u.call(this)}catch(e){return o(e)}}.bind(this),o);function u(){return f.call(this)}}function f(){return a(s)}}))}function cleanupCanvasMemory(e){e.width=0,e.height=0}function isAutoOrientationInBrowser(){return new Promise((function(e,t){var r,n,i,a;return void 0!==isAutoOrientationInBrowser.cachedResult?e(isAutoOrientationInBrowser.cachedResult):getFilefromDataUrl("data:image/jpeg;base64,/9j/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAYAAAAAAAD/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAf/AABEIAAEAAgMBEQACEQEDEQH/xABKAAEAAAAAAAAAAAAAAAAAAAALEAEAAAAAAAAAAAAAAAAAAAAAAQEAAAAAAAAAAAAAAAAAAAAAEQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIRAxEAPwA/8H//2Q==","test.jpg",Date.now()).then((function(o){try{return drawFileInCanvas(r=o).then((function(o){try{return canvasToFile(n=o[1],r.type,r.name,r.lastModified).then((function(r){try{return i=r,cleanupCanvasMemory(n),drawFileInCanvas(i).then((function(r){try{return a=r[0],isAutoOrientationInBrowser.cachedResult=1===a.width&&2===a.height,e(isAutoOrientationInBrowser.cachedResult)}catch(e){return t(e)}}),t)}catch(e){return t(e)}}),t)}catch(e){return t(e)}}),t)}catch(e){return t(e)}}),t)}))}function getExifOrientation(e){return new Promise((function(t,r){var n=new CustomFileReader;n.onload=function(e){var r=new DataView(e.target.result);if(65496!=r.getUint16(0,!1))return t(-2);for(var n=r.byteLength,i=2;i<n;){if(r.getUint16(i+2,!1)<=8)return t(-1);var a=r.getUint16(i,!1);if(i+=2,65505==a){if(1165519206!=r.getUint32(i+=2,!1))return t(-1);var o=18761==r.getUint16(i+=6,!1);i+=r.getUint32(i+4,o);var s=r.getUint16(i,o);i+=2;for(var l=0;l<s;l++)if(274==r.getUint16(i+12*l,o))return t(r.getUint16(i+12*l+8,o))}else{if(65280!=(65280&a))break;i+=r.getUint16(i,!1)}}return t(-1)},n.onerror=function(e){return r(e)},n.readAsArrayBuffer(e)}))}function handleMaxWidthOrHeight(e,t){var r,n=e.width,i=e.height,a=t.maxWidthOrHeight,o=e;if(isFinite(a)&&(n>a||i>a)){var s=_slicedToArray(getNewCanvasAndCtx(n,i),2);o=s[0],r=s[1],n>i?(o.width=a,o.height=i/n*a):(o.width=n/i*a,o.height=a),r.drawImage(e,0,0,o.width,o.height),cleanupCanvasMemory(e)}return o}function followExifOrientation(e,t){var r=e.width,n=e.height,i=_slicedToArray(getNewCanvasAndCtx(r,n),2),a=i[0],o=i[1];switch(t>4&&t<9?(a.width=n,a.height=r):(a.width=r,a.height=n),t){case 2:o.transform(-1,0,0,1,r,0);break;case 3:o.transform(-1,0,0,-1,r,n);break;case 4:o.transform(1,0,0,-1,0,n);break;case 5:o.transform(0,1,1,0,0,0);break;case 6:o.transform(0,1,-1,0,n,0);break;case 7:o.transform(0,-1,-1,0,n,r);break;case 8:o.transform(0,-1,1,0,0,r)}return o.drawImage(e,0,0,r,n),cleanupCanvasMemory(e),a}function compress(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return new Promise((function(n,i){var a,o,s,l,c,u,f,h,d,p,m,g,b,y,v,_,w,E;function P(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5;a+=e,t.onProgress(Math.min(a,100))}function A(e){a=Math.min(Math.max(e,a),100),t.onProgress(a)}return a=r,o=t.maxIteration||10,s=1024*t.maxSizeMB*1024,P(),drawFileInCanvas(e,t).then(function(r){try{var a=_slicedToArray(r,2);return l=a[1],P(),c=handleMaxWidthOrHeight(l,t),P(),new Promise((function(r,n){var i;if(!(i=t.exifOrientation))return getExifOrientation(e).then(function(e){try{return i=e,a.call(this)}catch(e){return n(e)}}.bind(this),n);function a(){return r(i)}return a.call(this)})).then(function(r){try{return u=r,P(),isAutoOrientationInBrowser().then(function(r){try{return f=r?c:followExifOrientation(c,u),P(),h=t.initialQuality||1,d=t.fileType||e.type,canvasToFile(f,d,e.name,e.lastModified,h).then(function(t){try{{if(p=t,P(),m=p.size>s,g=p.size>e.size,!m&&!g)return A(100),n(p);var r;function a(){if(o--&&(v>s||v>b)){var t,r,n=_slicedToArray(getNewCanvasAndCtx(t=m?.95*E.width:E.width,r=m?.95*E.height:E.height),2);return w=n[0],n[1].drawImage(E,0,0,t,r),h*=.95,canvasToFile(w,d,e.name,e.lastModified,h).then((function(e){try{return _=e,cleanupCanvasMemory(E),E=w,v=_.size,A(Math.min(99,Math.floor((y-v)/(y-s)*100))),a}catch(e){return i(e)}}),i)}return[1]}return b=e.size,y=p.size,v=y,E=f,(r=function(e){for(;e;){if(e.then)return void e.then(r,i);try{if(e.pop){if(e.length)return e.pop()?u.call(this):e;e=a}else e=e.call(this)}catch(e){return i(e)}}}.bind(this))(a);function u(){return cleanupCanvasMemory(E),cleanupCanvasMemory(w),cleanupCanvasMemory(c),cleanupCanvasMemory(f),cleanupCanvasMemory(l),A(100),n(_)}}}catch(e){return i(e)}}.bind(this),i)}catch(e){return i(e)}}.bind(this),i)}catch(e){return i(e)}}.bind(this),i)}catch(e){return i(e)}}.bind(this),i)}))}var charAt=stringMultibyte.charAt,STRING_ITERATOR="String Iterator",setInternalState$2=internalState.set,getInternalState=internalState.getterFor(STRING_ITERATOR);defineIterator(String,"String",(function(e){setInternalState$2(this,{type:STRING_ITERATOR,string:toString(e),index:0})}),(function(){var e,t=getInternalState(this),r=t.string,n=t.index;return n>=r.length?{value:void 0,done:!0}:(e=charAt(r,n),t.index+=e.length,{value:e,done:!1})}));var domIterables={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},classList=documentCreateElement("span").classList,DOMTokenListPrototype=classList&&classList.constructor&&classList.constructor.prototype,domTokenListPrototype=DOMTokenListPrototype===Object.prototype?void 0:DOMTokenListPrototype,ITERATOR$2=wellKnownSymbol("iterator"),TO_STRING_TAG=wellKnownSymbol("toStringTag"),ArrayValues=es_array_iterator.values,handlePrototype$1=function(e,t){if(e){if(e[ITERATOR$2]!==ArrayValues)try{createNonEnumerableProperty(e,ITERATOR$2,ArrayValues)}catch(t){e[ITERATOR$2]=ArrayValues}if(e[TO_STRING_TAG]||createNonEnumerableProperty(e,TO_STRING_TAG,t),domIterables[t])for(var r in es_array_iterator)if(e[r]!==es_array_iterator[r])try{createNonEnumerableProperty(e,r,es_array_iterator[r])}catch(t){e[r]=es_array_iterator[r]}}};for(var COLLECTION_NAME$1 in domIterables)handlePrototype$1(global$1[COLLECTION_NAME$1]&&global$1[COLLECTION_NAME$1].prototype,COLLECTION_NAME$1);handlePrototype$1(domTokenListPrototype,"DOMTokenList");var ITERATOR$1=wellKnownSymbol("iterator"),nativeUrl=!fails((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),isPure&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[ITERATOR$1]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host})),callWithSafeIterationClosing=function(e,t,r,n){try{return n?t(anObject(r)[0],r[1]):t(r)}catch(t){iteratorClose(e,"throw",t)}},arrayFrom=function(e){var t=toObject(e),r=isConstructor(this),n=arguments.length,i=n>1?arguments[1]:void 0,a=void 0!==i;a&&(i=functionBindContext(i,n>2?arguments[2]:void 0,2));var o,s,l,c,u,f,h=getIteratorMethod(t),d=0;if(!h||this==Array&&isArrayIteratorMethod(h))for(o=toLength(t.length),s=r?new this(o):Array(o);o>d;d++)f=a?i(t[d],d):t[d],createProperty(s,d,f);else for(u=(c=getIterator(t,h)).next,s=r?new this:[];!(l=u.call(c)).done;d++)f=a?callWithSafeIterationClosing(c,i,[l.value,d],!0):l.value,createProperty(s,d,f);return s.length=d,s},maxInt=2147483647,base=36,tMin=1,tMax=26,skew=38,damp=700,initialBias=72,initialN=128,delimiter="-",regexNonASCII=/[^\0-\u007E]/,regexSeparators=/[.\u3002\uFF0E\uFF61]/g,OVERFLOW_ERROR="Overflow: input needs wider integers to process",baseMinusTMin=base-tMin,floor$2=Math.floor,stringFromCharCode=String.fromCharCode,ucs2decode=function(e){for(var t=[],r=0,n=e.length;r<n;){var i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var a=e.charCodeAt(r++);56320==(64512&a)?t.push(((1023&i)<<10)+(1023&a)+65536):(t.push(i),r--)}else t.push(i)}return t},digitToBasic=function(e){return e+22+75*(e<26)},adapt=function(e,t,r){var n=0;for(e=r?floor$2(e/damp):e>>1,e+=floor$2(e/t);e>baseMinusTMin*tMax>>1;n+=base)e=floor$2(e/baseMinusTMin);return floor$2(n+(baseMinusTMin+1)*e/(e+skew))},encode=function(e){var t,r,n=[],i=(e=ucs2decode(e)).length,a=initialN,o=0,s=initialBias;for(t=0;t<e.length;t++)(r=e[t])<128&&n.push(stringFromCharCode(r));var l=n.length,c=l;for(l&&n.push(delimiter);c<i;){var u=maxInt;for(t=0;t<e.length;t++)(r=e[t])>=a&&r<u&&(u=r);var f=c+1;if(u-a>floor$2((maxInt-o)/f))throw RangeError(OVERFLOW_ERROR);for(o+=(u-a)*f,a=u,t=0;t<e.length;t++){if((r=e[t])<a&&++o>maxInt)throw RangeError(OVERFLOW_ERROR);if(r==a){for(var h=o,d=base;;d+=base){var p=d<=s?tMin:d>=s+tMax?tMax:d-s;if(h<p)break;var m=h-p,g=base-p;n.push(stringFromCharCode(digitToBasic(p+m%g))),h=floor$2(m/g)}n.push(stringFromCharCode(digitToBasic(h))),s=adapt(o,f,c==l),o=0,++c}}++o,++a}return n.join("")},stringPunycodeToAscii=function(e){var t,r,n=[],i=e.toLowerCase().replace(regexSeparators,".").split(".");for(t=0;t<i.length;t++)r=i[t],n.push(regexNonASCII.test(r)?"xn--"+encode(r):r);return n.join(".")},nativeFetch=getBuiltIn("fetch"),NativeRequest=getBuiltIn("Request"),RequestPrototype=NativeRequest&&NativeRequest.prototype,Headers=getBuiltIn("Headers"),ITERATOR=wellKnownSymbol("iterator"),URL_SEARCH_PARAMS="URLSearchParams",URL_SEARCH_PARAMS_ITERATOR=URL_SEARCH_PARAMS+"Iterator",setInternalState$1=internalState.set,getInternalParamsState=internalState.getterFor(URL_SEARCH_PARAMS),getInternalIteratorState=internalState.getterFor(URL_SEARCH_PARAMS_ITERATOR),plus=/\+/g,sequences=Array(4),percentSequence=function(e){return sequences[e-1]||(sequences[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},percentDecode=function(e){try{return decodeURIComponent(e)}catch(t){return e}},deserialize=function(e){var t=e.replace(plus," "),r=4;try{return decodeURIComponent(t)}catch(e){for(;r;)t=t.replace(percentSequence(r--),percentDecode);return t}},find=/[!'()~]|%20/g,replace$1={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},replacer=function(e){return replace$1[e]},serialize=function(e){return encodeURIComponent(e).replace(find,replacer)},parseSearchParams=function(e,t){if(t)for(var r,n,i=t.split("&"),a=0;a<i.length;)(r=i[a++]).length&&(n=r.split("="),e.push({key:deserialize(n.shift()),value:deserialize(n.join("="))}))},updateSearchParams=function(e){this.entries.length=0,parseSearchParams(this.entries,e)},validateArgumentsLength=function(e,t){if(e<t)throw TypeError("Not enough arguments")},URLSearchParamsIterator=createIteratorConstructor((function(e,t){setInternalState$1(this,{type:URL_SEARCH_PARAMS_ITERATOR,iterator:getIterator(getInternalParamsState(e).entries),kind:t})}),"Iterator",(function(){var e=getInternalIteratorState(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r})),URLSearchParamsConstructor=function(){anInstance(this,URLSearchParamsConstructor,URL_SEARCH_PARAMS);var e,t,r,n,i,a,o,s,l,c=arguments.length>0?arguments[0]:void 0,u=this,f=[];if(setInternalState$1(u,{type:URL_SEARCH_PARAMS,entries:f,updateURL:function(){},updateSearchParams:updateSearchParams}),void 0!==c)if(isObject(c))if(e=getIteratorMethod(c))for(r=(t=getIterator(c,e)).next;!(n=r.call(t)).done;){if((o=(a=(i=getIterator(anObject(n.value))).next).call(i)).done||(s=a.call(i)).done||!a.call(i).done)throw TypeError("Expected sequence with length 2");f.push({key:toString(o.value),value:toString(s.value)})}else for(l in c)has$1(c,l)&&f.push({key:l,value:toString(c[l])});else parseSearchParams(f,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:toString(c))},URLSearchParamsPrototype=URLSearchParamsConstructor.prototype;if(redefineAll(URLSearchParamsPrototype,{append:function(e,t){validateArgumentsLength(arguments.length,2);var r=getInternalParamsState(this);r.entries.push({key:toString(e),value:toString(t)}),r.updateURL()},delete:function(e){validateArgumentsLength(arguments.length,1);for(var t=getInternalParamsState(this),r=t.entries,n=toString(e),i=0;i<r.length;)r[i].key===n?r.splice(i,1):i++;t.updateURL()},get:function(e){validateArgumentsLength(arguments.length,1);for(var t=getInternalParamsState(this).entries,r=toString(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){validateArgumentsLength(arguments.length,1);for(var t=getInternalParamsState(this).entries,r=toString(e),n=[],i=0;i<t.length;i++)t[i].key===r&&n.push(t[i].value);return n},has:function(e){validateArgumentsLength(arguments.length,1);for(var t=getInternalParamsState(this).entries,r=toString(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){validateArgumentsLength(arguments.length,1);for(var r,n=getInternalParamsState(this),i=n.entries,a=!1,o=toString(e),s=toString(t),l=0;l<i.length;l++)(r=i[l]).key===o&&(a?i.splice(l--,1):(a=!0,r.value=s));a||i.push({key:o,value:s}),n.updateURL()},sort:function(){var e,t,r,n=getInternalParamsState(this),i=n.entries,a=i.slice();for(i.length=0,r=0;r<a.length;r++){for(e=a[r],t=0;t<r;t++)if(i[t].key>e.key){i.splice(t,0,e);break}t===r&&i.push(e)}n.updateURL()},forEach:function(e){for(var t,r=getInternalParamsState(this).entries,n=functionBindContext(e,arguments.length>1?arguments[1]:void 0,3),i=0;i<r.length;)n((t=r[i++]).value,t.key,this)},keys:function(){return new URLSearchParamsIterator(this,"keys")},values:function(){return new URLSearchParamsIterator(this,"values")},entries:function(){return new URLSearchParamsIterator(this,"entries")}},{enumerable:!0}),redefine(URLSearchParamsPrototype,ITERATOR,URLSearchParamsPrototype.entries,{name:"entries"}),redefine(URLSearchParamsPrototype,"toString",(function(){for(var e,t=getInternalParamsState(this).entries,r=[],n=0;n<t.length;)e=t[n++],r.push(serialize(e.key)+"="+serialize(e.value));return r.join("&")}),{enumerable:!0}),setToStringTag(URLSearchParamsConstructor,URL_SEARCH_PARAMS),_export({global:!0,forced:!nativeUrl},{URLSearchParams:URLSearchParamsConstructor}),!nativeUrl&&isCallable(Headers)){var wrapRequestOptions=function(e){if(isObject(e)){var t,r=e.body;if(classof(r)===URL_SEARCH_PARAMS)return(t=e.headers?new Headers(e.headers):new Headers).has("content-type")||t.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),objectCreate(e,{body:createPropertyDescriptor(0,String(r)),headers:createPropertyDescriptor(0,t)})}return e};if(isCallable(nativeFetch)&&_export({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return nativeFetch(e,arguments.length>1?wrapRequestOptions(arguments[1]):{})}}),isCallable(NativeRequest)){var RequestConstructor=function(e){return anInstance(this,RequestConstructor,"Request"),new NativeRequest(e,arguments.length>1?wrapRequestOptions(arguments[1]):{})};RequestPrototype.constructor=RequestConstructor,RequestConstructor.prototype=RequestPrototype,_export({global:!0,forced:!0},{Request:RequestConstructor})}}var web_urlSearchParams={URLSearchParams:URLSearchParamsConstructor,getState:getInternalParamsState},codeAt=stringMultibyte.codeAt,NativeURL=global$1.URL,URLSearchParams$1=web_urlSearchParams.URLSearchParams,getInternalSearchParamsState=web_urlSearchParams.getState,setInternalState=internalState.set,getInternalURLState=internalState.getterFor("URL"),floor$1=Math.floor,pow=Math.pow,INVALID_AUTHORITY="Invalid authority",INVALID_SCHEME="Invalid scheme",INVALID_HOST="Invalid host",INVALID_PORT="Invalid port",ALPHA=/[A-Za-z]/,ALPHANUMERIC=/[\d+-.A-Za-z]/,DIGIT=/\d/,HEX_START=/^0x/i,OCT=/^[0-7]+$/,DEC=/^\d+$/,HEX=/^[\dA-Fa-f]+$/,FORBIDDEN_HOST_CODE_POINT=/[\0\t\n\r #%/:<>?@[\\\]^|]/,FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT=/[\0\t\n\r #/:<>?@[\\\]^|]/,LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,TAB_AND_NEW_LINE=/[\t\n\r]/g,EOF,parseHost=function(e,t){var r,n,i;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return INVALID_HOST;if(!(r=parseIPv6(t.slice(1,-1))))return INVALID_HOST;e.host=r}else if(isSpecial(e)){if(t=stringPunycodeToAscii(t),FORBIDDEN_HOST_CODE_POINT.test(t))return INVALID_HOST;if(null===(r=parseIPv4(t)))return INVALID_HOST;e.host=r}else{if(FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT.test(t))return INVALID_HOST;for(r="",n=arrayFrom(t),i=0;i<n.length;i++)r+=percentEncode(n[i],C0ControlPercentEncodeSet);e.host=r}},parseIPv4=function(e){var t,r,n,i,a,o,s,l=e.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),(t=l.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(i=l[n]))return e;if(a=10,i.length>1&&"0"==i.charAt(0)&&(a=HEX_START.test(i)?16:8,i=i.slice(8==a?1:2)),""===i)o=0;else{if(!(10==a?DEC:8==a?OCT:HEX).test(i))return e;o=parseInt(i,a)}r.push(o)}for(n=0;n<t;n++)if(o=r[n],n==t-1){if(o>=pow(256,5-t))return null}else if(o>255)return null;for(s=r.pop(),n=0;n<r.length;n++)s+=r[n]*pow(256,3-n);return s},parseIPv6=function(e){var t,r,n,i,a,o,s,l=[0,0,0,0,0,0,0,0],c=0,u=null,f=0,h=function(){return e.charAt(f)};if(":"==h()){if(":"!=e.charAt(1))return;f+=2,u=++c}for(;h();){if(8==c)return;if(":"!=h()){for(t=r=0;r<4&&HEX.test(h());)t=16*t+parseInt(h(),16),f++,r++;if("."==h()){if(0==r)return;if(f-=r,c>6)return;for(n=0;h();){if(i=null,n>0){if(!("."==h()&&n<4))return;f++}if(!DIGIT.test(h()))return;for(;DIGIT.test(h());){if(a=parseInt(h(),10),null===i)i=a;else{if(0==i)return;i=10*i+a}if(i>255)return;f++}l[c]=256*l[c]+i,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==h()){if(f++,!h())return}else if(h())return;l[c++]=t}else{if(null!==u)return;f++,u=++c}}if(null!==u)for(o=c-u,c=7;0!=c&&o>0;)s=l[c],l[c--]=l[u+o-1],l[u+--o]=s;else if(8!=c)return;return l},findLongestZeroSequence=function(e){for(var t=null,r=1,n=null,i=0,a=0;a<8;a++)0!==e[a]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=a),++i);return i>r&&(t=n,r=i),t},serializeHost=function(e){var t,r,n,i;if("number"==typeof e){for(t=[],r=0;r<4;r++)t.unshift(e%256),e=floor$1(e/256);return t.join(".")}if("object"==typeof e){for(t="",n=findLongestZeroSequence(e),r=0;r<8;r++)i&&0===e[r]||(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=e[r].toString(16),r<7&&(t+=":")));return"["+t+"]"}return e},C0ControlPercentEncodeSet={},fragmentPercentEncodeSet=objectAssign({},C0ControlPercentEncodeSet,{" ":1,'"':1,"<":1,">":1,"`":1}),pathPercentEncodeSet=objectAssign({},fragmentPercentEncodeSet,{"#":1,"?":1,"{":1,"}":1}),userinfoPercentEncodeSet=objectAssign({},pathPercentEncodeSet,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),percentEncode=function(e,t){var r=codeAt(e,0);return r>32&&r<127&&!has$1(t,e)?e:encodeURIComponent(e)},specialSchemes={ftp:21,file:null,http:80,https:443,ws:80,wss:443},isSpecial=function(e){return has$1(specialSchemes,e.scheme)},includesCredentials=function(e){return""!=e.username||""!=e.password},cannotHaveUsernamePasswordPort=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},isWindowsDriveLetter=function(e,t){var r;return 2==e.length&&ALPHA.test(e.charAt(0))&&(":"==(r=e.charAt(1))||!t&&"|"==r)},startsWithWindowsDriveLetter=function(e){var t;return e.length>1&&isWindowsDriveLetter(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},shortenURLsPath=function(e){var t=e.path,r=t.length;!r||"file"==e.scheme&&1==r&&isWindowsDriveLetter(t[0],!0)||t.pop()},isSingleDot=function(e){return"."===e||"%2e"===e.toLowerCase()},isDoubleDot=function(e){return".."===(e=e.toLowerCase())||"%2e."===e||".%2e"===e||"%2e%2e"===e},SCHEME_START={},SCHEME={},NO_SCHEME={},SPECIAL_RELATIVE_OR_AUTHORITY={},PATH_OR_AUTHORITY={},RELATIVE={},RELATIVE_SLASH={},SPECIAL_AUTHORITY_SLASHES={},SPECIAL_AUTHORITY_IGNORE_SLASHES={},AUTHORITY={},HOST={},HOSTNAME={},PORT={},FILE={},FILE_SLASH={},FILE_HOST={},PATH_START={},PATH={},CANNOT_BE_A_BASE_URL_PATH={},QUERY={},FRAGMENT={},parseURL=function(e,t,r,n){var i,a,o,s,l=r||SCHEME_START,c=0,u="",f=!1,h=!1,d=!1;for(r||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE,"")),t=t.replace(TAB_AND_NEW_LINE,""),i=arrayFrom(t);c<=i.length;){switch(a=i[c],l){case SCHEME_START:if(!a||!ALPHA.test(a)){if(r)return INVALID_SCHEME;l=NO_SCHEME;continue}u+=a.toLowerCase(),l=SCHEME;break;case SCHEME:if(a&&(ALPHANUMERIC.test(a)||"+"==a||"-"==a||"."==a))u+=a.toLowerCase();else{if(":"!=a){if(r)return INVALID_SCHEME;u="",l=NO_SCHEME,c=0;continue}if(r&&(isSpecial(e)!=has$1(specialSchemes,u)||"file"==u&&(includesCredentials(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=u,r)return void(isSpecial(e)&&specialSchemes[e.scheme]==e.port&&(e.port=null));u="","file"==e.scheme?l=FILE:isSpecial(e)&&n&&n.scheme==e.scheme?l=SPECIAL_RELATIVE_OR_AUTHORITY:isSpecial(e)?l=SPECIAL_AUTHORITY_SLASHES:"/"==i[c+1]?(l=PATH_OR_AUTHORITY,c++):(e.cannotBeABaseURL=!0,e.path.push(""),l=CANNOT_BE_A_BASE_URL_PATH)}break;case NO_SCHEME:if(!n||n.cannotBeABaseURL&&"#"!=a)return INVALID_SCHEME;if(n.cannotBeABaseURL&&"#"==a){e.scheme=n.scheme,e.path=n.path.slice(),e.query=n.query,e.fragment="",e.cannotBeABaseURL=!0,l=FRAGMENT;break}l="file"==n.scheme?FILE:RELATIVE;continue;case SPECIAL_RELATIVE_OR_AUTHORITY:if("/"!=a||"/"!=i[c+1]){l=RELATIVE;continue}l=SPECIAL_AUTHORITY_IGNORE_SLASHES,c++;break;case PATH_OR_AUTHORITY:if("/"==a){l=AUTHORITY;break}l=PATH;continue;case RELATIVE:if(e.scheme=n.scheme,a==EOF)e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,e.path=n.path.slice(),e.query=n.query;else if("/"==a||"\\"==a&&isSpecial(e))l=RELATIVE_SLASH;else if("?"==a)e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,e.path=n.path.slice(),e.query="",l=QUERY;else{if("#"!=a){e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,e.path=n.path.slice(),e.path.pop(),l=PATH;continue}e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,e.path=n.path.slice(),e.query=n.query,e.fragment="",l=FRAGMENT}break;case RELATIVE_SLASH:if(!isSpecial(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,l=PATH;continue}l=AUTHORITY}else l=SPECIAL_AUTHORITY_IGNORE_SLASHES;break;case SPECIAL_AUTHORITY_SLASHES:if(l=SPECIAL_AUTHORITY_IGNORE_SLASHES,"/"!=a||"/"!=u.charAt(c+1))continue;c++;break;case SPECIAL_AUTHORITY_IGNORE_SLASHES:if("/"!=a&&"\\"!=a){l=AUTHORITY;continue}break;case AUTHORITY:if("@"==a){f&&(u="%40"+u),f=!0,o=arrayFrom(u);for(var p=0;p<o.length;p++){var m=o[p];if(":"!=m||d){var g=percentEncode(m,userinfoPercentEncodeSet);d?e.password+=g:e.username+=g}else d=!0}u=""}else if(a==EOF||"/"==a||"?"==a||"#"==a||"\\"==a&&isSpecial(e)){if(f&&""==u)return INVALID_AUTHORITY;c-=arrayFrom(u).length+1,u="",l=HOST}else u+=a;break;case HOST:case HOSTNAME:if(r&&"file"==e.scheme){l=FILE_HOST;continue}if(":"!=a||h){if(a==EOF||"/"==a||"?"==a||"#"==a||"\\"==a&&isSpecial(e)){if(isSpecial(e)&&""==u)return INVALID_HOST;if(r&&""==u&&(includesCredentials(e)||null!==e.port))return;if(s=parseHost(e,u))return s;if(u="",l=PATH_START,r)return;continue}"["==a?h=!0:"]"==a&&(h=!1),u+=a}else{if(""==u)return INVALID_HOST;if(s=parseHost(e,u))return s;if(u="",l=PORT,r==HOSTNAME)return}break;case PORT:if(!DIGIT.test(a)){if(a==EOF||"/"==a||"?"==a||"#"==a||"\\"==a&&isSpecial(e)||r){if(""!=u){var b=parseInt(u,10);if(b>65535)return INVALID_PORT;e.port=isSpecial(e)&&b===specialSchemes[e.scheme]?null:b,u=""}if(r)return;l=PATH_START;continue}return INVALID_PORT}u+=a;break;case FILE:if(e.scheme="file","/"==a||"\\"==a)l=FILE_SLASH;else{if(!n||"file"!=n.scheme){l=PATH;continue}if(a==EOF)e.host=n.host,e.path=n.path.slice(),e.query=n.query;else if("?"==a)e.host=n.host,e.path=n.path.slice(),e.query="",l=QUERY;else{if("#"!=a){startsWithWindowsDriveLetter(i.slice(c).join(""))||(e.host=n.host,e.path=n.path.slice(),shortenURLsPath(e)),l=PATH;continue}e.host=n.host,e.path=n.path.slice(),e.query=n.query,e.fragment="",l=FRAGMENT}}break;case FILE_SLASH:if("/"==a||"\\"==a){l=FILE_HOST;break}n&&"file"==n.scheme&&!startsWithWindowsDriveLetter(i.slice(c).join(""))&&(isWindowsDriveLetter(n.path[0],!0)?e.path.push(n.path[0]):e.host=n.host),l=PATH;continue;case FILE_HOST:if(a==EOF||"/"==a||"\\"==a||"?"==a||"#"==a){if(!r&&isWindowsDriveLetter(u))l=PATH;else if(""==u){if(e.host="",r)return;l=PATH_START}else{if(s=parseHost(e,u))return s;if("localhost"==e.host&&(e.host=""),r)return;u="",l=PATH_START}continue}u+=a;break;case PATH_START:if(isSpecial(e)){if(l=PATH,"/"!=a&&"\\"!=a)continue}else if(r||"?"!=a)if(r||"#"!=a){if(a!=EOF&&(l=PATH,"/"!=a))continue}else e.fragment="",l=FRAGMENT;else e.query="",l=QUERY;break;case PATH:if(a==EOF||"/"==a||"\\"==a&&isSpecial(e)||!r&&("?"==a||"#"==a)){if(isDoubleDot(u)?(shortenURLsPath(e),"/"==a||"\\"==a&&isSpecial(e)||e.path.push("")):isSingleDot(u)?"/"==a||"\\"==a&&isSpecial(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&isWindowsDriveLetter(u)&&(e.host&&(e.host=""),u=u.charAt(0)+":"),e.path.push(u)),u="","file"==e.scheme&&(a==EOF||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",l=QUERY):"#"==a&&(e.fragment="",l=FRAGMENT)}else u+=percentEncode(a,pathPercentEncodeSet);break;case CANNOT_BE_A_BASE_URL_PATH:"?"==a?(e.query="",l=QUERY):"#"==a?(e.fragment="",l=FRAGMENT):a!=EOF&&(e.path[0]+=percentEncode(a,C0ControlPercentEncodeSet));break;case QUERY:r||"#"!=a?a!=EOF&&("'"==a&&isSpecial(e)?e.query+="%27":e.query+="#"==a?"%23":percentEncode(a,C0ControlPercentEncodeSet)):(e.fragment="",l=FRAGMENT);break;case FRAGMENT:a!=EOF&&(e.fragment+=percentEncode(a,fragmentPercentEncodeSet))}c++}},URLConstructor=function(e){var t,r,n=anInstance(this,URLConstructor,"URL"),i=arguments.length>1?arguments[1]:void 0,a=toString(e),o=setInternalState(n,{type:"URL"});if(void 0!==i)if(i instanceof URLConstructor)t=getInternalURLState(i);else if(r=parseURL(t={},toString(i)))throw TypeError(r);if(r=parseURL(o,a,null,t))throw TypeError(r);var s=o.searchParams=new URLSearchParams$1,l=getInternalSearchParamsState(s);l.updateSearchParams(o.query),l.updateURL=function(){o.query=String(s)||null},descriptors||(n.href=serializeURL.call(n),n.origin=getOrigin.call(n),n.protocol=getProtocol.call(n),n.username=getUsername.call(n),n.password=getPassword.call(n),n.host=getHost.call(n),n.hostname=getHostname.call(n),n.port=getPort.call(n),n.pathname=getPathname.call(n),n.search=getSearch.call(n),n.searchParams=getSearchParams.call(n),n.hash=getHash.call(n))},URLPrototype=URLConstructor.prototype,serializeURL=function(){var e=getInternalURLState(this),t=e.scheme,r=e.username,n=e.password,i=e.host,a=e.port,o=e.path,s=e.query,l=e.fragment,c=t+":";return null!==i?(c+="//",includesCredentials(e)&&(c+=r+(n?":"+n:"")+"@"),c+=serializeHost(i),null!==a&&(c+=":"+a)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?o[0]:o.length?"/"+o.join("/"):"",null!==s&&(c+="?"+s),null!==l&&(c+="#"+l),c},getOrigin=function(){var e=getInternalURLState(this),t=e.scheme,r=e.port;if("blob"==t)try{return new URLConstructor(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&isSpecial(e)?t+"://"+serializeHost(e.host)+(null!==r?":"+r:""):"null"},getProtocol=function(){return getInternalURLState(this).scheme+":"},getUsername=function(){return getInternalURLState(this).username},getPassword=function(){return getInternalURLState(this).password},getHost=function(){var e=getInternalURLState(this),t=e.host,r=e.port;return null===t?"":null===r?serializeHost(t):serializeHost(t)+":"+r},getHostname=function(){var e=getInternalURLState(this).host;return null===e?"":serializeHost(e)},getPort=function(){var e=getInternalURLState(this).port;return null===e?"":String(e)},getPathname=function(){var e=getInternalURLState(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},getSearch=function(){var e=getInternalURLState(this).query;return e?"?"+e:""},getSearchParams=function(){return getInternalURLState(this).searchParams},getHash=function(){var e=getInternalURLState(this).fragment;return e?"#"+e:""},accessorDescriptor=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(descriptors&&objectDefineProperties(URLPrototype,{href:accessorDescriptor(serializeURL,(function(e){var t=getInternalURLState(this),r=toString(e),n=parseURL(t,r);if(n)throw TypeError(n);getInternalSearchParamsState(t.searchParams).updateSearchParams(t.query)})),origin:accessorDescriptor(getOrigin),protocol:accessorDescriptor(getProtocol,(function(e){var t=getInternalURLState(this);parseURL(t,toString(e)+":",SCHEME_START)})),username:accessorDescriptor(getUsername,(function(e){var t=getInternalURLState(this),r=arrayFrom(toString(e));if(!cannotHaveUsernamePasswordPort(t)){t.username="";for(var n=0;n<r.length;n++)t.username+=percentEncode(r[n],userinfoPercentEncodeSet)}})),password:accessorDescriptor(getPassword,(function(e){var t=getInternalURLState(this),r=arrayFrom(toString(e));if(!cannotHaveUsernamePasswordPort(t)){t.password="";for(var n=0;n<r.length;n++)t.password+=percentEncode(r[n],userinfoPercentEncodeSet)}})),host:accessorDescriptor(getHost,(function(e){var t=getInternalURLState(this);t.cannotBeABaseURL||parseURL(t,toString(e),HOST)})),hostname:accessorDescriptor(getHostname,(function(e){var t=getInternalURLState(this);t.cannotBeABaseURL||parseURL(t,toString(e),HOSTNAME)})),port:accessorDescriptor(getPort,(function(e){var t=getInternalURLState(this);cannotHaveUsernamePasswordPort(t)||(""==(e=toString(e))?t.port=null:parseURL(t,e,PORT))})),pathname:accessorDescriptor(getPathname,(function(e){var t=getInternalURLState(this);t.cannotBeABaseURL||(t.path=[],parseURL(t,toString(e),PATH_START))})),search:accessorDescriptor(getSearch,(function(e){var t=getInternalURLState(this);""==(e=toString(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",parseURL(t,e,QUERY)),getInternalSearchParamsState(t.searchParams).updateSearchParams(t.query)})),searchParams:accessorDescriptor(getSearchParams),hash:accessorDescriptor(getHash,(function(e){var t=getInternalURLState(this);""!=(e=toString(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",parseURL(t,e,FRAGMENT)):t.fragment=null}))}),redefine(URLPrototype,"toJSON",(function(){return serializeURL.call(this)}),{enumerable:!0}),redefine(URLPrototype,"toString",(function(){return serializeURL.call(this)}),{enumerable:!0}),NativeURL){var nativeCreateObjectURL=NativeURL.createObjectURL,nativeRevokeObjectURL=NativeURL.revokeObjectURL;nativeCreateObjectURL&&redefine(URLConstructor,"createObjectURL",(function(e){return nativeCreateObjectURL.apply(NativeURL,arguments)})),nativeRevokeObjectURL&&redefine(URLConstructor,"revokeObjectURL",(function(e){return nativeRevokeObjectURL.apply(NativeURL,arguments)}))}setToStringTag(URLConstructor,"URL"),_export({global:!0,forced:!nativeUrl,sham:!descriptors},{URL:URLConstructor});var $forEach=arrayIteration.forEach,STRICT_METHOD=arrayMethodIsStrict("forEach"),arrayForEach=STRICT_METHOD?[].forEach:function(e){return $forEach(this,e,arguments.length>1?arguments[1]:void 0)},handlePrototype=function(e){if(e&&e.forEach!==arrayForEach)try{createNonEnumerableProperty(e,"forEach",arrayForEach)}catch(t){e.forEach=arrayForEach}};for(var COLLECTION_NAME in domIterables)handlePrototype(global$1[COLLECTION_NAME]&&global$1[COLLECTION_NAME].prototype);handlePrototype(domTokenListPrototype);var propertyIsEnumerable=objectPropertyIsEnumerable.f,createMethod=function(e){return function(t){for(var r,n=toIndexedObject(t),i=objectKeys(n),a=i.length,o=0,s=[];a>o;)r=i[o++],descriptors&&!propertyIsEnumerable.call(n,r)||s.push(e?[r,n[r]]:n[r]);return s}},objectToArray={entries:createMethod(!0),values:createMethod(!1)},$entries=objectToArray.entries;_export({target:"Object",stat:!0},{entries:function(e){return $entries(e)}});var getOwnPropertyDescriptor=objectGetOwnPropertyDescriptor.f,$startsWith="".startsWith,min$1=Math.min,CORRECT_IS_REGEXP_LOGIC=correctIsRegexpLogic("startsWith"),MDN_POLYFILL_BUG=!(CORRECT_IS_REGEXP_LOGIC||(descriptor=getOwnPropertyDescriptor(String.prototype,"startsWith"),!descriptor||descriptor.writable)),descriptor;_export({target:"String",proto:!0,forced:!MDN_POLYFILL_BUG&&!CORRECT_IS_REGEXP_LOGIC},{startsWith:function(e){var t=toString(requireObjectCoercible(this));notARegexp(e);var r=toLength(min$1(arguments.length>1?arguments[1]:void 0,t.length)),n=toString(e);return $startsWith?$startsWith.call(t,n,r):t.slice(r,r+n.length)===n}});var floor=Math.floor,replace="".replace,SUBSTITUTION_SYMBOLS=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,SUBSTITUTION_SYMBOLS_NO_NAMED=/\$([$&'`]|\d{1,2})/g,getSubstitution=function(e,t,r,n,i,a){var o=r+e.length,s=n.length,l=SUBSTITUTION_SYMBOLS_NO_NAMED;return void 0!==i&&(i=toObject(i),l=SUBSTITUTION_SYMBOLS),replace.call(a,l,(function(a,l){var c;switch(l.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(o);case"<":c=i[l.slice(1,-1)];break;default:var u=+l;if(0===u)return a;if(u>s){var f=floor(u/10);return 0===f?a:f<=s?void 0===n[f-1]?l.charAt(1):n[f-1]+l.charAt(1):a}c=n[u-1]}return void 0===c?"":c}))},REPLACE=wellKnownSymbol("replace"),max=Math.max,min=Math.min,maybeToString=function(e){return void 0===e?e:String(e)},REPLACE_KEEPS_$0="$0"==="a".replace(/./,"$0"),REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE=!!/./[REPLACE]&&""===/./[REPLACE]("a","$0"),REPLACE_SUPPORTS_NAMED_GROUPS=!fails((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}));fixRegexpWellKnownSymbolLogic("replace",(function(e,t,r){var n=REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE?"$":"$0";return[function(e,r){var n=requireObjectCoercible(this),i=null==e?void 0:getMethod(e,REPLACE);return i?i.call(e,n,r):t.call(toString(n),e,r)},function(e,i){var a=anObject(this),o=toString(e);if("string"==typeof i&&-1===i.indexOf(n)&&-1===i.indexOf("$<")){var s=r(t,a,o,i);if(s.done)return s.value}var l=isCallable(i);l||(i=toString(i));var c=a.global;if(c){var u=a.unicode;a.lastIndex=0}for(var f=[];;){var h=regexpExecAbstract(a,o);if(null===h)break;if(f.push(h),!c)break;""===toString(h[0])&&(a.lastIndex=advanceStringIndex(o,toLength(a.lastIndex),u))}for(var d="",p=0,m=0;m<f.length;m++){h=f[m];for(var g=toString(h[0]),b=max(min(toInteger(h.index),o.length),0),y=[],v=1;v<h.length;v++)y.push(maybeToString(h[v]));var _=h.groups;if(l){var w=[g].concat(y,b,o);void 0!==_&&w.push(_);var E=toString(i.apply(void 0,w))}else E=getSubstitution(g,o,b,y,_,i);b>=p&&(d+=o.slice(p,b)+E,p=b+g.length)}return d+o.slice(p)}]}),!REPLACE_SUPPORTS_NAMED_GROUPS||!REPLACE_KEEPS_$0||REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);var IS_CONCAT_SPREADABLE=wellKnownSymbol("isConcatSpreadable"),MAX_SAFE_INTEGER=9007199254740991,MAXIMUM_ALLOWED_INDEX_EXCEEDED="Maximum allowed index exceeded",IS_CONCAT_SPREADABLE_SUPPORT=engineV8Version>=51||!fails((function(){var e=[];return e[IS_CONCAT_SPREADABLE]=!1,e.concat()[0]!==e})),SPECIES_SUPPORT=arrayMethodHasSpeciesSupport("concat"),isConcatSpreadable=function(e){if(!isObject(e))return!1;var t=e[IS_CONCAT_SPREADABLE];return void 0!==t?!!t:isArray(e)},FORCED=!IS_CONCAT_SPREADABLE_SUPPORT||!SPECIES_SUPPORT;_export({target:"Array",proto:!0,forced:FORCED},{concat:function(e){var t,r,n,i,a,o=toObject(this),s=arraySpeciesCreate(o,0),l=0;for(t=-1,n=arguments.length;t<n;t++)if(isConcatSpreadable(a=-1===t?o:arguments[t])){if(l+(i=toLength(a.length))>MAX_SAFE_INTEGER)throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);for(r=0;r<i;r++,l++)r in a&&createProperty(s,l,a[r])}else{if(l>=MAX_SAFE_INTEGER)throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);createProperty(s,l++,a)}return s.length=l,s}});var cnt=0,imageCompressionLibUrl,worker;function createWorker(e){var t=[];return"function"==typeof e?t.push("(".concat(e,")()")):t.push(e),new Worker(URL.createObjectURL(new Blob(t)))}function createSourceObject(e){return URL.createObjectURL(new Blob([e],{type:"application/javascript"}))}function stringify(e){return JSON.stringify(e,(function(e,t){return"function"==typeof t?"BIC_FN:::(function () { return ".concat(t.toString()," })()"):t}))}function parse(o){if("string"==typeof o)return o;var result={};return Object.entries(o).forEach((function(_ref){var _ref2=_slicedToArray(_ref,2),key=_ref2[0],value=_ref2[1];if("string"==typeof value&&value.startsWith("BIC_FN:::"))try{result[key]=eval(value.replace(/^BIC_FN:::/,""))}catch(e){throw e}else result[key]=parse(value)})),result}function generateLib(){return createSourceObject("\n    // reconstruct library\n    function imageCompression (){return (".concat(imageCompression,").apply(null, arguments)}\n\n    imageCompression.getDataUrlFromFile = ").concat(imageCompression.getDataUrlFromFile,"\n    imageCompression.getFilefromDataUrl = ").concat(imageCompression.getFilefromDataUrl,"\n    imageCompression.loadImage = ").concat(imageCompression.loadImage,"\n    imageCompression.drawImageInCanvas = ").concat(imageCompression.drawImageInCanvas,"\n    imageCompression.drawFileInCanvas = ").concat(imageCompression.drawFileInCanvas,"\n    imageCompression.canvasToFile = ").concat(imageCompression.canvasToFile,"\n    imageCompression.getExifOrientation = ").concat(imageCompression.getExifOrientation,"\n    imageCompression.handleMaxWidthOrHeight = ").concat(imageCompression.handleMaxWidthOrHeight,"\n    imageCompression.followExifOrientation = ").concat(imageCompression.followExifOrientation,"\n    imageCompression.cleanupCanvasMemory = ").concat(imageCompression.cleanupCanvasMemory,"\n    imageCompression.isAutoOrientationInBrowser = ").concat(imageCompression.isAutoOrientationInBrowser,"\n    imageCompression.approximateBelowMaximumCanvasSizeOfBrowser = ").concat(imageCompression.approximateBelowMaximumCanvasSizeOfBrowser,"\n    imageCompression.getBrowserName = ").concat(imageCompression.getBrowserName,"\n\n    // functions / objects\n    getDataUrlFromFile = imageCompression.getDataUrlFromFile\n    getFilefromDataUrl = imageCompression.getFilefromDataUrl\n    loadImage = imageCompression.loadImage\n    drawImageInCanvas = imageCompression.drawImageInCanvas\n    drawFileInCanvas = imageCompression.drawFileInCanvas\n    canvasToFile = imageCompression.canvasToFile\n    getExifOrientation = imageCompression.getExifOrientation\n    handleMaxWidthOrHeight = imageCompression.handleMaxWidthOrHeight\n    followExifOrientation = imageCompression.followExifOrientation\n    cleanupCanvasMemory = imageCompression.cleanupCanvasMemory\n    isAutoOrientationInBrowser = imageCompression.isAutoOrientationInBrowser\n    approximateBelowMaximumCanvasSizeOfBrowser = imageCompression.approximateBelowMaximumCanvasSizeOfBrowser\n    getBrowserName = imageCompression.getBrowserName\n    isIOS = ").concat(isIOS,"\n    \n    getNewCanvasAndCtx = ").concat(getNewCanvasAndCtx,"\n    CustomFileReader = FileReader\n    CustomFile = File\n    MAX_CANVAS_SIZE = ").concat(JSON.stringify(MAX_CANVAS_SIZE),"\n    BROWSER_NAME = ").concat(JSON.stringify(BROWSER_NAME),"\n    function compress (){return (").concat(compress,").apply(null, arguments)}\n\n    // core-js\n    function _slicedToArray(arr, n) { return arr }\n    function _typeof(a) { return typeof a }\n    function _objectSpread2(target) {\n      for (var i = 1; i < arguments.length; i++) {\n        var source = arguments[i] != null ? arguments[i] : {};\n  \n        Object.assign(target, source)\n      }\n  \n      return target;\n    }\n\n    // Libraries\n    const parse = ").concat(parse,"\n    const UPNG = {}\n    UPNG.toRGBA8 = ").concat(UPNG.toRGBA8,"\n    UPNG.toRGBA8.decodeImage = ").concat(UPNG.toRGBA8.decodeImage,"\n    UPNG.decode = ").concat(UPNG.decode,"\n    UPNG.decode._decompress = ").concat(UPNG.decode._decompress,"\n    UPNG.decode._inflate = ").concat(UPNG.decode._inflate,"\n    UPNG.decode._readInterlace = ").concat(UPNG.decode._readInterlace,"\n    UPNG.decode._getBPP = ").concat(UPNG.decode._getBPP," \n    UPNG.decode._filterZero = ").concat(UPNG.decode._filterZero,"\n    UPNG.decode._paeth = ").concat(UPNG.decode._paeth,"\n    UPNG.decode._IHDR = ").concat(UPNG.decode._IHDR,"\n    UPNG._bin = parse(").concat(stringify(UPNG._bin),")\n    UPNG._copyTile = ").concat(UPNG._copyTile,"\n    UPNG.encode = ").concat(UPNG.encode,"\n    UPNG.encodeLL = ").concat(UPNG.encodeLL," \n    UPNG.encode._main = ").concat(UPNG.encode._main,"\n    UPNG.encode.compressPNG = ").concat(UPNG.encode.compressPNG," \n    UPNG.encode.compress = ").concat(UPNG.encode.compress,"\n    UPNG.encode.framize = ").concat(UPNG.encode.framize," \n    UPNG.encode._updateFrame = ").concat(UPNG.encode._updateFrame," \n    UPNG.encode._prepareDiff = ").concat(UPNG.encode._prepareDiff," \n    UPNG.encode._filterZero = ").concat(UPNG.encode._filterZero," \n    UPNG.encode._filterLine = ").concat(UPNG.encode._filterLine,"\n    UPNG.encode.concatRGBA = ").concat(UPNG.encode.concatRGBA,"\n    UPNG.crc = parse(").concat(stringify(UPNG.crc),")\n    UPNG.crc.table = ( function() {\n    var tab = new Uint32Array(256);\n    for (var n=0; n<256; n++) {\n      var c = n;\n      for (var k=0; k<8; k++) {\n        if (c & 1)  c = 0xedb88320 ^ (c >>> 1);\n        else        c = c >>> 1;\n      }\n      tab[n] = c;  }\n    return tab;  })()\n    UPNG.quantize = ").concat(UPNG.quantize," \n    UPNG.quantize.getKDtree = ").concat(UPNG.quantize.getKDtree," \n    UPNG.quantize.getNearest = ").concat(UPNG.quantize.getNearest," \n    UPNG.quantize.planeDst = ").concat(UPNG.quantize.planeDst," \n    UPNG.quantize.dist = ").concat(UPNG.quantize.dist,"     \n    UPNG.quantize.splitPixels = ").concat(UPNG.quantize.splitPixels," \n    UPNG.quantize.vecDot = ").concat(UPNG.quantize.vecDot," \n    UPNG.quantize.stats = ").concat(UPNG.quantize.stats," \n    UPNG.quantize.estats = ").concat(UPNG.quantize.estats,"\n    UPNG.M4 = parse(").concat(stringify(UPNG.M4),")\n    UPNG.encode.concatRGBA = ").concat(UPNG.encode.concatRGBA,'\n    UPNG.inflateRaw=function(){\n    var H={};H.H={};H.H.N=function(N,W){var R=Uint8Array,i=0,m=0,J=0,h=0,Q=0,X=0,u=0,w=0,d=0,v,C;\n      if(N[0]==3&&N[1]==0)return W?W:new R(0);var V=H.H,n=V.b,A=V.e,l=V.R,M=V.n,I=V.A,e=V.Z,b=V.m,Z=W==null;\n      if(Z)W=new R(N.length>>>2<<5);while(i==0){i=n(N,d,1);m=n(N,d+1,2);d+=3;if(m==0){if((d&7)!=0)d+=8-(d&7);\n        var D=(d>>>3)+4,q=N[D-4]|N[D-3]<<8;if(Z)W=H.H.W(W,w+q);W.set(new R(N.buffer,N.byteOffset+D,q),w);d=D+q<<3;\n        w+=q;continue}if(Z)W=H.H.W(W,w+(1<<17));if(m==1){v=b.J;C=b.h;X=(1<<9)-1;u=(1<<5)-1}if(m==2){J=A(N,d,5)+257;\n        h=A(N,d+5,5)+1;Q=A(N,d+10,4)+4;d+=14;var E=d,j=1;for(var c=0;c<38;c+=2){b.Q[c]=0;b.Q[c+1]=0}for(var c=0;\n                                                                                                        c<Q;c++){var K=A(N,d+c*3,3);b.Q[(b.X[c]<<1)+1]=K;if(K>j)j=K}d+=3*Q;M(b.Q,j);I(b.Q,j,b.u);v=b.w;C=b.d;\n        d=l(b.u,(1<<j)-1,J+h,N,d,b.v);var r=V.V(b.v,0,J,b.C);X=(1<<r)-1;var S=V.V(b.v,J,h,b.D);u=(1<<S)-1;M(b.C,r);\n        I(b.C,r,v);M(b.D,S);I(b.D,S,C)}while(!0){var T=v[e(N,d)&X];d+=T&15;var p=T>>>4;if(p>>>8==0){W[w++]=p}else if(p==256){break}else{var z=w+p-254;\n        if(p>264){var _=b.q[p-257];z=w+(_>>>3)+A(N,d,_&7);d+=_&7}var $=C[e(N,d)&u];d+=$&15;var s=$>>>4,Y=b.c[s],a=(Y>>>4)+n(N,d,Y&15);\n        d+=Y&15;while(w<z){W[w]=W[w++-a];W[w]=W[w++-a];W[w]=W[w++-a];W[w]=W[w++-a]}w=z}}}return W.length==w?W:W.slice(0,w)};\n      H.H.W=function(N,W){var R=N.length;if(W<=R)return N;var V=new Uint8Array(R<<1);V.set(N,0);return V};\n      H.H.R=function(N,W,R,V,n,A){var l=H.H.e,M=H.H.Z,I=0;while(I<R){var e=N[M(V,n)&W];n+=e&15;var b=e>>>4;\n        if(b<=15){A[I]=b;I++}else{var Z=0,m=0;if(b==16){m=3+l(V,n,2);n+=2;Z=A[I-1]}else if(b==17){m=3+l(V,n,3);\n          n+=3}else if(b==18){m=11+l(V,n,7);n+=7}var J=I+m;while(I<J){A[I]=Z;I++}}}return n};H.H.V=function(N,W,R,V){var n=0,A=0,l=V.length>>>1;\n        while(A<R){var M=N[A+W];V[A<<1]=0;V[(A<<1)+1]=M;if(M>n)n=M;A++}while(A<l){V[A<<1]=0;V[(A<<1)+1]=0;A++}return n};\n      H.H.n=function(N,W){var R=H.H.m,V=N.length,n,A,l,M,I,e=R.j;for(var M=0;M<=W;M++)e[M]=0;for(M=1;M<V;M+=2)e[N[M]]++;\n        var b=R.K;n=0;e[0]=0;for(A=1;A<=W;A++){n=n+e[A-1]<<1;b[A]=n}for(l=0;l<V;l+=2){I=N[l+1];if(I!=0){N[l]=b[I];\n          b[I]++}}};H.H.A=function(N,W,R){var V=N.length,n=H.H.m,A=n.r;for(var l=0;l<V;l+=2)if(N[l+1]!=0){var M=l>>1,I=N[l+1],e=M<<4|I,b=W-I,Z=N[l]<<b,m=Z+(1<<b);\n        while(Z!=m){var J=A[Z]>>>15-W;R[J]=e;Z++}}};H.H.l=function(N,W){var R=H.H.m.r,V=15-W;for(var n=0;n<N.length;\n                                                                                                 n+=2){var A=N[n]<<W-N[n+1];N[n]=R[A]>>>V}};H.H.M=function(N,W,R){R=R<<(W&7);var V=W>>>3;N[V]|=R;N[V+1]|=R>>>8};\n      H.H.I=function(N,W,R){R=R<<(W&7);var V=W>>>3;N[V]|=R;N[V+1]|=R>>>8;N[V+2]|=R>>>16};H.H.e=function(N,W,R){return(N[W>>>3]|N[(W>>>3)+1]<<8)>>>(W&7)&(1<<R)-1};\n      H.H.b=function(N,W,R){return(N[W>>>3]|N[(W>>>3)+1]<<8|N[(W>>>3)+2]<<16)>>>(W&7)&(1<<R)-1};H.H.Z=function(N,W){return(N[W>>>3]|N[(W>>>3)+1]<<8|N[(W>>>3)+2]<<16)>>>(W&7)};\n      H.H.i=function(N,W){return(N[W>>>3]|N[(W>>>3)+1]<<8|N[(W>>>3)+2]<<16|N[(W>>>3)+3]<<24)>>>(W&7)};H.H.m=function(){var N=Uint16Array,W=Uint32Array;\n        return{K:new N(16),j:new N(16),X:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],T:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],q:new N(32),p:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],z:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],c:new W(32),J:new N(512),_:[],h:new N(32),$:[],w:new N(32768),C:[],v:[],d:new N(32768),D:[],u:new N(512),Q:[],r:new N(1<<15),s:new W(286),Y:new W(30),a:new W(19),t:new W(15e3),k:new N(1<<16),g:new N(1<<15)}}();\n      (function(){var N=H.H.m,W=1<<15;for(var R=0;R<W;R++){var V=R;V=(V&2863311530)>>>1|(V&1431655765)<<1;\n        V=(V&3435973836)>>>2|(V&858993459)<<2;V=(V&4042322160)>>>4|(V&252645135)<<4;V=(V&4278255360)>>>8|(V&16711935)<<8;\n        N.r[R]=(V>>>16|V<<16)>>>17}function n(A,l,M){while(l--!=0)A.push(0,M)}for(var R=0;R<32;R++){N.q[R]=N.S[R]<<3|N.T[R];\n        N.c[R]=N.p[R]<<4|N.z[R]}n(N._,144,8);n(N._,255-143,9);n(N._,279-255,7);n(N._,287-279,8);H.H.n(N._,9);\n        H.H.A(N._,9,N.J);H.H.l(N._,9);n(N.$,32,5);H.H.n(N.$,5);H.H.A(N.$,5,N.h);H.H.l(N.$,5);n(N.Q,19,0);n(N.C,286,0);\n        n(N.D,30,0);n(N.v,320,0)}());return H.H.N}()\n    \n    const UZIP = {}\n    UZIP["parse"] = ').concat(UZIP_1.parse,"\n    UZIP._readLocal = ").concat(UZIP_1._readLocal,"\n    UZIP.inflateRaw = ").concat(UZIP_1.inflateRaw,"\n    UZIP.inflate = ").concat(UZIP_1.inflate,"\n    UZIP.deflate = ").concat(UZIP_1.deflate,"\n    UZIP.deflateRaw = ").concat(UZIP_1.deflateRaw,"\n    UZIP.encode = ").concat(UZIP_1.encode,"\n    UZIP._noNeed = ").concat(UZIP_1._noNeed,"\n    UZIP._writeHeader = ").concat(UZIP_1._writeHeader,"\n    UZIP.crc = parse(").concat(stringify(UZIP_1.crc),")\n    UZIP.crc.table = ( function() {\n      var tab = new Uint32Array(256);\n      for (var n=0; n<256; n++) {\n        var c = n;\n        for (var k=0; k<8; k++) {\n          if (c & 1)  c = 0xedb88320 ^ (c >>> 1);\n          else        c = c >>> 1;\n        }\n        tab[n] = c;  }\n      return tab;  })()\n    \n    UZIP.adler = ").concat(UZIP_1.adler,"\n    UZIP.bin = parse(").concat(stringify(UZIP_1.bin),")\n    UZIP.F = {}\n    UZIP.F.deflateRaw = ").concat(UZIP_1.F.deflateRaw,"\n    UZIP.F._bestMatch = ").concat(UZIP_1.F._bestMatch,"\n    UZIP.F._howLong = ").concat(UZIP_1.F._howLong,"\n    UZIP.F._hash = ").concat(UZIP_1.F._hash,"\n    UZIP.saved = ").concat(UZIP_1.saved,"\n    UZIP.F._writeBlock = ").concat(UZIP_1.F._writeBlock,"\n    UZIP.F._copyExact = ").concat(UZIP_1.F._copyExact,"\n    UZIP.F.getTrees = ").concat(UZIP_1.F.getTrees,"\n    UZIP.F.getSecond = ").concat(UZIP_1.F.getSecond,"\n    UZIP.F.nonZero = ").concat(UZIP_1.F.nonZero,"\n    UZIP.F.contSize = ").concat(UZIP_1.F.contSize,"\n    UZIP.F._codeTiny = ").concat(UZIP_1.F._codeTiny," \n    UZIP.F._lenCodes = ").concat(UZIP_1.F._lenCodes," \n    UZIP.F._hufTree = ").concat(UZIP_1.F._hufTree," \n    UZIP.F.setDepth = ").concat(UZIP_1.F.setDepth," \n    UZIP.F.restrictDepth = ").concat(UZIP_1.F.restrictDepth,"\n    UZIP.F._goodIndex = ").concat(UZIP_1.F._goodIndex," \n    UZIP.F._writeLit = ").concat(UZIP_1.F._writeLit," \n    UZIP.F.inflate = ").concat(UZIP_1.F.inflate," \n    UZIP.F._check = ").concat(UZIP_1.F._check," \n    UZIP.F._decodeTiny = ").concat(UZIP_1.F._decodeTiny," \n    UZIP.F._copyOut = ").concat(UZIP_1.F._copyOut," \n    UZIP.F.makeCodes = ").concat(UZIP_1.F.makeCodes," \n    UZIP.F.codes2map = ").concat(UZIP_1.F.codes2map," \n    UZIP.F.revCodes = ").concat(UZIP_1.F.revCodes," \n\n    // used only in deflate\n    UZIP.F._putsE = ").concat(UZIP_1.F._putsE,"\n    UZIP.F._putsF = ").concat(UZIP_1.F._putsF,"\n  \n    UZIP.F._bitsE = ").concat(UZIP_1.F._bitsE,"\n    UZIP.F._bitsF = ").concat(UZIP_1.F._bitsF,"\n\n    UZIP.F._get17 = ").concat(UZIP_1.F._get17,"\n    UZIP.F._get25 = ").concat(UZIP_1.F._get25,"\n    UZIP.F.U = function(){\n      var u16=Uint16Array, u32=Uint32Array;\n      return {\n        next_code : new u16(16),\n        bl_count  : new u16(16),\n        ordr : [ 16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15 ],\n        of0  : [3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],\n        exb  : [0,0,0,0,0,0,0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4,  4,  5,  5,  5,  5,  0,  0,  0,  0],\n        ldef : new u16(32),\n        df0  : [1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577, 65535, 65535],\n        dxb  : [0,0,0,0,1,1,2, 2, 3, 3, 4, 4, 5, 5,  6,  6,  7,  7,  8,  8,   9,   9,  10,  10,  11,  11,  12,   12,   13,   13,     0,     0],\n        ddef : new u32(32),\n        flmap: new u16(  512),  fltree: [],\n        fdmap: new u16(   32),  fdtree: [],\n        lmap : new u16(32768),  ltree : [],  ttree:[],\n        dmap : new u16(32768),  dtree : [],\n        imap : new u16(  512),  itree : [],\n        //rev9 : new u16(  512)\n        rev15: new u16(1<<15),\n        lhst : new u32(286), dhst : new u32( 30), ihst : new u32(19),\n        lits : new u32(15000),\n        strt : new u16(1<<16),\n        prev : new u16(1<<15)\n      };\n    } ();\n\n    (function(){\n      var U = UZIP.F.U;\n      var len = 1<<15;\n      for(var i=0; i<len; i++) {\n        var x = i;\n        x = (((x & 0xaaaaaaaa) >>> 1) | ((x & 0x55555555) << 1));\n        x = (((x & 0xcccccccc) >>> 2) | ((x & 0x33333333) << 2));\n        x = (((x & 0xf0f0f0f0) >>> 4) | ((x & 0x0f0f0f0f) << 4));\n        x = (((x & 0xff00ff00) >>> 8) | ((x & 0x00ff00ff) << 8));\n        U.rev15[i] = (((x >>> 16) | (x << 16)))>>>17;\n      }\n  \n      function pushV(tgt, n, sv) {  while(n--!=0) tgt.push(0,sv);  }\n  \n      for(var i=0; i<32; i++) {  U.ldef[i]=(U.of0[i]<<3)|U.exb[i];  U.ddef[i]=(U.df0[i]<<4)|U.dxb[i];  }\n  \n      pushV(U.fltree, 144, 8);  pushV(U.fltree, 255-143, 9);  pushV(U.fltree, 279-255, 7);  pushV(U.fltree,287-279,8);\n      /*\n        var i = 0;\n        for(; i<=143; i++) U.fltree.push(0,8);\n        for(; i<=255; i++) U.fltree.push(0,9);\n        for(; i<=279; i++) U.fltree.push(0,7);\n        for(; i<=287; i++) U.fltree.push(0,8);\n        */\n      UZIP.F.makeCodes(U.fltree, 9);\n      UZIP.F.codes2map(U.fltree, 9, U.flmap);\n      UZIP.F.revCodes (U.fltree, 9)\n  \n      pushV(U.fdtree,32,5);\n      //for(i=0;i<32; i++) U.fdtree.push(0,5);\n      UZIP.F.makeCodes(U.fdtree, 5);\n      UZIP.F.codes2map(U.fdtree, 5, U.fdmap);\n      UZIP.F.revCodes (U.fdtree, 5)\n  \n      pushV(U.itree,19,0);  pushV(U.ltree,286,0);  pushV(U.dtree,30,0);  pushV(U.ttree,320,0);\n      /*\n        for(var i=0; i< 19; i++) U.itree.push(0,0);\n        for(var i=0; i<286; i++) U.ltree.push(0,0);\n        for(var i=0; i< 30; i++) U.dtree.push(0,0);\n        for(var i=0; i<320; i++) U.ttree.push(0,0);\n        */\n    })()\n    "))}function generateWorkerScript(){return createWorker("\n    let scriptImported = false\n    self.addEventListener('message', async (e) => {\n      const { file, id, imageCompressionLibUrl, options } = e.data\n      options.onProgress = (progress) => self.postMessage({ progress, id })\n      try {\n        if (!scriptImported) {\n          // console.log('[worker] importScripts', imageCompressionLibUrl)\n          self.importScripts(imageCompressionLibUrl)\n          scriptImported = true\n        }\n        // console.log('[worker] self', self)\n        const compressedFile = await imageCompression(file, options)\n        self.postMessage({ file: compressedFile, id })\n      } catch (e) {\n        // console.error('[worker] error', e)\n        self.postMessage({ error: e.message + '\\n' + e.stack, id })\n      }\n    })\n  ")}function compressOnWebWorker(e,t){return new Promise((function(r,n){var i=cnt+=1;imageCompressionLibUrl||(imageCompressionLibUrl=generateLib()),worker||(worker=generateWorkerScript()),worker.addEventListener("message",(function e(a){if(a.data.id===i){if(void 0!==a.data.progress)return void t.onProgress(a.data.progress);worker.removeEventListener("message",e),a.data.error&&n(new Error(a.data.error)),r(a.data.file)}})),worker.addEventListener("error",n),worker.postMessage({file:e,id:i,imageCompressionLibUrl:imageCompressionLibUrl,options:_objectSpread2(_objectSpread2({},t),{},{onProgress:void 0})})}))}function imageCompression(e,t){return new Promise((function(r,n){var i,a,o,s,l,c;if(i=_objectSpread2({},t),o=0,s=i.onProgress,i.maxSizeMB=i.maxSizeMB||Number.POSITIVE_INFINITY,l="boolean"!=typeof i.useWebWorker||i.useWebWorker,delete i.useWebWorker,i.onProgress=function(e){o=e,"function"==typeof s&&s(o)},!(e instanceof Blob||e instanceof CustomFile))return n(new Error("The file given is not an instance of Blob or File"));if(!/^image/.test(e.type))return n(new Error("The file given is not an image"));if(c="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,!l||"function"!=typeof Worker||c)return compress(e,i).then(function(e){try{return a=e,h.call(this)}catch(e){return n(e)}}.bind(this),n);var u=function(){try{return h.call(this)}catch(e){return n(e)}}.bind(this),f=function(t){try{return compress(e,i).then((function(e){try{return a=e,u()}catch(e){return n(e)}}),n)}catch(e){return n(e)}};try{return compressOnWebWorker(e,i).then((function(e){try{return a=e,u()}catch(e){return f()}}),f)}catch(e){f()}function h(){try{a.name=e.name,a.lastModified=e.lastModified}catch(e){}return r(a)}}))}imageCompression.getDataUrlFromFile=getDataUrlFromFile,imageCompression.getFilefromDataUrl=getFilefromDataUrl,imageCompression.loadImage=loadImage,imageCompression.drawImageInCanvas=drawImageInCanvas,imageCompression.drawFileInCanvas=drawFileInCanvas,imageCompression.canvasToFile=canvasToFile,imageCompression.getExifOrientation=getExifOrientation,imageCompression.handleMaxWidthOrHeight=handleMaxWidthOrHeight,imageCompression.followExifOrientation=followExifOrientation,imageCompression.cleanupCanvasMemory=cleanupCanvasMemory,imageCompression.isAutoOrientationInBrowser=isAutoOrientationInBrowser,imageCompression.approximateBelowMaximumCanvasSizeOfBrowser=approximateBelowMaximumCanvasSizeOfBrowser,imageCompression.getBrowserName=getBrowserName,imageCompression.version="1.0.17"},4681:function(e,t,r){"use strict";var n=r("966d");function i(e,t){var r=this,i=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return i||a?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||n.nextTick(o,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?(n.nextTick(o,r,e),r._writableState&&(r._writableState.errorEmitted=!0)):t&&t(e)})),this)}function a(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function o(e,t){e.emit("error",t)}e.exports={destroy:i,undestroy:a}},"46d3":function(e,t,r){"use strict";var n=e.exports=function(e){this._buffer=e,this._reads=[]};n.prototype.read=function(e,t){this._reads.push({length:Math.abs(e),allowLess:e<0,func:t})},n.prototype.process=function(){while(this._reads.length>0&&this._buffer.length){var e=this._reads[0];if(!this._buffer.length||!(this._buffer.length>=e.length||e.allowLess))break;this._reads.shift();var t=this._buffer;this._buffer=t.slice(e.length),e.func.call(this,t.slice(0,e.length))}return this._reads.length>0?new Error("There are some read requests waitng on finished stream"):this._buffer.length>0?new Error("unrecognised content at end of stream"):void 0}},"46d9":function(e,t,r){},"470b":function(e,t,r){"use strict";(function(e){var n=r("b639").Buffer,i=r("d485").Transform,a=r("6b75e"),o=r("3022"),s=r("f654").ok,l=r("b639").kMaxLength,c="Cannot create final Buffer. It would be larger than 0x"+l.toString(16)+" bytes";a.Z_MIN_WINDOWBITS=8,a.Z_MAX_WINDOWBITS=15,a.Z_DEFAULT_WINDOWBITS=15,a.Z_MIN_CHUNK=64,a.Z_MAX_CHUNK=1/0,a.Z_DEFAULT_CHUNK=16384,a.Z_MIN_MEMLEVEL=1,a.Z_MAX_MEMLEVEL=9,a.Z_DEFAULT_MEMLEVEL=8,a.Z_MIN_LEVEL=-1,a.Z_MAX_LEVEL=9,a.Z_DEFAULT_LEVEL=a.Z_DEFAULT_COMPRESSION;for(var u=Object.keys(a),f=0;f<u.length;f++){var h=u[f];h.match(/^Z/)&&Object.defineProperty(t,h,{enumerable:!0,value:a[h],writable:!1})}for(var d={Z_OK:a.Z_OK,Z_STREAM_END:a.Z_STREAM_END,Z_NEED_DICT:a.Z_NEED_DICT,Z_ERRNO:a.Z_ERRNO,Z_STREAM_ERROR:a.Z_STREAM_ERROR,Z_DATA_ERROR:a.Z_DATA_ERROR,Z_MEM_ERROR:a.Z_MEM_ERROR,Z_BUF_ERROR:a.Z_BUF_ERROR,Z_VERSION_ERROR:a.Z_VERSION_ERROR},p=Object.keys(d),m=0;m<p.length;m++){var g=p[m];d[d[g]]=g}function b(e,t,r){var i=[],a=0;function o(){var t;while(null!==(t=e.read()))i.push(t),a+=t.length;e.once("readable",o)}function s(t){e.removeListener("end",u),e.removeListener("readable",o),r(t)}function u(){var t,o=null;a>=l?o=new RangeError(c):t=n.concat(i,a),i=[],e.close(),r(o,t)}e.on("error",s),e.on("end",u),e.end(t),o()}function y(e,t){if("string"===typeof t&&(t=n.from(t)),!n.isBuffer(t))throw new TypeError("Not a string or buffer");var r=e._finishFlushFlag;return e._processChunk(t,r)}function v(e){if(!(this instanceof v))return new v(e);S.call(this,e,a.DEFLATE)}function _(e){if(!(this instanceof _))return new _(e);S.call(this,e,a.INFLATE)}function w(e){if(!(this instanceof w))return new w(e);S.call(this,e,a.GZIP)}function E(e){if(!(this instanceof E))return new E(e);S.call(this,e,a.GUNZIP)}function P(e){if(!(this instanceof P))return new P(e);S.call(this,e,a.DEFLATERAW)}function A(e){if(!(this instanceof A))return new A(e);S.call(this,e,a.INFLATERAW)}function k(e){if(!(this instanceof k))return new k(e);S.call(this,e,a.UNZIP)}function C(e){return e===a.Z_NO_FLUSH||e===a.Z_PARTIAL_FLUSH||e===a.Z_SYNC_FLUSH||e===a.Z_FULL_FLUSH||e===a.Z_FINISH||e===a.Z_BLOCK}function S(e,r){var o=this;if(this._opts=e=e||{},this._chunkSize=e.chunkSize||t.Z_DEFAULT_CHUNK,i.call(this,e),e.flush&&!C(e.flush))throw new Error("Invalid flush flag: "+e.flush);if(e.finishFlush&&!C(e.finishFlush))throw new Error("Invalid flush flag: "+e.finishFlush);if(this._flushFlag=e.flush||a.Z_NO_FLUSH,this._finishFlushFlag="undefined"!==typeof e.finishFlush?e.finishFlush:a.Z_FINISH,e.chunkSize&&(e.chunkSize<t.Z_MIN_CHUNK||e.chunkSize>t.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+e.chunkSize);if(e.windowBits&&(e.windowBits<t.Z_MIN_WINDOWBITS||e.windowBits>t.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+e.windowBits);if(e.level&&(e.level<t.Z_MIN_LEVEL||e.level>t.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+e.level);if(e.memLevel&&(e.memLevel<t.Z_MIN_MEMLEVEL||e.memLevel>t.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+e.memLevel);if(e.strategy&&e.strategy!=t.Z_FILTERED&&e.strategy!=t.Z_HUFFMAN_ONLY&&e.strategy!=t.Z_RLE&&e.strategy!=t.Z_FIXED&&e.strategy!=t.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+e.strategy);if(e.dictionary&&!n.isBuffer(e.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._handle=new a.Zlib(r);var s=this;this._hadError=!1,this._handle.onerror=function(e,r){I(s),s._hadError=!0;var n=new Error(e);n.errno=r,n.code=t.codes[r],s.emit("error",n)};var l=t.Z_DEFAULT_COMPRESSION;"number"===typeof e.level&&(l=e.level);var c=t.Z_DEFAULT_STRATEGY;"number"===typeof e.strategy&&(c=e.strategy),this._handle.init(e.windowBits||t.Z_DEFAULT_WINDOWBITS,l,e.memLevel||t.Z_DEFAULT_MEMLEVEL,c,e.dictionary),this._buffer=n.allocUnsafe(this._chunkSize),this._offset=0,this._level=l,this._strategy=c,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!o._handle},configurable:!0,enumerable:!0})}function I(t,r){r&&e.nextTick(r),t._handle&&(t._handle.close(),t._handle=null)}function B(e){e.emit("close")}Object.defineProperty(t,"codes",{enumerable:!0,value:Object.freeze(d),writable:!1}),t.Deflate=v,t.Inflate=_,t.Gzip=w,t.Gunzip=E,t.DeflateRaw=P,t.InflateRaw=A,t.Unzip=k,t.createDeflate=function(e){return new v(e)},t.createInflate=function(e){return new _(e)},t.createDeflateRaw=function(e){return new P(e)},t.createInflateRaw=function(e){return new A(e)},t.createGzip=function(e){return new w(e)},t.createGunzip=function(e){return new E(e)},t.createUnzip=function(e){return new k(e)},t.deflate=function(e,t,r){return"function"===typeof t&&(r=t,t={}),b(new v(t),e,r)},t.deflateSync=function(e,t){return y(new v(t),e)},t.gzip=function(e,t,r){return"function"===typeof t&&(r=t,t={}),b(new w(t),e,r)},t.gzipSync=function(e,t){return y(new w(t),e)},t.deflateRaw=function(e,t,r){return"function"===typeof t&&(r=t,t={}),b(new P(t),e,r)},t.deflateRawSync=function(e,t){return y(new P(t),e)},t.unzip=function(e,t,r){return"function"===typeof t&&(r=t,t={}),b(new k(t),e,r)},t.unzipSync=function(e,t){return y(new k(t),e)},t.inflate=function(e,t,r){return"function"===typeof t&&(r=t,t={}),b(new _(t),e,r)},t.inflateSync=function(e,t){return y(new _(t),e)},t.gunzip=function(e,t,r){return"function"===typeof t&&(r=t,t={}),b(new E(t),e,r)},t.gunzipSync=function(e,t){return y(new E(t),e)},t.inflateRaw=function(e,t,r){return"function"===typeof t&&(r=t,t={}),b(new A(t),e,r)},t.inflateRawSync=function(e,t){return y(new A(t),e)},o.inherits(S,i),S.prototype.params=function(r,n,i){if(r<t.Z_MIN_LEVEL||r>t.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+r);if(n!=t.Z_FILTERED&&n!=t.Z_HUFFMAN_ONLY&&n!=t.Z_RLE&&n!=t.Z_FIXED&&n!=t.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+n);if(this._level!==r||this._strategy!==n){var o=this;this.flush(a.Z_SYNC_FLUSH,(function(){s(o._handle,"zlib binding closed"),o._handle.params(r,n),o._hadError||(o._level=r,o._strategy=n,i&&i())}))}else e.nextTick(i)},S.prototype.reset=function(){return s(this._handle,"zlib binding closed"),this._handle.reset()},S.prototype._flush=function(e){this._transform(n.alloc(0),"",e)},S.prototype.flush=function(t,r){var i=this,o=this._writableState;("function"===typeof t||void 0===t&&!r)&&(r=t,t=a.Z_FULL_FLUSH),o.ended?r&&e.nextTick(r):o.ending?r&&this.once("end",r):o.needDrain?r&&this.once("drain",(function(){return i.flush(t,r)})):(this._flushFlag=t,this.write(n.alloc(0),"",r))},S.prototype.close=function(t){I(this,t),e.nextTick(B,this)},S.prototype._transform=function(e,t,r){var i,o=this._writableState,s=o.ending||o.ended,l=s&&(!e||o.length===e.length);return null===e||n.isBuffer(e)?this._handle?(l?i=this._finishFlushFlag:(i=this._flushFlag,e.length>=o.length&&(this._flushFlag=this._opts.flush||a.Z_NO_FLUSH)),void this._processChunk(e,i,r)):r(new Error("zlib binding closed")):r(new Error("invalid input"))},S.prototype._processChunk=function(e,t,r){var i=e&&e.length,a=this._chunkSize-this._offset,o=0,u=this,f="function"===typeof r;if(!f){var h,d=[],p=0;this.on("error",(function(e){h=e})),s(this._handle,"zlib binding closed");do{var m=this._handle.writeSync(t,e,o,i,this._buffer,this._offset,a)}while(!this._hadError&&y(m[0],m[1]));if(this._hadError)throw h;if(p>=l)throw I(this),new RangeError(c);var g=n.concat(d,p);return I(this),g}s(this._handle,"zlib binding closed");var b=this._handle.write(t,e,o,i,this._buffer,this._offset,a);function y(l,c){if(this&&(this.buffer=null,this.callback=null),!u._hadError){var h=a-c;if(s(h>=0,"have should not go down"),h>0){var m=u._buffer.slice(u._offset,u._offset+h);u._offset+=h,f?u.push(m):(d.push(m),p+=m.length)}if((0===c||u._offset>=u._chunkSize)&&(a=u._chunkSize,u._offset=0,u._buffer=n.allocUnsafe(u._chunkSize)),0===c){if(o+=i-l,i=l,!f)return!0;var g=u._handle.write(t,e,o,i,u._buffer,u._offset,u._chunkSize);return g.callback=y,void(g.buffer=e)}if(!f)return!1;r()}}b.buffer=e,b.callback=y},o.inherits(v,S),o.inherits(_,S),o.inherits(w,S),o.inherits(E,S),o.inherits(P,S),o.inherits(A,S),o.inherits(k,S)}).call(this,r("4362"))},"480c":function(e,t,r){"use strict";class n{constructor(e,t,r){this.width=r.width,this.height=r.height,this.loops=r.loops,this.usesTransparency=r.usesTransparency,this.colorScope=r.colorScope,this.frames=t,this.buffer=e}}n.GlobalColorsPreferred=0,n.GlobalColorsOnly=1,n.LocalColorsOnly=2;class i extends Error{constructor(e){super(e),e instanceof Error&&(this.stack="Gif"+e.stack)}}t.Gif=n,t.GifError=i},"486c":function(e,t){e.exports=function(){return"undefined"!==typeof self.DOMParser?function(e){var t=new self.DOMParser;return t.parseFromString(e,"application/xml")}:"undefined"!==typeof self.ActiveXObject&&new self.ActiveXObject("Microsoft.XMLDOM")?function(e){var t=new self.ActiveXObject("Microsoft.XMLDOM");return t.async="false",t.loadXML(e),t}:function(e){var t=document.createElement("div");return t.innerHTML=e,t}}()},"4a4b":function(e,t){function r(t,n){return e.exports=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(t,n)}e.exports=r},"4ae1":function(e,t,r){var n=r("23e7"),i=r("d066"),a=r("1c0b"),o=r("825a"),s=r("861d"),l=r("7c73"),c=r("0538"),u=r("d039"),f=i("Reflect","construct"),h=u((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),d=!u((function(){f((function(){}))})),p=h||d;n({target:"Reflect",stat:!0,forced:p,sham:p},{construct:function(e,t){a(e),o(t);var r=arguments.length<3?e:a(arguments[2]);if(d&&!h)return f(e,t,r);if(e==r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return n.push.apply(n,t),new(c.apply(e,n))}var i=r.prototype,u=l(s(i)?i:Object.prototype),p=Function.apply.call(e,u,t);return s(p)?p:u}})},"4dc6":function(e,t,r){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},"4df4":function(e,t,r){"use strict";var n=r("0366"),i=r("7b0b"),a=r("9bdd"),o=r("e95a"),s=r("50c4"),l=r("8418"),c=r("35a1");e.exports=function(e){var t,r,u,f,h,d,p=i(e),m="function"==typeof this?this:Array,g=arguments.length,b=g>1?arguments[1]:void 0,y=void 0!==b,v=c(p),_=0;if(y&&(b=n(b,g>2?arguments[2]:void 0,2)),void 0==v||m==Array&&o(v))for(t=s(p.length),r=new m(t);t>_;_++)d=y?b(p[_],_):p[_],l(r,_,d);else for(f=v.call(p),h=f.next,r=new m;!(u=h.call(f)).done;_++)d=y?a(f,b,[u.value,_],!0):u.value,l(r,_,d);return r.length=_,r}},"4ea4":function(e,t){function r(e){return e&&e.__esModule?e:{default:e}}e.exports=r},"51d2":function(e,t,r){"use strict";(function(e){const n=r("8f44"),{Gif:i,GifError:a}=r("480c");function o(){const e=r("2bbd");return o=function(){return e},e}const{GifFrame:s}=r("ad0b"),l=200,c=100;class u{constructor(e={}){this._transparentRGB=null,"number"===typeof e.transparentRGB&&0!==e.transparentRGB&&(this._transparentRGBA=256*e.transparentRGB),this._testInitialBufferSize=0}decodeGif(e){try{let r;try{r=new n.GifReader(e)}catch(t){throw new a(t)}const o=r.numFrames(),s=[],l={width:r.width,height:r.height,loops:r.loopCount(),usesTransparency:!1};for(let e=0;e<o;++e){const t=this._decodeFrame(r,e,l.usesTransparency);s.push(t.frame),t.usesTransparency&&(l.usesTransparency=!0)}return Promise.resolve(new i(e,s,l))}catch(t){return Promise.reject(t)}}encodeGif(e,t={}){try{if(null===e||0===e.length)throw new a("there are no frames");const r=o().getMaxDimensions(e);return t=Object.assign({},t),t.width=r.maxWidth,t.height=r.maxHeight,t.loops=t.loops||0,t.colorScope=t.colorScope||i.GlobalColorsPreferred,Promise.resolve(this._encodeGif(e,t))}catch(r){return Promise.reject(r)}}_decodeFrame(t,r,n){let i,o;try{if(i=t.frameInfo(r),o=new e(t.width*t.height*4),t.decodeAndBlitFrameRGBA(r,o),i.width!==t.width||i.height!==t.height){if(i.y&&(o=o.slice(i.y*t.width*4)),t.width>i.width)for(let e=0;e<i.height;++e)o.copy(o,e*i.width*4,4*(i.x+e*t.width),4*(i.x+e*t.width)+4*i.width);o=o.slice(0,i.width*i.height*4)}}catch(u){throw new a(u)}let l=!1;if(null===this._transparentRGBA){if(!n)for(let e=3;e<o.length;e+=4)0===o[e]&&(l=!0,e=o.length)}else for(let e=3;e<o.length;e+=4)0===o[e]&&(o.writeUInt32BE(this._transparentRGBA,e-3),l=!0);const c=new s(i.width,i.height,o,{xOffset:i.x,yOffset:i.y,disposalMethod:i.disposal,interlaced:i.interlaced,delayCentisecs:i.delay});return{frame:c,usesTransparency:l}}_encodeGif(e,t){let r;if(t.colorScope===i.LocalColorsOnly)r=o().getColorInfo(e,0);else if(r=o().getColorInfo(e,256),!r.colors){if(t.colorScope===i.GlobalColorsOnly)throw new a("Too many color indexes for global color table");t.colorScope=i.LocalColorsOnly}t.usesTransparency=r.usesTransparency;const n=r.palettes;if(t.colorScope===i.LocalColorsOnly){const r=2e3;return p(e,t,r,n)}const s=2e3;return d(e,t,s,r)}_getSizeEstimateGlobal(e,t){if(this._testInitialBufferSize>0)return this._testInitialBufferSize;let r=l+768;const n=y(e);return t.forEach(e=>{r+=g(e,n)}),r}_getSizeEstimateLocal(e,t){if(this._testInitialBufferSize>0)return this._testInitialBufferSize;let r=l;for(let n=0;n<t.length;++n){const i=e[n],a=y(i);r+=g(t[n],a)}return r}}function f(e,t){const r=e.indexOf(t);return-1===r?null:r}function h(e,t){var r,n=0,i=e.length-1;while(n<=i)if(r=Math.floor((n+i)/2),e[r]>t)i=r-1;else{if(!(e[r]<t))return r;n=r+1}return null}function d(t,r,o,s){const l={colors:s.colors.slice(),usesTransparency:s.usesTransparency};m(l);const c={palette:l.colors,loop:r.loops};let u,f=new e(o);try{u=new n.GifWriter(f,r.width,r.height,c)}catch(h){throw new a(h)}for(let e=0;e<t.length;++e)f=v(u,e,t[e],s,!1);return new i(f.slice(0,u.end()),t,r)}function p(t,r,o,s){const l={loop:r.loops};let c,u=new e(o);try{c=new n.GifWriter(u,r.width,r.height,l)}catch(f){throw new a(f)}for(let e=0;e<t.length;++e)u=v(c,e,t[e],s[e],!0);return new i(u.slice(0,c.end()),t,r)}function m(e){const t=e.colors;e.usesTransparency&&t.push(0);const r=t.length;let n=2;while(r>n)n<<=1;t.length=n,t.fill(0,r)}function g(e,t){let r=e.bitmap.width*e.bitmap.height;return r=Math.ceil(r*t/8),r+=Math.ceil(r/255),c+r+768}function b(t,r,n){const i=n.colors,o=i.length<=8?f:h,s=r.bitmap.data,l=new e(s.length/4);let c=i.length,u=0,d=0;while(u<s.length){if(0!==s[u+3]){const e=s.readUInt32BE(u,!0)>>8&16777215;l[d]=o(i,e)}else l[d]=c;u+=4,++d}if(n.usesTransparency){if(256===c)throw new a(`Frame ${t} already has 256 colorsand so can't use transparency`)}else c=null;return{buffer:l,transparentIndex:c}}function y(e){let t=e.indexCount,r=0;--t;while(t)++r,t>>=1;return r>0?r:1}function v(t,r,n,i,o){if(n.interlaced)throw new a("writing interlaced GIFs is not supported");const s=b(r,n,i),l={delay:n.delayCentisecs,disposal:n.disposalMethod,transparent:s.transparentIndex};o&&(m(i),l.palette=i.colors);try{let r,i=t.getOutputBuffer(),a=t.getOutputBufferPosition(),o=!0;while(o)if(r=t.addFrame(n.xOffset,n.yOffset,n.bitmap.width,n.bitmap.height,s.buffer,l),o=!1,r>=i.length-1){const r=new e(1.5*i.length);i.copy(r),t.setOutputBuffer(r),t.setOutputBufferPosition(a),i=r,o=!0}return i}catch(c){throw new a(c)}}t.GifCodec=u}).call(this,r("b639").Buffer)},"51f3":function(e,t,r){"use strict";function n(e,t){if(!e||!t||!e.length||!t.length)throw new Error("Bad alphabet");this.srcAlphabet=e,this.dstAlphabet=t}n.prototype.convert=function(e){var t,r,n,i={},a=this.srcAlphabet.length,o=this.dstAlphabet.length,s=e.length,l="string"===typeof e?"":[];if(!this.isValid(e))throw new Error('Number "'+e+'" contains of non-alphabetic digits ('+this.srcAlphabet+")");if(this.srcAlphabet===this.dstAlphabet)return e;for(t=0;t<s;t++)i[t]=this.srcAlphabet.indexOf(e[t]);do{for(r=0,n=0,t=0;t<s;t++)r=r*a+i[t],r>=o?(i[n++]=parseInt(r/o,10),r%=o):n>0&&(i[n++]=0);s=n,l=this.dstAlphabet.slice(r,r+1).concat(l)}while(0!==n);return l},n.prototype.isValid=function(e){for(var t=0;t<e.length;++t)if(-1===this.srcAlphabet.indexOf(e[t]))return!1;return!0},e.exports=n},5228:function(e,t,r){var n=r("9832");function i(){return(0,eval)("this")}e.exports={create:function(e,t){if(t=t||i(),e instanceof t.ArrayBuffer){var a=r("dbc1");return new n(new a(e,0,e.byteLength,!0,t))}var o=r("aebd");return new n(new o(e,0,e.length,!0))}}},"52ad":function(e,t,r){"use strict";(function(e){var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=n(r("9523")),a=n(r("8f44")),o=r("2956"),s="image/gif",l=function(){return{mime:(0,i["default"])({},s,["gif"]),constants:{MIME_GIF:s},decoders:(0,i["default"])({},s,(function(t){var r=new a["default"].GifReader(t),n=e.alloc(r.width*r.height*4);return r.decodeAndBlitFrameRGBA(0,n),{data:n,width:r.width,height:r.height}})),encoders:(0,i["default"])({},s,(function(e){var t=new o.BitmapImage(e.bitmap);o.GifUtil.quantizeDekker(t,256);var r=new o.GifFrame(t),n=new o.GifCodec;return n.encodeGif([r],{}).then((function(e){return e.buffer}))}))}};t["default"]=l}).call(this,r("b639").Buffer)},"53a8":function(e,t){e.exports=n;var r=Object.prototype.hasOwnProperty;function n(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var i in n)r.call(n,i)&&(e[i]=n[i])}return e}},5879:function(e,t){function r(e,t){switch(e){case 1:return t.nextUInt8();case 3:return t.nextUInt16();case 4:return t.nextUInt32();case 5:return[t.nextUInt32(),t.nextUInt32()];case 6:return t.nextInt8();case 8:return t.nextUInt16();case 9:return t.nextUInt32();case 10:return[t.nextInt32(),t.nextInt32()];case 11:return t.nextFloat();case 12:return t.nextDouble();default:throw new Error("Invalid format while decoding: "+e)}}function n(e){switch(e){case 1:case 2:case 6:case 7:return 1;case 3:case 8:return 2;case 4:case 9:case 11:return 4;case 5:case 10:case 12:return 8;default:return 0}}function i(e,t){var i,a,o=t.nextUInt16(),s=t.nextUInt16(),l=n(s),c=t.nextUInt32(),u=l*c;if(u>4&&(t=e.openWithOffset(t.nextUInt32())),2===s){i=t.nextString(c);var f=i.indexOf("\0");-1!==f&&(i=i.substr(0,f))}else if(7===s)i=t.nextBuffer(c);else if(0!==s)for(i=[],a=0;a<c;++a)i.push(r(s,t));return u<4&&t.skip(4-u),[o,i,s]}function a(e,t,r){var n,a,o=t.nextUInt16();for(a=0;a<o;++a)n=i(e,t),r(n[0],n[1],n[2])}function o(e){var t=e.nextString(6);if("Exif\0\0"!==t)throw new Error("Invalid EXIF header");var r=e.mark(),n=e.nextUInt16();if(18761===n)e.setBigEndian(!1);else{if(19789!==n)throw new Error("Invalid TIFF header");e.setBigEndian(!0)}if(42!==e.nextUInt16())throw new Error("Invalid TIFF data");return r}e.exports={IFD0:1,IFD1:2,GPSIFD:3,SubIFD:4,InteropIFD:5,parseTags:function(e,t){var r,n,i,s;try{r=o(e)}catch(g){return!1}var l=r.openWithOffset(e.nextUInt32()),c=this.IFD0;a(r,l,(function(e,r,a){switch(e){case 34853:i=r[0];break;case 34665:n=r[0];break;default:t(c,e,r,a);break}}));var u=l.nextUInt32();if(0!==u){var f=r.openWithOffset(u);a(r,f,t.bind(null,this.IFD1))}if(i){var h=r.openWithOffset(i);a(r,h,t.bind(null,this.GPSIFD))}if(n){var d=r.openWithOffset(n),p=this.InteropIFD;a(r,d,(function(e,r,n){40965===e?s=r[0]:t(p,e,r,n)}))}if(s){var m=r.openWithOffset(s);a(r,m,t.bind(null,this.InteropIFD))}return!0}}},"5a43":function(e,t){function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}e.exports=r},"5bc3":function(e,t){function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}e.exports=n},"5e1a":function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=r("8707").Buffer,a=r(8);function o(e,t,r){e.copy(t,r)}e.exports=function(){function e(){n(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";var t=this.head,r=""+t.data;while(t=t.next)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return i.alloc(0);if(1===this.length)return this.head.data;var t=i.allocUnsafe(e>>>0),r=this.head,n=0;while(r)o(r.data,t,n),n+=r.data.length,r=r.next;return t},e}(),a&&a.inspect&&a.inspect.custom&&(e.exports.prototype[a.inspect.custom]=function(){var e=a.inspect({length:this.length});return this.constructor.name+" "+e})},"5e2a":function(e,t,r){"use strict";var n=r("dbce");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var i=r("c2d7"),a=n(r("2c85")),o=n(r("324e"));function s(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=arguments.length>4?arguments[4]:void 0;if("function"===typeof n&&(s=n,n={}),!(e instanceof this.constructor))return i.throwError.call(this,"The source must be a Jimp image",s);if("number"!==typeof t||"number"!==typeof r)return i.throwError.call(this,"x and y must be numbers",s);var l=n,c=l.mode,u=l.opacitySource,f=l.opacityDest;c||(c=a.BLEND_SOURCE_OVER),("number"!==typeof u||u<0||u>1)&&(u=1),("number"!==typeof f||f<0||f>1)&&(f=1);var h=o[c];t=Math.round(t),r=Math.round(r);var d=this;return 1!==f&&d.opacity(f),e.scanQuiet(0,0,e.bitmap.width,e.bitmap.height,(function(e,n,i){var o=d.getPixelIndex(t+e,r+n,a.EDGE_CROP),s=h({r:this.bitmap.data[i+0]/255,g:this.bitmap.data[i+1]/255,b:this.bitmap.data[i+2]/255,a:this.bitmap.data[i+3]/255},{r:d.bitmap.data[o+0]/255,g:d.bitmap.data[o+1]/255,b:d.bitmap.data[o+2]/255,a:d.bitmap.data[o+3]/255},u);d.bitmap.data[o+0]=this.constructor.limit255(255*s.r),d.bitmap.data[o+1]=this.constructor.limit255(255*s.g),d.bitmap.data[o+2]=this.constructor.limit255(255*s.b),d.bitmap.data[o+3]=this.constructor.limit255(255*s.a)})),(0,i.isNodePattern)(s)&&s.call(this,null,this),this}},"618c":function(e,t,r){"use strict";(function(t){var n=r("ab33"),i=r("3372"),a=e.exports=function(e,t){this._options=e,e.checkCRC=!1!==e.checkCRC,this._hasIHDR=!1,this._hasIEND=!1,this._emittedHeadersFinished=!1,this._palette=[],this._colorType=0,this._chunks={},this._chunks[n.TYPE_IHDR]=this._handleIHDR.bind(this),this._chunks[n.TYPE_IEND]=this._handleIEND.bind(this),this._chunks[n.TYPE_IDAT]=this._handleIDAT.bind(this),this._chunks[n.TYPE_PLTE]=this._handlePLTE.bind(this),this._chunks[n.TYPE_tRNS]=this._handleTRNS.bind(this),this._chunks[n.TYPE_gAMA]=this._handleGAMA.bind(this),this.read=t.read,this.error=t.error,this.metadata=t.metadata,this.gamma=t.gamma,this.transColor=t.transColor,this.palette=t.palette,this.parsed=t.parsed,this.inflateData=t.inflateData,this.finished=t.finished,this.simpleTransparency=t.simpleTransparency,this.headersFinished=t.headersFinished||function(){}};a.prototype.start=function(){this.read(n.PNG_SIGNATURE.length,this._parseSignature.bind(this))},a.prototype._parseSignature=function(e){for(var t=n.PNG_SIGNATURE,r=0;r<t.length;r++)if(e[r]!==t[r])return void this.error(new Error("Invalid file signature"));this.read(8,this._parseChunkBegin.bind(this))},a.prototype._parseChunkBegin=function(e){for(var r=e.readUInt32BE(0),a=e.readUInt32BE(4),o="",s=4;s<8;s++)o+=String.fromCharCode(e[s]);var l=Boolean(32&e[4]);if(this._hasIHDR||a===n.TYPE_IHDR){if(this._crc=new i,this._crc.write(new t(o)),this._chunks[a])return this._chunks[a](r);l?this.read(r+4,this._skipChunk.bind(this)):this.error(new Error("Unsupported critical chunk type "+o))}else this.error(new Error("Expected IHDR on beggining"))},a.prototype._skipChunk=function(){this.read(8,this._parseChunkBegin.bind(this))},a.prototype._handleChunkEnd=function(){this.read(4,this._parseChunkEnd.bind(this))},a.prototype._parseChunkEnd=function(e){var t=e.readInt32BE(0),r=this._crc.crc32();this._options.checkCRC&&r!==t?this.error(new Error("Crc error - "+t+" - "+r)):this._hasIEND||this.read(8,this._parseChunkBegin.bind(this))},a.prototype._handleIHDR=function(e){this.read(e,this._parseIHDR.bind(this))},a.prototype._parseIHDR=function(e){this._crc.write(e);var t=e.readUInt32BE(0),r=e.readUInt32BE(4),i=e[8],a=e[9],o=e[10],s=e[11],l=e[12];if(8===i||4===i||2===i||1===i||16===i)if(a in n.COLORTYPE_TO_BPP_MAP)if(0===o)if(0===s)if(0===l||1===l){this._colorType=a;var c=n.COLORTYPE_TO_BPP_MAP[this._colorType];this._hasIHDR=!0,this.metadata({width:t,height:r,depth:i,interlace:Boolean(l),palette:Boolean(a&n.COLORTYPE_PALETTE),color:Boolean(a&n.COLORTYPE_COLOR),alpha:Boolean(a&n.COLORTYPE_ALPHA),bpp:c,colorType:a}),this._handleChunkEnd()}else this.error(new Error("Unsupported interlace method"));else this.error(new Error("Unsupported filter method"));else this.error(new Error("Unsupported compression method"));else this.error(new Error("Unsupported color type"));else this.error(new Error("Unsupported bit depth "+i))},a.prototype._handlePLTE=function(e){this.read(e,this._parsePLTE.bind(this))},a.prototype._parsePLTE=function(e){this._crc.write(e);for(var t=Math.floor(e.length/3),r=0;r<t;r++)this._palette.push([e[3*r],e[3*r+1],e[3*r+2],255]);this.palette(this._palette),this._handleChunkEnd()},a.prototype._handleTRNS=function(e){this.simpleTransparency(),this.read(e,this._parseTRNS.bind(this))},a.prototype._parseTRNS=function(e){if(this._crc.write(e),this._colorType===n.COLORTYPE_PALETTE_COLOR){if(0===this._palette.length)return void this.error(new Error("Transparency chunk must be after palette"));if(e.length>this._palette.length)return void this.error(new Error("More transparent colors than palette size"));for(var t=0;t<e.length;t++)this._palette[t][3]=e[t];this.palette(this._palette)}this._colorType===n.COLORTYPE_GRAYSCALE&&this.transColor([e.readUInt16BE(0)]),this._colorType===n.COLORTYPE_COLOR&&this.transColor([e.readUInt16BE(0),e.readUInt16BE(2),e.readUInt16BE(4)]),this._handleChunkEnd()},a.prototype._handleGAMA=function(e){this.read(e,this._parseGAMA.bind(this))},a.prototype._parseGAMA=function(e){this._crc.write(e),this.gamma(e.readUInt32BE(0)/n.GAMMA_DIVISION),this._handleChunkEnd()},a.prototype._handleIDAT=function(e){this._emittedHeadersFinished||(this._emittedHeadersFinished=!0,this.headersFinished()),this.read(-e,this._parseIDAT.bind(this,e))},a.prototype._parseIDAT=function(e,t){if(this._crc.write(t),this._colorType===n.COLORTYPE_PALETTE_COLOR&&0===this._palette.length)throw new Error("Expected palette not found");this.inflateData(t);var r=e-t.length;r>0?this._handleIDAT(r):this._handleChunkEnd()},a.prototype._handleIEND=function(e){this.read(e,this._parseIEND.bind(this))},a.prototype._parseIEND=function(e){this._crc.write(e),this._hasIEND=!0,this._handleChunkEnd(),this.finished&&this.finished()}}).call(this,r("b639").Buffer)},6205:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var n=r("c2d7"),i=function(){return{scale:function(e,t,r){if("number"!==typeof e)return n.throwError.call(this,"f must be a number",r);if(e<0)return n.throwError.call(this,"f must be a positive number",r);"function"===typeof t&&"undefined"===typeof r&&(r=t,t=null);var i=this.bitmap.width*e,a=this.bitmap.height*e;return this.resize(i,a,t),(0,n.isNodePattern)(r)&&r.call(this,null,this),this},scaleToFit:function(e,t,r,i){if("number"!==typeof e||"number"!==typeof t)return n.throwError.call(this,"w and h must be numbers",i);"function"===typeof r&&"undefined"===typeof i&&(i=r,r=null);var a=e/t>this.bitmap.width/this.bitmap.height?t/this.bitmap.height:e/this.bitmap.width;return this.scale(a,r),(0,n.isNodePattern)(i)&&i.call(this,null,this),this}}};t["default"]=i},"62e4":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},6444:function(e,t){var r=function(e){return e.replace(/^\s+|\s+$/g,"")},n=function(e){return"[object Array]"===Object.prototype.toString.call(e)};e.exports=function(e){if(!e)return{};for(var t={},i=r(e).split("\n"),a=0;a<i.length;a++){var o=i[a],s=o.indexOf(":"),l=r(o.slice(0,s)).toLowerCase(),c=r(o.slice(s+1));"undefined"===typeof t[l]?t[l]=c:n(t[l])?t[l].push(c):t[l]=[t[l],c]}return t}},6613:function(e,t,r){r("a630"),r("fb6a"),r("b0c0"),r("d3b7"),r("25f0"),r("3ca3");var n=r("5a43");function i(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}e.exports=i},"662d":function(e,t,r){"use strict";e.exports=function(e,t,r){var n=e+t-r,i=Math.abs(n-e),a=Math.abs(n-t),o=Math.abs(n-r);return i<=a&&i<=o?e:a<=o?t:r}},"66cb":function(e,t,r){var n;(function(i){var a=/^\s+/,o=/\s+$/,s=0,l=i.round,c=i.min,u=i.max,f=i.random;function h(e,t){if(e=e||"",t=t||{},e instanceof h)return e;if(!(this instanceof h))return new h(e,t);var r=d(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=l(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=r.ok,this._tc_id=s++}function d(e){var t={r:0,g:0,b:0},r=1,n=null,i=null,a=null,o=!1,s=!1;return"string"==typeof e&&(e=X(e)),"object"==typeof e&&(Y(e.r)&&Y(e.g)&&Y(e.b)?(t=p(e.r,e.g,e.b),o=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):Y(e.h)&&Y(e.s)&&Y(e.v)?(n=W(e.s),i=W(e.v),t=y(e.h,n,i),o=!0,s="hsv"):Y(e.h)&&Y(e.s)&&Y(e.l)&&(n=W(e.s),a=W(e.l),t=g(e.h,n,a),o=!0,s="hsl"),e.hasOwnProperty("a")&&(r=e.a)),r=D(r),{ok:o,format:e.format||s,r:c(255,u(t.r,0)),g:c(255,u(t.g,0)),b:c(255,u(t.b,0)),a:r}}function p(e,t,r){return{r:255*F(e,255),g:255*F(t,255),b:255*F(r,255)}}function m(e,t,r){e=F(e,255),t=F(t,255),r=F(r,255);var n,i,a=u(e,t,r),o=c(e,t,r),s=(a+o)/2;if(a==o)n=i=0;else{var l=a-o;switch(i=s>.5?l/(2-a-o):l/(a+o),a){case e:n=(t-r)/l+(t<r?6:0);break;case t:n=(r-e)/l+2;break;case r:n=(e-t)/l+4;break}n/=6}return{h:n,s:i,l:s}}function g(e,t,r){var n,i,a;function o(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=F(e,360),t=F(t,100),r=F(r,100),0===t)n=i=a=r;else{var s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;n=o(l,s,e+1/3),i=o(l,s,e),a=o(l,s,e-1/3)}return{r:255*n,g:255*i,b:255*a}}function b(e,t,r){e=F(e,255),t=F(t,255),r=F(r,255);var n,i,a=u(e,t,r),o=c(e,t,r),s=a,l=a-o;if(i=0===a?0:l/a,a==o)n=0;else{switch(a){case e:n=(t-r)/l+(t<r?6:0);break;case t:n=(r-e)/l+2;break;case r:n=(e-t)/l+4;break}n/=6}return{h:n,s:i,v:s}}function y(e,t,r){e=6*F(e,360),t=F(t,100),r=F(r,100);var n=i.floor(e),a=e-n,o=r*(1-t),s=r*(1-a*t),l=r*(1-(1-a)*t),c=n%6,u=[r,s,o,o,l,r][c],f=[l,r,r,s,o,o][c],h=[o,o,l,r,r,s][c];return{r:255*u,g:255*f,b:255*h}}function v(e,t,r,n){var i=[z(l(e).toString(16)),z(l(t).toString(16)),z(l(r).toString(16))];return n&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function _(e,t,r,n,i){var a=[z(l(e).toString(16)),z(l(t).toString(16)),z(l(r).toString(16)),z(V(n))];return i&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function w(e,t,r,n){var i=[z(V(n)),z(l(e).toString(16)),z(l(t).toString(16)),z(l(r).toString(16))];return i.join("")}function E(e,t){t=0===t?0:t||10;var r=h(e).toHsl();return r.s-=t/100,r.s=$(r.s),h(r)}function P(e,t){t=0===t?0:t||10;var r=h(e).toHsl();return r.s+=t/100,r.s=$(r.s),h(r)}function A(e){return h(e).desaturate(100)}function k(e,t){t=0===t?0:t||10;var r=h(e).toHsl();return r.l+=t/100,r.l=$(r.l),h(r)}function C(e,t){t=0===t?0:t||10;var r=h(e).toRgb();return r.r=u(0,c(255,r.r-l(-t/100*255))),r.g=u(0,c(255,r.g-l(-t/100*255))),r.b=u(0,c(255,r.b-l(-t/100*255))),h(r)}function S(e,t){t=0===t?0:t||10;var r=h(e).toHsl();return r.l-=t/100,r.l=$(r.l),h(r)}function I(e,t){var r=h(e).toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,h(r)}function B(e){var t=h(e).toHsl();return t.h=(t.h+180)%360,h(t)}function x(e){var t=h(e).toHsl(),r=t.h;return[h(e),h({h:(r+120)%360,s:t.s,l:t.l}),h({h:(r+240)%360,s:t.s,l:t.l})]}function T(e){var t=h(e).toHsl(),r=t.h;return[h(e),h({h:(r+90)%360,s:t.s,l:t.l}),h({h:(r+180)%360,s:t.s,l:t.l}),h({h:(r+270)%360,s:t.s,l:t.l})]}function R(e){var t=h(e).toHsl(),r=t.h;return[h(e),h({h:(r+72)%360,s:t.s,l:t.l}),h({h:(r+216)%360,s:t.s,l:t.l})]}function M(e,t,r){t=t||6,r=r||30;var n=h(e).toHsl(),i=360/r,a=[h(e)];for(n.h=(n.h-(i*t>>1)+720)%360;--t;)n.h=(n.h+i)%360,a.push(h(n));return a}function O(e,t){t=t||6;var r=h(e).toHsv(),n=r.h,i=r.s,a=r.v,o=[],s=1/t;while(t--)o.push(h({h:n,s:i,v:a})),a=(a+s)%1;return o}h.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n,a,o,s=this.toRgb();return e=s.r/255,t=s.g/255,r=s.b/255,n=e<=.03928?e/12.92:i.pow((e+.055)/1.055,2.4),a=t<=.03928?t/12.92:i.pow((t+.055)/1.055,2.4),o=r<=.03928?r/12.92:i.pow((r+.055)/1.055,2.4),.2126*n+.7152*a+.0722*o},setAlpha:function(e){return this._a=D(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=b(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=b(this._r,this._g,this._b),t=l(360*e.h),r=l(100*e.s),n=l(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=m(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=m(this._r,this._g,this._b),t=l(360*e.h),r=l(100*e.s),n=l(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return v(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return _(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*F(this._r,255))+"%",g:l(100*F(this._g,255))+"%",b:l(100*F(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*F(this._r,255))+"%, "+l(100*F(this._g,255))+"%, "+l(100*F(this._b,255))+"%)":"rgba("+l(100*F(this._r,255))+"%, "+l(100*F(this._g,255))+"%, "+l(100*F(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(U[v(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+w(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var i=h(e);r="#"+w(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0,i=!t&&n&&("hex"===e||"hex6"===e||"hex3"===e||"hex4"===e||"hex8"===e||"name"===e);return i?"name"===e&&0===this._a?this.toName():this.toRgbString():("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString())},clone:function(){return h(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(k,arguments)},brighten:function(){return this._applyModification(C,arguments)},darken:function(){return this._applyModification(S,arguments)},desaturate:function(){return this._applyModification(E,arguments)},saturate:function(){return this._applyModification(P,arguments)},greyscale:function(){return this._applyModification(A,arguments)},spin:function(){return this._applyModification(I,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(M,arguments)},complement:function(){return this._applyCombination(B,arguments)},monochromatic:function(){return this._applyCombination(O,arguments)},splitcomplement:function(){return this._applyCombination(R,arguments)},triad:function(){return this._applyCombination(x,arguments)},tetrad:function(){return this._applyCombination(T,arguments)}},h.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:W(e[n]));e=r}return h(e,t)},h.equals=function(e,t){return!(!e||!t)&&h(e).toRgbString()==h(t).toRgbString()},h.random=function(){return h.fromRatio({r:f(),g:f(),b:f()})},h.mix=function(e,t,r){r=0===r?0:r||50;var n=h(e).toRgb(),i=h(t).toRgb(),a=r/100,o={r:(i.r-n.r)*a+n.r,g:(i.g-n.g)*a+n.g,b:(i.b-n.b)*a+n.b,a:(i.a-n.a)*a+n.a};return h(o)},h.readability=function(e,t){var r=h(e),n=h(t);return(i.max(r.getLuminance(),n.getLuminance())+.05)/(i.min(r.getLuminance(),n.getLuminance())+.05)},h.isReadable=function(e,t,r){var n,i,a=h.readability(e,t);switch(i=!1,n=K(r),n.level+n.size){case"AAsmall":case"AAAlarge":i=a>=4.5;break;case"AAlarge":i=a>=3;break;case"AAAsmall":i=a>=7;break}return i},h.mostReadable=function(e,t,r){var n,i,a,o,s=null,l=0;r=r||{},i=r.includeFallbackColors,a=r.level,o=r.size;for(var c=0;c<t.length;c++)n=h.readability(e,t[c]),n>l&&(l=n,s=h(t[c]));return h.isReadable(e,s,{level:a,size:o})||!i?s:(r.includeFallbackColors=!1,h.mostReadable(e,["#fff","#000"],r))};var N=h.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},U=h.hexNames=L(N);function L(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}function D(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function F(e,t){j(e)&&(e="100%");var r=H(e);return e=c(t,u(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),i.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function $(e){return c(1,u(0,e))}function G(e){return parseInt(e,16)}function j(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)}function H(e){return"string"===typeof e&&-1!=e.indexOf("%")}function z(e){return 1==e.length?"0"+e:""+e}function W(e){return e<=1&&(e=100*e+"%"),e}function V(e){return i.round(255*parseFloat(e)).toString(16)}function q(e){return G(e)/255}var Z=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",r="(?:"+t+")|(?:"+e+")",n="[\\s|\\(]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")\\s*\\)?",i="[\\s|\\(]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")\\s*\\)?";return{CSS_UNIT:new RegExp(r),rgb:new RegExp("rgb"+n),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+n),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+n),hsva:new RegExp("hsva"+i),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function Y(e){return!!Z.CSS_UNIT.exec(e)}function X(e){e=e.replace(a,"").replace(o,"").toLowerCase();var t,r=!1;if(N[e])e=N[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=Z.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=Z.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=Z.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=Z.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=Z.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=Z.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=Z.hex8.exec(e))?{r:G(t[1]),g:G(t[2]),b:G(t[3]),a:q(t[4]),format:r?"name":"hex8"}:(t=Z.hex6.exec(e))?{r:G(t[1]),g:G(t[2]),b:G(t[3]),format:r?"name":"hex"}:(t=Z.hex4.exec(e))?{r:G(t[1]+""+t[1]),g:G(t[2]+""+t[2]),b:G(t[3]+""+t[3]),a:q(t[4]+""+t[4]),format:r?"name":"hex8"}:!!(t=Z.hex3.exec(e))&&{r:G(t[1]+""+t[1]),g:G(t[2]+""+t[2]),b:G(t[3]+""+t[3]),format:r?"name":"hex"}}function K(e){var t,r;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA"),"small"!==r&&"large"!==r&&(r="small"),{level:t,size:r}}e.exports?e.exports=h:(n=function(){return h}.call(t,r,t,e),void 0===n||(e.exports=n))})(Math)},"67ea":function(e,t,r){"use strict";(function(e){var n=r("dbce"),i=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.addConstants=z,t.addJimpMethods=W,t.jimpEvMethod=V,t.jimpEvChange=q,Object.defineProperty(t,"addType",{enumerable:!0,get:function(){return S.addType}}),t["default"]=void 0;for(var a=i(r("b17c")),o=i(r("278c")),s=i(r("970b")),l=i(r("5bc3")),c=i(r("6b58")),u=i(r("36c6")),f=i(r("3c96")),h=i(r("ed6d")),d=i(r("9523")),p=i(r("7037")),m=i(r("3e8f")),g=i(r("df7c")),b=i(r("faa1")),y=r("c2d7"),v=i(r("239f")),_=i(r("09ea")),w=i(r("eabd")),E=i(r("66cb")),P=i(r("b48f")),A=i(r("6c3b")),k=i(r("5e2a")),C=i(r("6b02")),S=n(r("eff9")),I=r("e687"),B=n(r("2c85")),x="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_",T=[NaN,NaN],R=2;R<65;R++){var M=(0,v["default"])(v["default"].BIN,x.slice(0,R))(new Array(65).join("1"));T.push(M.length)}function O(){}function N(e){return Object.prototype.toString.call(e).toLowerCase().indexOf("arraybuffer")>-1}function U(t){for(var r=e.alloc(t.byteLength),n=new Uint8Array(t),i=0;i<r.length;++i)r[i]=n[i];return r}function L(t,r){(0,A["default"])(t,(function(n,i,a){if(n)return r(n);if("headers"in i&&"location"in i.headers)return t.url=i.headers.location,L(t,r);if("object"===(0,p["default"])(a)&&e.isBuffer(a))return r(null,a);var o="Could not load Buffer from <"+t.url+"> (HTTP: "+i.statusCode+")";return new Error(o)}))}function D(e,t){m["default"]&&"function"===typeof m["default"].readFile&&!e.match(/^(http|ftp)s?:\/\/./)?m["default"].readFile(e,t):L({url:e},t)}function F(t){return t&&"object"===(0,p["default"])(t)&&"number"===typeof t.width&&"number"===typeof t.height&&(e.isBuffer(t.data)||t.data instanceof Uint8Array||"function"===typeof Uint8ClampedArray&&t.data instanceof Uint8ClampedArray)&&(t.data.length===t.width*t.height*4||t.data.length===t.width*t.height*3)}function $(t){if(t.length%3!==0)throw new Error("Buffer length is incorrect");for(var r=e.allocUnsafe(t.length/3*4),n=0,i=0;i<t.length;i++)r[n]=t[i],(i+1)%3===0&&(r[++n]=255),n++;return r}var G,j={data:null,width:null,height:null},H=function(t){function r(){for(var t,n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];(0,s["default"])(this,r),t=(0,c["default"])(this,(0,u["default"])(r).call(this)),(0,d["default"])((0,f["default"])(t),"bitmap",j),(0,d["default"])((0,f["default"])(t),"_background",0),(0,d["default"])((0,f["default"])(t),"_originalMime",r.MIME_PNG),(0,d["default"])((0,f["default"])(t),"_exif",null),(0,d["default"])((0,f["default"])(t),"_rgba",!0),(0,d["default"])((0,f["default"])(t),"writeAsync",(function(e){return(0,C["default"])(t.write,(0,f["default"])(t),e)})),(0,d["default"])((0,f["default"])(t),"getBase64Async",(function(e){return(0,C["default"])(t.getBase64,(0,f["default"])(t),e)})),(0,d["default"])((0,f["default"])(t),"getBuffer",I.getBuffer),(0,d["default"])((0,f["default"])(t),"getBufferAsync",I.getBufferAsync),(0,d["default"])((0,f["default"])(t),"getPixelColour",t.getPixelColor),(0,d["default"])((0,f["default"])(t),"setPixelColour",t.setPixelColor);var o=(0,f["default"])(t),l=O;function h(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0],i=n||{};i.methodName="constructor",setTimeout((function(){var e;n&&l===O?o.emitError("constructor",n):n||o.emitMulti("constructor","initialized"),(e=l).call.apply(e,[o].concat(t))}),1)}if(N(i[0])&&(i[0]=U(i[0])),"number"===typeof i[0]&&"number"===typeof i[1]||parseInt(i[0],10)&&parseInt(i[1],10)){var m=parseInt(i[0],10),g=parseInt(i[1],10);if(l=i[2],"number"===typeof i[2]&&(t._background=i[2],l=i[3]),"string"===typeof i[2]&&(t._background=r.cssColorToHex(i[2]),l=i[3]),"undefined"===typeof l&&(l=O),"function"!==typeof l)return(0,c["default"])(t,y.throwError.call((0,f["default"])(t),"cb must be a function",h));t.bitmap={data:e.alloc(m*g*4),width:m,height:g};for(var b=0;b<t.bitmap.data.length;b+=4)t.bitmap.data.writeUInt32BE(t._background,b);h(null,(0,f["default"])(t))}else if("object"===(0,p["default"])(i[0])&&i[0].url){if(l=i[1]||O,"function"!==typeof l)return(0,c["default"])(t,y.throwError.call((0,f["default"])(t),"cb must be a function",h));L(i[0],(function(e,r){if(e)return y.throwError.call((0,f["default"])(t),e,h);t.parseBitmap(r,i[0].url,h)}))}else if(i[0]instanceof r){var v=i[0];if(l=i[1],"undefined"===typeof l&&(l=O),"function"!==typeof l)return(0,c["default"])(t,y.throwError.call((0,f["default"])(t),"cb must be a function",h));t.bitmap={data:e.from(v.bitmap.data),width:v.bitmap.width,height:v.bitmap.height},t._quality=v._quality,t._deflateLevel=v._deflateLevel,t._deflateStrategy=v._deflateStrategy,t._filterType=v._filterType,t._rgba=v._rgba,t._background=v._background,t._originalMime=v._originalMime,h(null,(0,f["default"])(t))}else if(F(i[0])){var _=i[0];l=i[1]||O;var w=_.width*_.height*4===_.data.length,E=w?e.from(_.data):$(_.data);t.bitmap={data:E,width:_.width,height:_.height},h(null,(0,f["default"])(t))}else if("string"===typeof i[0]){var P=i[0];if(l=i[1],"undefined"===typeof l&&(l=O),"function"!==typeof l)return(0,c["default"])(t,y.throwError.call((0,f["default"])(t),"cb must be a function",h));D(P,(function(e,r){if(e)return y.throwError.call((0,f["default"])(t),e,h);t.parseBitmap(r,P,h)}))}else if("object"===(0,p["default"])(i[0])&&e.isBuffer(i[0])){var A=i[0];if(l=i[1],"function"!==typeof l)return(0,c["default"])(t,y.throwError.call((0,f["default"])(t),"cb must be a function",h));t.parseBitmap(A,null,h)}else{l=i[i.length-1],"function"!==typeof l&&(l=i[i.length-2],"function"!==typeof l&&(l=O));var k=r.__extraConstructors.find((function(e){return e.test.apply(e,i)}));if(!k)return(0,c["default"])(t,y.throwError.call((0,f["default"])(t),"No matching constructor overloading was found. Please see the docs for how to call the Jimp constructor.",h));new Promise((function(e,r){var n;return(n=k.run).call.apply(n,[(0,f["default"])(t),e,r].concat(i))})).then((function(){return h(null,(0,f["default"])(t))}))["catch"](h)}return t}return(0,h["default"])(r,t),(0,l["default"])(r,[{key:"parseBitmap",value:function(e,t,r){I.parseBitmap.call(this,e,null,r)}},{key:"rgba",value:function(e,t){return"boolean"!==typeof e?y.throwError.call(this,"bool must be a boolean, true for RGBA or false for RGB",t):(this._rgba=e,(0,y.isNodePattern)(t)&&t.call(this,null,this),this)}},{key:"emitMulti",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};r=Object.assign(r,{methodName:e,eventName:t}),this.emit("any",r),e&&this.emit(e,r),this.emit(t,r)}},{key:"emitError",value:function(e,t){this.emitMulti(e,"error",t)}},{key:"getHeight",value:function(){return this.bitmap.height}},{key:"getWidth",value:function(){return this.bitmap.width}},{key:"inspect",value:function(){return"<Jimp "+(this.bitmap===j?"pending...":this.bitmap.width+"x"+this.bitmap.height)+">"}},{key:"toString",value:function(){return"[object Jimp]"}},{key:"getMIME",value:function(){var e=this._originalMime||r.MIME_PNG;return e}},{key:"getExtension",value:function(){var e=this.getMIME();return S.getExtension(e)}},{key:"write",value:function(e,t){var r=this;if(!m["default"]||!m["default"].createWriteStream)throw new Error("Cant access the filesystem. You can use the getBase64 method.");if("string"!==typeof e)return y.throwError.call(this,"path must be a string",t);if("undefined"===typeof t&&(t=O),"function"!==typeof t)return y.throwError.call(this,"cb must be a function",t);var n=S.getType(e)||this.getMIME(),i=g["default"].parse(e);return i.dir&&_["default"].sync(i.dir),this.getBuffer(n,(function(n,i){if(n)return y.throwError.call(r,n,t);var a=m["default"].createWriteStream(e);a.on("open",(function(){a.write(i),a.end()})).on("error",(function(e){return y.throwError.call(r,e,t)})),a.on("finish",(function(){t.call(r,null,r)}))})),this}},{key:"getBase64",value:function(e,t){return e===r.AUTO&&(e=this.getMIME()),"string"!==typeof e?y.throwError.call(this,"mime must be a string",t):"function"!==typeof t?y.throwError.call(this,"cb must be a function",t):(this.getBuffer(e,(function(r,n){if(r)return y.throwError.call(this,r,t);var i="data:"+e+";base64,"+n.toString("base64");t.call(this,null,i)})),this)}},{key:"hash",value:function(e,t){if(e=e||64,"function"===typeof e&&(t=e,e=64),"number"!==typeof e)return y.throwError.call(this,"base must be a number",t);if(e<2||e>64)return y.throwError.call(this,"base must be a number between 2 and 64",t);var r=this.pHash();r=(0,v["default"])(v["default"].BIN,x.slice(0,e))(r);while(r.length<T[e])r="0"+r;return(0,y.isNodePattern)(t)&&t.call(this,null,r),r}},{key:"pHash",value:function(){var e=new P["default"];return e.getHash(this)}},{key:"distanceFromHash",value:function(e){var t=new P["default"],r=t.getHash(this);return t.distance(r,e)}},{key:"getPixelIndex",value:function(e,t,n,i){var a,o;if("function"===typeof n&&"undefined"===typeof i&&(i=n,n=null),n||(n=r.EDGE_EXTEND),"number"!==typeof e||"number"!==typeof t)return y.throwError.call(this,"x and y must be numbers",i);e=Math.round(e),t=Math.round(t),a=e,o=t,n===r.EDGE_EXTEND&&(e<0&&(a=0),e>=this.bitmap.width&&(a=this.bitmap.width-1),t<0&&(o=0),t>=this.bitmap.height&&(o=this.bitmap.height-1)),n===r.EDGE_WRAP&&(e<0&&(a=this.bitmap.width+e),e>=this.bitmap.width&&(a=e%this.bitmap.width),t<0&&(a=this.bitmap.height+t),t>=this.bitmap.height&&(o=t%this.bitmap.height));var s=this.bitmap.width*o+a<<2;return(a<0||a>=this.bitmap.width)&&(s=-1),(o<0||o>=this.bitmap.height)&&(s=-1),(0,y.isNodePattern)(i)&&i.call(this,null,s),s}},{key:"getPixelColor",value:function(e,t,r){if("number"!==typeof e||"number"!==typeof t)return y.throwError.call(this,"x and y must be numbers",r);e=Math.round(e),t=Math.round(t);var n=this.getPixelIndex(e,t),i=this.bitmap.data.readUInt32BE(n);return(0,y.isNodePattern)(r)&&r.call(this,null,i),i}},{key:"setPixelColor",value:function(e,t,r,n){if("number"!==typeof e||"number"!==typeof t||"number"!==typeof r)return y.throwError.call(this,"hex, x and y must be numbers",n);t=Math.round(t),r=Math.round(r);var i=this.getPixelIndex(t,r);return this.bitmap.data.writeUInt32BE(e,i),(0,y.isNodePattern)(n)&&n.call(this,null,this),this}},{key:"hasAlpha",value:function(){for(var e=0;e<this.bitmap.height;e++)for(var t=0;t<this.bitmap.width;t++){var r=this.bitmap.width*e+t<<2,n=this.bitmap.data[r+3];if(255!==n)return!0}return!1}},{key:"scanIterator",value:function(e,t,r,n){return"number"!==typeof e||"number"!==typeof t?y.throwError.call(this,"x and y must be numbers"):"number"!==typeof r||"number"!==typeof n?y.throwError.call(this,"w and h must be numbers"):(0,y.scanIterator)(this,e,t,r,n)}}]),r}(b["default"]);function z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:H;Object.entries(e).forEach((function(e){var r=(0,o["default"])(e,2),n=r[0],i=r[1];t[n]=i}))}function W(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:H;Object.entries(e).forEach((function(e){var r=(0,o["default"])(e,2),n=r[0],i=r[1];t.prototype[n]=i}))}function V(e,t,r){var n="before-"+t,i=t.replace(/e$/,"")+"ed";H.prototype[e]=function(){for(var t,a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];var l,c=o[r.length-1],u=this;"function"===typeof c?(t=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var a=r[0],o=r[1];a?u.emitError(e,a):u.emitMulti(e,i,(0,d["default"])({},e,o)),c.apply(this,r)},o[o.length-1]=t):t=!1,this.emitMulti(e,n);try{l=r.apply(this,o),t||this.emitMulti(e,i,(0,d["default"])({},e,l))}catch(f){f.methodName=e,this.emitError(e,f)}return l},H.prototype[e+"Quiet"]=r}function q(e,t){V(e,"change",t)}(z(B),W({composite:k["default"]}),H.__extraConstructors=[],H.appendConstructorOption=function(e,t,r){H.__extraConstructors.push({name:e,test:t,run:r})},H.read=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return new Promise((function(e,r){(0,a["default"])(H,t.concat([function(t,n){t?r(t):e(n)}]))}))},H.create=H.read,H.rgbaToInt=function(e,t,r,n,i){if("number"!==typeof e||"number"!==typeof t||"number"!==typeof r||"number"!==typeof n)return y.throwError.call(this,"r, g, b and a must be numbers",i);if(e<0||e>255)return y.throwError.call(this,"r must be between 0 and 255",i);if((t<0||t>255)&&y.throwError.call(this,"g must be between 0 and 255",i),r<0||r>255)return y.throwError.call(this,"b must be between 0 and 255",i);if(n<0||n>255)return y.throwError.call(this,"a must be between 0 and 255",i);e=Math.round(e),r=Math.round(r),t=Math.round(t),n=Math.round(n);var a=e*Math.pow(256,3)+t*Math.pow(256,2)+r*Math.pow(256,1)+n*Math.pow(256,0);return(0,y.isNodePattern)(i)&&i.call(this,null,a),a},H.intToRGBA=function(e,t){if("number"!==typeof e)return y.throwError.call(this,"i must be a number",t);var r={};return r.r=Math.floor(e/Math.pow(256,3)),r.g=Math.floor((e-r.r*Math.pow(256,3))/Math.pow(256,2)),r.b=Math.floor((e-r.r*Math.pow(256,3)-r.g*Math.pow(256,2))/Math.pow(256,1)),r.a=Math.floor((e-r.r*Math.pow(256,3)-r.g*Math.pow(256,2)-r.b*Math.pow(256,1))/Math.pow(256,0)),(0,y.isNodePattern)(t)&&t.call(this,null,r),r},H.cssColorToHex=function(e){return e=e||0,"number"===typeof e?Number(e):parseInt((0,E["default"])(e).toHex8(),16)},H.limit255=function(e){return e=Math.max(e,0),e=Math.min(e,255),e},H.diff=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.1;if(!(e instanceof H)||!(t instanceof H))return y.throwError.call(this,"img1 and img2 must be an Jimp images");var n=e.bitmap,i=t.bitmap;if(n.width===i.width&&n.height===i.height||(n.width*n.height>i.width*i.height?e=e.cloneQuiet().resize(i.width,i.height):t=t.cloneQuiet().resize(n.width,n.height)),"number"!==typeof r||r<0||r>1)return y.throwError.call(this,"threshold must be a number between 0 and 1");var a=new H(n.width,n.height,4294967295),o=(0,w["default"])(n.data,i.data,a.bitmap.data,a.bitmap.width,a.bitmap.height,{threshold:r});return{percent:o/(a.bitmap.width*a.bitmap.height),image:a}},H.distance=function(e,t){var r=new P["default"],n=r.getHash(e),i=r.getHash(t);return r.distance(n,i)},H.compareHashes=function(e,t){var r=new P["default"];return r.distance(e,t)},H.colorDiff=function(e,t){var r=function(e){return Math.pow(e,2)},n=Math.max,i=195075;return 0===e.a||e.a||(e.a=255),0===t.a||t.a||(t.a=255),(n(r(e.r-t.r),r(e.r-t.r-e.a+t.a))+n(r(e.g-t.g),r(e.g-t.g-e.a+t.a))+n(r(e.b-t.b),r(e.b-t.b-e.a+t.a)))/i},V("clone","clone",(function(e){var t=new H(this);return(0,y.isNodePattern)(e)&&e.call(t,null,t),t})),q("background",(function(e,t){return"number"!==typeof e?y.throwError.call(this,"hex must be a hexadecimal rgba value",t):(this._background=e,(0,y.isNodePattern)(t)&&t.call(this,null,this),this)})),q("scan",(function(e,t,r,n,i,a){if("number"!==typeof e||"number"!==typeof t)return y.throwError.call(this,"x and y must be numbers",a);if("number"!==typeof r||"number"!==typeof n)return y.throwError.call(this,"w and h must be numbers",a);if("function"!==typeof i)return y.throwError.call(this,"f must be a function",a);var o=(0,y.scan)(this,e,t,r,n,i);return(0,y.isNodePattern)(a)&&a.call(this,null,o),o})),"BROWSER"===Object({NODE_ENV:"production",VUE_APP_LANGUAGE_KEY:"en",VUE_APP_NEW_COMPANY:"false",VUE_APP_VERSION:"6.3.1",BASE_URL:"./"}).ENVIRONMENT)&&("undefined"!==typeof window&&"object"===("undefined"===typeof window?"undefined":(0,p["default"])(window))&&(G=window),"undefined"!==typeof self&&"object"===("undefined"===typeof self?"undefined":(0,p["default"])(self))&&(G=self),G.Jimp=H,G.Buffer=e);var Z=H;t["default"]=Z}).call(this,r("b639").Buffer)},6825:function(e,t,r){"use strict";function n(e,t,r,n,i,a,o){this.widthOriginal=Math.abs(Math.floor(e)||0),this.heightOriginal=Math.abs(Math.floor(t)||0),this.targetWidth=Math.abs(Math.floor(r)||0),this.targetHeight=Math.abs(Math.floor(n)||0),this.colorChannels=i?4:3,this.interpolationPass=Boolean(a),this.resizeCallback="function"===typeof o?o:function(){},this.targetWidthMultipliedByChannels=this.targetWidth*this.colorChannels,this.originalWidthMultipliedByChannels=this.widthOriginal*this.colorChannels,this.originalHeightMultipliedByChannels=this.heightOriginal*this.colorChannels,this.widthPassResultSize=this.targetWidthMultipliedByChannels*this.heightOriginal,this.finalResultSize=this.targetWidthMultipliedByChannels*this.targetHeight,this.initialize()}n.prototype.initialize=function(){if(!(this.widthOriginal>0&&this.heightOriginal>0&&this.targetWidth>0&&this.targetHeight>0))throw new Error("Invalid settings specified for the resizer.");this.configurePasses()},n.prototype.configurePasses=function(){this.widthOriginal===this.targetWidth?this.resizeWidth=this.bypassResizer:(this.ratioWeightWidthPass=this.widthOriginal/this.targetWidth,this.ratioWeightWidthPass<1&&this.interpolationPass?(this.initializeFirstPassBuffers(!0),this.resizeWidth=4===this.colorChannels?this.resizeWidthInterpolatedRGBA:this.resizeWidthInterpolatedRGB):(this.initializeFirstPassBuffers(!1),this.resizeWidth=4===this.colorChannels?this.resizeWidthRGBA:this.resizeWidthRGB)),this.heightOriginal===this.targetHeight?this.resizeHeight=this.bypassResizer:(this.ratioWeightHeightPass=this.heightOriginal/this.targetHeight,this.ratioWeightHeightPass<1&&this.interpolationPass?(this.initializeSecondPassBuffers(!0),this.resizeHeight=this.resizeHeightInterpolated):(this.initializeSecondPassBuffers(!1),this.resizeHeight=4===this.colorChannels?this.resizeHeightRGBA:this.resizeHeightRGB))},n.prototype._resizeWidthInterpolatedRGBChannels=function(e,t){var r,n,i=t?4:3,a=this.ratioWeightWidthPass,o=this.widthBuffer,s=0,l=0,c=0,u=0,f=0;for(r=0;s<1/3;r+=i,s+=a)for(l=r,c=0;l<this.widthPassResultSize;c+=this.originalWidthMultipliedByChannels,l+=this.targetWidthMultipliedByChannels)o[l]=e[c],o[l+1]=e[c+1],o[l+2]=e[c+2],t&&(o[l+3]=e[c+3]);for(s-=1/3,n=this.widthOriginal-1;s<n;r+=i,s+=a)for(f=s%1,u=1-f,l=r,c=Math.floor(s)*i;l<this.widthPassResultSize;c+=this.originalWidthMultipliedByChannels,l+=this.targetWidthMultipliedByChannels)o[l+0]=e[c+0]*u+e[c+i+0]*f,o[l+1]=e[c+1]*u+e[c+i+1]*f,o[l+2]=e[c+2]*u+e[c+i+2]*f,t&&(o[l+3]=e[c+3]*u+e[c+i+3]*f);for(n=this.originalWidthMultipliedByChannels-i;r<this.targetWidthMultipliedByChannels;r+=i)for(l=r,c=n;l<this.widthPassResultSize;c+=this.originalWidthMultipliedByChannels,l+=this.targetWidthMultipliedByChannels)o[l]=e[c],o[l+1]=e[c+1],o[l+2]=e[c+2],t&&(o[l+3]=e[c+3]);return o},n.prototype._resizeWidthRGBChannels=function(e,t){var r=t?4:3,n=this.ratioWeightWidthPass,i=1/n,a=this.originalWidthMultipliedByChannels-r+1,o=this.targetWidthMultipliedByChannels-r+1,s=this.outputWidthWorkBench,l=this.widthBuffer,c=this.outputWidthWorkBenchOpaquePixelsCount,u=0,f=0,h=0,d=0,p=0,m=0,g=0,b=1,y=0,v=0,_=0,w=0;do{for(p=0;p<this.originalHeightMultipliedByChannels;)s[p++]=0,s[p++]=0,s[p++]=0,t&&(s[p++]=0,c[p/r-1]=0);u=n;do{for(f=1+h-d,b=Math.min(u,f),p=0,m=h;p<this.originalHeightMultipliedByChannels;m+=a)y=e[m],v=e[++m],_=e[++m],w=t?e[++m]:255,s[p++]+=(w?y:0)*b,s[p++]+=(w?v:0)*b,s[p++]+=(w?_:0)*b,t&&(s[p++]+=w*b,c[p/r-1]+=w?b:0);if(!(u>=f)){d+=u;break}h+=r,d=h,u-=f}while(u>0&&h<this.originalWidthMultipliedByChannels);for(p=0,m=g;p<this.originalHeightMultipliedByChannels;m+=o)u=t?c[p/r]:1,b=t?u?1/u:0:i,l[m]=s[p++]*b,l[++m]=s[p++]*b,l[++m]=s[p++]*b,t&&(l[++m]=s[p++]*i);g+=r}while(g<this.targetWidthMultipliedByChannels);return l},n.prototype._resizeHeightRGBChannels=function(e,t){var r=this.ratioWeightHeightPass,n=1/r,i=this.outputHeightWorkBench,a=this.heightBuffer,o=this.outputHeightWorkBenchOpaquePixelsCount,s=0,l=0,c=0,u=0,f=0,h=0,d=0,p=1,m=0,g=0,b=0,y=0;do{for(f=0;f<this.targetWidthMultipliedByChannels;)i[f++]=0,i[f++]=0,i[f++]=0,t&&(i[f++]=0,o[f/4-1]=0);s=r;do{for(l=1+c-u,p=Math.min(s,l),d=c,f=0;f<this.targetWidthMultipliedByChannels;)m=e[d++],g=e[d++],b=e[d++],y=t?e[d++]:255,i[f++]+=(y?m:0)*p,i[f++]+=(y?g:0)*p,i[f++]+=(y?b:0)*p,t&&(i[f++]+=y*p,o[f/4-1]+=y?p:0);if(!(s>=l)){u+=s;break}c=d,u=c,s-=l}while(s>0&&c<this.widthPassResultSize);for(f=0;f<this.targetWidthMultipliedByChannels;)s=t?o[f/4]:1,p=t?s?1/s:0:n,a[h++]=Math.round(i[f++]*p),a[h++]=Math.round(i[f++]*p),a[h++]=Math.round(i[f++]*p),t&&(a[h++]=Math.round(i[f++]*n))}while(h<this.finalResultSize);return a},n.prototype.resizeWidthInterpolatedRGB=function(e){return this._resizeWidthInterpolatedRGBChannels(e,!1)},n.prototype.resizeWidthInterpolatedRGBA=function(e){return this._resizeWidthInterpolatedRGBChannels(e,!0)},n.prototype.resizeWidthRGB=function(e){return this._resizeWidthRGBChannels(e,!1)},n.prototype.resizeWidthRGBA=function(e){return this._resizeWidthRGBChannels(e,!0)},n.prototype.resizeHeightInterpolated=function(e){for(var t,r=this.ratioWeightHeightPass,n=this.heightBuffer,i=0,a=0,o=0,s=0,l=0,c=0,u=0;i<1/3;i+=r)for(o=0;o<this.targetWidthMultipliedByChannels;)n[a++]=Math.round(e[o++]);for(i-=1/3,t=this.heightOriginal-1;i<t;i+=r)for(u=i%1,c=1-u,s=Math.floor(i)*this.targetWidthMultipliedByChannels,l=s+this.targetWidthMultipliedByChannels,o=0;o<this.targetWidthMultipliedByChannels;++o)n[a++]=Math.round(e[s++]*c+e[l++]*u);while(a<this.finalResultSize)for(o=0,s=t*this.targetWidthMultipliedByChannels;o<this.targetWidthMultipliedByChannels;++o)n[a++]=Math.round(e[s++]);return n},n.prototype.resizeHeightRGB=function(e){return this._resizeHeightRGBChannels(e,!1)},n.prototype.resizeHeightRGBA=function(e){return this._resizeHeightRGBChannels(e,!0)},n.prototype.resize=function(e){this.resizeCallback(this.resizeHeight(this.resizeWidth(e)))},n.prototype.bypassResizer=function(e){return e},n.prototype.initializeFirstPassBuffers=function(e){this.widthBuffer=this.generateFloatBuffer(this.widthPassResultSize),e||(this.outputWidthWorkBench=this.generateFloatBuffer(this.originalHeightMultipliedByChannels),this.colorChannels>3&&(this.outputWidthWorkBenchOpaquePixelsCount=this.generateFloat64Buffer(this.heightOriginal)))},n.prototype.initializeSecondPassBuffers=function(e){this.heightBuffer=this.generateUint8Buffer(this.finalResultSize),e||(this.outputHeightWorkBench=this.generateFloatBuffer(this.targetWidthMultipliedByChannels),this.colorChannels>3&&(this.outputHeightWorkBenchOpaquePixelsCount=this.generateFloat64Buffer(this.targetWidth)))},n.prototype.generateFloatBuffer=function(e){try{return new Float32Array(e)}catch(t){return[]}},n.prototype.generateFloat64Buffer=function(e){try{return new Float64Array(e)}catch(t){return[]}},n.prototype.generateUint8Buffer=function(e){try{return new Uint8Array(e)}catch(t){return[]}},e.exports=n},6853:function(e,t,r){"use strict";var n=r("be7fe"),i=15,a=852,o=592,s=0,l=1,c=2,u=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],f=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],h=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],d=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(e,t,r,p,m,g,b,y){var v,_,w,E,P,A,k,C,S,I=y.bits,B=0,x=0,T=0,R=0,M=0,O=0,N=0,U=0,L=0,D=0,F=null,$=0,G=new n.Buf16(i+1),j=new n.Buf16(i+1),H=null,z=0;for(B=0;B<=i;B++)G[B]=0;for(x=0;x<p;x++)G[t[r+x]]++;for(M=I,R=i;R>=1;R--)if(0!==G[R])break;if(M>R&&(M=R),0===R)return m[g++]=20971520,m[g++]=20971520,y.bits=1,0;for(T=1;T<R;T++)if(0!==G[T])break;for(M<T&&(M=T),U=1,B=1;B<=i;B++)if(U<<=1,U-=G[B],U<0)return-1;if(U>0&&(e===s||1!==R))return-1;for(j[1]=0,B=1;B<i;B++)j[B+1]=j[B]+G[B];for(x=0;x<p;x++)0!==t[r+x]&&(b[j[t[r+x]]++]=x);if(e===s?(F=H=b,A=19):e===l?(F=u,$-=257,H=f,z-=257,A=256):(F=h,H=d,A=-1),D=0,x=0,B=T,P=g,O=M,N=0,w=-1,L=1<<M,E=L-1,e===l&&L>a||e===c&&L>o)return 1;for(;;){k=B-N,b[x]<A?(C=0,S=b[x]):b[x]>A?(C=H[z+b[x]],S=F[$+b[x]]):(C=96,S=0),v=1<<B-N,_=1<<O,T=_;do{_-=v,m[P+(D>>N)+_]=k<<24|C<<16|S|0}while(0!==_);v=1<<B-1;while(D&v)v>>=1;if(0!==v?(D&=v-1,D+=v):D=0,x++,0===--G[B]){if(B===R)break;B=t[r+b[x]]}if(B>M&&(D&E)!==w){0===N&&(N=M),P+=T,O=B-N,U=1<<O;while(O+N<R){if(U-=G[O+N],U<=0)break;O++,U<<=1}if(L+=1<<O,e===l&&L>a||e===c&&L>o)return 1;w=D&E,m[w]=M<<24|O<<16|P-g|0}}return 0!==D&&(m[P+D]=B-N<<24|64<<16|0),y.bits=M,0}},"6a8e":function(e,t,r){(function(t){var r=function(){"use strict";var e=new Int32Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]),t=4017,r=799,n=3406,i=2276,a=1567,o=3784,s=5793,l=2896;function c(){}function u(e,t){var r,n,i=0,a=[],o=16;while(o>0&&!e[o-1])o--;a.push({children:[],index:0});var s,l=a[0];for(r=0;r<o;r++){for(n=0;n<e[r];n++){l=a.pop(),l.children[l.index]=t[i];while(l.index>0){if(0===a.length)throw new Error("Could not recreate Huffman Table");l=a.pop()}l.index++,a.push(l);while(a.length<=r)a.push(s={children:[],index:0}),l.children[l.index]=s.children,l=s;i++}r+1<o&&(a.push(s={children:[],index:0}),l.children[l.index]=s.children,l=s)}return a[0].children}function f(t,r,n,i,a,o,s,l,c,u){n.precision,n.samplesPerLine,n.scanLines;var f=n.mcusPerLine,h=n.progressive,d=(n.maxH,n.maxV,r),p=0,m=0;function g(){if(m>0)return m--,p>>m&1;if(p=t[r++],255==p){var e=t[r++];if(e)throw new Error("unexpected marker: "+(p<<8|e).toString(16))}return m=7,p>>>7}function b(e){var t,r=e;while(null!==(t=g())){if(r=r[t],"number"===typeof r)return r;if("object"!==typeof r)throw new Error("invalid huffman sequence")}return null}function y(e){var t=0;while(e>0){var r=g();if(null===r)return;t=t<<1|r,e--}return t}function v(e){var t=y(e);return t>=1<<e-1?t:t+(-1<<e)+1}function _(t,r){var n=b(t.huffmanTableDC),i=0===n?0:v(n);r[0]=t.pred+=i;var a=1;while(a<64){var o=b(t.huffmanTableAC),s=15&o,l=o>>4;if(0!==s){a+=l;var c=e[a];r[c]=v(s),a++}else{if(l<15)break;a+=16}}}function w(e,t){var r=b(e.huffmanTableDC),n=0===r?0:v(r)<<c;t[0]=e.pred+=n}function E(e,t){t[0]|=g()<<c}var P=0;function A(t,r){if(P>0)P--;else{var n=o,i=s;while(n<=i){var a=b(t.huffmanTableAC),l=15&a,u=a>>4;if(0!==l){n+=u;var f=e[n];r[f]=v(l)*(1<<c),n++}else{if(u<15){P=y(u)+(1<<u)-1;break}n+=16}}}}var k,C=0;function S(t,r){var n=o,i=s,a=0;while(n<=i){var l=e[n],u=r[l]<0?-1:1;switch(C){case 0:var f=b(t.huffmanTableAC),h=15&f;a=f>>4;if(0===h)a<15?(P=y(a)+(1<<a),C=4):(a=16,C=1);else{if(1!==h)throw new Error("invalid ACn encoding");k=v(h),C=a?2:3}continue;case 1:case 2:r[l]?r[l]+=(g()<<c)*u:(a--,0===a&&(C=2==C?3:0));break;case 3:r[l]?r[l]+=(g()<<c)*u:(r[l]=k<<c,C=0);break;case 4:r[l]&&(r[l]+=(g()<<c)*u);break}n++}4===C&&(P--,0===P&&(C=0))}function I(e,t,r,n,i){var a=r/f|0,o=r%f,s=a*e.v+n,l=o*e.h+i;void 0===e.blocks[s]&&u.tolerantDecoding||t(e,e.blocks[s][l])}function B(e,t,r){var n=r/e.blocksPerLine|0,i=r%e.blocksPerLine;void 0===e.blocks[n]&&u.tolerantDecoding||t(e,e.blocks[n][i])}var x,T,R,M,O,N,U=i.length;N=h?0===o?0===l?w:E:0===l?A:S:_;var L,D,F,$,G=0;D=1==U?i[0].blocksPerLine*i[0].blocksPerColumn:f*n.mcusPerColumn,a||(a=D);while(G<D){for(T=0;T<U;T++)i[T].pred=0;if(P=0,1==U)for(x=i[0],O=0;O<a;O++)B(x,N,G),G++;else for(O=0;O<a;O++){for(T=0;T<U;T++)for(x=i[T],F=x.h,$=x.v,R=0;R<$;R++)for(M=0;M<F;M++)I(x,N,G,R,M);if(G++,G===D)break}if(G===D)do{if(255===t[r]&&0!==t[r+1])break;r+=1}while(r<t.length-2);if(m=0,L=t[r]<<8|t[r+1],L<65280)throw new Error("marker was not found");if(!(L>=65488&&L<=65495))break;r+=2}return r-d}function h(e,c){var u,f,h=[],d=c.blocksPerLine,p=c.blocksPerColumn,m=d<<3,b=new Int32Array(64),y=new Uint8Array(64);function v(e,u,f){var h,d,p,m,g,b,y,v,_,w,E=c.quantizationTable,P=f;for(w=0;w<64;w++)P[w]=e[w]*E[w];for(w=0;w<8;++w){var A=8*w;0!=P[1+A]||0!=P[2+A]||0!=P[3+A]||0!=P[4+A]||0!=P[5+A]||0!=P[6+A]||0!=P[7+A]?(h=s*P[0+A]+128>>8,d=s*P[4+A]+128>>8,p=P[2+A],m=P[6+A],g=l*(P[1+A]-P[7+A])+128>>8,v=l*(P[1+A]+P[7+A])+128>>8,b=P[3+A]<<4,y=P[5+A]<<4,_=h-d+1>>1,h=h+d+1>>1,d=_,_=p*o+m*a+128>>8,p=p*a-m*o+128>>8,m=_,_=g-y+1>>1,g=g+y+1>>1,y=_,_=v+b+1>>1,b=v-b+1>>1,v=_,_=h-m+1>>1,h=h+m+1>>1,m=_,_=d-p+1>>1,d=d+p+1>>1,p=_,_=g*i+v*n+2048>>12,g=g*n-v*i+2048>>12,v=_,_=b*r+y*t+2048>>12,b=b*t-y*r+2048>>12,y=_,P[0+A]=h+v,P[7+A]=h-v,P[1+A]=d+y,P[6+A]=d-y,P[2+A]=p+b,P[5+A]=p-b,P[3+A]=m+g,P[4+A]=m-g):(_=s*P[0+A]+512>>10,P[0+A]=_,P[1+A]=_,P[2+A]=_,P[3+A]=_,P[4+A]=_,P[5+A]=_,P[6+A]=_,P[7+A]=_)}for(w=0;w<8;++w){var k=w;0!=P[8+k]||0!=P[16+k]||0!=P[24+k]||0!=P[32+k]||0!=P[40+k]||0!=P[48+k]||0!=P[56+k]?(h=s*P[0+k]+2048>>12,d=s*P[32+k]+2048>>12,p=P[16+k],m=P[48+k],g=l*(P[8+k]-P[56+k])+2048>>12,v=l*(P[8+k]+P[56+k])+2048>>12,b=P[24+k],y=P[40+k],_=h-d+1>>1,h=h+d+1>>1,d=_,_=p*o+m*a+2048>>12,p=p*a-m*o+2048>>12,m=_,_=g-y+1>>1,g=g+y+1>>1,y=_,_=v+b+1>>1,b=v-b+1>>1,v=_,_=h-m+1>>1,h=h+m+1>>1,m=_,_=d-p+1>>1,d=d+p+1>>1,p=_,_=g*i+v*n+2048>>12,g=g*n-v*i+2048>>12,v=_,_=b*r+y*t+2048>>12,b=b*t-y*r+2048>>12,y=_,P[0+k]=h+v,P[56+k]=h-v,P[8+k]=d+y,P[48+k]=d-y,P[16+k]=p+b,P[40+k]=p-b,P[24+k]=m+g,P[32+k]=m-g):(_=s*f[w+0]+8192>>14,P[0+k]=_,P[8+k]=_,P[16+k]=_,P[24+k]=_,P[32+k]=_,P[40+k]=_,P[48+k]=_,P[56+k]=_)}for(w=0;w<64;++w){var C=128+(P[w]+8>>4);u[w]=C<0?0:C>255?255:C}}g(m*p*8);for(var _=0;_<p;_++){var w=_<<3;for(u=0;u<8;u++)h.push(new Uint8Array(m));for(var E=0;E<d;E++){v(c.blocks[_][E],y,b);var P=0,A=E<<3;for(f=0;f<8;f++){var k=h[w+f];for(u=0;u<8;u++)k[A+u]=y[P++]}}}return h}function d(e){return e<0?0:e>255?255:e}c.prototype={load:function(e){var t=new XMLHttpRequest;t.open("GET",e,!0),t.responseType="arraybuffer",t.onload=function(){var e=new Uint8Array(t.response||t.mozResponseArrayBuffer);this.parse(e),this.onload&&this.onload()}.bind(this),t.send(null)},parse:function(t){var r=1e3*this.opts.maxResolutionInMP*1e3,n=0;t.length;function i(){var e=t[n]<<8|t[n+1];return n+=2,e}function a(){var e=i(),r=t.subarray(n,n+e-2);return n+=r.length,r}function o(e){var t,r,n=1,i=1;for(r in e.components)e.components.hasOwnProperty(r)&&(t=e.components[r],n<t.h&&(n=t.h),i<t.v&&(i=t.v));var a=Math.ceil(e.samplesPerLine/8/n),o=Math.ceil(e.scanLines/8/i);for(r in e.components)if(e.components.hasOwnProperty(r)){t=e.components[r];var s=Math.ceil(Math.ceil(e.samplesPerLine/8)*t.h/n),l=Math.ceil(Math.ceil(e.scanLines/8)*t.v/i),c=a*t.h,u=o*t.v,f=u*c,h=[];g(256*f);for(var d=0;d<u;d++){for(var p=[],m=0;m<c;m++)p.push(new Int32Array(64));h.push(p)}t.blocksPerLine=s,t.blocksPerColumn=l,t.blocks=h}e.maxH=n,e.maxV=i,e.mcusPerLine=a,e.mcusPerColumn=o}var s,l,c=null,d=null,p=[],m=[],b=[],y=[],v=i(),_=-1;if(this.comments=[],65496!=v)throw new Error("SOI not found");v=i();while(65497!=v){switch(v){case 65280:break;case 65504:case 65505:case 65506:case 65507:case 65508:case 65509:case 65510:case 65511:case 65512:case 65513:case 65514:case 65515:case 65516:case 65517:case 65518:case 65519:case 65534:var w=a();if(65534===v){var E=String.fromCharCode.apply(null,w);this.comments.push(E)}65504===v&&74===w[0]&&70===w[1]&&73===w[2]&&70===w[3]&&0===w[4]&&(c={version:{major:w[5],minor:w[6]},densityUnits:w[7],xDensity:w[8]<<8|w[9],yDensity:w[10]<<8|w[11],thumbWidth:w[12],thumbHeight:w[13],thumbData:w.subarray(14,14+3*w[12]*w[13])}),65505===v&&69===w[0]&&120===w[1]&&105===w[2]&&102===w[3]&&0===w[4]&&(this.exifBuffer=w.subarray(5,w.length)),65518===v&&65===w[0]&&100===w[1]&&111===w[2]&&98===w[3]&&101===w[4]&&0===w[5]&&(d={version:w[6],flags0:w[7]<<8|w[8],flags1:w[9]<<8|w[10],transformCode:w[11]});break;case 65499:var P=i(),A=P+n-2;while(n<A){var k=t[n++];g(256);var C=new Int32Array(64);if(k>>4===0)for(Y=0;Y<64;Y++){var S=e[Y];C[S]=t[n++]}else{if(k>>4!==1)throw new Error("DQT: invalid table spec");for(Y=0;Y<64;Y++){S=e[Y];C[S]=i()}}p[15&k]=C}break;case 65472:case 65473:case 65474:i(),s={},s.extended=65473===v,s.progressive=65474===v,s.precision=t[n++],s.scanLines=i(),s.samplesPerLine=i(),s.components={},s.componentsOrder=[];var I=s.scanLines*s.samplesPerLine;if(I>r){var B=Math.ceil((I-r)/1e6);throw new Error(`maxResolutionInMP limit exceeded by ${B}MP`)}var x,T=t[n++];for(q=0;q<T;q++){x=t[n];var R=t[n+1]>>4,M=15&t[n+1],O=t[n+2];if(R<=0||M<=0)throw new Error("Invalid sampling factor, expected values above 0");s.componentsOrder.push(x),s.components[x]={h:R,v:M,quantizationIdx:O},n+=3}o(s),m.push(s);break;case 65476:var N=i();for(q=2;q<N;){var U=t[n++],L=new Uint8Array(16),D=0;for(Y=0;Y<16;Y++,n++)D+=L[Y]=t[n];g(16+D);var F=new Uint8Array(D);for(Y=0;Y<D;Y++,n++)F[Y]=t[n];q+=17+D,(U>>4===0?y:b)[15&U]=u(L,F)}break;case 65501:i(),l=i();break;case 65500:i(),i();break;case 65498:i();var $=t[n++],G=[];for(q=0;q<$;q++){X=s.components[t[n++]];var j=t[n++];X.huffmanTableDC=y[j>>4],X.huffmanTableAC=b[15&j],G.push(X)}var H=t[n++],z=t[n++],W=t[n++],V=f(t,n,s,G,l,H,z,W>>4,15&W,this.opts);n+=V;break;case 65535:255!==t[n]&&n--;break;default:if(255==t[n-3]&&t[n-2]>=192&&t[n-2]<=254){n-=3;break}if(224===v||225==v){if(-1!==_)throw new Error(`first unknown JPEG marker at offset ${_.toString(16)}, second unknown JPEG marker ${v.toString(16)} at offset ${(n-1).toString(16)}`);_=n-1;const e=i();if(255===t[n+e-2]){n+=e-2;break}}throw new Error("unknown JPEG marker "+v.toString(16))}v=i()}if(1!=m.length)throw new Error("only single frame JPEGs supported");for(var q=0;q<m.length;q++){var Z=m[q].components;for(var Y in Z)Z[Y].quantizationTable=p[Z[Y].quantizationIdx],delete Z[Y].quantizationIdx}this.width=s.samplesPerLine,this.height=s.scanLines,this.jfif=c,this.adobe=d,this.components=[];for(q=0;q<s.componentsOrder.length;q++){var X=s.components[s.componentsOrder[q]];this.components.push({lines:h(s,X),scaleX:X.h/s.maxH,scaleY:X.v/s.maxV})}},getData:function(e,t){var r,n,i,a,o,s,l,c,u,f,h,p,m,b,y,v,_,w,E,P,A,k=this.width/e,C=this.height/t,S=0,I=e*t*this.components.length;g(I);var B=new Uint8Array(I);switch(this.components.length){case 1:for(r=this.components[0],f=0;f<t;f++)for(o=r.lines[0|f*r.scaleY*C],u=0;u<e;u++)h=o[0|u*r.scaleX*k],B[S++]=h;break;case 2:for(r=this.components[0],n=this.components[1],f=0;f<t;f++)for(o=r.lines[0|f*r.scaleY*C],s=n.lines[0|f*n.scaleY*C],u=0;u<e;u++)h=o[0|u*r.scaleX*k],B[S++]=h,h=s[0|u*n.scaleX*k],B[S++]=h;break;case 3:for(A=!0,this.adobe&&this.adobe.transformCode?A=!0:"undefined"!==typeof this.opts.colorTransform&&(A=!!this.opts.colorTransform),r=this.components[0],n=this.components[1],i=this.components[2],f=0;f<t;f++)for(o=r.lines[0|f*r.scaleY*C],s=n.lines[0|f*n.scaleY*C],l=i.lines[0|f*i.scaleY*C],u=0;u<e;u++)A?(h=o[0|u*r.scaleX*k],p=s[0|u*n.scaleX*k],m=l[0|u*i.scaleX*k],w=d(h+1.402*(m-128)),E=d(h-.3441363*(p-128)-.71413636*(m-128)),P=d(h+1.772*(p-128))):(w=o[0|u*r.scaleX*k],E=s[0|u*n.scaleX*k],P=l[0|u*i.scaleX*k]),B[S++]=w,B[S++]=E,B[S++]=P;break;case 4:if(!this.adobe)throw new Error("Unsupported color mode (4 components)");for(A=!1,this.adobe&&this.adobe.transformCode?A=!0:"undefined"!==typeof this.opts.colorTransform&&(A=!!this.opts.colorTransform),r=this.components[0],n=this.components[1],i=this.components[2],a=this.components[3],f=0;f<t;f++)for(o=r.lines[0|f*r.scaleY*C],s=n.lines[0|f*n.scaleY*C],l=i.lines[0|f*i.scaleY*C],c=a.lines[0|f*a.scaleY*C],u=0;u<e;u++)A?(h=o[0|u*r.scaleX*k],p=s[0|u*n.scaleX*k],m=l[0|u*i.scaleX*k],b=c[0|u*a.scaleX*k],y=255-d(h+1.402*(m-128)),v=255-d(h-.3441363*(p-128)-.71413636*(m-128)),_=255-d(h+1.772*(p-128))):(y=o[0|u*r.scaleX*k],v=s[0|u*n.scaleX*k],_=l[0|u*i.scaleX*k],b=c[0|u*a.scaleX*k]),B[S++]=255-y,B[S++]=255-v,B[S++]=255-_,B[S++]=255-b;break;default:throw new Error("Unsupported color mode")}return B},copyToImageData:function(e,t){var r,n,i,a,o,s,l,c,u,f=e.width,h=e.height,p=e.data,m=this.getData(f,h),g=0,b=0;switch(this.components.length){case 1:for(n=0;n<h;n++)for(r=0;r<f;r++)i=m[g++],p[b++]=i,p[b++]=i,p[b++]=i,t&&(p[b++]=255);break;case 3:for(n=0;n<h;n++)for(r=0;r<f;r++)l=m[g++],c=m[g++],u=m[g++],p[b++]=l,p[b++]=c,p[b++]=u,t&&(p[b++]=255);break;case 4:for(n=0;n<h;n++)for(r=0;r<f;r++)o=m[g++],s=m[g++],i=m[g++],a=m[g++],l=255-d(o*(1-a/255)+a),c=255-d(s*(1-a/255)+a),u=255-d(i*(1-a/255)+a),p[b++]=l,p[b++]=c,p[b++]=u,t&&(p[b++]=255);break;default:throw new Error("Unsupported color mode")}}};var p=0,m=0;function g(e=0){var t=p+e;if(t>m){var r=Math.ceil((t-m)/1024/1024);throw new Error(`maxMemoryUsageInMB limit exceeded by at least ${r}MB`)}p=t}return c.resetMaxMemoryUsage=function(e){p=0,m=e},c.getBytesAllocated=function(){return p},c.requestMemoryAllocation=g,c}();function n(e,n={}){var i={colorTransform:void 0,useTArray:!1,formatAsRGBA:!0,tolerantDecoding:!0,maxResolutionInMP:100,maxMemoryUsageInMB:512},a={...i,...n},o=new Uint8Array(e),s=new r;s.opts=a,r.resetMaxMemoryUsage(1024*a.maxMemoryUsageInMB*1024),s.parse(o);var l=a.formatAsRGBA?4:3,c=s.width*s.height*l;try{r.requestMemoryAllocation(c);var u={width:s.width,height:s.height,exifBuffer:s.exifBuffer,data:a.useTArray?new Uint8Array(c):t.alloc(c)};s.comments.length>0&&(u["comments"]=s.comments)}catch(f){if(f instanceof RangeError)throw new Error("Could not allocate enough memory for the image. Required: "+c);if(f instanceof ReferenceError&&"Buffer is not defined"===f.message)throw new Error("Buffer is not globally defined in this environment. Consider setting useTArray to true");throw f}return s.copyToImageData(u,a.formatAsRGBA),u}e.exports=n}).call(this,r("b639").Buffer)},"6b02":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var n=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];return new Promise((function(r,i){n.push((function(e,t){e&&i(e),r(t)})),e.bind(t).apply(void 0,n)}))},i=n;t["default"]=i},"6b53":function(e,t,r){var n=r("5879"),i=r("eadb"),a=[{section:n.GPSIFD,type:2,name:"GPSLatitude",refType:1,refName:"GPSLatitudeRef",posVal:"N"},{section:n.GPSIFD,type:4,name:"GPSLongitude",refType:3,refName:"GPSLongitudeRef",posVal:"E"}],o=[{section:n.SubIFD,type:306,name:"ModifyDate"},{section:n.SubIFD,type:36867,name:"DateTimeOriginal"},{section:n.SubIFD,type:36868,name:"CreateDate"},{section:n.SubIFD,type:306,name:"ModifyDate"}];e.exports={castDegreeValues:function(e,t){a.forEach((function(r){var n=e(r);if(n){var i=e({section:r.section,type:r.refType,name:r.refName}),a=i===r.posVal?1:-1,o=(n[0]+n[1]/60+n[2]/3600)*a;t(r,o)}}))},castDateValues:function(e,t){o.forEach((function(r){var n=e(r);if(n){var a=i.parseExifDate(n);"undefined"!==typeof a&&t(r,a)}}))},simplifyValue:function(e,t){return Array.isArray(e)&&(e=e.map((function(e){return 10===t||5===t?e[0]/e[1]:e})),1===e.length&&(e=e[0])),e}}},"6b58":function(e,t,r){var n=r("7037"),i=r("3c96");function a(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?i(e):t}e.exports=a},"6b75":function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,"a",(function(){return n}))},"6b75e":function(e,t,r){"use strict";(function(e,n){var i=r("f654"),a=r("8936"),o=r("a177"),s=r("9e6e"),l=r("2ceb");for(var c in l)t[c]=l[c];t.NONE=0,t.DEFLATE=1,t.INFLATE=2,t.GZIP=3,t.GUNZIP=4,t.DEFLATERAW=5,t.INFLATERAW=6,t.UNZIP=7;var u=31,f=139;function h(e){if("number"!==typeof e||e<t.DEFLATE||e>t.UNZIP)throw new TypeError("Bad argument");this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=e,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}h.prototype.close=function(){this.write_in_progress?this.pending_close=!0:(this.pending_close=!1,i(this.init_done,"close before init"),i(this.mode<=t.UNZIP),this.mode===t.DEFLATE||this.mode===t.GZIP||this.mode===t.DEFLATERAW?o.deflateEnd(this.strm):this.mode!==t.INFLATE&&this.mode!==t.GUNZIP&&this.mode!==t.INFLATERAW&&this.mode!==t.UNZIP||s.inflateEnd(this.strm),this.mode=t.NONE,this.dictionary=null)},h.prototype.write=function(e,t,r,n,i,a,o){return this._write(!0,e,t,r,n,i,a,o)},h.prototype.writeSync=function(e,t,r,n,i,a,o){return this._write(!1,e,t,r,n,i,a,o)},h.prototype._write=function(r,a,o,s,l,c,u,f){if(i.equal(arguments.length,8),i(this.init_done,"write before init"),i(this.mode!==t.NONE,"already finalized"),i.equal(!1,this.write_in_progress,"write already in progress"),i.equal(!1,this.pending_close,"close is pending"),this.write_in_progress=!0,i.equal(!1,void 0===a,"must provide flush value"),this.write_in_progress=!0,a!==t.Z_NO_FLUSH&&a!==t.Z_PARTIAL_FLUSH&&a!==t.Z_SYNC_FLUSH&&a!==t.Z_FULL_FLUSH&&a!==t.Z_FINISH&&a!==t.Z_BLOCK)throw new Error("Invalid flush value");if(null==o&&(o=e.alloc(0),l=0,s=0),this.strm.avail_in=l,this.strm.input=o,this.strm.next_in=s,this.strm.avail_out=f,this.strm.output=c,this.strm.next_out=u,this.flush=a,!r)return this._process(),this._checkError()?this._afterSync():void 0;var h=this;return n.nextTick((function(){h._process(),h._after()})),this},h.prototype._afterSync=function(){var e=this.strm.avail_out,t=this.strm.avail_in;return this.write_in_progress=!1,[t,e]},h.prototype._process=function(){var e=null;switch(this.mode){case t.DEFLATE:case t.GZIP:case t.DEFLATERAW:this.err=o.deflate(this.strm,this.flush);break;case t.UNZIP:switch(this.strm.avail_in>0&&(e=this.strm.next_in),this.gzip_id_bytes_read){case 0:if(null===e)break;if(this.strm.input[e]!==u){this.mode=t.INFLATE;break}if(this.gzip_id_bytes_read=1,e++,1===this.strm.avail_in)break;case 1:if(null===e)break;this.strm.input[e]===f?(this.gzip_id_bytes_read=2,this.mode=t.GUNZIP):this.mode=t.INFLATE;break;default:throw new Error("invalid number of gzip magic number bytes read")}case t.INFLATE:case t.GUNZIP:case t.INFLATERAW:this.err=s.inflate(this.strm,this.flush),this.err===t.Z_NEED_DICT&&this.dictionary&&(this.err=s.inflateSetDictionary(this.strm,this.dictionary),this.err===t.Z_OK?this.err=s.inflate(this.strm,this.flush):this.err===t.Z_DATA_ERROR&&(this.err=t.Z_NEED_DICT));while(this.strm.avail_in>0&&this.mode===t.GUNZIP&&this.err===t.Z_STREAM_END&&0!==this.strm.next_in[0])this.reset(),this.err=s.inflate(this.strm,this.flush);break;default:throw new Error("Unknown mode "+this.mode)}},h.prototype._checkError=function(){switch(this.err){case t.Z_OK:case t.Z_BUF_ERROR:if(0!==this.strm.avail_out&&this.flush===t.Z_FINISH)return this._error("unexpected end of file"),!1;break;case t.Z_STREAM_END:break;case t.Z_NEED_DICT:return null==this.dictionary?this._error("Missing dictionary"):this._error("Bad dictionary"),!1;default:return this._error("Zlib error"),!1}return!0},h.prototype._after=function(){if(this._checkError()){var e=this.strm.avail_out,t=this.strm.avail_in;this.write_in_progress=!1,this.callback(t,e),this.pending_close&&this.close()}},h.prototype._error=function(e){this.strm.msg&&(e=this.strm.msg),this.onerror(e,this.err),this.write_in_progress=!1,this.pending_close&&this.close()},h.prototype.init=function(e,r,n,a,o){i(4===arguments.length||5===arguments.length,"init(windowBits, level, memLevel, strategy, [dictionary])"),i(e>=8&&e<=15,"invalid windowBits"),i(r>=-1&&r<=9,"invalid compression level"),i(n>=1&&n<=9,"invalid memlevel"),i(a===t.Z_FILTERED||a===t.Z_HUFFMAN_ONLY||a===t.Z_RLE||a===t.Z_FIXED||a===t.Z_DEFAULT_STRATEGY,"invalid strategy"),this._init(r,e,n,a,o),this._setDictionary()},h.prototype.params=function(){throw new Error("deflateParams Not supported")},h.prototype.reset=function(){this._reset(),this._setDictionary()},h.prototype._init=function(e,r,n,i,l){switch(this.level=e,this.windowBits=r,this.memLevel=n,this.strategy=i,this.flush=t.Z_NO_FLUSH,this.err=t.Z_OK,this.mode!==t.GZIP&&this.mode!==t.GUNZIP||(this.windowBits+=16),this.mode===t.UNZIP&&(this.windowBits+=32),this.mode!==t.DEFLATERAW&&this.mode!==t.INFLATERAW||(this.windowBits=-1*this.windowBits),this.strm=new a,this.mode){case t.DEFLATE:case t.GZIP:case t.DEFLATERAW:this.err=o.deflateInit2(this.strm,this.level,t.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case t.INFLATE:case t.GUNZIP:case t.INFLATERAW:case t.UNZIP:this.err=s.inflateInit2(this.strm,this.windowBits);break;default:throw new Error("Unknown mode "+this.mode)}this.err!==t.Z_OK&&this._error("Init error"),this.dictionary=l,this.write_in_progress=!1,this.init_done=!0},h.prototype._setDictionary=function(){if(null!=this.dictionary){switch(this.err=t.Z_OK,this.mode){case t.DEFLATE:case t.DEFLATERAW:this.err=o.deflateSetDictionary(this.strm,this.dictionary);break;default:break}this.err!==t.Z_OK&&this._error("Failed to set dictionary")}},h.prototype._reset=function(){switch(this.err=t.Z_OK,this.mode){case t.DEFLATE:case t.DEFLATERAW:case t.GZIP:this.err=o.deflateReset(this.strm);break;case t.INFLATE:case t.INFLATERAW:case t.GUNZIP:this.err=s.inflateReset(this.strm);break;default:break}this.err!==t.Z_OK&&this._error("Failed to reset stream")},t.Zlib=h}).call(this,r("b639").Buffer,r("4362"))},"6c3b":function(e,t,r){"use strict";(function(t,n){var i=r("4ea4"),a=i(r("9523")),o=i(r("a559"));function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(r,!0).forEach((function(t){(0,a["default"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}t.browser||"BROWSER"===Object({NODE_ENV:"production",VUE_APP_LANGUAGE_KEY:"en",VUE_APP_NEW_COMPANY:"false",VUE_APP_VERSION:"6.3.1",BASE_URL:"./"}).ENVIRONMENT||"undefined"!==typeof t.versions.electron&&"renderer"===t.type&&"function"===typeof XMLHttpRequest?e.exports=function(e,t){var r=new XMLHttpRequest;r.open("GET",e.url,!0),r.responseType="arraybuffer",r.addEventListener("load",(function(){if(r.status<400)try{var i=n.from(this.response);t(null,r,i)}catch(a){return t(new Error("Response is not a buffer for url "+e.url+". Error: "+a.message))}else t(new Error("HTTP Status "+r.status+" for url "+e.url))})),r.addEventListener("error",(function(e){t(e)})),r.send()}:e.exports=function(e,t){var n=(0,o["default"])({},e),i=r("77ff");i(l({compression:!0},n),(function(e,r){null===e?t(null,r,r.body):t(e)}))}}).call(this,r("4362"),r("b639").Buffer)},"6eb7":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=n(r("9523")),a=n(r("eed2")),o=r("c2d7"),s="image/jpeg",l=function(){return{mime:(0,i["default"])({},s,["jpeg","jpg","jpe"]),constants:{MIME_JPEG:s},decoders:(0,i["default"])({},s,a["default"].decode),encoders:(0,i["default"])({},s,(function(e){return a["default"].encode(e.bitmap,e._quality).data})),class:{_quality:100,quality:function(e,t){return"number"!==typeof e?o.throwError.call(this,"n must be a number",t):e<0||e>100?o.throwError.call(this,"n must be a number 0 - 100",t):(this._quality=Math.round(e),(0,o.isNodePattern)(t)&&t.call(this,null,this),this)}}}};t["default"]=l},"6ec1":function(e,t,r){"use strict";(function(t){e.exports={nearestNeighbor:function(e,t){for(var r=e.width,n=e.height,i=t.width,a=t.height,o=e.data,s=t.data,l=0;l<a;l++)for(var c=0;c<i;c++){var u=4*(l*i+c),f=Math.floor(l*n/a),h=Math.floor(c*r/i),d=4*(f*r+h);s[u++]=o[d++],s[u++]=o[d++],s[u++]=o[d++],s[u++]=o[d++]}},bilinearInterpolation:function(e,t){for(var r=e.width,n=e.height,i=t.width,a=t.height,o=e.data,s=t.data,l=function(e,t,r,n,i){return t===n?r:Math.round((e-t)*i+(n-e)*r)},c=function(e,t,n,i,a,c,u,f){var h=4*(u*r+i)+t,d=4*(u*r+a)+t,p=l(n,i,o[h],a,o[d]);if(f===u)s[e+t]=p;else{h=4*(f*r+i)+t,d=4*(f*r+a)+t;var m=l(n,i,o[h],a,o[d]);s[e+t]=l(c,u,p,f,m)}},u=0;u<a;u++)for(var f=0;f<i;f++){var h=4*(u*i+f),d=f*r/i,p=Math.floor(d),m=Math.min(Math.ceil(d),r-1),g=u*n/a,b=Math.floor(g),y=Math.min(Math.ceil(g),n-1);c(h,0,d,p,m,g,b,y),c(h,1,d,p,m,g,b,y),c(h,2,d,p,m,g,b,y),c(h,3,d,p,m,g,b,y)}},_interpolate2D:function(e,r,n,i){for(var a=e.data,o=r.data,s=e.width,l=e.height,c=r.width,u=r.height,f=Math.max(1,Math.floor(s/c)),h=c*f,d=Math.max(1,Math.floor(l/u)),p=u*d,m=t.alloc(h*l*4),g=0;g<l;g++)for(var b=0;b<h;b++)for(var y=b*(s-1)/h,v=Math.floor(y),_=y-v,w=4*(g*s+v),E=4*(g*h+b),P=0;P<4;P++){var A=w+P,k=v>0?a[A-4]:2*a[A]-a[A+4],C=a[A],S=a[A+4],I=v<s-2?a[A+8]:2*a[A+4]-a[A];m[E+P]=i(k,C,S,I,_)}for(var B=t.alloc(h*p*4),x=0;x<p;x++)for(var T=0;T<h;T++)for(var R=x*(l-1)/p,M=Math.floor(R),O=R-M,N=4*(M*h+T),U=4*(x*h+T),L=0;L<4;L++){var D=N+L,F=M>0?m[D-4*h]:2*m[D]-m[D+4*h],$=m[D],G=m[D+4*h],j=M<l-2?m[D+8*h]:2*m[D+4*h]-m[D];B[U+L]=i(F,$,G,j,O)}var H=f*d;if(H>1)for(var z=0;z<u;z++)for(var W=0;W<c;W++){for(var V=0,q=0,Z=0,Y=0,X=0,K=0;K<d;K++)for(var Q=z*d+K,J=0;J<f;J++){var ee=W*f+J,te=4*(Q*h+ee),re=B[te+3];re&&(V+=B[te],q+=B[te+1],Z+=B[te+2],X++),Y+=re}var ne=4*(z*c+W);o[ne]=X?Math.round(V/X):0,o[ne+1]=X?Math.round(q/X):0,o[ne+2]=X?Math.round(Z/X):0,o[ne+3]=Math.round(Y/H)}else r.data=B},bicubicInterpolation:function(e,t,r){var n=function(e,t,r,n,i){var a=n-r-e+t,o=e-t-a,s=r-e,l=t;return Math.max(0,Math.min(255,a*(i*i*i)+o*(i*i)+s*i+l))};return this._interpolate2D(e,t,r,n)},hermiteInterpolation:function(e,t,r){var n=function(e,t,r,n,i){var a=t,o=.5*(r-e),s=e-2.5*t+2*r-.5*n,l=.5*(n-e)+1.5*(t-r);return Math.max(0,Math.min(255,Math.round(((l*i+s)*i+o)*i+a)))};return this._interpolate2D(e,t,r,n)},bezierInterpolation:function(e,t,r){var n=function(e,t,r,n,i){var a=t+(r-e)/4,o=r-(n-t)/4,s=1-i,l=t*s*s*s,c=3*a*s*s*i,u=3*o*s*i*i,f=r*i*i*i;return Math.max(0,Math.min(255,Math.round(l+c+u+f)))};return this._interpolate2D(e,t,r,n)}}}).call(this,r("b639").Buffer)},"6f8f":function(e,t,r){function n(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}r("d3b7"),r("4ae1"),r("25f0"),e.exports=n},7:function(e,t){},7037:function(e,t,r){function n(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}r("a4d3"),r("e01a"),r("d28b"),r("d3b7"),r("3ca3"),r("ddb0"),e.exports=n},"717e":function(e,t,r){"use strict";var n=r("9e6e"),i=r("be7fe"),a=r("7b27"),o=r("2ceb"),s=r("4dc6"),l=r("8936"),c=r("8013"),u=Object.prototype.toString;function f(e){if(!(this instanceof f))return new f(e);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0===(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,t.windowBits);if(r!==o.Z_OK)throw new Error(s[r]);if(this.header=new c,n.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"===typeof t.dictionary?t.dictionary=a.string2buf(t.dictionary):"[object ArrayBuffer]"===u.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=n.inflateSetDictionary(this.strm,t.dictionary),r!==o.Z_OK)))throw new Error(s[r])}function h(e,t){var r=new f(t);if(r.push(e,!0),r.err)throw r.msg||s[r.err];return r.result}function d(e,t){return t=t||{},t.raw=!0,h(e,t)}f.prototype.push=function(e,t){var r,s,l,c,f,h=this.strm,d=this.options.chunkSize,p=this.options.dictionary,m=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?o.Z_FINISH:o.Z_NO_FLUSH,"string"===typeof e?h.input=a.binstring2buf(e):"[object ArrayBuffer]"===u.call(e)?h.input=new Uint8Array(e):h.input=e,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new i.Buf8(d),h.next_out=0,h.avail_out=d),r=n.inflate(h,o.Z_NO_FLUSH),r===o.Z_NEED_DICT&&p&&(r=n.inflateSetDictionary(this.strm,p)),r===o.Z_BUF_ERROR&&!0===m&&(r=o.Z_OK,m=!1),r!==o.Z_STREAM_END&&r!==o.Z_OK)return this.onEnd(r),this.ended=!0,!1;h.next_out&&(0!==h.avail_out&&r!==o.Z_STREAM_END&&(0!==h.avail_in||s!==o.Z_FINISH&&s!==o.Z_SYNC_FLUSH)||("string"===this.options.to?(l=a.utf8border(h.output,h.next_out),c=h.next_out-l,f=a.buf2string(h.output,l),h.next_out=c,h.avail_out=d-c,c&&i.arraySet(h.output,h.output,l,c,0),this.onData(f)):this.onData(i.shrinkBuf(h.output,h.next_out)))),0===h.avail_in&&0===h.avail_out&&(m=!0)}while((h.avail_in>0||0===h.avail_out)&&r!==o.Z_STREAM_END);return r===o.Z_STREAM_END&&(s=o.Z_FINISH),s===o.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===o.Z_OK):s!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),h.avail_out=0,!0)},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){e===o.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Inflate=f,t.inflate=h,t.inflateRaw=d,t.ungzip=h},7181:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=n(r("448a")),a=r("ca3d"),o=n(r("f2a4")),s=n(r("445d")),l=n(r("8d59")),c=n(r("2090")),u=n(r("3cf2")),f=n(r("27cc")),h=n(r("8b10")),d=n(r("07a0")),p=n(r("3cbc")),m=n(r("d177")),g=n(r("e8b2")),b=n(r("1717")),y=n(r("754c")),v=n(r("dc2b")),_=n(r("35dd")),w=n(r("f282")),E=n(r("d576")),P=n(r("2105")),A=n(r("6205")),k=n(r("1147")),C=n(r("21b4")),S=[o["default"],s["default"],l["default"],c["default"],u["default"],f["default"],h["default"],d["default"],p["default"],m["default"],g["default"],b["default"],y["default"],v["default"],_["default"],w["default"],E["default"],P["default"],A["default"],k["default"],C["default"]],I=function(e){var t=S.map((function(t){var r=t(e)||{};return r["class"]||r.constants||(r={class:r}),r}));return a.mergeDeep.apply(void 0,(0,i["default"])(t))};t["default"]=I},7262:function(e,t,r){(function(t){(function(){var n,i={};function a(){"undefined"==typeof t&&console.log.apply(console,arguments)}e.exports=i,n=r("d7ac"),function(e,t){(function(){var t="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},r=function(){function e(e){this.message="JPEG error: "+e}return e.prototype=Error(),e.prototype.name="JpegError",e.constructor=e}(),n=function(){function e(e,t){this.message=e,this.g=t}return e.prototype=Error(),e.prototype.name="DNLMarkerError",e.constructor=e}();(function(){function i(){this.M=null,this.B=-1}function a(e,t){for(var r,n,i=0,a=[],o=16;0<o&&!e[o-1];)o--;a.push({children:[],index:0});var s,l=a[0];for(r=0;r<o;r++){for(n=0;n<e[r];n++){for(l=a.pop(),l.children[l.index]=t[i];0<l.index;)l=a.pop();for(l.index++,a.push(l);a.length<=r;)a.push(s={children:[],index:0}),l.children[l.index]=s.children,l=s;i++}r+1<o&&(a.push(s={children:[],index:0}),l.children[l.index]=s.children,l=s)}return a[0].children}function o(e,i,a,o,s,u,f,h,d){function p(){if(0<O)return O--,M>>O&1;if(M=e[i++],255===M){var t=e[i++];if(t){if(220===t&&x){i+=2;var o=e[i++]<<8|e[i++];if(0<o&&o!==a.g)throw new n("Found DNL marker (0xFFDC) while parsing scan data",o)}throw new r("unexpected marker "+(M<<8|t).toString(16))}}return O=7,M>>>7}function m(e){for(;;){if(e=e[p()],"number"===typeof e)return e;if("object"!==("undefined"===typeof e?"undefined":t(e)))throw new r("invalid huffman sequence")}}function g(e){for(var t=0;0<e;)t=t<<1|p(),e--;return t}function b(e){if(1===e)return 1===p()?1:-1;var t=g(e);return t>=1<<e-1?t:t+(-1<<e)+1}function y(e,t){var r=m(e.D);for(r=0===r?0:b(r),e.a[t]=e.m+=r,r=1;64>r;){var n=m(e.o),i=15&n;if(n>>=4,0===i){if(15>n)break;r+=16}else r+=n,e.a[t+c[r]]=b(i),r++}}function v(e,t){var r=m(e.D);r=0===r?0:b(r)<<d,e.a[t]=e.m+=r}function _(e,t){e.a[t]|=p()<<d}function w(e,t){if(0<N)N--;else for(var r=u;r<=f;){var n=m(e.o),i=15&n;if(n>>=4,0===i){if(15>n){N=g(n)+(1<<n)-1;break}r+=16}else r+=n,e.a[t+c[r]]=b(i)*(1<<d),r++}}function E(e,t){for(var n,i=u,a=0;i<=f;){n=t+c[i];var o=0>e.a[n]?-1:1;switch(U){case 0:if(a=m(e.o),n=15&a,a>>=4,0===n)15>a?(N=g(a)+(1<<a),U=4):(a=16,U=1);else{if(1!==n)throw new r("invalid ACn encoding");P=b(n),U=a?2:3}continue;case 1:case 2:e.a[n]?e.a[n]+=o*(p()<<d):(a--,0===a&&(U=2===U?3:0));break;case 3:e.a[n]?e.a[n]+=o*(p()<<d):(e.a[n]=P<<d,U=0);break;case 4:e.a[n]&&(e.a[n]+=o*(p()<<d))}i++}4===U&&(N--,0===N&&(U=0))}for(var P,A,k,C,S,I,B,x=9<arguments.length&&void 0!==arguments[9]&&arguments[9],T=a.P,R=i,M=0,O=0,N=0,U=0,L=o.length,D=a.S?0===u?0===h?v:_:0===h?w:E:y,F=0,$=1===L?o[0].c*o[0].l:T*a.O;F<$;){var G=s?Math.min($-F,s):$;for(A=0;A<L;A++)o[A].m=0;if(N=0,1===L){var j=o[0];for(S=0;S<G;S++)D(j,64*((j.c+1)*(F/j.c|0)+F%j.c)),F++}else for(S=0;S<G;S++){for(A=0;A<L;A++)for(j=o[A],I=j.h,B=j.j,k=0;k<B;k++)for(C=0;C<I;C++)D(j,64*((j.c+1)*((F/T|0)*j.j+k)+(F%T*j.h+C)));F++}if(O=0,(j=l(e,i))&&j.f&&((0,_util.warn)("decodeScan - unexpected MCU data, current marker is: "+j.f),i=j.offset),j=j&&j.F,!j||65280>=j)throw new r("marker was not found");if(!(65488<=j&&65495>=j))break;i+=2}return(j=l(e,i))&&j.f&&((0,_util.warn)("decodeScan - unexpected Scan data, current marker is: "+j.f),i=j.offset),i-R}function s(e,t){for(var n=t.c,i=t.l,a=new Int16Array(64),o=0;o<i;o++)for(var s=0;s<n;s++){var l=64*((t.c+1)*o+s),c=a,u=t.G,f=t.a;if(!u)throw new r("missing required Quantization Table.");for(var h=0;64>h;h+=8){var d=f[l+h],p=f[l+h+1],m=f[l+h+2],g=f[l+h+3],b=f[l+h+4],y=f[l+h+5],v=f[l+h+6],_=f[l+h+7];if(d*=u[h],0===(p|m|g|b|y|v|_))d=5793*d+512>>10,c[h]=d,c[h+1]=d,c[h+2]=d,c[h+3]=d,c[h+4]=d,c[h+5]=d,c[h+6]=d,c[h+7]=d;else{p*=u[h+1],m*=u[h+2],g*=u[h+3],b*=u[h+4],y*=u[h+5],v*=u[h+6],_*=u[h+7];var w=5793*d+128>>8,E=5793*b+128>>8,P=m,A=v;b=2896*(p-_)+128>>8,_=2896*(p+_)+128>>8,g<<=4,y<<=4,w=w+E+1>>1,E=w-E,d=3784*P+1567*A+128>>8,P=1567*P-3784*A+128>>8,A=d,b=b+y+1>>1,y=b-y,_=_+g+1>>1,g=_-g,w=w+A+1>>1,A=w-A,E=E+P+1>>1,P=E-P,d=2276*b+3406*_+2048>>12,b=3406*b-2276*_+2048>>12,_=d,d=799*g+4017*y+2048>>12,g=4017*g-799*y+2048>>12,y=d,c[h]=w+_,c[h+7]=w-_,c[h+1]=E+y,c[h+6]=E-y,c[h+2]=P+g,c[h+5]=P-g,c[h+3]=A+b,c[h+4]=A-b}}for(u=0;8>u;++u)d=c[u],p=c[u+8],m=c[u+16],g=c[u+24],b=c[u+32],y=c[u+40],v=c[u+48],_=c[u+56],0===(p|m|g|b|y|v|_)?(d=5793*d+8192>>14,d=-2040>d?0:2024<=d?255:d+2056>>4,f[l+u]=d,f[l+u+8]=d,f[l+u+16]=d,f[l+u+24]=d,f[l+u+32]=d,f[l+u+40]=d,f[l+u+48]=d,f[l+u+56]=d):(w=5793*d+2048>>12,E=5793*b+2048>>12,P=m,A=v,b=2896*(p-_)+2048>>12,_=2896*(p+_)+2048>>12,w=4112+(w+E+1>>1),E=w-E,d=3784*P+1567*A+2048>>12,P=1567*P-3784*A+2048>>12,A=d,b=b+y+1>>1,y=b-y,_=_+g+1>>1,g=_-g,w=w+A+1>>1,A=w-A,E=E+P+1>>1,P=E-P,d=2276*b+3406*_+2048>>12,b=3406*b-2276*_+2048>>12,_=d,d=799*g+4017*y+2048>>12,g=4017*g-799*y+2048>>12,y=d,d=w+_,_=w-_,p=E+y,v=E-y,m=P+g,y=P-g,g=A+b,b=A-b,d=16>d?0:4080<=d?255:d>>4,p=16>p?0:4080<=p?255:p>>4,m=16>m?0:4080<=m?255:m>>4,g=16>g?0:4080<=g?255:g>>4,b=16>b?0:4080<=b?255:b>>4,y=16>y?0:4080<=y?255:y>>4,v=16>v?0:4080<=v?255:v>>4,_=16>_?0:4080<=_?255:_>>4,f[l+u]=d,f[l+u+8]=p,f[l+u+16]=m,f[l+u+24]=g,f[l+u+32]=b,f[l+u+40]=y,f[l+u+48]=v,f[l+u+56]=_)}return t.a}function l(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:t,n=e.length-1;if(r=r<t?r:t,t>=n)return null;var i=e[t]<<8|e[t+1];if(65472<=i&&65534>=i)return{f:null,F:i,offset:t};for(var a=e[r]<<8|e[r+1];!(65472<=a&&65534>=a);){if(++r>=n)return null;a=e[r]<<8|e[r+1]}return{f:i.toString(16),F:a,offset:r}}var c=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]);i.prototype={parse:function(e){function t(){var t=e[d]<<8|e[d+1];return d+=2,t}function i(){var r=t();r=d+r-2;var n=l(e,r,d);return n&&n.f&&((0,_util.warn)("readDataBlock - incorrect length, current marker is: "+n.f),r=n.offset),r=e.subarray(d,r),d+=r.length,r}function u(e){for(var t=Math.ceil(e.v/8/e.s),r=Math.ceil(e.g/8/e.u),n=0;n<e.b.length;n++){S=e.b[n];var i=Math.ceil(Math.ceil(e.v/8)*S.h/e.s),a=Math.ceil(Math.ceil(e.g/8)*S.j/e.u);S.a=new Int16Array(64*r*S.j*(t*S.h+1)),S.c=i,S.l=a}e.P=t,e.O=r}var f=(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).N,h=void 0===f?null:f,d=0,p=null,m=0;f=[];var g=[],b=[],y=t();if(65496!==y)throw new r("SOI not found");for(y=t();65497!==y;){switch(y){case 65504:case 65505:case 65506:case 65507:case 65508:case 65509:case 65510:case 65511:case 65512:case 65513:case 65514:case 65515:case 65516:case 65517:case 65518:case 65519:case 65534:var v=i();65518===y&&65===v[0]&&100===v[1]&&111===v[2]&&98===v[3]&&101===v[4]&&(p={version:v[5]<<8|v[6],Y:v[7]<<8|v[8],Z:v[9]<<8|v[10],W:v[11]});break;case 65499:y=t()+d-2;for(var _;d<y;){var w=e[d++],E=new Uint16Array(64);if(0===w>>4)for(v=0;64>v;v++)_=c[v],E[_]=e[d++];else{if(1!==w>>4)throw new r("DQT - invalid table spec");for(v=0;64>v;v++)_=c[v],E[_]=t()}f[15&w]=E}break;case 65472:case 65473:case 65474:if(P)throw new r("Only single frame JPEGs supported");t();var P={};for(P.X=65473===y,P.S=65474===y,P.precision=e[d++],y=t(),P.g=h||y,P.v=t(),P.b=[],P.C={},v=e[d++],y=E=w=0;y<v;y++){_=e[d];var A=e[d+1]>>4,k=15&e[d+1];w<A&&(w=A),E<k&&(E=k),A=P.b.push({h:A,j:k,T:e[d+2],G:null}),P.C[_]=A-1,d+=3}P.s=w,P.u=E,u(P);break;case 65476:for(_=t(),y=2;y<_;){for(w=e[d++],E=new Uint8Array(16),v=A=0;16>v;v++,d++)A+=E[v]=e[d];for(k=new Uint8Array(A),v=0;v<A;v++,d++)k[v]=e[d];y+=17+A,(0===w>>4?b:g)[15&w]=a(E,k)}break;case 65501:t();var C=t();break;case 65498:for(v=1===++m&&!h,t(),w=e[d++],_=[],y=0;y<w;y++){E=P.C[e[d++]];var S=P.b[E];E=e[d++],S.D=b[E>>4],S.o=g[15&E],_.push(S)}y=e[d++],w=e[d++],E=e[d++];try{var I=o(e,d,P,_,C,y,w,E>>4,15&E,v);d+=I}catch(B){if(B instanceof n)return(0,_util.warn)('Attempting to re-parse JPEG image using "scanLines" parameter found in DNL marker (0xFFDC) segment.'),this.parse(e,{N:B.g});throw B}break;case 65500:d+=4;break;case 65535:255!==e[d]&&d--;break;default:if(255===e[d-3]&&192<=e[d-2]&&254>=e[d-2])d-=3;else{if(!(v=l(e,d-2))||!v.f)throw new r("unknown marker "+y.toString(16));(0,_util.warn)("JpegImage.parse - unexpected data, current marker is: "+v.f),d=v.offset}}y=t()}for(this.width=P.v,this.height=P.g,this.A=p,this.b=[],y=0;y<P.b.length;y++)S=P.b[y],(C=f[S.T])&&(S.G=C),this.b.push({R:s(P,S),U:S.h/P.s,V:S.j/P.u,c:S.c,l:S.l});this.i=this.b.length},L:function(e,t){var r,n,i=this.width/e,a=this.height/t,o=this.b.length,s=e*t*o,l=new Uint8ClampedArray(s),c=new Uint32Array(e);for(n=0;n<o;n++){var u=this.b[n],f=u.U*i,h=u.V*a,d=n,p=u.R,m=u.c+1<<3;for(r=0;r<e;r++)u=0|r*f,c[r]=(4294967288&u)<<3|7&u;for(f=0;f<t;f++)for(u=0|f*h,u=m*(4294967288&u)|(7&u)<<3,r=0;r<e;r++)l[d]=p[u+c[r]],d+=o}if(a=this.M)for(n=0;n<s;)for(i=u=0;u<o;u++,n++,i+=2)l[n]=(l[n]*a[i]>>8)+a[i+1];return l},w:function(){return this.A?!!this.A.W:3===this.i?0!==this.B:1===this.B},I:function(e){for(var t,r,n,i=0,a=e.length;i<a;i+=3)t=e[i],r=e[i+1],n=e[i+2],e[i]=t-179.456+1.402*n,e[i+1]=t+135.459-.344*r-.714*n,e[i+2]=t-226.816+1.772*r;return e},K:function(e){for(var t,r,n,i,a=0,o=0,s=e.length;o<s;o+=4)t=e[o],r=e[o+1],n=e[o+2],i=e[o+3],e[a++]=r*(-660635669420364e-19*r+.000437130475926232*n-54080610064599e-18*t+.00048449797120281*i-.154362151871126)-122.67195406894+n*(-.000957964378445773*n+.000817076911346625*t-.00477271405408747*i+1.53380253221734)+t*(.000961250184130688*t-.00266257332283933*i+.48357088451265)+i*(-.000336197177618394*i+.484791561490776),e[a++]=107.268039397724+r*(219927104525741e-19*r-.000640992018297945*n+.000659397001245577*t+.000426105652938837*i-.176491792462875)+n*(-.000778269941513683*n+.00130872261408275*t+.000770482631801132*i-.151051492775562)+t*(.00126935368114843*t-.00265090189010898*i+.25802910206845)+i*(-.000318913117588328*i-.213742400323665),e[a++]=r*(-.000570115196973677*r-263409051004589e-19*n+.0020741088115012*t-.00288260236853442*i+.814272968359295)-20.810012546947+n*(-153496057440975e-19*n-.000132689043961446*t+.000560833691242812*i-.195152027534049)+t*(.00174418132927582*t-.00255243321439347*i+.116935020465145)+i*(-.000343531996510555*i+.24165260232407);return e.subarray(0,a)},J:function(e){for(var t,r,n,i=0,a=e.length;i<a;i+=4)t=e[i],r=e[i+1],n=e[i+2],e[i]=434.456-t-1.402*n,e[i+1]=119.541-t+.344*r+.714*n,e[i+2]=481.816-t-1.772*r;return e},H:function(e){for(var t,r,n,i,a=0,o=1/255,s=0,l=e.length;s<l;s+=4)t=e[s]*o,r=e[s+1]*o,n=e[s+2]*o,i=e[s+3]*o,e[a++]=255+t*(-4.387332384609988*t+54.48615194189176*r+18.82290502165302*n+212.25662451639585*i-285.2331026137004)+r*(1.7149763477362134*r-5.6096736904047315*n-17.873870861415444*i-5.497006427196366)+n*(-2.5217340131683033*n-21.248923337353073*i+17.5119270841813)-i*(21.86122147463605*i+189.48180835922747),e[a++]=255+t*(8.841041422036149*t+60.118027045597366*r+6.871425592049007*n+31.159100130055922*i-79.2970844816548)+r*(-15.310361306967817*r+17.575251261109482*n+131.35250912493976*i-190.9453302588951)+n*(4.444339102852739*n+9.8632861493405*i-24.86741582555878)-i*(20.737325471181034*i+187.80453709719578),e[a++]=255+t*(.8842522430003296*t+8.078677503112928*r+30.89978309703729*n-.23883238689178934*i-14.183576799673286)+r*(10.49593273432072*r+63.02378494754052*n+50.606957656360734*i-112.23884253719248)+n*(.03296041114873217*n+115.60384449646641*i-193.58209356861505)-i*(22.33816807309886*i+180.12613974708367);return e.subarray(0,a)},getData:function(e,t,n){if(4<this.i)throw new r("Unsupported color mode");if(e=this.L(e,t),1===this.i&&n){n=e.length,t=new Uint8ClampedArray(3*n);for(var i=0,a=0;a<n;a++){var o=e[a];t[i++]=o,t[i++]=o,t[i++]=o}return t}if(3===this.i&&this.w())return this.I(e);if(4===this.i){if(this.w())return n?this.K(e):this.J(e);if(n)return this.H(e)}return e}},e.JpegDecoder=i})()})(),e.encodeImage=function(t,r,n,i){var a={t256:[r],t257:[n],t258:[8,8,8,8],t259:[1],t262:[2],t273:[1e3],t277:[4],t278:[n],t279:[r*n*4],t282:[1],t283:[1],t284:[1],t286:[0],t287:[0],t296:[1],t305:["Photopea (UTIF.js)"],t338:[1]};if(i)for(var o in i)a[o]=i[o];var s=new Uint8Array(e.encode([a])),l=new Uint8Array(t),c=new Uint8Array(1e3+r*n*4);for(o=0;o<s.length;o++)c[o]=s[o];for(o=0;o<l.length;o++)c[1e3+o]=l[o];return c.buffer},e.encode=function(t){var r=new Uint8Array(2e4),n=4,i=e._binBE;r[0]=77,r[1]=77,r[3]=42;var a=8;i.writeUint(r,n,a),n+=4;for(var o=0;o<t.length;o++){var s=e._writeIFD(i,r,a,t[o]);a=s[1],o<t.length-1&&i.writeUint(r,s[0],a)}return r.slice(0,a).buffer},e.decode=function(t){e.decode._decodeG3.allow2D=null;var r=new Uint8Array(t),n=0,i=e._binBE.readASCII(r,n,2);n+=2;var a="II"==i?e._binLE:e._binBE;a.readUshort(r,n);n+=2;var o=a.readUint(r,n);n+=4;var s=[];while(1){var l=e._readIFD(a,r,o,s);if(o=a.readUint(r,l),0==o)break}return s},e.decodeImages=function(t,r){for(var n=new Uint8Array(t),i=e._binBE.readASCII(n,0,2),o=0;o<r.length;o++){var s=r[o];if(null!=s["t256"]){s.isLE="II"==i,s.width=s["t256"][0],s.height=s["t257"][0];var l=s["t259"]?s["t259"][0]:1,c=s["t266"]?s["t266"][0]:1;s["t284"]&&2==s["t284"][0]&&a("PlanarConfiguration 2 should not be used!");var u=(s["t258"]?Math.min(32,s["t258"][0]):1)*(s["t277"]?s["t277"][0]:1),f=8*Math.ceil(s.width*u/8),h=s["t273"];null==h&&(h=s["t324"]);var d=s["t279"];1==l&&1==h.length&&(d=[s.height*(f>>>3)]),null==d&&(d=s["t325"]);var p=new Uint8Array(s.height*(f>>>3)),m=0;if(null!=s["t322"]){for(var g=s["t322"][0],b=s["t323"][0],y=Math.floor((s.width+g-1)/g),v=Math.floor((s.height+b-1)/b),_=new Uint8Array(0|Math.ceil(g*b*u/8)),w=0;w<v;w++)for(var E=0;E<y;E++){for(var P=w*y+E,A=0;A<_.length;A++)_[A]=0;e.decode._decompress(s,n,h[P],d[P],l,_,0,c),6==l?p=_:e._copyTile(_,0|Math.ceil(g*u/8),b,p,0|Math.ceil(s.width*u/8),s.height,0|Math.ceil(E*g*u/8),w*b)}m=8*p.length}else{var k=s["t278"]?s["t278"][0]:s.height;k=Math.min(k,s.height);for(P=0;P<h.length;P++)e.decode._decompress(s,n,h[P],d[P],l,p,0|Math.ceil(m/8),c),m+=f*k;m=Math.min(m,8*p.length)}s.data=new Uint8Array(p.buffer,0,0|Math.ceil(m/8))}}},e.decode._decompress=function(r,n,i,o,s,l,c,u){if(1==s)for(var f=0;f<o;f++)l[c+f]=n[i+f];else if(3==s)e.decode._decodeG3(n,i,o,l,c,r.width,u);else if(4==s)e.decode._decodeG4(n,i,o,l,c,r.width,u);else if(5==s)e.decode._decodeLZW(n,i,l,c);else if(6==s)e.decode._decodeOldJPEG(r,n,i,o,l,c);else if(7==s)e.decode._decodeNewJPEG(r,n,i,o,l,c);else if(8==s)for(var h=new Uint8Array(n.buffer,i,o),d=t["inflate"](h),p=0;p<d.length;p++)l[c+p]=d[p];else 32773==s?e.decode._decodePackBits(n,i,o,l,c):32809==s?e.decode._decodeThunder(n,i,o,l,c):a("Unknown compression",s);if(r["t317"]&&2==r["t317"][0])for(var m=r["t277"]?r["t277"][0]:1,g=r["t278"]?r["t278"][0]:r.height,b=r.width*m,y=0;y<g;y++){var v=c+y*b;if(3==m)for(f=3;f<b;f+=3)l[v+f]=l[v+f]+l[v+f-3]&255,l[v+f+1]=l[v+f+1]+l[v+f-2]&255,l[v+f+2]=l[v+f+2]+l[v+f-1]&255;else for(f=m;f<b;f++)l[v+f]=l[v+f]+l[v+f-m]&255}},e.decode._decodeNikon=function(e,t,r,n,i){var o,s;a(e.slice(t,t+100)),o=e[t],t++,s=e[t],t++,a(o.toString(16),s.toString(16),r)},e.decode._decodeNewJPEG=function(t,r,n,i,a,o){var s=t["t347"],l=s?s.length:0,c=new Uint8Array(l+i);if(s){for(var u=216,f=217,h=0,d=0;d<l-1;d++){if(255==s[d]&&s[d+1]==f)break;c[h++]=s[d]}var p=r[n],m=r[n+1];255==p&&m==u||(c[h++]=p,c[h++]=m);for(d=2;d<i;d++)c[h++]=r[n+d]}else for(d=0;d<i;d++)c[d]=r[n+d];if(32803==t["t262"]){var g=t["t258"][0],b=new LosslessJpegDecoder,y=b.decode(c),v=y.length;if(16==g)for(d=0;d<v;d++)a[o++]=255&y[d],a[o++]=y[d]>>>8;else{if(12!=g)throw new Error("unsupported bit depth "+g);for(d=0;d<v;d+=2)a[o++]=y[d]>>>4,a[o++]=255&(y[d]<<4|y[d+1]>>>8),a[o++]=255&y[d+1]}}else{var _=new e.JpegDecoder;_.parse(c);var w=_.getData(_.width,_.height);for(d=0;d<w.length;d++)a[o+d]=w[d]}6==t["t262"][0]&&(t["t262"][0]=2)},e.decode._decodeOldJPEGInit=function(e,t,r,n){var i,o,s,l,c,u=216,f=219,h=196,d=221,p=192,m=218,g=0,b=0,y=!1,v=e["t513"],_=v?v[0]:0,w=e["t514"],E=w?w[0]:0,P=e["t324"]||e["t273"]||v,A=e["t530"],k=0,C=0,S=e["t277"]?e["t277"][0]:1,I=e["t515"];if(P&&(b=P[0],y=P.length>1),!y){if(255==t[r]&&t[r+1]==u)return{jpegOffset:r};if(null!=v&&(255==t[r+_]&&t[r+_+1]==u?g=r+_:a("JPEGInterchangeFormat does not point to SOI"),null==w?a("JPEGInterchangeFormatLength field is missing"):(_>=b||_+E<=b)&&a("JPEGInterchangeFormatLength field value is invalid"),null!=g))return{jpegOffset:g}}if(null!=A&&(k=A[0],C=A[1]),null!=v&&null!=w)if(E>=2&&_+E<=b){for(i=255==t[r+_+E-2]&&t[r+_+E-1]==u?new Uint8Array(E-2):new Uint8Array(E),s=0;s<i.length;s++)i[s]=t[r+_+s];a("Incorrect JPEG interchange format: using JPEGInterchangeFormat offset to derive tables")}else a("JPEGInterchangeFormat+JPEGInterchangeFormatLength > offset to first strip or tile");if(null==i){var B=0,x=[];x[B++]=255,x[B++]=u;var T=e["t519"];if(null==T)throw new Error("JPEGQTables tag is missing");for(s=0;s<T.length;s++)for(x[B++]=255,x[B++]=f,x[B++]=0,x[B++]=67,x[B++]=s,l=0;l<64;l++)x[B++]=t[r+T[s]+l];for(c=0;c<2;c++){var R=e[0==c?"t520":"t521"];if(null==R)throw new Error((0==c?"JPEGDCTables":"JPEGACTables")+" tag is missing");for(s=0;s<R.length;s++){x[B++]=255,x[B++]=h;var M=19;for(l=0;l<16;l++)M+=t[r+R[s]+l];for(x[B++]=M>>>8,x[B++]=255&M,x[B++]=s|c<<4,l=0;l<16;l++)x[B++]=t[r+R[s]+l];for(l=0;l<M;l++)x[B++]=t[r+R[s]+16+l]}}if(x[B++]=255,x[B++]=p,x[B++]=0,x[B++]=8+3*S,x[B++]=8,x[B++]=e.height>>>8&255,x[B++]=255&e.height,x[B++]=e.width>>>8&255,x[B++]=255&e.width,x[B++]=S,1==S)x[B++]=1,x[B++]=17,x[B++]=0;else for(s=0;s<3;s++)x[B++]=s+1,x[B++]=0!=s?17:(15&k)<<4|15&C,x[B++]=s;null!=I&&0!=I[0]&&(x[B++]=255,x[B++]=d,x[B++]=0,x[B++]=4,x[B++]=I[0]>>>8&255,x[B++]=255&I[0]),i=new Uint8Array(x)}var O=-1;s=0;while(s<i.length-1){if(255==i[s]&&i[s+1]==p){O=s;break}s++}if(-1==O){var N=new Uint8Array(i.length+10+3*S);N.set(i);var U=i.length;if(O=i.length,i=N,i[U++]=255,i[U++]=p,i[U++]=0,i[U++]=8+3*S,i[U++]=8,i[U++]=e.height>>>8&255,i[U++]=255&e.height,i[U++]=e.width>>>8&255,i[U++]=255&e.width,i[U++]=S,1==S)i[U++]=1,i[U++]=17,i[U++]=0;else for(s=0;s<3;s++)i[U++]=s+1,i[U++]=0!=s?17:(15&k)<<4|15&C,i[U++]=s}if(255==t[b]&&t[b+1]==m){var L=t[b+2]<<8|t[b+3];for(o=new Uint8Array(L+2),o[0]=t[b],o[1]=t[b+1],o[2]=t[b+2],o[3]=t[b+3],s=0;s<L-2;s++)o[s+4]=t[b+s+4]}else{o=new Uint8Array(8+2*S);var D=0;if(o[D++]=255,o[D++]=m,o[D++]=0,o[D++]=6+2*S,o[D++]=S,1==S)o[D++]=1,o[D++]=0;else for(s=0;s<3;s++)o[D++]=s+1,o[D++]=s<<4|s;o[D++]=0,o[D++]=63,o[D++]=0}return{jpegOffset:r,tables:i,sosMarker:o,sofPosition:O}},e.decode._decodeOldJPEG=function(t,r,n,i,a,o){var s,l,c,u=e.decode._decodeOldJPEGInit(t,r,n,i);if(null!=u.jpegOffset)for(s=n+i-u.jpegOffset,c=new Uint8Array(s),d=0;d<s;d++)c[d]=r[u.jpegOffset+d];else{for(l=u.tables.length,c=new Uint8Array(l+u.sosMarker.length+i+2),c.set(u.tables),l,c[u.sofPosition+5]=t.height>>>8&255,c[u.sofPosition+6]=255&t.height,c[u.sofPosition+7]=t.width>>>8&255,c[u.sofPosition+8]=255&t.width,255==r[n]&&r[n+1]==SOS||(c.set(u.sosMarker,bufoff),bufoff+=sosMarker.length),d=0;d<i;d++)c[bufoff++]=r[n+d];c[bufoff++]=255,c[bufoff++]=EOI}var f=new e.JpegDecoder;f.parse(c);for(var h=f.getData(f.width,f.height),d=0;d<h.length;d++)a[o+d]=h[d];6==t["t262"][0]&&(t["t262"][0]=2)},e.decode._decodePackBits=function(e,t,r,n,i){var a=new Int8Array(e.buffer),o=new Int8Array(n.buffer),s=t+r;while(t<s){var l=a[t];if(t++,l>=0&&l<128)for(var c=0;c<l+1;c++)o[i]=a[t],i++,t++;if(l>=-127&&l<0){for(c=0;c<1-l;c++)o[i]=a[t],i++;t++}}},e.decode._decodeThunder=function(e,t,r,n,i){var a=[0,1,0,-1],o=[0,1,2,3,0,-3,-2,-1],s=t+r,l=2*i,c=0;while(t<s){var u=e[t],f=u>>>6,h=63&u;if(t++,3==f&&(c=15&h,n[l>>>1]|=c<<4*(1-l&1),l++),0==f)for(var d=0;d<h;d++)n[l>>>1]|=c<<4*(1-l&1),l++;if(2==f)for(d=0;d<2;d++){var p=h>>>3*(1-d)&7;4!=p&&(c+=o[p],n[l>>>1]|=c<<4*(1-l&1),l++)}if(1==f)for(d=0;d<3;d++){p=h>>>2*(2-d)&3;2!=p&&(c+=a[p],n[l>>>1]|=c<<4*(1-l&1),l++)}}},e.decode._dmap={1:0,"011":1,"000011":2,"0000011":3,"010":-1,"000010":-2,"0000010":-3},e.decode._lens=function(){var e=function(e,t,r,n){for(var i=0;i<t.length;i++)e[t[i]]=r+i*n},t="00110101,000111,0111,1000,1011,1100,1110,1111,10011,10100,00111,01000,001000,000011,110100,110101,101010,101011,0100111,0001100,0001000,0010111,0000011,0000100,0101000,0101011,0010011,0100100,0011000,00000010,00000011,00011010,00011011,00010010,00010011,00010100,00010101,00010110,00010111,00101000,00101001,00101010,00101011,00101100,00101101,00000100,00000101,00001010,00001011,01010010,01010011,01010100,01010101,00100100,00100101,01011000,01011001,01011010,01011011,01001010,01001011,00110010,00110011,00110100",r="0000110111,010,11,10,011,0011,0010,00011,000101,000100,0000100,0000101,0000111,00000100,00000111,000011000,0000010111,0000011000,0000001000,00001100111,00001101000,00001101100,00000110111,00000101000,00000010111,00000011000,000011001010,000011001011,000011001100,000011001101,000001101000,000001101001,000001101010,000001101011,000011010010,000011010011,000011010100,000011010101,000011010110,000011010111,000001101100,000001101101,000011011010,000011011011,000001010100,000001010101,000001010110,000001010111,000001100100,000001100101,000001010010,000001010011,000000100100,000000110111,000000111000,000000100111,000000101000,000001011000,000001011001,000000101011,000000101100,000001011010,000001100110,000001100111",n="11011,10010,010111,0110111,00110110,00110111,01100100,01100101,01101000,01100111,011001100,011001101,011010010,011010011,011010100,011010101,011010110,011010111,011011000,011011001,011011010,011011011,010011000,010011001,010011010,011000,010011011",i="0000001111,000011001000,000011001001,000001011011,000000110011,000000110100,000000110101,0000001101100,0000001101101,0000001001010,0000001001011,0000001001100,0000001001101,0000001110010,0000001110011,0000001110100,0000001110101,0000001110110,0000001110111,0000001010010,0000001010011,0000001010100,0000001010101,0000001011010,0000001011011,0000001100100,0000001100101",a="00000001000,00000001100,00000001101,000000010010,000000010011,000000010100,000000010101,000000010110,000000010111,000000011100,000000011101,000000011110,000000011111";t=t.split(","),r=r.split(","),n=n.split(","),i=i.split(","),a=a.split(",");var o={},s={};return e(o,t,0,1),e(o,n,64,64),e(o,a,1792,64),e(s,r,0,1),e(s,i,64,64),e(s,a,1792,64),[o,s]}(),e.decode._decodeG4=function(t,r,n,i,a,o,s){for(var l=e.decode,c=r<<3,u=0,f="",h=[],d=[],p=0;p<o;p++)d.push(0);d=l._makeDiff(d);var m=0,g=0,b=0,y=0,v=0,_=0,w="",E=0,P=8*Math.ceil(o/8);while(c>>>3<r+n){b=l._findDiff(d,m+(0==m?0:1),1-v),y=l._findDiff(d,b,v);var A=0;if(1==s&&(A=t[c>>>3]>>>7-(7&c)&1),2==s&&(A=t[c>>>3]>>>(7&c)&1),c++,f+=A,"H"==w){if(null!=l._lens[v][f]){var k=l._lens[v][f];f="",u+=k,k<64&&(l._addNtimes(h,u,v),m+=u,v=1-v,u=0,E--,0==E&&(w=""))}}else"0001"==f&&(f="",l._addNtimes(h,y-m,v),m=y),"001"==f&&(f="",w="H",E=2),null!=l._dmap[f]&&(g=b+l._dmap[f],l._addNtimes(h,g-m,v),m=g,f="",v=1-v);h.length==o&&""==w&&(l._writeBits(h,i,8*a+_*P),v=0,_++,m=0,d=l._makeDiff(h),h=[])}},e.decode._findDiff=function(e,t,r){for(var n=0;n<e.length;n+=2)if(e[n]>=t&&e[n+1]==r)return e[n]},e.decode._makeDiff=function(e){var t=[];1==e[0]&&t.push(0,1);for(var r=1;r<e.length;r++)e[r-1]!=e[r]&&t.push(r,e[r]);return t.push(e.length,0,e.length,1),t},e.decode._decodeG3=function(t,r,n,i,a,o,s){for(var l=e.decode,c=r<<3,u=0,f="",h=[],d=[],p=0;p<o;p++)h.push(0);var m=0,g=0,b=0,y=0,v=0,_=-1,w="",E=0,P=!1,A=8*Math.ceil(o/8);while(c>>>3<r+n){b=l._findDiff(d,m+(0==m?0:1),1-v),y=l._findDiff(d,b,v);var k=0;if(1==s&&(k=t[c>>>3]>>>7-(7&c)&1),2==s&&(k=t[c>>>3]>>>(7&c)&1),c++,f+=k,P){if(null!=l._lens[v][f]){var C=l._lens[v][f];f="",u+=C,C<64&&(l._addNtimes(h,u,v),v=1-v,u=0)}}else if("H"==w){if(null!=l._lens[v][f]){C=l._lens[v][f];f="",u+=C,C<64&&(l._addNtimes(h,u,v),m+=u,v=1-v,u=0,E--,0==E&&(w=""))}}else"0001"==f&&(f="",l._addNtimes(h,y-m,v),m=y),"001"==f&&(f="",w="H",E=2),null!=l._dmap[f]&&(g=b+l._dmap[f],l._addNtimes(h,g-m,v),m=g,f="",v=1-v);f.endsWith("000000000001")&&(_>=0&&l._writeBits(h,i,8*a+_*A),1==s&&(P=1==(t[c>>>3]>>>7-(7&c)&1)),2==s&&(P=1==(t[c>>>3]>>>(7&c)&1)),c++,null==l._decodeG3.allow2D&&(l._decodeG3.allow2D=P),l._decodeG3.allow2D||(P=!0,c--),f="",v=0,_++,m=0,d=l._makeDiff(h),h=[])}h.length==o&&l._writeBits(h,i,8*a+_*A)},e.decode._addNtimes=function(e,t,r){for(var n=0;n<t;n++)e.push(r)},e.decode._writeBits=function(e,t,r){for(var n=0;n<e.length;n++)t[r+n>>>3]|=e[n]<<7-(r+n&7)},e.decode._decodeLZW=function(t,r,n,i){if(null==e.decode._lzwTab){for(var a=new Uint32Array(65535),o=new Uint16Array(65535),s=new Uint8Array(2e6),l=0;l<256;l++)s[l<<2]=l,a[l]=l<<2,o[l]=1;e.decode._lzwTab=[a,o,s]}var c=e.decode._copyData,u=e.decode._lzwTab[0],f=e.decode._lzwTab[1],h=(s=e.decode._lzwTab[2],258),d=1032,p=9,m=r<<3,g=256,b=257,y=0,v=0,_=0;while(1){if(y=t[m>>>3]<<16|t[m+8>>>3]<<8|t[m+16>>>3],v=y>>24-(7&m)-p&(1<<p)-1,m+=p,v==b)break;if(v==g){if(p=9,h=258,d=1032,y=t[m>>>3]<<16|t[m+8>>>3]<<8|t[m+16>>>3],v=y>>24-(7&m)-p&(1<<p)-1,m+=p,v==b)break;n[i]=v,i++}else if(v<h){var w=u[v],E=f[v];if(c(s,w,n,i,E),i+=E,_>=h)u[h]=d,s[u[h]]=w[0],f[h]=1,d=d+1+3&-4,h++;else{u[h]=d;var P=u[_],A=f[_];c(s,P,s,d,A),s[d+A]=s[w],A++,f[h]=A,h++,d=d+A+3&-4}h+1==1<<p&&p++}else{if(_>=h)u[h]=d,f[h]=0,h++;else{u[h]=d;P=u[_],A=f[_];c(s,P,s,d,A),s[d+A]=s[d],A++,f[h]=A,h++,c(s,d,n,i,A),i+=A,d=d+A+3&-4}h+1==1<<p&&p++}_=v}},e.decode._copyData=function(e,t,r,n,i){for(var a=0;a<i;a+=4)r[n+a]=e[t+a],r[n+a+1]=e[t+a+1],r[n+a+2]=e[t+a+2],r[n+a+3]=e[t+a+3]},e.tags={254:"NewSubfileType",255:"SubfileType",256:"ImageWidth",257:"ImageLength",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",266:"FillOrder",269:"DocumentName",270:"ImageDescription",271:"Make",272:"Model",273:"StripOffset",274:"Orientation",277:"SamplesPerPixel",278:"RowsPerStrip",279:"StripByteCounts",280:"MinSampleValue",281:"MaxSampleValue",282:"XResolution",283:"YResolution",284:"PlanarConfiguration",285:"PageName",286:"XPosition",287:"YPosition",292:"T4Options",296:"ResolutionUnit",297:"PageNumber",305:"Software",306:"DateTime",315:"Artist",316:"HostComputer",317:"Predictor",318:"WhitePoint",319:"PrimaryChromaticities",320:"ColorMap",321:"HalftoneHints",322:"TileWidth",323:"TileLength",324:"TileOffset",325:"TileByteCounts",330:"SubIFDs",336:"DotRange",338:"ExtraSample",339:"SampleFormat",347:"JPEGTables",512:"JPEGProc",513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength",519:"JPEGQTables",520:"JPEGDCTables",521:"JPEGACTables",529:"YCbCrCoefficients",530:"YCbCrSubSampling",531:"YCbCrPositioning",532:"ReferenceBlackWhite",700:"XMP",33421:"CFARepeatPatternDim",33422:"CFAPattern",33432:"Copyright",33434:"ExposureTime",33437:"FNumber",33723:"IPTC/NAA",34377:"Photoshop",34665:"ExifIFD",34675:"ICC Profile",34850:"ExposureProgram",34853:"GPSInfo",34855:"ISOSpeedRatings",34858:"TimeZoneOffset",34859:"SelfTimeMode",36867:"DateTimeOriginal",36868:"DateTimeDigitized",37377:"ShutterSpeedValue",37378:"ApertureValue",37380:"ExposureBiasValue",37383:"MeteringMode",37385:"Flash",37386:"FocalLength",37390:"FocalPlaneXResolution",37391:"FocalPlaneYResolution",37392:"FocalPlaneResolutionUnit",37393:"ImageNumber",37398:"TIFF/EPStandardID",37399:"SensingMethod",37500:"MakerNote",37510:"UserComment",37724:"ImageSourceData",40092:"XPComment",40094:"XPKeywords",40961:"ColorSpace",40962:"PixelXDimension",40963:"PixelXDimension",41486:"FocalPlaneXResolution",41487:"FocalPlaneYResolution",41488:"FocalPlaneResolutionUnit",41985:"CustomRendered",41986:"ExposureMode",41987:"WhiteBalance",41990:"SceneCaptureType",50706:"DNGVersion",50707:"DNGBackwardVersion",50708:"UniqueCameraModel",50709:"LocalizedCameraModel",50710:"CFAPlaneColor",50711:"CFALayout",50712:"LinearizationTable",50713:"BlackLevelRepeatDim",50714:"BlackLevel",50716:"BlackLevelDeltaV",50717:"WhiteLevel",50718:"DefaultScale",50719:"DefaultCropOrigin",50720:"DefaultCropSize",50733:"BayerGreenSplit",50738:"AntiAliasStrength",50721:"ColorMatrix1",50722:"ColorMatrix2",50723:"CameraCalibration1",50724:"CameraCalibration2",50727:"AnalogBalance",50728:"AsShotNeutral",50730:"BaselineExposure",50731:"BaselineNoise",50732:"BaselineSharpness",50734:"LinearResponseLimit",50735:"CameraSerialNumber",50736:"LensInfo",50739:"ShadowScale",50740:"DNGPrivateData",50741:"MakerNoteSafety",50778:"CalibrationIlluminant1",50779:"CalibrationIlluminant2",50780:"BestQualityScale",50781:"RawDataUniqueID",50827:"OriginalRawFileName",50829:"ActiveArea",50830:"MaskedAreas",50931:"CameraCalibrationSignature",50932:"ProfileCalibrationSignature",50935:"NoiseReductionApplied",50936:"ProfileName",50937:"ProfileHueSatMapDims",50938:"ProfileHueSatMapData1",50939:"ProfileHueSatMapData2",50940:"ProfileToneCurve",50941:"ProfileEmbedPolicy",50942:"ProfileCopyright",50964:"ForwardMatrix1",50965:"ForwardMatrix2",50966:"PreviewApplicationName",50967:"PreviewApplicationVersion",50969:"PreviewSettingsDigest",50970:"PreviewColorSpace",50971:"PreviewDateTime",50972:"RawImageDigest",51008:"OpcodeList1",51009:"OpcodeList2",51022:"OpcodeList3",51041:"NoiseProfile",51089:"OriginalDefaultFinalSize",51090:"OriginalBestQualityFinalSize",51091:"OriginalDefaultCropSize",51125:"DefaultUserCrop"},e.ttypes={256:3,257:3,258:3,259:3,262:3,273:4,274:3,277:3,278:4,279:4,282:5,283:5,284:3,286:5,287:5,296:3,305:2,306:2,338:3,513:4,514:4,34665:4},e._readIFD=function(t,r,n,i){var o=t.readUshort(r,n);n+=2;var s={};i.push(s);for(var l=0;l<o;l++){var c=t.readUshort(r,n);n+=2;var u=t.readUshort(r,n);n+=2;var f=t.readUint(r,n);n+=4;var h=t.readUint(r,n);n+=4;var d=[];if(s["t"+c]=d,1==u||7==u)for(var p=0;p<f;p++)d.push(r[(f<5?n-4:h)+p]);if(2==u&&d.push(t.readASCII(r,f<5?n-4:h,f-1)),3==u)for(p=0;p<f;p++)d.push(t.readUshort(r,(f<3?n-4:h)+2*p));if(4==u)for(p=0;p<f;p++)d.push(t.readUint(r,(f<2?n-4:h)+4*p));if(5==u)for(p=0;p<f;p++)d.push(t.readUint(r,h+8*p)/t.readUint(r,h+8*p+4));if(8==u)for(p=0;p<f;p++)d.push(t.readShort(r,(f<3?n-4:h)+2*p));if(9==u)for(p=0;p<f;p++)d.push(t.readInt(r,(f<2?n-4:h)+4*p));if(10==u)for(p=0;p<f;p++)d.push(t.readInt(r,h+8*p)/t.readInt(r,h+8*p+4));if(11==u)for(p=0;p<f;p++)d.push(t.readFloat(r,h+4*p));if(12==u)for(p=0;p<f;p++)d.push(t.readDouble(r,h+8*p));if(0!=f&&0==d.length&&a("unknown TIFF tag type: ",u,"num:",f),330==c)for(p=0;p<f;p++)e._readIFD(t,r,d[p],i)}return n},e._writeIFD=function(t,r,n,i){var a=Object.keys(i);t.writeUshort(r,n,a.length),n+=2;for(var o=n+12*a.length+4,s=0;s<a.length;s++){var l=a[s],c=parseInt(l.slice(1)),u=e.ttypes[c];if(null==u)throw new Error("unknown type of tag: "+c);var f=i[l];2==u&&(f=f[0]+"\0");var h=f.length;t.writeUshort(r,n,c),n+=2,t.writeUshort(r,n,u),n+=2,t.writeUint(r,n,h),n+=4;var d=[-1,1,1,2,4,8,0,0,0,0,0,0,8][u]*h,p=n;if(d>4&&(t.writeUint(r,n,o),p=o),2==u&&t.writeASCII(r,p,f),3==u)for(var m=0;m<h;m++)t.writeUshort(r,p+2*m,f[m]);if(4==u)for(m=0;m<h;m++)t.writeUint(r,p+4*m,f[m]);if(5==u)for(m=0;m<h;m++)t.writeUint(r,p+8*m,Math.round(1e4*f[m])),t.writeUint(r,p+8*m+4,1e4);if(12==u)for(m=0;m<h;m++)t.writeDouble(r,p+8*m,f[m]);d>4&&(d+=1&d,o+=d),n+=4}return[n,o]},e.toRGBA8=function(e){var t=e.width,r=e.height,n=t*r,i=4*n,o=e.data,s=new Uint8Array(4*n),l=e["t262"][0],c=e["t258"]?Math.min(32,e["t258"][0]):1,u=e.isLE?1:0;if(0==l)for(var f=Math.ceil(c*t/8),h=0;h<r;h++){var d=h*f,p=h*t;if(1==c)for(var m=0;m<t;m++){var g=p+m<<2,b=o[d+(m>>3)]>>7-(7&m)&1;s[g]=s[g+1]=s[g+2]=255*(1-b),s[g+3]=255}if(4==c)for(m=0;m<t;m++){g=p+m<<2,b=o[d+(m>>1)]>>4-4*(1&m)&15;s[g]=s[g+1]=s[g+2]=17*(15-b),s[g+3]=255}if(8==c)for(m=0;m<t;m++){g=p+m<<2,b=o[d+m];s[g]=s[g+1]=s[g+2]=255-b,s[g+3]=255}}else if(1==l)for(f=Math.ceil(c*t/8),h=0;h<r;h++){d=h*f,p=h*t;if(1==c)for(m=0;m<t;m++){g=p+m<<2,b=o[d+(m>>3)]>>7-(7&m)&1;s[g]=s[g+1]=s[g+2]=255*b,s[g+3]=255}if(2==c)for(m=0;m<t;m++){g=p+m<<2,b=o[d+(m>>2)]>>6-2*(3&m)&3;s[g]=s[g+1]=s[g+2]=85*b,s[g+3]=255}if(8==c)for(m=0;m<t;m++){g=p+m<<2,b=o[d+m];s[g]=s[g+1]=s[g+2]=b,s[g+3]=255}if(16==c)for(m=0;m<t;m++){g=p+m<<2,b=o[d+(2*m+u)];s[g]=s[g+1]=s[g+2]=Math.min(255,b),s[g+3]=255}}else if(2==l)if(8==c)if(e["t338"])if(e["t338"][0]>0)for(m=0;m<i;m++)s[m]=o[m];else for(m=0;m<i;m+=4)s[m]=o[m],s[m+1]=o[m+1],s[m+2]=o[m+2],s[m+3]=255;else{var y=e["t258"]?e["t258"].length:3;if(4==y)for(m=0;m<i;m++)s[m]=o[m];if(3==y)for(m=0;m<n;m++){g=m<<2;var v=3*m;s[g]=o[v],s[g+1]=o[v+1],s[g+2]=o[v+2],s[g+3]=255}}else for(m=0;m<n;m++){g=m<<2,v=6*m;s[g]=o[v],s[g+1]=o[v+2],s[g+2]=o[v+4],s[g+3]=255}else if(3==l){var _=e["t320"];for(m=0;m<n;m++){g=m<<2;var w=o[m];s[g]=_[w]>>8,s[g+1]=_[256+w]>>8,s[g+2]=_[512+w]>>8,s[g+3]=255}}else if(5==l){y=e["t258"]?e["t258"].length:4;var E=y>4?1:0;for(m=0;m<n;m++){g=m<<2;var P=m*y,A=255-o[P],k=255-o[P+1],C=255-o[P+2],S=(255-o[P+3])*(1/255);s[g]=~~(A*S+.5),s[g+1]=~~(k*S+.5),s[g+2]=~~(C*S+.5),s[g+3]=255*(1-E)+o[P+4]*E}}else a("Unknown Photometric interpretation: "+l);return s},e.replaceIMG=function(){for(var t=document.getElementsByTagName("img"),r=0;r<t.length;r++){var n=t[r],i=n.getAttribute("src");if(null!=i){var a=i.split(".").pop().toLowerCase();if("tif"==a||"tiff"==a){var o=new XMLHttpRequest;e._xhrs.push(o),e._imgs.push(n),o.open("GET",i),o.responseType="arraybuffer",o.onload=e._imgLoaded,o.send()}}}},e._xhrs=[],e._imgs=[],e._imgLoaded=function(t){var r=t.target.response,n=e.decode(r),i=n[0];e.decodeImages(r,n);var a=e.toRGBA8(i),o=i.width,s=i.height,l=e._xhrs.indexOf(t.target),c=e._imgs[l];e._xhrs.splice(l,1),e._imgs.splice(l,1);var u=document.createElement("canvas");u.width=o,u.height=s;for(var f=u.getContext("2d"),h=f.createImageData(o,s),d=0;d<a.length;d++)h.data[d]=a[d];f.putImageData(h,0,0);var p=["style","class","id"];for(d=0;d<p.length;d++)u.setAttribute(p[d],c.getAttribute(p[d]));c.parentNode.replaceChild(u,c)},e._binBE={nextZero:function(e,t){while(0!=e[t])t++;return t},readUshort:function(e,t){return e[t]<<8|e[t+1]},readShort:function(t,r){var n=e._binBE.ui8;return n[0]=t[r+1],n[1]=t[r+0],e._binBE.i16[0]},readInt:function(t,r){var n=e._binBE.ui8;return n[0]=t[r+3],n[1]=t[r+2],n[2]=t[r+1],n[3]=t[r+0],e._binBE.i32[0]},readUint:function(t,r){var n=e._binBE.ui8;return n[0]=t[r+3],n[1]=t[r+2],n[2]=t[r+1],n[3]=t[r+0],e._binBE.ui32[0]},readASCII:function(e,t,r){for(var n="",i=0;i<r;i++)n+=String.fromCharCode(e[t+i]);return n},readFloat:function(t,r){for(var n=e._binBE.ui8,i=0;i<4;i++)n[i]=t[r+3-i];return e._binBE.fl32[0]},readDouble:function(t,r){for(var n=e._binBE.ui8,i=0;i<8;i++)n[i]=t[r+7-i];return e._binBE.fl64[0]},writeUshort:function(e,t,r){e[t]=r>>8&255,e[t+1]=255&r},writeUint:function(e,t,r){e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=r>>0&255},writeASCII:function(e,t,r){for(var n=0;n<r.length;n++)e[t+n]=r.charCodeAt(n)},writeDouble:function(t,r,n){e._binBE.fl64[0]=n;for(var i=0;i<8;i++)t[r+i]=e._binBE.ui8[7-i]}},e._binBE.ui8=new Uint8Array(8),e._binBE.i16=new Int16Array(e._binBE.ui8.buffer),e._binBE.i32=new Int32Array(e._binBE.ui8.buffer),e._binBE.ui32=new Uint32Array(e._binBE.ui8.buffer),e._binBE.fl32=new Float32Array(e._binBE.ui8.buffer),e._binBE.fl64=new Float64Array(e._binBE.ui8.buffer),e._binLE={nextZero:e._binBE.nextZero,readUshort:function(e,t){return e[t+1]<<8|e[t]},readShort:function(t,r){var n=e._binBE.ui8;return n[0]=t[r+0],n[1]=t[r+1],e._binBE.i16[0]},readInt:function(t,r){var n=e._binBE.ui8;return n[0]=t[r+0],n[1]=t[r+1],n[2]=t[r+2],n[3]=t[r+3],e._binBE.i32[0]},readUint:function(t,r){var n=e._binBE.ui8;return n[0]=t[r+0],n[1]=t[r+1],n[2]=t[r+2],n[3]=t[r+3],e._binBE.ui32[0]},readASCII:e._binBE.readASCII,readFloat:function(t,r){for(var n=e._binBE.ui8,i=0;i<4;i++)n[i]=t[r+i];return e._binBE.fl32[0]},readDouble:function(t,r){for(var n=e._binBE.ui8,i=0;i<8;i++)n[i]=t[r+i];return e._binBE.fl64[0]}},e._copyTile=function(e,t,r,n,i,a,o,s){for(var l=Math.min(t,i-o),c=Math.min(r,a-s),u=0;u<c;u++)for(var f=(s+u)*i+o,h=u*t,d=0;d<l;d++)n[f+d]=e[h+d]}}(i,n)})()}).call(this,r("4362"))},"746f":function(e,t,r){var n=r("428f"),i=r("5135"),a=r("e538"),o=r("9bf2").f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||o(t,e,{value:a.f(e)})}},"754c":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var n=r("c2d7"),i=function(){return{invert:function(e){return this.scanQuiet(0,0,this.bitmap.width,this.bitmap.height,(function(e,t,r){this.bitmap.data[r]=255-this.bitmap.data[r],this.bitmap.data[r+1]=255-this.bitmap.data[r+1],this.bitmap.data[r+2]=255-this.bitmap.data[r+2]})),(0,n.isNodePattern)(e)&&e.call(this,null,this),this}}};t["default"]=i},7799:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"scanPage"},[r("div",{staticClass:"topWrapper"},[r("div",{ref:"canvasWrapper",staticClass:"canvasWrapper"},[r("canvas",{ref:"canvas",style:{width:e.canvasWidth+"px",height:e.canvasHeight+"px"},attrs:{id:"canvas"}},[e._v(e._s(e.$t("info.57"))+"!")]),e.showPhotoImage?r("div",{staticClass:"photoImage"},[r("img",{attrs:{src:e.imageSrc,alt:""}})]):e._e()])]),r("div",{staticClass:"dowmWrapper"},[r("p",[e._v(e._s(e.$t("info.58")))]),r("div",{staticClass:"tips"},[r("i",{staticClass:"iconfont icontishi"}),r("p",[e._v(e._s(e.$t("info.59"))+"！")])]),r("div",{staticClass:"photograph"},[r("van-uploader",{attrs:{"before-read":e.beforeRead,"after-read":e.afterRead}},[r("van-button",{attrs:{icon:"photograph",round:"",type:"info"}},[e._v(e._s(e.$t("info.60")))])],1),r("van-button",{staticClass:"enterBarcode",attrs:{icon:"search",type:"primary"},on:{click:function(t){e.showBarcodeBox=!0}}},[e._v(e._s(e.$t("info.61")))])],1),r("div",{staticClass:"backWrapper"},[r("i",{staticClass:"iconfont iconguanbi1",on:{click:function(t){return e.$router.go(-1)}}})])]),r("video",{ref:"video",style:{width:e.canvasWidth+"px",height:e.canvasHeight+"px"},attrs:{id:"video",autoplay:"true",muted:""},domProps:{muted:!0}}),r("Barcode-Filtering",{directives:[{name:"show",rawName:"v-show",value:e.showBarcodeBox,expression:"showBarcodeBox"}],attrs:{panelCodeList:e.panelCodeList},on:{closeBarcodeBox:function(t){e.showBarcodeBox=!1}}})],1)},i=[],a=(r("96cf"),r("1da1")),o=r("ecec"),s=r.n(o),l=r("ef21"),c=r.n(l),u=r("4627"),f=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"BarcodeFiltering"},[r("header",[r("span",[e._v(e._s(e.$t("info.0")))]),r("div",{staticClass:"closeWrapper",on:{click:e.closeBox}},[r("i",{staticClass:"iconfont iconguanbi"})])]),r("main",[r("div",{staticClass:"inputWrapper"},[r("van-field",{attrs:{clearable:"",placeholder:e.$t("info.1")},on:{input:e.watchBarcodeInput},model:{value:e.barcode,callback:function(t){e.barcode=t},expression:"barcode"}})],1),r("div",{staticClass:"barcodeDisplay"},[r("ul",{staticClass:"barcodeList"},e._l(e.filteredData,(function(t,n){return r("li",{key:n},[r("span",{on:{click:function(r){return e.clickBarcode(t)}}},[e._v(" "+e._s(t.code))])])})),0),e.showTips?r("div",{staticClass:"tips"},[e._v(e._s(e.$t("info.2")))]):e._e()])])])},h=[],d=(r("99af"),r("4160"),r("c975"),r("159b"),r("e17f"),r("2241")),p=r("2909"),m={data:function(){return{barcode:"",showTips:!1,filteredData:[]}},props:{showBarcodeBox:{type:Boolean},panelCodeList:{type:Array,default:function(){return[]}}},watch:{panelCodeList:function(e){this.filteredData=Object(p["a"])(e)}},methods:{watchBarcodeInput:function(e){if(e){var t=[];this.panelCodeList.forEach((function(r){-1!==r.code.indexOf(e)&&t.push(r)})),this.filteredData=[].concat(t)}else this.filteredData=Object(p["a"])(this.panelCodeList)},closeBox:function(){this.$emit("closeBarcodeBox")},clickBarcode:function(e){var t=this,r=e.code,n=e.shortid,i=e.houseId;d["a"].confirm({title:this.$t("info.3"),message:"【".concat(r,"】").concat(this.$t("info.4"),"！"),cancelButtonText:this.$t("info.29"),confirmButtonText:this.$t("info.70")}).then((function(){localStorage.setItem("panelId",n),i&&localStorage.setItem("houseId",i),t.$router.go(-1)})).catch((function(){}))}}},g=m,b=(r("e079"),r("2877")),y=Object(b["a"])(g,f,h,!1,null,"68a5a124",null),v=y.exports,_={name:"scanPage",data:function(){return{canvas:void 0,video:void 0,timer:null,timer2:null,media:null,context:void 0,canvasWidth:null,canvasHeight:null,showPhotoImage:!1,imageSrc:"",showBarcodeBox:!1,panelCodeList:[]}},components:{"Barcode-Filtering":v},beforeDestroy:function(){this.close()},mounted:function(){var e=this.$route.params.panelCodeList;this.panelCodeList=e||[],this.initCamera()},methods:{initCamera:function(){this.canvas=this.$refs.canvas,this.video=this.$refs.video,this.canvasWidth=this.$refs.canvasWrapper.offsetWidth,this.canvasHeight=this.$refs.canvasWrapper.offsetHeight,this.context=this.canvas.getContext("2d"),navigator.getUserMedia=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.mediaDevices.getUserMedia,this.open()},open:function(){var e=this,t=this;this.timer||navigator.getUserMedia({audio:!1,video:{width:{min:1024,ideal:1280,max:1920},height:{min:776,ideal:720,max:1080},frameRate:{ideal:10,max:15},facingMode:"environment"}},(function(e){t.video.srcObject=e,t.video.onloadedmetadata=function(){t.video.play()}}),(function(e){alert(e)})),this.timer&&clearInterval(this.timer),this.timer=setInterval((function(){t.context.drawImage(t.video,0,0,t.canvasWidth,t.canvasHeight)}),16.6),this.timer2&&clearInterval(this.timer2),this.timer2=setInterval((function(){e.screenshot()}),50)},close:function(){clearInterval(this.timer),clearInterval(this.timer2)},screenshot:function(){var e=this.canvas.toDataURL();this.IdentifyQRCode(e,"auto")},IdentifyQRCode:function(e,t){var r=this;c.a.read(e).then((function(e){var n=e.bitmap.width,i=e.bitmap.height,a=e.bitmap.data;if("manual"===t){e.crop(.15*n,.15*i,.8*n,.8*i);var o=e.bitmap.width,s=e.bitmap.height,l=e.bitmap.data;r.startRecognizingQRCode(l,o,s,t),e.getBase64(c.a.MIME_PNG,(function(e,t){e?console.log(e):(r.imageSrc=t,r.showPhotoImage=!0)}))}else r.startRecognizingQRCode(a,n,i,t)}))},startRecognizingQRCode:function(e,t,r,n){var i=this,a=s()(e,t,r);a?(this.$toast.success(this.$t("info.24")),"auto"===n&&clearInterval(this.timer2),localStorage.setItem("ScanedUrl",a.data),setTimeout((function(){i.$router.go(-1)}),1100)):"manual"===n&&this.$toast.fail("".concat(this.$t("info.62"),"！"))},beforeRead:function(){return clearInterval(this.timer),clearInterval(this.timer2),!0},afterRead:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t){var r,n,i,a,o=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=t.file,n={maxSizeMB:2,maxWidthOrHeight:this.canvasWidth,useWebWorker:!0},e.prev=2,this.$toast.loading({message:"".concat(this.$t("info.63"),"..."),duration:0}),e.next=6,Object(u["a"])(r,n);case 6:i=e.sent,a=new FileReader,a.readAsDataURL(i),a.onload=function(e){var t=new Image;t.src=e.target.result,t.onload=function(){o.IdentifyQRCode(t.src,"manual")}},e.next=15;break;case 12:e.prev=12,e.t0=e["catch"](2),console.log(e.t0);case 15:case"end":return e.stop()}}),e,this,[[2,12]])})));function t(t){return e.apply(this,arguments)}return t}()}},w=_,E=(r("1e92"),Object(b["a"])(w,n,i,!1,null,"66cbc5d6",null));t["default"]=E.exports},"77ff":function(e,t,r){"use strict";(function(t){var n="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},i=r("9490"),a=r("24f8"),o=r("0b16"),s=r("b383"),l=r("470b"),c=r("3022"),u=function(e,r){if("string"!==typeof e&&!e.hasOwnProperty("url"))throw new Error("Missing url option from options for request method.");var c="object"===("undefined"===typeof e?"undefined":n(e))?o.parse(e.url):o.parse(e),u={hostname:c.hostname,port:c.port||("http:"===c.protocol.toLowerCase()?80:443),path:c.path,method:"GET",headers:{},auth:c.auth||null,parse:"none",stream:!1};if("object"===("undefined"===typeof e?"undefined":n(e))&&(u=Object.assign(u,e)),u.port=Number(u.port),u.hasOwnProperty("timeout")&&delete u.timeout,!0===u.compressed&&(u.headers["accept-encoding"]="gzip, deflate"),e.hasOwnProperty("form")){if("object"!==n(e.form))throw new Error("phin 'form' option must be of type Object if present.");var f=s.stringify(e.form);u.headers["Content-Type"]="application/x-www-form-urlencoded",u.headers["Content-Length"]=t.byteLength(f),e.data=f}var h=void 0,d=function(e){var n=e;!0===u.compressed&&("gzip"===e.headers["content-encoding"]?n=e.pipe(l.createGunzip()):"deflate"===e.headers["content-encoding"]&&(n=e.pipe(l.createInflate()))),!0===u.stream?(e.stream=n,r&&r(null,e)):(e.body=new t([]),n.on("data",(function(r){e.body=t.concat([e.body,r])})),n.on("end",(function(){if(r){if("json"===u.parse)try{e.body=JSON.parse(e.body.toString())}catch(t){return void r("Invalid JSON received.",e)}r(null,e)}})))};switch(c.protocol.toLowerCase()){case"http:":h=i.request(u,d);break;case"https:":h=a.request(u,d);break;default:return void(r&&r(new Error("Invalid / unknown URL protocol. Expected HTTP or HTTPS."),null))}if("number"===typeof e.timeout&&h.setTimeout(e.timeout,(function(){h.abort(),r&&r(new Error("Timeout has been reached."),null),r=null})),h.on("error",(function(e){r&&r(e,null)})),e.hasOwnProperty("data")){var p=e.data;if(!(e.data instanceof t)&&"object"===n(e.data)){var m=u.headers["content-type"]||u.headers["Content-Type"];if("application/x-www-form-urlencoded"===m)p=s.stringify(e.data);else try{p=JSON.stringify(e.data)}catch(g){r&&r(new Error("Couldn't stringify object. (Likely due to a circular reference.)"),null)}}h.write(p)}h.end()};u.promisified=function(e,t){return new Promise((function(r,n){u(e,(function(e,t){e?n(e):r(t)}),t)}))},c.promisify&&(u[c.promisify.custom]=u.promisified),e.exports=u}).call(this,r("b639").Buffer)},"780f":function(e,t,r){"use strict";e.exports=a;var n=r("27bf"),i=Object.create(r("3a7c"));function a(e){if(!(this instanceof a))return new a(e);n.call(this,e)}i.inherits=r("3fb5"),i.inherits(a,n),a.prototype._transform=function(e,t,r){r(null,e)}},7998:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=n(r("9523")),a=r("fcd8"),o=r("c2d7"),s="image/png",l=-1,c=0,u=1,f=2,h=3,d=4,p=function(){return{mime:(0,i["default"])({},s,["png"]),constants:{MIME_PNG:s,PNG_FILTER_AUTO:l,PNG_FILTER_NONE:c,PNG_FILTER_SUB:u,PNG_FILTER_UP:f,PNG_FILTER_AVERAGE:h,PNG_FILTER_PATH:d},hasAlpha:(0,i["default"])({},s,!0),decoders:(0,i["default"])({},s,a.PNG.sync.read),encoders:(0,i["default"])({},s,(function(e){var t=new a.PNG({width:e.bitmap.width,height:e.bitmap.height});return t.data=e.bitmap.data,a.PNG.sync.write(t,{width:e.bitmap.width,height:e.bitmap.height,deflateLevel:e._deflateLevel,deflateStrategy:e._deflateStrategy,filterType:e._filterType,colorType:"number"===typeof e._colorType?e._colorType:e._rgba?6:2,inputHasAlpha:e._rgba})})),class:{_deflateLevel:9,_deflateStrategy:3,_filterType:l,_colorType:null,deflateLevel:function(e,t){return"number"!==typeof e?o.throwError.call(this,"l must be a number",t):e<0||e>9?o.throwError.call(this,"l must be a number 0 - 9",t):(this._deflateLevel=Math.round(e),(0,o.isNodePattern)(t)&&t.call(this,null,this),this)},deflateStrategy:function(e,t){return"number"!==typeof e?o.throwError.call(this,"s must be a number",t):e<0||e>3?o.throwError.call(this,"s must be a number 0 - 3",t):(this._deflateStrategy=Math.round(e),(0,o.isNodePattern)(t)&&t.call(this,null,this),this)},filterType:function(e,t){return"number"!==typeof e?o.throwError.call(this,"n must be a number",t):e<-1||e>4?o.throwError.call(this,"n must be -1 (auto) or a number 0 - 4",t):(this._filterType=Math.round(e),(0,o.isNodePattern)(t)&&t.call(this,null,this),this)},colorType:function(e,t){return"number"!==typeof e?o.throwError.call(this,"s must be a number",t):0!==e&&2!==e&&4!==e&&6!==e?o.throwError.call(this,"s must be a number 0, 2, 4, 6.",t):(this._colorType=Math.round(e),(0,o.isNodePattern)(t)&&t.call(this,null,this),this)}}}};t["default"]=p},"7a87":function(e,t,r){var n=r("b639").Buffer;e.exports=function(e,t){if(n.isBuffer(e)&&n.isBuffer(t)){if("function"===typeof e.equals)return e.equals(t);if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}}},"7b27":function(e,t,r){"use strict";var n=r("be7fe"),i=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(c){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(c){a=!1}for(var o=new n.Buf8(256),s=0;s<256;s++)o[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;function l(e,t){if(t<65534&&(e.subarray&&a||!e.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",o=0;o<t;o++)r+=String.fromCharCode(e[o]);return r}o[254]=o[254]=1,t.string2buf=function(e){var t,r,i,a,o,s=e.length,l=0;for(a=0;a<s;a++)r=e.charCodeAt(a),55296===(64512&r)&&a+1<s&&(i=e.charCodeAt(a+1),56320===(64512&i)&&(r=65536+(r-55296<<10)+(i-56320),a++)),l+=r<128?1:r<2048?2:r<65536?3:4;for(t=new n.Buf8(l),o=0,a=0;o<l;a++)r=e.charCodeAt(a),55296===(64512&r)&&a+1<s&&(i=e.charCodeAt(a+1),56320===(64512&i)&&(r=65536+(r-55296<<10)+(i-56320),a++)),r<128?t[o++]=r:r<2048?(t[o++]=192|r>>>6,t[o++]=128|63&r):r<65536?(t[o++]=224|r>>>12,t[o++]=128|r>>>6&63,t[o++]=128|63&r):(t[o++]=240|r>>>18,t[o++]=128|r>>>12&63,t[o++]=128|r>>>6&63,t[o++]=128|63&r);return t},t.buf2binstring=function(e){return l(e,e.length)},t.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,i=t.length;r<i;r++)t[r]=e.charCodeAt(r);return t},t.buf2string=function(e,t){var r,n,i,a,s=t||e.length,c=new Array(2*s);for(n=0,r=0;r<s;)if(i=e[r++],i<128)c[n++]=i;else if(a=o[i],a>4)c[n++]=65533,r+=a-1;else{i&=2===a?31:3===a?15:7;while(a>1&&r<s)i=i<<6|63&e[r++],a--;a>1?c[n++]=65533:i<65536?c[n++]=i:(i-=65536,c[n++]=55296|i>>10&1023,c[n++]=56320|1023&i)}return l(c,n)},t.utf8border=function(e,t){var r;t=t||e.length,t>e.length&&(t=e.length),r=t-1;while(r>=0&&128===(192&e[r]))r--;return r<0||0===r?t:r+o[e[r]]>t?r:t}},"7b76":function(e,t,r){"use strict";(function(t){var n=r("ab33");e.exports=function(e,r,i,a){var o=-1!==[n.COLORTYPE_COLOR_ALPHA,n.COLORTYPE_ALPHA].indexOf(a.colorType);if(a.colorType===a.inputColorType){var s=function(){var e=new ArrayBuffer(2);return new DataView(e).setInt16(0,256,!0),256!==new Int16Array(e)[0]}();if(8===a.bitDepth||16===a.bitDepth&&s)return e}var l=16!==a.bitDepth?e:new Uint16Array(e.buffer),c=255,u=n.COLORTYPE_TO_BPP_MAP[a.inputColorType];4!==u||a.inputHasAlpha||(u=3);var f=n.COLORTYPE_TO_BPP_MAP[a.colorType];16===a.bitDepth&&(c=65535,f*=2);var h=new t(r*i*f),d=0,p=0,m=a.bgColor||{};function g(){var e,t,r,i=c;switch(a.inputColorType){case n.COLORTYPE_COLOR_ALPHA:i=l[d+3],e=l[d],t=l[d+1],r=l[d+2];break;case n.COLORTYPE_COLOR:e=l[d],t=l[d+1],r=l[d+2];break;case n.COLORTYPE_ALPHA:i=l[d+1],e=l[d],t=e,r=e;break;case n.COLORTYPE_GRAYSCALE:e=l[d],t=e,r=e;break;default:throw new Error("input color type:"+a.inputColorType+" is not supported at present")}return a.inputHasAlpha&&(o||(i/=c,e=Math.min(Math.max(Math.round((1-i)*m.red+i*e),0),c),t=Math.min(Math.max(Math.round((1-i)*m.green+i*t),0),c),r=Math.min(Math.max(Math.round((1-i)*m.blue+i*r),0),c))),{red:e,green:t,blue:r,alpha:i}}void 0===m.red&&(m.red=c),void 0===m.green&&(m.green=c),void 0===m.blue&&(m.blue=c);for(var b=0;b<i;b++)for(var y=0;y<r;y++){var v=g(l,d);switch(a.colorType){case n.COLORTYPE_COLOR_ALPHA:case n.COLORTYPE_COLOR:8===a.bitDepth?(h[p]=v.red,h[p+1]=v.green,h[p+2]=v.blue,o&&(h[p+3]=v.alpha)):(h.writeUInt16BE(v.red,p),h.writeUInt16BE(v.green,p+2),h.writeUInt16BE(v.blue,p+4),o&&h.writeUInt16BE(v.alpha,p+6));break;case n.COLORTYPE_ALPHA:case n.COLORTYPE_GRAYSCALE:var _=(v.red+v.green+v.blue)/3;8===a.bitDepth?(h[p]=_,o&&(h[p+1]=v.alpha)):(h.writeUInt16BE(_,p),o&&h.writeUInt16BE(v.alpha,p+2));break;default:throw new Error("unrecognised color Type "+a.colorType)}d+=u,p+=f}return h}}).call(this,r("b639").Buffer)},"7c9f":function(e,t,r){"use strict";(function(e){var n=r("46d3"),i=r("e22f6");t.process=function(t,r){var a=[],o=new n(t),s=new i(r,{read:o.read.bind(o),write:function(e){a.push(e)},complete:function(){}});return s.start(),o.process(),e.concat(a)}}).call(this,r("b639").Buffer)},"7d72":function(e,t,r){"use strict";var n=r("8707").Buffer,i=n.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(e){if(!e)return"utf8";var t;while(1)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function o(e){var t=a(e);if("string"!==typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}function s(e){var t;switch(this.encoding=o(e),this.encoding){case"utf16le":this.text=p,this.end=m,t=4;break;case"utf8":this.fillLast=f,t=4;break;case"base64":this.text=g,this.end=b,t=3;break;default:return this.write=y,void(this.end=v)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function l(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function c(e,t,r){var n=t.length-1;if(n<r)return 0;var i=l(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||-2===i?0:(i=l(t[n]),i>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||-2===i?0:(i=l(t[n]),i>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0))}function u(e,t,r){if(128!==(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"�"}}function f(e){var t=this.lastTotal-this.lastNeed,r=u(this,e,t);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function h(e,t){var r=c(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function p(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function m(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function g(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function b(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function y(e){return e.toString(this.encoding)}function v(e){return e&&e.length?this.write(e):""}t.StringDecoder=s,s.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(t=this.fillLast(e),void 0===t)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},s.prototype.end=d,s.prototype.text=h,s.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},"7eb1":function(e,t,r){"use strict";var n=30,i=12;e.exports=function(e,t){var r,a,o,s,l,c,u,f,h,d,p,m,g,b,y,v,_,w,E,P,A,k,C,S,I;r=e.state,a=e.next_in,S=e.input,o=a+(e.avail_in-5),s=e.next_out,I=e.output,l=s-(t-e.avail_out),c=s+(e.avail_out-257),u=r.dmax,f=r.wsize,h=r.whave,d=r.wnext,p=r.window,m=r.hold,g=r.bits,b=r.lencode,y=r.distcode,v=(1<<r.lenbits)-1,_=(1<<r.distbits)-1;e:do{g<15&&(m+=S[a++]<<g,g+=8,m+=S[a++]<<g,g+=8),w=b[m&v];t:for(;;){if(E=w>>>24,m>>>=E,g-=E,E=w>>>16&255,0===E)I[s++]=65535&w;else{if(!(16&E)){if(0===(64&E)){w=b[(65535&w)+(m&(1<<E)-1)];continue t}if(32&E){r.mode=i;break e}e.msg="invalid literal/length code",r.mode=n;break e}P=65535&w,E&=15,E&&(g<E&&(m+=S[a++]<<g,g+=8),P+=m&(1<<E)-1,m>>>=E,g-=E),g<15&&(m+=S[a++]<<g,g+=8,m+=S[a++]<<g,g+=8),w=y[m&_];r:for(;;){if(E=w>>>24,m>>>=E,g-=E,E=w>>>16&255,!(16&E)){if(0===(64&E)){w=y[(65535&w)+(m&(1<<E)-1)];continue r}e.msg="invalid distance code",r.mode=n;break e}if(A=65535&w,E&=15,g<E&&(m+=S[a++]<<g,g+=8,g<E&&(m+=S[a++]<<g,g+=8)),A+=m&(1<<E)-1,A>u){e.msg="invalid distance too far back",r.mode=n;break e}if(m>>>=E,g-=E,E=s-l,A>E){if(E=A-E,E>h&&r.sane){e.msg="invalid distance too far back",r.mode=n;break e}if(k=0,C=p,0===d){if(k+=f-E,E<P){P-=E;do{I[s++]=p[k++]}while(--E);k=s-A,C=I}}else if(d<E){if(k+=f+d-E,E-=d,E<P){P-=E;do{I[s++]=p[k++]}while(--E);if(k=0,d<P){E=d,P-=E;do{I[s++]=p[k++]}while(--E);k=s-A,C=I}}}else if(k+=d-E,E<P){P-=E;do{I[s++]=p[k++]}while(--E);k=s-A,C=I}while(P>2)I[s++]=C[k++],I[s++]=C[k++],I[s++]=C[k++],P-=3;P&&(I[s++]=C[k++],P>1&&(I[s++]=C[k++]))}else{k=s-A;do{I[s++]=I[k++],I[s++]=I[k++],I[s++]=I[k++],P-=3}while(P>2);P&&(I[s++]=I[k++],P>1&&(I[s++]=I[k++]))}break}}break}}while(a<o&&s<c);P=g>>3,a-=P,g-=P<<3,m&=(1<<g)-1,e.next_in=a,e.next_out=s,e.avail_in=a<o?o-a+5:5-(a-o),e.avail_out=s<c?c-s+257:257-(s-c),r.hold=m,r.bits=g}},"7ece":function(e,t){function r(e,t){if(e=e.replace(/\t+/g," ").trim(),!e)return null;var r=e.indexOf(" ");if(-1===r)throw new Error("no named row at line "+t);var i=e.substring(0,r);e=e.substring(r+1),e=e.replace(/letter=[\'\"]\S+[\'\"]/gi,""),e=e.split("="),e=e.map((function(e){return e.trim().match(/(".*?"|[^"\s]+)+(?=\s*|\s*$)/g)}));for(var a=[],o=0;o<e.length;o++){var s=e[o];0===o?a.push({key:s[0],data:""}):o===e.length-1?a[a.length-1].data=n(s[0]):(a[a.length-1].data=n(s[0]),a.push({key:s[1],data:""}))}var l={key:i,data:{}};return a.forEach((function(e){l.data[e.key]=e.data})),l}function n(e){return e&&0!==e.length?0===e.indexOf('"')||0===e.indexOf("'")?e.substring(1,e.length-1):-1!==e.indexOf(",")?i(e):parseInt(e,10):""}function i(e){return e.split(",").map((function(e){return parseInt(e,10)}))}e.exports=function(e){if(!e)throw new Error("no data provided");e=e.toString().trim();var t={pages:[],chars:[],kernings:[]},n=e.split(/\r\n?|\n/g);if(0===n.length)throw new Error("no data in BMFont file");for(var i=0;i<n.length;i++){var a=r(n[i],i);if(a)if("page"===a.key){if("number"!==typeof a.data.id)throw new Error("malformed file at line "+i+" -- needs page id=N");if("string"!==typeof a.data.file)throw new Error("malformed file at line "+i+' -- needs page file="path"');t.pages[a.data.id]=a.data.file}else"chars"===a.key||"kernings"===a.key||("char"===a.key?t.chars.push(a.data):"kerning"===a.key?t.kernings.push(a.data):t[a.key]=a.data)}return t}},8:function(e,t){},8013:function(e,t,r){"use strict";function n(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}e.exports=n},"803d":function(e,t,r){(function(t){function r(e,t){if(this.pos=0,this.buffer=e,this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=this.buffer.toString("utf-8",0,this.pos+=2),"BM"!=this.flag)throw new Error("Invalid BMP File");this.parseHeader(),this.parseRGBA()}r.prototype.parseHeader=function(){if(this.fileSize=this.buffer.readUInt32LE(this.pos),this.pos+=4,this.reserved=this.buffer.readUInt32LE(this.pos),this.pos+=4,this.offset=this.buffer.readUInt32LE(this.pos),this.pos+=4,this.headerSize=this.buffer.readUInt32LE(this.pos),this.pos+=4,this.width=this.buffer.readUInt32LE(this.pos),this.pos+=4,this.height=this.buffer.readInt32LE(this.pos),this.pos+=4,this.planes=this.buffer.readUInt16LE(this.pos),this.pos+=2,this.bitPP=this.buffer.readUInt16LE(this.pos),this.pos+=2,this.compress=this.buffer.readUInt32LE(this.pos),this.pos+=4,this.rawSize=this.buffer.readUInt32LE(this.pos),this.pos+=4,this.hr=this.buffer.readUInt32LE(this.pos),this.pos+=4,this.vr=this.buffer.readUInt32LE(this.pos),this.pos+=4,this.colors=this.buffer.readUInt32LE(this.pos),this.pos+=4,this.importantColors=this.buffer.readUInt32LE(this.pos),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var e=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(e);for(var t=0;t<e;t++){var r=this.buffer.readUInt8(this.pos++),n=this.buffer.readUInt8(this.pos++),i=this.buffer.readUInt8(this.pos++),a=this.buffer.readUInt8(this.pos++);this.palette[t]={red:i,green:n,blue:r,quad:a}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},r.prototype.parseRGBA=function(){var e="bit"+this.bitPP,r=this.width*this.height*4;this.data=new t(r),this[e]()},r.prototype.bit1=function(){var e=Math.ceil(this.width/8),t=e%4,r=this.height>=0?this.height-1:-this.height;for(r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i<e;i++)for(var a=this.buffer.readUInt8(this.pos++),o=n*this.width*4+8*i*4,s=0;s<8;s++){if(!(8*i+s<this.width))break;var l=this.palette[a>>7-s&1];this.data[o+4*s]=0,this.data[o+4*s+1]=l.blue,this.data[o+4*s+2]=l.green,this.data[o+4*s+3]=l.red}0!=t&&(this.pos+=4-t)}},r.prototype.bit4=function(){if(2==this.compress){this.data.fill(255);var e=0,t=this.bottom_up?this.height-1:0,r=!1;while(e<this.data.length){var n=this.buffer.readUInt8(this.pos++),i=this.buffer.readUInt8(this.pos++);if(0==n){if(0==i){this.bottom_up?t--:t++,e=t*this.width*4,r=!1;continue}if(1==i)break;if(2==i){var a=this.buffer.readUInt8(this.pos++),o=this.buffer.readUInt8(this.pos++);this.bottom_up?t-=o:t+=o,e+=o*this.width*4+4*a}else{for(var s=this.buffer.readUInt8(this.pos++),l=0;l<i;l++)r?c.call(this,15&s):c.call(this,(240&s)>>4),1&l&&l+1<i&&(s=this.buffer.readUInt8(this.pos++)),r=!r;1==(i+1>>1&1)&&this.pos++}}else for(l=0;l<n;l++)r?c.call(this,15&i):c.call(this,(240&i)>>4),r=!r}function c(t){var r=this.palette[t];this.data[e]=0,this.data[e+1]=r.blue,this.data[e+2]=r.green,this.data[e+3]=r.red,e+=4}}else{var u=Math.ceil(this.width/2),f=u%4;for(o=this.height-1;o>=0;o--){var h=this.bottom_up?o:this.height-1-o;for(a=0;a<u;a++){i=this.buffer.readUInt8(this.pos++),e=h*this.width*4+2*a*4;var d=i>>4,p=15&i,m=this.palette[d];if(this.data[e]=0,this.data[e+1]=m.blue,this.data[e+2]=m.green,this.data[e+3]=m.red,2*a+1>=this.width)break;m=this.palette[p],this.data[e+4]=0,this.data[e+4+1]=m.blue,this.data[e+4+2]=m.green,this.data[e+4+3]=m.red}0!=f&&(this.pos+=4-f)}}},r.prototype.bit8=function(){if(1==this.compress){this.data.fill(255);var e=0,t=this.bottom_up?this.height-1:0;while(e<this.data.length){var r=this.buffer.readUInt8(this.pos++),n=this.buffer.readUInt8(this.pos++);if(0==r){if(0==n){this.bottom_up?t--:t++,e=t*this.width*4;continue}if(1==n)break;if(2==n){var i=this.buffer.readUInt8(this.pos++),a=this.buffer.readUInt8(this.pos++);this.bottom_up?t-=a:t+=a,e+=a*this.width*4+4*i}else{for(var o=0;o<n;o++){var s=this.buffer.readUInt8(this.pos++);l.call(this,s)}!0&n&&this.pos++}}else for(o=0;o<r;o++)l.call(this,n)}function l(t){var r=this.palette[t];this.data[e]=0,this.data[e+1]=r.blue,this.data[e+2]=r.green,this.data[e+3]=r.red,e+=4}}else{var c=this.width%4;for(a=this.height-1;a>=0;a--){var u=this.bottom_up?a:this.height-1-a;for(i=0;i<this.width;i++){n=this.buffer.readUInt8(this.pos++),e=u*this.width*4+4*i;if(n<this.palette.length){var f=this.palette[n];this.data[e]=0,this.data[e+1]=f.blue,this.data[e+2]=f.green,this.data[e+3]=f.red}else this.data[e]=0,this.data[e+1]=255,this.data[e+2]=255,this.data[e+3]=255}0!=c&&(this.pos+=4-c)}}},r.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),r=t,n=this.height-1;n>=0;n--){for(var i=this.bottom_up?n:this.height-1-n,a=0;a<this.width;a++){var o=this.buffer.readUInt16LE(this.pos);this.pos+=2;var s=(o&r)/r*255|0,l=(o>>5&r)/r*255|0,c=(o>>10&r)/r*255|0,u=o>>15?255:0,f=i*this.width*4+4*a;this.data[f]=u,this.data[f+1]=s,this.data[f+2]=l,this.data[f+3]=c}this.pos+=e}},r.prototype.bit16=function(){var e=this.width%2*2;this.maskRed=31744,this.maskGreen=992,this.maskBlue=31,this.mask0=0,3==this.compress&&(this.maskRed=this.buffer.readUInt32LE(this.pos),this.pos+=4,this.maskGreen=this.buffer.readUInt32LE(this.pos),this.pos+=4,this.maskBlue=this.buffer.readUInt32LE(this.pos),this.pos+=4,this.mask0=this.buffer.readUInt32LE(this.pos),this.pos+=4);for(var t=[0,0,0],r=0;r<16;r++)this.maskRed>>r&1&&t[0]++,this.maskGreen>>r&1&&t[1]++,this.maskBlue>>r&1&&t[2]++;t[1]+=t[0],t[2]+=t[1],t[0]=8-t[0],t[1]-=8,t[2]-=8;for(var n=this.height-1;n>=0;n--){for(var i=this.bottom_up?n:this.height-1-n,a=0;a<this.width;a++){var o=this.buffer.readUInt16LE(this.pos);this.pos+=2;var s=(o&this.maskBlue)<<t[0],l=(o&this.maskGreen)>>t[1],c=(o&this.maskRed)>>t[2],u=i*this.width*4+4*a;this.data[u]=0,this.data[u+1]=s,this.data[u+2]=l,this.data[u+3]=c}this.pos+=e}},r.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,r=0;r<this.width;r++){var n=this.buffer.readUInt8(this.pos++),i=this.buffer.readUInt8(this.pos++),a=this.buffer.readUInt8(this.pos++),o=t*this.width*4+4*r;this.data[o]=0,this.data[o+1]=n,this.data[o+2]=i,this.data[o+3]=a}this.pos+=this.width%4}},r.prototype.bit32=function(){if(3==this.compress){this.maskRed=this.buffer.readUInt32LE(this.pos),this.pos+=4,this.maskGreen=this.buffer.readUInt32LE(this.pos),this.pos+=4,this.maskBlue=this.buffer.readUInt32LE(this.pos),this.pos+=4,this.mask0=this.buffer.readUInt32LE(this.pos),this.pos+=4;for(var e=this.height-1;e>=0;e--)for(var t=this.bottom_up?e:this.height-1-e,r=0;r<this.width;r++){var n=this.buffer.readUInt8(this.pos++),i=this.buffer.readUInt8(this.pos++),a=this.buffer.readUInt8(this.pos++),o=this.buffer.readUInt8(this.pos++),s=t*this.width*4+4*r;this.data[s]=n,this.data[s+1]=i,this.data[s+2]=a,this.data[s+3]=o}}else for(e=this.height-1;e>=0;e--)for(t=this.bottom_up?e:this.height-1-e,r=0;r<this.width;r++){i=this.buffer.readUInt8(this.pos++),a=this.buffer.readUInt8(this.pos++),o=this.buffer.readUInt8(this.pos++),n=this.buffer.readUInt8(this.pos++),s=t*this.width*4+4*r;this.data[s]=n,this.data[s+1]=i,this.data[s+2]=a,this.data[s+3]=o}},r.prototype.getData=function(){return this.data},e.exports=function(e){var t=new r(e);return t}}).call(this,r("b639").Buffer)},8362:function(e,t){e.exports=n;var r=Object.prototype.toString;function n(e){if(!e)return!1;var t=r.call(e);return"[object Function]"===t||"function"===typeof e&&"[object RegExp]"!==t||"undefined"!==typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)}},"86a9":function(e,t,r){"use strict";(function(t){var n=!0,i=r("470b"),a=r("1bc3");i.deflateSync||(n=!1);var o=r("46d3"),s=r("7c9f"),l=r("618c"),c=r("2767"),u=r("4196");e.exports=function(e,r){if(!n)throw new Error("To use the sync capability of this library in old node versions, please pin pngjs to v2.3.0");var f,h,d;function p(e){f=e}function m(e){h=e}function g(e){h.transColor=e}function b(e){h.palette=e}function y(){h.alpha=!0}function v(e){d=e}var _=[];function w(e){_.push(e)}var E=new o(e),P=new l(r,{read:E.read.bind(E),error:p,metadata:m,gamma:v,palette:b,transColor:g,inflateData:w,simpleTransparency:y});if(P.start(),E.process(),f)throw f;var A,k=t.concat(_);if(_.length=0,h.interlace)A=i.inflateSync(k);else{var C=1+(h.width*h.bpp*h.depth+7>>3),S=C*h.height;A=a(k,{chunkSize:S,maxLength:S})}if(k=null,!A||!A.length)throw new Error("bad png - invalid inflate data response");var I=s.process(A,h);k=null;var B=c.dataToBitMap(I,h);I=null;var x=u(B,h);return h.data=x,h.gamma=d||0,h}}).call(this,r("b639").Buffer)},8707:function(e,t,r){var n=r("b639"),i=n.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=o),a(i,o),o.from=function(e,t,r){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},o.alloc=function(e,t,r){if("number"!==typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"===typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},8936:function(e,t,r){"use strict";function n(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}e.exports=n},"8b10":function(e,t,r){"use strict";(function(e){var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=o;var i=n(r("7037")),a=r("c2d7");function o(t){return t("crop",(function(t,r,n,i,o){if("number"!==typeof t||"number"!==typeof r)return a.throwError.call(this,"x and y must be numbers",o);if("number"!==typeof n||"number"!==typeof i)return a.throwError.call(this,"w and h must be numbers",o);if(t=Math.round(t),r=Math.round(r),n=Math.round(n),i=Math.round(i),0===t&&n===this.bitmap.width){var s=n*r+t<<2,l=s+i*n<<2;this.bitmap.data=this.bitmap.data.slice(s,l)}else{var c=e.allocUnsafe(n*i*4),u=0;this.scanQuiet(t,r,n,i,(function(e,t,r){var n=this.bitmap.data.readUInt32BE(r,!0);c.writeUInt32BE(n,u,!0),u+=4})),this.bitmap.data=c}return this.bitmap.width=n,this.bitmap.height=i,(0,a.isNodePattern)(o)&&o.call(this,null,this),this})),{class:{autocrop:function(){for(var e,t=this.bitmap.width,r=this.bitmap.height,n=1,o=0,s=2e-4,l=!0,c=!1,u={north:!1,south:!1,east:!1,west:!1},f=arguments.length,h=new Array(f),d=0;d<f;d++)h[d]=arguments[d];for(var p=0,m=h.length;p<m;p++)if("number"===typeof h[p]&&(s=h[p]),"boolean"===typeof h[p]&&(l=h[p]),"function"===typeof h[p]&&(e=h[p]),"object"===(0,i["default"])(h[p])){var g=h[p];"undefined"!==typeof g.tolerance&&(s=g.tolerance),"undefined"!==typeof g.cropOnlyFrames&&(l=g.cropOnlyFrames),"undefined"!==typeof g.cropSymmetric&&(c=g.cropSymmetric),"undefined"!==typeof g.leaveBorder&&(o=g.leaveBorder),"undefined"!==typeof g.ignoreSides&&(u=g.ignoreSides)}var b=this.getPixelColor(0,0),y=this.constructor.intToRGBA(b),v=0,_=0,w=0,E=0;if(b=this.getPixelColor(0,0),!u.north)e:for(var P=0;P<r-n;P++){for(var A=0;A<t;A++){var k=this.getPixelColor(A,P),C=this.constructor.intToRGBA(k);if(this.constructor.colorDiff(y,C)>s)break e}v++}if(b=this.getPixelColor(t,0),!u.east)e:for(var S=0;S<t-n;S++){for(var I=0+v;I<r;I++){var B=this.getPixelColor(S,I),x=this.constructor.intToRGBA(B);if(this.constructor.colorDiff(y,x)>s)break e}_++}if(b=this.getPixelColor(0,r),!u.south)e:for(var T=r-1;T>=v+n;T--){for(var R=t-_-1;R>=0;R--){var M=this.getPixelColor(R,T),O=this.constructor.intToRGBA(M);if(this.constructor.colorDiff(y,O)>s)break e}w++}if(b=this.getPixelColor(t,r),!u.west)e:for(var N=t-1;N>=0+_+n;N--){for(var U=r-1;U>=0+v;U--){var L=this.getPixelColor(N,U),D=this.constructor.intToRGBA(L);if(this.constructor.colorDiff(y,D)>s)break e}E++}var F=!1;if(E-=o,_-=o,v-=o,w-=o,c){var $=Math.min(_,E),G=Math.min(v,w);E=$,_=$,v=G,w=G}E=E>=0?E:0,_=_>=0?_:0,v=v>=0?v:0,w=w>=0?w:0;var j=t-(E+_),H=r-(w+v);return F=l?0!==_&&0!==v&&0!==E&&0!==w:0!==_||0!==v||0!==E||0!==w,F&&this.crop(_,v,j,H),(0,a.isNodePattern)(e)&&e.call(this,null,this),this}}}}}).call(this,r("b639").Buffer)},"8c05":function(e,t){e.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},"8d59":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var n=r("c2d7"),i=function(){return{circle:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;"function"===typeof e&&(t=e,e={});var r=e.radius||(this.bitmap.width>this.bitmap.height?this.bitmap.height:this.bitmap.width)/2,i={x:"number"===typeof e.x?e.x:this.bitmap.width/2,y:"number"===typeof e.y?e.y:this.bitmap.height/2};return this.scanQuiet(0,0,this.bitmap.width,this.bitmap.height,(function(e,t,n){var a=Math.sqrt(Math.pow(e-i.x,2)+Math.pow(t-i.y,2));r-a<=0?this.bitmap.data[n+3]=0:r-a<1&&(this.bitmap.data[n+3]=255*(r-a))})),(0,n.isNodePattern)(t)&&t.call(this,null,this),this}}};t["default"]=i},"8f44":function(e,t,r){"use strict";function n(e,t,r,n){var a=0,o=(n=void 0===n?{}:n,void 0===n.loop?null:n.loop),s=void 0===n.palette?null:n.palette;if(t<=0||r<=0||t>65535||r>65535)throw new Error("Width/Height invalid.");function l(e){var t=e.length;if(t<2||t>256||t&t-1)throw new Error("Invalid code/color length, must be power of 2 and 2 .. 256.");return t}e[a++]=71,e[a++]=73,e[a++]=70,e[a++]=56,e[a++]=57,e[a++]=97;var c=0,u=0;if(null!==s){var f=l(s);while(f>>=1)++c;if(f=1<<c,--c,void 0!==n.background){if(u=n.background,u>=f)throw new Error("Background index out of range.");if(0===u)throw new Error("Background index explicitly passed as 0.")}}if(e[a++]=255&t,e[a++]=t>>8&255,e[a++]=255&r,e[a++]=r>>8&255,e[a++]=(null!==s?128:0)|c,e[a++]=u,e[a++]=0,null!==s)for(var h=0,d=s.length;h<d;++h){var p=s[h];e[a++]=p>>16&255,e[a++]=p>>8&255,e[a++]=255&p}if(null!==o){if(o<0||o>65535)throw new Error("Loop count invalid.");e[a++]=33,e[a++]=255,e[a++]=11,e[a++]=78,e[a++]=69,e[a++]=84,e[a++]=83,e[a++]=67,e[a++]=65,e[a++]=80,e[a++]=69,e[a++]=50,e[a++]=46,e[a++]=48,e[a++]=3,e[a++]=1,e[a++]=255&o,e[a++]=o>>8&255,e[a++]=0}var m=!1;this.addFrame=function(t,r,n,o,c,u){if(!0===m&&(--a,m=!1),u=void 0===u?{}:u,t<0||r<0||t>65535||r>65535)throw new Error("x/y invalid.");if(n<=0||o<=0||n>65535||o>65535)throw new Error("Width/Height invalid.");if(c.length<n*o)throw new Error("Not enough pixels for the frame size.");var f=!0,h=u.palette;if(void 0!==h&&null!==h||(f=!1,h=s),void 0===h||null===h)throw new Error("Must supply either a local or global palette.");var d=l(h),p=0;while(d>>=1)++p;d=1<<p;var g=void 0===u.delay?0:u.delay,b=void 0===u.disposal?0:u.disposal;if(b<0||b>3)throw new Error("Disposal out of range.");var y=!1,v=0;if(void 0!==u.transparent&&null!==u.transparent&&(y=!0,v=u.transparent,v<0||v>=d))throw new Error("Transparent color index.");if((0!==b||y||0!==g)&&(e[a++]=33,e[a++]=249,e[a++]=4,e[a++]=b<<2|(!0===y?1:0),e[a++]=255&g,e[a++]=g>>8&255,e[a++]=v,e[a++]=0),e[a++]=44,e[a++]=255&t,e[a++]=t>>8&255,e[a++]=255&r,e[a++]=r>>8&255,e[a++]=255&n,e[a++]=n>>8&255,e[a++]=255&o,e[a++]=o>>8&255,e[a++]=!0===f?128|p-1:0,!0===f)for(var _=0,w=h.length;_<w;++_){var E=h[_];e[a++]=E>>16&255,e[a++]=E>>8&255,e[a++]=255&E}return a=i(e,a,p<2?2:p,c),a},this.end=function(){return!1===m&&(e[a++]=59,m=!0),a},this.getOutputBuffer=function(){return e},this.setOutputBuffer=function(t){e=t},this.getOutputBufferPosition=function(){return a},this.setOutputBufferPosition=function(e){a=e}}function i(e,t,r,n){e[t++]=r;var i=t++,a=1<<r,o=a-1,s=a+1,l=s+1,c=r+1,u=0,f=0;function h(r){while(u>=r)e[t++]=255&f,f>>=8,u-=8,t===i+256&&(e[i]=255,i=t++)}function d(e){f|=e<<u,u+=c,h(8)}var p=n[0]&o,m={};d(a);for(var g=1,b=n.length;g<b;++g){var y=n[g]&o,v=p<<8|y,_=m[v];if(void 0===_){f|=p<<u,u+=c;while(u>=8)e[t++]=255&f,f>>=8,u-=8,t===i+256&&(e[i]=255,i=t++);4096===l?(d(a),l=s+1,c=r+1,m={}):(l>=1<<c&&++c,m[v]=l++),p=y}else p=_}return d(p),d(s),h(1),i+1===t?e[i]=0:(e[i]=t-i-1,e[t++]=0),t}function a(e){var t=0;if(71!==e[t++]||73!==e[t++]||70!==e[t++]||56!==e[t++]||56!==(e[t++]+1&253)||97!==e[t++])throw new Error("Invalid GIF 87a/89a header.");var r=e[t++]|e[t++]<<8,n=e[t++]|e[t++]<<8,i=e[t++],a=i>>7,s=7&i,l=1<<s+1;e[t++];e[t++];var c=null,u=null;a&&(c=t,u=l,t+=3*l);var f=!0,h=[],d=0,p=null,m=0,g=null;this.width=r,this.height=n;while(f&&t<e.length)switch(e[t++]){case 33:switch(e[t++]){case 255:if(11!==e[t]||78==e[t+1]&&69==e[t+2]&&84==e[t+3]&&83==e[t+4]&&67==e[t+5]&&65==e[t+6]&&80==e[t+7]&&69==e[t+8]&&50==e[t+9]&&46==e[t+10]&&48==e[t+11]&&3==e[t+12]&&1==e[t+13]&&0==e[t+16])t+=14,g=e[t++]|e[t++]<<8,t++;else{t+=12;while(1){var b=e[t++];if(!(b>=0))throw Error("Invalid block size");if(0===b)break;t+=b}}break;case 249:if(4!==e[t++]||0!==e[t+4])throw new Error("Invalid graphics extension block.");var y=e[t++];d=e[t++]|e[t++]<<8,p=e[t++],0===(1&y)&&(p=null),m=y>>2&7,t++;break;case 254:while(1){b=e[t++];if(!(b>=0))throw Error("Invalid block size");if(0===b)break;t+=b}break;default:throw new Error("Unknown graphic control label: 0x"+e[t-1].toString(16))}break;case 44:var v=e[t++]|e[t++]<<8,_=e[t++]|e[t++]<<8,w=e[t++]|e[t++]<<8,E=e[t++]|e[t++]<<8,P=e[t++],A=P>>7,k=P>>6&1,C=7&P,S=1<<C+1,I=c,B=u,x=!1;if(A){x=!0;I=t,B=S,t+=3*S}var T=t;t++;while(1){b=e[t++];if(!(b>=0))throw Error("Invalid block size");if(0===b)break;t+=b}h.push({x:v,y:_,width:w,height:E,has_local_palette:x,palette_offset:I,palette_size:B,data_offset:T,data_length:t-T,transparent_index:p,interlaced:!!k,delay:d,disposal:m});break;case 59:f=!1;break;default:throw new Error("Unknown gif block: 0x"+e[t-1].toString(16))}this.numFrames=function(){return h.length},this.loopCount=function(){return g},this.frameInfo=function(e){if(e<0||e>=h.length)throw new Error("Frame index out of range.");return h[e]},this.decodeAndBlitFrameBGRA=function(t,n){var i=this.frameInfo(t),a=i.width*i.height,s=new Uint8Array(a);o(e,i.data_offset,s,a);var l=i.palette_offset,c=i.transparent_index;null===c&&(c=256);var u=i.width,f=r-u,h=u,d=4*(i.y*r+i.x),p=4*((i.y+i.height)*r+i.x),m=d,g=4*f;!0===i.interlaced&&(g+=4*r*7);for(var b=8,y=0,v=s.length;y<v;++y){var _=s[y];if(0===h&&(m+=g,h=u,m>=p&&(g=4*f+4*r*(b-1),m=d+(u+f)*(b<<1),b>>=1)),_===c)m+=4;else{var w=e[l+3*_],E=e[l+3*_+1],P=e[l+3*_+2];n[m++]=P,n[m++]=E,n[m++]=w,n[m++]=255}--h}},this.decodeAndBlitFrameRGBA=function(t,n){var i=this.frameInfo(t),a=i.width*i.height,s=new Uint8Array(a);o(e,i.data_offset,s,a);var l=i.palette_offset,c=i.transparent_index;null===c&&(c=256);var u=i.width,f=r-u,h=u,d=4*(i.y*r+i.x),p=4*((i.y+i.height)*r+i.x),m=d,g=4*f;!0===i.interlaced&&(g+=4*r*7);for(var b=8,y=0,v=s.length;y<v;++y){var _=s[y];if(0===h&&(m+=g,h=u,m>=p&&(g=4*f+4*r*(b-1),m=d+(u+f)*(b<<1),b>>=1)),_===c)m+=4;else{var w=e[l+3*_],E=e[l+3*_+1],P=e[l+3*_+2];n[m++]=w,n[m++]=E,n[m++]=P,n[m++]=255}--h}}}function o(e,t,r,n){var i=e[t++],a=1<<i,o=a+1,s=o+1,l=i+1,c=(1<<l)-1,u=0,f=0,h=0,d=e[t++],p=new Int32Array(4096),m=null;while(1){while(u<16){if(0===d)break;f|=e[t++]<<u,u+=8,1===d?d=e[t++]:--d}if(u<l)break;var g=f&c;if(f>>=l,u-=l,g!==a){if(g===o)break;var b=g<s?g:m,y=0,v=b;while(v>a)v=p[v]>>8,++y;var _=v,w=h+y+(b!==g?1:0);if(w>n)return void console.log("Warning, gif stream longer than expected.");r[h++]=_,h+=y;var E=h;b!==g&&(r[h++]=_),v=b;while(y--)v=p[v],r[--E]=255&v,v>>=8;null!==m&&s<4096&&(p[s++]=m<<8|_,s>=c+1&&l<12&&(++l,c=c<<1|1)),m=g}else s=o+1,l=i+1,c=(1<<l)-1,m=null}return h!==n&&console.log("Warning, gif stream shorter than expected."),r}try{t.GifWriter=n,t.GifReader=a}catch(s){}},"91dd":function(e,t,r){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,r,a){t=t||"&",r=r||"=";var o={};if("string"!==typeof e||0===e.length)return o;var s=/\+/g;e=e.split(t);var l=1e3;a&&"number"===typeof a.maxKeys&&(l=a.maxKeys);var c=e.length;l>0&&c>l&&(c=l);for(var u=0;u<c;++u){var f,h,d,p,m=e[u].replace(s,"%20"),g=m.indexOf(r);g>=0?(f=m.substr(0,g),h=m.substr(g+1)):(f=m,h=""),d=decodeURIComponent(f),p=decodeURIComponent(h),n(o,d)?i(o[d])?o[d].push(p):o[d]=[o[d],p]:o[d]=p}return o};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},"91f2":function(e,t,r){"use strict";(function(t,n){var i=r("3022"),a=r("d485"),o=e.exports=function(){a.call(this),this._buffers=[],this._buffered=0,this._reads=[],this._paused=!1,this._encoding="utf8",this.writable=!0};i.inherits(o,a),o.prototype.read=function(e,r){this._reads.push({length:Math.abs(e),allowLess:e<0,func:r}),t.nextTick(function(){this._process(),this._paused&&this._reads.length>0&&(this._paused=!1,this.emit("drain"))}.bind(this))},o.prototype.write=function(e,t){return this.writable?(r=n.isBuffer(e)?e:new n(e,t||this._encoding),this._buffers.push(r),this._buffered+=r.length,this._process(),this._reads&&0===this._reads.length&&(this._paused=!0),this.writable&&!this._paused):(this.emit("error",new Error("Stream not writable")),!1);var r},o.prototype.end=function(e,t){e&&this.write(e,t),this.writable=!1,this._buffers&&(0===this._buffers.length?this._end():(this._buffers.push(null),this._process()))},o.prototype.destroySoon=o.prototype.end,o.prototype._end=function(){this._reads.length>0&&this.emit("error",new Error("Unexpected end of input")),this.destroy()},o.prototype.destroy=function(){this._buffers&&(this.writable=!1,this._reads=null,this._buffers=null,this.emit("close"))},o.prototype._processReadAllowingLess=function(e){this._reads.shift();var t=this._buffers[0];t.length>e.length?(this._buffered-=e.length,this._buffers[0]=t.slice(e.length),e.func.call(this,t.slice(0,e.length))):(this._buffered-=t.length,this._buffers.shift(),e.func.call(this,t))},o.prototype._processRead=function(e){this._reads.shift();var t=0,r=0,i=new n(e.length);while(t<e.length){var a=this._buffers[r++],o=Math.min(a.length,e.length-t);a.copy(i,t,0,o),t+=o,o!==a.length&&(this._buffers[--r]=a.slice(o))}r>0&&this._buffers.splice(0,r),this._buffered-=e.length,e.func.call(this,i)},o.prototype._process=function(){try{while(this._buffered>0&&this._reads&&this._reads.length>0){var e=this._reads[0];if(e.allowLess)this._processReadAllowingLess(e);else{if(!(this._buffered>=e.length))break;this._processRead(e)}}this._buffers&&!this.writable&&this._end()}catch(t){this.emit("error",t)}}}).call(this,r("4362"),r("b639").Buffer)},"925e":function(e,t,r){(function(t,n,i){var a=r("a9f1"),o=r("3fb5"),s=r("c90b"),l=r("e372"),c=r("d938"),u=s.IncomingMessage,f=s.readyStates;function h(e,t){return a.fetch&&t?"fetch":a.mozchunkedarraybuffer?"moz-chunked-arraybuffer":a.msstream?"ms-stream":a.arraybuffer&&e?"arraybuffer":a.vbArray&&e?"text:vbarray":"text"}var d=e.exports=function(e){var r,n=this;l.Writable.call(n),n._opts=e,n._body=[],n._headers={},e.auth&&n.setHeader("Authorization","Basic "+new t(e.auth).toString("base64")),Object.keys(e.headers).forEach((function(t){n.setHeader(t,e.headers[t])}));var i=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!a.abortController)i=!1,r=!0;else if("prefer-streaming"===e.mode)r=!1;else if("allow-wrong-content-type"===e.mode)r=!a.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");r=!0}n._mode=h(r,i),n._fetchTimer=null,n.on("finish",(function(){n._onFinish()}))};function p(e){try{var t=e.status;return null!==t&&0!==t}catch(r){return!1}}o(d,l.Writable),d.prototype.setHeader=function(e,t){var r=this,n=e.toLowerCase();-1===m.indexOf(n)&&(r._headers[n]={name:e,value:t})},d.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},d.prototype.removeHeader=function(e){var t=this;delete t._headers[e.toLowerCase()]},d.prototype._onFinish=function(){var e=this;if(!e._destroyed){var r=e._opts,o=e._headers,s=null;"GET"!==r.method&&"HEAD"!==r.method&&(s=a.arraybuffer?c(t.concat(e._body)):a.blobConstructor?new n.Blob(e._body.map((function(e){return c(e)})),{type:(o["content-type"]||{}).value||""}):t.concat(e._body).toString());var l=[];if(Object.keys(o).forEach((function(e){var t=o[e].name,r=o[e].value;Array.isArray(r)?r.forEach((function(e){l.push([t,e])})):l.push([t,r])})),"fetch"===e._mode){var u=null;if(a.abortController){var h=new AbortController;u=h.signal,e._fetchAbortController=h,"requestTimeout"in r&&0!==r.requestTimeout&&(e._fetchTimer=n.setTimeout((function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()}),r.requestTimeout))}n.fetch(e._opts.url,{method:e._opts.method,headers:l,body:s||void 0,mode:"cors",credentials:r.withCredentials?"include":"same-origin",signal:u}).then((function(t){e._fetchResponse=t,e._connect()}),(function(t){n.clearTimeout(e._fetchTimer),e._destroyed||e.emit("error",t)}))}else{var d=e._xhr=new n.XMLHttpRequest;try{d.open(e._opts.method,e._opts.url,!0)}catch(p){return void i.nextTick((function(){e.emit("error",p)}))}"responseType"in d&&(d.responseType=e._mode.split(":")[0]),"withCredentials"in d&&(d.withCredentials=!!r.withCredentials),"text"===e._mode&&"overrideMimeType"in d&&d.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in r&&(d.timeout=r.requestTimeout,d.ontimeout=function(){e.emit("requestTimeout")}),l.forEach((function(e){d.setRequestHeader(e[0],e[1])})),e._response=null,d.onreadystatechange=function(){switch(d.readyState){case f.LOADING:case f.DONE:e._onXHRProgress();break}},"moz-chunked-arraybuffer"===e._mode&&(d.onprogress=function(){e._onXHRProgress()}),d.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{d.send(s)}catch(p){return void i.nextTick((function(){e.emit("error",p)}))}}}},d.prototype._onXHRProgress=function(){var e=this;p(e._xhr)&&!e._destroyed&&(e._response||e._connect(),e._response._onXHRProgress())},d.prototype._connect=function(){var e=this;e._destroyed||(e._response=new u(e._xhr,e._fetchResponse,e._mode,e._fetchTimer),e._response.on("error",(function(t){e.emit("error",t)})),e.emit("response",e._response))},d.prototype._write=function(e,t,r){var n=this;n._body.push(e),r()},d.prototype.abort=d.prototype.destroy=function(){var e=this;e._destroyed=!0,n.clearTimeout(e._fetchTimer),e._response&&(e._response._destroyed=!0),e._xhr?e._xhr.abort():e._fetchAbortController&&e._fetchAbortController.abort()},d.prototype.end=function(e,t,r){var n=this;"function"===typeof e&&(r=e,e=void 0),l.Writable.prototype.end.call(n,e,t,r)},d.prototype.flushHeaders=function(){},d.prototype.setTimeout=function(){},d.prototype.setNoDelay=function(){},d.prototype.setSocketKeepAlive=function(){};var m=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]}).call(this,r("b639").Buffer,r("c8ba"),r("4362"))},9490:function(e,t,r){(function(e){var n=r("925e"),i=r("c90b"),a=r("53a8"),o=r("8c05"),s=r("0b16"),l=t;l.request=function(t,r){t="string"===typeof t?s.parse(t):a(t);var i=-1===e.location.protocol.search(/^https?:$/)?"http:":"",o=t.protocol||i,l=t.hostname||t.host,c=t.port,u=t.path||"/";l&&-1!==l.indexOf(":")&&(l="["+l+"]"),t.url=(l?o+"//"+l:"")+(c?":"+c:"")+u,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var f=new n(t);return r&&f.on("response",r),f},l.get=function(e,t){var r=l.request(e,t);return r.end(),r},l.ClientRequest=n,l.IncomingMessage=i.IncomingMessage,l.Agent=function(){},l.Agent.defaultMaxSockets=4,l.globalAgent=new l.Agent,l.STATUS_CODES=o,l.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,r("c8ba"))},9523:function(e,t){function r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}e.exports=r},"966d":function(e,t,r){"use strict";(function(t){function r(e,r,n,i){if("function"!==typeof e)throw new TypeError('"callback" argument must be a function');var a,o,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,r)}));case 3:return t.nextTick((function(){e.call(null,r,n)}));case 4:return t.nextTick((function(){e.call(null,r,n,i)}));default:a=new Array(s-1),o=0;while(o<a.length)a[o++]=arguments[o];return t.nextTick((function(){e.apply(null,a)}))}}"undefined"===typeof t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:r}:e.exports=t}).call(this,r("4362"))},"970b":function(e,t){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=r},9832:function(e,t,r){var n=r("a0ca"),i=r("5879"),a=r("6b53");function o(e,t,r,n,i,a,o){this.startMarker=e,this.tags=t,this.imageSize=r,this.thumbnailOffset=n,this.thumbnailLength=i,this.thumbnailType=a,this.app1Offset=o}function s(e){this.stream=e,this.flags={readBinaryTags:!1,resolveTagNames:!0,simplifyValues:!0,imageSize:!0,hidePointers:!0,returnTags:!0}}o.prototype={hasThumbnail:function(e){return!(!this.thumbnailOffset||!this.thumbnailLength)&&("string"!==typeof e||("image/jpeg"===e.toLowerCase().trim()?6===this.thumbnailType:"image/tiff"===e.toLowerCase().trim()&&1===this.thumbnailType))},getThumbnailOffset:function(){return this.app1Offset+6+this.thumbnailOffset},getThumbnailLength:function(){return this.thumbnailLength},getThumbnailBuffer:function(){return this._getThumbnailStream().nextBuffer(this.thumbnailLength)},_getThumbnailStream:function(){return this.startMarker.openWithOffset(this.getThumbnailOffset())},getImageSize:function(){return this.imageSize},getThumbnailSize:function(){var e,t=this._getThumbnailStream();return n.parseSections(t,(function(t,r){"SOF"===n.getSectionName(t).name&&(e=n.getSizeFromSOFSection(r))})),e}},s.prototype={enableBinaryFields:function(e){return this.flags.readBinaryTags=!!e,this},enablePointers:function(e){return this.flags.hidePointers=!e,this},enableTagNames:function(e){return this.flags.resolveTagNames=!!e,this},enableImageSize:function(e){return this.flags.imageSize=!!e,this},enableReturnTags:function(e){return this.flags.returnTags=!!e,this},enableSimpleValues:function(e){return this.flags.simplifyValues=!!e,this},parse:function(){var e,t,s,l,c,u,f,h,d,p=this.stream.mark(),m=p.openWithOffset(0),g=this.flags;return g.resolveTagNames&&(f=r("04b7")),g.resolveTagNames?(e={},h=function(t){return e[t.name]},d=function(t,r){e[t.name]=r}):(e=[],h=function(t){var r;for(r=0;r<e.length;++r)if(e[r].type===t.type&&e[r].section===t.section)return e.value},d=function(t,r){var n;for(n=0;n<e.length;++n)if(e[n].type===t.type&&e[n].section===t.section)return void(e.value=r)}),n.parseSections(m,(function(r,o){var h,d=o.offsetFrom(p);225===r?(h=i.parseTags(o,(function(t,r,n,o){if(g.readBinaryTags||7!==o){if(513===r){if(s=n[0],g.hidePointers)return}else if(514===r){if(l=n[0],g.hidePointers)return}else if(259===r&&(c=n[0],g.hidePointers))return;if(g.returnTags)if(g.simplifyValues&&(n=a.simplifyValue(n,o)),g.resolveTagNames){var u=t===i.GPSIFD?f.gps:f.exif,h=u[r];h||(h=f.exif[r]),e.hasOwnProperty(h)||(e[h]=n)}else e.push({section:t,type:r,value:n})}})),h&&(u=d)):g.imageSize&&"SOF"===n.getSectionName(r).name&&(t=n.getSizeFromSOFSection(o))})),g.simplifyValues&&(a.castDegreeValues(h,d),a.castDateValues(h,d)),new o(p,e,t,s,l,c,u)}},e.exports=s},"9b42":function(e,t,r){function n(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done);n=!0)if(r.push(o.value),t&&r.length===t)break}catch(l){i=!0,a=l}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw a}}return r}}r("a4d3"),r("e01a"),r("d28b"),r("d3b7"),r("3ca3"),r("ddb0"),e.exports=n},"9bdd":function(e,t,r){var n=r("825a"),i=r("2a62");e.exports=function(e,t,r,a){try{return a?t(n(r)[0],r[1]):t(r)}catch(o){throw i(e),o}}},"9e6e":function(e,t,r){"use strict";var n=r("be7fe"),i=r("c834"),a=r("eeda"),o=r("7eb1"),s=r("6853"),l=0,c=1,u=2,f=4,h=5,d=6,p=0,m=1,g=2,b=-2,y=-3,v=-4,_=-5,w=8,E=1,P=2,A=3,k=4,C=5,S=6,I=7,B=8,x=9,T=10,R=11,M=12,O=13,N=14,U=15,L=16,D=17,F=18,$=19,G=20,j=21,H=22,z=23,W=24,V=25,q=26,Z=27,Y=28,X=29,K=30,Q=31,J=32,ee=852,te=592,re=15,ne=re;function ie(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function ae(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function oe(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=E,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(ee),t.distcode=t.distdyn=new n.Buf32(te),t.sane=1,t.back=-1,p):b}function se(e){var t;return e&&e.state?(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,oe(e)):b}function le(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?b:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,se(e))):b}function ce(e,t){var r,n;return e?(n=new ae,e.state=n,n.window=null,r=le(e,t),r!==p&&(e.state=null),r):b}function ue(e){return ce(e,ne)}var fe,he,de=!0;function pe(e){if(de){var t;fe=new n.Buf32(512),he=new n.Buf32(32),t=0;while(t<144)e.lens[t++]=8;while(t<256)e.lens[t++]=9;while(t<280)e.lens[t++]=7;while(t<288)e.lens[t++]=8;s(c,e.lens,0,288,fe,0,e.work,{bits:9}),t=0;while(t<32)e.lens[t++]=5;s(u,e.lens,0,32,he,0,e.work,{bits:5}),de=!1}e.lencode=fe,e.lenbits=9,e.distcode=he,e.distbits=5}function me(e,t,r,i){var a,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new n.Buf8(o.wsize)),i>=o.wsize?(n.arraySet(o.window,t,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(a=o.wsize-o.wnext,a>i&&(a=i),n.arraySet(o.window,t,r-i,a,o.wnext),i-=a,i?(n.arraySet(o.window,t,r-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=a))),0}function ge(e,t){var r,ee,te,re,ne,ae,oe,se,le,ce,ue,fe,he,de,ge,be,ye,ve,_e,we,Ee,Pe,Ae,ke,Ce=0,Se=new n.Buf8(4),Ie=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return b;r=e.state,r.mode===M&&(r.mode=O),ne=e.next_out,te=e.output,oe=e.avail_out,re=e.next_in,ee=e.input,ae=e.avail_in,se=r.hold,le=r.bits,ce=ae,ue=oe,Pe=p;e:for(;;)switch(r.mode){case E:if(0===r.wrap){r.mode=O;break}while(le<16){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(2&r.wrap&&35615===se){r.check=0,Se[0]=255&se,Se[1]=se>>>8&255,r.check=a(r.check,Se,2,0),se=0,le=0,r.mode=P;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&se)<<8)+(se>>8))%31){e.msg="incorrect header check",r.mode=K;break}if((15&se)!==w){e.msg="unknown compression method",r.mode=K;break}if(se>>>=4,le-=4,Ee=8+(15&se),0===r.wbits)r.wbits=Ee;else if(Ee>r.wbits){e.msg="invalid window size",r.mode=K;break}r.dmax=1<<Ee,e.adler=r.check=1,r.mode=512&se?T:M,se=0,le=0;break;case P:while(le<16){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(r.flags=se,(255&r.flags)!==w){e.msg="unknown compression method",r.mode=K;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=K;break}r.head&&(r.head.text=se>>8&1),512&r.flags&&(Se[0]=255&se,Se[1]=se>>>8&255,r.check=a(r.check,Se,2,0)),se=0,le=0,r.mode=A;case A:while(le<32){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}r.head&&(r.head.time=se),512&r.flags&&(Se[0]=255&se,Se[1]=se>>>8&255,Se[2]=se>>>16&255,Se[3]=se>>>24&255,r.check=a(r.check,Se,4,0)),se=0,le=0,r.mode=k;case k:while(le<16){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}r.head&&(r.head.xflags=255&se,r.head.os=se>>8),512&r.flags&&(Se[0]=255&se,Se[1]=se>>>8&255,r.check=a(r.check,Se,2,0)),se=0,le=0,r.mode=C;case C:if(1024&r.flags){while(le<16){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}r.length=se,r.head&&(r.head.extra_len=se),512&r.flags&&(Se[0]=255&se,Se[1]=se>>>8&255,r.check=a(r.check,Se,2,0)),se=0,le=0}else r.head&&(r.head.extra=null);r.mode=S;case S:if(1024&r.flags&&(fe=r.length,fe>ae&&(fe=ae),fe&&(r.head&&(Ee=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,ee,re,fe,Ee)),512&r.flags&&(r.check=a(r.check,ee,fe,re)),ae-=fe,re+=fe,r.length-=fe),r.length))break e;r.length=0,r.mode=I;case I:if(2048&r.flags){if(0===ae)break e;fe=0;do{Ee=ee[re+fe++],r.head&&Ee&&r.length<65536&&(r.head.name+=String.fromCharCode(Ee))}while(Ee&&fe<ae);if(512&r.flags&&(r.check=a(r.check,ee,fe,re)),ae-=fe,re+=fe,Ee)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=B;case B:if(4096&r.flags){if(0===ae)break e;fe=0;do{Ee=ee[re+fe++],r.head&&Ee&&r.length<65536&&(r.head.comment+=String.fromCharCode(Ee))}while(Ee&&fe<ae);if(512&r.flags&&(r.check=a(r.check,ee,fe,re)),ae-=fe,re+=fe,Ee)break e}else r.head&&(r.head.comment=null);r.mode=x;case x:if(512&r.flags){while(le<16){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(se!==(65535&r.check)){e.msg="header crc mismatch",r.mode=K;break}se=0,le=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=M;break;case T:while(le<32){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}e.adler=r.check=ie(se),se=0,le=0,r.mode=R;case R:if(0===r.havedict)return e.next_out=ne,e.avail_out=oe,e.next_in=re,e.avail_in=ae,r.hold=se,r.bits=le,g;e.adler=r.check=1,r.mode=M;case M:if(t===h||t===d)break e;case O:if(r.last){se>>>=7&le,le-=7&le,r.mode=Z;break}while(le<3){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}switch(r.last=1&se,se>>>=1,le-=1,3&se){case 0:r.mode=N;break;case 1:if(pe(r),r.mode=G,t===d){se>>>=2,le-=2;break e}break;case 2:r.mode=D;break;case 3:e.msg="invalid block type",r.mode=K}se>>>=2,le-=2;break;case N:se>>>=7&le,le-=7&le;while(le<32){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if((65535&se)!==(se>>>16^65535)){e.msg="invalid stored block lengths",r.mode=K;break}if(r.length=65535&se,se=0,le=0,r.mode=U,t===d)break e;case U:r.mode=L;case L:if(fe=r.length,fe){if(fe>ae&&(fe=ae),fe>oe&&(fe=oe),0===fe)break e;n.arraySet(te,ee,re,fe,ne),ae-=fe,re+=fe,oe-=fe,ne+=fe,r.length-=fe;break}r.mode=M;break;case D:while(le<14){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(r.nlen=257+(31&se),se>>>=5,le-=5,r.ndist=1+(31&se),se>>>=5,le-=5,r.ncode=4+(15&se),se>>>=4,le-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=K;break}r.have=0,r.mode=F;case F:while(r.have<r.ncode){while(le<3){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}r.lens[Ie[r.have++]]=7&se,se>>>=3,le-=3}while(r.have<19)r.lens[Ie[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,Ae={bits:r.lenbits},Pe=s(l,r.lens,0,19,r.lencode,0,r.work,Ae),r.lenbits=Ae.bits,Pe){e.msg="invalid code lengths set",r.mode=K;break}r.have=0,r.mode=$;case $:while(r.have<r.nlen+r.ndist){for(;;){if(Ce=r.lencode[se&(1<<r.lenbits)-1],ge=Ce>>>24,be=Ce>>>16&255,ye=65535&Ce,ge<=le)break;if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(ye<16)se>>>=ge,le-=ge,r.lens[r.have++]=ye;else{if(16===ye){ke=ge+2;while(le<ke){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(se>>>=ge,le-=ge,0===r.have){e.msg="invalid bit length repeat",r.mode=K;break}Ee=r.lens[r.have-1],fe=3+(3&se),se>>>=2,le-=2}else if(17===ye){ke=ge+3;while(le<ke){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}se>>>=ge,le-=ge,Ee=0,fe=3+(7&se),se>>>=3,le-=3}else{ke=ge+7;while(le<ke){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}se>>>=ge,le-=ge,Ee=0,fe=11+(127&se),se>>>=7,le-=7}if(r.have+fe>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=K;break}while(fe--)r.lens[r.have++]=Ee}}if(r.mode===K)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=K;break}if(r.lenbits=9,Ae={bits:r.lenbits},Pe=s(c,r.lens,0,r.nlen,r.lencode,0,r.work,Ae),r.lenbits=Ae.bits,Pe){e.msg="invalid literal/lengths set",r.mode=K;break}if(r.distbits=6,r.distcode=r.distdyn,Ae={bits:r.distbits},Pe=s(u,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,Ae),r.distbits=Ae.bits,Pe){e.msg="invalid distances set",r.mode=K;break}if(r.mode=G,t===d)break e;case G:r.mode=j;case j:if(ae>=6&&oe>=258){e.next_out=ne,e.avail_out=oe,e.next_in=re,e.avail_in=ae,r.hold=se,r.bits=le,o(e,ue),ne=e.next_out,te=e.output,oe=e.avail_out,re=e.next_in,ee=e.input,ae=e.avail_in,se=r.hold,le=r.bits,r.mode===M&&(r.back=-1);break}for(r.back=0;;){if(Ce=r.lencode[se&(1<<r.lenbits)-1],ge=Ce>>>24,be=Ce>>>16&255,ye=65535&Ce,ge<=le)break;if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(be&&0===(240&be)){for(ve=ge,_e=be,we=ye;;){if(Ce=r.lencode[we+((se&(1<<ve+_e)-1)>>ve)],ge=Ce>>>24,be=Ce>>>16&255,ye=65535&Ce,ve+ge<=le)break;if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}se>>>=ve,le-=ve,r.back+=ve}if(se>>>=ge,le-=ge,r.back+=ge,r.length=ye,0===be){r.mode=q;break}if(32&be){r.back=-1,r.mode=M;break}if(64&be){e.msg="invalid literal/length code",r.mode=K;break}r.extra=15&be,r.mode=H;case H:if(r.extra){ke=r.extra;while(le<ke){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}r.length+=se&(1<<r.extra)-1,se>>>=r.extra,le-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=z;case z:for(;;){if(Ce=r.distcode[se&(1<<r.distbits)-1],ge=Ce>>>24,be=Ce>>>16&255,ye=65535&Ce,ge<=le)break;if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(0===(240&be)){for(ve=ge,_e=be,we=ye;;){if(Ce=r.distcode[we+((se&(1<<ve+_e)-1)>>ve)],ge=Ce>>>24,be=Ce>>>16&255,ye=65535&Ce,ve+ge<=le)break;if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}se>>>=ve,le-=ve,r.back+=ve}if(se>>>=ge,le-=ge,r.back+=ge,64&be){e.msg="invalid distance code",r.mode=K;break}r.offset=ye,r.extra=15&be,r.mode=W;case W:if(r.extra){ke=r.extra;while(le<ke){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}r.offset+=se&(1<<r.extra)-1,se>>>=r.extra,le-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=K;break}r.mode=V;case V:if(0===oe)break e;if(fe=ue-oe,r.offset>fe){if(fe=r.offset-fe,fe>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=K;break}fe>r.wnext?(fe-=r.wnext,he=r.wsize-fe):he=r.wnext-fe,fe>r.length&&(fe=r.length),de=r.window}else de=te,he=ne-r.offset,fe=r.length;fe>oe&&(fe=oe),oe-=fe,r.length-=fe;do{te[ne++]=de[he++]}while(--fe);0===r.length&&(r.mode=j);break;case q:if(0===oe)break e;te[ne++]=r.length,oe--,r.mode=j;break;case Z:if(r.wrap){while(le<32){if(0===ae)break e;ae--,se|=ee[re++]<<le,le+=8}if(ue-=oe,e.total_out+=ue,r.total+=ue,ue&&(e.adler=r.check=r.flags?a(r.check,te,ue,ne-ue):i(r.check,te,ue,ne-ue)),ue=oe,(r.flags?se:ie(se))!==r.check){e.msg="incorrect data check",r.mode=K;break}se=0,le=0}r.mode=Y;case Y:if(r.wrap&&r.flags){while(le<32){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(se!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=K;break}se=0,le=0}r.mode=X;case X:Pe=m;break e;case K:Pe=y;break e;case Q:return v;case J:default:return b}return e.next_out=ne,e.avail_out=oe,e.next_in=re,e.avail_in=ae,r.hold=se,r.bits=le,(r.wsize||ue!==e.avail_out&&r.mode<K&&(r.mode<Z||t!==f))&&me(e,e.output,e.next_out,ue-e.avail_out)?(r.mode=Q,v):(ce-=e.avail_in,ue-=e.avail_out,e.total_in+=ce,e.total_out+=ue,r.total+=ue,r.wrap&&ue&&(e.adler=r.check=r.flags?a(r.check,te,ue,e.next_out-ue):i(r.check,te,ue,e.next_out-ue)),e.data_type=r.bits+(r.last?64:0)+(r.mode===M?128:0)+(r.mode===G||r.mode===U?256:0),(0===ce&&0===ue||t===f)&&Pe===p&&(Pe=_),Pe)}function be(e){if(!e||!e.state)return b;var t=e.state;return t.window&&(t.window=null),e.state=null,p}function ye(e,t){var r;return e&&e.state?(r=e.state,0===(2&r.wrap)?b:(r.head=t,t.done=!1,p)):b}function ve(e,t){var r,n,a,o=t.length;return e&&e.state?(r=e.state,0!==r.wrap&&r.mode!==R?b:r.mode===R&&(n=1,n=i(n,t,o,0),n!==r.check)?y:(a=me(e,t,o,o),a?(r.mode=Q,v):(r.havedict=1,p))):b}t.inflateReset=se,t.inflateReset2=le,t.inflateResetKeep=oe,t.inflateInit=ue,t.inflateInit2=ce,t.inflate=ge,t.inflateEnd=be,t.inflateGetHeader=ye,t.inflateSetDictionary=ve,t.inflateInfo="pako inflate (from Nodeca project)"},a0ca:function(e,t){e.exports={parseSections:function(e,t){var r,n;e.setBigEndian(!0);while(e.remainingLength()>0&&218!==n){if(255!==e.nextUInt8())throw new Error("Invalid JPEG section offset");n=e.nextUInt8(),r=n>=208&&n<=217||218===n?0:e.nextUInt16()-2,t(n,e.branch(0,r)),e.skip(r)}},getSizeFromSOFSection:function(e){return e.skip(1),{height:e.nextUInt16(),width:e.nextUInt16()}},getSectionName:function(e){var t,r;switch(e){case 216:t="SOI";break;case 196:t="DHT";break;case 219:t="DQT";break;case 221:t="DRI";break;case 218:t="SOS";break;case 254:t="COM";break;case 217:t="EOI";break;default:e>=224&&e<=239?(t="APP",r=e-224):e>=192&&e<=207&&196!==e&&200!==e&&204!==e?(t="SOF",r=e-192):e>=208&&e<=215&&(t="RST",r=e-208);break}var n={name:t};return"number"===typeof r&&(n.index=r),n}}},a177:function(e,t,r){"use strict";var n,i=r("be7fe"),a=r("07f4"),o=r("c834"),s=r("eeda"),l=r("4dc6"),c=0,u=1,f=3,h=4,d=5,p=0,m=1,g=-2,b=-3,y=-5,v=-1,_=1,w=2,E=3,P=4,A=0,k=2,C=8,S=9,I=15,B=8,x=29,T=256,R=T+1+x,M=30,O=19,N=2*R+1,U=15,L=3,D=258,F=D+L+1,$=32,G=42,j=69,H=73,z=91,W=103,V=113,q=666,Z=1,Y=2,X=3,K=4,Q=3;function J(e,t){return e.msg=l[t],t}function ee(e){return(e<<1)-(e>4?9:0)}function te(e){var t=e.length;while(--t>=0)e[t]=0}function re(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(i.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function ne(e,t){a._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,re(e.strm)}function ie(e,t){e.pending_buf[e.pending++]=t}function ae(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function oe(e,t,r,n){var a=e.avail_in;return a>n&&(a=n),0===a?0:(e.avail_in-=a,i.arraySet(t,e.input,e.next_in,a,r),1===e.state.wrap?e.adler=o(e.adler,t,a,r):2===e.state.wrap&&(e.adler=s(e.adler,t,a,r)),e.next_in+=a,e.total_in+=a,a)}function se(e,t){var r,n,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-F?e.strstart-(e.w_size-F):0,c=e.window,u=e.w_mask,f=e.prev,h=e.strstart+D,d=c[a+o-1],p=c[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(r=t,c[r+o]===p&&c[r+o-1]===d&&c[r]===c[a]&&c[++r]===c[a+1]){a+=2,r++;do{}while(c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&a<h);if(n=D-(h-a),a=h-D,n>o){if(e.match_start=t,o=n,n>=s)break;d=c[a+o-1],p=c[a+o]}}}while((t=f[t&u])>l&&0!==--i);return o<=e.lookahead?o:e.lookahead}function le(e){var t,r,n,a,o,s=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=s+(s-F)){i.arraySet(e.window,e.window,s,s,0),e.match_start-=s,e.strstart-=s,e.block_start-=s,r=e.hash_size,t=r;do{n=e.head[--t],e.head[t]=n>=s?n-s:0}while(--r);r=s,t=r;do{n=e.prev[--t],e.prev[t]=n>=s?n-s:0}while(--r);a+=s}if(0===e.strm.avail_in)break;if(r=oe(e.strm,e.window,e.strstart+e.lookahead,a),e.lookahead+=r,e.lookahead+e.insert>=L){o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+1])&e.hash_mask;while(e.insert)if(e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+L-1])&e.hash_mask,e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,e.lookahead+e.insert<L)break}}while(e.lookahead<F&&0!==e.strm.avail_in)}function ce(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(le(e),0===e.lookahead&&t===c)return Z;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,ne(e,!1),0===e.strm.avail_out))return Z;if(e.strstart-e.block_start>=e.w_size-F&&(ne(e,!1),0===e.strm.avail_out))return Z}return e.insert=0,t===h?(ne(e,!0),0===e.strm.avail_out?X:K):(e.strstart>e.block_start&&(ne(e,!1),e.strm.avail_out),Z)}function ue(e,t){for(var r,n;;){if(e.lookahead<F){if(le(e),e.lookahead<F&&t===c)return Z;if(0===e.lookahead)break}if(r=0,e.lookahead>=L&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+L-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-F&&(e.match_length=se(e,r)),e.match_length>=L)if(n=a._tr_tally(e,e.strstart-e.match_start,e.match_length-L),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=L){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+L-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!==--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(ne(e,!1),0===e.strm.avail_out))return Z}return e.insert=e.strstart<L-1?e.strstart:L-1,t===h?(ne(e,!0),0===e.strm.avail_out?X:K):e.last_lit&&(ne(e,!1),0===e.strm.avail_out)?Z:Y}function fe(e,t){for(var r,n,i;;){if(e.lookahead<F){if(le(e),e.lookahead<F&&t===c)return Z;if(0===e.lookahead)break}if(r=0,e.lookahead>=L&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+L-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=L-1,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-F&&(e.match_length=se(e,r),e.match_length<=5&&(e.strategy===_||e.match_length===L&&e.strstart-e.match_start>4096)&&(e.match_length=L-1)),e.prev_length>=L&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-L,n=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-L),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+L-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!==--e.prev_length);if(e.match_available=0,e.match_length=L-1,e.strstart++,n&&(ne(e,!1),0===e.strm.avail_out))return Z}else if(e.match_available){if(n=a._tr_tally(e,0,e.window[e.strstart-1]),n&&ne(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return Z}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=a._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<L-1?e.strstart:L-1,t===h?(ne(e,!0),0===e.strm.avail_out?X:K):e.last_lit&&(ne(e,!1),0===e.strm.avail_out)?Z:Y}function he(e,t){for(var r,n,i,o,s=e.window;;){if(e.lookahead<=D){if(le(e),e.lookahead<=D&&t===c)return Z;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=L&&e.strstart>0&&(i=e.strstart-1,n=s[i],n===s[++i]&&n===s[++i]&&n===s[++i])){o=e.strstart+D;do{}while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&i<o);e.match_length=D-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=L?(r=a._tr_tally(e,1,e.match_length-L),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(ne(e,!1),0===e.strm.avail_out))return Z}return e.insert=0,t===h?(ne(e,!0),0===e.strm.avail_out?X:K):e.last_lit&&(ne(e,!1),0===e.strm.avail_out)?Z:Y}function de(e,t){for(var r;;){if(0===e.lookahead&&(le(e),0===e.lookahead)){if(t===c)return Z;break}if(e.match_length=0,r=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(ne(e,!1),0===e.strm.avail_out))return Z}return e.insert=0,t===h?(ne(e,!0),0===e.strm.avail_out?X:K):e.last_lit&&(ne(e,!1),0===e.strm.avail_out)?Z:Y}function pe(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=i}function me(e){e.window_size=2*e.w_size,te(e.head),e.max_lazy_match=n[e.level].max_lazy,e.good_match=n[e.level].good_length,e.nice_match=n[e.level].nice_length,e.max_chain_length=n[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=L-1,e.match_available=0,e.ins_h=0}function ge(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=C,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*N),this.dyn_dtree=new i.Buf16(2*(2*M+1)),this.bl_tree=new i.Buf16(2*(2*O+1)),te(this.dyn_ltree),te(this.dyn_dtree),te(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(U+1),this.heap=new i.Buf16(2*R+1),te(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*R+1),te(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function be(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=k,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?G:V,e.adler=2===t.wrap?0:1,t.last_flush=c,a._tr_init(t),p):J(e,g)}function ye(e){var t=be(e);return t===p&&me(e.state),t}function ve(e,t){return e&&e.state?2!==e.state.wrap?g:(e.state.gzhead=t,p):g}function _e(e,t,r,n,a,o){if(!e)return g;var s=1;if(t===v&&(t=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),a<1||a>S||r!==C||n<8||n>15||t<0||t>9||o<0||o>P)return J(e,g);8===n&&(n=9);var l=new ge;return e.state=l,l.strm=e,l.wrap=s,l.gzhead=null,l.w_bits=n,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=a+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+L-1)/L),l.window=new i.Buf8(2*l.w_size),l.head=new i.Buf16(l.hash_size),l.prev=new i.Buf16(l.w_size),l.lit_bufsize=1<<a+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new i.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=o,l.method=r,ye(e)}function we(e,t){return _e(e,t,C,I,B,A)}function Ee(e,t){var r,i,o,l;if(!e||!e.state||t>d||t<0)return e?J(e,g):g;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||i.status===q&&t!==h)return J(e,0===e.avail_out?y:g);if(i.strm=e,r=i.last_flush,i.last_flush=t,i.status===G)if(2===i.wrap)e.adler=0,ie(i,31),ie(i,139),ie(i,8),i.gzhead?(ie(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),ie(i,255&i.gzhead.time),ie(i,i.gzhead.time>>8&255),ie(i,i.gzhead.time>>16&255),ie(i,i.gzhead.time>>24&255),ie(i,9===i.level?2:i.strategy>=w||i.level<2?4:0),ie(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(ie(i,255&i.gzhead.extra.length),ie(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=j):(ie(i,0),ie(i,0),ie(i,0),ie(i,0),ie(i,0),ie(i,9===i.level?2:i.strategy>=w||i.level<2?4:0),ie(i,Q),i.status=V);else{var b=C+(i.w_bits-8<<4)<<8,v=-1;v=i.strategy>=w||i.level<2?0:i.level<6?1:6===i.level?2:3,b|=v<<6,0!==i.strstart&&(b|=$),b+=31-b%31,i.status=V,ae(i,b),0!==i.strstart&&(ae(i,e.adler>>>16),ae(i,65535&e.adler)),e.adler=1}if(i.status===j)if(i.gzhead.extra){o=i.pending;while(i.gzindex<(65535&i.gzhead.extra.length)){if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),re(e),o=i.pending,i.pending===i.pending_buf_size))break;ie(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++}i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=H)}else i.status=H;if(i.status===H)if(i.gzhead.name){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),re(e),o=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,ie(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),0===l&&(i.gzindex=0,i.status=z)}else i.status=z;if(i.status===z)if(i.gzhead.comment){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),re(e),o=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,ie(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),0===l&&(i.status=W)}else i.status=W;if(i.status===W&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&re(e),i.pending+2<=i.pending_buf_size&&(ie(i,255&e.adler),ie(i,e.adler>>8&255),e.adler=0,i.status=V)):i.status=V),0!==i.pending){if(re(e),0===e.avail_out)return i.last_flush=-1,p}else if(0===e.avail_in&&ee(t)<=ee(r)&&t!==h)return J(e,y);if(i.status===q&&0!==e.avail_in)return J(e,y);if(0!==e.avail_in||0!==i.lookahead||t!==c&&i.status!==q){var _=i.strategy===w?de(i,t):i.strategy===E?he(i,t):n[i.level].func(i,t);if(_!==X&&_!==K||(i.status=q),_===Z||_===X)return 0===e.avail_out&&(i.last_flush=-1),p;if(_===Y&&(t===u?a._tr_align(i):t!==d&&(a._tr_stored_block(i,0,0,!1),t===f&&(te(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),re(e),0===e.avail_out))return i.last_flush=-1,p}return t!==h?p:i.wrap<=0?m:(2===i.wrap?(ie(i,255&e.adler),ie(i,e.adler>>8&255),ie(i,e.adler>>16&255),ie(i,e.adler>>24&255),ie(i,255&e.total_in),ie(i,e.total_in>>8&255),ie(i,e.total_in>>16&255),ie(i,e.total_in>>24&255)):(ae(i,e.adler>>>16),ae(i,65535&e.adler)),re(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?p:m)}function Pe(e){var t;return e&&e.state?(t=e.state.status,t!==G&&t!==j&&t!==H&&t!==z&&t!==W&&t!==V&&t!==q?J(e,g):(e.state=null,t===V?J(e,b):p)):g}function Ae(e,t){var r,n,a,s,l,c,u,f,h=t.length;if(!e||!e.state)return g;if(r=e.state,s=r.wrap,2===s||1===s&&r.status!==G||r.lookahead)return g;1===s&&(e.adler=o(e.adler,t,h,0)),r.wrap=0,h>=r.w_size&&(0===s&&(te(r.head),r.strstart=0,r.block_start=0,r.insert=0),f=new i.Buf8(r.w_size),i.arraySet(f,t,h-r.w_size,r.w_size,0),t=f,h=r.w_size),l=e.avail_in,c=e.next_in,u=e.input,e.avail_in=h,e.next_in=0,e.input=t,le(r);while(r.lookahead>=L){n=r.strstart,a=r.lookahead-(L-1);do{r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+L-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++}while(--a);r.strstart=n,r.lookahead=L-1,le(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=L-1,r.match_available=0,e.next_in=c,e.input=u,e.avail_in=l,r.wrap=s,p}n=[new pe(0,0,0,0,ce),new pe(4,4,8,4,ue),new pe(4,5,16,8,ue),new pe(4,6,32,32,ue),new pe(4,4,16,16,fe),new pe(8,16,32,32,fe),new pe(8,16,128,128,fe),new pe(8,32,128,256,fe),new pe(32,128,258,1024,fe),new pe(32,258,258,4096,fe)],t.deflateInit=we,t.deflateInit2=_e,t.deflateReset=ye,t.deflateResetKeep=be,t.deflateSetHeader=ve,t.deflate=Ee,t.deflateEnd=Pe,t.deflateSetDictionary=Ae,t.deflateInfo="pako deflate (from Nodeca project)"},a34a:function(e,t,r){e.exports=r("96cf")},a4d3:function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),a=r("d066"),o=r("c430"),s=r("83ab"),l=r("4930"),c=r("fdbf"),u=r("d039"),f=r("5135"),h=r("e8b5"),d=r("861d"),p=r("825a"),m=r("7b0b"),g=r("fc6a"),b=r("c04e"),y=r("5c6c"),v=r("7c73"),_=r("df75"),w=r("241c"),E=r("057f"),P=r("7418"),A=r("06cf"),k=r("9bf2"),C=r("d1e7"),S=r("9112"),I=r("6eeb"),B=r("5692"),x=r("f772"),T=r("d012"),R=r("90e3"),M=r("b622"),O=r("e538"),N=r("746f"),U=r("d44e"),L=r("69f3"),D=r("b727").forEach,F=x("hidden"),$="Symbol",G="prototype",j=M("toPrimitive"),H=L.set,z=L.getterFor($),W=Object[G],V=i.Symbol,q=a("JSON","stringify"),Z=A.f,Y=k.f,X=E.f,K=C.f,Q=B("symbols"),J=B("op-symbols"),ee=B("string-to-symbol-registry"),te=B("symbol-to-string-registry"),re=B("wks"),ne=i.QObject,ie=!ne||!ne[G]||!ne[G].findChild,ae=s&&u((function(){return 7!=v(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=Z(W,t);n&&delete W[t],Y(e,t,r),n&&e!==W&&Y(W,t,n)}:Y,oe=function(e,t){var r=Q[e]=v(V[G]);return H(r,{type:$,tag:e,description:t}),s||(r.description=t),r},se=c?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof V},le=function(e,t,r){e===W&&le(J,t,r),p(e);var n=b(t,!0);return p(r),f(Q,n)?(r.enumerable?(f(e,F)&&e[F][n]&&(e[F][n]=!1),r=v(r,{enumerable:y(0,!1)})):(f(e,F)||Y(e,F,y(1,{})),e[F][n]=!0),ae(e,n,r)):Y(e,n,r)},ce=function(e,t){p(e);var r=g(t),n=_(r).concat(pe(r));return D(n,(function(t){s&&!fe.call(r,t)||le(e,t,r[t])})),e},ue=function(e,t){return void 0===t?v(e):ce(v(e),t)},fe=function(e){var t=b(e,!0),r=K.call(this,t);return!(this===W&&f(Q,t)&&!f(J,t))&&(!(r||!f(this,t)||!f(Q,t)||f(this,F)&&this[F][t])||r)},he=function(e,t){var r=g(e),n=b(t,!0);if(r!==W||!f(Q,n)||f(J,n)){var i=Z(r,n);return!i||!f(Q,n)||f(r,F)&&r[F][n]||(i.enumerable=!0),i}},de=function(e){var t=X(g(e)),r=[];return D(t,(function(e){f(Q,e)||f(T,e)||r.push(e)})),r},pe=function(e){var t=e===W,r=X(t?J:g(e)),n=[];return D(r,(function(e){!f(Q,e)||t&&!f(W,e)||n.push(Q[e])})),n};if(l||(V=function(){if(this instanceof V)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=R(e),r=function(e){this===W&&r.call(J,e),f(this,F)&&f(this[F],t)&&(this[F][t]=!1),ae(this,t,y(1,e))};return s&&ie&&ae(W,t,{configurable:!0,set:r}),oe(t,e)},I(V[G],"toString",(function(){return z(this).tag})),I(V,"withoutSetter",(function(e){return oe(R(e),e)})),C.f=fe,k.f=le,A.f=he,w.f=E.f=de,P.f=pe,O.f=function(e){return oe(M(e),e)},s&&(Y(V[G],"description",{configurable:!0,get:function(){return z(this).description}}),o||I(W,"propertyIsEnumerable",fe,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:V}),D(_(re),(function(e){N(e)})),n({target:$,stat:!0,forced:!l},{for:function(e){var t=String(e);if(f(ee,t))return ee[t];var r=V(t);return ee[t]=r,te[r]=t,r},keyFor:function(e){if(!se(e))throw TypeError(e+" is not a symbol");if(f(te,e))return te[e]},useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!s},{create:ue,defineProperty:le,defineProperties:ce,getOwnPropertyDescriptor:he}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:de,getOwnPropertySymbols:pe}),n({target:"Object",stat:!0,forced:u((function(){P.f(1)}))},{getOwnPropertySymbols:function(e){return P.f(m(e))}}),q){var me=!l||u((function(){var e=V();return"[null]"!=q([e])||"{}"!=q({a:e})||"{}"!=q(Object(e))}));n({target:"JSON",stat:!0,forced:me},{stringify:function(e,t,r){var n,i=[e],a=1;while(arguments.length>a)i.push(arguments[a++]);if(n=t,(d(t)||void 0!==e)&&!se(e))return h(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!se(t))return t}),i[1]=t,q.apply(null,i)}})}V[G][j]||S(V[G],j,V[G].valueOf),U(V,$),T[F]=!0},a559:function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(this,arguments)}e.exports=r},a630:function(e,t,r){var n=r("23e7"),i=r("4df4"),a=r("1c7e"),o=!a((function(e){Array.from(e)}));n({target:"Array",stat:!0,forced:o},{from:i})},a9f1:function(e,t,r){(function(e){t.fetch=s(e.fetch)&&s(e.ReadableStream),t.writableStream=s(e.WritableStream),t.abortController=s(e.AbortController),t.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),t.blobConstructor=!0}catch(l){}var r;function n(){if(void 0!==r)return r;if(e.XMLHttpRequest){r=new e.XMLHttpRequest;try{r.open("GET",e.XDomainRequest?"/":"https://example.com")}catch(l){r=null}}else r=null;return r}function i(e){var t=n();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(l){}return!1}var a="undefined"!==typeof e.ArrayBuffer,o=a&&s(e.ArrayBuffer.prototype.slice);function s(e){return"function"===typeof e}t.arraybuffer=t.fetch||a&&i("arraybuffer"),t.msstream=!t.fetch&&o&&i("ms-stream"),t.mozchunkedarraybuffer=!t.fetch&&a&&i("moz-chunked-arraybuffer"),t.overrideMimeType=t.fetch||!!n()&&s(n().overrideMimeType),t.vbArray=s(e.VBArray),r=null}).call(this,r("c8ba"))},ab33:function(e,t,r){"use strict";e.exports={PNG_SIGNATURE:[137,80,78,71,13,10,26,10],TYPE_IHDR:1229472850,TYPE_IEND:1229278788,TYPE_IDAT:1229209940,TYPE_PLTE:1347179589,TYPE_tRNS:1951551059,TYPE_gAMA:1732332865,COLORTYPE_GRAYSCALE:0,COLORTYPE_PALETTE:1,COLORTYPE_COLOR:2,COLORTYPE_ALPHA:4,COLORTYPE_PALETTE_COLOR:3,COLORTYPE_COLOR_ALPHA:6,COLORTYPE_TO_BPP_MAP:{0:1,2:3,3:1,4:2,6:4},GAMMA_DIVISION:1e5}},acac:function(e,t,r){"use strict";var n=r("e2cc"),i=r("f183").getWeakData,a=r("825a"),o=r("861d"),s=r("19aa"),l=r("2266"),c=r("b727"),u=r("5135"),f=r("69f3"),h=f.set,d=f.getterFor,p=c.find,m=c.findIndex,g=0,b=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},v=function(e,t){return p(e.entries,(function(e){return e[0]===t}))};y.prototype={get:function(e){var t=v(this,e);if(t)return t[1]},has:function(e){return!!v(this,e)},set:function(e,t){var r=v(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,r,c){var f=e((function(e,n){s(e,f,t),h(e,{type:t,id:g++,frozen:void 0}),void 0!=n&&l(n,e[c],{that:e,AS_ENTRIES:r})})),p=d(t),m=function(e,t,r){var n=p(e),o=i(a(t),!0);return!0===o?b(n).set(t,r):o[n.id]=r,e};return n(f.prototype,{delete:function(e){var t=p(this);if(!o(e))return!1;var r=i(e);return!0===r?b(t)["delete"](e):r&&u(r,t.id)&&delete r[t.id]},has:function(e){var t=p(this);if(!o(e))return!1;var r=i(e);return!0===r?b(t).has(e):r&&u(r,t.id)}}),n(f.prototype,r?{get:function(e){var t=p(this);if(o(e)){var r=i(e);return!0===r?b(t).get(e):r?r[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),f}}},ad0b:function(e,t,r){"use strict";const n=r("d9d3"),{GifError:i}=r("480c");class a extends n{constructor(...e){if(super(...e),e[0]instanceof a){const t=e[0];this.xOffset=t.xOffset,this.yOffset=t.yOffset,this.disposalMethod=t.disposalMethod,this.delayCentisecs=t.delayCentisecs,this.interlaced=t.interlaced}else{const t=e[e.length-1];let r={};"object"!==typeof t||t instanceof n||(r=t),this.xOffset=r.xOffset||0,this.yOffset=r.yOffset||0,this.disposalMethod=void 0!==r.disposalMethod?r.disposalMethod:a.DisposeToBackgroundColor,this.delayCentisecs=r.delayCentisecs||8,this.interlaced=r.interlaced||!1}}getPalette(){const e=new Set,t=this.bitmap.data;let r=0,n=!1;while(r<t.length){if(0===t[r+3])n=!0;else{const n=t.readUInt32BE(r,!0)>>8&16777215;e.add(n)}r+=4}const i=new Array(e.size),a=e.values();for(r=0;r<i.length;++r)i[r]=a.next().value;i.sort((e,t)=>e-t);let o=i.length;return n&&++o,{colors:i,usesTransparency:n,indexCount:o}}}a.DisposeToAnything=0,a.DisposeNothing=1,a.DisposeToBackgroundColor=2,a.DisposeToPrevious=3,t.GifFrame=a},ad71:function(e,t,r){"use strict";(function(t,n){var i=r("966d");e.exports=E;var a,o=r("e3db");E.ReadableState=w;r("faa1").EventEmitter;var s=function(e,t){return e.listeners(t).length},l=r("429b"),c=r("8707").Buffer,u=t.Uint8Array||function(){};function f(e){return c.from(e)}function h(e){return c.isBuffer(e)||e instanceof u}var d=Object.create(r("3a7c"));d.inherits=r("3fb5");var p=r(7),m=void 0;m=p&&p.debuglog?p.debuglog("stream"):function(){};var g,b=r("5e1a"),y=r("4681");d.inherits(E,l);var v=["error","close","destroy","pause","resume"];function _(e,t,r){if("function"===typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?o(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}function w(e,t){a=a||r("b19a"),e=e||{};var n=t instanceof a;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,o=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(o||0===o)?o:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new b,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(g||(g=r("7d72").StringDecoder),this.decoder=new g(e.encoding),this.encoding=e.encoding)}function E(e){if(a=a||r("b19a"),!(this instanceof E))return new E(e);this._readableState=new w(e,this),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),l.call(this)}function P(e,t,r,n,i){var a,o=e._readableState;null===t?(o.reading=!1,x(e,o)):(i||(a=k(o,t)),a?e.emit("error",a):o.objectMode||t&&t.length>0?("string"===typeof t||o.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=f(t)),n?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):A(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!r?(t=o.decoder.write(t),o.objectMode||0!==t.length?A(e,o,t,!1):M(e,o)):A(e,o,t,!1))):n||(o.reading=!1));return C(o)}function A(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&T(e)),M(e,t)}function k(e,t){var r;return h(t)||"string"===typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}function C(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}Object.defineProperty(E.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),E.prototype.destroy=y.destroy,E.prototype._undestroy=y.undestroy,E.prototype._destroy=function(e,t){this.push(null),t(e)},E.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"===typeof e&&(t=t||n.defaultEncoding,t!==n.encoding&&(e=c.from(e,t),t=""),r=!0),P(this,e,t,!1,r)},E.prototype.unshift=function(e){return P(this,e,null,!0,!1)},E.prototype.isPaused=function(){return!1===this._readableState.flowing},E.prototype.setEncoding=function(e){return g||(g=r("7d72").StringDecoder),this._readableState.decoder=new g(e),this._readableState.encoding=e,this};var S=8388608;function I(e){return e>=S?e=S:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function B(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=I(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function x(e,t){if(!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,T(e)}}function T(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(m("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(R,e):R(e))}function R(e){m("emit readable"),e.emit("readable"),F(e)}function M(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(O,e,t))}function O(e,t){var r=t.length;while(!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark){if(m("maybeReadMore read 0"),e.read(0),r===t.length)break;r=t.length}t.readingMore=!1}function N(e){return function(){var t=e._readableState;m("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,F(e))}}function U(e){m("readable nexttick read 0"),e.read(0)}function L(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(D,e,t))}function D(e,t){t.reading||(m("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),F(e),t.flowing&&!t.reading&&e.read(0)}function F(e){var t=e._readableState;m("flow",t.flowing);while(t.flowing&&null!==e.read());}function $(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=G(e,t.buffer,t.decoder),r);var r}function G(e,t,r){var n;return e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?j(e,t):H(e,t),n}function j(e,t){var r=t.head,n=1,i=r.data;e-=i.length;while(r=r.next){var a=r.data,o=e>a.length?a.length:e;if(o===a.length?i+=a:i+=a.slice(0,e),e-=o,0===e){o===a.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(o));break}++n}return t.length-=n,i}function H(e,t){var r=c.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;while(n=n.next){var a=n.data,o=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,o),e-=o,0===e){o===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(o));break}++i}return t.length-=i,r}function z(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(W,t,e))}function W(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function V(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}E.prototype.read=function(e){m("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return m("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?z(this):T(this),null;if(e=B(e,t),0===e&&t.ended)return 0===t.length&&z(this),null;var n,i=t.needReadable;return m("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&(i=!0,m("length less than watermark",i)),t.ended||t.reading?(i=!1,m("reading or ended",i)):i&&(m("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=B(r,t))),n=e>0?$(e,t):null,null===n?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&z(this)),null!==n&&this.emit("data",n),n},E.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},E.prototype.pipe=function(e,t){var r=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=e;break;case 1:a.pipes=[a.pipes,e];break;default:a.pipes.push(e);break}a.pipesCount+=1,m("pipe count=%d opts=%j",a.pipesCount,t);var o=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr,l=o?u:w;function c(e,t){m("onunpipe"),e===r&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,d())}function u(){m("onend"),e.end()}a.endEmitted?i.nextTick(l):r.once("end",l),e.on("unpipe",c);var f=N(r);e.on("drain",f);var h=!1;function d(){m("cleanup"),e.removeListener("close",y),e.removeListener("finish",v),e.removeListener("drain",f),e.removeListener("error",b),e.removeListener("unpipe",c),r.removeListener("end",u),r.removeListener("end",w),r.removeListener("data",g),h=!0,!a.awaitDrain||e._writableState&&!e._writableState.needDrain||f()}var p=!1;function g(t){m("ondata"),p=!1;var n=e.write(t);!1!==n||p||((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==V(a.pipes,e))&&!h&&(m("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,p=!0),r.pause())}function b(t){m("onerror",t),w(),e.removeListener("error",b),0===s(e,"error")&&e.emit("error",t)}function y(){e.removeListener("finish",v),w()}function v(){m("onfinish"),e.removeListener("close",y),w()}function w(){m("unpipe"),r.unpipe(e)}return r.on("data",g),_(e,"error",b),e.once("close",y),e.once("finish",v),e.emit("pipe",r),a.flowing||(m("pipe resume"),r.resume()),e},E.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,r);return this}var o=V(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},E.prototype.on=function(e,t){var r=l.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&T(this):i.nextTick(U,this))}return r},E.prototype.addListener=E.prototype.on,E.prototype.resume=function(){var e=this._readableState;return e.flowing||(m("resume"),e.flowing=!0,L(this,e)),this},E.prototype.pause=function(){return m("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(m("pause"),this._readableState.flowing=!1,this.emit("pause")),this},E.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(m("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){if(m("wrapped data"),r.decoder&&(i=r.decoder.write(i)),(!r.objectMode||null!==i&&void 0!==i)&&(r.objectMode||i&&i.length)){var a=t.push(i);a||(n=!0,e.pause())}})),e)void 0===this[i]&&"function"===typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<v.length;a++)e.on(v[a],this.emit.bind(this,v[a]));return this._read=function(t){m("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(E.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),E._fromList=$}).call(this,r("c8ba"),r("4362"))},aebd:function(e,t){function r(e,t,r,n){this.buffer=e,this.offset=t||0,r="number"===typeof r?r:e.length,this.endPosition=this.offset+r,this.setBigEndian(n)}r.prototype={setBigEndian:function(e){this.bigEndian=!!e},nextUInt8:function(){var e=this.buffer.readUInt8(this.offset);return this.offset+=1,e},nextInt8:function(){var e=this.buffer.readInt8(this.offset);return this.offset+=1,e},nextUInt16:function(){var e=this.bigEndian?this.buffer.readUInt16BE(this.offset):this.buffer.readUInt16LE(this.offset);return this.offset+=2,e},nextUInt32:function(){var e=this.bigEndian?this.buffer.readUInt32BE(this.offset):this.buffer.readUInt32LE(this.offset);return this.offset+=4,e},nextInt16:function(){var e=this.bigEndian?this.buffer.readInt16BE(this.offset):this.buffer.readInt16LE(this.offset);return this.offset+=2,e},nextInt32:function(){var e=this.bigEndian?this.buffer.readInt32BE(this.offset):this.buffer.readInt32LE(this.offset);return this.offset+=4,e},nextFloat:function(){var e=this.bigEndian?this.buffer.readFloatBE(this.offset):this.buffer.readFloatLE(this.offset);return this.offset+=4,e},nextDouble:function(){var e=this.bigEndian?this.buffer.readDoubleBE(this.offset):this.buffer.readDoubleLE(this.offset);return this.offset+=8,e},nextBuffer:function(e){var t=this.buffer.slice(this.offset,this.offset+e);return this.offset+=e,t},remainingLength:function(){return this.endPosition-this.offset},nextString:function(e){var t=this.buffer.toString("utf8",this.offset,this.offset+e);return this.offset+=e,t},mark:function(){var e=this;return{openWithOffset:function(t){return t=(t||0)+this.offset,new r(e.buffer,t,e.endPosition-t,e.bigEndian)},offset:this.offset}},offsetFrom:function(e){return this.offset-e.offset},skip:function(e){this.offset+=e},branch:function(e,t){return t="number"===typeof t?t:this.endPosition-(this.offset+e),new r(this.buffer,this.offset+e,t,this.bigEndian)}},e.exports=r},b0c0:function(e,t,r){var n=r("83ab"),i=r("9bf2").f,a=Function.prototype,o=a.toString,s=/^\s*function ([^ (]*)/,l="name";n&&!(l in a)&&i(a,l,{configurable:!0,get:function(){try{return o.call(this).match(s)[1]}catch(e){return""}}})},b17c:function(e,t,r){r("4ae1");var n=r("4a4b"),i=r("6f8f");function a(t,r,o){return i()?e.exports=a=Reflect.construct:e.exports=a=function(e,t,r){var i=[null];i.push.apply(i,t);var a=Function.bind.apply(e,i),o=new a;return r&&n(o,r.prototype),o},a.apply(null,arguments)}e.exports=a},b19a:function(e,t,r){"use strict";var n=r("966d"),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=f;var a=Object.create(r("3a7c"));a.inherits=r("3fb5");var o=r("ad71"),s=r("dc14");a.inherits(f,o);for(var l=i(s.prototype),c=0;c<l.length;c++){var u=l[c];f.prototype[u]||(f.prototype[u]=s.prototype[u])}function f(e){if(!(this instanceof f))return new f(e);o.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",h)}function h(){this.allowHalfOpen||this._writableState.ended||n.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(f.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),f.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}},b383:function(e,t,r){"use strict";t.decode=t.parse=r("91dd"),t.encode=t.stringify=r("e099")},b48f:function(e,t,r){"use strict";function n(e,t){this.size=this.size||e,this.smallerSize=this.smallerSize||t,o(this.size)}function i(e){var t={};return t.r=Math.floor(e/Math.pow(256,3)),t.g=Math.floor((e-t.r*Math.pow(256,3))/Math.pow(256,2)),t.b=Math.floor((e-t.r*Math.pow(256,3)-t.g*Math.pow(256,2))/Math.pow(256,1)),t.a=Math.floor((e-t.r*Math.pow(256,3)-t.g*Math.pow(256,2)-t.b*Math.pow(256,1))/Math.pow(256,0)),t}n.prototype.size=32,n.prototype.smallerSize=8,n.prototype.distance=function(e,t){for(var r=0,n=0;n<e.length;n++)e[n]!==t[n]&&r++;return r/e.length},n.prototype.getHash=function(e){e=e.clone().resize(this.size,this.size),e.grayscale();for(var t=[],r=0;r<e.bitmap.width;r++){t[r]=[];for(var n=0;n<e.bitmap.height;n++)t[r][n]=i(e.getPixelColor(r,n)).b}for(var a=s(t,this.size),o=0,l=0;l<this.smallerSize;l++)for(var c=0;c<this.smallerSize;c++)o+=a[l][c];for(var u=o/(this.smallerSize*this.smallerSize),f="",h=0;h<this.smallerSize;h++)for(var d=0;d<this.smallerSize;d++)f+=a[h][d]>u?"1":"0";return f};var a=[];function o(e){for(var t=1;t<e;t++)a[t]=1;a[0]=1/Math.sqrt(2)}function s(e,t){for(var r=t,n=[],i=0;i<r;i++){n[i]=[];for(var o=0;o<r;o++){for(var s=0,l=0;l<r;l++)for(var c=0;c<r;c++)s+=Math.cos((2*l+1)/(2*r)*i*Math.PI)*Math.cos((2*c+1)/(2*r)*o*Math.PI)*e[l][c];s*=a[i]*a[o]/4,n[i][o]=s}}return n}e.exports=n},b7d1:function(e,t,r){(function(t){function r(e,t){if(n("noDeprecation"))return e;var r=!1;function i(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}return i}function n(e){try{if(!t.localStorage)return!1}catch(n){return!1}var r=t.localStorage[e];return null!=r&&"true"===String(r).toLowerCase()}e.exports=r}).call(this,r("c8ba"))},be09:function(e,t,r){(function(t){var r;r="undefined"!==typeof window?window:"undefined"!==typeof t?t:"undefined"!==typeof self?self:{},e.exports=r}).call(this,r("c8ba"))},be7fe:function(e,t,r){"use strict";var n="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Int32Array;function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);while(t.length){var r=t.shift();if(r){if("object"!==typeof r)throw new TypeError(r+"must be non-object");for(var n in r)i(r,n)&&(e[n]=r[n])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var a={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){var t,r,n,i,a,o;for(n=0,t=0,r=e.length;t<r;t++)n+=e[t].length;for(o=new Uint8Array(n),i=0,t=0,r=e.length;t<r;t++)a=e[t],o.set(a,i),i+=a.length;return o}},o={arraySet:function(e,t,r,n,i){for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){return[].concat.apply([],e)}};t.setTyped=function(e){e?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,a)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,o))},t.setTyped(n)},c135:function(e,t){function r(e){if(Array.isArray(e))return e}e.exports=r},c240:function(e,t){function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=r},c2ae:function(e,t,r){e.exports=r("e372").PassThrough},c2d7:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.isNodePattern=o,t.throwError=s,t.scan=l,t.scanIterator=c;var i=n(r("a34a")),a=i["default"].mark(c);function o(e){if("undefined"===typeof e)return!1;if("function"!==typeof e)throw new TypeError("Callback must be a function");return!0}function s(e,t){if("string"===typeof e&&(e=new Error(e)),"function"===typeof t)return t.call(this,e);throw e}function l(e,t,r,n,i,a){t=Math.round(t),r=Math.round(r),n=Math.round(n),i=Math.round(i);for(var o=r;o<r+i;o++)for(var s=t;s<t+n;s++){var l=e.bitmap.width*o+s<<2;a.call(e,s,o,l)}return e}function c(e,t,r,n,o){var s,l,c;return i["default"].wrap((function(i){while(1)switch(i.prev=i.next){case 0:t=Math.round(t),r=Math.round(r),n=Math.round(n),o=Math.round(o),s=r;case 5:if(!(s<r+o)){i.next=17;break}l=t;case 7:if(!(l<t+n)){i.next=14;break}return c=e.bitmap.width*s+l<<2,i.next=11,{x:l,y:s,idx:c,image:e};case 11:l++,i.next=7;break;case 14:s++,i.next=5;break;case 17:case"end":return i.stop()}}),a)}},c69a:function(e,t){var r=[66,77,70];function n(e,t,r){if(r>t.length-1)return 0;var n=t.readUInt8(r++),c=t.readInt32LE(r);switch(r+=4,n){case 1:e.info=i(t,r);break;case 2:e.common=a(t,r);break;case 3:e.pages=o(t,r,c);break;case 4:e.chars=s(t,r,c);break;case 5:e.kernings=l(t,r,c);break}return 5+c}function i(e,t){var r={};r.size=e.readInt16LE(t);var n=e.readUInt8(t+2);return r.smooth=n>>7&1,r.unicode=n>>6&1,r.italic=n>>5&1,r.bold=n>>4&1,n>>3&1&&(r.fixedHeight=1),r.charset=e.readUInt8(t+3)||"",r.stretchH=e.readUInt16LE(t+4),r.aa=e.readUInt8(t+6),r.padding=[e.readInt8(t+7),e.readInt8(t+8),e.readInt8(t+9),e.readInt8(t+10)],r.spacing=[e.readInt8(t+11),e.readInt8(t+12)],r.outline=e.readUInt8(t+13),r.face=u(e,t+14),r}function a(e,t){var r={};r.lineHeight=e.readUInt16LE(t),r.base=e.readUInt16LE(t+2),r.scaleW=e.readUInt16LE(t+4),r.scaleH=e.readUInt16LE(t+6),r.pages=e.readUInt16LE(t+8);e.readUInt8(t+10);return r.packed=0,r.alphaChnl=e.readUInt8(t+11),r.redChnl=e.readUInt8(t+12),r.greenChnl=e.readUInt8(t+13),r.blueChnl=e.readUInt8(t+14),r}function o(e,t,r){for(var n=[],i=c(e,t),a=i.length+1,o=r/a,s=0;s<o;s++)n[s]=e.slice(t,t+i.length).toString("utf8"),t+=a;return n}function s(e,t,r){for(var n=[],i=r/20,a=0;a<i;a++){var o={},s=20*a;o.id=e.readUInt32LE(t+0+s),o.x=e.readUInt16LE(t+4+s),o.y=e.readUInt16LE(t+6+s),o.width=e.readUInt16LE(t+8+s),o.height=e.readUInt16LE(t+10+s),o.xoffset=e.readInt16LE(t+12+s),o.yoffset=e.readInt16LE(t+14+s),o.xadvance=e.readInt16LE(t+16+s),o.page=e.readUInt8(t+18+s),o.chnl=e.readUInt8(t+19+s),n[a]=o}return n}function l(e,t,r){for(var n=[],i=r/10,a=0;a<i;a++){var o={},s=10*a;o.first=e.readUInt32LE(t+0+s),o.second=e.readUInt32LE(t+4+s),o.amount=e.readInt16LE(t+8+s),n[a]=o}return n}function c(e,t){for(var r=t;r<e.length;r++)if(0===e[r])break;return e.slice(t,r)}function u(e,t){return c(e,t).toString("utf8")}e.exports=function(e){if(e.length<6)throw new Error("invalid buffer length for BMFont");var t=r.every((function(t,r){return e.readUInt8(r)===t}));if(!t)throw new Error("BMFont missing BMF byte header");var i=3,a=e.readUInt8(i++);if(a>3)throw new Error("Only supports BMFont Binary v3 (BMFont App v1.10)");for(var o={kernings:[],chars:[]},s=0;s<5;s++)i+=n(o,e,i);return o}},c733:function(e,t,r){"use strict";(function(t){var n=!0,i=r("470b");i.deflateSync||(n=!1);var a=r("ab33"),o=r("ec2c");e.exports=function(e,r){if(!n)throw new Error("To use the sync capability of this library in old node versions, please pin pngjs to v2.3.0");var s=r||{},l=new o(s),c=[];c.push(new t(a.PNG_SIGNATURE)),c.push(l.packIHDR(e.width,e.height)),e.gamma&&c.push(l.packGAMA(e.gamma));var u=l.filterData(e.data,e.width,e.height),f=i.deflateSync(u,l.getDeflateOptions());if(u=null,!f||!f.length)throw new Error("bad png - invalid compressed data response");return c.push(l.packIDAT(f)),c.push(l.packIEND()),t.concat(c)}}).call(this,r("b639").Buffer)},c834:function(e,t,r){"use strict";function n(e,t,r,n){var i=65535&e|0,a=e>>>16&65535|0,o=0;while(0!==r){o=r>2e3?2e3:r,r-=o;do{i=i+t[n++]|0,a=a+i|0}while(--o);i%=65521,a%=65521}return i|a<<16|0}e.exports=n},c90b:function(e,t,r){(function(e,n,i){var a=r("a9f1"),o=r("3fb5"),s=r("e372"),l=t.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},c=t.IncomingMessage=function(t,r,o,l){var c=this;if(s.Readable.call(c),c._mode=o,c.headers={},c.rawHeaders=[],c.trailers={},c.rawTrailers=[],c.on("end",(function(){e.nextTick((function(){c.emit("close")}))})),"fetch"===o){if(c._fetchResponse=r,c.url=r.url,c.statusCode=r.status,c.statusMessage=r.statusText,r.headers.forEach((function(e,t){c.headers[t.toLowerCase()]=e,c.rawHeaders.push(t,e)})),a.writableStream){var u=new WritableStream({write:function(e){return new Promise((function(t,r){c._destroyed?r():c.push(new n(e))?t():c._resumeFetch=t}))},close:function(){i.clearTimeout(l),c._destroyed||c.push(null)},abort:function(e){c._destroyed||c.emit("error",e)}});try{return void r.body.pipeTo(u).catch((function(e){i.clearTimeout(l),c._destroyed||c.emit("error",e)}))}catch(g){}}var f=r.body.getReader();function h(){f.read().then((function(e){if(!c._destroyed){if(e.done)return i.clearTimeout(l),void c.push(null);c.push(new n(e.value)),h()}})).catch((function(e){i.clearTimeout(l),c._destroyed||c.emit("error",e)}))}h()}else{c._xhr=t,c._pos=0,c.url=t.responseURL,c.statusCode=t.status,c.statusMessage=t.statusText;var d=t.getAllResponseHeaders().split(/\r?\n/);if(d.forEach((function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var r=t[1].toLowerCase();"set-cookie"===r?(void 0===c.headers[r]&&(c.headers[r]=[]),c.headers[r].push(t[2])):void 0!==c.headers[r]?c.headers[r]+=", "+t[2]:c.headers[r]=t[2],c.rawHeaders.push(t[1],t[2])}})),c._charset="x-user-defined",!a.overrideMimeType){var p=c.rawHeaders["mime-type"];if(p){var m=p.match(/;\s*charset=([^;])(;|$)/);m&&(c._charset=m[1].toLowerCase())}c._charset||(c._charset="utf-8")}}};o(c,s.Readable),c.prototype._read=function(){var e=this,t=e._resumeFetch;t&&(e._resumeFetch=null,t())},c.prototype._onXHRProgress=function(){var e=this,t=e._xhr,r=null;switch(e._mode){case"text:vbarray":if(t.readyState!==l.DONE)break;try{r=new i.VBArray(t.responseBody).toArray()}catch(u){}if(null!==r){e.push(new n(r));break}case"text":try{r=t.responseText}catch(u){e._mode="text:vbarray";break}if(r.length>e._pos){var a=r.substr(e._pos);if("x-user-defined"===e._charset){for(var o=new n(a.length),s=0;s<a.length;s++)o[s]=255&a.charCodeAt(s);e.push(o)}else e.push(a,e._charset);e._pos=r.length}break;case"arraybuffer":if(t.readyState!==l.DONE||!t.response)break;r=t.response,e.push(new n(new Uint8Array(r)));break;case"moz-chunked-arraybuffer":if(r=t.response,t.readyState!==l.LOADING||!r)break;e.push(new n(new Uint8Array(r)));break;case"ms-stream":if(r=t.response,t.readyState!==l.LOADING)break;var c=new i.MSStreamReader;c.onprogress=function(){c.result.byteLength>e._pos&&(e.push(new n(new Uint8Array(c.result.slice(e._pos)))),e._pos=c.result.byteLength)},c.onload=function(){e.push(null)},c.readAsArrayBuffer(r);break}e._xhr.readyState===l.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(this,r("4362"),r("b639").Buffer,r("c8ba"))},c975:function(e,t,r){"use strict";var n=r("23e7"),i=r("4d64").indexOf,a=r("a640"),o=r("ae40"),s=[].indexOf,l=!!s&&1/[1].indexOf(1,-0)<0,c=a("indexOf"),u=o("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:l||!c||!u},{indexOf:function(e){return l?s.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:void 0)}})},c9c8:function(e,t,r){(function(t){var n=r("eec7"),i=function(){},a=r("7ece"),o=r("fad7"),s=r("c69a"),l=r("04a2"),c=r("53a8"),u=function(){return self.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}();function f(e){var t=Object.prototype.toString;return"[object ArrayBuffer]"===t.call(e)}function h(e){if(u)return c(e,{responseType:"arraybuffer"});if("undefined"===typeof self.XMLHttpRequest)throw new Error("your browser does not support XHR loading");var t=new self.XMLHttpRequest;return t.overrideMimeType("text/plain; charset=x-user-defined"),c({xhr:t},e)}e.exports=function(e,r){r="function"===typeof r?r:i,"string"===typeof e?e={uri:e}:e||(e={});var c=e.binary;c&&(e=h(e)),n(e,(function(n,c,u){if(n)return r(n);if(!/^2/.test(c.statusCode))return r(new Error("http status code: "+c.statusCode));if(!u)return r(new Error("no body result"));var h,d=!1;if(f(u)){var p=new Uint8Array(u);u=t.from(p,"binary")}l(u)&&(d=!0,"string"===typeof u&&(u=t.from(u,"binary"))),d||(t.isBuffer(u)&&(u=u.toString(e.encoding)),u=u.trim());try{var m=c.headers["content-type"];h=d?s(u):/json/.test(m)||"{"===u.charAt(0)?JSON.parse(u):/xml/.test(m)||"<"===u.charAt(0)?o(u):a(u)}catch(g){r(new Error("error parsing font "+g.message)),r=i}r(null,h)}))}}).call(this,r("b639").Buffer)},ca38:function(e,t,r){(function(t){function r(e){Math.round;var r,n,i,a,o,s=Math.floor,l=new Array(64),c=new Array(64),u=new Array(64),f=new Array(64),h=new Array(65535),d=new Array(65535),p=new Array(64),m=new Array(64),g=[],b=0,y=7,v=new Array(64),_=new Array(64),w=new Array(64),E=new Array(256),P=new Array(2048),A=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],k=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],C=[0,1,2,3,4,5,6,7,8,9,10,11],S=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],I=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],B=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],x=[0,1,2,3,4,5,6,7,8,9,10,11],T=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],R=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function M(e){for(var t=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],r=0;r<64;r++){var n=s((t[r]*e+50)/100);n<1?n=1:n>255&&(n=255),l[A[r]]=n}for(var i=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],a=0;a<64;a++){var o=s((i[a]*e+50)/100);o<1?o=1:o>255&&(o=255),c[A[a]]=o}for(var h=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],d=0,p=0;p<8;p++)for(var m=0;m<8;m++)u[d]=1/(l[A[d]]*h[p]*h[m]*8),f[d]=1/(c[A[d]]*h[p]*h[m]*8),d++}function O(e,t){for(var r=0,n=0,i=new Array,a=1;a<=16;a++){for(var o=1;o<=e[a];o++)i[t[n]]=[],i[t[n]][0]=r,i[t[n]][1]=a,n++,r++;r*=2}return i}function N(){r=O(k,C),n=O(B,x),i=O(S,I),a=O(T,R)}function U(){for(var e=1,t=2,r=1;r<=15;r++){for(var n=e;n<t;n++)d[32767+n]=r,h[32767+n]=[],h[32767+n][1]=r,h[32767+n][0]=n;for(var i=-(t-1);i<=-e;i++)d[32767+i]=r,h[32767+i]=[],h[32767+i][1]=r,h[32767+i][0]=t-1+i;e<<=1,t<<=1}}function L(){for(var e=0;e<256;e++)P[e]=19595*e,P[e+256>>0]=38470*e,P[e+512>>0]=7471*e+32768,P[e+768>>0]=-11059*e,P[e+1024>>0]=-21709*e,P[e+1280>>0]=32768*e+8421375,P[e+1536>>0]=-27439*e,P[e+1792>>0]=-5329*e}function D(e){var t=e[0],r=e[1]-1;while(r>=0)t&1<<r&&(b|=1<<y),r--,y--,y<0&&(255==b?(F(255),F(0)):F(b),y=7,b=0)}function F(e){g.push(e)}function $(e){F(e>>8&255),F(255&e)}function G(e,t){var r,n,i,a,o,s,l,c,u,f,h=0,d=8,m=64;for(u=0;u<d;++u){r=e[h],n=e[h+1],i=e[h+2],a=e[h+3],o=e[h+4],s=e[h+5],l=e[h+6],c=e[h+7];var g=r+c,b=r-c,y=n+l,v=n-l,_=i+s,w=i-s,E=a+o,P=a-o,A=g+E,k=g-E,C=y+_,S=y-_;e[h]=A+C,e[h+4]=A-C;var I=.707106781*(S+k);e[h+2]=k+I,e[h+6]=k-I,A=P+w,C=w+v,S=v+b;var B=.382683433*(A-S),x=.5411961*A+B,T=1.306562965*S+B,R=.707106781*C,M=b+R,O=b-R;e[h+5]=O+x,e[h+3]=O-x,e[h+1]=M+T,e[h+7]=M-T,h+=8}for(h=0,u=0;u<d;++u){r=e[h],n=e[h+8],i=e[h+16],a=e[h+24],o=e[h+32],s=e[h+40],l=e[h+48],c=e[h+56];var N=r+c,U=r-c,L=n+l,D=n-l,F=i+s,$=i-s,G=a+o,j=a-o,H=N+G,z=N-G,W=L+F,V=L-F;e[h]=H+W,e[h+32]=H-W;var q=.707106781*(V+z);e[h+16]=z+q,e[h+48]=z-q,H=j+$,W=$+D,V=D+U;var Z=.382683433*(H-V),Y=.5411961*H+Z,X=1.306562965*V+Z,K=.707106781*W,Q=U+K,J=U-K;e[h+40]=J+Y,e[h+24]=J-Y,e[h+8]=Q+X,e[h+56]=Q-X,h++}for(u=0;u<m;++u)f=e[u]*t[u],p[u]=f>0?f+.5|0:f-.5|0;return p}function j(){$(65504),$(16),F(74),F(70),F(73),F(70),F(0),F(1),F(1),F(0),$(1),$(1),F(0),F(0)}function H(e){if(e){$(65505),69===e[0]&&120===e[1]&&105===e[2]&&102===e[3]?$(e.length+2):($(e.length+5+2),F(69),F(120),F(105),F(102),F(0));for(var t=0;t<e.length;t++)F(e[t])}}function z(e,t){$(65472),$(17),F(8),$(t),$(e),F(3),F(1),F(17),F(0),F(2),F(17),F(1),F(3),F(17),F(1)}function W(){$(65499),$(132),F(0);for(var e=0;e<64;e++)F(l[e]);F(1);for(var t=0;t<64;t++)F(c[t])}function V(){$(65476),$(418),F(0);for(var e=0;e<16;e++)F(k[e+1]);for(var t=0;t<=11;t++)F(C[t]);F(16);for(var r=0;r<16;r++)F(S[r+1]);for(var n=0;n<=161;n++)F(I[n]);F(1);for(var i=0;i<16;i++)F(B[i+1]);for(var a=0;a<=11;a++)F(x[a]);F(17);for(var o=0;o<16;o++)F(T[o+1]);for(var s=0;s<=161;s++)F(R[s])}function q(e){"undefined"!==typeof e&&e.constructor===Array&&e.forEach(e=>{if("string"===typeof e){$(65534);var t,r=e.length;for($(r+2),t=0;t<r;t++)F(e.charCodeAt(t))}})}function Z(){$(65498),$(12),F(3),F(1),F(0),F(2),F(17),F(3),F(17),F(0),F(63),F(0)}function Y(e,t,r,n,i){for(var a,o=i[0],s=i[240],l=16,c=63,u=64,f=G(e,t),p=0;p<u;++p)m[A[p]]=f[p];var g=m[0]-r;r=m[0],0==g?D(n[0]):(a=32767+g,D(n[d[a]]),D(h[a]));for(var b=63;b>0&&0==m[b];b--);if(0==b)return D(o),r;var y,v=1;while(v<=b){for(var _=v;0==m[v]&&v<=b;++v);var w=v-_;if(w>=l){y=w>>4;for(var E=1;E<=y;++E)D(s);w&=15}a=32767+m[v],D(i[(w<<4)+d[a]]),D(h[a]),v++}return b!=c&&D(o),r}function X(){for(var e=String.fromCharCode,t=0;t<256;t++)E[t]=e(t)}function K(e){if(e<=0&&(e=1),e>100&&(e=100),o!=e){var t=0;t=e<50?Math.floor(5e3/e):Math.floor(200-2*e),M(t),o=e}}function Q(){var t=(new Date).getTime();e||(e=50),X(),N(),U(),L(),K(e);(new Date).getTime()}this.encode=function(e,o){(new Date).getTime();o&&K(o),g=new Array,b=0,y=7,$(65496),j(),q(e.comments),H(e.exifBuffer),W(),z(e.width,e.height),V(),Z();var s=0,l=0,c=0;b=0,y=7,this.encode.displayName="_encode_";var h,d,p,m,E,A,k,C,S,I=e.data,B=e.width,x=e.height,T=4*B,R=0;while(R<x){h=0;while(h<T){for(E=T*R+h,A=E,k=-1,C=0,S=0;S<64;S++)C=S>>3,k=4*(7&S),A=E+C*T+k,R+C>=x&&(A-=T*(R+1+C-x)),h+k>=T&&(A-=h+k-T+4),d=I[A++],p=I[A++],m=I[A++],v[S]=(P[d]+P[p+256>>0]+P[m+512>>0]>>16)-128,_[S]=(P[d+768>>0]+P[p+1024>>0]+P[m+1280>>0]>>16)-128,w[S]=(P[d+1280>>0]+P[p+1536>>0]+P[m+1792>>0]>>16)-128;s=Y(v,u,s,r,i),l=Y(_,f,l,n,a),c=Y(w,f,c,n,a),h+=32}R+=8}if(y>=0){var M=[];M[1]=y+1,M[0]=(1<<y+1)-1,D(M)}return $(65497),t.from(g)},Q()}function n(e,t){"undefined"===typeof t&&(t=50);var n=new r(t),i=n.encode(e,t);return{data:i,width:e.width,height:e.height}}e.exports=n}).call(this,r("b639").Buffer)},ca3d:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clone=l,t.addLast=u,t.addFirst=f,t.removeLast=h,t.removeFirst=d,t.insert=p,t.removeAt=m,t.replaceAt=g,t.getIn=b,t.set=y,t.setIn=v,t.update=w,t.updateIn=E,t.merge=P,t.mergeDeep=A,t.mergeIn=k,t.omit=C,t.addDefaults=S,t.default=void 0;
/*!
 * Timm
 *
 * Immutability helpers with fast reads and acceptable writes.
 *
 * @copyright Guillermo Grau Panea 2016
 * @license MIT
 */
const n="INVALID_ARGS",i=!1;function a(e){throw new Error(e)}function o(e){const t=Object.keys(e);return Object.getOwnPropertySymbols?t.concat(Object.getOwnPropertySymbols(e)):t}const s={}.hasOwnProperty;function l(e){if(Array.isArray(e))return e.slice();const t=e,r=o(t),n={};for(let i=0;i<r.length;i++){const e=r[i];n[e]=t[e]}return n}function c(e){return null!=e&&"object"===typeof e}function u(e,t){return Array.isArray(t)?e.concat(t):e.concat([t])}function f(e,t){return Array.isArray(t)?t.concat(e):[t].concat(e)}function h(e){return e.length?e.slice(0,e.length-1):e}function d(e){return e.length?e.slice(1):e}function p(e,t,r){return e.slice(0,t).concat(Array.isArray(r)?r:[r]).concat(e.slice(t))}function m(e,t){return t>=e.length||t<0?e:e.slice(0,t).concat(e.slice(t+1))}function g(e,t,r){if(e[t]===r)return e;const n=e.length,i=Array(n);for(let a=0;a<n;a++)i[a]=e[a];return i[t]=r,i}function b(e,t){if(Array.isArray(t)||a(i?"A path array should be provided when calling getIn()":n),null==e)return;let r=e;for(let n=0;n<t.length;n++){const e=t[n];if(r=null!=r?r[e]:void 0,void 0===r)return r}return r}function y(e,t,r){let n=e;if(null==n&&(n="number"===typeof t?[]:{}),n[t]===r)return n;const i=l(n);return i[t]=r,i}function v(e,t,r){return t.length?_(e,t,r,0):r}function _(e,t,r,n){let i;const a=t[n];if(n===t.length-1)i=r;else{const o=c(e)&&c(e[a])?e[a]:"number"===typeof t[n+1]?[]:{};i=_(o,t,r,n+1)}return y(e,a,i)}function w(e,t,r){const n=null==e?void 0:e[t],i=r(n);return y(e,t,i)}function E(e,t,r){const n=b(e,t),i=r(n);return v(e,t,i)}function P(e,t,r,n,i,a,...o){return o.length?I.call(null,!1,!1,e,t,r,n,i,a,...o):I(!1,!1,e,t,r,n,i,a)}function A(e,t,r,n,i,a,...o){return o.length?I.call(null,!1,!0,e,t,r,n,i,a,...o):I(!1,!0,e,t,r,n,i,a)}function k(e,t,r,n,i,a,o,...s){let l,c=b(e,t);return null==c&&(c={}),l=s.length?I.call(null,!1,!1,c,r,n,i,a,o,...s):I(!1,!1,c,r,n,i,a,o),v(e,t,l)}function C(e,t){const r=Array.isArray(t)?t:[t];let n=!1;for(let o=0;o<r.length;o++)if(s.call(e,r[o])){n=!0;break}if(!n)return e;const i={},a=o(e);for(let o=0;o<a.length;o++){const t=a[o];r.indexOf(t)>=0||(i[t]=e[t])}return i}function S(e,t,r,n,i,a,...o){return o.length?I.call(null,!0,!1,e,t,r,n,i,a,...o):I(!0,!1,e,t,r,n,i,a)}function I(e,t,r,...s){let u=r;null==u&&a(i?"At least one object should be provided to merge()":n);let f=!1;for(let n=0;n<s.length;n++){const r=s[n];if(null==r)continue;const i=o(r);if(i.length)for(let n=0;n<=i.length;n++){const a=i[n];if(e&&void 0!==u[a])continue;let o=r[a];t&&c(u[a])&&c(o)&&(o=I(e,t,u[a],o)),void 0!==o&&o!==u[a]&&(f||(f=!0,u=l(u)),u[a]=o)}}return u}const B={clone:l,addLast:u,addFirst:f,removeLast:h,removeFirst:d,insert:p,removeAt:m,replaceAt:g,getIn:b,set:y,setIn:v,update:w,updateIn:E,merge:P,mergeDeep:A,mergeIn:k,omit:C,addDefaults:S};var x=B;t.default=x},cf38:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shgTable=t.mulTable=void 0;var n=[1,57,41,21,203,34,97,73,227,91,149,62,105,45,39,137,241,107,3,173,39,71,65,238,219,101,187,87,81,151,141,133,249,117,221,209,197,187,177,169,5,153,73,139,133,127,243,233,223,107,103,99,191,23,177,171,165,159,77,149,9,139,135,131,253,245,119,231,224,109,211,103,25,195,189,23,45,175,171,83,81,79,155,151,147,9,141,137,67,131,129,251,123,30,235,115,113,221,217,53,13,51,50,49,193,189,185,91,179,175,43,169,83,163,5,79,155,19,75,147,145,143,35,69,17,67,33,65,255,251,247,243,239,59,29,229,113,111,219,27,213,105,207,51,201,199,49,193,191,47,93,183,181,179,11,87,43,85,167,165,163,161,159,157,155,77,19,75,37,73,145,143,141,35,138,137,135,67,33,131,129,255,63,250,247,61,121,239,237,117,29,229,227,225,111,55,109,216,213,211,209,207,205,203,201,199,197,195,193,48,190,47,93,185,183,181,179,178,176,175,173,171,85,21,167,165,41,163,161,5,79,157,78,154,153,19,75,149,74,147,73,144,143,71,141,140,139,137,17,135,134,133,66,131,65,129,1];t.mulTable=n;var i=[0,9,10,10,14,12,14,14,16,15,16,15,16,15,15,17,18,17,12,18,16,17,17,19,19,18,19,18,18,19,19,19,20,19,20,20,20,20,20,20,15,20,19,20,20,20,21,21,21,20,20,20,21,18,21,21,21,21,20,21,17,21,21,21,22,22,21,22,22,21,22,21,19,22,22,19,20,22,22,21,21,21,22,22,22,18,22,22,21,22,22,23,22,20,23,22,22,23,23,21,19,21,21,21,23,23,23,22,23,23,21,23,22,23,18,22,23,20,22,23,23,23,21,22,20,22,21,22,24,24,24,24,24,22,21,24,23,23,24,21,24,23,24,22,24,24,22,24,24,22,23,24,24,24,20,23,22,23,24,24,24,24,24,24,24,23,21,23,22,23,24,24,24,22,24,24,24,23,22,24,24,25,23,25,25,23,24,25,25,24,22,25,25,25,24,23,24,25,25,25,25,25,25,25,25,25,25,25,25,23,25,23,24,25,25,25,25,25,25,25,25,25,24,22,25,25,23,25,25,20,24,25,24,25,25,22,24,25,24,25,24,25,25,24,25,25,25,25,22,25,25,25,24,25,24,25,18];t.shgTable=i},d177:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var n=r("c2d7"),i=function(){return{fisheye:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{r:2.5},r=arguments.length>1?arguments[1]:void 0;"function"===typeof t&&(r=t,t={r:2.5});var i=this.cloneQuiet(),a=i.bitmap,o=a.width,s=a.height;return i.scanQuiet(0,0,o,s,(function(r,n){var a=r/o,l=n/s,c=Math.sqrt(Math.pow(a-.5,2)+Math.pow(l-.5,2)),u=2*Math.pow(c,t.r),f=(a-.5)/c,h=(l-.5)/c,d=Math.round((u*f+.5)*o),p=Math.round((u*h+.5)*s),m=i.getPixelColor(d,p);e.setPixelColor(m,r,n)})),this.setPixelColor(i.getPixelColor(o/2,s/2),o/2,s/2),(0,n.isNodePattern)(r)&&r.call(this,null,this),this}}};t["default"]=i},d17b:function(e,t,r){e.exports=r("e372").Transform},d28b:function(e,t,r){var n=r("746f");n("iterator")},d485:function(e,t,r){e.exports=a;var n=r("faa1").EventEmitter,i=r("3fb5");function a(){n.call(this)}i(a,n),a.Readable=r("e372"),a.Writable=r("2c63"),a.Duplex=r("0960"),a.Transform=r("d17b"),a.PassThrough=r("c2ae"),a.Stream=a,a.prototype.pipe=function(e,t){var r=this;function i(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function a(){r.readable&&r.resume&&r.resume()}r.on("data",i),e.on("drain",a),e._isStdio||t&&!1===t.end||(r.on("end",s),r.on("close",l));var o=!1;function s(){o||(o=!0,e.end())}function l(){o||(o=!0,"function"===typeof e.destroy&&e.destroy())}function c(e){if(u(),0===n.listenerCount(this,"error"))throw e}function u(){r.removeListener("data",i),e.removeListener("drain",a),r.removeListener("end",s),r.removeListener("close",l),r.removeListener("error",c),e.removeListener("error",c),r.removeListener("end",u),r.removeListener("close",u),e.removeListener("close",u)}return r.on("error",c),e.on("error",c),r.on("end",u),r.on("close",u),e.on("close",u),e.emit("pipe",r),e}},d576:function(e,t,r){"use strict";(function(e){var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=r("c2d7"),a=n(r("6825")),o=n(r("6ec1")),s=function(){return{constants:{RESIZE_NEAREST_NEIGHBOR:"nearestNeighbor",RESIZE_BILINEAR:"bilinearInterpolation",RESIZE_BICUBIC:"bicubicInterpolation",RESIZE_HERMITE:"hermiteInterpolation",RESIZE_BEZIER:"bezierInterpolation"},class:{resize:function(t,r,n,s){if("number"!==typeof t||"number"!==typeof r)return i.throwError.call(this,"w and h must be numbers",s);if("function"===typeof n&&"undefined"===typeof s&&(s=n,n=null),t===this.constructor.AUTO&&r===this.constructor.AUTO)return i.throwError.call(this,"w and h cannot both be set to auto",s);if(t===this.constructor.AUTO&&(t=this.bitmap.width*(r/this.bitmap.height)),r===this.constructor.AUTO&&(r=this.bitmap.height*(t/this.bitmap.width)),t<0||r<0)return i.throwError.call(this,"w and h must be positive numbers",s);if(t=Math.round(t),r=Math.round(r),"function"===typeof o["default"][n]){var l={data:e.alloc(t*r*4),width:t,height:r};o["default"][n](this.bitmap,l),this.bitmap=l}else{var c=this,u=new a["default"](this.bitmap.width,this.bitmap.height,t,r,!0,!0,(function(n){c.bitmap.data=e.from(n),c.bitmap.width=t,c.bitmap.height=r}));u.resize(this.bitmap.data)}return(0,i.isNodePattern)(s)&&s.call(this,null,this),this}}}};t["default"]=s}).call(this,r("b639").Buffer)},d606:function(e,t,r){"use strict";function n(e,t){for(var r=0,n=0;n<t.length;n++)if(e.chars[t[n]]){var i=e.kernings[t[n]]&&e.kernings[t[n]][t[n+1]]?e.kernings[t[n]][t[n+1]]:0;r+=(e.chars[t[n]].xadvance||0)+i}return r}function i(e,t,r){for(var i=t.split(" "),a="",o=e.common.lineHeight,s=0;s<i.length;s++){var l=a+i[s]+" ",c=n(e,l);c>r&&s>0?(o+=e.common.lineHeight,a=i[s]+" "):a=l}return o}Object.defineProperty(t,"__esModule",{value:!0}),t.measureText=n,t.measureTextHeight=i},d60a:function(e,t){e.exports=function(e){return e&&"object"===typeof e&&"function"===typeof e.copy&&"function"===typeof e.fill&&"function"===typeof e.readUInt8}},d669:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=n(r("9523")),a=n(r("1aca")),o=r("c2d7"),s="image/bmp",l="image/x-ms-bmp";function c(e){return(0,o.scan)(e,0,0,e.bitmap.width,e.bitmap.height,(function(e,t,r){var n=this.bitmap.data[r+0],i=this.bitmap.data[r+1],a=this.bitmap.data[r+2],o=this.bitmap.data[r+3];this.bitmap.data[r+0]=o,this.bitmap.data[r+1]=a,this.bitmap.data[r+2]=i,this.bitmap.data[r+3]=n})).bitmap}function u(e){return(0,o.scan)({bitmap:e},0,0,e.width,e.height,(function(t,r,n){var i=this.bitmap.data[n+0],a=this.bitmap.data[n+1],o=this.bitmap.data[n+2],s=this.bitmap.data[n+3];this.bitmap.data[n+0]=s,this.bitmap.data[n+1]=o,this.bitmap.data[n+2]=a,this.bitmap.data[n+3]=e.is_with_alpha?i:255})).bitmap}var f=function(e){return u(a["default"].decode(e))},h=function(e){return a["default"].encode(c(e)).data},d=function(){var e,t;return{mime:(0,i["default"])({},s,["bmp"]),constants:{MIME_BMP:s,MIME_X_MS_BMP:l},decoders:(e={},(0,i["default"])(e,s,f),(0,i["default"])(e,l,f),e),encoders:(t={},(0,i["default"])(t,s,h),(0,i["default"])(t,l,h),t)}};t["default"]=d},d7ac:function(e,t,r){"use strict";var n=r("be7fe").assign,i=r("4126"),a=r("717e"),o=r("2ceb"),s={};n(s,i,a,o),e.exports=s},d938:function(e,t,r){var n=r("b639").Buffer;e.exports=function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"===typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(n.isBuffer(e)){for(var t=new Uint8Array(e.length),r=e.length,i=0;i<r;i++)t[i]=e[i];return t.buffer}throw new Error("Argument must be a Buffer")}},d9d3:function(e,t,r){"use strict";(function(t){class r{constructor(...e){if(0===e.length)throw new Error("constructor requires parameters");const n=e[0];if(null!==n&&"object"===typeof n)if(n instanceof r){const e=n.bitmap;this.bitmap={width:e.width,height:e.height,data:new t(e.width*e.height*4)},e.data.copy(this.bitmap.data)}else{if(!(n.width&&n.height&&n.data))throw new Error("unrecognized constructor parameters");this.bitmap=n}else{if("number"!==typeof n||"number"!==typeof e[1])throw new Error("unrecognized constructor parameters");{const r=n,i=e[1],a=e[2];this.bitmap={width:r,height:i},t.isBuffer(a)?this.bitmap.data=a:(this.bitmap.data=new t(r*i*4),"number"===typeof a&&this.fillRGBA(a))}}}blit(e,t,r,n,i,a,o){if(n+a>this.bitmap.width)throw new Error("copy exceeds width of source bitmap");if(t+a>e.bitmap.width)throw new Error("copy exceeds width of target bitmap");if(i+o>this.bitmap.height)throw new Error("copy exceeds height of source bitmap");if(r+o>e.bitmap.height)throw new Erro("copy exceeds height of target bitmap");const s=this.bitmap.data,l=e.bitmap.data,c=4*this.bitmap.width,u=4*e.bitmap.width,f=4*a;let h=i*c+4*n,d=r*u+4*t;while(--o>=0)s.copy(l,d,h,h+f),h+=c,d+=u;return this}fillRGBA(e){const t=this.bitmap.data,r=4*this.bitmap.height;let n=0;while(n<r)t.writeUInt32BE(e,n),n+=4;while(n<t.length)t.copy(t,n,0,r),n+=r;return this}getRGBA(e,t){const r=4*(t*this.bitmap.width+e);return this.bitmap.data.readUInt32BE(r)}getRGBASet(){const e=new Set,t=this.bitmap.data;for(let r=0;r<t.length;r+=4)e.add(t.readUInt32BE(r,!0));return e}greyscale(){const e=this.bitmap.data;return this.scan(0,0,this.bitmap.width,this.bitmap.height,(t,r,n)=>{const i=Math.round(.299*e[n]+.587*e[n+1]+.114*e[n+2]);e[n]=i,e[n+1]=i,e[n+2]=i}),this}reframe(e,t,n,i,a){const o=e<0?0:e,s=t<0?0:t,l=n+o>this.bitmap.width?this.bitmap.width-o:n,c=i+s>this.bitmap.height?this.bitmap.height-s:i,u=e<0?-e:0,f=t<0?-t:0;let h;if(void 0===a){if(o!==e||s!=t||l!==n||c!==i)throw new GifError("fillRGBA required for this reframing");h=new r(n,i)}else h=new r(n,i,a);return this.blit(h,u,f,o,s,l,c),this.bitmap=h.bitmap,this}scale(e){if(1===e)return;if(!Number.isInteger(e)||e<1)throw new Error("the scale must be an integer >= 1");const r=this.bitmap.width,n=this.bitmap.height,i=r*e*4,a=this.bitmap.data,o=new t(n*i*e);let s,l=0,c=0;for(let t=0;t<n;++t){s=c;for(let t=0;t<r;++t){const t=a.readUInt32BE(l,!0);for(let r=0;r<e;++r)o.writeUInt32BE(t,c),c+=4;l+=4}for(let t=1;t<e;++t)o.copy(o,c,s,c),c+=i,s+=i}return this.bitmap={width:r*e,height:n*e,data:o},this}scanAllCoords(e){const t=this.bitmap.width,r=this.bitmap.data.length;let n=0,i=0;for(let a=0;a<r;a+=4)e(n,i,a),++n===t&&(n=0,++i)}scanAllIndexes(e){const t=this.bitmap.data.length;for(let r=0;r<t;r+=4)e(r)}}e.exports=r}).call(this,r("b639").Buffer)},dafe:function(e,t,r){"use strict";(function(e){var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=n(r("9523")),a=n(r("7262")),o="image/tiff",s=function(){return{mime:(0,i["default"])({},o,["tiff","tif"]),constants:{MIME_TIFF:o},decoders:(0,i["default"])({},o,(function(t){var r=a["default"].decode(t),n=r[0];a["default"].decodeImages(t,r);var i=a["default"].toRGBA8(n);return{data:e.from(i),width:n.t256[0],height:n.t257[0]}})),encoders:(0,i["default"])({},o,(function(t){var r=a["default"].encodeImage(t.bitmap.data,t.bitmap.width,t.bitmap.height);return e.from(r)}))}};t["default"]=s}).call(this,r("b639").Buffer)},dbc1:function(e,t){function r(e,t,r,n,i,a){this.global=i,t=t||0,r=r||e.byteLength-t,this.arrayBuffer=e.slice(t,t+r),this.view=new i.DataView(this.arrayBuffer,0,this.arrayBuffer.byteLength),this.setBigEndian(n),this.offset=0,this.parentOffset=(a||0)+t}r.prototype={setBigEndian:function(e){this.littleEndian=!e},nextUInt8:function(){var e=this.view.getUint8(this.offset);return this.offset+=1,e},nextInt8:function(){var e=this.view.getInt8(this.offset);return this.offset+=1,e},nextUInt16:function(){var e=this.view.getUint16(this.offset,this.littleEndian);return this.offset+=2,e},nextUInt32:function(){var e=this.view.getUint32(this.offset,this.littleEndian);return this.offset+=4,e},nextInt16:function(){var e=this.view.getInt16(this.offset,this.littleEndian);return this.offset+=2,e},nextInt32:function(){var e=this.view.getInt32(this.offset,this.littleEndian);return this.offset+=4,e},nextFloat:function(){var e=this.view.getFloat32(this.offset,this.littleEndian);return this.offset+=4,e},nextDouble:function(){var e=this.view.getFloat64(this.offset,this.littleEndian);return this.offset+=8,e},nextBuffer:function(e){var t=this.arrayBuffer.slice(this.offset,this.offset+e);return this.offset+=e,t},remainingLength:function(){return this.arrayBuffer.byteLength-this.offset},nextString:function(e){var t=this.arrayBuffer.slice(this.offset,this.offset+e);return t=String.fromCharCode.apply(null,new this.global.Uint8Array(t)),this.offset+=e,t},mark:function(){var e=this;return{openWithOffset:function(t){return t=(t||0)+this.offset,new r(e.arrayBuffer,t,e.arrayBuffer.byteLength-t,!e.littleEndian,e.global,e.parentOffset)},offset:this.offset,getParentOffset:function(){return e.parentOffset}}},offsetFrom:function(e){return this.parentOffset+this.offset-(e.offset+e.getParentOffset())},skip:function(e){this.offset+=e},branch:function(e,t){return t="number"===typeof t?t:this.arrayBuffer.byteLength-(this.offset+e),new r(this.arrayBuffer,this.offset+e,t,!this.littleEndian,this.global,this.parentOffset)}},e.exports=r},dbce:function(e,t,r){r("e439"),r("d3b7"),r("3ca3"),r("10d1"),r("ddb0");var n=r("7037");function i(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function a(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r["default"]=e,t&&t.set(e,r),r}e.exports=a},dc14:function(e,t,r){"use strict";(function(t,n){var i=r("966d");function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){U(t,e)}}e.exports=v;var o,s=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?setImmediate:i.nextTick;v.WritableState=y;var l=Object.create(r("3a7c"));l.inherits=r("3fb5");var c={deprecate:r("b7d1")},u=r("429b"),f=r("8707").Buffer,h=n.Uint8Array||function(){};function d(e){return f.from(e)}function p(e){return f.isBuffer(e)||e instanceof h}var m,g=r("4681");function b(){}function y(e,t){o=o||r("b19a"),e=e||{};var n=t instanceof o;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,s=e.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(s||0===s)?s:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var c=!1===e.decodeStrings;this.decodeStrings=!c,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){S(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function v(e){if(o=o||r("b19a"),!m.call(v,this)&&!(this instanceof o))return new v(e);this._writableState=new y(e,this),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),u.call(this)}function _(e,t){var r=new Error("write after end");e.emit("error",r),i.nextTick(t,r)}function w(e,t,r,n){var a=!0,o=!1;return null===r?o=new TypeError("May not write null values to stream"):"string"===typeof r||void 0===r||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),i.nextTick(n,o),a=!1),a}function E(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=f.from(t,r)),t}function P(e,t,r,n,i,a){if(!r){var o=E(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var s=t.objectMode?1:n.length;t.length+=s;var l=t.length<t.highWaterMark;if(l||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else A(e,t,!1,s,n,i,a);return l}function A(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function k(e,t,r,n,a){--t.pendingcb,r?(i.nextTick(a,n),i.nextTick(O,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(a(n),e._writableState.errorEmitted=!0,e.emit("error",n),O(e,t))}function C(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function S(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(C(r),t)k(e,r,n,t,i);else{var a=T(r);a||r.corked||r.bufferProcessing||!r.bufferedRequest||x(e,r),n?s(I,e,r,a,i):I(e,r,a,i)}}function I(e,t,r,n){r||B(e,t),t.pendingcb--,n(),O(e,t)}function B(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function x(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),o=t.corkedRequestsFree;o.entry=r;var s=0,l=!0;while(r)i[s]=r,r.isBuf||(l=!1),r=r.next,s+=1;i.allBuffers=l,A(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{while(r){var c=r.chunk,u=r.encoding,f=r.callback,h=t.objectMode?1:c.length;if(A(e,t,!1,h,c,u,f),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function T(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function R(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),O(e,t)}))}function M(e,t){t.prefinished||t.finalCalled||("function"===typeof e._final?(t.pendingcb++,t.finalCalled=!0,i.nextTick(R,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function O(e,t){var r=T(t);return r&&(M(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}function N(e,t,r){t.ending=!0,O(e,t),r&&(t.finished?i.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function U(e,t,r){var n=e.entry;e.entry=null;while(n){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}l.inherits(v,u),y.prototype.getBuffer=function(){var e=this.bufferedRequest,t=[];while(e)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(y.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(m=Function.prototype[Symbol.hasInstance],Object.defineProperty(v,Symbol.hasInstance,{value:function(e){return!!m.call(this,e)||this===v&&(e&&e._writableState instanceof y)}})):m=function(e){return e instanceof this},v.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},v.prototype.write=function(e,t,r){var n=this._writableState,i=!1,a=!n.objectMode&&p(e);return a&&!f.isBuffer(e)&&(e=d(e)),"function"===typeof t&&(r=t,t=null),a?t="buffer":t||(t=n.defaultEncoding),"function"!==typeof r&&(r=b),n.ended?_(this,r):(a||w(this,n,e,r))&&(n.pendingcb++,i=P(this,n,a,e,t,r)),i},v.prototype.cork=function(){var e=this._writableState;e.corked++},v.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||x(this,e))},v.prototype.setDefaultEncoding=function(e){if("string"===typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(v.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),v.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},v.prototype._writev=null,v.prototype.end=function(e,t,r){var n=this._writableState;"function"===typeof e?(r=e,e=null,t=null):"function"===typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||N(this,n,r)},Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),v.prototype.destroy=g.destroy,v.prototype._undestroy=g.undestroy,v.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,r("4362"),r("c8ba"))},dc2b:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var n=r("c2d7"),i=function(){return{mask:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3?arguments[3]:void 0;if(!(e instanceof this.constructor))return n.throwError.call(this,"The source must be a Jimp image",i);if("number"!==typeof t||"number"!==typeof r)return n.throwError.call(this,"x and y must be numbers",i);t=Math.round(t),r=Math.round(r);var a=this.bitmap.width,o=this.bitmap.height,s=this;return e.scanQuiet(0,0,e.bitmap.width,e.bitmap.height,(function(e,n,i){var l=t+e,c=r+n;if(l>=0&&c>=0&&l<a&&c<o){var u=s.getPixelIndex(l,c),f=this.bitmap.data,h=(f[i+0]+f[i+1]+f[i+2])/3;s.bitmap.data[u+3]*=h/255}})),(0,n.isNodePattern)(i)&&i.call(this,null,this),this}}};t["default"]=i},e01a:function(e,t,r){"use strict";var n=r("23e7"),i=r("83ab"),a=r("da84"),o=r("5135"),s=r("861d"),l=r("9bf2").f,c=r("e893"),u=a.Symbol;if(i&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var f={},h=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof h?new u(e):void 0===e?u():u(e);return""===e&&(f[t]=!0),t};c(h,u);var d=h.prototype=u.prototype;d.constructor=h;var p=d.toString,m="Symbol(test)"==String(u("test")),g=/^Symbol\((.*)\)[^)]+$/;l(d,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=p.call(e);if(o(f,e))return"";var r=m?t.slice(7,-1):t.replace(g,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:h})}},e079:function(e,t,r){"use strict";r("3dcc")},e099:function(e,t,r){"use strict";var n=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,r,s){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"===typeof e?a(o(e),(function(o){var s=encodeURIComponent(n(o))+r;return i(e[o])?a(e[o],(function(e){return s+encodeURIComponent(n(e))})).join(t):s+encodeURIComponent(n(e[o]))})).join(t):s?encodeURIComponent(n(s))+r+encodeURIComponent(n(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function a(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var o=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}},e0fe:function(e,t,r){"use strict";(function(t){var n=r("3022"),i=r("d485"),a=r("ab33"),o=r("ec2c"),s=e.exports=function(e){i.call(this);var t=e||{};this._packer=new o(t),this._deflate=this._packer.createDeflate(),this.readable=!0};n.inherits(s,i),s.prototype.pack=function(e,r,n,i){this.emit("data",new t(a.PNG_SIGNATURE)),this.emit("data",this._packer.packIHDR(r,n)),i&&this.emit("data",this._packer.packGAMA(i));var o=this._packer.filterData(e,r,n);this._deflate.on("error",this.emit.bind(this,"error")),this._deflate.on("data",function(e){this.emit("data",this._packer.packIDAT(e))}.bind(this)),this._deflate.on("end",function(){this.emit("data",this._packer.packIEND()),this.emit("end")}.bind(this)),this._deflate.end(o)}}).call(this,r("b639").Buffer)},e22f6:function(e,t,r){"use strict";(function(t){var n=r("2ad0"),i=r("662d");function a(e,t,r){var n=e*t;return 8!==r&&(n=Math.ceil(n/(8/r))),n}var o=e.exports=function(e,t){var r=e.width,i=e.height,o=e.interlace,s=e.bpp,l=e.depth;if(this.read=t.read,this.write=t.write,this.complete=t.complete,this._imageIndex=0,this._images=[],o)for(var c=n.getImagePasses(r,i),u=0;u<c.length;u++)this._images.push({byteWidth:a(c[u].width,s,l),height:c[u].height,lineIndex:0});else this._images.push({byteWidth:a(r,s,l),height:i,lineIndex:0});this._xComparison=8===l?s:16===l?2*s:1};o.prototype.start=function(){this.read(this._images[this._imageIndex].byteWidth+1,this._reverseFilterLine.bind(this))},o.prototype._unFilterType1=function(e,t,r){for(var n=this._xComparison,i=n-1,a=0;a<r;a++){var o=e[1+a],s=a>i?t[a-n]:0;t[a]=o+s}},o.prototype._unFilterType2=function(e,t,r){for(var n=this._lastLine,i=0;i<r;i++){var a=e[1+i],o=n?n[i]:0;t[i]=a+o}},o.prototype._unFilterType3=function(e,t,r){for(var n=this._xComparison,i=n-1,a=this._lastLine,o=0;o<r;o++){var s=e[1+o],l=a?a[o]:0,c=o>i?t[o-n]:0,u=Math.floor((c+l)/2);t[o]=s+u}},o.prototype._unFilterType4=function(e,t,r){for(var n=this._xComparison,a=n-1,o=this._lastLine,s=0;s<r;s++){var l=e[1+s],c=o?o[s]:0,u=s>a?t[s-n]:0,f=s>a&&o?o[s-n]:0,h=i(u,c,f);t[s]=l+h}},o.prototype._reverseFilterLine=function(e){var r,n=e[0],i=this._images[this._imageIndex],a=i.byteWidth;if(0===n)r=e.slice(1,a+1);else switch(r=new t(a),n){case 1:this._unFilterType1(e,r,a);break;case 2:this._unFilterType2(e,r,a);break;case 3:this._unFilterType3(e,r,a);break;case 4:this._unFilterType4(e,r,a);break;default:throw new Error("Unrecognised filter type - "+n)}this.write(r),i.lineIndex++,i.lineIndex>=i.height?(this._lastLine=null,this._imageIndex++,i=this._images[this._imageIndex]):this._lastLine=r,i?this.read(i.byteWidth+1,this._reverseFilterLine.bind(this)):(this._lastLine=null,this.complete())}}).call(this,r("b639").Buffer)},e372:function(e,t,r){t=e.exports=r("ad71"),t.Stream=t,t.Readable=t,t.Writable=r("dc14"),t.Duplex=r("b19a"),t.Transform=r("27bf"),t.PassThrough=r("780f")},e439:function(e,t,r){var n=r("23e7"),i=r("d039"),a=r("fc6a"),o=r("06cf").f,s=r("83ab"),l=i((function(){o(1)})),c=!s||l;n({target:"Object",stat:!0,forced:c,sham:!s},{getOwnPropertyDescriptor:function(e,t){return o(a(e),t)}})},e460:function(e,t,r){"use strict";r.r(t),r.d(t,"applyPalette",(function(){return Je})),r.d(t,"applyPaletteSync",(function(){return Qe})),r.d(t,"buildPalette",(function(){return Ke})),r.d(t,"buildPaletteSync",(function(){return Xe})),r.d(t,"constants",(function(){return s})),r.d(t,"conversion",(function(){return h})),r.d(t,"distance",(function(){return D})),r.d(t,"image",(function(){return Me})),r.d(t,"palette",(function(){return te})),r.d(t,"quality",(function(){return je})),r.d(t,"utils",(function(){return le}));var n=Object.defineProperty,i=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,a=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})},o=(e,t,r)=>(i(e,"symbol"!==typeof t?t+"":t,r),r),s={};a(s,{bt709:()=>l});var l={};a(l,{Y:()=>c,x:()=>u,y:()=>f});var c=(e=>(e[e["RED"]=.2126]="RED",e[e["GREEN"]=.7152]="GREEN",e[e["BLUE"]=.0722]="BLUE",e[e["WHITE"]=1]="WHITE",e))(c||{}),u=(e=>(e[e["RED"]=.64]="RED",e[e["GREEN"]=.3]="GREEN",e[e["BLUE"]=.15]="BLUE",e[e["WHITE"]=.3127]="WHITE",e))(u||{}),f=(e=>(e[e["RED"]=.33]="RED",e[e["GREEN"]=.6]="GREEN",e[e["BLUE"]=.06]="BLUE",e[e["WHITE"]=.329]="WHITE",e))(f||{}),h={};function d(e){return e>.04045?((e+.055)/1.055)**2.4:e/12.92}function p(e,t,r){return e=d(e/255),t=d(t/255),r=d(r/255),{x:.4124*e+.3576*t+.1805*r,y:.2126*e+.7152*t+.0722*r,z:.0193*e+.1192*t+.9505*r}}a(h,{lab2rgb:()=>L,lab2xyz:()=>O,rgb2hsl:()=>P,rgb2lab:()=>B,rgb2xyz:()=>p,xyz2lab:()=>I,xyz2rgb:()=>U});var m={};function g(e){return e*(Math.PI/180)}function b(e,t,r){let n=e;return n<t&&(n=t),n<r&&(n=r),n}function y(e,t,r){let n=e;return n>t&&(n=t),n>r&&(n=r),n}function v(e,t,r){return e>r&&(e=r),e<t&&(e=t),0|e}function _(e){return e=Math.round(e),e>255?e=255:e<0&&(e=0),e}function w(e){return e>255?e=255:e<0&&(e=0),e}function E(e,t){const r=typeof e[0];let n;if("number"===r||"string"===r){const r=Object.create(null);for(let t=0,n=e.length;t<n;t++){const n=e[t];r[n]||0===r[n]||(r[n]=t)}n=e.sort((e,n)=>t(e,n)||r[e]-r[n])}else{const r=e.slice(0);n=e.sort((e,n)=>t(e,n)||r.indexOf(e)-r.indexOf(n))}return n}function P(e,t,r){const n=y(e,t,r),i=b(e,t,r),a=i-n,o=(n+i)/510;let s=0;o>0&&o<1&&(s=a/(o<.5?i+n:510-i-n));let l=0;return a>0&&(l=i===e?(t-r)/a:i===t?2+(r-e)/a:4+(e-t)/a,l*=60,l<0&&(l+=360)),{h:l,s:s,l:o}}a(m,{degrees2radians:()=>g,inRange0to255:()=>w,inRange0to255Rounded:()=>_,intInRange:()=>v,max3:()=>b,min3:()=>y,stableSort:()=>E});var A=.95047,k=1,C=1.08883;function S(e){return e>.008856?e**(1/3):7.787*e+16/116}function I(e,t,r){if(e=S(e/A),t=S(t/k),r=S(r/C),116*t-16<0)throw new Error("xxx");return{L:Math.max(0,116*t-16),a:500*(e-t),b:200*(t-r)}}function B(e,t,r){const n=p(e,t,r);return I(n.x,n.y,n.z)}var x=.95047,T=1,R=1.08883;function M(e){return e>.206893034?e**3:(e-16/116)/7.787}function O(e,t,r){const n=(e+16)/116,i=t/500+n,a=n-r/200;return{x:x*M(i),y:T*M(n),z:R*M(a)}}function N(e){return e>.0031308?1.055*e**(1/2.4)-.055:12.92*e}function U(e,t,r){const n=N(3.2406*e+-1.5372*t+-.4986*r),i=N(-.9689*e+1.8758*t+.0415*r),a=N(.0557*e+-.204*t+1.057*r);return{r:_(255*n),g:_(255*i),b:_(255*a)}}function L(e,t,r){const n=O(e,t,r);return U(n.x,n.y,n.z)}var D={};a(D,{AbstractDistanceCalculator:()=>F,AbstractEuclidean:()=>V,AbstractManhattan:()=>X,CIE94GraphicArts:()=>j,CIE94Textiles:()=>G,CIEDE2000:()=>z,CMetric:()=>W,Euclidean:()=>q,EuclideanBT709:()=>Z,EuclideanBT709NoAlpha:()=>Y,Manhattan:()=>K,ManhattanBT709:()=>J,ManhattanNommyde:()=>Q,PNGQuant:()=>ee});var F=class{constructor(){o(this,"_maxDistance"),o(this,"_whitePoint"),this._setDefaults(),this.setWhitePoint(255,255,255,255)}setWhitePoint(e,t,r,n){this._whitePoint={r:e>0?255/e:0,g:t>0?255/t:0,b:r>0?255/r:0,a:n>0?255/n:0},this._maxDistance=this.calculateRaw(e,t,r,n,0,0,0,0)}calculateNormalized(e,t){return this.calculateRaw(e.r,e.g,e.b,e.a,t.r,t.g,t.b,t.a)/this._maxDistance}},$=class extends F{calculateRaw(e,t,r,n,i,a,o,s){const l=B(w(e*this._whitePoint.r),w(t*this._whitePoint.g),w(r*this._whitePoint.b)),c=B(w(i*this._whitePoint.r),w(a*this._whitePoint.g),w(o*this._whitePoint.b)),u=l.L-c.L,f=l.a-c.a,h=l.b-c.b,d=Math.sqrt(l.a*l.a+l.b*l.b),p=Math.sqrt(c.a*c.a+c.b*c.b),m=d-p;let g=f*f+h*h-m*m;g=g<0?0:Math.sqrt(g);const b=(s-n)*this._whitePoint.a*this._kA;return Math.sqrt((u/this._Kl)**2+(m/(1+this._K1*d))**2+(g/(1+this._K2*d))**2+b**2)}},G=class extends ${_setDefaults(){this._Kl=2,this._K1=.048,this._K2=.014,this._kA=12.5/255}},j=class extends ${_setDefaults(){this._Kl=1,this._K1=.045,this._K2=.015,this._kA=25/255}},H=class extends F{_setDefaults(){}static _calculatehp(e,t){const r=Math.atan2(e,t);return r>=0?r:r+H._deg360InRad}static _calculateRT(e,t){const r=t**7,n=2*Math.sqrt(r/(r+H._pow25to7)),i=H._deg30InRad*Math.exp(-(((e-H._deg275InRad)/H._deg25InRad)**2));return-Math.sin(2*i)*n}static _calculateT(e){return 1-.17*Math.cos(e-H._deg30InRad)+.24*Math.cos(2*e)+.32*Math.cos(3*e+H._deg6InRad)-.2*Math.cos(4*e-H._deg63InRad)}static _calculate_ahp(e,t,r,n){const i=r+n;return 0===e?i:t<=H._deg180InRad?i/2:i<H._deg360InRad?(i+H._deg360InRad)/2:(i-H._deg360InRad)/2}static _calculate_dHp(e,t,r,n){let i;return i=0===e?0:t<=H._deg180InRad?r-n:r<=n?r-n+H._deg360InRad:r-n-H._deg360InRad,2*Math.sqrt(e)*Math.sin(i/2)}calculateRaw(e,t,r,n,i,a,o,s){const l=B(w(e*this._whitePoint.r),w(t*this._whitePoint.g),w(r*this._whitePoint.b)),c=B(w(i*this._whitePoint.r),w(a*this._whitePoint.g),w(o*this._whitePoint.b)),u=(s-n)*this._whitePoint.a*H._kA,f=this.calculateRawInLab(l,c);return Math.sqrt(f+u*u)}calculateRawInLab(e,t){const r=e.L,n=e.a,i=e.b,a=t.L,o=t.a,s=t.b,l=Math.sqrt(n*n+i*i),c=Math.sqrt(o*o+s*s),u=((l+c)/2)**7,f=.5*(1-Math.sqrt(u/(u+H._pow25to7))),h=(1+f)*n,d=(1+f)*o,p=Math.sqrt(h*h+i*i),m=Math.sqrt(d*d+s*s),g=p*m,b=H._calculatehp(i,h),y=H._calculatehp(s,d),v=Math.abs(b-y),_=a-r,w=m-p,E=H._calculate_dHp(g,v,y,b),P=H._calculate_ahp(g,v,b,y),A=H._calculateT(P),k=(p+m)/2,C=((r+a)/2-50)**2,S=1+.015*C/Math.sqrt(20+C),I=1+.045*k,B=1+.015*A*k,x=H._calculateRT(P,k),T=_/S,R=w/I,M=E/B;return T**2+R**2+M**2+x*R*M}},z=H;o(z,"_kA",25/255),o(z,"_pow25to7",25**7),o(z,"_deg360InRad",g(360)),o(z,"_deg180InRad",g(180)),o(z,"_deg30InRad",g(30)),o(z,"_deg6InRad",g(6)),o(z,"_deg63InRad",g(63)),o(z,"_deg275InRad",g(275)),o(z,"_deg25InRad",g(25));var W=class extends F{calculateRaw(e,t,r,n,i,a,o,s){const l=(e+i)/2*this._whitePoint.r,c=(e-i)*this._whitePoint.r,u=(t-a)*this._whitePoint.g,f=(r-o)*this._whitePoint.b,h=((512+l)*c*c>>8)+4*u*u+((767-l)*f*f>>8),d=(s-n)*this._whitePoint.a;return Math.sqrt(h+d*d)}_setDefaults(){}},V=class extends F{calculateRaw(e,t,r,n,i,a,o,s){const l=i-e,c=a-t,u=o-r,f=s-n;return Math.sqrt(this._kR*l*l+this._kG*c*c+this._kB*u*u+this._kA*f*f)}},q=class extends V{_setDefaults(){this._kR=1,this._kG=1,this._kB=1,this._kA=1}},Z=class extends V{_setDefaults(){this._kR=.2126,this._kG=.7152,this._kB=.0722,this._kA=1}},Y=class extends V{_setDefaults(){this._kR=.2126,this._kG=.7152,this._kB=.0722,this._kA=0}},X=class extends F{calculateRaw(e,t,r,n,i,a,o,s){let l=i-e,c=a-t,u=o-r,f=s-n;return l<0&&(l=0-l),c<0&&(c=0-c),u<0&&(u=0-u),f<0&&(f=0-f),this._kR*l+this._kG*c+this._kB*u+this._kA*f}},K=class extends X{_setDefaults(){this._kR=1,this._kG=1,this._kB=1,this._kA=1}},Q=class extends X{_setDefaults(){this._kR=.4984,this._kG=.8625,this._kB=.2979,this._kA=1}},J=class extends X{_setDefaults(){this._kR=.2126,this._kG=.7152,this._kB=.0722,this._kA=1}},ee=class extends F{calculateRaw(e,t,r,n,i,a,o,s){const l=(s-n)*this._whitePoint.a;return this._colordifferenceCh(e*this._whitePoint.r,i*this._whitePoint.r,l)+this._colordifferenceCh(t*this._whitePoint.g,a*this._whitePoint.g,l)+this._colordifferenceCh(r*this._whitePoint.b,o*this._whitePoint.b,l)}_colordifferenceCh(e,t,r){const n=e-t,i=n+r;return n*n+i*i}_setDefaults(){}},te={};a(te,{AbstractPaletteQuantizer:()=>re,ColorHistogram:()=>Ee,NeuQuant:()=>ge,NeuQuantFloat:()=>_e,RGBQuant:()=>Ae,WuColorCube:()=>xe,WuQuant:()=>Re});var re=class{quantizeSync(){for(const e of this.quantize())if(e.palette)return e.palette;throw new Error("unreachable")}},ne=class{constructor(){o(this,"r"),o(this,"g"),o(this,"b"),o(this,"a"),o(this,"uint32"),o(this,"rgba"),this.uint32=-1>>>0,this.r=this.g=this.b=this.a=0,this.rgba=new Array(4),this.rgba[0]=0,this.rgba[1]=0,this.rgba[2]=0,this.rgba[3]=0}static createByQuadruplet(e){const t=new ne;return t.r=0|e[0],t.g=0|e[1],t.b=0|e[2],t.a=0|e[3],t._loadUINT32(),t._loadQuadruplet(),t}static createByRGBA(e,t,r,n){const i=new ne;return i.r=0|e,i.g=0|t,i.b=0|r,i.a=0|n,i._loadUINT32(),i._loadQuadruplet(),i}static createByUint32(e){const t=new ne;return t.uint32=e>>>0,t._loadRGBA(),t._loadQuadruplet(),t}from(e){this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this.uint32=e.uint32,this.rgba[0]=e.r,this.rgba[1]=e.g,this.rgba[2]=e.b,this.rgba[3]=e.a}getLuminosity(e){let t=this.r,r=this.g,n=this.b;return e&&(t=Math.min(255,255-this.a+this.a*t/255),r=Math.min(255,255-this.a+this.a*r/255),n=Math.min(255,255-this.a+this.a*n/255)),.2126*t+.7152*r+.0722*n}_loadUINT32(){this.uint32=(this.a<<24|this.b<<16|this.g<<8|this.r)>>>0}_loadRGBA(){this.r=255&this.uint32,this.g=this.uint32>>>8&255,this.b=this.uint32>>>16&255,this.a=this.uint32>>>24&255}_loadQuadruplet(){this.rgba[0]=this.r,this.rgba[1]=this.g,this.rgba[2]=this.b,this.rgba[3]=this.a}},ie=class{constructor(){o(this,"_pointArray"),o(this,"_width"),o(this,"_height"),this._width=0,this._height=0,this._pointArray=[]}getWidth(){return this._width}getHeight(){return this._height}setWidth(e){this._width=e}setHeight(e){this._height=e}getPointArray(){return this._pointArray}clone(){const e=new ie;e._width=this._width,e._height=this._height;for(let t=0,r=this._pointArray.length;t<r;t++)e._pointArray[t]=ne.createByUint32(0|this._pointArray[t].uint32);return e}toUint32Array(){const e=this._pointArray.length,t=new Uint32Array(e);for(let r=0;r<e;r++)t[r]=this._pointArray[r].uint32;return t}toUint8Array(){return new Uint8Array(this.toUint32Array().buffer)}static fromHTMLImageElement(e){const t=e.naturalWidth,r=e.naturalHeight,n=document.createElement("canvas");n.width=t,n.height=r;const i=n.getContext("2d");return i.drawImage(e,0,0,t,r,0,0,t,r),ie.fromHTMLCanvasElement(n)}static fromHTMLCanvasElement(e){const t=e.width,r=e.height,n=e.getContext("2d"),i=n.getImageData(0,0,t,r);return ie.fromImageData(i)}static fromImageData(e){const t=e.width,r=e.height;return ie.fromUint8Array(e.data,t,r)}static fromUint8Array(e,t,r){switch(Object.prototype.toString.call(e)){case"[object Uint8ClampedArray]":case"[object Uint8Array]":break;default:e=new Uint8Array(e)}const n=new Uint32Array(e.buffer);return ie.fromUint32Array(n,t,r)}static fromUint32Array(e,t,r){const n=new ie;n._width=t,n._height=r;for(let i=0,a=e.length;i<a;i++)n._pointArray[i]=ne.createByUint32(0|e[i]);return n}static fromBuffer(e,t,r){const n=new Uint32Array(e.buffer,e.byteOffset,e.byteLength/Uint32Array.BYTES_PER_ELEMENT);return ie.fromUint32Array(n,t,r)}},ae=10;function oe(e,t){const r=360,n=r/t,i=n/2;for(let a=1,o=n-i;a<t;a++,o+=n)if(e>=o&&e<o+n)return a;return 0}var se=class{constructor(){o(this,"_pointContainer"),o(this,"_pointArray",[]),o(this,"_i32idx",{}),this._pointContainer=new ie,this._pointContainer.setHeight(1),this._pointArray=this._pointContainer.getPointArray()}add(e){this._pointArray.push(e),this._pointContainer.setWidth(this._pointArray.length)}has(e){for(let t=this._pointArray.length-1;t>=0;t--)if(e.uint32===this._pointArray[t].uint32)return!0;return!1}getNearestColor(e,t){return this._pointArray[0|this._getNearestIndex(e,t)]}getPointContainer(){return this._pointContainer}_nearestPointFromCache(e){return"number"===typeof this._i32idx[e]?this._i32idx[e]:-1}_getNearestIndex(e,t){let r=this._nearestPointFromCache(""+t.uint32);if(r>=0)return r;let n=Number.MAX_VALUE;r=0;for(let i=0,a=this._pointArray.length;i<a;i++){const a=this._pointArray[i],o=e.calculateRaw(t.r,t.g,t.b,t.a,a.r,a.g,a.b,a.a);o<n&&(n=o,r=i)}return this._i32idx[t.uint32]=r,r}sort(){this._i32idx={},this._pointArray.sort((e,t)=>{const r=P(e.r,e.g,e.b),n=P(t.r,t.g,t.b),i=e.r===e.g&&e.g===e.b?0:1+oe(r.h,ae),a=t.r===t.g&&t.g===t.b?0:1+oe(n.h,ae),o=a-i;if(o)return-o;const s=e.getLuminosity(!0),l=t.getLuminosity(!0);if(l-s!==0)return l-s;const c=(100*n.s|0)-(100*r.s|0);return c?-c:0})}},le={};a(le,{HueStatistics:()=>ue,Palette:()=>se,Point:()=>ne,PointContainer:()=>ie,ProgressTracker:()=>he,arithmetic:()=>m});var ce=class{constructor(){o(this,"num",0),o(this,"cols",[])}},ue=class{constructor(e,t){o(this,"_numGroups"),o(this,"_minCols"),o(this,"_stats"),o(this,"_groupsFull"),this._numGroups=e,this._minCols=t,this._stats=[];for(let r=0;r<=e;r++)this._stats[r]=new ce;this._groupsFull=0}check(e){this._groupsFull===this._numGroups+1&&(this.check=()=>{});const t=255&e,r=e>>>8&255,n=e>>>16&255,i=t===r&&r===n?0:1+oe(P(t,r,n).h,this._numGroups),a=this._stats[i],o=this._minCols;a.num++,a.num>o||(a.num===o&&this._groupsFull++,a.num<=o&&this._stats[i].cols.push(e))}injectIntoDictionary(e){for(let t=0;t<=this._numGroups;t++)this._stats[t].num<=this._minCols&&this._stats[t].cols.forEach(t=>{e[t]?e[t]++:e[t]=1})}injectIntoArray(e){for(let t=0;t<=this._numGroups;t++)this._stats[t].num<=this._minCols&&this._stats[t].cols.forEach(t=>{-1===e.indexOf(t)&&e.push(t)})}},fe=class{constructor(e,t){o(this,"progress"),o(this,"_step"),o(this,"_range"),o(this,"_last"),o(this,"_progressRange"),this._range=e,this._progressRange=t,this._step=Math.max(1,this._range/(fe.steps+1)|0),this._last=-this._step,this.progress=0}shouldNotify(e){return e-this._last>=this._step&&(this._last=e,this.progress=Math.min(this._progressRange*this._last/this._range,this._progressRange),!0)}},he=fe;o(he,"steps",100);var de=3,pe=class{constructor(e){o(this,"r"),o(this,"g"),o(this,"b"),o(this,"a"),this.r=this.g=this.b=this.a=e}toPoint(){return ne.createByRGBA(this.r>>de,this.g>>de,this.b>>de,this.a>>de)}subtract(e,t,r,n){this.r-=0|e,this.g-=0|t,this.b-=0|r,this.a-=0|n}},me=class extends re{constructor(e,t=256){super(),o(this,"_pointArray"),o(this,"_networkSize"),o(this,"_network"),o(this,"_sampleFactor"),o(this,"_radPower"),o(this,"_freq"),o(this,"_bias"),o(this,"_distance"),this._distance=e,this._pointArray=[],this._sampleFactor=1,this._networkSize=t,this._distance.setWhitePoint(255<<de,255<<de,255<<de,255<<de)}sample(e){this._pointArray=this._pointArray.concat(e.getPointArray())}*quantize(){this._init(),yield*this._learn(),yield{palette:this._buildPalette(),progress:100}}_init(){this._freq=[],this._bias=[],this._radPower=[],this._network=[];for(let e=0;e<this._networkSize;e++)this._network[e]=new pe((e<<de+8)/this._networkSize|0),this._freq[e]=me._initialBias/this._networkSize|0,this._bias[e]=0}*_learn(){let e=this._sampleFactor;const t=this._pointArray.length;t<me._minpicturebytes&&(e=1);const r=30+(e-1)/3|0,n=t/e|0;let i,a=n/me._nCycles|0,o=me._initAlpha,s=(this._networkSize>>3)*me._radiusBias,l=s>>me._radiusBiasShift;l<=1&&(l=0);for(let u=0;u<l;u++)this._radPower[u]=o*((l*l-u*u)*me._radBias/(l*l))>>>0;i=t<me._minpicturebytes?1:t%me._prime1!==0?me._prime1:t%me._prime2!==0?me._prime2:t%me._prime3!==0?me._prime3:me._prime4;const c=new he(n,99);for(let u=0,f=0;u<n;){c.shouldNotify(u)&&(yield{progress:c.progress});const e=this._pointArray[f],n=e.b<<de,h=e.g<<de,d=e.r<<de,p=e.a<<de,m=this._contest(n,h,d,p);if(this._alterSingle(o,m,n,h,d,p),0!==l&&this._alterNeighbour(l,m,n,h,d,p),f+=i,f>=t&&(f-=t),u++,0===a&&(a=1),u%a===0){o-=o/r|0,s-=s/me._radiusDecrease|0,l=s>>me._radiusBiasShift,l<=1&&(l=0);for(let e=0;e<l;e++)this._radPower[e]=o*((l*l-e*e)*me._radBias/(l*l))>>>0}}}_buildPalette(){const e=new se;return this._network.forEach(t=>{e.add(t.toPoint())}),e.sort(),e}_alterNeighbour(e,t,r,n,i,a){let o=t-e;o<-1&&(o=-1);let s=t+e;s>this._networkSize&&(s=this._networkSize);let l=t+1,c=t-1,u=1;while(l<s||c>o){const e=this._radPower[u++]/me._alphaRadBias;if(l<s){const t=this._network[l++];t.subtract(e*(t.r-i),e*(t.g-n),e*(t.b-r),e*(t.a-a))}if(c>o){const t=this._network[c--];t.subtract(e*(t.r-i),e*(t.g-n),e*(t.b-r),e*(t.a-a))}}}_alterSingle(e,t,r,n,i,a){e/=me._initAlpha;const o=this._network[t];o.subtract(e*(o.r-i),e*(o.g-n),e*(o.b-r),e*(o.a-a))}_contest(e,t,r,n){const i=1020<<de;let a=~(1<<31),o=a,s=-1,l=s;for(let c=0;c<this._networkSize;c++){const u=this._network[c],f=this._distance.calculateNormalized(u,{r:r,g:t,b:e,a:n})*i|0;f<a&&(a=f,s=c);const h=f-(this._bias[c]>>me._initialBiasShift-de);h<o&&(o=h,l=c);const d=this._freq[c]>>me._betaShift;this._freq[c]-=d,this._bias[c]+=d<<me._gammaShift}return this._freq[s]+=me._beta,this._bias[s]-=me._betaGamma,l}},ge=me;o(ge,"_prime1",499),o(ge,"_prime2",491),o(ge,"_prime3",487),o(ge,"_prime4",503),o(ge,"_minpicturebytes",me._prime4),o(ge,"_nCycles",100),o(ge,"_initialBiasShift",16),o(ge,"_initialBias",1<<me._initialBiasShift),o(ge,"_gammaShift",10),o(ge,"_betaShift",10),o(ge,"_beta",me._initialBias>>me._betaShift),o(ge,"_betaGamma",me._initialBias<<me._gammaShift-me._betaShift),o(ge,"_radiusBiasShift",6),o(ge,"_radiusBias",1<<me._radiusBiasShift),o(ge,"_radiusDecrease",30),o(ge,"_alphaBiasShift",10),o(ge,"_initAlpha",1<<me._alphaBiasShift),o(ge,"_radBiasShift",8),o(ge,"_radBias",1<<me._radBiasShift),o(ge,"_alphaRadBiasShift",me._alphaBiasShift+me._radBiasShift),o(ge,"_alphaRadBias",1<<me._alphaRadBiasShift);var be=3,ye=class{constructor(e){o(this,"r"),o(this,"g"),o(this,"b"),o(this,"a"),this.r=this.g=this.b=this.a=e}toPoint(){return ne.createByRGBA(this.r>>be,this.g>>be,this.b>>be,this.a>>be)}subtract(e,t,r,n){this.r-=e,this.g-=t,this.b-=r,this.a-=n}},ve=class extends re{constructor(e,t=256){super(),o(this,"_pointArray"),o(this,"_networkSize"),o(this,"_network"),o(this,"_sampleFactor"),o(this,"_radPower"),o(this,"_freq"),o(this,"_bias"),o(this,"_distance"),this._distance=e,this._pointArray=[],this._sampleFactor=1,this._networkSize=t,this._distance.setWhitePoint(255<<be,255<<be,255<<be,255<<be)}sample(e){this._pointArray=this._pointArray.concat(e.getPointArray())}*quantize(){this._init(),yield*this._learn(),yield{palette:this._buildPalette(),progress:100}}_init(){this._freq=[],this._bias=[],this._radPower=[],this._network=[];for(let e=0;e<this._networkSize;e++)this._network[e]=new ye((e<<be+8)/this._networkSize),this._freq[e]=ve._initialBias/this._networkSize,this._bias[e]=0}*_learn(){let e=this._sampleFactor;const t=this._pointArray.length;t<ve._minpicturebytes&&(e=1);const r=30+(e-1)/3,n=t/e;let i,a=n/ve._nCycles|0,o=ve._initAlpha,s=(this._networkSize>>3)*ve._radiusBias,l=s>>ve._radiusBiasShift;l<=1&&(l=0);for(let u=0;u<l;u++)this._radPower[u]=o*((l*l-u*u)*ve._radBias/(l*l));i=t<ve._minpicturebytes?1:t%ve._prime1!==0?ve._prime1:t%ve._prime2!==0?ve._prime2:t%ve._prime3!==0?ve._prime3:ve._prime4;const c=new he(n,99);for(let u=0,f=0;u<n;){c.shouldNotify(u)&&(yield{progress:c.progress});const e=this._pointArray[f],n=e.b<<be,h=e.g<<be,d=e.r<<be,p=e.a<<be,m=this._contest(n,h,d,p);if(this._alterSingle(o,m,n,h,d,p),0!==l&&this._alterNeighbour(l,m,n,h,d,p),f+=i,f>=t&&(f-=t),u++,0===a&&(a=1),u%a===0){o-=o/r,s-=s/ve._radiusDecrease,l=s>>ve._radiusBiasShift,l<=1&&(l=0);for(let e=0;e<l;e++)this._radPower[e]=o*((l*l-e*e)*ve._radBias/(l*l))}}}_buildPalette(){const e=new se;return this._network.forEach(t=>{e.add(t.toPoint())}),e.sort(),e}_alterNeighbour(e,t,r,n,i,a){let o=t-e;o<-1&&(o=-1);let s=t+e;s>this._networkSize&&(s=this._networkSize);let l=t+1,c=t-1,u=1;while(l<s||c>o){const e=this._radPower[u++]/ve._alphaRadBias;if(l<s){const t=this._network[l++];t.subtract(e*(t.r-i),e*(t.g-n),e*(t.b-r),e*(t.a-a))}if(c>o){const t=this._network[c--];t.subtract(e*(t.r-i),e*(t.g-n),e*(t.b-r),e*(t.a-a))}}}_alterSingle(e,t,r,n,i,a){e/=ve._initAlpha;const o=this._network[t];o.subtract(e*(o.r-i),e*(o.g-n),e*(o.b-r),e*(o.a-a))}_contest(e,t,r,n){const i=1020<<be;let a=~(1<<31),o=a,s=-1,l=s;for(let c=0;c<this._networkSize;c++){const u=this._network[c],f=this._distance.calculateNormalized(u,{r:r,g:t,b:e,a:n})*i;f<a&&(a=f,s=c);const h=f-(this._bias[c]>>ve._initialBiasShift-be);h<o&&(o=h,l=c);const d=this._freq[c]>>ve._betaShift;this._freq[c]-=d,this._bias[c]+=d<<ve._gammaShift}return this._freq[s]+=ve._beta,this._bias[s]-=ve._betaGamma,l}},_e=ve;o(_e,"_prime1",499),o(_e,"_prime2",491),o(_e,"_prime3",487),o(_e,"_prime4",503),o(_e,"_minpicturebytes",ve._prime4),o(_e,"_nCycles",100),o(_e,"_initialBiasShift",16),o(_e,"_initialBias",1<<ve._initialBiasShift),o(_e,"_gammaShift",10),o(_e,"_betaShift",10),o(_e,"_beta",ve._initialBias>>ve._betaShift),o(_e,"_betaGamma",ve._initialBias<<ve._gammaShift-ve._betaShift),o(_e,"_radiusBiasShift",6),o(_e,"_radiusBias",1<<ve._radiusBiasShift),o(_e,"_radiusDecrease",30),o(_e,"_alphaBiasShift",10),o(_e,"_initAlpha",1<<ve._alphaBiasShift),o(_e,"_radBiasShift",8),o(_e,"_radBias",1<<ve._radBiasShift),o(_e,"_alphaRadBiasShift",ve._alphaBiasShift+ve._radBiasShift),o(_e,"_alphaRadBias",1<<ve._alphaRadBiasShift);var we=class{constructor(e,t){o(this,"_method"),o(this,"_hueStats"),o(this,"_histogram"),o(this,"_initColors"),o(this,"_minHueCols"),this._method=e,this._minHueCols=t<<2,this._initColors=t<<2,this._hueStats=new ue(we._hueGroups,this._minHueCols),this._histogram=Object.create(null)}sample(e){switch(this._method){case 1:this._colorStats1D(e);break;case 2:this._colorStats2D(e);break}}getImportanceSortedColorsIDXI32(){const e=E(Object.keys(this._histogram),(e,t)=>this._histogram[t]-this._histogram[e]);if(0===e.length)return[];let t;switch(this._method){case 1:const r=Math.min(e.length,this._initColors),n=e[r-1],i=this._histogram[n];t=e.slice(0,r);let a=r;const o=e.length;while(a<o&&this._histogram[e[a]]===i)t.push(e[a++]);this._hueStats.injectIntoArray(t);break;case 2:t=e;break;default:throw new Error("Incorrect method")}return t.map(e=>+e)}_colorStats1D(e){const t=this._histogram,r=e.getPointArray(),n=r.length;for(let i=0;i<n;i++){const e=r[i].uint32;this._hueStats.check(e),e in t?t[e]++:t[e]=1}}_colorStats2D(e){const t=e.getWidth(),r=e.getHeight(),n=e.getPointArray(),i=we._boxSize[0],a=we._boxSize[1],o=i*a,s=this._makeBoxes(t,r,i,a),l=this._histogram;s.forEach(e=>{let r=Math.round(e.w*e.h/o)*we._boxPixels;r<2&&(r=2);const i={};this._iterateBox(e,t,e=>{const t=n[e].uint32;this._hueStats.check(t),t in l?l[t]++:t in i?++i[t]>=r&&(l[t]=i[t]):i[t]=1})}),this._hueStats.injectIntoDictionary(l)}_iterateBox(e,t,r){const n=e,i=n.y*t+n.x,a=(n.y+n.h-1)*t+(n.x+n.w-1),o=t-n.w+1;let s=0,l=i;do{r.call(this,l),l+=++s%n.w===0?o:1}while(l<=a)}_makeBoxes(e,t,r,n){const i=e%r,a=t%n,o=e-i,s=t-a,l=[];for(let c=0;c<t;c+=n)for(let t=0;t<e;t+=r)l.push({x:t,y:c,w:t===o?i:r,h:c===s?a:n});return l}},Ee=we;o(Ee,"_boxSize",[64,64]),o(Ee,"_boxPixels",2),o(Ee,"_hueGroups",10);var Pe=class{constructor(e,t,r){o(this,"index"),o(this,"color"),o(this,"distance"),this.index=e,this.color=t,this.distance=r}},Ae=class extends re{constructor(e,t=256,r=2){super(),o(this,"_colors"),o(this,"_initialDistance"),o(this,"_distanceIncrement"),o(this,"_histogram"),o(this,"_distance"),this._distance=e,this._colors=t,this._histogram=new Ee(r,t),this._initialDistance=.01,this._distanceIncrement=.005}sample(e){this._histogram.sample(e)}*quantize(){const e=this._histogram.getImportanceSortedColorsIDXI32();if(0===e.length)throw new Error("No colors in image");yield*this._buildPalette(e)}*_buildPalette(e){const t=new se,r=t.getPointContainer().getPointArray(),n=new Array(e.length);for(let u=0;u<e.length;u++)r.push(ne.createByUint32(e[u])),n[u]=1;const i=r.length,a=[];let o=i,s=this._initialDistance;const l=new he(o-this._colors,99);while(o>this._colors){a.length=0;for(let e=0;e<i;e++){if(l.shouldNotify(i-o)&&(yield{progress:l.progress}),0===n[e])continue;const t=r[e];for(let l=e+1;l<i;l++){if(0===n[l])continue;const e=r[l],i=this._distance.calculateNormalized(t,e);i<s&&(a.push(new Pe(l,e,i)),n[l]=0,o--)}}s+=o>3*this._colors?this._initialDistance:this._distanceIncrement}if(o<this._colors){E(a,(e,t)=>t.distance-e.distance);let e=0;while(o<this._colors&&e<a.length){const t=a[e];n[t.index]=1,o++,e++}}let c=r.length;for(let u=c-1;u>=0;u--)0===n[u]&&(u!==c-1&&(r[u]=r[c-1]),--c);r.length=c,t.sort(),yield{palette:t,progress:100}}};function ke(e){const t=[];for(let r=0;r<e;r++)t[r]=0;return t}function Ce(e,t,r,n){const i=new Array(e);for(let a=0;a<e;a++){i[a]=new Array(t);for(let e=0;e<t;e++){i[a][e]=new Array(r);for(let t=0;t<r;t++){i[a][e][t]=new Array(n);for(let r=0;r<n;r++)i[a][e][t][r]=0}}}return i}function Se(e,t,r){const n=new Array(e);for(let i=0;i<e;i++){n[i]=new Array(t);for(let e=0;e<t;e++){n[i][e]=new Array(r);for(let t=0;t<r;t++)n[i][e][t]=0}}return n}function Ie(e,t,r,n,i){for(let a=0;a<t;a++){e[a]=[];for(let t=0;t<r;t++){e[a][t]=[];for(let r=0;r<n;r++)e[a][t][r]=i}}}function Be(e,t,r){for(let n=0;n<t;n++)e[n]=r}var xe=class{constructor(){o(this,"redMinimum"),o(this,"redMaximum"),o(this,"greenMinimum"),o(this,"greenMaximum"),o(this,"blueMinimum"),o(this,"blueMaximum"),o(this,"volume"),o(this,"alphaMinimum"),o(this,"alphaMaximum")}},Te=class extends re{constructor(e,t=256,r=5){super(),o(this,"_reds"),o(this,"_greens"),o(this,"_blues"),o(this,"_alphas"),o(this,"_sums"),o(this,"_weights"),o(this,"_momentsRed"),o(this,"_momentsGreen"),o(this,"_momentsBlue"),o(this,"_momentsAlpha"),o(this,"_moments"),o(this,"_table"),o(this,"_pixels"),o(this,"_cubes"),o(this,"_colors"),o(this,"_significantBitsPerChannel"),o(this,"_maxSideIndex"),o(this,"_alphaMaxSideIndex"),o(this,"_sideSize"),o(this,"_alphaSideSize"),o(this,"_distance"),this._distance=e,this._setQuality(r),this._initialize(t)}sample(e){const t=e.getPointArray();for(let r=0,n=t.length;r<n;r++)this._addColor(t[r]);this._pixels=this._pixels.concat(t)}*quantize(){yield*this._preparePalette();const e=new se;for(let t=0;t<this._colors;t++)if(this._sums[t]>0){const r=this._sums[t],n=this._reds[t]/r,i=this._greens[t]/r,a=this._blues[t]/r,o=this._alphas[t]/r,s=ne.createByRGBA(0|n,0|i,0|a,0|o);e.add(s)}e.sort(),yield{palette:e,progress:100}}*_preparePalette(){yield*this._calculateMoments();let e=0;const t=ke(this._colors);for(let o=1;o<this._colors;++o){this._cut(this._cubes[e],this._cubes[o])?(t[e]=this._cubes[e].volume>1?this._calculateVariance(this._cubes[e]):0,t[o]=this._cubes[o].volume>1?this._calculateVariance(this._cubes[o]):0):(t[e]=0,o--),e=0;let r=t[0];for(let n=1;n<=o;++n)t[n]>r&&(r=t[n],e=n);if(r<=0){this._colors=o+1;break}}const r=[],n=[],i=[],a=[];for(let o=0;o<this._colors;++o){const e=Te._volume(this._cubes[o],this._weights);e>0?(r[o]=Te._volume(this._cubes[o],this._momentsRed)/e|0,n[o]=Te._volume(this._cubes[o],this._momentsGreen)/e|0,i[o]=Te._volume(this._cubes[o],this._momentsBlue)/e|0,a[o]=Te._volume(this._cubes[o],this._momentsAlpha)/e|0):(r[o]=0,n[o]=0,i[o]=0,a[o]=0)}this._reds=ke(this._colors+1),this._greens=ke(this._colors+1),this._blues=ke(this._colors+1),this._alphas=ke(this._colors+1),this._sums=ke(this._colors+1);for(let o=0,s=this._pixels.length;o<s;o++){const e=this._pixels[o],t=-1;let s=t,l=Number.MAX_VALUE;for(let o=0;o<this._colors;o++){const t=r[o],c=n[o],u=i[o],f=a[o],h=this._distance.calculateRaw(t,c,u,f,e.r,e.g,e.b,e.a);h<l&&(l=h,s=o)}this._reds[s]+=e.r,this._greens[s]+=e.g,this._blues[s]+=e.b,this._alphas[s]+=e.a,this._sums[s]++}}_addColor(e){const t=8-this._significantBitsPerChannel,r=1+(e.r>>t),n=1+(e.g>>t),i=1+(e.b>>t),a=1+(e.a>>t);this._weights[a][r][n][i]++,this._momentsRed[a][r][n][i]+=e.r,this._momentsGreen[a][r][n][i]+=e.g,this._momentsBlue[a][r][n][i]+=e.b,this._momentsAlpha[a][r][n][i]+=e.a,this._moments[a][r][n][i]+=this._table[e.r]+this._table[e.g]+this._table[e.b]+this._table[e.a]}*_calculateMoments(){const e=[],t=[],r=[],n=[],i=[],a=[],o=Se(this._sideSize,this._sideSize,this._sideSize),s=Se(this._sideSize,this._sideSize,this._sideSize),l=Se(this._sideSize,this._sideSize,this._sideSize),c=Se(this._sideSize,this._sideSize,this._sideSize),u=Se(this._sideSize,this._sideSize,this._sideSize),f=Se(this._sideSize,this._sideSize,this._sideSize);let h=0;const d=new he(this._alphaMaxSideIndex*this._maxSideIndex,99);for(let p=1;p<=this._alphaMaxSideIndex;++p){Ie(o,this._sideSize,this._sideSize,this._sideSize,0),Ie(s,this._sideSize,this._sideSize,this._sideSize,0),Ie(l,this._sideSize,this._sideSize,this._sideSize,0),Ie(c,this._sideSize,this._sideSize,this._sideSize,0),Ie(u,this._sideSize,this._sideSize,this._sideSize,0),Ie(f,this._sideSize,this._sideSize,this._sideSize,0);for(let m=1;m<=this._maxSideIndex;++m,++h){d.shouldNotify(h)&&(yield{progress:d.progress}),Be(e,this._sideSize,0),Be(t,this._sideSize,0),Be(r,this._sideSize,0),Be(n,this._sideSize,0),Be(i,this._sideSize,0),Be(a,this._sideSize,0);for(let h=1;h<=this._maxSideIndex;++h){let d=0,g=0,b=0,y=0,v=0,_=0;for(let w=1;w<=this._maxSideIndex;++w)d+=this._weights[p][m][h][w],g+=this._momentsRed[p][m][h][w],b+=this._momentsGreen[p][m][h][w],y+=this._momentsBlue[p][m][h][w],v+=this._momentsAlpha[p][m][h][w],_+=this._moments[p][m][h][w],e[w]+=d,t[w]+=g,r[w]+=b,n[w]+=y,i[w]+=v,a[w]+=_,o[m][h][w]=o[m-1][h][w]+e[w],s[m][h][w]=s[m-1][h][w]+t[w],l[m][h][w]=l[m-1][h][w]+r[w],c[m][h][w]=c[m-1][h][w]+n[w],u[m][h][w]=u[m-1][h][w]+i[w],f[m][h][w]=f[m-1][h][w]+a[w],this._weights[p][m][h][w]=this._weights[p-1][m][h][w]+o[m][h][w],this._momentsRed[p][m][h][w]=this._momentsRed[p-1][m][h][w]+s[m][h][w],this._momentsGreen[p][m][h][w]=this._momentsGreen[p-1][m][h][w]+l[m][h][w],this._momentsBlue[p][m][h][w]=this._momentsBlue[p-1][m][h][w]+c[m][h][w],this._momentsAlpha[p][m][h][w]=this._momentsAlpha[p-1][m][h][w]+u[m][h][w],this._moments[p][m][h][w]=this._moments[p-1][m][h][w]+f[m][h][w]}}}}static _volumeFloat(e,t){return t[e.alphaMaximum][e.redMaximum][e.greenMaximum][e.blueMaximum]-t[e.alphaMaximum][e.redMaximum][e.greenMinimum][e.blueMaximum]-t[e.alphaMaximum][e.redMinimum][e.greenMaximum][e.blueMaximum]+t[e.alphaMaximum][e.redMinimum][e.greenMinimum][e.blueMaximum]-t[e.alphaMinimum][e.redMaximum][e.greenMaximum][e.blueMaximum]+t[e.alphaMinimum][e.redMaximum][e.greenMinimum][e.blueMaximum]+t[e.alphaMinimum][e.redMinimum][e.greenMaximum][e.blueMaximum]-t[e.alphaMinimum][e.redMinimum][e.greenMinimum][e.blueMaximum]-(t[e.alphaMaximum][e.redMaximum][e.greenMaximum][e.blueMinimum]-t[e.alphaMinimum][e.redMaximum][e.greenMaximum][e.blueMinimum]-t[e.alphaMaximum][e.redMaximum][e.greenMinimum][e.blueMinimum]+t[e.alphaMinimum][e.redMaximum][e.greenMinimum][e.blueMinimum]-t[e.alphaMaximum][e.redMinimum][e.greenMaximum][e.blueMinimum]+t[e.alphaMinimum][e.redMinimum][e.greenMaximum][e.blueMinimum]+t[e.alphaMaximum][e.redMinimum][e.greenMinimum][e.blueMinimum]-t[e.alphaMinimum][e.redMinimum][e.greenMinimum][e.blueMinimum])}static _volume(e,t){return 0|Te._volumeFloat(e,t)}static _top(e,t,r,n){let i;switch(t){case Te._alpha:i=n[r][e.redMaximum][e.greenMaximum][e.blueMaximum]-n[r][e.redMaximum][e.greenMinimum][e.blueMaximum]-n[r][e.redMinimum][e.greenMaximum][e.blueMaximum]+n[r][e.redMinimum][e.greenMinimum][e.blueMaximum]-(n[r][e.redMaximum][e.greenMaximum][e.blueMinimum]-n[r][e.redMaximum][e.greenMinimum][e.blueMinimum]-n[r][e.redMinimum][e.greenMaximum][e.blueMinimum]+n[r][e.redMinimum][e.greenMinimum][e.blueMinimum]);break;case Te._red:i=n[e.alphaMaximum][r][e.greenMaximum][e.blueMaximum]-n[e.alphaMaximum][r][e.greenMinimum][e.blueMaximum]-n[e.alphaMinimum][r][e.greenMaximum][e.blueMaximum]+n[e.alphaMinimum][r][e.greenMinimum][e.blueMaximum]-(n[e.alphaMaximum][r][e.greenMaximum][e.blueMinimum]-n[e.alphaMaximum][r][e.greenMinimum][e.blueMinimum]-n[e.alphaMinimum][r][e.greenMaximum][e.blueMinimum]+n[e.alphaMinimum][r][e.greenMinimum][e.blueMinimum]);break;case Te._green:i=n[e.alphaMaximum][e.redMaximum][r][e.blueMaximum]-n[e.alphaMaximum][e.redMinimum][r][e.blueMaximum]-n[e.alphaMinimum][e.redMaximum][r][e.blueMaximum]+n[e.alphaMinimum][e.redMinimum][r][e.blueMaximum]-(n[e.alphaMaximum][e.redMaximum][r][e.blueMinimum]-n[e.alphaMaximum][e.redMinimum][r][e.blueMinimum]-n[e.alphaMinimum][e.redMaximum][r][e.blueMinimum]+n[e.alphaMinimum][e.redMinimum][r][e.blueMinimum]);break;case Te._blue:i=n[e.alphaMaximum][e.redMaximum][e.greenMaximum][r]-n[e.alphaMaximum][e.redMaximum][e.greenMinimum][r]-n[e.alphaMaximum][e.redMinimum][e.greenMaximum][r]+n[e.alphaMaximum][e.redMinimum][e.greenMinimum][r]-(n[e.alphaMinimum][e.redMaximum][e.greenMaximum][r]-n[e.alphaMinimum][e.redMaximum][e.greenMinimum][r]-n[e.alphaMinimum][e.redMinimum][e.greenMaximum][r]+n[e.alphaMinimum][e.redMinimum][e.greenMinimum][r]);break;default:throw new Error("impossible")}return 0|i}static _bottom(e,t,r){switch(t){case Te._alpha:return-r[e.alphaMinimum][e.redMaximum][e.greenMaximum][e.blueMaximum]+r[e.alphaMinimum][e.redMaximum][e.greenMinimum][e.blueMaximum]+r[e.alphaMinimum][e.redMinimum][e.greenMaximum][e.blueMaximum]-r[e.alphaMinimum][e.redMinimum][e.greenMinimum][e.blueMaximum]-(-r[e.alphaMinimum][e.redMaximum][e.greenMaximum][e.blueMinimum]+r[e.alphaMinimum][e.redMaximum][e.greenMinimum][e.blueMinimum]+r[e.alphaMinimum][e.redMinimum][e.greenMaximum][e.blueMinimum]-r[e.alphaMinimum][e.redMinimum][e.greenMinimum][e.blueMinimum]);case Te._red:return-r[e.alphaMaximum][e.redMinimum][e.greenMaximum][e.blueMaximum]+r[e.alphaMaximum][e.redMinimum][e.greenMinimum][e.blueMaximum]+r[e.alphaMinimum][e.redMinimum][e.greenMaximum][e.blueMaximum]-r[e.alphaMinimum][e.redMinimum][e.greenMinimum][e.blueMaximum]-(-r[e.alphaMaximum][e.redMinimum][e.greenMaximum][e.blueMinimum]+r[e.alphaMaximum][e.redMinimum][e.greenMinimum][e.blueMinimum]+r[e.alphaMinimum][e.redMinimum][e.greenMaximum][e.blueMinimum]-r[e.alphaMinimum][e.redMinimum][e.greenMinimum][e.blueMinimum]);case Te._green:return-r[e.alphaMaximum][e.redMaximum][e.greenMinimum][e.blueMaximum]+r[e.alphaMaximum][e.redMinimum][e.greenMinimum][e.blueMaximum]+r[e.alphaMinimum][e.redMaximum][e.greenMinimum][e.blueMaximum]-r[e.alphaMinimum][e.redMinimum][e.greenMinimum][e.blueMaximum]-(-r[e.alphaMaximum][e.redMaximum][e.greenMinimum][e.blueMinimum]+r[e.alphaMaximum][e.redMinimum][e.greenMinimum][e.blueMinimum]+r[e.alphaMinimum][e.redMaximum][e.greenMinimum][e.blueMinimum]-r[e.alphaMinimum][e.redMinimum][e.greenMinimum][e.blueMinimum]);case Te._blue:return-r[e.alphaMaximum][e.redMaximum][e.greenMaximum][e.blueMinimum]+r[e.alphaMaximum][e.redMaximum][e.greenMinimum][e.blueMinimum]+r[e.alphaMaximum][e.redMinimum][e.greenMaximum][e.blueMinimum]-r[e.alphaMaximum][e.redMinimum][e.greenMinimum][e.blueMinimum]-(-r[e.alphaMinimum][e.redMaximum][e.greenMaximum][e.blueMinimum]+r[e.alphaMinimum][e.redMaximum][e.greenMinimum][e.blueMinimum]+r[e.alphaMinimum][e.redMinimum][e.greenMaximum][e.blueMinimum]-r[e.alphaMinimum][e.redMinimum][e.greenMinimum][e.blueMinimum]);default:return 0}}_calculateVariance(e){const t=Te._volume(e,this._momentsRed),r=Te._volume(e,this._momentsGreen),n=Te._volume(e,this._momentsBlue),i=Te._volume(e,this._momentsAlpha),a=Te._volumeFloat(e,this._moments),o=Te._volume(e,this._weights),s=t*t+r*r+n*n+i*i;return a-s/o}_maximize(e,t,r,n,i,a,o,s,l){const c=0|Te._bottom(e,t,this._momentsRed),u=0|Te._bottom(e,t,this._momentsGreen),f=0|Te._bottom(e,t,this._momentsBlue),h=0|Te._bottom(e,t,this._momentsAlpha),d=0|Te._bottom(e,t,this._weights);let p=0,m=-1;for(let g=r;g<n;++g){let r=c+Te._top(e,t,g,this._momentsRed),n=u+Te._top(e,t,g,this._momentsGreen),b=f+Te._top(e,t,g,this._momentsBlue),y=h+Te._top(e,t,g,this._momentsAlpha),v=d+Te._top(e,t,g,this._weights);if(0!==v){let e=r*r+n*n+b*b+y*y,t=e/v;r=i-r,n=a-n,b=o-b,y=s-y,v=l-v,0!==v&&(e=r*r+n*n+b*b+y*y,t+=e/v,t>p&&(p=t,m=g))}}return{max:p,position:m}}_cut(e,t){let r;const n=Te._volume(e,this._momentsRed),i=Te._volume(e,this._momentsGreen),a=Te._volume(e,this._momentsBlue),o=Te._volume(e,this._momentsAlpha),s=Te._volume(e,this._weights),l=this._maximize(e,Te._red,e.redMinimum+1,e.redMaximum,n,i,a,o,s),c=this._maximize(e,Te._green,e.greenMinimum+1,e.greenMaximum,n,i,a,o,s),u=this._maximize(e,Te._blue,e.blueMinimum+1,e.blueMaximum,n,i,a,o,s),f=this._maximize(e,Te._alpha,e.alphaMinimum+1,e.alphaMaximum,n,i,a,o,s);if(f.max>=l.max&&f.max>=c.max&&f.max>=u.max){if(r=Te._alpha,f.position<0)return!1}else r=l.max>=f.max&&l.max>=c.max&&l.max>=u.max?Te._red:c.max>=f.max&&c.max>=l.max&&c.max>=u.max?Te._green:Te._blue;switch(t.redMaximum=e.redMaximum,t.greenMaximum=e.greenMaximum,t.blueMaximum=e.blueMaximum,t.alphaMaximum=e.alphaMaximum,r){case Te._red:t.redMinimum=e.redMaximum=l.position,t.greenMinimum=e.greenMinimum,t.blueMinimum=e.blueMinimum,t.alphaMinimum=e.alphaMinimum;break;case Te._green:t.greenMinimum=e.greenMaximum=c.position,t.redMinimum=e.redMinimum,t.blueMinimum=e.blueMinimum,t.alphaMinimum=e.alphaMinimum;break;case Te._blue:t.blueMinimum=e.blueMaximum=u.position,t.redMinimum=e.redMinimum,t.greenMinimum=e.greenMinimum,t.alphaMinimum=e.alphaMinimum;break;case Te._alpha:t.alphaMinimum=e.alphaMaximum=f.position,t.blueMinimum=e.blueMinimum,t.redMinimum=e.redMinimum,t.greenMinimum=e.greenMinimum;break}return e.volume=(e.redMaximum-e.redMinimum)*(e.greenMaximum-e.greenMinimum)*(e.blueMaximum-e.blueMinimum)*(e.alphaMaximum-e.alphaMinimum),t.volume=(t.redMaximum-t.redMinimum)*(t.greenMaximum-t.greenMinimum)*(t.blueMaximum-t.blueMinimum)*(t.alphaMaximum-t.alphaMinimum),!0}_initialize(e){this._colors=e,this._cubes=[];for(let t=0;t<e;t++)this._cubes[t]=new xe;this._cubes[0].redMinimum=0,this._cubes[0].greenMinimum=0,this._cubes[0].blueMinimum=0,this._cubes[0].alphaMinimum=0,this._cubes[0].redMaximum=this._maxSideIndex,this._cubes[0].greenMaximum=this._maxSideIndex,this._cubes[0].blueMaximum=this._maxSideIndex,this._cubes[0].alphaMaximum=this._alphaMaxSideIndex,this._weights=Ce(this._alphaSideSize,this._sideSize,this._sideSize,this._sideSize),this._momentsRed=Ce(this._alphaSideSize,this._sideSize,this._sideSize,this._sideSize),this._momentsGreen=Ce(this._alphaSideSize,this._sideSize,this._sideSize,this._sideSize),this._momentsBlue=Ce(this._alphaSideSize,this._sideSize,this._sideSize,this._sideSize),this._momentsAlpha=Ce(this._alphaSideSize,this._sideSize,this._sideSize,this._sideSize),this._moments=Ce(this._alphaSideSize,this._sideSize,this._sideSize,this._sideSize),this._table=[];for(let t=0;t<256;++t)this._table[t]=t*t;this._pixels=[]}_setQuality(e=5){this._significantBitsPerChannel=e,this._maxSideIndex=1<<this._significantBitsPerChannel,this._alphaMaxSideIndex=this._maxSideIndex,this._sideSize=this._maxSideIndex+1,this._alphaSideSize=this._alphaMaxSideIndex+1}},Re=Te;o(Re,"_alpha",3),o(Re,"_red",2),o(Re,"_green",1),o(Re,"_blue",0);var Me={};a(Me,{AbstractImageQuantizer:()=>Oe,ErrorDiffusionArray:()=>Le,ErrorDiffusionArrayKernel:()=>Ue,ErrorDiffusionRiemersma:()=>Ge,NearestColor:()=>Ne});var Oe=class{quantizeSync(e,t){for(const r of this.quantize(e,t))if(r.pointContainer)return r.pointContainer;throw new Error("unreachable")}},Ne=class extends Oe{constructor(e){super(),o(this,"_distance"),this._distance=e}*quantize(e,t){const r=e.getPointArray(),n=e.getWidth(),i=e.getHeight(),a=new he(i,99);for(let o=0;o<i;o++){a.shouldNotify(o)&&(yield{progress:a.progress});for(let e=0,i=o*n;e<n;e++,i++){const e=r[i];e.from(t.getNearestColor(this._distance,e))}}yield{pointContainer:e,progress:100}}},Ue=(e=>(e[e["FloydSteinberg"]=0]="FloydSteinberg",e[e["FalseFloydSteinberg"]=1]="FalseFloydSteinberg",e[e["Stucki"]=2]="Stucki",e[e["Atkinson"]=3]="Atkinson",e[e["Jarvis"]=4]="Jarvis",e[e["Burkes"]=5]="Burkes",e[e["Sierra"]=6]="Sierra",e[e["TwoSierra"]=7]="TwoSierra",e[e["SierraLite"]=8]="SierraLite",e))(Ue||{}),Le=class extends Oe{constructor(e,t,r=!0,n=0,i=!1){super(),o(this,"_minColorDistance"),o(this,"_serpentine"),o(this,"_kernel"),o(this,"_calculateErrorLikeGIMP"),o(this,"_distance"),this._setKernel(t),this._distance=e,this._minColorDistance=n,this._serpentine=r,this._calculateErrorLikeGIMP=i}*quantize(e,t){const r=e.getPointArray(),n=new ne,i=e.getWidth(),a=e.getHeight(),o=[];let s=1,l=1;for(const u of this._kernel){const e=u[2]+1;l<e&&(l=e)}for(let u=0;u<l;u++)this._fillErrorLine(o[u]=[],i);const c=new he(a,99);for(let u=0;u<a;u++){c.shouldNotify(u)&&(yield{progress:c.progress}),this._serpentine&&(s*=-1);const e=u*i,l=1===s?0:i-1,f=1===s?i:-1;this._fillErrorLine(o[0],i),o.push(o.shift());const h=o[0];for(let c=l,d=e+l;c!==f;c+=s,d+=s){const e=r[d],l=h[c];n.from(e);const f=ne.createByRGBA(_(e.r+l[0]),_(e.g+l[1]),_(e.b+l[2]),_(e.a+l[3])),p=t.getNearestColor(this._distance,f);if(e.from(p),this._minColorDistance){const e=this._distance.calculateNormalized(n,p);if(e<this._minColorDistance)continue}let m,g,b,y;this._calculateErrorLikeGIMP?(m=f.r-p.r,g=f.g-p.g,b=f.b-p.b,y=f.a-p.a):(m=n.r-p.r,g=n.g-p.g,b=n.b-p.b,y=n.a-p.a);const v=1===s?0:this._kernel.length-1,w=1===s?this._kernel.length:-1;for(let t=v;t!==w;t+=s){const e=this._kernel[t][1]*s,r=this._kernel[t][2];if(e+c>=0&&e+c<i&&r+u>=0&&r+u<a){const n=this._kernel[t][0],i=o[r][e+c];i[0]+=m*n,i[1]+=g*n,i[2]+=b*n,i[3]+=y*n}}}}yield{pointContainer:e,progress:100}}_fillErrorLine(e,t){e.length>t&&(e.length=t);const r=e.length;for(let n=0;n<r;n++){const t=e[n];t[0]=t[1]=t[2]=t[3]=0}for(let n=r;n<t;n++)e[n]=[0,0,0,0]}_setKernel(e){switch(e){case 0:this._kernel=[[7/16,1,0],[3/16,-1,1],[5/16,0,1],[1/16,1,1]];break;case 1:this._kernel=[[3/8,1,0],[3/8,0,1],[2/8,1,1]];break;case 2:this._kernel=[[8/42,1,0],[4/42,2,0],[2/42,-2,1],[4/42,-1,1],[8/42,0,1],[4/42,1,1],[2/42,2,1],[1/42,-2,2],[2/42,-1,2],[4/42,0,2],[2/42,1,2],[1/42,2,2]];break;case 3:this._kernel=[[1/8,1,0],[1/8,2,0],[1/8,-1,1],[1/8,0,1],[1/8,1,1],[1/8,0,2]];break;case 4:this._kernel=[[7/48,1,0],[5/48,2,0],[3/48,-2,1],[5/48,-1,1],[7/48,0,1],[5/48,1,1],[3/48,2,1],[1/48,-2,2],[3/48,-1,2],[5/48,0,2],[3/48,1,2],[1/48,2,2]];break;case 5:this._kernel=[[.25,1,0],[4/32,2,0],[2/32,-2,1],[4/32,-1,1],[.25,0,1],[4/32,1,1],[2/32,2,1]];break;case 6:this._kernel=[[5/32,1,0],[3/32,2,0],[2/32,-2,1],[4/32,-1,1],[5/32,0,1],[4/32,1,1],[2/32,2,1],[2/32,-1,2],[3/32,0,2],[2/32,1,2]];break;case 7:this._kernel=[[.25,1,0],[3/16,2,0],[1/16,-2,1],[2/16,-1,1],[3/16,0,1],[2/16,1,1],[1/16,2,1]];break;case 8:this._kernel=[[.5,1,0],[1/4,-1,1],[1/4,0,1]];break;default:throw new Error("ErrorDiffusionArray: unknown kernel = "+e)}}};function*De(e,t,r){const n=Math.max(e,t),i=Math.floor(Math.log(n)/Math.log(2)+1),a=new he(e*t,99),o={width:e,height:t,level:i,callback:r,tracker:a,index:0,x:0,y:0};yield*Fe(o,1),$e(o,0)}function*Fe(e,t){if(!(e.level<1)){switch(e.tracker.shouldNotify(e.index)&&(yield{progress:e.tracker.progress}),e.level--,t){case 2:yield*Fe(e,1),$e(e,3),yield*Fe(e,2),$e(e,4),yield*Fe(e,2),$e(e,2),yield*Fe(e,4);break;case 3:yield*Fe(e,4),$e(e,2),yield*Fe(e,3),$e(e,1),yield*Fe(e,3),$e(e,3),yield*Fe(e,1);break;case 1:yield*Fe(e,2),$e(e,4),yield*Fe(e,1),$e(e,3),yield*Fe(e,1),$e(e,1),yield*Fe(e,3);break;case 4:yield*Fe(e,3),$e(e,1),yield*Fe(e,4),$e(e,2),yield*Fe(e,4),$e(e,4),yield*Fe(e,2);break;default:break}e.level++}}function $e(e,t){switch(e.x>=0&&e.x<e.width&&e.y>=0&&e.y<e.height&&(e.callback(e.x,e.y),e.index++),t){case 2:e.x--;break;case 3:e.x++;break;case 1:e.y--;break;case 4:e.y++;break}}var Ge=class extends Oe{constructor(e,t=16,r=1){super(),o(this,"_distance"),o(this,"_weights"),o(this,"_errorQueueSize"),this._distance=e,this._errorQueueSize=t,this._weights=Ge._createWeights(r,t)}*quantize(e,t){const r=e.getPointArray(),n=e.getWidth(),i=e.getHeight(),a=[];let o=0;for(let s=0;s<this._errorQueueSize;s++)a[s]={r:0,g:0,b:0,a:0};yield*De(n,i,(e,i)=>{const s=r[e+i*n];let{r:l,g:c,b:u,a:f}=s;for(let t=0;t<this._errorQueueSize;t++){const e=this._weights[t],r=a[(t+o)%this._errorQueueSize];l+=r.r*e,c+=r.g*e,u+=r.b*e,f+=r.a*e}const h=ne.createByRGBA(_(l),_(c),_(u),_(f)),d=t.getNearestColor(this._distance,h);o=(o+1)%this._errorQueueSize;const p=(o+this._errorQueueSize-1)%this._errorQueueSize;a[p].r=s.r-d.r,a[p].g=s.g-d.g,a[p].b=s.b-d.b,a[p].a=s.a-d.a,s.from(d)}),yield{pointContainer:e,progress:100}}static _createWeights(e,t){const r=[],n=Math.exp(Math.log(t)/(t-1));for(let i=0,a=1;i<t;i++)r[i]=(a+.5|0)/t*e,a*=n;return r}},je={};a(je,{ssim:()=>We});var He=.01,ze=.03;function We(e,t){if(e.getHeight()!==t.getHeight()||e.getWidth()!==t.getWidth())throw new Error("Images have different sizes!");const r=8,n=(1<<r)-1,i=(He*n)**2,a=(ze*n)**2;let o=0,s=0;return Ve(e,t,(e,t,r,n)=>{let l=0,c=0,u=0;for(let i=0;i<e.length;i++)c+=(e[i]-r)**2,u+=(t[i]-n)**2,l+=(e[i]-r)*(t[i]-n);const f=e.length-1;c/=f,u/=f,l/=f;const h=(2*r*n+i)*(2*l+a),d=(r**2+n**2+i)*(c+u+a),p=h/d;s+=p,o++}),s/o}function Ve(e,t,r){const n=8,i=e.getWidth(),a=e.getHeight();for(let o=0;o<a;o+=n)for(let s=0;s<i;s+=n){const l=Math.min(n,i-s),c=Math.min(n,a-o),u=qe(e,s,o,l,c),f=qe(t,s,o,l,c),h=Ze(u),d=Ze(f);r(u,f,h,d)}}function qe(e,t,r,n,i){const a=e.getPointArray(),o=[];let s=0;for(let l=r;l<r+i;l++){const r=l*e.getWidth();for(let e=t;e<t+n;e++){const t=a[r+e];o[s]=.2126*t.r+.7152*t.g+.0722*t.b,s++}}return o}function Ze(e){let t=0;for(const r of e)t+=r;return t/e.length}var Ye="function"===typeof setImmediate?setImmediate:"undefined"!==typeof process&&"function"===typeof(null==process?void 0:process.nextTick)?e=>process.nextTick(e):e=>setTimeout(e,0);function Xe(e,{colorDistanceFormula:t,paletteQuantization:r,colors:n}={}){const i=et(t),a=rt(i,r,n);return e.forEach(e=>a.sample(e)),a.quantizeSync()}async function Ke(e,{colorDistanceFormula:t,paletteQuantization:r,colors:n,onProgress:i}={}){return new Promise((a,o)=>{const s=et(t),l=rt(s,r,n);let c;e.forEach(e=>l.sample(e));const u=l.quantize(),f=()=>{try{const e=u.next();e.done?a(c):(e.value.palette&&(c=e.value.palette),i&&i(e.value.progress),Ye(f))}catch(e){o(e)}};Ye(f)})}function Qe(e,t,{colorDistanceFormula:r,imageQuantization:n}={}){const i=et(r),a=tt(i,n);return a.quantizeSync(e,t)}async function Je(e,t,{colorDistanceFormula:r,imageQuantization:n,onProgress:i}={}){return new Promise((a,o)=>{const s=et(r),l=tt(s,n);let c;const u=l.quantize(e,t),f=()=>{try{const e=u.next();e.done?a(c):(e.value.pointContainer&&(c=e.value.pointContainer),i&&i(e.value.progress),Ye(f))}catch(e){o(e)}};Ye(f)})}function et(e="euclidean-bt709"){switch(e){case"cie94-graphic-arts":return new j;case"cie94-textiles":return new G;case"ciede2000":return new z;case"color-metric":return new W;case"euclidean":return new q;case"euclidean-bt709":return new Z;case"euclidean-bt709-noalpha":return new Y;case"manhattan":return new K;case"manhattan-bt709":return new J;case"manhattan-nommyde":return new Q;case"pngquant":return new ee;default:throw new Error("Unknown colorDistanceFormula "+e)}}function tt(e,t="floyd-steinberg"){switch(t){case"nearest":return new Ne(e);case"riemersma":return new Ge(e);case"floyd-steinberg":return new Le(e,0);case"false-floyd-steinberg":return new Le(e,1);case"stucki":return new Le(e,2);case"atkinson":return new Le(e,3);case"jarvis":return new Le(e,4);case"burkes":return new Le(e,5);case"sierra":return new Le(e,6);case"two-sierra":return new Le(e,7);case"sierra-lite":return new Le(e,8);default:throw new Error("Unknown imageQuantization "+t)}}function rt(e,t="wuquant",r=256){switch(t){case"neuquant":return new ge(e,r);case"rgbquant":return new Ae(e,r);case"wuquant":return new Re(e,r);case"neuquant-float":return new _e(e,r);default:throw new Error("Unknown paletteQuantization "+t)}}
/**
 * @preserve
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * cie94.ts - part of Image Quantization Library
 */
/**
 * @preserve
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * ciede2000.ts - part of Image Quantization Library
 */
/**
 * @preserve
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * cmetric.ts - part of Image Quantization Library
 */
/**
 * @preserve
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * common.ts - part of Image Quantization Library
 */
/**
 * @preserve
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * constants.ts - part of Image Quantization Library
 */
/**
 * @preserve
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * ditherErrorDiffusionArray.ts - part of Image Quantization Library
 */
/**
 * @preserve
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * euclidean.ts - part of Image Quantization Library
 */
/**
 * @preserve
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * helper.ts - part of Image Quantization Library
 */
/**
 * @preserve
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * hueStatistics.ts - part of Image Quantization Library
 */
/**
 * @preserve
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * iq.ts - Image Quantization Library
 */
/**
 * @preserve
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * lab2rgb.ts - part of Image Quantization Library
 */
/**
 * @preserve
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * lab2xyz.ts - part of Image Quantization Library
 */
/**
 * @preserve
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * manhattanNeuQuant.ts - part of Image Quantization Library
 */
/**
 * @preserve
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * nearestColor.ts - part of Image Quantization Library
 */
/**
 * @preserve
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * palette.ts - part of Image Quantization Library
 */
/**
 * @preserve
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * pngQuant.ts - part of Image Quantization Library
 */
/**
 * @preserve
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * point.ts - part of Image Quantization Library
 */
/**
 * @preserve
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * pointContainer.ts - part of Image Quantization Library
 */
/**
 * @preserve
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * rgb2hsl.ts - part of Image Quantization Library
 */
/**
 * @preserve
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * rgb2lab.ts - part of Image Quantization Library
 */
/**
 * @preserve
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * rgb2xyz.ts - part of Image Quantization Library
 */
/**
 * @preserve
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * ssim.ts - part of Image Quantization Library
 */
/**
 * @preserve
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * wuQuant.ts - part of Image Quantization Library
 */
/**
 * @preserve
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * xyz2lab.ts - part of Image Quantization Library
 */
/**
 * @preserve
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * xyz2rgb.ts - part of Image Quantization Library
 */
/**
 * @preserve
 * MIT License
 *
 * Copyright 2015-2018 Igor Bezkrovnyi
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to
 * deal in the Software without restriction, including without limitation the
 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 * sell copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
 * IN THE SOFTWARE.
 *
 * riemersma.ts - part of Image Quantization Library
 */
/**
 * @preserve TypeScript port:
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * colorHistogram.ts - part of Image Quantization Library
 */
/**
 * @preserve TypeScript port:
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * neuquant.ts - part of Image Quantization Library
 */
/**
 * @preserve TypeScript port:
 * Copyright 2015-2018 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * rgbquant.ts - part of Image Quantization Library
 */},e538:function(e,t,r){var n=r("b622");t.f=n},e687:function(e,t,r){"use strict";(function(e){var n=r("dbce"),i=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.parseBitmap=b,t.getBuffer=v,t.getBufferAsync=_;var a=i(r("278c")),o=i(r("3d78")),s=i(r("5228")),l=r("c2d7"),c=n(r("2c85")),u=n(r("eff9")),f=i(r("6b02"));function h(e,t){var r=(0,o["default"])(e);return r?r.mime:t?u.getType(t):null}function d(e){return e._exif&&e._exif.tags&&e._exif.tags.Orientation||1}function p(e){var t=e.getWidth(),r=e.getHeight();switch(d(e)){case 1:return null;case 2:return function(e,r){return[t-e-1,r]};case 3:return function(e,n){return[t-e-1,r-n-1]};case 4:return function(e,t){return[e,r-t-1]};case 5:return function(e,t){return[t,e]};case 6:return function(e,t){return[t,r-e-1]};case 7:return function(e,n){return[t-n-1,r-e-1]};case 8:return function(e,r){return[t-r-1,e]};default:return null}}function m(t,r,n,i){for(var o=t.bitmap.data,s=t.bitmap.width,l=e.alloc(o.length),c=0;c<r;c++)for(var u=0;u<n;u++){var f=i(c,u),h=(0,a["default"])(f,2),d=h[0],p=h[1],m=r*u+c<<2,g=s*p+d<<2,b=o.readUInt32BE(g);l.writeUInt32BE(b,m)}t.bitmap.data=l,t.bitmap.width=r,t.bitmap.height=n}function g(e){if(!(d(e)<2)){var t=p(e),r=d(e)>4,n=r?e.bitmap.height:e.bitmap.width,i=r?e.bitmap.width:e.bitmap.height;m(e,n,i,t)}}function b(e,t,r){var n=h(e,t);if("string"!==typeof n)return r(new Error("Could not find MIME for Buffer <"+t+">"));this._originalMime=n.toLowerCase();try{var i=this.getMIME();if(!this.constructor.decoders[i])return l.throwError.call(this,"Unsupported MIME type: "+i,r);this.bitmap=this.constructor.decoders[i](e)}catch(a){return r.call(this,a,this)}try{this._exif=s["default"].create(e).parse(),g(this)}catch(a){}return r.call(this,null,this),this}function y(e,t){return new e(t.bitmap.width,t.bitmap.height,t._background).composite(t,0,0).bitmap}function v(t,r){if(t===c.AUTO&&(t=this.getMIME()),"string"!==typeof t)return l.throwError.call(this,"mime must be a string",r);if("function"!==typeof r)return l.throwError.call(this,"cb must be a function",r);if(t=t.toLowerCase(),this._rgba&&this.constructor.hasAlpha[t]?this.bitmap.data=e.from(this.bitmap.data):this.bitmap.data=y(this.constructor,this).data,this.constructor.encoders[t]){var n=this.constructor.encoders[t](this);r.call(this,null,n)}else r.call(this,"Unsupported MIME type: "+t);return this}function _(e){return(0,f["default"])(v,this,e)}}).call(this,r("b639").Buffer)},e8b2:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var n=r("c2d7");function i(t,r,i){if("boolean"!==typeof t||"boolean"!==typeof r)return n.throwError.call(this,"horizontal and vertical must be Booleans",i);var a=e.alloc(this.bitmap.data.length);return this.scanQuiet(0,0,this.bitmap.width,this.bitmap.height,(function(e,n,i){var o=t?this.bitmap.width-1-e:e,s=r?this.bitmap.height-1-n:n,l=this.bitmap.width*s+o<<2,c=this.bitmap.data.readUInt32BE(i);a.writeUInt32BE(c,l)})),this.bitmap.data=e.from(a),(0,n.isNodePattern)(i)&&i.call(this,null,this),this}var a=function(){return{flip:i,mirror:i}};t["default"]=a}).call(this,r("b639").Buffer)},eabd:function(e,t,r){"use strict";function n(e,t,r,n,o,s){s||(s={});for(var l=void 0===s.threshold?.1:s.threshold,h=35215*l*l,d=0,p=0;p<o;p++)for(var m=0;m<n;m++){var g=4*(p*n+m),b=a(e,t,g,g);if(b>h)s.includeAA||!i(e,m,p,n,o,t)&&!i(t,m,p,n,o,e)?(r&&u(r,g,255,0,0),d++):r&&u(r,g,255,255,0);else if(r){var y=c(f(e,g),.1);u(r,g,y,y,y)}}return d}function i(e,t,r,n,o,s){for(var l,c,u,f,h=Math.max(t-1,0),d=Math.max(r-1,0),p=Math.min(t+1,n-1),m=Math.min(r+1,o-1),g=4*(r*n+t),b=0,y=0,v=0,_=0,w=0,E=h;E<=p;E++)for(var P=d;P<=m;P++)if(E!==t||P!==r){var A=a(e,e,g,4*(P*n+E),!0);if(0===A?b++:A<0?v++:A>0&&y++,b>2)return!1;s&&(A<_&&(_=A,l=E,c=P),A>w&&(w=A,u=E,f=P))}return!s||0!==v&&0!==y&&(!i(e,l,c,n,o)&&!i(s,l,c,n,o)||!i(e,u,f,n,o)&&!i(s,u,f,n,o))}function a(e,t,r,n,i){var a=e[r+3]/255,u=t[n+3]/255,f=c(e[r+0],a),h=c(e[r+1],a),d=c(e[r+2],a),p=c(t[n+0],u),m=c(t[n+1],u),g=c(t[n+2],u),b=o(f,h,d)-o(p,m,g);if(i)return b;var y=s(f,h,d)-s(p,m,g),v=l(f,h,d)-l(p,m,g);return.5053*b*b+.299*y*y+.1957*v*v}function o(e,t,r){return.29889531*e+.58662247*t+.11448223*r}function s(e,t,r){return.59597799*e-.2741761*t-.32180189*r}function l(e,t,r){return.21147017*e-.52261711*t+.31114694*r}function c(e,t){return 255+(e-255)*t}function u(e,t,r,n,i){e[t+0]=r,e[t+1]=n,e[t+2]=i,e[t+3]=255}function f(e,t){var r=e[t+3]/255,n=c(e[t+0],r),i=c(e[t+1],r),a=c(e[t+2],r);return o(n,i,a)}e.exports=n},eadb:function(e,t){function r(e){return parseInt(e,10)}var n=3600,i=60;function a(e,t){e=e.map(r),t=t.map(r);var n=e[0],i=e[1]-1,a=e[2],o=t[0],s=t[1],l=t[2],c=Date.UTC(n,i,a,o,s,l,0),u=c/1e3;return u}function o(e){var t=e.substr(0,10).split("-"),o=e.substr(11,8).split(":"),s=e.substr(19,6),l=s.split(":").map(r),c=l[0]*n+l[1]*i,u=a(t,o);if(u-=c,"number"===typeof u&&!isNaN(u))return u}function s(e){var t=e.split(" "),r=t[0].split(":"),n=t[1].split(":"),i=a(r,n);if("number"===typeof i&&!isNaN(i))return i}function l(e){var t=19===e.length&&":"===e.charAt(4),r=25===e.length&&"T"===e.charAt(10);return r?o(e):t?s(e):void 0}e.exports={parseDateWithSpecFormat:s,parseDateWithTimezoneFormat:o,parseExifDate:l}},ec2c:function(e,t,r){"use strict";(function(t){var n=r("ab33"),i=r("3372"),a=r("7b76"),o=r("1536"),s=r("470b"),l=e.exports=function(e){if(this._options=e,e.deflateChunkSize=e.deflateChunkSize||32768,e.deflateLevel=null!=e.deflateLevel?e.deflateLevel:9,e.deflateStrategy=null!=e.deflateStrategy?e.deflateStrategy:3,e.inputHasAlpha=null==e.inputHasAlpha||e.inputHasAlpha,e.deflateFactory=e.deflateFactory||s.createDeflate,e.bitDepth=e.bitDepth||8,e.colorType="number"===typeof e.colorType?e.colorType:n.COLORTYPE_COLOR_ALPHA,e.inputColorType="number"===typeof e.inputColorType?e.inputColorType:n.COLORTYPE_COLOR_ALPHA,-1===[n.COLORTYPE_GRAYSCALE,n.COLORTYPE_COLOR,n.COLORTYPE_COLOR_ALPHA,n.COLORTYPE_ALPHA].indexOf(e.colorType))throw new Error("option color type:"+e.colorType+" is not supported at present");if(-1===[n.COLORTYPE_GRAYSCALE,n.COLORTYPE_COLOR,n.COLORTYPE_COLOR_ALPHA,n.COLORTYPE_ALPHA].indexOf(e.inputColorType))throw new Error("option input color type:"+e.inputColorType+" is not supported at present");if(8!==e.bitDepth&&16!==e.bitDepth)throw new Error("option bit depth:"+e.bitDepth+" is not supported at present")};l.prototype.getDeflateOptions=function(){return{chunkSize:this._options.deflateChunkSize,level:this._options.deflateLevel,strategy:this._options.deflateStrategy}},l.prototype.createDeflate=function(){return this._options.deflateFactory(this.getDeflateOptions())},l.prototype.filterData=function(e,t,r){var i=a(e,t,r,this._options),s=n.COLORTYPE_TO_BPP_MAP[this._options.colorType],l=o(i,t,r,this._options,s);return l},l.prototype._packChunk=function(e,r){var n=r?r.length:0,a=new t(n+12);return a.writeUInt32BE(n,0),a.writeUInt32BE(e,4),r&&r.copy(a,8),a.writeInt32BE(i.crc32(a.slice(4,a.length-4)),a.length-4),a},l.prototype.packGAMA=function(e){var r=new t(4);return r.writeUInt32BE(Math.floor(e*n.GAMMA_DIVISION),0),this._packChunk(n.TYPE_gAMA,r)},l.prototype.packIHDR=function(e,r){var i=new t(13);return i.writeUInt32BE(e,0),i.writeUInt32BE(r,4),i[8]=this._options.bitDepth,i[9]=this._options.colorType,i[10]=0,i[11]=0,i[12]=0,this._packChunk(n.TYPE_IHDR,i)},l.prototype.packIDAT=function(e){return this._packChunk(n.TYPE_IDAT,e)},l.prototype.packIEND=function(){return this._packChunk(n.TYPE_IEND,null)}}).call(this,r("b639").Buffer)},ecec:function(e,t,r){(function(t,r){e.exports=r()})("undefined"!==typeof self&&self,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=3)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){this.width=t,this.height=e.length/t,this.data=e}return e.createEmpty=function(t,r){return new e(new Uint8ClampedArray(t*r),t)},e.prototype.get=function(e,t){return!(e<0||e>=this.width||t<0||t>=this.height)&&!!this.data[t*this.width+e]},e.prototype.set=function(e,t,r){this.data[t*this.width+e]=r?1:0},e.prototype.setRegion=function(e,t,r,n,i){for(var a=t;a<t+n;a++)for(var o=e;o<e+r;o++)this.set(o,a,!!i)},e}();t.BitMatrix=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2);function i(e,t){return e^t}t.addOrSubtractGF=i;var a=function(){function e(e,t,r){this.primitive=e,this.size=t,this.generatorBase=r,this.expTable=new Array(this.size),this.logTable=new Array(this.size);for(var i=1,a=0;a<this.size;a++)this.expTable[a]=i,i*=2,i>=this.size&&(i=(i^this.primitive)&this.size-1);for(a=0;a<this.size-1;a++)this.logTable[this.expTable[a]]=a;this.zero=new n.default(this,Uint8ClampedArray.from([0])),this.one=new n.default(this,Uint8ClampedArray.from([1]))}return e.prototype.multiply=function(e,t){return 0===e||0===t?0:this.expTable[(this.logTable[e]+this.logTable[t])%(this.size-1)]},e.prototype.inverse=function(e){if(0===e)throw new Error("Can't invert 0");return this.expTable[this.size-this.logTable[e]-1]},e.prototype.buildMonomial=function(e,t){if(e<0)throw new Error("Invalid monomial degree less than 0");if(0===t)return this.zero;var r=new Uint8ClampedArray(e+1);return r[0]=t,new n.default(this,r)},e.prototype.log=function(e){if(0===e)throw new Error("Can't take log(0)");return this.logTable[e]},e.prototype.exp=function(e){return this.expTable[e]},e}();t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),i=function(){function e(e,t){if(0===t.length)throw new Error("No coefficients.");this.field=e;var r=t.length;if(r>1&&0===t[0]){var n=1;while(n<r&&0===t[n])n++;if(n===r)this.coefficients=e.zero.coefficients;else{this.coefficients=new Uint8ClampedArray(r-n);for(var i=0;i<this.coefficients.length;i++)this.coefficients[i]=t[n+i]}}else this.coefficients=t}return e.prototype.degree=function(){return this.coefficients.length-1},e.prototype.isZero=function(){return 0===this.coefficients[0]},e.prototype.getCoefficient=function(e){return this.coefficients[this.coefficients.length-1-e]},e.prototype.addOrSubtract=function(t){var r;if(this.isZero())return t;if(t.isZero())return this;var i=this.coefficients,a=t.coefficients;i.length>a.length&&(r=[a,i],i=r[0],a=r[1]);for(var o=new Uint8ClampedArray(a.length),s=a.length-i.length,l=0;l<s;l++)o[l]=a[l];for(l=s;l<a.length;l++)o[l]=n.addOrSubtractGF(i[l-s],a[l]);return new e(this.field,o)},e.prototype.multiply=function(t){if(0===t)return this.field.zero;if(1===t)return this;for(var r=this.coefficients.length,n=new Uint8ClampedArray(r),i=0;i<r;i++)n[i]=this.field.multiply(this.coefficients[i],t);return new e(this.field,n)},e.prototype.multiplyPoly=function(t){if(this.isZero()||t.isZero())return this.field.zero;for(var r=this.coefficients,i=r.length,a=t.coefficients,o=a.length,s=new Uint8ClampedArray(i+o-1),l=0;l<i;l++)for(var c=r[l],u=0;u<o;u++)s[l+u]=n.addOrSubtractGF(s[l+u],this.field.multiply(c,a[u]));return new e(this.field,s)},e.prototype.multiplyByMonomial=function(t,r){if(t<0)throw new Error("Invalid degree less than 0");if(0===r)return this.field.zero;for(var n=this.coefficients.length,i=new Uint8ClampedArray(n+t),a=0;a<n;a++)i[a]=this.field.multiply(this.coefficients[a],r);return new e(this.field,i)},e.prototype.evaluateAt=function(e){var t=0;if(0===e)return this.getCoefficient(0);var r=this.coefficients.length;if(1===e)return this.coefficients.forEach((function(e){t=n.addOrSubtractGF(t,e)})),t;t=this.coefficients[0];for(var i=1;i<r;i++)t=n.addOrSubtractGF(this.field.multiply(e,t),this.coefficients[i]);return t},e}();t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(4),i=r(5),a=r(11),o=r(12);function s(e){var t=o.locate(e);if(!t)return null;for(var r=0,n=t;r<n.length;r++){var s=n[r],l=a.extract(e,s),c=i.decode(l.matrix);if(c)return{binaryData:c.bytes,data:c.text,chunks:c.chunks,version:c.version,location:{topRightCorner:l.mappingFunction(s.dimension,0),topLeftCorner:l.mappingFunction(0,0),bottomRightCorner:l.mappingFunction(s.dimension,s.dimension),bottomLeftCorner:l.mappingFunction(0,s.dimension),topRightFinderPattern:s.topRight,topLeftFinderPattern:s.topLeft,bottomLeftFinderPattern:s.bottomLeft,bottomRightAlignmentPattern:s.alignmentPattern}}}return null}var l={inversionAttempts:"attemptBoth"};function c(e,t,r,i){void 0===i&&(i={});var a=l;Object.keys(a||{}).forEach((function(e){a[e]=i[e]||a[e]}));var o="attemptBoth"===a.inversionAttempts||"invertFirst"===a.inversionAttempts,c="onlyInvert"===a.inversionAttempts||"invertFirst"===a.inversionAttempts,u=n.binarize(e,t,r,o),f=u.binarized,h=u.inverted,d=s(c?h:f);return d||"attemptBoth"!==a.inversionAttempts&&"invertFirst"!==a.inversionAttempts||(d=s(c?f:h)),d}c.default=c,t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=8,a=24;function o(e,t,r){return e<t?t:e>r?r:e}var s=function(){function e(e,t){this.width=e,this.data=new Uint8ClampedArray(e*t)}return e.prototype.get=function(e,t){return this.data[t*this.width+e]},e.prototype.set=function(e,t,r){this.data[t*this.width+e]=r},e}();function l(e,t,r,l){if(e.length!==t*r*4)throw new Error("Malformed data passed to binarizer.");for(var c=new s(t,r),u=0;u<t;u++)for(var f=0;f<r;f++){var h=e[4*(f*t+u)+0],d=e[4*(f*t+u)+1],p=e[4*(f*t+u)+2];c.set(u,f,.2126*h+.7152*d+.0722*p)}for(var m=Math.ceil(t/i),g=Math.ceil(r/i),b=new s(m,g),y=0;y<g;y++)for(var v=0;v<m;v++){var _=0,w=1/0,E=0;for(f=0;f<i;f++)for(u=0;u<i;u++){var P=c.get(v*i+u,y*i+f);_+=P,w=Math.min(w,P),E=Math.max(E,P)}var A=_/Math.pow(i,2);if(E-w<=a&&(A=w/2,y>0&&v>0)){var k=(b.get(v,y-1)+2*b.get(v-1,y)+b.get(v-1,y-1))/4;w<k&&(A=k)}b.set(v,y,A)}var C=n.BitMatrix.createEmpty(t,r),S=null;l&&(S=n.BitMatrix.createEmpty(t,r));for(y=0;y<g;y++)for(v=0;v<m;v++){for(var I=o(v,2,m-3),B=o(y,2,g-3),x=(_=0,-2);x<=2;x++)for(var T=-2;T<=2;T++)_+=b.get(I+x,B+T);var R=_/25;for(x=0;x<i;x++)for(T=0;T<i;T++){u=v*i+x,f=y*i+T;var M=c.get(u,f);C.set(u,f,M<=R),l&&S.set(u,f,!(M<=R))}}return l?{binarized:C,inverted:S}:{binarized:C}}t.binarize=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(6),a=r(9),o=r(10);function s(e,t){var r=e^t,n=0;while(r)n++,r&=r-1;return n}function l(e,t){return t<<1|e}var c=[{bits:21522,formatInfo:{errorCorrectionLevel:1,dataMask:0}},{bits:20773,formatInfo:{errorCorrectionLevel:1,dataMask:1}},{bits:24188,formatInfo:{errorCorrectionLevel:1,dataMask:2}},{bits:23371,formatInfo:{errorCorrectionLevel:1,dataMask:3}},{bits:17913,formatInfo:{errorCorrectionLevel:1,dataMask:4}},{bits:16590,formatInfo:{errorCorrectionLevel:1,dataMask:5}},{bits:20375,formatInfo:{errorCorrectionLevel:1,dataMask:6}},{bits:19104,formatInfo:{errorCorrectionLevel:1,dataMask:7}},{bits:30660,formatInfo:{errorCorrectionLevel:0,dataMask:0}},{bits:29427,formatInfo:{errorCorrectionLevel:0,dataMask:1}},{bits:32170,formatInfo:{errorCorrectionLevel:0,dataMask:2}},{bits:30877,formatInfo:{errorCorrectionLevel:0,dataMask:3}},{bits:26159,formatInfo:{errorCorrectionLevel:0,dataMask:4}},{bits:25368,formatInfo:{errorCorrectionLevel:0,dataMask:5}},{bits:27713,formatInfo:{errorCorrectionLevel:0,dataMask:6}},{bits:26998,formatInfo:{errorCorrectionLevel:0,dataMask:7}},{bits:5769,formatInfo:{errorCorrectionLevel:3,dataMask:0}},{bits:5054,formatInfo:{errorCorrectionLevel:3,dataMask:1}},{bits:7399,formatInfo:{errorCorrectionLevel:3,dataMask:2}},{bits:6608,formatInfo:{errorCorrectionLevel:3,dataMask:3}},{bits:1890,formatInfo:{errorCorrectionLevel:3,dataMask:4}},{bits:597,formatInfo:{errorCorrectionLevel:3,dataMask:5}},{bits:3340,formatInfo:{errorCorrectionLevel:3,dataMask:6}},{bits:2107,formatInfo:{errorCorrectionLevel:3,dataMask:7}},{bits:13663,formatInfo:{errorCorrectionLevel:2,dataMask:0}},{bits:12392,formatInfo:{errorCorrectionLevel:2,dataMask:1}},{bits:16177,formatInfo:{errorCorrectionLevel:2,dataMask:2}},{bits:14854,formatInfo:{errorCorrectionLevel:2,dataMask:3}},{bits:9396,formatInfo:{errorCorrectionLevel:2,dataMask:4}},{bits:8579,formatInfo:{errorCorrectionLevel:2,dataMask:5}},{bits:11994,formatInfo:{errorCorrectionLevel:2,dataMask:6}},{bits:11245,formatInfo:{errorCorrectionLevel:2,dataMask:7}}],u=[function(e){return(e.y+e.x)%2===0},function(e){return e.y%2===0},function(e){return e.x%3===0},function(e){return(e.y+e.x)%3===0},function(e){return(Math.floor(e.y/2)+Math.floor(e.x/3))%2===0},function(e){return e.x*e.y%2+e.x*e.y%3===0},function(e){return(e.y*e.x%2+e.y*e.x%3)%2===0},function(e){return((e.y+e.x)%2+e.y*e.x%3)%2===0}];function f(e){var t=17+4*e.versionNumber,r=n.BitMatrix.createEmpty(t,t);r.setRegion(0,0,9,9,!0),r.setRegion(t-8,0,8,9,!0),r.setRegion(0,t-8,9,8,!0);for(var i=0,a=e.alignmentPatternCenters;i<a.length;i++)for(var o=a[i],s=0,l=e.alignmentPatternCenters;s<l.length;s++){var c=l[s];6===o&&6===c||6===o&&c===t-7||o===t-7&&6===c||r.setRegion(o-2,c-2,5,5,!0)}return r.setRegion(6,9,1,t-17,!0),r.setRegion(9,6,t-17,1,!0),e.versionNumber>6&&(r.setRegion(t-11,0,3,6,!0),r.setRegion(0,t-11,6,3,!0)),r}function h(e,t,r){for(var n=u[r.dataMask],i=e.height,a=f(t),o=[],s=0,c=0,h=!0,d=i-1;d>0;d-=2){6===d&&d--;for(var p=0;p<i;p++)for(var m=h?i-1-p:p,g=0;g<2;g++){var b=d-g;if(!a.get(b,m)){c++;var y=e.get(b,m);n({y:m,x:b})&&(y=!y),s=l(y,s),8===c&&(o.push(s),c=0,s=0)}}h=!h}return o}function d(e){var t=e.height,r=Math.floor((t-17)/4);if(r<=6)return o.VERSIONS[r-1];for(var n=0,i=5;i>=0;i--)for(var a=t-9;a>=t-11;a--)n=l(e.get(a,i),n);var c=0;for(a=5;a>=0;a--)for(i=t-9;i>=t-11;i--)c=l(e.get(a,i),c);for(var u,f=1/0,h=0,d=o.VERSIONS;h<d.length;h++){var p=d[h];if(p.infoBits===n||p.infoBits===c)return p;var m=s(n,p.infoBits);m<f&&(u=p,f=m),m=s(c,p.infoBits),m<f&&(u=p,f=m)}return f<=3?u:void 0}function p(e){for(var t=0,r=0;r<=8;r++)6!==r&&(t=l(e.get(r,8),t));for(var n=7;n>=0;n--)6!==n&&(t=l(e.get(8,n),t));var i=e.height,a=0;for(n=i-1;n>=i-7;n--)a=l(e.get(8,n),a);for(r=i-8;r<i;r++)a=l(e.get(r,8),a);for(var o=1/0,u=null,f=0,h=c;f<h.length;f++){var d=h[f],p=d.bits,m=d.formatInfo;if(p===t||p===a)return m;var g=s(t,p);g<o&&(u=m,o=g),t!==a&&(g=s(a,p),g<o&&(u=m,o=g))}return o<=3?u:null}function m(e,t,r){var n=t.errorCorrectionLevels[r],i=[],a=0;if(n.ecBlocks.forEach((function(e){for(var t=0;t<e.numBlocks;t++)i.push({numDataCodewords:e.dataCodewordsPerBlock,codewords:[]}),a+=e.dataCodewordsPerBlock+n.ecCodewordsPerBlock})),e.length<a)return null;e=e.slice(0,a);for(var o=n.ecBlocks[0].dataCodewordsPerBlock,s=0;s<o;s++)for(var l=0,c=i;l<c.length;l++){var u=c[l];u.codewords.push(e.shift())}if(n.ecBlocks.length>1){var f=n.ecBlocks[0].numBlocks,h=n.ecBlocks[1].numBlocks;for(s=0;s<h;s++)i[f+s].codewords.push(e.shift())}while(e.length>0)for(var d=0,p=i;d<p.length;d++){u=p[d];u.codewords.push(e.shift())}return i}function g(e){var t=d(e);if(!t)return null;var r=p(e);if(!r)return null;var n=h(e,t,r),o=m(n,t,r.errorCorrectionLevel);if(!o)return null;for(var s=o.reduce((function(e,t){return e+t.numDataCodewords}),0),l=new Uint8ClampedArray(s),c=0,u=0,f=o;u<f.length;u++){var g=f[u],b=a.decode(g.codewords,g.codewords.length-g.numDataCodewords);if(!b)return null;for(var y=0;y<g.numDataCodewords;y++)l[c++]=b[y]}try{return i.decode(l,t.versionNumber)}catch(v){return null}}function b(e){if(null==e)return null;var t=g(e);if(t)return t;for(var r=0;r<e.width;r++)for(var n=r+1;n<e.height;n++)e.get(r,n)!==e.get(n,r)&&(e.set(r,n,!e.get(r,n)),e.set(n,r,!e.get(n,r)));return g(e)}t.decode=b},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i,a=r(7),o=r(8);function s(e,t){var r=[],n="",i=[10,12,14][t],a=e.readBits(i);while(a>=3){var o=e.readBits(10);if(o>=1e3)throw new Error("Invalid numeric value above 999");var s=Math.floor(o/100),l=Math.floor(o/10)%10,c=o%10;r.push(48+s,48+l,48+c),n+=s.toString()+l.toString()+c.toString(),a-=3}if(2===a){o=e.readBits(7);if(o>=100)throw new Error("Invalid numeric value above 99");s=Math.floor(o/10),l=o%10;r.push(48+s,48+l),n+=s.toString()+l.toString()}else if(1===a){o=e.readBits(4);if(o>=10)throw new Error("Invalid numeric value above 9");r.push(48+o),n+=o.toString()}return{bytes:r,text:n}}(function(e){e["Numeric"]="numeric",e["Alphanumeric"]="alphanumeric",e["Byte"]="byte",e["Kanji"]="kanji",e["ECI"]="eci"})(n=t.Mode||(t.Mode={})),function(e){e[e["Terminator"]=0]="Terminator",e[e["Numeric"]=1]="Numeric",e[e["Alphanumeric"]=2]="Alphanumeric",e[e["Byte"]=4]="Byte",e[e["Kanji"]=8]="Kanji",e[e["ECI"]=7]="ECI"}(i||(i={}));var l=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function c(e,t){var r=[],n="",i=[9,11,13][t],a=e.readBits(i);while(a>=2){var o=e.readBits(11),s=Math.floor(o/45),c=o%45;r.push(l[s].charCodeAt(0),l[c].charCodeAt(0)),n+=l[s]+l[c],a-=2}if(1===a){s=e.readBits(6);r.push(l[s].charCodeAt(0)),n+=l[s]}return{bytes:r,text:n}}function u(e,t){for(var r=[],n="",i=[8,16,16][t],a=e.readBits(i),o=0;o<a;o++){var s=e.readBits(8);r.push(s)}try{n+=decodeURIComponent(r.map((function(e){return"%"+("0"+e.toString(16)).substr(-2)})).join(""))}catch(l){}return{bytes:r,text:n}}function f(e,t){for(var r=[],n="",i=[8,10,12][t],a=e.readBits(i),s=0;s<a;s++){var l=e.readBits(13),c=Math.floor(l/192)<<8|l%192;c+=c<7936?33088:49472,r.push(c>>8,255&c),n+=String.fromCharCode(o.shiftJISTable[c])}return{bytes:r,text:n}}function h(e,t){var r,o,l,h,d=new a.BitStream(e),p=t<=9?0:t<=26?1:2,m={text:"",bytes:[],chunks:[],version:t};while(d.available()>=4){var g=d.readBits(4);if(g===i.Terminator)return m;if(g===i.ECI)0===d.readBits(1)?m.chunks.push({type:n.ECI,assignmentNumber:d.readBits(7)}):0===d.readBits(1)?m.chunks.push({type:n.ECI,assignmentNumber:d.readBits(14)}):0===d.readBits(1)?m.chunks.push({type:n.ECI,assignmentNumber:d.readBits(21)}):m.chunks.push({type:n.ECI,assignmentNumber:-1});else if(g===i.Numeric){var b=s(d,p);m.text+=b.text,(r=m.bytes).push.apply(r,b.bytes),m.chunks.push({type:n.Numeric,text:b.text})}else if(g===i.Alphanumeric){var y=c(d,p);m.text+=y.text,(o=m.bytes).push.apply(o,y.bytes),m.chunks.push({type:n.Alphanumeric,text:y.text})}else if(g===i.Byte){var v=u(d,p);m.text+=v.text,(l=m.bytes).push.apply(l,v.bytes),m.chunks.push({type:n.Byte,bytes:v.bytes,text:v.text})}else if(g===i.Kanji){var _=f(d,p);m.text+=_.text,(h=m.bytes).push.apply(h,_.bytes),m.chunks.push({type:n.Kanji,bytes:_.bytes,text:_.text})}}if(0===d.available()||0===d.readBits(d.available()))return m}t.decode=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){this.byteOffset=0,this.bitOffset=0,this.bytes=e}return e.prototype.readBits=function(e){if(e<1||e>32||e>this.available())throw new Error("Cannot read "+e.toString()+" bits");var t=0;if(this.bitOffset>0){var r=8-this.bitOffset,n=e<r?e:r,i=r-n,a=255>>8-n<<i;t=(this.bytes[this.byteOffset]&a)>>i,e-=n,this.bitOffset+=n,8===this.bitOffset&&(this.bitOffset=0,this.byteOffset++)}if(e>0){while(e>=8)t=t<<8|255&this.bytes[this.byteOffset],this.byteOffset++,e-=8;if(e>0){i=8-e,a=255>>i<<i;t=t<<e|(this.bytes[this.byteOffset]&a)>>i,this.bitOffset+=e}}return t},e.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},e}();t.BitStream=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shiftJISTable={32:32,33:33,34:34,35:35,36:36,37:37,38:38,39:39,40:40,41:41,42:42,43:43,44:44,45:45,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:64,65:65,66:66,67:67,68:68,69:69,70:70,71:71,72:72,73:73,74:74,75:75,76:76,77:77,78:78,79:79,80:80,81:81,82:82,83:83,84:84,85:85,86:86,87:87,88:88,89:89,90:90,91:91,92:165,93:93,94:94,95:95,96:96,97:97,98:98,99:99,100:100,101:101,102:102,103:103,104:104,105:105,106:106,107:107,108:108,109:109,110:110,111:111,112:112,113:113,114:114,115:115,116:116,117:117,118:118,119:119,120:120,121:121,122:122,123:123,124:124,125:125,126:8254,33088:12288,33089:12289,33090:12290,33091:65292,33092:65294,33093:12539,33094:65306,33095:65307,33096:65311,33097:65281,33098:12443,33099:12444,33100:180,33101:65344,33102:168,33103:65342,33104:65507,33105:65343,33106:12541,33107:12542,33108:12445,33109:12446,33110:12291,33111:20189,33112:12293,33113:12294,33114:12295,33115:12540,33116:8213,33117:8208,33118:65295,33119:92,33120:12316,33121:8214,33122:65372,33123:8230,33124:8229,33125:8216,33126:8217,33127:8220,33128:8221,33129:65288,33130:65289,33131:12308,33132:12309,33133:65339,33134:65341,33135:65371,33136:65373,33137:12296,33138:12297,33139:12298,33140:12299,33141:12300,33142:12301,33143:12302,33144:12303,33145:12304,33146:12305,33147:65291,33148:8722,33149:177,33150:215,33152:247,33153:65309,33154:8800,33155:65308,33156:65310,33157:8806,33158:8807,33159:8734,33160:8756,33161:9794,33162:9792,33163:176,33164:8242,33165:8243,33166:8451,33167:65509,33168:65284,33169:162,33170:163,33171:65285,33172:65283,33173:65286,33174:65290,33175:65312,33176:167,33177:9734,33178:9733,33179:9675,33180:9679,33181:9678,33182:9671,33183:9670,33184:9633,33185:9632,33186:9651,33187:9650,33188:9661,33189:9660,33190:8251,33191:12306,33192:8594,33193:8592,33194:8593,33195:8595,33196:12307,33208:8712,33209:8715,33210:8838,33211:8839,33212:8834,33213:8835,33214:8746,33215:8745,33224:8743,33225:8744,33226:172,33227:8658,33228:8660,33229:8704,33230:8707,33242:8736,33243:8869,33244:8978,33245:8706,33246:8711,33247:8801,33248:8786,33249:8810,33250:8811,33251:8730,33252:8765,33253:8733,33254:8757,33255:8747,33256:8748,33264:8491,33265:8240,33266:9839,33267:9837,33268:9834,33269:8224,33270:8225,33271:182,33276:9711,33359:65296,33360:65297,33361:65298,33362:65299,33363:65300,33364:65301,33365:65302,33366:65303,33367:65304,33368:65305,33376:65313,33377:65314,33378:65315,33379:65316,33380:65317,33381:65318,33382:65319,33383:65320,33384:65321,33385:65322,33386:65323,33387:65324,33388:65325,33389:65326,33390:65327,33391:65328,33392:65329,33393:65330,33394:65331,33395:65332,33396:65333,33397:65334,33398:65335,33399:65336,33400:65337,33401:65338,33409:65345,33410:65346,33411:65347,33412:65348,33413:65349,33414:65350,33415:65351,33416:65352,33417:65353,33418:65354,33419:65355,33420:65356,33421:65357,33422:65358,33423:65359,33424:65360,33425:65361,33426:65362,33427:65363,33428:65364,33429:65365,33430:65366,33431:65367,33432:65368,33433:65369,33434:65370,33439:12353,33440:12354,33441:12355,33442:12356,33443:12357,33444:12358,33445:12359,33446:12360,33447:12361,33448:12362,33449:12363,33450:12364,33451:12365,33452:12366,33453:12367,33454:12368,33455:12369,33456:12370,33457:12371,33458:12372,33459:12373,33460:12374,33461:12375,33462:12376,33463:12377,33464:12378,33465:12379,33466:12380,33467:12381,33468:12382,33469:12383,33470:12384,33471:12385,33472:12386,33473:12387,33474:12388,33475:12389,33476:12390,33477:12391,33478:12392,33479:12393,33480:12394,33481:12395,33482:12396,33483:12397,33484:12398,33485:12399,33486:12400,33487:12401,33488:12402,33489:12403,33490:12404,33491:12405,33492:12406,33493:12407,33494:12408,33495:12409,33496:12410,33497:12411,33498:12412,33499:12413,33500:12414,33501:12415,33502:12416,33503:12417,33504:12418,33505:12419,33506:12420,33507:12421,33508:12422,33509:12423,33510:12424,33511:12425,33512:12426,33513:12427,33514:12428,33515:12429,33516:12430,33517:12431,33518:12432,33519:12433,33520:12434,33521:12435,33600:12449,33601:12450,33602:12451,33603:12452,33604:12453,33605:12454,33606:12455,33607:12456,33608:12457,33609:12458,33610:12459,33611:12460,33612:12461,33613:12462,33614:12463,33615:12464,33616:12465,33617:12466,33618:12467,33619:12468,33620:12469,33621:12470,33622:12471,33623:12472,33624:12473,33625:12474,33626:12475,33627:12476,33628:12477,33629:12478,33630:12479,33631:12480,33632:12481,33633:12482,33634:12483,33635:12484,33636:12485,33637:12486,33638:12487,33639:12488,33640:12489,33641:12490,33642:12491,33643:12492,33644:12493,33645:12494,33646:12495,33647:12496,33648:12497,33649:12498,33650:12499,33651:12500,33652:12501,33653:12502,33654:12503,33655:12504,33656:12505,33657:12506,33658:12507,33659:12508,33660:12509,33661:12510,33662:12511,33664:12512,33665:12513,33666:12514,33667:12515,33668:12516,33669:12517,33670:12518,33671:12519,33672:12520,33673:12521,33674:12522,33675:12523,33676:12524,33677:12525,33678:12526,33679:12527,33680:12528,33681:12529,33682:12530,33683:12531,33684:12532,33685:12533,33686:12534,33695:913,33696:914,33697:915,33698:916,33699:917,33700:918,33701:919,33702:920,33703:921,33704:922,33705:923,33706:924,33707:925,33708:926,33709:927,33710:928,33711:929,33712:931,33713:932,33714:933,33715:934,33716:935,33717:936,33718:937,33727:945,33728:946,33729:947,33730:948,33731:949,33732:950,33733:951,33734:952,33735:953,33736:954,33737:955,33738:956,33739:957,33740:958,33741:959,33742:960,33743:961,33744:963,33745:964,33746:965,33747:966,33748:967,33749:968,33750:969,33856:1040,33857:1041,33858:1042,33859:1043,33860:1044,33861:1045,33862:1025,33863:1046,33864:1047,33865:1048,33866:1049,33867:1050,33868:1051,33869:1052,33870:1053,33871:1054,33872:1055,33873:1056,33874:1057,33875:1058,33876:1059,33877:1060,33878:1061,33879:1062,33880:1063,33881:1064,33882:1065,33883:1066,33884:1067,33885:1068,33886:1069,33887:1070,33888:1071,33904:1072,33905:1073,33906:1074,33907:1075,33908:1076,33909:1077,33910:1105,33911:1078,33912:1079,33913:1080,33914:1081,33915:1082,33916:1083,33917:1084,33918:1085,33920:1086,33921:1087,33922:1088,33923:1089,33924:1090,33925:1091,33926:1092,33927:1093,33928:1094,33929:1095,33930:1096,33931:1097,33932:1098,33933:1099,33934:1100,33935:1101,33936:1102,33937:1103,33951:9472,33952:9474,33953:9484,33954:9488,33955:9496,33956:9492,33957:9500,33958:9516,33959:9508,33960:9524,33961:9532,33962:9473,33963:9475,33964:9487,33965:9491,33966:9499,33967:9495,33968:9507,33969:9523,33970:9515,33971:9531,33972:9547,33973:9504,33974:9519,33975:9512,33976:9527,33977:9535,33978:9501,33979:9520,33980:9509,33981:9528,33982:9538,34975:20124,34976:21782,34977:23043,34978:38463,34979:21696,34980:24859,34981:25384,34982:23030,34983:36898,34984:33909,34985:33564,34986:31312,34987:24746,34988:25569,34989:28197,34990:26093,34991:33894,34992:33446,34993:39925,34994:26771,34995:22311,34996:26017,34997:25201,34998:23451,34999:22992,35e3:34427,35001:39156,35002:32098,35003:32190,35004:39822,35005:25110,35006:31903,35007:34999,35008:23433,35009:24245,35010:25353,35011:26263,35012:26696,35013:38343,35014:38797,35015:26447,35016:20197,35017:20234,35018:20301,35019:20381,35020:20553,35021:22258,35022:22839,35023:22996,35024:23041,35025:23561,35026:24799,35027:24847,35028:24944,35029:26131,35030:26885,35031:28858,35032:30031,35033:30064,35034:31227,35035:32173,35036:32239,35037:32963,35038:33806,35039:34915,35040:35586,35041:36949,35042:36986,35043:21307,35044:20117,35045:20133,35046:22495,35047:32946,35048:37057,35049:30959,35050:19968,35051:22769,35052:28322,35053:36920,35054:31282,35055:33576,35056:33419,35057:39983,35058:20801,35059:21360,35060:21693,35061:21729,35062:22240,35063:23035,35064:24341,35065:39154,35066:28139,35067:32996,35068:34093,35136:38498,35137:38512,35138:38560,35139:38907,35140:21515,35141:21491,35142:23431,35143:28879,35144:32701,35145:36802,35146:38632,35147:21359,35148:40284,35149:31418,35150:19985,35151:30867,35152:33276,35153:28198,35154:22040,35155:21764,35156:27421,35157:34074,35158:39995,35159:23013,35160:21417,35161:28006,35162:29916,35163:38287,35164:22082,35165:20113,35166:36939,35167:38642,35168:33615,35169:39180,35170:21473,35171:21942,35172:23344,35173:24433,35174:26144,35175:26355,35176:26628,35177:27704,35178:27891,35179:27945,35180:29787,35181:30408,35182:31310,35183:38964,35184:33521,35185:34907,35186:35424,35187:37613,35188:28082,35189:30123,35190:30410,35191:39365,35192:24742,35193:35585,35194:36234,35195:38322,35196:27022,35197:21421,35198:20870,35200:22290,35201:22576,35202:22852,35203:23476,35204:24310,35205:24616,35206:25513,35207:25588,35208:27839,35209:28436,35210:28814,35211:28948,35212:29017,35213:29141,35214:29503,35215:32257,35216:33398,35217:33489,35218:34199,35219:36960,35220:37467,35221:40219,35222:22633,35223:26044,35224:27738,35225:29989,35226:20985,35227:22830,35228:22885,35229:24448,35230:24540,35231:25276,35232:26106,35233:27178,35234:27431,35235:27572,35236:29579,35237:32705,35238:35158,35239:40236,35240:40206,35241:40644,35242:23713,35243:27798,35244:33659,35245:20740,35246:23627,35247:25014,35248:33222,35249:26742,35250:29281,35251:20057,35252:20474,35253:21368,35254:24681,35255:28201,35256:31311,35257:38899,35258:19979,35259:21270,35260:20206,35261:20309,35262:20285,35263:20385,35264:20339,35265:21152,35266:21487,35267:22025,35268:22799,35269:23233,35270:23478,35271:23521,35272:31185,35273:26247,35274:26524,35275:26550,35276:27468,35277:27827,35278:28779,35279:29634,35280:31117,35281:31166,35282:31292,35283:31623,35284:33457,35285:33499,35286:33540,35287:33655,35288:33775,35289:33747,35290:34662,35291:35506,35292:22057,35293:36008,35294:36838,35295:36942,35296:38686,35297:34442,35298:20420,35299:23784,35300:25105,35301:29273,35302:30011,35303:33253,35304:33469,35305:34558,35306:36032,35307:38597,35308:39187,35309:39381,35310:20171,35311:20250,35312:35299,35313:22238,35314:22602,35315:22730,35316:24315,35317:24555,35318:24618,35319:24724,35320:24674,35321:25040,35322:25106,35323:25296,35324:25913,35392:39745,35393:26214,35394:26800,35395:28023,35396:28784,35397:30028,35398:30342,35399:32117,35400:33445,35401:34809,35402:38283,35403:38542,35404:35997,35405:20977,35406:21182,35407:22806,35408:21683,35409:23475,35410:23830,35411:24936,35412:27010,35413:28079,35414:30861,35415:33995,35416:34903,35417:35442,35418:37799,35419:39608,35420:28012,35421:39336,35422:34521,35423:22435,35424:26623,35425:34510,35426:37390,35427:21123,35428:22151,35429:21508,35430:24275,35431:25313,35432:25785,35433:26684,35434:26680,35435:27579,35436:29554,35437:30906,35438:31339,35439:35226,35440:35282,35441:36203,35442:36611,35443:37101,35444:38307,35445:38548,35446:38761,35447:23398,35448:23731,35449:27005,35450:38989,35451:38990,35452:25499,35453:31520,35454:27179,35456:27263,35457:26806,35458:39949,35459:28511,35460:21106,35461:21917,35462:24688,35463:25324,35464:27963,35465:28167,35466:28369,35467:33883,35468:35088,35469:36676,35470:19988,35471:39993,35472:21494,35473:26907,35474:27194,35475:38788,35476:26666,35477:20828,35478:31427,35479:33970,35480:37340,35481:37772,35482:22107,35483:40232,35484:26658,35485:33541,35486:33841,35487:31909,35488:21e3,35489:33477,35490:29926,35491:20094,35492:20355,35493:20896,35494:23506,35495:21002,35496:21208,35497:21223,35498:24059,35499:21914,35500:22570,35501:23014,35502:23436,35503:23448,35504:23515,35505:24178,35506:24185,35507:24739,35508:24863,35509:24931,35510:25022,35511:25563,35512:25954,35513:26577,35514:26707,35515:26874,35516:27454,35517:27475,35518:27735,35519:28450,35520:28567,35521:28485,35522:29872,35523:29976,35524:30435,35525:30475,35526:31487,35527:31649,35528:31777,35529:32233,35530:32566,35531:32752,35532:32925,35533:33382,35534:33694,35535:35251,35536:35532,35537:36011,35538:36996,35539:37969,35540:38291,35541:38289,35542:38306,35543:38501,35544:38867,35545:39208,35546:33304,35547:20024,35548:21547,35549:23736,35550:24012,35551:29609,35552:30284,35553:30524,35554:23721,35555:32747,35556:36107,35557:38593,35558:38929,35559:38996,35560:39e3,35561:20225,35562:20238,35563:21361,35564:21916,35565:22120,35566:22522,35567:22855,35568:23305,35569:23492,35570:23696,35571:24076,35572:24190,35573:24524,35574:25582,35575:26426,35576:26071,35577:26082,35578:26399,35579:26827,35580:26820,35648:27231,35649:24112,35650:27589,35651:27671,35652:27773,35653:30079,35654:31048,35655:23395,35656:31232,35657:32e3,35658:24509,35659:35215,35660:35352,35661:36020,35662:36215,35663:36556,35664:36637,35665:39138,35666:39438,35667:39740,35668:20096,35669:20605,35670:20736,35671:22931,35672:23452,35673:25135,35674:25216,35675:25836,35676:27450,35677:29344,35678:30097,35679:31047,35680:32681,35681:34811,35682:35516,35683:35696,35684:25516,35685:33738,35686:38816,35687:21513,35688:21507,35689:21931,35690:26708,35691:27224,35692:35440,35693:30759,35694:26485,35695:40653,35696:21364,35697:23458,35698:33050,35699:34384,35700:36870,35701:19992,35702:20037,35703:20167,35704:20241,35705:21450,35706:21560,35707:23470,35708:24339,35709:24613,35710:25937,35712:26429,35713:27714,35714:27762,35715:27875,35716:28792,35717:29699,35718:31350,35719:31406,35720:31496,35721:32026,35722:31998,35723:32102,35724:26087,35725:29275,35726:21435,35727:23621,35728:24040,35729:25298,35730:25312,35731:25369,35732:28192,35733:34394,35734:35377,35735:36317,35736:37624,35737:28417,35738:31142,35739:39770,35740:20136,35741:20139,35742:20140,35743:20379,35744:20384,35745:20689,35746:20807,35747:31478,35748:20849,35749:20982,35750:21332,35751:21281,35752:21375,35753:21483,35754:21932,35755:22659,35756:23777,35757:24375,35758:24394,35759:24623,35760:24656,35761:24685,35762:25375,35763:25945,35764:27211,35765:27841,35766:29378,35767:29421,35768:30703,35769:33016,35770:33029,35771:33288,35772:34126,35773:37111,35774:37857,35775:38911,35776:39255,35777:39514,35778:20208,35779:20957,35780:23597,35781:26241,35782:26989,35783:23616,35784:26354,35785:26997,35786:29577,35787:26704,35788:31873,35789:20677,35790:21220,35791:22343,35792:24062,35793:37670,35794:26020,35795:27427,35796:27453,35797:29748,35798:31105,35799:31165,35800:31563,35801:32202,35802:33465,35803:33740,35804:34943,35805:35167,35806:35641,35807:36817,35808:37329,35809:21535,35810:37504,35811:20061,35812:20534,35813:21477,35814:21306,35815:29399,35816:29590,35817:30697,35818:33510,35819:36527,35820:39366,35821:39368,35822:39378,35823:20855,35824:24858,35825:34398,35826:21936,35827:31354,35828:20598,35829:23507,35830:36935,35831:38533,35832:20018,35833:27355,35834:37351,35835:23633,35836:23624,35904:25496,35905:31391,35906:27795,35907:38772,35908:36705,35909:31402,35910:29066,35911:38536,35912:31874,35913:26647,35914:32368,35915:26705,35916:37740,35917:21234,35918:21531,35919:34219,35920:35347,35921:32676,35922:36557,35923:37089,35924:21350,35925:34952,35926:31041,35927:20418,35928:20670,35929:21009,35930:20804,35931:21843,35932:22317,35933:29674,35934:22411,35935:22865,35936:24418,35937:24452,35938:24693,35939:24950,35940:24935,35941:25001,35942:25522,35943:25658,35944:25964,35945:26223,35946:26690,35947:28179,35948:30054,35949:31293,35950:31995,35951:32076,35952:32153,35953:32331,35954:32619,35955:33550,35956:33610,35957:34509,35958:35336,35959:35427,35960:35686,35961:36605,35962:38938,35963:40335,35964:33464,35965:36814,35966:39912,35968:21127,35969:25119,35970:25731,35971:28608,35972:38553,35973:26689,35974:20625,35975:27424,35976:27770,35977:28500,35978:31348,35979:32080,35980:34880,35981:35363,35982:26376,35983:20214,35984:20537,35985:20518,35986:20581,35987:20860,35988:21048,35989:21091,35990:21927,35991:22287,35992:22533,35993:23244,35994:24314,35995:25010,35996:25080,35997:25331,35998:25458,35999:26908,36e3:27177,36001:29309,36002:29356,36003:29486,36004:30740,36005:30831,36006:32121,36007:30476,36008:32937,36009:35211,36010:35609,36011:36066,36012:36562,36013:36963,36014:37749,36015:38522,36016:38997,36017:39443,36018:40568,36019:20803,36020:21407,36021:21427,36022:24187,36023:24358,36024:28187,36025:28304,36026:29572,36027:29694,36028:32067,36029:33335,36030:35328,36031:35578,36032:38480,36033:20046,36034:20491,36035:21476,36036:21628,36037:22266,36038:22993,36039:23396,36040:24049,36041:24235,36042:24359,36043:25144,36044:25925,36045:26543,36046:28246,36047:29392,36048:31946,36049:34996,36050:32929,36051:32993,36052:33776,36053:34382,36054:35463,36055:36328,36056:37431,36057:38599,36058:39015,36059:40723,36060:20116,36061:20114,36062:20237,36063:21320,36064:21577,36065:21566,36066:23087,36067:24460,36068:24481,36069:24735,36070:26791,36071:27278,36072:29786,36073:30849,36074:35486,36075:35492,36076:35703,36077:37264,36078:20062,36079:39881,36080:20132,36081:20348,36082:20399,36083:20505,36084:20502,36085:20809,36086:20844,36087:21151,36088:21177,36089:21246,36090:21402,36091:21475,36092:21521,36160:21518,36161:21897,36162:22353,36163:22434,36164:22909,36165:23380,36166:23389,36167:23439,36168:24037,36169:24039,36170:24055,36171:24184,36172:24195,36173:24218,36174:24247,36175:24344,36176:24658,36177:24908,36178:25239,36179:25304,36180:25511,36181:25915,36182:26114,36183:26179,36184:26356,36185:26477,36186:26657,36187:26775,36188:27083,36189:27743,36190:27946,36191:28009,36192:28207,36193:28317,36194:30002,36195:30343,36196:30828,36197:31295,36198:31968,36199:32005,36200:32024,36201:32094,36202:32177,36203:32789,36204:32771,36205:32943,36206:32945,36207:33108,36208:33167,36209:33322,36210:33618,36211:34892,36212:34913,36213:35611,36214:36002,36215:36092,36216:37066,36217:37237,36218:37489,36219:30783,36220:37628,36221:38308,36222:38477,36224:38917,36225:39321,36226:39640,36227:40251,36228:21083,36229:21163,36230:21495,36231:21512,36232:22741,36233:25335,36234:28640,36235:35946,36236:36703,36237:40633,36238:20811,36239:21051,36240:21578,36241:22269,36242:31296,36243:37239,36244:40288,36245:40658,36246:29508,36247:28425,36248:33136,36249:29969,36250:24573,36251:24794,36252:39592,36253:29403,36254:36796,36255:27492,36256:38915,36257:20170,36258:22256,36259:22372,36260:22718,36261:23130,36262:24680,36263:25031,36264:26127,36265:26118,36266:26681,36267:26801,36268:28151,36269:30165,36270:32058,36271:33390,36272:39746,36273:20123,36274:20304,36275:21449,36276:21766,36277:23919,36278:24038,36279:24046,36280:26619,36281:27801,36282:29811,36283:30722,36284:35408,36285:37782,36286:35039,36287:22352,36288:24231,36289:25387,36290:20661,36291:20652,36292:20877,36293:26368,36294:21705,36295:22622,36296:22971,36297:23472,36298:24425,36299:25165,36300:25505,36301:26685,36302:27507,36303:28168,36304:28797,36305:37319,36306:29312,36307:30741,36308:30758,36309:31085,36310:25998,36311:32048,36312:33756,36313:35009,36314:36617,36315:38555,36316:21092,36317:22312,36318:26448,36319:32618,36320:36001,36321:20916,36322:22338,36323:38442,36324:22586,36325:27018,36326:32948,36327:21682,36328:23822,36329:22524,36330:30869,36331:40442,36332:20316,36333:21066,36334:21643,36335:25662,36336:26152,36337:26388,36338:26613,36339:31364,36340:31574,36341:32034,36342:37679,36343:26716,36344:39853,36345:31545,36346:21273,36347:20874,36348:21047,36416:23519,36417:25334,36418:25774,36419:25830,36420:26413,36421:27578,36422:34217,36423:38609,36424:30352,36425:39894,36426:25420,36427:37638,36428:39851,36429:30399,36430:26194,36431:19977,36432:20632,36433:21442,36434:23665,36435:24808,36436:25746,36437:25955,36438:26719,36439:29158,36440:29642,36441:29987,36442:31639,36443:32386,36444:34453,36445:35715,36446:36059,36447:37240,36448:39184,36449:26028,36450:26283,36451:27531,36452:20181,36453:20180,36454:20282,36455:20351,36456:21050,36457:21496,36458:21490,36459:21987,36460:22235,36461:22763,36462:22987,36463:22985,36464:23039,36465:23376,36466:23629,36467:24066,36468:24107,36469:24535,36470:24605,36471:25351,36472:25903,36473:23388,36474:26031,36475:26045,36476:26088,36477:26525,36478:27490,36480:27515,36481:27663,36482:29509,36483:31049,36484:31169,36485:31992,36486:32025,36487:32043,36488:32930,36489:33026,36490:33267,36491:35222,36492:35422,36493:35433,36494:35430,36495:35468,36496:35566,36497:36039,36498:36060,36499:38604,36500:39164,36501:27503,36502:20107,36503:20284,36504:20365,36505:20816,36506:23383,36507:23546,36508:24904,36509:25345,36510:26178,36511:27425,36512:28363,36513:27835,36514:29246,36515:29885,36516:30164,36517:30913,36518:31034,36519:32780,36520:32819,36521:33258,36522:33940,36523:36766,36524:27728,36525:40575,36526:24335,36527:35672,36528:40235,36529:31482,36530:36600,36531:23437,36532:38635,36533:19971,36534:21489,36535:22519,36536:22833,36537:23241,36538:23460,36539:24713,36540:28287,36541:28422,36542:30142,36543:36074,36544:23455,36545:34048,36546:31712,36547:20594,36548:26612,36549:33437,36550:23649,36551:34122,36552:32286,36553:33294,36554:20889,36555:23556,36556:25448,36557:36198,36558:26012,36559:29038,36560:31038,36561:32023,36562:32773,36563:35613,36564:36554,36565:36974,36566:34503,36567:37034,36568:20511,36569:21242,36570:23610,36571:26451,36572:28796,36573:29237,36574:37196,36575:37320,36576:37675,36577:33509,36578:23490,36579:24369,36580:24825,36581:20027,36582:21462,36583:23432,36584:25163,36585:26417,36586:27530,36587:29417,36588:29664,36589:31278,36590:33131,36591:36259,36592:37202,36593:39318,36594:20754,36595:21463,36596:21610,36597:23551,36598:25480,36599:27193,36600:32172,36601:38656,36602:22234,36603:21454,36604:21608,36672:23447,36673:23601,36674:24030,36675:20462,36676:24833,36677:25342,36678:27954,36679:31168,36680:31179,36681:32066,36682:32333,36683:32722,36684:33261,36685:33311,36686:33936,36687:34886,36688:35186,36689:35728,36690:36468,36691:36655,36692:36913,36693:37195,36694:37228,36695:38598,36696:37276,36697:20160,36698:20303,36699:20805,36700:21313,36701:24467,36702:25102,36703:26580,36704:27713,36705:28171,36706:29539,36707:32294,36708:37325,36709:37507,36710:21460,36711:22809,36712:23487,36713:28113,36714:31069,36715:32302,36716:31899,36717:22654,36718:29087,36719:20986,36720:34899,36721:36848,36722:20426,36723:23803,36724:26149,36725:30636,36726:31459,36727:33308,36728:39423,36729:20934,36730:24490,36731:26092,36732:26991,36733:27529,36734:28147,36736:28310,36737:28516,36738:30462,36739:32020,36740:24033,36741:36981,36742:37255,36743:38918,36744:20966,36745:21021,36746:25152,36747:26257,36748:26329,36749:28186,36750:24246,36751:32210,36752:32626,36753:26360,36754:34223,36755:34295,36756:35576,36757:21161,36758:21465,36759:22899,36760:24207,36761:24464,36762:24661,36763:37604,36764:38500,36765:20663,36766:20767,36767:21213,36768:21280,36769:21319,36770:21484,36771:21736,36772:21830,36773:21809,36774:22039,36775:22888,36776:22974,36777:23100,36778:23477,36779:23558,36780:23567,36781:23569,36782:23578,36783:24196,36784:24202,36785:24288,36786:24432,36787:25215,36788:25220,36789:25307,36790:25484,36791:25463,36792:26119,36793:26124,36794:26157,36795:26230,36796:26494,36797:26786,36798:27167,36799:27189,36800:27836,36801:28040,36802:28169,36803:28248,36804:28988,36805:28966,36806:29031,36807:30151,36808:30465,36809:30813,36810:30977,36811:31077,36812:31216,36813:31456,36814:31505,36815:31911,36816:32057,36817:32918,36818:33750,36819:33931,36820:34121,36821:34909,36822:35059,36823:35359,36824:35388,36825:35412,36826:35443,36827:35937,36828:36062,36829:37284,36830:37478,36831:37758,36832:37912,36833:38556,36834:38808,36835:19978,36836:19976,36837:19998,36838:20055,36839:20887,36840:21104,36841:22478,36842:22580,36843:22732,36844:23330,36845:24120,36846:24773,36847:25854,36848:26465,36849:26454,36850:27972,36851:29366,36852:30067,36853:31331,36854:33976,36855:35698,36856:37304,36857:37664,36858:22065,36859:22516,36860:39166,36928:25325,36929:26893,36930:27542,36931:29165,36932:32340,36933:32887,36934:33394,36935:35302,36936:39135,36937:34645,36938:36785,36939:23611,36940:20280,36941:20449,36942:20405,36943:21767,36944:23072,36945:23517,36946:23529,36947:24515,36948:24910,36949:25391,36950:26032,36951:26187,36952:26862,36953:27035,36954:28024,36955:28145,36956:30003,36957:30137,36958:30495,36959:31070,36960:31206,36961:32051,36962:33251,36963:33455,36964:34218,36965:35242,36966:35386,36967:36523,36968:36763,36969:36914,36970:37341,36971:38663,36972:20154,36973:20161,36974:20995,36975:22645,36976:22764,36977:23563,36978:29978,36979:23613,36980:33102,36981:35338,36982:36805,36983:38499,36984:38765,36985:31525,36986:35535,36987:38920,36988:37218,36989:22259,36990:21416,36992:36887,36993:21561,36994:22402,36995:24101,36996:25512,36997:27700,36998:28810,36999:30561,37e3:31883,37001:32736,37002:34928,37003:36930,37004:37204,37005:37648,37006:37656,37007:38543,37008:29790,37009:39620,37010:23815,37011:23913,37012:25968,37013:26530,37014:36264,37015:38619,37016:25454,37017:26441,37018:26905,37019:33733,37020:38935,37021:38592,37022:35070,37023:28548,37024:25722,37025:23544,37026:19990,37027:28716,37028:30045,37029:26159,37030:20932,37031:21046,37032:21218,37033:22995,37034:24449,37035:24615,37036:25104,37037:25919,37038:25972,37039:26143,37040:26228,37041:26866,37042:26646,37043:27491,37044:28165,37045:29298,37046:29983,37047:30427,37048:31934,37049:32854,37050:22768,37051:35069,37052:35199,37053:35488,37054:35475,37055:35531,37056:36893,37057:37266,37058:38738,37059:38745,37060:25993,37061:31246,37062:33030,37063:38587,37064:24109,37065:24796,37066:25114,37067:26021,37068:26132,37069:26512,37070:30707,37071:31309,37072:31821,37073:32318,37074:33034,37075:36012,37076:36196,37077:36321,37078:36447,37079:30889,37080:20999,37081:25305,37082:25509,37083:25666,37084:25240,37085:35373,37086:31363,37087:31680,37088:35500,37089:38634,37090:32118,37091:33292,37092:34633,37093:20185,37094:20808,37095:21315,37096:21344,37097:23459,37098:23554,37099:23574,37100:24029,37101:25126,37102:25159,37103:25776,37104:26643,37105:26676,37106:27849,37107:27973,37108:27927,37109:26579,37110:28508,37111:29006,37112:29053,37113:26059,37114:31359,37115:31661,37116:32218,37184:32330,37185:32680,37186:33146,37187:33307,37188:33337,37189:34214,37190:35438,37191:36046,37192:36341,37193:36984,37194:36983,37195:37549,37196:37521,37197:38275,37198:39854,37199:21069,37200:21892,37201:28472,37202:28982,37203:20840,37204:31109,37205:32341,37206:33203,37207:31950,37208:22092,37209:22609,37210:23720,37211:25514,37212:26366,37213:26365,37214:26970,37215:29401,37216:30095,37217:30094,37218:30990,37219:31062,37220:31199,37221:31895,37222:32032,37223:32068,37224:34311,37225:35380,37226:38459,37227:36961,37228:40736,37229:20711,37230:21109,37231:21452,37232:21474,37233:20489,37234:21930,37235:22766,37236:22863,37237:29245,37238:23435,37239:23652,37240:21277,37241:24803,37242:24819,37243:25436,37244:25475,37245:25407,37246:25531,37248:25805,37249:26089,37250:26361,37251:24035,37252:27085,37253:27133,37254:28437,37255:29157,37256:20105,37257:30185,37258:30456,37259:31379,37260:31967,37261:32207,37262:32156,37263:32865,37264:33609,37265:33624,37266:33900,37267:33980,37268:34299,37269:35013,37270:36208,37271:36865,37272:36973,37273:37783,37274:38684,37275:39442,37276:20687,37277:22679,37278:24974,37279:33235,37280:34101,37281:36104,37282:36896,37283:20419,37284:20596,37285:21063,37286:21363,37287:24687,37288:25417,37289:26463,37290:28204,37291:36275,37292:36895,37293:20439,37294:23646,37295:36042,37296:26063,37297:32154,37298:21330,37299:34966,37300:20854,37301:25539,37302:23384,37303:23403,37304:23562,37305:25613,37306:26449,37307:36956,37308:20182,37309:22810,37310:22826,37311:27760,37312:35409,37313:21822,37314:22549,37315:22949,37316:24816,37317:25171,37318:26561,37319:33333,37320:26965,37321:38464,37322:39364,37323:39464,37324:20307,37325:22534,37326:23550,37327:32784,37328:23729,37329:24111,37330:24453,37331:24608,37332:24907,37333:25140,37334:26367,37335:27888,37336:28382,37337:32974,37338:33151,37339:33492,37340:34955,37341:36024,37342:36864,37343:36910,37344:38538,37345:40667,37346:39899,37347:20195,37348:21488,37349:22823,37350:31532,37351:37261,37352:38988,37353:40441,37354:28381,37355:28711,37356:21331,37357:21828,37358:23429,37359:25176,37360:25246,37361:25299,37362:27810,37363:28655,37364:29730,37365:35351,37366:37944,37367:28609,37368:35582,37369:33592,37370:20967,37371:34552,37372:21482,37440:21481,37441:20294,37442:36948,37443:36784,37444:22890,37445:33073,37446:24061,37447:31466,37448:36799,37449:26842,37450:35895,37451:29432,37452:40008,37453:27197,37454:35504,37455:20025,37456:21336,37457:22022,37458:22374,37459:25285,37460:25506,37461:26086,37462:27470,37463:28129,37464:28251,37465:28845,37466:30701,37467:31471,37468:31658,37469:32187,37470:32829,37471:32966,37472:34507,37473:35477,37474:37723,37475:22243,37476:22727,37477:24382,37478:26029,37479:26262,37480:27264,37481:27573,37482:30007,37483:35527,37484:20516,37485:30693,37486:22320,37487:24347,37488:24677,37489:26234,37490:27744,37491:30196,37492:31258,37493:32622,37494:33268,37495:34584,37496:36933,37497:39347,37498:31689,37499:30044,37500:31481,37501:31569,37502:33988,37504:36880,37505:31209,37506:31378,37507:33590,37508:23265,37509:30528,37510:20013,37511:20210,37512:23449,37513:24544,37514:25277,37515:26172,37516:26609,37517:27880,37518:34411,37519:34935,37520:35387,37521:37198,37522:37619,37523:39376,37524:27159,37525:28710,37526:29482,37527:33511,37528:33879,37529:36015,37530:19969,37531:20806,37532:20939,37533:21899,37534:23541,37535:24086,37536:24115,37537:24193,37538:24340,37539:24373,37540:24427,37541:24500,37542:25074,37543:25361,37544:26274,37545:26397,37546:28526,37547:29266,37548:30010,37549:30522,37550:32884,37551:33081,37552:33144,37553:34678,37554:35519,37555:35548,37556:36229,37557:36339,37558:37530,37559:38263,37560:38914,37561:40165,37562:21189,37563:25431,37564:30452,37565:26389,37566:27784,37567:29645,37568:36035,37569:37806,37570:38515,37571:27941,37572:22684,37573:26894,37574:27084,37575:36861,37576:37786,37577:30171,37578:36890,37579:22618,37580:26626,37581:25524,37582:27131,37583:20291,37584:28460,37585:26584,37586:36795,37587:34086,37588:32180,37589:37716,37590:26943,37591:28528,37592:22378,37593:22775,37594:23340,37595:32044,37596:29226,37597:21514,37598:37347,37599:40372,37600:20141,37601:20302,37602:20572,37603:20597,37604:21059,37605:35998,37606:21576,37607:22564,37608:23450,37609:24093,37610:24213,37611:24237,37612:24311,37613:24351,37614:24716,37615:25269,37616:25402,37617:25552,37618:26799,37619:27712,37620:30855,37621:31118,37622:31243,37623:32224,37624:33351,37625:35330,37626:35558,37627:36420,37628:36883,37696:37048,37697:37165,37698:37336,37699:40718,37700:27877,37701:25688,37702:25826,37703:25973,37704:28404,37705:30340,37706:31515,37707:36969,37708:37841,37709:28346,37710:21746,37711:24505,37712:25764,37713:36685,37714:36845,37715:37444,37716:20856,37717:22635,37718:22825,37719:23637,37720:24215,37721:28155,37722:32399,37723:29980,37724:36028,37725:36578,37726:39003,37727:28857,37728:20253,37729:27583,37730:28593,37731:3e4,37732:38651,37733:20814,37734:21520,37735:22581,37736:22615,37737:22956,37738:23648,37739:24466,37740:26007,37741:26460,37742:28193,37743:30331,37744:33759,37745:36077,37746:36884,37747:37117,37748:37709,37749:30757,37750:30778,37751:21162,37752:24230,37753:22303,37754:22900,37755:24594,37756:20498,37757:20826,37758:20908,37760:20941,37761:20992,37762:21776,37763:22612,37764:22616,37765:22871,37766:23445,37767:23798,37768:23947,37769:24764,37770:25237,37771:25645,37772:26481,37773:26691,37774:26812,37775:26847,37776:30423,37777:28120,37778:28271,37779:28059,37780:28783,37781:29128,37782:24403,37783:30168,37784:31095,37785:31561,37786:31572,37787:31570,37788:31958,37789:32113,37790:21040,37791:33891,37792:34153,37793:34276,37794:35342,37795:35588,37796:35910,37797:36367,37798:36867,37799:36879,37800:37913,37801:38518,37802:38957,37803:39472,37804:38360,37805:20685,37806:21205,37807:21516,37808:22530,37809:23566,37810:24999,37811:25758,37812:27934,37813:30643,37814:31461,37815:33012,37816:33796,37817:36947,37818:37509,37819:23776,37820:40199,37821:21311,37822:24471,37823:24499,37824:28060,37825:29305,37826:30563,37827:31167,37828:31716,37829:27602,37830:29420,37831:35501,37832:26627,37833:27233,37834:20984,37835:31361,37836:26932,37837:23626,37838:40182,37839:33515,37840:23493,37841:37193,37842:28702,37843:22136,37844:23663,37845:24775,37846:25958,37847:27788,37848:35930,37849:36929,37850:38931,37851:21585,37852:26311,37853:37389,37854:22856,37855:37027,37856:20869,37857:20045,37858:20970,37859:34201,37860:35598,37861:28760,37862:25466,37863:37707,37864:26978,37865:39348,37866:32260,37867:30071,37868:21335,37869:26976,37870:36575,37871:38627,37872:27741,37873:20108,37874:23612,37875:24336,37876:36841,37877:21250,37878:36049,37879:32905,37880:34425,37881:24319,37882:26085,37883:20083,37884:20837,37952:22914,37953:23615,37954:38894,37955:20219,37956:22922,37957:24525,37958:35469,37959:28641,37960:31152,37961:31074,37962:23527,37963:33905,37964:29483,37965:29105,37966:24180,37967:24565,37968:25467,37969:25754,37970:29123,37971:31896,37972:20035,37973:24316,37974:20043,37975:22492,37976:22178,37977:24745,37978:28611,37979:32013,37980:33021,37981:33075,37982:33215,37983:36786,37984:35223,37985:34468,37986:24052,37987:25226,37988:25773,37989:35207,37990:26487,37991:27874,37992:27966,37993:29750,37994:30772,37995:23110,37996:32629,37997:33453,37998:39340,37999:20467,38e3:24259,38001:25309,38002:25490,38003:25943,38004:26479,38005:30403,38006:29260,38007:32972,38008:32954,38009:36649,38010:37197,38011:20493,38012:22521,38013:23186,38014:26757,38016:26995,38017:29028,38018:29437,38019:36023,38020:22770,38021:36064,38022:38506,38023:36889,38024:34687,38025:31204,38026:30695,38027:33833,38028:20271,38029:21093,38030:21338,38031:25293,38032:26575,38033:27850,38034:30333,38035:31636,38036:31893,38037:33334,38038:34180,38039:36843,38040:26333,38041:28448,38042:29190,38043:32283,38044:33707,38045:39361,38046:40614,38047:20989,38048:31665,38049:30834,38050:31672,38051:32903,38052:31560,38053:27368,38054:24161,38055:32908,38056:30033,38057:30048,38058:20843,38059:37474,38060:28300,38061:30330,38062:37271,38063:39658,38064:20240,38065:32624,38066:25244,38067:31567,38068:38309,38069:40169,38070:22138,38071:22617,38072:34532,38073:38588,38074:20276,38075:21028,38076:21322,38077:21453,38078:21467,38079:24070,38080:25644,38081:26001,38082:26495,38083:27710,38084:27726,38085:29256,38086:29359,38087:29677,38088:30036,38089:32321,38090:33324,38091:34281,38092:36009,38093:31684,38094:37318,38095:29033,38096:38930,38097:39151,38098:25405,38099:26217,38100:30058,38101:30436,38102:30928,38103:34115,38104:34542,38105:21290,38106:21329,38107:21542,38108:22915,38109:24199,38110:24444,38111:24754,38112:25161,38113:25209,38114:25259,38115:26e3,38116:27604,38117:27852,38118:30130,38119:30382,38120:30865,38121:31192,38122:32203,38123:32631,38124:32933,38125:34987,38126:35513,38127:36027,38128:36991,38129:38750,38130:39131,38131:27147,38132:31800,38133:20633,38134:23614,38135:24494,38136:26503,38137:27608,38138:29749,38139:30473,38140:32654,38208:40763,38209:26570,38210:31255,38211:21305,38212:30091,38213:39661,38214:24422,38215:33181,38216:33777,38217:32920,38218:24380,38219:24517,38220:30050,38221:31558,38222:36924,38223:26727,38224:23019,38225:23195,38226:32016,38227:30334,38228:35628,38229:20469,38230:24426,38231:27161,38232:27703,38233:28418,38234:29922,38235:31080,38236:34920,38237:35413,38238:35961,38239:24287,38240:25551,38241:30149,38242:31186,38243:33495,38244:37672,38245:37618,38246:33948,38247:34541,38248:39981,38249:21697,38250:24428,38251:25996,38252:27996,38253:28693,38254:36007,38255:36051,38256:38971,38257:25935,38258:29942,38259:19981,38260:20184,38261:22496,38262:22827,38263:23142,38264:23500,38265:20904,38266:24067,38267:24220,38268:24598,38269:25206,38270:25975,38272:26023,38273:26222,38274:28014,38275:29238,38276:31526,38277:33104,38278:33178,38279:33433,38280:35676,38281:36e3,38282:36070,38283:36212,38284:38428,38285:38468,38286:20398,38287:25771,38288:27494,38289:33310,38290:33889,38291:34154,38292:37096,38293:23553,38294:26963,38295:39080,38296:33914,38297:34135,38298:20239,38299:21103,38300:24489,38301:24133,38302:26381,38303:31119,38304:33145,38305:35079,38306:35206,38307:28149,38308:24343,38309:25173,38310:27832,38311:20175,38312:29289,38313:39826,38314:20998,38315:21563,38316:22132,38317:22707,38318:24996,38319:25198,38320:28954,38321:22894,38322:31881,38323:31966,38324:32027,38325:38640,38326:25991,38327:32862,38328:19993,38329:20341,38330:20853,38331:22592,38332:24163,38333:24179,38334:24330,38335:26564,38336:20006,38337:34109,38338:38281,38339:38491,38340:31859,38341:38913,38342:20731,38343:22721,38344:30294,38345:30887,38346:21029,38347:30629,38348:34065,38349:31622,38350:20559,38351:22793,38352:29255,38353:31687,38354:32232,38355:36794,38356:36820,38357:36941,38358:20415,38359:21193,38360:23081,38361:24321,38362:38829,38363:20445,38364:33303,38365:37610,38366:22275,38367:25429,38368:27497,38369:29995,38370:35036,38371:36628,38372:31298,38373:21215,38374:22675,38375:24917,38376:25098,38377:26286,38378:27597,38379:31807,38380:33769,38381:20515,38382:20472,38383:21253,38384:21574,38385:22577,38386:22857,38387:23453,38388:23792,38389:23791,38390:23849,38391:24214,38392:25265,38393:25447,38394:25918,38395:26041,38396:26379,38464:27861,38465:27873,38466:28921,38467:30770,38468:32299,38469:32990,38470:33459,38471:33804,38472:34028,38473:34562,38474:35090,38475:35370,38476:35914,38477:37030,38478:37586,38479:39165,38480:40179,38481:40300,38482:20047,38483:20129,38484:20621,38485:21078,38486:22346,38487:22952,38488:24125,38489:24536,38490:24537,38491:25151,38492:26292,38493:26395,38494:26576,38495:26834,38496:20882,38497:32033,38498:32938,38499:33192,38500:35584,38501:35980,38502:36031,38503:37502,38504:38450,38505:21536,38506:38956,38507:21271,38508:20693,38509:21340,38510:22696,38511:25778,38512:26420,38513:29287,38514:30566,38515:31302,38516:37350,38517:21187,38518:27809,38519:27526,38520:22528,38521:24140,38522:22868,38523:26412,38524:32763,38525:20961,38526:30406,38528:25705,38529:30952,38530:39764,38531:40635,38532:22475,38533:22969,38534:26151,38535:26522,38536:27598,38537:21737,38538:27097,38539:24149,38540:33180,38541:26517,38542:39850,38543:26622,38544:40018,38545:26717,38546:20134,38547:20451,38548:21448,38549:25273,38550:26411,38551:27819,38552:36804,38553:20397,38554:32365,38555:40639,38556:19975,38557:24930,38558:28288,38559:28459,38560:34067,38561:21619,38562:26410,38563:39749,38564:24051,38565:31637,38566:23724,38567:23494,38568:34588,38569:28234,38570:34001,38571:31252,38572:33032,38573:22937,38574:31885,38575:27665,38576:30496,38577:21209,38578:22818,38579:28961,38580:29279,38581:30683,38582:38695,38583:40289,38584:26891,38585:23167,38586:23064,38587:20901,38588:21517,38589:21629,38590:26126,38591:30431,38592:36855,38593:37528,38594:40180,38595:23018,38596:29277,38597:28357,38598:20813,38599:26825,38600:32191,38601:32236,38602:38754,38603:40634,38604:25720,38605:27169,38606:33538,38607:22916,38608:23391,38609:27611,38610:29467,38611:30450,38612:32178,38613:32791,38614:33945,38615:20786,38616:26408,38617:40665,38618:30446,38619:26466,38620:21247,38621:39173,38622:23588,38623:25147,38624:31870,38625:36016,38626:21839,38627:24758,38628:32011,38629:38272,38630:21249,38631:20063,38632:20918,38633:22812,38634:29242,38635:32822,38636:37326,38637:24357,38638:30690,38639:21380,38640:24441,38641:32004,38642:34220,38643:35379,38644:36493,38645:38742,38646:26611,38647:34222,38648:37971,38649:24841,38650:24840,38651:27833,38652:30290,38720:35565,38721:36664,38722:21807,38723:20305,38724:20778,38725:21191,38726:21451,38727:23461,38728:24189,38729:24736,38730:24962,38731:25558,38732:26377,38733:26586,38734:28263,38735:28044,38736:29494,38737:29495,38738:30001,38739:31056,38740:35029,38741:35480,38742:36938,38743:37009,38744:37109,38745:38596,38746:34701,38747:22805,38748:20104,38749:20313,38750:19982,38751:35465,38752:36671,38753:38928,38754:20653,38755:24188,38756:22934,38757:23481,38758:24248,38759:25562,38760:25594,38761:25793,38762:26332,38763:26954,38764:27096,38765:27915,38766:28342,38767:29076,38768:29992,38769:31407,38770:32650,38771:32768,38772:33865,38773:33993,38774:35201,38775:35617,38776:36362,38777:36965,38778:38525,38779:39178,38780:24958,38781:25233,38782:27442,38784:27779,38785:28020,38786:32716,38787:32764,38788:28096,38789:32645,38790:34746,38791:35064,38792:26469,38793:33713,38794:38972,38795:38647,38796:27931,38797:32097,38798:33853,38799:37226,38800:20081,38801:21365,38802:23888,38803:27396,38804:28651,38805:34253,38806:34349,38807:35239,38808:21033,38809:21519,38810:23653,38811:26446,38812:26792,38813:29702,38814:29827,38815:30178,38816:35023,38817:35041,38818:37324,38819:38626,38820:38520,38821:24459,38822:29575,38823:31435,38824:33870,38825:25504,38826:30053,38827:21129,38828:27969,38829:28316,38830:29705,38831:30041,38832:30827,38833:31890,38834:38534,38835:31452,38836:40845,38837:20406,38838:24942,38839:26053,38840:34396,38841:20102,38842:20142,38843:20698,38844:20001,38845:20940,38846:23534,38847:26009,38848:26753,38849:28092,38850:29471,38851:30274,38852:30637,38853:31260,38854:31975,38855:33391,38856:35538,38857:36988,38858:37327,38859:38517,38860:38936,38861:21147,38862:32209,38863:20523,38864:21400,38865:26519,38866:28107,38867:29136,38868:29747,38869:33256,38870:36650,38871:38563,38872:40023,38873:40607,38874:29792,38875:22593,38876:28057,38877:32047,38878:39006,38879:20196,38880:20278,38881:20363,38882:20919,38883:21169,38884:23994,38885:24604,38886:29618,38887:31036,38888:33491,38889:37428,38890:38583,38891:38646,38892:38666,38893:40599,38894:40802,38895:26278,38896:27508,38897:21015,38898:21155,38899:28872,38900:35010,38901:24265,38902:24651,38903:24976,38904:28451,38905:29001,38906:31806,38907:32244,38908:32879,38976:34030,38977:36899,38978:37676,38979:21570,38980:39791,38981:27347,38982:28809,38983:36034,38984:36335,38985:38706,38986:21172,38987:23105,38988:24266,38989:24324,38990:26391,38991:27004,38992:27028,38993:28010,38994:28431,38995:29282,38996:29436,38997:31725,38998:32769,38999:32894,39e3:34635,39001:37070,39002:20845,39003:40595,39004:31108,39005:32907,39006:37682,39007:35542,39008:20525,39009:21644,39010:35441,39011:27498,39012:36036,39013:33031,39014:24785,39015:26528,39016:40434,39017:20121,39018:20120,39019:39952,39020:35435,39021:34241,39022:34152,39023:26880,39024:28286,39025:30871,39026:33109,39071:24332,39072:19984,39073:19989,39074:20010,39075:20017,39076:20022,39077:20028,39078:20031,39079:20034,39080:20054,39081:20056,39082:20098,39083:20101,39084:35947,39085:20106,39086:33298,39087:24333,39088:20110,39089:20126,39090:20127,39091:20128,39092:20130,39093:20144,39094:20147,39095:20150,39096:20174,39097:20173,39098:20164,39099:20166,39100:20162,39101:20183,39102:20190,39103:20205,39104:20191,39105:20215,39106:20233,39107:20314,39108:20272,39109:20315,39110:20317,39111:20311,39112:20295,39113:20342,39114:20360,39115:20367,39116:20376,39117:20347,39118:20329,39119:20336,39120:20369,39121:20335,39122:20358,39123:20374,39124:20760,39125:20436,39126:20447,39127:20430,39128:20440,39129:20443,39130:20433,39131:20442,39132:20432,39133:20452,39134:20453,39135:20506,39136:20520,39137:20500,39138:20522,39139:20517,39140:20485,39141:20252,39142:20470,39143:20513,39144:20521,39145:20524,39146:20478,39147:20463,39148:20497,39149:20486,39150:20547,39151:20551,39152:26371,39153:20565,39154:20560,39155:20552,39156:20570,39157:20566,39158:20588,39159:20600,39160:20608,39161:20634,39162:20613,39163:20660,39164:20658,39232:20681,39233:20682,39234:20659,39235:20674,39236:20694,39237:20702,39238:20709,39239:20717,39240:20707,39241:20718,39242:20729,39243:20725,39244:20745,39245:20737,39246:20738,39247:20758,39248:20757,39249:20756,39250:20762,39251:20769,39252:20794,39253:20791,39254:20796,39255:20795,39256:20799,39257:20800,39258:20818,39259:20812,39260:20820,39261:20834,39262:31480,39263:20841,39264:20842,39265:20846,39266:20864,39267:20866,39268:22232,39269:20876,39270:20873,39271:20879,39272:20881,39273:20883,39274:20885,39275:20886,39276:20900,39277:20902,39278:20898,39279:20905,39280:20906,39281:20907,39282:20915,39283:20913,39284:20914,39285:20912,39286:20917,39287:20925,39288:20933,39289:20937,39290:20955,39291:20960,39292:34389,39293:20969,39294:20973,39296:20976,39297:20981,39298:20990,39299:20996,39300:21003,39301:21012,39302:21006,39303:21031,39304:21034,39305:21038,39306:21043,39307:21049,39308:21071,39309:21060,39310:21067,39311:21068,39312:21086,39313:21076,39314:21098,39315:21108,39316:21097,39317:21107,39318:21119,39319:21117,39320:21133,39321:21140,39322:21138,39323:21105,39324:21128,39325:21137,39326:36776,39327:36775,39328:21164,39329:21165,39330:21180,39331:21173,39332:21185,39333:21197,39334:21207,39335:21214,39336:21219,39337:21222,39338:39149,39339:21216,39340:21235,39341:21237,39342:21240,39343:21241,39344:21254,39345:21256,39346:30008,39347:21261,39348:21264,39349:21263,39350:21269,39351:21274,39352:21283,39353:21295,39354:21297,39355:21299,39356:21304,39357:21312,39358:21318,39359:21317,39360:19991,39361:21321,39362:21325,39363:20950,39364:21342,39365:21353,39366:21358,39367:22808,39368:21371,39369:21367,39370:21378,39371:21398,39372:21408,39373:21414,39374:21413,39375:21422,39376:21424,39377:21430,39378:21443,39379:31762,39380:38617,39381:21471,39382:26364,39383:29166,39384:21486,39385:21480,39386:21485,39387:21498,39388:21505,39389:21565,39390:21568,39391:21548,39392:21549,39393:21564,39394:21550,39395:21558,39396:21545,39397:21533,39398:21582,39399:21647,39400:21621,39401:21646,39402:21599,39403:21617,39404:21623,39405:21616,39406:21650,39407:21627,39408:21632,39409:21622,39410:21636,39411:21648,39412:21638,39413:21703,39414:21666,39415:21688,39416:21669,39417:21676,39418:21700,39419:21704,39420:21672,39488:21675,39489:21698,39490:21668,39491:21694,39492:21692,39493:21720,39494:21733,39495:21734,39496:21775,39497:21780,39498:21757,39499:21742,39500:21741,39501:21754,39502:21730,39503:21817,39504:21824,39505:21859,39506:21836,39507:21806,39508:21852,39509:21829,39510:21846,39511:21847,39512:21816,39513:21811,39514:21853,39515:21913,39516:21888,39517:21679,39518:21898,39519:21919,39520:21883,39521:21886,39522:21912,39523:21918,39524:21934,39525:21884,39526:21891,39527:21929,39528:21895,39529:21928,39530:21978,39531:21957,39532:21983,39533:21956,39534:21980,39535:21988,39536:21972,39537:22036,39538:22007,39539:22038,39540:22014,39541:22013,39542:22043,39543:22009,39544:22094,39545:22096,39546:29151,39547:22068,39548:22070,39549:22066,39550:22072,39552:22123,39553:22116,39554:22063,39555:22124,39556:22122,39557:22150,39558:22144,39559:22154,39560:22176,39561:22164,39562:22159,39563:22181,39564:22190,39565:22198,39566:22196,39567:22210,39568:22204,39569:22209,39570:22211,39571:22208,39572:22216,39573:22222,39574:22225,39575:22227,39576:22231,39577:22254,39578:22265,39579:22272,39580:22271,39581:22276,39582:22281,39583:22280,39584:22283,39585:22285,39586:22291,39587:22296,39588:22294,39589:21959,39590:22300,39591:22310,39592:22327,39593:22328,39594:22350,39595:22331,39596:22336,39597:22351,39598:22377,39599:22464,39600:22408,39601:22369,39602:22399,39603:22409,39604:22419,39605:22432,39606:22451,39607:22436,39608:22442,39609:22448,39610:22467,39611:22470,39612:22484,39613:22482,39614:22483,39615:22538,39616:22486,39617:22499,39618:22539,39619:22553,39620:22557,39621:22642,39622:22561,39623:22626,39624:22603,39625:22640,39626:27584,39627:22610,39628:22589,39629:22649,39630:22661,39631:22713,39632:22687,39633:22699,39634:22714,39635:22750,39636:22715,39637:22712,39638:22702,39639:22725,39640:22739,39641:22737,39642:22743,39643:22745,39644:22744,39645:22757,39646:22748,39647:22756,39648:22751,39649:22767,39650:22778,39651:22777,39652:22779,39653:22780,39654:22781,39655:22786,39656:22794,39657:22800,39658:22811,39659:26790,39660:22821,39661:22828,39662:22829,39663:22834,39664:22840,39665:22846,39666:31442,39667:22869,39668:22864,39669:22862,39670:22874,39671:22872,39672:22882,39673:22880,39674:22887,39675:22892,39676:22889,39744:22904,39745:22913,39746:22941,39747:20318,39748:20395,39749:22947,39750:22962,39751:22982,39752:23016,39753:23004,39754:22925,39755:23001,39756:23002,39757:23077,39758:23071,39759:23057,39760:23068,39761:23049,39762:23066,39763:23104,39764:23148,39765:23113,39766:23093,39767:23094,39768:23138,39769:23146,39770:23194,39771:23228,39772:23230,39773:23243,39774:23234,39775:23229,39776:23267,39777:23255,39778:23270,39779:23273,39780:23254,39781:23290,39782:23291,39783:23308,39784:23307,39785:23318,39786:23346,39787:23248,39788:23338,39789:23350,39790:23358,39791:23363,39792:23365,39793:23360,39794:23377,39795:23381,39796:23386,39797:23387,39798:23397,39799:23401,39800:23408,39801:23411,39802:23413,39803:23416,39804:25992,39805:23418,39806:23424,39808:23427,39809:23462,39810:23480,39811:23491,39812:23495,39813:23497,39814:23508,39815:23504,39816:23524,39817:23526,39818:23522,39819:23518,39820:23525,39821:23531,39822:23536,39823:23542,39824:23539,39825:23557,39826:23559,39827:23560,39828:23565,39829:23571,39830:23584,39831:23586,39832:23592,39833:23608,39834:23609,39835:23617,39836:23622,39837:23630,39838:23635,39839:23632,39840:23631,39841:23409,39842:23660,39843:23662,39844:20066,39845:23670,39846:23673,39847:23692,39848:23697,39849:23700,39850:22939,39851:23723,39852:23739,39853:23734,39854:23740,39855:23735,39856:23749,39857:23742,39858:23751,39859:23769,39860:23785,39861:23805,39862:23802,39863:23789,39864:23948,39865:23786,39866:23819,39867:23829,39868:23831,39869:23900,39870:23839,39871:23835,39872:23825,39873:23828,39874:23842,39875:23834,39876:23833,39877:23832,39878:23884,39879:23890,39880:23886,39881:23883,39882:23916,39883:23923,39884:23926,39885:23943,39886:23940,39887:23938,39888:23970,39889:23965,39890:23980,39891:23982,39892:23997,39893:23952,39894:23991,39895:23996,39896:24009,39897:24013,39898:24019,39899:24018,39900:24022,39901:24027,39902:24043,39903:24050,39904:24053,39905:24075,39906:24090,39907:24089,39908:24081,39909:24091,39910:24118,39911:24119,39912:24132,39913:24131,39914:24128,39915:24142,39916:24151,39917:24148,39918:24159,39919:24162,39920:24164,39921:24135,39922:24181,39923:24182,39924:24186,39925:40636,39926:24191,39927:24224,39928:24257,39929:24258,39930:24264,39931:24272,39932:24271,4e4:24278,40001:24291,40002:24285,40003:24282,40004:24283,40005:24290,40006:24289,40007:24296,40008:24297,40009:24300,40010:24305,40011:24307,40012:24304,40013:24308,40014:24312,40015:24318,40016:24323,40017:24329,40018:24413,40019:24412,40020:24331,40021:24337,40022:24342,40023:24361,40024:24365,40025:24376,40026:24385,40027:24392,40028:24396,40029:24398,40030:24367,40031:24401,40032:24406,40033:24407,40034:24409,40035:24417,40036:24429,40037:24435,40038:24439,40039:24451,40040:24450,40041:24447,40042:24458,40043:24456,40044:24465,40045:24455,40046:24478,40047:24473,40048:24472,40049:24480,40050:24488,40051:24493,40052:24508,40053:24534,40054:24571,40055:24548,40056:24568,40057:24561,40058:24541,40059:24755,40060:24575,40061:24609,40062:24672,40064:24601,40065:24592,40066:24617,40067:24590,40068:24625,40069:24603,40070:24597,40071:24619,40072:24614,40073:24591,40074:24634,40075:24666,40076:24641,40077:24682,40078:24695,40079:24671,40080:24650,40081:24646,40082:24653,40083:24675,40084:24643,40085:24676,40086:24642,40087:24684,40088:24683,40089:24665,40090:24705,40091:24717,40092:24807,40093:24707,40094:24730,40095:24708,40096:24731,40097:24726,40098:24727,40099:24722,40100:24743,40101:24715,40102:24801,40103:24760,40104:24800,40105:24787,40106:24756,40107:24560,40108:24765,40109:24774,40110:24757,40111:24792,40112:24909,40113:24853,40114:24838,40115:24822,40116:24823,40117:24832,40118:24820,40119:24826,40120:24835,40121:24865,40122:24827,40123:24817,40124:24845,40125:24846,40126:24903,40127:24894,40128:24872,40129:24871,40130:24906,40131:24895,40132:24892,40133:24876,40134:24884,40135:24893,40136:24898,40137:24900,40138:24947,40139:24951,40140:24920,40141:24921,40142:24922,40143:24939,40144:24948,40145:24943,40146:24933,40147:24945,40148:24927,40149:24925,40150:24915,40151:24949,40152:24985,40153:24982,40154:24967,40155:25004,40156:24980,40157:24986,40158:24970,40159:24977,40160:25003,40161:25006,40162:25036,40163:25034,40164:25033,40165:25079,40166:25032,40167:25027,40168:25030,40169:25018,40170:25035,40171:32633,40172:25037,40173:25062,40174:25059,40175:25078,40176:25082,40177:25076,40178:25087,40179:25085,40180:25084,40181:25086,40182:25088,40183:25096,40184:25097,40185:25101,40186:25100,40187:25108,40188:25115,40256:25118,40257:25121,40258:25130,40259:25134,40260:25136,40261:25138,40262:25139,40263:25153,40264:25166,40265:25182,40266:25187,40267:25179,40268:25184,40269:25192,40270:25212,40271:25218,40272:25225,40273:25214,40274:25234,40275:25235,40276:25238,40277:25300,40278:25219,40279:25236,40280:25303,40281:25297,40282:25275,40283:25295,40284:25343,40285:25286,40286:25812,40287:25288,40288:25308,40289:25292,40290:25290,40291:25282,40292:25287,40293:25243,40294:25289,40295:25356,40296:25326,40297:25329,40298:25383,40299:25346,40300:25352,40301:25327,40302:25333,40303:25424,40304:25406,40305:25421,40306:25628,40307:25423,40308:25494,40309:25486,40310:25472,40311:25515,40312:25462,40313:25507,40314:25487,40315:25481,40316:25503,40317:25525,40318:25451,40320:25449,40321:25534,40322:25577,40323:25536,40324:25542,40325:25571,40326:25545,40327:25554,40328:25590,40329:25540,40330:25622,40331:25652,40332:25606,40333:25619,40334:25638,40335:25654,40336:25885,40337:25623,40338:25640,40339:25615,40340:25703,40341:25711,40342:25718,40343:25678,40344:25898,40345:25749,40346:25747,40347:25765,40348:25769,40349:25736,40350:25788,40351:25818,40352:25810,40353:25797,40354:25799,40355:25787,40356:25816,40357:25794,40358:25841,40359:25831,40360:33289,40361:25824,40362:25825,40363:25260,40364:25827,40365:25839,40366:25900,40367:25846,40368:25844,40369:25842,40370:25850,40371:25856,40372:25853,40373:25880,40374:25884,40375:25861,40376:25892,40377:25891,40378:25899,40379:25908,40380:25909,40381:25911,40382:25910,40383:25912,40384:30027,40385:25928,40386:25942,40387:25941,40388:25933,40389:25944,40390:25950,40391:25949,40392:25970,40393:25976,40394:25986,40395:25987,40396:35722,40397:26011,40398:26015,40399:26027,40400:26039,40401:26051,40402:26054,40403:26049,40404:26052,40405:26060,40406:26066,40407:26075,40408:26073,40409:26080,40410:26081,40411:26097,40412:26482,40413:26122,40414:26115,40415:26107,40416:26483,40417:26165,40418:26166,40419:26164,40420:26140,40421:26191,40422:26180,40423:26185,40424:26177,40425:26206,40426:26205,40427:26212,40428:26215,40429:26216,40430:26207,40431:26210,40432:26224,40433:26243,40434:26248,40435:26254,40436:26249,40437:26244,40438:26264,40439:26269,40440:26305,40441:26297,40442:26313,40443:26302,40444:26300,40512:26308,40513:26296,40514:26326,40515:26330,40516:26336,40517:26175,40518:26342,40519:26345,40520:26352,40521:26357,40522:26359,40523:26383,40524:26390,40525:26398,40526:26406,40527:26407,40528:38712,40529:26414,40530:26431,40531:26422,40532:26433,40533:26424,40534:26423,40535:26438,40536:26462,40537:26464,40538:26457,40539:26467,40540:26468,40541:26505,40542:26480,40543:26537,40544:26492,40545:26474,40546:26508,40547:26507,40548:26534,40549:26529,40550:26501,40551:26551,40552:26607,40553:26548,40554:26604,40555:26547,40556:26601,40557:26552,40558:26596,40559:26590,40560:26589,40561:26594,40562:26606,40563:26553,40564:26574,40565:26566,40566:26599,40567:27292,40568:26654,40569:26694,40570:26665,40571:26688,40572:26701,40573:26674,40574:26702,40576:26803,40577:26667,40578:26713,40579:26723,40580:26743,40581:26751,40582:26783,40583:26767,40584:26797,40585:26772,40586:26781,40587:26779,40588:26755,40589:27310,40590:26809,40591:26740,40592:26805,40593:26784,40594:26810,40595:26895,40596:26765,40597:26750,40598:26881,40599:26826,40600:26888,40601:26840,40602:26914,40603:26918,40604:26849,40605:26892,40606:26829,40607:26836,40608:26855,40609:26837,40610:26934,40611:26898,40612:26884,40613:26839,40614:26851,40615:26917,40616:26873,40617:26848,40618:26863,40619:26920,40620:26922,40621:26906,40622:26915,40623:26913,40624:26822,40625:27001,40626:26999,40627:26972,40628:27e3,40629:26987,40630:26964,40631:27006,40632:26990,40633:26937,40634:26996,40635:26941,40636:26969,40637:26928,40638:26977,40639:26974,40640:26973,40641:27009,40642:26986,40643:27058,40644:27054,40645:27088,40646:27071,40647:27073,40648:27091,40649:27070,40650:27086,40651:23528,40652:27082,40653:27101,40654:27067,40655:27075,40656:27047,40657:27182,40658:27025,40659:27040,40660:27036,40661:27029,40662:27060,40663:27102,40664:27112,40665:27138,40666:27163,40667:27135,40668:27402,40669:27129,40670:27122,40671:27111,40672:27141,40673:27057,40674:27166,40675:27117,40676:27156,40677:27115,40678:27146,40679:27154,40680:27329,40681:27171,40682:27155,40683:27204,40684:27148,40685:27250,40686:27190,40687:27256,40688:27207,40689:27234,40690:27225,40691:27238,40692:27208,40693:27192,40694:27170,40695:27280,40696:27277,40697:27296,40698:27268,40699:27298,40700:27299,40768:27287,40769:34327,40770:27323,40771:27331,40772:27330,40773:27320,40774:27315,40775:27308,40776:27358,40777:27345,40778:27359,40779:27306,40780:27354,40781:27370,40782:27387,40783:27397,40784:34326,40785:27386,40786:27410,40787:27414,40788:39729,40789:27423,40790:27448,40791:27447,40792:30428,40793:27449,40794:39150,40795:27463,40796:27459,40797:27465,40798:27472,40799:27481,40800:27476,40801:27483,40802:27487,40803:27489,40804:27512,40805:27513,40806:27519,40807:27520,40808:27524,40809:27523,40810:27533,40811:27544,40812:27541,40813:27550,40814:27556,40815:27562,40816:27563,40817:27567,40818:27570,40819:27569,40820:27571,40821:27575,40822:27580,40823:27590,40824:27595,40825:27603,40826:27615,40827:27628,40828:27627,40829:27635,40830:27631,40832:40638,40833:27656,40834:27667,40835:27668,40836:27675,40837:27684,40838:27683,40839:27742,40840:27733,40841:27746,40842:27754,40843:27778,40844:27789,40845:27802,40846:27777,40847:27803,40848:27774,40849:27752,40850:27763,40851:27794,40852:27792,40853:27844,40854:27889,40855:27859,40856:27837,40857:27863,40858:27845,40859:27869,40860:27822,40861:27825,40862:27838,40863:27834,40864:27867,40865:27887,40866:27865,40867:27882,40868:27935,40869:34893,40870:27958,40871:27947,40872:27965,40873:27960,40874:27929,40875:27957,40876:27955,40877:27922,40878:27916,40879:28003,40880:28051,40881:28004,40882:27994,40883:28025,40884:27993,40885:28046,40886:28053,40887:28644,40888:28037,40889:28153,40890:28181,40891:28170,40892:28085,40893:28103,40894:28134,40895:28088,40896:28102,40897:28140,40898:28126,40899:28108,40900:28136,40901:28114,40902:28101,40903:28154,40904:28121,40905:28132,40906:28117,40907:28138,40908:28142,40909:28205,40910:28270,40911:28206,40912:28185,40913:28274,40914:28255,40915:28222,40916:28195,40917:28267,40918:28203,40919:28278,40920:28237,40921:28191,40922:28227,40923:28218,40924:28238,40925:28196,40926:28415,40927:28189,40928:28216,40929:28290,40930:28330,40931:28312,40932:28361,40933:28343,40934:28371,40935:28349,40936:28335,40937:28356,40938:28338,40939:28372,40940:28373,40941:28303,40942:28325,40943:28354,40944:28319,40945:28481,40946:28433,40947:28748,40948:28396,40949:28408,40950:28414,40951:28479,40952:28402,40953:28465,40954:28399,40955:28466,40956:28364,161:65377,162:65378,163:65379,164:65380,165:65381,166:65382,167:65383,168:65384,169:65385,170:65386,171:65387,172:65388,173:65389,174:65390,175:65391,176:65392,177:65393,178:65394,179:65395,180:65396,181:65397,182:65398,183:65399,184:65400,185:65401,186:65402,187:65403,188:65404,189:65405,190:65406,191:65407,192:65408,193:65409,194:65410,195:65411,196:65412,197:65413,198:65414,199:65415,200:65416,201:65417,202:65418,203:65419,204:65420,205:65421,206:65422,207:65423,208:65424,209:65425,210:65426,211:65427,212:65428,213:65429,214:65430,215:65431,216:65432,217:65433,218:65434,219:65435,220:65436,221:65437,222:65438,223:65439,57408:28478,57409:28435,57410:28407,57411:28550,57412:28538,57413:28536,57414:28545,57415:28544,57416:28527,57417:28507,57418:28659,57419:28525,57420:28546,57421:28540,57422:28504,57423:28558,57424:28561,57425:28610,57426:28518,57427:28595,57428:28579,57429:28577,57430:28580,57431:28601,57432:28614,57433:28586,57434:28639,57435:28629,57436:28652,57437:28628,57438:28632,57439:28657,57440:28654,57441:28635,57442:28681,57443:28683,57444:28666,57445:28689,57446:28673,57447:28687,57448:28670,57449:28699,57450:28698,57451:28532,57452:28701,57453:28696,57454:28703,57455:28720,57456:28734,57457:28722,57458:28753,57459:28771,57460:28825,57461:28818,57462:28847,57463:28913,57464:28844,57465:28856,57466:28851,57467:28846,57468:28895,57469:28875,57470:28893,57472:28889,57473:28937,57474:28925,57475:28956,57476:28953,57477:29029,57478:29013,57479:29064,57480:29030,57481:29026,57482:29004,57483:29014,57484:29036,57485:29071,57486:29179,57487:29060,57488:29077,57489:29096,57490:29100,57491:29143,57492:29113,57493:29118,57494:29138,57495:29129,57496:29140,57497:29134,57498:29152,57499:29164,57500:29159,57501:29173,57502:29180,57503:29177,57504:29183,57505:29197,57506:29200,57507:29211,57508:29224,57509:29229,57510:29228,57511:29232,57512:29234,57513:29243,57514:29244,57515:29247,57516:29248,57517:29254,57518:29259,57519:29272,57520:29300,57521:29310,57522:29314,57523:29313,57524:29319,57525:29330,57526:29334,57527:29346,57528:29351,57529:29369,57530:29362,57531:29379,57532:29382,57533:29380,57534:29390,57535:29394,57536:29410,57537:29408,57538:29409,57539:29433,57540:29431,57541:20495,57542:29463,57543:29450,57544:29468,57545:29462,57546:29469,57547:29492,57548:29487,57549:29481,57550:29477,57551:29502,57552:29518,57553:29519,57554:40664,57555:29527,57556:29546,57557:29544,57558:29552,57559:29560,57560:29557,57561:29563,57562:29562,57563:29640,57564:29619,57565:29646,57566:29627,57567:29632,57568:29669,57569:29678,57570:29662,57571:29858,57572:29701,57573:29807,57574:29733,57575:29688,57576:29746,57577:29754,57578:29781,57579:29759,57580:29791,57581:29785,57582:29761,57583:29788,57584:29801,57585:29808,57586:29795,57587:29802,57588:29814,57589:29822,57590:29835,57591:29854,57592:29863,57593:29898,57594:29903,57595:29908,57596:29681,57664:29920,57665:29923,57666:29927,57667:29929,57668:29934,57669:29938,57670:29936,57671:29937,57672:29944,57673:29943,57674:29956,57675:29955,57676:29957,57677:29964,57678:29966,57679:29965,57680:29973,57681:29971,57682:29982,57683:29990,57684:29996,57685:30012,57686:30020,57687:30029,57688:30026,57689:30025,57690:30043,57691:30022,57692:30042,57693:30057,57694:30052,57695:30055,57696:30059,57697:30061,57698:30072,57699:30070,57700:30086,57701:30087,57702:30068,57703:30090,57704:30089,57705:30082,57706:30100,57707:30106,57708:30109,57709:30117,57710:30115,57711:30146,57712:30131,57713:30147,57714:30133,57715:30141,57716:30136,57717:30140,57718:30129,57719:30157,57720:30154,57721:30162,57722:30169,57723:30179,57724:30174,57725:30206,57726:30207,57728:30204,57729:30209,57730:30192,57731:30202,57732:30194,57733:30195,57734:30219,57735:30221,57736:30217,57737:30239,57738:30247,57739:30240,57740:30241,57741:30242,57742:30244,57743:30260,57744:30256,57745:30267,57746:30279,57747:30280,57748:30278,57749:30300,57750:30296,57751:30305,57752:30306,57753:30312,57754:30313,57755:30314,57756:30311,57757:30316,57758:30320,57759:30322,57760:30326,57761:30328,57762:30332,57763:30336,57764:30339,57765:30344,57766:30347,57767:30350,57768:30358,57769:30355,57770:30361,57771:30362,57772:30384,57773:30388,57774:30392,57775:30393,57776:30394,57777:30402,57778:30413,57779:30422,57780:30418,57781:30430,57782:30433,57783:30437,57784:30439,57785:30442,57786:34351,57787:30459,57788:30472,57789:30471,57790:30468,57791:30505,57792:30500,57793:30494,57794:30501,57795:30502,57796:30491,57797:30519,57798:30520,57799:30535,57800:30554,57801:30568,57802:30571,57803:30555,57804:30565,57805:30591,57806:30590,57807:30585,57808:30606,57809:30603,57810:30609,57811:30624,57812:30622,57813:30640,57814:30646,57815:30649,57816:30655,57817:30652,57818:30653,57819:30651,57820:30663,57821:30669,57822:30679,57823:30682,57824:30684,57825:30691,57826:30702,57827:30716,57828:30732,57829:30738,57830:31014,57831:30752,57832:31018,57833:30789,57834:30862,57835:30836,57836:30854,57837:30844,57838:30874,57839:30860,57840:30883,57841:30901,57842:30890,57843:30895,57844:30929,57845:30918,57846:30923,57847:30932,57848:30910,57849:30908,57850:30917,57851:30922,57852:30956,57920:30951,57921:30938,57922:30973,57923:30964,57924:30983,57925:30994,57926:30993,57927:31001,57928:31020,57929:31019,57930:31040,57931:31072,57932:31063,57933:31071,57934:31066,57935:31061,57936:31059,57937:31098,57938:31103,57939:31114,57940:31133,57941:31143,57942:40779,57943:31146,57944:31150,57945:31155,57946:31161,57947:31162,57948:31177,57949:31189,57950:31207,57951:31212,57952:31201,57953:31203,57954:31240,57955:31245,57956:31256,57957:31257,57958:31264,57959:31263,57960:31104,57961:31281,57962:31291,57963:31294,57964:31287,57965:31299,57966:31319,57967:31305,57968:31329,57969:31330,57970:31337,57971:40861,57972:31344,57973:31353,57974:31357,57975:31368,57976:31383,57977:31381,57978:31384,57979:31382,57980:31401,57981:31432,57982:31408,57984:31414,57985:31429,57986:31428,57987:31423,57988:36995,57989:31431,57990:31434,57991:31437,57992:31439,57993:31445,57994:31443,57995:31449,57996:31450,57997:31453,57998:31457,57999:31458,58e3:31462,58001:31469,58002:31472,58003:31490,58004:31503,58005:31498,58006:31494,58007:31539,58008:31512,58009:31513,58010:31518,58011:31541,58012:31528,58013:31542,58014:31568,58015:31610,58016:31492,58017:31565,58018:31499,58019:31564,58020:31557,58021:31605,58022:31589,58023:31604,58024:31591,58025:31600,58026:31601,58027:31596,58028:31598,58029:31645,58030:31640,58031:31647,58032:31629,58033:31644,58034:31642,58035:31627,58036:31634,58037:31631,58038:31581,58039:31641,58040:31691,58041:31681,58042:31692,58043:31695,58044:31668,58045:31686,58046:31709,58047:31721,58048:31761,58049:31764,58050:31718,58051:31717,58052:31840,58053:31744,58054:31751,58055:31763,58056:31731,58057:31735,58058:31767,58059:31757,58060:31734,58061:31779,58062:31783,58063:31786,58064:31775,58065:31799,58066:31787,58067:31805,58068:31820,58069:31811,58070:31828,58071:31823,58072:31808,58073:31824,58074:31832,58075:31839,58076:31844,58077:31830,58078:31845,58079:31852,58080:31861,58081:31875,58082:31888,58083:31908,58084:31917,58085:31906,58086:31915,58087:31905,58088:31912,58089:31923,58090:31922,58091:31921,58092:31918,58093:31929,58094:31933,58095:31936,58096:31941,58097:31938,58098:31960,58099:31954,58100:31964,58101:31970,58102:39739,58103:31983,58104:31986,58105:31988,58106:31990,58107:31994,58108:32006,58176:32002,58177:32028,58178:32021,58179:32010,58180:32069,58181:32075,58182:32046,58183:32050,58184:32063,58185:32053,58186:32070,58187:32115,58188:32086,58189:32078,58190:32114,58191:32104,58192:32110,58193:32079,58194:32099,58195:32147,58196:32137,58197:32091,58198:32143,58199:32125,58200:32155,58201:32186,58202:32174,58203:32163,58204:32181,58205:32199,58206:32189,58207:32171,58208:32317,58209:32162,58210:32175,58211:32220,58212:32184,58213:32159,58214:32176,58215:32216,58216:32221,58217:32228,58218:32222,58219:32251,58220:32242,58221:32225,58222:32261,58223:32266,58224:32291,58225:32289,58226:32274,58227:32305,58228:32287,58229:32265,58230:32267,58231:32290,58232:32326,58233:32358,58234:32315,58235:32309,58236:32313,58237:32323,58238:32311,58240:32306,58241:32314,58242:32359,58243:32349,58244:32342,58245:32350,58246:32345,58247:32346,58248:32377,58249:32362,58250:32361,58251:32380,58252:32379,58253:32387,58254:32213,58255:32381,58256:36782,58257:32383,58258:32392,58259:32393,58260:32396,58261:32402,58262:32400,58263:32403,58264:32404,58265:32406,58266:32398,58267:32411,58268:32412,58269:32568,58270:32570,58271:32581,58272:32588,58273:32589,58274:32590,58275:32592,58276:32593,58277:32597,58278:32596,58279:32600,58280:32607,58281:32608,58282:32616,58283:32617,58284:32615,58285:32632,58286:32642,58287:32646,58288:32643,58289:32648,58290:32647,58291:32652,58292:32660,58293:32670,58294:32669,58295:32666,58296:32675,58297:32687,58298:32690,58299:32697,58300:32686,58301:32694,58302:32696,58303:35697,58304:32709,58305:32710,58306:32714,58307:32725,58308:32724,58309:32737,58310:32742,58311:32745,58312:32755,58313:32761,58314:39132,58315:32774,58316:32772,58317:32779,58318:32786,58319:32792,58320:32793,58321:32796,58322:32801,58323:32808,58324:32831,58325:32827,58326:32842,58327:32838,58328:32850,58329:32856,58330:32858,58331:32863,58332:32866,58333:32872,58334:32883,58335:32882,58336:32880,58337:32886,58338:32889,58339:32893,58340:32895,58341:32900,58342:32902,58343:32901,58344:32923,58345:32915,58346:32922,58347:32941,58348:20880,58349:32940,58350:32987,58351:32997,58352:32985,58353:32989,58354:32964,58355:32986,58356:32982,58357:33033,58358:33007,58359:33009,58360:33051,58361:33065,58362:33059,58363:33071,58364:33099,58432:38539,58433:33094,58434:33086,58435:33107,58436:33105,58437:33020,58438:33137,58439:33134,58440:33125,58441:33126,58442:33140,58443:33155,58444:33160,58445:33162,58446:33152,58447:33154,58448:33184,58449:33173,58450:33188,58451:33187,58452:33119,58453:33171,58454:33193,58455:33200,58456:33205,58457:33214,58458:33208,58459:33213,58460:33216,58461:33218,58462:33210,58463:33225,58464:33229,58465:33233,58466:33241,58467:33240,58468:33224,58469:33242,58470:33247,58471:33248,58472:33255,58473:33274,58474:33275,58475:33278,58476:33281,58477:33282,58478:33285,58479:33287,58480:33290,58481:33293,58482:33296,58483:33302,58484:33321,58485:33323,58486:33336,58487:33331,58488:33344,58489:33369,58490:33368,58491:33373,58492:33370,58493:33375,58494:33380,58496:33378,58497:33384,58498:33386,58499:33387,58500:33326,58501:33393,58502:33399,58503:33400,58504:33406,58505:33421,58506:33426,58507:33451,58508:33439,58509:33467,58510:33452,58511:33505,58512:33507,58513:33503,58514:33490,58515:33524,58516:33523,58517:33530,58518:33683,58519:33539,58520:33531,58521:33529,58522:33502,58523:33542,58524:33500,58525:33545,58526:33497,58527:33589,58528:33588,58529:33558,58530:33586,58531:33585,58532:33600,58533:33593,58534:33616,58535:33605,58536:33583,58537:33579,58538:33559,58539:33560,58540:33669,58541:33690,58542:33706,58543:33695,58544:33698,58545:33686,58546:33571,58547:33678,58548:33671,58549:33674,58550:33660,58551:33717,58552:33651,58553:33653,58554:33696,58555:33673,58556:33704,58557:33780,58558:33811,58559:33771,58560:33742,58561:33789,58562:33795,58563:33752,58564:33803,58565:33729,58566:33783,58567:33799,58568:33760,58569:33778,58570:33805,58571:33826,58572:33824,58573:33725,58574:33848,58575:34054,58576:33787,58577:33901,58578:33834,58579:33852,58580:34138,58581:33924,58582:33911,58583:33899,58584:33965,58585:33902,58586:33922,58587:33897,58588:33862,58589:33836,58590:33903,58591:33913,58592:33845,58593:33994,58594:33890,58595:33977,58596:33983,58597:33951,58598:34009,58599:33997,58600:33979,58601:34010,58602:34e3,58603:33985,58604:33990,58605:34006,58606:33953,58607:34081,58608:34047,58609:34036,58610:34071,58611:34072,58612:34092,58613:34079,58614:34069,58615:34068,58616:34044,58617:34112,58618:34147,58619:34136,58620:34120,58688:34113,58689:34306,58690:34123,58691:34133,58692:34176,58693:34212,58694:34184,58695:34193,58696:34186,58697:34216,58698:34157,58699:34196,58700:34203,58701:34282,58702:34183,58703:34204,58704:34167,58705:34174,58706:34192,58707:34249,58708:34234,58709:34255,58710:34233,58711:34256,58712:34261,58713:34269,58714:34277,58715:34268,58716:34297,58717:34314,58718:34323,58719:34315,58720:34302,58721:34298,58722:34310,58723:34338,58724:34330,58725:34352,58726:34367,58727:34381,58728:20053,58729:34388,58730:34399,58731:34407,58732:34417,58733:34451,58734:34467,58735:34473,58736:34474,58737:34443,58738:34444,58739:34486,58740:34479,58741:34500,58742:34502,58743:34480,58744:34505,58745:34851,58746:34475,58747:34516,58748:34526,58749:34537,58750:34540,58752:34527,58753:34523,58754:34543,58755:34578,58756:34566,58757:34568,58758:34560,58759:34563,58760:34555,58761:34577,58762:34569,58763:34573,58764:34553,58765:34570,58766:34612,58767:34623,58768:34615,58769:34619,58770:34597,58771:34601,58772:34586,58773:34656,58774:34655,58775:34680,58776:34636,58777:34638,58778:34676,58779:34647,58780:34664,58781:34670,58782:34649,58783:34643,58784:34659,58785:34666,58786:34821,58787:34722,58788:34719,58789:34690,58790:34735,58791:34763,58792:34749,58793:34752,58794:34768,58795:38614,58796:34731,58797:34756,58798:34739,58799:34759,58800:34758,58801:34747,58802:34799,58803:34802,58804:34784,58805:34831,58806:34829,58807:34814,58808:34806,58809:34807,58810:34830,58811:34770,58812:34833,58813:34838,58814:34837,58815:34850,58816:34849,58817:34865,58818:34870,58819:34873,58820:34855,58821:34875,58822:34884,58823:34882,58824:34898,58825:34905,58826:34910,58827:34914,58828:34923,58829:34945,58830:34942,58831:34974,58832:34933,58833:34941,58834:34997,58835:34930,58836:34946,58837:34967,58838:34962,58839:34990,58840:34969,58841:34978,58842:34957,58843:34980,58844:34992,58845:35007,58846:34993,58847:35011,58848:35012,58849:35028,58850:35032,58851:35033,58852:35037,58853:35065,58854:35074,58855:35068,58856:35060,58857:35048,58858:35058,58859:35076,58860:35084,58861:35082,58862:35091,58863:35139,58864:35102,58865:35109,58866:35114,58867:35115,58868:35137,58869:35140,58870:35131,58871:35126,58872:35128,58873:35148,58874:35101,58875:35168,58876:35166,58944:35174,58945:35172,58946:35181,58947:35178,58948:35183,58949:35188,58950:35191,58951:35198,58952:35203,58953:35208,58954:35210,58955:35219,58956:35224,58957:35233,58958:35241,58959:35238,58960:35244,58961:35247,58962:35250,58963:35258,58964:35261,58965:35263,58966:35264,58967:35290,58968:35292,58969:35293,58970:35303,58971:35316,58972:35320,58973:35331,58974:35350,58975:35344,58976:35340,58977:35355,58978:35357,58979:35365,58980:35382,58981:35393,58982:35419,58983:35410,58984:35398,58985:35400,58986:35452,58987:35437,58988:35436,58989:35426,58990:35461,58991:35458,58992:35460,58993:35496,58994:35489,58995:35473,58996:35493,58997:35494,58998:35482,58999:35491,59e3:35524,59001:35533,59002:35522,59003:35546,59004:35563,59005:35571,59006:35559,59008:35556,59009:35569,59010:35604,59011:35552,59012:35554,59013:35575,59014:35550,59015:35547,59016:35596,59017:35591,59018:35610,59019:35553,59020:35606,59021:35600,59022:35607,59023:35616,59024:35635,59025:38827,59026:35622,59027:35627,59028:35646,59029:35624,59030:35649,59031:35660,59032:35663,59033:35662,59034:35657,59035:35670,59036:35675,59037:35674,59038:35691,59039:35679,59040:35692,59041:35695,59042:35700,59043:35709,59044:35712,59045:35724,59046:35726,59047:35730,59048:35731,59049:35734,59050:35737,59051:35738,59052:35898,59053:35905,59054:35903,59055:35912,59056:35916,59057:35918,59058:35920,59059:35925,59060:35938,59061:35948,59062:35960,59063:35962,59064:35970,59065:35977,59066:35973,59067:35978,59068:35981,59069:35982,59070:35988,59071:35964,59072:35992,59073:25117,59074:36013,59075:36010,59076:36029,59077:36018,59078:36019,59079:36014,59080:36022,59081:36040,59082:36033,59083:36068,59084:36067,59085:36058,59086:36093,59087:36090,59088:36091,59089:36100,59090:36101,59091:36106,59092:36103,59093:36111,59094:36109,59095:36112,59096:40782,59097:36115,59098:36045,59099:36116,59100:36118,59101:36199,59102:36205,59103:36209,59104:36211,59105:36225,59106:36249,59107:36290,59108:36286,59109:36282,59110:36303,59111:36314,59112:36310,59113:36300,59114:36315,59115:36299,59116:36330,59117:36331,59118:36319,59119:36323,59120:36348,59121:36360,59122:36361,59123:36351,59124:36381,59125:36382,59126:36368,59127:36383,59128:36418,59129:36405,59130:36400,59131:36404,59132:36426,59200:36423,59201:36425,59202:36428,59203:36432,59204:36424,59205:36441,59206:36452,59207:36448,59208:36394,59209:36451,59210:36437,59211:36470,59212:36466,59213:36476,59214:36481,59215:36487,59216:36485,59217:36484,59218:36491,59219:36490,59220:36499,59221:36497,59222:36500,59223:36505,59224:36522,59225:36513,59226:36524,59227:36528,59228:36550,59229:36529,59230:36542,59231:36549,59232:36552,59233:36555,59234:36571,59235:36579,59236:36604,59237:36603,59238:36587,59239:36606,59240:36618,59241:36613,59242:36629,59243:36626,59244:36633,59245:36627,59246:36636,59247:36639,59248:36635,59249:36620,59250:36646,59251:36659,59252:36667,59253:36665,59254:36677,59255:36674,59256:36670,59257:36684,59258:36681,59259:36678,59260:36686,59261:36695,59262:36700,59264:36706,59265:36707,59266:36708,59267:36764,59268:36767,59269:36771,59270:36781,59271:36783,59272:36791,59273:36826,59274:36837,59275:36834,59276:36842,59277:36847,59278:36999,59279:36852,59280:36869,59281:36857,59282:36858,59283:36881,59284:36885,59285:36897,59286:36877,59287:36894,59288:36886,59289:36875,59290:36903,59291:36918,59292:36917,59293:36921,59294:36856,59295:36943,59296:36944,59297:36945,59298:36946,59299:36878,59300:36937,59301:36926,59302:36950,59303:36952,59304:36958,59305:36968,59306:36975,59307:36982,59308:38568,59309:36978,59310:36994,59311:36989,59312:36993,59313:36992,59314:37002,59315:37001,59316:37007,59317:37032,59318:37039,59319:37041,59320:37045,59321:37090,59322:37092,59323:25160,59324:37083,59325:37122,59326:37138,59327:37145,59328:37170,59329:37168,59330:37194,59331:37206,59332:37208,59333:37219,59334:37221,59335:37225,59336:37235,59337:37234,59338:37259,59339:37257,59340:37250,59341:37282,59342:37291,59343:37295,59344:37290,59345:37301,59346:37300,59347:37306,59348:37312,59349:37313,59350:37321,59351:37323,59352:37328,59353:37334,59354:37343,59355:37345,59356:37339,59357:37372,59358:37365,59359:37366,59360:37406,59361:37375,59362:37396,59363:37420,59364:37397,59365:37393,59366:37470,59367:37463,59368:37445,59369:37449,59370:37476,59371:37448,59372:37525,59373:37439,59374:37451,59375:37456,59376:37532,59377:37526,59378:37523,59379:37531,59380:37466,59381:37583,59382:37561,59383:37559,59384:37609,59385:37647,59386:37626,59387:37700,59388:37678,59456:37657,59457:37666,59458:37658,59459:37667,59460:37690,59461:37685,59462:37691,59463:37724,59464:37728,59465:37756,59466:37742,59467:37718,59468:37808,59469:37804,59470:37805,59471:37780,59472:37817,59473:37846,59474:37847,59475:37864,59476:37861,59477:37848,59478:37827,59479:37853,59480:37840,59481:37832,59482:37860,59483:37914,59484:37908,59485:37907,59486:37891,59487:37895,59488:37904,59489:37942,59490:37931,59491:37941,59492:37921,59493:37946,59494:37953,59495:37970,59496:37956,59497:37979,59498:37984,59499:37986,59500:37982,59501:37994,59502:37417,59503:38e3,59504:38005,59505:38007,59506:38013,59507:37978,59508:38012,59509:38014,59510:38017,59511:38015,59512:38274,59513:38279,59514:38282,59515:38292,59516:38294,59517:38296,59518:38297,59520:38304,59521:38312,59522:38311,59523:38317,59524:38332,59525:38331,59526:38329,59527:38334,59528:38346,59529:28662,59530:38339,59531:38349,59532:38348,59533:38357,59534:38356,59535:38358,59536:38364,59537:38369,59538:38373,59539:38370,59540:38433,59541:38440,59542:38446,59543:38447,59544:38466,59545:38476,59546:38479,59547:38475,59548:38519,59549:38492,59550:38494,59551:38493,59552:38495,59553:38502,59554:38514,59555:38508,59556:38541,59557:38552,59558:38549,59559:38551,59560:38570,59561:38567,59562:38577,59563:38578,59564:38576,59565:38580,59566:38582,59567:38584,59568:38585,59569:38606,59570:38603,59571:38601,59572:38605,59573:35149,59574:38620,59575:38669,59576:38613,59577:38649,59578:38660,59579:38662,59580:38664,59581:38675,59582:38670,59583:38673,59584:38671,59585:38678,59586:38681,59587:38692,59588:38698,59589:38704,59590:38713,59591:38717,59592:38718,59593:38724,59594:38726,59595:38728,59596:38722,59597:38729,59598:38748,59599:38752,59600:38756,59601:38758,59602:38760,59603:21202,59604:38763,59605:38769,59606:38777,59607:38789,59608:38780,59609:38785,59610:38778,59611:38790,59612:38795,59613:38799,59614:38800,59615:38812,59616:38824,59617:38822,59618:38819,59619:38835,59620:38836,59621:38851,59622:38854,59623:38856,59624:38859,59625:38876,59626:38893,59627:40783,59628:38898,59629:31455,59630:38902,59631:38901,59632:38927,59633:38924,59634:38968,59635:38948,59636:38945,59637:38967,59638:38973,59639:38982,59640:38991,59641:38987,59642:39019,59643:39023,59644:39024,59712:39025,59713:39028,59714:39027,59715:39082,59716:39087,59717:39089,59718:39094,59719:39108,59720:39107,59721:39110,59722:39145,59723:39147,59724:39171,59725:39177,59726:39186,59727:39188,59728:39192,59729:39201,59730:39197,59731:39198,59732:39204,59733:39200,59734:39212,59735:39214,59736:39229,59737:39230,59738:39234,59739:39241,59740:39237,59741:39248,59742:39243,59743:39249,59744:39250,59745:39244,59746:39253,59747:39319,59748:39320,59749:39333,59750:39341,59751:39342,59752:39356,59753:39391,59754:39387,59755:39389,59756:39384,59757:39377,59758:39405,59759:39406,59760:39409,59761:39410,59762:39419,59763:39416,59764:39425,59765:39439,59766:39429,59767:39394,59768:39449,59769:39467,59770:39479,59771:39493,59772:39490,59773:39488,59774:39491,59776:39486,59777:39509,59778:39501,59779:39515,59780:39511,59781:39519,59782:39522,59783:39525,59784:39524,59785:39529,59786:39531,59787:39530,59788:39597,59789:39600,59790:39612,59791:39616,59792:39631,59793:39633,59794:39635,59795:39636,59796:39646,59797:39647,59798:39650,59799:39651,59800:39654,59801:39663,59802:39659,59803:39662,59804:39668,59805:39665,59806:39671,59807:39675,59808:39686,59809:39704,59810:39706,59811:39711,59812:39714,59813:39715,59814:39717,59815:39719,59816:39720,59817:39721,59818:39722,59819:39726,59820:39727,59821:39730,59822:39748,59823:39747,59824:39759,59825:39757,59826:39758,59827:39761,59828:39768,59829:39796,59830:39827,59831:39811,59832:39825,59833:39830,59834:39831,59835:39839,59836:39840,59837:39848,59838:39860,59839:39872,59840:39882,59841:39865,59842:39878,59843:39887,59844:39889,59845:39890,59846:39907,59847:39906,59848:39908,59849:39892,59850:39905,59851:39994,59852:39922,59853:39921,59854:39920,59855:39957,59856:39956,59857:39945,59858:39955,59859:39948,59860:39942,59861:39944,59862:39954,59863:39946,59864:39940,59865:39982,59866:39963,59867:39973,59868:39972,59869:39969,59870:39984,59871:40007,59872:39986,59873:40006,59874:39998,59875:40026,59876:40032,59877:40039,59878:40054,59879:40056,59880:40167,59881:40172,59882:40176,59883:40201,59884:40200,59885:40171,59886:40195,59887:40198,59888:40234,59889:40230,59890:40367,59891:40227,59892:40223,59893:40260,59894:40213,59895:40210,59896:40257,59897:40255,59898:40254,59899:40262,59900:40264,59968:40285,59969:40286,59970:40292,59971:40273,59972:40272,59973:40281,59974:40306,59975:40329,59976:40327,59977:40363,59978:40303,59979:40314,59980:40346,59981:40356,59982:40361,59983:40370,59984:40388,59985:40385,59986:40379,59987:40376,59988:40378,59989:40390,59990:40399,59991:40386,59992:40409,59993:40403,59994:40440,59995:40422,59996:40429,59997:40431,59998:40445,59999:40474,6e4:40475,60001:40478,60002:40565,60003:40569,60004:40573,60005:40577,60006:40584,60007:40587,60008:40588,60009:40594,60010:40597,60011:40593,60012:40605,60013:40613,60014:40617,60015:40632,60016:40618,60017:40621,60018:38753,60019:40652,60020:40654,60021:40655,60022:40656,60023:40660,60024:40668,60025:40670,60026:40669,60027:40672,60028:40677,60029:40680,60030:40687,60032:40692,60033:40694,60034:40695,60035:40697,60036:40699,60037:40700,60038:40701,60039:40711,60040:40712,60041:30391,60042:40725,60043:40737,60044:40748,60045:40766,60046:40778,60047:40786,60048:40788,60049:40803,60050:40799,60051:40800,60052:40801,60053:40806,60054:40807,60055:40812,60056:40810,60057:40823,60058:40818,60059:40822,60060:40853,60061:40860,60062:40864,60063:22575,60064:27079,60065:36953,60066:29796,60067:20956,60068:29081}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),i=r(2);function a(e,t,r,n){var i;t.degree()<r.degree()&&(i=[r,t],t=i[0],r=i[1]);var a=t,o=r,s=e.zero,l=e.one;while(o.degree()>=n/2){var c=a,u=s;if(a=o,s=l,a.isZero())return null;o=c;var f=e.zero,h=a.getCoefficient(a.degree()),d=e.inverse(h);while(o.degree()>=a.degree()&&!o.isZero()){var p=o.degree()-a.degree(),m=e.multiply(o.getCoefficient(o.degree()),d);f=f.addOrSubtract(e.buildMonomial(p,m)),o=o.addOrSubtract(a.multiplyByMonomial(p,m))}if(l=f.multiplyPoly(s).addOrSubtract(u),o.degree()>=a.degree())return null}var g=l.getCoefficient(0);if(0===g)return null;var b=e.inverse(g);return[l.multiply(b),o.multiply(b)]}function o(e,t){var r=t.degree();if(1===r)return[t.getCoefficient(1)];for(var n=new Array(r),i=0,a=1;a<e.size&&i<r;a++)0===t.evaluateAt(a)&&(n[i]=e.inverse(a),i++);return i!==r?null:n}function s(e,t,r){for(var i=r.length,a=new Array(i),o=0;o<i;o++){for(var s=e.inverse(r[o]),l=1,c=0;c<i;c++)o!==c&&(l=e.multiply(l,n.addOrSubtractGF(1,e.multiply(r[c],s))));a[o]=e.multiply(t.evaluateAt(s),e.inverse(l)),0!==e.generatorBase&&(a[o]=e.multiply(a[o],s))}return a}function l(e,t){var r=new Uint8ClampedArray(e.length);r.set(e);for(var l=new n.default(285,256,0),c=new i.default(l,r),u=new Uint8ClampedArray(t),f=!1,h=0;h<t;h++){var d=c.evaluateAt(l.exp(h+l.generatorBase));u[u.length-1-h]=d,0!==d&&(f=!0)}if(!f)return r;var p=new i.default(l,u),m=a(l,l.buildMonomial(t,1),p,t);if(null===m)return null;var g=o(l,m[0]);if(null==g)return null;for(var b=s(l,m[1],g),y=0;y<g.length;y++){var v=r.length-1-l.log(g[y]);if(v<0)return null;r[v]=n.addOrSubtractGF(r[v],b[y])}return r}t.decode=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VERSIONS=[{infoBits:null,versionNumber:1,alignmentPatternCenters:[],errorCorrectionLevels:[{ecCodewordsPerBlock:7,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:13,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:13}]},{ecCodewordsPerBlock:17,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:2,alignmentPatternCenters:[6,18],errorCorrectionLevels:[{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:34}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:28}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]}]},{infoBits:null,versionNumber:3,alignmentPatternCenters:[6,22],errorCorrectionLevels:[{ecCodewordsPerBlock:15,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:55}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:13}]}]},{infoBits:null,versionNumber:4,alignmentPatternCenters:[6,26],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:80}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:32}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:5,alignmentPatternCenters:[6,30],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:43}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:11},{numBlocks:2,dataCodewordsPerBlock:12}]}]},{infoBits:null,versionNumber:6,alignmentPatternCenters:[6,34],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:27}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:31892,versionNumber:7,alignmentPatternCenters:[6,22,38],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:78}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:31}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:13},{numBlocks:1,dataCodewordsPerBlock:14}]}]},{infoBits:34236,versionNumber:8,alignmentPatternCenters:[6,24,42],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:97}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:38},{numBlocks:2,dataCodewordsPerBlock:39}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:18},{numBlocks:2,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:14},{numBlocks:2,dataCodewordsPerBlock:15}]}]},{infoBits:39577,versionNumber:9,alignmentPatternCenters:[6,26,46],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:12},{numBlocks:4,dataCodewordsPerBlock:13}]}]},{infoBits:42195,versionNumber:10,alignmentPatternCenters:[6,28,50],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68},{numBlocks:2,dataCodewordsPerBlock:69}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:43},{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]}]},{infoBits:48118,versionNumber:11,alignmentPatternCenters:[6,30,54],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:81}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:50},{numBlocks:4,dataCodewordsPerBlock:51}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:22},{numBlocks:4,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:12},{numBlocks:8,dataCodewordsPerBlock:13}]}]},{infoBits:51042,versionNumber:12,alignmentPatternCenters:[6,32,58],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:92},{numBlocks:2,dataCodewordsPerBlock:93}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:20},{numBlocks:6,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:55367,versionNumber:13,alignmentPatternCenters:[6,34,62],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:37},{numBlocks:1,dataCodewordsPerBlock:38}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:20},{numBlocks:4,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:11},{numBlocks:4,dataCodewordsPerBlock:12}]}]},{infoBits:58893,versionNumber:14,alignmentPatternCenters:[6,26,46,66],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:40},{numBlocks:5,dataCodewordsPerBlock:41}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:16},{numBlocks:5,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:5,dataCodewordsPerBlock:13}]}]},{infoBits:63784,versionNumber:15,alignmentPatternCenters:[6,26,48,70],errorCorrectionLevels:[{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:87},{numBlocks:1,dataCodewordsPerBlock:88}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:41},{numBlocks:5,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:7,dataCodewordsPerBlock:13}]}]},{infoBits:68472,versionNumber:16,alignmentPatternCenters:[6,26,50,74],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:98},{numBlocks:1,dataCodewordsPerBlock:99}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:70749,versionNumber:17,alignmentPatternCenters:[6,30,54,78],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:1,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22},{numBlocks:15,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:17,dataCodewordsPerBlock:15}]}]},{infoBits:76311,versionNumber:18,alignmentPatternCenters:[6,30,56,82],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:120},{numBlocks:1,dataCodewordsPerBlock:121}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:43},{numBlocks:4,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:1,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:19,dataCodewordsPerBlock:15}]}]},{infoBits:79154,versionNumber:19,alignmentPatternCenters:[6,30,58,86],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:113},{numBlocks:4,dataCodewordsPerBlock:114}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:44},{numBlocks:11,dataCodewordsPerBlock:45}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:21},{numBlocks:4,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:13},{numBlocks:16,dataCodewordsPerBlock:14}]}]},{infoBits:84390,versionNumber:20,alignmentPatternCenters:[6,34,62,90],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:41},{numBlocks:13,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:5,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:15},{numBlocks:10,dataCodewordsPerBlock:16}]}]},{infoBits:87683,versionNumber:21,alignmentPatternCenters:[6,28,50,72,94],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:116},{numBlocks:4,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:16},{numBlocks:6,dataCodewordsPerBlock:17}]}]},{infoBits:92361,versionNumber:22,alignmentPatternCenters:[6,26,50,74,98],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:111},{numBlocks:7,dataCodewordsPerBlock:112}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:13}]}]},{infoBits:96236,versionNumber:23,alignmentPatternCenters:[6,30,54,74,102],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:121},{numBlocks:5,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:47},{numBlocks:14,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:16,dataCodewordsPerBlock:15},{numBlocks:14,dataCodewordsPerBlock:16}]}]},{infoBits:102084,versionNumber:24,alignmentPatternCenters:[6,28,54,80,106],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:45},{numBlocks:14,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:30,dataCodewordsPerBlock:16},{numBlocks:2,dataCodewordsPerBlock:17}]}]},{infoBits:102881,versionNumber:25,alignmentPatternCenters:[6,32,58,84,110],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:106},{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:47},{numBlocks:13,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:110507,versionNumber:26,alignmentPatternCenters:[6,30,58,86,114],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:114},{numBlocks:2,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:46},{numBlocks:4,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:28,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:33,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]}]},{infoBits:110734,versionNumber:27,alignmentPatternCenters:[6,34,62,90,118],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:23},{numBlocks:26,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:117786,versionNumber:28,alignmentPatternCenters:[6,26,50,74,98,122],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:117},{numBlocks:10,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:45},{numBlocks:23,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:24},{numBlocks:31,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:31,dataCodewordsPerBlock:16}]}]},{infoBits:119615,versionNumber:29,alignmentPatternCenters:[6,30,54,78,102,126],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:116},{numBlocks:7,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:21,dataCodewordsPerBlock:45},{numBlocks:7,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:23},{numBlocks:37,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:26,dataCodewordsPerBlock:16}]}]},{infoBits:126325,versionNumber:30,alignmentPatternCenters:[6,26,52,78,104,130],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:115},{numBlocks:10,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:47},{numBlocks:10,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:25,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:25,dataCodewordsPerBlock:16}]}]},{infoBits:127568,versionNumber:31,alignmentPatternCenters:[6,30,56,82,108,134],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:3,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:46},{numBlocks:29,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:24},{numBlocks:1,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:133589,versionNumber:32,alignmentPatternCenters:[6,34,60,86,112,138],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:24},{numBlocks:35,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:35,dataCodewordsPerBlock:16}]}]},{infoBits:136944,versionNumber:33,alignmentPatternCenters:[6,30,58,86,114,142],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:21,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:24},{numBlocks:19,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:141498,versionNumber:34,alignmentPatternCenters:[6,34,62,90,118,146],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:6,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:44,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:59,dataCodewordsPerBlock:16},{numBlocks:1,dataCodewordsPerBlock:17}]}]},{infoBits:145311,versionNumber:35,alignmentPatternCenters:[6,30,54,78,102,126,150],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:121},{numBlocks:7,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:47},{numBlocks:26,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:39,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:41,dataCodewordsPerBlock:16}]}]},{infoBits:150283,versionNumber:36,alignmentPatternCenters:[6,24,50,76,102,128,154],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:121},{numBlocks:14,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:47},{numBlocks:34,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:46,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:64,dataCodewordsPerBlock:16}]}]},{infoBits:152622,versionNumber:37,alignmentPatternCenters:[6,28,54,80,106,132,158],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:46},{numBlocks:14,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:49,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:24,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:158308,versionNumber:38,alignmentPatternCenters:[6,32,58,84,110,136,162],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:122},{numBlocks:18,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:46},{numBlocks:32,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:48,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:15},{numBlocks:32,dataCodewordsPerBlock:16}]}]},{infoBits:161089,versionNumber:39,alignmentPatternCenters:[6,26,54,82,110,138,166],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:40,dataCodewordsPerBlock:47},{numBlocks:7,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:43,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:15},{numBlocks:67,dataCodewordsPerBlock:16}]}]},{infoBits:167017,versionNumber:40,alignmentPatternCenters:[6,30,58,86,114,142,170],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:118},{numBlocks:6,dataCodewordsPerBlock:119}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:18,dataCodewordsPerBlock:47},{numBlocks:31,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:24},{numBlocks:34,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:15},{numBlocks:61,dataCodewordsPerBlock:16}]}]}]},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0);function i(e,t,r,n){var i=e.x-t.x+r.x-n.x,a=e.y-t.y+r.y-n.y;if(0===i&&0===a)return{a11:t.x-e.x,a12:t.y-e.y,a13:0,a21:r.x-t.x,a22:r.y-t.y,a23:0,a31:e.x,a32:e.y,a33:1};var o=t.x-r.x,s=n.x-r.x,l=t.y-r.y,c=n.y-r.y,u=o*c-s*l,f=(i*c-s*a)/u,h=(o*a-i*l)/u;return{a11:t.x-e.x+f*t.x,a12:t.y-e.y+f*t.y,a13:f,a21:n.x-e.x+h*n.x,a22:n.y-e.y+h*n.y,a23:h,a31:e.x,a32:e.y,a33:1}}function a(e,t,r,n){var a=i(e,t,r,n);return{a11:a.a22*a.a33-a.a23*a.a32,a12:a.a13*a.a32-a.a12*a.a33,a13:a.a12*a.a23-a.a13*a.a22,a21:a.a23*a.a31-a.a21*a.a33,a22:a.a11*a.a33-a.a13*a.a31,a23:a.a13*a.a21-a.a11*a.a23,a31:a.a21*a.a32-a.a22*a.a31,a32:a.a12*a.a31-a.a11*a.a32,a33:a.a11*a.a22-a.a12*a.a21}}function o(e,t){return{a11:e.a11*t.a11+e.a21*t.a12+e.a31*t.a13,a12:e.a12*t.a11+e.a22*t.a12+e.a32*t.a13,a13:e.a13*t.a11+e.a23*t.a12+e.a33*t.a13,a21:e.a11*t.a21+e.a21*t.a22+e.a31*t.a23,a22:e.a12*t.a21+e.a22*t.a22+e.a32*t.a23,a23:e.a13*t.a21+e.a23*t.a22+e.a33*t.a23,a31:e.a11*t.a31+e.a21*t.a32+e.a31*t.a33,a32:e.a12*t.a31+e.a22*t.a32+e.a32*t.a33,a33:e.a13*t.a31+e.a23*t.a32+e.a33*t.a33}}function s(e,t){for(var r=a({x:3.5,y:3.5},{x:t.dimension-3.5,y:3.5},{x:t.dimension-6.5,y:t.dimension-6.5},{x:3.5,y:t.dimension-3.5}),s=i(t.topLeft,t.topRight,t.alignmentPattern,t.bottomLeft),l=o(s,r),c=n.BitMatrix.createEmpty(t.dimension,t.dimension),u=function(e,t){var r=l.a13*e+l.a23*t+l.a33;return{x:(l.a11*e+l.a21*t+l.a31)/r,y:(l.a12*e+l.a22*t+l.a32)/r}},f=0;f<t.dimension;f++)for(var h=0;h<t.dimension;h++){var d=h+.5,p=f+.5,m=u(d,p);c.set(h,f,e.get(Math.floor(m.x),Math.floor(m.y)))}return{matrix:c,mappingFunction:u}}t.extract=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=4,i=.5,a=1.5,o=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))};function s(e){return e.reduce((function(e,t){return e+t}))}function l(e,t,r){var n,i,a,s,l,c,u,f=o(e,t),h=o(t,r),d=o(e,r);return h>=f&&h>=d?(n=[t,e,r],l=n[0],c=n[1],u=n[2]):d>=h&&d>=f?(i=[e,t,r],l=i[0],c=i[1],u=i[2]):(a=[e,r,t],l=a[0],c=a[1],u=a[2]),(u.x-c.x)*(l.y-c.y)-(u.y-c.y)*(l.x-c.x)<0&&(s=[u,l],l=s[0],u=s[1]),{bottomLeft:l,topLeft:c,topRight:u}}function c(e,t,r,n){var i=(s(f(e,r,n,5))/7+s(f(e,t,n,5))/7+s(f(r,e,n,5))/7+s(f(t,e,n,5))/7)/4;if(i<1)throw new Error("Invalid module size");var a=Math.round(o(e,t)/i),l=Math.round(o(e,r)/i),c=Math.floor((a+l)/2)+7;switch(c%4){case 0:c++;break;case 2:c--;break}return{dimension:c,moduleSize:i}}function u(e,t,r,n){var i,a,s,l,c=[{x:Math.floor(e.x),y:Math.floor(e.y)}],u=Math.abs(t.y-e.y)>Math.abs(t.x-e.x);u?(i=Math.floor(e.y),a=Math.floor(e.x),s=Math.floor(t.y),l=Math.floor(t.x)):(i=Math.floor(e.x),a=Math.floor(e.y),s=Math.floor(t.x),l=Math.floor(t.y));for(var f=Math.abs(s-i),h=Math.abs(l-a),d=Math.floor(-f/2),p=i<s?1:-1,m=a<l?1:-1,g=!0,b=i,y=a;b!==s+p;b+=p){var v=u?y:b,_=u?b:y;if(r.get(v,_)!==g&&(g=!g,c.push({x:v,y:_}),c.length===n+1))break;if(d+=h,d>0){if(y===l)break;y+=m,d-=f}}for(var w=[],E=0;E<n;E++)c[E]&&c[E+1]?w.push(o(c[E],c[E+1])):w.push(0);return w}function f(e,t,r,n){var i,a=t.y-e.y,o=t.x-e.x,s=u(e,t,r,Math.ceil(n/2)),l=u(e,{x:e.x-o,y:e.y-a},r,Math.ceil(n/2)),c=s.shift()+l.shift()-1;return(i=l.concat(c)).concat.apply(i,s)}function h(e,t){var r=s(e)/s(t),n=0;return t.forEach((function(t,i){n+=Math.pow(e[i]-t*r,2)})),{averageSize:r,error:n}}function d(e,t,r){try{var n=f(e,{x:-1,y:e.y},r,t.length),i=f(e,{x:e.x,y:-1},r,t.length),a={x:Math.max(0,e.x-e.y)-1,y:Math.max(0,e.y-e.x)-1},o=f(e,a,r,t.length),s={x:Math.min(r.width,e.x+e.y)+1,y:Math.min(r.height,e.y+e.x)+1},l=f(e,s,r,t.length),c=h(n,t),u=h(i,t),d=h(o,t),p=h(l,t),m=Math.sqrt(c.error*c.error+u.error*u.error+d.error*d.error+p.error*p.error),g=(c.averageSize+u.averageSize+d.averageSize+p.averageSize)/4,b=(Math.pow(c.averageSize-g,2)+Math.pow(u.averageSize-g,2)+Math.pow(d.averageSize-g,2)+Math.pow(p.averageSize-g,2))/g;return m+b}catch(y){return 1/0}}function p(e,t){var r=Math.round(t.x);while(e.get(r,Math.round(t.y)))r--;var n=Math.round(t.x);while(e.get(n,Math.round(t.y)))n++;var i=(r+n)/2,a=Math.round(t.y);while(e.get(Math.round(i),a))a--;var o=Math.round(t.y);while(e.get(Math.round(i),o))o++;var s=(a+o)/2;return{x:i,y:s}}function m(e){for(var t=[],r=[],o=[],c=[],u=function(n){for(var l=0,u=!1,f=[0,0,0,0,0],h=function(t){var o=e.get(t,n);if(o===u)l++;else{f=[f[1],f[2],f[3],f[4],l],l=1,u=o;var h=s(f)/7,d=Math.abs(f[0]-h)<h&&Math.abs(f[1]-h)<h&&Math.abs(f[2]-3*h)<3*h&&Math.abs(f[3]-h)<h&&Math.abs(f[4]-h)<h&&!o,p=s(f.slice(-3))/3,m=Math.abs(f[2]-p)<p&&Math.abs(f[3]-p)<p&&Math.abs(f[4]-p)<p&&o;if(d){var g=t-f[3]-f[4],b=g-f[2],y={startX:b,endX:g,y:n},v=r.filter((function(e){return b>=e.bottom.startX&&b<=e.bottom.endX||g>=e.bottom.startX&&b<=e.bottom.endX||b<=e.bottom.startX&&g>=e.bottom.endX&&f[2]/(e.bottom.endX-e.bottom.startX)<a&&f[2]/(e.bottom.endX-e.bottom.startX)>i}));v.length>0?v[0].bottom=y:r.push({top:y,bottom:y})}if(m){var _=t-f[4],w=_-f[3];y={startX:w,y:n,endX:_},v=c.filter((function(e){return w>=e.bottom.startX&&w<=e.bottom.endX||_>=e.bottom.startX&&w<=e.bottom.endX||w<=e.bottom.startX&&_>=e.bottom.endX&&f[2]/(e.bottom.endX-e.bottom.startX)<a&&f[2]/(e.bottom.endX-e.bottom.startX)>i}));v.length>0?v[0].bottom=y:c.push({top:y,bottom:y})}}},d=-1;d<=e.width;d++)h(d);t.push.apply(t,r.filter((function(e){return e.bottom.y!==n&&e.bottom.y-e.top.y>=2}))),r=r.filter((function(e){return e.bottom.y===n})),o.push.apply(o,c.filter((function(e){return e.bottom.y!==n}))),c=c.filter((function(e){return e.bottom.y===n}))},f=0;f<=e.height;f++)u(f);t.push.apply(t,r.filter((function(e){return e.bottom.y-e.top.y>=2}))),o.push.apply(o,c);var h=t.filter((function(e){return e.bottom.y-e.top.y>=2})).map((function(t){var r=(t.top.startX+t.top.endX+t.bottom.startX+t.bottom.endX)/4,n=(t.top.y+t.bottom.y+1)/2;if(e.get(Math.round(r),Math.round(n))){var i=[t.top.endX-t.top.startX,t.bottom.endX-t.bottom.startX,t.bottom.y-t.top.y+1],a=s(i)/i.length,o=d({x:Math.round(r),y:Math.round(n)},[1,1,3,1,1],e);return{score:o,x:r,y:n,size:a}}})).filter((function(e){return!!e})).sort((function(e,t){return e.score-t.score})).map((function(e,t,r){if(t>n)return null;var i=r.filter((function(e,r){return t!==r})).map((function(t){return{x:t.x,y:t.y,score:t.score+Math.pow(t.size-e.size,2)/e.size,size:t.size}})).sort((function(e,t){return e.score-t.score}));if(i.length<2)return null;var a=e.score+i[0].score+i[1].score;return{points:[e].concat(i.slice(0,2)),score:a}})).filter((function(e){return!!e})).sort((function(e,t){return e.score-t.score}));if(0===h.length)return null;var m=l(h[0].points[0],h[0].points[1],h[0].points[2]),b=m.topRight,y=m.topLeft,v=m.bottomLeft,_=g(e,o,b,y,v),w=[];_&&w.push({alignmentPattern:{x:_.alignmentPattern.x,y:_.alignmentPattern.y},bottomLeft:{x:v.x,y:v.y},dimension:_.dimension,topLeft:{x:y.x,y:y.y},topRight:{x:b.x,y:b.y}});var E=p(e,b),P=p(e,y),A=p(e,v),k=g(e,o,E,P,A);return k&&w.push({alignmentPattern:{x:k.alignmentPattern.x,y:k.alignmentPattern.y},bottomLeft:{x:A.x,y:A.y},topLeft:{x:P.x,y:P.y},topRight:{x:E.x,y:E.y},dimension:k.dimension}),0===w.length?null:w}function g(e,t,r,n,i){var a,l,u;try{a=c(n,r,i,e),l=a.dimension,u=a.moduleSize}catch(y){return null}var f={x:r.x-n.x+i.x,y:r.y-n.y+i.y},h=(o(n,i)+o(n,r))/2/u,p=1-3/h,m={x:n.x+p*(f.x-n.x),y:n.y+p*(f.y-n.y)},g=t.map((function(t){var r=(t.top.startX+t.top.endX+t.bottom.startX+t.bottom.endX)/4,n=(t.top.y+t.bottom.y+1)/2;if(e.get(Math.floor(r),Math.floor(n))){var i=[t.top.endX-t.top.startX,t.bottom.endX-t.bottom.startX,t.bottom.y-t.top.y+1],a=(s(i),i.length,d({x:Math.floor(r),y:Math.floor(n)},[1,1,1],e)),l=a+o({x:r,y:n},m);return{x:r,y:n,score:l}}})).filter((function(e){return!!e})).sort((function(e,t){return e.score-t.score})),b=h>=15&&g.length?g[0]:m;return{alignmentPattern:b,dimension:l}}t.locate=m}])["default"]}))},ed6d:function(e,t,r){var n=r("4a4b");function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)}e.exports=i},edd0:function(e,t,r){"use strict";var n=r("3022"),i=r("470b"),a=r("91f2"),o=r("230b"),s=r("618c"),l=r("2767"),c=r("4196"),u=e.exports=function(e){a.call(this),this._parser=new s(e,{read:this.read.bind(this),error:this._handleError.bind(this),metadata:this._handleMetaData.bind(this),gamma:this.emit.bind(this,"gamma"),palette:this._handlePalette.bind(this),transColor:this._handleTransColor.bind(this),finished:this._finished.bind(this),inflateData:this._inflateData.bind(this),simpleTransparency:this._simpleTransparency.bind(this),headersFinished:this._headersFinished.bind(this)}),this._options=e,this.writable=!0,this._parser.start()};n.inherits(u,a),u.prototype._handleError=function(e){this.emit("error",e),this.writable=!1,this.destroy(),this._inflate&&this._inflate.destroy&&this._inflate.destroy(),this._filter&&(this._filter.destroy(),this._filter.on("error",(function(){}))),this.errord=!0},u.prototype._inflateData=function(e){if(!this._inflate)if(this._bitmapInfo.interlace)this._inflate=i.createInflate(),this._inflate.on("error",this.emit.bind(this,"error")),this._filter.on("complete",this._complete.bind(this)),this._inflate.pipe(this._filter);else{var t=1+(this._bitmapInfo.width*this._bitmapInfo.bpp*this._bitmapInfo.depth+7>>3),r=t*this._bitmapInfo.height,n=Math.max(r,i.Z_MIN_CHUNK);this._inflate=i.createInflate({chunkSize:n});var a=r,o=this.emit.bind(this,"error");this._inflate.on("error",(function(e){a&&o(e)})),this._filter.on("complete",this._complete.bind(this));var s=this._filter.write.bind(this._filter);this._inflate.on("data",(function(e){a&&(e.length>a&&(e=e.slice(0,a)),a-=e.length,s(e))})),this._inflate.on("end",this._filter.end.bind(this._filter))}this._inflate.write(e)},u.prototype._handleMetaData=function(e){this._metaData=e,this._bitmapInfo=Object.create(e),this._filter=new o(this._bitmapInfo)},u.prototype._handleTransColor=function(e){this._bitmapInfo.transColor=e},u.prototype._handlePalette=function(e){this._bitmapInfo.palette=e},u.prototype._simpleTransparency=function(){this._metaData.alpha=!0},u.prototype._headersFinished=function(){this.emit("metadata",this._metaData)},u.prototype._finished=function(){this.errord||(this._inflate?this._inflate.end():this.emit("error","No Inflate block"),this.destroySoon())},u.prototype._complete=function(e){if(!this.errord){try{var t=l.dataToBitMap(e,this._bitmapInfo),r=c(t,this._bitmapInfo);t=null}catch(n){return void this._handleError(n)}this.emit("parsed",r)}}},eec7:function(e,t,r){"use strict";var n=r("be09"),i=r("8362"),a=r("6444"),o=r("53a8");function s(e,t){for(var r=0;r<e.length;r++)t(e[r])}function l(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function c(e,t,r){var n=e;return i(t)?(r=t,"string"===typeof e&&(n={uri:e})):n=o(t,{uri:e}),n.callback=r,n}function u(e,t,r){return t=c(e,t,r),f(t)}function f(e){if("undefined"===typeof e.callback)throw new Error("callback argument missing");var t=!1,r=function(r,n,i){t||(t=!0,e.callback(r,n,i))};function n(){4===d.readyState&&setTimeout(s,0)}function i(){var e=void 0;if(e=d.response?d.response:d.responseText||h(d),_)try{e=JSON.parse(e)}catch(t){}return e}function o(e){return clearTimeout(p),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,r(e,w)}function s(){if(!f){var t;clearTimeout(p),t=e.useXDR&&void 0===d.status?200:1223===d.status?204:d.status;var n=w,o=null;return 0!==t?(n={body:i(),statusCode:t,method:g,headers:{},url:m,rawRequest:d},d.getAllResponseHeaders&&(n.headers=a(d.getAllResponseHeaders()))):o=new Error("Internal XMLHttpRequest Error"),r(o,n,n.body)}}var c,f,d=e.xhr||null;d||(d=e.cors||e.useXDR?new u.XDomainRequest:new u.XMLHttpRequest);var p,m=d.url=e.uri||e.url,g=d.method=e.method||"GET",b=e.body||e.data,y=d.headers=e.headers||{},v=!!e.sync,_=!1,w={body:void 0,headers:{},statusCode:0,method:g,url:m,rawRequest:d};if("json"in e&&!1!==e.json&&(_=!0,y["accept"]||y["Accept"]||(y["Accept"]="application/json"),"GET"!==g&&"HEAD"!==g&&(y["content-type"]||y["Content-Type"]||(y["Content-Type"]="application/json"),b=JSON.stringify(!0===e.json?b:e.json))),d.onreadystatechange=n,d.onload=s,d.onerror=o,d.onprogress=function(){},d.onabort=function(){f=!0},d.ontimeout=o,d.open(g,m,!v,e.username,e.password),v||(d.withCredentials=!!e.withCredentials),!v&&e.timeout>0&&(p=setTimeout((function(){if(!f){f=!0,d.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",o(e)}}),e.timeout)),d.setRequestHeader)for(c in y)y.hasOwnProperty(c)&&d.setRequestHeader(c,y[c]);else if(e.headers&&!l(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(d.responseType=e.responseType),"beforeSend"in e&&"function"===typeof e.beforeSend&&e.beforeSend(d),d.send(b||null),d}function h(e){try{if("document"===e.responseType)return e.responseXML;var t=e.responseXML&&"parsererror"===e.responseXML.documentElement.nodeName;if(""===e.responseType&&!t)return e.responseXML}catch(r){}return null}function d(){}e.exports=u,e.exports.default=u,u.XMLHttpRequest=n.XMLHttpRequest||d,u.XDomainRequest="withCredentials"in new u.XMLHttpRequest?u.XMLHttpRequest:n.XDomainRequest,s(["get","put","post","patch","head","delete"],(function(e){u["delete"===e?"del":e]=function(t,r,n){return r=c(t,r,n),r.method=e.toUpperCase(),f(r)}}))},eed2:function(e,t,r){var n=r("ca38"),i=r("6a8e");e.exports={encode:n,decode:i}},eeda:function(e,t,r){"use strict";function n(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}var i=n();function a(e,t,r,n){var a=i,o=n+r;e^=-1;for(var s=n;s<o;s++)e=e>>>8^a[255&(e^t[s])];return-1^e}e.exports=a},ef21:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=n(r("0383")),a=n(r("13db")),o=n(r("7181")),s=(0,i["default"])({types:[a["default"]],plugins:[o["default"]]});t["default"]=s},eff9:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getExtension=t.getType=t.addType=void 0;var n={},i=function(e){return Object.entries(n).find((function(t){return t[1].includes(e)}))||[]},a=function(e,t){n[e]=t};t.addType=a;var o=function(e){var t=e.split("/").slice(-1),r=t[t.length-1].split(".").pop(),n=i(r);return n[0]};t.getType=o;var s=function(e){return(n[e.toLowerCase()]||[])[0]};t.getExtension=s},f1f5:function(e,t){var r="chasrset";function n(e){return e.split(",").map((function(e){return parseInt(e,10)}))}e.exports=function(e){for(var t in r in e&&(e["charset"]=e[r],delete e[r]),e)"face"!==t&&"charset"!==t&&(e[t]="padding"===t||"spacing"===t?n(e[t]):parseInt(e[t],10));return e}},f282:function(e,t,r){"use strict";(function(e){var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=n(r("7037")),a=n(r("448a")),o=n(r("df7c")),s=n(r("c9c8")),l=r("c2d7"),c=r("d606");function u(e,t,r,n,i){return i===e.HORIZONTAL_ALIGN_LEFT?0:i===e.HORIZONTAL_ALIGN_CENTER?(n-(0,c.measureText)(t,r))/2:n-(0,c.measureText)(t,r)}function f(e,t,r,n,i){if(i.width>0&&i.height>0){var a=t.pages[i.page];e.blit(a,r+i.xoffset,n+i.yoffset,i.x,i.y,i.width,i.height)}return e}function h(e,t,r,n,i){for(var a=0;a<n.length;a++){var o=void 0;o=e.chars[n[a]]?n[a]:/\s/.test(n[a])?"":"?";var s=e.chars[o]||{},l=e.kernings[o];f(this,e,t,r,s||{});var c=l&&l[n[a+1]]?l[n[a+1]]:0;t+=c+(s.xadvance||i)}}function d(e,t,r){var n=t.split(" "),i=[],o=[],s=0;return n.forEach((function(t){var n=[].concat((0,a["default"])(o),[t]).join(" "),l=(0,c.measureText)(e,n);l<=r?(l>s&&(s=l),o.push(t)):(i.push(o),o=[t])})),i.push(o),{lines:i,longestLine:s}}function p(e,t,r){var n=r.map((function(r){return e.read(t+"/"+r)}));return Promise.all(n)}var m=Object({NODE_ENV:"production",VUE_APP_LANGUAGE_KEY:"en",VUE_APP_NEW_COMPANY:"false",VUE_APP_VERSION:"6.3.1",BASE_URL:"./"}).DIRNAME||"".concat(e,"/../"),g=function(){return{constants:{measureText:c.measureText,measureTextHeight:c.measureTextHeight,FONT_SANS_8_BLACK:o["default"].join(m,"fonts/open-sans/open-sans-8-black/open-sans-8-black.fnt"),FONT_SANS_10_BLACK:o["default"].join(m,"fonts/open-sans/open-sans-10-black/open-sans-10-black.fnt"),FONT_SANS_12_BLACK:o["default"].join(m,"fonts/open-sans/open-sans-12-black/open-sans-12-black.fnt"),FONT_SANS_14_BLACK:o["default"].join(m,"fonts/open-sans/open-sans-14-black/open-sans-14-black.fnt"),FONT_SANS_16_BLACK:o["default"].join(m,"fonts/open-sans/open-sans-16-black/open-sans-16-black.fnt"),FONT_SANS_32_BLACK:o["default"].join(m,"fonts/open-sans/open-sans-32-black/open-sans-32-black.fnt"),FONT_SANS_64_BLACK:o["default"].join(m,"fonts/open-sans/open-sans-64-black/open-sans-64-black.fnt"),FONT_SANS_128_BLACK:o["default"].join(m,"fonts/open-sans/open-sans-128-black/open-sans-128-black.fnt"),FONT_SANS_8_WHITE:o["default"].join(m,"fonts/open-sans/open-sans-8-white/open-sans-8-white.fnt"),FONT_SANS_16_WHITE:o["default"].join(m,"fonts/open-sans/open-sans-16-white/open-sans-16-white.fnt"),FONT_SANS_32_WHITE:o["default"].join(m,"fonts/open-sans/open-sans-32-white/open-sans-32-white.fnt"),FONT_SANS_64_WHITE:o["default"].join(m,"fonts/open-sans/open-sans-64-white/open-sans-64-white.fnt"),FONT_SANS_128_WHITE:o["default"].join(m,"fonts/open-sans/open-sans-128-white/open-sans-128-white.fnt"),loadFont:function(e,t){var r=this;return"string"!==typeof e?l.throwError.call(this,"file must be a string",t):new Promise((function(n,i){t=t||function(e,t){e?i(e):n(t)},(0,s["default"])(e,(function(n,i){var a={},s={};if(n)return l.throwError.call(r,n,t);for(var c=0;c<i.chars.length;c++)a[String.fromCharCode(i.chars[c].id)]=i.chars[c];for(var u=0;u<i.kernings.length;u++){var f=String.fromCharCode(i.kernings[u].first);s[f]=s[f]||{},s[f][String.fromCharCode(i.kernings[u].second)]=i.kernings[u].amount}p(r,o["default"].dirname(e),i.pages).then((function(e){t(null,{chars:a,kernings:s,pages:e,common:i.common,info:i.info})}))}))}))}},class:{print:function(e,t,r,n,a,o,s){var f,p,m=this;if("function"===typeof a&&"undefined"===typeof s&&(s=a,a=1/0),"undefined"===typeof a&&(a=1/0),"function"===typeof o&&"undefined"===typeof s&&(s=o,o=1/0),"undefined"===typeof o&&(o=1/0),"object"!==(0,i["default"])(e))return l.throwError.call(this,"font must be a Jimp loadFont",s);if("number"!==typeof t||"number"!==typeof r||"number"!==typeof a)return l.throwError.call(this,"x, y and maxWidth must be numbers",s);if("number"!==typeof a)return l.throwError.call(this,"maxWidth must be a number",s);if("number"!==typeof o)return l.throwError.call(this,"maxHeight must be a number",s);if("object"===(0,i["default"])(n)&&null!==n.text&&void 0!==n.text){f=n.alignmentX||this.constructor.HORIZONTAL_ALIGN_LEFT,p=n.alignmentY||this.constructor.VERTICAL_ALIGN_TOP;var g=n;n=g.text}else f=this.constructor.HORIZONTAL_ALIGN_LEFT,p=this.constructor.VERTICAL_ALIGN_TOP,n=n.toString();o!==1/0&&p===this.constructor.VERTICAL_ALIGN_BOTTOM?r+=o-(0,c.measureTextHeight)(e,n,a):o!==1/0&&p===this.constructor.VERTICAL_ALIGN_MIDDLE&&(r+=o/2-(0,c.measureTextHeight)(e,n,a)/2);var b=Object.entries(e.chars)[0][1].xadvance,y=d(e,n,a),v=y.lines,_=y.longestLine;return v.forEach((function(n){var i=n.join(" "),o=u(m.constructor,e,i,a,f);h.call(m,e,t+o,r,i,b),r+=e.common.lineHeight})),(0,l.isNodePattern)(s)&&s.call(this,null,this,{x:t+_,y:r}),this}}}};t["default"]=g}).call(this,"/")},f2a4:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=n(r("7037")),a=r("c2d7"),o=function(){return{blit:function(e,t,r,n,o,s,l,c){if(!(e instanceof this.constructor))return a.throwError.call(this,"The source must be a Jimp image",c);if("number"!==typeof t||"number"!==typeof r)return a.throwError.call(this,"x and y must be numbers",c);if("function"===typeof n)c=n,n=0,o=0,s=e.bitmap.width,l=e.bitmap.height;else{if((0,i["default"])(n)!==(0,i["default"])(o)||(0,i["default"])(o)!==(0,i["default"])(s)||(0,i["default"])(s)!==(0,i["default"])(l))return a.throwError.call(this,"srcx, srcy, srcw, srch must be numbers",c);n=n||0,o=o||0,s=s||e.bitmap.width,l=l||e.bitmap.height}t=Math.round(t),r=Math.round(r),n=Math.round(n),o=Math.round(o),s=Math.round(s),l=Math.round(l);var u=this.bitmap.width,f=this.bitmap.height,h=this;return e.scanQuiet(n,o,s,l,(function(e,i,a){var s=t+e-n,l=r+i-o;if(s>=0&&l>=0&&u-s>0&&f-l>0){var c=h.getPixelIndex(s,l),d={r:this.bitmap.data[a],g:this.bitmap.data[a+1],b:this.bitmap.data[a+2],a:this.bitmap.data[a+3]},p={r:h.bitmap.data[c],g:h.bitmap.data[c+1],b:h.bitmap.data[c+2],a:h.bitmap.data[c+3]};h.bitmap.data[c]=(d.a*(d.r-p.r)-p.r+255>>8)+p.r,h.bitmap.data[c+1]=(d.a*(d.g-p.g)-p.g+255>>8)+p.g,h.bitmap.data[c+2]=(d.a*(d.b-p.b)-p.b+255>>8)+p.b,h.bitmap.data[c+3]=this.constructor.limit255(p.a+d.a)}})),(0,a.isNodePattern)(c)&&c.call(this,null,this),this}}};t["default"]=o},f654:function(e,t,r){"use strict";(function(t){var n=r("320c");
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
 * @license  MIT
 */function i(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,i=0,a=Math.min(r,n);i<a;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0}function a(e){return t.Buffer&&"function"===typeof t.Buffer.isBuffer?t.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}var o=r("3022"),s=Object.prototype.hasOwnProperty,l=Array.prototype.slice,c=function(){return"foo"===function(){}.name}();function u(e){return Object.prototype.toString.call(e)}function f(e){return!a(e)&&("function"===typeof t.ArrayBuffer&&("function"===typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}var h=e.exports=v,d=/\s*function\s+([^\(\s]*)\s*/;function p(e){if(o.isFunction(e)){if(c)return e.name;var t=e.toString(),r=t.match(d);return r&&r[1]}}function m(e,t){return"string"===typeof e?e.length<t?e:e.slice(0,t):e}function g(e){if(c||!o.isFunction(e))return o.inspect(e);var t=p(e),r=t?": "+t:"";return"[Function"+r+"]"}function b(e){return m(g(e.actual),128)+" "+e.operator+" "+m(g(e.expected),128)}function y(e,t,r,n,i){throw new h.AssertionError({message:r,actual:e,expected:t,operator:n,stackStartFunction:i})}function v(e,t){e||y(e,!0,t,"==",h.ok)}function _(e,t,r,n){if(e===t)return!0;if(a(e)&&a(t))return 0===i(e,t);if(o.isDate(e)&&o.isDate(t))return e.getTime()===t.getTime();if(o.isRegExp(e)&&o.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"===typeof e||null!==t&&"object"===typeof t){if(f(e)&&f(t)&&u(e)===u(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===i(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(a(e)!==a(t))return!1;n=n||{actual:[],expected:[]};var s=n.actual.indexOf(e);return-1!==s&&s===n.expected.indexOf(t)||(n.actual.push(e),n.expected.push(t),E(e,t,r,n))}return r?e===t:e==t}function w(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function E(e,t,r,n){if(null===e||void 0===e||null===t||void 0===t)return!1;if(o.isPrimitive(e)||o.isPrimitive(t))return e===t;if(r&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var i=w(e),a=w(t);if(i&&!a||!i&&a)return!1;if(i)return e=l.call(e),t=l.call(t),_(e,t,r);var s,c,u=I(e),f=I(t);if(u.length!==f.length)return!1;for(u.sort(),f.sort(),c=u.length-1;c>=0;c--)if(u[c]!==f[c])return!1;for(c=u.length-1;c>=0;c--)if(s=u[c],!_(e[s],t[s],r,n))return!1;return!0}function P(e,t,r){_(e,t,!0)&&y(e,t,r,"notDeepStrictEqual",P)}function A(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(r){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function k(e){var t;try{e()}catch(r){t=r}return t}function C(e,t,r,n){var i;if("function"!==typeof t)throw new TypeError('"block" argument must be a function');"string"===typeof r&&(n=r,r=null),i=k(t),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!i&&y(i,r,"Missing expected exception"+n);var a="string"===typeof n,s=!e&&o.isError(i),l=!e&&i&&!r;if((s&&a&&A(i,r)||l)&&y(i,r,"Got unwanted exception"+n),e&&i&&r&&!A(i,r)||!e&&i)throw i}function S(e,t){e||y(e,!0,t,"==",S)}h.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=b(this),this.generatedMessage=!0);var t=e.stackStartFunction||y;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var r=new Error;if(r.stack){var n=r.stack,i=p(t),a=n.indexOf("\n"+i);if(a>=0){var o=n.indexOf("\n",a+1);n=n.substring(o+1)}this.stack=n}}},o.inherits(h.AssertionError,Error),h.fail=y,h.ok=v,h.equal=function(e,t,r){e!=t&&y(e,t,r,"==",h.equal)},h.notEqual=function(e,t,r){e==t&&y(e,t,r,"!=",h.notEqual)},h.deepEqual=function(e,t,r){_(e,t,!1)||y(e,t,r,"deepEqual",h.deepEqual)},h.deepStrictEqual=function(e,t,r){_(e,t,!0)||y(e,t,r,"deepStrictEqual",h.deepStrictEqual)},h.notDeepEqual=function(e,t,r){_(e,t,!1)&&y(e,t,r,"notDeepEqual",h.notDeepEqual)},h.notDeepStrictEqual=P,h.strictEqual=function(e,t,r){e!==t&&y(e,t,r,"===",h.strictEqual)},h.notStrictEqual=function(e,t,r){e===t&&y(e,t,r,"!==",h.notStrictEqual)},h.throws=function(e,t,r){C(!0,e,t,r)},h.doesNotThrow=function(e,t,r){C(!1,e,t,r)},h.ifError=function(e){if(e)throw e},h.strict=n(S,h,{equal:h.strictEqual,deepEqual:h.deepStrictEqual,notEqual:h.notStrictEqual,notDeepEqual:h.notDeepStrictEqual}),h.strict.strict=h.strict;var I=Object.keys||function(e){var t=[];for(var r in e)s.call(e,r)&&t.push(r);return t}}).call(this,r("c8ba"))},faa1:function(e,t,r){"use strict";var n,i="object"===typeof Reflect?Reflect:null,a=i&&"function"===typeof i.apply?i.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};function o(e){console&&console.warn&&console.warn(e)}n=i&&"function"===typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!==e};function l(){l.init.call(this)}e.exports=l,e.exports.once=_,l.EventEmitter=l,l.prototype._events=void 0,l.prototype._eventsCount=0,l.prototype._maxListeners=void 0;var c=10;function u(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function f(e){return void 0===e._maxListeners?l.defaultMaxListeners:e._maxListeners}function h(e,t,r,n){var i,a,s;if(u(r),a=e._events,void 0===a?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),a=e._events),s=a[t]),void 0===s)s=a[t]=r,++e._eventsCount;else if("function"===typeof s?s=a[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),i=f(e),i>0&&s.length>i&&!s.warned){s.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=s.length,o(l)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=d.bind(n);return i.listener=r,n.wrapFn=i,i}function m(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"===typeof i?r?[i.listener||i]:[i]:r?v(i):b(i,i.length)}function g(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"===typeof r)return 1;if(void 0!==r)return r.length}return 0}function b(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function y(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function v(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}function _(e,t){return new Promise((function(r,n){function i(){void 0!==a&&e.removeListener("error",a),r([].slice.call(arguments))}var a;"error"!==t&&(a=function(r){e.removeListener(t,i),n(r)},e.once("error",a)),e.once(t,i)}))}Object.defineProperty(l,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(e){if("number"!==typeof e||e<0||s(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");c=e}}),l.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},l.prototype.setMaxListeners=function(e){if("number"!==typeof e||e<0||s(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},l.prototype.getMaxListeners=function(){return f(this)},l.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,i=this._events;if(void 0!==i)n=n&&void 0===i.error;else if(!n)return!1;if(n){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var l=i[e];if(void 0===l)return!1;if("function"===typeof l)a(l,this,t);else{var c=l.length,u=b(l,c);for(r=0;r<c;++r)a(u[r],this,t)}return!0},l.prototype.addListener=function(e,t){return h(this,e,t,!1)},l.prototype.on=l.prototype.addListener,l.prototype.prependListener=function(e,t){return h(this,e,t,!0)},l.prototype.once=function(e,t){return u(t),this.on(e,p(this,e,t)),this},l.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,p(this,e,t)),this},l.prototype.removeListener=function(e,t){var r,n,i,a,o;if(u(t),n=this._events,void 0===n)return this;if(r=n[e],void 0===r)return this;if(r===t||r.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!==typeof r){for(i=-1,a=r.length-1;a>=0;a--)if(r[a]===t||r[a].listener===t){o=r[a].listener,i=a;break}if(i<0)return this;0===i?r.shift():y(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,o||t)}return this},l.prototype.off=l.prototype.removeListener,l.prototype.removeAllListeners=function(e){var t,r,n;if(r=this._events,void 0===r)return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var i,a=Object.keys(r);for(n=0;n<a.length;++n)i=a[n],"removeListener"!==i&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(t=r[e],"function"===typeof t)this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},l.prototype.listeners=function(e){return m(this,e,!0)},l.prototype.rawListeners=function(e){return m(this,e,!1)},l.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},l.prototype.listenerCount=g,l.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},fad7:function(e,t,r){var n=r("f1f5"),i=r("486c"),a={scaleh:"scaleH",scalew:"scaleW",stretchh:"stretchH",lineheight:"lineHeight",alphachnl:"alphaChnl",redchnl:"redChnl",greenchnl:"greenChnl",bluechnl:"blueChnl"};function o(e){var t=s(e);return t.reduce((function(e,t){var r=l(t.nodeName);return e[r]=t.nodeValue,e}),{})}function s(e){for(var t=[],r=0;r<e.attributes.length;r++)t.push(e.attributes[r]);return t}function l(e){return a[e.toLowerCase()]||e}e.exports=function(e){e=e.toString();var t=i(e),r={pages:[],chars:[],kernings:[]};["info","common"].forEach((function(e){var i=t.getElementsByTagName(e)[0];i&&(r[e]=n(o(i)))}));var a=t.getElementsByTagName("pages")[0];if(!a)throw new Error("malformed file -- no <pages> element");for(var s=a.getElementsByTagName("page"),l=0;l<s.length;l++){var c=s[l],u=parseInt(c.getAttribute("id"),10),f=c.getAttribute("file");if(isNaN(u))throw new Error('malformed file -- page "id" attribute is NaN');if(!f)throw new Error('malformed file -- needs page "file" attribute');r.pages[parseInt(u,10)]=f}return["chars","kernings"].forEach((function(e){var i=t.getElementsByTagName(e)[0];if(i)for(var a=e.substring(0,e.length-1),s=i.getElementsByTagName(a),l=0;l<s.length;l++){var c=s[l];r[e].push(n(o(c)))}})),r}},fb6a:function(e,t,r){"use strict";var n=r("23e7"),i=r("861d"),a=r("e8b5"),o=r("23cb"),s=r("50c4"),l=r("fc6a"),c=r("8418"),u=r("b622"),f=r("1dde"),h=r("ae40"),d=f("slice"),p=h("slice",{ACCESSORS:!0,0:0,1:2}),m=u("species"),g=[].slice,b=Math.max;n({target:"Array",proto:!0,forced:!d||!p},{slice:function(e,t){var r,n,u,f=l(this),h=s(f.length),d=o(e,h),p=o(void 0===t?h:t,h);if(a(f)&&(r=f.constructor,"function"!=typeof r||r!==Array&&!a(r.prototype)?i(r)&&(r=r[m],null===r&&(r=void 0)):r=void 0,r===Array||void 0===r))return g.call(f,d,p);for(n=new(void 0===r?Array:r)(b(p-d,0)),u=0;d<p;d++,u++)d in f&&c(n,u,f[d]);return n.length=u,n}})},fcd8:function(e,t,r){"use strict";(function(e,n){var i=r("3022"),a=r("d485"),o=r("edd0"),s=r("e0fe"),l=r("1dbf"),c=t.PNG=function(t){a.call(this),t=t||{},this.width=0|t.width,this.height=0|t.height,this.data=this.width>0&&this.height>0?new e(4*this.width*this.height):null,t.fill&&this.data&&this.data.fill(0),this.gamma=0,this.readable=this.writable=!0,this._parser=new o(t),this._parser.on("error",this.emit.bind(this,"error")),this._parser.on("close",this._handleClose.bind(this)),this._parser.on("metadata",this._metadata.bind(this)),this._parser.on("gamma",this._gamma.bind(this)),this._parser.on("parsed",function(e){this.data=e,this.emit("parsed",e)}.bind(this)),this._packer=new s(t),this._packer.on("data",this.emit.bind(this,"data")),this._packer.on("end",this.emit.bind(this,"end")),this._parser.on("close",this._handleClose.bind(this)),this._packer.on("error",this.emit.bind(this,"error"))};i.inherits(c,a),c.sync=l,c.prototype.pack=function(){return this.data&&this.data.length?(n.nextTick(function(){this._packer.pack(this.data,this.width,this.height,this.gamma)}.bind(this)),this):(this.emit("error","No data provided"),this)},c.prototype.parse=function(e,t){var r,n;t&&(r=function(e){this.removeListener("error",n),this.data=e,t(null,this)}.bind(this),n=function(e){this.removeListener("parsed",r),t(e,null)}.bind(this),this.once("parsed",r),this.once("error",n));return this.end(e),this},c.prototype.write=function(e){return this._parser.write(e),!0},c.prototype.end=function(e){this._parser.end(e)},c.prototype._metadata=function(e){this.width=e.width,this.height=e.height,this.emit("metadata",e)},c.prototype._gamma=function(e){this.gamma=e},c.prototype._handleClose=function(){this._parser.writable||this._packer.readable||this.emit("close")},c.bitblt=function(e,t,r,n,i,a,o,s){if(r|=0,n|=0,i|=0,a|=0,o|=0,s|=0,r>e.width||n>e.height||r+i>e.width||n+a>e.height)throw new Error("bitblt reading outside image");if(o>t.width||s>t.height||o+i>t.width||s+a>t.height)throw new Error("bitblt writing outside image");for(var l=0;l<a;l++)e.data.copy(t.data,(s+l)*t.width+o<<2,(n+l)*e.width+r<<2,(n+l)*e.width+r+i<<2)},c.prototype.bitblt=function(e,t,r,n,i,a,o){return c.bitblt(this,e,t,r,n,i,a,o),this},c.adjustGamma=function(e){if(e.gamma){for(var t=0;t<e.height;t++)for(var r=0;r<e.width;r++)for(var n=e.width*t+r<<2,i=0;i<3;i++){var a=e.data[n+i]/255;a=Math.pow(a,1/2.2/e.gamma),e.data[n+i]=Math.round(255*a)}e.gamma=0}},c.prototype.adjustGamma=function(){c.adjustGamma(this)}}).call(this,r("b639").Buffer,r("4362"))}}]);