nfets 0.0.141 → 0.0.142

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,54 +1,51 @@
1
- "use strict";var OR=Object.create;var Bp=Object.defineProperty;var AR=Object.getOwnPropertyDescriptor;var FR=Object.getOwnPropertyNames;var DR=Object.getPrototypeOf,ER=Object.prototype.hasOwnProperty;var s=(t,e)=>Bp(t,"name",{value:e,configurable:!0});var R=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),yg=(t,e)=>{for(var o in e)Bp(t,o,{get:e[o],enumerable:!0})},bg=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of FR(e))!ER.call(t,r)&&r!==o&&Bp(t,r,{get:()=>e[r],enumerable:!(i=AR(e,r))||i.enumerable});return t};var pt=(t,e,o)=>(o=t!=null?OR(DR(t)):{},bg(e||!t||!t.__esModule?Bp(o,"default",{value:t,enumerable:!0}):o,t)),PR=t=>bg(Bp({},"__esModule",{value:!0}),t);var Ug=R((U1,_g)=>{"use strict";var Vg=require("stream").Stream,qw=require("util");_g.exports=Mi;function Mi(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}s(Mi,"DelayedStream");qw.inherits(Mi,Vg);Mi.create=function(t,e){var o=new this;e=e||{};for(var i in e)o[i]=e[i];o.source=t;var r=t.emit;return t.emit=function(){return o._handleEmit(arguments),r.apply(t,arguments)},t.on("error",function(){}),o.pauseStream&&t.pause(),o};Object.defineProperty(Mi.prototype,"readable",{configurable:!0,enumerable:!0,get:s(function(){return this.source.readable},"get")});Mi.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};Mi.prototype.resume=function(){this._released||this.release(),this.source.resume()};Mi.prototype.pause=function(){this.source.pause()};Mi.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach((function(t){this.emit.apply(this,t)}).bind(this)),this._bufferedEvents=[]};Mi.prototype.pipe=function(){var t=Vg.prototype.pipe.apply(this,arguments);return this.resume(),t};Mi.prototype._handleEmit=function(t){if(this._released){this.emit.apply(this,t);return}t[0]==="data"&&(this.dataSize+=t[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(t)};Mi.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var t="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(t))}}});var Gg=R((H1,kg)=>{"use strict";var Hw=require("util"),Hg=require("stream").Stream,qg=Ug();kg.exports=ot;function ot(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}s(ot,"CombinedStream");Hw.inherits(ot,Hg);ot.create=function(t){var e=new this;t=t||{};for(var o in t)e[o]=t[o];return e};ot.isStreamLike=function(t){return typeof t!="function"&&typeof t!="string"&&typeof t!="boolean"&&typeof t!="number"&&!Buffer.isBuffer(t)};ot.prototype.append=function(t){var e=ot.isStreamLike(t);if(e){if(!(t instanceof qg)){var o=qg.create(t,{maxDataSize:1/0,pauseStream:this.pauseStreams});t.on("data",this._checkDataSize.bind(this)),t=o}this._handleErrors(t),this.pauseStreams&&t.pause()}return this._streams.push(t),this};ot.prototype.pipe=function(t,e){return Hg.prototype.pipe.call(this,t,e),this.resume(),t};ot.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};ot.prototype._realGetNext=function(){var t=this._streams.shift();if(typeof t>"u"){this.end();return}if(typeof t!="function"){this._pipeNext(t);return}var e=t;e((function(o){var i=ot.isStreamLike(o);i&&(o.on("data",this._checkDataSize.bind(this)),this._handleErrors(o)),this._pipeNext(o)}).bind(this))};ot.prototype._pipeNext=function(t){this._currentStream=t;var e=ot.isStreamLike(t);if(e){t.on("end",this._getNext.bind(this)),t.pipe(this,{end:!1});return}var o=t;this.write(o),this._getNext()};ot.prototype._handleErrors=function(t){var e=this;t.on("error",function(o){e._emitError(o)})};ot.prototype.write=function(t){this.emit("data",t)};ot.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};ot.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")};ot.prototype.end=function(){this._reset(),this.emit("end")};ot.prototype.destroy=function(){this._reset(),this.emit("close")};ot.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};ot.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var t="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(t))}};ot.prototype._updateDataSize=function(){this.dataSize=0;var t=this;this._streams.forEach(function(e){e.dataSize&&(t.dataSize+=e.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)};ot.prototype._emitError=function(t){this._reset(),this.emit("error",t)}});var Qg=R((G1,kw)=>{kw.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}}});var Yg=R((Q1,Zg)=>{"use strict";Zg.exports=Qg()});var Xg=R(_o=>{"use strict";var Iu=Yg(),Gw=require("path").extname,Jg=/^\s*([^;\s]*)(?:;|\s|$)/,Qw=/^text\//i;_o.charset=Wg;_o.charsets={lookup:Wg};_o.contentType=Zw;_o.extension=Yw;_o.extensions=Object.create(null);_o.lookup=Jw;_o.types=Object.create(null);Ww(_o.extensions,_o.types);function Wg(t){if(!t||typeof t!="string")return!1;var e=Jg.exec(t),o=e&&Iu[e[1].toLowerCase()];return o&&o.charset?o.charset:e&&Qw.test(e[1])?"UTF-8":!1}s(Wg,"charset");function Zw(t){if(!t||typeof t!="string")return!1;var e=t.indexOf("/")===-1?_o.lookup(t):t;if(!e)return!1;if(e.indexOf("charset")===-1){var o=_o.charset(e);o&&(e+="; charset="+o.toLowerCase())}return e}s(Zw,"contentType");function Yw(t){if(!t||typeof t!="string")return!1;var e=Jg.exec(t),o=e&&_o.extensions[e[1].toLowerCase()];return!o||!o.length?!1:o[0]}s(Yw,"extension");function Jw(t){if(!t||typeof t!="string")return!1;var e=Gw("x."+t).toLowerCase().substr(1);return e&&_o.types[e]||!1}s(Jw,"lookup");function Ww(t,e){var o=["nginx","apache",void 0,"iana"];Object.keys(Iu).forEach(s(function(r){var n=Iu[r],a=n.extensions;if(!(!a||!a.length)){t[r]=a;for(var c=0;c<a.length;c++){var p=a[c];if(e[p]){var u=o.indexOf(Iu[e[p]].source),l=o.indexOf(n.source);if(e[p]!=="application/octet-stream"&&(u>l||u===l&&e[p].substr(0,12)==="application/"))continue}e[p]=r}}},"forEachMimeType"))}s(Ww,"populateMaps")});var $g=R((J1,Kg)=>{"use strict";Kg.exports=Xw;function Xw(t){var e=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;e?e(t):setTimeout(t,0)}s(Xw,"defer")});var Uf=R((X1,ty)=>{"use strict";var ey=$g();ty.exports=Kw;function Kw(t){var e=!1;return ey(function(){e=!0}),s(function(i,r){e?t(i,r):ey(s(function(){t(i,r)},"nextTick_callback"))},"async_callback")}s(Kw,"async")});var qf=R(($1,oy)=>{"use strict";oy.exports=$w;function $w(t){Object.keys(t.jobs).forEach(eI.bind(t)),t.jobs={}}s($w,"abort");function eI(t){typeof this.jobs[t]=="function"&&this.jobs[t]()}s(eI,"clean")});var Hf=R((tT,ny)=>{"use strict";var iy=Uf(),tI=qf();ny.exports=oI;function oI(t,e,o,i){var r=o.keyedList?o.keyedList[o.index]:o.index;o.jobs[r]=iI(e,r,t[r],function(n,a){r in o.jobs&&(delete o.jobs[r],n?tI(o):o.results[r]=a,i(n,o.results))})}s(oI,"iterate");function iI(t,e,o,i){var r;return t.length==2?r=t(o,iy(i)):r=t(o,e,iy(i)),r}s(iI,"runJob")});var kf=R((iT,ry)=>{"use strict";ry.exports=nI;function nI(t,e){var o=!Array.isArray(t),i={index:0,keyedList:o||e?Object.keys(t):null,jobs:{},results:o?{}:[],size:o?Object.keys(t).length:t.length};return e&&i.keyedList.sort(o?e:function(r,n){return e(t[r],t[n])}),i}s(nI,"state")});var Gf=R((rT,ay)=>{"use strict";var rI=qf(),aI=Uf();ay.exports=sI;function sI(t){Object.keys(this.jobs).length&&(this.index=this.size,rI(this),aI(t)(null,this.results))}s(sI,"terminator")});var cy=R((sT,sy)=>{"use strict";var cI=Hf(),pI=kf(),lI=Gf();sy.exports=uI;function uI(t,e,o){for(var i=pI(t);i.index<(i.keyedList||t).length;)cI(t,e,i,function(r,n){if(r){o(r,n);return}if(Object.keys(i.jobs).length===0){o(null,i.results);return}}),i.index++;return lI.bind(i,o)}s(uI,"parallel")});var Qf=R((pT,Ou)=>{"use strict";var py=Hf(),dI=kf(),fI=Gf();Ou.exports=mI;Ou.exports.ascending=ly;Ou.exports.descending=hI;function mI(t,e,o,i){var r=dI(t,o);return py(t,e,r,s(function n(a,c){if(a){i(a,c);return}if(r.index++,r.index<(r.keyedList||t).length){py(t,e,r,n);return}i(null,r.results)},"iteratorHandler")),fI.bind(r,i)}s(mI,"serialOrdered");function ly(t,e){return t<e?-1:t>e?1:0}s(ly,"ascending");function hI(t,e){return-1*ly(t,e)}s(hI,"descending")});var dy=R((uT,uy)=>{"use strict";var vI=Qf();uy.exports=gI;function gI(t,e,o){return vI(t,e,null,o)}s(gI,"serial")});var my=R((fT,fy)=>{"use strict";fy.exports={parallel:cy(),serial:dy(),serialOrdered:Qf()}});var Zf=R((mT,hy)=>{"use strict";hy.exports=Object});var gy=R((hT,vy)=>{"use strict";vy.exports=Error});var by=R((vT,yy)=>{"use strict";yy.exports=EvalError});var Sy=R((gT,xy)=>{"use strict";xy.exports=RangeError});var Ny=R((yT,Cy)=>{"use strict";Cy.exports=ReferenceError});var wy=R((bT,Ry)=>{"use strict";Ry.exports=SyntaxError});var Au=R((xT,Iy)=>{"use strict";Iy.exports=TypeError});var Ay=R((ST,Oy)=>{"use strict";Oy.exports=URIError});var Dy=R((CT,Fy)=>{"use strict";Fy.exports=Math.abs});var Py=R((NT,Ey)=>{"use strict";Ey.exports=Math.floor});var zy=R((RT,Ty)=>{"use strict";Ty.exports=Math.max});var By=R((wT,jy)=>{"use strict";jy.exports=Math.min});var Ly=R((IT,My)=>{"use strict";My.exports=Math.pow});var _y=R((OT,Vy)=>{"use strict";Vy.exports=Math.round});var qy=R((AT,Uy)=>{"use strict";Uy.exports=Number.isNaN||s(function(e){return e!==e},"isNaN")});var ky=R((DT,Hy)=>{"use strict";var yI=qy();Hy.exports=s(function(e){return yI(e)||e===0?e:e<0?-1:1},"sign")});var Qy=R((PT,Gy)=>{"use strict";Gy.exports=Object.getOwnPropertyDescriptor});var Yf=R((TT,Zy)=>{"use strict";var Fu=Qy();if(Fu)try{Fu([],"length")}catch{Fu=null}Zy.exports=Fu});var Jy=R((zT,Yy)=>{"use strict";var Du=Object.defineProperty||!1;if(Du)try{Du({},"a",{value:1})}catch{Du=!1}Yy.exports=Du});var Jf=R((jT,Wy)=>{"use strict";Wy.exports=s(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},o=Symbol("test"),i=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var r=42;e[o]=r;for(var n in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==o||!Object.prototype.propertyIsEnumerable.call(e,o))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var c=Object.getOwnPropertyDescriptor(e,o);if(c.value!==r||c.enumerable!==!0)return!1}return!0},"hasSymbols")});var $y=R((MT,Ky)=>{"use strict";var Xy=typeof Symbol<"u"&&Symbol,bI=Jf();Ky.exports=s(function(){return typeof Xy!="function"||typeof Symbol!="function"||typeof Xy("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:bI()},"hasNativeSymbols")});var Wf=R((VT,eb)=>{"use strict";eb.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var Xf=R((_T,tb)=>{"use strict";var xI=Zf();tb.exports=xI.getPrototypeOf||null});var nb=R((UT,ib)=>{"use strict";var SI="Function.prototype.bind called on incompatible ",CI=Object.prototype.toString,NI=Math.max,RI="[object Function]",ob=s(function(e,o){for(var i=[],r=0;r<e.length;r+=1)i[r]=e[r];for(var n=0;n<o.length;n+=1)i[n+e.length]=o[n];return i},"concatty"),wI=s(function(e,o){for(var i=[],r=o||0,n=0;r<e.length;r+=1,n+=1)i[n]=e[r];return i},"slicy"),II=s(function(t,e){for(var o="",i=0;i<t.length;i+=1)o+=t[i],i+1<t.length&&(o+=e);return o},"joiny");ib.exports=s(function(e){var o=this;if(typeof o!="function"||CI.apply(o)!==RI)throw new TypeError(SI+o);for(var i=wI(arguments,1),r,n=s(function(){if(this instanceof r){var l=o.apply(this,ob(i,arguments));return Object(l)===l?l:this}return o.apply(e,ob(i,arguments))},"binder"),a=NI(0,o.length-i.length),c=[],p=0;p<a;p++)c[p]="$"+p;if(r=Function("binder","return function ("+II(c,",")+"){ return binder.apply(this,arguments); }")(n),o.prototype){var u=s(function(){},"Empty");u.prototype=o.prototype,r.prototype=new u,u.prototype=null}return r},"bind")});var Zs=R((HT,rb)=>{"use strict";var OI=nb();rb.exports=Function.prototype.bind||OI});var Eu=R((kT,ab)=>{"use strict";ab.exports=Function.prototype.call});var Kf=R((GT,sb)=>{"use strict";sb.exports=Function.prototype.apply});var pb=R((QT,cb)=>{"use strict";cb.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var ub=R((ZT,lb)=>{"use strict";var AI=Zs(),FI=Kf(),DI=Eu(),EI=pb();lb.exports=EI||AI.call(DI,FI)});var fb=R((YT,db)=>{"use strict";var PI=Zs(),TI=Au(),zI=Eu(),jI=ub();db.exports=s(function(e){if(e.length<1||typeof e[0]!="function")throw new TI("a function is required");return jI(PI,zI,e)},"callBindBasic")});var bb=R((WT,yb)=>{"use strict";var BI=fb(),mb=Yf(),vb;try{vb=[].__proto__===Array.prototype}catch(t){if(!t||typeof t!="object"||!("code"in t)||t.code!=="ERR_PROTO_ACCESS")throw t}var $f=!!vb&&mb&&mb(Object.prototype,"__proto__"),gb=Object,hb=gb.getPrototypeOf;yb.exports=$f&&typeof $f.get=="function"?BI([$f.get]):typeof hb=="function"?s(function(e){return hb(e==null?e:gb(e))},"getDunder"):!1});var Rb=R((KT,Nb)=>{"use strict";var xb=Wf(),Sb=Xf(),Cb=bb();Nb.exports=xb?s(function(e){return xb(e)},"getProto"):Sb?s(function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return Sb(e)},"getProto"):Cb?s(function(e){return Cb(e)},"getProto"):null});var Ib=R((e4,wb)=>{"use strict";var MI=Function.prototype.call,LI=Object.prototype.hasOwnProperty,VI=Zs();wb.exports=VI.call(MI,LI)});var Tb=R((t4,Pb)=>{"use strict";var K,_I=Zf(),UI=gy(),qI=by(),HI=Sy(),kI=Ny(),Xs=wy(),Ws=Au(),GI=Ay(),QI=Dy(),ZI=Py(),YI=zy(),JI=By(),WI=Ly(),XI=_y(),KI=ky(),Db=Function,em=s(function(t){try{return Db('"use strict"; return ('+t+").constructor;")()}catch{}},"getEvalledConstructor"),Yp=Yf(),$I=Jy(),tm=s(function(){throw new Ws},"throwTypeError"),eO=Yp?(function(){try{return arguments.callee,tm}catch{try{return Yp(arguments,"callee").get}catch{return tm}}})():tm,Ys=$y()(),Et=Rb(),tO=Xf(),oO=Wf(),Eb=Kf(),Jp=Eu(),Js={},iO=typeof Uint8Array>"u"||!Et?K:Et(Uint8Array),Qa={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?K:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?K:ArrayBuffer,"%ArrayIteratorPrototype%":Ys&&Et?Et([][Symbol.iterator]()):K,"%AsyncFromSyncIteratorPrototype%":K,"%AsyncFunction%":Js,"%AsyncGenerator%":Js,"%AsyncGeneratorFunction%":Js,"%AsyncIteratorPrototype%":Js,"%Atomics%":typeof Atomics>"u"?K:Atomics,"%BigInt%":typeof BigInt>"u"?K:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?K:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?K:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?K:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":UI,"%eval%":eval,"%EvalError%":qI,"%Float16Array%":typeof Float16Array>"u"?K:Float16Array,"%Float32Array%":typeof Float32Array>"u"?K:Float32Array,"%Float64Array%":typeof Float64Array>"u"?K:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?K:FinalizationRegistry,"%Function%":Db,"%GeneratorFunction%":Js,"%Int8Array%":typeof Int8Array>"u"?K:Int8Array,"%Int16Array%":typeof Int16Array>"u"?K:Int16Array,"%Int32Array%":typeof Int32Array>"u"?K:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Ys&&Et?Et(Et([][Symbol.iterator]())):K,"%JSON%":typeof JSON=="object"?JSON:K,"%Map%":typeof Map>"u"?K:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Ys||!Et?K:Et(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":_I,"%Object.getOwnPropertyDescriptor%":Yp,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?K:Promise,"%Proxy%":typeof Proxy>"u"?K:Proxy,"%RangeError%":HI,"%ReferenceError%":kI,"%Reflect%":typeof Reflect>"u"?K:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?K:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Ys||!Et?K:Et(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?K:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Ys&&Et?Et(""[Symbol.iterator]()):K,"%Symbol%":Ys?Symbol:K,"%SyntaxError%":Xs,"%ThrowTypeError%":eO,"%TypedArray%":iO,"%TypeError%":Ws,"%Uint8Array%":typeof Uint8Array>"u"?K:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?K:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?K:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?K:Uint32Array,"%URIError%":GI,"%WeakMap%":typeof WeakMap>"u"?K:WeakMap,"%WeakRef%":typeof WeakRef>"u"?K:WeakRef,"%WeakSet%":typeof WeakSet>"u"?K:WeakSet,"%Function.prototype.call%":Jp,"%Function.prototype.apply%":Eb,"%Object.defineProperty%":$I,"%Object.getPrototypeOf%":tO,"%Math.abs%":QI,"%Math.floor%":ZI,"%Math.max%":YI,"%Math.min%":JI,"%Math.pow%":WI,"%Math.round%":XI,"%Math.sign%":KI,"%Reflect.getPrototypeOf%":oO};if(Et)try{null.error}catch(t){Ob=Et(Et(t)),Qa["%Error.prototype%"]=Ob}var Ob,nO=s(function t(e){var o;if(e==="%AsyncFunction%")o=em("async function () {}");else if(e==="%GeneratorFunction%")o=em("function* () {}");else if(e==="%AsyncGeneratorFunction%")o=em("async function* () {}");else if(e==="%AsyncGenerator%"){var i=t("%AsyncGeneratorFunction%");i&&(o=i.prototype)}else if(e==="%AsyncIteratorPrototype%"){var r=t("%AsyncGenerator%");r&&Et&&(o=Et(r.prototype))}return Qa[e]=o,o},"doEval"),Ab={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Wp=Zs(),Pu=Ib(),rO=Wp.call(Jp,Array.prototype.concat),aO=Wp.call(Eb,Array.prototype.splice),Fb=Wp.call(Jp,String.prototype.replace),Tu=Wp.call(Jp,String.prototype.slice),sO=Wp.call(Jp,RegExp.prototype.exec),cO=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,pO=/\\(\\)?/g,lO=s(function(e){var o=Tu(e,0,1),i=Tu(e,-1);if(o==="%"&&i!=="%")throw new Xs("invalid intrinsic syntax, expected closing `%`");if(i==="%"&&o!=="%")throw new Xs("invalid intrinsic syntax, expected opening `%`");var r=[];return Fb(e,cO,function(n,a,c,p){r[r.length]=c?Fb(p,pO,"$1"):a||n}),r},"stringToPath"),uO=s(function(e,o){var i=e,r;if(Pu(Ab,i)&&(r=Ab[i],i="%"+r[0]+"%"),Pu(Qa,i)){var n=Qa[i];if(n===Js&&(n=nO(i)),typeof n>"u"&&!o)throw new Ws("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:i,value:n}}throw new Xs("intrinsic "+e+" does not exist!")},"getBaseIntrinsic");Pb.exports=s(function(e,o){if(typeof e!="string"||e.length===0)throw new Ws("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof o!="boolean")throw new Ws('"allowMissing" argument must be a boolean');if(sO(/^%?[^%]*%?$/,e)===null)throw new Xs("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=lO(e),r=i.length>0?i[0]:"",n=uO("%"+r+"%",o),a=n.name,c=n.value,p=!1,u=n.alias;u&&(r=u[0],aO(i,rO([0,1],u)));for(var l=1,d=!0;l<i.length;l+=1){var m=i[l],y=Tu(m,0,1),x=Tu(m,-1);if((y==='"'||y==="'"||y==="`"||x==='"'||x==="'"||x==="`")&&y!==x)throw new Xs("property names with quotes must have matching quotes");if((m==="constructor"||!d)&&(p=!0),r+="."+m,a="%"+r+"%",Pu(Qa,a))c=Qa[a];else if(c!=null){if(!(m in c)){if(!o)throw new Ws("base intrinsic for "+e+" exists, but the property is not available.");return}if(Yp&&l+1>=i.length){var N=Yp(c,m);d=!!N,d&&"get"in N&&!("originalValue"in N.get)?c=N.get:c=c[m]}else d=Pu(c,m),c=c[m];d&&!p&&(Qa[a]=c)}}return c},"GetIntrinsic")});var jb=R((i4,zb)=>{"use strict";var dO=Jf();zb.exports=s(function(){return dO()&&!!Symbol.toStringTag},"hasToStringTagShams")});var om=R((r4,Bb)=>{"use strict";var fO=Function.prototype.call,mO=Object.prototype.hasOwnProperty,hO=Zs();Bb.exports=hO.call(fO,mO)});var Vb=R((a4,Lb)=>{"use strict";var vO=Tb(),Mb=vO("%Object.defineProperty%",!0),gO=jb()(),yO=om(),bO=Au(),zu=gO?Symbol.toStringTag:null;Lb.exports=s(function(e,o){var i=arguments.length>2&&!!arguments[2]&&arguments[2].force,r=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof i<"u"&&typeof i!="boolean"||typeof r<"u"&&typeof r!="boolean")throw new bO("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");zu&&(i||!yO(e,zu))&&(Mb?Mb(e,zu,{configurable:!r,enumerable:!1,value:o,writable:!1}):e[zu]=o)},"setToStringTag")});var Ub=R((c4,_b)=>{"use strict";_b.exports=function(t,e){return Object.keys(e).forEach(function(o){t[o]=t[o]||e[o]}),t}});var kb=R((p4,Hb)=>{"use strict";var am=Gg(),xO=require("util"),im=require("path"),SO=require("http"),CO=require("https"),NO=require("url").parse,RO=require("fs"),wO=require("stream").Stream,IO=require("crypto"),nm=Xg(),OO=my(),AO=Vb(),Hr=om(),rm=Ub();function qb(t){return String(t).replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/"/g,"%22")}s(qb,"escapeHeaderParam");function oe(t){if(!(this instanceof oe))return new oe(t);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],am.call(this),t=t||{};for(var e in t)this[e]=t[e]}s(oe,"FormData");xO.inherits(oe,am);oe.LINE_BREAK=`\r
2
- `;oe.DEFAULT_CONTENT_TYPE="application/octet-stream";oe.prototype.append=function(t,e,o){o=o||{},typeof o=="string"&&(o={filename:o});var i=am.prototype.append.bind(this);if((typeof e=="number"||e==null)&&(e=String(e)),Array.isArray(e)){this._error(new Error("Arrays are not supported."));return}var r=this._multiPartHeader(t,e,o),n=this._multiPartFooter();i(r),i(e),i(n),this._trackLength(r,e,o)};oe.prototype._trackLength=function(t,e,o){var i=0;o.knownLength!=null?i+=Number(o.knownLength):Buffer.isBuffer(e)?i=e.length:typeof e=="string"&&(i=Buffer.byteLength(e)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(t)+oe.LINE_BREAK.length,!(!e||!e.path&&!(e.readable&&Hr(e,"httpVersion"))&&!(e instanceof wO))&&(o.knownLength||this._valuesToMeasure.push(e))};oe.prototype._lengthRetriever=function(t,e){Hr(t,"fd")?t.end!=null&&t.end!=1/0&&t.start!=null?e(null,t.end+1-(t.start?t.start:0)):RO.stat(t.path,function(o,i){if(o){e(o);return}var r=i.size-(t.start?t.start:0);e(null,r)}):Hr(t,"httpVersion")?e(null,Number(t.headers["content-length"])):Hr(t,"httpModule")?(t.on("response",function(o){t.pause(),e(null,Number(o.headers["content-length"]))}),t.resume()):e("Unknown stream")};oe.prototype._multiPartHeader=function(t,e,o){if(typeof o.header=="string")return o.header;var i=this._getContentDisposition(e,o),r=this._getContentType(e,o),n="",a={"Content-Disposition":["form-data",'name="'+qb(t)+'"'].concat(i||[]),"Content-Type":[].concat(r||[])};typeof o.header=="object"&&rm(a,o.header);var c;for(var p in a)if(Hr(a,p)){if(c=a[p],c==null)continue;Array.isArray(c)||(c=[c]),c.length&&(n+=p+": "+c.join("; ")+oe.LINE_BREAK)}return"--"+this.getBoundary()+oe.LINE_BREAK+n+oe.LINE_BREAK};oe.prototype._getContentDisposition=function(t,e){var o;if(typeof e.filepath=="string"?o=im.normalize(e.filepath).replace(/\\/g,"/"):e.filename||t&&(t.name||t.path)?o=im.basename(e.filename||t&&(t.name||t.path)):t&&t.readable&&Hr(t,"httpVersion")&&(o=im.basename(t.client._httpMessage.path||"")),o)return'filename="'+qb(o)+'"'};oe.prototype._getContentType=function(t,e){var o=e.contentType;return!o&&t&&t.name&&(o=nm.lookup(t.name)),!o&&t&&t.path&&(o=nm.lookup(t.path)),!o&&t&&t.readable&&Hr(t,"httpVersion")&&(o=t.headers["content-type"]),!o&&(e.filepath||e.filename)&&(o=nm.lookup(e.filepath||e.filename)),!o&&t&&typeof t=="object"&&(o=oe.DEFAULT_CONTENT_TYPE),o};oe.prototype._multiPartFooter=function(){return(function(t){var e=oe.LINE_BREAK,o=this._streams.length===0;o&&(e+=this._lastBoundary()),t(e)}).bind(this)};oe.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+oe.LINE_BREAK};oe.prototype.getHeaders=function(t){var e,o={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(e in t)Hr(t,e)&&(o[e.toLowerCase()]=t[e]);return o};oe.prototype.setBoundary=function(t){if(typeof t!="string")throw new TypeError("FormData boundary must be a string");this._boundary=t};oe.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};oe.prototype.getBuffer=function(){for(var t=new Buffer.alloc(0),e=this.getBoundary(),o=0,i=this._streams.length;o<i;o++)typeof this._streams[o]!="function"&&(Buffer.isBuffer(this._streams[o])?t=Buffer.concat([t,this._streams[o]]):t=Buffer.concat([t,Buffer.from(this._streams[o])]),(typeof this._streams[o]!="string"||this._streams[o].substring(2,e.length+2)!==e)&&(t=Buffer.concat([t,Buffer.from(oe.LINE_BREAK)])));return Buffer.concat([t,Buffer.from(this._lastBoundary())])};oe.prototype._generateBoundary=function(){this._boundary="--------------------------"+IO.randomBytes(12).toString("hex")};oe.prototype.getLengthSync=function(){var t=this._overheadLength+this._valueLength;return this._streams.length&&(t+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),t};oe.prototype.hasKnownLength=function(){var t=!0;return this._valuesToMeasure.length&&(t=!1),t};oe.prototype.getLength=function(t){var e=this._overheadLength+this._valueLength;if(this._streams.length&&(e+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(t.bind(this,null,e));return}OO.parallel(this._valuesToMeasure,this._lengthRetriever,function(o,i){if(o){t(o);return}i.forEach(function(r){e+=r}),t(null,e)})};oe.prototype.submit=function(t,e){var o,i,r={method:"post"};return typeof t=="string"?(t=NO(t),i=rm({port:t.port,path:t.pathname,host:t.hostname,protocol:t.protocol},r)):(i=rm(t,r),i.port||(i.port=i.protocol==="https:"?443:80)),i.headers=this.getHeaders(t.headers),i.protocol==="https:"?o=CO.request(i):o=SO.request(i),this.getLength((function(n,a){if(n&&n!=="Unknown stream"){this._error(n);return}if(a&&o.setHeader("Content-Length",a),this.pipe(o),e){var c,p=s(function(u,l){return o.removeListener("error",p),o.removeListener("response",c),e.call(this,u,l)},"callback");c=p.bind(this,null),o.on("error",p),o.on("response",c)}}).bind(this)),o};oe.prototype._error=function(t){this.error||(this.error=t,this.pause(),this.emit("error",t))};oe.prototype.toString=function(){return"[object FormData]"};AO(oe.prototype,"FormData");Hb.exports=oe});var cx=R((Az,sx)=>{"use strict";var ec=1e3,tc=ec*60,oc=tc*60,Ja=oc*24,KO=Ja*7,$O=Ja*365.25;sx.exports=function(t,e){e=e||{};var o=typeof t;if(o==="string"&&t.length>0)return eA(t);if(o==="number"&&isFinite(t))return e.long?oA(t):tA(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function eA(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var o=parseFloat(e[1]),i=(e[2]||"ms").toLowerCase();switch(i){case"years":case"year":case"yrs":case"yr":case"y":return o*$O;case"weeks":case"week":case"w":return o*KO;case"days":case"day":case"d":return o*Ja;case"hours":case"hour":case"hrs":case"hr":case"h":return o*oc;case"minutes":case"minute":case"mins":case"min":case"m":return o*tc;case"seconds":case"second":case"secs":case"sec":case"s":return o*ec;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}s(eA,"parse");function tA(t){var e=Math.abs(t);return e>=Ja?Math.round(t/Ja)+"d":e>=oc?Math.round(t/oc)+"h":e>=tc?Math.round(t/tc)+"m":e>=ec?Math.round(t/ec)+"s":t+"ms"}s(tA,"fmtShort");function oA(t){var e=Math.abs(t);return e>=Ja?Lu(t,e,Ja,"day"):e>=oc?Lu(t,e,oc,"hour"):e>=tc?Lu(t,e,tc,"minute"):e>=ec?Lu(t,e,ec,"second"):t+" ms"}s(oA,"fmtLong");function Lu(t,e,o,i){var r=e>=o*1.5;return Math.round(t/o)+" "+i+(r?"s":"")}s(Lu,"plural")});var xm=R((Dz,px)=>{"use strict";function iA(t){o.debug=o,o.default=o,o.coerce=p,o.disable=a,o.enable=r,o.enabled=c,o.humanize=cx(),o.destroy=u,Object.keys(t).forEach(l=>{o[l]=t[l]}),o.names=[],o.skips=[],o.formatters={};function e(l){let d=0;for(let m=0;m<l.length;m++)d=(d<<5)-d+l.charCodeAt(m),d|=0;return o.colors[Math.abs(d)%o.colors.length]}s(e,"selectColor"),o.selectColor=e;function o(l){let d,m=null,y,x;function N(...C){if(!N.enabled)return;let b=N,I=Number(new Date),A=I-(d||I);b.diff=A,b.prev=d,b.curr=I,d=I,C[0]=o.coerce(C[0]),typeof C[0]!="string"&&C.unshift("%O");let D=0;C[0]=C[0].replace(/%([a-zA-Z%])/g,(Q,Ct)=>{if(Q==="%%")return"%";D++;let Yo=o.formatters[Ct];if(typeof Yo=="function"){let bn=C[D];Q=Yo.call(b,bn),C.splice(D,1),D--}return Q}),o.formatArgs.call(b,C),(b.log||o.log).apply(b,C)}return s(N,"debug"),N.namespace=l,N.useColors=o.useColors(),N.color=o.selectColor(l),N.extend=i,N.destroy=o.destroy,Object.defineProperty(N,"enabled",{enumerable:!0,configurable:!1,get:s(()=>m!==null?m:(y!==o.namespaces&&(y=o.namespaces,x=o.enabled(l)),x),"get"),set:s(C=>{m=C},"set")}),typeof o.init=="function"&&o.init(N),N}s(o,"createDebug");function i(l,d){let m=o(this.namespace+(typeof d>"u"?":":d)+l);return m.log=this.log,m}s(i,"extend");function r(l){o.save(l),o.namespaces=l,o.names=[],o.skips=[];let d=(typeof l=="string"?l:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let m of d)m[0]==="-"?o.skips.push(m.slice(1)):o.names.push(m)}s(r,"enable");function n(l,d){let m=0,y=0,x=-1,N=0;for(;m<l.length;)if(y<d.length&&(d[y]===l[m]||d[y]==="*"))d[y]==="*"?(x=y,N=m,y++):(m++,y++);else if(x!==-1)y=x+1,N++,m=N;else return!1;for(;y<d.length&&d[y]==="*";)y++;return y===d.length}s(n,"matchesTemplate");function a(){let l=[...o.names,...o.skips.map(d=>"-"+d)].join(",");return o.enable(""),l}s(a,"disable");function c(l){for(let d of o.skips)if(n(l,d))return!1;for(let d of o.names)if(n(l,d))return!0;return!1}s(c,"enabled");function p(l){return l instanceof Error?l.stack||l.message:l}s(p,"coerce");function u(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return s(u,"destroy"),o.enable(o.load()),o}s(iA,"setup");px.exports=iA});var lx=R((Uo,Vu)=>{"use strict";Uo.formatArgs=rA;Uo.save=aA;Uo.load=sA;Uo.useColors=nA;Uo.storage=cA();Uo.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();Uo.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function nA(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let t;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}s(nA,"useColors");function rA(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+Vu.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,r=>{r!=="%%"&&(o++,r==="%c"&&(i=o))}),t.splice(i,0,e)}s(rA,"formatArgs");Uo.log=console.debug||console.log||(()=>{});function aA(t){try{t?Uo.storage.setItem("debug",t):Uo.storage.removeItem("debug")}catch{}}s(aA,"save");function sA(){let t;try{t=Uo.storage.getItem("debug")||Uo.storage.getItem("DEBUG")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}s(sA,"load");function cA(){try{return localStorage}catch{}}s(cA,"localstorage");Vu.exports=xm()(Uo);var{formatters:pA}=Vu.exports;pA.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var dx=R((Tz,ux)=>{"use strict";ux.exports=(t,e=process.argv)=>{let o=t.startsWith("-")?"":t.length===1?"-":"--",i=e.indexOf(o+t),r=e.indexOf("--");return i!==-1&&(r===-1||i<r)}});var hx=R((zz,mx)=>{"use strict";var lA=require("os"),fx=require("tty"),di=dx(),{env:Pt}=process,Qr;di("no-color")||di("no-colors")||di("color=false")||di("color=never")?Qr=0:(di("color")||di("colors")||di("color=true")||di("color=always"))&&(Qr=1);"FORCE_COLOR"in Pt&&(Pt.FORCE_COLOR==="true"?Qr=1:Pt.FORCE_COLOR==="false"?Qr=0:Qr=Pt.FORCE_COLOR.length===0?1:Math.min(parseInt(Pt.FORCE_COLOR,10),3));function Sm(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}s(Sm,"translateLevel");function Cm(t,e){if(Qr===0)return 0;if(di("color=16m")||di("color=full")||di("color=truecolor"))return 3;if(di("color=256"))return 2;if(t&&!e&&Qr===void 0)return 0;let o=Qr||0;if(Pt.TERM==="dumb")return o;if(process.platform==="win32"){let i=lA.release().split(".");return Number(i[0])>=10&&Number(i[2])>=10586?Number(i[2])>=14931?3:2:1}if("CI"in Pt)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(i=>i in Pt)||Pt.CI_NAME==="codeship"?1:o;if("TEAMCITY_VERSION"in Pt)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Pt.TEAMCITY_VERSION)?1:0;if(Pt.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Pt){let i=parseInt((Pt.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Pt.TERM_PROGRAM){case"iTerm.app":return i>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Pt.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Pt.TERM)||"COLORTERM"in Pt?1:o}s(Cm,"supportsColor");function uA(t){let e=Cm(t,t&&t.isTTY);return Sm(e)}s(uA,"getSupportLevel");mx.exports={supportsColor:uA,stdout:Sm(Cm(!0,fx.isatty(1))),stderr:Sm(Cm(!0,fx.isatty(2)))}});var gx=R((Tt,Uu)=>{"use strict";var dA=require("tty"),_u=require("util");Tt.init=bA;Tt.log=vA;Tt.formatArgs=mA;Tt.save=gA;Tt.load=yA;Tt.useColors=fA;Tt.destroy=_u.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Tt.colors=[6,2,3,4,5,1];try{let t=hx();t&&(t.stderr||t).level>=2&&(Tt.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}Tt.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let o=e.substring(6).toLowerCase().replace(/_([a-z])/g,(r,n)=>n.toUpperCase()),i=process.env[e];return/^(yes|on|true|enabled)$/i.test(i)?i=!0:/^(no|off|false|disabled)$/i.test(i)?i=!1:i==="null"?i=null:i=Number(i),t[o]=i,t},{});function fA(){return"colors"in Tt.inspectOpts?!!Tt.inspectOpts.colors:dA.isatty(process.stderr.fd)}s(fA,"useColors");function mA(t){let{namespace:e,useColors:o}=this;if(o){let i=this.color,r="\x1B[3"+(i<8?i:"8;5;"+i),n=` ${r};1m${e} \x1B[0m`;t[0]=n+t[0].split(`
1
+ "use strict";var FR=Object.create;var Bp=Object.defineProperty;var DR=Object.getOwnPropertyDescriptor;var ER=Object.getOwnPropertyNames;var PR=Object.getPrototypeOf,TR=Object.prototype.hasOwnProperty;var s=(t,e)=>Bp(t,"name",{value:e,configurable:!0});var R=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),xg=(t,e)=>{for(var o in e)Bp(t,o,{get:e[o],enumerable:!0})},Sg=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of ER(e))!TR.call(t,r)&&r!==o&&Bp(t,r,{get:()=>e[r],enumerable:!(i=DR(e,r))||i.enumerable});return t};var lt=(t,e,o)=>(o=t!=null?FR(PR(t)):{},Sg(e||!t||!t.__esModule?Bp(o,"default",{value:t,enumerable:!0}):o,t)),zR=t=>Sg(Bp({},"__esModule",{value:!0}),t);var Hg=R((H1,qg)=>{"use strict";var Ug=require("stream").Stream,kw=require("util");qg.exports=Mi;function Mi(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}s(Mi,"DelayedStream");kw.inherits(Mi,Ug);Mi.create=function(t,e){var o=new this;e=e||{};for(var i in e)o[i]=e[i];o.source=t;var r=t.emit;return t.emit=function(){return o._handleEmit(arguments),r.apply(t,arguments)},t.on("error",function(){}),o.pauseStream&&t.pause(),o};Object.defineProperty(Mi.prototype,"readable",{configurable:!0,enumerable:!0,get:s(function(){return this.source.readable},"get")});Mi.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};Mi.prototype.resume=function(){this._released||this.release(),this.source.resume()};Mi.prototype.pause=function(){this.source.pause()};Mi.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach((function(t){this.emit.apply(this,t)}).bind(this)),this._bufferedEvents=[]};Mi.prototype.pipe=function(){var t=Ug.prototype.pipe.apply(this,arguments);return this.resume(),t};Mi.prototype._handleEmit=function(t){if(this._released){this.emit.apply(this,t);return}t[0]==="data"&&(this.dataSize+=t[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(t)};Mi.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var t="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(t))}}});var Zg=R((G1,Qg)=>{"use strict";var Gw=require("util"),Gg=require("stream").Stream,kg=Hg();Qg.exports=it;function it(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}s(it,"CombinedStream");Gw.inherits(it,Gg);it.create=function(t){var e=new this;t=t||{};for(var o in t)e[o]=t[o];return e};it.isStreamLike=function(t){return typeof t!="function"&&typeof t!="string"&&typeof t!="boolean"&&typeof t!="number"&&!Buffer.isBuffer(t)};it.prototype.append=function(t){var e=it.isStreamLike(t);if(e){if(!(t instanceof kg)){var o=kg.create(t,{maxDataSize:1/0,pauseStream:this.pauseStreams});t.on("data",this._checkDataSize.bind(this)),t=o}this._handleErrors(t),this.pauseStreams&&t.pause()}return this._streams.push(t),this};it.prototype.pipe=function(t,e){return Gg.prototype.pipe.call(this,t,e),this.resume(),t};it.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};it.prototype._realGetNext=function(){var t=this._streams.shift();if(typeof t>"u"){this.end();return}if(typeof t!="function"){this._pipeNext(t);return}var e=t;e((function(o){var i=it.isStreamLike(o);i&&(o.on("data",this._checkDataSize.bind(this)),this._handleErrors(o)),this._pipeNext(o)}).bind(this))};it.prototype._pipeNext=function(t){this._currentStream=t;var e=it.isStreamLike(t);if(e){t.on("end",this._getNext.bind(this)),t.pipe(this,{end:!1});return}var o=t;this.write(o),this._getNext()};it.prototype._handleErrors=function(t){var e=this;t.on("error",function(o){e._emitError(o)})};it.prototype.write=function(t){this.emit("data",t)};it.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};it.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")};it.prototype.end=function(){this._reset(),this.emit("end")};it.prototype.destroy=function(){this._reset(),this.emit("close")};it.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};it.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var t="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(t))}};it.prototype._updateDataSize=function(){this.dataSize=0;var t=this;this._streams.forEach(function(e){e.dataSize&&(t.dataSize+=e.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)};it.prototype._emitError=function(t){this._reset(),this.emit("error",t)}});var Yg=R((Z1,Qw)=>{Qw.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}}});var Jg=R((Y1,Wg)=>{"use strict";Wg.exports=Yg()});var $g=R(_o=>{"use strict";var Ou=Jg(),Zw=require("path").extname,Xg=/^\s*([^;\s]*)(?:;|\s|$)/,Yw=/^text\//i;_o.charset=Kg;_o.charsets={lookup:Kg};_o.contentType=Ww;_o.extension=Jw;_o.extensions=Object.create(null);_o.lookup=Xw;_o.types=Object.create(null);Kw(_o.extensions,_o.types);function Kg(t){if(!t||typeof t!="string")return!1;var e=Xg.exec(t),o=e&&Ou[e[1].toLowerCase()];return o&&o.charset?o.charset:e&&Yw.test(e[1])?"UTF-8":!1}s(Kg,"charset");function Ww(t){if(!t||typeof t!="string")return!1;var e=t.indexOf("/")===-1?_o.lookup(t):t;if(!e)return!1;if(e.indexOf("charset")===-1){var o=_o.charset(e);o&&(e+="; charset="+o.toLowerCase())}return e}s(Ww,"contentType");function Jw(t){if(!t||typeof t!="string")return!1;var e=Xg.exec(t),o=e&&_o.extensions[e[1].toLowerCase()];return!o||!o.length?!1:o[0]}s(Jw,"extension");function Xw(t){if(!t||typeof t!="string")return!1;var e=Zw("x."+t).toLowerCase().substr(1);return e&&_o.types[e]||!1}s(Xw,"lookup");function Kw(t,e){var o=["nginx","apache",void 0,"iana"];Object.keys(Ou).forEach(s(function(r){var n=Ou[r],a=n.extensions;if(!(!a||!a.length)){t[r]=a;for(var c=0;c<a.length;c++){var p=a[c];if(e[p]){var u=o.indexOf(Ou[e[p]].source),l=o.indexOf(n.source);if(e[p]!=="application/octet-stream"&&(u>l||u===l&&e[p].substr(0,12)==="application/"))continue}e[p]=r}}},"forEachMimeType"))}s(Kw,"populateMaps")});var ty=R((X1,ey)=>{"use strict";ey.exports=$w;function $w(t){var e=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;e?e(t):setTimeout(t,0)}s($w,"defer")});var qf=R(($1,iy)=>{"use strict";var oy=ty();iy.exports=eI;function eI(t){var e=!1;return oy(function(){e=!0}),s(function(i,r){e?t(i,r):oy(s(function(){t(i,r)},"nextTick_callback"))},"async_callback")}s(eI,"async")});var Hf=R((tT,ny)=>{"use strict";ny.exports=tI;function tI(t){Object.keys(t.jobs).forEach(oI.bind(t)),t.jobs={}}s(tI,"abort");function oI(t){typeof this.jobs[t]=="function"&&this.jobs[t]()}s(oI,"clean")});var kf=R((iT,ay)=>{"use strict";var ry=qf(),iI=Hf();ay.exports=nI;function nI(t,e,o,i){var r=o.keyedList?o.keyedList[o.index]:o.index;o.jobs[r]=rI(e,r,t[r],function(n,a){r in o.jobs&&(delete o.jobs[r],n?iI(o):o.results[r]=a,i(n,o.results))})}s(nI,"iterate");function rI(t,e,o,i){var r;return t.length==2?r=t(o,ry(i)):r=t(o,e,ry(i)),r}s(rI,"runJob")});var Gf=R((rT,sy)=>{"use strict";sy.exports=aI;function aI(t,e){var o=!Array.isArray(t),i={index:0,keyedList:o||e?Object.keys(t):null,jobs:{},results:o?{}:[],size:o?Object.keys(t).length:t.length};return e&&i.keyedList.sort(o?e:function(r,n){return e(t[r],t[n])}),i}s(aI,"state")});var Qf=R((sT,cy)=>{"use strict";var sI=Hf(),cI=qf();cy.exports=pI;function pI(t){Object.keys(this.jobs).length&&(this.index=this.size,sI(this),cI(t)(null,this.results))}s(pI,"terminator")});var ly=R((pT,py)=>{"use strict";var lI=kf(),uI=Gf(),dI=Qf();py.exports=fI;function fI(t,e,o){for(var i=uI(t);i.index<(i.keyedList||t).length;)lI(t,e,i,function(r,n){if(r){o(r,n);return}if(Object.keys(i.jobs).length===0){o(null,i.results);return}}),i.index++;return dI.bind(i,o)}s(fI,"parallel")});var Zf=R((uT,Au)=>{"use strict";var uy=kf(),mI=Gf(),hI=Qf();Au.exports=vI;Au.exports.ascending=dy;Au.exports.descending=gI;function vI(t,e,o,i){var r=mI(t,o);return uy(t,e,r,s(function n(a,c){if(a){i(a,c);return}if(r.index++,r.index<(r.keyedList||t).length){uy(t,e,r,n);return}i(null,r.results)},"iteratorHandler")),hI.bind(r,i)}s(vI,"serialOrdered");function dy(t,e){return t<e?-1:t>e?1:0}s(dy,"ascending");function gI(t,e){return-1*dy(t,e)}s(gI,"descending")});var my=R((fT,fy)=>{"use strict";var yI=Zf();fy.exports=bI;function bI(t,e,o){return yI(t,e,null,o)}s(bI,"serial")});var vy=R((hT,hy)=>{"use strict";hy.exports={parallel:ly(),serial:my(),serialOrdered:Zf()}});var Yf=R((vT,gy)=>{"use strict";gy.exports=Object});var by=R((gT,yy)=>{"use strict";yy.exports=Error});var Sy=R((yT,xy)=>{"use strict";xy.exports=EvalError});var Ny=R((bT,Cy)=>{"use strict";Cy.exports=RangeError});var wy=R((xT,Ry)=>{"use strict";Ry.exports=ReferenceError});var Oy=R((ST,Iy)=>{"use strict";Iy.exports=SyntaxError});var Fu=R((CT,Ay)=>{"use strict";Ay.exports=TypeError});var Dy=R((NT,Fy)=>{"use strict";Fy.exports=URIError});var Py=R((RT,Ey)=>{"use strict";Ey.exports=Math.abs});var zy=R((wT,Ty)=>{"use strict";Ty.exports=Math.floor});var By=R((IT,jy)=>{"use strict";jy.exports=Math.max});var Ly=R((OT,My)=>{"use strict";My.exports=Math.min});var _y=R((AT,Vy)=>{"use strict";Vy.exports=Math.pow});var qy=R((FT,Uy)=>{"use strict";Uy.exports=Math.round});var ky=R((DT,Hy)=>{"use strict";Hy.exports=Number.isNaN||s(function(e){return e!==e},"isNaN")});var Qy=R((PT,Gy)=>{"use strict";var xI=ky();Gy.exports=s(function(e){return xI(e)||e===0?e:e<0?-1:1},"sign")});var Yy=R((zT,Zy)=>{"use strict";Zy.exports=Object.getOwnPropertyDescriptor});var Wf=R((jT,Wy)=>{"use strict";var Du=Yy();if(Du)try{Du([],"length")}catch{Du=null}Wy.exports=Du});var Xy=R((BT,Jy)=>{"use strict";var Eu=Object.defineProperty||!1;if(Eu)try{Eu({},"a",{value:1})}catch{Eu=!1}Jy.exports=Eu});var Jf=R((MT,Ky)=>{"use strict";Ky.exports=s(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},o=Symbol("test"),i=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var r=42;e[o]=r;for(var n in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==o||!Object.prototype.propertyIsEnumerable.call(e,o))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var c=Object.getOwnPropertyDescriptor(e,o);if(c.value!==r||c.enumerable!==!0)return!1}return!0},"hasSymbols")});var tb=R((VT,eb)=>{"use strict";var $y=typeof Symbol<"u"&&Symbol,SI=Jf();eb.exports=s(function(){return typeof $y!="function"||typeof Symbol!="function"||typeof $y("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:SI()},"hasNativeSymbols")});var Xf=R((UT,ob)=>{"use strict";ob.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var Kf=R((qT,ib)=>{"use strict";var CI=Yf();ib.exports=CI.getPrototypeOf||null});var ab=R((HT,rb)=>{"use strict";var NI="Function.prototype.bind called on incompatible ",RI=Object.prototype.toString,wI=Math.max,II="[object Function]",nb=s(function(e,o){for(var i=[],r=0;r<e.length;r+=1)i[r]=e[r];for(var n=0;n<o.length;n+=1)i[n+e.length]=o[n];return i},"concatty"),OI=s(function(e,o){for(var i=[],r=o||0,n=0;r<e.length;r+=1,n+=1)i[n]=e[r];return i},"slicy"),AI=s(function(t,e){for(var o="",i=0;i<t.length;i+=1)o+=t[i],i+1<t.length&&(o+=e);return o},"joiny");rb.exports=s(function(e){var o=this;if(typeof o!="function"||RI.apply(o)!==II)throw new TypeError(NI+o);for(var i=OI(arguments,1),r,n=s(function(){if(this instanceof r){var l=o.apply(this,nb(i,arguments));return Object(l)===l?l:this}return o.apply(e,nb(i,arguments))},"binder"),a=wI(0,o.length-i.length),c=[],p=0;p<a;p++)c[p]="$"+p;if(r=Function("binder","return function ("+AI(c,",")+"){ return binder.apply(this,arguments); }")(n),o.prototype){var u=s(function(){},"Empty");u.prototype=o.prototype,r.prototype=new u,u.prototype=null}return r},"bind")});var Zs=R((GT,sb)=>{"use strict";var FI=ab();sb.exports=Function.prototype.bind||FI});var Pu=R((QT,cb)=>{"use strict";cb.exports=Function.prototype.call});var $f=R((ZT,pb)=>{"use strict";pb.exports=Function.prototype.apply});var ub=R((YT,lb)=>{"use strict";lb.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var fb=R((WT,db)=>{"use strict";var DI=Zs(),EI=$f(),PI=Pu(),TI=ub();db.exports=TI||DI.call(PI,EI)});var hb=R((JT,mb)=>{"use strict";var zI=Zs(),jI=Fu(),BI=Pu(),MI=fb();mb.exports=s(function(e){if(e.length<1||typeof e[0]!="function")throw new jI("a function is required");return MI(zI,BI,e)},"callBindBasic")});var Sb=R((KT,xb)=>{"use strict";var LI=hb(),vb=Wf(),yb;try{yb=[].__proto__===Array.prototype}catch(t){if(!t||typeof t!="object"||!("code"in t)||t.code!=="ERR_PROTO_ACCESS")throw t}var em=!!yb&&vb&&vb(Object.prototype,"__proto__"),bb=Object,gb=bb.getPrototypeOf;xb.exports=em&&typeof em.get=="function"?LI([em.get]):typeof gb=="function"?s(function(e){return gb(e==null?e:bb(e))},"getDunder"):!1});var Ib=R((e4,wb)=>{"use strict";var Cb=Xf(),Nb=Kf(),Rb=Sb();wb.exports=Cb?s(function(e){return Cb(e)},"getProto"):Nb?s(function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return Nb(e)},"getProto"):Rb?s(function(e){return Rb(e)},"getProto"):null});var Ab=R((o4,Ob)=>{"use strict";var VI=Function.prototype.call,_I=Object.prototype.hasOwnProperty,UI=Zs();Ob.exports=UI.call(VI,_I)});var jb=R((i4,zb)=>{"use strict";var K,qI=Yf(),HI=by(),kI=Sy(),GI=Ny(),QI=wy(),Xs=Oy(),Js=Fu(),ZI=Dy(),YI=Py(),WI=zy(),JI=By(),XI=Ly(),KI=_y(),$I=qy(),eO=Qy(),Pb=Function,tm=s(function(t){try{return Pb('"use strict"; return ('+t+").constructor;")()}catch{}},"getEvalledConstructor"),Yp=Wf(),tO=Xy(),om=s(function(){throw new Js},"throwTypeError"),oO=Yp?(function(){try{return arguments.callee,om}catch{try{return Yp(arguments,"callee").get}catch{return om}}})():om,Ys=tb()(),Et=Ib(),iO=Kf(),nO=Xf(),Tb=$f(),Wp=Pu(),Ws={},rO=typeof Uint8Array>"u"||!Et?K:Et(Uint8Array),Qa={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?K:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?K:ArrayBuffer,"%ArrayIteratorPrototype%":Ys&&Et?Et([][Symbol.iterator]()):K,"%AsyncFromSyncIteratorPrototype%":K,"%AsyncFunction%":Ws,"%AsyncGenerator%":Ws,"%AsyncGeneratorFunction%":Ws,"%AsyncIteratorPrototype%":Ws,"%Atomics%":typeof Atomics>"u"?K:Atomics,"%BigInt%":typeof BigInt>"u"?K:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?K:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?K:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?K:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":HI,"%eval%":eval,"%EvalError%":kI,"%Float16Array%":typeof Float16Array>"u"?K:Float16Array,"%Float32Array%":typeof Float32Array>"u"?K:Float32Array,"%Float64Array%":typeof Float64Array>"u"?K:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?K:FinalizationRegistry,"%Function%":Pb,"%GeneratorFunction%":Ws,"%Int8Array%":typeof Int8Array>"u"?K:Int8Array,"%Int16Array%":typeof Int16Array>"u"?K:Int16Array,"%Int32Array%":typeof Int32Array>"u"?K:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Ys&&Et?Et(Et([][Symbol.iterator]())):K,"%JSON%":typeof JSON=="object"?JSON:K,"%Map%":typeof Map>"u"?K:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Ys||!Et?K:Et(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":qI,"%Object.getOwnPropertyDescriptor%":Yp,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?K:Promise,"%Proxy%":typeof Proxy>"u"?K:Proxy,"%RangeError%":GI,"%ReferenceError%":QI,"%Reflect%":typeof Reflect>"u"?K:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?K:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Ys||!Et?K:Et(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?K:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Ys&&Et?Et(""[Symbol.iterator]()):K,"%Symbol%":Ys?Symbol:K,"%SyntaxError%":Xs,"%ThrowTypeError%":oO,"%TypedArray%":rO,"%TypeError%":Js,"%Uint8Array%":typeof Uint8Array>"u"?K:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?K:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?K:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?K:Uint32Array,"%URIError%":ZI,"%WeakMap%":typeof WeakMap>"u"?K:WeakMap,"%WeakRef%":typeof WeakRef>"u"?K:WeakRef,"%WeakSet%":typeof WeakSet>"u"?K:WeakSet,"%Function.prototype.call%":Wp,"%Function.prototype.apply%":Tb,"%Object.defineProperty%":tO,"%Object.getPrototypeOf%":iO,"%Math.abs%":YI,"%Math.floor%":WI,"%Math.max%":JI,"%Math.min%":XI,"%Math.pow%":KI,"%Math.round%":$I,"%Math.sign%":eO,"%Reflect.getPrototypeOf%":nO};if(Et)try{null.error}catch(t){Fb=Et(Et(t)),Qa["%Error.prototype%"]=Fb}var Fb,aO=s(function t(e){var o;if(e==="%AsyncFunction%")o=tm("async function () {}");else if(e==="%GeneratorFunction%")o=tm("function* () {}");else if(e==="%AsyncGeneratorFunction%")o=tm("async function* () {}");else if(e==="%AsyncGenerator%"){var i=t("%AsyncGeneratorFunction%");i&&(o=i.prototype)}else if(e==="%AsyncIteratorPrototype%"){var r=t("%AsyncGenerator%");r&&Et&&(o=Et(r.prototype))}return Qa[e]=o,o},"doEval"),Db={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Jp=Zs(),Tu=Ab(),sO=Jp.call(Wp,Array.prototype.concat),cO=Jp.call(Tb,Array.prototype.splice),Eb=Jp.call(Wp,String.prototype.replace),zu=Jp.call(Wp,String.prototype.slice),pO=Jp.call(Wp,RegExp.prototype.exec),lO=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,uO=/\\(\\)?/g,dO=s(function(e){var o=zu(e,0,1),i=zu(e,-1);if(o==="%"&&i!=="%")throw new Xs("invalid intrinsic syntax, expected closing `%`");if(i==="%"&&o!=="%")throw new Xs("invalid intrinsic syntax, expected opening `%`");var r=[];return Eb(e,lO,function(n,a,c,p){r[r.length]=c?Eb(p,uO,"$1"):a||n}),r},"stringToPath"),fO=s(function(e,o){var i=e,r;if(Tu(Db,i)&&(r=Db[i],i="%"+r[0]+"%"),Tu(Qa,i)){var n=Qa[i];if(n===Ws&&(n=aO(i)),typeof n>"u"&&!o)throw new Js("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:i,value:n}}throw new Xs("intrinsic "+e+" does not exist!")},"getBaseIntrinsic");zb.exports=s(function(e,o){if(typeof e!="string"||e.length===0)throw new Js("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof o!="boolean")throw new Js('"allowMissing" argument must be a boolean');if(pO(/^%?[^%]*%?$/,e)===null)throw new Xs("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=dO(e),r=i.length>0?i[0]:"",n=fO("%"+r+"%",o),a=n.name,c=n.value,p=!1,u=n.alias;u&&(r=u[0],cO(i,sO([0,1],u)));for(var l=1,d=!0;l<i.length;l+=1){var m=i[l],y=zu(m,0,1),x=zu(m,-1);if((y==='"'||y==="'"||y==="`"||x==='"'||x==="'"||x==="`")&&y!==x)throw new Xs("property names with quotes must have matching quotes");if((m==="constructor"||!d)&&(p=!0),r+="."+m,a="%"+r+"%",Tu(Qa,a))c=Qa[a];else if(c!=null){if(!(m in c)){if(!o)throw new Js("base intrinsic for "+e+" exists, but the property is not available.");return}if(Yp&&l+1>=i.length){var N=Yp(c,m);d=!!N,d&&"get"in N&&!("originalValue"in N.get)?c=N.get:c=c[m]}else d=Tu(c,m),c=c[m];d&&!p&&(Qa[a]=c)}}return c},"GetIntrinsic")});var Mb=R((r4,Bb)=>{"use strict";var mO=Jf();Bb.exports=s(function(){return mO()&&!!Symbol.toStringTag},"hasToStringTagShams")});var im=R((s4,Lb)=>{"use strict";var hO=Function.prototype.call,vO=Object.prototype.hasOwnProperty,gO=Zs();Lb.exports=gO.call(hO,vO)});var Ub=R((c4,_b)=>{"use strict";var yO=jb(),Vb=yO("%Object.defineProperty%",!0),bO=Mb()(),xO=im(),SO=Fu(),ju=bO?Symbol.toStringTag:null;_b.exports=s(function(e,o){var i=arguments.length>2&&!!arguments[2]&&arguments[2].force,r=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof i<"u"&&typeof i!="boolean"||typeof r<"u"&&typeof r!="boolean")throw new SO("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");ju&&(i||!xO(e,ju))&&(Vb?Vb(e,ju,{configurable:!r,enumerable:!1,value:o,writable:!1}):e[ju]=o)},"setToStringTag")});var Hb=R((l4,qb)=>{"use strict";qb.exports=function(t,e){return Object.keys(e).forEach(function(o){t[o]=t[o]||e[o]}),t}});var Qb=R((u4,Gb)=>{"use strict";var sm=Zg(),CO=require("util"),nm=require("path"),NO=require("http"),RO=require("https"),wO=require("url").parse,IO=require("fs"),OO=require("stream").Stream,AO=require("crypto"),rm=$g(),FO=vy(),DO=Ub(),Hr=im(),am=Hb();function kb(t){return String(t).replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/"/g,"%22")}s(kb,"escapeHeaderParam");function oe(t){if(!(this instanceof oe))return new oe(t);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],sm.call(this),t=t||{};for(var e in t)this[e]=t[e]}s(oe,"FormData");CO.inherits(oe,sm);oe.LINE_BREAK=`\r
2
+ `;oe.DEFAULT_CONTENT_TYPE="application/octet-stream";oe.prototype.append=function(t,e,o){o=o||{},typeof o=="string"&&(o={filename:o});var i=sm.prototype.append.bind(this);if((typeof e=="number"||e==null)&&(e=String(e)),Array.isArray(e)){this._error(new Error("Arrays are not supported."));return}var r=this._multiPartHeader(t,e,o),n=this._multiPartFooter();i(r),i(e),i(n),this._trackLength(r,e,o)};oe.prototype._trackLength=function(t,e,o){var i=0;o.knownLength!=null?i+=Number(o.knownLength):Buffer.isBuffer(e)?i=e.length:typeof e=="string"&&(i=Buffer.byteLength(e)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(t)+oe.LINE_BREAK.length,!(!e||!e.path&&!(e.readable&&Hr(e,"httpVersion"))&&!(e instanceof OO))&&(o.knownLength||this._valuesToMeasure.push(e))};oe.prototype._lengthRetriever=function(t,e){Hr(t,"fd")?t.end!=null&&t.end!=1/0&&t.start!=null?e(null,t.end+1-(t.start?t.start:0)):IO.stat(t.path,function(o,i){if(o){e(o);return}var r=i.size-(t.start?t.start:0);e(null,r)}):Hr(t,"httpVersion")?e(null,Number(t.headers["content-length"])):Hr(t,"httpModule")?(t.on("response",function(o){t.pause(),e(null,Number(o.headers["content-length"]))}),t.resume()):e("Unknown stream")};oe.prototype._multiPartHeader=function(t,e,o){if(typeof o.header=="string")return o.header;var i=this._getContentDisposition(e,o),r=this._getContentType(e,o),n="",a={"Content-Disposition":["form-data",'name="'+kb(t)+'"'].concat(i||[]),"Content-Type":[].concat(r||[])};typeof o.header=="object"&&am(a,o.header);var c;for(var p in a)if(Hr(a,p)){if(c=a[p],c==null)continue;Array.isArray(c)||(c=[c]),c.length&&(n+=p+": "+c.join("; ")+oe.LINE_BREAK)}return"--"+this.getBoundary()+oe.LINE_BREAK+n+oe.LINE_BREAK};oe.prototype._getContentDisposition=function(t,e){var o;if(typeof e.filepath=="string"?o=nm.normalize(e.filepath).replace(/\\/g,"/"):e.filename||t&&(t.name||t.path)?o=nm.basename(e.filename||t&&(t.name||t.path)):t&&t.readable&&Hr(t,"httpVersion")&&(o=nm.basename(t.client._httpMessage.path||"")),o)return'filename="'+kb(o)+'"'};oe.prototype._getContentType=function(t,e){var o=e.contentType;return!o&&t&&t.name&&(o=rm.lookup(t.name)),!o&&t&&t.path&&(o=rm.lookup(t.path)),!o&&t&&t.readable&&Hr(t,"httpVersion")&&(o=t.headers["content-type"]),!o&&(e.filepath||e.filename)&&(o=rm.lookup(e.filepath||e.filename)),!o&&t&&typeof t=="object"&&(o=oe.DEFAULT_CONTENT_TYPE),o};oe.prototype._multiPartFooter=function(){return(function(t){var e=oe.LINE_BREAK,o=this._streams.length===0;o&&(e+=this._lastBoundary()),t(e)}).bind(this)};oe.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+oe.LINE_BREAK};oe.prototype.getHeaders=function(t){var e,o={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(e in t)Hr(t,e)&&(o[e.toLowerCase()]=t[e]);return o};oe.prototype.setBoundary=function(t){if(typeof t!="string")throw new TypeError("FormData boundary must be a string");this._boundary=t};oe.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};oe.prototype.getBuffer=function(){for(var t=new Buffer.alloc(0),e=this.getBoundary(),o=0,i=this._streams.length;o<i;o++)typeof this._streams[o]!="function"&&(Buffer.isBuffer(this._streams[o])?t=Buffer.concat([t,this._streams[o]]):t=Buffer.concat([t,Buffer.from(this._streams[o])]),(typeof this._streams[o]!="string"||this._streams[o].substring(2,e.length+2)!==e)&&(t=Buffer.concat([t,Buffer.from(oe.LINE_BREAK)])));return Buffer.concat([t,Buffer.from(this._lastBoundary())])};oe.prototype._generateBoundary=function(){this._boundary="--------------------------"+AO.randomBytes(12).toString("hex")};oe.prototype.getLengthSync=function(){var t=this._overheadLength+this._valueLength;return this._streams.length&&(t+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),t};oe.prototype.hasKnownLength=function(){var t=!0;return this._valuesToMeasure.length&&(t=!1),t};oe.prototype.getLength=function(t){var e=this._overheadLength+this._valueLength;if(this._streams.length&&(e+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(t.bind(this,null,e));return}FO.parallel(this._valuesToMeasure,this._lengthRetriever,function(o,i){if(o){t(o);return}i.forEach(function(r){e+=r}),t(null,e)})};oe.prototype.submit=function(t,e){var o,i,r={method:"post"};return typeof t=="string"?(t=wO(t),i=am({port:t.port,path:t.pathname,host:t.hostname,protocol:t.protocol},r)):(i=am(t,r),i.port||(i.port=i.protocol==="https:"?443:80)),i.headers=this.getHeaders(t.headers),i.protocol==="https:"?o=RO.request(i):o=NO.request(i),this.getLength((function(n,a){if(n&&n!=="Unknown stream"){this._error(n);return}if(a&&o.setHeader("Content-Length",a),this.pipe(o),e){var c,p=s(function(u,l){return o.removeListener("error",p),o.removeListener("response",c),e.call(this,u,l)},"callback");c=p.bind(this,null),o.on("error",p),o.on("response",c)}}).bind(this)),o};oe.prototype._error=function(t){this.error||(this.error=t,this.pause(),this.emit("error",t))};oe.prototype.toString=function(){return"[object FormData]"};DO(oe.prototype,"FormData");Gb.exports=oe});var lx=R((Dz,px)=>{"use strict";var ec=1e3,tc=ec*60,oc=tc*60,Wa=oc*24,eA=Wa*7,tA=Wa*365.25;px.exports=function(t,e){e=e||{};var o=typeof t;if(o==="string"&&t.length>0)return oA(t);if(o==="number"&&isFinite(t))return e.long?nA(t):iA(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function oA(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var o=parseFloat(e[1]),i=(e[2]||"ms").toLowerCase();switch(i){case"years":case"year":case"yrs":case"yr":case"y":return o*tA;case"weeks":case"week":case"w":return o*eA;case"days":case"day":case"d":return o*Wa;case"hours":case"hour":case"hrs":case"hr":case"h":return o*oc;case"minutes":case"minute":case"mins":case"min":case"m":return o*tc;case"seconds":case"second":case"secs":case"sec":case"s":return o*ec;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}s(oA,"parse");function iA(t){var e=Math.abs(t);return e>=Wa?Math.round(t/Wa)+"d":e>=oc?Math.round(t/oc)+"h":e>=tc?Math.round(t/tc)+"m":e>=ec?Math.round(t/ec)+"s":t+"ms"}s(iA,"fmtShort");function nA(t){var e=Math.abs(t);return e>=Wa?Vu(t,e,Wa,"day"):e>=oc?Vu(t,e,oc,"hour"):e>=tc?Vu(t,e,tc,"minute"):e>=ec?Vu(t,e,ec,"second"):t+" ms"}s(nA,"fmtLong");function Vu(t,e,o,i){var r=e>=o*1.5;return Math.round(t/o)+" "+i+(r?"s":"")}s(Vu,"plural")});var Sm=R((Pz,ux)=>{"use strict";function rA(t){o.debug=o,o.default=o,o.coerce=p,o.disable=a,o.enable=r,o.enabled=c,o.humanize=lx(),o.destroy=u,Object.keys(t).forEach(l=>{o[l]=t[l]}),o.names=[],o.skips=[],o.formatters={};function e(l){let d=0;for(let m=0;m<l.length;m++)d=(d<<5)-d+l.charCodeAt(m),d|=0;return o.colors[Math.abs(d)%o.colors.length]}s(e,"selectColor"),o.selectColor=e;function o(l){let d,m=null,y,x;function N(...C){if(!N.enabled)return;let b=N,I=Number(new Date),A=I-(d||I);b.diff=A,b.prev=d,b.curr=I,d=I,C[0]=o.coerce(C[0]),typeof C[0]!="string"&&C.unshift("%O");let D=0;C[0]=C[0].replace(/%([a-zA-Z%])/g,(H,ot)=>{if(H==="%%")return"%";D++;let Yo=o.formatters[ot];if(typeof Yo=="function"){let bn=C[D];H=Yo.call(b,bn),C.splice(D,1),D--}return H}),o.formatArgs.call(b,C),(b.log||o.log).apply(b,C)}return s(N,"debug"),N.namespace=l,N.useColors=o.useColors(),N.color=o.selectColor(l),N.extend=i,N.destroy=o.destroy,Object.defineProperty(N,"enabled",{enumerable:!0,configurable:!1,get:s(()=>m!==null?m:(y!==o.namespaces&&(y=o.namespaces,x=o.enabled(l)),x),"get"),set:s(C=>{m=C},"set")}),typeof o.init=="function"&&o.init(N),N}s(o,"createDebug");function i(l,d){let m=o(this.namespace+(typeof d>"u"?":":d)+l);return m.log=this.log,m}s(i,"extend");function r(l){o.save(l),o.namespaces=l,o.names=[],o.skips=[];let d=(typeof l=="string"?l:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let m of d)m[0]==="-"?o.skips.push(m.slice(1)):o.names.push(m)}s(r,"enable");function n(l,d){let m=0,y=0,x=-1,N=0;for(;m<l.length;)if(y<d.length&&(d[y]===l[m]||d[y]==="*"))d[y]==="*"?(x=y,N=m,y++):(m++,y++);else if(x!==-1)y=x+1,N++,m=N;else return!1;for(;y<d.length&&d[y]==="*";)y++;return y===d.length}s(n,"matchesTemplate");function a(){let l=[...o.names,...o.skips.map(d=>"-"+d)].join(",");return o.enable(""),l}s(a,"disable");function c(l){for(let d of o.skips)if(n(l,d))return!1;for(let d of o.names)if(n(l,d))return!0;return!1}s(c,"enabled");function p(l){return l instanceof Error?l.stack||l.message:l}s(p,"coerce");function u(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return s(u,"destroy"),o.enable(o.load()),o}s(rA,"setup");ux.exports=rA});var dx=R((Uo,_u)=>{"use strict";Uo.formatArgs=sA;Uo.save=cA;Uo.load=pA;Uo.useColors=aA;Uo.storage=lA();Uo.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();Uo.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function aA(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let t;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}s(aA,"useColors");function sA(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+_u.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,r=>{r!=="%%"&&(o++,r==="%c"&&(i=o))}),t.splice(i,0,e)}s(sA,"formatArgs");Uo.log=console.debug||console.log||(()=>{});function cA(t){try{t?Uo.storage.setItem("debug",t):Uo.storage.removeItem("debug")}catch{}}s(cA,"save");function pA(){let t;try{t=Uo.storage.getItem("debug")||Uo.storage.getItem("DEBUG")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}s(pA,"load");function lA(){try{return localStorage}catch{}}s(lA,"localstorage");_u.exports=Sm()(Uo);var{formatters:uA}=_u.exports;uA.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var mx=R((jz,fx)=>{"use strict";fx.exports=(t,e=process.argv)=>{let o=t.startsWith("-")?"":t.length===1?"-":"--",i=e.indexOf(o+t),r=e.indexOf("--");return i!==-1&&(r===-1||i<r)}});var gx=R((Bz,vx)=>{"use strict";var dA=require("os"),hx=require("tty"),di=mx(),{env:Pt}=process,Qr;di("no-color")||di("no-colors")||di("color=false")||di("color=never")?Qr=0:(di("color")||di("colors")||di("color=true")||di("color=always"))&&(Qr=1);"FORCE_COLOR"in Pt&&(Pt.FORCE_COLOR==="true"?Qr=1:Pt.FORCE_COLOR==="false"?Qr=0:Qr=Pt.FORCE_COLOR.length===0?1:Math.min(parseInt(Pt.FORCE_COLOR,10),3));function Cm(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}s(Cm,"translateLevel");function Nm(t,e){if(Qr===0)return 0;if(di("color=16m")||di("color=full")||di("color=truecolor"))return 3;if(di("color=256"))return 2;if(t&&!e&&Qr===void 0)return 0;let o=Qr||0;if(Pt.TERM==="dumb")return o;if(process.platform==="win32"){let i=dA.release().split(".");return Number(i[0])>=10&&Number(i[2])>=10586?Number(i[2])>=14931?3:2:1}if("CI"in Pt)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(i=>i in Pt)||Pt.CI_NAME==="codeship"?1:o;if("TEAMCITY_VERSION"in Pt)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Pt.TEAMCITY_VERSION)?1:0;if(Pt.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Pt){let i=parseInt((Pt.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Pt.TERM_PROGRAM){case"iTerm.app":return i>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Pt.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Pt.TERM)||"COLORTERM"in Pt?1:o}s(Nm,"supportsColor");function fA(t){let e=Nm(t,t&&t.isTTY);return Cm(e)}s(fA,"getSupportLevel");vx.exports={supportsColor:fA,stdout:Cm(Nm(!0,hx.isatty(1))),stderr:Cm(Nm(!0,hx.isatty(2)))}});var bx=R((Tt,qu)=>{"use strict";var mA=require("tty"),Uu=require("util");Tt.init=SA;Tt.log=yA;Tt.formatArgs=vA;Tt.save=bA;Tt.load=xA;Tt.useColors=hA;Tt.destroy=Uu.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Tt.colors=[6,2,3,4,5,1];try{let t=gx();t&&(t.stderr||t).level>=2&&(Tt.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}Tt.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let o=e.substring(6).toLowerCase().replace(/_([a-z])/g,(r,n)=>n.toUpperCase()),i=process.env[e];return/^(yes|on|true|enabled)$/i.test(i)?i=!0:/^(no|off|false|disabled)$/i.test(i)?i=!1:i==="null"?i=null:i=Number(i),t[o]=i,t},{});function hA(){return"colors"in Tt.inspectOpts?!!Tt.inspectOpts.colors:mA.isatty(process.stderr.fd)}s(hA,"useColors");function vA(t){let{namespace:e,useColors:o}=this;if(o){let i=this.color,r="\x1B[3"+(i<8?i:"8;5;"+i),n=` ${r};1m${e} \x1B[0m`;t[0]=n+t[0].split(`
3
3
  `).join(`
4
- `+n),t.push(r+"m+"+Uu.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=hA()+e+" "+t[0]}s(mA,"formatArgs");function hA(){return Tt.inspectOpts.hideDate?"":new Date().toISOString()+" "}s(hA,"getDate");function vA(...t){return process.stderr.write(_u.formatWithOptions(Tt.inspectOpts,...t)+`
5
- `)}s(vA,"log");function gA(t){t?process.env.DEBUG=t:delete process.env.DEBUG}s(gA,"save");function yA(){return process.env.DEBUG}s(yA,"load");function bA(t){t.inspectOpts={};let e=Object.keys(Tt.inspectOpts);for(let o=0;o<e.length;o++)t.inspectOpts[e[o]]=Tt.inspectOpts[e[o]]}s(bA,"init");Uu.exports=xm()(Tt);var{formatters:vx}=Uu.exports;vx.o=function(t){return this.inspectOpts.colors=this.useColors,_u.inspect(t,this.inspectOpts).split(`
6
- `).map(e=>e.trim()).join(" ")};vx.O=function(t){return this.inspectOpts.colors=this.useColors,_u.inspect(t,this.inspectOpts)}});var $p=R((Mz,Nm)=>{"use strict";typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Nm.exports=lx():Nm.exports=gx()});var yx=R(Rm=>{"use strict";Object.defineProperty(Rm,"__esModule",{value:!0});function xA(t){return function(e,o){return new Promise((i,r)=>{t.call(this,e,o,(n,a)=>{n?r(n):i(a)})})}}s(xA,"promisify");Rm.default=xA});var Sx=R((Im,xx)=>{"use strict";var bx=Im&&Im.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},SA=require("events"),CA=bx($p()),NA=bx(yx()),el=CA.default("agent-base");function RA(t){return!!t&&typeof t.addRequest=="function"}s(RA,"isAgent");function wm(){let{stack:t}=new Error;return typeof t!="string"?!1:t.split(`
7
- `).some(e=>e.indexOf("(https.js:")!==-1||e.indexOf("node:https:")!==-1)}s(wm,"isSecureEndpoint");function qu(t,e){return new qu.Agent(t,e)}s(qu,"createAgent");(function(t){let e=class extends SA.EventEmitter{static{s(this,"Agent")}constructor(i,r){super();let n=r;typeof i=="function"?this.callback=i:i&&(n=i),this.timeout=null,n&&typeof n.timeout=="number"&&(this.timeout=n.timeout),this.maxFreeSockets=1,this.maxSockets=1,this.maxTotalSockets=1/0,this.sockets={},this.freeSockets={},this.requests={},this.options={}}get defaultPort(){return typeof this.explicitDefaultPort=="number"?this.explicitDefaultPort:wm()?443:80}set defaultPort(i){this.explicitDefaultPort=i}get protocol(){return typeof this.explicitProtocol=="string"?this.explicitProtocol:wm()?"https:":"http:"}set protocol(i){this.explicitProtocol=i}callback(i,r,n){throw new Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(i,r){let n=Object.assign({},r);typeof n.secureEndpoint!="boolean"&&(n.secureEndpoint=wm()),n.host==null&&(n.host="localhost"),n.port==null&&(n.port=n.secureEndpoint?443:80),n.protocol==null&&(n.protocol=n.secureEndpoint?"https:":"http:"),n.host&&n.path&&delete n.path,delete n.agent,delete n.hostname,delete n._defaultAgent,delete n.defaultPort,delete n.createConnection,i._last=!0,i.shouldKeepAlive=!1;let a=!1,c=null,p=n.timeout||this.timeout,u=s(y=>{i._hadError||(i.emit("error",y),i._hadError=!0)},"onerror"),l=s(()=>{c=null,a=!0;let y=new Error(`A "socket" was not created for HTTP request before ${p}ms`);y.code="ETIMEOUT",u(y)},"ontimeout"),d=s(y=>{a||(c!==null&&(clearTimeout(c),c=null),u(y))},"callbackError"),m=s(y=>{if(a)return;if(c!=null&&(clearTimeout(c),c=null),RA(y)){el("Callback returned another Agent instance %o",y.constructor.name),y.addRequest(i,n);return}if(y){y.once("free",()=>{this.freeSocket(y,n)}),i.onSocket(y);return}let x=new Error(`no Duplex stream was returned to agent-base for \`${i.method} ${i.path}\``);u(x)},"onsocket");if(typeof this.callback!="function"){u(new Error("`callback` is not defined"));return}this.promisifiedCallback||(this.callback.length>=3?(el("Converting legacy callback function to promise"),this.promisifiedCallback=NA.default(this.callback)):this.promisifiedCallback=this.callback),typeof p=="number"&&p>0&&(c=setTimeout(l,p)),"port"in n&&typeof n.port!="number"&&(n.port=Number(n.port));try{el("Resolving socket for %o request: %o",n.protocol,`${i.method} ${i.path}`),Promise.resolve(this.promisifiedCallback(i,n)).then(m,d)}catch(y){Promise.reject(y).catch(d)}}freeSocket(i,r){el("Freeing socket %o %o",i.constructor.name,r),i.destroy()}destroy(){el("Destroying agent %o",this.constructor.name)}};t.Agent=e,t.prototype=t.Agent.prototype})(qu||(qu={}));xx.exports=qu});var Cx=R(ol=>{"use strict";var wA=ol&&ol.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ol,"__esModule",{value:!0});var IA=wA($p()),tl=IA.default("https-proxy-agent:parse-proxy-response");function OA(t){return new Promise((e,o)=>{let i=0,r=[];function n(){let d=t.read();d?l(d):t.once("readable",n)}s(n,"read");function a(){t.removeListener("end",p),t.removeListener("error",u),t.removeListener("close",c),t.removeListener("readable",n)}s(a,"cleanup");function c(d){tl("onclose had error %o",d)}s(c,"onclose");function p(){tl("onend")}s(p,"onend");function u(d){a(),tl("onerror %o",d),o(d)}s(u,"onerror");function l(d){r.push(d),i+=d.length;let m=Buffer.concat(r,i);if(m.indexOf(`\r
4
+ `+n),t.push(r+"m+"+qu.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=gA()+e+" "+t[0]}s(vA,"formatArgs");function gA(){return Tt.inspectOpts.hideDate?"":new Date().toISOString()+" "}s(gA,"getDate");function yA(...t){return process.stderr.write(Uu.formatWithOptions(Tt.inspectOpts,...t)+`
5
+ `)}s(yA,"log");function bA(t){t?process.env.DEBUG=t:delete process.env.DEBUG}s(bA,"save");function xA(){return process.env.DEBUG}s(xA,"load");function SA(t){t.inspectOpts={};let e=Object.keys(Tt.inspectOpts);for(let o=0;o<e.length;o++)t.inspectOpts[e[o]]=Tt.inspectOpts[e[o]]}s(SA,"init");qu.exports=Sm()(Tt);var{formatters:yx}=qu.exports;yx.o=function(t){return this.inspectOpts.colors=this.useColors,Uu.inspect(t,this.inspectOpts).split(`
6
+ `).map(e=>e.trim()).join(" ")};yx.O=function(t){return this.inspectOpts.colors=this.useColors,Uu.inspect(t,this.inspectOpts)}});var $p=R((Vz,Rm)=>{"use strict";typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Rm.exports=dx():Rm.exports=bx()});var xx=R(wm=>{"use strict";Object.defineProperty(wm,"__esModule",{value:!0});function CA(t){return function(e,o){return new Promise((i,r)=>{t.call(this,e,o,(n,a)=>{n?r(n):i(a)})})}}s(CA,"promisify");wm.default=CA});var Nx=R((Om,Cx)=>{"use strict";var Sx=Om&&Om.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},NA=require("events"),RA=Sx($p()),wA=Sx(xx()),el=RA.default("agent-base");function IA(t){return!!t&&typeof t.addRequest=="function"}s(IA,"isAgent");function Im(){let{stack:t}=new Error;return typeof t!="string"?!1:t.split(`
7
+ `).some(e=>e.indexOf("(https.js:")!==-1||e.indexOf("node:https:")!==-1)}s(Im,"isSecureEndpoint");function Hu(t,e){return new Hu.Agent(t,e)}s(Hu,"createAgent");(function(t){let e=class extends NA.EventEmitter{static{s(this,"Agent")}constructor(i,r){super();let n=r;typeof i=="function"?this.callback=i:i&&(n=i),this.timeout=null,n&&typeof n.timeout=="number"&&(this.timeout=n.timeout),this.maxFreeSockets=1,this.maxSockets=1,this.maxTotalSockets=1/0,this.sockets={},this.freeSockets={},this.requests={},this.options={}}get defaultPort(){return typeof this.explicitDefaultPort=="number"?this.explicitDefaultPort:Im()?443:80}set defaultPort(i){this.explicitDefaultPort=i}get protocol(){return typeof this.explicitProtocol=="string"?this.explicitProtocol:Im()?"https:":"http:"}set protocol(i){this.explicitProtocol=i}callback(i,r,n){throw new Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(i,r){let n=Object.assign({},r);typeof n.secureEndpoint!="boolean"&&(n.secureEndpoint=Im()),n.host==null&&(n.host="localhost"),n.port==null&&(n.port=n.secureEndpoint?443:80),n.protocol==null&&(n.protocol=n.secureEndpoint?"https:":"http:"),n.host&&n.path&&delete n.path,delete n.agent,delete n.hostname,delete n._defaultAgent,delete n.defaultPort,delete n.createConnection,i._last=!0,i.shouldKeepAlive=!1;let a=!1,c=null,p=n.timeout||this.timeout,u=s(y=>{i._hadError||(i.emit("error",y),i._hadError=!0)},"onerror"),l=s(()=>{c=null,a=!0;let y=new Error(`A "socket" was not created for HTTP request before ${p}ms`);y.code="ETIMEOUT",u(y)},"ontimeout"),d=s(y=>{a||(c!==null&&(clearTimeout(c),c=null),u(y))},"callbackError"),m=s(y=>{if(a)return;if(c!=null&&(clearTimeout(c),c=null),IA(y)){el("Callback returned another Agent instance %o",y.constructor.name),y.addRequest(i,n);return}if(y){y.once("free",()=>{this.freeSocket(y,n)}),i.onSocket(y);return}let x=new Error(`no Duplex stream was returned to agent-base for \`${i.method} ${i.path}\``);u(x)},"onsocket");if(typeof this.callback!="function"){u(new Error("`callback` is not defined"));return}this.promisifiedCallback||(this.callback.length>=3?(el("Converting legacy callback function to promise"),this.promisifiedCallback=wA.default(this.callback)):this.promisifiedCallback=this.callback),typeof p=="number"&&p>0&&(c=setTimeout(l,p)),"port"in n&&typeof n.port!="number"&&(n.port=Number(n.port));try{el("Resolving socket for %o request: %o",n.protocol,`${i.method} ${i.path}`),Promise.resolve(this.promisifiedCallback(i,n)).then(m,d)}catch(y){Promise.reject(y).catch(d)}}freeSocket(i,r){el("Freeing socket %o %o",i.constructor.name,r),i.destroy()}destroy(){el("Destroying agent %o",this.constructor.name)}};t.Agent=e,t.prototype=t.Agent.prototype})(Hu||(Hu={}));Cx.exports=Hu});var Rx=R(ol=>{"use strict";var OA=ol&&ol.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ol,"__esModule",{value:!0});var AA=OA($p()),tl=AA.default("https-proxy-agent:parse-proxy-response");function FA(t){return new Promise((e,o)=>{let i=0,r=[];function n(){let d=t.read();d?l(d):t.once("readable",n)}s(n,"read");function a(){t.removeListener("end",p),t.removeListener("error",u),t.removeListener("close",c),t.removeListener("readable",n)}s(a,"cleanup");function c(d){tl("onclose had error %o",d)}s(c,"onclose");function p(){tl("onend")}s(p,"onend");function u(d){a(),tl("onerror %o",d),o(d)}s(u,"onerror");function l(d){r.push(d),i+=d.length;let m=Buffer.concat(r,i);if(m.indexOf(`\r
8
8
  \r
9
9
  `)===-1){tl("have not received end of HTTP headers yet..."),n();return}let x=m.toString("ascii",0,m.indexOf(`\r
10
- `)),N=+x.split(" ")[1];tl("got proxy server response: %o",x),e({statusCode:N,buffered:m})}s(l,"ondata"),t.on("error",u),t.on("close",c),t.on("end",p),n()})}s(OA,"parseProxyResponse");ol.default=OA});var wx=R(Wa=>{"use strict";var AA=Wa&&Wa.__awaiter||function(t,e,o,i){function r(n){return n instanceof o?n:new o(function(a){a(n)})}return s(r,"adopt"),new(o||(o=Promise))(function(n,a){function c(l){try{u(i.next(l))}catch(d){a(d)}}s(c,"fulfilled");function p(l){try{u(i.throw(l))}catch(d){a(d)}}s(p,"rejected");function u(l){l.done?n(l.value):r(l.value).then(c,p)}s(u,"step"),u((i=i.apply(t,e||[])).next())})},ic=Wa&&Wa.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Wa,"__esModule",{value:!0});var Nx=ic(require("net")),Rx=ic(require("tls")),FA=ic(require("url")),DA=ic(require("assert")),EA=ic($p()),PA=Sx(),TA=ic(Cx()),il=EA.default("https-proxy-agent:agent"),zA=class extends PA.Agent{static{s(this,"HttpsProxyAgent")}constructor(e){let o;if(typeof e=="string"?o=FA.default.parse(e):o=e,!o)throw new Error("an HTTP(S) proxy server `host` and `port` must be specified!");il("creating new HttpsProxyAgent instance: %o",o),super(o);let i=Object.assign({},o);this.secureProxy=o.secureProxy||MA(i.protocol),i.host=i.hostname||i.host,typeof i.port=="string"&&(i.port=parseInt(i.port,10)),!i.port&&i.host&&(i.port=this.secureProxy?443:80),this.secureProxy&&!("ALPNProtocols"in i)&&(i.ALPNProtocols=["http 1.1"]),i.host&&i.path&&(delete i.path,delete i.pathname),this.proxy=i}callback(e,o){return AA(this,void 0,void 0,function*(){let{proxy:i,secureProxy:r}=this,n;r?(il("Creating `tls.Socket`: %o",i),n=Rx.default.connect(i)):(il("Creating `net.Socket`: %o",i),n=Nx.default.connect(i));let a=Object.assign({},i.headers),p=`CONNECT ${`${o.host}:${o.port}`} HTTP/1.1\r
11
- `;i.auth&&(a["Proxy-Authorization"]=`Basic ${Buffer.from(i.auth).toString("base64")}`);let{host:u,port:l,secureEndpoint:d}=o;BA(l,d)||(u+=`:${l}`),a.Host=u,a.Connection="close";for(let C of Object.keys(a))p+=`${C}: ${a[C]}\r
12
- `;let m=TA.default(n);n.write(`${p}\r
13
- `);let{statusCode:y,buffered:x}=yield m;if(y===200){if(e.once("socket",jA),o.secureEndpoint){il("Upgrading socket connection to TLS");let C=o.servername||o.host;return Rx.default.connect(Object.assign(Object.assign({},LA(o,"host","hostname","path","port")),{socket:n,servername:C}))}return n}n.destroy();let N=new Nx.default.Socket({writable:!1});return N.readable=!0,e.once("socket",C=>{il("replaying proxy buffer for failed request"),DA.default(C.listenerCount("data")>0),C.push(x),C.push(null)}),N})}};Wa.default=zA;function jA(t){t.resume()}s(jA,"resume");function BA(t,e){return!!(!e&&t===80||e&&t===443)}s(BA,"isDefaultPort");function MA(t){return typeof t=="string"?/^https:?$/i.test(t):!1}s(MA,"isHTTPS");function LA(t,...e){let o={},i;for(i in t)e.includes(i)||(o[i]=t[i]);return o}s(LA,"omit")});var Ox=R((Fm,Ix)=>{"use strict";var VA=Fm&&Fm.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},Om=VA(wx());function Am(t){return new Om.default(t)}s(Am,"createHttpsProxyAgent");(function(t){t.HttpsProxyAgent=Om.default,t.prototype=Om.default.prototype})(Am||(Am={}));Ix.exports=Am});var Fx=R((Yz,Ax)=>{"use strict";var nl;Ax.exports=function(){if(!nl){try{nl=$p()("follow-redirects")}catch{}typeof nl!="function"&&(nl=s(function(){},"debug"))}nl.apply(null,arguments)}});var zx=R((Wz,Um)=>{"use strict";var al=require("url"),rl=al.URL,_A=require("http"),UA=require("https"),zm=require("stream").Writable,jm=require("assert"),Dx=Fx();s((function(){var e=typeof process<"u",o=typeof window<"u"&&typeof document<"u",i=Ka(Error.captureStackTrace);!e&&(o||!i)&&console.warn("The follow-redirects package should be excluded from browser builds.")}),"detectUnsupportedEnvironment")();var Bm=!1;try{jm(new rl(""))}catch(t){Bm=t.code==="ERR_INVALID_URL"}var qA=["Authorization","Proxy-Authorization","Cookie"],HA=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],Mm=["abort","aborted","connect","error","socket","timeout"],Lm=Object.create(null);Mm.forEach(function(t){Lm[t]=function(e,o,i){this._redirectable.emit(t,e,o,i)}});var Em=sl("ERR_INVALID_URL","Invalid URL",TypeError),Pm=sl("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),kA=sl("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Pm),GA=sl("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),QA=sl("ERR_STREAM_WRITE_AFTER_END","write after end"),ZA=zm.prototype.destroy||Px;function qo(t,e){zm.call(this),this._sanitizeOptions(t),this._options=t,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],e&&this.on("response",e);var o=this;this._onNativeResponse=function(i){try{o._processResponse(i)}catch(r){o.emit("error",r instanceof Pm?r:new Pm({cause:r}))}},this._headerFilter=new RegExp("^(?:"+qA.concat(t.sensitiveHeaders).map($A).join("|")+")$","i"),this._performRequest()}s(qo,"RedirectableRequest");qo.prototype=Object.create(zm.prototype);qo.prototype.abort=function(){_m(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};qo.prototype.destroy=function(t){return _m(this._currentRequest,t),ZA.call(this,t),this};qo.prototype.write=function(t,e,o){if(this._ending)throw new QA;if(!Xa(t)&&!XA(t))throw new TypeError("data should be a string, Buffer or Uint8Array");if(Ka(e)&&(o=e,e=null),t.length===0){o&&o();return}this._requestBodyLength+t.length<=this._options.maxBodyLength?(this._requestBodyLength+=t.length,this._requestBodyBuffers.push({data:t,encoding:e}),this._currentRequest.write(t,e,o)):(this.emit("error",new GA),this.abort())};qo.prototype.end=function(t,e,o){if(Ka(t)?(o=t,t=e=null):Ka(e)&&(o=e,e=null),!t)this._ended=this._ending=!0,this._currentRequest.end(null,null,o);else{var i=this,r=this._currentRequest;this.write(t,e,function(){i._ended=!0,r.end(null,null,o)}),this._ending=!0}};qo.prototype.setHeader=function(t,e){this._options.headers[t]=e,this._currentRequest.setHeader(t,e)};qo.prototype.removeHeader=function(t){delete this._options.headers[t],this._currentRequest.removeHeader(t)};qo.prototype.setTimeout=function(t,e){var o=this;function i(a){a.setTimeout(t),a.removeListener("timeout",a.destroy),a.addListener("timeout",a.destroy)}s(i,"destroyOnTimeout");function r(a){o._timeout&&clearTimeout(o._timeout),o._timeout=setTimeout(function(){o.emit("timeout"),n()},t),i(a)}s(r,"startTimer");function n(){o._timeout&&(clearTimeout(o._timeout),o._timeout=null),o.removeListener("abort",n),o.removeListener("error",n),o.removeListener("response",n),o.removeListener("close",n),e&&o.removeListener("timeout",e),o.socket||o._currentRequest.removeListener("socket",r)}return s(n,"clearTimer"),e&&this.on("timeout",e),this.socket?r(this.socket):this._currentRequest.once("socket",r),this.on("socket",i),this.on("abort",n),this.on("error",n),this.on("response",n),this.on("close",n),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(t){qo.prototype[t]=function(e,o){return this._currentRequest[t](e,o)}});["aborted","connection","socket"].forEach(function(t){Object.defineProperty(qo.prototype,t,{get:s(function(){return this._currentRequest[t]},"get")})});qo.prototype._sanitizeOptions=function(t){if(t.headers||(t.headers={}),WA(t.sensitiveHeaders)||(t.sensitiveHeaders=[]),t.host&&(t.hostname||(t.hostname=t.host),delete t.host),!t.pathname&&t.path){var e=t.path.indexOf("?");e<0?t.pathname=t.path:(t.pathname=t.path.substring(0,e),t.search=t.path.substring(e))}};qo.prototype._performRequest=function(){var t=this._options.protocol,e=this._options.nativeProtocols[t];if(!e)throw new TypeError("Unsupported protocol "+t);if(this._options.agents){var o=t.slice(0,-1);this._options.agent=this._options.agents[o]}var i=this._currentRequest=e.request(this._options,this._onNativeResponse);i._redirectable=this;for(var r of Mm)i.on(r,Lm[r]);if(this._currentUrl=/^\//.test(this._options.path)?al.format(this._options):this._options.path,this._isRedirect){var n=0,a=this,c=this._requestBodyBuffers;s((function p(u){if(i===a._currentRequest)if(u)a.emit("error",u);else if(n<c.length){var l=c[n++];i.finished||i.write(l.data,l.encoding,p)}else a._ended&&i.end()}),"writeNext")()}};qo.prototype._processResponse=function(t){var e=t.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:t.headers,statusCode:e});var o=t.headers.location;if(!o||this._options.followRedirects===!1||e<300||e>=400){t.responseUrl=this._currentUrl,t.redirects=this._redirects,this.emit("response",t),this._requestBodyBuffers=[];return}if(_m(this._currentRequest),t.destroy(),++this._redirectCount>this._options.maxRedirects)throw new kA;var i,r=this._options.beforeRedirect;r&&(i=Object.assign({Host:t.req.getHeader("host")},this._options.headers));var n=this._options.method;((e===301||e===302)&&this._options.method==="POST"||e===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],Dm(/^content-/i,this._options.headers));var a=Dm(/^host$/i,this._options.headers),c=Vm(this._currentUrl),p=a||c.host,u=/^\w+:/.test(o)?this._currentUrl:al.format(Object.assign(c,{host:p})),l=YA(o,u);if(Dx("redirecting to",l.href),this._isRedirect=!0,Tm(l,this._options),(l.protocol!==c.protocol&&l.protocol!=="https:"||l.host!==p&&!JA(l.host,p))&&Dm(this._headerFilter,this._options.headers),Ka(r)){var d={headers:t.headers,statusCode:e},m={url:u,method:n,headers:i};r(this._options,d,m),this._sanitizeOptions(this._options)}this._performRequest()};function Ex(t){var e={maxRedirects:21,maxBodyLength:10485760},o={};return Object.keys(t).forEach(function(i){var r=i+":",n=o[r]=t[i],a=e[i]=Object.create(n);function c(u,l,d){return KA(u)?u=Tm(u):Xa(u)?u=Tm(Vm(u)):(d=l,l=Tx(u),u={protocol:r}),Ka(l)&&(d=l,l=null),l=Object.assign({maxRedirects:e.maxRedirects,maxBodyLength:e.maxBodyLength},u,l),l.nativeProtocols=o,!Xa(l.host)&&!Xa(l.hostname)&&(l.hostname="::1"),jm.equal(l.protocol,r,"protocol mismatch"),Dx("options",l),new qo(l,d)}s(c,"request");function p(u,l,d){var m=a.request(u,l,d);return m.end(),m}s(p,"get"),Object.defineProperties(a,{request:{value:c,configurable:!0,enumerable:!0,writable:!0},get:{value:p,configurable:!0,enumerable:!0,writable:!0}})}),e}s(Ex,"wrap");function Px(){}s(Px,"noop");function Vm(t){var e;if(Bm)e=new rl(t);else if(e=Tx(al.parse(t)),!Xa(e.protocol))throw new Em({input:t});return e}s(Vm,"parseUrl");function YA(t,e){return Bm?new rl(t,e):Vm(al.resolve(e,t))}s(YA,"resolveUrl");function Tx(t){if(/^\[/.test(t.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(t.hostname))throw new Em({input:t.href||t});if(/^\[/.test(t.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(t.host))throw new Em({input:t.href||t});return t}s(Tx,"validateUrl");function Tm(t,e){var o=e||{};for(var i of HA)o[i]=t[i];return o.hostname.startsWith("[")&&(o.hostname=o.hostname.slice(1,-1)),o.port!==""&&(o.port=Number(o.port)),o.path=o.search?o.pathname+o.search:o.pathname,o}s(Tm,"spreadUrlObject");function Dm(t,e){var o;for(var i in e)t.test(i)&&(o=e[i],delete e[i]);return o===null||typeof o>"u"?void 0:String(o).trim()}s(Dm,"removeMatchingHeaders");function sl(t,e,o){function i(r){Ka(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,r||{}),this.code=t,this.message=this.cause?e+": "+this.cause.message:e}return s(i,"CustomError"),i.prototype=new(o||Error),Object.defineProperties(i.prototype,{constructor:{value:i,enumerable:!1},name:{value:"Error ["+t+"]",enumerable:!1}}),i}s(sl,"createErrorType");function _m(t,e){for(var o of Mm)t.removeListener(o,Lm[o]);t.on("error",Px),t.destroy(e)}s(_m,"destroyRequest");function JA(t,e){jm(Xa(t)&&Xa(e));var o=t.length-e.length-1;return o>0&&t[o]==="."&&t.endsWith(e)}s(JA,"isSubdomain");function WA(t){return t instanceof Array}s(WA,"isArray");function Xa(t){return typeof t=="string"||t instanceof String}s(Xa,"isString");function Ka(t){return typeof t=="function"}s(Ka,"isFunction");function XA(t){return typeof t=="object"&&"length"in t}s(XA,"isBuffer");function KA(t){return rl&&t instanceof rl}s(KA,"isURL");function $A(t){return t.replace(/[\]\\/()*+?.$]/g,"\\$&")}s($A,"escapeRegex");Um.exports=Ex({http:_A,https:UA});Um.exports.wrap=Ex});var Sv=R((P6,pC)=>{"use strict";pC.exports=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}});var Da=R(Ds=>{"use strict";var Cv,ND=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];Ds.getSymbolSize=s(function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return e*4+17},"getSymbolSize");Ds.getSymbolTotalCodewords=s(function(e){return ND[e]},"getSymbolTotalCodewords");Ds.getBCHDigit=function(t){let e=0;for(;t!==0;)e++,t>>>=1;return e};Ds.setToSJISFunction=s(function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');Cv=e},"setToSJISFunction");Ds.isKanjiModeEnabled=function(){return typeof Cv<"u"};Ds.toSJIS=s(function(e){return Cv(e)},"toSJIS")});var Yd=R(zi=>{"use strict";zi.L={bit:1};zi.M={bit:0};zi.Q={bit:3};zi.H={bit:2};function RD(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return zi.L;case"m":case"medium":return zi.M;case"q":case"quartile":return zi.Q;case"h":case"high":return zi.H;default:throw new Error("Unknown EC Level: "+t)}}s(RD,"fromString");zi.isValid=s(function(e){return e&&typeof e.bit<"u"&&e.bit>=0&&e.bit<4},"isValid");zi.from=s(function(e,o){if(zi.isValid(e))return e;try{return RD(e)}catch{return o}},"from")});var dC=R((M6,uC)=>{"use strict";function lC(){this.buffer=[],this.length=0}s(lC,"BitBuffer");lC.prototype={get:s(function(t){let e=Math.floor(t/8);return(this.buffer[e]>>>7-t%8&1)===1},"get"),put:s(function(t,e){for(let o=0;o<e;o++)this.putBit((t>>>e-o-1&1)===1)},"put"),getLengthInBits:s(function(){return this.length},"getLengthInBits"),putBit:s(function(t){let e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++},"putBit")};uC.exports=lC});var mC=R((V6,fC)=>{"use strict";function ru(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}s(ru,"BitMatrix");ru.prototype.set=function(t,e,o,i){let r=t*this.size+e;this.data[r]=o,i&&(this.reservedBit[r]=!0)};ru.prototype.get=function(t,e){return this.data[t*this.size+e]};ru.prototype.xor=function(t,e,o){this.data[t*this.size+e]^=o};ru.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};fC.exports=ru});var hC=R(Jd=>{"use strict";var wD=Da().getSymbolSize;Jd.getRowColCoords=s(function(e){if(e===1)return[];let o=Math.floor(e/7)+2,i=wD(e),r=i===145?26:Math.ceil((i-13)/(2*o-2))*2,n=[i-7];for(let a=1;a<o-1;a++)n[a]=n[a-1]-r;return n.push(6),n.reverse()},"getRowColCoords");Jd.getPositions=s(function(e){let o=[],i=Jd.getRowColCoords(e),r=i.length;for(let n=0;n<r;n++)for(let a=0;a<r;a++)n===0&&a===0||n===0&&a===r-1||n===r-1&&a===0||o.push([i[n],i[a]]);return o},"getPositions")});var yC=R(gC=>{"use strict";var ID=Da().getSymbolSize,vC=7;gC.getPositions=s(function(e){let o=ID(e);return[[0,0],[o-vC,0],[0,o-vC]]},"getPositions")});var bC=R(Ae=>{"use strict";Ae.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var Es={N1:3,N2:3,N3:40,N4:10};Ae.isValid=s(function(e){return e!=null&&e!==""&&!isNaN(e)&&e>=0&&e<=7},"isValid");Ae.from=s(function(e){return Ae.isValid(e)?parseInt(e,10):void 0},"from");Ae.getPenaltyN1=s(function(e){let o=e.size,i=0,r=0,n=0,a=null,c=null;for(let p=0;p<o;p++){r=n=0,a=c=null;for(let u=0;u<o;u++){let l=e.get(p,u);l===a?r++:(r>=5&&(i+=Es.N1+(r-5)),a=l,r=1),l=e.get(u,p),l===c?n++:(n>=5&&(i+=Es.N1+(n-5)),c=l,n=1)}r>=5&&(i+=Es.N1+(r-5)),n>=5&&(i+=Es.N1+(n-5))}return i},"getPenaltyN1");Ae.getPenaltyN2=s(function(e){let o=e.size,i=0;for(let r=0;r<o-1;r++)for(let n=0;n<o-1;n++){let a=e.get(r,n)+e.get(r,n+1)+e.get(r+1,n)+e.get(r+1,n+1);(a===4||a===0)&&i++}return i*Es.N2},"getPenaltyN2");Ae.getPenaltyN3=s(function(e){let o=e.size,i=0,r=0,n=0;for(let a=0;a<o;a++){r=n=0;for(let c=0;c<o;c++)r=r<<1&2047|e.get(a,c),c>=10&&(r===1488||r===93)&&i++,n=n<<1&2047|e.get(c,a),c>=10&&(n===1488||n===93)&&i++}return i*Es.N3},"getPenaltyN3");Ae.getPenaltyN4=s(function(e){let o=0,i=e.data.length;for(let n=0;n<i;n++)o+=e.data[n];return Math.abs(Math.ceil(o*100/i/5)-10)*Es.N4},"getPenaltyN4");function OD(t,e,o){switch(t){case Ae.Patterns.PATTERN000:return(e+o)%2===0;case Ae.Patterns.PATTERN001:return e%2===0;case Ae.Patterns.PATTERN010:return o%3===0;case Ae.Patterns.PATTERN011:return(e+o)%3===0;case Ae.Patterns.PATTERN100:return(Math.floor(e/2)+Math.floor(o/3))%2===0;case Ae.Patterns.PATTERN101:return e*o%2+e*o%3===0;case Ae.Patterns.PATTERN110:return(e*o%2+e*o%3)%2===0;case Ae.Patterns.PATTERN111:return(e*o%3+(e+o)%2)%2===0;default:throw new Error("bad maskPattern:"+t)}}s(OD,"getMaskAt");Ae.applyMask=s(function(e,o){let i=o.size;for(let r=0;r<i;r++)for(let n=0;n<i;n++)o.isReserved(n,r)||o.xor(n,r,OD(e,n,r))},"applyMask");Ae.getBestMask=s(function(e,o){let i=Object.keys(Ae.Patterns).length,r=0,n=1/0;for(let a=0;a<i;a++){o(a),Ae.applyMask(a,e);let c=Ae.getPenaltyN1(e)+Ae.getPenaltyN2(e)+Ae.getPenaltyN3(e)+Ae.getPenaltyN4(e);Ae.applyMask(a,e),c<n&&(n=c,r=a)}return r},"getBestMask")});var Rv=R(Nv=>{"use strict";var Ea=Yd(),Wd=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],Xd=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];Nv.getBlocksCount=s(function(e,o){switch(o){case Ea.L:return Wd[(e-1)*4+0];case Ea.M:return Wd[(e-1)*4+1];case Ea.Q:return Wd[(e-1)*4+2];case Ea.H:return Wd[(e-1)*4+3];default:return}},"getBlocksCount");Nv.getTotalCodewordsCount=s(function(e,o){switch(o){case Ea.L:return Xd[(e-1)*4+0];case Ea.M:return Xd[(e-1)*4+1];case Ea.Q:return Xd[(e-1)*4+2];case Ea.H:return Xd[(e-1)*4+3];default:return}},"getTotalCodewordsCount")});var xC=R($d=>{"use strict";var au=new Uint8Array(512),Kd=new Uint8Array(256);s((function(){let e=1;for(let o=0;o<255;o++)au[o]=e,Kd[e]=o,e<<=1,e&256&&(e^=285);for(let o=255;o<512;o++)au[o]=au[o-255]}),"initTables")();$d.log=s(function(e){if(e<1)throw new Error("log("+e+")");return Kd[e]},"log");$d.exp=s(function(e){return au[e]},"exp");$d.mul=s(function(e,o){return e===0||o===0?0:au[Kd[e]+Kd[o]]},"mul")});var SC=R(su=>{"use strict";var wv=xC();su.mul=s(function(e,o){let i=new Uint8Array(e.length+o.length-1);for(let r=0;r<e.length;r++)for(let n=0;n<o.length;n++)i[r+n]^=wv.mul(e[r],o[n]);return i},"mul");su.mod=s(function(e,o){let i=new Uint8Array(e);for(;i.length-o.length>=0;){let r=i[0];for(let a=0;a<o.length;a++)i[a]^=wv.mul(o[a],r);let n=0;for(;n<i.length&&i[n]===0;)n++;i=i.slice(n)}return i},"mod");su.generateECPolynomial=s(function(e){let o=new Uint8Array([1]);for(let i=0;i<e;i++)o=su.mul(o,new Uint8Array([1,wv.exp(i)]));return o},"generateECPolynomial")});var RC=R(($6,NC)=>{"use strict";var CC=SC();function Iv(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}s(Iv,"ReedSolomonEncoder");Iv.prototype.initialize=s(function(e){this.degree=e,this.genPoly=CC.generateECPolynomial(this.degree)},"initialize");Iv.prototype.encode=s(function(e){if(!this.genPoly)throw new Error("Encoder not initialized");let o=new Uint8Array(e.length+this.degree);o.set(e);let i=CC.mod(o,this.genPoly),r=this.degree-i.length;if(r>0){let n=new Uint8Array(this.degree);return n.set(i,r),n}return i},"encode");NC.exports=Iv});var Ov=R(wC=>{"use strict";wC.isValid=s(function(e){return!isNaN(e)&&e>=1&&e<=40},"isValid")});var Av=R(Vr=>{"use strict";var IC="[0-9]+",AD="[A-Z $%*+\\-./:]+",cu="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";cu=cu.replace(/u/g,"\\u");var FD="(?:(?![A-Z0-9 $%*+\\-./:]|"+cu+`)(?:.|[\r
14
- ]))+`;Vr.KANJI=new RegExp(cu,"g");Vr.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");Vr.BYTE=new RegExp(FD,"g");Vr.NUMERIC=new RegExp(IC,"g");Vr.ALPHANUMERIC=new RegExp(AD,"g");var DD=new RegExp("^"+cu+"$"),ED=new RegExp("^"+IC+"$"),PD=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Vr.testKanji=s(function(e){return DD.test(e)},"testKanji");Vr.testNumeric=s(function(e){return ED.test(e)},"testNumeric");Vr.testAlphanumeric=s(function(e){return PD.test(e)},"testAlphanumeric")});var Pa=R(St=>{"use strict";var TD=Ov(),Fv=Av();St.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]};St.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]};St.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]};St.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]};St.MIXED={bit:-1};St.getCharCountIndicator=s(function(e,o){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!TD.isValid(o))throw new Error("Invalid version: "+o);return o>=1&&o<10?e.ccBits[0]:o<27?e.ccBits[1]:e.ccBits[2]},"getCharCountIndicator");St.getBestModeForData=s(function(e){return Fv.testNumeric(e)?St.NUMERIC:Fv.testAlphanumeric(e)?St.ALPHANUMERIC:Fv.testKanji(e)?St.KANJI:St.BYTE},"getBestModeForData");St.toString=s(function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},"toString");St.isValid=s(function(e){return e&&e.bit&&e.ccBits},"isValid");function zD(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return St.NUMERIC;case"alphanumeric":return St.ALPHANUMERIC;case"kanji":return St.KANJI;case"byte":return St.BYTE;default:throw new Error("Unknown mode: "+t)}}s(zD,"fromString");St.from=s(function(e,o){if(St.isValid(e))return e;try{return zD(e)}catch{return o}},"from")});var EC=R(Ps=>{"use strict";var ef=Da(),jD=Rv(),OC=Yd(),Ta=Pa(),Dv=Ov(),FC=7973,AC=ef.getBCHDigit(FC);function BD(t,e,o){for(let i=1;i<=40;i++)if(e<=Ps.getCapacity(i,o,t))return i}s(BD,"getBestVersionForDataLength");function DC(t,e){return Ta.getCharCountIndicator(t,e)+4}s(DC,"getReservedBitsCount");function MD(t,e){let o=0;return t.forEach(function(i){let r=DC(i.mode,e);o+=r+i.getBitsLength()}),o}s(MD,"getTotalBitsFromDataArray");function LD(t,e){for(let o=1;o<=40;o++)if(MD(t,o)<=Ps.getCapacity(o,e,Ta.MIXED))return o}s(LD,"getBestVersionForMixedData");Ps.from=s(function(e,o){return Dv.isValid(e)?parseInt(e,10):o},"from");Ps.getCapacity=s(function(e,o,i){if(!Dv.isValid(e))throw new Error("Invalid QR Code version");typeof i>"u"&&(i=Ta.BYTE);let r=ef.getSymbolTotalCodewords(e),n=jD.getTotalCodewordsCount(e,o),a=(r-n)*8;if(i===Ta.MIXED)return a;let c=a-DC(i,e);switch(i){case Ta.NUMERIC:return Math.floor(c/10*3);case Ta.ALPHANUMERIC:return Math.floor(c/11*2);case Ta.KANJI:return Math.floor(c/13);case Ta.BYTE:default:return Math.floor(c/8)}},"getCapacity");Ps.getBestVersionForData=s(function(e,o){let i,r=OC.from(o,OC.M);if(Array.isArray(e)){if(e.length>1)return LD(e,r);if(e.length===0)return 1;i=e[0]}else i=e;return BD(i.mode,i.getLength(),r)},"getBestVersionForData");Ps.getEncodedBits=s(function(e){if(!Dv.isValid(e)||e<7)throw new Error("Invalid QR Code version");let o=e<<12;for(;ef.getBCHDigit(o)-AC>=0;)o^=FC<<ef.getBCHDigit(o)-AC;return e<<12|o},"getEncodedBits")});var jC=R(zC=>{"use strict";var Ev=Da(),TC=1335,VD=21522,PC=Ev.getBCHDigit(TC);zC.getEncodedBits=s(function(e,o){let i=e.bit<<3|o,r=i<<10;for(;Ev.getBCHDigit(r)-PC>=0;)r^=TC<<Ev.getBCHDigit(r)-PC;return(i<<10|r)^VD},"getEncodedBits")});var MC=R((u8,BC)=>{"use strict";var _D=Pa();function mp(t){this.mode=_D.NUMERIC,this.data=t.toString()}s(mp,"NumericData");mp.getBitsLength=s(function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},"getBitsLength");mp.prototype.getLength=s(function(){return this.data.length},"getLength");mp.prototype.getBitsLength=s(function(){return mp.getBitsLength(this.data.length)},"getBitsLength");mp.prototype.write=s(function(e){let o,i,r;for(o=0;o+3<=this.data.length;o+=3)i=this.data.substr(o,3),r=parseInt(i,10),e.put(r,10);let n=this.data.length-o;n>0&&(i=this.data.substr(o),r=parseInt(i,10),e.put(r,n*3+1))},"write");BC.exports=mp});var VC=R((f8,LC)=>{"use strict";var UD=Pa(),Pv=["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 hp(t){this.mode=UD.ALPHANUMERIC,this.data=t}s(hp,"AlphanumericData");hp.getBitsLength=s(function(e){return 11*Math.floor(e/2)+6*(e%2)},"getBitsLength");hp.prototype.getLength=s(function(){return this.data.length},"getLength");hp.prototype.getBitsLength=s(function(){return hp.getBitsLength(this.data.length)},"getBitsLength");hp.prototype.write=s(function(e){let o;for(o=0;o+2<=this.data.length;o+=2){let i=Pv.indexOf(this.data[o])*45;i+=Pv.indexOf(this.data[o+1]),e.put(i,11)}this.data.length%2&&e.put(Pv.indexOf(this.data[o]),6)},"write");LC.exports=hp});var UC=R((h8,_C)=>{"use strict";var qD=Pa();function vp(t){this.mode=qD.BYTE,typeof t=="string"?this.data=new TextEncoder().encode(t):this.data=new Uint8Array(t)}s(vp,"ByteData");vp.getBitsLength=s(function(e){return e*8},"getBitsLength");vp.prototype.getLength=s(function(){return this.data.length},"getLength");vp.prototype.getBitsLength=s(function(){return vp.getBitsLength(this.data.length)},"getBitsLength");vp.prototype.write=function(t){for(let e=0,o=this.data.length;e<o;e++)t.put(this.data[e],8)};_C.exports=vp});var HC=R((g8,qC)=>{"use strict";var HD=Pa(),kD=Da();function gp(t){this.mode=HD.KANJI,this.data=t}s(gp,"KanjiData");gp.getBitsLength=s(function(e){return e*13},"getBitsLength");gp.prototype.getLength=s(function(){return this.data.length},"getLength");gp.prototype.getBitsLength=s(function(){return gp.getBitsLength(this.data.length)},"getBitsLength");gp.prototype.write=function(t){let e;for(e=0;e<this.data.length;e++){let o=kD.toSJIS(this.data[e]);if(o>=33088&&o<=40956)o-=33088;else if(o>=57408&&o<=60351)o-=49472;else throw new Error("Invalid SJIS character: "+this.data[e]+`
15
- Make sure your charset is UTF-8`);o=(o>>>8&255)*192+(o&255),t.put(o,13)}};qC.exports=gp});var kC=R((b8,Tv)=>{"use strict";var pu={single_source_shortest_paths:s(function(t,e,o){var i={},r={};r[e]=0;var n=pu.PriorityQueue.make();n.push(e,0);for(var a,c,p,u,l,d,m,y,x;!n.empty();){a=n.pop(),c=a.value,u=a.cost,l=t[c]||{};for(p in l)l.hasOwnProperty(p)&&(d=l[p],m=u+d,y=r[p],x=typeof r[p]>"u",(x||y>m)&&(r[p]=m,n.push(p,m),i[p]=c))}if(typeof o<"u"&&typeof r[o]>"u"){var N=["Could not find a path from ",e," to ",o,"."].join("");throw new Error(N)}return i},"single_source_shortest_paths"),extract_shortest_path_from_predecessor_list:s(function(t,e){for(var o=[],i=e,r;i;)o.push(i),r=t[i],i=t[i];return o.reverse(),o},"extract_shortest_path_from_predecessor_list"),find_path:s(function(t,e,o){var i=pu.single_source_shortest_paths(t,e,o);return pu.extract_shortest_path_from_predecessor_list(i,o)},"find_path"),PriorityQueue:{make:s(function(t){var e=pu.PriorityQueue,o={},i;t=t||{};for(i in e)e.hasOwnProperty(i)&&(o[i]=e[i]);return o.queue=[],o.sorter=t.sorter||e.default_sorter,o},"make"),default_sorter:s(function(t,e){return t.cost-e.cost},"default_sorter"),push:s(function(t,e){var o={value:t,cost:e};this.queue.push(o),this.queue.sort(this.sorter)},"push"),pop:s(function(){return this.queue.shift()},"pop"),empty:s(function(){return this.queue.length===0},"empty")}};typeof Tv<"u"&&(Tv.exports=pu)});var KC=R(yp=>{"use strict";var ue=Pa(),ZC=MC(),YC=VC(),JC=UC(),WC=HC(),lu=Av(),tf=Da(),GD=kC();function GC(t){return unescape(encodeURIComponent(t)).length}s(GC,"getStringByteLength");function uu(t,e,o){let i=[],r;for(;(r=t.exec(o))!==null;)i.push({data:r[0],index:r.index,mode:e,length:r[0].length});return i}s(uu,"getSegments");function XC(t){let e=uu(lu.NUMERIC,ue.NUMERIC,t),o=uu(lu.ALPHANUMERIC,ue.ALPHANUMERIC,t),i,r;return tf.isKanjiModeEnabled()?(i=uu(lu.BYTE,ue.BYTE,t),r=uu(lu.KANJI,ue.KANJI,t)):(i=uu(lu.BYTE_KANJI,ue.BYTE,t),r=[]),e.concat(o,i,r).sort(function(a,c){return a.index-c.index}).map(function(a){return{data:a.data,mode:a.mode,length:a.length}})}s(XC,"getSegmentsFromString");function zv(t,e){switch(e){case ue.NUMERIC:return ZC.getBitsLength(t);case ue.ALPHANUMERIC:return YC.getBitsLength(t);case ue.KANJI:return WC.getBitsLength(t);case ue.BYTE:return JC.getBitsLength(t)}}s(zv,"getSegmentBitsLength");function QD(t){return t.reduce(function(e,o){let i=e.length-1>=0?e[e.length-1]:null;return i&&i.mode===o.mode?(e[e.length-1].data+=o.data,e):(e.push(o),e)},[])}s(QD,"mergeSegments");function ZD(t){let e=[];for(let o=0;o<t.length;o++){let i=t[o];switch(i.mode){case ue.NUMERIC:e.push([i,{data:i.data,mode:ue.ALPHANUMERIC,length:i.length},{data:i.data,mode:ue.BYTE,length:i.length}]);break;case ue.ALPHANUMERIC:e.push([i,{data:i.data,mode:ue.BYTE,length:i.length}]);break;case ue.KANJI:e.push([i,{data:i.data,mode:ue.BYTE,length:GC(i.data)}]);break;case ue.BYTE:e.push([{data:i.data,mode:ue.BYTE,length:GC(i.data)}])}}return e}s(ZD,"buildNodes");function YD(t,e){let o={},i={start:{}},r=["start"];for(let n=0;n<t.length;n++){let a=t[n],c=[];for(let p=0;p<a.length;p++){let u=a[p],l=""+n+p;c.push(l),o[l]={node:u,lastCount:0},i[l]={};for(let d=0;d<r.length;d++){let m=r[d];o[m]&&o[m].node.mode===u.mode?(i[m][l]=zv(o[m].lastCount+u.length,u.mode)-zv(o[m].lastCount,u.mode),o[m].lastCount+=u.length):(o[m]&&(o[m].lastCount=u.length),i[m][l]=zv(u.length,u.mode)+4+ue.getCharCountIndicator(u.mode,e))}}r=c}for(let n=0;n<r.length;n++)i[r[n]].end=0;return{map:i,table:o}}s(YD,"buildGraph");function QC(t,e){let o,i=ue.getBestModeForData(t);if(o=ue.from(e,i),o!==ue.BYTE&&o.bit<i.bit)throw new Error('"'+t+'" cannot be encoded with mode '+ue.toString(o)+`.
16
- Suggested mode is: `+ue.toString(i));switch(o===ue.KANJI&&!tf.isKanjiModeEnabled()&&(o=ue.BYTE),o){case ue.NUMERIC:return new ZC(t);case ue.ALPHANUMERIC:return new YC(t);case ue.KANJI:return new WC(t);case ue.BYTE:return new JC(t)}}s(QC,"buildSingleSegment");yp.fromArray=s(function(e){return e.reduce(function(o,i){return typeof i=="string"?o.push(QC(i,null)):i.data&&o.push(QC(i.data,i.mode)),o},[])},"fromArray");yp.fromString=s(function(e,o){let i=XC(e,tf.isKanjiModeEnabled()),r=ZD(i),n=YD(r,o),a=GD.find_path(n.map,"start","end"),c=[];for(let p=1;p<a.length-1;p++)c.push(n.table[a[p]].node);return yp.fromArray(QD(c))},"fromString");yp.rawSplit=s(function(e){return yp.fromArray(XC(e,tf.isKanjiModeEnabled()))},"rawSplit")});var _v=R($C=>{"use strict";var nf=Da(),jv=Yd(),JD=dC(),WD=mC(),XD=hC(),KD=yC(),Lv=bC(),Vv=Rv(),$D=RC(),of=EC(),eE=jC(),tE=Pa(),Bv=KC();function oE(t,e){let o=t.size,i=KD.getPositions(e);for(let r=0;r<i.length;r++){let n=i[r][0],a=i[r][1];for(let c=-1;c<=7;c++)if(!(n+c<=-1||o<=n+c))for(let p=-1;p<=7;p++)a+p<=-1||o<=a+p||(c>=0&&c<=6&&(p===0||p===6)||p>=0&&p<=6&&(c===0||c===6)||c>=2&&c<=4&&p>=2&&p<=4?t.set(n+c,a+p,!0,!0):t.set(n+c,a+p,!1,!0))}}s(oE,"setupFinderPattern");function iE(t){let e=t.size;for(let o=8;o<e-8;o++){let i=o%2===0;t.set(o,6,i,!0),t.set(6,o,i,!0)}}s(iE,"setupTimingPattern");function nE(t,e){let o=XD.getPositions(e);for(let i=0;i<o.length;i++){let r=o[i][0],n=o[i][1];for(let a=-2;a<=2;a++)for(let c=-2;c<=2;c++)a===-2||a===2||c===-2||c===2||a===0&&c===0?t.set(r+a,n+c,!0,!0):t.set(r+a,n+c,!1,!0)}}s(nE,"setupAlignmentPattern");function rE(t,e){let o=t.size,i=of.getEncodedBits(e),r,n,a;for(let c=0;c<18;c++)r=Math.floor(c/3),n=c%3+o-8-3,a=(i>>c&1)===1,t.set(r,n,a,!0),t.set(n,r,a,!0)}s(rE,"setupVersionInfo");function Mv(t,e,o){let i=t.size,r=eE.getEncodedBits(e,o),n,a;for(n=0;n<15;n++)a=(r>>n&1)===1,n<6?t.set(n,8,a,!0):n<8?t.set(n+1,8,a,!0):t.set(i-15+n,8,a,!0),n<8?t.set(8,i-n-1,a,!0):n<9?t.set(8,15-n-1+1,a,!0):t.set(8,15-n-1,a,!0);t.set(i-8,8,1,!0)}s(Mv,"setupFormatInfo");function aE(t,e){let o=t.size,i=-1,r=o-1,n=7,a=0;for(let c=o-1;c>0;c-=2)for(c===6&&c--;;){for(let p=0;p<2;p++)if(!t.isReserved(r,c-p)){let u=!1;a<e.length&&(u=(e[a]>>>n&1)===1),t.set(r,c-p,u),n--,n===-1&&(a++,n=7)}if(r+=i,r<0||o<=r){r-=i,i=-i;break}}}s(aE,"setupData");function sE(t,e,o){let i=new JD;o.forEach(function(p){i.put(p.mode.bit,4),i.put(p.getLength(),tE.getCharCountIndicator(p.mode,t)),p.write(i)});let r=nf.getSymbolTotalCodewords(t),n=Vv.getTotalCodewordsCount(t,e),a=(r-n)*8;for(i.getLengthInBits()+4<=a&&i.put(0,4);i.getLengthInBits()%8!==0;)i.putBit(0);let c=(a-i.getLengthInBits())/8;for(let p=0;p<c;p++)i.put(p%2?17:236,8);return cE(i,t,e)}s(sE,"createData");function cE(t,e,o){let i=nf.getSymbolTotalCodewords(e),r=Vv.getTotalCodewordsCount(e,o),n=i-r,a=Vv.getBlocksCount(e,o),c=i%a,p=a-c,u=Math.floor(i/a),l=Math.floor(n/a),d=l+1,m=u-l,y=new $D(m),x=0,N=new Array(a),C=new Array(a),b=0,I=new Uint8Array(t.buffer);for(let Ct=0;Ct<a;Ct++){let Yo=Ct<p?l:d;N[Ct]=I.slice(x,x+Yo),C[Ct]=y.encode(N[Ct]),x+=Yo,b=Math.max(b,Yo)}let A=new Uint8Array(i),D=0,H,Q;for(H=0;H<b;H++)for(Q=0;Q<a;Q++)H<N[Q].length&&(A[D++]=N[Q][H]);for(H=0;H<m;H++)for(Q=0;Q<a;Q++)A[D++]=C[Q][H];return A}s(cE,"createCodewords");function pE(t,e,o,i){let r;if(Array.isArray(t))r=Bv.fromArray(t);else if(typeof t=="string"){let u=e;if(!u){let l=Bv.rawSplit(t);u=of.getBestVersionForData(l,o)}r=Bv.fromString(t,u||40)}else throw new Error("Invalid data");let n=of.getBestVersionForData(r,o);if(!n)throw new Error("The amount of data is too big to be stored in a QR Code");if(!e)e=n;else if(e<n)throw new Error(`
10
+ `)),N=+x.split(" ")[1];tl("got proxy server response: %o",x),e({statusCode:N,buffered:m})}s(l,"ondata"),t.on("error",u),t.on("close",c),t.on("end",p),n()})}s(FA,"parseProxyResponse");ol.default=FA});var Ox=R(Ja=>{"use strict";var DA=Ja&&Ja.__awaiter||function(t,e,o,i){function r(n){return n instanceof o?n:new o(function(a){a(n)})}return s(r,"adopt"),new(o||(o=Promise))(function(n,a){function c(l){try{u(i.next(l))}catch(d){a(d)}}s(c,"fulfilled");function p(l){try{u(i.throw(l))}catch(d){a(d)}}s(p,"rejected");function u(l){l.done?n(l.value):r(l.value).then(c,p)}s(u,"step"),u((i=i.apply(t,e||[])).next())})},ic=Ja&&Ja.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ja,"__esModule",{value:!0});var wx=ic(require("net")),Ix=ic(require("tls")),EA=ic(require("url")),PA=ic(require("assert")),TA=ic($p()),zA=Nx(),jA=ic(Rx()),il=TA.default("https-proxy-agent:agent"),BA=class extends zA.Agent{static{s(this,"HttpsProxyAgent")}constructor(e){let o;if(typeof e=="string"?o=EA.default.parse(e):o=e,!o)throw new Error("an HTTP(S) proxy server `host` and `port` must be specified!");il("creating new HttpsProxyAgent instance: %o",o),super(o);let i=Object.assign({},o);this.secureProxy=o.secureProxy||VA(i.protocol),i.host=i.hostname||i.host,typeof i.port=="string"&&(i.port=parseInt(i.port,10)),!i.port&&i.host&&(i.port=this.secureProxy?443:80),this.secureProxy&&!("ALPNProtocols"in i)&&(i.ALPNProtocols=["http 1.1"]),i.host&&i.path&&(delete i.path,delete i.pathname),this.proxy=i}callback(e,o){return DA(this,void 0,void 0,function*(){let{proxy:i,secureProxy:r}=this,n;r?(il("Creating `tls.Socket`: %o",i),n=Ix.default.connect(i)):(il("Creating `net.Socket`: %o",i),n=wx.default.connect(i));let a=Object.assign({},i.headers),p=`CONNECT ${`${o.host}:${o.port}`} HTTP/1.1\r
11
+ `;i.auth&&(a["Proxy-Authorization"]=`Basic ${Buffer.from(i.auth).toString("base64")}`);let{host:u,port:l,secureEndpoint:d}=o;LA(l,d)||(u+=`:${l}`),a.Host=u,a.Connection="close";for(let C of Object.keys(a))p+=`${C}: ${a[C]}\r
12
+ `;let m=jA.default(n);n.write(`${p}\r
13
+ `);let{statusCode:y,buffered:x}=yield m;if(y===200){if(e.once("socket",MA),o.secureEndpoint){il("Upgrading socket connection to TLS");let C=o.servername||o.host;return Ix.default.connect(Object.assign(Object.assign({},_A(o,"host","hostname","path","port")),{socket:n,servername:C}))}return n}n.destroy();let N=new wx.default.Socket({writable:!1});return N.readable=!0,e.once("socket",C=>{il("replaying proxy buffer for failed request"),PA.default(C.listenerCount("data")>0),C.push(x),C.push(null)}),N})}};Ja.default=BA;function MA(t){t.resume()}s(MA,"resume");function LA(t,e){return!!(!e&&t===80||e&&t===443)}s(LA,"isDefaultPort");function VA(t){return typeof t=="string"?/^https:?$/i.test(t):!1}s(VA,"isHTTPS");function _A(t,...e){let o={},i;for(i in t)e.includes(i)||(o[i]=t[i]);return o}s(_A,"omit")});var Fx=R((Dm,Ax)=>{"use strict";var UA=Dm&&Dm.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},Am=UA(Ox());function Fm(t){return new Am.default(t)}s(Fm,"createHttpsProxyAgent");(function(t){t.HttpsProxyAgent=Am.default,t.prototype=Am.default.prototype})(Fm||(Fm={}));Ax.exports=Fm});var Ex=R((Jz,Dx)=>{"use strict";var nl;Dx.exports=function(){if(!nl){try{nl=$p()("follow-redirects")}catch{}typeof nl!="function"&&(nl=s(function(){},"debug"))}nl.apply(null,arguments)}});var Bx=R((Kz,qm)=>{"use strict";var al=require("url"),rl=al.URL,qA=require("http"),HA=require("https"),jm=require("stream").Writable,Bm=require("assert"),Px=Ex();s((function(){var e=typeof process<"u",o=typeof window<"u"&&typeof document<"u",i=Ka(Error.captureStackTrace);!e&&(o||!i)&&console.warn("The follow-redirects package should be excluded from browser builds.")}),"detectUnsupportedEnvironment")();var Mm=!1;try{Bm(new rl(""))}catch(t){Mm=t.code==="ERR_INVALID_URL"}var kA=["Authorization","Proxy-Authorization","Cookie"],GA=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],Lm=["abort","aborted","connect","error","socket","timeout"],Vm=Object.create(null);Lm.forEach(function(t){Vm[t]=function(e,o,i){this._redirectable.emit(t,e,o,i)}});var Pm=sl("ERR_INVALID_URL","Invalid URL",TypeError),Tm=sl("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),QA=sl("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Tm),ZA=sl("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),YA=sl("ERR_STREAM_WRITE_AFTER_END","write after end"),WA=jm.prototype.destroy||zx;function qo(t,e){jm.call(this),this._sanitizeOptions(t),this._options=t,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],e&&this.on("response",e);var o=this;this._onNativeResponse=function(i){try{o._processResponse(i)}catch(r){o.emit("error",r instanceof Tm?r:new Tm({cause:r}))}},this._headerFilter=new RegExp("^(?:"+kA.concat(t.sensitiveHeaders).map(tF).join("|")+")$","i"),this._performRequest()}s(qo,"RedirectableRequest");qo.prototype=Object.create(jm.prototype);qo.prototype.abort=function(){Um(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};qo.prototype.destroy=function(t){return Um(this._currentRequest,t),WA.call(this,t),this};qo.prototype.write=function(t,e,o){if(this._ending)throw new YA;if(!Xa(t)&&!$A(t))throw new TypeError("data should be a string, Buffer or Uint8Array");if(Ka(e)&&(o=e,e=null),t.length===0){o&&o();return}this._requestBodyLength+t.length<=this._options.maxBodyLength?(this._requestBodyLength+=t.length,this._requestBodyBuffers.push({data:t,encoding:e}),this._currentRequest.write(t,e,o)):(this.emit("error",new ZA),this.abort())};qo.prototype.end=function(t,e,o){if(Ka(t)?(o=t,t=e=null):Ka(e)&&(o=e,e=null),!t)this._ended=this._ending=!0,this._currentRequest.end(null,null,o);else{var i=this,r=this._currentRequest;this.write(t,e,function(){i._ended=!0,r.end(null,null,o)}),this._ending=!0}};qo.prototype.setHeader=function(t,e){this._options.headers[t]=e,this._currentRequest.setHeader(t,e)};qo.prototype.removeHeader=function(t){delete this._options.headers[t],this._currentRequest.removeHeader(t)};qo.prototype.setTimeout=function(t,e){var o=this;function i(a){a.setTimeout(t),a.removeListener("timeout",a.destroy),a.addListener("timeout",a.destroy)}s(i,"destroyOnTimeout");function r(a){o._timeout&&clearTimeout(o._timeout),o._timeout=setTimeout(function(){o.emit("timeout"),n()},t),i(a)}s(r,"startTimer");function n(){o._timeout&&(clearTimeout(o._timeout),o._timeout=null),o.removeListener("abort",n),o.removeListener("error",n),o.removeListener("response",n),o.removeListener("close",n),e&&o.removeListener("timeout",e),o.socket||o._currentRequest.removeListener("socket",r)}return s(n,"clearTimer"),e&&this.on("timeout",e),this.socket?r(this.socket):this._currentRequest.once("socket",r),this.on("socket",i),this.on("abort",n),this.on("error",n),this.on("response",n),this.on("close",n),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(t){qo.prototype[t]=function(e,o){return this._currentRequest[t](e,o)}});["aborted","connection","socket"].forEach(function(t){Object.defineProperty(qo.prototype,t,{get:s(function(){return this._currentRequest[t]},"get")})});qo.prototype._sanitizeOptions=function(t){if(t.headers||(t.headers={}),KA(t.sensitiveHeaders)||(t.sensitiveHeaders=[]),t.host&&(t.hostname||(t.hostname=t.host),delete t.host),!t.pathname&&t.path){var e=t.path.indexOf("?");e<0?t.pathname=t.path:(t.pathname=t.path.substring(0,e),t.search=t.path.substring(e))}};qo.prototype._performRequest=function(){var t=this._options.protocol,e=this._options.nativeProtocols[t];if(!e)throw new TypeError("Unsupported protocol "+t);if(this._options.agents){var o=t.slice(0,-1);this._options.agent=this._options.agents[o]}var i=this._currentRequest=e.request(this._options,this._onNativeResponse);i._redirectable=this;for(var r of Lm)i.on(r,Vm[r]);if(this._currentUrl=/^\//.test(this._options.path)?al.format(this._options):this._options.path,this._isRedirect){var n=0,a=this,c=this._requestBodyBuffers;s((function p(u){if(i===a._currentRequest)if(u)a.emit("error",u);else if(n<c.length){var l=c[n++];i.finished||i.write(l.data,l.encoding,p)}else a._ended&&i.end()}),"writeNext")()}};qo.prototype._processResponse=function(t){var e=t.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:t.headers,statusCode:e});var o=t.headers.location;if(!o||this._options.followRedirects===!1||e<300||e>=400){t.responseUrl=this._currentUrl,t.redirects=this._redirects,this.emit("response",t),this._requestBodyBuffers=[];return}if(Um(this._currentRequest),t.destroy(),++this._redirectCount>this._options.maxRedirects)throw new QA;var i,r=this._options.beforeRedirect;r&&(i=Object.assign({Host:t.req.getHeader("host")},this._options.headers));var n=this._options.method;((e===301||e===302)&&this._options.method==="POST"||e===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],Em(/^content-/i,this._options.headers));var a=Em(/^host$/i,this._options.headers),c=_m(this._currentUrl),p=a||c.host,u=/^\w+:/.test(o)?this._currentUrl:al.format(Object.assign(c,{host:p})),l=JA(o,u);if(Px("redirecting to",l.href),this._isRedirect=!0,zm(l,this._options),(l.protocol!==c.protocol&&l.protocol!=="https:"||l.host!==p&&!XA(l.host,p))&&Em(this._headerFilter,this._options.headers),Ka(r)){var d={headers:t.headers,statusCode:e},m={url:u,method:n,headers:i};r(this._options,d,m),this._sanitizeOptions(this._options)}this._performRequest()};function Tx(t){var e={maxRedirects:21,maxBodyLength:10485760},o={};return Object.keys(t).forEach(function(i){var r=i+":",n=o[r]=t[i],a=e[i]=Object.create(n);function c(u,l,d){return eF(u)?u=zm(u):Xa(u)?u=zm(_m(u)):(d=l,l=jx(u),u={protocol:r}),Ka(l)&&(d=l,l=null),l=Object.assign({maxRedirects:e.maxRedirects,maxBodyLength:e.maxBodyLength},u,l),l.nativeProtocols=o,!Xa(l.host)&&!Xa(l.hostname)&&(l.hostname="::1"),Bm.equal(l.protocol,r,"protocol mismatch"),Px("options",l),new qo(l,d)}s(c,"request");function p(u,l,d){var m=a.request(u,l,d);return m.end(),m}s(p,"get"),Object.defineProperties(a,{request:{value:c,configurable:!0,enumerable:!0,writable:!0},get:{value:p,configurable:!0,enumerable:!0,writable:!0}})}),e}s(Tx,"wrap");function zx(){}s(zx,"noop");function _m(t){var e;if(Mm)e=new rl(t);else if(e=jx(al.parse(t)),!Xa(e.protocol))throw new Pm({input:t});return e}s(_m,"parseUrl");function JA(t,e){return Mm?new rl(t,e):_m(al.resolve(e,t))}s(JA,"resolveUrl");function jx(t){if(/^\[/.test(t.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(t.hostname))throw new Pm({input:t.href||t});if(/^\[/.test(t.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(t.host))throw new Pm({input:t.href||t});return t}s(jx,"validateUrl");function zm(t,e){var o=e||{};for(var i of GA)o[i]=t[i];return o.hostname.startsWith("[")&&(o.hostname=o.hostname.slice(1,-1)),o.port!==""&&(o.port=Number(o.port)),o.path=o.search?o.pathname+o.search:o.pathname,o}s(zm,"spreadUrlObject");function Em(t,e){var o;for(var i in e)t.test(i)&&(o=e[i],delete e[i]);return o===null||typeof o>"u"?void 0:String(o).trim()}s(Em,"removeMatchingHeaders");function sl(t,e,o){function i(r){Ka(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,r||{}),this.code=t,this.message=this.cause?e+": "+this.cause.message:e}return s(i,"CustomError"),i.prototype=new(o||Error),Object.defineProperties(i.prototype,{constructor:{value:i,enumerable:!1},name:{value:"Error ["+t+"]",enumerable:!1}}),i}s(sl,"createErrorType");function Um(t,e){for(var o of Lm)t.removeListener(o,Vm[o]);t.on("error",zx),t.destroy(e)}s(Um,"destroyRequest");function XA(t,e){Bm(Xa(t)&&Xa(e));var o=t.length-e.length-1;return o>0&&t[o]==="."&&t.endsWith(e)}s(XA,"isSubdomain");function KA(t){return t instanceof Array}s(KA,"isArray");function Xa(t){return typeof t=="string"||t instanceof String}s(Xa,"isString");function Ka(t){return typeof t=="function"}s(Ka,"isFunction");function $A(t){return typeof t=="object"&&"length"in t}s($A,"isBuffer");function eF(t){return rl&&t instanceof rl}s(eF,"isURL");function tF(t){return t.replace(/[\]\\/()*+?.$]/g,"\\$&")}s(tF,"escapeRegex");qm.exports=Tx({http:qA,https:HA});qm.exports.wrap=Tx});var Cv=R((z6,uC)=>{"use strict";uC.exports=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}});var Da=R(Ds=>{"use strict";var Nv,wD=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];Ds.getSymbolSize=s(function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return e*4+17},"getSymbolSize");Ds.getSymbolTotalCodewords=s(function(e){return wD[e]},"getSymbolTotalCodewords");Ds.getBCHDigit=function(t){let e=0;for(;t!==0;)e++,t>>>=1;return e};Ds.setToSJISFunction=s(function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');Nv=e},"setToSJISFunction");Ds.isKanjiModeEnabled=function(){return typeof Nv<"u"};Ds.toSJIS=s(function(e){return Nv(e)},"toSJIS")});var Wd=R(zi=>{"use strict";zi.L={bit:1};zi.M={bit:0};zi.Q={bit:3};zi.H={bit:2};function ID(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return zi.L;case"m":case"medium":return zi.M;case"q":case"quartile":return zi.Q;case"h":case"high":return zi.H;default:throw new Error("Unknown EC Level: "+t)}}s(ID,"fromString");zi.isValid=s(function(e){return e&&typeof e.bit<"u"&&e.bit>=0&&e.bit<4},"isValid");zi.from=s(function(e,o){if(zi.isValid(e))return e;try{return ID(e)}catch{return o}},"from")});var mC=R((V6,fC)=>{"use strict";function dC(){this.buffer=[],this.length=0}s(dC,"BitBuffer");dC.prototype={get:s(function(t){let e=Math.floor(t/8);return(this.buffer[e]>>>7-t%8&1)===1},"get"),put:s(function(t,e){for(let o=0;o<e;o++)this.putBit((t>>>e-o-1&1)===1)},"put"),getLengthInBits:s(function(){return this.length},"getLengthInBits"),putBit:s(function(t){let e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++},"putBit")};fC.exports=dC});var vC=R((U6,hC)=>{"use strict";function ru(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}s(ru,"BitMatrix");ru.prototype.set=function(t,e,o,i){let r=t*this.size+e;this.data[r]=o,i&&(this.reservedBit[r]=!0)};ru.prototype.get=function(t,e){return this.data[t*this.size+e]};ru.prototype.xor=function(t,e,o){this.data[t*this.size+e]^=o};ru.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};hC.exports=ru});var gC=R(Jd=>{"use strict";var OD=Da().getSymbolSize;Jd.getRowColCoords=s(function(e){if(e===1)return[];let o=Math.floor(e/7)+2,i=OD(e),r=i===145?26:Math.ceil((i-13)/(2*o-2))*2,n=[i-7];for(let a=1;a<o-1;a++)n[a]=n[a-1]-r;return n.push(6),n.reverse()},"getRowColCoords");Jd.getPositions=s(function(e){let o=[],i=Jd.getRowColCoords(e),r=i.length;for(let n=0;n<r;n++)for(let a=0;a<r;a++)n===0&&a===0||n===0&&a===r-1||n===r-1&&a===0||o.push([i[n],i[a]]);return o},"getPositions")});var xC=R(bC=>{"use strict";var AD=Da().getSymbolSize,yC=7;bC.getPositions=s(function(e){let o=AD(e);return[[0,0],[o-yC,0],[0,o-yC]]},"getPositions")});var SC=R(Ae=>{"use strict";Ae.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var Es={N1:3,N2:3,N3:40,N4:10};Ae.isValid=s(function(e){return e!=null&&e!==""&&!isNaN(e)&&e>=0&&e<=7},"isValid");Ae.from=s(function(e){return Ae.isValid(e)?parseInt(e,10):void 0},"from");Ae.getPenaltyN1=s(function(e){let o=e.size,i=0,r=0,n=0,a=null,c=null;for(let p=0;p<o;p++){r=n=0,a=c=null;for(let u=0;u<o;u++){let l=e.get(p,u);l===a?r++:(r>=5&&(i+=Es.N1+(r-5)),a=l,r=1),l=e.get(u,p),l===c?n++:(n>=5&&(i+=Es.N1+(n-5)),c=l,n=1)}r>=5&&(i+=Es.N1+(r-5)),n>=5&&(i+=Es.N1+(n-5))}return i},"getPenaltyN1");Ae.getPenaltyN2=s(function(e){let o=e.size,i=0;for(let r=0;r<o-1;r++)for(let n=0;n<o-1;n++){let a=e.get(r,n)+e.get(r,n+1)+e.get(r+1,n)+e.get(r+1,n+1);(a===4||a===0)&&i++}return i*Es.N2},"getPenaltyN2");Ae.getPenaltyN3=s(function(e){let o=e.size,i=0,r=0,n=0;for(let a=0;a<o;a++){r=n=0;for(let c=0;c<o;c++)r=r<<1&2047|e.get(a,c),c>=10&&(r===1488||r===93)&&i++,n=n<<1&2047|e.get(c,a),c>=10&&(n===1488||n===93)&&i++}return i*Es.N3},"getPenaltyN3");Ae.getPenaltyN4=s(function(e){let o=0,i=e.data.length;for(let n=0;n<i;n++)o+=e.data[n];return Math.abs(Math.ceil(o*100/i/5)-10)*Es.N4},"getPenaltyN4");function FD(t,e,o){switch(t){case Ae.Patterns.PATTERN000:return(e+o)%2===0;case Ae.Patterns.PATTERN001:return e%2===0;case Ae.Patterns.PATTERN010:return o%3===0;case Ae.Patterns.PATTERN011:return(e+o)%3===0;case Ae.Patterns.PATTERN100:return(Math.floor(e/2)+Math.floor(o/3))%2===0;case Ae.Patterns.PATTERN101:return e*o%2+e*o%3===0;case Ae.Patterns.PATTERN110:return(e*o%2+e*o%3)%2===0;case Ae.Patterns.PATTERN111:return(e*o%3+(e+o)%2)%2===0;default:throw new Error("bad maskPattern:"+t)}}s(FD,"getMaskAt");Ae.applyMask=s(function(e,o){let i=o.size;for(let r=0;r<i;r++)for(let n=0;n<i;n++)o.isReserved(n,r)||o.xor(n,r,FD(e,n,r))},"applyMask");Ae.getBestMask=s(function(e,o){let i=Object.keys(Ae.Patterns).length,r=0,n=1/0;for(let a=0;a<i;a++){o(a),Ae.applyMask(a,e);let c=Ae.getPenaltyN1(e)+Ae.getPenaltyN2(e)+Ae.getPenaltyN3(e)+Ae.getPenaltyN4(e);Ae.applyMask(a,e),c<n&&(n=c,r=a)}return r},"getBestMask")});var wv=R(Rv=>{"use strict";var Ea=Wd(),Xd=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],Kd=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];Rv.getBlocksCount=s(function(e,o){switch(o){case Ea.L:return Xd[(e-1)*4+0];case Ea.M:return Xd[(e-1)*4+1];case Ea.Q:return Xd[(e-1)*4+2];case Ea.H:return Xd[(e-1)*4+3];default:return}},"getBlocksCount");Rv.getTotalCodewordsCount=s(function(e,o){switch(o){case Ea.L:return Kd[(e-1)*4+0];case Ea.M:return Kd[(e-1)*4+1];case Ea.Q:return Kd[(e-1)*4+2];case Ea.H:return Kd[(e-1)*4+3];default:return}},"getTotalCodewordsCount")});var CC=R(ef=>{"use strict";var au=new Uint8Array(512),$d=new Uint8Array(256);s((function(){let e=1;for(let o=0;o<255;o++)au[o]=e,$d[e]=o,e<<=1,e&256&&(e^=285);for(let o=255;o<512;o++)au[o]=au[o-255]}),"initTables")();ef.log=s(function(e){if(e<1)throw new Error("log("+e+")");return $d[e]},"log");ef.exp=s(function(e){return au[e]},"exp");ef.mul=s(function(e,o){return e===0||o===0?0:au[$d[e]+$d[o]]},"mul")});var NC=R(su=>{"use strict";var Iv=CC();su.mul=s(function(e,o){let i=new Uint8Array(e.length+o.length-1);for(let r=0;r<e.length;r++)for(let n=0;n<o.length;n++)i[r+n]^=Iv.mul(e[r],o[n]);return i},"mul");su.mod=s(function(e,o){let i=new Uint8Array(e);for(;i.length-o.length>=0;){let r=i[0];for(let a=0;a<o.length;a++)i[a]^=Iv.mul(o[a],r);let n=0;for(;n<i.length&&i[n]===0;)n++;i=i.slice(n)}return i},"mod");su.generateECPolynomial=s(function(e){let o=new Uint8Array([1]);for(let i=0;i<e;i++)o=su.mul(o,new Uint8Array([1,Iv.exp(i)]));return o},"generateECPolynomial")});var IC=R((t8,wC)=>{"use strict";var RC=NC();function Ov(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}s(Ov,"ReedSolomonEncoder");Ov.prototype.initialize=s(function(e){this.degree=e,this.genPoly=RC.generateECPolynomial(this.degree)},"initialize");Ov.prototype.encode=s(function(e){if(!this.genPoly)throw new Error("Encoder not initialized");let o=new Uint8Array(e.length+this.degree);o.set(e);let i=RC.mod(o,this.genPoly),r=this.degree-i.length;if(r>0){let n=new Uint8Array(this.degree);return n.set(i,r),n}return i},"encode");wC.exports=Ov});var Av=R(OC=>{"use strict";OC.isValid=s(function(e){return!isNaN(e)&&e>=1&&e<=40},"isValid")});var Fv=R(Vr=>{"use strict";var AC="[0-9]+",DD="[A-Z $%*+\\-./:]+",cu="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";cu=cu.replace(/u/g,"\\u");var ED="(?:(?![A-Z0-9 $%*+\\-./:]|"+cu+`)(?:.|[\r
14
+ ]))+`;Vr.KANJI=new RegExp(cu,"g");Vr.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");Vr.BYTE=new RegExp(ED,"g");Vr.NUMERIC=new RegExp(AC,"g");Vr.ALPHANUMERIC=new RegExp(DD,"g");var PD=new RegExp("^"+cu+"$"),TD=new RegExp("^"+AC+"$"),zD=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Vr.testKanji=s(function(e){return PD.test(e)},"testKanji");Vr.testNumeric=s(function(e){return TD.test(e)},"testNumeric");Vr.testAlphanumeric=s(function(e){return zD.test(e)},"testAlphanumeric")});var Pa=R(Ct=>{"use strict";var jD=Av(),Dv=Fv();Ct.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]};Ct.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]};Ct.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]};Ct.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]};Ct.MIXED={bit:-1};Ct.getCharCountIndicator=s(function(e,o){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!jD.isValid(o))throw new Error("Invalid version: "+o);return o>=1&&o<10?e.ccBits[0]:o<27?e.ccBits[1]:e.ccBits[2]},"getCharCountIndicator");Ct.getBestModeForData=s(function(e){return Dv.testNumeric(e)?Ct.NUMERIC:Dv.testAlphanumeric(e)?Ct.ALPHANUMERIC:Dv.testKanji(e)?Ct.KANJI:Ct.BYTE},"getBestModeForData");Ct.toString=s(function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},"toString");Ct.isValid=s(function(e){return e&&e.bit&&e.ccBits},"isValid");function BD(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return Ct.NUMERIC;case"alphanumeric":return Ct.ALPHANUMERIC;case"kanji":return Ct.KANJI;case"byte":return Ct.BYTE;default:throw new Error("Unknown mode: "+t)}}s(BD,"fromString");Ct.from=s(function(e,o){if(Ct.isValid(e))return e;try{return BD(e)}catch{return o}},"from")});var TC=R(Ps=>{"use strict";var tf=Da(),MD=wv(),FC=Wd(),Ta=Pa(),Ev=Av(),EC=7973,DC=tf.getBCHDigit(EC);function LD(t,e,o){for(let i=1;i<=40;i++)if(e<=Ps.getCapacity(i,o,t))return i}s(LD,"getBestVersionForDataLength");function PC(t,e){return Ta.getCharCountIndicator(t,e)+4}s(PC,"getReservedBitsCount");function VD(t,e){let o=0;return t.forEach(function(i){let r=PC(i.mode,e);o+=r+i.getBitsLength()}),o}s(VD,"getTotalBitsFromDataArray");function _D(t,e){for(let o=1;o<=40;o++)if(VD(t,o)<=Ps.getCapacity(o,e,Ta.MIXED))return o}s(_D,"getBestVersionForMixedData");Ps.from=s(function(e,o){return Ev.isValid(e)?parseInt(e,10):o},"from");Ps.getCapacity=s(function(e,o,i){if(!Ev.isValid(e))throw new Error("Invalid QR Code version");typeof i>"u"&&(i=Ta.BYTE);let r=tf.getSymbolTotalCodewords(e),n=MD.getTotalCodewordsCount(e,o),a=(r-n)*8;if(i===Ta.MIXED)return a;let c=a-PC(i,e);switch(i){case Ta.NUMERIC:return Math.floor(c/10*3);case Ta.ALPHANUMERIC:return Math.floor(c/11*2);case Ta.KANJI:return Math.floor(c/13);case Ta.BYTE:default:return Math.floor(c/8)}},"getCapacity");Ps.getBestVersionForData=s(function(e,o){let i,r=FC.from(o,FC.M);if(Array.isArray(e)){if(e.length>1)return _D(e,r);if(e.length===0)return 1;i=e[0]}else i=e;return LD(i.mode,i.getLength(),r)},"getBestVersionForData");Ps.getEncodedBits=s(function(e){if(!Ev.isValid(e)||e<7)throw new Error("Invalid QR Code version");let o=e<<12;for(;tf.getBCHDigit(o)-DC>=0;)o^=EC<<tf.getBCHDigit(o)-DC;return e<<12|o},"getEncodedBits")});var MC=R(BC=>{"use strict";var Pv=Da(),jC=1335,UD=21522,zC=Pv.getBCHDigit(jC);BC.getEncodedBits=s(function(e,o){let i=e.bit<<3|o,r=i<<10;for(;Pv.getBCHDigit(r)-zC>=0;)r^=jC<<Pv.getBCHDigit(r)-zC;return(i<<10|r)^UD},"getEncodedBits")});var VC=R((f8,LC)=>{"use strict";var qD=Pa();function mp(t){this.mode=qD.NUMERIC,this.data=t.toString()}s(mp,"NumericData");mp.getBitsLength=s(function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},"getBitsLength");mp.prototype.getLength=s(function(){return this.data.length},"getLength");mp.prototype.getBitsLength=s(function(){return mp.getBitsLength(this.data.length)},"getBitsLength");mp.prototype.write=s(function(e){let o,i,r;for(o=0;o+3<=this.data.length;o+=3)i=this.data.substr(o,3),r=parseInt(i,10),e.put(r,10);let n=this.data.length-o;n>0&&(i=this.data.substr(o),r=parseInt(i,10),e.put(r,n*3+1))},"write");LC.exports=mp});var UC=R((h8,_C)=>{"use strict";var HD=Pa(),Tv=["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 hp(t){this.mode=HD.ALPHANUMERIC,this.data=t}s(hp,"AlphanumericData");hp.getBitsLength=s(function(e){return 11*Math.floor(e/2)+6*(e%2)},"getBitsLength");hp.prototype.getLength=s(function(){return this.data.length},"getLength");hp.prototype.getBitsLength=s(function(){return hp.getBitsLength(this.data.length)},"getBitsLength");hp.prototype.write=s(function(e){let o;for(o=0;o+2<=this.data.length;o+=2){let i=Tv.indexOf(this.data[o])*45;i+=Tv.indexOf(this.data[o+1]),e.put(i,11)}this.data.length%2&&e.put(Tv.indexOf(this.data[o]),6)},"write");_C.exports=hp});var HC=R((g8,qC)=>{"use strict";var kD=Pa();function vp(t){this.mode=kD.BYTE,typeof t=="string"?this.data=new TextEncoder().encode(t):this.data=new Uint8Array(t)}s(vp,"ByteData");vp.getBitsLength=s(function(e){return e*8},"getBitsLength");vp.prototype.getLength=s(function(){return this.data.length},"getLength");vp.prototype.getBitsLength=s(function(){return vp.getBitsLength(this.data.length)},"getBitsLength");vp.prototype.write=function(t){for(let e=0,o=this.data.length;e<o;e++)t.put(this.data[e],8)};qC.exports=vp});var GC=R((b8,kC)=>{"use strict";var GD=Pa(),QD=Da();function gp(t){this.mode=GD.KANJI,this.data=t}s(gp,"KanjiData");gp.getBitsLength=s(function(e){return e*13},"getBitsLength");gp.prototype.getLength=s(function(){return this.data.length},"getLength");gp.prototype.getBitsLength=s(function(){return gp.getBitsLength(this.data.length)},"getBitsLength");gp.prototype.write=function(t){let e;for(e=0;e<this.data.length;e++){let o=QD.toSJIS(this.data[e]);if(o>=33088&&o<=40956)o-=33088;else if(o>=57408&&o<=60351)o-=49472;else throw new Error("Invalid SJIS character: "+this.data[e]+`
15
+ Make sure your charset is UTF-8`);o=(o>>>8&255)*192+(o&255),t.put(o,13)}};kC.exports=gp});var QC=R((S8,zv)=>{"use strict";var pu={single_source_shortest_paths:s(function(t,e,o){var i={},r={};r[e]=0;var n=pu.PriorityQueue.make();n.push(e,0);for(var a,c,p,u,l,d,m,y,x;!n.empty();){a=n.pop(),c=a.value,u=a.cost,l=t[c]||{};for(p in l)l.hasOwnProperty(p)&&(d=l[p],m=u+d,y=r[p],x=typeof r[p]>"u",(x||y>m)&&(r[p]=m,n.push(p,m),i[p]=c))}if(typeof o<"u"&&typeof r[o]>"u"){var N=["Could not find a path from ",e," to ",o,"."].join("");throw new Error(N)}return i},"single_source_shortest_paths"),extract_shortest_path_from_predecessor_list:s(function(t,e){for(var o=[],i=e,r;i;)o.push(i),r=t[i],i=t[i];return o.reverse(),o},"extract_shortest_path_from_predecessor_list"),find_path:s(function(t,e,o){var i=pu.single_source_shortest_paths(t,e,o);return pu.extract_shortest_path_from_predecessor_list(i,o)},"find_path"),PriorityQueue:{make:s(function(t){var e=pu.PriorityQueue,o={},i;t=t||{};for(i in e)e.hasOwnProperty(i)&&(o[i]=e[i]);return o.queue=[],o.sorter=t.sorter||e.default_sorter,o},"make"),default_sorter:s(function(t,e){return t.cost-e.cost},"default_sorter"),push:s(function(t,e){var o={value:t,cost:e};this.queue.push(o),this.queue.sort(this.sorter)},"push"),pop:s(function(){return this.queue.shift()},"pop"),empty:s(function(){return this.queue.length===0},"empty")}};typeof zv<"u"&&(zv.exports=pu)});var eN=R(yp=>{"use strict";var ue=Pa(),WC=VC(),JC=UC(),XC=HC(),KC=GC(),lu=Fv(),of=Da(),ZD=QC();function ZC(t){return unescape(encodeURIComponent(t)).length}s(ZC,"getStringByteLength");function uu(t,e,o){let i=[],r;for(;(r=t.exec(o))!==null;)i.push({data:r[0],index:r.index,mode:e,length:r[0].length});return i}s(uu,"getSegments");function $C(t){let e=uu(lu.NUMERIC,ue.NUMERIC,t),o=uu(lu.ALPHANUMERIC,ue.ALPHANUMERIC,t),i,r;return of.isKanjiModeEnabled()?(i=uu(lu.BYTE,ue.BYTE,t),r=uu(lu.KANJI,ue.KANJI,t)):(i=uu(lu.BYTE_KANJI,ue.BYTE,t),r=[]),e.concat(o,i,r).sort(function(a,c){return a.index-c.index}).map(function(a){return{data:a.data,mode:a.mode,length:a.length}})}s($C,"getSegmentsFromString");function jv(t,e){switch(e){case ue.NUMERIC:return WC.getBitsLength(t);case ue.ALPHANUMERIC:return JC.getBitsLength(t);case ue.KANJI:return KC.getBitsLength(t);case ue.BYTE:return XC.getBitsLength(t)}}s(jv,"getSegmentBitsLength");function YD(t){return t.reduce(function(e,o){let i=e.length-1>=0?e[e.length-1]:null;return i&&i.mode===o.mode?(e[e.length-1].data+=o.data,e):(e.push(o),e)},[])}s(YD,"mergeSegments");function WD(t){let e=[];for(let o=0;o<t.length;o++){let i=t[o];switch(i.mode){case ue.NUMERIC:e.push([i,{data:i.data,mode:ue.ALPHANUMERIC,length:i.length},{data:i.data,mode:ue.BYTE,length:i.length}]);break;case ue.ALPHANUMERIC:e.push([i,{data:i.data,mode:ue.BYTE,length:i.length}]);break;case ue.KANJI:e.push([i,{data:i.data,mode:ue.BYTE,length:ZC(i.data)}]);break;case ue.BYTE:e.push([{data:i.data,mode:ue.BYTE,length:ZC(i.data)}])}}return e}s(WD,"buildNodes");function JD(t,e){let o={},i={start:{}},r=["start"];for(let n=0;n<t.length;n++){let a=t[n],c=[];for(let p=0;p<a.length;p++){let u=a[p],l=""+n+p;c.push(l),o[l]={node:u,lastCount:0},i[l]={};for(let d=0;d<r.length;d++){let m=r[d];o[m]&&o[m].node.mode===u.mode?(i[m][l]=jv(o[m].lastCount+u.length,u.mode)-jv(o[m].lastCount,u.mode),o[m].lastCount+=u.length):(o[m]&&(o[m].lastCount=u.length),i[m][l]=jv(u.length,u.mode)+4+ue.getCharCountIndicator(u.mode,e))}}r=c}for(let n=0;n<r.length;n++)i[r[n]].end=0;return{map:i,table:o}}s(JD,"buildGraph");function YC(t,e){let o,i=ue.getBestModeForData(t);if(o=ue.from(e,i),o!==ue.BYTE&&o.bit<i.bit)throw new Error('"'+t+'" cannot be encoded with mode '+ue.toString(o)+`.
16
+ Suggested mode is: `+ue.toString(i));switch(o===ue.KANJI&&!of.isKanjiModeEnabled()&&(o=ue.BYTE),o){case ue.NUMERIC:return new WC(t);case ue.ALPHANUMERIC:return new JC(t);case ue.KANJI:return new KC(t);case ue.BYTE:return new XC(t)}}s(YC,"buildSingleSegment");yp.fromArray=s(function(e){return e.reduce(function(o,i){return typeof i=="string"?o.push(YC(i,null)):i.data&&o.push(YC(i.data,i.mode)),o},[])},"fromArray");yp.fromString=s(function(e,o){let i=$C(e,of.isKanjiModeEnabled()),r=WD(i),n=JD(r,o),a=ZD.find_path(n.map,"start","end"),c=[];for(let p=1;p<a.length-1;p++)c.push(n.table[a[p]].node);return yp.fromArray(YD(c))},"fromString");yp.rawSplit=s(function(e){return yp.fromArray($C(e,of.isKanjiModeEnabled()))},"rawSplit")});var Uv=R(tN=>{"use strict";var rf=Da(),Bv=Wd(),XD=mC(),KD=vC(),$D=gC(),eE=xC(),Vv=SC(),_v=wv(),tE=IC(),nf=TC(),oE=MC(),iE=Pa(),Mv=eN();function nE(t,e){let o=t.size,i=eE.getPositions(e);for(let r=0;r<i.length;r++){let n=i[r][0],a=i[r][1];for(let c=-1;c<=7;c++)if(!(n+c<=-1||o<=n+c))for(let p=-1;p<=7;p++)a+p<=-1||o<=a+p||(c>=0&&c<=6&&(p===0||p===6)||p>=0&&p<=6&&(c===0||c===6)||c>=2&&c<=4&&p>=2&&p<=4?t.set(n+c,a+p,!0,!0):t.set(n+c,a+p,!1,!0))}}s(nE,"setupFinderPattern");function rE(t){let e=t.size;for(let o=8;o<e-8;o++){let i=o%2===0;t.set(o,6,i,!0),t.set(6,o,i,!0)}}s(rE,"setupTimingPattern");function aE(t,e){let o=$D.getPositions(e);for(let i=0;i<o.length;i++){let r=o[i][0],n=o[i][1];for(let a=-2;a<=2;a++)for(let c=-2;c<=2;c++)a===-2||a===2||c===-2||c===2||a===0&&c===0?t.set(r+a,n+c,!0,!0):t.set(r+a,n+c,!1,!0)}}s(aE,"setupAlignmentPattern");function sE(t,e){let o=t.size,i=nf.getEncodedBits(e),r,n,a;for(let c=0;c<18;c++)r=Math.floor(c/3),n=c%3+o-8-3,a=(i>>c&1)===1,t.set(r,n,a,!0),t.set(n,r,a,!0)}s(sE,"setupVersionInfo");function Lv(t,e,o){let i=t.size,r=oE.getEncodedBits(e,o),n,a;for(n=0;n<15;n++)a=(r>>n&1)===1,n<6?t.set(n,8,a,!0):n<8?t.set(n+1,8,a,!0):t.set(i-15+n,8,a,!0),n<8?t.set(8,i-n-1,a,!0):n<9?t.set(8,15-n-1+1,a,!0):t.set(8,15-n-1,a,!0);t.set(i-8,8,1,!0)}s(Lv,"setupFormatInfo");function cE(t,e){let o=t.size,i=-1,r=o-1,n=7,a=0;for(let c=o-1;c>0;c-=2)for(c===6&&c--;;){for(let p=0;p<2;p++)if(!t.isReserved(r,c-p)){let u=!1;a<e.length&&(u=(e[a]>>>n&1)===1),t.set(r,c-p,u),n--,n===-1&&(a++,n=7)}if(r+=i,r<0||o<=r){r-=i,i=-i;break}}}s(cE,"setupData");function pE(t,e,o){let i=new XD;o.forEach(function(p){i.put(p.mode.bit,4),i.put(p.getLength(),iE.getCharCountIndicator(p.mode,t)),p.write(i)});let r=rf.getSymbolTotalCodewords(t),n=_v.getTotalCodewordsCount(t,e),a=(r-n)*8;for(i.getLengthInBits()+4<=a&&i.put(0,4);i.getLengthInBits()%8!==0;)i.putBit(0);let c=(a-i.getLengthInBits())/8;for(let p=0;p<c;p++)i.put(p%2?17:236,8);return lE(i,t,e)}s(pE,"createData");function lE(t,e,o){let i=rf.getSymbolTotalCodewords(e),r=_v.getTotalCodewordsCount(e,o),n=i-r,a=_v.getBlocksCount(e,o),c=i%a,p=a-c,u=Math.floor(i/a),l=Math.floor(n/a),d=l+1,m=u-l,y=new tE(m),x=0,N=new Array(a),C=new Array(a),b=0,I=new Uint8Array(t.buffer);for(let ot=0;ot<a;ot++){let Yo=ot<p?l:d;N[ot]=I.slice(x,x+Yo),C[ot]=y.encode(N[ot]),x+=Yo,b=Math.max(b,Yo)}let A=new Uint8Array(i),D=0,U,H;for(U=0;U<b;U++)for(H=0;H<a;H++)U<N[H].length&&(A[D++]=N[H][U]);for(U=0;U<m;U++)for(H=0;H<a;H++)A[D++]=C[H][U];return A}s(lE,"createCodewords");function uE(t,e,o,i){let r;if(Array.isArray(t))r=Mv.fromArray(t);else if(typeof t=="string"){let u=e;if(!u){let l=Mv.rawSplit(t);u=nf.getBestVersionForData(l,o)}r=Mv.fromString(t,u||40)}else throw new Error("Invalid data");let n=nf.getBestVersionForData(r,o);if(!n)throw new Error("The amount of data is too big to be stored in a QR Code");if(!e)e=n;else if(e<n)throw new Error(`
17
17
  The chosen QR Code version cannot contain this amount of data.
18
18
  Minimum version required to store current data is: `+n+`.
19
- `);let a=sE(e,o,r),c=nf.getSymbolSize(e),p=new WD(c);return oE(p,e),iE(p),nE(p,e),Mv(p,o,0),e>=7&&rE(p,e),aE(p,a),isNaN(i)&&(i=Lv.getBestMask(p,Mv.bind(null,p,o))),Lv.applyMask(i,p),Mv(p,o,i),{modules:p,version:e,errorCorrectionLevel:o,maskPattern:i,segments:r}}s(pE,"createSymbol");$C.create=s(function(e,o){if(typeof e>"u"||e==="")throw new Error("No input text");let i=jv.M,r,n;return typeof o<"u"&&(i=jv.from(o.errorCorrectionLevel,jv.M),r=of.from(o.version),n=Lv.from(o.maskPattern),o.toSJISFunc&&nf.setToSJISFunction(o.toSJISFunc)),pE(e,r,i,n)},"create")});var Uv=R((w8,tN)=>{"use strict";var lE=require("util"),eN=require("stream"),yn=tN.exports=function(){eN.call(this),this._buffers=[],this._buffered=0,this._reads=[],this._paused=!1,this._encoding="utf8",this.writable=!0};lE.inherits(yn,eN);yn.prototype.read=function(t,e){this._reads.push({length:Math.abs(t),allowLess:t<0,func:e}),process.nextTick((function(){this._process(),this._paused&&this._reads&&this._reads.length>0&&(this._paused=!1,this.emit("drain"))}).bind(this))};yn.prototype.write=function(t,e){if(!this.writable)return this.emit("error",new Error("Stream not writable")),!1;let o;return Buffer.isBuffer(t)?o=t:o=Buffer.from(t,e||this._encoding),this._buffers.push(o),this._buffered+=o.length,this._process(),this._reads&&this._reads.length===0&&(this._paused=!0),this.writable&&!this._paused};yn.prototype.end=function(t,e){t&&this.write(t,e),this.writable=!1,this._buffers&&(this._buffers.length===0?this._end():(this._buffers.push(null),this._process()))};yn.prototype.destroySoon=yn.prototype.end;yn.prototype._end=function(){this._reads.length>0&&this.emit("error",new Error("Unexpected end of input")),this.destroy()};yn.prototype.destroy=function(){this._buffers&&(this.writable=!1,this._reads=null,this._buffers=null,this.emit("close"))};yn.prototype._processReadAllowingLess=function(t){this._reads.shift();let e=this._buffers[0];e.length>t.length?(this._buffered-=t.length,this._buffers[0]=e.slice(t.length),t.func.call(this,e.slice(0,t.length))):(this._buffered-=e.length,this._buffers.shift(),t.func.call(this,e))};yn.prototype._processRead=function(t){this._reads.shift();let e=0,o=0,i=Buffer.alloc(t.length);for(;e<t.length;){let r=this._buffers[o++],n=Math.min(r.length,t.length-e);r.copy(i,e,0,n),e+=n,n!==r.length&&(this._buffers[--o]=r.slice(n))}o>0&&this._buffers.splice(0,o),this._buffered-=t.length,t.func.call(this,i)};yn.prototype._process=function(){try{for(;this._buffered>0&&this._reads&&this._reads.length>0;){let t=this._reads[0];if(t.allowLess)this._processReadAllowingLess(t);else if(this._buffered>=t.length)this._processRead(t);else break}this._buffers&&!this.writable&&this._end()}catch(t){this.emit("error",t)}}});var Hv=R(qv=>{"use strict";var za=[{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]}];qv.getImagePasses=function(t,e){let o=[],i=t%8,r=e%8,n=(t-i)/8,a=(e-r)/8;for(let c=0;c<za.length;c++){let p=za[c],u=n*p.x.length,l=a*p.y.length;for(let d=0;d<p.x.length&&p.x[d]<i;d++)u++;for(let d=0;d<p.y.length&&p.y[d]<r;d++)l++;u>0&&l>0&&o.push({width:u,height:l,index:c})}return o};qv.getInterlaceIterator=function(t){return function(e,o,i){let r=e%za[i].x.length,n=(e-r)/za[i].x.length*8+za[i].x[r],a=o%za[i].y.length,c=(o-a)/za[i].y.length*8+za[i].y[a];return n*4+c*t*4}}});var kv=R((O8,oN)=>{"use strict";oN.exports=s(function(e,o,i){let r=e+o-i,n=Math.abs(r-e),a=Math.abs(r-o),c=Math.abs(r-i);return n<=a&&n<=c?e:a<=c?o:i},"paethPredictor")});var Gv=R((F8,nN)=>{"use strict";var uE=Hv(),dE=kv();function iN(t,e,o){let i=t*e;return o!==8&&(i=Math.ceil(i/(8/o))),i}s(iN,"getByteWidth");var bp=nN.exports=function(t,e){let o=t.width,i=t.height,r=t.interlace,n=t.bpp,a=t.depth;if(this.read=e.read,this.write=e.write,this.complete=e.complete,this._imageIndex=0,this._images=[],r){let c=uE.getImagePasses(o,i);for(let p=0;p<c.length;p++)this._images.push({byteWidth:iN(c[p].width,n,a),height:c[p].height,lineIndex:0})}else this._images.push({byteWidth:iN(o,n,a),height:i,lineIndex:0});a===8?this._xComparison=n:a===16?this._xComparison=n*2:this._xComparison=1};bp.prototype.start=function(){this.read(this._images[this._imageIndex].byteWidth+1,this._reverseFilterLine.bind(this))};bp.prototype._unFilterType1=function(t,e,o){let i=this._xComparison,r=i-1;for(let n=0;n<o;n++){let a=t[1+n],c=n>r?e[n-i]:0;e[n]=a+c}};bp.prototype._unFilterType2=function(t,e,o){let i=this._lastLine;for(let r=0;r<o;r++){let n=t[1+r],a=i?i[r]:0;e[r]=n+a}};bp.prototype._unFilterType3=function(t,e,o){let i=this._xComparison,r=i-1,n=this._lastLine;for(let a=0;a<o;a++){let c=t[1+a],p=n?n[a]:0,u=a>r?e[a-i]:0,l=Math.floor((u+p)/2);e[a]=c+l}};bp.prototype._unFilterType4=function(t,e,o){let i=this._xComparison,r=i-1,n=this._lastLine;for(let a=0;a<o;a++){let c=t[1+a],p=n?n[a]:0,u=a>r?e[a-i]:0,l=a>r&&n?n[a-i]:0,d=dE(u,p,l);e[a]=c+d}};bp.prototype._reverseFilterLine=function(t){let e=t[0],o,i=this._images[this._imageIndex],r=i.byteWidth;if(e===0)o=t.slice(1,r+1);else switch(o=Buffer.alloc(r),e){case 1:this._unFilterType1(t,o,r);break;case 2:this._unFilterType2(t,o,r);break;case 3:this._unFilterType3(t,o,r);break;case 4:this._unFilterType4(t,o,r);break;default:throw new Error("Unrecognised filter type - "+e)}this.write(o),i.lineIndex++,i.lineIndex>=i.height?(this._lastLine=null,this._imageIndex++,i=this._images[this._imageIndex]):this._lastLine=o,i?this.read(i.byteWidth+1,this._reverseFilterLine.bind(this)):(this._lastLine=null,this.complete())}});var sN=R((E8,aN)=>{"use strict";var fE=require("util"),rN=Uv(),mE=Gv(),hE=aN.exports=function(t){rN.call(this);let e=[],o=this;this._filter=new mE(t,{read:this.read.bind(this),write:s(function(i){e.push(i)},"write"),complete:s(function(){o.emit("complete",Buffer.concat(e))},"complete")}),this._filter.start()};fE.inherits(hE,rN)});var xp=R((T8,cN)=>{"use strict";cN.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}});var Yv=R((z8,pN)=>{"use strict";var Qv=[];(function(){for(let t=0;t<256;t++){let e=t;for(let o=0;o<8;o++)e&1?e=3988292384^e>>>1:e=e>>>1;Qv[t]=e}})();var Zv=pN.exports=function(){this._crc=-1};Zv.prototype.write=function(t){for(let e=0;e<t.length;e++)this._crc=Qv[(this._crc^t[e])&255]^this._crc>>>8;return!0};Zv.prototype.crc32=function(){return this._crc^-1};Zv.crc32=function(t){let e=-1;for(let o=0;o<t.length;o++)e=Qv[(e^t[o])&255]^e>>>8;return e^-1}});var Jv=R((j8,lN)=>{"use strict";var At=xp(),vE=Yv(),kt=lN.exports=function(t,e){this._options=t,t.checkCRC=t.checkCRC!==!1,this._hasIHDR=!1,this._hasIEND=!1,this._emittedHeadersFinished=!1,this._palette=[],this._colorType=0,this._chunks={},this._chunks[At.TYPE_IHDR]=this._handleIHDR.bind(this),this._chunks[At.TYPE_IEND]=this._handleIEND.bind(this),this._chunks[At.TYPE_IDAT]=this._handleIDAT.bind(this),this._chunks[At.TYPE_PLTE]=this._handlePLTE.bind(this),this._chunks[At.TYPE_tRNS]=this._handleTRNS.bind(this),this._chunks[At.TYPE_gAMA]=this._handleGAMA.bind(this),this.read=e.read,this.error=e.error,this.metadata=e.metadata,this.gamma=e.gamma,this.transColor=e.transColor,this.palette=e.palette,this.parsed=e.parsed,this.inflateData=e.inflateData,this.finished=e.finished,this.simpleTransparency=e.simpleTransparency,this.headersFinished=e.headersFinished||function(){}};kt.prototype.start=function(){this.read(At.PNG_SIGNATURE.length,this._parseSignature.bind(this))};kt.prototype._parseSignature=function(t){let e=At.PNG_SIGNATURE;for(let o=0;o<e.length;o++)if(t[o]!==e[o]){this.error(new Error("Invalid file signature"));return}this.read(8,this._parseChunkBegin.bind(this))};kt.prototype._parseChunkBegin=function(t){let e=t.readUInt32BE(0),o=t.readUInt32BE(4),i="";for(let n=4;n<8;n++)i+=String.fromCharCode(t[n]);let r=!!(t[4]&32);if(!this._hasIHDR&&o!==At.TYPE_IHDR){this.error(new Error("Expected IHDR on beggining"));return}if(this._crc=new vE,this._crc.write(Buffer.from(i)),this._chunks[o])return this._chunks[o](e);if(!r){this.error(new Error("Unsupported critical chunk type "+i));return}this.read(e+4,this._skipChunk.bind(this))};kt.prototype._skipChunk=function(){this.read(8,this._parseChunkBegin.bind(this))};kt.prototype._handleChunkEnd=function(){this.read(4,this._parseChunkEnd.bind(this))};kt.prototype._parseChunkEnd=function(t){let e=t.readInt32BE(0),o=this._crc.crc32();if(this._options.checkCRC&&o!==e){this.error(new Error("Crc error - "+e+" - "+o));return}this._hasIEND||this.read(8,this._parseChunkBegin.bind(this))};kt.prototype._handleIHDR=function(t){this.read(t,this._parseIHDR.bind(this))};kt.prototype._parseIHDR=function(t){this._crc.write(t);let e=t.readUInt32BE(0),o=t.readUInt32BE(4),i=t[8],r=t[9],n=t[10],a=t[11],c=t[12];if(i!==8&&i!==4&&i!==2&&i!==1&&i!==16){this.error(new Error("Unsupported bit depth "+i));return}if(!(r in At.COLORTYPE_TO_BPP_MAP)){this.error(new Error("Unsupported color type"));return}if(n!==0){this.error(new Error("Unsupported compression method"));return}if(a!==0){this.error(new Error("Unsupported filter method"));return}if(c!==0&&c!==1){this.error(new Error("Unsupported interlace method"));return}this._colorType=r;let p=At.COLORTYPE_TO_BPP_MAP[this._colorType];this._hasIHDR=!0,this.metadata({width:e,height:o,depth:i,interlace:!!c,palette:!!(r&At.COLORTYPE_PALETTE),color:!!(r&At.COLORTYPE_COLOR),alpha:!!(r&At.COLORTYPE_ALPHA),bpp:p,colorType:r}),this._handleChunkEnd()};kt.prototype._handlePLTE=function(t){this.read(t,this._parsePLTE.bind(this))};kt.prototype._parsePLTE=function(t){this._crc.write(t);let e=Math.floor(t.length/3);for(let o=0;o<e;o++)this._palette.push([t[o*3],t[o*3+1],t[o*3+2],255]);this.palette(this._palette),this._handleChunkEnd()};kt.prototype._handleTRNS=function(t){this.simpleTransparency(),this.read(t,this._parseTRNS.bind(this))};kt.prototype._parseTRNS=function(t){if(this._crc.write(t),this._colorType===At.COLORTYPE_PALETTE_COLOR){if(this._palette.length===0){this.error(new Error("Transparency chunk must be after palette"));return}if(t.length>this._palette.length){this.error(new Error("More transparent colors than palette size"));return}for(let e=0;e<t.length;e++)this._palette[e][3]=t[e];this.palette(this._palette)}this._colorType===At.COLORTYPE_GRAYSCALE&&this.transColor([t.readUInt16BE(0)]),this._colorType===At.COLORTYPE_COLOR&&this.transColor([t.readUInt16BE(0),t.readUInt16BE(2),t.readUInt16BE(4)]),this._handleChunkEnd()};kt.prototype._handleGAMA=function(t){this.read(t,this._parseGAMA.bind(this))};kt.prototype._parseGAMA=function(t){this._crc.write(t),this.gamma(t.readUInt32BE(0)/At.GAMMA_DIVISION),this._handleChunkEnd()};kt.prototype._handleIDAT=function(t){this._emittedHeadersFinished||(this._emittedHeadersFinished=!0,this.headersFinished()),this.read(-t,this._parseIDAT.bind(this,t))};kt.prototype._parseIDAT=function(t,e){if(this._crc.write(e),this._colorType===At.COLORTYPE_PALETTE_COLOR&&this._palette.length===0)throw new Error("Expected palette not found");this.inflateData(e);let o=t-e.length;o>0?this._handleIDAT(o):this._handleChunkEnd()};kt.prototype._handleIEND=function(t){this.read(t,this._parseIEND.bind(this))};kt.prototype._parseIEND=function(t){this._crc.write(t),this._hasIEND=!0,this._handleChunkEnd(),this.finished&&this.finished()}});var Wv=R(dN=>{"use strict";var uN=Hv(),gE=[function(){},function(t,e,o,i){if(i===e.length)throw new Error("Ran out of data");let r=e[i];t[o]=r,t[o+1]=r,t[o+2]=r,t[o+3]=255},function(t,e,o,i){if(i+1>=e.length)throw new Error("Ran out of data");let r=e[i];t[o]=r,t[o+1]=r,t[o+2]=r,t[o+3]=e[i+1]},function(t,e,o,i){if(i+2>=e.length)throw new Error("Ran out of data");t[o]=e[i],t[o+1]=e[i+1],t[o+2]=e[i+2],t[o+3]=255},function(t,e,o,i){if(i+3>=e.length)throw new Error("Ran out of data");t[o]=e[i],t[o+1]=e[i+1],t[o+2]=e[i+2],t[o+3]=e[i+3]}],yE=[function(){},function(t,e,o,i){let r=e[0];t[o]=r,t[o+1]=r,t[o+2]=r,t[o+3]=i},function(t,e,o){let i=e[0];t[o]=i,t[o+1]=i,t[o+2]=i,t[o+3]=e[1]},function(t,e,o,i){t[o]=e[0],t[o+1]=e[1],t[o+2]=e[2],t[o+3]=i},function(t,e,o){t[o]=e[0],t[o+1]=e[1],t[o+2]=e[2],t[o+3]=e[3]}];function bE(t,e){let o=[],i=0;function r(){if(i===t.length)throw new Error("Ran out of data");let n=t[i];i++;let a,c,p,u,l,d,m,y;switch(e){default:throw new Error("unrecognised depth");case 16:m=t[i],i++,o.push((n<<8)+m);break;case 4:m=n&15,y=n>>4,o.push(y,m);break;case 2:l=n&3,d=n>>2&3,m=n>>4&3,y=n>>6&3,o.push(y,m,d,l);break;case 1:a=n&1,c=n>>1&1,p=n>>2&1,u=n>>3&1,l=n>>4&1,d=n>>5&1,m=n>>6&1,y=n>>7&1,o.push(y,m,d,l,u,p,c,a);break}}return s(r,"split"),{get:s(function(n){for(;o.length<n;)r();let a=o.slice(0,n);return o=o.slice(n),a},"get"),resetAfterLine:s(function(){o.length=0},"resetAfterLine"),end:s(function(){if(i!==t.length)throw new Error("extra data found")},"end")}}s(bE,"bitRetriever");function xE(t,e,o,i,r,n){let a=t.width,c=t.height,p=t.index;for(let u=0;u<c;u++)for(let l=0;l<a;l++){let d=o(l,u,p);gE[i](e,r,d,n),n+=i}return n}s(xE,"mapImage8Bit");function SE(t,e,o,i,r,n){let a=t.width,c=t.height,p=t.index;for(let u=0;u<c;u++){for(let l=0;l<a;l++){let d=r.get(i),m=o(l,u,p);yE[i](e,d,m,n)}r.resetAfterLine()}}s(SE,"mapImageCustomBit");dN.dataToBitMap=function(t,e){let o=e.width,i=e.height,r=e.depth,n=e.bpp,a=e.interlace,c;r!==8&&(c=bE(t,r));let p;r<=8?p=Buffer.alloc(o*i*4):p=new Uint16Array(o*i*4);let u=Math.pow(2,r)-1,l=0,d,m;if(a)d=uN.getImagePasses(o,i),m=uN.getInterlaceIterator(o,i);else{let y=0;m=s(function(){let x=y;return y+=4,x},"getPxPos"),d=[{width:o,height:i}]}for(let y=0;y<d.length;y++)r===8?l=xE(d[y],p,m,n,t,l):SE(d[y],p,m,n,c,u);if(r===8){if(l!==t.length)throw new Error("extra data found")}else c.end();return p}});var Xv=R((L8,fN)=>{"use strict";function CE(t,e,o,i,r){let n=0;for(let a=0;a<i;a++)for(let c=0;c<o;c++){let p=r[t[n]];if(!p)throw new Error("index "+t[n]+" not in palette");for(let u=0;u<4;u++)e[n+u]=p[u];n+=4}}s(CE,"dePalette");function NE(t,e,o,i,r){let n=0;for(let a=0;a<i;a++)for(let c=0;c<o;c++){let p=!1;if(r.length===1?r[0]===t[n]&&(p=!0):r[0]===t[n]&&r[1]===t[n+1]&&r[2]===t[n+2]&&(p=!0),p)for(let u=0;u<4;u++)e[n+u]=0;n+=4}}s(NE,"replaceTransparentColor");function RE(t,e,o,i,r){let n=255,a=Math.pow(2,r)-1,c=0;for(let p=0;p<i;p++)for(let u=0;u<o;u++){for(let l=0;l<4;l++)e[c+l]=Math.floor(t[c+l]*n/a+.5);c+=4}}s(RE,"scaleDepth");fN.exports=function(t,e){let o=e.depth,i=e.width,r=e.height,n=e.colorType,a=e.transColor,c=e.palette,p=t;return n===3?CE(t,p,i,r,c):(a&&NE(t,p,i,r,a),o!==8&&(o===16&&(p=Buffer.alloc(i*r*4)),RE(t,p,i,r,o))),p}});var vN=R((_8,hN)=>{"use strict";var wE=require("util"),Kv=require("zlib"),mN=Uv(),IE=sN(),OE=Jv(),AE=Wv(),FE=Xv(),Wn=hN.exports=function(t){mN.call(this),this._parser=new OE(t,{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=t,this.writable=!0,this._parser.start()};wE.inherits(Wn,mN);Wn.prototype._handleError=function(t){this.emit("error",t),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};Wn.prototype._inflateData=function(t){if(!this._inflate)if(this._bitmapInfo.interlace)this._inflate=Kv.createInflate(),this._inflate.on("error",this.emit.bind(this,"error")),this._filter.on("complete",this._complete.bind(this)),this._inflate.pipe(this._filter);else{let o=((this._bitmapInfo.width*this._bitmapInfo.bpp*this._bitmapInfo.depth+7>>3)+1)*this._bitmapInfo.height,i=Math.max(o,Kv.Z_MIN_CHUNK);this._inflate=Kv.createInflate({chunkSize:i});let r=o,n=this.emit.bind(this,"error");this._inflate.on("error",function(c){r&&n(c)}),this._filter.on("complete",this._complete.bind(this));let a=this._filter.write.bind(this._filter);this._inflate.on("data",function(c){r&&(c.length>r&&(c=c.slice(0,r)),r-=c.length,a(c))}),this._inflate.on("end",this._filter.end.bind(this._filter))}this._inflate.write(t)};Wn.prototype._handleMetaData=function(t){this._metaData=t,this._bitmapInfo=Object.create(t),this._filter=new IE(this._bitmapInfo)};Wn.prototype._handleTransColor=function(t){this._bitmapInfo.transColor=t};Wn.prototype._handlePalette=function(t){this._bitmapInfo.palette=t};Wn.prototype._simpleTransparency=function(){this._metaData.alpha=!0};Wn.prototype._headersFinished=function(){this.emit("metadata",this._metaData)};Wn.prototype._finished=function(){this.errord||(this._inflate?this._inflate.end():this.emit("error","No Inflate block"))};Wn.prototype._complete=function(t){if(this.errord)return;let e;try{let o=AE.dataToBitMap(t,this._bitmapInfo);e=FE(o,this._bitmapInfo),o=null}catch(o){this._handleError(o);return}this.emit("parsed",e)}});var yN=R((U8,gN)=>{"use strict";var ji=xp();gN.exports=function(t,e,o,i){let r=[ji.COLORTYPE_COLOR_ALPHA,ji.COLORTYPE_ALPHA].indexOf(i.colorType)!==-1;if(i.colorType===i.inputColorType){let x=(function(){let N=new ArrayBuffer(2);return new DataView(N).setInt16(0,256,!0),new Int16Array(N)[0]!==256})();if(i.bitDepth===8||i.bitDepth===16&&x)return t}let n=i.bitDepth!==16?t:new Uint16Array(t.buffer),a=255,c=ji.COLORTYPE_TO_BPP_MAP[i.inputColorType];c===4&&!i.inputHasAlpha&&(c=3);let p=ji.COLORTYPE_TO_BPP_MAP[i.colorType];i.bitDepth===16&&(a=65535,p*=2);let u=Buffer.alloc(e*o*p),l=0,d=0,m=i.bgColor||{};m.red===void 0&&(m.red=a),m.green===void 0&&(m.green=a),m.blue===void 0&&(m.blue=a);function y(){let x,N,C,b=a;switch(i.inputColorType){case ji.COLORTYPE_COLOR_ALPHA:b=n[l+3],x=n[l],N=n[l+1],C=n[l+2];break;case ji.COLORTYPE_COLOR:x=n[l],N=n[l+1],C=n[l+2];break;case ji.COLORTYPE_ALPHA:b=n[l+1],x=n[l],N=x,C=x;break;case ji.COLORTYPE_GRAYSCALE:x=n[l],N=x,C=x;break;default:throw new Error("input color type:"+i.inputColorType+" is not supported at present")}return i.inputHasAlpha&&(r||(b/=a,x=Math.min(Math.max(Math.round((1-b)*m.red+b*x),0),a),N=Math.min(Math.max(Math.round((1-b)*m.green+b*N),0),a),C=Math.min(Math.max(Math.round((1-b)*m.blue+b*C),0),a))),{red:x,green:N,blue:C,alpha:b}}s(y,"getRGBA");for(let x=0;x<o;x++)for(let N=0;N<e;N++){let C=y(n,l);switch(i.colorType){case ji.COLORTYPE_COLOR_ALPHA:case ji.COLORTYPE_COLOR:i.bitDepth===8?(u[d]=C.red,u[d+1]=C.green,u[d+2]=C.blue,r&&(u[d+3]=C.alpha)):(u.writeUInt16BE(C.red,d),u.writeUInt16BE(C.green,d+2),u.writeUInt16BE(C.blue,d+4),r&&u.writeUInt16BE(C.alpha,d+6));break;case ji.COLORTYPE_ALPHA:case ji.COLORTYPE_GRAYSCALE:{let b=(C.red+C.green+C.blue)/3;i.bitDepth===8?(u[d]=b,r&&(u[d+1]=C.alpha)):(u.writeUInt16BE(b,d),r&&u.writeUInt16BE(C.alpha,d+2));break}default:throw new Error("unrecognised color Type "+i.colorType)}l+=c,d+=p}return u}});var SN=R((H8,xN)=>{"use strict";var bN=kv();function DE(t,e,o,i,r){for(let n=0;n<o;n++)i[r+n]=t[e+n]}s(DE,"filterNone");function EE(t,e,o){let i=0,r=e+o;for(let n=e;n<r;n++)i+=Math.abs(t[n]);return i}s(EE,"filterSumNone");function PE(t,e,o,i,r,n){for(let a=0;a<o;a++){let c=a>=n?t[e+a-n]:0,p=t[e+a]-c;i[r+a]=p}}s(PE,"filterSub");function TE(t,e,o,i){let r=0;for(let n=0;n<o;n++){let a=n>=i?t[e+n-i]:0,c=t[e+n]-a;r+=Math.abs(c)}return r}s(TE,"filterSumSub");function zE(t,e,o,i,r){for(let n=0;n<o;n++){let a=e>0?t[e+n-o]:0,c=t[e+n]-a;i[r+n]=c}}s(zE,"filterUp");function jE(t,e,o){let i=0,r=e+o;for(let n=e;n<r;n++){let a=e>0?t[n-o]:0,c=t[n]-a;i+=Math.abs(c)}return i}s(jE,"filterSumUp");function BE(t,e,o,i,r,n){for(let a=0;a<o;a++){let c=a>=n?t[e+a-n]:0,p=e>0?t[e+a-o]:0,u=t[e+a]-(c+p>>1);i[r+a]=u}}s(BE,"filterAvg");function ME(t,e,o,i){let r=0;for(let n=0;n<o;n++){let a=n>=i?t[e+n-i]:0,c=e>0?t[e+n-o]:0,p=t[e+n]-(a+c>>1);r+=Math.abs(p)}return r}s(ME,"filterSumAvg");function LE(t,e,o,i,r,n){for(let a=0;a<o;a++){let c=a>=n?t[e+a-n]:0,p=e>0?t[e+a-o]:0,u=e>0&&a>=n?t[e+a-(o+n)]:0,l=t[e+a]-bN(c,p,u);i[r+a]=l}}s(LE,"filterPaeth");function VE(t,e,o,i){let r=0;for(let n=0;n<o;n++){let a=n>=i?t[e+n-i]:0,c=e>0?t[e+n-o]:0,p=e>0&&n>=i?t[e+n-(o+i)]:0,u=t[e+n]-bN(a,c,p);r+=Math.abs(u)}return r}s(VE,"filterSumPaeth");var _E={0:DE,1:PE,2:zE,3:BE,4:LE},UE={0:EE,1:TE,2:jE,3:ME,4:VE};xN.exports=function(t,e,o,i,r){let n;if(!("filterType"in i)||i.filterType===-1)n=[0,1,2,3,4];else if(typeof i.filterType=="number")n=[i.filterType];else throw new Error("unrecognised filter types");i.bitDepth===16&&(r*=2);let a=e*r,c=0,p=0,u=Buffer.alloc((a+1)*o),l=n[0];for(let d=0;d<o;d++){if(n.length>1){let m=1/0;for(let y=0;y<n.length;y++){let x=UE[n[y]](t,p,a,r);x<m&&(l=n[y],m=x)}}u[c]=l,c++,_E[l](t,p,a,u,c,r),c+=a,p+=a}return u}});var $v=R((G8,CN)=>{"use strict";var wo=xp(),qE=Yv(),HE=yN(),kE=SN(),GE=require("zlib"),ja=CN.exports=function(t){if(this._options=t,t.deflateChunkSize=t.deflateChunkSize||32*1024,t.deflateLevel=t.deflateLevel!=null?t.deflateLevel:9,t.deflateStrategy=t.deflateStrategy!=null?t.deflateStrategy:3,t.inputHasAlpha=t.inputHasAlpha!=null?t.inputHasAlpha:!0,t.deflateFactory=t.deflateFactory||GE.createDeflate,t.bitDepth=t.bitDepth||8,t.colorType=typeof t.colorType=="number"?t.colorType:wo.COLORTYPE_COLOR_ALPHA,t.inputColorType=typeof t.inputColorType=="number"?t.inputColorType:wo.COLORTYPE_COLOR_ALPHA,[wo.COLORTYPE_GRAYSCALE,wo.COLORTYPE_COLOR,wo.COLORTYPE_COLOR_ALPHA,wo.COLORTYPE_ALPHA].indexOf(t.colorType)===-1)throw new Error("option color type:"+t.colorType+" is not supported at present");if([wo.COLORTYPE_GRAYSCALE,wo.COLORTYPE_COLOR,wo.COLORTYPE_COLOR_ALPHA,wo.COLORTYPE_ALPHA].indexOf(t.inputColorType)===-1)throw new Error("option input color type:"+t.inputColorType+" is not supported at present");if(t.bitDepth!==8&&t.bitDepth!==16)throw new Error("option bit depth:"+t.bitDepth+" is not supported at present")};ja.prototype.getDeflateOptions=function(){return{chunkSize:this._options.deflateChunkSize,level:this._options.deflateLevel,strategy:this._options.deflateStrategy}};ja.prototype.createDeflate=function(){return this._options.deflateFactory(this.getDeflateOptions())};ja.prototype.filterData=function(t,e,o){let i=HE(t,e,o,this._options),r=wo.COLORTYPE_TO_BPP_MAP[this._options.colorType];return kE(i,e,o,this._options,r)};ja.prototype._packChunk=function(t,e){let o=e?e.length:0,i=Buffer.alloc(o+12);return i.writeUInt32BE(o,0),i.writeUInt32BE(t,4),e&&e.copy(i,8),i.writeInt32BE(qE.crc32(i.slice(4,i.length-4)),i.length-4),i};ja.prototype.packGAMA=function(t){let e=Buffer.alloc(4);return e.writeUInt32BE(Math.floor(t*wo.GAMMA_DIVISION),0),this._packChunk(wo.TYPE_gAMA,e)};ja.prototype.packIHDR=function(t,e){let o=Buffer.alloc(13);return o.writeUInt32BE(t,0),o.writeUInt32BE(e,4),o[8]=this._options.bitDepth,o[9]=this._options.colorType,o[10]=0,o[11]=0,o[12]=0,this._packChunk(wo.TYPE_IHDR,o)};ja.prototype.packIDAT=function(t){return this._packChunk(wo.TYPE_IDAT,t)};ja.prototype.packIEND=function(){return this._packChunk(wo.TYPE_IEND,null)}});var IN=R((Q8,wN)=>{"use strict";var QE=require("util"),NN=require("stream"),ZE=xp(),YE=$v(),RN=wN.exports=function(t){NN.call(this);let e=t||{};this._packer=new YE(e),this._deflate=this._packer.createDeflate(),this.readable=!0};QE.inherits(RN,NN);RN.prototype.pack=function(t,e,o,i){this.emit("data",Buffer.from(ZE.PNG_SIGNATURE)),this.emit("data",this._packer.packIHDR(e,o)),i&&this.emit("data",this._packer.packGAMA(i));let r=this._packer.filterData(t,e,o);this._deflate.on("error",this.emit.bind(this,"error")),this._deflate.on("data",(function(n){this.emit("data",this._packer.packIDAT(n))}).bind(this)),this._deflate.on("end",(function(){this.emit("data",this._packer.packIEND()),this.emit("end")}).bind(this)),this._deflate.end(r)}});var PN=R((du,EN)=>{"use strict";var ON=require("assert").ok,Sp=require("zlib"),JE=require("util"),AN=require("buffer").kMaxLength;function Ts(t){if(!(this instanceof Ts))return new Ts(t);t&&t.chunkSize<Sp.Z_MIN_CHUNK&&(t.chunkSize=Sp.Z_MIN_CHUNK),Sp.Inflate.call(this,t),this._offset=this._offset===void 0?this._outOffset:this._offset,this._buffer=this._buffer||this._outBuffer,t&&t.maxLength!=null&&(this._maxLength=t.maxLength)}s(Ts,"Inflate");function WE(t){return new Ts(t)}s(WE,"createInflate");function FN(t,e){e&&process.nextTick(e),t._handle&&(t._handle.close(),t._handle=null)}s(FN,"_close");Ts.prototype._processChunk=function(t,e,o){if(typeof o=="function")return Sp.Inflate._processChunk.call(this,t,e,o);let i=this,r=t&&t.length,n=this._chunkSize-this._offset,a=this._maxLength,c=0,p=[],u=0,l;this.on("error",function(x){l=x});function d(x,N){if(i._hadError)return;let C=n-N;if(ON(C>=0,"have should not go down"),C>0){let b=i._buffer.slice(i._offset,i._offset+C);if(i._offset+=C,b.length>a&&(b=b.slice(0,a)),p.push(b),u+=b.length,a-=b.length,a===0)return!1}return(N===0||i._offset>=i._chunkSize)&&(n=i._chunkSize,i._offset=0,i._buffer=Buffer.allocUnsafe(i._chunkSize)),N===0?(c+=r-x,r=x,!0):!1}s(d,"handleChunk"),ON(this._handle,"zlib binding closed");let m;do m=this._handle.writeSync(e,t,c,r,this._buffer,this._offset,n),m=m||this._writeState;while(!this._hadError&&d(m[0],m[1]));if(this._hadError)throw l;if(u>=AN)throw FN(this),new RangeError("Cannot create final Buffer. It would be larger than 0x"+AN.toString(16)+" bytes");let y=Buffer.concat(p,u);return FN(this),y};JE.inherits(Ts,Sp.Inflate);function XE(t,e){if(typeof e=="string"&&(e=Buffer.from(e)),!(e instanceof Buffer))throw new TypeError("Not a string or buffer");let o=t._finishFlushFlag;return o==null&&(o=Sp.Z_FINISH),t._processChunk(e,o)}s(XE,"zlibBufferSync");function DN(t,e){return XE(new Ts(e),t)}s(DN,"inflateSync");EN.exports=du=DN;du.Inflate=Ts;du.createInflate=WE;du.inflateSync=DN});var eg=R((Y8,zN)=>{"use strict";var TN=zN.exports=function(t){this._buffer=t,this._reads=[]};TN.prototype.read=function(t,e){this._reads.push({length:Math.abs(t),allowLess:t<0,func:e})};TN.prototype.process=function(){for(;this._reads.length>0&&this._buffer.length;){let t=this._reads[0];if(this._buffer.length&&(this._buffer.length>=t.length||t.allowLess)){this._reads.shift();let e=this._buffer;this._buffer=e.slice(t.length),t.func.call(this,e.slice(0,t.length))}else break}if(this._reads.length>0)return new Error("There are some read requests waitng on finished stream");if(this._buffer.length>0)return new Error("unrecognised content at end of stream")}});var BN=R(jN=>{"use strict";var KE=eg(),$E=Gv();jN.process=function(t,e){let o=[],i=new KE(t);return new $E(e,{read:i.read.bind(i),write:s(function(n){o.push(n)},"write"),complete:s(function(){},"complete")}).start(),i.process(),Buffer.concat(o)}});var _N=R((X8,VN)=>{"use strict";var MN=!0,LN=require("zlib"),eP=PN();LN.deflateSync||(MN=!1);var tP=eg(),oP=BN(),iP=Jv(),nP=Wv(),rP=Xv();VN.exports=function(t,e){if(!MN)throw new Error("To use the sync capability of this library in old node versions, please pin pngjs to v2.3.0");let o;function i(D){o=D}s(i,"handleError");let r;function n(D){r=D}s(n,"handleMetaData");function a(D){r.transColor=D}s(a,"handleTransColor");function c(D){r.palette=D}s(c,"handlePalette");function p(){r.alpha=!0}s(p,"handleSimpleTransparency");let u;function l(D){u=D}s(l,"handleGamma");let d=[];function m(D){d.push(D)}s(m,"handleInflateData");let y=new tP(t);if(new iP(e,{read:y.read.bind(y),error:i,metadata:n,gamma:l,palette:c,transColor:a,inflateData:m,simpleTransparency:p}).start(),y.process(),o)throw o;let N=Buffer.concat(d);d.length=0;let C;if(r.interlace)C=LN.inflateSync(N);else{let H=((r.width*r.bpp*r.depth+7>>3)+1)*r.height;C=eP(N,{chunkSize:H,maxLength:H})}if(N=null,!C||!C.length)throw new Error("bad png - invalid inflate data response");let b=oP.process(C,r);N=null;let I=nP.dataToBitMap(b,r);b=null;let A=rP(I,r);return r.data=A,r.gamma=u||0,r}});var kN=R(($8,HN)=>{"use strict";var UN=!0,qN=require("zlib");qN.deflateSync||(UN=!1);var aP=xp(),sP=$v();HN.exports=function(t,e){if(!UN)throw new Error("To use the sync capability of this library in old node versions, please pin pngjs to v2.3.0");let o=e||{},i=new sP(o),r=[];r.push(Buffer.from(aP.PNG_SIGNATURE)),r.push(i.packIHDR(t.width,t.height)),t.gamma&&r.push(i.packGAMA(t.gamma));let n=i.filterData(t.data,t.width,t.height),a=qN.deflateSync(n,i.getDeflateOptions());if(n=null,!a||!a.length)throw new Error("bad png - invalid compressed data response");return r.push(i.packIDAT(a)),r.push(i.packIEND()),Buffer.concat(r)}});var GN=R(tg=>{"use strict";var cP=_N(),pP=kN();tg.read=function(t,e){return cP(t,e||{})};tg.write=function(t,e){return pP(t,e)}});var YN=R(ZN=>{"use strict";var lP=require("util"),QN=require("stream"),uP=vN(),dP=IN(),fP=GN(),Lo=ZN.PNG=function(t){QN.call(this),t=t||{},this.width=t.width|0,this.height=t.height|0,this.data=this.width>0&&this.height>0?Buffer.alloc(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 uP(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 dP(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"))};lP.inherits(Lo,QN);Lo.sync=fP;Lo.prototype.pack=function(){return!this.data||!this.data.length?(this.emit("error","No data provided"),this):(process.nextTick((function(){this._packer.pack(this.data,this.width,this.height,this.gamma)}).bind(this)),this)};Lo.prototype.parse=function(t,e){if(e){let o,i;o=(function(r){this.removeListener("error",i),this.data=r,e(null,this)}).bind(this),i=(function(r){this.removeListener("parsed",o),e(r,null)}).bind(this),this.once("parsed",o),this.once("error",i)}return this.end(t),this};Lo.prototype.write=function(t){return this._parser.write(t),!0};Lo.prototype.end=function(t){this._parser.end(t)};Lo.prototype._metadata=function(t){this.width=t.width,this.height=t.height,this.emit("metadata",t)};Lo.prototype._gamma=function(t){this.gamma=t};Lo.prototype._handleClose=function(){!this._parser.writable&&!this._packer.readable&&this.emit("close")};Lo.bitblt=function(t,e,o,i,r,n,a,c){if(o|=0,i|=0,r|=0,n|=0,a|=0,c|=0,o>t.width||i>t.height||o+r>t.width||i+n>t.height)throw new Error("bitblt reading outside image");if(a>e.width||c>e.height||a+r>e.width||c+n>e.height)throw new Error("bitblt writing outside image");for(let p=0;p<n;p++)t.data.copy(e.data,(c+p)*e.width+a<<2,(i+p)*t.width+o<<2,(i+p)*t.width+o+r<<2)};Lo.prototype.bitblt=function(t,e,o,i,r,n,a){return Lo.bitblt(this,t,e,o,i,r,n,a),this};Lo.adjustGamma=function(t){if(t.gamma){for(let e=0;e<t.height;e++)for(let o=0;o<t.width;o++){let i=t.width*e+o<<2;for(let r=0;r<3;r++){let n=t.data[i+r]/255;n=Math.pow(n,1/2.2/t.gamma),t.data[i+r]=Math.round(n*255)}}t.gamma=0}};Lo.prototype.adjustGamma=function(){Lo.adjustGamma(this)}});var fu=R(zs=>{"use strict";function JN(t){if(typeof t=="number"&&(t=t.toString()),typeof t!="string")throw new Error("Color should be defined as hex string");let e=t.slice().replace("#","").split("");if(e.length<3||e.length===5||e.length>8)throw new Error("Invalid hex color: "+t);(e.length===3||e.length===4)&&(e=Array.prototype.concat.apply([],e.map(function(i){return[i,i]}))),e.length===6&&e.push("F","F");let o=parseInt(e.join(""),16);return{r:o>>24&255,g:o>>16&255,b:o>>8&255,a:o&255,hex:"#"+e.slice(0,6).join("")}}s(JN,"hex2rgba");zs.getOptions=s(function(e){e||(e={}),e.color||(e.color={});let o=typeof e.margin>"u"||e.margin===null||e.margin<0?4:e.margin,i=e.width&&e.width>=21?e.width:void 0,r=e.scale||4;return{width:i,scale:i?4:r,margin:o,color:{dark:JN(e.color.dark||"#000000ff"),light:JN(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},"getOptions");zs.getScale=s(function(e,o){return o.width&&o.width>=e+o.margin*2?o.width/(e+o.margin*2):o.scale},"getScale");zs.getImageWidth=s(function(e,o){let i=zs.getScale(e,o);return Math.floor((e+o.margin*2)*i)},"getImageWidth");zs.qrToImageData=s(function(e,o,i){let r=o.modules.size,n=o.modules.data,a=zs.getScale(r,i),c=Math.floor((r+i.margin*2)*a),p=i.margin*a,u=[i.color.light,i.color.dark];for(let l=0;l<c;l++)for(let d=0;d<c;d++){let m=(l*c+d)*4,y=i.color.light;if(l>=p&&d>=p&&l<c-p&&d<c-p){let x=Math.floor((l-p)/a),N=Math.floor((d-p)/a);y=u[n[x*r+N]?1:0]}e[m++]=y.r,e[m++]=y.g,e[m++]=y.b,e[m]=y.a}},"qrToImageData")});var WN=R(Xn=>{"use strict";var mP=require("fs"),hP=YN().PNG,og=fu();Xn.render=s(function(e,o){let i=og.getOptions(o),r=i.rendererOpts,n=og.getImageWidth(e.modules.size,i);r.width=n,r.height=n;let a=new hP(r);return og.qrToImageData(a.data,e,i),a},"render");Xn.renderToDataURL=s(function(e,o,i){typeof i>"u"&&(i=o,o=void 0),Xn.renderToBuffer(e,o,function(r,n){r&&i(r);let a="data:image/png;base64,";a+=n.toString("base64"),i(null,a)})},"renderToDataURL");Xn.renderToBuffer=s(function(e,o,i){typeof i>"u"&&(i=o,o=void 0);let r=Xn.render(e,o),n=[];r.on("error",i),r.on("data",function(a){n.push(a)}),r.on("end",function(){i(null,Buffer.concat(n))}),r.pack()},"renderToBuffer");Xn.renderToFile=s(function(e,o,i,r){typeof r>"u"&&(r=i,i=void 0);let n=!1,a=s((...p)=>{n||(n=!0,r.apply(null,p))},"done"),c=mP.createWriteStream(e);c.on("error",a),c.on("close",a),Xn.renderToFileStream(c,o,i)},"renderToFile");Xn.renderToFileStream=s(function(e,o,i){Xn.render(o,i).pack().pipe(e)},"renderToFileStream")});var XN=R(rf=>{"use strict";var vP=fu(),gP={WW:" ",WB:"\u2584",BB:"\u2588",BW:"\u2580"},yP={BB:" ",BW:"\u2584",WW:"\u2588",WB:"\u2580"};function bP(t,e,o){return t&&e?o.BB:t&&!e?o.BW:!t&&e?o.WB:o.WW}s(bP,"getBlockChar");rf.render=function(t,e,o){let i=vP.getOptions(e),r=gP;(i.color.dark.hex==="#ffffff"||i.color.light.hex==="#000000")&&(r=yP);let n=t.modules.size,a=t.modules.data,c="",p=Array(n+i.margin*2+1).join(r.WW);p=Array(i.margin/2+1).join(p+`
20
- `);let u=Array(i.margin+1).join(r.WW);c+=p;for(let l=0;l<n;l+=2){c+=u;for(let d=0;d<n;d++){let m=a[l*n+d],y=a[(l+1)*n+d];c+=bP(m,y,r)}c+=u+`
21
- `}return c+=p.slice(0,-1),typeof o=="function"&&o(null,c),c};rf.renderToFile=s(function(e,o,i,r){typeof r>"u"&&(r=i,i=void 0);let n=require("fs"),a=rf.render(o,i);n.writeFile(e,a,r)},"renderToFile")});var $N=R(KN=>{"use strict";KN.render=function(t,e,o){let i=t.modules.size,r=t.modules.data,n="\x1B[40m \x1B[0m",a="\x1B[47m \x1B[0m",c="",p=Array(i+3).join(a),u=Array(2).join(a);c+=p+`
19
+ `);let a=pE(e,o,r),c=rf.getSymbolSize(e),p=new KD(c);return nE(p,e),rE(p),aE(p,e),Lv(p,o,0),e>=7&&sE(p,e),cE(p,a),isNaN(i)&&(i=Vv.getBestMask(p,Lv.bind(null,p,o))),Vv.applyMask(i,p),Lv(p,o,i),{modules:p,version:e,errorCorrectionLevel:o,maskPattern:i,segments:r}}s(uE,"createSymbol");tN.create=s(function(e,o){if(typeof e>"u"||e==="")throw new Error("No input text");let i=Bv.M,r,n;return typeof o<"u"&&(i=Bv.from(o.errorCorrectionLevel,Bv.M),r=nf.from(o.version),n=Vv.from(o.maskPattern),o.toSJISFunc&&rf.setToSJISFunction(o.toSJISFunc)),uE(e,r,i,n)},"create")});var qv=R((O8,iN)=>{"use strict";var dE=require("util"),oN=require("stream"),yn=iN.exports=function(){oN.call(this),this._buffers=[],this._buffered=0,this._reads=[],this._paused=!1,this._encoding="utf8",this.writable=!0};dE.inherits(yn,oN);yn.prototype.read=function(t,e){this._reads.push({length:Math.abs(t),allowLess:t<0,func:e}),process.nextTick((function(){this._process(),this._paused&&this._reads&&this._reads.length>0&&(this._paused=!1,this.emit("drain"))}).bind(this))};yn.prototype.write=function(t,e){if(!this.writable)return this.emit("error",new Error("Stream not writable")),!1;let o;return Buffer.isBuffer(t)?o=t:o=Buffer.from(t,e||this._encoding),this._buffers.push(o),this._buffered+=o.length,this._process(),this._reads&&this._reads.length===0&&(this._paused=!0),this.writable&&!this._paused};yn.prototype.end=function(t,e){t&&this.write(t,e),this.writable=!1,this._buffers&&(this._buffers.length===0?this._end():(this._buffers.push(null),this._process()))};yn.prototype.destroySoon=yn.prototype.end;yn.prototype._end=function(){this._reads.length>0&&this.emit("error",new Error("Unexpected end of input")),this.destroy()};yn.prototype.destroy=function(){this._buffers&&(this.writable=!1,this._reads=null,this._buffers=null,this.emit("close"))};yn.prototype._processReadAllowingLess=function(t){this._reads.shift();let e=this._buffers[0];e.length>t.length?(this._buffered-=t.length,this._buffers[0]=e.slice(t.length),t.func.call(this,e.slice(0,t.length))):(this._buffered-=e.length,this._buffers.shift(),t.func.call(this,e))};yn.prototype._processRead=function(t){this._reads.shift();let e=0,o=0,i=Buffer.alloc(t.length);for(;e<t.length;){let r=this._buffers[o++],n=Math.min(r.length,t.length-e);r.copy(i,e,0,n),e+=n,n!==r.length&&(this._buffers[--o]=r.slice(n))}o>0&&this._buffers.splice(0,o),this._buffered-=t.length,t.func.call(this,i)};yn.prototype._process=function(){try{for(;this._buffered>0&&this._reads&&this._reads.length>0;){let t=this._reads[0];if(t.allowLess)this._processReadAllowingLess(t);else if(this._buffered>=t.length)this._processRead(t);else break}this._buffers&&!this.writable&&this._end()}catch(t){this.emit("error",t)}}});var kv=R(Hv=>{"use strict";var za=[{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]}];Hv.getImagePasses=function(t,e){let o=[],i=t%8,r=e%8,n=(t-i)/8,a=(e-r)/8;for(let c=0;c<za.length;c++){let p=za[c],u=n*p.x.length,l=a*p.y.length;for(let d=0;d<p.x.length&&p.x[d]<i;d++)u++;for(let d=0;d<p.y.length&&p.y[d]<r;d++)l++;u>0&&l>0&&o.push({width:u,height:l,index:c})}return o};Hv.getInterlaceIterator=function(t){return function(e,o,i){let r=e%za[i].x.length,n=(e-r)/za[i].x.length*8+za[i].x[r],a=o%za[i].y.length,c=(o-a)/za[i].y.length*8+za[i].y[a];return n*4+c*t*4}}});var Gv=R((F8,nN)=>{"use strict";nN.exports=s(function(e,o,i){let r=e+o-i,n=Math.abs(r-e),a=Math.abs(r-o),c=Math.abs(r-i);return n<=a&&n<=c?e:a<=c?o:i},"paethPredictor")});var Qv=R((E8,aN)=>{"use strict";var fE=kv(),mE=Gv();function rN(t,e,o){let i=t*e;return o!==8&&(i=Math.ceil(i/(8/o))),i}s(rN,"getByteWidth");var bp=aN.exports=function(t,e){let o=t.width,i=t.height,r=t.interlace,n=t.bpp,a=t.depth;if(this.read=e.read,this.write=e.write,this.complete=e.complete,this._imageIndex=0,this._images=[],r){let c=fE.getImagePasses(o,i);for(let p=0;p<c.length;p++)this._images.push({byteWidth:rN(c[p].width,n,a),height:c[p].height,lineIndex:0})}else this._images.push({byteWidth:rN(o,n,a),height:i,lineIndex:0});a===8?this._xComparison=n:a===16?this._xComparison=n*2:this._xComparison=1};bp.prototype.start=function(){this.read(this._images[this._imageIndex].byteWidth+1,this._reverseFilterLine.bind(this))};bp.prototype._unFilterType1=function(t,e,o){let i=this._xComparison,r=i-1;for(let n=0;n<o;n++){let a=t[1+n],c=n>r?e[n-i]:0;e[n]=a+c}};bp.prototype._unFilterType2=function(t,e,o){let i=this._lastLine;for(let r=0;r<o;r++){let n=t[1+r],a=i?i[r]:0;e[r]=n+a}};bp.prototype._unFilterType3=function(t,e,o){let i=this._xComparison,r=i-1,n=this._lastLine;for(let a=0;a<o;a++){let c=t[1+a],p=n?n[a]:0,u=a>r?e[a-i]:0,l=Math.floor((u+p)/2);e[a]=c+l}};bp.prototype._unFilterType4=function(t,e,o){let i=this._xComparison,r=i-1,n=this._lastLine;for(let a=0;a<o;a++){let c=t[1+a],p=n?n[a]:0,u=a>r?e[a-i]:0,l=a>r&&n?n[a-i]:0,d=mE(u,p,l);e[a]=c+d}};bp.prototype._reverseFilterLine=function(t){let e=t[0],o,i=this._images[this._imageIndex],r=i.byteWidth;if(e===0)o=t.slice(1,r+1);else switch(o=Buffer.alloc(r),e){case 1:this._unFilterType1(t,o,r);break;case 2:this._unFilterType2(t,o,r);break;case 3:this._unFilterType3(t,o,r);break;case 4:this._unFilterType4(t,o,r);break;default:throw new Error("Unrecognised filter type - "+e)}this.write(o),i.lineIndex++,i.lineIndex>=i.height?(this._lastLine=null,this._imageIndex++,i=this._images[this._imageIndex]):this._lastLine=o,i?this.read(i.byteWidth+1,this._reverseFilterLine.bind(this)):(this._lastLine=null,this.complete())}});var pN=R((T8,cN)=>{"use strict";var hE=require("util"),sN=qv(),vE=Qv(),gE=cN.exports=function(t){sN.call(this);let e=[],o=this;this._filter=new vE(t,{read:this.read.bind(this),write:s(function(i){e.push(i)},"write"),complete:s(function(){o.emit("complete",Buffer.concat(e))},"complete")}),this._filter.start()};hE.inherits(gE,sN)});var xp=R((j8,lN)=>{"use strict";lN.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}});var Wv=R((B8,uN)=>{"use strict";var Zv=[];(function(){for(let t=0;t<256;t++){let e=t;for(let o=0;o<8;o++)e&1?e=3988292384^e>>>1:e=e>>>1;Zv[t]=e}})();var Yv=uN.exports=function(){this._crc=-1};Yv.prototype.write=function(t){for(let e=0;e<t.length;e++)this._crc=Zv[(this._crc^t[e])&255]^this._crc>>>8;return!0};Yv.prototype.crc32=function(){return this._crc^-1};Yv.crc32=function(t){let e=-1;for(let o=0;o<t.length;o++)e=Zv[(e^t[o])&255]^e>>>8;return e^-1}});var Jv=R((M8,dN)=>{"use strict";var At=xp(),yE=Wv(),kt=dN.exports=function(t,e){this._options=t,t.checkCRC=t.checkCRC!==!1,this._hasIHDR=!1,this._hasIEND=!1,this._emittedHeadersFinished=!1,this._palette=[],this._colorType=0,this._chunks={},this._chunks[At.TYPE_IHDR]=this._handleIHDR.bind(this),this._chunks[At.TYPE_IEND]=this._handleIEND.bind(this),this._chunks[At.TYPE_IDAT]=this._handleIDAT.bind(this),this._chunks[At.TYPE_PLTE]=this._handlePLTE.bind(this),this._chunks[At.TYPE_tRNS]=this._handleTRNS.bind(this),this._chunks[At.TYPE_gAMA]=this._handleGAMA.bind(this),this.read=e.read,this.error=e.error,this.metadata=e.metadata,this.gamma=e.gamma,this.transColor=e.transColor,this.palette=e.palette,this.parsed=e.parsed,this.inflateData=e.inflateData,this.finished=e.finished,this.simpleTransparency=e.simpleTransparency,this.headersFinished=e.headersFinished||function(){}};kt.prototype.start=function(){this.read(At.PNG_SIGNATURE.length,this._parseSignature.bind(this))};kt.prototype._parseSignature=function(t){let e=At.PNG_SIGNATURE;for(let o=0;o<e.length;o++)if(t[o]!==e[o]){this.error(new Error("Invalid file signature"));return}this.read(8,this._parseChunkBegin.bind(this))};kt.prototype._parseChunkBegin=function(t){let e=t.readUInt32BE(0),o=t.readUInt32BE(4),i="";for(let n=4;n<8;n++)i+=String.fromCharCode(t[n]);let r=!!(t[4]&32);if(!this._hasIHDR&&o!==At.TYPE_IHDR){this.error(new Error("Expected IHDR on beggining"));return}if(this._crc=new yE,this._crc.write(Buffer.from(i)),this._chunks[o])return this._chunks[o](e);if(!r){this.error(new Error("Unsupported critical chunk type "+i));return}this.read(e+4,this._skipChunk.bind(this))};kt.prototype._skipChunk=function(){this.read(8,this._parseChunkBegin.bind(this))};kt.prototype._handleChunkEnd=function(){this.read(4,this._parseChunkEnd.bind(this))};kt.prototype._parseChunkEnd=function(t){let e=t.readInt32BE(0),o=this._crc.crc32();if(this._options.checkCRC&&o!==e){this.error(new Error("Crc error - "+e+" - "+o));return}this._hasIEND||this.read(8,this._parseChunkBegin.bind(this))};kt.prototype._handleIHDR=function(t){this.read(t,this._parseIHDR.bind(this))};kt.prototype._parseIHDR=function(t){this._crc.write(t);let e=t.readUInt32BE(0),o=t.readUInt32BE(4),i=t[8],r=t[9],n=t[10],a=t[11],c=t[12];if(i!==8&&i!==4&&i!==2&&i!==1&&i!==16){this.error(new Error("Unsupported bit depth "+i));return}if(!(r in At.COLORTYPE_TO_BPP_MAP)){this.error(new Error("Unsupported color type"));return}if(n!==0){this.error(new Error("Unsupported compression method"));return}if(a!==0){this.error(new Error("Unsupported filter method"));return}if(c!==0&&c!==1){this.error(new Error("Unsupported interlace method"));return}this._colorType=r;let p=At.COLORTYPE_TO_BPP_MAP[this._colorType];this._hasIHDR=!0,this.metadata({width:e,height:o,depth:i,interlace:!!c,palette:!!(r&At.COLORTYPE_PALETTE),color:!!(r&At.COLORTYPE_COLOR),alpha:!!(r&At.COLORTYPE_ALPHA),bpp:p,colorType:r}),this._handleChunkEnd()};kt.prototype._handlePLTE=function(t){this.read(t,this._parsePLTE.bind(this))};kt.prototype._parsePLTE=function(t){this._crc.write(t);let e=Math.floor(t.length/3);for(let o=0;o<e;o++)this._palette.push([t[o*3],t[o*3+1],t[o*3+2],255]);this.palette(this._palette),this._handleChunkEnd()};kt.prototype._handleTRNS=function(t){this.simpleTransparency(),this.read(t,this._parseTRNS.bind(this))};kt.prototype._parseTRNS=function(t){if(this._crc.write(t),this._colorType===At.COLORTYPE_PALETTE_COLOR){if(this._palette.length===0){this.error(new Error("Transparency chunk must be after palette"));return}if(t.length>this._palette.length){this.error(new Error("More transparent colors than palette size"));return}for(let e=0;e<t.length;e++)this._palette[e][3]=t[e];this.palette(this._palette)}this._colorType===At.COLORTYPE_GRAYSCALE&&this.transColor([t.readUInt16BE(0)]),this._colorType===At.COLORTYPE_COLOR&&this.transColor([t.readUInt16BE(0),t.readUInt16BE(2),t.readUInt16BE(4)]),this._handleChunkEnd()};kt.prototype._handleGAMA=function(t){this.read(t,this._parseGAMA.bind(this))};kt.prototype._parseGAMA=function(t){this._crc.write(t),this.gamma(t.readUInt32BE(0)/At.GAMMA_DIVISION),this._handleChunkEnd()};kt.prototype._handleIDAT=function(t){this._emittedHeadersFinished||(this._emittedHeadersFinished=!0,this.headersFinished()),this.read(-t,this._parseIDAT.bind(this,t))};kt.prototype._parseIDAT=function(t,e){if(this._crc.write(e),this._colorType===At.COLORTYPE_PALETTE_COLOR&&this._palette.length===0)throw new Error("Expected palette not found");this.inflateData(e);let o=t-e.length;o>0?this._handleIDAT(o):this._handleChunkEnd()};kt.prototype._handleIEND=function(t){this.read(t,this._parseIEND.bind(this))};kt.prototype._parseIEND=function(t){this._crc.write(t),this._hasIEND=!0,this._handleChunkEnd(),this.finished&&this.finished()}});var Xv=R(mN=>{"use strict";var fN=kv(),bE=[function(){},function(t,e,o,i){if(i===e.length)throw new Error("Ran out of data");let r=e[i];t[o]=r,t[o+1]=r,t[o+2]=r,t[o+3]=255},function(t,e,o,i){if(i+1>=e.length)throw new Error("Ran out of data");let r=e[i];t[o]=r,t[o+1]=r,t[o+2]=r,t[o+3]=e[i+1]},function(t,e,o,i){if(i+2>=e.length)throw new Error("Ran out of data");t[o]=e[i],t[o+1]=e[i+1],t[o+2]=e[i+2],t[o+3]=255},function(t,e,o,i){if(i+3>=e.length)throw new Error("Ran out of data");t[o]=e[i],t[o+1]=e[i+1],t[o+2]=e[i+2],t[o+3]=e[i+3]}],xE=[function(){},function(t,e,o,i){let r=e[0];t[o]=r,t[o+1]=r,t[o+2]=r,t[o+3]=i},function(t,e,o){let i=e[0];t[o]=i,t[o+1]=i,t[o+2]=i,t[o+3]=e[1]},function(t,e,o,i){t[o]=e[0],t[o+1]=e[1],t[o+2]=e[2],t[o+3]=i},function(t,e,o){t[o]=e[0],t[o+1]=e[1],t[o+2]=e[2],t[o+3]=e[3]}];function SE(t,e){let o=[],i=0;function r(){if(i===t.length)throw new Error("Ran out of data");let n=t[i];i++;let a,c,p,u,l,d,m,y;switch(e){default:throw new Error("unrecognised depth");case 16:m=t[i],i++,o.push((n<<8)+m);break;case 4:m=n&15,y=n>>4,o.push(y,m);break;case 2:l=n&3,d=n>>2&3,m=n>>4&3,y=n>>6&3,o.push(y,m,d,l);break;case 1:a=n&1,c=n>>1&1,p=n>>2&1,u=n>>3&1,l=n>>4&1,d=n>>5&1,m=n>>6&1,y=n>>7&1,o.push(y,m,d,l,u,p,c,a);break}}return s(r,"split"),{get:s(function(n){for(;o.length<n;)r();let a=o.slice(0,n);return o=o.slice(n),a},"get"),resetAfterLine:s(function(){o.length=0},"resetAfterLine"),end:s(function(){if(i!==t.length)throw new Error("extra data found")},"end")}}s(SE,"bitRetriever");function CE(t,e,o,i,r,n){let a=t.width,c=t.height,p=t.index;for(let u=0;u<c;u++)for(let l=0;l<a;l++){let d=o(l,u,p);bE[i](e,r,d,n),n+=i}return n}s(CE,"mapImage8Bit");function NE(t,e,o,i,r,n){let a=t.width,c=t.height,p=t.index;for(let u=0;u<c;u++){for(let l=0;l<a;l++){let d=r.get(i),m=o(l,u,p);xE[i](e,d,m,n)}r.resetAfterLine()}}s(NE,"mapImageCustomBit");mN.dataToBitMap=function(t,e){let o=e.width,i=e.height,r=e.depth,n=e.bpp,a=e.interlace,c;r!==8&&(c=SE(t,r));let p;r<=8?p=Buffer.alloc(o*i*4):p=new Uint16Array(o*i*4);let u=Math.pow(2,r)-1,l=0,d,m;if(a)d=fN.getImagePasses(o,i),m=fN.getInterlaceIterator(o,i);else{let y=0;m=s(function(){let x=y;return y+=4,x},"getPxPos"),d=[{width:o,height:i}]}for(let y=0;y<d.length;y++)r===8?l=CE(d[y],p,m,n,t,l):NE(d[y],p,m,n,c,u);if(r===8){if(l!==t.length)throw new Error("extra data found")}else c.end();return p}});var Kv=R((_8,hN)=>{"use strict";function RE(t,e,o,i,r){let n=0;for(let a=0;a<i;a++)for(let c=0;c<o;c++){let p=r[t[n]];if(!p)throw new Error("index "+t[n]+" not in palette");for(let u=0;u<4;u++)e[n+u]=p[u];n+=4}}s(RE,"dePalette");function wE(t,e,o,i,r){let n=0;for(let a=0;a<i;a++)for(let c=0;c<o;c++){let p=!1;if(r.length===1?r[0]===t[n]&&(p=!0):r[0]===t[n]&&r[1]===t[n+1]&&r[2]===t[n+2]&&(p=!0),p)for(let u=0;u<4;u++)e[n+u]=0;n+=4}}s(wE,"replaceTransparentColor");function IE(t,e,o,i,r){let n=255,a=Math.pow(2,r)-1,c=0;for(let p=0;p<i;p++)for(let u=0;u<o;u++){for(let l=0;l<4;l++)e[c+l]=Math.floor(t[c+l]*n/a+.5);c+=4}}s(IE,"scaleDepth");hN.exports=function(t,e){let o=e.depth,i=e.width,r=e.height,n=e.colorType,a=e.transColor,c=e.palette,p=t;return n===3?RE(t,p,i,r,c):(a&&wE(t,p,i,r,a),o!==8&&(o===16&&(p=Buffer.alloc(i*r*4)),IE(t,p,i,r,o))),p}});var yN=R((q8,gN)=>{"use strict";var OE=require("util"),$v=require("zlib"),vN=qv(),AE=pN(),FE=Jv(),DE=Xv(),EE=Kv(),Jn=gN.exports=function(t){vN.call(this),this._parser=new FE(t,{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=t,this.writable=!0,this._parser.start()};OE.inherits(Jn,vN);Jn.prototype._handleError=function(t){this.emit("error",t),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};Jn.prototype._inflateData=function(t){if(!this._inflate)if(this._bitmapInfo.interlace)this._inflate=$v.createInflate(),this._inflate.on("error",this.emit.bind(this,"error")),this._filter.on("complete",this._complete.bind(this)),this._inflate.pipe(this._filter);else{let o=((this._bitmapInfo.width*this._bitmapInfo.bpp*this._bitmapInfo.depth+7>>3)+1)*this._bitmapInfo.height,i=Math.max(o,$v.Z_MIN_CHUNK);this._inflate=$v.createInflate({chunkSize:i});let r=o,n=this.emit.bind(this,"error");this._inflate.on("error",function(c){r&&n(c)}),this._filter.on("complete",this._complete.bind(this));let a=this._filter.write.bind(this._filter);this._inflate.on("data",function(c){r&&(c.length>r&&(c=c.slice(0,r)),r-=c.length,a(c))}),this._inflate.on("end",this._filter.end.bind(this._filter))}this._inflate.write(t)};Jn.prototype._handleMetaData=function(t){this._metaData=t,this._bitmapInfo=Object.create(t),this._filter=new AE(this._bitmapInfo)};Jn.prototype._handleTransColor=function(t){this._bitmapInfo.transColor=t};Jn.prototype._handlePalette=function(t){this._bitmapInfo.palette=t};Jn.prototype._simpleTransparency=function(){this._metaData.alpha=!0};Jn.prototype._headersFinished=function(){this.emit("metadata",this._metaData)};Jn.prototype._finished=function(){this.errord||(this._inflate?this._inflate.end():this.emit("error","No Inflate block"))};Jn.prototype._complete=function(t){if(this.errord)return;let e;try{let o=DE.dataToBitMap(t,this._bitmapInfo);e=EE(o,this._bitmapInfo),o=null}catch(o){this._handleError(o);return}this.emit("parsed",e)}});var xN=R((H8,bN)=>{"use strict";var ji=xp();bN.exports=function(t,e,o,i){let r=[ji.COLORTYPE_COLOR_ALPHA,ji.COLORTYPE_ALPHA].indexOf(i.colorType)!==-1;if(i.colorType===i.inputColorType){let x=(function(){let N=new ArrayBuffer(2);return new DataView(N).setInt16(0,256,!0),new Int16Array(N)[0]!==256})();if(i.bitDepth===8||i.bitDepth===16&&x)return t}let n=i.bitDepth!==16?t:new Uint16Array(t.buffer),a=255,c=ji.COLORTYPE_TO_BPP_MAP[i.inputColorType];c===4&&!i.inputHasAlpha&&(c=3);let p=ji.COLORTYPE_TO_BPP_MAP[i.colorType];i.bitDepth===16&&(a=65535,p*=2);let u=Buffer.alloc(e*o*p),l=0,d=0,m=i.bgColor||{};m.red===void 0&&(m.red=a),m.green===void 0&&(m.green=a),m.blue===void 0&&(m.blue=a);function y(){let x,N,C,b=a;switch(i.inputColorType){case ji.COLORTYPE_COLOR_ALPHA:b=n[l+3],x=n[l],N=n[l+1],C=n[l+2];break;case ji.COLORTYPE_COLOR:x=n[l],N=n[l+1],C=n[l+2];break;case ji.COLORTYPE_ALPHA:b=n[l+1],x=n[l],N=x,C=x;break;case ji.COLORTYPE_GRAYSCALE:x=n[l],N=x,C=x;break;default:throw new Error("input color type:"+i.inputColorType+" is not supported at present")}return i.inputHasAlpha&&(r||(b/=a,x=Math.min(Math.max(Math.round((1-b)*m.red+b*x),0),a),N=Math.min(Math.max(Math.round((1-b)*m.green+b*N),0),a),C=Math.min(Math.max(Math.round((1-b)*m.blue+b*C),0),a))),{red:x,green:N,blue:C,alpha:b}}s(y,"getRGBA");for(let x=0;x<o;x++)for(let N=0;N<e;N++){let C=y(n,l);switch(i.colorType){case ji.COLORTYPE_COLOR_ALPHA:case ji.COLORTYPE_COLOR:i.bitDepth===8?(u[d]=C.red,u[d+1]=C.green,u[d+2]=C.blue,r&&(u[d+3]=C.alpha)):(u.writeUInt16BE(C.red,d),u.writeUInt16BE(C.green,d+2),u.writeUInt16BE(C.blue,d+4),r&&u.writeUInt16BE(C.alpha,d+6));break;case ji.COLORTYPE_ALPHA:case ji.COLORTYPE_GRAYSCALE:{let b=(C.red+C.green+C.blue)/3;i.bitDepth===8?(u[d]=b,r&&(u[d+1]=C.alpha)):(u.writeUInt16BE(b,d),r&&u.writeUInt16BE(C.alpha,d+2));break}default:throw new Error("unrecognised color Type "+i.colorType)}l+=c,d+=p}return u}});var NN=R((G8,CN)=>{"use strict";var SN=Gv();function PE(t,e,o,i,r){for(let n=0;n<o;n++)i[r+n]=t[e+n]}s(PE,"filterNone");function TE(t,e,o){let i=0,r=e+o;for(let n=e;n<r;n++)i+=Math.abs(t[n]);return i}s(TE,"filterSumNone");function zE(t,e,o,i,r,n){for(let a=0;a<o;a++){let c=a>=n?t[e+a-n]:0,p=t[e+a]-c;i[r+a]=p}}s(zE,"filterSub");function jE(t,e,o,i){let r=0;for(let n=0;n<o;n++){let a=n>=i?t[e+n-i]:0,c=t[e+n]-a;r+=Math.abs(c)}return r}s(jE,"filterSumSub");function BE(t,e,o,i,r){for(let n=0;n<o;n++){let a=e>0?t[e+n-o]:0,c=t[e+n]-a;i[r+n]=c}}s(BE,"filterUp");function ME(t,e,o){let i=0,r=e+o;for(let n=e;n<r;n++){let a=e>0?t[n-o]:0,c=t[n]-a;i+=Math.abs(c)}return i}s(ME,"filterSumUp");function LE(t,e,o,i,r,n){for(let a=0;a<o;a++){let c=a>=n?t[e+a-n]:0,p=e>0?t[e+a-o]:0,u=t[e+a]-(c+p>>1);i[r+a]=u}}s(LE,"filterAvg");function VE(t,e,o,i){let r=0;for(let n=0;n<o;n++){let a=n>=i?t[e+n-i]:0,c=e>0?t[e+n-o]:0,p=t[e+n]-(a+c>>1);r+=Math.abs(p)}return r}s(VE,"filterSumAvg");function _E(t,e,o,i,r,n){for(let a=0;a<o;a++){let c=a>=n?t[e+a-n]:0,p=e>0?t[e+a-o]:0,u=e>0&&a>=n?t[e+a-(o+n)]:0,l=t[e+a]-SN(c,p,u);i[r+a]=l}}s(_E,"filterPaeth");function UE(t,e,o,i){let r=0;for(let n=0;n<o;n++){let a=n>=i?t[e+n-i]:0,c=e>0?t[e+n-o]:0,p=e>0&&n>=i?t[e+n-(o+i)]:0,u=t[e+n]-SN(a,c,p);r+=Math.abs(u)}return r}s(UE,"filterSumPaeth");var qE={0:PE,1:zE,2:BE,3:LE,4:_E},HE={0:TE,1:jE,2:ME,3:VE,4:UE};CN.exports=function(t,e,o,i,r){let n;if(!("filterType"in i)||i.filterType===-1)n=[0,1,2,3,4];else if(typeof i.filterType=="number")n=[i.filterType];else throw new Error("unrecognised filter types");i.bitDepth===16&&(r*=2);let a=e*r,c=0,p=0,u=Buffer.alloc((a+1)*o),l=n[0];for(let d=0;d<o;d++){if(n.length>1){let m=1/0;for(let y=0;y<n.length;y++){let x=HE[n[y]](t,p,a,r);x<m&&(l=n[y],m=x)}}u[c]=l,c++,qE[l](t,p,a,u,c,r),c+=a,p+=a}return u}});var eg=R((Z8,RN)=>{"use strict";var wo=xp(),kE=Wv(),GE=xN(),QE=NN(),ZE=require("zlib"),ja=RN.exports=function(t){if(this._options=t,t.deflateChunkSize=t.deflateChunkSize||32*1024,t.deflateLevel=t.deflateLevel!=null?t.deflateLevel:9,t.deflateStrategy=t.deflateStrategy!=null?t.deflateStrategy:3,t.inputHasAlpha=t.inputHasAlpha!=null?t.inputHasAlpha:!0,t.deflateFactory=t.deflateFactory||ZE.createDeflate,t.bitDepth=t.bitDepth||8,t.colorType=typeof t.colorType=="number"?t.colorType:wo.COLORTYPE_COLOR_ALPHA,t.inputColorType=typeof t.inputColorType=="number"?t.inputColorType:wo.COLORTYPE_COLOR_ALPHA,[wo.COLORTYPE_GRAYSCALE,wo.COLORTYPE_COLOR,wo.COLORTYPE_COLOR_ALPHA,wo.COLORTYPE_ALPHA].indexOf(t.colorType)===-1)throw new Error("option color type:"+t.colorType+" is not supported at present");if([wo.COLORTYPE_GRAYSCALE,wo.COLORTYPE_COLOR,wo.COLORTYPE_COLOR_ALPHA,wo.COLORTYPE_ALPHA].indexOf(t.inputColorType)===-1)throw new Error("option input color type:"+t.inputColorType+" is not supported at present");if(t.bitDepth!==8&&t.bitDepth!==16)throw new Error("option bit depth:"+t.bitDepth+" is not supported at present")};ja.prototype.getDeflateOptions=function(){return{chunkSize:this._options.deflateChunkSize,level:this._options.deflateLevel,strategy:this._options.deflateStrategy}};ja.prototype.createDeflate=function(){return this._options.deflateFactory(this.getDeflateOptions())};ja.prototype.filterData=function(t,e,o){let i=GE(t,e,o,this._options),r=wo.COLORTYPE_TO_BPP_MAP[this._options.colorType];return QE(i,e,o,this._options,r)};ja.prototype._packChunk=function(t,e){let o=e?e.length:0,i=Buffer.alloc(o+12);return i.writeUInt32BE(o,0),i.writeUInt32BE(t,4),e&&e.copy(i,8),i.writeInt32BE(kE.crc32(i.slice(4,i.length-4)),i.length-4),i};ja.prototype.packGAMA=function(t){let e=Buffer.alloc(4);return e.writeUInt32BE(Math.floor(t*wo.GAMMA_DIVISION),0),this._packChunk(wo.TYPE_gAMA,e)};ja.prototype.packIHDR=function(t,e){let o=Buffer.alloc(13);return o.writeUInt32BE(t,0),o.writeUInt32BE(e,4),o[8]=this._options.bitDepth,o[9]=this._options.colorType,o[10]=0,o[11]=0,o[12]=0,this._packChunk(wo.TYPE_IHDR,o)};ja.prototype.packIDAT=function(t){return this._packChunk(wo.TYPE_IDAT,t)};ja.prototype.packIEND=function(){return this._packChunk(wo.TYPE_IEND,null)}});var AN=R((Y8,ON)=>{"use strict";var YE=require("util"),wN=require("stream"),WE=xp(),JE=eg(),IN=ON.exports=function(t){wN.call(this);let e=t||{};this._packer=new JE(e),this._deflate=this._packer.createDeflate(),this.readable=!0};YE.inherits(IN,wN);IN.prototype.pack=function(t,e,o,i){this.emit("data",Buffer.from(WE.PNG_SIGNATURE)),this.emit("data",this._packer.packIHDR(e,o)),i&&this.emit("data",this._packer.packGAMA(i));let r=this._packer.filterData(t,e,o);this._deflate.on("error",this.emit.bind(this,"error")),this._deflate.on("data",(function(n){this.emit("data",this._packer.packIDAT(n))}).bind(this)),this._deflate.on("end",(function(){this.emit("data",this._packer.packIEND()),this.emit("end")}).bind(this)),this._deflate.end(r)}});var zN=R((du,TN)=>{"use strict";var FN=require("assert").ok,Sp=require("zlib"),XE=require("util"),DN=require("buffer").kMaxLength;function Ts(t){if(!(this instanceof Ts))return new Ts(t);t&&t.chunkSize<Sp.Z_MIN_CHUNK&&(t.chunkSize=Sp.Z_MIN_CHUNK),Sp.Inflate.call(this,t),this._offset=this._offset===void 0?this._outOffset:this._offset,this._buffer=this._buffer||this._outBuffer,t&&t.maxLength!=null&&(this._maxLength=t.maxLength)}s(Ts,"Inflate");function KE(t){return new Ts(t)}s(KE,"createInflate");function EN(t,e){e&&process.nextTick(e),t._handle&&(t._handle.close(),t._handle=null)}s(EN,"_close");Ts.prototype._processChunk=function(t,e,o){if(typeof o=="function")return Sp.Inflate._processChunk.call(this,t,e,o);let i=this,r=t&&t.length,n=this._chunkSize-this._offset,a=this._maxLength,c=0,p=[],u=0,l;this.on("error",function(x){l=x});function d(x,N){if(i._hadError)return;let C=n-N;if(FN(C>=0,"have should not go down"),C>0){let b=i._buffer.slice(i._offset,i._offset+C);if(i._offset+=C,b.length>a&&(b=b.slice(0,a)),p.push(b),u+=b.length,a-=b.length,a===0)return!1}return(N===0||i._offset>=i._chunkSize)&&(n=i._chunkSize,i._offset=0,i._buffer=Buffer.allocUnsafe(i._chunkSize)),N===0?(c+=r-x,r=x,!0):!1}s(d,"handleChunk"),FN(this._handle,"zlib binding closed");let m;do m=this._handle.writeSync(e,t,c,r,this._buffer,this._offset,n),m=m||this._writeState;while(!this._hadError&&d(m[0],m[1]));if(this._hadError)throw l;if(u>=DN)throw EN(this),new RangeError("Cannot create final Buffer. It would be larger than 0x"+DN.toString(16)+" bytes");let y=Buffer.concat(p,u);return EN(this),y};XE.inherits(Ts,Sp.Inflate);function $E(t,e){if(typeof e=="string"&&(e=Buffer.from(e)),!(e instanceof Buffer))throw new TypeError("Not a string or buffer");let o=t._finishFlushFlag;return o==null&&(o=Sp.Z_FINISH),t._processChunk(e,o)}s($E,"zlibBufferSync");function PN(t,e){return $E(new Ts(e),t)}s(PN,"inflateSync");TN.exports=du=PN;du.Inflate=Ts;du.createInflate=KE;du.inflateSync=PN});var tg=R((J8,BN)=>{"use strict";var jN=BN.exports=function(t){this._buffer=t,this._reads=[]};jN.prototype.read=function(t,e){this._reads.push({length:Math.abs(t),allowLess:t<0,func:e})};jN.prototype.process=function(){for(;this._reads.length>0&&this._buffer.length;){let t=this._reads[0];if(this._buffer.length&&(this._buffer.length>=t.length||t.allowLess)){this._reads.shift();let e=this._buffer;this._buffer=e.slice(t.length),t.func.call(this,e.slice(0,t.length))}else break}if(this._reads.length>0)return new Error("There are some read requests waitng on finished stream");if(this._buffer.length>0)return new Error("unrecognised content at end of stream")}});var LN=R(MN=>{"use strict";var eP=tg(),tP=Qv();MN.process=function(t,e){let o=[],i=new eP(t);return new tP(e,{read:i.read.bind(i),write:s(function(n){o.push(n)},"write"),complete:s(function(){},"complete")}).start(),i.process(),Buffer.concat(o)}});var qN=R(($8,UN)=>{"use strict";var VN=!0,_N=require("zlib"),oP=zN();_N.deflateSync||(VN=!1);var iP=tg(),nP=LN(),rP=Jv(),aP=Xv(),sP=Kv();UN.exports=function(t,e){if(!VN)throw new Error("To use the sync capability of this library in old node versions, please pin pngjs to v2.3.0");let o;function i(D){o=D}s(i,"handleError");let r;function n(D){r=D}s(n,"handleMetaData");function a(D){r.transColor=D}s(a,"handleTransColor");function c(D){r.palette=D}s(c,"handlePalette");function p(){r.alpha=!0}s(p,"handleSimpleTransparency");let u;function l(D){u=D}s(l,"handleGamma");let d=[];function m(D){d.push(D)}s(m,"handleInflateData");let y=new iP(t);if(new rP(e,{read:y.read.bind(y),error:i,metadata:n,gamma:l,palette:c,transColor:a,inflateData:m,simpleTransparency:p}).start(),y.process(),o)throw o;let N=Buffer.concat(d);d.length=0;let C;if(r.interlace)C=_N.inflateSync(N);else{let U=((r.width*r.bpp*r.depth+7>>3)+1)*r.height;C=oP(N,{chunkSize:U,maxLength:U})}if(N=null,!C||!C.length)throw new Error("bad png - invalid inflate data response");let b=nP.process(C,r);N=null;let I=aP.dataToBitMap(b,r);b=null;let A=sP(I,r);return r.data=A,r.gamma=u||0,r}});var QN=R((t5,GN)=>{"use strict";var HN=!0,kN=require("zlib");kN.deflateSync||(HN=!1);var cP=xp(),pP=eg();GN.exports=function(t,e){if(!HN)throw new Error("To use the sync capability of this library in old node versions, please pin pngjs to v2.3.0");let o=e||{},i=new pP(o),r=[];r.push(Buffer.from(cP.PNG_SIGNATURE)),r.push(i.packIHDR(t.width,t.height)),t.gamma&&r.push(i.packGAMA(t.gamma));let n=i.filterData(t.data,t.width,t.height),a=kN.deflateSync(n,i.getDeflateOptions());if(n=null,!a||!a.length)throw new Error("bad png - invalid compressed data response");return r.push(i.packIDAT(a)),r.push(i.packIEND()),Buffer.concat(r)}});var ZN=R(og=>{"use strict";var lP=qN(),uP=QN();og.read=function(t,e){return lP(t,e||{})};og.write=function(t,e){return uP(t,e)}});var JN=R(WN=>{"use strict";var dP=require("util"),YN=require("stream"),fP=yN(),mP=AN(),hP=ZN(),Lo=WN.PNG=function(t){YN.call(this),t=t||{},this.width=t.width|0,this.height=t.height|0,this.data=this.width>0&&this.height>0?Buffer.alloc(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 fP(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 mP(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"))};dP.inherits(Lo,YN);Lo.sync=hP;Lo.prototype.pack=function(){return!this.data||!this.data.length?(this.emit("error","No data provided"),this):(process.nextTick((function(){this._packer.pack(this.data,this.width,this.height,this.gamma)}).bind(this)),this)};Lo.prototype.parse=function(t,e){if(e){let o,i;o=(function(r){this.removeListener("error",i),this.data=r,e(null,this)}).bind(this),i=(function(r){this.removeListener("parsed",o),e(r,null)}).bind(this),this.once("parsed",o),this.once("error",i)}return this.end(t),this};Lo.prototype.write=function(t){return this._parser.write(t),!0};Lo.prototype.end=function(t){this._parser.end(t)};Lo.prototype._metadata=function(t){this.width=t.width,this.height=t.height,this.emit("metadata",t)};Lo.prototype._gamma=function(t){this.gamma=t};Lo.prototype._handleClose=function(){!this._parser.writable&&!this._packer.readable&&this.emit("close")};Lo.bitblt=function(t,e,o,i,r,n,a,c){if(o|=0,i|=0,r|=0,n|=0,a|=0,c|=0,o>t.width||i>t.height||o+r>t.width||i+n>t.height)throw new Error("bitblt reading outside image");if(a>e.width||c>e.height||a+r>e.width||c+n>e.height)throw new Error("bitblt writing outside image");for(let p=0;p<n;p++)t.data.copy(e.data,(c+p)*e.width+a<<2,(i+p)*t.width+o<<2,(i+p)*t.width+o+r<<2)};Lo.prototype.bitblt=function(t,e,o,i,r,n,a){return Lo.bitblt(this,t,e,o,i,r,n,a),this};Lo.adjustGamma=function(t){if(t.gamma){for(let e=0;e<t.height;e++)for(let o=0;o<t.width;o++){let i=t.width*e+o<<2;for(let r=0;r<3;r++){let n=t.data[i+r]/255;n=Math.pow(n,1/2.2/t.gamma),t.data[i+r]=Math.round(n*255)}}t.gamma=0}};Lo.prototype.adjustGamma=function(){Lo.adjustGamma(this)}});var fu=R(zs=>{"use strict";function XN(t){if(typeof t=="number"&&(t=t.toString()),typeof t!="string")throw new Error("Color should be defined as hex string");let e=t.slice().replace("#","").split("");if(e.length<3||e.length===5||e.length>8)throw new Error("Invalid hex color: "+t);(e.length===3||e.length===4)&&(e=Array.prototype.concat.apply([],e.map(function(i){return[i,i]}))),e.length===6&&e.push("F","F");let o=parseInt(e.join(""),16);return{r:o>>24&255,g:o>>16&255,b:o>>8&255,a:o&255,hex:"#"+e.slice(0,6).join("")}}s(XN,"hex2rgba");zs.getOptions=s(function(e){e||(e={}),e.color||(e.color={});let o=typeof e.margin>"u"||e.margin===null||e.margin<0?4:e.margin,i=e.width&&e.width>=21?e.width:void 0,r=e.scale||4;return{width:i,scale:i?4:r,margin:o,color:{dark:XN(e.color.dark||"#000000ff"),light:XN(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},"getOptions");zs.getScale=s(function(e,o){return o.width&&o.width>=e+o.margin*2?o.width/(e+o.margin*2):o.scale},"getScale");zs.getImageWidth=s(function(e,o){let i=zs.getScale(e,o);return Math.floor((e+o.margin*2)*i)},"getImageWidth");zs.qrToImageData=s(function(e,o,i){let r=o.modules.size,n=o.modules.data,a=zs.getScale(r,i),c=Math.floor((r+i.margin*2)*a),p=i.margin*a,u=[i.color.light,i.color.dark];for(let l=0;l<c;l++)for(let d=0;d<c;d++){let m=(l*c+d)*4,y=i.color.light;if(l>=p&&d>=p&&l<c-p&&d<c-p){let x=Math.floor((l-p)/a),N=Math.floor((d-p)/a);y=u[n[x*r+N]?1:0]}e[m++]=y.r,e[m++]=y.g,e[m++]=y.b,e[m]=y.a}},"qrToImageData")});var KN=R(Xn=>{"use strict";var vP=require("fs"),gP=JN().PNG,ig=fu();Xn.render=s(function(e,o){let i=ig.getOptions(o),r=i.rendererOpts,n=ig.getImageWidth(e.modules.size,i);r.width=n,r.height=n;let a=new gP(r);return ig.qrToImageData(a.data,e,i),a},"render");Xn.renderToDataURL=s(function(e,o,i){typeof i>"u"&&(i=o,o=void 0),Xn.renderToBuffer(e,o,function(r,n){r&&i(r);let a="data:image/png;base64,";a+=n.toString("base64"),i(null,a)})},"renderToDataURL");Xn.renderToBuffer=s(function(e,o,i){typeof i>"u"&&(i=o,o=void 0);let r=Xn.render(e,o),n=[];r.on("error",i),r.on("data",function(a){n.push(a)}),r.on("end",function(){i(null,Buffer.concat(n))}),r.pack()},"renderToBuffer");Xn.renderToFile=s(function(e,o,i,r){typeof r>"u"&&(r=i,i=void 0);let n=!1,a=s((...p)=>{n||(n=!0,r.apply(null,p))},"done"),c=vP.createWriteStream(e);c.on("error",a),c.on("close",a),Xn.renderToFileStream(c,o,i)},"renderToFile");Xn.renderToFileStream=s(function(e,o,i){Xn.render(o,i).pack().pipe(e)},"renderToFileStream")});var $N=R(af=>{"use strict";var yP=fu(),bP={WW:" ",WB:"\u2584",BB:"\u2588",BW:"\u2580"},xP={BB:" ",BW:"\u2584",WW:"\u2588",WB:"\u2580"};function SP(t,e,o){return t&&e?o.BB:t&&!e?o.BW:!t&&e?o.WB:o.WW}s(SP,"getBlockChar");af.render=function(t,e,o){let i=yP.getOptions(e),r=bP;(i.color.dark.hex==="#ffffff"||i.color.light.hex==="#000000")&&(r=xP);let n=t.modules.size,a=t.modules.data,c="",p=Array(n+i.margin*2+1).join(r.WW);p=Array(i.margin/2+1).join(p+`
20
+ `);let u=Array(i.margin+1).join(r.WW);c+=p;for(let l=0;l<n;l+=2){c+=u;for(let d=0;d<n;d++){let m=a[l*n+d],y=a[(l+1)*n+d];c+=SP(m,y,r)}c+=u+`
21
+ `}return c+=p.slice(0,-1),typeof o=="function"&&o(null,c),c};af.renderToFile=s(function(e,o,i,r){typeof r>"u"&&(r=i,i=void 0);let n=require("fs"),a=af.render(o,i);n.writeFile(e,a,r)},"renderToFile")});var tR=R(eR=>{"use strict";eR.render=function(t,e,o){let i=t.modules.size,r=t.modules.data,n="\x1B[40m \x1B[0m",a="\x1B[47m \x1B[0m",c="",p=Array(i+3).join(a),u=Array(2).join(a);c+=p+`
22
22
  `;for(let l=0;l<i;++l){c+=a;for(let d=0;d<i;d++)c+=r[l*i+d]?n:a;c+=u+`
23
23
  `}return c+=p+`
24
- `,typeof o=="function"&&o(null,c),c}});var iR=R(oR=>{"use strict";var xP="\x1B[47m",SP="\x1B[40m",ig="\x1B[37m",ng="\x1B[30m",js="\x1B[0m",CP=xP+ng,NP=SP+ig,RP=s(function(t,e,o){return{"00":js+" "+t,"01":js+e+"\u2584"+t,"02":js+o+"\u2584"+t,10:js+e+"\u2580"+t,11:" ",12:"\u2584",20:js+o+"\u2580"+t,21:"\u2580",22:"\u2588"}},"createPalette"),eR=s(function(t,e,o,i){let r=e+1;if(o>=r||i>=r||i<-1||o<-1)return"0";if(o>=e||i>=e||i<0||o<0)return"1";let n=i*e+o;return t[n]?"2":"1"},"mkCodePixel"),tR=s(function(t,e,o,i){return eR(t,e,o,i)+eR(t,e,o,i+1)},"mkCode");oR.render=function(t,e,o){let i=t.modules.size,r=t.modules.data,n=!!(e&&e.inverse),a=e&&e.inverse?NP:CP,u=RP(a,n?ng:ig,n?ig:ng),l=js+`
25
- `+a,d=a;for(let m=-1;m<i+1;m+=2){for(let y=-1;y<i;y++)d+=u[tR(r,i,y,m)];d+=u[tR(r,i,i,m)]+l}return d+=js,typeof o=="function"&&o(null,d),d}});var rR=R(nR=>{"use strict";var wP=$N(),IP=iR();nR.render=function(t,e,o){return e&&e.small?IP.render(t,e,o):wP.render(t,e,o)}});var ag=R(sR=>{"use strict";var OP=fu();function aR(t,e){let o=t.a/255,i=e+'="'+t.hex+'"';return o<1?i+" "+e+'-opacity="'+o.toFixed(2).slice(1)+'"':i}s(aR,"getColorAttrib");function rg(t,e,o){let i=t+e;return typeof o<"u"&&(i+=" "+o),i}s(rg,"svgCmd");function AP(t,e,o){let i="",r=0,n=!1,a=0;for(let c=0;c<t.length;c++){let p=Math.floor(c%e),u=Math.floor(c/e);!p&&!n&&(n=!0),t[c]?(a++,c>0&&p>0&&t[c-1]||(i+=n?rg("M",p+o,.5+u+o):rg("m",r,0),r=0,n=!1),p+1<e&&t[c+1]||(i+=rg("h",a),a=0)):r++}return i}s(AP,"qrToPath");sR.render=s(function(e,o,i){let r=OP.getOptions(o),n=e.modules.size,a=e.modules.data,c=n+r.margin*2,p=r.color.light.a?"<path "+aR(r.color.light,"fill")+' d="M0 0h'+c+"v"+c+'H0z"/>':"",u="<path "+aR(r.color.dark,"stroke")+' d="'+AP(a,n,r.margin)+'"/>',l='viewBox="0 0 '+c+" "+c+'"',m='<svg xmlns="http://www.w3.org/2000/svg" '+(r.width?'width="'+r.width+'" height="'+r.width+'" ':"")+l+' shape-rendering="crispEdges">'+p+u+`</svg>
26
- `;return typeof i=="function"&&i(null,m),m},"render")});var cR=R(af=>{"use strict";var FP=ag();af.render=FP.render;af.renderToFile=s(function(e,o,i,r){typeof r>"u"&&(r=i,i=void 0);let n=require("fs"),c='<?xml version="1.0" encoding="utf-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">'+af.render(o,i);n.writeFile(e,c,r)},"renderToFile")});var pR=R(sf=>{"use strict";var sg=fu();function DP(t,e,o){t.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=o,e.width=o,e.style.height=o+"px",e.style.width=o+"px"}s(DP,"clearCanvas");function EP(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}s(EP,"getCanvasElement");sf.render=s(function(e,o,i){let r=i,n=o;typeof r>"u"&&(!o||!o.getContext)&&(r=o,o=void 0),o||(n=EP()),r=sg.getOptions(r);let a=sg.getImageWidth(e.modules.size,r),c=n.getContext("2d"),p=c.createImageData(a,a);return sg.qrToImageData(p.data,e,r),DP(c,n,a),c.putImageData(p,0,0),n},"render");sf.renderToDataURL=s(function(e,o,i){let r=i;typeof r>"u"&&(!o||!o.getContext)&&(r=o,o=void 0),r||(r={});let n=sf.render(e,o,r),a=r.type||"image/png",c=r.rendererOpts||{};return n.toDataURL(a,c.quality)},"renderToDataURL")});var uR=R(mu=>{"use strict";var PP=Sv(),cg=_v(),lR=pR(),TP=ag();function pg(t,e,o,i,r){let n=[].slice.call(arguments,1),a=n.length,c=typeof n[a-1]=="function";if(!c&&!PP())throw new Error("Callback required as last argument");if(c){if(a<2)throw new Error("Too few arguments provided");a===2?(r=o,o=e,e=i=void 0):a===3&&(e.getContext&&typeof r>"u"?(r=i,i=void 0):(r=i,i=o,o=e,e=void 0))}else{if(a<1)throw new Error("Too few arguments provided");return a===1?(o=e,e=i=void 0):a===2&&!e.getContext&&(i=o,o=e,e=void 0),new Promise(function(p,u){try{let l=cg.create(o,i);p(t(l,e,i))}catch(l){u(l)}})}try{let p=cg.create(o,i);r(null,t(p,e,i))}catch(p){r(p)}}s(pg,"renderCanvas");mu.create=cg.create;mu.toCanvas=pg.bind(null,lR.render);mu.toDataURL=pg.bind(null,lR.renderToDataURL);mu.toString=pg.bind(null,function(t,e,o){return TP.render(t,o)})});var hR=R(Ba=>{"use strict";var dR=Sv(),lg=_v(),zP=WN(),fR=XN(),jP=rR(),mR=cR();function hu(t,e,o){if(typeof t>"u")throw new Error("String required as first argument");if(typeof o>"u"&&(o=e,e={}),typeof o!="function")if(dR())e=o||{},o=null;else throw new Error("Callback required as last argument");return{opts:e,cb:o}}s(hu,"checkParams");function BP(t){return t.slice((t.lastIndexOf(".")-1>>>0)+2).toLowerCase()}s(BP,"getTypeFromFilename");function cf(t){switch(t){case"svg":return mR;case"txt":case"utf8":return fR;default:return zP}}s(cf,"getRendererFromType");function MP(t){switch(t){case"svg":return mR;case"terminal":return jP;default:return fR}}s(MP,"getStringRendererFromType");function vu(t,e,o){if(!o.cb)return new Promise(function(i,r){try{let n=lg.create(e,o.opts);return t(n,o.opts,function(a,c){return a?r(a):i(c)})}catch(n){r(n)}});try{let i=lg.create(e,o.opts);return t(i,o.opts,o.cb)}catch(i){o.cb(i)}}s(vu,"render");Ba.create=lg.create;Ba.toCanvas=uR().toCanvas;Ba.toString=s(function(e,o,i){let r=hu(e,o,i),n=r.opts?r.opts.type:void 0,a=MP(n);return vu(a.render,e,r)},"toString");Ba.toDataURL=s(function(e,o,i){let r=hu(e,o,i),n=cf(r.opts.type);return vu(n.renderToDataURL,e,r)},"toDataURL");Ba.toBuffer=s(function(e,o,i){let r=hu(e,o,i),n=cf(r.opts.type);return vu(n.renderToBuffer,e,r)},"toBuffer");Ba.toFile=s(function(e,o,i,r){if(typeof e!="string"||!(typeof o=="string"||typeof o=="object"))throw new Error("Invalid argument");if(arguments.length<3&&!dR())throw new Error("Too few arguments provided");let n=hu(o,i,r),a=n.opts.type||BP(e),p=cf(a).renderToFile.bind(null,e);return vu(p,o,n)},"toFile");Ba.toFileStream=s(function(e,o,i){if(arguments.length<2)throw new Error("Too few arguments provided");let r=hu(o,i,e.emit.bind(e,"error")),a=cf("png").renderToFileStream.bind(null,e);vu(a,o,r)},"toFileStream")});var ug=R((C5,vR)=>{"use strict";vR.exports=hR()});var VP={};yg(VP,{AccessKeyBuilder:()=>Vp,DanfceDefaultPdfDocument:()=>fg,DanfceReducedPdfDocument:()=>mg,DanfeDefaultPdfDocument:()=>hg,DanfeMargins:()=>Tf,DanfeRtcPdfDocument:()=>vg,DanfeSize:()=>zR,DefaultDetBuilderAggregator:()=>_p,DefaultSchema:()=>Pf,DefaultTotalBuilderAggregator:()=>Up,EventoCstatToCancelRegister:()=>Ff,EventoCstatToProtocol:()=>Af,InutCstatToProtocol:()=>Df,NFCeDto:()=>Jn,NFeDto:()=>Lr,NfceAuthorizerPipeline:()=>Cl,NfceCancelPipeline:()=>Sh,NfceConsultProtocoloPipeline:()=>wh,NfceConsultStatusPipeline:()=>Rh,NfceContingencyXmlAuthorizerPipeline:()=>Ch,NfceQrcode:()=>Jt,NfceRemoteTransmitter:()=>Mt,NfceVoidRangePipeline:()=>Nh,NfceXmlBuilder:()=>nu,NfceXmlBuilderPipeline:()=>xv,NfeAuthorizationResponsePipeline:()=>hh,NfeAuthorizerPipeline:()=>bl,NfeCancelPipeline:()=>gl,NfeComplements:()=>zf,NfeConsultProtocoloPipeline:()=>Sl,NfeConsultStatusPipeline:()=>xl,NfeDetXmlBuilder:()=>ft,NfeDistribuicaoDFePipeline:()=>gh,NfeManifestacaoPipeline:()=>vh,NfeRemoteTransmitter:()=>Ao,NfeVoidRangePipeline:()=>mc,NfeXmlBuilder:()=>pe,NfeXmlBuilderPipeline:()=>iu,PL_009:()=>TR,PL_010:()=>Io,TpEmis:()=>ht,TpEvent:()=>vt,XmlValidationError:()=>Mp,mm:()=>V,ptPerMm:()=>Cg,schemas:()=>Lp});module.exports=PR(VP);var xg=require("nfets/core");var Mp=class extends xg.NFeTsError{static{s(this,"XmlValidationError")}xml;name="XmlValidationError";constructor(e,o,i){super(e,i),this.xml=o}};var ht=(function(t){return t.Normal="1",t.EPEC="4",t.SVCAN="6",t.SVCRS="7",t.OFFLINE="9",t})({});var vt=(function(t){return t.Cancelamento="110111",t.CancelamentoSubstituicao="110112",t.ConfirmacaoOperacao="210200",t.CienciaOperacao="210210",t.DesconhecimentoOperacao="210220",t.OperacaoNaoRealizada="210240",t})({});var Af=(function(t){return t.RegistradoEVinculado="135",t})({}),Ff=(function(t){return t.RegistradoEVinculado="135",t.RegistradoNaoVinculado="136",t.CancelamentoHomologadoForaPrazo="155",t})({});var Df=(function(t){return t.InutilizacaoHomologada="102",t})({});var Ef=require("nfets/core");var Us={PL_009_V4:"PL_009_V4",PL_010_V1:"PL_010_V1",PL_010_V1_21:"PL_010_V1.21",PL_010_V1_30:"PL_010_V1.30"},TR=[Us.PL_009_V4],Io=[Us.PL_010_V1,Us.PL_010_V1_21,Us.PL_010_V1_30],Pf=Us.PL_009_V4,Lp=s(()=>{if(process.env.NFETS_NFE_SCHEMAS_DIR)return process.env.NFETS_NFE_SCHEMAS_DIR;try{return(0,Ef.search)("packages/nfe/schemas",{onFound:s(t=>t,"onFound"),onNotFound:s(()=>{throw new Error("Schemas not found on packages/nfe/schemas")},"onNotFound")})}catch{return(0,Ef.search)("nfe/schemas",{onFound:s(t=>t,"onFound"),onNotFound:s(()=>{throw new Error("Schemas not found on nfe/schemas")},"onNotFound")})}},"schemas"),Sg=Us;var Cg=2.834645669291339,V=s(t=>t*Cg,"mm"),zR={A4:[V(210),V(297)]},Tf={top:V(5),right:V(5),bottom:V(5),left:V(5)};var Vp=class{static{s(this,"AccessKeyBuilder")}compile(e){let o=e.cUF.toString().padStart(2,"0"),i=e.year.toString().padStart(2,"0"),r=e.month.toString().padStart(2,"0"),n=(e.identification??"").padStart(14,"0"),a=e.mod.toString().padStart(2,"0"),c=e.serie.toString().padStart(3,"0"),p=e.nNF.toString().padStart(9,"0"),u=e.tpEmis.toString().padStart(1,"0"),l=(e.cNF??this.code()).toString().padStart(8,"0"),d=`${o}${i}${r}${n}${a}${c}${p}${u}${l}`;return`${d}${this.verifyingDigit(d)}`}decompile(e){if(e=e.trim().replace(/^NFe/,""),e.length!==44)return;let i=/^([0-9]{2})([0-9]{2})([0-9]{2})([A-Z0-9]{14})([0-9]{2})([0-9]{3})([0-9]{9})([0-9]{1})([0-9]{8})([0-9]{1})$/.exec(e);if(!i)return;let[r,n,a,c,p,u,l,d,m,y,x]=i;return{cUF:n,year:a,month:c,identification:p,mod:u,serie:l,nNF:d,tpEmis:m,cNF:y,vd:x}}code(){let e=Math.floor(Math.random()*1e8).toString().padStart(8,"0");return this.isCodeValid(e)?e:this.code()}isCodeValid(e){return!~["00000000","11111111","22222222","33333333","44444444","55555555","66666666","77777777","88888888","99999999","12345678","23456789","34567890","45678901","56789012","67890123","78901234","89012345","90123456","01234567"].indexOf(e)}verifyingDigit(e){let o=[4,3,2,9,8,7,6,5,4,3,2,9,8,7,6,5,4,3,2,9,8,7,6,5,4,3,2,9,8,7,6,5,4,3,2,9,8,7,6,5,4,3,2],i=48,r=43,n=0;for(let c=0;c<r;c++){let p=e.charCodeAt(c)-i;n+=p*o[c]}return n%11<2?0:11-n%11}};var Ng=require("nfets/core");var Bi=require("nfets/core");var jR=new Set([vt.Cancelamento,vt.CancelamentoSubstituicao]),zf=class{static{s(this,"NfeComplements")}toolkit;constructor(e=new Ng.Xml2JsToolkit){this.toolkit=e}cancelRegister(e,o){if(!e.trim())return(0,Bi.left)(new Bi.NFeTsError("Please provide a valid authorized NFe xml"));let i=this.toolkit.getNode(e,"protNFe");if(!i)return(0,Bi.left)(new Bi.NFeTsError("NFe not protocoladed"));let r=this.toolkit.getNodeValue(i,"chNFe");if(!r)return(0,Bi.left)(new Bi.NFeTsError("Access key not found in protNFe"));let n=this.findMatchingRetEvento(o,r);return n?(0,Bi.right)(this.toolkit.appendNode(e,n)):(0,Bi.right)(e)}findMatchingRetEvento(e,o){for(let i of this.toolkit.getNodes(e,"retEvento")){let r=this.toolkit.getNodeValue(i,"cStat"),n=this.toolkit.getNodeValue(i,"tpEvento"),a=this.toolkit.getNodeValue(i,"chNFe");if(r&&Object.values(Ff).includes(r)&&n&&jR.has(n)&&a===o)return i}return null}};var jf=require("nfets/core");var _p=class{static{s(this,"DefaultDetBuilderAggregator")}builder;zero=jf.Decimal.from(0);constructor(e){this.builder=e}prod(e){this.builder.increment(({ICMSTot:o})=>({ICMSTot:{vProd:this.sum(o?.vProd,e.vProd),vFrete:this.sum(o?.vFrete,e.vFrete),vSeg:this.sum(o?.vSeg,e.vSeg),vDesc:this.sum(o?.vDesc,e.vDesc),vOutro:this.sum(o?.vOutro,e.vOutro)}}))}issqn(e){this.builder.increment(({ISSQNtot:o})=>({ISSQNtot:{vISS:this.sum(o?.vISS,e.vISSQN)}}))}cofins(e){this.builder.increment(({ICMSTot:o})=>({ICMSTot:{vCOFINS:this.sum(o?.vCOFINS,e.COFINSAliq?.vCOFINS??e.COFINSOutr?.vCOFINS??e.COFINSQtde?.vCOFINS)}}))}pis(e){this.builder.increment(({ICMSTot:o})=>({ICMSTot:{vPIS:this.sum(o?.vPIS,e.PISAliq?.vPIS??e.PISOutr?.vPIS??e.PISQtde?.vPIS)}}))}icms(e){let[o]=Object.keys(e),i=e[o];this.builder.increment(({ICMSTot:r})=>({ICMSTot:{vBC:this.sum(r?.vBC,i.vBC),vICMS:this.sum(r?.vICMS,i.vICMS),vICMSDeson:this.sum(r?.vICMSDeson,i.vICMSDeson),vBCST:this.sum(r?.vBCST,i.vBCST),vST:this.sum(r?.vST,i.vICMSST),vFCP:this.sum(r?.vFCP,i.vFCP),vFCPST:this.sum(r?.vFCPST,i.vFCPST),vFCPSTRet:this.sum(r?.vFCPSTRet,i.vFCPSTRet),qBCMono:this.sum(r?.qBCMono,i.qBCMono),vICMSMono:this.sum(r?.vICMSMono,i.vICMSMono),qBCMonoReten:this.sum(r?.qBCMonoReten,i.qBCMonoReten),vICMSMonoReten:this.sum(r?.vICMSMonoReten,i.vICMSMonoReten),qBCMonoRet:this.sum(r?.qBCMonoRet,i.qBCMonoRet),vICMSMonoRet:this.sum(r?.vICMSMonoRet,i.vICMSMonoRet)}}))}imposto(e){e.vTotTrib!=null&&this.builder.increment(({ICMSTot:o})=>({ICMSTot:{vTotTrib:this.sum(o?.vTotTrib,e.vTotTrib)}}))}ii(e){e.vII&&this.builder.increment(({ICMSTot:o})=>({ICMSTot:{vII:this.sum(o?.vII,e.vII)}}))}ipi(e){let o=e.IPITrib?.vIPI;o&&this.builder.increment(({ICMSTot:i})=>({ICMSTot:{vIPI:this.sum(i?.vIPI,o)}}))}impostoDevol(e){let o=e.IPI?.vIPIDevol;o&&this.builder.increment(({ICMSTot:i})=>({ICMSTot:{vIPIDevol:this.sum(i?.vIPIDevol,o)}}))}sum(e,o,i=2){return jf.Decimal.newOrZero(e).add(o??this.zero).toFixed(i)}};var xu=require("nfets/core");var Up=class{static{s(this,"DefaultTotalBuilderAggregator")}builder;constructor(e){this.builder=e}aggregate(){let e=xu.Decimal.from(0),o=Io.includes(this.builder.schema??"");this.builder.increment(({ICMSTot:i,ISSQNtot:r},n)=>{let a=this.resolveDeductibleVICMSDeson(n);return{...o?{vNFTot:n.reduce((c,p)=>c.add(p?.vItem??e),e).toFixed(2)}:{},ICMSTot:{vNF:xu.Decimal.newOrZero(i?.vProd).sub(i?.vDesc??e).sub(a).add(i?.vST??e).add(i?.vFCPST??e).add(i?.vICMSMonoReten??e).add(i?.vFrete??e).add(i?.vSeg??e).add(i?.vOutro??e).add(i?.vII??e).add(i?.vIPI??e).add(i?.vIPIDevol??e).add(r?.vServ??e).toFixed(2)}}})}resolveDeductibleVICMSDeson(e){let o=xu.Decimal.from(0);return e.length?e.reduce((i,r)=>{let n=r?.imposto?.ICMS;if(!n)return i;let[a]=Object.keys(n),c=n[a];return c?.indDeduzDeson!=="1"||c.vICMSDeson==null?i:i.add(c.vICMSDeson)},o).toFixed(2):o.toFixed(2)}};var Wr=require("nfets/core");var qs={[vt.Cancelamento]:{method:"envEventoCancNFe",version:"1.00",descEvento:"Cancelamento"},[vt.CancelamentoSubstituicao]:{method:"envEventoCancSubstNFe",version:"1.00",descEvento:"Cancelamento por substituicao"},[vt.ConfirmacaoOperacao]:{method:"envConfRecebto",version:"1.00",descEvento:"Confirmacao da Operacao"},[vt.CienciaOperacao]:{method:"envConfRecebto",version:"1.00",descEvento:"Ciencia da Operacao"},[vt.DesconhecimentoOperacao]:{method:"envConfRecebto",version:"1.00",descEvento:"Desconhecimento da Operacao"},[vt.OperacaoNaoRealizada]:{method:"envConfRecebto",version:"1.00",descEvento:"Operacao nao Realizada"}};var ir=require("nfets/core");function qp(t,e){return s(function(){return t.apply(e,arguments)},"wrap")}s(qp,"bind");var{toString:BR}=Object.prototype,{getPrototypeOf:Hs}=Object,{iterator:kp,toStringTag:Ig}=Symbol,Cu=(({hasOwnProperty:t})=>(e,o)=>t.call(e,o))(Object.prototype),Hp=s((t,e)=>{let o=t,i=[];for(;o!=null&&o!==Object.prototype;){if(i.indexOf(o)!==-1)return!1;if(i.push(o),Cu(o,e))return!0;o=Hs(o)}return!1},"hasOwnInPrototypeChain"),MR=s((t,e)=>t!=null&&Hp(t,e)?t[e]:void 0,"getSafeProp"),Mf=(t=>e=>{let o=BR.call(e);return t[o]||(t[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),ui=s(t=>(t=t.toLowerCase(),e=>Mf(e)===t),"kindOfTest"),Nu=s(t=>e=>typeof e===t,"typeOfTest"),{isArray:ka}=Array,Ga=Nu("undefined");function ks(t){return t!==null&&!Ga(t)&&t.constructor!==null&&!Ga(t.constructor)&&Vo(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}s(ks,"isBuffer");var Og=ui("ArrayBuffer");function LR(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Og(t.buffer),e}s(LR,"isArrayBufferView");var VR=Nu("string"),Vo=Nu("function"),Ag=Nu("number"),Gs=s(t=>t!==null&&typeof t=="object","isObject"),_R=s(t=>t===!0||t===!1,"isBoolean"),Su=s(t=>{if(!Gs(t))return!1;let e=Hs(t);return(e===null||e===Object.prototype||Hs(e)===null)&&!Hp(t,Ig)&&!Hp(t,kp)},"isPlainObject"),UR=s(t=>{if(!Gs(t)||ks(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},"isEmptyObject"),qR=ui("Date"),HR=ui("File"),kR=s(t=>!!(t&&typeof t.uri<"u"),"isReactNativeBlob"),GR=s(t=>t&&typeof t.getParts<"u","isReactNative"),QR=ui("Blob"),ZR=ui("FileList"),YR=ui("Set"),JR=s(t=>Gs(t)&&Vo(t.pipe),"isStream");function WR(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}s(WR,"getGlobal");var Rg=WR(),wg=typeof Rg.FormData<"u"?Rg.FormData:void 0,XR=s(t=>{if(!t)return!1;if(wg&&t instanceof wg)return!0;let e=Hs(t);if(!e||e===Object.prototype||!Vo(t.append))return!1;let o=Mf(t);return o==="formdata"||o==="object"&&Vo(t.toString)&&t.toString()==="[object FormData]"},"isFormData"),KR=ui("URLSearchParams"),[$R,ew,tw,ow]=["ReadableStream","Request","Response","Headers"].map(ui),iw=s(t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),"trim");function Gp(t,e,{allOwnKeys:o=!1}={}){if(t===null||typeof t>"u")return;let i,r;if(typeof t!="object"&&(t=[t]),ka(t))for(i=0,r=t.length;i<r;i++)e.call(null,t[i],i,t);else{if(ks(t))return;let n=o?Object.getOwnPropertyNames(t):Object.keys(t),a=n.length,c;for(i=0;i<a;i++)c=n[i],e.call(null,t[c],c,t)}}s(Gp,"forEach");function Fg(t,e){if(ks(t))return null;e=e.toLowerCase();let o=Object.keys(t),i=o.length,r;for(;i-- >0;)if(r=o[i],e===r.toLowerCase())return r;return null}s(Fg,"findKey");var Ha=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Dg=s(t=>!Ga(t)&&t!==Ha,"isContextDefined");function Bf(...t){let{caseless:e,skipUndefined:o}=Dg(this)&&this||{},i={},r=s((n,a)=>{if(a==="__proto__"||a==="constructor"||a==="prototype")return;let c=e&&typeof a=="string"&&Fg(i,a)||a,p=Cu(i,c)?i[c]:void 0;Su(p)&&Su(n)?i[c]=Bf(p,n):Su(n)?i[c]=Bf({},n):ka(n)?i[c]=n.slice():(!o||!Ga(n))&&(i[c]=n)},"assignValue");for(let n=0,a=t.length;n<a;n++){let c=t[n];if(!c||ks(c)||(Gp(c,r),typeof c!="object"||ka(c)))continue;let p=Object.getOwnPropertySymbols(c);for(let u=0;u<p.length;u++){let l=p[u];hw.call(c,l)&&r(c[l],l)}}return i}s(Bf,"merge");var nw=s((t,e,o,{allOwnKeys:i}={})=>(Gp(e,(r,n)=>{o&&Vo(r)?Object.defineProperty(t,n,{__proto__:null,value:qp(r,o),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,n,{__proto__:null,value:r,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:i}),t),"extend"),rw=s(t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),"stripBOM"),aw=s((t,e,o,i)=>{t.prototype=Object.create(e.prototype,i),Object.defineProperty(t.prototype,"constructor",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(t,"super",{__proto__:null,value:e.prototype}),o&&Object.assign(t.prototype,o)},"inherits"),sw=s((t,e,o,i)=>{let r,n,a,c={};if(e=e||{},t==null)return e;do{for(r=Object.getOwnPropertyNames(t),n=r.length;n-- >0;)a=r[n],(!i||i(a,t,e))&&!c[a]&&(e[a]=t[a],c[a]=!0);t=o!==!1&&Hs(t)}while(t&&(!o||o(t,e))&&t!==Object.prototype);return e},"toFlatObject"),cw=s((t,e,o)=>{t=String(t),(o===void 0||o>t.length)&&(o=t.length),o-=e.length;let i=t.indexOf(e,o);return i!==-1&&i===o},"endsWith"),pw=s(t=>{if(!t)return null;if(ka(t))return t;let e=t.length;if(!Ag(e))return null;let o=new Array(e);for(;e-- >0;)o[e]=t[e];return o},"toArray"),lw=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Hs(Uint8Array)),uw=s((t,e)=>{let i=(t&&t[kp]).call(t),r;for(;(r=i.next())&&!r.done;){let n=r.value;e.call(t,n[0],n[1])}},"forEachEntry"),dw=s((t,e)=>{let o,i=[];for(;(o=t.exec(e))!==null;)i.push(o);return i},"matchAll"),fw=ui("HTMLFormElement"),mw=s(t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,s(function(o,i,r){return i.toUpperCase()+r},"replacer")),"toCamelCase"),{propertyIsEnumerable:hw}=Object.prototype,vw=ui("RegExp"),Eg=s((t,e)=>{let o=Object.getOwnPropertyDescriptors(t),i={};Gp(o,(r,n)=>{let a;(a=e(r,n,t))!==!1&&(i[n]=a||r)}),Object.defineProperties(t,i)},"reduceDescriptors"),gw=s(t=>{Eg(t,(e,o)=>{if(Vo(t)&&["arguments","caller","callee"].includes(o))return!1;let i=t[o];if(Vo(i)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},"freezeMethods"),yw=s((t,e)=>{let o={},i=s(r=>{r.forEach(n=>{o[n]=!0})},"define");return ka(t)?i(t):i(String(t).split(e)),o},"toObjectSet"),bw=s(()=>{},"noop"),xw=s((t,e)=>t!=null&&Number.isFinite(t=+t)?t:e,"toFiniteNumber");function Sw(t){return!!(t&&Vo(t.append)&&t[Ig]==="FormData"&&t[kp])}s(Sw,"isSpecCompliantForm");var Cw=s(t=>{let e=new WeakSet,o=s(i=>{if(Gs(i)){if(e.has(i))return;if(ks(i))return i;if(!("toJSON"in i)){e.add(i);let r;if(YR(i)){r=[];for(let n of i){let a=o(n);!Ga(a)&&r.push(a)}}else r=ka(i)?[]:{},Gp(i,(n,a)=>{let c=o(n);!Ga(c)&&(r[a]=c)});return e.delete(i),r}}return i},"visit");return o(t)},"toJSONObject"),Nw=ui("AsyncFunction"),Rw=s(t=>t&&(Gs(t)||Vo(t))&&Vo(t.then)&&Vo(t.catch),"isThenable"),Pg=((t,e)=>t?setImmediate:e?((o,i)=>(Ha.addEventListener("message",({source:r,data:n})=>{r===Ha&&n===o&&i.length&&i.shift()()},!1),r=>{i.push(r),Ha.postMessage(o,"*")}))(`axios@${Math.random()}`,[]):o=>setTimeout(o))(typeof setImmediate=="function",Vo(Ha.postMessage)),ww=typeof queueMicrotask<"u"?queueMicrotask.bind(Ha):typeof process<"u"&&process.nextTick||Pg,Tg=s(t=>t!=null&&Vo(t[kp]),"isIterable"),Iw=s(t=>t!=null&&Hp(t,kp)&&Tg(t),"isSafeIterable"),h={isArray:ka,isArrayBuffer:Og,isBuffer:ks,isFormData:XR,isArrayBufferView:LR,isString:VR,isNumber:Ag,isBoolean:_R,isObject:Gs,isPlainObject:Su,isEmptyObject:UR,isReadableStream:$R,isRequest:ew,isResponse:tw,isHeaders:ow,isUndefined:Ga,isDate:qR,isFile:HR,isReactNativeBlob:kR,isReactNative:GR,isBlob:QR,isRegExp:vw,isFunction:Vo,isStream:JR,isURLSearchParams:KR,isTypedArray:lw,isFileList:ZR,forEach:Gp,merge:Bf,extend:nw,trim:iw,stripBOM:rw,inherits:aw,toFlatObject:sw,kindOf:Mf,kindOfTest:ui,endsWith:cw,toArray:pw,forEachEntry:uw,matchAll:dw,isHTMLForm:fw,hasOwnProperty:Cu,hasOwnProp:Cu,hasOwnInPrototypeChain:Hp,getSafeProp:MR,reduceDescriptors:Eg,freezeMethods:gw,toObjectSet:yw,toCamelCase:mw,noop:bw,toFiniteNumber:xw,findKey:Fg,global:Ha,isContextDefined:Dg,isSpecCompliantForm:Sw,toJSONObject:Cw,isAsyncFn:Nw,isThenable:Rw,setImmediate:Pg,asap:ww,isIterable:Tg,isSafeIterable:Iw};var Ow=h.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),zg=s((t=>{let e={},o,i,r;return t&&t.split(`
27
- `).forEach(s(function(a){r=a.indexOf(":"),o=a.substring(0,r).trim().toLowerCase(),i=a.substring(r+1).trim();let c=h.hasOwnProp(e,o);!o||c&&h.hasOwnProp(Ow,o)||(o==="set-cookie"?c?e[o].push(i):e[o]=[i]:e[o]=c?e[o]+", "+i:i)},"parser")),e}),"default");function Aw(t){let e=0,o=t.length;for(;e<o;){let i=t.charCodeAt(e);if(i!==9&&i!==32)break;e+=1}for(;o>e;){let i=t.charCodeAt(o-1);if(i!==9&&i!==32)break;o-=1}return e===0&&o===t.length?t:t.slice(e,o)}s(Aw,"trimSPorHTAB");var Fw=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Dw=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Lf(t,e){return h.isArray(t)?t.map(o=>Lf(o,e)):Aw(String(t).replace(e,""))}s(Lf,"sanitizeValue");var jg=s(t=>Lf(t,Fw),"sanitizeHeaderValue"),Ew=s(t=>Lf(t,Dw),"sanitizeByteStringHeaderValue");function Qs(t){let e=Object.create(null);return h.forEach(t.toJSON(),(o,i)=>{e[i]=Ew(o)}),e}s(Qs,"toByteStringHeaderObject");var Bg=Symbol("internals");function Qp(t){return t&&String(t).trim().toLowerCase()}s(Qp,"normalizeHeader");function Ru(t){return t===!1||t==null?t:h.isArray(t)?t.map(Ru):jg(String(t))}s(Ru,"normalizeValue");function Pw(t){let e=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,i;for(;i=o.exec(t);)e[i[1]]=i[2];return e}s(Pw,"parseTokens");var Tw=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function Vf(t){let e=0,o=t.length;for(;e<o;){let i=t.charCodeAt(e);if(i!==9&&i!==32)break;e+=1}for(;o>e;){let i=t.charCodeAt(o-1);if(i!==9&&i!==32)break;o-=1}return e===0&&o===t.length?t:t.slice(e,o)}s(Vf,"trimOWS");function zw(t){let e=t.length-1;if(e<1||t.charCodeAt(0)!==34||t.charCodeAt(e)!==34)return t;let o="";for(let i=1;i<e;i++){let r=t.charCodeAt(i);if(r===34||r===92&&(i+=1,i>=e))return t;o+=t[i]}return o}s(zw,"decodeQuotedString");function jw(t){let e=Object.create(null),o=String(t),i=0,r=!1,n=!1;function a(c){let p=Vf(o.slice(i,c)),u=p.indexOf("=");if(u<1)return;let l=Vf(p.slice(0,u));if(!Tw.test(l))return;let d=l.toLowerCase();if(d==="__proto__"||d==="constructor"||d==="prototype")return;let m=Vf(p.slice(u+1));e[d]=zw(m)}s(a,"parseParameter");for(let c=0;c<o.length;c++){let p=o.charCodeAt(c);r?n?n=!1:p===92?n=!0:p===34&&(r=!1):p===34?r=!0:(p===44||p===59)&&(a(c),i=c+1)}return a(o.length),e}s(jw,"parseParameters");var Bw=s(t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()),"isValidHeaderName");function _f(t,e,o,i,r){if(h.isFunction(i))return i.call(this,e,o);if(r&&(e=o),!!h.isString(e)){if(h.isString(i))return e.indexOf(i)!==-1;if(h.isRegExp(i))return i.test(e)}}s(_f,"matchHeaderValue");function Mw(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,o,i)=>o.toUpperCase()+i)}s(Mw,"formatHeader");function Lw(t,e){let o=h.toCamelCase(" "+e);["get","set","has"].forEach(i=>{Object.defineProperty(t,i+o,{__proto__:null,value:s(function(r,n,a){return this[i].call(this,e,r,n,a)},"value"),configurable:!0})})}s(Lw,"buildAccessors");var wu=class{static{s(this,"AxiosHeaders")}constructor(e){e&&this.set(e)}set(e,o,i){let r=this;function n(c,p,u){let l=Qp(p);if(!l)return;let d=h.findKey(r,l);(!d||r[d]===void 0||u===!0||u===void 0&&r[d]!==!1)&&(r[d||p]=Ru(c))}s(n,"setHeader");let a=s((c,p)=>h.forEach(c,(u,l)=>n(u,l,p)),"setHeaders");if(h.isPlainObject(e)||e instanceof this.constructor)a(e,o);else if(h.isString(e)&&(e=e.trim())&&!Bw(e))a(zg(e),o);else if(h.isObject(e)&&h.isSafeIterable(e)){let c=Object.create(null),p,u;for(let l of e){if(!h.isArray(l))throw new TypeError("Object iterator must return a key-value pair");u=l[0],h.hasOwnProp(c,u)?(p=c[u],c[u]=h.isArray(p)?[...p,l[1]]:[p,l[1]]):c[u]=l[1]}a(c,o)}else e!=null&&n(o,e,i);return this}get(e,o){if(e=Qp(e),e){let i=h.findKey(this,e);if(i){let r=this[i];if(!o)return r;if(o===!0)return Pw(r);if(h.isFunction(o))return o.call(this,r,i);if(h.isRegExp(o))return o.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,o){if(e=Qp(e),e){let i=h.findKey(this,e);return!!(i&&this[i]!==void 0&&(!o||_f(this,this[i],i,o)))}return!1}delete(e,o){let i=this,r=!1;function n(a){if(a=Qp(a),a){let c=h.findKey(i,a);c&&(!o||_f(i,i[c],c,o))&&(delete i[c],r=!0)}}return s(n,"deleteHeader"),h.isArray(e)?e.forEach(n):n(e),r}clear(e){let o=Object.keys(this),i=o.length,r=!1;for(;i--;){let n=o[i];(!e||_f(this,this[n],n,e,!0))&&(delete this[n],r=!0)}return r}normalize(e){let o=this,i={};return h.forEach(this,(r,n)=>{let a=h.findKey(i,n);if(a){o[a]=Ru(r),delete o[n];return}let c=e?Mw(n):String(n).trim();c!==n&&delete o[n],o[c]=Ru(r),i[c]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let o=Object.create(null);return h.forEach(this,(i,r)=>{i!=null&&i!==!1&&(o[r]=e&&h.isArray(i)?i.join(", "):i)}),o}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,o])=>e+": "+o).join(`
28
- `)}getSetCookie(){let e=this.get("set-cookie");return h.isArray(e)?e:e==null||e===!1?[]:[e]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static parseParameters(e){return jw(e)}static concat(e,...o){let i=new this(e);return o.forEach(r=>i.set(r)),i}static accessor(e){let i=(this[Bg]=this[Bg]={accessors:{}}).accessors,r=this.prototype;function n(a){let c=Qp(a);i[c]||(Lw(r,a),i[c]=!0)}return s(n,"defineAccessor"),h.isArray(e)?e.forEach(n):n(e),this}};wu.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);h.reduceDescriptors(wu.prototype,({value:t},e)=>{let o=e[0].toUpperCase()+e.slice(1);return{get:s(()=>t,"get"),set(i){this[o]=i}}});h.freezeMethods(wu);var we=wu;var Zp="[REDACTED ****]";function Vw(t){if(h.hasOwnProp(t,"toJSON"))return!0;let e=Object.getPrototypeOf(t);for(;e&&e!==Object.prototype;){if(h.hasOwnProp(e,"toJSON"))return!0;e=Object.getPrototypeOf(e)}return!1}s(Vw,"hasOwnOrPrototypeToJSON");function _w(t,e){let o=new Set(e.map(n=>String(n).toLowerCase())),i=[],r=s(n=>{if(n===null||typeof n!="object"||h.isBuffer(n))return n;if(i.indexOf(n)!==-1)return;n instanceof we&&(n=n.toJSON()),i.push(n);let a;if(h.isArray(n))a=[],n.forEach((c,p)=>{let u=r(c);h.isUndefined(u)||(a[p]=u)});else{if(!h.isPlainObject(n)&&Vw(n))return i.pop(),n;a=Object.create(null);for(let[c,p]of Object.entries(n)){let u=o.has(c.toLowerCase())?Zp:r(p);h.isUndefined(u)||(a[c]=u)}}return i.pop(),a},"visit");return r(t)}s(_w,"redactConfig");function Mg(t){try{return String(t)}catch{return""}}s(Mg,"stringifySafely");function Uw(t){return t.errors.map(o=>{try{return o&&o.message?Mg(o.message):Mg(o)}catch{return""}}).filter(Boolean).join("; ")||t.name||"AggregateError"}s(Uw,"aggregateErrorMessage");var Oo=class Lg extends Error{static{s(this,"AxiosError")}static from(e,o,i,r,n,a){let c=e.message;!c&&h.isArray(e.errors)&&e.errors.length&&(c=Uw(e));let p=new Lg(c,o||e.code,i,r,n);return Object.defineProperty(p,"cause",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),p.name=e.name,e.status!=null&&p.status==null&&(p.status=e.status),a&&Object.assign(p,a),p}constructor(e,o,i,r,n){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,o&&(this.code=o),i&&(this.config=i),r&&(this.request=r),n&&(this.response=n,this.status=n.status)}toJSON(){let e=this.config,o=e&&h.hasOwnProp(e,"redact")?e.redact:void 0,i=h.isArray(o)&&o.length>0?_w(e,o):h.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:i,code:this.code,status:this.status}}};Oo.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Oo.ERR_BAD_OPTION="ERR_BAD_OPTION";Oo.ECONNABORTED="ECONNABORTED";Oo.ETIMEDOUT="ETIMEDOUT";Oo.ECONNREFUSED="ECONNREFUSED";Oo.ERR_NETWORK="ERR_NETWORK";Oo.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Oo.ERR_DEPRECATED="ERR_DEPRECATED";Oo.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Oo.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Oo.ERR_CANCELED="ERR_CANCELED";Oo.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Oo.ERR_INVALID_URL="ERR_INVALID_URL";Oo.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var w=Oo;var Gb=pt(kb(),1),ju=Gb.default;var Bu={isBufferAvailable(){return typeof Buffer<"u"},from(t){return Buffer.from(t)}};var pm=100;function cm(t){return h.isPlainObject(t)||h.isArray(t)}s(cm,"isVisitable");function Qb(t){return h.endsWith(t,"[]")?t.slice(0,-2):t}s(Qb,"removeBrackets");function sm(t,e,o){return t?t.concat(e).map(s(function(r,n){return r=Qb(r),!o&&n?"["+r+"]":r},"each")).join(o?".":""):e}s(sm,"renderKey");function FO(t){return h.isArray(t)&&!t.some(cm)}s(FO,"isFlatArray");var DO=h.toFlatObject(h,{},null,s(function(e){return/^is[A-Z]/.test(e)},"filter"));function EO(t,e,o){if(!h.isObject(t))throw new TypeError("target must be an object");e=e||new(ju||FormData),o=h.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,s(function(I,A){return!h.isUndefined(A[I])},"defined"));let i=o.metaTokens,r=o.visitor||x,n=o.dots,a=o.indexes,c=o.Blob||typeof Blob<"u"&&Blob,p=o.maxDepth===void 0?pm:o.maxDepth,u=c&&h.isSpecCompliantForm(e),l=[];if(!h.isFunction(r))throw new TypeError("visitor must be a function");function d(b){if(b===null)return"";if(h.isDate(b))return b.toISOString();if(h.isBoolean(b))return b.toString();if(!u&&h.isBlob(b))throw new w("Blob is not supported. Use a Buffer instead.");if(h.isArrayBuffer(b)||h.isTypedArray(b)){if(u&&typeof c=="function")return new c([b]);if(Bu&&Bu.isBufferAvailable())return Bu.from(b);throw new w("Blob is not supported. Use a Buffer instead.",w.ERR_NOT_SUPPORT)}return b}s(d,"convertValue");function m(b){if(b>p)throw new w("Object is too deeply nested ("+b+" levels). Max depth: "+p,w.ERR_FORM_DATA_DEPTH_EXCEEDED)}s(m,"throwIfMaxDepthExceeded");function y(b,I){if(p===1/0)return JSON.stringify(b);let A=[];return JSON.stringify(b,s(function(H,Q){if(!h.isObject(Q))return Q;for(;A.length&&A[A.length-1]!==this;)A.pop();return A.push(Q),m(I+A.length-1),Q},"limitDepth"))}s(y,"stringifyWithDepthLimit");function x(b,I,A){let D=b;if(h.isReactNative(e)&&h.isReactNativeBlob(b))return e.append(sm(A,I,n),d(b)),!1;if(b&&!A&&typeof b=="object"){if(h.endsWith(I,"{}"))I=i?I:I.slice(0,-2),b=y(b,1);else if(h.isArray(b)&&FO(b)||(h.isFileList(b)||h.endsWith(I,"[]"))&&(D=h.toArray(b)))return I=Qb(I),D.forEach(s(function(Q,Ct){!(h.isUndefined(Q)||Q===null)&&e.append(a===!0?sm([I],Ct,n):a===null?I:I+"[]",d(Q))},"each")),!1}return cm(b)?!0:(e.append(sm(A,I,n),d(b)),!1)}s(x,"defaultVisitor");let N=Object.assign(DO,{defaultVisitor:x,convertValue:d,isVisitable:cm});function C(b,I,A=0){if(!h.isUndefined(b)){if(m(A),l.indexOf(b)!==-1)throw new Error("Circular reference detected in "+I.join("."));l.push(b),h.forEach(b,s(function(H,Q){(!(h.isUndefined(H)||H===null)&&r.call(e,H,h.isString(Q)?Q.trim():Q,I,N))===!0&&C(H,I?I.concat(Q):[Q],A+1)},"each")),l.pop()}}if(s(C,"build"),!h.isObject(t))throw new TypeError("data must be an object");return C(t),e}s(EO,"toFormData");var kr=EO;function Zb(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(t).replace(/[!'()~]|%20/g,s(function(i){return e[i]},"replacer"))}s(Zb,"encode");function Yb(t,e){this._pairs=[],t&&kr(t,this,e)}s(Yb,"AxiosURLSearchParams");var Jb=Yb.prototype;Jb.append=s(function(e,o){this._pairs.push([e,o])},"append");Jb.toString=s(function(e){let o=e?i=>e.call(this,i,Zb):Zb;return this._pairs.map(s(function(r){return o(r[0])+"="+o(r[1])},"each"),"").join("&")},"toString");var Wb=Yb;function PO(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}s(PO,"encode");function Za(t,e,o){if(!e)return t;t=t||"";let i=h.isFunction(o)?{serialize:o}:o,r=h.getSafeProp(i,"encode")||PO,n=h.getSafeProp(i,"serialize"),a;if(n?a=n(e,i):a=h.isURLSearchParams(e)?e.toString():new Wb(e,i).toString(r),a){let c=t.indexOf("#");c!==-1&&(t=t.slice(0,c)),t+=(t.indexOf("?")===-1?"?":"&")+a}return t}s(Za,"buildURL");var TO=class{static{s(this,"InterceptorManager")}constructor(){this.handlers=[]}use(e,o,i){return this.handlers.push({fulfilled:e,rejected:o,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){h.forEach(this.handlers,s(function(i){i!==null&&e(i)},"forEachHandler"))}},lm=TO;var Gr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0};var ex=pt(require("crypto"),1);var Xb=pt(require("url"),1),Kb=Xb.default.URLSearchParams;var um="abcdefghijklmnopqrstuvwxyz",$b="0123456789",tx={DIGIT:$b,ALPHA:um,ALPHA_DIGIT:um+um.toUpperCase()+$b},zO=s((t=16,e=tx.ALPHA_DIGIT)=>{let o="",{length:i}=e,r=new Uint32Array(t);ex.default.randomFillSync(r);for(let n=0;n<t;n++)o+=e[r[n]%i];return o},"generateString"),ox={isNode:!0,classes:{URLSearchParams:Kb,FormData:ju,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:tx,generateString:zO,protocols:["http","https","file","data"]};var mm={};yg(mm,{hasBrowserEnv:()=>fm,hasStandardBrowserEnv:()=>jO,hasStandardBrowserWebWorkerEnv:()=>BO,navigator:()=>dm,origin:()=>MO});var fm=typeof window<"u"&&typeof document<"u",dm=typeof navigator=="object"&&navigator||void 0,jO=fm&&(!dm||["ReactNative","NativeScript","NS"].indexOf(dm.product)<0),BO=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",MO=fm&&window.location.href||"http://localhost";var ne={...mm,...ox};function hm(t,e){return kr(t,new ne.classes.URLSearchParams,{visitor:s(function(o,i,r,n){return ne.isNode&&h.isBuffer(o)?(this.append(i,o.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},"visitor"),...e})}s(hm,"toURLEncodedForm");var ix=pm;function nx(t){if(t>ix)throw new w("FormData field is too deeply nested ("+t+" levels). Max depth: "+ix,w.ERR_FORM_DATA_DEPTH_EXCEEDED)}s(nx,"throwIfDepthExceeded");function LO(t){let e=[],o=/[^.[\]]+|\[([^.[\]]*)]/g,i;for(;(i=o.exec(t))!==null;)nx(e.length),e.push(i[0]==="[]"?"":i[1]||i[0]);return e}s(LO,"parsePropPath");function VO(t){let e={},o=Object.keys(t),i,r=o.length,n;for(i=0;i<r;i++)n=o[i],e[n]=t[n];return e}s(VO,"arrayToObject");function _O(t){function e(o,i,r,n){nx(n);let a=o[n++];if(a==="__proto__")return!0;let c=Number.isFinite(+a),p=n>=o.length;return a=!a&&h.isArray(r)?r.length:a,p?(h.hasOwnProp(r,a)?r[a]=h.isArray(r[a])?r[a].concat(i):[r[a],i]:r[a]=i,!c):((!h.hasOwnProp(r,a)||!h.isObject(r[a]))&&(r[a]=[]),e(o,i,r[a],n)&&h.isArray(r[a])&&(r[a]=VO(r[a])),!c)}if(s(e,"buildPath"),h.isFormData(t)&&h.isFunction(t.entries)){let o={};return h.forEachEntry(t,(i,r)=>{e(LO(i),r,o,0)}),o}return null}s(_O,"formDataToJSON");var Mu=_O;var Ks=s((t,e)=>t!=null&&h.hasOwnProp(t,e)?t[e]:void 0,"own");function UO(t,e,o){if(h.isString(t))try{return(e||JSON.parse)(t),h.trim(t)}catch(i){if(i.name!=="SyntaxError")throw i}return(o||JSON.stringify)(t)}s(UO,"stringifySafely");var vm={transitional:Gr,adapter:["xhr","http","fetch"],transformRequest:[s(function(e,o){let i=o.getContentType()||"",r=i.indexOf("application/json")>-1,n=h.isObject(e);if(n&&h.isHTMLForm(e)&&(e=new FormData(e)),h.isFormData(e))return r?JSON.stringify(Mu(e)):e;if(h.isArrayBuffer(e)||h.isBuffer(e)||h.isStream(e)||h.isFile(e)||h.isBlob(e)||h.isReadableStream(e))return e;if(h.isArrayBufferView(e))return e.buffer;if(h.isURLSearchParams(e))return o.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let c;if(n){let p=Ks(this,"formSerializer");if(i.indexOf("application/x-www-form-urlencoded")>-1)return hm(e,p).toString();if((c=h.isFileList(e))||i.indexOf("multipart/form-data")>-1){let u=Ks(this,"env"),l=u&&u.FormData;return kr(c?{"files[]":e}:e,l&&new l,p)}}return n||r?(o.setContentType("application/json",!1),UO(e)):e},"transformRequest")],transformResponse:[s(function(e){let o=Ks(this,"transitional")||vm.transitional,i=o&&o.forcedJSONParsing,r=Ks(this,"responseType"),n=r==="json";if(h.isResponse(e)||h.isReadableStream(e))return e;if(e&&h.isString(e)&&(i&&!r||n)){let c=!(o&&o.silentJSONParsing)&&n;try{return JSON.parse(e,Ks(this,"parseReviver"))}catch(p){if(c)throw p.name==="SyntaxError"?w.from(p,w.ERR_BAD_RESPONSE,this,null,Ks(this,"response")):p}}return e},"transformResponse")],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ne.classes.FormData,Blob:ne.classes.Blob},validateStatus:s(function(e){return e>=200&&e<300},"validateStatus"),headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};h.forEach(["delete","get","head","post","put","patch","query"],t=>{vm.headers[t]={}});var $s=vm;function Xp(t,e){let o=this||$s,i=e||o,r=we.from(i.headers),n=i.data;return h.forEach(t,s(function(c){n=c.call(o,n,r.normalize(),e?e.status:void 0)},"transform")),r.normalize(),n}s(Xp,"transformData");function Kp(t){return!!(t&&t.__CANCEL__)}s(Kp,"isCancel");var qO=class extends w{static{s(this,"CanceledError")}constructor(e,o,i){super(e??"canceled",w.ERR_CANCELED,o,i),this.name="CanceledError",this.__CANCEL__=!0}},Wo=qO;function Cn(t,e,o){let i=o.config.validateStatus;!o.status||!i||i(o.status)?t(o):e(new w("Request failed with status code "+o.status,o.status>=400&&o.status<500?w.ERR_BAD_REQUEST:w.ERR_BAD_RESPONSE,o.config,o.request,o))}s(Cn,"settle");function gm(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}s(gm,"isAbsoluteURL");function ym(t,e){if(!e)return t;let o=t.length;for(;o>0&&t.charCodeAt(o-1)===47;)o--;return t.slice(0,o)+"/"+e.replace(/^\/+/,"")}s(ym,"combineURLs");var HO=/^https?:(?!\/\/)/i,kO=/[\t\n\r]/g;function GO(t){let e=0;for(;e<t.length&&t.charCodeAt(e)<=32;)e++;return t.slice(e)}s(GO,"stripLeadingC0ControlOrSpace");function QO(t){return GO(t).replace(kO,"")}s(QO,"normalizeURLForProtocolCheck");function ZO(t){return t&&t.replace(/(^|&)([^=&]*=)?[^&]+/g,(e,o,i="")=>`${o}${i}${Zp}`)}s(ZO,"redactFragment");function YO(t){let e=t.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${Zp}@`),o=e.indexOf("#"),r=(o===-1?e:e.slice(0,o)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${Zp}`);return o===-1?r:`${r}#${ZO(e.slice(o+1))}`}s(YO,"redactSensitiveURLParts");function rx(t,e){if(typeof t=="string"){let o=QO(t);if(HO.test(o))throw new w(`Invalid URL ${JSON.stringify(YO(o))}: missing "//" after protocol`,w.ERR_INVALID_URL,e)}}s(rx,"assertValidHttpProtocolURL");function Ya(t,e,o,i){rx(e,i);let r=!gm(e);return t&&(r||o===!1)?(rx(t,i),ym(t,e)):e}s(Ya,"buildFullPath");var JO={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};function WO(t){try{return new URL(t)}catch{return null}}s(WO,"parseUrl");function ax(t){var e=(typeof t=="string"?WO(t):t)||{},o=e.protocol,i=e.host,r=e.port;if(typeof i!="string"||!i||typeof o!="string"||(o=o.split(":",1)[0],i=i.replace(/:\d*$/,""),r=parseInt(r)||JO[o]||0,!XO(i,r)))return"";var n=bm(o+"_proxy")||bm("all_proxy");return n&&n.indexOf("://")===-1&&(n=o+"://"+n),n}s(ax,"getProxyForUrl");function XO(t,e){var o=bm("no_proxy").toLowerCase();return o?o==="*"?!1:o.split(/[,\s]/).every(function(i){if(!i)return!0;var r=i.match(/^(.+):(\d+)$/),n=r?r[1]:i,a=r?parseInt(r[2]):0;return a&&a!==e?!0:/^[.*]/.test(n)?(n.charAt(0)==="*"&&(n=n.slice(1)),!t.endsWith(n)):t!==n}):!0}s(XO,"shouldProxy");function bm(t){return process.env[t.toLowerCase()]||process.env[t.toUpperCase()]||""}s(bm,"getEnv");var Wm=pt(Ox(),1),Xm=pt(require("http"),1),Km=pt(require("https"),1),d0=pt(require("http2"),1),f0=pt(require("util"),1),Jm=require("path"),m0=pt(zx(),1),Xo=pt(require("zlib"),1);var er="1.19.0";function cl(t){let e=/^([-+\w]{1,25}):(?:\/\/)?/.exec(t);return e&&e[1]||""}s(cl,"parseProtocol");var eF=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;function qm(t,e,o){let i=o&&o.Blob||ne.classes.Blob,r=cl(t);if(e===void 0&&i&&(e=!0),r==="data"){t=r.length?t.slice(r.length+1):t;let n=eF.exec(t);if(!n)throw new w("Invalid URL",w.ERR_INVALID_URL);let a=n[1],c=n[2],p=n[3]?"base64":"utf8",u=n[4],l="";a?l=c?a+c:a:c&&(l="text/plain"+c);let d=p==="base64"?Buffer.from(u,"base64"):Buffer.from(decodeURIComponent(u),p);if(e){if(!i)throw new w("Blob is not supported",w.ERR_NOT_SUPPORT);return new i([d],{type:l})}return d}throw new w("Unsupported protocol "+r,w.ERR_NOT_SUPPORT)}s(qm,"fromDataURI");var fi=pt(require("stream"),1);var tF=["content-type","content-length"];function pl(t,e,o){if(o!=="content-only"){t.set(e);return}Object.entries(e||{}).forEach(([i,r])=>{tF.includes(i.toLowerCase())&&t.set(i,r)})}s(pl,"setFormDataHeaders");var jx=pt(require("stream"),1);var Hm=Symbol("internals"),oF=class extends jx.default.Transform{static{s(this,"AxiosTransformStream")}constructor(e){e=h.toFlatObject(e,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(i,r)=>!h.isUndefined(r[i])),super({readableHighWaterMark:e.chunkSize});let o=this[Hm]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",i=>{i==="progress"&&(o.isCaptured||(o.isCaptured=!0))})}_read(e){let o=this[Hm];return o.onReadCallback&&o.onReadCallback(),super._read(e)}_transform(e,o,i){let r=this[Hm],n=r.maxRate,a=this.readableHighWaterMark,c=r.timeWindow,p=1e3/c,u=n/p,l=r.minChunkSize!==!1?Math.max(r.minChunkSize,u*.01):0,d=s((y,x)=>{let N=Buffer.byteLength(y);r.bytesSeen+=N,r.bytes+=N,r.isCaptured&&this.emit("progress",r.bytesSeen),this.push(y)?process.nextTick(x):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(x)}},"pushChunk"),m=s((y,x)=>{let N=Buffer.byteLength(y),C=null,b=a,I,A=0;if(n){let D=Date.now();(!r.ts||(A=D-r.ts)>=c)&&(r.ts=D,I=u-r.bytes,r.bytes=I<0?-I:0,A=0),I=u-r.bytes}if(n){if(I<=0)return setTimeout(()=>{x(null,y)},c-A);I<b&&(b=I)}b&&N>b&&N-b>l&&(C=y.subarray(b),y=y.subarray(0,b)),d(y,C?()=>{process.nextTick(x,null,C)}:x)},"transformChunk");m(e,s(function y(x,N){if(x)return i(x);N?m(N,y):i(null)},"transformNextChunk"))}},km=oF;var h0=require("events");var Mx=pt(require("util"),1),Lx=require("stream");var{asyncIterator:Bx}=Symbol,iF=s(async function*(t){t.stream?yield*t.stream():t.arrayBuffer?yield await t.arrayBuffer():t[Bx]?yield*t[Bx]():yield t},"readBlob"),Hu=iF;var nF=ne.ALPHABET.ALPHA_DIGIT+"-_",ll=typeof TextEncoder=="function"?new TextEncoder:new Mx.default.TextEncoder,$a=`\r
29
- `,rF=ll.encode($a),aF=2,sF=class{static{s(this,"FormDataPart")}constructor(e,o){let{escapeName:i}=this.constructor,r=h.isString(o),n=`Content-Disposition: form-data; name="${i(e)}"${!r&&o.name?`; filename="${i(o.name)}"`:""}${$a}`;if(r)o=ll.encode(String(o).replace(/\r?\n|\r\n?/g,$a));else{let a=String(o.type||"application/octet-stream").replace(/[\r\n]/g,"");n+=`Content-Type: ${a}${$a}`}this.headers=ll.encode(n+$a),this.contentLength=r?o.byteLength:o.size,this.size=this.headers.byteLength+this.contentLength+aF,this.name=e,this.value=o}async*encode(){yield this.headers;let{value:e}=this;h.isTypedArray(e)?yield e:yield*Hu(e),yield rF}static escapeName(e){return String(e).replace(/[\r\n"]/g,o=>({"\r":"%0D","\n":"%0A",'"':"%22"})[o])}},cF=s((t,e,o)=>{let{tag:i="form-data-boundary",size:r=25,boundary:n=i+"-"+ne.generateString(r,nF)}=o||{};if(!h.isFormData(t))throw new TypeError("FormData instance required");if(n.length<1||n.length>70)throw new Error("boundary must be 1-70 characters long");let a=ll.encode("--"+n+$a),c=ll.encode("--"+n+"--"+$a),p=c.byteLength,u=Array.from(t.entries()).map(([d,m])=>{let y=new sF(d,m);return p+=y.size,y});p+=a.byteLength*u.length,p=h.toFiniteNumber(p);let l={"Content-Type":`multipart/form-data; boundary=${n}`};return Number.isFinite(p)&&(l["Content-Length"]=p),e&&e(l),Lx.Readable.from((async function*(){for(let d of u)yield a,yield*d.encode();yield c})())},"formDataToStream"),Vx=cF;var _x=pt(require("stream"),1);var pF=class extends _x.default.Transform{static{s(this,"ZlibHeaderTransformStream")}__transform(e,o,i){this.push(e),i()}_transform(e,o,i){if(e.length!==0&&(this._transform=this.__transform,e[0]!==120)){let r=Buffer.alloc(2);r[0]=120,r[1]=156,this.push(r,o)}this.__transform(e,o,i)}},Ux=pF;var qx=pt(require("http2"),1),Hx=pt(require("util"),1);var lF=class{static{s(this,"Http2Sessions")}constructor(){this.sessions=Object.create(null)}getSession(e,o){o=Object.assign({sessionTimeout:1e3},o);let i=this.sessions[e];if(i){let d=i.length;for(let m=0;m<d;m++){let[y,x]=i[m];if(!y.destroyed&&!y.closed&&Hx.default.isDeepStrictEqual(x,o))return y}}let r=qx.default.connect(e,o),n,a,c=s(()=>{if(n)return;n=!0,a&&(clearTimeout(a),a=null);let d=i,m=d.length,y=m;for(;y--;)if(d[y][0]===r){m===1?delete this.sessions[e]:d.splice(y,1),r.closed||r.close();return}},"removeSession"),p=r.request,{sessionTimeout:u}=o;if(u!=null){let d=0;r.request=function(){let m=p.apply(this,arguments);return d++,a&&(clearTimeout(a),a=null),m.once("close",()=>{--d||(a=setTimeout(()=>{a=null,c()},u))}),m}}r.once("close",c);let l=[r,o];return i?i.push(l):i=this.sessions[e]=[l],r}},kx=lF;var uF=s((t,e)=>h.isAsyncFn(t)?function(...o){let i=o.pop();t.apply(this,o).then(r=>{try{e?i(null,...e(r)):i(null,r)}catch(n){i(n)}},i)}:t,"callbackify"),Gx=uF;var dF=new Set(["localhost","0.0.0.0"]),Yx=s(t=>{let e=t.split(".");return e.length!==4||e[0]!=="127"?!1:e.every(o=>/^\d+$/.test(o)&&Number(o)>=0&&Number(o)<=255)},"isIPv4Loopback"),Gm=s(t=>{if(/^0[xX][0-9a-fA-F]+$/.test(t)){let e=parseInt(t.slice(2),16);return Number.isFinite(e)?e:null}if(t.length>1&&/^0[0-7]+$/.test(t)){let e=parseInt(t,8);return Number.isFinite(e)?e:null}if(t.length>1&&/^0[0-9]+$/.test(t))return null;if(/^[0-9]+$/.test(t)){let e=parseInt(t,10);return Number.isFinite(e)?e:null}return null},"parseIPv4Octet"),fF=s(t=>{if(typeof t!="string"||!t||t.indexOf(":")!==-1)return t;let e=t;if(e.charAt(0)==="["&&e.charAt(e.length-1)==="]"&&(e=e.slice(1,-1)),e=e.replace(/\.+$/,""),!/^[0-9.xXa-fA-F]+$/.test(e))return t;let o=e.split(".");if(o.some(l=>l===""))return t;if(o.length===4){let l=o.map(Gm);return l.some(d=>d===null||d<0||d>255)?t:l.join(".")}if(o.length>4||o.length===1)return t;let i=o.slice(0,-1),r=o[o.length-1],n=4-i.length,a=Gm(r);if(a===null)return t;let c=(1<<8*n)-1;if(a<0||a>c)return t;let p=new Array(n).fill(0);for(let l=n-1,d=a;l>=0;l--,d>>=8)p[l]=d&255;let u=i.map(Gm);return u.some(l=>l===null||l<0||l>255)?t:[...u,...p].join(".")},"normalizeIPAddress"),Qm=s(t=>/^0{1,4}$/.test(t),"isIPv6ZeroGroup"),mF=s(t=>{if(t==="::")return!0;let e=t.indexOf("::");if(e!==-1){if(e!==t.lastIndexOf("::"))return!1;let i=t.slice(0,e),r=t.slice(e+2),n=i?i.split(":"):[],a=r?r.split(":"):[];return n.length+a.length<8&&n.every(Qm)&&a.every(Qm)}let o=t.split(":");return o.length===8&&o.every(Qm)},"isIPv6Unspecified"),hF=s(t=>{if(t==="::1")return!0;let e=t.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(e)return Yx(e[1]);let o=t.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(o){let r=parseInt(o[1],16);return r>=32512&&r<=32767}let i=t.split(":");if(i.length===8){for(let r=0;r<7;r++)if(!/^0+$/.test(i[r]))return!1;return/^0*1$/.test(i[7])}return!1},"isIPv6Loopback"),Qx=s(t=>t?dF.has(t)||Yx(t)||mF(t)?!0:hF(t):!1,"isLoopback"),vF={http:80,https:443,ws:80,wss:443,ftp:21},gF=s(t=>{let e=t,o=0;if(e.charAt(0)==="["){let n=e.indexOf("]");if(n!==-1){let a=e.slice(1,n),c=e.slice(n+1);return c.charAt(0)===":"&&/^\d+$/.test(c.slice(1))&&(o=Number.parseInt(c.slice(1),10)),[a,o]}}let i=e.indexOf(":"),r=e.lastIndexOf(":");return i!==-1&&i===r&&/^\d+$/.test(e.slice(r+1))&&(o=Number.parseInt(e.slice(r+1),10),e=e.slice(0,r)),[e,o]},"parseNoProxyEntry"),yF=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,bF=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i,xF=s(t=>{if(typeof t!="string"||t.indexOf(":")===-1)return t;let e=t.match(yF);if(e)return e[1];let o=t.match(bF);if(o){let i=parseInt(o[1],16),r=parseInt(o[2],16);return`${i>>8}.${i&255}.${r>>8}.${r&255}`}return t},"unmapIPv4MappedIPv6"),Zx=s(t=>{if(!t)return t;t.charAt(0)==="["&&t.charAt(t.length-1)==="]"&&(t=t.slice(1,-1));let e=t.replace(/\.+$/,""),o=fF(e);return o!==e?o:xF(e)},"normalizeNoProxyHost");function Zm(t){let e;try{e=new URL(t)}catch{return!1}let o=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!o)return!1;if(o==="*")return!0;let i=Number.parseInt(e.port,10)||vF[e.protocol.split(":",1)[0]]||0,r=Zx(e.hostname.toLowerCase());return o.split(/[\s,]+/).some(n=>{if(!n)return!1;if(n==="*")return!0;let[a,c]=gF(n);return a=Zx(a),!a||c&&c!==i?!1:(a.charAt(0)==="*"&&(a=a.slice(1)),a.charAt(0)==="."?r.endsWith(a):r===a||Qx(r)&&Qx(a))})}s(Zm,"shouldBypassProxy");function SF(t,e){t=t||10;let o=new Array(t),i=new Array(t),r=0,n=0,a;return e=e!==void 0?e:1e3,s(function(p){let u=Date.now(),l=i[n];a||(a=u),o[r]=p,i[r]=u;let d=n,m=0;for(;d!==r;)m+=o[d++],d=d%t;if(r=(r+1)%t,r===n&&(n=(n+1)%t),u-a<e)return;let y=l&&u-l;return y?Math.round(m*1e3/y):void 0},"push")}s(SF,"speedometer");var Jx=SF;function CF(t,e){let o=0,i=1e3/e,r,n,a=s((u,l=Date.now())=>{o=l,r=null,n&&(clearTimeout(n),n=null),t(...u)},"invoke");return[s((...u)=>{let l=Date.now(),d=l-o;d>=i?a(u,l):(r=u,n||(n=setTimeout(()=>{n=null,a(r)},i-d)))},"throttled"),s(()=>r&&a(r),"flush")]}s(CF,"throttle");var Wx=CF;var tr=s((t,e,o=3)=>{let i=0,r=Jx(50,250);return Wx(n=>{if(!n||typeof n.loaded!="number")return;let a=n.loaded,c=n.lengthComputable?n.total:void 0,p=Math.max(0,c!=null?Math.min(a,c):a),u=Math.max(0,p-i),l=r(u);i=Math.max(i,p);let d={loaded:p,total:c,progress:c?p/c:void 0,bytes:u,rate:l||void 0,estimated:l&&c?(c-p)/l:void 0,event:n,lengthComputable:c!=null,[e?"download":"upload"]:!0};t(d)},o)},"progressEventReducer"),nc=s((t,e)=>{let o=t!=null;return[i=>e[0]({lengthComputable:o,total:t,loaded:i}),e[1]]},"progressEventDecorator"),rc=s((t,e=h.asap)=>(...o)=>e(()=>t(...o)),"asyncDecorator");var Xx=s(t=>t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102,"isHexDigit"),$x=s((t,e,o)=>e+2<o&&Xx(t.charCodeAt(e+1))&&Xx(t.charCodeAt(e+2)),"isPercentEncodedByte"),Kx=s(t=>t<=57?t-48:(t&223)-55,"hexValue"),NF=s(t=>t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||t===43||t===47||t===45||t===95,"isBase64Char"),RF=s(t=>t===9||t===10||t===12||t===13||t===32,"isBase64Whitespace"),wF=s(t=>{let e=Math.floor(t/4),o=t%4;return e*3+(o===2?1:o===3?2:0)},"base64Bytes"),e0=s(t=>{let e=t.length,o=0;return e>0&&t.charCodeAt(e-1)===61&&(o++,e>1&&t.charCodeAt(e-2)===61&&o++),Math.floor((e-o)*3/4)},"estimateBase64BufferAllocation"),IF=s(t=>{let e=t.length,o=0,i=0,r=!1;for(let n=0;n<e;n++){let a=t.charCodeAt(n);if(a===37&&$x(t,n,e)&&(a=Kx(t.charCodeAt(n+1))*16+Kx(t.charCodeAt(n+2)),n+=2),!RF(a)){if(a===61){i++;continue}if(!NF(a)||i>0){r=!0;continue}o++}}return r||i>2||i>0&&(o+i)%4!==0||o%4===1?e0(t):wF(o)},"estimatePercentDecodedBase64Bytes"),t0=s((t,e)=>{if(!t||typeof t!="string"||!t.startsWith("data:"))return 0;let o=t.indexOf(",");if(o<0)return 0;let i=t.slice(5,o),r=t.slice(o+1);if(/;base64/i.test(i))return e(r);let a=0;for(let c=0,p=r.length;c<p;c++){let u=r.charCodeAt(c);if(u===37&&$x(r,c,p))a+=1,c+=2;else if(u<128)a+=1;else if(u<2048)a+=2;else if(u>=55296&&u<=56319&&c+1<p){let l=r.charCodeAt(c+1);l>=56320&&l<=57343?(a+=4,c++):a+=3}else a+=3}return a},"estimateDataURLBytes");function Ym(t){let e=typeof t=="string"?t.indexOf("#"):-1;return t0(e===-1?t:t.slice(0,e),IF)}s(Ym,"estimateDataURLDecodedBytes");function o0(t){return t0(t,e0)}s(o0,"estimateDataURLBufferAllocation");var i0={flush:Xo.default.constants.Z_SYNC_FLUSH,finishFlush:Xo.default.constants.Z_SYNC_FLUSH},OF={flush:Xo.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:Xo.default.constants.BROTLI_OPERATION_FLUSH},AF={flush:Xo.default.constants.ZSTD_e_flush,finishFlush:Xo.default.constants.ZSTD_e_flush},v0=h.isFunction(Xo.default.createBrotliDecompress),g0=h.isFunction(Xo.default.createZstdDecompress),y0="gzip, compress, deflate"+(v0?", br":""),FF=y0+(g0?", zstd":""),n0=typeof process<"u"&&process.nextTick?process.nextTick.bind(process):h.asap,{http:DF,https:EF}=m0.default,$m=/https:?/,r0=Symbol("axios.http.socketListener"),ku=Symbol("axios.http.currentReq"),b0=Symbol("axios.http.installedTunnel"),PF=new Map,a0=new WeakMap,s0={22:21,24:5};function TF(t=process.versions&&process.versions.node){if(!t)return!1;let[e,o]=t.split(".").map(i=>Number(i));return!Number.isInteger(e)||!Number.isInteger(o)?!1:e>24?!0:s0[e]!=null&&o>=s0[e]}s(TF,"isNodeNativeEnvProxySupported");function zF(t,e=process.versions&&process.versions.node){if(!TF(e))return!1;let o=t&&t.options;return!!(o&&h.hasOwnProp(o,"proxyEnv")&&o.proxyEnv!=null)}s(zF,"isNodeEnvProxyEnabled");function jF(t,e,o){return $m.test(t.protocol)?o||Km.default.globalAgent:e||Xm.default.globalAgent}s(jF,"getProxyEnvAgent");function BF(t,e){let o=t.protocol+"//"+t.hostname+":"+(t.port||"")+"#"+(t.auth||""),i=e?a0.get(e)||a0.set(e,new Map).get(e):PF,r=i.get(o);if(r)return r;let n=e&&e.options?{...e.options,...t}:t;if(r=new Wm.default(n),e&&e.options){let a={...e.options},c=r.callback;r.callback=s(function(u,l){return c.call(this,u,{...a,...l})},"axiosTunnelingAgentCallback")}return r[b0]=!0,i.set(o,r),r}s(BF,"getTunnelingAgent");var c0=ne.protocols.map(t=>t+":"),p0=s(t=>{if(!h.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},"decodeURIComponentSafe"),l0=s((t,[e,o])=>(t.on("end",o).on("error",o),e),"flushOnFinish"),MF=new kx;function LF(t,e,o){t.beforeRedirects.proxy&&t.beforeRedirects.proxy(t),t.beforeRedirects.auth&&t.beforeRedirects.auth(t),t.beforeRedirects.sensitiveHeaders&&t.beforeRedirects.sensitiveHeaders(t,o),t.beforeRedirects.config&&t.beforeRedirects.config(t,e,o)}s(LF,"dispatchBeforeRedirect");function VF(t,e){t&&Object.keys(t).forEach(o=>{e.has(o.toLowerCase())&&delete t[o]})}s(VF,"stripMatchingHeaders");function _F(t,e){if(!e)return!1;try{return new URL(e.url).origin===new URL(t.href).origin}catch{return!1}}s(_F,"isSameOriginRedirect");function x0(t,e,o,i,r,n){let a=e,c=jF(t,n,r);if(!a&&a!==!1&&!zF(c)){let p=ax(o);p&&(Zm(o)||(a=new URL(p)))}if(i&&t.headers)for(let p of Object.keys(t.headers))p.toLowerCase()==="proxy-authorization"&&delete t.headers[p];if(i&&t.agent&&t.agent[b0]&&(t.agent=void 0),a){let p=a instanceof URL,u=s(x=>p||h.hasOwnProp(a,x)?a[x]:void 0,"readProxyField"),l=u("username"),d=u("password"),m=h.hasOwnProp(a,"auth")?a.auth:void 0;if(l&&(m=(l||"")+":"+(d||"")),m){let x=typeof m=="object",N=x&&h.hasOwnProp(m,"username")?m.username:void 0,C=x&&h.hasOwnProp(m,"password")?m.password:void 0;if(!!(N||C))m=(N||"")+":"+(C||"");else if(x)throw new w("Invalid proxy authorization",w.ERR_BAD_OPTION,{proxy:a})}if($m.test(t.protocol)){if(!(r instanceof Wm.default)){let x=u("hostname")||u("host"),N=u("port"),C=u("protocol"),b=C?C.includes(":")?C:`${C}:`:"http:",I=x&&x.includes(":")&&!x.startsWith("[")?`[${x}]`:x,A=new URL(`${b}//${I}${N?":"+N:""}`),D={protocol:A.protocol,hostname:A.hostname.replace(/^\[|\]$/g,""),port:A.port,auth:m&&typeof m=="string"?m:void 0};A.protocol==="https:"&&(D.ALPNProtocols=["http/1.1"]);let H=BF(D,r);t.agent=H,t.agents&&(t.agents.https=H)}}else{if(m){let b=Buffer.from(m,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+b}let x=!1;for(let b of Object.keys(t.headers))if(b.toLowerCase()==="host"){x=!0;break}x||(t.headers.host=t.hostname+(t.port?":"+t.port:""));let N=u("hostname")||u("host");t.hostname=N,t.host=N,t.port=u("port"),t.path=o;let C=u("protocol");C&&(t.protocol=C.includes(":")?C:`${C}:`)}}t.beforeRedirects.proxy=s(function(u){x0(u,e,u.href,!0,r,n)},"beforeRedirect")}s(x0,"setProxy");var UF=typeof process<"u"&&h.kindOf(process)==="process",qF=s(t=>new Promise((e,o)=>{let i,r,n=s((p,u)=>{r||(r=!0,i&&i(p,u))},"done"),a=s(p=>{n(p),e(p)},"_resolve"),c=s(p=>{n(p,!0),o(p)},"_reject");t(a,c,p=>i=p).catch(c)}),"wrapAsync"),HF=s(({address:t,family:e})=>{if(!h.isString(t))throw TypeError("address must be a string");return{address:t,family:e||(t.indexOf(".")<0?6:4)}},"resolveFamily"),u0=s((t,e)=>HF(h.isObject(t)?t:{address:t,family:e}),"buildAddressEntry"),kF={request(t,e){let o=t.protocol+"//"+t.hostname+":"+(t.port||(t.protocol==="https:"?443:80)),{http2Options:i,headers:r}=t,n=MF.getSession(o,i),{HTTP2_HEADER_SCHEME:a,HTTP2_HEADER_METHOD:c,HTTP2_HEADER_PATH:p,HTTP2_HEADER_STATUS:u}=d0.default.constants,l={[a]:t.protocol.replace(":",""),[c]:t.method,[p]:t.path};h.forEach(r,(m,y)=>{y.charAt(0)!==":"&&(l[y]=m)});let d=n.request(l);return d.once("response",m=>{let y=d;m=Object.assign({},m);let x=m[u];delete m[u],y.headers=m,y.statusCode=+x,e(y)}),d}},S0=UF&&s(function(e){return qF(s(async function(i,r,n){let a=s(z=>h.getSafeProp(e,z),"own"),c=a("transitional")||Gr,p=a("data"),u=a("lookup"),l=a("family"),d=a("httpVersion");d===void 0&&(d=1);let m=a("http2Options"),y=a("httpAgent"),x=a("httpsAgent"),N=a("proxy"),C=a("responseType"),b=a("responseEncoding"),I=a("socketPath"),A=a("method").toUpperCase(),D=a("maxRedirects"),H=a("maxBodyLength"),Q=a("maxContentLength"),Ct=a("decompress"),Yo,bn=!1,te,Jo;if(d=+d,Number.isNaN(d))throw TypeError(`Invalid protocol version: '${e.httpVersion}' is not a number`);if(d!==1&&d!==2)throw TypeError(`Unsupported protocol version '${d}'`);let Ms=d===2;if(u){let z=Gx(u,P=>h.isArray(P)?P:[P]);u=s((P,ee,Ke)=>{z(P,ee,(X,Ft,io)=>{if(X)return Ke(X);let ct=h.isArray(Ft)?Ft.map(_s=>u0(_s)):[u0(Ft,io)];ee.all?Ke(X,ct):Ke(X,ct[0].address,ct[0].family)})},"lookup")}let Ur=new h0.EventEmitter;function mt(z){try{Ur.emit("abort",!z||z.type?new Wo(null,e,te):z)}catch{}}s(mt,"abort");function Kn(){Jo&&(clearTimeout(Jo),Jo=null)}s(Kn,"clearConnectPhaseTimer");function _a(){let z=a("timeout"),P=z?"timeout of "+z+"ms exceeded":"timeout exceeded",ee=a("timeoutErrorMessage");return ee&&(P=ee),new w(P,c.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,e,te)}s(_a,"createTimeoutError"),Ur.once("abort",r);let Ua=s(()=>{Kn(),e.cancelToken&&e.cancelToken.unsubscribe(mt),e.signal&&e.signal.removeEventListener("abort",mt),Ur.removeAllListeners()},"onFinished");(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(mt),e.signal&&(e.signal.aborted?mt():e.signal.addEventListener("abort",mt))),n((z,P)=>{if(Yo=!0,Kn(),P){bn=!0,Ua();return}let{data:ee}=z;if(ee instanceof fi.default.Readable||ee instanceof fi.default.Duplex){let Ke=fi.default.finished(ee,()=>{Ke(),Ua()})}else Ua()});let yu=Ya(a("baseURL"),a("url"),a("allowAbsoluteUrls"),e),bu=I?"http://localhost":ne.hasBrowserEnv?ne.origin:void 0,ze=new URL(yu,bu),Xe=ze.protocol||c0[0];if(Xe==="data:"){if(Q>-1){let P=String(a("url")||yu||"");if(o0(P)>Q)return r(new w("maxContentLength size of "+Q+" exceeded",w.ERR_BAD_RESPONSE,e))}let z;if(A!=="GET")return Cn(i,r,{status:405,statusText:"method not allowed",headers:{},config:e});try{z=qm(a("url"),C==="blob",{Blob:e.env&&e.env.Blob})}catch(P){throw w.from(P,w.ERR_BAD_REQUEST,e)}return C==="text"?(z=z.toString(b),(!b||b==="utf8")&&(z=h.stripBOM(z))):C==="stream"&&(z=fi.default.Readable.from(z)),Cn(i,r,{data:z,status:200,statusText:"OK",headers:new we,config:e})}if(c0.indexOf(Xe)===-1)return r(new w("Unsupported protocol "+Xe,w.ERR_BAD_REQUEST,e));let st=we.from(e.headers).normalize();st.set("User-Agent","axios/"+er,!1);let{onUploadProgress:xn,onDownloadProgress:$n}=e,qa=e.maxRate,ie,Gt;if(h.isSpecCompliantForm(p)){let z=st.getContentType(/boundary=([-_\w\d]{10,70})/i);p=Vx(p,P=>{st.set(P)},{tag:`axios-${er}-boundary`,boundary:z&&z[1]||void 0})}else if(h.isFormData(p)&&h.isFunction(p.getHeaders)&&p.getHeaders!==Object.prototype.getHeaders){if(pl(st,p.getHeaders(),a("formDataHeaderPolicy")),!st.hasContentLength())try{let z=await f0.default.promisify(p.getLength).call(p);Number.isFinite(z)&&z>=0&&st.setContentLength(z)}catch{}}else if(h.isBlob(p)||h.isFile(p))p.size&&st.setContentType(p.type||"application/octet-stream"),st.setContentLength(p.size||0),p=fi.default.Readable.from(Hu(p));else if(p&&!h.isStream(p)){if(!Buffer.isBuffer(p))if(h.isArrayBuffer(p))p=Buffer.from(new Uint8Array(p));else if(h.isString(p))p=Buffer.from(p,"utf-8");else return r(new w("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",w.ERR_BAD_REQUEST,e));if(st.setContentLength(p.length,!1),H>-1&&p.length>H)return r(new w("Request body larger than maxBodyLength limit",w.ERR_BAD_REQUEST,e))}let Ls=h.toFiniteNumber(st.getContentLength());h.isArray(qa)?(ie=qa[0],Gt=qa[1]):ie=Gt=qa,p&&(xn||ie)&&(h.isStream(p)||(p=fi.default.Readable.from(p,{objectMode:!1})),p=fi.default.pipeline([p,new km({maxRate:h.toFiniteNumber(ie)})],h.noop),xn&&p.on("progress",l0(p,nc(Ls,tr(rc(xn,n0),!1,3)))));let Sn,Tp=a("auth");if(Tp){let z=h.getSafeProp(Tp,"username")||"",P=h.getSafeProp(Tp,"password")||"";Sn=z+":"+P}if(!Sn&&(ze.username||ze.password)){let z=p0(ze.username),P=p0(ze.password);Sn=z+":"+P}Sn&&st.delete("authorization");let zp;try{zp=Za(ze.pathname+ze.search,a("params"),a("paramsSerializer")).replace(/^\?/,"")}catch(z){return r(w.from(z,w.ERR_BAD_REQUEST,e,null,null,{url:a("url"),exists:!0}))}st.set("Accept-Encoding",h.hasOwnProp(c,"advertiseZstdAcceptEncoding")&&c.advertiseZstdAcceptEncoding===!0?FF:y0,!1);let de=Object.assign(Object.create(null),{path:zp,method:A,headers:Qs(st),agents:{http:y,https:x},auth:Sn,protocol:Xe,family:l,beforeRedirect:LF,beforeRedirects:Object.create(null),http2Options:m});if(!h.isUndefined(u)&&(de.lookup=u),I){if(typeof I!="string")return r(new w("socketPath must be a string",w.ERR_BAD_OPTION_VALUE,e));let z=a("allowedSocketPaths");if(z!=null){let P=Array.isArray(z)?z:[z],ee=(0,Jm.resolve)(I);if(!P.some(X=>typeof X=="string"&&(0,Jm.resolve)(X)===ee))return r(new w(`socketPath "${I}" is not permitted by allowedSocketPaths`,w.ERR_BAD_OPTION_VALUE,e))}de.socketPath=I}else de.hostname=ze.hostname.startsWith("[")?ze.hostname.slice(1,-1):ze.hostname,de.port=ze.port,x0(de,N,Xe+"//"+ze.hostname+(ze.port?":"+ze.port:"")+de.path,!1,x,y);let qr,Vs=!1,li=!1,Z=$m.test(de.protocol);if(de.agent==null&&(de.agent=Z?x:y),Ms)qr=kF;else{let z=a("transport");if(z)qr=z;else if(D===0)qr=Z?Km.default:Xm.default,Vs=!0;else{li=!0,de.sensitiveHeaders=[],D&&(de.maxRedirects=D);let P=a("beforeRedirect");if(P&&(de.beforeRedirects.config=P),Sn){let Ke=ze.origin,X=Sn;de.beforeRedirects.auth=s(function(io){try{new URL(io.href).origin===Ke&&(io.auth=X)}catch{}},"beforeRedirectAuth")}let ee=a("sensitiveHeaders");if(ee!=null){if(!h.isArray(ee))return r(new w("sensitiveHeaders must be an array of strings",w.ERR_BAD_OPTION_VALUE,e));let Ke=new Set;for(let X of ee){if(!h.isString(X))return r(new w("sensitiveHeaders must be an array of strings",w.ERR_BAD_OPTION_VALUE,e));Ke.add(X.toLowerCase())}Ke.size&&(de.sensitiveHeaders=Array.from(Ke),de.beforeRedirects.sensitiveHeaders=s(function(Ft,io){_F(Ft,io)||VF(Ft.headers,Ke)},"beforeRedirectSensitiveHeaders"))}qr=Z?EF:DF}}H>-1?de.maxBodyLength=H:de.maxBodyLength=1/0,de.insecureHTTPParser=!!a("insecureHTTPParser"),te=qr.request(de,s(function(P){if(Kn(),te.destroyed)return;let ee=[P],Ke=h.toFiniteNumber(P.headers["content-length"]);if($n||Gt){let ct=new km({maxRate:h.toFiniteNumber(Gt)});$n&&ct.on("progress",l0(ct,nc(Ke,tr(rc($n,n0),!0,3)))),ee.push(ct)}let X=P,Ft=P.req||te;if(Ct!==!1&&P.headers["content-encoding"])switch((A==="HEAD"||P.statusCode===204)&&delete P.headers["content-encoding"],(P.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":ee.push(Xo.default.createUnzip(i0)),delete P.headers["content-encoding"];break;case"deflate":ee.push(new Ux),ee.push(Xo.default.createUnzip(i0)),delete P.headers["content-encoding"];break;case"br":v0&&(ee.push(Xo.default.createBrotliDecompress(OF)),delete P.headers["content-encoding"]);break;case"zstd":g0&&(ee.push(Xo.default.createZstdDecompress(AF)),delete P.headers["content-encoding"]);break}X=ee.length>1?fi.default.pipeline(ee,h.noop):ee[0];let io={status:P.statusCode,statusText:P.statusMessage,headers:new we(P.headers),config:e,request:Ft};if(C==="stream"){if(Q>-1){let ct=Q,_s=X;async function*jp(){let Dt=0;for await(let gg of _s){if(Dt+=gg.length,Dt>ct)throw new w("maxContentLength size of "+ct+" exceeded",w.ERR_BAD_RESPONSE,e,Ft);yield gg}}s(jp,"enforceMaxContentLength"),X=fi.default.Readable.from(jp(),{objectMode:!1})}io.data=X,Cn(i,r,io)}else{let ct=[],_s=0;X.on("data",s(function(Dt){ct.push(Dt),_s+=Dt.length,Q>-1&&_s>Q&&(bn=!0,X.destroy(),mt(new w("maxContentLength size of "+Q+" exceeded",w.ERR_BAD_RESPONSE,e,Ft)))},"handleStreamData")),X.on("aborted",s(function(){if(bn)return;let Dt=new w("stream has been aborted",w.ERR_BAD_RESPONSE,e,Ft,io);X.destroy(Dt),r(Dt)},"handlerStreamAborted")),X.on("error",s(function(Dt){bn||r(w.from(Dt,null,e,Ft,io))},"handleStreamError")),X.on("end",s(function(){try{let Dt=ct.length===1?ct[0]:Buffer.concat(ct);C!=="arraybuffer"&&(Dt=Dt.toString(b),(!b||b==="utf8")&&(Dt=h.stripBOM(Dt))),io.data=Dt}catch(Dt){return r(w.from(Dt,null,e,io.request,io))}Cn(i,r,io)},"handleStreamEnd"))}Ur.once("abort",ct=>{X.destroyed||(X.emit("error",ct),X.destroy())})},"handleResponse")),Ur.once("abort",z=>{te.close?te.close():te.destroy(z)}),te.on("error",s(function(P){r(w.from(P,null,e,te))},"handleRequestError"));let Qt=new Set;if(te.on("socket",s(function(P){typeof P.setKeepAlive=="function"&&P.setKeepAlive(!0,1e3*60),P[r0]||(P.on("error",s(function(Ke){let X=P[ku];X&&!X.destroyed&&X.destroy(Ke)},"handleSocketError")),P[r0]=!0),P[ku]=te,Qt.add(P)},"handleRequestSocket")),te.once("close",s(function(){Kn();for(let P of Qt)P[ku]===te&&(P[ku]=null);Qt.clear()},"clearCurrentReq")),a("timeout")){let z=parseInt(a("timeout"),10);if(Number.isNaN(z)){mt(new w("error trying to parse `config.timeout` to int",w.ERR_BAD_OPTION_VALUE,e,te));return}let P=s(function(){Yo||mt(_a())},"handleTimeout");Vs&&z>0&&(Jo=setTimeout(P,z)),te.setTimeout(z,P)}else te.setTimeout(0);if(h.isStream(p)){let z=!1,P=!1;p.on("end",()=>{z=!0}),p.once("error",Ke=>{P=!0,te.destroy(Ke)}),p.on("close",()=>{!z&&!P&&mt(new Wo("Request stream has been aborted",e,te))});let ee=p;if(H>-1&&!li){let Ke=H,X=0;ee=fi.default.pipeline([p,new fi.default.Transform({transform(Ft,io,ct){if(X+=Ft.length,X>Ke)return ct(new w("Request body larger than maxBodyLength limit",w.ERR_BAD_REQUEST,e,te));ct(null,Ft)}})],h.noop),ee.on("error",Ft=>{te.destroyed||te.destroy(Ft)})}ee.pipe(te)}else p&&te.write(p),te.end()},"dispatchHttpRequest"))},"httpAdapter");var C0=ne.hasStandardBrowserEnv?((t,e)=>o=>(o=new URL(o,ne.origin),t.protocol===o.protocol&&t.host===o.host&&(e||t.port===o.port)))(new URL(ne.origin),ne.navigator&&/(msie|trident)/i.test(ne.navigator.userAgent)):()=>!0;var N0=ne.hasStandardBrowserEnv?{write(t,e,o,i,r,n,a){if(typeof document>"u")return;let c=[`${t}=${encodeURIComponent(e)}`];h.isNumber(o)&&c.push(`expires=${new Date(o).toUTCString()}`),h.isString(i)&&c.push(`path=${i}`),h.isString(r)&&c.push(`domain=${r}`),n===!0&&c.push("secure"),h.isString(a)&&c.push(`SameSite=${a}`),document.cookie=c.join("; ")},read(t){if(typeof document>"u")return null;let e=document.cookie.split(";");for(let o=0;o<e.length;o++){let i=e[o].replace(/^\s+/,""),r=i.indexOf("=");if(r!==-1&&i.slice(0,r)===t)try{return decodeURIComponent(i.slice(r+1))}catch{return i.slice(r+1)}}return null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};var R0=s(t=>t instanceof we?{...t}:t,"headersToObject"),GF=s(t=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(t).concat(Object.getOwnPropertySymbols(t).filter(e=>Object.getOwnPropertyDescriptor(t,e).enumerable)):Object.keys(t),"ownEnumerableKeys");function Li(t,e){t=t||{},e=e||{};let o=Object.create(null);Object.defineProperty(o,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function i(l,d,m,y){return h.isPlainObject(l)&&h.isPlainObject(d)?h.merge.call({caseless:y},l,d):h.isPlainObject(d)?h.merge({},d):h.isArray(d)?d.slice():d}s(i,"getMergedValue");function r(l,d,m,y){if(h.isUndefined(d)){if(!h.isUndefined(l))return i(void 0,l,m,y)}else return i(l,d,m,y)}s(r,"mergeDeepProperties");function n(l,d){if(!h.isUndefined(d))return i(void 0,d)}s(n,"valueFromConfig2");function a(l,d){if(h.isUndefined(d)){if(!h.isUndefined(l))return i(void 0,l)}else return i(void 0,d)}s(a,"defaultToConfig2");function c(l){let d=h.hasOwnProp(e,"transitional")?e.transitional:void 0;if(!h.isUndefined(d))if(h.isPlainObject(d)){if(h.hasOwnProp(d,l))return d[l]}else return;let m=h.hasOwnProp(t,"transitional")?t.transitional:void 0;if(h.isPlainObject(m)&&h.hasOwnProp(m,l))return m[l]}s(c,"getMergedTransitionalOption");function p(l,d,m){if(h.hasOwnProp(e,m))return i(l,d);if(h.hasOwnProp(t,m))return i(void 0,l)}s(p,"mergeDirectKeys");let u={url:n,method:n,data:n,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,allowedSocketPaths:a,responseEncoding:a,validateStatus:p,headers:s((l,d,m)=>r(R0(l),R0(d),m,!0),"headers")};return h.forEach(GF({...t,...e}),s(function(d){if(d==="__proto__"||d==="constructor"||d==="prototype")return;let m=h.hasOwnProp(u,d)?u[d]:r,y=h.hasOwnProp(t,d)?t[d]:void 0,x=h.hasOwnProp(e,d)?e[d]:void 0,N=m(y,x,d);h.isUndefined(N)&&m!==p||(o[d]=N)},"computeConfigValue")),h.hasOwnProp(e,"validateStatus")&&h.isUndefined(e.validateStatus)&&c("validateStatusUndefinedResolves")===!1&&(h.hasOwnProp(t,"validateStatus")?o.validateStatus=i(void 0,t.validateStatus):delete o.validateStatus),o}s(Li,"mergeConfig");var QF=s(t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,o)=>String.fromCharCode(parseInt(o,16))),"encodeUTF8");function ZF(t){let e=Li({},t),o=s(m=>h.hasOwnProp(e,m)?e[m]:void 0,"own"),i=o("data"),r=o("withXSRFToken"),n=o("xsrfHeaderName"),a=o("xsrfCookieName"),c=o("headers"),p=o("auth"),u=o("baseURL"),l=o("allowAbsoluteUrls"),d=o("url");if(e.headers=c=we.from(c),e.url=Za(Ya(u,d,l,e),o("params"),o("paramsSerializer")),p){let m=h.getSafeProp(p,"username")||"",y=h.getSafeProp(p,"password")||"";try{c.set("Authorization","Basic "+btoa(m+":"+(y?QF(y):"")))}catch(x){throw w.from(x,w.ERR_BAD_OPTION_VALUE,t)}}if(h.isFormData(i)&&(ne.hasStandardBrowserEnv||ne.hasStandardBrowserWebWorkerEnv||h.isReactNative(i)?c.setContentType(void 0):h.isFunction(i.getHeaders)&&pl(c,i.getHeaders(),o("formDataHeaderPolicy"))),ne.hasStandardBrowserEnv&&(h.isFunction(r)&&(r=r(e)),r===!0||r==null&&C0(e.url))){let y=n&&a&&N0.read(a);y&&c.set(n,y)}return e}s(ZF,"resolveConfig");var Gu=ZF;var YF=typeof XMLHttpRequest<"u",w0=YF&&function(t){return new Promise(s(function(o,i){let r=Gu(t),n=r.data,a=we.from(r.headers).normalize(),{responseType:c,onUploadProgress:p,onDownloadProgress:u}=r,l,d,m,y,x;function N(){y&&y(),x&&x(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener("abort",l)}s(N,"done");let C=new XMLHttpRequest;C.open(r.method.toUpperCase(),r.url,!0),C.timeout=r.timeout;function b(){if(!C)return;let A=we.from("getAllResponseHeaders"in C&&C.getAllResponseHeaders()),H={data:!c||c==="text"||c==="json"?C.responseText:C.response,status:C.status,statusText:C.statusText,headers:A,config:t,request:C};Cn(s(function(Ct){o(Ct),N()},"_resolve"),s(function(Ct){i(Ct),N()},"_reject"),H),C=null}s(b,"onloadend"),"onloadend"in C?C.onloadend=b:C.onreadystatechange=s(function(){!C||C.readyState!==4||C.status===0&&!(C.responseURL&&C.responseURL.startsWith("file:"))||setTimeout(b)},"handleLoad"),C.onabort=s(function(){C&&(i(new w("Request aborted",w.ECONNABORTED,t,C)),N(),C=null)},"handleAbort"),C.onerror=s(function(D){let H=D&&D.message?D.message:"Network Error",Q=new w(H,w.ERR_NETWORK,t,C);Q.event=D||null,i(Q),N(),C=null},"handleError"),C.ontimeout=s(function(){let D=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded",H=r.transitional||Gr;r.timeoutErrorMessage&&(D=r.timeoutErrorMessage),i(new w(D,H.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,t,C)),N(),C=null},"handleTimeout"),n===void 0&&a.setContentType(null),"setRequestHeader"in C&&h.forEach(Qs(a),s(function(D,H){C.setRequestHeader(H,D)},"setRequestHeader")),h.isUndefined(r.withCredentials)||(C.withCredentials=!!r.withCredentials),c&&c!=="json"&&(C.responseType=r.responseType),u&&([m,x]=tr(u,!0),C.addEventListener("progress",m)),p&&C.upload&&([d,y]=tr(p),C.upload.addEventListener("progress",d),C.upload.addEventListener("loadend",y)),(r.cancelToken||r.signal)&&(l=s(A=>{C&&(i(!A||A.type?new Wo(null,t,C):A),C.abort(),N(),C=null)},"onCanceled"),r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));let I=cl(r.url);if(I&&!ne.protocols.includes(I)){i(new w("Unsupported protocol "+I+":",w.ERR_BAD_REQUEST,t)),N();return}C.send(n||null)},"dispatchXhrRequest"))};var JF=s((t,e)=>{if(t=t?t.filter(Boolean):[],!e&&!t.length)return;let o=new AbortController,i=!1,r=s(function(p){if(!i){i=!0,a();let u=p instanceof Error?p:this.reason;o.abort(u instanceof w?u:new Wo(u instanceof Error?u.message:u))}},"onabort"),n=e&&setTimeout(()=>{n=null,r(new w(`timeout of ${e}ms exceeded`,w.ETIMEDOUT))},e),a=s(()=>{t&&(n&&clearTimeout(n),n=null,t.forEach(p=>{p.unsubscribe?p.unsubscribe(r):p.removeEventListener("abort",r)}),t=null)},"unsubscribe");t.forEach(p=>{if(!i){if(p.aborted){r.call(p);return}p.addEventListener("abort",r,{once:!0})}});let{signal:c}=o;return c.unsubscribe=()=>h.asap(a),c},"composeSignals"),I0=JF;var WF=s(function*(t,e){let o=t.byteLength;if(!e||o<e){yield t;return}let i=0,r;for(;i<o;)r=i+e,yield t.slice(i,r),i=r},"streamChunk"),XF=s(async function*(t,e){for await(let o of KF(t))yield*WF(o,e)},"readBytes"),KF=s(async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}let e=t.getReader();try{for(;;){let{done:o,value:i}=await e.read();if(o)break;yield i}}finally{await e.cancel()}},"readStream"),eh=s((t,e,o,i)=>{let r=XF(t,e),n=0,a,c=s(p=>{a||(a=!0,i&&i(p))},"_onFinish");return new ReadableStream({async pull(p){try{let{done:u,value:l}=await r.next();if(u){c(),p.close();return}let d=l.byteLength;if(o){let m=n+=d;o(m)}p.enqueue(new Uint8Array(l))}catch(u){throw c(u),u}},cancel(p){return c(p),r.return()}},{highWaterMark:2})},"trackStream");var O0=64*1024,{isFunction:Qu}=h,$F=s(t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,o)=>String.fromCharCode(parseInt(o,16))),"encodeUTF8"),A0=s(t=>{if(!h.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},"decodeURIComponentSafe"),F0=s((t,...e)=>{try{return!!t(...e)}catch{return!1}},"test"),eD=s(t=>{let e=t.indexOf("://"),o=t;return e!==-1&&(o=o.slice(e+3)),o.includes("@")||o.includes(":")},"maybeWithAuthCredentials"),tD=s(t=>{let e=h.global!==void 0&&h.global!==null?h.global:globalThis,{ReadableStream:o,TextEncoder:i}=e;t=h.merge.call({skipUndefined:!0},{Request:e.Request,Response:e.Response},t);let{fetch:r,Request:n,Response:a}=t,c=r?Qu(r):typeof fetch=="function",p=Qu(n),u=Qu(a);if(!c)return!1;let l=c&&Qu(o),d=c&&(typeof i=="function"?(b=>I=>b.encode(I))(new i):async b=>new Uint8Array(await new n(b).arrayBuffer())),m=p&&l&&F0(()=>{let b=!1,I=new n(ne.origin,{body:new o,method:"POST",get duplex(){return b=!0,"half"}}),A=I.headers.has("Content-Type");return I.body!=null&&I.body.cancel(),b&&!A}),y=u&&l&&F0(()=>h.isReadableStream(new a("").body)),x={stream:y&&(b=>b.body)};c&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!x[b]&&(x[b]=(I,A)=>{let D=I&&I[b];if(D)return D.call(I);throw new w(`Response type '${b}' is not supported`,w.ERR_NOT_SUPPORT,A)})});let N=s(async b=>{if(b==null)return 0;if(h.isBlob(b))return b.size;if(h.isSpecCompliantForm(b))return(await new n(ne.origin,{method:"POST",body:b}).arrayBuffer()).byteLength;if(h.isArrayBufferView(b)||h.isArrayBuffer(b))return b.byteLength;if(h.isURLSearchParams(b)&&(b=b+""),h.isString(b))return(await d(b)).byteLength},"getBodyLength"),C=s(async(b,I)=>{let A=h.toFiniteNumber(b.getContentLength());return A??N(I)},"resolveBodyLength");return async b=>{let{url:I,method:A,data:D,signal:H,cancelToken:Q,timeout:Ct,onDownloadProgress:Yo,onUploadProgress:bn,responseType:te,headers:Jo,withCredentials:Ms="same-origin",fetchOptions:Ur,maxContentLength:mt,maxBodyLength:Kn}=Gu(b),_a=h.isNumber(mt)&&mt>-1,Ua=h.isNumber(Kn)&&Kn>-1,yu=s(ie=>h.hasOwnProp(b,ie)?b[ie]:void 0,"own"),bu=r||fetch;te=te?(te+"").toLowerCase():"text";let ze=I0([H,Q&&Q.toAbortSignal()],Ct),Xe=null,st=ze&&ze.unsubscribe&&(()=>{ze.unsubscribe()}),xn,$n=null,qa=s(()=>new w("Request body larger than maxBodyLength limit",w.ERR_BAD_REQUEST,b,Xe),"maxBodyLengthError");try{let ie,Gt=yu("auth");if(Gt){let Z=h.getSafeProp(Gt,"username")||"",Qt=h.getSafeProp(Gt,"password")||"";ie={username:Z,password:Qt}}if(eD(I)){let Z=new URL(I,ne.origin);if(!ie&&(Z.username||Z.password)){let Qt=A0(Z.username),z=A0(Z.password);ie={username:Qt,password:z}}(Z.username||Z.password)&&(Z.username="",Z.password="",I=Z.href)}if(ie&&(Jo.delete("authorization"),Jo.set("Authorization","Basic "+btoa($F((ie.username||"")+":"+(ie.password||""))))),_a&&typeof I=="string"&&I.startsWith("data:")&&Ym(I)>mt)throw new w("maxContentLength size of "+mt+" exceeded",w.ERR_BAD_RESPONSE,b,Xe);if(Ua&&A!=="get"&&A!=="head"){let Z=await N(D);if(typeof Z=="number"&&isFinite(Z)&&(xn=Z,Z>Kn))throw qa()}let Ls=Ua&&(h.isReadableStream(D)||h.isStream(D)),Sn=s((Z,Qt,z)=>eh(Z,O0,P=>{if(Ua&&P>Kn)throw $n=qa();Qt&&Qt(P)},z),"trackRequestStream");if(m&&A!=="get"&&A!=="head"&&(bn||Ls)){if(xn=xn??await C(Jo,D),xn!==0||Ls){let Z=new n(I,{method:"POST",body:D,duplex:"half"}),Qt;if(h.isFormData(D)&&(Qt=Z.headers.get("content-type"))&&Jo.setContentType(Qt),Z.body){let[z,P]=bn&&nc(xn,tr(rc(bn)))||[];D=Sn(Z.body,z,P)}}}else if(Ls&&!p&&l&&A!=="get"&&A!=="head")D=Sn(D);else if(Ls&&p&&!m&&A!=="get"&&A!=="head")throw new w("Stream request bodies are not supported by the current fetch implementation",w.ERR_NOT_SUPPORT,b,Xe);h.isString(Ms)||(Ms=Ms?"include":"omit");let Tp=p&&"credentials"in n.prototype;if(h.isFormData(D)){let Z=Jo.getContentType();Z&&/^multipart\/form-data/i.test(Z)&&!/boundary=/i.test(Z)&&Jo.delete("content-type")}Jo.set("User-Agent","axios/"+er,!1);let zp={...Ur,signal:ze,method:A.toUpperCase(),headers:Qs(Jo.normalize()),body:D,duplex:"half",credentials:Tp?Ms:void 0};Xe=p&&new n(I,zp);let de=await(p?bu(Xe,Ur):bu(I,zp)),qr=we.from(de.headers);if(_a){let Z=h.toFiniteNumber(qr.getContentLength());if(Z!=null&&Z>mt)throw new w("maxContentLength size of "+mt+" exceeded",w.ERR_BAD_RESPONSE,b,Xe)}let Vs=y&&(te==="stream"||te==="response");if(y&&de.body&&(Yo||_a||Vs&&st)){let Z={};["status","statusText","headers"].forEach(X=>{Z[X]=de[X]});let Qt=h.toFiniteNumber(qr.getContentLength()),[z,P]=Yo&&nc(Qt,tr(rc(Yo),!0))||[],ee=0,Ke=s(X=>{if(_a&&(ee=X,ee>mt))throw new w("maxContentLength size of "+mt+" exceeded",w.ERR_BAD_RESPONSE,b,Xe);z&&z(X)},"onChunkProgress");de=new a(eh(de.body,O0,Ke,()=>{P&&P(),st&&st()}),Z)}te=te||"text";let li=await x[h.findKey(x,te)||"text"](de,b);if(_a&&!y&&!Vs){let Z;if(li!=null&&(typeof li.byteLength=="number"?Z=li.byteLength:typeof li.size=="number"?Z=li.size:typeof li=="string"&&(Z=typeof i=="function"?new i().encode(li).byteLength:li.length)),typeof Z=="number"&&Z>mt)throw new w("maxContentLength size of "+mt+" exceeded",w.ERR_BAD_RESPONSE,b,Xe)}return!Vs&&st&&st(),await new Promise((Z,Qt)=>{Cn(Z,Qt,{data:li,headers:we.from(de.headers),status:de.status,statusText:de.statusText,config:b,request:Xe})})}catch(ie){if(st&&st(),ze&&ze.aborted&&ze.reason instanceof w){let Gt=ze.reason;throw Gt.config=b,Xe&&(Gt.request=Xe),ie!==Gt&&Object.defineProperty(Gt,"cause",{__proto__:null,value:ie,writable:!0,enumerable:!1,configurable:!0}),Gt}if($n)throw Xe&&!$n.request&&($n.request=Xe),$n;if(ie instanceof w)throw Xe&&!ie.request&&(ie.request=Xe),ie;if(ie&&ie.name==="TypeError"&&/Load failed|fetch/i.test(ie.message)){let Gt=new w("Network Error",w.ERR_NETWORK,b,Xe,ie&&ie.response);throw Object.defineProperty(Gt,"cause",{__proto__:null,value:ie.cause||ie,writable:!0,enumerable:!1,configurable:!0}),Gt}throw w.from(ie,ie&&ie.code,b,Xe,ie&&ie.response)}}},"factory"),oD=new Map,th=s(t=>{let e=t&&t.env||{},{fetch:o,Request:i,Response:r}=e,n=[i,r,o],a=n.length,c=a,p,u,l=oD;for(;c--;)p=n[c],u=l.get(p),u===void 0&&l.set(p,u=c?new Map:tD(e)),l=u;return u},"getFetch"),dB=th();var oh={http:S0,xhr:w0,fetch:{get:th}};h.forEach(oh,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{__proto__:null,value:e})}catch{}Object.defineProperty(t,"adapterName",{__proto__:null,value:e})}});var D0=s(t=>`- ${t}`,"renderReason"),nD=s(t=>h.isFunction(t)||t===null||t===!1,"isResolvedHandle");function rD(t,e){t=h.isArray(t)?t:[t];let{length:o}=t,i,r,n={};for(let a=0;a<o;a++){i=t[a];let c;if(r=i,!nD(i)&&(r=oh[(c=String(i)).toLowerCase()],r===void 0))throw new w(`Unknown adapter '${c}'`);if(r&&(h.isFunction(r)||(r=r.get(e))))break;n[c||"#"+a]=r}if(!r){let a=Object.entries(n).map(([p,u])=>`adapter ${p} `+(u===!1?"is not supported by the environment":"is not available in the build")),c=o?a.length>1?`since :
30
- `+a.map(D0).join(`
31
- `):" "+D0(a[0]):"as no adapter specified";throw new w("There is no suitable adapter to dispatch the request "+c,w.ERR_NOT_SUPPORT)}return r}s(rD,"getAdapter");var Zu={getAdapter:rD,adapters:oh};function ih(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Wo(null,t)}s(ih,"throwIfCancellationRequested");function ul(t){return ih(t),t.headers=we.from(t.headers),t.data=Xp.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Zu.getAdapter(t.adapter||$s.adapter,t)(t).then(s(function(i){ih(t),t.response=i;try{i.data=Xp.call(t,t.transformResponse,i)}finally{delete t.response}return i.headers=we.from(i.headers),i},"onAdapterResolution"),s(function(i){if(!Kp(i)&&(ih(t),i&&i.response)){t.response=i.response;try{i.response.data=Xp.call(t,t.transformResponse,i.response)}finally{delete t.response}i.response.headers=we.from(i.response.headers)}return Promise.reject(i)},"onAdapterRejection"))}s(ul,"dispatchRequest");var Yu={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Yu[t]=s(function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t},"validator")});var E0={};Yu.transitional=s(function(e,o,i){function r(n,a){return"[Axios v"+er+"] Transitional option '"+n+"'"+a+(i?". "+i:"")}return s(r,"formatMessage"),(n,a,c)=>{if(e===!1)throw new w(r(a," has been removed"+(o?" in "+o:"")),w.ERR_DEPRECATED);return o&&!E0[a]&&(E0[a]=!0,console.warn(r(a," has been deprecated since v"+o+" and will be removed in the near future"))),e?e(n,a,c):!0}},"transitional");Yu.spelling=s(function(e){return(o,i)=>(console.warn(`${i} is likely a misspelling of ${e}`),!0)},"spelling");function aD(t,e,o){if(typeof t!="object"||t===null)throw new w("options must be an object",w.ERR_BAD_OPTION_VALUE);let i=Object.keys(t),r=i.length;for(;r-- >0;){let n=i[r],a=Object.prototype.hasOwnProperty.call(e,n)?e[n]:void 0;if(a){let c=t[n],p=c===void 0||a(c,n,t);if(p!==!0)throw new w("option "+n+" must be "+p,w.ERR_BAD_OPTION_VALUE);continue}if(o!==!0)throw new w("Unknown option "+n,w.ERR_BAD_OPTION)}}s(aD,"assertOptions");var dl={assertOptions:aD,validators:Yu};var no=dl.validators,Ju=class{static{s(this,"Axios")}constructor(e){this.defaults=e||{},this.interceptors={request:new lm,response:new lm}}async request(e,o){try{return await this._request(e,o)}catch(i){if(i instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;let n=(()=>{if(!r.stack)return"";let a=r.stack.indexOf(`
24
+ `,typeof o=="function"&&o(null,c),c}});var rR=R(nR=>{"use strict";var CP="\x1B[47m",NP="\x1B[40m",ng="\x1B[37m",rg="\x1B[30m",js="\x1B[0m",RP=CP+rg,wP=NP+ng,IP=s(function(t,e,o){return{"00":js+" "+t,"01":js+e+"\u2584"+t,"02":js+o+"\u2584"+t,10:js+e+"\u2580"+t,11:" ",12:"\u2584",20:js+o+"\u2580"+t,21:"\u2580",22:"\u2588"}},"createPalette"),oR=s(function(t,e,o,i){let r=e+1;if(o>=r||i>=r||i<-1||o<-1)return"0";if(o>=e||i>=e||i<0||o<0)return"1";let n=i*e+o;return t[n]?"2":"1"},"mkCodePixel"),iR=s(function(t,e,o,i){return oR(t,e,o,i)+oR(t,e,o,i+1)},"mkCode");nR.render=function(t,e,o){let i=t.modules.size,r=t.modules.data,n=!!(e&&e.inverse),a=e&&e.inverse?wP:RP,u=IP(a,n?rg:ng,n?ng:rg),l=js+`
25
+ `+a,d=a;for(let m=-1;m<i+1;m+=2){for(let y=-1;y<i;y++)d+=u[iR(r,i,y,m)];d+=u[iR(r,i,i,m)]+l}return d+=js,typeof o=="function"&&o(null,d),d}});var sR=R(aR=>{"use strict";var OP=tR(),AP=rR();aR.render=function(t,e,o){return e&&e.small?AP.render(t,e,o):OP.render(t,e,o)}});var sg=R(pR=>{"use strict";var FP=fu();function cR(t,e){let o=t.a/255,i=e+'="'+t.hex+'"';return o<1?i+" "+e+'-opacity="'+o.toFixed(2).slice(1)+'"':i}s(cR,"getColorAttrib");function ag(t,e,o){let i=t+e;return typeof o<"u"&&(i+=" "+o),i}s(ag,"svgCmd");function DP(t,e,o){let i="",r=0,n=!1,a=0;for(let c=0;c<t.length;c++){let p=Math.floor(c%e),u=Math.floor(c/e);!p&&!n&&(n=!0),t[c]?(a++,c>0&&p>0&&t[c-1]||(i+=n?ag("M",p+o,.5+u+o):ag("m",r,0),r=0,n=!1),p+1<e&&t[c+1]||(i+=ag("h",a),a=0)):r++}return i}s(DP,"qrToPath");pR.render=s(function(e,o,i){let r=FP.getOptions(o),n=e.modules.size,a=e.modules.data,c=n+r.margin*2,p=r.color.light.a?"<path "+cR(r.color.light,"fill")+' d="M0 0h'+c+"v"+c+'H0z"/>':"",u="<path "+cR(r.color.dark,"stroke")+' d="'+DP(a,n,r.margin)+'"/>',l='viewBox="0 0 '+c+" "+c+'"',m='<svg xmlns="http://www.w3.org/2000/svg" '+(r.width?'width="'+r.width+'" height="'+r.width+'" ':"")+l+' shape-rendering="crispEdges">'+p+u+`</svg>
26
+ `;return typeof i=="function"&&i(null,m),m},"render")});var lR=R(sf=>{"use strict";var EP=sg();sf.render=EP.render;sf.renderToFile=s(function(e,o,i,r){typeof r>"u"&&(r=i,i=void 0);let n=require("fs"),c='<?xml version="1.0" encoding="utf-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">'+sf.render(o,i);n.writeFile(e,c,r)},"renderToFile")});var uR=R(cf=>{"use strict";var cg=fu();function PP(t,e,o){t.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=o,e.width=o,e.style.height=o+"px",e.style.width=o+"px"}s(PP,"clearCanvas");function TP(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}s(TP,"getCanvasElement");cf.render=s(function(e,o,i){let r=i,n=o;typeof r>"u"&&(!o||!o.getContext)&&(r=o,o=void 0),o||(n=TP()),r=cg.getOptions(r);let a=cg.getImageWidth(e.modules.size,r),c=n.getContext("2d"),p=c.createImageData(a,a);return cg.qrToImageData(p.data,e,r),PP(c,n,a),c.putImageData(p,0,0),n},"render");cf.renderToDataURL=s(function(e,o,i){let r=i;typeof r>"u"&&(!o||!o.getContext)&&(r=o,o=void 0),r||(r={});let n=cf.render(e,o,r),a=r.type||"image/png",c=r.rendererOpts||{};return n.toDataURL(a,c.quality)},"renderToDataURL")});var fR=R(mu=>{"use strict";var zP=Cv(),pg=Uv(),dR=uR(),jP=sg();function lg(t,e,o,i,r){let n=[].slice.call(arguments,1),a=n.length,c=typeof n[a-1]=="function";if(!c&&!zP())throw new Error("Callback required as last argument");if(c){if(a<2)throw new Error("Too few arguments provided");a===2?(r=o,o=e,e=i=void 0):a===3&&(e.getContext&&typeof r>"u"?(r=i,i=void 0):(r=i,i=o,o=e,e=void 0))}else{if(a<1)throw new Error("Too few arguments provided");return a===1?(o=e,e=i=void 0):a===2&&!e.getContext&&(i=o,o=e,e=void 0),new Promise(function(p,u){try{let l=pg.create(o,i);p(t(l,e,i))}catch(l){u(l)}})}try{let p=pg.create(o,i);r(null,t(p,e,i))}catch(p){r(p)}}s(lg,"renderCanvas");mu.create=pg.create;mu.toCanvas=lg.bind(null,dR.render);mu.toDataURL=lg.bind(null,dR.renderToDataURL);mu.toString=lg.bind(null,function(t,e,o){return jP.render(t,o)})});var gR=R(Ba=>{"use strict";var mR=Cv(),ug=Uv(),BP=KN(),hR=$N(),MP=sR(),vR=lR();function hu(t,e,o){if(typeof t>"u")throw new Error("String required as first argument");if(typeof o>"u"&&(o=e,e={}),typeof o!="function")if(mR())e=o||{},o=null;else throw new Error("Callback required as last argument");return{opts:e,cb:o}}s(hu,"checkParams");function LP(t){return t.slice((t.lastIndexOf(".")-1>>>0)+2).toLowerCase()}s(LP,"getTypeFromFilename");function pf(t){switch(t){case"svg":return vR;case"txt":case"utf8":return hR;default:return BP}}s(pf,"getRendererFromType");function VP(t){switch(t){case"svg":return vR;case"terminal":return MP;default:return hR}}s(VP,"getStringRendererFromType");function vu(t,e,o){if(!o.cb)return new Promise(function(i,r){try{let n=ug.create(e,o.opts);return t(n,o.opts,function(a,c){return a?r(a):i(c)})}catch(n){r(n)}});try{let i=ug.create(e,o.opts);return t(i,o.opts,o.cb)}catch(i){o.cb(i)}}s(vu,"render");Ba.create=ug.create;Ba.toCanvas=fR().toCanvas;Ba.toString=s(function(e,o,i){let r=hu(e,o,i),n=r.opts?r.opts.type:void 0,a=VP(n);return vu(a.render,e,r)},"toString");Ba.toDataURL=s(function(e,o,i){let r=hu(e,o,i),n=pf(r.opts.type);return vu(n.renderToDataURL,e,r)},"toDataURL");Ba.toBuffer=s(function(e,o,i){let r=hu(e,o,i),n=pf(r.opts.type);return vu(n.renderToBuffer,e,r)},"toBuffer");Ba.toFile=s(function(e,o,i,r){if(typeof e!="string"||!(typeof o=="string"||typeof o=="object"))throw new Error("Invalid argument");if(arguments.length<3&&!mR())throw new Error("Too few arguments provided");let n=hu(o,i,r),a=n.opts.type||LP(e),p=pf(a).renderToFile.bind(null,e);return vu(p,o,n)},"toFile");Ba.toFileStream=s(function(e,o,i){if(arguments.length<2)throw new Error("Too few arguments provided");let r=hu(o,i,e.emit.bind(e,"error")),a=pf("png").renderToFileStream.bind(null,e);vu(a,o,r)},"toFileStream")});var dg=R((R5,yR)=>{"use strict";yR.exports=gR()});var UP={};xg(UP,{AccessKeyBuilder:()=>Vp,DanfceDefaultPdfDocument:()=>mg,DanfceReducedPdfDocument:()=>hg,DanfeDefaultPdfDocument:()=>gg,DanfeMargins:()=>zf,DanfeRtcLandscapePdfDocument:()=>yg,DanfeRtcPdfDocument:()=>yu,DanfeSize:()=>BR,DefaultDetBuilderAggregator:()=>_p,DefaultSchema:()=>Tf,DefaultTotalBuilderAggregator:()=>Up,EventoCstatToCancelRegister:()=>Df,EventoCstatToProtocol:()=>Ff,InutCstatToProtocol:()=>Ef,NFCeDto:()=>Wn,NFeDto:()=>Lr,NfceAuthorizerPipeline:()=>Cl,NfceCancelPipeline:()=>Ch,NfceConsultProtocoloPipeline:()=>Ih,NfceConsultStatusPipeline:()=>wh,NfceContingencyXmlAuthorizerPipeline:()=>Nh,NfceQrcode:()=>Wt,NfceRemoteTransmitter:()=>Mt,NfceVoidRangePipeline:()=>Rh,NfceXmlBuilder:()=>nu,NfceXmlBuilderPipeline:()=>Sv,NfeAuthorizationResponsePipeline:()=>vh,NfeAuthorizerPipeline:()=>bl,NfeCancelPipeline:()=>gl,NfeComplements:()=>jf,NfeConsultProtocoloPipeline:()=>Sl,NfeConsultStatusPipeline:()=>xl,NfeDetXmlBuilder:()=>mt,NfeDistribuicaoDFePipeline:()=>yh,NfeManifestacaoPipeline:()=>gh,NfeRemoteTransmitter:()=>Ao,NfeVoidRangePipeline:()=>mc,NfeXmlBuilder:()=>pe,NfeXmlBuilderPipeline:()=>iu,PL_009:()=>jR,PL_010:()=>Io,TpEmis:()=>vt,TpEvent:()=>gt,XmlValidationError:()=>Mp,mm:()=>j,ptPerMm:()=>Rg,schemas:()=>Lp});module.exports=zR(UP);var Cg=require("nfets/core");var Mp=class extends Cg.NFeTsError{static{s(this,"XmlValidationError")}xml;name="XmlValidationError";constructor(e,o,i){super(e,i),this.xml=o}};var vt=(function(t){return t.Normal="1",t.EPEC="4",t.SVCAN="6",t.SVCRS="7",t.OFFLINE="9",t})({});var gt=(function(t){return t.Cancelamento="110111",t.CancelamentoSubstituicao="110112",t.ConfirmacaoOperacao="210200",t.CienciaOperacao="210210",t.DesconhecimentoOperacao="210220",t.OperacaoNaoRealizada="210240",t})({});var Ff=(function(t){return t.RegistradoEVinculado="135",t})({}),Df=(function(t){return t.RegistradoEVinculado="135",t.RegistradoNaoVinculado="136",t.CancelamentoHomologadoForaPrazo="155",t})({});var Ef=(function(t){return t.InutilizacaoHomologada="102",t})({});var Pf=require("nfets/core");var Us={PL_009_V4:"PL_009_V4",PL_010_V1:"PL_010_V1",PL_010_V1_21:"PL_010_V1.21",PL_010_V1_30:"PL_010_V1.30"},jR=[Us.PL_009_V4],Io=[Us.PL_010_V1,Us.PL_010_V1_21,Us.PL_010_V1_30],Tf=Us.PL_009_V4,Lp=s(()=>{if(process.env.NFETS_NFE_SCHEMAS_DIR)return process.env.NFETS_NFE_SCHEMAS_DIR;try{return(0,Pf.search)("packages/nfe/schemas",{onFound:s(t=>t,"onFound"),onNotFound:s(()=>{throw new Error("Schemas not found on packages/nfe/schemas")},"onNotFound")})}catch{return(0,Pf.search)("nfe/schemas",{onFound:s(t=>t,"onFound"),onNotFound:s(()=>{throw new Error("Schemas not found on nfe/schemas")},"onNotFound")})}},"schemas"),Ng=Us;var Rg=2.834645669291339,j=s(t=>t*Rg,"mm"),BR={A4:[j(210),j(297)]},zf={top:j(5),right:j(5),bottom:j(5),left:j(5)};var Vp=class{static{s(this,"AccessKeyBuilder")}compile(e){let o=e.cUF.toString().padStart(2,"0"),i=e.year.toString().padStart(2,"0"),r=e.month.toString().padStart(2,"0"),n=(e.identification??"").padStart(14,"0"),a=e.mod.toString().padStart(2,"0"),c=e.serie.toString().padStart(3,"0"),p=e.nNF.toString().padStart(9,"0"),u=e.tpEmis.toString().padStart(1,"0"),l=(e.cNF??this.code()).toString().padStart(8,"0"),d=`${o}${i}${r}${n}${a}${c}${p}${u}${l}`;return`${d}${this.verifyingDigit(d)}`}decompile(e){if(e=e.trim().replace(/^NFe/,""),e.length!==44)return;let i=/^([0-9]{2})([0-9]{2})([0-9]{2})([A-Z0-9]{14})([0-9]{2})([0-9]{3})([0-9]{9})([0-9]{1})([0-9]{8})([0-9]{1})$/.exec(e);if(!i)return;let[r,n,a,c,p,u,l,d,m,y,x]=i;return{cUF:n,year:a,month:c,identification:p,mod:u,serie:l,nNF:d,tpEmis:m,cNF:y,vd:x}}code(){let e=Math.floor(Math.random()*1e8).toString().padStart(8,"0");return this.isCodeValid(e)?e:this.code()}isCodeValid(e){return!~["00000000","11111111","22222222","33333333","44444444","55555555","66666666","77777777","88888888","99999999","12345678","23456789","34567890","45678901","56789012","67890123","78901234","89012345","90123456","01234567"].indexOf(e)}verifyingDigit(e){let o=[4,3,2,9,8,7,6,5,4,3,2,9,8,7,6,5,4,3,2,9,8,7,6,5,4,3,2,9,8,7,6,5,4,3,2,9,8,7,6,5,4,3,2],i=48,r=43,n=0;for(let c=0;c<r;c++){let p=e.charCodeAt(c)-i;n+=p*o[c]}return n%11<2?0:11-n%11}};var wg=require("nfets/core");var Bi=require("nfets/core");var MR=new Set([gt.Cancelamento,gt.CancelamentoSubstituicao]),jf=class{static{s(this,"NfeComplements")}toolkit;constructor(e=new wg.Xml2JsToolkit){this.toolkit=e}cancelRegister(e,o){if(!e.trim())return(0,Bi.left)(new Bi.NFeTsError("Please provide a valid authorized NFe xml"));let i=this.toolkit.getNode(e,"protNFe");if(!i)return(0,Bi.left)(new Bi.NFeTsError("NFe not protocoladed"));let r=this.toolkit.getNodeValue(i,"chNFe");if(!r)return(0,Bi.left)(new Bi.NFeTsError("Access key not found in protNFe"));let n=this.findMatchingRetEvento(o,r);return n?(0,Bi.right)(this.toolkit.appendNode(e,n)):(0,Bi.right)(e)}findMatchingRetEvento(e,o){for(let i of this.toolkit.getNodes(e,"retEvento")){let r=this.toolkit.getNodeValue(i,"cStat"),n=this.toolkit.getNodeValue(i,"tpEvento"),a=this.toolkit.getNodeValue(i,"chNFe");if(r&&Object.values(Df).includes(r)&&n&&MR.has(n)&&a===o)return i}return null}};var Bf=require("nfets/core");var _p=class{static{s(this,"DefaultDetBuilderAggregator")}builder;zero=Bf.Decimal.from(0);constructor(e){this.builder=e}prod(e){this.builder.increment(({ICMSTot:o})=>({ICMSTot:{vProd:this.sum(o?.vProd,e.vProd),vFrete:this.sum(o?.vFrete,e.vFrete),vSeg:this.sum(o?.vSeg,e.vSeg),vDesc:this.sum(o?.vDesc,e.vDesc),vOutro:this.sum(o?.vOutro,e.vOutro)}}))}issqn(e){this.builder.increment(({ISSQNtot:o})=>({ISSQNtot:{vISS:this.sum(o?.vISS,e.vISSQN)}}))}cofins(e){this.builder.increment(({ICMSTot:o})=>({ICMSTot:{vCOFINS:this.sum(o?.vCOFINS,e.COFINSAliq?.vCOFINS??e.COFINSOutr?.vCOFINS??e.COFINSQtde?.vCOFINS)}}))}pis(e){this.builder.increment(({ICMSTot:o})=>({ICMSTot:{vPIS:this.sum(o?.vPIS,e.PISAliq?.vPIS??e.PISOutr?.vPIS??e.PISQtde?.vPIS)}}))}icms(e){let[o]=Object.keys(e),i=e[o];this.builder.increment(({ICMSTot:r})=>({ICMSTot:{vBC:this.sum(r?.vBC,i.vBC),vICMS:this.sum(r?.vICMS,i.vICMS),vICMSDeson:this.sum(r?.vICMSDeson,i.vICMSDeson),vBCST:this.sum(r?.vBCST,i.vBCST),vST:this.sum(r?.vST,i.vICMSST),vFCP:this.sum(r?.vFCP,i.vFCP),vFCPST:this.sum(r?.vFCPST,i.vFCPST),vFCPSTRet:this.sum(r?.vFCPSTRet,i.vFCPSTRet),qBCMono:this.sum(r?.qBCMono,i.qBCMono),vICMSMono:this.sum(r?.vICMSMono,i.vICMSMono),qBCMonoReten:this.sum(r?.qBCMonoReten,i.qBCMonoReten),vICMSMonoReten:this.sum(r?.vICMSMonoReten,i.vICMSMonoReten),qBCMonoRet:this.sum(r?.qBCMonoRet,i.qBCMonoRet),vICMSMonoRet:this.sum(r?.vICMSMonoRet,i.vICMSMonoRet)}}))}imposto(e){e.vTotTrib!=null&&this.builder.increment(({ICMSTot:o})=>({ICMSTot:{vTotTrib:this.sum(o?.vTotTrib,e.vTotTrib)}}))}ii(e){e.vII&&this.builder.increment(({ICMSTot:o})=>({ICMSTot:{vII:this.sum(o?.vII,e.vII)}}))}ipi(e){let o=e.IPITrib?.vIPI;o&&this.builder.increment(({ICMSTot:i})=>({ICMSTot:{vIPI:this.sum(i?.vIPI,o)}}))}impostoDevol(e){let o=e.IPI?.vIPIDevol;o&&this.builder.increment(({ICMSTot:i})=>({ICMSTot:{vIPIDevol:this.sum(i?.vIPIDevol,o)}}))}sum(e,o,i=2){return Bf.Decimal.newOrZero(e).add(o??this.zero).toFixed(i)}};var Su=require("nfets/core");var Up=class{static{s(this,"DefaultTotalBuilderAggregator")}builder;constructor(e){this.builder=e}aggregate(){let e=Su.Decimal.from(0),o=Io.includes(this.builder.schema??"");this.builder.increment(({ICMSTot:i,ISSQNtot:r},n)=>{let a=this.resolveDeductibleVICMSDeson(n);return{...o?{vNFTot:n.reduce((c,p)=>c.add(p?.vItem??e),e).toFixed(2)}:{},ICMSTot:{vNF:Su.Decimal.newOrZero(i?.vProd).sub(i?.vDesc??e).sub(a).add(i?.vST??e).add(i?.vFCPST??e).add(i?.vICMSMonoReten??e).add(i?.vFrete??e).add(i?.vSeg??e).add(i?.vOutro??e).add(i?.vII??e).add(i?.vIPI??e).add(i?.vIPIDevol??e).add(r?.vServ??e).toFixed(2)}}})}resolveDeductibleVICMSDeson(e){let o=Su.Decimal.from(0);return e.length?e.reduce((i,r)=>{let n=r?.imposto?.ICMS;if(!n)return i;let[a]=Object.keys(n),c=n[a];return c?.indDeduzDeson!=="1"||c.vICMSDeson==null?i:i.add(c.vICMSDeson)},o).toFixed(2):o.toFixed(2)}};var Jr=require("nfets/core");var qs={[gt.Cancelamento]:{method:"envEventoCancNFe",version:"1.00",descEvento:"Cancelamento"},[gt.CancelamentoSubstituicao]:{method:"envEventoCancSubstNFe",version:"1.00",descEvento:"Cancelamento por substituicao"},[gt.ConfirmacaoOperacao]:{method:"envConfRecebto",version:"1.00",descEvento:"Confirmacao da Operacao"},[gt.CienciaOperacao]:{method:"envConfRecebto",version:"1.00",descEvento:"Ciencia da Operacao"},[gt.DesconhecimentoOperacao]:{method:"envConfRecebto",version:"1.00",descEvento:"Desconhecimento da Operacao"},[gt.OperacaoNaoRealizada]:{method:"envConfRecebto",version:"1.00",descEvento:"Operacao nao Realizada"}};var ir=require("nfets/core");function qp(t,e){return s(function(){return t.apply(e,arguments)},"wrap")}s(qp,"bind");var{toString:LR}=Object.prototype,{getPrototypeOf:Hs}=Object,{iterator:kp,toStringTag:Ag}=Symbol,Nu=(({hasOwnProperty:t})=>(e,o)=>t.call(e,o))(Object.prototype),Hp=s((t,e)=>{let o=t,i=[];for(;o!=null&&o!==Object.prototype;){if(i.indexOf(o)!==-1)return!1;if(i.push(o),Nu(o,e))return!0;o=Hs(o)}return!1},"hasOwnInPrototypeChain"),VR=s((t,e)=>t!=null&&Hp(t,e)?t[e]:void 0,"getSafeProp"),Lf=(t=>e=>{let o=LR.call(e);return t[o]||(t[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),ui=s(t=>(t=t.toLowerCase(),e=>Lf(e)===t),"kindOfTest"),Ru=s(t=>e=>typeof e===t,"typeOfTest"),{isArray:ka}=Array,Ga=Ru("undefined");function ks(t){return t!==null&&!Ga(t)&&t.constructor!==null&&!Ga(t.constructor)&&Vo(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}s(ks,"isBuffer");var Fg=ui("ArrayBuffer");function _R(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Fg(t.buffer),e}s(_R,"isArrayBufferView");var UR=Ru("string"),Vo=Ru("function"),Dg=Ru("number"),Gs=s(t=>t!==null&&typeof t=="object","isObject"),qR=s(t=>t===!0||t===!1,"isBoolean"),Cu=s(t=>{if(!Gs(t))return!1;let e=Hs(t);return(e===null||e===Object.prototype||Hs(e)===null)&&!Hp(t,Ag)&&!Hp(t,kp)},"isPlainObject"),HR=s(t=>{if(!Gs(t)||ks(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},"isEmptyObject"),kR=ui("Date"),GR=ui("File"),QR=s(t=>!!(t&&typeof t.uri<"u"),"isReactNativeBlob"),ZR=s(t=>t&&typeof t.getParts<"u","isReactNative"),YR=ui("Blob"),WR=ui("FileList"),JR=ui("Set"),XR=s(t=>Gs(t)&&Vo(t.pipe),"isStream");function KR(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}s(KR,"getGlobal");var Ig=KR(),Og=typeof Ig.FormData<"u"?Ig.FormData:void 0,$R=s(t=>{if(!t)return!1;if(Og&&t instanceof Og)return!0;let e=Hs(t);if(!e||e===Object.prototype||!Vo(t.append))return!1;let o=Lf(t);return o==="formdata"||o==="object"&&Vo(t.toString)&&t.toString()==="[object FormData]"},"isFormData"),ew=ui("URLSearchParams"),[tw,ow,iw,nw]=["ReadableStream","Request","Response","Headers"].map(ui),rw=s(t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),"trim");function Gp(t,e,{allOwnKeys:o=!1}={}){if(t===null||typeof t>"u")return;let i,r;if(typeof t!="object"&&(t=[t]),ka(t))for(i=0,r=t.length;i<r;i++)e.call(null,t[i],i,t);else{if(ks(t))return;let n=o?Object.getOwnPropertyNames(t):Object.keys(t),a=n.length,c;for(i=0;i<a;i++)c=n[i],e.call(null,t[c],c,t)}}s(Gp,"forEach");function Eg(t,e){if(ks(t))return null;e=e.toLowerCase();let o=Object.keys(t),i=o.length,r;for(;i-- >0;)if(r=o[i],e===r.toLowerCase())return r;return null}s(Eg,"findKey");var Ha=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Pg=s(t=>!Ga(t)&&t!==Ha,"isContextDefined");function Mf(...t){let{caseless:e,skipUndefined:o}=Pg(this)&&this||{},i={},r=s((n,a)=>{if(a==="__proto__"||a==="constructor"||a==="prototype")return;let c=e&&typeof a=="string"&&Eg(i,a)||a,p=Nu(i,c)?i[c]:void 0;Cu(p)&&Cu(n)?i[c]=Mf(p,n):Cu(n)?i[c]=Mf({},n):ka(n)?i[c]=n.slice():(!o||!Ga(n))&&(i[c]=n)},"assignValue");for(let n=0,a=t.length;n<a;n++){let c=t[n];if(!c||ks(c)||(Gp(c,r),typeof c!="object"||ka(c)))continue;let p=Object.getOwnPropertySymbols(c);for(let u=0;u<p.length;u++){let l=p[u];gw.call(c,l)&&r(c[l],l)}}return i}s(Mf,"merge");var aw=s((t,e,o,{allOwnKeys:i}={})=>(Gp(e,(r,n)=>{o&&Vo(r)?Object.defineProperty(t,n,{__proto__:null,value:qp(r,o),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,n,{__proto__:null,value:r,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:i}),t),"extend"),sw=s(t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),"stripBOM"),cw=s((t,e,o,i)=>{t.prototype=Object.create(e.prototype,i),Object.defineProperty(t.prototype,"constructor",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(t,"super",{__proto__:null,value:e.prototype}),o&&Object.assign(t.prototype,o)},"inherits"),pw=s((t,e,o,i)=>{let r,n,a,c={};if(e=e||{},t==null)return e;do{for(r=Object.getOwnPropertyNames(t),n=r.length;n-- >0;)a=r[n],(!i||i(a,t,e))&&!c[a]&&(e[a]=t[a],c[a]=!0);t=o!==!1&&Hs(t)}while(t&&(!o||o(t,e))&&t!==Object.prototype);return e},"toFlatObject"),lw=s((t,e,o)=>{t=String(t),(o===void 0||o>t.length)&&(o=t.length),o-=e.length;let i=t.indexOf(e,o);return i!==-1&&i===o},"endsWith"),uw=s(t=>{if(!t)return null;if(ka(t))return t;let e=t.length;if(!Dg(e))return null;let o=new Array(e);for(;e-- >0;)o[e]=t[e];return o},"toArray"),dw=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Hs(Uint8Array)),fw=s((t,e)=>{let i=(t&&t[kp]).call(t),r;for(;(r=i.next())&&!r.done;){let n=r.value;e.call(t,n[0],n[1])}},"forEachEntry"),mw=s((t,e)=>{let o,i=[];for(;(o=t.exec(e))!==null;)i.push(o);return i},"matchAll"),hw=ui("HTMLFormElement"),vw=s(t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,s(function(o,i,r){return i.toUpperCase()+r},"replacer")),"toCamelCase"),{propertyIsEnumerable:gw}=Object.prototype,yw=ui("RegExp"),Tg=s((t,e)=>{let o=Object.getOwnPropertyDescriptors(t),i={};Gp(o,(r,n)=>{let a;(a=e(r,n,t))!==!1&&(i[n]=a||r)}),Object.defineProperties(t,i)},"reduceDescriptors"),bw=s(t=>{Tg(t,(e,o)=>{if(Vo(t)&&["arguments","caller","callee"].includes(o))return!1;let i=t[o];if(Vo(i)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},"freezeMethods"),xw=s((t,e)=>{let o={},i=s(r=>{r.forEach(n=>{o[n]=!0})},"define");return ka(t)?i(t):i(String(t).split(e)),o},"toObjectSet"),Sw=s(()=>{},"noop"),Cw=s((t,e)=>t!=null&&Number.isFinite(t=+t)?t:e,"toFiniteNumber");function Nw(t){return!!(t&&Vo(t.append)&&t[Ag]==="FormData"&&t[kp])}s(Nw,"isSpecCompliantForm");var Rw=s(t=>{let e=new WeakSet,o=s(i=>{if(Gs(i)){if(e.has(i))return;if(ks(i))return i;if(!("toJSON"in i)){e.add(i);let r;if(JR(i)){r=[];for(let n of i){let a=o(n);!Ga(a)&&r.push(a)}}else r=ka(i)?[]:{},Gp(i,(n,a)=>{let c=o(n);!Ga(c)&&(r[a]=c)});return e.delete(i),r}}return i},"visit");return o(t)},"toJSONObject"),ww=ui("AsyncFunction"),Iw=s(t=>t&&(Gs(t)||Vo(t))&&Vo(t.then)&&Vo(t.catch),"isThenable"),zg=((t,e)=>t?setImmediate:e?((o,i)=>(Ha.addEventListener("message",({source:r,data:n})=>{r===Ha&&n===o&&i.length&&i.shift()()},!1),r=>{i.push(r),Ha.postMessage(o,"*")}))(`axios@${Math.random()}`,[]):o=>setTimeout(o))(typeof setImmediate=="function",Vo(Ha.postMessage)),Ow=typeof queueMicrotask<"u"?queueMicrotask.bind(Ha):typeof process<"u"&&process.nextTick||zg,jg=s(t=>t!=null&&Vo(t[kp]),"isIterable"),Aw=s(t=>t!=null&&Hp(t,kp)&&jg(t),"isSafeIterable"),h={isArray:ka,isArrayBuffer:Fg,isBuffer:ks,isFormData:$R,isArrayBufferView:_R,isString:UR,isNumber:Dg,isBoolean:qR,isObject:Gs,isPlainObject:Cu,isEmptyObject:HR,isReadableStream:tw,isRequest:ow,isResponse:iw,isHeaders:nw,isUndefined:Ga,isDate:kR,isFile:GR,isReactNativeBlob:QR,isReactNative:ZR,isBlob:YR,isRegExp:yw,isFunction:Vo,isStream:XR,isURLSearchParams:ew,isTypedArray:dw,isFileList:WR,forEach:Gp,merge:Mf,extend:aw,trim:rw,stripBOM:sw,inherits:cw,toFlatObject:pw,kindOf:Lf,kindOfTest:ui,endsWith:lw,toArray:uw,forEachEntry:fw,matchAll:mw,isHTMLForm:hw,hasOwnProperty:Nu,hasOwnProp:Nu,hasOwnInPrototypeChain:Hp,getSafeProp:VR,reduceDescriptors:Tg,freezeMethods:bw,toObjectSet:xw,toCamelCase:vw,noop:Sw,toFiniteNumber:Cw,findKey:Eg,global:Ha,isContextDefined:Pg,isSpecCompliantForm:Nw,toJSONObject:Rw,isAsyncFn:ww,isThenable:Iw,setImmediate:zg,asap:Ow,isIterable:jg,isSafeIterable:Aw};var Fw=h.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Bg=s((t=>{let e={},o,i,r;return t&&t.split(`
27
+ `).forEach(s(function(a){r=a.indexOf(":"),o=a.substring(0,r).trim().toLowerCase(),i=a.substring(r+1).trim();let c=h.hasOwnProp(e,o);!o||c&&h.hasOwnProp(Fw,o)||(o==="set-cookie"?c?e[o].push(i):e[o]=[i]:e[o]=c?e[o]+", "+i:i)},"parser")),e}),"default");function Dw(t){let e=0,o=t.length;for(;e<o;){let i=t.charCodeAt(e);if(i!==9&&i!==32)break;e+=1}for(;o>e;){let i=t.charCodeAt(o-1);if(i!==9&&i!==32)break;o-=1}return e===0&&o===t.length?t:t.slice(e,o)}s(Dw,"trimSPorHTAB");var Ew=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Pw=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Vf(t,e){return h.isArray(t)?t.map(o=>Vf(o,e)):Dw(String(t).replace(e,""))}s(Vf,"sanitizeValue");var Mg=s(t=>Vf(t,Ew),"sanitizeHeaderValue"),Tw=s(t=>Vf(t,Pw),"sanitizeByteStringHeaderValue");function Qs(t){let e=Object.create(null);return h.forEach(t.toJSON(),(o,i)=>{e[i]=Tw(o)}),e}s(Qs,"toByteStringHeaderObject");var Lg=Symbol("internals");function Qp(t){return t&&String(t).trim().toLowerCase()}s(Qp,"normalizeHeader");function wu(t){return t===!1||t==null?t:h.isArray(t)?t.map(wu):Mg(String(t))}s(wu,"normalizeValue");function zw(t){let e=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,i;for(;i=o.exec(t);)e[i[1]]=i[2];return e}s(zw,"parseTokens");var jw=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function _f(t){let e=0,o=t.length;for(;e<o;){let i=t.charCodeAt(e);if(i!==9&&i!==32)break;e+=1}for(;o>e;){let i=t.charCodeAt(o-1);if(i!==9&&i!==32)break;o-=1}return e===0&&o===t.length?t:t.slice(e,o)}s(_f,"trimOWS");function Bw(t){let e=t.length-1;if(e<1||t.charCodeAt(0)!==34||t.charCodeAt(e)!==34)return t;let o="";for(let i=1;i<e;i++){let r=t.charCodeAt(i);if(r===34||r===92&&(i+=1,i>=e))return t;o+=t[i]}return o}s(Bw,"decodeQuotedString");function Mw(t){let e=Object.create(null),o=String(t),i=0,r=!1,n=!1;function a(c){let p=_f(o.slice(i,c)),u=p.indexOf("=");if(u<1)return;let l=_f(p.slice(0,u));if(!jw.test(l))return;let d=l.toLowerCase();if(d==="__proto__"||d==="constructor"||d==="prototype")return;let m=_f(p.slice(u+1));e[d]=Bw(m)}s(a,"parseParameter");for(let c=0;c<o.length;c++){let p=o.charCodeAt(c);r?n?n=!1:p===92?n=!0:p===34&&(r=!1):p===34?r=!0:(p===44||p===59)&&(a(c),i=c+1)}return a(o.length),e}s(Mw,"parseParameters");var Lw=s(t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()),"isValidHeaderName");function Uf(t,e,o,i,r){if(h.isFunction(i))return i.call(this,e,o);if(r&&(e=o),!!h.isString(e)){if(h.isString(i))return e.indexOf(i)!==-1;if(h.isRegExp(i))return i.test(e)}}s(Uf,"matchHeaderValue");function Vw(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,o,i)=>o.toUpperCase()+i)}s(Vw,"formatHeader");function _w(t,e){let o=h.toCamelCase(" "+e);["get","set","has"].forEach(i=>{Object.defineProperty(t,i+o,{__proto__:null,value:s(function(r,n,a){return this[i].call(this,e,r,n,a)},"value"),configurable:!0})})}s(_w,"buildAccessors");var Iu=class{static{s(this,"AxiosHeaders")}constructor(e){e&&this.set(e)}set(e,o,i){let r=this;function n(c,p,u){let l=Qp(p);if(!l)return;let d=h.findKey(r,l);(!d||r[d]===void 0||u===!0||u===void 0&&r[d]!==!1)&&(r[d||p]=wu(c))}s(n,"setHeader");let a=s((c,p)=>h.forEach(c,(u,l)=>n(u,l,p)),"setHeaders");if(h.isPlainObject(e)||e instanceof this.constructor)a(e,o);else if(h.isString(e)&&(e=e.trim())&&!Lw(e))a(Bg(e),o);else if(h.isObject(e)&&h.isSafeIterable(e)){let c=Object.create(null),p,u;for(let l of e){if(!h.isArray(l))throw new TypeError("Object iterator must return a key-value pair");u=l[0],h.hasOwnProp(c,u)?(p=c[u],c[u]=h.isArray(p)?[...p,l[1]]:[p,l[1]]):c[u]=l[1]}a(c,o)}else e!=null&&n(o,e,i);return this}get(e,o){if(e=Qp(e),e){let i=h.findKey(this,e);if(i){let r=this[i];if(!o)return r;if(o===!0)return zw(r);if(h.isFunction(o))return o.call(this,r,i);if(h.isRegExp(o))return o.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,o){if(e=Qp(e),e){let i=h.findKey(this,e);return!!(i&&this[i]!==void 0&&(!o||Uf(this,this[i],i,o)))}return!1}delete(e,o){let i=this,r=!1;function n(a){if(a=Qp(a),a){let c=h.findKey(i,a);c&&(!o||Uf(i,i[c],c,o))&&(delete i[c],r=!0)}}return s(n,"deleteHeader"),h.isArray(e)?e.forEach(n):n(e),r}clear(e){let o=Object.keys(this),i=o.length,r=!1;for(;i--;){let n=o[i];(!e||Uf(this,this[n],n,e,!0))&&(delete this[n],r=!0)}return r}normalize(e){let o=this,i={};return h.forEach(this,(r,n)=>{let a=h.findKey(i,n);if(a){o[a]=wu(r),delete o[n];return}let c=e?Vw(n):String(n).trim();c!==n&&delete o[n],o[c]=wu(r),i[c]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let o=Object.create(null);return h.forEach(this,(i,r)=>{i!=null&&i!==!1&&(o[r]=e&&h.isArray(i)?i.join(", "):i)}),o}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,o])=>e+": "+o).join(`
28
+ `)}getSetCookie(){let e=this.get("set-cookie");return h.isArray(e)?e:e==null||e===!1?[]:[e]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static parseParameters(e){return Mw(e)}static concat(e,...o){let i=new this(e);return o.forEach(r=>i.set(r)),i}static accessor(e){let i=(this[Lg]=this[Lg]={accessors:{}}).accessors,r=this.prototype;function n(a){let c=Qp(a);i[c]||(_w(r,a),i[c]=!0)}return s(n,"defineAccessor"),h.isArray(e)?e.forEach(n):n(e),this}};Iu.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);h.reduceDescriptors(Iu.prototype,({value:t},e)=>{let o=e[0].toUpperCase()+e.slice(1);return{get:s(()=>t,"get"),set(i){this[o]=i}}});h.freezeMethods(Iu);var we=Iu;var Zp="[REDACTED ****]";function Uw(t){if(h.hasOwnProp(t,"toJSON"))return!0;let e=Object.getPrototypeOf(t);for(;e&&e!==Object.prototype;){if(h.hasOwnProp(e,"toJSON"))return!0;e=Object.getPrototypeOf(e)}return!1}s(Uw,"hasOwnOrPrototypeToJSON");function qw(t,e){let o=new Set(e.map(n=>String(n).toLowerCase())),i=[],r=s(n=>{if(n===null||typeof n!="object"||h.isBuffer(n))return n;if(i.indexOf(n)!==-1)return;n instanceof we&&(n=n.toJSON()),i.push(n);let a;if(h.isArray(n))a=[],n.forEach((c,p)=>{let u=r(c);h.isUndefined(u)||(a[p]=u)});else{if(!h.isPlainObject(n)&&Uw(n))return i.pop(),n;a=Object.create(null);for(let[c,p]of Object.entries(n)){let u=o.has(c.toLowerCase())?Zp:r(p);h.isUndefined(u)||(a[c]=u)}}return i.pop(),a},"visit");return r(t)}s(qw,"redactConfig");function Vg(t){try{return String(t)}catch{return""}}s(Vg,"stringifySafely");function Hw(t){return t.errors.map(o=>{try{return o&&o.message?Vg(o.message):Vg(o)}catch{return""}}).filter(Boolean).join("; ")||t.name||"AggregateError"}s(Hw,"aggregateErrorMessage");var Oo=class _g extends Error{static{s(this,"AxiosError")}static from(e,o,i,r,n,a){let c=e.message;!c&&h.isArray(e.errors)&&e.errors.length&&(c=Hw(e));let p=new _g(c,o||e.code,i,r,n);return Object.defineProperty(p,"cause",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),p.name=e.name,e.status!=null&&p.status==null&&(p.status=e.status),a&&Object.assign(p,a),p}constructor(e,o,i,r,n){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,o&&(this.code=o),i&&(this.config=i),r&&(this.request=r),n&&(this.response=n,this.status=n.status)}toJSON(){let e=this.config,o=e&&h.hasOwnProp(e,"redact")?e.redact:void 0,i=h.isArray(o)&&o.length>0?qw(e,o):h.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:i,code:this.code,status:this.status}}};Oo.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Oo.ERR_BAD_OPTION="ERR_BAD_OPTION";Oo.ECONNABORTED="ECONNABORTED";Oo.ETIMEDOUT="ETIMEDOUT";Oo.ECONNREFUSED="ECONNREFUSED";Oo.ERR_NETWORK="ERR_NETWORK";Oo.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Oo.ERR_DEPRECATED="ERR_DEPRECATED";Oo.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Oo.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Oo.ERR_CANCELED="ERR_CANCELED";Oo.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Oo.ERR_INVALID_URL="ERR_INVALID_URL";Oo.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var w=Oo;var Zb=lt(Qb(),1),Bu=Zb.default;var Mu={isBufferAvailable(){return typeof Buffer<"u"},from(t){return Buffer.from(t)}};var lm=100;function pm(t){return h.isPlainObject(t)||h.isArray(t)}s(pm,"isVisitable");function Yb(t){return h.endsWith(t,"[]")?t.slice(0,-2):t}s(Yb,"removeBrackets");function cm(t,e,o){return t?t.concat(e).map(s(function(r,n){return r=Yb(r),!o&&n?"["+r+"]":r},"each")).join(o?".":""):e}s(cm,"renderKey");function EO(t){return h.isArray(t)&&!t.some(pm)}s(EO,"isFlatArray");var PO=h.toFlatObject(h,{},null,s(function(e){return/^is[A-Z]/.test(e)},"filter"));function TO(t,e,o){if(!h.isObject(t))throw new TypeError("target must be an object");e=e||new(Bu||FormData),o=h.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,s(function(I,A){return!h.isUndefined(A[I])},"defined"));let i=o.metaTokens,r=o.visitor||x,n=o.dots,a=o.indexes,c=o.Blob||typeof Blob<"u"&&Blob,p=o.maxDepth===void 0?lm:o.maxDepth,u=c&&h.isSpecCompliantForm(e),l=[];if(!h.isFunction(r))throw new TypeError("visitor must be a function");function d(b){if(b===null)return"";if(h.isDate(b))return b.toISOString();if(h.isBoolean(b))return b.toString();if(!u&&h.isBlob(b))throw new w("Blob is not supported. Use a Buffer instead.");if(h.isArrayBuffer(b)||h.isTypedArray(b)){if(u&&typeof c=="function")return new c([b]);if(Mu&&Mu.isBufferAvailable())return Mu.from(b);throw new w("Blob is not supported. Use a Buffer instead.",w.ERR_NOT_SUPPORT)}return b}s(d,"convertValue");function m(b){if(b>p)throw new w("Object is too deeply nested ("+b+" levels). Max depth: "+p,w.ERR_FORM_DATA_DEPTH_EXCEEDED)}s(m,"throwIfMaxDepthExceeded");function y(b,I){if(p===1/0)return JSON.stringify(b);let A=[];return JSON.stringify(b,s(function(U,H){if(!h.isObject(H))return H;for(;A.length&&A[A.length-1]!==this;)A.pop();return A.push(H),m(I+A.length-1),H},"limitDepth"))}s(y,"stringifyWithDepthLimit");function x(b,I,A){let D=b;if(h.isReactNative(e)&&h.isReactNativeBlob(b))return e.append(cm(A,I,n),d(b)),!1;if(b&&!A&&typeof b=="object"){if(h.endsWith(I,"{}"))I=i?I:I.slice(0,-2),b=y(b,1);else if(h.isArray(b)&&EO(b)||(h.isFileList(b)||h.endsWith(I,"[]"))&&(D=h.toArray(b)))return I=Yb(I),D.forEach(s(function(H,ot){!(h.isUndefined(H)||H===null)&&e.append(a===!0?cm([I],ot,n):a===null?I:I+"[]",d(H))},"each")),!1}return pm(b)?!0:(e.append(cm(A,I,n),d(b)),!1)}s(x,"defaultVisitor");let N=Object.assign(PO,{defaultVisitor:x,convertValue:d,isVisitable:pm});function C(b,I,A=0){if(!h.isUndefined(b)){if(m(A),l.indexOf(b)!==-1)throw new Error("Circular reference detected in "+I.join("."));l.push(b),h.forEach(b,s(function(U,H){(!(h.isUndefined(U)||U===null)&&r.call(e,U,h.isString(H)?H.trim():H,I,N))===!0&&C(U,I?I.concat(H):[H],A+1)},"each")),l.pop()}}if(s(C,"build"),!h.isObject(t))throw new TypeError("data must be an object");return C(t),e}s(TO,"toFormData");var kr=TO;function Wb(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(t).replace(/[!'()~]|%20/g,s(function(i){return e[i]},"replacer"))}s(Wb,"encode");function Jb(t,e){this._pairs=[],t&&kr(t,this,e)}s(Jb,"AxiosURLSearchParams");var Xb=Jb.prototype;Xb.append=s(function(e,o){this._pairs.push([e,o])},"append");Xb.toString=s(function(e){let o=e?i=>e.call(this,i,Wb):Wb;return this._pairs.map(s(function(r){return o(r[0])+"="+o(r[1])},"each"),"").join("&")},"toString");var Kb=Jb;function zO(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}s(zO,"encode");function Za(t,e,o){if(!e)return t;t=t||"";let i=h.isFunction(o)?{serialize:o}:o,r=h.getSafeProp(i,"encode")||zO,n=h.getSafeProp(i,"serialize"),a;if(n?a=n(e,i):a=h.isURLSearchParams(e)?e.toString():new Kb(e,i).toString(r),a){let c=t.indexOf("#");c!==-1&&(t=t.slice(0,c)),t+=(t.indexOf("?")===-1?"?":"&")+a}return t}s(Za,"buildURL");var jO=class{static{s(this,"InterceptorManager")}constructor(){this.handlers=[]}use(e,o,i){return this.handlers.push({fulfilled:e,rejected:o,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){h.forEach(this.handlers,s(function(i){i!==null&&e(i)},"forEachHandler"))}},um=jO;var Gr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0};var ox=lt(require("crypto"),1);var $b=lt(require("url"),1),ex=$b.default.URLSearchParams;var dm="abcdefghijklmnopqrstuvwxyz",tx="0123456789",ix={DIGIT:tx,ALPHA:dm,ALPHA_DIGIT:dm+dm.toUpperCase()+tx},BO=s((t=16,e=ix.ALPHA_DIGIT)=>{let o="",{length:i}=e,r=new Uint32Array(t);ox.default.randomFillSync(r);for(let n=0;n<t;n++)o+=e[r[n]%i];return o},"generateString"),nx={isNode:!0,classes:{URLSearchParams:ex,FormData:Bu,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:ix,generateString:BO,protocols:["http","https","file","data"]};var hm={};xg(hm,{hasBrowserEnv:()=>mm,hasStandardBrowserEnv:()=>MO,hasStandardBrowserWebWorkerEnv:()=>LO,navigator:()=>fm,origin:()=>VO});var mm=typeof window<"u"&&typeof document<"u",fm=typeof navigator=="object"&&navigator||void 0,MO=mm&&(!fm||["ReactNative","NativeScript","NS"].indexOf(fm.product)<0),LO=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",VO=mm&&window.location.href||"http://localhost";var ne={...hm,...nx};function vm(t,e){return kr(t,new ne.classes.URLSearchParams,{visitor:s(function(o,i,r,n){return ne.isNode&&h.isBuffer(o)?(this.append(i,o.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},"visitor"),...e})}s(vm,"toURLEncodedForm");var rx=lm;function ax(t){if(t>rx)throw new w("FormData field is too deeply nested ("+t+" levels). Max depth: "+rx,w.ERR_FORM_DATA_DEPTH_EXCEEDED)}s(ax,"throwIfDepthExceeded");function _O(t){let e=[],o=/[^.[\]]+|\[([^.[\]]*)]/g,i;for(;(i=o.exec(t))!==null;)ax(e.length),e.push(i[0]==="[]"?"":i[1]||i[0]);return e}s(_O,"parsePropPath");function UO(t){let e={},o=Object.keys(t),i,r=o.length,n;for(i=0;i<r;i++)n=o[i],e[n]=t[n];return e}s(UO,"arrayToObject");function qO(t){function e(o,i,r,n){ax(n);let a=o[n++];if(a==="__proto__")return!0;let c=Number.isFinite(+a),p=n>=o.length;return a=!a&&h.isArray(r)?r.length:a,p?(h.hasOwnProp(r,a)?r[a]=h.isArray(r[a])?r[a].concat(i):[r[a],i]:r[a]=i,!c):((!h.hasOwnProp(r,a)||!h.isObject(r[a]))&&(r[a]=[]),e(o,i,r[a],n)&&h.isArray(r[a])&&(r[a]=UO(r[a])),!c)}if(s(e,"buildPath"),h.isFormData(t)&&h.isFunction(t.entries)){let o={};return h.forEachEntry(t,(i,r)=>{e(_O(i),r,o,0)}),o}return null}s(qO,"formDataToJSON");var Lu=qO;var Ks=s((t,e)=>t!=null&&h.hasOwnProp(t,e)?t[e]:void 0,"own");function HO(t,e,o){if(h.isString(t))try{return(e||JSON.parse)(t),h.trim(t)}catch(i){if(i.name!=="SyntaxError")throw i}return(o||JSON.stringify)(t)}s(HO,"stringifySafely");var gm={transitional:Gr,adapter:["xhr","http","fetch"],transformRequest:[s(function(e,o){let i=o.getContentType()||"",r=i.indexOf("application/json")>-1,n=h.isObject(e);if(n&&h.isHTMLForm(e)&&(e=new FormData(e)),h.isFormData(e))return r?JSON.stringify(Lu(e)):e;if(h.isArrayBuffer(e)||h.isBuffer(e)||h.isStream(e)||h.isFile(e)||h.isBlob(e)||h.isReadableStream(e))return e;if(h.isArrayBufferView(e))return e.buffer;if(h.isURLSearchParams(e))return o.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let c;if(n){let p=Ks(this,"formSerializer");if(i.indexOf("application/x-www-form-urlencoded")>-1)return vm(e,p).toString();if((c=h.isFileList(e))||i.indexOf("multipart/form-data")>-1){let u=Ks(this,"env"),l=u&&u.FormData;return kr(c?{"files[]":e}:e,l&&new l,p)}}return n||r?(o.setContentType("application/json",!1),HO(e)):e},"transformRequest")],transformResponse:[s(function(e){let o=Ks(this,"transitional")||gm.transitional,i=o&&o.forcedJSONParsing,r=Ks(this,"responseType"),n=r==="json";if(h.isResponse(e)||h.isReadableStream(e))return e;if(e&&h.isString(e)&&(i&&!r||n)){let c=!(o&&o.silentJSONParsing)&&n;try{return JSON.parse(e,Ks(this,"parseReviver"))}catch(p){if(c)throw p.name==="SyntaxError"?w.from(p,w.ERR_BAD_RESPONSE,this,null,Ks(this,"response")):p}}return e},"transformResponse")],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ne.classes.FormData,Blob:ne.classes.Blob},validateStatus:s(function(e){return e>=200&&e<300},"validateStatus"),headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};h.forEach(["delete","get","head","post","put","patch","query"],t=>{gm.headers[t]={}});var $s=gm;function Xp(t,e){let o=this||$s,i=e||o,r=we.from(i.headers),n=i.data;return h.forEach(t,s(function(c){n=c.call(o,n,r.normalize(),e?e.status:void 0)},"transform")),r.normalize(),n}s(Xp,"transformData");function Kp(t){return!!(t&&t.__CANCEL__)}s(Kp,"isCancel");var kO=class extends w{static{s(this,"CanceledError")}constructor(e,o,i){super(e??"canceled",w.ERR_CANCELED,o,i),this.name="CanceledError",this.__CANCEL__=!0}},Jo=kO;function Cn(t,e,o){let i=o.config.validateStatus;!o.status||!i||i(o.status)?t(o):e(new w("Request failed with status code "+o.status,o.status>=400&&o.status<500?w.ERR_BAD_REQUEST:w.ERR_BAD_RESPONSE,o.config,o.request,o))}s(Cn,"settle");function ym(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}s(ym,"isAbsoluteURL");function bm(t,e){if(!e)return t;let o=t.length;for(;o>0&&t.charCodeAt(o-1)===47;)o--;return t.slice(0,o)+"/"+e.replace(/^\/+/,"")}s(bm,"combineURLs");var GO=/^https?:(?!\/\/)/i,QO=/[\t\n\r]/g;function ZO(t){let e=0;for(;e<t.length&&t.charCodeAt(e)<=32;)e++;return t.slice(e)}s(ZO,"stripLeadingC0ControlOrSpace");function YO(t){return ZO(t).replace(QO,"")}s(YO,"normalizeURLForProtocolCheck");function WO(t){return t&&t.replace(/(^|&)([^=&]*=)?[^&]+/g,(e,o,i="")=>`${o}${i}${Zp}`)}s(WO,"redactFragment");function JO(t){let e=t.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${Zp}@`),o=e.indexOf("#"),r=(o===-1?e:e.slice(0,o)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${Zp}`);return o===-1?r:`${r}#${WO(e.slice(o+1))}`}s(JO,"redactSensitiveURLParts");function sx(t,e){if(typeof t=="string"){let o=YO(t);if(GO.test(o))throw new w(`Invalid URL ${JSON.stringify(JO(o))}: missing "//" after protocol`,w.ERR_INVALID_URL,e)}}s(sx,"assertValidHttpProtocolURL");function Ya(t,e,o,i){sx(e,i);let r=!ym(e);return t&&(r||o===!1)?(sx(t,i),bm(t,e)):e}s(Ya,"buildFullPath");var XO={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};function KO(t){try{return new URL(t)}catch{return null}}s(KO,"parseUrl");function cx(t){var e=(typeof t=="string"?KO(t):t)||{},o=e.protocol,i=e.host,r=e.port;if(typeof i!="string"||!i||typeof o!="string"||(o=o.split(":",1)[0],i=i.replace(/:\d*$/,""),r=parseInt(r)||XO[o]||0,!$O(i,r)))return"";var n=xm(o+"_proxy")||xm("all_proxy");return n&&n.indexOf("://")===-1&&(n=o+"://"+n),n}s(cx,"getProxyForUrl");function $O(t,e){var o=xm("no_proxy").toLowerCase();return o?o==="*"?!1:o.split(/[,\s]/).every(function(i){if(!i)return!0;var r=i.match(/^(.+):(\d+)$/),n=r?r[1]:i,a=r?parseInt(r[2]):0;return a&&a!==e?!0:/^[.*]/.test(n)?(n.charAt(0)==="*"&&(n=n.slice(1)),!t.endsWith(n)):t!==n}):!0}s($O,"shouldProxy");function xm(t){return process.env[t.toLowerCase()]||process.env[t.toUpperCase()]||""}s(xm,"getEnv");var Xm=lt(Fx(),1),Km=lt(require("http"),1),$m=lt(require("https"),1),m0=lt(require("http2"),1),h0=lt(require("util"),1),Jm=require("path"),v0=lt(Bx(),1),Xo=lt(require("zlib"),1);var er="1.19.0";function cl(t){let e=/^([-+\w]{1,25}):(?:\/\/)?/.exec(t);return e&&e[1]||""}s(cl,"parseProtocol");var oF=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;function Hm(t,e,o){let i=o&&o.Blob||ne.classes.Blob,r=cl(t);if(e===void 0&&i&&(e=!0),r==="data"){t=r.length?t.slice(r.length+1):t;let n=oF.exec(t);if(!n)throw new w("Invalid URL",w.ERR_INVALID_URL);let a=n[1],c=n[2],p=n[3]?"base64":"utf8",u=n[4],l="";a?l=c?a+c:a:c&&(l="text/plain"+c);let d=p==="base64"?Buffer.from(u,"base64"):Buffer.from(decodeURIComponent(u),p);if(e){if(!i)throw new w("Blob is not supported",w.ERR_NOT_SUPPORT);return new i([d],{type:l})}return d}throw new w("Unsupported protocol "+r,w.ERR_NOT_SUPPORT)}s(Hm,"fromDataURI");var fi=lt(require("stream"),1);var iF=["content-type","content-length"];function pl(t,e,o){if(o!=="content-only"){t.set(e);return}Object.entries(e||{}).forEach(([i,r])=>{iF.includes(i.toLowerCase())&&t.set(i,r)})}s(pl,"setFormDataHeaders");var Mx=lt(require("stream"),1);var km=Symbol("internals"),nF=class extends Mx.default.Transform{static{s(this,"AxiosTransformStream")}constructor(e){e=h.toFlatObject(e,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(i,r)=>!h.isUndefined(r[i])),super({readableHighWaterMark:e.chunkSize});let o=this[km]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",i=>{i==="progress"&&(o.isCaptured||(o.isCaptured=!0))})}_read(e){let o=this[km];return o.onReadCallback&&o.onReadCallback(),super._read(e)}_transform(e,o,i){let r=this[km],n=r.maxRate,a=this.readableHighWaterMark,c=r.timeWindow,p=1e3/c,u=n/p,l=r.minChunkSize!==!1?Math.max(r.minChunkSize,u*.01):0,d=s((y,x)=>{let N=Buffer.byteLength(y);r.bytesSeen+=N,r.bytes+=N,r.isCaptured&&this.emit("progress",r.bytesSeen),this.push(y)?process.nextTick(x):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(x)}},"pushChunk"),m=s((y,x)=>{let N=Buffer.byteLength(y),C=null,b=a,I,A=0;if(n){let D=Date.now();(!r.ts||(A=D-r.ts)>=c)&&(r.ts=D,I=u-r.bytes,r.bytes=I<0?-I:0,A=0),I=u-r.bytes}if(n){if(I<=0)return setTimeout(()=>{x(null,y)},c-A);I<b&&(b=I)}b&&N>b&&N-b>l&&(C=y.subarray(b),y=y.subarray(0,b)),d(y,C?()=>{process.nextTick(x,null,C)}:x)},"transformChunk");m(e,s(function y(x,N){if(x)return i(x);N?m(N,y):i(null)},"transformNextChunk"))}},Gm=nF;var g0=require("events");var Vx=lt(require("util"),1),_x=require("stream");var{asyncIterator:Lx}=Symbol,rF=s(async function*(t){t.stream?yield*t.stream():t.arrayBuffer?yield await t.arrayBuffer():t[Lx]?yield*t[Lx]():yield t},"readBlob"),ku=rF;var aF=ne.ALPHABET.ALPHA_DIGIT+"-_",ll=typeof TextEncoder=="function"?new TextEncoder:new Vx.default.TextEncoder,$a=`\r
29
+ `,sF=ll.encode($a),cF=2,pF=class{static{s(this,"FormDataPart")}constructor(e,o){let{escapeName:i}=this.constructor,r=h.isString(o),n=`Content-Disposition: form-data; name="${i(e)}"${!r&&o.name?`; filename="${i(o.name)}"`:""}${$a}`;if(r)o=ll.encode(String(o).replace(/\r?\n|\r\n?/g,$a));else{let a=String(o.type||"application/octet-stream").replace(/[\r\n]/g,"");n+=`Content-Type: ${a}${$a}`}this.headers=ll.encode(n+$a),this.contentLength=r?o.byteLength:o.size,this.size=this.headers.byteLength+this.contentLength+cF,this.name=e,this.value=o}async*encode(){yield this.headers;let{value:e}=this;h.isTypedArray(e)?yield e:yield*ku(e),yield sF}static escapeName(e){return String(e).replace(/[\r\n"]/g,o=>({"\r":"%0D","\n":"%0A",'"':"%22"})[o])}},lF=s((t,e,o)=>{let{tag:i="form-data-boundary",size:r=25,boundary:n=i+"-"+ne.generateString(r,aF)}=o||{};if(!h.isFormData(t))throw new TypeError("FormData instance required");if(n.length<1||n.length>70)throw new Error("boundary must be 1-70 characters long");let a=ll.encode("--"+n+$a),c=ll.encode("--"+n+"--"+$a),p=c.byteLength,u=Array.from(t.entries()).map(([d,m])=>{let y=new pF(d,m);return p+=y.size,y});p+=a.byteLength*u.length,p=h.toFiniteNumber(p);let l={"Content-Type":`multipart/form-data; boundary=${n}`};return Number.isFinite(p)&&(l["Content-Length"]=p),e&&e(l),_x.Readable.from((async function*(){for(let d of u)yield a,yield*d.encode();yield c})())},"formDataToStream"),Ux=lF;var qx=lt(require("stream"),1);var uF=class extends qx.default.Transform{static{s(this,"ZlibHeaderTransformStream")}__transform(e,o,i){this.push(e),i()}_transform(e,o,i){if(e.length!==0&&(this._transform=this.__transform,e[0]!==120)){let r=Buffer.alloc(2);r[0]=120,r[1]=156,this.push(r,o)}this.__transform(e,o,i)}},Hx=uF;var kx=lt(require("http2"),1),Gx=lt(require("util"),1);var dF=class{static{s(this,"Http2Sessions")}constructor(){this.sessions=Object.create(null)}getSession(e,o){o=Object.assign({sessionTimeout:1e3},o);let i=this.sessions[e];if(i){let d=i.length;for(let m=0;m<d;m++){let[y,x]=i[m];if(!y.destroyed&&!y.closed&&Gx.default.isDeepStrictEqual(x,o))return y}}let r=kx.default.connect(e,o),n,a,c=s(()=>{if(n)return;n=!0,a&&(clearTimeout(a),a=null);let d=i,m=d.length,y=m;for(;y--;)if(d[y][0]===r){m===1?delete this.sessions[e]:d.splice(y,1),r.closed||r.close();return}},"removeSession"),p=r.request,{sessionTimeout:u}=o;if(u!=null){let d=0;r.request=function(){let m=p.apply(this,arguments);return d++,a&&(clearTimeout(a),a=null),m.once("close",()=>{--d||(a=setTimeout(()=>{a=null,c()},u))}),m}}r.once("close",c);let l=[r,o];return i?i.push(l):i=this.sessions[e]=[l],r}},Qx=dF;var fF=s((t,e)=>h.isAsyncFn(t)?function(...o){let i=o.pop();t.apply(this,o).then(r=>{try{e?i(null,...e(r)):i(null,r)}catch(n){i(n)}},i)}:t,"callbackify"),Zx=fF;var mF=new Set(["localhost","0.0.0.0"]),Jx=s(t=>{let e=t.split(".");return e.length!==4||e[0]!=="127"?!1:e.every(o=>/^\d+$/.test(o)&&Number(o)>=0&&Number(o)<=255)},"isIPv4Loopback"),Qm=s(t=>{if(/^0[xX][0-9a-fA-F]+$/.test(t)){let e=parseInt(t.slice(2),16);return Number.isFinite(e)?e:null}if(t.length>1&&/^0[0-7]+$/.test(t)){let e=parseInt(t,8);return Number.isFinite(e)?e:null}if(t.length>1&&/^0[0-9]+$/.test(t))return null;if(/^[0-9]+$/.test(t)){let e=parseInt(t,10);return Number.isFinite(e)?e:null}return null},"parseIPv4Octet"),hF=s(t=>{if(typeof t!="string"||!t||t.indexOf(":")!==-1)return t;let e=t;if(e.charAt(0)==="["&&e.charAt(e.length-1)==="]"&&(e=e.slice(1,-1)),e=e.replace(/\.+$/,""),!/^[0-9.xXa-fA-F]+$/.test(e))return t;let o=e.split(".");if(o.some(l=>l===""))return t;if(o.length===4){let l=o.map(Qm);return l.some(d=>d===null||d<0||d>255)?t:l.join(".")}if(o.length>4||o.length===1)return t;let i=o.slice(0,-1),r=o[o.length-1],n=4-i.length,a=Qm(r);if(a===null)return t;let c=(1<<8*n)-1;if(a<0||a>c)return t;let p=new Array(n).fill(0);for(let l=n-1,d=a;l>=0;l--,d>>=8)p[l]=d&255;let u=i.map(Qm);return u.some(l=>l===null||l<0||l>255)?t:[...u,...p].join(".")},"normalizeIPAddress"),Zm=s(t=>/^0{1,4}$/.test(t),"isIPv6ZeroGroup"),vF=s(t=>{if(t==="::")return!0;let e=t.indexOf("::");if(e!==-1){if(e!==t.lastIndexOf("::"))return!1;let i=t.slice(0,e),r=t.slice(e+2),n=i?i.split(":"):[],a=r?r.split(":"):[];return n.length+a.length<8&&n.every(Zm)&&a.every(Zm)}let o=t.split(":");return o.length===8&&o.every(Zm)},"isIPv6Unspecified"),gF=s(t=>{if(t==="::1")return!0;let e=t.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(e)return Jx(e[1]);let o=t.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(o){let r=parseInt(o[1],16);return r>=32512&&r<=32767}let i=t.split(":");if(i.length===8){for(let r=0;r<7;r++)if(!/^0+$/.test(i[r]))return!1;return/^0*1$/.test(i[7])}return!1},"isIPv6Loopback"),Yx=s(t=>t?mF.has(t)||Jx(t)||vF(t)?!0:gF(t):!1,"isLoopback"),yF={http:80,https:443,ws:80,wss:443,ftp:21},bF=s(t=>{let e=t,o=0;if(e.charAt(0)==="["){let n=e.indexOf("]");if(n!==-1){let a=e.slice(1,n),c=e.slice(n+1);return c.charAt(0)===":"&&/^\d+$/.test(c.slice(1))&&(o=Number.parseInt(c.slice(1),10)),[a,o]}}let i=e.indexOf(":"),r=e.lastIndexOf(":");return i!==-1&&i===r&&/^\d+$/.test(e.slice(r+1))&&(o=Number.parseInt(e.slice(r+1),10),e=e.slice(0,r)),[e,o]},"parseNoProxyEntry"),xF=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,SF=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i,CF=s(t=>{if(typeof t!="string"||t.indexOf(":")===-1)return t;let e=t.match(xF);if(e)return e[1];let o=t.match(SF);if(o){let i=parseInt(o[1],16),r=parseInt(o[2],16);return`${i>>8}.${i&255}.${r>>8}.${r&255}`}return t},"unmapIPv4MappedIPv6"),Wx=s(t=>{if(!t)return t;t.charAt(0)==="["&&t.charAt(t.length-1)==="]"&&(t=t.slice(1,-1));let e=t.replace(/\.+$/,""),o=hF(e);return o!==e?o:CF(e)},"normalizeNoProxyHost");function Ym(t){let e;try{e=new URL(t)}catch{return!1}let o=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!o)return!1;if(o==="*")return!0;let i=Number.parseInt(e.port,10)||yF[e.protocol.split(":",1)[0]]||0,r=Wx(e.hostname.toLowerCase());return o.split(/[\s,]+/).some(n=>{if(!n)return!1;if(n==="*")return!0;let[a,c]=bF(n);return a=Wx(a),!a||c&&c!==i?!1:(a.charAt(0)==="*"&&(a=a.slice(1)),a.charAt(0)==="."?r.endsWith(a):r===a||Yx(r)&&Yx(a))})}s(Ym,"shouldBypassProxy");function NF(t,e){t=t||10;let o=new Array(t),i=new Array(t),r=0,n=0,a;return e=e!==void 0?e:1e3,s(function(p){let u=Date.now(),l=i[n];a||(a=u),o[r]=p,i[r]=u;let d=n,m=0;for(;d!==r;)m+=o[d++],d=d%t;if(r=(r+1)%t,r===n&&(n=(n+1)%t),u-a<e)return;let y=l&&u-l;return y?Math.round(m*1e3/y):void 0},"push")}s(NF,"speedometer");var Xx=NF;function RF(t,e){let o=0,i=1e3/e,r,n,a=s((u,l=Date.now())=>{o=l,r=null,n&&(clearTimeout(n),n=null),t(...u)},"invoke");return[s((...u)=>{let l=Date.now(),d=l-o;d>=i?a(u,l):(r=u,n||(n=setTimeout(()=>{n=null,a(r)},i-d)))},"throttled"),s(()=>r&&a(r),"flush")]}s(RF,"throttle");var Kx=RF;var tr=s((t,e,o=3)=>{let i=0,r=Xx(50,250);return Kx(n=>{if(!n||typeof n.loaded!="number")return;let a=n.loaded,c=n.lengthComputable?n.total:void 0,p=Math.max(0,c!=null?Math.min(a,c):a),u=Math.max(0,p-i),l=r(u);i=Math.max(i,p);let d={loaded:p,total:c,progress:c?p/c:void 0,bytes:u,rate:l||void 0,estimated:l&&c?(c-p)/l:void 0,event:n,lengthComputable:c!=null,[e?"download":"upload"]:!0};t(d)},o)},"progressEventReducer"),nc=s((t,e)=>{let o=t!=null;return[i=>e[0]({lengthComputable:o,total:t,loaded:i}),e[1]]},"progressEventDecorator"),rc=s((t,e=h.asap)=>(...o)=>e(()=>t(...o)),"asyncDecorator");var $x=s(t=>t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102,"isHexDigit"),t0=s((t,e,o)=>e+2<o&&$x(t.charCodeAt(e+1))&&$x(t.charCodeAt(e+2)),"isPercentEncodedByte"),e0=s(t=>t<=57?t-48:(t&223)-55,"hexValue"),wF=s(t=>t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||t===43||t===47||t===45||t===95,"isBase64Char"),IF=s(t=>t===9||t===10||t===12||t===13||t===32,"isBase64Whitespace"),OF=s(t=>{let e=Math.floor(t/4),o=t%4;return e*3+(o===2?1:o===3?2:0)},"base64Bytes"),o0=s(t=>{let e=t.length,o=0;return e>0&&t.charCodeAt(e-1)===61&&(o++,e>1&&t.charCodeAt(e-2)===61&&o++),Math.floor((e-o)*3/4)},"estimateBase64BufferAllocation"),AF=s(t=>{let e=t.length,o=0,i=0,r=!1;for(let n=0;n<e;n++){let a=t.charCodeAt(n);if(a===37&&t0(t,n,e)&&(a=e0(t.charCodeAt(n+1))*16+e0(t.charCodeAt(n+2)),n+=2),!IF(a)){if(a===61){i++;continue}if(!wF(a)||i>0){r=!0;continue}o++}}return r||i>2||i>0&&(o+i)%4!==0||o%4===1?o0(t):OF(o)},"estimatePercentDecodedBase64Bytes"),i0=s((t,e)=>{if(!t||typeof t!="string"||!t.startsWith("data:"))return 0;let o=t.indexOf(",");if(o<0)return 0;let i=t.slice(5,o),r=t.slice(o+1);if(/;base64/i.test(i))return e(r);let a=0;for(let c=0,p=r.length;c<p;c++){let u=r.charCodeAt(c);if(u===37&&t0(r,c,p))a+=1,c+=2;else if(u<128)a+=1;else if(u<2048)a+=2;else if(u>=55296&&u<=56319&&c+1<p){let l=r.charCodeAt(c+1);l>=56320&&l<=57343?(a+=4,c++):a+=3}else a+=3}return a},"estimateDataURLBytes");function Wm(t){let e=typeof t=="string"?t.indexOf("#"):-1;return i0(e===-1?t:t.slice(0,e),AF)}s(Wm,"estimateDataURLDecodedBytes");function n0(t){return i0(t,o0)}s(n0,"estimateDataURLBufferAllocation");var r0={flush:Xo.default.constants.Z_SYNC_FLUSH,finishFlush:Xo.default.constants.Z_SYNC_FLUSH},FF={flush:Xo.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:Xo.default.constants.BROTLI_OPERATION_FLUSH},DF={flush:Xo.default.constants.ZSTD_e_flush,finishFlush:Xo.default.constants.ZSTD_e_flush},y0=h.isFunction(Xo.default.createBrotliDecompress),b0=h.isFunction(Xo.default.createZstdDecompress),x0="gzip, compress, deflate"+(y0?", br":""),EF=x0+(b0?", zstd":""),a0=typeof process<"u"&&process.nextTick?process.nextTick.bind(process):h.asap,{http:PF,https:TF}=v0.default,eh=/https:?/,s0=Symbol("axios.http.socketListener"),Gu=Symbol("axios.http.currentReq"),S0=Symbol("axios.http.installedTunnel"),zF=new Map,c0=new WeakMap,p0={22:21,24:5};function jF(t=process.versions&&process.versions.node){if(!t)return!1;let[e,o]=t.split(".").map(i=>Number(i));return!Number.isInteger(e)||!Number.isInteger(o)?!1:e>24?!0:p0[e]!=null&&o>=p0[e]}s(jF,"isNodeNativeEnvProxySupported");function BF(t,e=process.versions&&process.versions.node){if(!jF(e))return!1;let o=t&&t.options;return!!(o&&h.hasOwnProp(o,"proxyEnv")&&o.proxyEnv!=null)}s(BF,"isNodeEnvProxyEnabled");function MF(t,e,o){return eh.test(t.protocol)?o||$m.default.globalAgent:e||Km.default.globalAgent}s(MF,"getProxyEnvAgent");function LF(t,e){let o=t.protocol+"//"+t.hostname+":"+(t.port||"")+"#"+(t.auth||""),i=e?c0.get(e)||c0.set(e,new Map).get(e):zF,r=i.get(o);if(r)return r;let n=e&&e.options?{...e.options,...t}:t;if(r=new Xm.default(n),e&&e.options){let a={...e.options},c=r.callback;r.callback=s(function(u,l){return c.call(this,u,{...a,...l})},"axiosTunnelingAgentCallback")}return r[S0]=!0,i.set(o,r),r}s(LF,"getTunnelingAgent");var l0=ne.protocols.map(t=>t+":"),u0=s(t=>{if(!h.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},"decodeURIComponentSafe"),d0=s((t,[e,o])=>(t.on("end",o).on("error",o),e),"flushOnFinish"),VF=new Qx;function _F(t,e,o){t.beforeRedirects.proxy&&t.beforeRedirects.proxy(t),t.beforeRedirects.auth&&t.beforeRedirects.auth(t),t.beforeRedirects.sensitiveHeaders&&t.beforeRedirects.sensitiveHeaders(t,o),t.beforeRedirects.config&&t.beforeRedirects.config(t,e,o)}s(_F,"dispatchBeforeRedirect");function UF(t,e){t&&Object.keys(t).forEach(o=>{e.has(o.toLowerCase())&&delete t[o]})}s(UF,"stripMatchingHeaders");function qF(t,e){if(!e)return!1;try{return new URL(e.url).origin===new URL(t.href).origin}catch{return!1}}s(qF,"isSameOriginRedirect");function C0(t,e,o,i,r,n){let a=e,c=MF(t,n,r);if(!a&&a!==!1&&!BF(c)){let p=cx(o);p&&(Ym(o)||(a=new URL(p)))}if(i&&t.headers)for(let p of Object.keys(t.headers))p.toLowerCase()==="proxy-authorization"&&delete t.headers[p];if(i&&t.agent&&t.agent[S0]&&(t.agent=void 0),a){let p=a instanceof URL,u=s(x=>p||h.hasOwnProp(a,x)?a[x]:void 0,"readProxyField"),l=u("username"),d=u("password"),m=h.hasOwnProp(a,"auth")?a.auth:void 0;if(l&&(m=(l||"")+":"+(d||"")),m){let x=typeof m=="object",N=x&&h.hasOwnProp(m,"username")?m.username:void 0,C=x&&h.hasOwnProp(m,"password")?m.password:void 0;if(!!(N||C))m=(N||"")+":"+(C||"");else if(x)throw new w("Invalid proxy authorization",w.ERR_BAD_OPTION,{proxy:a})}if(eh.test(t.protocol)){if(!(r instanceof Xm.default)){let x=u("hostname")||u("host"),N=u("port"),C=u("protocol"),b=C?C.includes(":")?C:`${C}:`:"http:",I=x&&x.includes(":")&&!x.startsWith("[")?`[${x}]`:x,A=new URL(`${b}//${I}${N?":"+N:""}`),D={protocol:A.protocol,hostname:A.hostname.replace(/^\[|\]$/g,""),port:A.port,auth:m&&typeof m=="string"?m:void 0};A.protocol==="https:"&&(D.ALPNProtocols=["http/1.1"]);let U=LF(D,r);t.agent=U,t.agents&&(t.agents.https=U)}}else{if(m){let b=Buffer.from(m,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+b}let x=!1;for(let b of Object.keys(t.headers))if(b.toLowerCase()==="host"){x=!0;break}x||(t.headers.host=t.hostname+(t.port?":"+t.port:""));let N=u("hostname")||u("host");t.hostname=N,t.host=N,t.port=u("port"),t.path=o;let C=u("protocol");C&&(t.protocol=C.includes(":")?C:`${C}:`)}}t.beforeRedirects.proxy=s(function(u){C0(u,e,u.href,!0,r,n)},"beforeRedirect")}s(C0,"setProxy");var HF=typeof process<"u"&&h.kindOf(process)==="process",kF=s(t=>new Promise((e,o)=>{let i,r,n=s((p,u)=>{r||(r=!0,i&&i(p,u))},"done"),a=s(p=>{n(p),e(p)},"_resolve"),c=s(p=>{n(p,!0),o(p)},"_reject");t(a,c,p=>i=p).catch(c)}),"wrapAsync"),GF=s(({address:t,family:e})=>{if(!h.isString(t))throw TypeError("address must be a string");return{address:t,family:e||(t.indexOf(".")<0?6:4)}},"resolveFamily"),f0=s((t,e)=>GF(h.isObject(t)?t:{address:t,family:e}),"buildAddressEntry"),QF={request(t,e){let o=t.protocol+"//"+t.hostname+":"+(t.port||(t.protocol==="https:"?443:80)),{http2Options:i,headers:r}=t,n=VF.getSession(o,i),{HTTP2_HEADER_SCHEME:a,HTTP2_HEADER_METHOD:c,HTTP2_HEADER_PATH:p,HTTP2_HEADER_STATUS:u}=m0.default.constants,l={[a]:t.protocol.replace(":",""),[c]:t.method,[p]:t.path};h.forEach(r,(m,y)=>{y.charAt(0)!==":"&&(l[y]=m)});let d=n.request(l);return d.once("response",m=>{let y=d;m=Object.assign({},m);let x=m[u];delete m[u],y.headers=m,y.statusCode=+x,e(y)}),d}},N0=HF&&s(function(e){return kF(s(async function(i,r,n){let a=s(z=>h.getSafeProp(e,z),"own"),c=a("transitional")||Gr,p=a("data"),u=a("lookup"),l=a("family"),d=a("httpVersion");d===void 0&&(d=1);let m=a("http2Options"),y=a("httpAgent"),x=a("httpsAgent"),N=a("proxy"),C=a("responseType"),b=a("responseEncoding"),I=a("socketPath"),A=a("method").toUpperCase(),D=a("maxRedirects"),U=a("maxBodyLength"),H=a("maxContentLength"),ot=a("decompress"),Yo,bn=!1,te,Wo;if(d=+d,Number.isNaN(d))throw TypeError(`Invalid protocol version: '${e.httpVersion}' is not a number`);if(d!==1&&d!==2)throw TypeError(`Unsupported protocol version '${d}'`);let Ms=d===2;if(u){let z=Zx(u,P=>h.isArray(P)?P:[P]);u=s((P,ee,Ke)=>{z(P,ee,(X,Ft,io)=>{if(X)return Ke(X);let pt=h.isArray(Ft)?Ft.map(_s=>f0(_s)):[f0(Ft,io)];ee.all?Ke(X,pt):Ke(X,pt[0].address,pt[0].family)})},"lookup")}let Ur=new g0.EventEmitter;function ht(z){try{Ur.emit("abort",!z||z.type?new Jo(null,e,te):z)}catch{}}s(ht,"abort");function Kn(){Wo&&(clearTimeout(Wo),Wo=null)}s(Kn,"clearConnectPhaseTimer");function _a(){let z=a("timeout"),P=z?"timeout of "+z+"ms exceeded":"timeout exceeded",ee=a("timeoutErrorMessage");return ee&&(P=ee),new w(P,c.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,e,te)}s(_a,"createTimeoutError"),Ur.once("abort",r);let Ua=s(()=>{Kn(),e.cancelToken&&e.cancelToken.unsubscribe(ht),e.signal&&e.signal.removeEventListener("abort",ht),Ur.removeAllListeners()},"onFinished");(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(ht),e.signal&&(e.signal.aborted?ht():e.signal.addEventListener("abort",ht))),n((z,P)=>{if(Yo=!0,Kn(),P){bn=!0,Ua();return}let{data:ee}=z;if(ee instanceof fi.default.Readable||ee instanceof fi.default.Duplex){let Ke=fi.default.finished(ee,()=>{Ke(),Ua()})}else Ua()});let bu=Ya(a("baseURL"),a("url"),a("allowAbsoluteUrls"),e),xu=I?"http://localhost":ne.hasBrowserEnv?ne.origin:void 0,ze=new URL(bu,xu),Xe=ze.protocol||l0[0];if(Xe==="data:"){if(H>-1){let P=String(a("url")||bu||"");if(n0(P)>H)return r(new w("maxContentLength size of "+H+" exceeded",w.ERR_BAD_RESPONSE,e))}let z;if(A!=="GET")return Cn(i,r,{status:405,statusText:"method not allowed",headers:{},config:e});try{z=Hm(a("url"),C==="blob",{Blob:e.env&&e.env.Blob})}catch(P){throw w.from(P,w.ERR_BAD_REQUEST,e)}return C==="text"?(z=z.toString(b),(!b||b==="utf8")&&(z=h.stripBOM(z))):C==="stream"&&(z=fi.default.Readable.from(z)),Cn(i,r,{data:z,status:200,statusText:"OK",headers:new we,config:e})}if(l0.indexOf(Xe)===-1)return r(new w("Unsupported protocol "+Xe,w.ERR_BAD_REQUEST,e));let ct=we.from(e.headers).normalize();ct.set("User-Agent","axios/"+er,!1);let{onUploadProgress:xn,onDownloadProgress:$n}=e,qa=e.maxRate,ie,Gt;if(h.isSpecCompliantForm(p)){let z=ct.getContentType(/boundary=([-_\w\d]{10,70})/i);p=Ux(p,P=>{ct.set(P)},{tag:`axios-${er}-boundary`,boundary:z&&z[1]||void 0})}else if(h.isFormData(p)&&h.isFunction(p.getHeaders)&&p.getHeaders!==Object.prototype.getHeaders){if(pl(ct,p.getHeaders(),a("formDataHeaderPolicy")),!ct.hasContentLength())try{let z=await h0.default.promisify(p.getLength).call(p);Number.isFinite(z)&&z>=0&&ct.setContentLength(z)}catch{}}else if(h.isBlob(p)||h.isFile(p))p.size&&ct.setContentType(p.type||"application/octet-stream"),ct.setContentLength(p.size||0),p=fi.default.Readable.from(ku(p));else if(p&&!h.isStream(p)){if(!Buffer.isBuffer(p))if(h.isArrayBuffer(p))p=Buffer.from(new Uint8Array(p));else if(h.isString(p))p=Buffer.from(p,"utf-8");else return r(new w("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",w.ERR_BAD_REQUEST,e));if(ct.setContentLength(p.length,!1),U>-1&&p.length>U)return r(new w("Request body larger than maxBodyLength limit",w.ERR_BAD_REQUEST,e))}let Ls=h.toFiniteNumber(ct.getContentLength());h.isArray(qa)?(ie=qa[0],Gt=qa[1]):ie=Gt=qa,p&&(xn||ie)&&(h.isStream(p)||(p=fi.default.Readable.from(p,{objectMode:!1})),p=fi.default.pipeline([p,new Gm({maxRate:h.toFiniteNumber(ie)})],h.noop),xn&&p.on("progress",d0(p,nc(Ls,tr(rc(xn,a0),!1,3)))));let Sn,Tp=a("auth");if(Tp){let z=h.getSafeProp(Tp,"username")||"",P=h.getSafeProp(Tp,"password")||"";Sn=z+":"+P}if(!Sn&&(ze.username||ze.password)){let z=u0(ze.username),P=u0(ze.password);Sn=z+":"+P}Sn&&ct.delete("authorization");let zp;try{zp=Za(ze.pathname+ze.search,a("params"),a("paramsSerializer")).replace(/^\?/,"")}catch(z){return r(w.from(z,w.ERR_BAD_REQUEST,e,null,null,{url:a("url"),exists:!0}))}ct.set("Accept-Encoding",h.hasOwnProp(c,"advertiseZstdAcceptEncoding")&&c.advertiseZstdAcceptEncoding===!0?EF:x0,!1);let de=Object.assign(Object.create(null),{path:zp,method:A,headers:Qs(ct),agents:{http:y,https:x},auth:Sn,protocol:Xe,family:l,beforeRedirect:_F,beforeRedirects:Object.create(null),http2Options:m});if(!h.isUndefined(u)&&(de.lookup=u),I){if(typeof I!="string")return r(new w("socketPath must be a string",w.ERR_BAD_OPTION_VALUE,e));let z=a("allowedSocketPaths");if(z!=null){let P=Array.isArray(z)?z:[z],ee=(0,Jm.resolve)(I);if(!P.some(X=>typeof X=="string"&&(0,Jm.resolve)(X)===ee))return r(new w(`socketPath "${I}" is not permitted by allowedSocketPaths`,w.ERR_BAD_OPTION_VALUE,e))}de.socketPath=I}else de.hostname=ze.hostname.startsWith("[")?ze.hostname.slice(1,-1):ze.hostname,de.port=ze.port,C0(de,N,Xe+"//"+ze.hostname+(ze.port?":"+ze.port:"")+de.path,!1,x,y);let qr,Vs=!1,li=!1,Z=eh.test(de.protocol);if(de.agent==null&&(de.agent=Z?x:y),Ms)qr=QF;else{let z=a("transport");if(z)qr=z;else if(D===0)qr=Z?$m.default:Km.default,Vs=!0;else{li=!0,de.sensitiveHeaders=[],D&&(de.maxRedirects=D);let P=a("beforeRedirect");if(P&&(de.beforeRedirects.config=P),Sn){let Ke=ze.origin,X=Sn;de.beforeRedirects.auth=s(function(io){try{new URL(io.href).origin===Ke&&(io.auth=X)}catch{}},"beforeRedirectAuth")}let ee=a("sensitiveHeaders");if(ee!=null){if(!h.isArray(ee))return r(new w("sensitiveHeaders must be an array of strings",w.ERR_BAD_OPTION_VALUE,e));let Ke=new Set;for(let X of ee){if(!h.isString(X))return r(new w("sensitiveHeaders must be an array of strings",w.ERR_BAD_OPTION_VALUE,e));Ke.add(X.toLowerCase())}Ke.size&&(de.sensitiveHeaders=Array.from(Ke),de.beforeRedirects.sensitiveHeaders=s(function(Ft,io){qF(Ft,io)||UF(Ft.headers,Ke)},"beforeRedirectSensitiveHeaders"))}qr=Z?TF:PF}}U>-1?de.maxBodyLength=U:de.maxBodyLength=1/0,de.insecureHTTPParser=!!a("insecureHTTPParser"),te=qr.request(de,s(function(P){if(Kn(),te.destroyed)return;let ee=[P],Ke=h.toFiniteNumber(P.headers["content-length"]);if($n||Gt){let pt=new Gm({maxRate:h.toFiniteNumber(Gt)});$n&&pt.on("progress",d0(pt,nc(Ke,tr(rc($n,a0),!0,3)))),ee.push(pt)}let X=P,Ft=P.req||te;if(ot!==!1&&P.headers["content-encoding"])switch((A==="HEAD"||P.statusCode===204)&&delete P.headers["content-encoding"],(P.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":ee.push(Xo.default.createUnzip(r0)),delete P.headers["content-encoding"];break;case"deflate":ee.push(new Hx),ee.push(Xo.default.createUnzip(r0)),delete P.headers["content-encoding"];break;case"br":y0&&(ee.push(Xo.default.createBrotliDecompress(FF)),delete P.headers["content-encoding"]);break;case"zstd":b0&&(ee.push(Xo.default.createZstdDecompress(DF)),delete P.headers["content-encoding"]);break}X=ee.length>1?fi.default.pipeline(ee,h.noop):ee[0];let io={status:P.statusCode,statusText:P.statusMessage,headers:new we(P.headers),config:e,request:Ft};if(C==="stream"){if(H>-1){let pt=H,_s=X;async function*jp(){let Dt=0;for await(let bg of _s){if(Dt+=bg.length,Dt>pt)throw new w("maxContentLength size of "+pt+" exceeded",w.ERR_BAD_RESPONSE,e,Ft);yield bg}}s(jp,"enforceMaxContentLength"),X=fi.default.Readable.from(jp(),{objectMode:!1})}io.data=X,Cn(i,r,io)}else{let pt=[],_s=0;X.on("data",s(function(Dt){pt.push(Dt),_s+=Dt.length,H>-1&&_s>H&&(bn=!0,X.destroy(),ht(new w("maxContentLength size of "+H+" exceeded",w.ERR_BAD_RESPONSE,e,Ft)))},"handleStreamData")),X.on("aborted",s(function(){if(bn)return;let Dt=new w("stream has been aborted",w.ERR_BAD_RESPONSE,e,Ft,io);X.destroy(Dt),r(Dt)},"handlerStreamAborted")),X.on("error",s(function(Dt){bn||r(w.from(Dt,null,e,Ft,io))},"handleStreamError")),X.on("end",s(function(){try{let Dt=pt.length===1?pt[0]:Buffer.concat(pt);C!=="arraybuffer"&&(Dt=Dt.toString(b),(!b||b==="utf8")&&(Dt=h.stripBOM(Dt))),io.data=Dt}catch(Dt){return r(w.from(Dt,null,e,io.request,io))}Cn(i,r,io)},"handleStreamEnd"))}Ur.once("abort",pt=>{X.destroyed||(X.emit("error",pt),X.destroy())})},"handleResponse")),Ur.once("abort",z=>{te.close?te.close():te.destroy(z)}),te.on("error",s(function(P){r(w.from(P,null,e,te))},"handleRequestError"));let Qt=new Set;if(te.on("socket",s(function(P){typeof P.setKeepAlive=="function"&&P.setKeepAlive(!0,1e3*60),P[s0]||(P.on("error",s(function(Ke){let X=P[Gu];X&&!X.destroyed&&X.destroy(Ke)},"handleSocketError")),P[s0]=!0),P[Gu]=te,Qt.add(P)},"handleRequestSocket")),te.once("close",s(function(){Kn();for(let P of Qt)P[Gu]===te&&(P[Gu]=null);Qt.clear()},"clearCurrentReq")),a("timeout")){let z=parseInt(a("timeout"),10);if(Number.isNaN(z)){ht(new w("error trying to parse `config.timeout` to int",w.ERR_BAD_OPTION_VALUE,e,te));return}let P=s(function(){Yo||ht(_a())},"handleTimeout");Vs&&z>0&&(Wo=setTimeout(P,z)),te.setTimeout(z,P)}else te.setTimeout(0);if(h.isStream(p)){let z=!1,P=!1;p.on("end",()=>{z=!0}),p.once("error",Ke=>{P=!0,te.destroy(Ke)}),p.on("close",()=>{!z&&!P&&ht(new Jo("Request stream has been aborted",e,te))});let ee=p;if(U>-1&&!li){let Ke=U,X=0;ee=fi.default.pipeline([p,new fi.default.Transform({transform(Ft,io,pt){if(X+=Ft.length,X>Ke)return pt(new w("Request body larger than maxBodyLength limit",w.ERR_BAD_REQUEST,e,te));pt(null,Ft)}})],h.noop),ee.on("error",Ft=>{te.destroyed||te.destroy(Ft)})}ee.pipe(te)}else p&&te.write(p),te.end()},"dispatchHttpRequest"))},"httpAdapter");var R0=ne.hasStandardBrowserEnv?((t,e)=>o=>(o=new URL(o,ne.origin),t.protocol===o.protocol&&t.host===o.host&&(e||t.port===o.port)))(new URL(ne.origin),ne.navigator&&/(msie|trident)/i.test(ne.navigator.userAgent)):()=>!0;var w0=ne.hasStandardBrowserEnv?{write(t,e,o,i,r,n,a){if(typeof document>"u")return;let c=[`${t}=${encodeURIComponent(e)}`];h.isNumber(o)&&c.push(`expires=${new Date(o).toUTCString()}`),h.isString(i)&&c.push(`path=${i}`),h.isString(r)&&c.push(`domain=${r}`),n===!0&&c.push("secure"),h.isString(a)&&c.push(`SameSite=${a}`),document.cookie=c.join("; ")},read(t){if(typeof document>"u")return null;let e=document.cookie.split(";");for(let o=0;o<e.length;o++){let i=e[o].replace(/^\s+/,""),r=i.indexOf("=");if(r!==-1&&i.slice(0,r)===t)try{return decodeURIComponent(i.slice(r+1))}catch{return i.slice(r+1)}}return null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};var I0=s(t=>t instanceof we?{...t}:t,"headersToObject"),ZF=s(t=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(t).concat(Object.getOwnPropertySymbols(t).filter(e=>Object.getOwnPropertyDescriptor(t,e).enumerable)):Object.keys(t),"ownEnumerableKeys");function Li(t,e){t=t||{},e=e||{};let o=Object.create(null);Object.defineProperty(o,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function i(l,d,m,y){return h.isPlainObject(l)&&h.isPlainObject(d)?h.merge.call({caseless:y},l,d):h.isPlainObject(d)?h.merge({},d):h.isArray(d)?d.slice():d}s(i,"getMergedValue");function r(l,d,m,y){if(h.isUndefined(d)){if(!h.isUndefined(l))return i(void 0,l,m,y)}else return i(l,d,m,y)}s(r,"mergeDeepProperties");function n(l,d){if(!h.isUndefined(d))return i(void 0,d)}s(n,"valueFromConfig2");function a(l,d){if(h.isUndefined(d)){if(!h.isUndefined(l))return i(void 0,l)}else return i(void 0,d)}s(a,"defaultToConfig2");function c(l){let d=h.hasOwnProp(e,"transitional")?e.transitional:void 0;if(!h.isUndefined(d))if(h.isPlainObject(d)){if(h.hasOwnProp(d,l))return d[l]}else return;let m=h.hasOwnProp(t,"transitional")?t.transitional:void 0;if(h.isPlainObject(m)&&h.hasOwnProp(m,l))return m[l]}s(c,"getMergedTransitionalOption");function p(l,d,m){if(h.hasOwnProp(e,m))return i(l,d);if(h.hasOwnProp(t,m))return i(void 0,l)}s(p,"mergeDirectKeys");let u={url:n,method:n,data:n,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,allowedSocketPaths:a,responseEncoding:a,validateStatus:p,headers:s((l,d,m)=>r(I0(l),I0(d),m,!0),"headers")};return h.forEach(ZF({...t,...e}),s(function(d){if(d==="__proto__"||d==="constructor"||d==="prototype")return;let m=h.hasOwnProp(u,d)?u[d]:r,y=h.hasOwnProp(t,d)?t[d]:void 0,x=h.hasOwnProp(e,d)?e[d]:void 0,N=m(y,x,d);h.isUndefined(N)&&m!==p||(o[d]=N)},"computeConfigValue")),h.hasOwnProp(e,"validateStatus")&&h.isUndefined(e.validateStatus)&&c("validateStatusUndefinedResolves")===!1&&(h.hasOwnProp(t,"validateStatus")?o.validateStatus=i(void 0,t.validateStatus):delete o.validateStatus),o}s(Li,"mergeConfig");var YF=s(t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,o)=>String.fromCharCode(parseInt(o,16))),"encodeUTF8");function WF(t){let e=Li({},t),o=s(m=>h.hasOwnProp(e,m)?e[m]:void 0,"own"),i=o("data"),r=o("withXSRFToken"),n=o("xsrfHeaderName"),a=o("xsrfCookieName"),c=o("headers"),p=o("auth"),u=o("baseURL"),l=o("allowAbsoluteUrls"),d=o("url");if(e.headers=c=we.from(c),e.url=Za(Ya(u,d,l,e),o("params"),o("paramsSerializer")),p){let m=h.getSafeProp(p,"username")||"",y=h.getSafeProp(p,"password")||"";try{c.set("Authorization","Basic "+btoa(m+":"+(y?YF(y):"")))}catch(x){throw w.from(x,w.ERR_BAD_OPTION_VALUE,t)}}if(h.isFormData(i)&&(ne.hasStandardBrowserEnv||ne.hasStandardBrowserWebWorkerEnv||h.isReactNative(i)?c.setContentType(void 0):h.isFunction(i.getHeaders)&&pl(c,i.getHeaders(),o("formDataHeaderPolicy"))),ne.hasStandardBrowserEnv&&(h.isFunction(r)&&(r=r(e)),r===!0||r==null&&R0(e.url))){let y=n&&a&&w0.read(a);y&&c.set(n,y)}return e}s(WF,"resolveConfig");var Qu=WF;var JF=typeof XMLHttpRequest<"u",O0=JF&&function(t){return new Promise(s(function(o,i){let r=Qu(t),n=r.data,a=we.from(r.headers).normalize(),{responseType:c,onUploadProgress:p,onDownloadProgress:u}=r,l,d,m,y,x;function N(){y&&y(),x&&x(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener("abort",l)}s(N,"done");let C=new XMLHttpRequest;C.open(r.method.toUpperCase(),r.url,!0),C.timeout=r.timeout;function b(){if(!C)return;let A=we.from("getAllResponseHeaders"in C&&C.getAllResponseHeaders()),U={data:!c||c==="text"||c==="json"?C.responseText:C.response,status:C.status,statusText:C.statusText,headers:A,config:t,request:C};Cn(s(function(ot){o(ot),N()},"_resolve"),s(function(ot){i(ot),N()},"_reject"),U),C=null}s(b,"onloadend"),"onloadend"in C?C.onloadend=b:C.onreadystatechange=s(function(){!C||C.readyState!==4||C.status===0&&!(C.responseURL&&C.responseURL.startsWith("file:"))||setTimeout(b)},"handleLoad"),C.onabort=s(function(){C&&(i(new w("Request aborted",w.ECONNABORTED,t,C)),N(),C=null)},"handleAbort"),C.onerror=s(function(D){let U=D&&D.message?D.message:"Network Error",H=new w(U,w.ERR_NETWORK,t,C);H.event=D||null,i(H),N(),C=null},"handleError"),C.ontimeout=s(function(){let D=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded",U=r.transitional||Gr;r.timeoutErrorMessage&&(D=r.timeoutErrorMessage),i(new w(D,U.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,t,C)),N(),C=null},"handleTimeout"),n===void 0&&a.setContentType(null),"setRequestHeader"in C&&h.forEach(Qs(a),s(function(D,U){C.setRequestHeader(U,D)},"setRequestHeader")),h.isUndefined(r.withCredentials)||(C.withCredentials=!!r.withCredentials),c&&c!=="json"&&(C.responseType=r.responseType),u&&([m,x]=tr(u,!0),C.addEventListener("progress",m)),p&&C.upload&&([d,y]=tr(p),C.upload.addEventListener("progress",d),C.upload.addEventListener("loadend",y)),(r.cancelToken||r.signal)&&(l=s(A=>{C&&(i(!A||A.type?new Jo(null,t,C):A),C.abort(),N(),C=null)},"onCanceled"),r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));let I=cl(r.url);if(I&&!ne.protocols.includes(I)){i(new w("Unsupported protocol "+I+":",w.ERR_BAD_REQUEST,t)),N();return}C.send(n||null)},"dispatchXhrRequest"))};var XF=s((t,e)=>{if(t=t?t.filter(Boolean):[],!e&&!t.length)return;let o=new AbortController,i=!1,r=s(function(p){if(!i){i=!0,a();let u=p instanceof Error?p:this.reason;o.abort(u instanceof w?u:new Jo(u instanceof Error?u.message:u))}},"onabort"),n=e&&setTimeout(()=>{n=null,r(new w(`timeout of ${e}ms exceeded`,w.ETIMEDOUT))},e),a=s(()=>{t&&(n&&clearTimeout(n),n=null,t.forEach(p=>{p.unsubscribe?p.unsubscribe(r):p.removeEventListener("abort",r)}),t=null)},"unsubscribe");t.forEach(p=>{if(!i){if(p.aborted){r.call(p);return}p.addEventListener("abort",r,{once:!0})}});let{signal:c}=o;return c.unsubscribe=()=>h.asap(a),c},"composeSignals"),A0=XF;var KF=s(function*(t,e){let o=t.byteLength;if(!e||o<e){yield t;return}let i=0,r;for(;i<o;)r=i+e,yield t.slice(i,r),i=r},"streamChunk"),$F=s(async function*(t,e){for await(let o of eD(t))yield*KF(o,e)},"readBytes"),eD=s(async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}let e=t.getReader();try{for(;;){let{done:o,value:i}=await e.read();if(o)break;yield i}}finally{await e.cancel()}},"readStream"),th=s((t,e,o,i)=>{let r=$F(t,e),n=0,a,c=s(p=>{a||(a=!0,i&&i(p))},"_onFinish");return new ReadableStream({async pull(p){try{let{done:u,value:l}=await r.next();if(u){c(),p.close();return}let d=l.byteLength;if(o){let m=n+=d;o(m)}p.enqueue(new Uint8Array(l))}catch(u){throw c(u),u}},cancel(p){return c(p),r.return()}},{highWaterMark:2})},"trackStream");var F0=64*1024,{isFunction:Zu}=h,tD=s(t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,o)=>String.fromCharCode(parseInt(o,16))),"encodeUTF8"),D0=s(t=>{if(!h.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},"decodeURIComponentSafe"),E0=s((t,...e)=>{try{return!!t(...e)}catch{return!1}},"test"),oD=s(t=>{let e=t.indexOf("://"),o=t;return e!==-1&&(o=o.slice(e+3)),o.includes("@")||o.includes(":")},"maybeWithAuthCredentials"),iD=s(t=>{let e=h.global!==void 0&&h.global!==null?h.global:globalThis,{ReadableStream:o,TextEncoder:i}=e;t=h.merge.call({skipUndefined:!0},{Request:e.Request,Response:e.Response},t);let{fetch:r,Request:n,Response:a}=t,c=r?Zu(r):typeof fetch=="function",p=Zu(n),u=Zu(a);if(!c)return!1;let l=c&&Zu(o),d=c&&(typeof i=="function"?(b=>I=>b.encode(I))(new i):async b=>new Uint8Array(await new n(b).arrayBuffer())),m=p&&l&&E0(()=>{let b=!1,I=new n(ne.origin,{body:new o,method:"POST",get duplex(){return b=!0,"half"}}),A=I.headers.has("Content-Type");return I.body!=null&&I.body.cancel(),b&&!A}),y=u&&l&&E0(()=>h.isReadableStream(new a("").body)),x={stream:y&&(b=>b.body)};c&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!x[b]&&(x[b]=(I,A)=>{let D=I&&I[b];if(D)return D.call(I);throw new w(`Response type '${b}' is not supported`,w.ERR_NOT_SUPPORT,A)})});let N=s(async b=>{if(b==null)return 0;if(h.isBlob(b))return b.size;if(h.isSpecCompliantForm(b))return(await new n(ne.origin,{method:"POST",body:b}).arrayBuffer()).byteLength;if(h.isArrayBufferView(b)||h.isArrayBuffer(b))return b.byteLength;if(h.isURLSearchParams(b)&&(b=b+""),h.isString(b))return(await d(b)).byteLength},"getBodyLength"),C=s(async(b,I)=>{let A=h.toFiniteNumber(b.getContentLength());return A??N(I)},"resolveBodyLength");return async b=>{let{url:I,method:A,data:D,signal:U,cancelToken:H,timeout:ot,onDownloadProgress:Yo,onUploadProgress:bn,responseType:te,headers:Wo,withCredentials:Ms="same-origin",fetchOptions:Ur,maxContentLength:ht,maxBodyLength:Kn}=Qu(b),_a=h.isNumber(ht)&&ht>-1,Ua=h.isNumber(Kn)&&Kn>-1,bu=s(ie=>h.hasOwnProp(b,ie)?b[ie]:void 0,"own"),xu=r||fetch;te=te?(te+"").toLowerCase():"text";let ze=A0([U,H&&H.toAbortSignal()],ot),Xe=null,ct=ze&&ze.unsubscribe&&(()=>{ze.unsubscribe()}),xn,$n=null,qa=s(()=>new w("Request body larger than maxBodyLength limit",w.ERR_BAD_REQUEST,b,Xe),"maxBodyLengthError");try{let ie,Gt=bu("auth");if(Gt){let Z=h.getSafeProp(Gt,"username")||"",Qt=h.getSafeProp(Gt,"password")||"";ie={username:Z,password:Qt}}if(oD(I)){let Z=new URL(I,ne.origin);if(!ie&&(Z.username||Z.password)){let Qt=D0(Z.username),z=D0(Z.password);ie={username:Qt,password:z}}(Z.username||Z.password)&&(Z.username="",Z.password="",I=Z.href)}if(ie&&(Wo.delete("authorization"),Wo.set("Authorization","Basic "+btoa(tD((ie.username||"")+":"+(ie.password||""))))),_a&&typeof I=="string"&&I.startsWith("data:")&&Wm(I)>ht)throw new w("maxContentLength size of "+ht+" exceeded",w.ERR_BAD_RESPONSE,b,Xe);if(Ua&&A!=="get"&&A!=="head"){let Z=await N(D);if(typeof Z=="number"&&isFinite(Z)&&(xn=Z,Z>Kn))throw qa()}let Ls=Ua&&(h.isReadableStream(D)||h.isStream(D)),Sn=s((Z,Qt,z)=>th(Z,F0,P=>{if(Ua&&P>Kn)throw $n=qa();Qt&&Qt(P)},z),"trackRequestStream");if(m&&A!=="get"&&A!=="head"&&(bn||Ls)){if(xn=xn??await C(Wo,D),xn!==0||Ls){let Z=new n(I,{method:"POST",body:D,duplex:"half"}),Qt;if(h.isFormData(D)&&(Qt=Z.headers.get("content-type"))&&Wo.setContentType(Qt),Z.body){let[z,P]=bn&&nc(xn,tr(rc(bn)))||[];D=Sn(Z.body,z,P)}}}else if(Ls&&!p&&l&&A!=="get"&&A!=="head")D=Sn(D);else if(Ls&&p&&!m&&A!=="get"&&A!=="head")throw new w("Stream request bodies are not supported by the current fetch implementation",w.ERR_NOT_SUPPORT,b,Xe);h.isString(Ms)||(Ms=Ms?"include":"omit");let Tp=p&&"credentials"in n.prototype;if(h.isFormData(D)){let Z=Wo.getContentType();Z&&/^multipart\/form-data/i.test(Z)&&!/boundary=/i.test(Z)&&Wo.delete("content-type")}Wo.set("User-Agent","axios/"+er,!1);let zp={...Ur,signal:ze,method:A.toUpperCase(),headers:Qs(Wo.normalize()),body:D,duplex:"half",credentials:Tp?Ms:void 0};Xe=p&&new n(I,zp);let de=await(p?xu(Xe,Ur):xu(I,zp)),qr=we.from(de.headers);if(_a){let Z=h.toFiniteNumber(qr.getContentLength());if(Z!=null&&Z>ht)throw new w("maxContentLength size of "+ht+" exceeded",w.ERR_BAD_RESPONSE,b,Xe)}let Vs=y&&(te==="stream"||te==="response");if(y&&de.body&&(Yo||_a||Vs&&ct)){let Z={};["status","statusText","headers"].forEach(X=>{Z[X]=de[X]});let Qt=h.toFiniteNumber(qr.getContentLength()),[z,P]=Yo&&nc(Qt,tr(rc(Yo),!0))||[],ee=0,Ke=s(X=>{if(_a&&(ee=X,ee>ht))throw new w("maxContentLength size of "+ht+" exceeded",w.ERR_BAD_RESPONSE,b,Xe);z&&z(X)},"onChunkProgress");de=new a(th(de.body,F0,Ke,()=>{P&&P(),ct&&ct()}),Z)}te=te||"text";let li=await x[h.findKey(x,te)||"text"](de,b);if(_a&&!y&&!Vs){let Z;if(li!=null&&(typeof li.byteLength=="number"?Z=li.byteLength:typeof li.size=="number"?Z=li.size:typeof li=="string"&&(Z=typeof i=="function"?new i().encode(li).byteLength:li.length)),typeof Z=="number"&&Z>ht)throw new w("maxContentLength size of "+ht+" exceeded",w.ERR_BAD_RESPONSE,b,Xe)}return!Vs&&ct&&ct(),await new Promise((Z,Qt)=>{Cn(Z,Qt,{data:li,headers:we.from(de.headers),status:de.status,statusText:de.statusText,config:b,request:Xe})})}catch(ie){if(ct&&ct(),ze&&ze.aborted&&ze.reason instanceof w){let Gt=ze.reason;throw Gt.config=b,Xe&&(Gt.request=Xe),ie!==Gt&&Object.defineProperty(Gt,"cause",{__proto__:null,value:ie,writable:!0,enumerable:!1,configurable:!0}),Gt}if($n)throw Xe&&!$n.request&&($n.request=Xe),$n;if(ie instanceof w)throw Xe&&!ie.request&&(ie.request=Xe),ie;if(ie&&ie.name==="TypeError"&&/Load failed|fetch/i.test(ie.message)){let Gt=new w("Network Error",w.ERR_NETWORK,b,Xe,ie&&ie.response);throw Object.defineProperty(Gt,"cause",{__proto__:null,value:ie.cause||ie,writable:!0,enumerable:!1,configurable:!0}),Gt}throw w.from(ie,ie&&ie.code,b,Xe,ie&&ie.response)}}},"factory"),nD=new Map,oh=s(t=>{let e=t&&t.env||{},{fetch:o,Request:i,Response:r}=e,n=[i,r,o],a=n.length,c=a,p,u,l=nD;for(;c--;)p=n[c],u=l.get(p),u===void 0&&l.set(p,u=c?new Map:iD(e)),l=u;return u},"getFetch"),mB=oh();var ih={http:N0,xhr:O0,fetch:{get:oh}};h.forEach(ih,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{__proto__:null,value:e})}catch{}Object.defineProperty(t,"adapterName",{__proto__:null,value:e})}});var P0=s(t=>`- ${t}`,"renderReason"),aD=s(t=>h.isFunction(t)||t===null||t===!1,"isResolvedHandle");function sD(t,e){t=h.isArray(t)?t:[t];let{length:o}=t,i,r,n={};for(let a=0;a<o;a++){i=t[a];let c;if(r=i,!aD(i)&&(r=ih[(c=String(i)).toLowerCase()],r===void 0))throw new w(`Unknown adapter '${c}'`);if(r&&(h.isFunction(r)||(r=r.get(e))))break;n[c||"#"+a]=r}if(!r){let a=Object.entries(n).map(([p,u])=>`adapter ${p} `+(u===!1?"is not supported by the environment":"is not available in the build")),c=o?a.length>1?`since :
30
+ `+a.map(P0).join(`
31
+ `):" "+P0(a[0]):"as no adapter specified";throw new w("There is no suitable adapter to dispatch the request "+c,w.ERR_NOT_SUPPORT)}return r}s(sD,"getAdapter");var Yu={getAdapter:sD,adapters:ih};function nh(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Jo(null,t)}s(nh,"throwIfCancellationRequested");function ul(t){return nh(t),t.headers=we.from(t.headers),t.data=Xp.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Yu.getAdapter(t.adapter||$s.adapter,t)(t).then(s(function(i){nh(t),t.response=i;try{i.data=Xp.call(t,t.transformResponse,i)}finally{delete t.response}return i.headers=we.from(i.headers),i},"onAdapterResolution"),s(function(i){if(!Kp(i)&&(nh(t),i&&i.response)){t.response=i.response;try{i.response.data=Xp.call(t,t.transformResponse,i.response)}finally{delete t.response}i.response.headers=we.from(i.response.headers)}return Promise.reject(i)},"onAdapterRejection"))}s(ul,"dispatchRequest");var Wu={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Wu[t]=s(function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t},"validator")});var T0={};Wu.transitional=s(function(e,o,i){function r(n,a){return"[Axios v"+er+"] Transitional option '"+n+"'"+a+(i?". "+i:"")}return s(r,"formatMessage"),(n,a,c)=>{if(e===!1)throw new w(r(a," has been removed"+(o?" in "+o:"")),w.ERR_DEPRECATED);return o&&!T0[a]&&(T0[a]=!0,console.warn(r(a," has been deprecated since v"+o+" and will be removed in the near future"))),e?e(n,a,c):!0}},"transitional");Wu.spelling=s(function(e){return(o,i)=>(console.warn(`${i} is likely a misspelling of ${e}`),!0)},"spelling");function cD(t,e,o){if(typeof t!="object"||t===null)throw new w("options must be an object",w.ERR_BAD_OPTION_VALUE);let i=Object.keys(t),r=i.length;for(;r-- >0;){let n=i[r],a=Object.prototype.hasOwnProperty.call(e,n)?e[n]:void 0;if(a){let c=t[n],p=c===void 0||a(c,n,t);if(p!==!0)throw new w("option "+n+" must be "+p,w.ERR_BAD_OPTION_VALUE);continue}if(o!==!0)throw new w("Unknown option "+n,w.ERR_BAD_OPTION)}}s(cD,"assertOptions");var dl={assertOptions:cD,validators:Wu};var no=dl.validators,Ju=class{static{s(this,"Axios")}constructor(e){this.defaults=e||{},this.interceptors={request:new um,response:new um}}async request(e,o){try{return await this._request(e,o)}catch(i){if(i instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;let n=(()=>{if(!r.stack)return"";let a=r.stack.indexOf(`
32
32
  `);return a===-1?"":r.stack.slice(a+1)})();try{if(!i.stack)i.stack=n;else if(n){let a=n.indexOf(`
33
33
  `),c=a===-1?-1:n.indexOf(`
34
34
  `,a+1),p=c===-1?"":n.slice(c+1);String(i.stack).endsWith(p)||(i.stack+=`
35
- `+n)}}catch{}}throw i}}_request(e,o){typeof e=="string"?(o=o||{},o.url=e):o=e||{},o=Li(this.defaults,o);let{transitional:i,paramsSerializer:r,headers:n}=o;i!==void 0&&dl.assertOptions(i,{silentJSONParsing:no.transitional(no.boolean),forcedJSONParsing:no.transitional(no.boolean),clarifyTimeoutError:no.transitional(no.boolean),legacyInterceptorReqResOrdering:no.transitional(no.boolean),advertiseZstdAcceptEncoding:no.transitional(no.boolean),validateStatusUndefinedResolves:no.transitional(no.boolean)},!1),r!=null&&(h.isFunction(r)?o.paramsSerializer={serialize:r}:dl.assertOptions(r,{encode:no.function,serialize:no.function},!0)),o.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?o.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:o.allowAbsoluteUrls=!0),dl.assertOptions(o,{baseUrl:no.spelling("baseURL"),withXsrfToken:no.spelling("withXSRFToken")},!0),o.method=(o.method||this.defaults.method||"get").toLowerCase();let a=n&&h.merge(n.common,n[o.method]);n&&h.forEach(["delete","get","head","post","put","patch","query","common"],x=>{delete n[x]}),o.headers=we.concat(a,n);let c=[],p=!0;this.interceptors.request.forEach(s(function(N){if(typeof N.runWhen=="function"&&N.runWhen(o)===!1)return;p=p&&N.synchronous;let C=o.transitional||Gr;C&&C.legacyInterceptorReqResOrdering?c.unshift(N.fulfilled,N.rejected):c.push(N.fulfilled,N.rejected)},"unshiftRequestInterceptors"));let u=[];this.interceptors.response.forEach(s(function(N){u.push(N.fulfilled,N.rejected)},"pushResponseInterceptors"));let l,d=0,m;if(!p){let x=[ul.bind(this),void 0];for(x.unshift(...c),x.push(...u),m=x.length,l=Promise.resolve(o);d<m;)l=l.then(x[d++],x[d++]);return l}m=c.length;let y=o;for(;d<m;){let x=c[d++],N=c[d++];try{y=x?x(y):y}catch(C){if(!N){l=Promise.reject(C);break}try{let b=N.call(this,C);h.isThenable(b)&&(l=Promise.resolve(b).then(()=>ul.call(this,y)))}catch(b){l=Promise.reject(b)}break}}if(!l)try{l=ul.call(this,y)}catch(x){l=Promise.reject(x)}for(d=0,m=u.length;d<m;)l=l.then(u[d++],u[d++]);return l}getUri(e){e=Li(this.defaults,e);let o=Ya(e.baseURL,e.url,e.allowAbsoluteUrls,e);return Za(o,e.params,e.paramsSerializer)}};h.forEach(["delete","get","head","options"],s(function(e){Ju.prototype[e]=function(o,i){return this.request(Li(i||{},{method:e,url:o,data:i&&h.hasOwnProp(i,"data")?i.data:void 0}))}},"forEachMethodNoData"));h.forEach(["post","put","patch","query"],s(function(e){function o(i){return s(function(n,a,c){return this.request(Li(c||{},{method:e,headers:i?{"Content-Type":"multipart/form-data"}:{},url:n,data:a}))},"httpMethod")}s(o,"generateHTTPMethod"),Ju.prototype[e]=o(),e!=="query"&&(Ju.prototype[e+"Form"]=o(!0))},"forEachMethodWithData"));var fl=Ju;var sD=class P0{static{s(this,"CancelToken")}constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let o;this.promise=new Promise(s(function(n){o=n},"promiseExecutor"));let i=this;this.promise.then(r=>{if(!i._listeners)return;let n=i._listeners.length;for(;n-- >0;)i._listeners[n](r);i._listeners=null}),this.promise.then=r=>{let n,a=new Promise(c=>{i.subscribe(c),n=c}).then(r);return a.cancel=s(function(){i.unsubscribe(n)},"reject"),a},e(s(function(n,a,c){i.reason||(i.reason=new Wo(n,a,c),o(i.reason))},"cancel"))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let o=this._listeners.indexOf(e);o!==-1&&this._listeners.splice(o,1)}toAbortSignal(){let e=new AbortController,o=s(i=>{e.abort(i)},"abort");return this.subscribe(o),e.signal.unsubscribe=()=>this.unsubscribe(o),e.signal}static source(){let e;return{token:new P0(s(function(r){e=r},"executor")),cancel:e}}},T0=sD;function nh(t){return s(function(o){return t.apply(null,o)},"wrap")}s(nh,"spread");function rh(t){return h.isObject(t)&&t.isAxiosError===!0}s(rh,"isAxiosError");var ah={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(ah).forEach(([t,e])=>{ah[e]=t});var z0=ah;function j0(t){let e=new fl(t),o=qp(fl.prototype.request,e);return h.extend(o,fl.prototype,e,{allOwnKeys:!0}),h.extend(o,e,null,{allOwnKeys:!0}),o.create=s(function(r){return j0(Li(t,r))},"create"),o}s(j0,"createInstance");var gt=j0($s);gt.Axios=fl;gt.CanceledError=Wo;gt.CancelToken=T0;gt.isCancel=Kp;gt.VERSION=er;gt.toFormData=kr;gt.AxiosError=w;gt.Cancel=gt.CanceledError;gt.all=s(function(e){return Promise.all(e)},"all");gt.spread=nh;gt.isAxiosError=rh;gt.mergeConfig=Li;gt.AxiosHeaders=we;gt.formToJSON=t=>Mu(h.isHTMLForm(t)?new FormData(t):t);gt.getAdapter=Zu.getAdapter;gt.HttpStatusCode=z0;gt.default=gt;var Wu=gt;var{Axios:bM,AxiosError:xM,CanceledError:SM,isCancel:CM,CancelToken:NM,VERSION:RM,all:wM,Cancel:IM,isAxiosError:OM,spread:AM,toFormData:FM,AxiosHeaders:DM,HttpStatusCode:EM,formToJSON:PM,getAdapter:TM,mergeConfig:zM,create:jM}=Wu;var Zr=require("nfets/core"),sc=require("nfets/core");var ac=class{static{s(this,"Pipeline")}certificate;xmlns="http://www.portalfiscal.inf.br/nfe";http=Wu.create();toolkit=new Zr.Xml2JsToolkit;caching=new Zr.MemoryCacheAdapter;certificates=new Zr.NativeCertificateRepository(this.http,this.caching);soap=new Zr.SoapRemoteTransmissionRepository(this.toolkit,this.certificates);signer=new sc.EntitySigner(this.toolkit,this.certificates);xmlSigner=new sc.XmlSigner(this.toolkit,this.certificates);constructor(e){this.certificate=e}errors(){return Reflect.getMetadata(sc.ValidateErrorsMetadata,this)}};var Y0=pt(require("path"),1),dd=require("nfets/core"),hi=require("nfets/core"),fd=require("nfets/core");var Ku=require("nfets/core"),B0=require("class-transformer"),Vi=require("class-validator");function Xu(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Xu,"_ts_decorate");function ch(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ch,"_ts_metadata");var Yr=class{static{s(this,"ConsultStatusPayload")}tpAmb;cUF;xServ="STATUS"};Xu([(0,Vi.IsEnum)(Ku.Environment),ch("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Yr.prototype,"tpAmb",void 0);Xu([(0,Vi.IsEnum)(Ku.StateCodes),ch("design:type",typeof StateCode>"u"?Object:StateCode)],Yr.prototype,"cUF",void 0);Xu([(0,Vi.IsOptional)()],Yr.prototype,"xServ",void 0);var sh=class{static{s(this,"ConsultStatusRequest")}consStatServ};Xu([(0,Vi.IsNotEmptyObject)(),(0,Vi.IsObject)(),(0,Vi.ValidateNested)(),(0,B0.Type)(()=>Yr),ch("design:type",typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload)],sh.prototype,"consStatServ",void 0);var M0=require("nfets/core"),ed=require("nfets/core"),td=require("class-transformer"),J=require("class-validator");function Nt(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Nt,"_ts_decorate");function Yt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Yt,"_ts_metadata");var $u=class{static{s(this,"InfInutAttributes")}Id};Nt([(0,J.IsString)(),Yt("design:type",String)],$u.prototype,"Id",void 0);var ml=class{static{s(this,"InutNFeAttributes")}xmlns;versao};Nt([(0,J.IsString)(),Yt("design:type",String)],ml.prototype,"xmlns",void 0);Nt([(0,J.IsString)(),(0,J.IsOptional)(),Yt("design:type",String)],ml.prototype,"versao",void 0);var Zt=class{static{s(this,"InfInut")}$;tpAmb;xServ="INUTILIZAR";cUF;ano;CNPJ;CPF;mod;serie;nNFIni;nNFFin;xJust};Nt([(0,J.ValidateNested)(),(0,td.Type)(()=>$u),Yt("design:type",typeof IInfInutAttributes>"u"?Object:IInfInutAttributes)],Zt.prototype,"$",void 0);Nt([(0,J.IsEnum)(ed.Environment),Yt("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Zt.prototype,"tpAmb",void 0);Nt([(0,J.IsOptional)()],Zt.prototype,"xServ",void 0);Nt([(0,J.IsEnum)(ed.StateCodes),Yt("design:type",typeof StateCode>"u"?Object:StateCode)],Zt.prototype,"cUF",void 0);Nt([(0,J.IsString)(),(0,J.Length)(2,2),(0,J.Matches)(/^[0-9]{2}$/),Yt("design:type",String)],Zt.prototype,"ano",void 0);Nt([(0,J.IsString)(),(0,J.IsOptional)(),Yt("design:type",String)],Zt.prototype,"CNPJ",void 0);Nt([(0,J.IsString)(),(0,J.IsOptional)(),Yt("design:type",String)],Zt.prototype,"CPF",void 0);Nt([(0,J.IsString)(),(0,J.Length)(2,2),(0,J.Matches)(/^(55|65)$/),Yt("design:type",String)],Zt.prototype,"mod",void 0);Nt([(0,J.IsString)(),(0,J.Matches)(/^[0-9]{1,3}$/),Yt("design:type",String)],Zt.prototype,"serie",void 0);Nt([(0,J.IsString)(),(0,J.Matches)(/^[0-9]{1,9}$/),Yt("design:type",String)],Zt.prototype,"nNFIni",void 0);Nt([(0,J.IsString)(),(0,J.Matches)(/^[0-9]{1,9}$/),Yt("design:type",String)],Zt.prototype,"nNFFin",void 0);Nt([(0,J.IsString)(),(0,J.MinLength)(15),(0,J.MaxLength)(255),Yt("design:type",String)],Zt.prototype,"xJust",void 0);Zt=Nt([(0,M0.Choice)({properties:["CNPJ","CPF"],required:!0})],Zt);var or=class{static{s(this,"InutilizacaoPayload")}$;infInut;Signature};Nt([(0,J.IsObject)(),(0,J.ValidateNested)(),(0,td.Type)(()=>ml),Yt("design:type",typeof IInutNFeAttributes>"u"?Object:IInutNFeAttributes)],or.prototype,"$",void 0);Nt([(0,J.IsObject)(),(0,J.ValidateNested)(),(0,td.Type)(()=>Zt),Yt("design:type",typeof IInfInut>"u"?Object:IInfInut)],or.prototype,"infInut",void 0);Nt([(0,J.Allow)(),Yt("design:type",typeof Signature>"u"?Object:Signature)],or.prototype,"Signature",void 0);var V0=require("nfets/core"),Nn=require("class-validator");function ph(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ph,"_ts_decorate");function L0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(L0,"_ts_metadata");var es=class{static{s(this,"ConsultaProtocoloPayload")}tpAmb;xServ="CONSULTAR";chNFe};ph([(0,Nn.IsEnum)(V0.Environment),L0("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],es.prototype,"tpAmb",void 0);ph([(0,Nn.IsOptional)()],es.prototype,"xServ",void 0);ph([(0,Nn.IsString)(),(0,Nn.Length)(44,44),(0,Nn.Matches)(/^[A-Z0-9]{44}$/),L0("design:type",String)],es.prototype,"chNFe",void 0);var id=require("nfets/core"),Ko=require("class-validator");function hl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(hl,"_ts_decorate");function od(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(od,"_ts_metadata");var _i=class{static{s(this,"NfeAutorizacaoPayload")}tpAmb;cUF;idLote;indSinc="1";NFe};hl([(0,Ko.IsEnum)(id.Environment),(0,Ko.IsOptional)(),od("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],_i.prototype,"tpAmb",void 0);hl([(0,Ko.IsEnum)(id.StateCodes),(0,Ko.IsOptional)(),od("design:type",typeof StateCode>"u"?Object:StateCode)],_i.prototype,"cUF",void 0);hl([(0,Ko.IsString)(),(0,Ko.IsOptional)(),od("design:type",String)],_i.prototype,"idLote",void 0);hl([(0,Ko.IsOptional)(),(0,Ko.IsEnum)(["0","1"])],_i.prototype,"indSinc",void 0);hl([(0,Ko.IsNotEmpty)(),od("design:type",typeof T>"u"?Object:T)],_i.prototype,"NFe",void 0);var q0=require("nfets/core"),nd=require("class-validator");function _0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(_0,"_ts_decorate");function U0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(U0,"_ts_metadata");var cc=class{static{s(this,"RetAutorizacaoPayload")}tpAmb;nRec};_0([(0,nd.IsEnum)(q0.Environment),U0("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],cc.prototype,"tpAmb",void 0);_0([(0,nd.IsString)(),U0("design:type",String)],cc.prototype,"nRec",void 0);var se=require("class-validator"),vl=require("class-transformer"),sd=require("nfets/core");function Rt(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Rt,"_ts_decorate");function jt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(jt,"_ts_metadata");var rd=class{static{s(this,"InfEventoAttributes")}Id};Rt([(0,se.IsString)(),jt("design:type",String)],rd.prototype,"Id",void 0);var zt=class{static{s(this,"InfEvento")}$;cOrgao;tpAmb;CNPJ;CPF;chNFe;dhEvento;tpEvento;nSeqEvento;verEvento;detEvento};Rt([(0,se.IsObject)(),(0,se.ValidateNested)(),(0,vl.Type)(()=>rd),jt("design:type",typeof IInfEventoAttributes>"u"?Object:IInfEventoAttributes)],zt.prototype,"$",void 0);Rt([(0,se.IsString)(),jt("design:type",typeof StateCode>"u"?Object:StateCode)],zt.prototype,"cOrgao",void 0);Rt([(0,se.IsString)(),jt("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],zt.prototype,"tpAmb",void 0);Rt([(0,se.IsString)(),(0,se.IsOptional)(),jt("design:type",String)],zt.prototype,"CNPJ",void 0);Rt([(0,se.IsString)(),(0,se.IsOptional)(),jt("design:type",String)],zt.prototype,"CPF",void 0);Rt([(0,se.IsString)(),jt("design:type",String)],zt.prototype,"chNFe",void 0);Rt([(0,sd.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),jt("design:type",String)],zt.prototype,"dhEvento",void 0);Rt([(0,se.IsEnum)(vt),jt("design:type",typeof vt>"u"?Object:vt)],zt.prototype,"tpEvento",void 0);Rt([(0,se.IsNumber)(),jt("design:type",Number)],zt.prototype,"nSeqEvento",void 0);Rt([(0,se.IsString)(),jt("design:type",String)],zt.prototype,"verEvento",void 0);Rt([(0,se.IsObject)(),jt("design:type",typeof T>"u"?Object:T)],zt.prototype,"detEvento",void 0);zt=Rt([(0,sd.Choice)({properties:["CNPJ","CPF"],required:!0})],zt);var ad=class{static{s(this,"EventoItemAttributes")}xmlns};Rt([(0,se.IsString)(),jt("design:type",String)],ad.prototype,"xmlns",void 0);var Rn=class{static{s(this,"EventoItem")}$;infEvento;Signature};Rt([(0,se.IsObject)(),(0,se.ValidateNested)(),(0,vl.Type)(()=>ad),jt("design:type",typeof IEventoItemAttributes>"u"?Object:IEventoItemAttributes)],Rn.prototype,"$",void 0);Rt([(0,se.IsObject)(),(0,se.ValidateNested)(),(0,vl.Type)(()=>zt),jt("design:type",typeof zt>"u"?Object:zt)],Rn.prototype,"infEvento",void 0);Rt([(0,se.Allow)(),jt("design:type",typeof Signature>"u"?Object:Signature)],Rn.prototype,"Signature",void 0);var pc=class{static{s(this,"EventoPayload")}idLote;evento};Rt([(0,se.IsString)(),jt("design:type",String)],pc.prototype,"idLote",void 0);Rt([(0,se.IsNotEmpty)(),(0,se.ValidateNested)(),(0,vl.Type)(()=>Rn),jt("design:type",typeof Rn>"u"?Object:Rn)],pc.prototype,"evento",void 0);var H0=require("nfets/core"),k0=require("nfets/core"),mi=require("class-validator");function lc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(lc,"_ts_decorate");function cd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(cd,"_ts_metadata");var Ui=class{static{s(this,"ConsultaCadastroPayload")}xServ="CONS-CAD";UF;IE="";CNPJ="";CPF=""};lc([(0,mi.IsOptional)()],Ui.prototype,"xServ",void 0);lc([(0,mi.IsString)(),(0,mi.IsIn)(Object.values(H0.StateAcronyms)),cd("design:type",typeof StateAcronym>"u"?Object:StateAcronym)],Ui.prototype,"UF",void 0);lc([(0,mi.IsOptional)(),(0,mi.IsString)(),cd("design:type",String)],Ui.prototype,"IE",void 0);lc([(0,mi.IsOptional)(),(0,mi.IsString)(),cd("design:type",String)],Ui.prototype,"CNPJ",void 0);lc([(0,mi.IsOptional)(),(0,mi.IsString)(),cd("design:type",String)],Ui.prototype,"CPF",void 0);Ui=lc([(0,k0.Choice)({properties:["IE","CNPJ","CPF"],required:!0})],Ui);var ld=require("nfets/core"),G0=require("nfets/core"),Q0=require("class-transformer"),Bt=require("class-validator");function ts(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ts,"_ts_decorate");function uc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(uc,"_ts_metadata");var pd=class{static{s(this,"ConsChNFe")}chNFe};ts([(0,Bt.IsString)(),(0,Bt.Length)(44,44),(0,Bt.Matches)(/^[A-Z0-9]{44}$/),uc("design:type",String)],pd.prototype,"chNFe",void 0);var qi=class{static{s(this,"DistribuicaoDFePayload")}tpAmb;cUFAutor;CNPJ="";CPF="";consChNFe};ts([(0,Bt.IsEnum)(ld.Environment),uc("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],qi.prototype,"tpAmb",void 0);ts([(0,Bt.IsEnum)(ld.StateCodes),uc("design:type",typeof StateCode>"u"?Object:StateCode)],qi.prototype,"cUFAutor",void 0);ts([(0,Bt.IsOptional)(),(0,Bt.IsString)(),uc("design:type",String)],qi.prototype,"CNPJ",void 0);ts([(0,Bt.IsOptional)(),(0,Bt.IsString)(),uc("design:type",String)],qi.prototype,"CPF",void 0);ts([(0,Bt.IsObject)(),(0,Bt.ValidateNested)(),(0,Q0.Type)(()=>pd),uc("design:type",typeof IConsChNFe>"u"?Object:IConsChNFe)],qi.prototype,"consChNFe",void 0);qi=ts([(0,G0.Choice)({properties:["CNPJ","CPF"],required:!0})],qi);var ce=require("nfets/core"),lh={AM:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.am.gov.br/services2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}}},AN:{[ce.Environment.Homolog]:{RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom1.nfe.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeDistribuicaoDFe:{method:"nfeDistDFeInteresse",operation:"NFeDistribuicaoDFe",version:"1.01",url:"https://hom1.nfe.fazenda.gov.br/NFeDistribuicaoDFe/NFeDistribuicaoDFe.asmx"},NfeConsultaDest:{method:"nfeConsultaNFDest",operation:"NfeConsultaDest",version:"1.01",url:"https://hom.nfe.fazenda.gov.br/NFeConsultaDest/NFeConsultaDest.asmx"},NfeDownloadNF:{method:"nfeDownloadNF",operation:"NfeDownloadNF",version:"4.00",url:"https://hom.nfe.fazenda.gov.br/NfeDownloadNF/NfeDownloadNF.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://hom.nfe.fazenda.gov.br/RecepcaoEvento/RecepcaoEvento.asmx"}},[ce.Environment.Production]:{RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://www.nfe.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeDistribuicaoDFe:{method:"nfeDistDFeInteresse",operation:"NFeDistribuicaoDFe",version:"1.01",url:"https://www1.nfe.fazenda.gov.br/NFeDistribuicaoDFe/NFeDistribuicaoDFe.asmx"},NfeConsultaDest:{method:"nfeConsultaNFDest",operation:"NfeConsultaDest",version:"1.01",url:"https://www.nfe.fazenda.gov.br/NFeConsultaDest/NFeConsultaDest.asmx"},NfeDownloadNF:{method:"nfeDownloadNF",operation:"NfeDownloadNF",version:"4.00",url:"https://www.nfe.fazenda.gov.br/NfeDownloadNF/NfeDownloadNF.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://www.nfe.fazenda.gov.br/RecepcaoEvento/RecepcaoEvento.asmx"}}},BA:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"NFeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"NFeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"NFeInutilizacao",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"NFeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"ConsultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/CadConsultaCadastro4/CadConsultaCadastro4.asmx"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"NFeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"NFeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"NFeInutilizacao",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"NFeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"ConsultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.ba.gov.br/webservices/CadConsultaCadastro4/CadConsultaCadastro4.asmx"}}},GO:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/CadConsultaCadastro4"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/CadConsultaCadastro4"}}},MG:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/CadConsultaCadastro4"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/CadConsultaCadastro4"}}},MS:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/CadConsultaCadastro4"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.ms.gov.br/ws/CadConsultaCadastro4"}}},MT:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/CadConsultaCadastro4"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/CadConsultaCadastro4"}}},PE:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/CadConsultaCadastro4"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/CadConsultaCadastro4"}}},PR:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/CadConsultaCadastro4"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefa.pr.gov.br/nfe/CadConsultaCadastro4"}}},RS:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}},SP:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfestatusservico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfeautorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfeconsultaprotocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nferetautorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nferecepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/cadconsultacadastro4.asmx"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfestatusservico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfeautorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfeconsultaprotocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nferetautorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.fazenda.sp.gov.br/ws/nferecepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.fazenda.sp.gov.br/ws/cadconsultacadastro4.asmx"}}},SVAN:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}}},SVRS:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}},SVCAN:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}}},SVCRS:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}}};var ye=require("nfets/core"),cD={[ye.StateCodes.AC]:"SVRS",[ye.StateCodes.AL]:"SVRS",[ye.StateCodes.AM]:"AM",[ye.StateCodes.AP]:"SVRS",[ye.StateCodes.BA]:"BA",[ye.StateCodes.CE]:"SVRS",[ye.StateCodes.DF]:"SVRS",[ye.StateCodes.ES]:"SVRS",[ye.StateCodes.GO]:"GO",[ye.StateCodes.MA]:"SVAN",[ye.StateCodes.MG]:"MG",[ye.StateCodes.MS]:"MS",[ye.StateCodes.MT]:"MT",[ye.StateCodes.PA]:"SVRS",[ye.StateCodes.PB]:"SVRS",[ye.StateCodes.PE]:"PE",[ye.StateCodes.PI]:"SVRS",[ye.StateCodes.PR]:"PR",[ye.StateCodes.RJ]:"SVRS",[ye.StateCodes.RN]:"SVRS",[ye.StateCodes.RO]:"SVRS",[ye.StateCodes.RR]:"SVRS",[ye.StateCodes.RS]:"RS",[ye.StateCodes.SC]:"SVRS",[ye.StateCodes.SE]:"SVRS",[ye.StateCodes.SP]:"SP",[ye.StateCodes.TO]:"SVRS",91:"AN",AN:"AN",SVAN:"SVAN",SVRS:"SVRS",SVCAN:"SVCAN",SVCRS:"SVCRS"},Z0=cD;var be=require("nfets/core"),ud={[be.StateCodes.AC]:"SVCAN",[be.StateCodes.AL]:"SVCAN",[be.StateCodes.AM]:"SVCRS",[be.StateCodes.AP]:"SVCAN",[be.StateCodes.BA]:"SVCRS",[be.StateCodes.CE]:"SVCAN",[be.StateCodes.DF]:"SVCAN",[be.StateCodes.ES]:"SVCAN",[be.StateCodes.GO]:"SVCRS",[be.StateCodes.MA]:"SVCRS",[be.StateCodes.MG]:"SVCAN",[be.StateCodes.MS]:"SVCRS",[be.StateCodes.MT]:"SVCRS",[be.StateCodes.PA]:"SVCAN",[be.StateCodes.PB]:"SVCAN",[be.StateCodes.PE]:"SVCRS",[be.StateCodes.PI]:"SVCAN",[be.StateCodes.PR]:"SVCRS",[be.StateCodes.RJ]:"SVCAN",[be.StateCodes.RN]:"SVCAN",[be.StateCodes.RO]:"SVCAN",[be.StateCodes.RR]:"SVCAN",[be.StateCodes.RS]:"SVCAN",[be.StateCodes.SC]:"SVCAN",[be.StateCodes.SE]:"SVCAN",[be.StateCodes.SP]:"SVCAN",[be.StateCodes.TO]:"SVCAN"};function Jr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Jr,"_ts_decorate");function je(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(je,"_ts_metadata");var Ao=class{static{s(this,"NfeRemoteTransmitter")}remoteTransmissionRepository;constructor(e){this.remoteTransmissionRepository=e}xmlns="http://www.portalfiscal.inf.br/nfe";options={timeout:6e4};configure(e){this.options={...this.options,...e};let{certificate:o}=this.options;return o&&this.remoteTransmissionRepository.setCertificate(o),this.options.schema??=Sg.PL_009_V4,this}service(e){let o=e.cUF??this.options.cUF,i=e.tpAmb??this.options.tpAmb,r=this.options.contingency?ud[o]:Z0[o];return lh[r][i][e.service]}errors(){return Reflect.getMetadata(hi.ValidateErrorsMetadata,this)}validate(e){try{let o=this.errors();return o?(0,fd.left)(new dd.NFeTsError(o.join(", "))):("cUF"in e&&(e.cUF??=this.options.cUF),"tpAmb"in e&&(e.tpAmb??=this.options.tpAmb),(0,fd.right)(e))}finally{Reflect.deleteMetadata(hi.ValidateErrorsMetadata,this)}}ns(e,o){let i=e.$??{};return i.xmlns=this.xmlns,i.versao=o,{...e,$:i}}xsd(e){return Y0.default.resolve(Lp(),this.options.schema,e)}async consultStatus(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({...i,service:"NfeStatusServico"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,xsd:this.xsd("consStatServ_v4.00.xsd"),payload:{consStatServ:this.ns(i,r.version)},method:r.method})}async inutilizacao(e){let o=this.validate(e);if(o.isLeft())return o;let{cUF:i,tpAmb:r}=o.value.infInut,n=o.value,a=this.service({cUF:i,tpAmb:r,service:"NfeInutilizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:a.url,xsd:this.xsd("inutNFe_v4.00.xsd"),payload:{inutNFe:this.ns(n,a.version)},method:a.method})}async consultaProtocolo(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({cUF:i.chNFe.substring(0,2),tpAmb:i.tpAmb,service:"NfeConsultaProtocolo"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,xsd:this.xsd("consSitNFe_v4.00.xsd"),payload:{consSitNFe:this.ns(i,r.version)},method:r.method})}async autorizacao(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({...i,service:"NfeAutorizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,timeout:this.options.timeout,xsd:this.xsd("enviNFe_v4.00.xsd"),payload:{enviNFe:this.ns(i,r.version)},method:r.method})}async retAutorizacao(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({...i,service:"NfeRetAutorizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,xsd:this.xsd("consReciNFe_v4.00.xsd"),payload:{consReciNFe:this.ns(i,r.version)},method:r.method})}async recepcaoEvento(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({service:"RecepcaoEvento"});return i.evento=this.ns(i.evento,r.version),this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,xsd:this.xsd("envEvento_v1.00.xsd"),payload:{envEvento:this.ns(i,r.version)},method:r.method})}async consultaCadastro(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({cUF:dd.StateCodes[i.UF],service:"NfeConsultaCadastro"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,xsd:this.xsd("ConsCad_v4.00.xsd"),payload:{ConsCad:this.ns(i,r.version)},method:r.method})}async distribuicaoDFe(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=lh.AN[i.tpAmb].NfeDistribuicaoDFe;return this.remoteTransmissionRepository.send({root:"nfeDistDFeInteresse",url:r.url,xsd:this.xsd("distDFeInt_v1.01.xsd"),payload:{nfeDadosMsg:{distDFeInt:this.ns(i,r.version)}},method:r.method})}};Jr([(0,hi.Validates)(Yr),je("design:type",Function),je("design:paramtypes",[typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload]),je("design:returntype",Promise)],Ao.prototype,"consultStatus",null);Jr([(0,hi.Validates)(or),je("design:type",Function),je("design:paramtypes",[typeof IInutilizacaoPayload>"u"?Object:IInutilizacaoPayload]),je("design:returntype",Promise)],Ao.prototype,"inutilizacao",null);Jr([(0,hi.Validates)(es),je("design:type",Function),je("design:paramtypes",[typeof IConsultaProtocoloPayload>"u"?Object:IConsultaProtocoloPayload]),je("design:returntype",Promise)],Ao.prototype,"consultaProtocolo",null);Jr([(0,hi.Validates)(_i),je("design:type",Function),je("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),je("design:returntype",Promise)],Ao.prototype,"autorizacao",null);Jr([(0,hi.Validates)(cc),je("design:type",Function),je("design:paramtypes",[typeof IRetAutorizacaoPayload>"u"?Object:IRetAutorizacaoPayload]),je("design:returntype",Promise)],Ao.prototype,"retAutorizacao",null);Jr([(0,hi.Validates)(pc),je("design:type",Function),je("design:paramtypes",[Object]),je("design:returntype",Promise)],Ao.prototype,"recepcaoEvento",null);Jr([(0,hi.Validates)(Ui),je("design:type",Function),je("design:paramtypes",[typeof IConsultaCadastroPayload>"u"?Object:IConsultaCadastroPayload]),je("design:returntype",Promise)],Ao.prototype,"consultaCadastro",null);Jr([(0,hi.Validates)(qi),je("design:type",Function),je("design:paramtypes",[typeof IDistribuicaoDFePayload>"u"?Object:IDistribuicaoDFePayload]),je("design:returntype",Promise)],Ao.prototype,"distribuicaoDFe",null);var ro=class extends ac{static{s(this,"TransmissionPipeline")}certificate;transmitter=new Ao(this.soap);constructor(e){super(e),this.certificate=e}issuerFromIdentification(e){let o=e.toUpperCase().replace(/[^A-Z0-9]/g,"");if(!o)return(0,ir.left)(new ir.NFeTsError("CNPJ/CPF do emitente \xE9 obrigat\xF3rio"));if(o.length===11)return(0,ir.right)({CPF:o,idDigits:o.padStart(14,"0")});let i=o.padStart(14,"0");return i.length!==14?(0,ir.left)(new ir.NFeTsError("CNPJ/CPF do emitente \xE9 inv\xE1lido")):(0,ir.right)({CNPJ:i,idDigits:i})}};var J0=require("nfets/core"),W0=require("nfets/core");var pD=["MT"],lD=[J0.StateCodes.MT],uD=[[/[áàâãªä]/g,"a"],[/[ÁÀÂÃÄ]/g,"A"],[/[ÍÌÎÏ]/g,"I"],[/[íìîï]/g,"i"],[/[éèêë]/g,"e"],[/[ÉÈÊË]/g,"E"],[/[óòôõºö]/g,"o"],[/[ÓÒÔÕÖ]/g,"O"],[/[úùûü]/g,"u"],[/[ÚÙÛÜ]/g,"U"],[/ç/g,"c"],[/Ç/g,"C"],[/ñ/g,"n"],[/Ñ/g,"N"]];function dD(t){if(!t)return!1;let e=t.toUpperCase();return pD.includes(e)||lD.includes(e)}s(dD,"shouldStripSefazAccents");function fD(t){return uD.reduce((e,[o,i])=>e.replace(o,i),t)}s(fD,"replaceSefazSpecialChars");function dc(t,e){return dD(e)?uh(t):t}s(dc,"sanitizeSefazText");function mD(t){return t===null||typeof t!="object"||t instanceof Date||t instanceof W0.Decimal?!1:!ArrayBuffer.isView(t)}s(mD,"isWalkableObject");function uh(t){if(typeof t=="string")return fD(t);if(Array.isArray(t))return t.map(i=>uh(i));if(!mD(t))return t;let e={};for(let[o,i]of Object.entries(t))e[o]=uh(i);return e}s(uh,"walk");function hD(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(hD,"_ts_decorate");function dh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(dh,"_ts_metadata");var os=class extends ro{static{s(this,"EventPipeline")}async event(e,o,i){let r=await this.certificates.read(this.certificate);if(r.isLeft())return r;let n=o.chNFe.slice(0,2);this.transmitter.configure({cUF:o.cOrgao??n,...i,certificate:r.value});let a=qs[e],c=this.issuerFromIdentification(o.identification);if(c.isLeft())return c;let{nSeqEvento:p,dhEvento:u,chNFe:l}=o,d=["ID",e,l,p.toString().padStart(2,"0")].join(""),m=dc({$:{xmlns:this.xmlns},infEvento:{$:{Id:d},cOrgao:o.cOrgao??n,tpAmb:i.tpAmb,CNPJ:c.value.CNPJ,CPF:c.value.CPF,chNFe:l,dhEvento:u,tpEvento:e,nSeqEvento:p,verEvento:a.version,detEvento:{$:{versao:a.version},descEvento:a.descEvento,...o.detEvento}}},n),y=this.validated(m);return y.isLeft()?y:await this.signer.sign(y.value,{tag:"infEvento",mark:"Id"},r.value)}versionedEvent(e,o){let i=e.$;return{...e,$:{...i,xmlns:this.xmlns,versao:o}}}async protocol(e,o,i){let{cStat:r}=o.infEvento;if(!Object.values(Af).includes(r))return await this.toolkit.build(e,{renderOpts:{pretty:!1},rootName:"evento"});let n={evento:e,retEvento:o,$:{xmlns:this.xmlns,versao:i}};return await this.toolkit.build(n,{renderOpts:{pretty:!1},rootName:"procEventoNFe"})}validated(e){let o=this.errors();return o?(0,Wr.left)(new Wr.NFeTsError(o.join(", "))):(0,Wr.right)(e)}};hD([(0,Wr.Validates)(Rn),dh("design:type",Function),dh("design:paramtypes",[typeof IEventoItem>"u"?Object:IEventoItem]),dh("design:returntype",void 0)],os.prototype,"validated",null);var fc=require("nfets/core");var gl=class extends os{static{s(this,"NfeCancelPipeline")}async execute(e,o){let i={chNFe:e.chNFe,dhEvento:e.dhEvento??new Date().toISOString(),detEvento:{nProt:e.nProt,xJust:e.xJust},nSeqEvento:1,identification:e.identification},r=await this.event(vt.Cancelamento,i,o);if(r.isLeft())return r;let n=r.value,a=qs[vt.Cancelamento].version,c=await this.transmitter.recepcaoEvento({idLote:e.idLote??new Date().getTime().toString().slice(0,15),evento:n});if(c.isLeft())return c;let p=c.value,u=p.retEnvEvento.retEvento;if(!u)return(0,fc.left)(new fc.NFeTsError("Evento de cancelamento n\xE3o retornado"));let l=await this.protocol(this.versionedEvent(n,a),u,a);return(0,fc.right)({xml:l,response:p})}};var is=(function(t){return t.Asynchronous="0",t.Synchronous="1",t})({});var fh=(function(t){return t.LotReceived="103",t.ProcessedBatch="104",t})({});var X0=require("nfets/core");var yl=class extends X0.NFeTsError{static{s(this,"CouldNotReceiveResponseError")}constructor(e="Falha ao consultar protocolo de autoriza\xE7\xE3o ap\xF3s 3 tentativas, tente novamente mais tarde."){super(e)}};var $o=require("nfets/core");var Xr=(function(t){return t.Autorizada="100",t.AutorizadaForaDoPrazo="150",t.UsoDenegado="110",t.NfeDenegada="205",t.DenegadaIrregularidadeEmissor="301",t.DenegadaIrregularidadeDestinatario="302",t.DenegadaNaoHabilitadaNaUf="303",t})({});var bl=class extends ro{static{s(this,"NfeAuthorizerPipeline")}async execute(e,o){e.indSinc??=is.Synchronous;let i=await this.certificates.read(this.certificate);if(i.isLeft())return i;let r=await this.handleNfeBatch(i.value,e.xml);if(r.isLeft())return r;let[n]=r.value;this.transmitter.configure({cUF:n.infNFe.ide.cUF,tpAmb:n.infNFe.ide.tpAmb,...o,contingency:this.contingency(n),certificate:i.value}),e.idLote??=new Date().getTime().toString().slice(0,15);let a=await this.transmitter.autorizacao({...e,NFe:r.value});if(a.isLeft())return a;let c=a.value;return this.isLotNotProcessed(c,e)?(0,$o.right)(await this.handleLotNotProcessed(r.value,c)):e.indSinc===is.Synchronous&&this.isSyncResponse(c)?(0,$o.right)(await this.response(r.value,c)):e.indSinc===is.Asynchronous&&this.hasReceipt(c)?await this.handleAsyncResponse(r.value,c):(0,$o.left)(new yl)}async protocol(e,o){let{cStat:i}=o.infProt;if(!Object.values(Xr).includes(i))return await this.toolkit.build(e,{renderOpts:{pretty:!1},rootName:"NFe"});let r={NFe:e,protNFe:o,$:{xmlns:this.xmlns,versao:o.$.versao}};return await this.toolkit.build(r,{renderOpts:{pretty:!1},rootName:"nfeProc"})}async response(e,o){let i=Array.isArray(o.retEnviNFe.protNFe)?o.retEnviNFe.protNFe:[o.retEnviNFe.protNFe],r=await Promise.all(e.map((n,a)=>this.protocol(n,i[a])));return r.length>1?{xml:r,response:o}:{xml:r[0],response:o}}async signNfe(e,o){return this.signer.sign(o,{tag:"infNFe",mark:"Id"},e)}async handleNfeBatch(e,o){if(!Array.isArray(o)){let r=await this.toolkit.parse(o),n=await this.signNfe(e,r);return n.isLeft()?(0,$o.left)(n.value):(0,$o.right)([n.value])}let i=await Promise.all(o.map(async r=>this.signNfe(e,await this.toolkit.parse(r))));return i.some(r=>r.isLeft())?(0,$o.left)(new $o.NFeTsError("Failed to sign a NFe in batch")):(0,$o.right)(i.filter(r=>r.isRight()).map(r=>r.value))}isLotNotProcessed(e,o){let{cStat:i}=e.retEnviNFe,r=o.indSinc??is.Synchronous;return r===is.Asynchronous&&i!==fh.LotReceived.toString()||r===is.Synchronous&&i!==fh.ProcessedBatch.toString()}async handleLotNotProcessed(e,o){return this.response(e,this.toRejectionSyncResponse(e,o))}toRejectionSyncResponse(e,o){let{retEnviNFe:i}=o,r=e.map(n=>this.buildRejectionProtNFe(n,i));return{retEnviNFe:{...i,protNFe:r.length===1?r[0]:r}}}buildRejectionProtNFe(e,o){return{$:{versao:o.$.versao},infProt:{tpAmb:o.tpAmb,verAplic:o.verAplic,chNFe:e.infNFe.$.Id?.substring(3)??"",dhRecbto:o.dhRecbto,nProt:"",digVal:"",cStat:o.cStat,xMotivo:o.xMotivo}}}isSyncResponse(e){return"protNFe"in e.retEnviNFe&&!!e.retEnviNFe.protNFe}hasReceipt(e){return"infRec"in e.retEnviNFe&&!!e.retEnviNFe.infRec.nRec}async handleAsyncResponse(e,o){let{tpAmb:i,infRec:r}=o.retEnviNFe,{nRec:n}=r;for(let a=1;a<=3;a++){await new Promise(u=>setTimeout(u,1e3));let c=await this.transmitter.retAutorizacao({nRec:n,tpAmb:i});if(c.isLeft())continue;let p=c.value.retConsReciNFe.protNFe;if(!(!p||Array.isArray(p)&&p.length===0))return(0,$o.right)(await this.response(e,{retEnviNFe:{...c.value.retConsReciNFe,protNFe:p}}))}return(0,$o.left)(new yl)}contingency(e){let{dhCont:o,xJust:i,tpEmis:r}=e.infNFe.ide;if(!(!o||!i||r===ht.Normal))return{dhCont:o,xJust:i}}};var Hi=require("nfets/core");function vD(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(vD,"_ts_decorate");function mh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(mh,"_ts_metadata");var mc=class extends ro{static{s(this,"NfeVoidRangePipeline")}async execute(e,o){let i=await this.certificates.read(this.certificate);if(i.isLeft())return i;let r=this.issuerFromIdentification(e.identification);if(r.isLeft())return r;this.transmitter.configure({...o,certificate:i.value});let n=e.ano??new Date().getFullYear().toString().slice(2),a=["ID",o.cUF,n,r.value.idDigits,e.mod,e.serie.padStart(3,"0"),e.nNFIni.padStart(9,"0"),e.nNFFin.padStart(9,"0")].join(""),c=dc({$:{xmlns:this.xmlns},infInut:{$:{Id:a},tpAmb:e.tpAmb??o.tpAmb,cUF:o.cUF,ano:n,CNPJ:r.value.CNPJ,CPF:r.value.CPF,mod:e.mod,serie:e.serie,nNFIni:e.nNFIni,nNFFin:e.nNFFin,xJust:e.xJust}},o.cUF),p=this.validated(c);if(p.isLeft())return p;let u=await this.signer.sign(p.value,{tag:"infInut",mark:"Id"},i.value);if(u.isLeft())return u;let l=await this.transmitter.inutilizacao(u.value);if(l.isLeft())return l;let d=l.value,m=d.retInutNFe;if(!m)return(0,Hi.left)(new Hi.NFeTsError("Retorno de inutiliza\xE7\xE3o n\xE3o retornado"));let y=m.$.versao,x=await this.protocol(this.versionedInutNFe(u.value,y),m,y);return(0,Hi.right)({xml:x,response:d})}versionedInutNFe(e,o){let i=e.$;return{...e,$:{...i,xmlns:this.xmlns,versao:o}}}async protocol(e,o,i){let{cStat:r}=o.infInut;if(!Object.values(Df).includes(r))return await this.toolkit.build(e,{renderOpts:{pretty:!1},rootName:"inutNFe"});let n={inutNFe:e,retInutNFe:o,$:{xmlns:this.xmlns,versao:i}};return await this.toolkit.build(n,{renderOpts:{pretty:!1},rootName:"procInutNFe"})}validated(e){let o=this.errors();return o?(0,Hi.left)(new Hi.NFeTsError(o.join(", "))):(0,Hi.right)(e)}};vD([(0,Hi.Validates)(or),mh("design:type",Function),mh("design:paramtypes",[typeof IIInutilizacaoPayload>"u"?Object:IIInutilizacaoPayload]),mh("design:returntype",void 0)],mc.prototype,"validated",null);var xl=class extends ro{static{s(this,"NfeConsultStatusPipeline")}async execute(e){let o=await this.certificates.read(this.certificate);return o.isLeft()?o:(this.transmitter.configure({...e,certificate:o.value}),await this.transmitter.consultStatus(e))}};var Sl=class extends ro{static{s(this,"NfeConsultProtocoloPipeline")}async execute(e){let o=await this.certificates.read(this.certificate);return o.isLeft()?o:(this.transmitter.configure({tpAmb:e.tpAmb,cUF:e.chNFe.substring(0,2),certificate:o.value}),await this.transmitter.consultaProtocolo(e))}};var hh=class extends ro{static{s(this,"NfeAuthorizationResponsePipeline")}async execute(e){let o=await this.certificates.read(this.certificate);return o.isLeft()?o:(this.transmitter.configure({cUF:e.cUF,tpAmb:e.tpAmb,certificate:o.value}),this.transmitter.retAutorizacao(e))}};var hc=require("nfets/core");var vh=class extends os{static{s(this,"NfeManifestacaoPipeline")}async execute(e,o){let i={chNFe:e.chNFe,dhEvento:e.dhEvento??new Date().toISOString(),detEvento:e.xJust?{xJust:e.xJust}:{},nSeqEvento:e.nSeqEvento??1,identification:e.identification,cOrgao:"91"},r=await this.event(e.tpEvento,i,o);if(r.isLeft())return r;let n=r.value,a=qs[e.tpEvento].version,c=await this.transmitter.recepcaoEvento({idLote:e.idLote??new Date().getTime().toString().slice(0,15),evento:n});if(c.isLeft())return c;let p=c.value,u=p.retEnvEvento.retEvento;if(!u)return(0,hc.left)(new hc.NFeTsError("Evento de manifesta\xE7\xE3o n\xE3o retornado"));let l=await this.protocol(this.versionedEvent(n,a),u,a);return(0,hc.right)({xml:l,response:p})}};var K0=require("zlib"),$0=require("nfets/core");var gh=class extends ro{static{s(this,"NfeDistribuicaoDFePipeline")}async execute(e,o){let i=await this.certificates.read(this.certificate);if(i.isLeft())return i;let r=this.issuerFromIdentification(e.identification);if(r.isLeft())return r;this.transmitter.configure({cUF:"91",...o,certificate:i.value});let n=await this.transmitter.distribuicaoDFe({tpAmb:o.tpAmb,cUFAutor:e.cUFAutor,CNPJ:r.value.CNPJ,CPF:r.value.CPF,consChNFe:{chNFe:e.chNFe}});if(n.isLeft())return n;let a=n.value.nfeDistDFeInteresseResult.retDistDFeInt,c=a.loteDistDFeInt?.docZip;return(0,$0.right)({response:a,xml:c?(0,K0.gunzipSync)(Buffer.from(c.$value,"base64")).toString("utf8"):void 0})}};var eS=pt(require("crypto"),1),nr=require("nfets/core");var Jt=class{static{s(this,"NfceQrcode")}certificateRepository;constructor(e){this.certificateRepository=e}async execute(e,o){let i=await this.content(e,o);return i.isLeft()?i:(0,nr.right)(this.assemble(i.value,o))}async content(e,o){return this.isVersion200(o)?await this.execute200(e,o):this.isVersion300(o)?await this.execute300(e,o):(0,nr.unreachable)(o)}isVersion200(e){return e.version==="200"}isVersion300(e){return e.version==="300"}assemble(e,o){return{qrCode:e,urlChave:o.urlConsult}}getSequence(e,o){let{version:i,CSCId:r}=o,n=e.infNFe.ide.tpAmb,a=Number.parseInt(r),c=e.infNFe.$.Id?.substring(3),p=Number.parseInt(i??"")/100;if(e.infNFe.ide.tpEmis!==ht.OFFLINE)return`${c}|${p}|${n}|${a}`;let l=e.Signature.SignedInfo.Reference.DigestValue.split("").map(y=>y.charCodeAt(0).toString(16).padStart(2,"0")).join(""),d=this.emissionDayOfMonthFormatted(e.infNFe.ide.dhEmi),m=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2);return`${c}|${p}|${n}|${d}|${m}|${l}|${a}`}async execute200(e,o){let{urlService:i,CSC:r}=o,n=this.getSequence(e,o),a=eS.default.createHash("sha1").update(`${n}${r}`).digest("hex").toUpperCase(),c=`${i}?p=`;return Promise.resolve((0,nr.right)(`${c}${n}|${a}`))}getQrcodeV300OfflineIdentification(e){if(!e)return{tipo:"",documento:""};let{CPF:o,CNPJ:i,idEstrangeiro:r}=e,n=o?o.replace(/\D/g,""):i?i.replace(/[^A-Z0-9]/g,""):r?.replace(/\D/g,"");return n?n.length===11?{tipo:"2",documento:n}:n.length===14?{tipo:"1",documento:n}:r&&n.length>=3&&n.length<=14?{tipo:"3",documento:n}:{tipo:"",documento:""}:{tipo:"",documento:""}}emissionDayOfMonthFormatted(e){return String(new Date(e).getDate()).padStart(2,"0")}async execute300(e,o){let{urlService:i}=o,r=`${i}?p=`,n=e.infNFe.ide.tpAmb,a=e.infNFe.$.Id?.substring(3),c=Number.parseInt(o.version)/100;if(e.infNFe.ide.tpEmis!==ht.OFFLINE)return(0,nr.right)(`${r}${a}|${c}|${n}`);let p=this.emissionDayOfMonthFormatted(e.infNFe.ide.dhEmi),u=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2),{tipo:l,documento:d}=this.getQrcodeV300OfflineIdentification(e.infNFe.dest),m=`${a}|${c}|${n}|${p}|${u}|${l}|${d}`,y=await this.certificateRepository.sign(m,o.certificate,nr.SignatureAlgorithm.SHA1);return y.isLeft()?y:(0,nr.right)(`${r}${m}|${y.value}`)}};var xh=require("nfets/core");var B=require("nfets/core"),yh={AC:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hml.sefaznet.ac.gov.br/nfce/qrcode"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaznet.ac.gov.br/nfce/qrcode"}}},AL:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}}},AM:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://sistemas.sefaz.am.gov.br/nfceweb-hom/consultarNFCe.jsp"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/CscNFCe"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://sistemas.sefaz.am.gov.br/nfceweb/consultarNFCe.jsp"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/CscNFCe"}}},AP:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.sefaz.ap.gov.br/nfcehml/nfce.php"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.ap.gov.br/nfce/nfcep.php"}}},BA:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hnfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}}},CE:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfceh.sefaz.ce.gov.br/pages/ShowNFCe.html"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.ce.gov.br/pages/ShowNFCe.html"}}},DF:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://dec.fazenda.df.gov.br/ConsultarNFCe.aspx"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.fazenda.df.gov.br/nfce/qrcode"}}},ES:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://app.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}}},GO:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/v2/CscNFCe"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://nfewebhomolog.sefaz.go.gov.br/nfeweb/sites/nfce/danfeNFCe"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/v2/CscNFCe"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://nfeweb.sefaz.go.gov.br/nfeweb/sites/nfce/danfeNFCe"}}},MA:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}}},MG:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://portalsped.fazenda.mg.gov.br/portalnfce/sistema/qrcode.xhtml"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://portalsped.fazenda.mg.gov.br/portalnfce/sistema/qrcode.xhtml"}}},MT:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.mt.gov.br/nfce/consultanfce"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.mt.gov.br/nfce/consultanfce"}}},MS:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.dfe.ms.gov.br/nfce/qrcode"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.dfe.ms.gov.br/nfce/qrcode"}}},PA:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://appnfc.sefa.pa.gov.br/portal-homologacao/view/consultas/nfce/nfceForm.seam"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://appnfc.sefa.pa.gov.br/portal/view/consultas/nfce/nfceForm.seam"}}},PB:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pb.gov.br/nfcehom"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pb.gov.br/nfce"}}},PE:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfcehomolog.sefaz.pe.gov.br/nfce/consulta"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.pe.gov.br/nfce/consulta"}}},PI:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}}},PR:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.fazenda.pr.gov.br/nfce/qrcode"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.fazenda.pr.gov.br/nfce/qrcode"}}},RJ:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www4.fazenda.rj.gov.br/consultaNFCe/QRCode"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://consultadfe.fazenda.rj.gov.br/consultaNFCe/QRCode"}}},RN:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hom.nfce.set.rn.gov.br/consultarNFCe.aspx"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.set.rn.gov.br/consultarNFCe.aspx"}}},RO:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}}},RR:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://200.174.88.103:8080/nfce/servlet/qrcode"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.rr.gov.br/servlet/qrcode"}}},RS:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx"}}},SC:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://hom.sat.sef.sc.gov.br/nfce/consulta"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://sat.sef.sc.gov.br/nfce/consulta"}}},SE:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfe.se.gov.br/nfce/qrcode"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.se.gov.br/nfce/qrcode"}}},SP:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeInutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeConsultaProtocolo4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeRecepcaoEvento4.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://homologacao.nfce.epec.fazenda.sp.gov.br/EPECws/RecepcaoEPEC.asmx"},EPECStatusServico:{method:"nfeStatusServicoNF2",operation:"NfeStatusServico2",version:"4.00",url:"https://homologacao.nfce.epec.fazenda.sp.gov.br/EPECws/EPECStatusServico.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.homologacao.nfce.fazenda.sp.gov.br/qrcode"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeInutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeConsultaProtocolo4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeRecepcaoEvento4.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"1.00",url:"https://nfce.epec.fazenda.sp.gov.br/EPECws/RecepcaoEPEC.asmx"},EPECStatusServico:{method:"nfeStatusServicoNF2",operation:"NfeStatusServico2",version:"4.00",url:"https://nfce.epec.fazenda.sp.gov.br/EPECws/EPECStatusServico.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.nfce.fazenda.sp.gov.br/qrcode"}}},TO:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.to.gov.br/nfce/qrcode"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.to.gov.br/nfce/qrcode"}}},SVRS:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"}}},SVAN:{[B.Environment.Homolog]:{},[B.Environment.Production]:{}}};var L=require("nfets/core"),tS={[L.Environment.Homolog]:{[L.StateCodes.AC]:"www.sefaznet.ac.gov.br/nfce/consulta",[L.StateCodes.AL]:"www.sefaz.al.gov.br/nfce/consulta",[L.StateCodes.AP]:"www.sefaz.ap.gov.br/nfce/consulta",[L.StateCodes.AM]:"www.sefaz.am.gov.br/nfce/consulta",[L.StateCodes.BA]:"http://hinternet.sefaz.ba.gov.br/nfce/consulta",[L.StateCodes.CE]:"www.sefaz.ce.gov.br/nfce/consulta",[L.StateCodes.DF]:"www.fazenda.df.gov.br/nfce/consulta",[L.StateCodes.ES]:"www.sefaz.es.gov.br/nfce/consulta",[L.StateCodes.GO]:"www.nfce.go.gov.br/post/ver/214413/consulta-nfc-e-homologacao",[L.StateCodes.MA]:"www.sefaz.ma.gov.br/nfce/consulta",[L.StateCodes.MG]:"https://hportalsped.fazenda.mg.gov.br/portalnfce",[L.StateCodes.MS]:"http://www.dfe.ms.gov.br/nfce/consulta",[L.StateCodes.MT]:"http://homologacao.sefaz.mt.gov.br/nfce/consultanfce",[L.StateCodes.PA]:"www.sefa.pa.gov.br/nfce/consulta",[L.StateCodes.PB]:"www.sefaz.pb.gov.br/nfcehom",[L.StateCodes.PE]:"nfce.sefaz.pe.gov.br/nfce/consulta",[L.StateCodes.PR]:"http://www.fazenda.pr.gov.br/nfce/consulta",[L.StateCodes.PI]:"www.sefaz.pi.gov.br/nfce/consulta",[L.StateCodes.RJ]:"www.fazenda.rj.gov.br/nfce/consulta",[L.StateCodes.RN]:"www.set.rn.gov.br/nfce/consulta",[L.StateCodes.RO]:"www.sefin.ro.gov.br/nfce/consulta",[L.StateCodes.RR]:"www.sefaz.rr.gov.br/nfce/consulta",[L.StateCodes.RS]:"www.sefaz.rs.gov.br/nfce/consulta",[L.StateCodes.SE]:"http://www.hom.nfe.se.gov.br/nfce/consulta",[L.StateCodes.SC]:"https://hom.sat.sef.sc.gov.br/nfce/consulta",[L.StateCodes.SP]:"https://www.homologacao.nfce.fazenda.sp.gov.br/NFCeConsultaPublica",[L.StateCodes.TO]:"http://homologacao.sefaz.to.gov.br/nfce/consulta.jsf"},[L.Environment.Production]:{[L.StateCodes.AC]:"www.sefaznet.ac.gov.br/nfce/consulta",[L.StateCodes.AL]:"www.sefaz.al.gov.br/nfce/consulta",[L.StateCodes.AP]:"www.sefaz.ap.gov.br/nfce/consulta",[L.StateCodes.AM]:"www.sefaz.am.gov.br/nfce/consulta",[L.StateCodes.BA]:"http://www.sefaz.ba.gov.br/nfce/consulta",[L.StateCodes.CE]:"www.sefaz.ce.gov.br/nfce/consulta",[L.StateCodes.DF]:"www.fazenda.df.gov.br/nfce/consulta",[L.StateCodes.ES]:"www.sefaz.es.gov.br/nfce/consulta",[L.StateCodes.GO]:"www.sefaz.go.gov.br/nfce/consulta",[L.StateCodes.MA]:"www.sefaz.ma.gov.br/nfce/consulta",[L.StateCodes.MG]:"https://portalsped.fazenda.mg.gov.br/portalnfce",[L.StateCodes.MS]:"http://www.dfe.ms.gov.br/nfce/consulta",[L.StateCodes.MT]:"http://www.sefaz.mt.gov.br/nfce/consultanfce",[L.StateCodes.PA]:"www.sefa.pa.gov.br/nfce/consulta",[L.StateCodes.PE]:"nfce.sefaz.pe.gov.br/nfce/consulta",[L.StateCodes.PR]:"http://www.fazenda.pr.gov.br/nfce/consulta",[L.StateCodes.PI]:"www.sefaz.pi.gov.br/nfce/consulta",[L.StateCodes.RJ]:"www.fazenda.rj.gov.br/nfce/consulta",[L.StateCodes.RN]:"www.set.rn.gov.br/nfce/consulta",[L.StateCodes.RO]:"www.sefin.ro.gov.br/nfce/consulta",[L.StateCodes.RR]:"www.sefaz.rr.gov.br/nfce/consulta",[L.StateCodes.RS]:"www.sefaz.rs.gov.br/nfce/consulta",[L.StateCodes.SC]:"https://sat.sef.sc.gov.br/nfce/consulta",[L.StateCodes.SE]:"http://www.nfce.se.gov.br/nfce/consulta",[L.StateCodes.SP]:"https://www.nfce.fazenda.sp.gov.br/NFCeConsultaPublica",[L.StateCodes.TO]:"www.sefaz.to.gov.br/nfce/consulta",[L.StateCodes.PB]:"www.sefaz.pb.gov.br/nfce/consulta"}};var xe=require("nfets/core"),gD={[xe.StateCodes.AC]:"SVRS",[xe.StateCodes.AL]:"SVRS",[xe.StateCodes.AM]:"AM",[xe.StateCodes.AP]:"SVRS",[xe.StateCodes.BA]:"SVRS",[xe.StateCodes.CE]:"SVRS",[xe.StateCodes.DF]:"SVRS",[xe.StateCodes.ES]:"SVRS",[xe.StateCodes.GO]:"GO",[xe.StateCodes.MA]:"SVRS",[xe.StateCodes.MG]:"MG",[xe.StateCodes.MS]:"MS",[xe.StateCodes.MT]:"MT",[xe.StateCodes.PA]:"SVRS",[xe.StateCodes.PB]:"SVRS",[xe.StateCodes.PE]:"SVRS",[xe.StateCodes.PI]:"SVRS",[xe.StateCodes.PR]:"PR",[xe.StateCodes.RJ]:"SVRS",[xe.StateCodes.RN]:"SVRS",[xe.StateCodes.RO]:"SVRS",[xe.StateCodes.RR]:"SVRS",[xe.StateCodes.RS]:"RS",[xe.StateCodes.SC]:"SVRS",[xe.StateCodes.SE]:"SVRS",[xe.StateCodes.SP]:"SP",[xe.StateCodes.TO]:"SVRS",SVRS:"SVRS"},oS=gD;var md=class extends _i{static{s(this,"NfceAutorizacaoPayload")}};var iS=require("nfets/core");function yD(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(yD,"_ts_decorate");function bh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(bh,"_ts_metadata");var Mt=class extends Ao{static{s(this,"NfceRemoteTransmitter")}remoteTransmissionRepository;qrCode;options={timeout:6e4};constructor(e,o){super(e),this.remoteTransmissionRepository=e,this.qrCode=o}configure(e){return super.configure(e)}service(e){let o=e.cUF??this.options.cUF,i=e.tpAmb??this.options.tpAmb,r=oS[o],c=yh[r][i][e.service];if(c)return c;let p=Object.keys(xh.StateCodes).find(u=>xh.StateCodes[u]===o);return yh[p][i][e.service]}getUrlConsult(e){let o=e.infNFe.ide.cUF,i=e.infNFe.ide.tpAmb;return tS[i][o]}async autorizacao(e){return super.autorizacao(e)}};yD([(0,iS.Validates)(md),bh("design:type",Function),bh("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),bh("design:returntype",Promise)],Mt.prototype,"autorizacao",null);var Sh=class extends gl{static{s(this,"NfceCancelPipeline")}qrCode=new Jt(this.certificates);transmitter=new Mt(this.soap,this.qrCode)};var Cl=class extends bl{static{s(this,"NfceAuthorizerPipeline")}certificate;qrCode=new Jt(this.certificates);transmitter=new Mt(this.soap,this.qrCode);constructor(e){super(e),this.certificate=e}};var Lt=require("nfets/core");var Ch=class extends Cl{static{s(this,"NfceContingencyXmlAuthorizerPipeline")}certificate;qrCode=new Jt(this.certificates);transmitter=new Mt(this.soap,this.qrCode);constructor(e){super(e),this.certificate=e}async handleNfeBatch(e,o){if(!Array.isArray(o))return this.parseContingencyXml(o).then(r=>r.isLeft()?r:(0,Lt.right)([r.value]));let i=await Promise.all(o.map(r=>this.parseContingencyXml(r)));if(i.some(r=>r.isLeft())){let r=i.find(n=>n.isLeft());return(0,Lt.left)(r?.value??new Lt.NFeTsError("NFC-e XML must be signed"))}return(0,Lt.right)(i.filter(r=>r.isRight()).map(r=>r.value))}async parseContingencyXml(e){let o=await this.toolkit.parse(e);return this.assertSignatureIntegrity(o)}async assertSignatureIntegrity(e){let o=e.Signature?.SignedInfo?.Reference?.DigestValue;if(!o)return(0,Lt.left)(new Lt.NFeTsError("NFC-e XML must be signed"));let i=await this.rebuildInfNFeNode(e);if(i.isLeft())return i;let r=this.signatureAlgorithm(e);return this.toolkit.digest(i.value,r)!==o?(0,Lt.left)(new Lt.NFeTsError("NFC-e XML signature digest mismatch")):(0,Lt.right)(e)}async rebuildInfNFeNode(e){let o=e.$?.xmlns,{$:i,...r}=e.infNFe??{};delete i.xmlns;let n=await this.toolkit.build({$:{xmlns:o,...i},...r},{headless:!0,rootName:"infNFe",renderOpts:{pretty:!1}});return(0,Lt.right)(n)}signatureAlgorithm(e){return e.Signature?.SignedInfo?.Reference?.DigestMethod?.$?.Algorithm===Lt.DigestAlgorithm.SHA256?Lt.SignatureAlgorithm.SHA256:Lt.SignatureAlgorithm.SHA1}};var Nh=class extends mc{static{s(this,"NfceVoidRangePipeline")}qrCode=new Jt(this.certificates);transmitter=new Mt(this.soap,this.qrCode)};var Rh=class extends xl{static{s(this,"NfceConsultStatusPipeline")}qrCode=new Jt(this.certificates);transmitter=new Mt(this.soap,this.qrCode)};var wh=class extends Sl{static{s(this,"NfceConsultProtocoloPipeline")}qrCode=new Jt(this.certificates);transmitter=new Mt(this.soap,this.qrCode)};var $S=pt(require("path"),1),sp=require("nfets/core");var Mo=require("class-validator");var _=require("class-validator"),tt=require("class-transformer");var O=require("class-validator"),rs=require("class-transformer"),sr=require("nfets/core"),nS=require("nfets/core");function j(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(j,"_ts_decorate");function M(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(M,"_ts_metadata");var rr=class{static{s(this,"RefNF")}cUF;AAMM;CNPJ;mod;serie;nNF};j([(0,O.IsString)(),M("design:type",String)],rr.prototype,"cUF",void 0);j([(0,O.IsString)(),M("design:type",String)],rr.prototype,"AAMM",void 0);j([(0,O.IsString)(),M("design:type",String)],rr.prototype,"CNPJ",void 0);j([(0,O.IsString)(),M("design:type",String)],rr.prototype,"mod",void 0);j([(0,O.IsString)(),M("design:type",String)],rr.prototype,"serie",void 0);j([(0,O.IsString)(),M("design:type",String)],rr.prototype,"nNF",void 0);var ei=class{static{s(this,"RefNFP")}cUF;AAMM;CNPJ="";CPF="";IE;mod;serie;nNF};j([(0,O.IsString)(),M("design:type",String)],ei.prototype,"cUF",void 0);j([(0,O.IsString)(),M("design:type",String)],ei.prototype,"AAMM",void 0);j([(0,O.IsOptional)(),(0,O.IsString)(),M("design:type",String)],ei.prototype,"CNPJ",void 0);j([(0,O.IsOptional)(),(0,O.IsString)(),M("design:type",String)],ei.prototype,"CPF",void 0);j([(0,O.IsString)(),M("design:type",String)],ei.prototype,"IE",void 0);j([(0,O.IsString)(),M("design:type",String)],ei.prototype,"mod",void 0);j([(0,O.IsString)(),M("design:type",String)],ei.prototype,"serie",void 0);j([(0,O.IsString)(),M("design:type",String)],ei.prototype,"nNF",void 0);ei=j([(0,sr.Choice)({properties:["CNPJ","CPF"],required:!0})],ei);var vc=class{static{s(this,"RefECF")}mod;nECF;nCOO};j([(0,O.IsString)(),M("design:type",String)],vc.prototype,"mod",void 0);j([(0,O.IsString)(),M("design:type",String)],vc.prototype,"nECF",void 0);j([(0,O.IsString)(),M("design:type",String)],vc.prototype,"nCOO",void 0);var ar=class{static{s(this,"NFref")}refNFe;refNFeSig;refNF;refNFP;refCTe;refECF};j([(0,O.IsOptional)(),(0,O.IsString)(),M("design:type",String)],ar.prototype,"refNFe",void 0);j([(0,O.IsOptional)(),(0,O.IsString)(),M("design:type",String)],ar.prototype,"refNFeSig",void 0);j([(0,O.IsOptional)(),(0,O.ValidateNested)(),(0,rs.Type)(()=>rr),M("design:type",typeof IRefNF>"u"?Object:IRefNF)],ar.prototype,"refNF",void 0);j([(0,O.IsOptional)(),(0,O.ValidateNested)(),(0,rs.Type)(()=>ei),M("design:type",typeof IRefNFP>"u"?Object:IRefNFP)],ar.prototype,"refNFP",void 0);j([(0,O.IsOptional)(),(0,O.IsString)(),M("design:type",String)],ar.prototype,"refCTe",void 0);j([(0,O.IsOptional)(),(0,O.ValidateNested)(),(0,rs.Type)(()=>vc),M("design:type",typeof IRefECF>"u"?Object:IRefECF)],ar.prototype,"refECF",void 0);var ns=class{static{s(this,"CompraGov")}tpEnteGov;pRedutor;tpOperGov;refDFeAnt};j([(0,O.IsString)(),M("design:type",String)],ns.prototype,"tpEnteGov",void 0);j([(0,sr.TransformDecimal)({fixed:4}),M("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ns.prototype,"pRedutor",void 0);j([(0,O.IsString)(),M("design:type",String)],ns.prototype,"tpOperGov",void 0);j([(0,O.IsOptional)(),(0,O.IsString)(),M("design:type",String)],ns.prototype,"refDFeAnt",void 0);var hd=class{static{s(this,"PagAntecipado")}refNFe};j([(0,O.IsArray)(),(0,O.ArrayMaxSize)(99),(0,O.IsString)({each:!0}),M("design:type",Array)],hd.prototype,"refNFe",void 0);var $=class{static{s(this,"Ide")}cUF;cNF;natOp;mod;serie;nNF;dhEmi;dhSaiEnt;dPrevEntrega;tpNF;idDest;cMunFG;cMunFGIBS;tpImp;tpEmis;cDV="";tpAmb;finNFe;tpNFDebito;tpNFCredito;indFinal;indPres;indIntermed;cIndOp;procEmi;verProc;dhCont;xJust;NFref;gCompraGov;gPagAntecipado};j([(0,O.IsEnum)(nS.StateCodes),M("design:type",typeof StateCode>"u"?Object:StateCode)],$.prototype,"cUF",void 0);j([(0,O.IsString)(),M("design:type",String)],$.prototype,"cNF",void 0);j([(0,O.IsString)(),M("design:type",String)],$.prototype,"natOp",void 0);j([(0,O.IsString)(),M("design:type",String)],$.prototype,"mod",void 0);j([(0,O.IsString)(),M("design:type",String)],$.prototype,"serie",void 0);j([(0,O.IsString)(),M("design:type",String)],$.prototype,"nNF",void 0);j([(0,sr.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),M("design:type",String)],$.prototype,"dhEmi",void 0);j([(0,O.IsOptional)(),(0,sr.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),M("design:type",String)],$.prototype,"dhSaiEnt",void 0);j([(0,O.IsOptional)(),(0,sr.TransformDateString)({format:"YYYY-MM-DD"}),M("design:type",String)],$.prototype,"dPrevEntrega",void 0);j([(0,O.IsString)(),M("design:type",String)],$.prototype,"tpNF",void 0);j([(0,O.IsString)(),M("design:type",String)],$.prototype,"idDest",void 0);j([(0,O.IsString)(),M("design:type",String)],$.prototype,"cMunFG",void 0);j([(0,O.IsOptional)(),(0,O.IsString)(),M("design:type",String)],$.prototype,"cMunFGIBS",void 0);j([(0,O.IsString)(),M("design:type",String)],$.prototype,"tpImp",void 0);j([(0,O.IsString)(),M("design:type",typeof TpEmis>"u"?Object:TpEmis)],$.prototype,"tpEmis",void 0);j([(0,O.IsString)(),(0,O.IsOptional)(),M("design:type",String)],$.prototype,"cDV",void 0);j([(0,O.IsString)(),M("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],$.prototype,"tpAmb",void 0);j([(0,O.IsString)(),M("design:type",String)],$.prototype,"finNFe",void 0);j([(0,O.IsOptional)(),(0,O.IsString)(),M("design:type",String)],$.prototype,"tpNFDebito",void 0);j([(0,O.IsOptional)(),(0,O.IsString)(),M("design:type",String)],$.prototype,"tpNFCredito",void 0);j([(0,O.IsString)(),M("design:type",String)],$.prototype,"indFinal",void 0);j([(0,O.IsString)(),M("design:type",String)],$.prototype,"indPres",void 0);j([(0,O.IsOptional)(),(0,O.IsString)(),M("design:type",String)],$.prototype,"indIntermed",void 0);j([(0,O.IsOptional)(),(0,O.IsString)(),M("design:type",String)],$.prototype,"cIndOp",void 0);j([(0,O.IsString)(),M("design:type",String)],$.prototype,"procEmi",void 0);j([(0,O.IsString)(),M("design:type",String)],$.prototype,"verProc",void 0);j([(0,O.IsOptional)(),(0,O.IsString)(),(0,sr.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),M("design:type",String)],$.prototype,"dhCont",void 0);j([(0,O.IsOptional)(),(0,O.IsString)(),M("design:type",String)],$.prototype,"xJust",void 0);j([(0,O.IsOptional)(),(0,O.IsArray)(),(0,O.ArrayMaxSize)(999),(0,O.ValidateNested)({each:!0}),(0,rs.Type)(()=>ar),M("design:type",Array)],$.prototype,"NFref",void 0);j([(0,O.IsOptional)(),(0,O.ValidateNested)(),(0,rs.Type)(()=>ns),M("design:type",typeof ICompraGov>"u"?Object:ICompraGov)],$.prototype,"gCompraGov",void 0);j([(0,O.IsOptional)(),(0,O.ValidateNested)(),(0,rs.Type)(()=>hd),M("design:type",typeof IPagAntecipado>"u"?Object:IPagAntecipado)],$.prototype,"gPagAntecipado",void 0);var lt=require("class-validator"),rS=require("nfets/core"),aS=require("class-transformer");var Xt=require("class-validator");function ki(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ki,"_ts_decorate");function Gi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Gi,"_ts_metadata");var Wt=class{static{s(this,"EnderEmit")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};ki([(0,Xt.IsString)(),Gi("design:type",String)],Wt.prototype,"xLgr",void 0);ki([(0,Xt.IsString)(),Gi("design:type",String)],Wt.prototype,"nro",void 0);ki([(0,Xt.IsOptional)(),(0,Xt.IsString)(),Gi("design:type",String)],Wt.prototype,"xCpl",void 0);ki([(0,Xt.IsString)(),Gi("design:type",String)],Wt.prototype,"xBairro",void 0);ki([(0,Xt.IsString)(),Gi("design:type",String)],Wt.prototype,"cMun",void 0);ki([(0,Xt.IsString)(),Gi("design:type",String)],Wt.prototype,"xMun",void 0);ki([(0,Xt.IsString)(),Gi("design:type",String)],Wt.prototype,"UF",void 0);ki([(0,Xt.IsString)(),Gi("design:type",String)],Wt.prototype,"CEP",void 0);ki([(0,Xt.IsOptional)(),(0,Xt.IsString)(),Gi("design:type",String)],Wt.prototype,"cPais",void 0);ki([(0,Xt.IsOptional)(),(0,Xt.IsString)(),Gi("design:type",String)],Wt.prototype,"xPais",void 0);ki([(0,Xt.IsOptional)(),(0,Xt.IsString)(),Gi("design:type",String)],Wt.prototype,"fone",void 0);function vi(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(vi,"_ts_decorate");function Qi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Qi,"_ts_metadata");var wt=class{static{s(this,"Emit")}CNPJ="";CPF="";xNome;xFant;enderEmit;IE;IEST;IM;CNAE;CRT;ISUFEmit};vi([(0,lt.IsOptional)(),(0,lt.IsString)(),Qi("design:type",String)],wt.prototype,"CNPJ",void 0);vi([(0,lt.IsOptional)(),(0,lt.IsString)(),Qi("design:type",String)],wt.prototype,"CPF",void 0);vi([(0,lt.IsString)(),Qi("design:type",String)],wt.prototype,"xNome",void 0);vi([(0,lt.IsOptional)(),(0,lt.IsString)(),Qi("design:type",String)],wt.prototype,"xFant",void 0);vi([(0,lt.ValidateNested)(),(0,aS.Type)(()=>Wt),Qi("design:type",typeof Wt>"u"?Object:Wt)],wt.prototype,"enderEmit",void 0);vi([(0,lt.IsString)(),Qi("design:type",String)],wt.prototype,"IE",void 0);vi([(0,lt.IsOptional)(),(0,lt.IsString)(),Qi("design:type",String)],wt.prototype,"IEST",void 0);vi([(0,lt.IsOptional)(),(0,lt.IsString)(),Qi("design:type",String)],wt.prototype,"IM",void 0);vi([(0,lt.IsOptional)(),(0,lt.IsString)(),Qi("design:type",String)],wt.prototype,"CNAE",void 0);vi([(0,lt.IsString)(),Qi("design:type",String)],wt.prototype,"CRT",void 0);vi([(0,lt.IsOptional)(),(0,lt.IsString)(),Qi("design:type",String)],wt.prototype,"ISUFEmit",void 0);wt=vi([(0,rS.Choice)({properties:["CNPJ","CPF"],required:!0})],wt);var it=require("class-validator"),sS=require("class-transformer");var Be=require("class-validator");function Zi(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Zi,"_ts_decorate");function Yi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Yi,"_ts_metadata");var Fo=class{static{s(this,"EnderDest")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"xLgr",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"nro",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"xCpl",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"xBairro",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"cMun",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"xMun",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"UF",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"CEP",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"cPais",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"xPais",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"fone",void 0);var cS=require("nfets/core");function Ji(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ji,"_ts_decorate");function wn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(wn,"_ts_metadata");var Vt=class{static{s(this,"Dest")}CNPJ="";CPF="";idEstrangeiro;xNome;enderDest;indIEDest;IE;ISUF;IM;email};Ji([(0,it.IsOptional)(),(0,it.IsString)(),wn("design:type",String)],Vt.prototype,"CNPJ",void 0);Ji([(0,it.IsOptional)(),(0,it.IsString)(),wn("design:type",String)],Vt.prototype,"CPF",void 0);Ji([(0,it.IsOptional)(),(0,it.IsString)(),wn("design:type",String)],Vt.prototype,"idEstrangeiro",void 0);Ji([(0,it.IsOptional)(),(0,it.IsString)(),wn("design:type",String)],Vt.prototype,"xNome",void 0);Ji([(0,it.IsOptional)(),(0,it.ValidateNested)(),(0,sS.Type)(()=>Fo),wn("design:type",typeof IEnderDest>"u"?Object:IEnderDest)],Vt.prototype,"enderDest",void 0);Ji([(0,it.IsString)(),wn("design:type",String)],Vt.prototype,"indIEDest",void 0);Ji([(0,it.IsOptional)(),(0,it.IsString)(),wn("design:type",String)],Vt.prototype,"IE",void 0);Ji([(0,it.IsOptional)(),(0,it.IsString)(),wn("design:type",String)],Vt.prototype,"ISUF",void 0);Ji([(0,it.IsOptional)(),(0,it.IsString)(),wn("design:type",String)],Vt.prototype,"IM",void 0);Ji([(0,it.IsOptional)(),(0,it.IsString)(),wn("design:type",String)],Vt.prototype,"email",void 0);Vt=Ji([(0,cS.Choice)({properties:["CNPJ","CPF"],required:!0})],Vt);var Se=require("class-validator"),pS=require("nfets/core");function Kt(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Kt,"_ts_decorate");function ao(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ao,"_ts_metadata");var Ie=class{static{s(this,"Local")}CNPJ;CPF;xNome;xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone;email;IE};Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"CNPJ",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"CPF",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"xNome",void 0);Kt([(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"xLgr",void 0);Kt([(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"nro",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"xCpl",void 0);Kt([(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"xBairro",void 0);Kt([(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"cMun",void 0);Kt([(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"xMun",void 0);Kt([(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"UF",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"CEP",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"cPais",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"xPais",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"fone",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"email",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"IE",void 0);Ie=Kt([(0,pS.Choice)({properties:["CNPJ","CPF"]})],Ie);var gc=require("class-validator"),uS=require("nfets/core");function Ih(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ih,"_ts_decorate");function lS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(lS,"_ts_metadata");var In=class{static{s(this,"AutXML")}CNPJ;CPF};Ih([(0,gc.IsOptional)(),(0,gc.IsString)(),lS("design:type",String)],In.prototype,"CNPJ",void 0);Ih([(0,gc.IsOptional)(),(0,gc.IsString)(),lS("design:type",String)],In.prototype,"CPF",void 0);In=Ih([(0,uS.Choice)({properties:["CNPJ","CPF"]})],In);var Nl=require("class-validator");function dS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(dS,"_ts_decorate");function fS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(fS,"_ts_metadata");var Kr=class{static{s(this,"InfIntermed")}CNPJ;idCadIntTran};dS([(0,Nl.IsString)(),fS("design:type",String)],Kr.prototype,"CNPJ",void 0);dS([(0,Nl.IsOptional)(),(0,Nl.IsString)(),fS("design:type",String)],Kr.prototype,"idCadIntTran",void 0);var as=require("class-validator");function Oh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Oh,"_ts_decorate");function Ah(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ah,"_ts_metadata");var cr=class{static{s(this,"Exporta")}UFSaidaPais;xLocExporta;xLocDespacho};Oh([(0,as.IsString)(),Ah("design:type",String)],cr.prototype,"UFSaidaPais",void 0);Oh([(0,as.IsOptional)(),(0,as.IsString)(),Ah("design:type",String)],cr.prototype,"xLocExporta",void 0);Oh([(0,as.IsOptional)(),(0,as.IsString)(),Ah("design:type",String)],cr.prototype,"xLocDespacho",void 0);var $r=require("class-validator");function Fh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Fh,"_ts_decorate");function Dh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Dh,"_ts_metadata");var pr=class{static{s(this,"Compra")}xNEmp;xPed;xCont};Fh([(0,$r.IsOptional)(),(0,$r.IsString)(),Dh("design:type",String)],pr.prototype,"xNEmp",void 0);Fh([(0,$r.IsOptional)(),(0,$r.IsString)(),Dh("design:type",String)],pr.prototype,"xPed",void 0);Fh([(0,$r.IsOptional)(),(0,$r.IsString)(),Dh("design:type",String)],pr.prototype,"xCont",void 0);var On=require("class-validator");function yc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(yc,"_ts_decorate");function bc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(bc,"_ts_metadata");var gi=class{static{s(this,"InfRespTec")}CNPJ;xContato;email;fone;idCSRT;hashCSRT};yc([(0,On.IsString)(),bc("design:type",String)],gi.prototype,"CNPJ",void 0);yc([(0,On.IsString)(),bc("design:type",String)],gi.prototype,"xContato",void 0);yc([(0,On.IsString)(),bc("design:type",String)],gi.prototype,"email",void 0);yc([(0,On.IsString)(),bc("design:type",String)],gi.prototype,"fone",void 0);yc([(0,On.IsOptional)(),(0,On.IsString)(),bc("design:type",String)],gi.prototype,"idCSRT",void 0);yc([(0,On.IsOptional)(),(0,On.IsString)(),bc("design:type",String)],gi.prototype,"hashCSRT",void 0);var Si=require("class-validator"),Oc=require("class-transformer");var Wi=require("class-validator"),le=require("nfets/core");function fe(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(fe,"_ts_decorate");function me(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(me,"_ts_metadata");var re=class{static{s(this,"ICMSTot")}vBC="0.00";vICMS="0.00";vICMSDeson="0.00";vFCPUFDest;vICMSUFDest;vICMSUFRemet;vFCP="0.00";vBCST="0.00";vST="0.00";vFCPST="0.00";vFCPSTRet="0.00";qBCMono;vICMSMono;qBCMonoReten;vICMSMonoReten;qBCMonoRet;vICMSMonoRet;vProd="0.00";vFrete="0.00";vSeg="0.00";vDesc="0.00";vII="0.00";vIPI="0.00";vIPIDevol="0.00";vPIS="0.00";vCOFINS="0.00";vOutro="0.00";vNF="0.00";vTotTrib};fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vBC",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vICMS",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vICMSDeson",void 0);fe([(0,Wi.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vFCPUFDest",void 0);fe([(0,Wi.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vICMSUFDest",void 0);fe([(0,Wi.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vICMSUFRemet",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vFCP",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vBCST",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vST",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vFCPST",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vFCPSTRet",void 0);fe([(0,Wi.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"qBCMono",void 0);fe([(0,Wi.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vICMSMono",void 0);fe([(0,Wi.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"qBCMonoReten",void 0);fe([(0,Wi.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vICMSMonoReten",void 0);fe([(0,Wi.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"qBCMonoRet",void 0);fe([(0,Wi.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vICMSMonoRet",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vProd",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vFrete",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vSeg",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vDesc",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vII",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vIPI",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vIPIDevol",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vPIS",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vCOFINS",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vOutro",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vNF",void 0);fe([(0,Wi.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vTotTrib",void 0);var Do=require("class-validator"),Xi=require("nfets/core");function yi(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(yi,"_ts_decorate");function bi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(bi,"_ts_metadata");var so=class{static{s(this,"ISSQNtot")}vServ;vBC;vISS;vPIS;vCOFINS;dCompet;vDeducao;vOutro;vDescIncond;vDescCond;vISSRet;cRegTrib};yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vServ",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vBC",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vISS",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vPIS",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vCOFINS",void 0);yi([(0,Do.IsString)(),bi("design:type",String)],so.prototype,"dCompet",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vDeducao",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vOutro",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vDescIncond",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vDescCond",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vISSRet",void 0);yi([(0,Do.IsOptional)(),(0,Do.IsString)(),bi("design:type",String)],so.prototype,"cRegTrib",void 0);var ea=require("class-validator"),ta=require("nfets/core");function ss(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ss,"_ts_decorate");function cs(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(cs,"_ts_metadata");var Ki=class{static{s(this,"RetTrib")}vRetPIS;vRetCOFINS;vRetCSLL;vBCIRRF;vIRRF;vBCRetPrev;vRetPrev};ss([(0,ea.IsOptional)(),(0,ta.TransformDecimal)({fixed:2}),cs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ki.prototype,"vRetPIS",void 0);ss([(0,ea.IsOptional)(),(0,ta.TransformDecimal)({fixed:2}),cs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ki.prototype,"vRetCOFINS",void 0);ss([(0,ea.IsOptional)(),(0,ta.TransformDecimal)({fixed:2}),cs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ki.prototype,"vRetCSLL",void 0);ss([(0,ea.IsOptional)(),(0,ta.TransformDecimal)({fixed:2}),cs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ki.prototype,"vBCIRRF",void 0);ss([(0,ea.IsOptional)(),(0,ta.TransformDecimal)({fixed:2}),cs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ki.prototype,"vIRRF",void 0);ss([(0,ea.IsOptional)(),(0,ta.TransformDecimal)({fixed:2}),cs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ki.prototype,"vBCRetPrev",void 0);ss([(0,ea.IsOptional)(),(0,ta.TransformDecimal)({fixed:2}),cs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ki.prototype,"vRetPrev",void 0);var en=require("class-validator");var ur=require("class-validator");var vd=require("nfets/core");function Eh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Eh,"_ts_decorate");function Ph(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ph,"_ts_metadata");var ps=class{static{s(this,"IBSMunTot")}vDif="0.00";vDevTrib="0.00";vIBSMun="0.00"};Eh([(0,vd.TransformDecimal)({fixed:2}),Ph("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ps.prototype,"vDif",void 0);Eh([(0,vd.TransformDecimal)({fixed:2}),Ph("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ps.prototype,"vDevTrib",void 0);Eh([(0,vd.TransformDecimal)({fixed:2}),Ph("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ps.prototype,"vIBSMun",void 0);var jh=require("class-transformer");var gd=require("nfets/core");function Th(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Th,"_ts_decorate");function zh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(zh,"_ts_metadata");var ls=class{static{s(this,"IBSUFTot")}vDif="0.00";vDevTrib="0.00";vIBSUF="0.00"};Th([(0,gd.TransformDecimal)({fixed:2}),zh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ls.prototype,"vDif",void 0);Th([(0,gd.TransformDecimal)({fixed:2}),zh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ls.prototype,"vDevTrib",void 0);Th([(0,gd.TransformDecimal)({fixed:2}),zh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ls.prototype,"vIBSUF",void 0);var yd=require("nfets/core");function Rl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Rl,"_ts_decorate");function wl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(wl,"_ts_metadata");var lr=class{static{s(this,"IBSTot")}gIBSUF;gIBSMun;vIBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};Rl([(0,ur.IsOptional)(),(0,ur.ValidateNested)(),(0,jh.Type)(()=>ls),wl("design:type",typeof IIBSUFTot>"u"?Object:IIBSUFTot)],lr.prototype,"gIBSUF",void 0);Rl([(0,ur.IsOptional)(),(0,ur.ValidateNested)(),(0,jh.Type)(()=>ps),wl("design:type",typeof IIBSMunTot>"u"?Object:IIBSMunTot)],lr.prototype,"gIBSMun",void 0);Rl([(0,ur.IsOptional)(),(0,yd.TransformDecimal)({fixed:2}),wl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lr.prototype,"vIBS",void 0);Rl([(0,ur.IsOptional)(),(0,yd.TransformDecimal)({fixed:2}),wl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lr.prototype,"vCredPres",void 0);Rl([(0,ur.IsOptional)(),(0,yd.TransformDecimal)({fixed:2}),wl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lr.prototype,"vCredPresCondSus",void 0);var vS=require("nfets/core"),Dl=require("class-transformer");var xc=require("nfets/core"),Sc=require("class-validator");function Il(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Il,"_ts_decorate");function Ol(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ol,"_ts_metadata");var dr=class{static{s(this,"CBSTot")}vDif="0.00";vDevTrib="0.00";vCBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};Il([(0,Sc.IsOptional)(),(0,xc.TransformDecimal)({fixed:2}),Ol("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dr.prototype,"vDif",void 0);Il([(0,Sc.IsOptional)(),(0,xc.TransformDecimal)({fixed:2}),Ol("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dr.prototype,"vDevTrib",void 0);Il([(0,Sc.IsOptional)(),(0,xc.TransformDecimal)({fixed:2}),Ol("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dr.prototype,"vCBS",void 0);Il([(0,Sc.IsOptional)(),(0,xc.TransformDecimal)({fixed:2}),Ol("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dr.prototype,"vCredPres",void 0);Il([(0,Sc.IsOptional)(),(0,xc.TransformDecimal)({fixed:2}),Ol("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dr.prototype,"vCredPresCondSus",void 0);var us=require("nfets/core"),ds=require("class-validator");function Cc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Cc,"_ts_decorate");function Nc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Nc,"_ts_metadata");var An=class{static{s(this,"IBSMonoTot")}vIBSMono="0.00";vCBSMono="0.00";vIBSMonoReten="0.00";vCBSMonoReten="0.00";vIBSMonoRet="0.00";vCBSMonoRet="0.00"};Cc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Nc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],An.prototype,"vIBSMono",void 0);Cc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Nc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],An.prototype,"vCBSMono",void 0);Cc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Nc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],An.prototype,"vIBSMonoReten",void 0);Cc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Nc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],An.prototype,"vCBSMonoReten",void 0);Cc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Nc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],An.prototype,"vIBSMonoRet",void 0);Cc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Nc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],An.prototype,"vCBSMonoRet",void 0);var Bh=require("class-validator"),Mh=require("nfets/core");function mS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(mS,"_ts_decorate");function hS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(hS,"_ts_metadata");var Rc=class{static{s(this,"EstornoCredTot")}vIBSEstCred;vCBSEstCred};mS([(0,Bh.IsOptional)(),(0,Mh.TransformDecimal)({fixed:2}),hS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rc.prototype,"vIBSEstCred",void 0);mS([(0,Bh.IsOptional)(),(0,Mh.TransformDecimal)({fixed:2}),hS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rc.prototype,"vCBSEstCred",void 0);function Al(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Al,"_ts_decorate");function Fl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Fl,"_ts_metadata");var $i=class{static{s(this,"IBSCBSTot")}vBCIBSCBS="0.00";gIBS;gCBS;gMono;gEstornoCred};Al([(0,en.IsOptional)(),(0,vS.TransformDecimal)({fixed:2}),Fl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$i.prototype,"vBCIBSCBS",void 0);Al([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,Dl.Type)(()=>lr),Fl("design:type",typeof IIBSTot>"u"?Object:IIBSTot)],$i.prototype,"gIBS",void 0);Al([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,Dl.Type)(()=>dr),Fl("design:type",typeof ICBSTot>"u"?Object:ICBSTot)],$i.prototype,"gCBS",void 0);Al([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,Dl.Type)(()=>An),Fl("design:type",typeof IIBSMonoTot>"u"?Object:IIBSMonoTot)],$i.prototype,"gMono",void 0);Al([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,Dl.Type)(()=>Rc),Fl("design:type",typeof IEstornoCredTot>"u"?Object:IEstornoCredTot)],$i.prototype,"gEstornoCred",void 0);var gS=require("nfets/core"),yS=require("class-validator");function bD(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(bD,"_ts_decorate");function xD(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(xD,"_ts_metadata");var fs=class{static{s(this,"ISTot")}vIS="0.00"};bD([(0,yS.IsOptional)(),(0,gS.TransformDecimal)({fixed:2}),xD("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fs.prototype,"vIS",void 0);var bS=require("nfets/core");function wc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(wc,"_ts_decorate");function Ic(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ic,"_ts_metadata");var xi=class{static{s(this,"Total")}ICMSTot;ISSQNtot;retTrib;ISTot;IBSCBSTot;vNFTot};wc([(0,Si.ValidateNested)(),(0,Oc.Type)(()=>re),Ic("design:type",typeof IICMSTot>"u"?Object:IICMSTot)],xi.prototype,"ICMSTot",void 0);wc([(0,Si.IsOptional)(),(0,Si.ValidateNested)(),(0,Oc.Type)(()=>so),Ic("design:type",typeof IISSQNTot>"u"?Object:IISSQNTot)],xi.prototype,"ISSQNtot",void 0);wc([(0,Si.IsOptional)(),(0,Si.ValidateNested)(),(0,Oc.Type)(()=>Ki),Ic("design:type",typeof IRetTrib>"u"?Object:IRetTrib)],xi.prototype,"retTrib",void 0);wc([(0,Si.IsOptional)(),(0,Si.ValidateNested)(),(0,Oc.Type)(()=>fs),Ic("design:type",typeof IISTot>"u"?Object:IISTot)],xi.prototype,"ISTot",void 0);wc([(0,Si.IsOptional)(),(0,Si.ValidateNested)(),(0,Oc.Type)(()=>$i),Ic("design:type",typeof IIBSCBSTot>"u"?Object:IIBSCBSTot)],xi.prototype,"IBSCBSTot",void 0);wc([(0,Si.IsOptional)(),(0,bS.TransformDecimal)({fixed:2}),Ic("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xi.prototype,"vNFTot",void 0);var ut=require("class-validator"),zc=require("class-transformer");var po=require("class-validator"),xS=require("nfets/core");function oa(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(oa,"_ts_decorate");function ms(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ms,"_ts_metadata");var co=class{static{s(this,"Transporta")}CNPJ;CPF;xNome;IE;xEnder;xMun;UF};oa([(0,po.IsOptional)(),(0,po.IsString)(),ms("design:type",String)],co.prototype,"CNPJ",void 0);oa([(0,po.IsOptional)(),(0,po.IsString)(),ms("design:type",String)],co.prototype,"CPF",void 0);oa([(0,po.IsOptional)(),(0,po.IsString)(),ms("design:type",String)],co.prototype,"xNome",void 0);oa([(0,po.IsOptional)(),(0,po.IsString)(),ms("design:type",String)],co.prototype,"IE",void 0);oa([(0,po.IsOptional)(),(0,po.IsString)(),ms("design:type",String)],co.prototype,"xEnder",void 0);oa([(0,po.IsOptional)(),(0,po.IsString)(),ms("design:type",String)],co.prototype,"xMun",void 0);oa([(0,po.IsOptional)(),(0,po.IsString)(),ms("design:type",String)],co.prototype,"UF",void 0);co=oa([(0,xS.Choice)({properties:["CNPJ","CPF"]})],co);var Fn=require("class-validator"),El=require("nfets/core");function Ac(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ac,"_ts_decorate");function Fc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Fc,"_ts_metadata");var ti=class{static{s(this,"RetTransp")}vServ;vBCRet;pICMSRet;vICMSRet;CFOP;cMunFG};Ac([(0,Fn.IsOptional)(),(0,El.TransformDecimal)({fixed:2}),Fc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"vServ",void 0);Ac([(0,Fn.IsOptional)(),(0,El.TransformDecimal)({fixed:2}),Fc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"vBCRet",void 0);Ac([(0,Fn.IsOptional)(),(0,El.TransformDecimal)({fixed:4}),Fc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"pICMSRet",void 0);Ac([(0,Fn.IsOptional)(),(0,El.TransformDecimal)({fixed:2}),Fc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"vICMSRet",void 0);Ac([(0,Fn.IsOptional)(),(0,Fn.IsString)(),Fc("design:type",String)],ti.prototype,"CFOP",void 0);Ac([(0,Fn.IsOptional)(),(0,Fn.IsString)(),Fc("design:type",String)],ti.prototype,"cMunFG",void 0);var Ho=require("class-validator");function Dc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Dc,"_ts_decorate");function Ec(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ec,"_ts_metadata");var Dn=class{static{s(this,"VeicTransp")}placa;UF;RNTC};Dc([(0,Ho.IsOptional)(),(0,Ho.IsString)(),Ec("design:type",String)],Dn.prototype,"placa",void 0);Dc([(0,Ho.IsOptional)(),(0,Ho.IsString)(),Ec("design:type",String)],Dn.prototype,"UF",void 0);Dc([(0,Ho.IsOptional)(),(0,Ho.IsString)(),Ec("design:type",String)],Dn.prototype,"RNTC",void 0);var hs=class{static{s(this,"Reboque")}placa;UF;RNTC};Dc([(0,Ho.IsOptional)(),(0,Ho.IsString)(),Ec("design:type",String)],hs.prototype,"placa",void 0);Dc([(0,Ho.IsOptional)(),(0,Ho.IsString)(),Ec("design:type",String)],hs.prototype,"UF",void 0);Dc([(0,Ho.IsOptional)(),(0,Ho.IsString)(),Ec("design:type",String)],hs.prototype,"RNTC",void 0);var Ci=require("class-validator"),Lh=require("nfets/core");function Pc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Pc,"_ts_decorate");function Tc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Tc,"_ts_metadata");var En=class{static{s(this,"Vol")}qVol;esp;marca;nVol;pesoL;pesoB};Pc([(0,Ci.IsOptional)(),(0,Ci.IsString)(),Tc("design:type",String)],En.prototype,"qVol",void 0);Pc([(0,Ci.IsOptional)(),(0,Ci.IsString)(),Tc("design:type",String)],En.prototype,"esp",void 0);Pc([(0,Ci.IsOptional)(),(0,Ci.IsString)(),Tc("design:type",String)],En.prototype,"marca",void 0);Pc([(0,Ci.IsOptional)(),(0,Ci.IsString)(),Tc("design:type",String)],En.prototype,"nVol",void 0);Pc([(0,Ci.IsOptional)(),(0,Lh.TransformDecimal)({fixed:3}),Tc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],En.prototype,"pesoL",void 0);Pc([(0,Ci.IsOptional)(),(0,Lh.TransformDecimal)({fixed:3}),Tc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],En.prototype,"pesoB",void 0);var Vh=require("nfets/core");function fr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(fr,"_ts_decorate");function ia(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ia,"_ts_metadata");var lo=class{static{s(this,"Transp")}modFrete;transporta;retTransp;veicTransp;reboque;vagao;balsa;vol};fr([(0,ut.IsString)(),ia("design:type",String)],lo.prototype,"modFrete",void 0);fr([(0,ut.IsOptional)(),(0,ut.ValidateNested)(),(0,zc.Type)(()=>co),ia("design:type",typeof co>"u"?Object:co)],lo.prototype,"transporta",void 0);fr([(0,ut.IsOptional)(),(0,ut.ValidateNested)(),(0,zc.Type)(()=>ti),ia("design:type",typeof ti>"u"?Object:ti)],lo.prototype,"retTransp",void 0);fr([(0,ut.IsOptional)(),(0,ut.ValidateNested)(),(0,zc.Type)(()=>Dn),ia("design:type",typeof Dn>"u"?Object:Dn)],lo.prototype,"veicTransp",void 0);fr([(0,ut.IsOptional)(),(0,ut.ValidateNested)({each:!0}),(0,zc.Type)(()=>hs),(0,ut.ArrayMaxSize)(5),ia("design:type",Array)],lo.prototype,"reboque",void 0);fr([(0,ut.IsOptional)(),(0,ut.IsString)(),ia("design:type",String)],lo.prototype,"vagao",void 0);fr([(0,ut.IsOptional)(),(0,ut.IsString)(),ia("design:type",String)],lo.prototype,"balsa",void 0);fr([(0,ut.IsOptional)(),(0,ut.ValidateNested)({each:!0}),(0,zc.Type)(()=>En),(0,ut.ArrayMaxSize)(5e3),ia("design:type",Array)],lo.prototype,"vol",void 0);lo=fr([(0,Vh.Choice)({properties:["veicTransp","reboque"]}),(0,Vh.Choice)({properties:["vagao","balsa"]})],lo);var It=require("class-validator"),_h=require("class-transformer"),Pl=require("nfets/core");function hr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(hr,"_ts_decorate");function vr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(vr,"_ts_metadata");var mr=class{static{s(this,"Fat")}nFat;vOrig;vDesc;vLiq};hr([(0,It.IsOptional)(),(0,It.IsString)(),vr("design:type",String)],mr.prototype,"nFat",void 0);hr([(0,It.IsOptional)(),(0,Pl.TransformDecimal)({fixed:2}),vr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mr.prototype,"vOrig",void 0);hr([(0,It.IsOptional)(),(0,Pl.TransformDecimal)({fixed:2}),vr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mr.prototype,"vDesc",void 0);hr([(0,It.IsOptional)(),(0,Pl.TransformDecimal)({fixed:2}),vr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mr.prototype,"vLiq",void 0);var jc=class{static{s(this,"Dup")}nDup;dVenc;vDup};hr([(0,It.IsOptional)(),(0,It.IsString)(),vr("design:type",String)],jc.prototype,"nDup",void 0);hr([(0,It.IsOptional)(),(0,It.IsString)(),vr("design:type",String)],jc.prototype,"dVenc",void 0);hr([(0,It.IsOptional)(),(0,Pl.TransformDecimal)({fixed:2}),vr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],jc.prototype,"vDup",void 0);var na=class{static{s(this,"Cobr")}fat;dup};hr([(0,It.IsOptional)(),(0,It.ValidateNested)(),(0,_h.Type)(()=>mr),vr("design:type",typeof mr>"u"?Object:mr)],na.prototype,"fat",void 0);hr([(0,It.IsOptional)(),(0,It.ValidateNested)({each:!0}),(0,It.ArrayMaxSize)(120),(0,_h.Type)(()=>jc),vr("design:type",Array)],na.prototype,"dup",void 0);var ca=require("class-validator"),RS=require("class-transformer");var Eo=require("class-validator"),SS=require("class-transformer");var ko=require("class-validator");function Bc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Bc,"_ts_decorate");function Mc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Mc,"_ts_metadata");var oi=class{static{s(this,"Card")}tpIntegra;CNPJ;tBand;cAut;CNPJReceb;idTermPag};Bc([(0,ko.IsOptional)(),(0,ko.IsString)(),Mc("design:type",String)],oi.prototype,"tpIntegra",void 0);Bc([(0,ko.IsOptional)(),(0,ko.IsString)(),Mc("design:type",String)],oi.prototype,"CNPJ",void 0);Bc([(0,ko.IsOptional)(),(0,ko.IsString)(),Mc("design:type",String)],oi.prototype,"tBand",void 0);Bc([(0,ko.IsOptional)(),(0,ko.IsString)(),Mc("design:type",String)],oi.prototype,"cAut",void 0);Bc([(0,ko.IsOptional)(),(0,ko.IsString)(),Mc("design:type",String)],oi.prototype,"CNPJReceb",void 0);Bc([(0,ko.IsOptional)(),(0,ko.IsString)(),Mc("design:type",String)],oi.prototype,"idTermPag",void 0);var bd=require("nfets/core");function ra(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ra,"_ts_decorate");function aa(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(aa,"_ts_metadata");var Ni=class{static{s(this,"DetPag")}indPag;tPag;xPag;vPag;dPag;CNPJPag;UFPag;card};ra([(0,Eo.IsOptional)(),(0,Eo.IsString)(),aa("design:type",String)],Ni.prototype,"indPag",void 0);ra([(0,Eo.IsString)(),aa("design:type",typeof TPag>"u"?Object:TPag)],Ni.prototype,"tPag",void 0);ra([(0,Eo.IsOptional)(),(0,Eo.IsString)(),aa("design:type",String)],Ni.prototype,"xPag",void 0);ra([(0,bd.TransformDecimal)({fixed:2}),aa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ni.prototype,"vPag",void 0);ra([(0,Eo.IsOptional)(),(0,bd.TransformDateString)({format:"YYYY-MM-DD"}),aa("design:type",String)],Ni.prototype,"dPag",void 0);ra([(0,Eo.IsOptional)(),(0,Eo.IsString)(),aa("design:type",String)],Ni.prototype,"CNPJPag",void 0);ra([(0,Eo.IsOptional)(),(0,Eo.IsString)(),aa("design:type",String)],Ni.prototype,"UFPag",void 0);ra([(0,Eo.IsOptional)(),(0,Eo.ValidateNested)(),(0,SS.Type)(()=>oi),aa("design:type",typeof oi>"u"?Object:oi)],Ni.prototype,"card",void 0);var wS=require("nfets/core");function CS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(CS,"_ts_decorate");function NS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(NS,"_ts_metadata");var sa=class{static{s(this,"Pag")}detPag;vTroco};CS([(0,ca.ValidateNested)({each:!0}),(0,ca.ArrayMinSize)(1),(0,ca.ArrayMaxSize)(100),(0,RS.Type)(()=>Ni),NS("design:type",Array)],sa.prototype,"detPag",void 0);CS([(0,ca.IsOptional)(),(0,wS.TransformDecimal)({fixed:2}),NS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],sa.prototype,"vTroco",void 0);var $e=require("class-validator"),xd=require("class-transformer");function gr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(gr,"_ts_decorate");function yr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(yr,"_ts_metadata");var Lc=class{static{s(this,"InfAdicObs")}xCampo;xTexto};gr([(0,$e.IsString)(),yr("design:type",String)],Lc.prototype,"xCampo",void 0);gr([(0,$e.IsString)(),yr("design:type",String)],Lc.prototype,"xTexto",void 0);var Tl=class{static{s(this,"ProcRef")}nProc;indProc};gr([(0,$e.IsOptional)(),(0,$e.IsString)(),yr("design:type",String)],Tl.prototype,"nProc",void 0);gr([(0,$e.IsOptional)(),(0,$e.IsString)(),yr("design:type",String)],Tl.prototype,"indProc",void 0);var tn=class{static{s(this,"InfAdic")}infAdFisco;infCpl;obsCont;obsFisco;procRef};gr([(0,$e.IsOptional)(),(0,$e.IsString)(),yr("design:type",String)],tn.prototype,"infAdFisco",void 0);gr([(0,$e.IsOptional)(),(0,$e.IsString)(),yr("design:type",String)],tn.prototype,"infCpl",void 0);gr([(0,$e.IsOptional)(),(0,$e.ValidateNested)({each:!0}),(0,xd.Type)(()=>Lc),(0,$e.ArrayMaxSize)(10),yr("design:type",Array)],tn.prototype,"obsCont",void 0);gr([(0,$e.IsOptional)(),(0,$e.ValidateNested)({each:!0}),(0,xd.Type)(()=>Lc),(0,$e.ArrayMaxSize)(10),yr("design:type",Array)],tn.prototype,"obsFisco",void 0);gr([(0,$e.IsOptional)(),(0,$e.ValidateNested)({each:!0}),(0,xd.Type)(()=>Tl),(0,$e.ArrayMaxSize)(100),yr("design:type",Array)],tn.prototype,"procRef",void 0);var Re=require("class-validator"),Cd=require("class-transformer"),Bl=require("nfets/core");function Po(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Po,"_ts_decorate");function To(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(To,"_ts_metadata");var Sd=class{static{s(this,"ForDiaAttributes")}dia};Po([(0,Re.IsString)(),To("design:type",String)],Sd.prototype,"dia",void 0);var zl=class{static{s(this,"ForDia")}$;qtde};Po([(0,Re.IsObject)(),(0,Re.IsNotEmptyObject)(),(0,Cd.Type)(()=>Sd),To("design:type",typeof IForDiaAttributes>"u"?Object:IForDiaAttributes)],zl.prototype,"$",void 0);Po([(0,Re.IsString)(),To("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zl.prototype,"qtde",void 0);var jl=class{static{s(this,"Deduc")}xDed;vDed};Po([(0,Re.IsString)(),To("design:type",String)],jl.prototype,"xDed",void 0);Po([(0,Bl.TransformDecimal)({fixed:2}),To("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],jl.prototype,"vDed",void 0);var uo=class{static{s(this,"Cana")}safra;ref;forDia;qTotMes;qTotAnt;qTotGer;deduc;vFor;vTotDed;vLiqFor};Po([(0,Re.IsString)(),To("design:type",String)],uo.prototype,"safra",void 0);Po([(0,Re.IsString)(),To("design:type",String)],uo.prototype,"ref",void 0);Po([(0,Re.ValidateNested)({each:!0}),(0,Re.ArrayMaxSize)(31),(0,Cd.Type)(()=>zl),To("design:type",Array)],uo.prototype,"forDia",void 0);Po([(0,Re.IsOptional)(),(0,Re.IsString)(),To("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"qTotMes",void 0);Po([(0,Re.IsOptional)(),(0,Re.IsString)(),To("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"qTotAnt",void 0);Po([(0,Re.IsOptional)(),(0,Re.IsString)(),To("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"qTotGer",void 0);Po([(0,Re.IsOptional)(),(0,Re.ValidateNested)({each:!0}),(0,Re.ArrayMaxSize)(10),(0,Cd.Type)(()=>jl),To("design:type",Array)],uo.prototype,"deduc",void 0);Po([(0,Re.IsOptional)(),(0,Bl.TransformDecimal)({fixed:2}),To("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"vFor",void 0);Po([(0,Re.IsOptional)(),(0,Bl.TransformDecimal)({fixed:2}),To("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"vTotDed",void 0);Po([(0,Re.IsOptional)(),(0,Bl.TransformDecimal)({fixed:2}),To("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"vLiqFor",void 0);var Ot=require("class-validator"),Is=require("class-transformer");var F=require("class-validator"),Pn=require("nfets/core"),nn=require("class-transformer");var on=require("class-validator");function Ml(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ml,"_ts_decorate");function Ll(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ll,"_ts_metadata");var br=class{static{s(this,"Rastro")}nLote;qLote;dFab;dVal;cAgreg};Ml([(0,on.IsString)(),Ll("design:type",String)],br.prototype,"nLote",void 0);Ml([(0,on.IsOptional)(),(0,on.IsString)(),Ll("design:type",String)],br.prototype,"qLote",void 0);Ml([(0,on.IsOptional)(),(0,on.IsString)(),Ll("design:type",String)],br.prototype,"dFab",void 0);Ml([(0,on.IsOptional)(),(0,on.IsString)(),Ll("design:type",String)],br.prototype,"dVal",void 0);Ml([(0,on.IsOptional)(),(0,on.IsString)(),Ll("design:type",String)],br.prototype,"cAgreg",void 0);var zS=require("nfets/core");var he=require("class-validator"),IS=require("class-transformer"),Vl=require("nfets/core");function Ut(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ut,"_ts_decorate");function $t(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s($t,"_ts_metadata");var pa=class{static{s(this,"Adi")}nAdicao;nSeqAdic;cFabricante;vDescDI;nDraw};Ut([(0,he.IsString)(),$t("design:type",String)],pa.prototype,"nAdicao",void 0);Ut([(0,he.IsString)(),$t("design:type",String)],pa.prototype,"nSeqAdic",void 0);Ut([(0,he.IsString)(),$t("design:type",String)],pa.prototype,"cFabricante",void 0);Ut([(0,Vl.TransformDecimal)({fixed:2}),$t("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pa.prototype,"vDescDI",void 0);Ut([(0,he.IsOptional)(),(0,he.IsString)(),$t("design:type",String)],pa.prototype,"nDraw",void 0);var _t=class{static{s(this,"DI")}nDI;dDI;xLocDesemb;UFDesemb;dDesemb;tpViaTransp;vAFRMM;tpIntermedio;CNPJ="";CPF="";UFTerceiro;adi};Ut([(0,he.IsString)(),$t("design:type",String)],_t.prototype,"nDI",void 0);Ut([(0,he.IsString)(),$t("design:type",String)],_t.prototype,"dDI",void 0);Ut([(0,he.IsString)(),$t("design:type",String)],_t.prototype,"xLocDesemb",void 0);Ut([(0,he.IsString)(),$t("design:type",String)],_t.prototype,"UFDesemb",void 0);Ut([(0,he.IsString)(),$t("design:type",String)],_t.prototype,"dDesemb",void 0);Ut([(0,he.IsString)(),$t("design:type",String)],_t.prototype,"tpViaTransp",void 0);Ut([(0,he.IsOptional)(),(0,Vl.TransformDecimal)({fixed:2}),$t("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_t.prototype,"vAFRMM",void 0);Ut([(0,he.IsString)(),$t("design:type",String)],_t.prototype,"tpIntermedio",void 0);Ut([(0,he.IsString)(),(0,he.IsOptional)(),$t("design:type",String)],_t.prototype,"CNPJ",void 0);Ut([(0,he.IsString)(),(0,he.IsOptional)(),$t("design:type",String)],_t.prototype,"CPF",void 0);Ut([(0,he.IsString)(),(0,he.IsOptional)(),$t("design:type",String)],_t.prototype,"UFTerceiro",void 0);Ut([(0,he.IsArray)(),(0,he.ValidateNested)({each:!0}),(0,IS.Type)(()=>pa),(0,he.ArrayMaxSize)(999),(0,he.ArrayMinSize)(1),$t("design:type",Array)],_t.prototype,"adi",void 0);_t=Ut([(0,Vl.Choice)({properties:["CNPJ","CPF"],required:!0})],_t);var OS=require("class-transformer"),xr=require("class-validator"),AS=require("nfets/core");function _l(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(_l,"_ts_decorate");function Ul(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ul,"_ts_metadata");var Vc=class{static{s(this,"ExportInd")}nRE;chNFe;qExport};_l([(0,xr.IsString)(),Ul("design:type",String)],Vc.prototype,"nRE",void 0);_l([(0,xr.IsString)(),Ul("design:type",String)],Vc.prototype,"chNFe",void 0);_l([(0,AS.TransformDecimal)({fixed:4}),Ul("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vc.prototype,"qExport",void 0);var _c=class{static{s(this,"DetExport")}nDraw;exportInd};_l([(0,xr.IsOptional)(),(0,xr.IsString)(),Ul("design:type",String)],_c.prototype,"nDraw",void 0);_l([(0,xr.IsOptional)(),(0,xr.ValidateNested)(),(0,OS.Type)(()=>Vc),Ul("design:type",typeof IExportInd>"u"?Object:IExportInd)],_c.prototype,"exportInd",void 0);var Uh=require("class-validator");function FS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(FS,"_ts_decorate");function DS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(DS,"_ts_metadata");var Uc=class{static{s(this,"InfProdNFF")}cProdFisco;cOperNFF};FS([(0,Uh.IsString)(),DS("design:type",String)],Uc.prototype,"cProdFisco",void 0);FS([(0,Uh.IsString)(),DS("design:type",String)],Uc.prototype,"cOperNFF",void 0);var kh=require("class-validator"),ES=require("nfets/core");function qh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(qh,"_ts_decorate");function Hh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Hh,"_ts_metadata");var vs=class{static{s(this,"InfProdEmb")}xEmb;qVolEmb;uEmb};qh([(0,kh.IsString)(),Hh("design:type",String)],vs.prototype,"xEmb",void 0);qh([(0,ES.TransformDecimal)({fixed:3}),Hh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vs.prototype,"qVolEmb",void 0);qh([(0,kh.IsString)(),Hh("design:type",String)],vs.prototype,"uEmb",void 0);var Fe=require("class-validator");function Me(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Me,"_ts_decorate");function Le(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Le,"_ts_metadata");var Ce=class{static{s(this,"VeicProd")}tpOp;chassi;cCor;xCor;pot;cilin;pesoL;pesoB;nSerie;tpComb;nMotor;CMT;dist;anoMod;anoFab;tpPint;tpVeic;espVeic;VIN;condVeic;cMod;cCorDENATRAN;lota;tpRest};Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"tpOp",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"chassi",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"cCor",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"xCor",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"pot",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"cilin",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"pesoL",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"pesoB",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"nSerie",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"tpComb",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"nMotor",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"CMT",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"dist",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"anoMod",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"anoFab",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"tpPint",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"tpVeic",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"espVeic",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"VIN",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"condVeic",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"cMod",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"cCorDENATRAN",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"lota",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"tpRest",void 0);var Zh=require("class-validator"),PS=require("nfets/core");function Gh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Gh,"_ts_decorate");function Qh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Qh,"_ts_metadata");var gs=class{static{s(this,"Med")}cProdANVISA;xMotivoIsencao;vPMC};Gh([(0,Zh.IsString)(),Qh("design:type",String)],gs.prototype,"cProdANVISA",void 0);Gh([(0,Zh.IsString)(),Qh("design:type",String)],gs.prototype,"xMotivoIsencao",void 0);Gh([(0,PS.TransformDecimal)({fixed:2}),Qh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gs.prototype,"vPMC",void 0);var ql=require("class-validator");function Nd(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Nd,"_ts_decorate");function Rd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Rd,"_ts_metadata");var la=class{static{s(this,"Arma")}tpArma;nSerie;nCano;descr};Nd([(0,ql.IsString)(),Rd("design:type",String)],la.prototype,"tpArma",void 0);Nd([(0,ql.IsString)(),Rd("design:type",String)],la.prototype,"nSerie",void 0);Nd([(0,ql.IsString)(),Rd("design:type",String)],la.prototype,"nCano",void 0);Nd([(0,ql.IsString)(),Rd("design:type",String)],la.prototype,"descr",void 0);var ae=require("class-validator"),wd=require("class-transformer"),ii=require("nfets/core");function Ve(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ve,"_ts_decorate");function _e(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(_e,"_ts_metadata");var qc=class{static{s(this,"OrigComb")}indImport;cUFOrig;pOrig};Ve([(0,ae.IsString)(),_e("design:type",String)],qc.prototype,"indImport",void 0);Ve([(0,ae.IsString)(),_e("design:type",String)],qc.prototype,"cUFOrig",void 0);Ve([(0,ii.TransformDecimal)({fixed:4}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qc.prototype,"pOrig",void 0);var Hc=class{static{s(this,"CIDE")}qBCProd;vAliqProd;vCIDE};Ve([(0,ii.TransformDecimal)({fixed:4}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hc.prototype,"qBCProd",void 0);Ve([(0,ii.TransformDecimal)({fixed:4}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hc.prototype,"vAliqProd",void 0);Ve([(0,ii.TransformDecimal)({fixed:2}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hc.prototype,"vCIDE",void 0);var ua=class{static{s(this,"Encerrante")}nBico;nBomba;nTanque;vEncIni;vEncFin};Ve([(0,ae.IsString)(),_e("design:type",String)],ua.prototype,"nBico",void 0);Ve([(0,ae.IsString)(),_e("design:type",String)],ua.prototype,"nBomba",void 0);Ve([(0,ae.IsString)(),_e("design:type",String)],ua.prototype,"nTanque",void 0);Ve([(0,ii.TransformDecimal)({fixed:3}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ua.prototype,"vEncIni",void 0);Ve([(0,ii.TransformDecimal)({fixed:3}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ua.prototype,"vEncFin",void 0);var eo=class{static{s(this,"Comb")}cProdANP;descANP;pGLP;pGNn;pGNi;vPart;CODIF;qTemp;UFCons;CIDE;encerrante;pBio;origComb};Ve([(0,ae.IsString)(),_e("design:type",String)],eo.prototype,"cProdANP",void 0);Ve([(0,ae.IsString)(),_e("design:type",String)],eo.prototype,"descANP",void 0);Ve([(0,ae.IsOptional)(),(0,ii.TransformDecimal)({fixed:4}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"pGLP",void 0);Ve([(0,ae.IsOptional)(),(0,ii.TransformDecimal)({fixed:4}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"pGNn",void 0);Ve([(0,ae.IsOptional)(),(0,ii.TransformDecimal)({fixed:4}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"pGNi",void 0);Ve([(0,ae.IsOptional)(),(0,ii.TransformDecimal)({fixed:2}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"vPart",void 0);Ve([(0,ae.IsString)(),(0,ae.IsOptional)(),_e("design:type",String)],eo.prototype,"CODIF",void 0);Ve([(0,ae.IsOptional)(),(0,ii.TransformDecimal)({fixed:4}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"qTemp",void 0);Ve([(0,ae.IsString)(),_e("design:type",String)],eo.prototype,"UFCons",void 0);Ve([(0,ae.IsOptional)(),(0,ae.IsObject)(),(0,ae.ValidateNested)(),(0,wd.Type)(()=>Hc),_e("design:type",typeof ICIDE>"u"?Object:ICIDE)],eo.prototype,"CIDE",void 0);Ve([(0,ae.IsOptional)(),(0,ae.IsObject)(),(0,ae.ValidateNested)(),(0,wd.Type)(()=>ua),_e("design:type",typeof IEncerrante>"u"?Object:IEncerrante)],eo.prototype,"encerrante",void 0);Ve([(0,ae.IsOptional)(),(0,ii.TransformDecimal)({fixed:4}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"pBio",void 0);Ve([(0,ae.IsArray)(),(0,ae.ValidateNested)({each:!0}),(0,wd.Type)(()=>qc),(0,ae.ArrayMaxSize)(30),(0,ae.IsOptional)(),_e("design:type",Array)],eo.prototype,"origComb",void 0);var TS=require("class-validator"),Wh=require("nfets/core");function Yh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Yh,"_ts_decorate");function Jh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Jh,"_ts_metadata");var ys=class{static{s(this,"GCred")}cCredPresumido;pCredPresumido;vCredPresumido};Yh([(0,TS.IsString)(),Jh("design:type",String)],ys.prototype,"cCredPresumido",void 0);Yh([(0,Wh.TransformDecimal)({fixed:4}),Jh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ys.prototype,"pCredPresumido",void 0);Yh([(0,Wh.TransformDecimal)({fixed:2}),Jh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ys.prototype,"vCredPresumido",void 0);function Y(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Y,"_ts_decorate");function W(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(W,"_ts_metadata");var U=class{static{s(this,"Prod")}cProd;cEAN;cBarra;xProd;NCM;NVE;CEST;indEscala;CNPJFab;cBenef;gCred;tpCredPresIBSZFM;EXTIPI;CFOP;uCom;qCom;vUnCom;vProd;cEANTrib;cBarraTrib;uTrib;qTrib;vUnTrib;vFrete;vSeg;vDesc;vOutro;indTot;indBemMovelUsado;DI;detExport;xPed;nItemPed;nFCI;rastro;infProdNFF;infProdEmb;veicProd;med;arma;comb;nRECOPI};Y([(0,F.IsString)(),W("design:type",String)],U.prototype,"cProd",void 0);Y([(0,F.IsString)(),W("design:type",String)],U.prototype,"cEAN",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),W("design:type",String)],U.prototype,"cBarra",void 0);Y([(0,F.IsString)(),W("design:type",String)],U.prototype,"xProd",void 0);Y([(0,F.IsString)(),W("design:type",String)],U.prototype,"NCM",void 0);Y([(0,F.IsOptional)(),(0,F.IsArray)(),(0,F.ArrayMaxSize)(8),(0,F.IsString)({each:!0}),W("design:type",Array)],U.prototype,"NVE",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),W("design:type",String)],U.prototype,"CEST",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),W("design:type",String)],U.prototype,"indEscala",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),W("design:type",String)],U.prototype,"CNPJFab",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),W("design:type",String)],U.prototype,"cBenef",void 0);Y([(0,F.IsOptional)(),(0,F.IsArray)(),(0,F.ArrayMaxSize)(4),(0,F.ValidateNested)({each:!0}),(0,nn.Type)(()=>ys),W("design:type",Array)],U.prototype,"gCred",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),W("design:type",String)],U.prototype,"tpCredPresIBSZFM",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),W("design:type",String)],U.prototype,"EXTIPI",void 0);Y([(0,F.IsString)(),W("design:type",String)],U.prototype,"CFOP",void 0);Y([(0,F.IsString)(),W("design:type",String)],U.prototype,"uCom",void 0);Y([(0,Pn.TransformDecimal)({fixed:4}),W("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"qCom",void 0);Y([(0,Pn.TransformDecimal)({fixed:10}),W("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vUnCom",void 0);Y([(0,Pn.TransformDecimal)({fixed:2}),W("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vProd",void 0);Y([(0,F.IsString)(),W("design:type",String)],U.prototype,"cEANTrib",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),W("design:type",String)],U.prototype,"cBarraTrib",void 0);Y([(0,F.IsString)(),W("design:type",String)],U.prototype,"uTrib",void 0);Y([(0,Pn.TransformDecimal)({fixed:4}),W("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"qTrib",void 0);Y([(0,Pn.TransformDecimal)({fixed:10}),W("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vUnTrib",void 0);Y([(0,F.IsOptional)(),(0,Pn.TransformDecimal)({fixed:2}),W("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vFrete",void 0);Y([(0,F.IsOptional)(),(0,Pn.TransformDecimal)({fixed:2}),W("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vSeg",void 0);Y([(0,F.IsOptional)(),(0,Pn.TransformDecimal)({fixed:2}),W("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vDesc",void 0);Y([(0,F.IsOptional)(),(0,Pn.TransformDecimal)({fixed:2}),W("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vOutro",void 0);Y([(0,F.IsString)(),W("design:type",String)],U.prototype,"indTot",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),W("design:type",String)],U.prototype,"indBemMovelUsado",void 0);Y([(0,F.IsOptional)(),(0,F.IsArray)(),(0,F.ValidateNested)({each:!0}),(0,F.ArrayMaxSize)(100),(0,nn.Type)(()=>_t),W("design:type",Array)],U.prototype,"DI",void 0);Y([(0,F.IsOptional)(),(0,F.IsArray)(),(0,F.ValidateNested)({each:!0}),(0,F.ArrayMaxSize)(500),(0,nn.Type)(()=>_c),W("design:type",Array)],U.prototype,"detExport",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),W("design:type",String)],U.prototype,"xPed",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),W("design:type",String)],U.prototype,"nItemPed",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),W("design:type",String)],U.prototype,"nFCI",void 0);Y([(0,F.IsOptional)(),(0,F.IsArray)(),(0,F.ValidateNested)({each:!0}),(0,F.ArrayMaxSize)(500),(0,nn.Type)(()=>br),W("design:type",Array)],U.prototype,"rastro",void 0);Y([(0,F.IsOptional)(),(0,F.IsObject)(),(0,F.ValidateNested)(),(0,nn.Type)(()=>Uc),W("design:type",typeof IInfProdNFF>"u"?Object:IInfProdNFF)],U.prototype,"infProdNFF",void 0);Y([(0,F.IsOptional)(),(0,F.IsObject)(),(0,F.ValidateNested)(),(0,nn.Type)(()=>vs),W("design:type",typeof IInfProdEmb>"u"?Object:IInfProdEmb)],U.prototype,"infProdEmb",void 0);Y([(0,F.IsOptional)(),(0,F.IsObject)(),(0,F.ValidateNested)(),(0,nn.Type)(()=>Ce),W("design:type",typeof IVeicProd>"u"?Object:IVeicProd)],U.prototype,"veicProd",void 0);Y([(0,F.IsOptional)(),(0,F.IsObject)(),(0,F.ValidateNested)(),(0,nn.Type)(()=>gs),W("design:type",typeof IMed>"u"?Object:IMed)],U.prototype,"med",void 0);Y([(0,F.IsOptional)(),(0,F.IsObject)(),(0,F.ValidateNested)({each:!0}),(0,nn.Type)(()=>la),(0,F.ArrayMaxSize)(500),W("design:type",Array)],U.prototype,"arma",void 0);Y([(0,F.IsOptional)(),(0,F.IsObject)(),(0,F.ValidateNested)(),(0,nn.Type)(()=>eo),W("design:type",typeof IComb>"u"?Object:IComb)],U.prototype,"comb",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),W("design:type",String)],U.prototype,"nRECOPI",void 0);U=Y([(0,zS.Choice)({properties:["veicProd","med","arma","comb"]})],U);var Pi=require("class-transformer"),Pe=require("class-validator");var f=require("class-validator"),nt=require("class-transformer"),S=require("nfets/core");function v(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(v,"_ts_decorate");function g(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(g,"_ts_metadata");var Ri=class{static{s(this,"ICMS00")}orig;CST;modBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP};v([(0,f.IsString)(),g("design:type",String)],Ri.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],Ri.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],Ri.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"vBCFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"pFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"vFCP",void 0);var da=class{static{s(this,"ICMS02")}orig;CST;qBCMono;adRemICMS;vICMSMono};v([(0,f.IsString)(),g("design:type",String)],da.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],da.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],da.prototype,"qBCMono",void 0);v([(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],da.prototype,"adRemICMS",void 0);v([(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],da.prototype,"vICMSMono",void 0);var dt=class{static{s(this,"ICMS10")}orig;CST;modBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST};v([(0,f.IsString)(),g("design:type",String)],dt.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],dt.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],dt.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"vBCFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"pFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"vFCP",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],dt.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"pMVAST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"pRedBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"vBCFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"pFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"vFCPST",void 0);var ni=class{static{s(this,"ICMS15")}orig;CST;qBCMono;adRemICMS;vICMSMono;qBCMonoReten;adRemICMSReten;vICMSMonoReten;pRedAdRem;motRedAdRem};v([(0,f.IsString)(),g("design:type",String)],ni.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],ni.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"qBCMono",void 0);v([(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"adRemICMS",void 0);v([(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"vICMSMono",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"qBCMonoReten",void 0);v([(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"adRemICMSReten",void 0);v([(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"vICMSMonoReten",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),(0,f.Max)(100),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"pRedAdRem",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],ni.prototype,"motRedAdRem",void 0);var zo=class{static{s(this,"ICMS20")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;vICMSDeson;motDesICMS};v([(0,f.IsString)(),g("design:type",String)],zo.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],zo.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],zo.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"vBCFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"pFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"vFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"vICMSDeson",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],zo.prototype,"motDesICMS",void 0);var fo=class{static{s(this,"ICMS30")}orig;CST;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST;vICMSDeson;motDesICMS};v([(0,f.IsString)(),g("design:type",String)],fo.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],fo.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],fo.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"pMVAST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"pRedBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vBCFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"pFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vICMSDeson",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],fo.prototype,"motDesICMS",void 0);var bs=class{static{s(this,"ICMS40")}orig;CST;vICMSDeson;motDesICMS};v([(0,f.IsString)(),g("design:type",String)],bs.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],bs.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bs.prototype,"vICMSDeson",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],bs.prototype,"motDesICMS",void 0);var wi=class{static{s(this,"ICMS51")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;pDif;vICMSDif};v([(0,f.IsString)(),g("design:type",String)],wi.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],wi.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],wi.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),(0,f.Max)(100),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"pDif",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"vICMSDif",void 0);var ri=class{static{s(this,"ICMS53")}orig;CST;qBCMono;adRemICMS;vICMSMonoOp;pDif;vICMSMonoDif;vICMSMono;qBCMonoDif;adRemICMSDif};v([(0,f.IsString)(),g("design:type",String)],ri.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],ri.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"qBCMono",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"adRemICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"vICMSMonoOp",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),(0,f.Max)(100),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"pDif",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"vICMSMonoDif",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"vICMSMono",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"qBCMonoDif",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"adRemICMSDif",void 0);var mo=class{static{s(this,"ICMS60")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet;vBCFCPSTRet;pFCPSTRet;vFCPSTRet;pRedBCEfet;vBCEfet;pICMSEfet;vICMSEfet};v([(0,f.IsString)(),g("design:type",String)],mo.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],mo.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vBCSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vICMSSubstituto",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vICMSSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vBCFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pRedBCEfet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vBCEfet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pICMSEfet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vICMSEfet",void 0);var fa=class{static{s(this,"ICMS61")}orig;CST;qBCMonoRet;adRemICMSRet;vICMSMonoRet};v([(0,f.IsString)(),g("design:type",String)],fa.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],fa.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fa.prototype,"qBCMonoRet",void 0);v([(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fa.prototype,"adRemICMSRet",void 0);v([(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fa.prototype,"vICMSMonoRet",void 0);var Ue=class{static{s(this,"ICMS70")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;vICMSDeson;motDesICMS;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST};v([(0,f.IsString)(),g("design:type",String)],Ue.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],Ue.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],Ue.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vBCFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vICMSDeson",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],Ue.prototype,"motDesICMS",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],Ue.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pMVAST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pRedBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vBCFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vFCPST",void 0);var qe=class{static{s(this,"ICMS90")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;vICMSDeson;motDesICMS;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST};v([(0,f.IsString)(),g("design:type",String)],qe.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],qe.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],qe.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vBCFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vICMSDeson",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],qe.prototype,"motDesICMS",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],qe.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pMVAST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pRedBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vBCFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vFCPST",void 0);var qt=class{static{s(this,"ICMSPart")}orig;CST;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;pBCOp;UFST};v([(0,f.IsString)(),g("design:type",String)],qt.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],qt.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],qt.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],qt.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"pMVAST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"pRedBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"pBCOp",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],qt.prototype,"UFST",void 0);var Sr=class{static{s(this,"ICMSST")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};v([(0,f.IsString)(),g("design:type",String)],Sr.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],Sr.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sr.prototype,"vBCSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sr.prototype,"pST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sr.prototype,"vICMSSubstituto",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sr.prototype,"vICMSSTRet",void 0);var xs=class{static{s(this,"ICMSSN101")}orig;CSOSN;pCredSN;vCredICMSSN};v([(0,f.IsString)(),g("design:type",String)],xs.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],xs.prototype,"CSOSN",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xs.prototype,"pCredSN",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xs.prototype,"vCredICMSSN",void 0);var Hl=class{static{s(this,"ICMSSN102")}orig;CSOSN};v([(0,f.IsString)(),g("design:type",String)],Hl.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],Hl.prototype,"CSOSN",void 0);var rn=class{static{s(this,"ICMSSN201")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};v([(0,f.IsString)(),g("design:type",String)],rn.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],rn.prototype,"CSOSN",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],rn.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rn.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rn.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rn.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rn.prototype,"pCredSN",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rn.prototype,"vCredICMSSN",void 0);var Cr=class{static{s(this,"ICMSSN202")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST};v([(0,f.IsString)(),g("design:type",String)],Cr.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],Cr.prototype,"CSOSN",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],Cr.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Cr.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Cr.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Cr.prototype,"vICMSST",void 0);var ho=class{static{s(this,"ICMSSN500")}orig;CSOSN;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet;vBCFCPSTRet;pFCPSTRet;vFCPSTRet;pRedBCEfet;vBCEfet;pICMSEfet;vICMSEfet};v([(0,f.IsString)(),g("design:type",String)],ho.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],ho.prototype,"CSOSN",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vBCSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vICMSSubstituto",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vICMSSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vBCFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pRedBCEfet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vBCEfet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pICMSEfet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vICMSEfet",void 0);var vo=class{static{s(this,"ICMSSN900")}orig;CSOSN;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};v([(0,f.IsString)(),g("design:type",String)],vo.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],vo.prototype,"CSOSN",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],vo.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],vo.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"pCredSN",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"vCredICMSSN",void 0);var ve=class{static{s(this,"ICMS")}ICMS00;ICMS02;ICMS10;ICMS15;ICMS20;ICMS30;ICMS40;ICMS51;ICMS53;ICMS60;ICMS61;ICMS70;ICMS90;ICMSPart;ICMSST;ICMSSN101;ICMSSN102;ICMSSN201;ICMSSN202;ICMSSN500;ICMSSN900};v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>Ri),g("design:type",typeof IICMS00>"u"?Object:IICMS00)],ve.prototype,"ICMS00",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>da),g("design:type",typeof IICMS02>"u"?Object:IICMS02)],ve.prototype,"ICMS02",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>dt),g("design:type",typeof IICMS10>"u"?Object:IICMS10)],ve.prototype,"ICMS10",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>ni),g("design:type",typeof IICMS15>"u"?Object:IICMS15)],ve.prototype,"ICMS15",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>zo),g("design:type",typeof IICMS20>"u"?Object:IICMS20)],ve.prototype,"ICMS20",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>fo),g("design:type",typeof IICMS30>"u"?Object:IICMS30)],ve.prototype,"ICMS30",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>bs),g("design:type",typeof IICMS40>"u"?Object:IICMS40)],ve.prototype,"ICMS40",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>wi),g("design:type",typeof IICMS51>"u"?Object:IICMS51)],ve.prototype,"ICMS51",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>ri),g("design:type",typeof IICMS53>"u"?Object:IICMS53)],ve.prototype,"ICMS53",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>mo),g("design:type",typeof IICMS60>"u"?Object:IICMS60)],ve.prototype,"ICMS60",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>fa),g("design:type",typeof IICMS61>"u"?Object:IICMS61)],ve.prototype,"ICMS61",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>Ue),g("design:type",typeof IICMS70>"u"?Object:IICMS70)],ve.prototype,"ICMS70",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>qe),g("design:type",typeof IICMS90>"u"?Object:IICMS90)],ve.prototype,"ICMS90",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>qt),g("design:type",typeof IICMSPart>"u"?Object:IICMSPart)],ve.prototype,"ICMSPart",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>Sr),g("design:type",typeof IICMSST>"u"?Object:IICMSST)],ve.prototype,"ICMSST",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>xs),g("design:type",typeof IICMSSN101>"u"?Object:IICMSSN101)],ve.prototype,"ICMSSN101",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>Hl),g("design:type",typeof IICMSSN102>"u"?Object:IICMSSN102)],ve.prototype,"ICMSSN102",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>rn),g("design:type",typeof IICMSSN201>"u"?Object:IICMSSN201)],ve.prototype,"ICMSSN201",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>Cr),g("design:type",typeof IICMSSN202>"u"?Object:IICMSSN202)],ve.prototype,"ICMSSN202",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>ho),g("design:type",typeof IICMSSN500>"u"?Object:IICMSSN500)],ve.prototype,"ICMSSN500",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>vo),g("design:type",typeof IICMSSN900>"u"?Object:IICMSSN900)],ve.prototype,"ICMSSN900",void 0);ve=v([(0,S.Choice)({properties:["ICMS00","ICMS02","ICMS10","ICMS15","ICMS20","ICMS30","ICMS40","ICMS51","ICMS53","ICMS60","ICMS61","ICMS70","ICMS90","ICMSPart","ICMSST","ICMSSN101","ICMSSN102","ICMSSN201","ICMSSN202","ICMSSN500","ICMSSN900"]})],ve);var Oe=require("class-validator"),Xh=require("class-transformer");function ai(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ai,"_ts_decorate");function si(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(si,"_ts_metadata");var Nr=class{static{s(this,"IPITrib")}CST;vBC;pIPI;qUnid;vUnid;vIPI};ai([(0,Oe.IsString)(),si("design:type",String)],Nr.prototype,"CST",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.IsString)(),si("design:type",String)],Nr.prototype,"vBC",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.IsString)(),si("design:type",String)],Nr.prototype,"pIPI",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.IsString)(),si("design:type",String)],Nr.prototype,"qUnid",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.IsString)(),si("design:type",String)],Nr.prototype,"vUnid",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.IsString)(),si("design:type",String)],Nr.prototype,"vIPI",void 0);var Id=class{static{s(this,"IPINT")}CST};ai([(0,Oe.IsString)(),si("design:type",String)],Id.prototype,"CST",void 0);var Ii=class{static{s(this,"IPI")}CNPJProd;cSelo;qSelo;cEnq;IPITrib;IPINT};ai([(0,Oe.IsOptional)(),(0,Oe.IsString)(),si("design:type",String)],Ii.prototype,"CNPJProd",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.IsString)(),si("design:type",String)],Ii.prototype,"cSelo",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.IsString)(),si("design:type",String)],Ii.prototype,"qSelo",void 0);ai([(0,Oe.IsString)(),si("design:type",String)],Ii.prototype,"cEnq",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.ValidateNested)(),(0,Xh.Type)(()=>Nr),si("design:type",typeof IIPITrib>"u"?Object:IIPITrib)],Ii.prototype,"IPITrib",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.ValidateNested)(),(0,Xh.Type)(()=>Id),si("design:type",typeof IIPINT>"u"?Object:IIPINT)],Ii.prototype,"IPINT",void 0);var zn=require("class-validator");function Od(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Od,"_ts_decorate");function Ad(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ad,"_ts_metadata");var Tn=class{static{s(this,"II")}vBC;vDespAdu;vII;vIOF};Od([(0,zn.IsOptional)(),(0,zn.IsString)(),Ad("design:type",String)],Tn.prototype,"vBC",void 0);Od([(0,zn.IsOptional)(),(0,zn.IsString)(),Ad("design:type",String)],Tn.prototype,"vDespAdu",void 0);Od([(0,zn.IsOptional)(),(0,zn.IsString)(),Ad("design:type",String)],Tn.prototype,"vII",void 0);Od([(0,zn.IsOptional)(),(0,zn.IsString)(),Ad("design:type",String)],Tn.prototype,"vIOF",void 0);var k=require("class-validator"),kl=require("class-transformer"),cn=require("nfets/core");function He(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(He,"_ts_decorate");function ke(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ke,"_ts_metadata");var Rr=class{static{s(this,"PISAliq")}CST;vBC;pPIS;vPIS};He([(0,k.IsString)(),ke("design:type",String)],Rr.prototype,"CST",void 0);He([(0,k.IsOptional)(),(0,k.IsString)(),(0,cn.TransformDecimal)({fixed:2}),ke("design:type",String)],Rr.prototype,"vBC",void 0);He([(0,k.IsOptional)(),(0,k.IsString)(),(0,cn.TransformDecimal)({fixed:4}),ke("design:type",String)],Rr.prototype,"pPIS",void 0);He([(0,k.IsOptional)(),(0,k.IsString)(),(0,cn.TransformDecimal)({fixed:2}),ke("design:type",String)],Rr.prototype,"vPIS",void 0);var wr=class{static{s(this,"PISQtde")}CST;qBCProd;vAliqProd;vPIS};He([(0,k.IsString)(),ke("design:type",String)],wr.prototype,"CST",void 0);He([(0,k.IsOptional)(),(0,k.IsString)(),ke("design:type",String)],wr.prototype,"qBCProd",void 0);He([(0,k.IsOptional)(),(0,k.IsString)(),ke("design:type",String)],wr.prototype,"vAliqProd",void 0);He([(0,k.IsOptional)(),(0,k.IsString)(),(0,cn.TransformDecimal)({fixed:2}),ke("design:type",String)],wr.prototype,"vPIS",void 0);var kc=class{static{s(this,"PISNT")}CST};He([(0,k.IsString)(),ke("design:type",String)],kc.prototype,"CST",void 0);var an=class{static{s(this,"PISOutr")}CST;vBC;pPIS;qBCProd;vAliqProd;vPIS};He([(0,k.IsString)(),ke("design:type",String)],an.prototype,"CST",void 0);He([(0,k.IsOptional)(),(0,k.IsString)(),(0,cn.TransformDecimal)({fixed:2}),ke("design:type",String)],an.prototype,"vBC",void 0);He([(0,k.IsOptional)(),(0,k.IsString)(),(0,cn.TransformDecimal)({fixed:4}),ke("design:type",String)],an.prototype,"pPIS",void 0);He([(0,k.IsOptional)(),(0,k.IsString)(),ke("design:type",String)],an.prototype,"qBCProd",void 0);He([(0,k.IsOptional)(),(0,k.IsString)(),ke("design:type",String)],an.prototype,"vAliqProd",void 0);He([(0,k.IsOptional)(),(0,k.IsString)(),(0,cn.TransformDecimal)({fixed:2}),ke("design:type",String)],an.prototype,"vPIS",void 0);var jn=class{static{s(this,"PIS")}PISAliq;PISQtde;PISNT;PISOutr};He([(0,k.IsOptional)(),(0,k.ValidateNested)(),(0,kl.Type)(()=>Rr),ke("design:type",typeof Rr>"u"?Object:Rr)],jn.prototype,"PISAliq",void 0);He([(0,k.IsOptional)(),(0,k.ValidateNested)(),(0,kl.Type)(()=>wr),ke("design:type",typeof wr>"u"?Object:wr)],jn.prototype,"PISQtde",void 0);He([(0,k.IsOptional)(),(0,k.ValidateNested)(),(0,kl.Type)(()=>kc),ke("design:type",typeof kc>"u"?Object:kc)],jn.prototype,"PISNT",void 0);He([(0,k.IsOptional)(),(0,k.ValidateNested)(),(0,kl.Type)(()=>an),ke("design:type",typeof an>"u"?Object:an)],jn.prototype,"PISOutr",void 0);var sn=class{static{s(this,"PISST")}vBC;pPIS;qBCProd;vAliqProd;vPIS};He([(0,k.IsOptional)(),(0,k.IsString)(),(0,cn.TransformDecimal)({fixed:2}),ke("design:type",String)],sn.prototype,"vBC",void 0);He([(0,k.IsOptional)(),(0,k.IsString)(),(0,cn.TransformDecimal)({fixed:4}),ke("design:type",String)],sn.prototype,"pPIS",void 0);He([(0,k.IsOptional)(),(0,k.IsString)(),ke("design:type",String)],sn.prototype,"qBCProd",void 0);He([(0,k.IsOptional)(),(0,k.IsString)(),ke("design:type",String)],sn.prototype,"vAliqProd",void 0);He([(0,k.IsOptional)(),(0,k.IsString)(),(0,cn.TransformDecimal)({fixed:2}),ke("design:type",String)],sn.prototype,"vPIS",void 0);var G=require("class-validator"),Gl=require("class-transformer"),un=require("nfets/core");function Ge(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ge,"_ts_decorate");function Qe(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Qe,"_ts_metadata");var Ir=class{static{s(this,"COFINSAliq")}CST;vBC;pCOFINS;vCOFINS};Ge([(0,G.IsString)(),Qe("design:type",String)],Ir.prototype,"CST",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),(0,un.TransformDecimal)({fixed:2}),Qe("design:type",String)],Ir.prototype,"vBC",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),(0,un.TransformDecimal)({fixed:4}),Qe("design:type",String)],Ir.prototype,"pCOFINS",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),(0,un.TransformDecimal)({fixed:2}),Qe("design:type",String)],Ir.prototype,"vCOFINS",void 0);var Or=class{static{s(this,"COFINSQtde")}CST;qBCProd;vAliqProd;vCOFINS};Ge([(0,G.IsString)(),Qe("design:type",String)],Or.prototype,"CST",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),Qe("design:type",String)],Or.prototype,"qBCProd",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),Qe("design:type",String)],Or.prototype,"vAliqProd",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),(0,un.TransformDecimal)({fixed:2}),Qe("design:type",String)],Or.prototype,"vCOFINS",void 0);var Gc=class{static{s(this,"COFINSNT")}CST};Ge([(0,G.IsString)(),Qe("design:type",String)],Gc.prototype,"CST",void 0);var pn=class{static{s(this,"COFINSOutr")}CST;vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};Ge([(0,G.IsString)(),Qe("design:type",String)],pn.prototype,"CST",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),(0,un.TransformDecimal)({fixed:2}),Qe("design:type",String)],pn.prototype,"vBC",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),(0,un.TransformDecimal)({fixed:4}),Qe("design:type",String)],pn.prototype,"pCOFINS",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),Qe("design:type",String)],pn.prototype,"qBCProd",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),Qe("design:type",String)],pn.prototype,"vAliqProd",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),(0,un.TransformDecimal)({fixed:2}),Qe("design:type",String)],pn.prototype,"vCOFINS",void 0);var Bn=class{static{s(this,"COFINS")}COFINSAliq;COFINSQtde;COFINSNT;COFINSOutr};Ge([(0,G.IsOptional)(),(0,G.ValidateNested)(),(0,Gl.Type)(()=>Ir),Qe("design:type",typeof Ir>"u"?Object:Ir)],Bn.prototype,"COFINSAliq",void 0);Ge([(0,G.IsOptional)(),(0,G.ValidateNested)(),(0,Gl.Type)(()=>Or),Qe("design:type",typeof Or>"u"?Object:Or)],Bn.prototype,"COFINSQtde",void 0);Ge([(0,G.IsOptional)(),(0,G.ValidateNested)(),(0,Gl.Type)(()=>Gc),Qe("design:type",typeof Gc>"u"?Object:Gc)],Bn.prototype,"COFINSNT",void 0);Ge([(0,G.IsOptional)(),(0,G.ValidateNested)(),(0,Gl.Type)(()=>pn),Qe("design:type",typeof pn>"u"?Object:pn)],Bn.prototype,"COFINSOutr",void 0);var ln=class{static{s(this,"COFINSST")}vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};Ge([(0,G.IsOptional)(),(0,G.IsString)(),(0,un.TransformDecimal)({fixed:2}),Qe("design:type",String)],ln.prototype,"vBC",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),(0,un.TransformDecimal)({fixed:4}),Qe("design:type",String)],ln.prototype,"pCOFINS",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),Qe("design:type",String)],ln.prototype,"qBCProd",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),Qe("design:type",String)],ln.prototype,"vAliqProd",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),(0,un.TransformDecimal)({fixed:2}),Qe("design:type",String)],ln.prototype,"vCOFINS",void 0);var Ze=require("class-validator"),Ar=require("nfets/core");function go(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(go,"_ts_decorate");function yo(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(yo,"_ts_metadata");var rt=class{static{s(this,"ISSQN")}vBC;vAliq;vISSQN;cMunFG;cListServ;vDeducao;vOutro;vDescIncond;vDescCond;vISSRet;indISS;indIncentivo;cServico;cMun;cPais;nProcesso};go([(0,Ze.IsOptional)(),(0,Ar.TransformDecimal)({fixed:2}),yo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rt.prototype,"vBC",void 0);go([(0,Ze.IsOptional)(),(0,Ar.TransformDecimal)({fixed:4}),yo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rt.prototype,"vAliq",void 0);go([(0,Ze.IsOptional)(),(0,Ar.TransformDecimal)({fixed:2}),yo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rt.prototype,"vISSQN",void 0);go([(0,Ze.IsOptional)(),(0,Ze.IsString)(),yo("design:type",String)],rt.prototype,"cMunFG",void 0);go([(0,Ze.IsOptional)(),(0,Ze.IsString)(),yo("design:type",String)],rt.prototype,"cListServ",void 0);go([(0,Ze.IsOptional)(),(0,Ar.TransformDecimal)({fixed:2}),yo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rt.prototype,"vDeducao",void 0);go([(0,Ze.IsOptional)(),(0,Ar.TransformDecimal)({fixed:2}),yo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rt.prototype,"vOutro",void 0);go([(0,Ze.IsOptional)(),(0,Ar.TransformDecimal)({fixed:2}),yo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rt.prototype,"vDescIncond",void 0);go([(0,Ze.IsOptional)(),(0,Ar.TransformDecimal)({fixed:2}),yo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rt.prototype,"vDescCond",void 0);go([(0,Ze.IsOptional)(),(0,Ar.TransformDecimal)({fixed:2}),yo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rt.prototype,"vISSRet",void 0);go([(0,Ze.IsString)(),yo("design:type",String)],rt.prototype,"indISS",void 0);go([(0,Ze.IsString)(),yo("design:type",String)],rt.prototype,"indIncentivo",void 0);go([(0,Ze.IsOptional)(),(0,Ze.IsString)(),yo("design:type",String)],rt.prototype,"cServico",void 0);go([(0,Ze.IsOptional)(),(0,Ze.IsString)(),yo("design:type",String)],rt.prototype,"cMun",void 0);go([(0,Ze.IsOptional)(),(0,Ze.IsString)(),yo("design:type",String)],rt.prototype,"cPais",void 0);go([(0,Ze.IsOptional)(),(0,Ze.IsString)(),yo("design:type",String)],rt.prototype,"nProcesso",void 0);var yt=require("class-validator");function Fr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Fr,"_ts_decorate");function Dr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Dr,"_ts_metadata");var jo=class{static{s(this,"ICMSUFDest")}vBCUFDest;vBCFCPUFDest;pFCPUFDest;pICMSUFDest;pICMSInter;pICMSInterPart;vFCPUFDest;vICMSUFDest;vICMSUFRemet};Fr([(0,yt.IsOptional)(),(0,yt.IsString)(),Dr("design:type",String)],jo.prototype,"vBCUFDest",void 0);Fr([(0,yt.IsOptional)(),(0,yt.IsString)(),Dr("design:type",String)],jo.prototype,"vBCFCPUFDest",void 0);Fr([(0,yt.IsOptional)(),(0,yt.IsString)(),Dr("design:type",String)],jo.prototype,"pFCPUFDest",void 0);Fr([(0,yt.IsOptional)(),(0,yt.IsString)(),Dr("design:type",String)],jo.prototype,"pICMSUFDest",void 0);Fr([(0,yt.IsOptional)(),(0,yt.IsString)(),Dr("design:type",String)],jo.prototype,"pICMSInter",void 0);Fr([(0,yt.IsOptional)(),(0,yt.IsString)(),Dr("design:type",String)],jo.prototype,"pICMSInterPart",void 0);Fr([(0,yt.IsOptional)(),(0,yt.IsString)(),Dr("design:type",String)],jo.prototype,"vFCPUFDest",void 0);Fr([(0,yt.IsOptional)(),(0,yt.IsString)(),Dr("design:type",String)],jo.prototype,"vICMSUFDest",void 0);Fr([(0,yt.IsOptional)(),(0,yt.IsString)(),Dr("design:type",String)],jo.prototype,"vICMSUFRemet",void 0);var et=require("class-validator");var Qc=require("class-validator");function jS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(jS,"_ts_decorate");function BS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(BS,"_ts_metadata");var ma=class{static{s(this,"TransferenciaCredito")}vIBS;vCBS};jS([(0,Qc.IsOptional)(),(0,Qc.IsString)(),BS("design:type",String)],ma.prototype,"vIBS",void 0);jS([(0,Qc.IsOptional)(),(0,Qc.IsString)(),BS("design:type",String)],ma.prototype,"vCBS",void 0);var Fd=require("class-validator");function Kh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Kh,"_ts_decorate");function $h(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s($h,"_ts_metadata");var Er=class{static{s(this,"CredPresIBSZFM")}tpCredPresIBSZFM;vCredPresIBSZFM;competApur};Kh([(0,Fd.IsString)(),$h("design:type",String)],Er.prototype,"tpCredPresIBSZFM",void 0);Kh([(0,Fd.IsString)(),$h("design:type",String)],Er.prototype,"vCredPresIBSZFM",void 0);Kh([(0,Fd.IsString)(),$h("design:type",String)],Er.prototype,"competApur",void 0);var Bo=require("class-validator"),ev=require("class-transformer");function Ln(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ln,"_ts_decorate");function Vn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Vn,"_ts_metadata");var ha=class{static{s(this,"IBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};Ln([(0,Bo.IsString)(),Vn("design:type",String)],ha.prototype,"vCredPresCondSus",void 0);Ln([(0,Bo.IsString)(),Vn("design:type",String)],ha.prototype,"pCredPres",void 0);Ln([(0,Bo.IsString)(),Vn("design:type",String)],ha.prototype,"vCredPres",void 0);var va=class{static{s(this,"CBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};Ln([(0,Bo.IsString)(),Vn("design:type",String)],va.prototype,"vCredPresCondSus",void 0);Ln([(0,Bo.IsString)(),Vn("design:type",String)],va.prototype,"pCredPres",void 0);Ln([(0,Bo.IsString)(),Vn("design:type",String)],va.prototype,"vCredPres",void 0);var Mn=class{static{s(this,"CredPresOper")}gIBSCredPres;gCBSCredPres;vBCCredPres;cCredPres};Ln([(0,Bo.IsOptional)(),(0,Bo.ValidateNested)(),(0,ev.Type)(()=>ha),Vn("design:type",typeof ha>"u"?Object:ha)],Mn.prototype,"gIBSCredPres",void 0);Ln([(0,Bo.IsOptional)(),(0,Bo.ValidateNested)(),(0,ev.Type)(()=>va),Vn("design:type",typeof va>"u"?Object:va)],Mn.prototype,"gCBSCredPres",void 0);Ln([(0,Bo.IsString)(),Vn("design:type",String)],Mn.prototype,"vBCCredPres",void 0);Ln([(0,Bo.IsString)(),Vn("design:type",String)],Mn.prototype,"cCredPres",void 0);var tv=require("class-validator");function MS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(MS,"_ts_decorate");function LS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(LS,"_ts_metadata");var ga=class{static{s(this,"EstornoCred")}vIBSEstCred;vCBSEstCred};MS([(0,tv.IsString)(),LS("design:type",String)],ga.prototype,"vIBSEstCred",void 0);MS([(0,tv.IsString)(),LS("design:type",String)],ga.prototype,"vCBSEstCred",void 0);var Dd=require("class-validator");function ov(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ov,"_ts_decorate");function iv(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(iv,"_ts_metadata");var Pr=class{static{s(this,"AjusteCompet")}competApur;vCBS;vIBS};ov([(0,Dd.IsString)(),iv("design:type",String)],Pr.prototype,"competApur",void 0);ov([(0,Dd.IsString)(),iv("design:type",String)],Pr.prototype,"vCBS",void 0);ov([(0,Dd.IsString)(),iv("design:type",String)],Pr.prototype,"vIBS",void 0);var Hn=require("class-validator"),at=require("nfets/core"),Ql=require("class-transformer");function De(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(De,"_ts_decorate");function Ee(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ee,"_ts_metadata");var _n=class{static{s(this,"MonoPadrao")}qBCMono;adRemIBS;adRemCBS;vIBSMono;vCBSMono};De([(0,at.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_n.prototype,"qBCMono",void 0);De([(0,at.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_n.prototype,"adRemIBS",void 0);De([(0,at.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_n.prototype,"adRemCBS",void 0);De([(0,at.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_n.prototype,"vIBSMono",void 0);De([(0,at.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_n.prototype,"vCBSMono",void 0);var Un=class{static{s(this,"MonoReten")}qBCMonoReten;adRemIBSReten;vIBSMonoReten;adRemCBSReten;vCBSMonoReten};De([(0,at.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Un.prototype,"qBCMonoReten",void 0);De([(0,at.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Un.prototype,"adRemIBSReten",void 0);De([(0,at.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Un.prototype,"vIBSMonoReten",void 0);De([(0,at.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Un.prototype,"adRemCBSReten",void 0);De([(0,at.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Un.prototype,"vCBSMonoReten",void 0);var qn=class{static{s(this,"MonoRet")}qBCMonoRet;adRemIBSRet;vIBSMonoRet;adRemCBSRet;vCBSMonoRet};De([(0,at.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qn.prototype,"qBCMonoRet",void 0);De([(0,at.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qn.prototype,"adRemIBSRet",void 0);De([(0,at.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qn.prototype,"vIBSMonoRet",void 0);De([(0,at.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qn.prototype,"adRemCBSRet",void 0);De([(0,at.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qn.prototype,"vCBSMonoRet",void 0);var Tr=class{static{s(this,"MonoDif")}pDifIBS;vIBSMonoDif;pDifCBS;vCBSMonoDif};De([(0,at.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tr.prototype,"pDifIBS",void 0);De([(0,at.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tr.prototype,"vIBSMonoDif",void 0);De([(0,at.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tr.prototype,"pDifCBS",void 0);De([(0,at.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tr.prototype,"vCBSMonoDif",void 0);var Oi=class{static{s(this,"IBSCBSMono")}gMonoPadrao;gMonoReten;gMonoRet;gMonoDif;vTotIBSMonoItem;vTotCBSMonoItem};De([(0,Hn.IsOptional)(),(0,Hn.ValidateNested)(),(0,Ql.Type)(()=>_n),Ee("design:type",typeof _n>"u"?Object:_n)],Oi.prototype,"gMonoPadrao",void 0);De([(0,Hn.IsOptional)(),(0,Hn.ValidateNested)(),(0,Ql.Type)(()=>Un),Ee("design:type",typeof Un>"u"?Object:Un)],Oi.prototype,"gMonoReten",void 0);De([(0,Hn.IsOptional)(),(0,Hn.ValidateNested)(),(0,Ql.Type)(()=>qn),Ee("design:type",typeof qn>"u"?Object:qn)],Oi.prototype,"gMonoRet",void 0);De([(0,Hn.IsOptional)(),(0,Hn.ValidateNested)(),(0,Ql.Type)(()=>Tr),Ee("design:type",typeof Tr>"u"?Object:Tr)],Oi.prototype,"gMonoDif",void 0);De([(0,at.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Oi.prototype,"vTotIBSMonoItem",void 0);De([(0,at.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Oi.prototype,"vTotCBSMonoItem",void 0);var Di=require("class-validator"),dv=require("nfets/core");var Ss=require("nfets/core"),nv=require("class-validator");function ya(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ya,"_ts_decorate");function ba(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ba,"_ts_metadata");var Go=class{static{s(this,"TribRegular")}CSTReg;cClassTribReg;pAliqEfetRegIBSUF;vTribRegIBSUF;pAliqEfetRegIBSMun;vTribRegIBSMun;pAliqEfetRegCBS;vTribRegCBS};ya([(0,nv.IsString)(),ba("design:type",String)],Go.prototype,"CSTReg",void 0);ya([(0,nv.IsString)(),ba("design:type",String)],Go.prototype,"cClassTribReg",void 0);ya([(0,Ss.TransformDecimal)({fixed:4}),ba("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Go.prototype,"pAliqEfetRegIBSUF",void 0);ya([(0,Ss.TransformDecimal)({fixed:2}),ba("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Go.prototype,"vTribRegIBSUF",void 0);ya([(0,Ss.TransformDecimal)({fixed:4}),ba("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Go.prototype,"pAliqEfetRegIBSMun",void 0);ya([(0,Ss.TransformDecimal)({fixed:2}),ba("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Go.prototype,"vTribRegIBSMun",void 0);ya([(0,Ss.TransformDecimal)({fixed:4}),ba("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Go.prototype,"pAliqEfetRegCBS",void 0);ya([(0,Ss.TransformDecimal)({fixed:2}),ba("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Go.prototype,"vTribRegCBS",void 0);var Cs=require("nfets/core");function Zc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Zc,"_ts_decorate");function Yc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Yc,"_ts_metadata");var Ai=class{static{s(this,"TribCompraGov")}pAliqIBSUF;vTribIBSUF;pAliqIBSMun;vTribIBSMun;pAliqCBS;vTribCBS};Zc([(0,Cs.TransformDecimal)({fixed:4}),Yc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"pAliqIBSUF",void 0);Zc([(0,Cs.TransformDecimal)({fixed:2}),Yc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"vTribIBSUF",void 0);Zc([(0,Cs.TransformDecimal)({fixed:4}),Yc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"pAliqIBSMun",void 0);Zc([(0,Cs.TransformDecimal)({fixed:2}),Yc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"vTribIBSMun",void 0);Zc([(0,Cs.TransformDecimal)({fixed:4}),Yc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"pAliqCBS",void 0);Zc([(0,Cs.TransformDecimal)({fixed:2}),Yc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"vTribCBS",void 0);var Xc=require("class-transformer");var xa=require("class-validator"),cv=require("nfets/core"),Ed=require("class-transformer");var rv=require("nfets/core"),US=require("class-validator");function VS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(VS,"_ts_decorate");function _S(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(_S,"_ts_metadata");var bo=class{static{s(this,"DevTrib")}pDevTrib;vDevTrib};VS([(0,US.IsOptional)(),(0,rv.TransformDecimal)({fixed:4}),_S("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bo.prototype,"pDevTrib",void 0);VS([(0,rv.TransformDecimal)({fixed:2}),_S("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bo.prototype,"vDevTrib",void 0);var av=require("nfets/core");function qS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(qS,"_ts_decorate");function HS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(HS,"_ts_metadata");var xo=class{static{s(this,"Dif")}pDif;vDif};qS([(0,av.TransformDecimal)({fixed:4}),HS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xo.prototype,"pDif",void 0);qS([(0,av.TransformDecimal)({fixed:2}),HS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xo.prototype,"vDif",void 0);var sv=require("nfets/core");function kS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(kS,"_ts_decorate");function GS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(GS,"_ts_metadata");var So=class{static{s(this,"Red")}pRedAliq;pAliqEfet};kS([(0,sv.TransformDecimal)({fixed:4}),GS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],So.prototype,"pRedAliq",void 0);kS([(0,sv.TransformDecimal)({fixed:4}),GS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],So.prototype,"pAliqEfet",void 0);function Zl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Zl,"_ts_decorate");function Yl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Yl,"_ts_metadata");var dn=class{static{s(this,"IBSMun")}pIBSMun;gDif;gDevTrib;gRed;vIBSMun};Zl([(0,cv.TransformDecimal)({fixed:4}),Yl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dn.prototype,"pIBSMun",void 0);Zl([(0,xa.IsOptional)(),(0,xa.ValidateNested)(),(0,Ed.Type)(()=>xo),Yl("design:type",typeof xo>"u"?Object:xo)],dn.prototype,"gDif",void 0);Zl([(0,xa.IsOptional)(),(0,xa.ValidateNested)(),(0,Ed.Type)(()=>bo),Yl("design:type",typeof bo>"u"?Object:bo)],dn.prototype,"gDevTrib",void 0);Zl([(0,xa.IsOptional)(),(0,xa.ValidateNested)(),(0,Ed.Type)(()=>So),Yl("design:type",typeof So>"u"?Object:So)],dn.prototype,"gRed",void 0);Zl([(0,cv.TransformDecimal)({fixed:2}),Yl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dn.prototype,"vIBSMun",void 0);var Sa=require("class-validator"),pv=require("nfets/core"),Pd=require("class-transformer");function Jl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Jl,"_ts_decorate");function Wl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Wl,"_ts_metadata");var fn=class{static{s(this,"IBSUF")}pIBSUF;gDif;gDevTrib;gRed;vIBSUF};Jl([(0,pv.TransformDecimal)({fixed:4}),Wl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fn.prototype,"pIBSUF",void 0);Jl([(0,Sa.IsOptional)(),(0,Sa.ValidateNested)(),(0,Pd.Type)(()=>xo),Wl("design:type",typeof xo>"u"?Object:xo)],fn.prototype,"gDif",void 0);Jl([(0,Sa.IsOptional)(),(0,Sa.ValidateNested)(),(0,Pd.Type)(()=>bo),Wl("design:type",typeof bo>"u"?Object:bo)],fn.prototype,"gDevTrib",void 0);Jl([(0,Sa.IsOptional)(),(0,Sa.ValidateNested)(),(0,Pd.Type)(()=>So),Wl("design:type",typeof So>"u"?Object:So)],fn.prototype,"gRed",void 0);Jl([(0,pv.TransformDecimal)({fixed:2}),Wl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fn.prototype,"vIBSUF",void 0);var Gn=require("class-validator"),uv=require("nfets/core"),Kl=require("class-transformer");var lv=require("nfets/core"),Xl=require("class-validator");function Td(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Td,"_ts_decorate");function zd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(zd,"_ts_metadata");var kn=class{static{s(this,"ALCZFMCBS")}tpALCZFMCBS;nProcSuframa;pAliqEfetRegCBS;vTribRegCBS};Td([(0,Xl.IsString)(),zd("design:type",String)],kn.prototype,"tpALCZFMCBS",void 0);Td([(0,Xl.IsOptional)(),(0,Xl.IsString)(),zd("design:type",String)],kn.prototype,"nProcSuframa",void 0);Td([(0,lv.TransformDecimal)({fixed:4}),zd("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],kn.prototype,"pAliqEfetRegCBS",void 0);Td([(0,lv.TransformDecimal)({fixed:2}),zd("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],kn.prototype,"vTribRegCBS",void 0);function Jc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Jc,"_ts_decorate");function Wc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Wc,"_ts_metadata");var Fi=class{static{s(this,"CBS")}pCBS;gDif;gDevTrib;gRed;gALCZFMCBS;vCBS};Jc([(0,uv.TransformDecimal)({fixed:4}),Wc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fi.prototype,"pCBS",void 0);Jc([(0,Gn.IsOptional)(),(0,Gn.ValidateNested)(),(0,Kl.Type)(()=>xo),Wc("design:type",typeof xo>"u"?Object:xo)],Fi.prototype,"gDif",void 0);Jc([(0,Gn.IsOptional)(),(0,Gn.ValidateNested)(),(0,Kl.Type)(()=>bo),Wc("design:type",typeof bo>"u"?Object:bo)],Fi.prototype,"gDevTrib",void 0);Jc([(0,Gn.IsOptional)(),(0,Gn.ValidateNested)(),(0,Kl.Type)(()=>So),Wc("design:type",typeof So>"u"?Object:So)],Fi.prototype,"gRed",void 0);Jc([(0,Gn.IsOptional)(),(0,Gn.ValidateNested)(),(0,Kl.Type)(()=>kn),Wc("design:type",typeof kn>"u"?Object:kn)],Fi.prototype,"gALCZFMCBS",void 0);Jc([(0,uv.TransformDecimal)({fixed:2}),Wc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fi.prototype,"vCBS",void 0);function Ns(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ns,"_ts_decorate");function Rs(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Rs,"_ts_metadata");var ci=class{static{s(this,"GIBSCBS")}vBC;gIBSUF;gIBSMun;vIBS;gCBS;gTribRegular;gTribCompraGov};Ns([(0,dv.TransformDecimal)({fixed:2}),Rs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ci.prototype,"vBC",void 0);Ns([(0,Di.IsOptional)(),(0,Di.ValidateNested)(),(0,Xc.Type)(()=>fn),Rs("design:type",typeof fn>"u"?Object:fn)],ci.prototype,"gIBSUF",void 0);Ns([(0,Di.IsOptional)(),(0,Di.ValidateNested)(),(0,Xc.Type)(()=>dn),Rs("design:type",typeof dn>"u"?Object:dn)],ci.prototype,"gIBSMun",void 0);Ns([(0,dv.TransformDecimal)({fixed:2}),Rs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ci.prototype,"vIBS",void 0);Ns([(0,Di.IsOptional)(),(0,Di.ValidateNested)(),(0,Xc.Type)(()=>Fi),Rs("design:type",typeof Fi>"u"?Object:Fi)],ci.prototype,"gCBS",void 0);Ns([(0,Di.IsOptional)(),(0,Di.ValidateNested)(),(0,Xc.Type)(()=>Go),Rs("design:type",typeof Go>"u"?Object:Go)],ci.prototype,"gTribRegular",void 0);Ns([(0,Di.IsOptional)(),(0,Di.ValidateNested)(),(0,Xc.Type)(()=>Ai),Rs("design:type",typeof Ai>"u"?Object:Ai)],ci.prototype,"gTribCompraGov",void 0);var Ca=require("class-transformer");function Qn(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Qn,"_ts_decorate");function Zn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Zn,"_ts_metadata");var Co=class{static{s(this,"IBSCBS")}CST;cClassTrib;indDoacao;gTransfCred;gCredPresIBSZFM;gCredPresOper;gAjusteCompet;gEstornoCred;gIBSCBSMono;gIBSCBS};Qn([(0,et.IsOptional)(),(0,et.IsString)(),Zn("design:type",String)],Co.prototype,"CST",void 0);Qn([(0,et.IsOptional)(),(0,et.IsString)(),Zn("design:type",String)],Co.prototype,"cClassTrib",void 0);Qn([(0,et.IsOptional)(),(0,et.IsString)(),Zn("design:type",String)],Co.prototype,"indDoacao",void 0);Qn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,Ca.Type)(()=>ma),Zn("design:type",typeof ma>"u"?Object:ma)],Co.prototype,"gTransfCred",void 0);Qn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,Ca.Type)(()=>Er),Zn("design:type",typeof Er>"u"?Object:Er)],Co.prototype,"gCredPresIBSZFM",void 0);Qn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,Ca.Type)(()=>Mn),Zn("design:type",typeof Mn>"u"?Object:Mn)],Co.prototype,"gCredPresOper",void 0);Qn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,Ca.Type)(()=>Pr),Zn("design:type",typeof Pr>"u"?Object:Pr)],Co.prototype,"gAjusteCompet",void 0);Qn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,Ca.Type)(()=>ga),Zn("design:type",typeof ga>"u"?Object:ga)],Co.prototype,"gEstornoCred",void 0);Qn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,Ca.Type)(()=>Oi),Zn("design:type",typeof Oi>"u"?Object:Oi)],Co.prototype,"gIBSCBSMono",void 0);Qn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,Ca.Type)(()=>ci),Zn("design:type",typeof ci>"u"?Object:ci)],Co.prototype,"gIBSCBS",void 0);var Kc=require("nfets/core"),mn=require("class-validator");function Na(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Na,"_ts_decorate");function Ra(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ra,"_ts_metadata");var Qo=class{static{s(this,"IS")}CSTIS;cClassTribIS;vBCIS;pIS;adRemIS;uTrib;qTrib;vIS};Na([(0,mn.IsString)(),Ra("design:type",String)],Qo.prototype,"CSTIS",void 0);Na([(0,mn.IsString)(),Ra("design:type",String)],Qo.prototype,"cClassTribIS",void 0);Na([(0,mn.IsOptional)(),(0,Kc.TransformDecimal)({fixed:2}),Ra("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qo.prototype,"vBCIS",void 0);Na([(0,mn.IsOptional)(),(0,Kc.TransformDecimal)({fixed:4}),Ra("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qo.prototype,"pIS",void 0);Na([(0,mn.IsOptional)(),(0,Kc.TransformDecimal)({fixed:4}),Ra("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qo.prototype,"adRemIS",void 0);Na([(0,mn.IsOptional)(),(0,mn.IsString)(),Ra("design:type",String)],Qo.prototype,"uTrib",void 0);Na([(0,mn.IsOptional)(),(0,Kc.TransformDecimal)({fixed:4}),Ra("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qo.prototype,"qTrib",void 0);Na([(0,mn.IsOptional)(),(0,Kc.TransformDecimal)({fixed:2}),Ra("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qo.prototype,"vIS",void 0);var jd=require("nfets/core");function pi(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(pi,"_ts_decorate");function Ei(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ei,"_ts_metadata");var bt=class{static{s(this,"Imposto")}vTotTrib;ICMS;IPI;ISSQN;II;PIS;PISST;COFINS;COFINSST;ICMSUFDest;IS;IBSCBS};pi([(0,Pe.IsOptional)(),(0,jd.TransformDecimal)({fixed:2}),Ei("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bt.prototype,"vTotTrib",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>ve),Ei("design:type",typeof IICMS>"u"?Object:IICMS)],bt.prototype,"ICMS",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>Ii),Ei("design:type",typeof IIPI>"u"?Object:IIPI)],bt.prototype,"IPI",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>rt),Ei("design:type",typeof IISSQN>"u"?Object:IISSQN)],bt.prototype,"ISSQN",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>Tn),Ei("design:type",typeof III>"u"?Object:III)],bt.prototype,"II",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>jn),Ei("design:type",typeof IPIS>"u"?Object:IPIS)],bt.prototype,"PIS",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>sn),Ei("design:type",typeof IPISST>"u"?Object:IPISST)],bt.prototype,"PISST",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>Bn),Ei("design:type",typeof ICOFINS>"u"?Object:ICOFINS)],bt.prototype,"COFINS",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>ln),Ei("design:type",typeof ICOFINSST>"u"?Object:ICOFINSST)],bt.prototype,"COFINSST",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>jo),Ei("design:type",typeof IICMSUFDest>"u"?Object:IICMSUFDest)],bt.prototype,"ICMSUFDest",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>Qo),Ei("design:type",typeof IIS>"u"?Object:IIS)],bt.prototype,"IS",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>Co),Ei("design:type",typeof IIBSCBS>"u"?Object:IIBSCBS)],bt.prototype,"IBSCBS",void 0);bt=pi([(0,jd.Choice)({properties:["ICMS","ISSQN"]})],bt);var ws=require("class-validator"),QS=require("class-transformer");function fv(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(fv,"_ts_decorate");function mv(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(mv,"_ts_metadata");var Bd=class{static{s(this,"IpiDevol")}vIPIDevol};fv([(0,ws.IsString)(),mv("design:type",String)],Bd.prototype,"vIPIDevol",void 0);var $c=class{static{s(this,"Devol")}pDevol;IPI};fv([(0,ws.IsString)(),mv("design:type",String)],$c.prototype,"pDevol",void 0);fv([(0,ws.IsOptional)(),(0,ws.ValidateNested)(),(0,QS.Type)(()=>Bd),mv("design:type",typeof IIpiDevol>"u"?Object:IIpiDevol)],$c.prototype,"IPI",void 0);var zr=require("class-validator"),hv=require("class-transformer");function Md(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Md,"_ts_decorate");function Ld(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ld,"_ts_metadata");var ep=class{static{s(this,"Observation")}xCampo;xTexto};Md([(0,zr.IsString)(),Ld("design:type",String)],ep.prototype,"xCampo",void 0);Md([(0,zr.IsString)(),Ld("design:type",String)],ep.prototype,"xTexto",void 0);var tp=class{static{s(this,"ObsItem")}obsCont;obsFisco};Md([(0,zr.IsOptional)(),(0,zr.ValidateNested)(),(0,hv.Type)(()=>ep),Ld("design:type",typeof IObservation>"u"?Object:IObservation)],tp.prototype,"obsCont",void 0);Md([(0,zr.IsOptional)(),(0,zr.ValidateNested)(),(0,hv.Type)(()=>ep),Ld("design:type",typeof IObservation>"u"?Object:IObservation)],tp.prototype,"obsFisco",void 0);var $l=require("class-validator");function ZS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ZS,"_ts_decorate");function YS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(YS,"_ts_metadata");var wa=class{static{s(this,"DFeReferenciado")}chaveAcesso;nItem};ZS([(0,$l.IsString)(),YS("design:type",String)],wa.prototype,"chaveAcesso",void 0);ZS([(0,$l.IsOptional)(),(0,$l.IsString)(),YS("design:type",String)],wa.prototype,"nItem",void 0);var JS=require("nfets/core");function jr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(jr,"_ts_decorate");function Br(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Br,"_ts_metadata");var op=class{static{s(this,"DetAttributes")}nItem};jr([(0,Ot.IsString)(),Br("design:type",String)],op.prototype,"nItem",void 0);var Ti=class{static{s(this,"Det")}prod;imposto;impostoDevol;infAdProd;obsItem;vItem;DFeReferenciado};jr([(0,Ot.IsObject)(),(0,Ot.ValidateNested)(),(0,Is.Type)(()=>op),Br("design:type",typeof IDetAttributes>"u"?Object:IDetAttributes)],Ti.prototype,"$",void 0);jr([(0,Ot.ValidateNested)(),(0,Is.Type)(()=>U),Br("design:type",typeof IProd>"u"?Object:IProd)],Ti.prototype,"prod",void 0);jr([(0,Ot.IsOptional)(),(0,Ot.ValidateNested)(),(0,Is.Type)(()=>bt),Br("design:type",typeof IImposto>"u"?Object:IImposto)],Ti.prototype,"imposto",void 0);jr([(0,Ot.IsOptional)(),(0,Ot.ValidateNested)(),(0,Is.Type)(()=>$c),Br("design:type",typeof IDevol>"u"?Object:IDevol)],Ti.prototype,"impostoDevol",void 0);jr([(0,Ot.IsOptional)(),(0,Ot.IsString)(),Br("design:type",String)],Ti.prototype,"infAdProd",void 0);jr([(0,Ot.IsOptional)(),(0,Ot.ValidateNested)(),(0,Is.Type)(()=>tp),Br("design:type",typeof IObsItem>"u"?Object:IObsItem)],Ti.prototype,"obsItem",void 0);jr([(0,Ot.IsOptional)(),(0,JS.TransformDecimal)({fixed:2}),Br("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ti.prototype,"vItem",void 0);jr([(0,Ot.IsOptional)(),(0,Ot.ValidateNested)(),(0,Is.Type)(()=>wa),Br("design:type",typeof IDFeReferenciado>"u"?Object:IDFeReferenciado)],Ti.prototype,"DFeReferenciado",void 0);var oo=require("class-validator"),Vd=require("nfets/core");function hn(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(hn,"_ts_decorate");function vn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(vn,"_ts_metadata");var to=class{static{s(this,"Avulsa")}CNPJ;xOrgao;matr;xAgente;fone;UF;nDAR;dEmi;vDAR;repEmi;dPag};hn([(0,oo.IsString)(),vn("design:type",String)],to.prototype,"CNPJ",void 0);hn([(0,oo.IsString)(),vn("design:type",String)],to.prototype,"xOrgao",void 0);hn([(0,oo.IsString)(),vn("design:type",String)],to.prototype,"matr",void 0);hn([(0,oo.IsString)(),vn("design:type",String)],to.prototype,"xAgente",void 0);hn([(0,oo.IsOptional)(),(0,oo.IsString)(),vn("design:type",String)],to.prototype,"fone",void 0);hn([(0,oo.IsString)(),vn("design:type",String)],to.prototype,"UF",void 0);hn([(0,oo.IsOptional)(),(0,oo.IsString)(),vn("design:type",String)],to.prototype,"nDAR",void 0);hn([(0,oo.IsOptional)(),(0,Vd.TransformDateString)({format:"YYYY-MM-DD"}),vn("design:type",typeof Date>"u"?Object:Date)],to.prototype,"dEmi",void 0);hn([(0,oo.IsOptional)(),(0,Vd.TransformDecimal)({fixed:2}),vn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],to.prototype,"vDAR",void 0);hn([(0,oo.IsString)(),vn("design:type",String)],to.prototype,"repEmi",void 0);hn([(0,oo.IsOptional)(),(0,oo.IsDate)(),vn("design:type",typeof Date>"u"?Object:Date)],to.prototype,"dPag",void 0);var WS=require("class-validator");function SD(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(SD,"_ts_decorate");function CD(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(CD,"_ts_metadata");var Os=class{static{s(this,"InfSolicNFF")}xSolic};SD([(0,WS.IsString)(),CD("design:type",String)],Os.prototype,"xSolic",void 0);var Ht=require("class-validator"),vv=require("class-transformer"),XS=require("nfets/core");function Mr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Mr,"_ts_decorate");function Ia(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ia,"_ts_metadata");var eu=class{static{s(this,"Defensivo")}nReceituario;CPFRespTec};Mr([(0,Ht.IsString)(),Ia("design:type",String)],eu.prototype,"nReceituario",void 0);Mr([(0,Ht.IsString)(),Ia("design:type",String)],eu.prototype,"CPFRespTec",void 0);var As=class{static{s(this,"GuiaTransito")}tpGuia;UFGuia;serieGuia;nGuia};Mr([(0,Ht.IsString)(),Ia("design:type",String)],As.prototype,"tpGuia",void 0);Mr([(0,Ht.IsString)(),Ia("design:type",String)],As.prototype,"UFGuia",void 0);Mr([(0,Ht.IsOptional)(),(0,Ht.IsString)(),Ia("design:type",String)],As.prototype,"serieGuia",void 0);Mr([(0,Ht.IsString)(),Ia("design:type",String)],As.prototype,"nGuia",void 0);var Yn=class{static{s(this,"Agropecuario")}defensivo;guiaTransito};Mr([(0,Ht.IsOptional)(),(0,Ht.IsArray)(),(0,Ht.ArrayMaxSize)(20),(0,Ht.ValidateNested)({each:!0}),(0,vv.Type)(()=>eu),Ia("design:type",Array)],Yn.prototype,"defensivo",void 0);Mr([(0,Ht.IsOptional)(),(0,Ht.ValidateNested)(),(0,vv.Type)(()=>As),Ia("design:type",typeof IGuiaTransito>"u"?Object:IGuiaTransito)],Yn.prototype,"guiaTransito",void 0);Yn=Mr([(0,XS.Choice)({properties:["defensivo","guiaTransito"]})],Yn);var Aa=require("class-validator"),gv=require("class-transformer");function ip(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ip,"_ts_decorate");function np(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(np,"_ts_metadata");var tu=class{static{s(this,"RSAKeyValue")}Modulus;Exponent};ip([(0,Aa.IsString)(),np("design:type",String)],tu.prototype,"Modulus",void 0);ip([(0,Aa.IsString)(),np("design:type",String)],tu.prototype,"Exponent",void 0);var ou=class{static{s(this,"PAASignature")}SignatureValue;RSAKeyValue};ip([(0,Aa.IsString)(),np("design:type",String)],ou.prototype,"SignatureValue",void 0);ip([(0,Aa.ValidateNested)(),(0,gv.Type)(()=>tu),np("design:type",typeof IRSAKeyValue>"u"?Object:IRSAKeyValue)],ou.prototype,"RSAKeyValue",void 0);var Oa=class{static{s(this,"InfPAA")}CNPJPAA;PAASignature};ip([(0,Aa.IsString)(),np("design:type",String)],Oa.prototype,"CNPJPAA",void 0);ip([(0,Aa.ValidateNested)(),(0,gv.Type)(()=>ou),np("design:type",typeof IPAASignature>"u"?Object:IPAASignature)],Oa.prototype,"PAASignature",void 0);function Ye(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ye,"_ts_decorate");function Je(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Je,"_ts_metadata");var Fs=class{static{s(this,"InfNFeAttributes")}Id;versao};Ye([(0,_.IsOptional)(),(0,_.IsString)(),Je("design:type",String)],Fs.prototype,"Id",void 0);Ye([(0,_.IsOptional)(),(0,_.IsString)(),Je("design:type",String)],Fs.prototype,"versao",void 0);var Ne=class{static{s(this,"InfNFe")}ide;emit;avulsa;dest;retirada;entrega;autXML;det;total;transp;cobr;pag;infIntermed;infAdic;exporta;compra;cana;infRespTec;infSolicNFF;agropecuario;infPAA};Ye([(0,_.IsObject)(),(0,_.IsNotEmptyObject)(),(0,tt.Type)(()=>Fs),(0,_.ValidateNested)(),Je("design:type",typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes)],Ne.prototype,"$",void 0);Ye([(0,_.IsObject)(),(0,_.IsNotEmptyObject)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>$),Je("design:type",typeof IIde>"u"?Object:IIde)],Ne.prototype,"ide",void 0);Ye([(0,_.IsObject)(),(0,_.IsNotEmptyObject)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>wt),Je("design:type",typeof IEmit>"u"?Object:IEmit)],Ne.prototype,"emit",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>to),Je("design:type",typeof IAvulsa>"u"?Object:IAvulsa)],Ne.prototype,"avulsa",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Vt),Je("design:type",typeof IDest>"u"?Object:IDest)],Ne.prototype,"dest",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Ie),Je("design:type",typeof ILocal>"u"?Object:ILocal)],Ne.prototype,"retirada",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Ie),Je("design:type",typeof ILocal>"u"?Object:ILocal)],Ne.prototype,"entrega",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)({each:!0}),(0,_.ArrayMaxSize)(10),(0,tt.Type)(()=>In),Je("design:type",Array)],Ne.prototype,"autXML",void 0);Ye([(0,_.ValidateNested)({each:!0}),(0,_.ArrayMaxSize)(990),(0,_.ArrayMinSize)(1),(0,tt.Type)(()=>Ti),Je("design:type",Array)],Ne.prototype,"det",void 0);Ye([(0,_.ValidateNested)(),(0,tt.Type)(()=>xi),Je("design:type",typeof ITotal>"u"?Object:ITotal)],Ne.prototype,"total",void 0);Ye([(0,_.ValidateNested)(),(0,tt.Type)(()=>lo),Je("design:type",typeof ITransp>"u"?Object:ITransp)],Ne.prototype,"transp",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>na),Je("design:type",typeof ICobr>"u"?Object:ICobr)],Ne.prototype,"cobr",void 0);Ye([(0,_.ValidateNested)(),(0,tt.Type)(()=>sa),Je("design:type",typeof IPag>"u"?Object:IPag)],Ne.prototype,"pag",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Kr),Je("design:type",typeof IInfIntermed>"u"?Object:IInfIntermed)],Ne.prototype,"infIntermed",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>tn),Je("design:type",typeof IInfAdic>"u"?Object:IInfAdic)],Ne.prototype,"infAdic",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>cr),Je("design:type",typeof IExporta>"u"?Object:IExporta)],Ne.prototype,"exporta",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>pr),Je("design:type",typeof ICompra>"u"?Object:ICompra)],Ne.prototype,"compra",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>uo),Je("design:type",typeof ICana>"u"?Object:ICana)],Ne.prototype,"cana",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>gi),Je("design:type",typeof IInfRespTec>"u"?Object:IInfRespTec)],Ne.prototype,"infRespTec",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Os),Je("design:type",typeof ISolicNFF>"u"?Object:ISolicNFF)],Ne.prototype,"infSolicNFF",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Yn),Je("design:type",typeof IAgropecuario>"u"?Object:IAgropecuario)],Ne.prototype,"agropecuario",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Oa),Je("design:type",typeof IInfPAA>"u"?Object:IInfPAA)],Ne.prototype,"infPAA",void 0);var yv=require("class-transformer");function _d(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(_d,"_ts_decorate");function Ud(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ud,"_ts_metadata");var rp=class{static{s(this,"NFeAttributes")}xmlns};_d([(0,Mo.IsString)(),(0,Mo.IsNotEmpty)(),Ud("design:type",String)],rp.prototype,"xmlns",void 0);var Lr=class{static{s(this,"NFe")}$;infNFe;Signature};_d([(0,Mo.IsObject)(),(0,Mo.IsNotEmptyObject)(),(0,yv.Type)(()=>rp),(0,Mo.ValidateNested)(),Ud("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],Lr.prototype,"$",void 0);_d([(0,Mo.IsObject)(),(0,Mo.IsNotEmptyObject)(),(0,yv.Type)(()=>Ne),(0,Mo.ValidateNested)(),Ud("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],Lr.prototype,"infNFe",void 0);_d([(0,Mo.Allow)(),Ud("design:type",typeof Signature>"u"?Object:Signature)],Lr.prototype,"Signature",void 0);var KS=require("nfets/core");var Ro=require("nfets/core");var gn=s((t=[Pf])=>(e,o,i)=>{let r=i.value;r!=null&&(i.value=function(...n){return t.includes(this.schema)?r.apply(this,n):this})},"SchemaValidates");function No(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(No,"_ts_decorate");function q(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(q,"_ts_metadata");var ft=class{static{s(this,"NfeDetXmlBuilder")}listener;schema;data={};static create(e,o="PL_009_V4"){return new this(e,o)}constructor(e,o="PL_009_V4"){this.listener=e,this.schema=o}det(e){return this.data.$=e,this}prod(e){return this.data.prod=e,this.listener?.prod(e),this}imposto(e){return this.data.imposto=e,this.listener?.imposto(e),this}icms(e){return e?(this.data.imposto??={},this.data.imposto.ICMS=e,this.listener?.icms(e),this):this}issqn(e){return e?(this.data.imposto??={},this.data.imposto.ISSQN=e,this.listener?.issqn(e),this):this}ii(e){return e?(this.data.imposto??={},this.data.imposto.II=e,this.listener?.ii(e),this):this}ipi(e){return e?(this.data.imposto??={},this.data.imposto.IPI=e,this.listener?.ipi(e),this):this}pis(e){return e?(this.data.imposto??={},this.data.imposto.PIS=e,this.listener?.pis(e),this):this}pisst(e){return e?(this.data.imposto??={},this.data.imposto.PISST=e,this):this}cofins(e){return e?(this.data.imposto??={},this.data.imposto.COFINS=e,this.listener?.cofins(e),this):this}cofinsst(e){return e?(this.data.imposto??={},this.data.imposto.COFINSST=e,this):this}icmsufdest(e){return e?(this.data.imposto??={},this.data.imposto.ICMSUFDest=e,this):this}is(e){return e==null?this:(this.data.imposto??={},this.data.imposto.IS=e,this)}ibscbs(e){return e==null?this:(this.data.imposto??={},this.data.imposto.IBSCBS=e,this)}vItem(e){return e?(this.data.vItem=e.vItem,this):this}dfeReferenciado(e){return e?(this.data.DFeReferenciado=e,this):this}assemble(){let e={...this.data};return this.data={},e}};No([(0,Ro.Validates)(op),q("design:type",Function),q("design:paramtypes",[typeof IDetAttributes>"u"?Object:IDetAttributes]),q("design:returntype",void 0)],ft.prototype,"det",null);No([(0,Ro.Validates)(U),q("design:type",Function),q("design:paramtypes",[typeof IProd>"u"?Object:IProd]),q("design:returntype",void 0)],ft.prototype,"prod",null);No([(0,Ro.Validates)(bt),q("design:type",Function),q("design:paramtypes",[typeof IImposto>"u"?Object:IImposto]),q("design:returntype",void 0)],ft.prototype,"imposto",null);No([(0,Ro.Validates)(ve),q("design:type",Function),q("design:paramtypes",[typeof IICMS>"u"?Object:IICMS]),q("design:returntype",void 0)],ft.prototype,"icms",null);No([(0,Ro.Validates)(rt),q("design:type",Function),q("design:paramtypes",[typeof IISSQN>"u"?Object:IISSQN]),q("design:returntype",void 0)],ft.prototype,"issqn",null);No([(0,Ro.Validates)(Tn),q("design:type",Function),q("design:paramtypes",[typeof III>"u"?Object:III]),q("design:returntype",void 0)],ft.prototype,"ii",null);No([(0,Ro.Validates)(Ii),q("design:type",Function),q("design:paramtypes",[typeof IIPI>"u"?Object:IIPI]),q("design:returntype",void 0)],ft.prototype,"ipi",null);No([(0,Ro.Validates)(jn),q("design:type",Function),q("design:paramtypes",[typeof IPIS>"u"?Object:IPIS]),q("design:returntype",void 0)],ft.prototype,"pis",null);No([(0,Ro.Validates)(sn),q("design:type",Function),q("design:paramtypes",[typeof IPISST>"u"?Object:IPISST]),q("design:returntype",void 0)],ft.prototype,"pisst",null);No([(0,Ro.Validates)(Bn),q("design:type",Function),q("design:paramtypes",[typeof ICOFINS>"u"?Object:ICOFINS]),q("design:returntype",void 0)],ft.prototype,"cofins",null);No([(0,Ro.Validates)(ln),q("design:type",Function),q("design:paramtypes",[typeof ICOFINSST>"u"?Object:ICOFINSST]),q("design:returntype",void 0)],ft.prototype,"cofinsst",null);No([(0,Ro.Validates)(jo),q("design:type",Function),q("design:paramtypes",[typeof IICMSUFDest>"u"?Object:IICMSUFDest]),q("design:returntype",void 0)],ft.prototype,"icmsufdest",null);No([gn(Io),(0,Ro.Validates)(Qo),q("design:type",Function),q("design:paramtypes",[typeof IIS>"u"?Object:IIS]),q("design:returntype",void 0)],ft.prototype,"is",null);No([gn(Io),(0,Ro.Validates)(Co),q("design:type",Function),q("design:paramtypes",[typeof IIBSCBS>"u"?Object:IIBSCBS]),q("design:returntype",void 0)],ft.prototype,"ibscbs",null);No([gn(Io),q("design:type",Function),q("design:paramtypes",[typeof IVItem>"u"?Object:IVItem]),q("design:returntype",void 0)],ft.prototype,"vItem",null);No([gn(Io),(0,Ro.Validates)(wa),q("design:type",Function),q("design:paramtypes",[typeof IDFeReferenciado>"u"?Object:IDFeReferenciado]),q("design:returntype",void 0)],ft.prototype,"dfeReferenciado",null);var ap=require("nfets/core"),ge=require("nfets/core"),qd=require("nfets/core");function We(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(We,"_ts_decorate");function E(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(E,"_ts_metadata");var pe=class{static{s(this,"NfeXmlBuilder")}builder;contingency;schema;data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}}};$data=void 0;aggregators=[new Up(this)];root="NFe";$det=new _p(this);nfeDetXmlBuilder;static create(e,o,i="PL_009_V4"){return new this(e,o,i)}constructor(e,o,i="PL_009_V4"){this.builder=e,this.contingency=o,this.schema=i,this.nfeDetXmlBuilder=ft.create(this.$det,i)}infNFe(e){return this.data.infNFe.$=e,this}ide(e){return this.data.infNFe.ide=e,this}emit(e){return this.data.infNFe.emit=e,this}avulsa(e){return e==null?this:(this.data.infNFe.avulsa=e,this)}dest(e){return e==null?this:(this.data.infNFe.dest=e,this)}retirada(e){return e==null?this:(this.data.infNFe.retirada=e,this)}entrega(e){return e==null?this:(this.data.infNFe.entrega=e,this)}autXML(e){return e?.length?(this.data.infNFe.autXML=e,this):this}det(e,o){return this.data.infNFe.det=e.map((i,r)=>{let n=o(this.nfeDetXmlBuilder.det({nItem:(r+1).toString()}),i);return this.collect(n),n.assemble()}),this}total(e){return e==null?this:(this.data.infNFe.total=e,this)}ISSQNtot(e){return e==null?this:(this.data.infNFe.total.ISSQNtot??={},this.data.infNFe.total.ISSQNtot={...this.data.infNFe.total.ISSQNtot,...e},this)}ICMSTot(e){return e==null?this:(this.data.infNFe.total.ICMSTot={...this.data.infNFe.total.ICMSTot,...e},this)}IBSCBSTot(e){return e==null?this:(this.data.infNFe.total.IBSCBSTot={...this.data.infNFe.total.IBSCBSTot,...e},this)}ISTot(e){return e==null?this:(this.data.infNFe.total.ISTot={...this.data.infNFe.total.ISTot,...e},this)}increment(e){let o=e(this.data.infNFe.total,this.data.infNFe.det);return this.data.infNFe.total={...this.data.infNFe.total,ICMSTot:{...this.data.infNFe.total.ICMSTot,...o.ICMSTot},ISSQNtot:o.ISSQNtot?{...this.data.infNFe.total.ISSQNtot,...o.ISSQNtot}:this.data.infNFe.total.ISSQNtot},Io.includes(this.schema)&&this.buildTotalForPL_010(o),this}buildTotalForPL_010(e){let o=this.data.infNFe.total.IBSCBSTot,i=e.IBSCBSTot,r=this.data.infNFe.total.ISTot,n=e.ISTot;this.data.infNFe.total={...this.data.infNFe.total,IBSCBSTot:{...o,...i,gCBS:{...o?.gCBS,...i?.gCBS},gIBS:{...o?.gIBS,...i?.gIBS,gIBSMun:{...o?.gIBS?.gIBSMun,...i?.gIBS?.gIBSMun},gIBSUF:{...o?.gIBS?.gIBSUF,...i?.gIBS?.gIBSUF}},...i?.gMono!=null||o?.gMono!=null?{gMono:{...o?.gMono,...i?.gMono}}:{},...i?.gEstornoCred!=null||o?.gEstornoCred!=null?{gEstornoCred:{...o?.gEstornoCred,...i?.gEstornoCred}}:{}},ISTot:r||n?{...r,...n}:r,vNFTot:e.vNFTot??this.data.infNFe.total.vNFTot}}transp(e){return e==null?this:(this.data.infNFe.transp=e,this)}cobr(e){return e==null?this:(this.data.infNFe.cobr=e,this)}pag(e){return e==null?this:(this.data.infNFe.pag=e,this)}infIntermed(e){return e==null?this:(this.data.infNFe.infIntermed=e,this)}infAdic(e){return e==null?this:(this.data.infNFe.infAdic=e,this)}exporta(e){return e==null?this:(this.data.infNFe.exporta=e,this)}compra(e){return e==null?this:(this.data.infNFe.compra=e,this)}cana(e){return e==null?this:(this.data.infNFe.cana=e,this)}infRespTec(e){return e==null?this:(this.data.infNFe.infRespTec=e,this)}infSolicNFF(e){return e==null?this:(this.data.infNFe.infSolicNFF=e,this)}agropecuario(e){return e==null?this:(this.data.infNFe.agropecuario=e,this)}infPAA(e){return e==null?this:(this.data.infNFe.infPAA=e,this)}toInstance(){return(0,KS.plainToInstance)(this.data,Lr,{clearEmptyValues:!0})}quiet(){return Reflect.deleteMetadata(ge.ValidateErrorsMetadata,this),this}toObject(){if(this.$data!==void 0)return(0,ap.right)(this.$data);let e=this.errors();if(e)return(0,ap.left)(new qd.NFeTsError(e.join(", ")));for(let o of this.aggregators)o.aggregate();return this.assertHomologValidations(),this.assertContingencyModes(),this.fillAccessKeyIfEmpty(),this.$data=dc(this.toInstance(),this.data.infNFe.emit.enderEmit.UF),(0,ap.right)(this.$data)}async assemble(){let e=this.toObject();return e.isLeft()?e:(0,ap.right)(await this.builder.build(e.value,{rootName:this.root}))}assertHomologValidations(){return this.data.infNFe.ide.tpAmb!==qd.Environment.Homolog?!1:(this.data.infNFe.dest&&(this.data.infNFe.dest.xNome="NF-E EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL"),!0)}assertContingencyModes(){if(this.contingency===void 0)return this.automaticallyInferContingencyMode();this.data.infNFe.ide.dhCont??=this.contingency.dhCont,this.data.infNFe.ide.xJust??=this.contingency.xJust;let{cUF:e,tpEmis:o}=this.data.infNFe.ide;if(o!==ht.Normal)return;switch(ud[e]){case"SVCAN":return this.data.infNFe.ide.tpEmis=ht.SVCAN,void 0;case"SVCRS":return this.data.infNFe.ide.tpEmis=ht.SVCRS,void 0}}automaticallyInferContingencyMode(){let{xJust:e,dhCont:o,tpEmis:i}=this.data.infNFe.ide;if(!(!e&&!o&&i===ht.Normal))return this.contingency={xJust:e??"SEFAZ fora do Ar",dhCont:o??new Date().toISOString()},this.assertContingencyModes()}errors(){return Reflect.getMetadata(ge.ValidateErrorsMetadata,this)}collect(e){let o=Reflect.getMetadata(ge.ValidateErrorsMetadata,e);if(!o)return;let i=this.errors();Reflect.defineMetadata(ge.ValidateErrorsMetadata,(i??[]).concat(o),this)}fillAccessKeyIfEmpty(){if(this.data.infNFe.$.Id)return;let e=new Vp().compile({cUF:this.data.infNFe.ide.cUF,year:this.data.infNFe.ide.dhEmi.substring(2,4),month:this.data.infNFe.ide.dhEmi.substring(5,7),identification:this.data.infNFe.emit.CPF??this.data.infNFe.emit.CNPJ,mod:this.data.infNFe.ide.mod,serie:this.data.infNFe.ide.serie,nNF:this.data.infNFe.ide.nNF,tpEmis:this.data.infNFe.ide.tpEmis,cNF:this.data.infNFe.ide.cNF});this.data.infNFe.ide.cDV=e.slice(-1),this.data.infNFe.$={Id:`${this.root}${e}`,versao:this.data.infNFe.$.versao}}};We([(0,ge.Validates)(Fs),E("design:type",Function),E("design:paramtypes",[typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes]),E("design:returntype",void 0)],pe.prototype,"infNFe",null);We([(0,ge.Validates)($),E("design:type",Function),E("design:paramtypes",[typeof IIde>"u"?Object:IIde]),E("design:returntype",void 0)],pe.prototype,"ide",null);We([(0,ge.Validates)(wt),E("design:type",Function),E("design:paramtypes",[typeof IEmit>"u"?Object:IEmit]),E("design:returntype",void 0)],pe.prototype,"emit",null);We([(0,ge.Validates)(to),E("design:type",Function),E("design:paramtypes",[typeof IAvulsa>"u"?Object:IAvulsa]),E("design:returntype",void 0)],pe.prototype,"avulsa",null);We([(0,ge.Validates)(Vt),E("design:type",Function),E("design:paramtypes",[typeof IDest>"u"?Object:IDest]),E("design:returntype",void 0)],pe.prototype,"dest",null);We([(0,ge.Validates)(Ie),E("design:type",Function),E("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),E("design:returntype",void 0)],pe.prototype,"retirada",null);We([(0,ge.Validates)(Ie),E("design:type",Function),E("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),E("design:returntype",void 0)],pe.prototype,"entrega",null);We([(0,ge.Validates)(In,{each:!0}),E("design:type",Function),E("design:paramtypes",[Array]),E("design:returntype",void 0)],pe.prototype,"autXML",null);We([(0,ge.Validates)(xi),E("design:type",Function),E("design:paramtypes",[typeof ITotal>"u"?Object:ITotal]),E("design:returntype",void 0)],pe.prototype,"total",null);We([gn(Io),(0,ge.Validates)($i),E("design:type",Function),E("design:paramtypes",[typeof IIBSCBSTot>"u"?Object:IIBSCBSTot]),E("design:returntype",void 0)],pe.prototype,"IBSCBSTot",null);We([gn(Io),(0,ge.Validates)(fs),E("design:type",Function),E("design:paramtypes",[typeof IISTot>"u"?Object:IISTot]),E("design:returntype",void 0)],pe.prototype,"ISTot",null);We([gn(Io),E("design:type",Function),E("design:paramtypes",[typeof ITotal>"u"?Object:ITotal]),E("design:returntype",void 0)],pe.prototype,"buildTotalForPL_010",null);We([(0,ge.Validates)(lo),E("design:type",Function),E("design:paramtypes",[typeof ITransp>"u"?Object:ITransp]),E("design:returntype",void 0)],pe.prototype,"transp",null);We([(0,ge.Validates)(na),E("design:type",Function),E("design:paramtypes",[typeof ICobr>"u"?Object:ICobr]),E("design:returntype",void 0)],pe.prototype,"cobr",null);We([(0,ge.Validates)(sa),E("design:type",Function),E("design:paramtypes",[typeof IPag>"u"?Object:IPag]),E("design:returntype",void 0)],pe.prototype,"pag",null);We([(0,ge.Validates)(Kr),E("design:type",Function),E("design:paramtypes",[typeof IInfIntermed>"u"?Object:IInfIntermed]),E("design:returntype",void 0)],pe.prototype,"infIntermed",null);We([(0,ge.Validates)(tn),E("design:type",Function),E("design:paramtypes",[typeof IInfAdic>"u"?Object:IInfAdic]),E("design:returntype",void 0)],pe.prototype,"infAdic",null);We([(0,ge.Validates)(cr),E("design:type",Function),E("design:paramtypes",[typeof IExporta>"u"?Object:IExporta]),E("design:returntype",void 0)],pe.prototype,"exporta",null);We([(0,ge.Validates)(pr),E("design:type",Function),E("design:paramtypes",[typeof ICompra>"u"?Object:ICompra]),E("design:returntype",void 0)],pe.prototype,"compra",null);We([(0,ge.Validates)(uo),E("design:type",Function),E("design:paramtypes",[typeof ICana>"u"?Object:ICana]),E("design:returntype",void 0)],pe.prototype,"cana",null);We([(0,ge.Validates)(gi),E("design:type",Function),E("design:paramtypes",[typeof IInfRespTec>"u"?Object:IInfRespTec]),E("design:returntype",void 0)],pe.prototype,"infRespTec",null);We([(0,ge.Validates)(Os),E("design:type",Function),E("design:paramtypes",[typeof ISolicNFF>"u"?Object:ISolicNFF]),E("design:returntype",void 0)],pe.prototype,"infSolicNFF",null);We([gn(Io),(0,ge.Validates)(Yn),E("design:type",Function),E("design:paramtypes",[typeof IAgropecuario>"u"?Object:IAgropecuario]),E("design:returntype",void 0)],pe.prototype,"agropecuario",null);We([gn(Io),(0,ge.Validates)(Oa),E("design:type",Function),E("design:paramtypes",[typeof IInfPAA>"u"?Object:IInfPAA]),E("design:returntype",void 0)],pe.prototype,"infPAA",null);var iu=class extends ac{static{s(this,"NfeXmlBuilderPipeline")}certificate;schema;builder;constructor(e,o="PL_009_V4"){super(e),this.certificate=e,this.schema=o,this.builder=pe.create(this.toolkit,void 0,this.schema)}build(e){return e(this.builder),this}async assemble(){let e=await this.builder.assemble();return e.isLeft()?e:this.assertXmlSignedAndValidated(e.value)}get nfeXsdSchema(){return $S.default.resolve(Lp(),this.schema,"nfe_v4.00.xsd")}async assertXmlSignedAndValidated(e){if(!this.certificate)return(0,sp.right)(e);let o=await this.signXmlString(e);return o.isLeft()?o:this.validateXmlString(o.value)}async signXmlString(e){if(!this.certificate)return(0,sp.right)(e);let o=await this.certificates.read(this.certificate);return o.isLeft()?o:this.xmlSigner.sign(e,{tag:"infNFe",mark:"Id"},o.value)}async validateXmlString(e){let o=await this.toolkit.validate(e,this.nfeXsdSchema);return o.isLeft()?(0,sp.left)(new Mp(o.value.message,e,{cause:o.value.cause})):(0,sp.right)(e)}};var iC=require("nfets/core");var Qd=require("nfets/core"),nC=require("nfets/core");var oC=require("nfets/core");var Gd=require("class-transformer"),Zo=require("class-validator");var bv=require("class-validator");function eC(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(eC,"_ts_decorate");function tC(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(tC,"_ts_metadata");var cp=class{static{s(this,"InfNFeSupl")}qrCode;urlChave};eC([(0,bv.IsString)(),tC("design:type",String)],cp.prototype,"qrCode",void 0);eC([(0,bv.IsString)(),tC("design:type",String)],cp.prototype,"urlChave",void 0);function Hd(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Hd,"_ts_decorate");function kd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(kd,"_ts_metadata");var Jn=class{static{s(this,"NFCe")}$;infNFe;infNFeSupl;Signature};Hd([(0,Zo.IsObject)(),(0,Zo.IsNotEmptyObject)(),(0,Gd.Type)(()=>rp),(0,Zo.ValidateNested)(),kd("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],Jn.prototype,"$",void 0);Hd([(0,Zo.IsObject)(),(0,Zo.IsNotEmptyObject)(),(0,Gd.Type)(()=>Ne),(0,Zo.ValidateNested)(),kd("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],Jn.prototype,"infNFe",void 0);Hd([(0,Zo.IsObject)(),(0,Zo.IsNotEmptyObject)(),(0,Gd.Type)(()=>cp),(0,Zo.ValidateNested)(),kd("design:type",typeof IInfNFeSupl>"u"?Object:IInfNFeSupl)],Jn.prototype,"infNFeSupl",void 0);Hd([(0,Zo.Allow)(),kd("design:type",typeof Signature>"u"?Object:Signature)],Jn.prototype,"Signature",void 0);var nu=class extends pe{static{s(this,"NfceXmlBuilder")}data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}}};static create(e,o,i="PL_009_V4"){return new this(e,o,i)}toInstance(){return(0,oC.plainToInstance)(this.data,Jn,{clearEmptyValues:!0})}assertHomologValidations(){return super.assertHomologValidations()?(this.data.infNFe.det[0].prod.xProd="NOTA FISCAL EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL",!0):!1}assertContingencyModes(){if(this.contingency===void 0)return this.automaticallyInferContingencyMode();this.data.infNFe.ide.dhCont??=this.contingency.dhCont,this.data.infNFe.ide.xJust??=this.contingency.xJust;let{tpEmis:e}=this.data.infNFe.ide;if(e===ht.Normal)return this.data.infNFe.ide.tpEmis=ht.OFFLINE,void 0}};var xv=class extends iu{static{s(this,"NfceXmlBuilderPipeline")}options;nfceQrcode=new Jt(this.certificates);transmitter=new Mt(this.soap,this.nfceQrcode);constructor(e,o="PL_009_V4",i){super(e,o),this.options=i}builder=nu.create(this.toolkit,void 0,this.schema);async assertXmlSignedAndValidated(e){let o=await super.assertXmlSignedAndValidated(e);if(o.isLeft()||!this.options?.qrCode)return o;if(!this.certificate)return(0,Qd.left)(new iC.NFeTsError("Certificate is required to assemble NFCe XML with QR Code"));let i=o.value,r=await this.toolkit.parse(i),n=await this.generateQrCode(r,this.options,this.certificate);if(n.isLeft())return n;let a=await this.toolkit.build(n.value,{rootName:"infNFeSupl"}),c=this.toolkit.insertBefore(i,"Signature",a);return(0,Qd.right)(c)}async generateQrCode(e,o,i){let r=this.transmitter.service({cUF:e.infNFe.ide.cUF,tpAmb:e.infNFe.ide.tpAmb,service:"NfeConsultaQR"}),n={...o.qrCode};switch(n.version??=r.version,n.version){case"200":return await this.nfceQrcode.execute(e,{version:n.version,urlConsult:this.transmitter.getUrlConsult(e),urlService:r.url,CSC:n.CSC,CSCId:n.CSCId});case"300":{let a=await this.certificates.read(i);return a.isLeft()?a:await this.nfceQrcode.execute(e,{version:n.version,certificate:a.value,urlConsult:this.transmitter.getUrlConsult(e),urlService:r.url})}default:return(0,nC.unreachable)(n.version)}}};var rC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAg0AAAFXCAYAAAAh5X2YAAAgAElEQVR4nOy9e5xdZX3v//7sDENMY0zTNCcnJ+XQlEORw0TkRzkUYSCZaKkSBrwEa8XLD5tgBtA2M6HUenxZj1Umk1pJhpLUS71Uy2gp4WK9ZAJM1HootZpYDz9+/CylkQaIi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feksSR+2uVFicdo9keBylsho558uglR2YUyNbMTwOcynliw6XtUyA4FA4NgQlIbA64YtO1pnAVfbvklwPlJLteOiQvJ6tStj0mWv2r4T8dCShZuDwhAIBN7wBKUh8LpjYEdrk+xzkN4PdNheDKpJmxxZI5L4yEmUHTC8LLvH8NiSRZtDkFwgEDhpCEpD4HXNwI6lGaGzsLNIFwMXAfNsWiQyaftA5SsNXquR2SNIh8AHQVsxLyB+CmwCdh6rSpiBQCBwIhGUhsAbii07WrGZI/lsw2JgIWa+pDnALOyoaFEcq2AzIrEPOIC9B9iN9H+AndjbLe1asjDEKgQCgQDA/wf59f5AwcXxcQAAAABJRU5ErkJggg==";var pp=class t{static{s(this,"Header")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}emit(e){let{left:o,right:i}=this.builder.pageMargins(),r=e?.x??o,n=this.context.data.infNFe.emit,{enderEmit:a}=n,{xNome:c}=n,p=this.context.defaults.font,u=`${p}-Bold`,l="center";this.builder.row({left:r,right:i},d=>this.builder.text(this.identification(n),{...d,align:l})).row({left:r,right:i},d=>this.builder.font(u).text(c,{...d,align:l}).font(p)).row({left:r,right:i},d=>this.builder.text(`${this.addressLine1(a)}${this.addressLine2(a)}${this.addressLine3(a)}`,{...d,align:l})).row({left:r,right:i},d=>this.builder.text(this.addressLine4(a),{...d,align:l}))}identification(e){let o=this.cpfOrCnpj(e),i=e.IE.length?` IE: ${e.IE}`:"";return`${o}${i}`}cpfOrCnpj(e){let{CNPJ:o,CPF:i}=e;return o?.length===14?`CNPJ ${o.replace(/([A-Z0-9]{2})([A-Z0-9]{3})([A-Z0-9]{3})([A-Z0-9]{4})([A-Z0-9]{2})/,"$1.$2.$3/$4-$5")}`:i?.length===11?`CPF ${i.replace(/(\d{3})(\d{3})(\d{3})(\d{2})/,"$1.$2.$3-$4")}`:""}addressLine1(e){let{xLgr:o,nro:i}=e;return`${o}, ${i}`}addressLine2(e){let{xBairro:o}=e;return`, ${o}`}addressLine3(e){let{xMun:o,UF:i}=e;return`, ${o} - ${i}`}addressLine4(e){let{fone:o}=e;return o?`Fone: ${o.replace(/(\d{2})(\d{4,5})(\d{4})/,"($1) $2-$3")}`:""}staticTexts(){let{left:e,right:o}=this.builder.pageMargins();this.builder.moveDown(.5).fontSize(this.context.options.titleFontSize).row({left:e,right:o},i=>this.builder.text("Documento Auxiliar da Nota Fiscal de Consumidor Eletr\xF4nica",{...i,align:"center"})).row({left:e,right:o},i=>this.builder.text("N\xE3o permite aproveitamento de cr\xE9dito de ICMS",{...i,align:"center"}))}get logo(){let{logo:e,ignoreDefaultLogo:o}=this.context.options;if(e)return e;if(!o)return rC}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.emit(),this.staticTexts(),this.builder}end(){t._instance=void 0}};var Fa=class t{static{s(this,"FiscalMessages")}context;static _instance;constants={issuedInContingency:"EMITIDA EM CONTING\xCANCIA",pendingOfAuthorization:"Pendente de autoriza\xE7\xE3o",notProtocoledInNormalEmission:"PENDENTE DE AUTORIZA\xC7\xC3O - SEM VALOR FISCAL"};static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get contingencyBannerText(){return this.context.protNFe?.infProt?this.constants.issuedInContingency:`${this.constants.issuedInContingency}
36
- ${this.constants.pendingOfAuthorization}`}get hasContingency(){let{tpEmis:e}=this.context.data.infNFe.ide;return e!==ht.Normal}get hasNotProtocoledInNormalEmission(){return!this.hasContingency&&!this.context.protNFe}contingency(e){if(!this.hasContingency)return;let o=e?.x??0;this.builder.row({left:o},i=>this.builder.text(this.contingencyBannerText,{...i,align:"center"}))}notProtocoledInNormalEmission(e){if(!this.hasNotProtocoledInNormalEmission)return;let o=e?.x??0;this.builder.row({left:o},i=>this.builder.text(this.constants.notProtocoledInNormalEmission,{...i,align:"center"}))}build(e){return this.setup(),this.builder.moveDown(.5),this.contingency(e),this.notProtocoledInNormalEmission(e),this.builder}setup(){let e=this.context.defaults.font,o=`${e}-Bold`;this.builder.font(o,this.context.options.titleFontSize)}end(){t._instance=void 0}height(){this.setup();let e=[.5],{left:o,right:i}=this.builder.pageMargins(),r=this.builder.pageWidth()-o-i;return this.hasContingency&&e.push(this.builder.heightOfString(this.contingencyBannerText,{width:r,align:"center"})),this.hasNotProtocoledInNormalEmission&&e.push(this.builder.heightOfString(this.constants.notProtocoledInNormalEmission,{width:r,align:"center"})),e.reduce((n,a)=>n+a,0)}};var aC=require("nfets/core");var lp=class t{static{s(this,"HomologMessage")}context;static _instance;constants={withoutFiscalValue:"EMITIDA EM AMBIENTE DE HOMOLOGA\xC7\xC3O \u2013 SEM VALOR FISCAL"};static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get hasHomologMessage(){let{tpAmb:e}=this.context.data.infNFe.ide;return e!==aC.Environment.Production}withHomologMessage(){if(!this.hasHomologMessage)return;let{left:e}=this.builder.pageMargins();this.builder.text(this.constants.withoutFiscalValue,{x:e,align:"center"})}build(){return this.setup(),this.builder.moveDown(.5),this.withHomologMessage(),this.builder.font(this.context.defaults.font),this.builder}setup(){let e=this.context.defaults.font,o=`${e}-Bold`;this.builder.font(o,this.context.options.titleFontSize)}end(){t._instance=void 0}height(){if(!this.hasHomologMessage)return 0;this.setup();let{left:e,right:o}=this.builder.pageMargins();return this.builder.heightOfString(this.constants.withoutFiscalValue,{width:this.builder.pageWidth()-e-o,align:"center"})}};var Zd=class t{static{s(this,"Items")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get columnStyles(){return[15,32,60,"*","*","*","*"]}get rowStyles(){return{border:!1}}get defaultStyle(){return{padding:{top:1,bottom:1,left:0,right:0}}}get headers(){let e={src:`${this.context.defaults.font}-Bold`};return[{font:e,text:"#"},{font:e,text:"cod."},{font:e,text:"descri\xE7\xE3o"},{font:e,align:{x:"right"},text:"qtde"},{font:e,align:{x:"right"},text:"unit."},{font:e,align:{x:"right"},text:"desc."},{font:e,align:{x:"right"},text:"total"}]}item(e){let{prod:o,$:{nItem:i}}=e,{cProd:r,xProd:n,qCom:a,uCom:c,vUnCom:p,vDesc:u,vProd:l}=o,d={size:this.context.options.textFontSize},m={font:d,text:i.padStart(3,"0")},y={font:d,text:r},x=[{font:d,align:{x:"right"},text:`${this.context.currency(a,4)} ${c}`},{font:d,align:{x:"right"},text:this.context.currency(p,10)},{font:d,align:{x:"right"},text:this.context.currency(u??0)},{font:d,align:{x:"right"},text:this.context.currency(l)}],N=this.builder.widthOfString(r),C=this.columnStyles[1];if(N>=C)return[[m,{colSpan:6,font:d,text:`${r} ${n}`}],[{colSpan:3},...x]];let b=this.builder.widthOfString(n),I=this.columnStyles[2];if(b>=I)return[[m,y,{colSpan:5,font:d,text:n}],[{colSpan:3},...x]];let A=this.getFirstLineWidth();return this.builder.widthOfString(`${r} ${n}`)<=A?[[m,y,{font:d,text:n},...x]]:[[m,y,{colSpan:5,font:d,text:n}],[{colSpan:3},...x]]}items(){let{det:e}=this.context.data.infNFe,o=Array.isArray(e)?e:[e],{left:i}=this.builder.pageMargins();this.builder.table({position:{x:i},defaultStyle:this.defaultStyle,columnStyles:this.columnStyles,rowStyles:this.rowStyles,data:[this.headers,...o.reduce((r,n)=>r.concat(this.item(n)),[])]})}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.builder.moveDown(.5),this.items(),this.builder}end(){t._instance=void 0}getFirstLineWidth(){return this.columnStyles.slice(1,3).reduce((o,i)=>o+i,0)}getProportionalWidth(){let{left:e,right:o}=this.builder.pageMargins(),i=this.builder.pageWidth()-e-o,r=this.columnStyles.reduce((a,c)=>typeof c=="number"?a+c:a,0),n=this.columnStyles.filter(a=>a==="*").length;return(i-r)/n}getAvailableWidth(e,o){if(e.colSpan){let n=o.indexOf(e),a=this.columnStyles.slice(0,n).reduce((p,u)=>typeof u=="number"?p+u:p,0),c=this.getProportionalWidth()*e.colSpan;return a+c}let i=o.indexOf(e),r=this.columnStyles[i];return typeof r=="number"?r:this.getProportionalWidth()}calculateRowHeight(e,o){let i=o;for(let r of e){if(!r.text)continue;let n=r.text,a=this.builder.widthOfString(n),c=this.getAvailableWidth(r,e),p=a<=c?o:this.builder.heightOfString(n,{width:c});i=Math.max(i,p)}return i}height(){this.setup();let{det:e}=this.context.data.infNFe,o=Array.isArray(e)?e:[e],i=this.builder.currentLineHeight(),r=i*1.2,n=i*.5,a=i*.5,c=o.reduce((u,l)=>{let d=this.item(l),[m]=d,y=this.calculateRowHeight(m,i),x=0;if(d.length>1){let A=this.calculateRowHeight(d[1],i);x=Math.max(i,A)}let{top:N,bottom:C}=this.defaultStyle.padding,b=N+C,I=d.length>1?i*.2:0;return u+y+x+d.length*b+I},0),p=i*2;return n+r+a+c+p}};var sC=require("nfets/core");var up=class t{static{s(this,"Totals")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}count(){let{det:e}=this.context.data.infNFe,o=Array.isArray(e)?e:[e],{left:i,right:r}=this.builder.pageMargins();this.builder.row({columns:2,left:i,right:r},n=>this.builder.text("Qtde. Total de Itens",{...n}),n=>this.builder.text(`${o.length}`,{...n,align:"right"}))}totalizers(){let{vProd:e,vDesc:o,vFrete:i,vSeg:r,vOutro:n}=this.context.data.infNFe.total.ICMSTot,{vServ:a}=this.context.data.infNFe.total.ISSQNtot??{};this.conditionalRowValue("Valor Total R$",new sC.Decimal(e).add(a??0).toNumber()),this.conditionalRowValue("Desconto total R$",o,"-"),this.conditionalRowValue("Frete total R$",i),this.conditionalRowValue("Seguro total R$",r),this.conditionalRowValue("Outras despesas total R$",n)}total(){let{vNF:e}=this.context.data.infNFe.total.ICMSTot,o=this.context.defaults.font,i=`${o}-Bold`,{left:r,right:n}=this.builder.pageMargins();this.builder.font(i).fontSize(this.context.options.titleFontSize).row({columns:2,left:r,right:n},a=>this.builder.text("Valor a Pagar R$",{...a,align:"left"}),a=>this.builder.text(this.context.currency(e),{...a,align:"right"})).font(o)}conditionalRowValue(e,o,i=""){if(!o||!Number.parseFloat(o.toString()))return;o=this.context.currency(o);let{left:r,right:n}=this.builder.pageMargins();this.builder.row({columns:2,left:r,right:n},a=>this.builder.text(e,{...a,align:"left"}),a=>this.builder.text(`${i}${o}`,{...a,align:"right"}))}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.builder.moveDown(.5),this.count(),this.totalizers(),this.total(),this.builder}end(){t._instance=void 0}};var xt={Dinheiro:"01",Cheque:"02",CartaoDeCredito:"03",CartaoDeDebito:"04",CartaoDaLoja:"05",ValeAlimentacao:"10",ValeRefeicao:"11",ValePresente:"12",ValeCombustivel:"13",BoletoBancario:"15",DepositoBancario:"16",PIXDinamico:"17",TransferenciaBancaria:"18",ProgramaFidelidade:"19",PIXEstatico:"20",CreditoEmLoja:"21",PagamentoNaoInformado:"22",SemPagamento:"90",PagamentoPosterior:"91",Outros:"99"},cC={[xt.Dinheiro]:"Dinheiro",[xt.Cheque]:"Cheque",[xt.CartaoDeCredito]:"Cart\xE3o de Cr\xE9dito",[xt.CartaoDeDebito]:"Cart\xE3o de D\xE9bito",[xt.CartaoDaLoja]:"Cart\xE3o da Loja/Outros Credi\xE1rios",[xt.ValeAlimentacao]:"Vale Alimenta\xE7\xE3o",[xt.ValeRefeicao]:"Vale Refei\xE7\xE3o",[xt.ValePresente]:"Vale Presente",[xt.ValeCombustivel]:"Vale Combust\xEDvel",[xt.BoletoBancario]:"Boleto Banc\xE1rio",[xt.DepositoBancario]:"Dep\xF3sito Banc\xE1rio",[xt.PIXDinamico]:"Pagamento Instant\xE2neo (PIX) - Din\xE2mico",[xt.TransferenciaBancaria]:"Transfer\xEAncia banc\xE1ria, Carteira Digital",[xt.ProgramaFidelidade]:"Programa fidelidade, Cashback, Cr\xE9d Virt",[xt.PIXEstatico]:"Pagamento Instant\xE2neo (PIX) - Est\xE1tico",[xt.CreditoEmLoja]:"Cr\xE9dito em Loja",[xt.PagamentoNaoInformado]:"Pagamento Eletr\xF4nico n\xE3o Informado - falha de hardware do sistema emissor",[xt.SemPagamento]:"Sem pagamento",[xt.PagamentoPosterior]:"Pagamento Posterior",[xt.Outros]:"Outros"};var dp=class t{static{s(this,"Payments")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}payment(e){let{tPag:o,vPag:i}=e,{left:r,right:n}=this.builder.pageMargins();this.builder.row({columns:2,left:r,right:n},a=>this.builder.text(cC[o],{...a,align:"left"}),a=>this.builder.text(this.context.currency(i),{...a,align:"right"}))}payments(){let{pag:e}=this.context.data.infNFe,o=Array.isArray(e.detPag)?e.detPag:[e.detPag];if(o.length===0)return;let{left:i,right:r}=this.builder.pageMargins();this.builder.row({columns:2,left:i,right:r},n=>this.builder.text("Forma de Pagamento",{...n,align:"left"}),n=>this.builder.text("Valor pago R$",{...n,align:"right"})),o.forEach(n=>this.payment(n))}change(){let{vTroco:e}=this.context.data.infNFe.pag;if(!this.context.isValueNotEmpty(e))return;let{left:o,right:i}=this.builder.pageMargins();this.builder.moveDown(.5).row({columns:2,left:o,right:i},r=>this.builder.text("Troco R$",{...r,align:"left"}),r=>this.builder.text(this.context.currency(e),{...r,align:"right"}))}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.builder.moveDown(.5),this.payments(),this.change(),this.builder}end(){t._instance=void 0}height(){this.setup();let{pag:{vTroco:e,detPag:o}}=this.context.data.infNFe,i=Array.isArray(o)?o:[o],r=this.context.isValueNotEmpty(e)?this.builder.currentLineHeight()+.5:0;return this.builder.currentLineHeight()*i.length-1+r}};var fp=class t{static{s(this,"AccessKey")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}statics(){let{left:e,right:o}=this.builder.pageMargins(),i=this.context.defaults.font,r=`${i}-Bold`;this.builder.font(r).row({left:e,right:o},n=>this.builder.text("Consulte pela Chave de Acesso em",{...n,align:"center"})).font(i)}url(){let{urlChave:e}=this.context.data.infNFeSupl??{},{left:o,right:i}=this.builder.pageMargins();this.builder.row({left:o,right:i},r=>this.builder.text(e??"",{...r,link:e,align:"center"}))}accessKey(){let{Id:e}=this.context.data.infNFe.$;if(!e)return;this.builder.moveDown(.5);let o=e.substring(3).replace(/(.{4})/g,"$1 ").trim(),{left:i,right:r}=this.builder.pageMargins();this.builder.row({left:i,right:r},n=>this.builder.text(o,{...n,align:"center"}))}setup(){this.builder.font(this.context.defaults.font,this.context.options.titleFontSize)}build(){return this.builder.moveDown(.5),this.statics(),this.url(),this.accessKey(),this.builder}end(){t._instance=void 0}};var gR=pt(ug(),1);var pf=class t{static{s(this,"QRCode")}context;static _instance;qrCodeSvg;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get hasContingency(){let{tpEmis:e}=this.context.data.infNFe.ide;return e!==ht.Normal}get qrSize(){let{left:e,right:o}=this.builder.pageMargins(),i=this.builder.pageWidth()-e-o,r=this.hasContingency?.6:.4;return Math.floor(i*r)}async getQrSvgString(e){try{return await gR.toString(e,{margin:0,type:"svg",errorCorrectionLevel:"M",color:{dark:"#000000",light:"#FFFFFF"}})}catch(o){return console.error("Error generating QR code:",o),""}}drawQrCode(){if(!this.qrCodeSvg)return;let e=this.qrCodeSvg.$.viewBox,[,,o,i]=e.split(" ").map(Number),r=this.qrSize,n=r/o,a=r/i,c=Array.isArray(this.qrCodeSvg.path)?this.qrCodeSvg.path:[this.qrCodeSvg.path],{left:p,right:u}=this.builder.pageMargins(),l=this.builder.pageWidth()-p-u,d=p+(l-r)/2,m=this.builder.y();this.builder.save().translate(d,m).scale(n,a),c.forEach(y=>{this.builder.path(y.$.d),y.$.fill&&this.builder.fill(y.$.fill),y.$.stroke&&this.builder.stroke(y.$.stroke)}),this.builder.restore(),this.builder.text("",{y:m+r})}async make(){let{qrCode:e}=this.context.data.infNFeSupl??{};if(!e)return this.builder;let o=await this.getQrSvgString(e);this.qrCodeSvg=await this.context.toolkit.parse(o)}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}async build(){return await this.make(),this.qrCodeSvg?(this.setup(),this.builder.moveDown(.5),this.drawQrCode(),this.builder):this.builder}end(){t._instance=void 0}height(){let{qrCode:e}=this.context.data.infNFeSupl??{};return e?(this.setup(),this.qrSize+.5):0}};var lf=class t{static{s(this,"Recipient")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}unknown(e){let{left:o,right:i}=this.builder.pageMargins(),r=this.context.defaults.font,n=`${r}-Bold`;this.builder.row({left:e?.x??o,right:i},a=>this.builder.font(n).text("CONSUMIDOR N\xC3O IDENTIFICADO",{...a,align:"center"}).font(r))}identification(e){let{CNPJ:o,CPF:i,idEstrangeiro:r}=e;return o?.length===14?`CNPJ: ${o.replace(/([A-Z0-9]{2})([A-Z0-9]{3})([A-Z0-9]{3})([A-Z0-9]{4})([A-Z0-9]{2})/,"$1.$2.$3/$4-$5")}`:i?.length===11?`CPF: ${i.replace(/(\d{3})(\d{3})(\d{3})(\d{2})/,"$1.$2.$3-$4")}`:r?.length?`Id. Estrangeiro: ${r}`:""}dest(e){let{dest:o}=this.context.data.infNFe;if(!o)return this.unknown(e);let{left:i,right:r}=this.builder.pageMargins(),n=this.identification(o),{xNome:a,enderDest:c}=o,p=this.addressLine(c),u=this.context.defaults.font,l=`${u}-Bold`;this.builder.row({left:e?.x??i,right:r},d=>this.builder.font(l).text(`CONSUMIDOR - ${n}`,{...d,align:"center"}).font(u)).row({left:e?.x??i,right:r},d=>this.builder.text(`${a}${p}`,{...d,align:"center"}))}addressLine(e){if(!e)return"";let{xLgr:o,nro:i,xBairro:r,xCpl:n,xMun:a,UF:c,CEP:p}=e;if(!o||!p)return"";let u=n?`, ${n}`:"";return` - Rua ${o}, ${i}, ${r}${u}, ${a} - ${c}`}addressLine2(e){let{xBairro:o,xCpl:i}=e,r=i?` - ${i}`:"";return`${o}${r}`}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(e){return this.setup(),this.builder.moveDown(.5),this.dest(e),this.builder}end(){t._instance=void 0}height(){this.setup();let{left:e,right:o}=this.builder.pageMargins(),i=this.builder.pageWidth()-e-o,r=[this.builder.currentLineHeight()*.5],{dest:n}=this.context.data.infNFe;if(!n)return r.push(this.builder.heightOfString("CONSUMIDOR N\xC3O IDENTIFICADO",{width:i,align:"center"})),r.reduce((l,d)=>l+d,0);let a=this.identification(n),{xNome:c,enderDest:p}=n,u=this.addressLine(p);return r.push(this.builder.heightOfString(`CONSUMIDOR - ${a}`,{width:i,align:"center"}),this.builder.heightOfString(`${c}${u}`,{width:i,align:"center"})),r.reduce((l,d)=>l+d,0)}};var _r=require("nfets/core");var uf=class t{static{s(this,"Protocols")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}isProtocoled(e){return!!e}protocol(e){let o=this.context.protNFe;return this.isProtocoled(o)?this.protocoled(o.infProt,e):this.unprotocoled()}unprotocoled(){}metadata(e){let{nNF:o,serie:i,dhEmi:r}=this.context.data.infNFe.ide,n=o.padStart(9,"0"),a=i.padStart(3,"0"),{left:c,right:p}=this.builder.pageMargins(),{cUF:u}=this.context.data.infNFe.ide,l=_r.timezones[u],d=(0,_r.dateToolkit)(r).tz(l).format("DD/MM/YYYY HH:mm:ss"),m=this.context.defaults.font,y=`${m}-Bold`;this.builder.row({left:e?.x??c,right:p},x=>this.builder.font(y).text(`NFC-e n\xBA ${n} - s\xE9rie ${a} emitida em: ${d}`,{...x,align:"center"}).font(m))}protocoled(e,o){let{dhRecbto:i,nProt:r}=e,{left:n,right:a}=this.builder.pageMargins(),{cUF:c}=this.context.data.infNFe.ide,p=_r.timezones[c],u=r.replace(/([0-9]{3})([0-9]{10})(.*)/g,"$1 $2 $3"),l=(0,_r.dateToolkit)(i).tz(p).format("DD/MM/YYYY HH:mm:ss");this.builder.row({left:o?.x??n,right:a},d=>this.builder.text(`Protocolo de autoriza\xE7\xE3o: ${u}
35
+ `+n)}}catch{}}throw i}}_request(e,o){typeof e=="string"?(o=o||{},o.url=e):o=e||{},o=Li(this.defaults,o);let{transitional:i,paramsSerializer:r,headers:n}=o;i!==void 0&&dl.assertOptions(i,{silentJSONParsing:no.transitional(no.boolean),forcedJSONParsing:no.transitional(no.boolean),clarifyTimeoutError:no.transitional(no.boolean),legacyInterceptorReqResOrdering:no.transitional(no.boolean),advertiseZstdAcceptEncoding:no.transitional(no.boolean),validateStatusUndefinedResolves:no.transitional(no.boolean)},!1),r!=null&&(h.isFunction(r)?o.paramsSerializer={serialize:r}:dl.assertOptions(r,{encode:no.function,serialize:no.function},!0)),o.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?o.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:o.allowAbsoluteUrls=!0),dl.assertOptions(o,{baseUrl:no.spelling("baseURL"),withXsrfToken:no.spelling("withXSRFToken")},!0),o.method=(o.method||this.defaults.method||"get").toLowerCase();let a=n&&h.merge(n.common,n[o.method]);n&&h.forEach(["delete","get","head","post","put","patch","query","common"],x=>{delete n[x]}),o.headers=we.concat(a,n);let c=[],p=!0;this.interceptors.request.forEach(s(function(N){if(typeof N.runWhen=="function"&&N.runWhen(o)===!1)return;p=p&&N.synchronous;let C=o.transitional||Gr;C&&C.legacyInterceptorReqResOrdering?c.unshift(N.fulfilled,N.rejected):c.push(N.fulfilled,N.rejected)},"unshiftRequestInterceptors"));let u=[];this.interceptors.response.forEach(s(function(N){u.push(N.fulfilled,N.rejected)},"pushResponseInterceptors"));let l,d=0,m;if(!p){let x=[ul.bind(this),void 0];for(x.unshift(...c),x.push(...u),m=x.length,l=Promise.resolve(o);d<m;)l=l.then(x[d++],x[d++]);return l}m=c.length;let y=o;for(;d<m;){let x=c[d++],N=c[d++];try{y=x?x(y):y}catch(C){if(!N){l=Promise.reject(C);break}try{let b=N.call(this,C);h.isThenable(b)&&(l=Promise.resolve(b).then(()=>ul.call(this,y)))}catch(b){l=Promise.reject(b)}break}}if(!l)try{l=ul.call(this,y)}catch(x){l=Promise.reject(x)}for(d=0,m=u.length;d<m;)l=l.then(u[d++],u[d++]);return l}getUri(e){e=Li(this.defaults,e);let o=Ya(e.baseURL,e.url,e.allowAbsoluteUrls,e);return Za(o,e.params,e.paramsSerializer)}};h.forEach(["delete","get","head","options"],s(function(e){Ju.prototype[e]=function(o,i){return this.request(Li(i||{},{method:e,url:o,data:i&&h.hasOwnProp(i,"data")?i.data:void 0}))}},"forEachMethodNoData"));h.forEach(["post","put","patch","query"],s(function(e){function o(i){return s(function(n,a,c){return this.request(Li(c||{},{method:e,headers:i?{"Content-Type":"multipart/form-data"}:{},url:n,data:a}))},"httpMethod")}s(o,"generateHTTPMethod"),Ju.prototype[e]=o(),e!=="query"&&(Ju.prototype[e+"Form"]=o(!0))},"forEachMethodWithData"));var fl=Ju;var pD=class z0{static{s(this,"CancelToken")}constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let o;this.promise=new Promise(s(function(n){o=n},"promiseExecutor"));let i=this;this.promise.then(r=>{if(!i._listeners)return;let n=i._listeners.length;for(;n-- >0;)i._listeners[n](r);i._listeners=null}),this.promise.then=r=>{let n,a=new Promise(c=>{i.subscribe(c),n=c}).then(r);return a.cancel=s(function(){i.unsubscribe(n)},"reject"),a},e(s(function(n,a,c){i.reason||(i.reason=new Jo(n,a,c),o(i.reason))},"cancel"))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let o=this._listeners.indexOf(e);o!==-1&&this._listeners.splice(o,1)}toAbortSignal(){let e=new AbortController,o=s(i=>{e.abort(i)},"abort");return this.subscribe(o),e.signal.unsubscribe=()=>this.unsubscribe(o),e.signal}static source(){let e;return{token:new z0(s(function(r){e=r},"executor")),cancel:e}}},j0=pD;function rh(t){return s(function(o){return t.apply(null,o)},"wrap")}s(rh,"spread");function ah(t){return h.isObject(t)&&t.isAxiosError===!0}s(ah,"isAxiosError");var sh={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(sh).forEach(([t,e])=>{sh[e]=t});var B0=sh;function M0(t){let e=new fl(t),o=qp(fl.prototype.request,e);return h.extend(o,fl.prototype,e,{allOwnKeys:!0}),h.extend(o,e,null,{allOwnKeys:!0}),o.create=s(function(r){return M0(Li(t,r))},"create"),o}s(M0,"createInstance");var yt=M0($s);yt.Axios=fl;yt.CanceledError=Jo;yt.CancelToken=j0;yt.isCancel=Kp;yt.VERSION=er;yt.toFormData=kr;yt.AxiosError=w;yt.Cancel=yt.CanceledError;yt.all=s(function(e){return Promise.all(e)},"all");yt.spread=rh;yt.isAxiosError=ah;yt.mergeConfig=Li;yt.AxiosHeaders=we;yt.formToJSON=t=>Lu(h.isHTMLForm(t)?new FormData(t):t);yt.getAdapter=Yu.getAdapter;yt.HttpStatusCode=B0;yt.default=yt;var Xu=yt;var{Axios:SM,AxiosError:CM,CanceledError:NM,isCancel:RM,CancelToken:wM,VERSION:IM,all:OM,Cancel:AM,isAxiosError:FM,spread:DM,toFormData:EM,AxiosHeaders:PM,HttpStatusCode:TM,formToJSON:zM,getAdapter:jM,mergeConfig:BM,create:MM}=Xu;var Zr=require("nfets/core"),sc=require("nfets/core");var ac=class{static{s(this,"Pipeline")}certificate;xmlns="http://www.portalfiscal.inf.br/nfe";http=Xu.create();toolkit=new Zr.Xml2JsToolkit;caching=new Zr.MemoryCacheAdapter;certificates=new Zr.NativeCertificateRepository(this.http,this.caching);soap=new Zr.SoapRemoteTransmissionRepository(this.toolkit,this.certificates);signer=new sc.EntitySigner(this.toolkit,this.certificates);xmlSigner=new sc.XmlSigner(this.toolkit,this.certificates);constructor(e){this.certificate=e}errors(){return Reflect.getMetadata(sc.ValidateErrorsMetadata,this)}};var J0=lt(require("path"),1),fd=require("nfets/core"),hi=require("nfets/core"),md=require("nfets/core");var $u=require("nfets/core"),L0=require("class-transformer"),Vi=require("class-validator");function Ku(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ku,"_ts_decorate");function ph(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ph,"_ts_metadata");var Yr=class{static{s(this,"ConsultStatusPayload")}tpAmb;cUF;xServ="STATUS"};Ku([(0,Vi.IsEnum)($u.Environment),ph("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Yr.prototype,"tpAmb",void 0);Ku([(0,Vi.IsEnum)($u.StateCodes),ph("design:type",typeof StateCode>"u"?Object:StateCode)],Yr.prototype,"cUF",void 0);Ku([(0,Vi.IsOptional)()],Yr.prototype,"xServ",void 0);var ch=class{static{s(this,"ConsultStatusRequest")}consStatServ};Ku([(0,Vi.IsNotEmptyObject)(),(0,Vi.IsObject)(),(0,Vi.ValidateNested)(),(0,L0.Type)(()=>Yr),ph("design:type",typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload)],ch.prototype,"consStatServ",void 0);var V0=require("nfets/core"),td=require("nfets/core"),od=require("class-transformer"),W=require("class-validator");function Nt(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Nt,"_ts_decorate");function Yt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Yt,"_ts_metadata");var ed=class{static{s(this,"InfInutAttributes")}Id};Nt([(0,W.IsString)(),Yt("design:type",String)],ed.prototype,"Id",void 0);var ml=class{static{s(this,"InutNFeAttributes")}xmlns;versao};Nt([(0,W.IsString)(),Yt("design:type",String)],ml.prototype,"xmlns",void 0);Nt([(0,W.IsString)(),(0,W.IsOptional)(),Yt("design:type",String)],ml.prototype,"versao",void 0);var Zt=class{static{s(this,"InfInut")}$;tpAmb;xServ="INUTILIZAR";cUF;ano;CNPJ;CPF;mod;serie;nNFIni;nNFFin;xJust};Nt([(0,W.ValidateNested)(),(0,od.Type)(()=>ed),Yt("design:type",typeof IInfInutAttributes>"u"?Object:IInfInutAttributes)],Zt.prototype,"$",void 0);Nt([(0,W.IsEnum)(td.Environment),Yt("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Zt.prototype,"tpAmb",void 0);Nt([(0,W.IsOptional)()],Zt.prototype,"xServ",void 0);Nt([(0,W.IsEnum)(td.StateCodes),Yt("design:type",typeof StateCode>"u"?Object:StateCode)],Zt.prototype,"cUF",void 0);Nt([(0,W.IsString)(),(0,W.Length)(2,2),(0,W.Matches)(/^[0-9]{2}$/),Yt("design:type",String)],Zt.prototype,"ano",void 0);Nt([(0,W.IsString)(),(0,W.IsOptional)(),Yt("design:type",String)],Zt.prototype,"CNPJ",void 0);Nt([(0,W.IsString)(),(0,W.IsOptional)(),Yt("design:type",String)],Zt.prototype,"CPF",void 0);Nt([(0,W.IsString)(),(0,W.Length)(2,2),(0,W.Matches)(/^(55|65)$/),Yt("design:type",String)],Zt.prototype,"mod",void 0);Nt([(0,W.IsString)(),(0,W.Matches)(/^[0-9]{1,3}$/),Yt("design:type",String)],Zt.prototype,"serie",void 0);Nt([(0,W.IsString)(),(0,W.Matches)(/^[0-9]{1,9}$/),Yt("design:type",String)],Zt.prototype,"nNFIni",void 0);Nt([(0,W.IsString)(),(0,W.Matches)(/^[0-9]{1,9}$/),Yt("design:type",String)],Zt.prototype,"nNFFin",void 0);Nt([(0,W.IsString)(),(0,W.MinLength)(15),(0,W.MaxLength)(255),Yt("design:type",String)],Zt.prototype,"xJust",void 0);Zt=Nt([(0,V0.Choice)({properties:["CNPJ","CPF"],required:!0})],Zt);var or=class{static{s(this,"InutilizacaoPayload")}$;infInut;Signature};Nt([(0,W.IsObject)(),(0,W.ValidateNested)(),(0,od.Type)(()=>ml),Yt("design:type",typeof IInutNFeAttributes>"u"?Object:IInutNFeAttributes)],or.prototype,"$",void 0);Nt([(0,W.IsObject)(),(0,W.ValidateNested)(),(0,od.Type)(()=>Zt),Yt("design:type",typeof IInfInut>"u"?Object:IInfInut)],or.prototype,"infInut",void 0);Nt([(0,W.Allow)(),Yt("design:type",typeof Signature>"u"?Object:Signature)],or.prototype,"Signature",void 0);var U0=require("nfets/core"),Nn=require("class-validator");function lh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(lh,"_ts_decorate");function _0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(_0,"_ts_metadata");var es=class{static{s(this,"ConsultaProtocoloPayload")}tpAmb;xServ="CONSULTAR";chNFe};lh([(0,Nn.IsEnum)(U0.Environment),_0("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],es.prototype,"tpAmb",void 0);lh([(0,Nn.IsOptional)()],es.prototype,"xServ",void 0);lh([(0,Nn.IsString)(),(0,Nn.Length)(44,44),(0,Nn.Matches)(/^[A-Z0-9]{44}$/),_0("design:type",String)],es.prototype,"chNFe",void 0);var nd=require("nfets/core"),Ko=require("class-validator");function hl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(hl,"_ts_decorate");function id(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(id,"_ts_metadata");var _i=class{static{s(this,"NfeAutorizacaoPayload")}tpAmb;cUF;idLote;indSinc="1";NFe};hl([(0,Ko.IsEnum)(nd.Environment),(0,Ko.IsOptional)(),id("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],_i.prototype,"tpAmb",void 0);hl([(0,Ko.IsEnum)(nd.StateCodes),(0,Ko.IsOptional)(),id("design:type",typeof StateCode>"u"?Object:StateCode)],_i.prototype,"cUF",void 0);hl([(0,Ko.IsString)(),(0,Ko.IsOptional)(),id("design:type",String)],_i.prototype,"idLote",void 0);hl([(0,Ko.IsOptional)(),(0,Ko.IsEnum)(["0","1"])],_i.prototype,"indSinc",void 0);hl([(0,Ko.IsNotEmpty)(),id("design:type",typeof T>"u"?Object:T)],_i.prototype,"NFe",void 0);var k0=require("nfets/core"),rd=require("class-validator");function q0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(q0,"_ts_decorate");function H0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(H0,"_ts_metadata");var cc=class{static{s(this,"RetAutorizacaoPayload")}tpAmb;nRec};q0([(0,rd.IsEnum)(k0.Environment),H0("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],cc.prototype,"tpAmb",void 0);q0([(0,rd.IsString)(),H0("design:type",String)],cc.prototype,"nRec",void 0);var se=require("class-validator"),vl=require("class-transformer"),cd=require("nfets/core");function Rt(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Rt,"_ts_decorate");function jt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(jt,"_ts_metadata");var ad=class{static{s(this,"InfEventoAttributes")}Id};Rt([(0,se.IsString)(),jt("design:type",String)],ad.prototype,"Id",void 0);var zt=class{static{s(this,"InfEvento")}$;cOrgao;tpAmb;CNPJ;CPF;chNFe;dhEvento;tpEvento;nSeqEvento;verEvento;detEvento};Rt([(0,se.IsObject)(),(0,se.ValidateNested)(),(0,vl.Type)(()=>ad),jt("design:type",typeof IInfEventoAttributes>"u"?Object:IInfEventoAttributes)],zt.prototype,"$",void 0);Rt([(0,se.IsString)(),jt("design:type",typeof StateCode>"u"?Object:StateCode)],zt.prototype,"cOrgao",void 0);Rt([(0,se.IsString)(),jt("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],zt.prototype,"tpAmb",void 0);Rt([(0,se.IsString)(),(0,se.IsOptional)(),jt("design:type",String)],zt.prototype,"CNPJ",void 0);Rt([(0,se.IsString)(),(0,se.IsOptional)(),jt("design:type",String)],zt.prototype,"CPF",void 0);Rt([(0,se.IsString)(),jt("design:type",String)],zt.prototype,"chNFe",void 0);Rt([(0,cd.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),jt("design:type",String)],zt.prototype,"dhEvento",void 0);Rt([(0,se.IsEnum)(gt),jt("design:type",typeof gt>"u"?Object:gt)],zt.prototype,"tpEvento",void 0);Rt([(0,se.IsNumber)(),jt("design:type",Number)],zt.prototype,"nSeqEvento",void 0);Rt([(0,se.IsString)(),jt("design:type",String)],zt.prototype,"verEvento",void 0);Rt([(0,se.IsObject)(),jt("design:type",typeof T>"u"?Object:T)],zt.prototype,"detEvento",void 0);zt=Rt([(0,cd.Choice)({properties:["CNPJ","CPF"],required:!0})],zt);var sd=class{static{s(this,"EventoItemAttributes")}xmlns};Rt([(0,se.IsString)(),jt("design:type",String)],sd.prototype,"xmlns",void 0);var Rn=class{static{s(this,"EventoItem")}$;infEvento;Signature};Rt([(0,se.IsObject)(),(0,se.ValidateNested)(),(0,vl.Type)(()=>sd),jt("design:type",typeof IEventoItemAttributes>"u"?Object:IEventoItemAttributes)],Rn.prototype,"$",void 0);Rt([(0,se.IsObject)(),(0,se.ValidateNested)(),(0,vl.Type)(()=>zt),jt("design:type",typeof zt>"u"?Object:zt)],Rn.prototype,"infEvento",void 0);Rt([(0,se.Allow)(),jt("design:type",typeof Signature>"u"?Object:Signature)],Rn.prototype,"Signature",void 0);var pc=class{static{s(this,"EventoPayload")}idLote;evento};Rt([(0,se.IsString)(),jt("design:type",String)],pc.prototype,"idLote",void 0);Rt([(0,se.IsNotEmpty)(),(0,se.ValidateNested)(),(0,vl.Type)(()=>Rn),jt("design:type",typeof Rn>"u"?Object:Rn)],pc.prototype,"evento",void 0);var G0=require("nfets/core"),Q0=require("nfets/core"),mi=require("class-validator");function lc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(lc,"_ts_decorate");function pd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(pd,"_ts_metadata");var Ui=class{static{s(this,"ConsultaCadastroPayload")}xServ="CONS-CAD";UF;IE="";CNPJ="";CPF=""};lc([(0,mi.IsOptional)()],Ui.prototype,"xServ",void 0);lc([(0,mi.IsString)(),(0,mi.IsIn)(Object.values(G0.StateAcronyms)),pd("design:type",typeof StateAcronym>"u"?Object:StateAcronym)],Ui.prototype,"UF",void 0);lc([(0,mi.IsOptional)(),(0,mi.IsString)(),pd("design:type",String)],Ui.prototype,"IE",void 0);lc([(0,mi.IsOptional)(),(0,mi.IsString)(),pd("design:type",String)],Ui.prototype,"CNPJ",void 0);lc([(0,mi.IsOptional)(),(0,mi.IsString)(),pd("design:type",String)],Ui.prototype,"CPF",void 0);Ui=lc([(0,Q0.Choice)({properties:["IE","CNPJ","CPF"],required:!0})],Ui);var ud=require("nfets/core"),Z0=require("nfets/core"),Y0=require("class-transformer"),Bt=require("class-validator");function ts(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ts,"_ts_decorate");function uc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(uc,"_ts_metadata");var ld=class{static{s(this,"ConsChNFe")}chNFe};ts([(0,Bt.IsString)(),(0,Bt.Length)(44,44),(0,Bt.Matches)(/^[A-Z0-9]{44}$/),uc("design:type",String)],ld.prototype,"chNFe",void 0);var qi=class{static{s(this,"DistribuicaoDFePayload")}tpAmb;cUFAutor;CNPJ="";CPF="";consChNFe};ts([(0,Bt.IsEnum)(ud.Environment),uc("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],qi.prototype,"tpAmb",void 0);ts([(0,Bt.IsEnum)(ud.StateCodes),uc("design:type",typeof StateCode>"u"?Object:StateCode)],qi.prototype,"cUFAutor",void 0);ts([(0,Bt.IsOptional)(),(0,Bt.IsString)(),uc("design:type",String)],qi.prototype,"CNPJ",void 0);ts([(0,Bt.IsOptional)(),(0,Bt.IsString)(),uc("design:type",String)],qi.prototype,"CPF",void 0);ts([(0,Bt.IsObject)(),(0,Bt.ValidateNested)(),(0,Y0.Type)(()=>ld),uc("design:type",typeof IConsChNFe>"u"?Object:IConsChNFe)],qi.prototype,"consChNFe",void 0);qi=ts([(0,Z0.Choice)({properties:["CNPJ","CPF"],required:!0})],qi);var ce=require("nfets/core"),uh={AM:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.am.gov.br/services2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}}},AN:{[ce.Environment.Homolog]:{RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom1.nfe.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeDistribuicaoDFe:{method:"nfeDistDFeInteresse",operation:"NFeDistribuicaoDFe",version:"1.01",url:"https://hom1.nfe.fazenda.gov.br/NFeDistribuicaoDFe/NFeDistribuicaoDFe.asmx"},NfeConsultaDest:{method:"nfeConsultaNFDest",operation:"NfeConsultaDest",version:"1.01",url:"https://hom.nfe.fazenda.gov.br/NFeConsultaDest/NFeConsultaDest.asmx"},NfeDownloadNF:{method:"nfeDownloadNF",operation:"NfeDownloadNF",version:"4.00",url:"https://hom.nfe.fazenda.gov.br/NfeDownloadNF/NfeDownloadNF.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://hom.nfe.fazenda.gov.br/RecepcaoEvento/RecepcaoEvento.asmx"}},[ce.Environment.Production]:{RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://www.nfe.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeDistribuicaoDFe:{method:"nfeDistDFeInteresse",operation:"NFeDistribuicaoDFe",version:"1.01",url:"https://www1.nfe.fazenda.gov.br/NFeDistribuicaoDFe/NFeDistribuicaoDFe.asmx"},NfeConsultaDest:{method:"nfeConsultaNFDest",operation:"NfeConsultaDest",version:"1.01",url:"https://www.nfe.fazenda.gov.br/NFeConsultaDest/NFeConsultaDest.asmx"},NfeDownloadNF:{method:"nfeDownloadNF",operation:"NfeDownloadNF",version:"4.00",url:"https://www.nfe.fazenda.gov.br/NfeDownloadNF/NfeDownloadNF.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://www.nfe.fazenda.gov.br/RecepcaoEvento/RecepcaoEvento.asmx"}}},BA:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"NFeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"NFeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"NFeInutilizacao",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"NFeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"ConsultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/CadConsultaCadastro4/CadConsultaCadastro4.asmx"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"NFeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"NFeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"NFeInutilizacao",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"NFeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"ConsultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.ba.gov.br/webservices/CadConsultaCadastro4/CadConsultaCadastro4.asmx"}}},GO:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/CadConsultaCadastro4"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/CadConsultaCadastro4"}}},MG:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/CadConsultaCadastro4"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/CadConsultaCadastro4"}}},MS:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/CadConsultaCadastro4"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.ms.gov.br/ws/CadConsultaCadastro4"}}},MT:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/CadConsultaCadastro4"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/CadConsultaCadastro4"}}},PE:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/CadConsultaCadastro4"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/CadConsultaCadastro4"}}},PR:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/CadConsultaCadastro4"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefa.pr.gov.br/nfe/CadConsultaCadastro4"}}},RS:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}},SP:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfestatusservico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfeautorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfeconsultaprotocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nferetautorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nferecepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/cadconsultacadastro4.asmx"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfestatusservico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfeautorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfeconsultaprotocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nferetautorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.fazenda.sp.gov.br/ws/nferecepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.fazenda.sp.gov.br/ws/cadconsultacadastro4.asmx"}}},SVAN:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}}},SVRS:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}},SVCAN:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}}},SVCRS:{[ce.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[ce.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}}};var ye=require("nfets/core"),lD={[ye.StateCodes.AC]:"SVRS",[ye.StateCodes.AL]:"SVRS",[ye.StateCodes.AM]:"AM",[ye.StateCodes.AP]:"SVRS",[ye.StateCodes.BA]:"BA",[ye.StateCodes.CE]:"SVRS",[ye.StateCodes.DF]:"SVRS",[ye.StateCodes.ES]:"SVRS",[ye.StateCodes.GO]:"GO",[ye.StateCodes.MA]:"SVAN",[ye.StateCodes.MG]:"MG",[ye.StateCodes.MS]:"MS",[ye.StateCodes.MT]:"MT",[ye.StateCodes.PA]:"SVRS",[ye.StateCodes.PB]:"SVRS",[ye.StateCodes.PE]:"PE",[ye.StateCodes.PI]:"SVRS",[ye.StateCodes.PR]:"PR",[ye.StateCodes.RJ]:"SVRS",[ye.StateCodes.RN]:"SVRS",[ye.StateCodes.RO]:"SVRS",[ye.StateCodes.RR]:"SVRS",[ye.StateCodes.RS]:"RS",[ye.StateCodes.SC]:"SVRS",[ye.StateCodes.SE]:"SVRS",[ye.StateCodes.SP]:"SP",[ye.StateCodes.TO]:"SVRS",91:"AN",AN:"AN",SVAN:"SVAN",SVRS:"SVRS",SVCAN:"SVCAN",SVCRS:"SVCRS"},W0=lD;var be=require("nfets/core"),dd={[be.StateCodes.AC]:"SVCAN",[be.StateCodes.AL]:"SVCAN",[be.StateCodes.AM]:"SVCRS",[be.StateCodes.AP]:"SVCAN",[be.StateCodes.BA]:"SVCRS",[be.StateCodes.CE]:"SVCAN",[be.StateCodes.DF]:"SVCAN",[be.StateCodes.ES]:"SVCAN",[be.StateCodes.GO]:"SVCRS",[be.StateCodes.MA]:"SVCRS",[be.StateCodes.MG]:"SVCAN",[be.StateCodes.MS]:"SVCRS",[be.StateCodes.MT]:"SVCRS",[be.StateCodes.PA]:"SVCAN",[be.StateCodes.PB]:"SVCAN",[be.StateCodes.PE]:"SVCRS",[be.StateCodes.PI]:"SVCAN",[be.StateCodes.PR]:"SVCRS",[be.StateCodes.RJ]:"SVCAN",[be.StateCodes.RN]:"SVCAN",[be.StateCodes.RO]:"SVCAN",[be.StateCodes.RR]:"SVCAN",[be.StateCodes.RS]:"SVCAN",[be.StateCodes.SC]:"SVCAN",[be.StateCodes.SE]:"SVCAN",[be.StateCodes.SP]:"SVCAN",[be.StateCodes.TO]:"SVCAN"};function Wr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Wr,"_ts_decorate");function je(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(je,"_ts_metadata");var Ao=class{static{s(this,"NfeRemoteTransmitter")}remoteTransmissionRepository;constructor(e){this.remoteTransmissionRepository=e}xmlns="http://www.portalfiscal.inf.br/nfe";options={timeout:6e4};configure(e){this.options={...this.options,...e};let{certificate:o}=this.options;return o&&this.remoteTransmissionRepository.setCertificate(o),this.options.schema??=Ng.PL_009_V4,this}service(e){let o=e.cUF??this.options.cUF,i=e.tpAmb??this.options.tpAmb,r=this.options.contingency?dd[o]:W0[o];return uh[r][i][e.service]}errors(){return Reflect.getMetadata(hi.ValidateErrorsMetadata,this)}validate(e){try{let o=this.errors();return o?(0,md.left)(new fd.NFeTsError(o.join(", "))):("cUF"in e&&(e.cUF??=this.options.cUF),"tpAmb"in e&&(e.tpAmb??=this.options.tpAmb),(0,md.right)(e))}finally{Reflect.deleteMetadata(hi.ValidateErrorsMetadata,this)}}ns(e,o){let i=e.$??{};return i.xmlns=this.xmlns,i.versao=o,{...e,$:i}}xsd(e){return J0.default.resolve(Lp(),this.options.schema,e)}async consultStatus(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({...i,service:"NfeStatusServico"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,xsd:this.xsd("consStatServ_v4.00.xsd"),payload:{consStatServ:this.ns(i,r.version)},method:r.method})}async inutilizacao(e){let o=this.validate(e);if(o.isLeft())return o;let{cUF:i,tpAmb:r}=o.value.infInut,n=o.value,a=this.service({cUF:i,tpAmb:r,service:"NfeInutilizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:a.url,xsd:this.xsd("inutNFe_v4.00.xsd"),payload:{inutNFe:this.ns(n,a.version)},method:a.method})}async consultaProtocolo(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({cUF:i.chNFe.substring(0,2),tpAmb:i.tpAmb,service:"NfeConsultaProtocolo"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,xsd:this.xsd("consSitNFe_v4.00.xsd"),payload:{consSitNFe:this.ns(i,r.version)},method:r.method})}async autorizacao(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({...i,service:"NfeAutorizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,timeout:this.options.timeout,xsd:this.xsd("enviNFe_v4.00.xsd"),payload:{enviNFe:this.ns(i,r.version)},method:r.method})}async retAutorizacao(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({...i,service:"NfeRetAutorizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,xsd:this.xsd("consReciNFe_v4.00.xsd"),payload:{consReciNFe:this.ns(i,r.version)},method:r.method})}async recepcaoEvento(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({service:"RecepcaoEvento"});return i.evento=this.ns(i.evento,r.version),this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,xsd:this.xsd("envEvento_v1.00.xsd"),payload:{envEvento:this.ns(i,r.version)},method:r.method})}async consultaCadastro(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({cUF:fd.StateCodes[i.UF],service:"NfeConsultaCadastro"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,xsd:this.xsd("ConsCad_v4.00.xsd"),payload:{ConsCad:this.ns(i,r.version)},method:r.method})}async distribuicaoDFe(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=uh.AN[i.tpAmb].NfeDistribuicaoDFe;return this.remoteTransmissionRepository.send({root:"nfeDistDFeInteresse",url:r.url,xsd:this.xsd("distDFeInt_v1.01.xsd"),payload:{nfeDadosMsg:{distDFeInt:this.ns(i,r.version)}},method:r.method})}};Wr([(0,hi.Validates)(Yr),je("design:type",Function),je("design:paramtypes",[typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload]),je("design:returntype",Promise)],Ao.prototype,"consultStatus",null);Wr([(0,hi.Validates)(or),je("design:type",Function),je("design:paramtypes",[typeof IInutilizacaoPayload>"u"?Object:IInutilizacaoPayload]),je("design:returntype",Promise)],Ao.prototype,"inutilizacao",null);Wr([(0,hi.Validates)(es),je("design:type",Function),je("design:paramtypes",[typeof IConsultaProtocoloPayload>"u"?Object:IConsultaProtocoloPayload]),je("design:returntype",Promise)],Ao.prototype,"consultaProtocolo",null);Wr([(0,hi.Validates)(_i),je("design:type",Function),je("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),je("design:returntype",Promise)],Ao.prototype,"autorizacao",null);Wr([(0,hi.Validates)(cc),je("design:type",Function),je("design:paramtypes",[typeof IRetAutorizacaoPayload>"u"?Object:IRetAutorizacaoPayload]),je("design:returntype",Promise)],Ao.prototype,"retAutorizacao",null);Wr([(0,hi.Validates)(pc),je("design:type",Function),je("design:paramtypes",[Object]),je("design:returntype",Promise)],Ao.prototype,"recepcaoEvento",null);Wr([(0,hi.Validates)(Ui),je("design:type",Function),je("design:paramtypes",[typeof IConsultaCadastroPayload>"u"?Object:IConsultaCadastroPayload]),je("design:returntype",Promise)],Ao.prototype,"consultaCadastro",null);Wr([(0,hi.Validates)(qi),je("design:type",Function),je("design:paramtypes",[typeof IDistribuicaoDFePayload>"u"?Object:IDistribuicaoDFePayload]),je("design:returntype",Promise)],Ao.prototype,"distribuicaoDFe",null);var ro=class extends ac{static{s(this,"TransmissionPipeline")}certificate;transmitter=new Ao(this.soap);constructor(e){super(e),this.certificate=e}issuerFromIdentification(e){let o=e.toUpperCase().replace(/[^A-Z0-9]/g,"");if(!o)return(0,ir.left)(new ir.NFeTsError("CNPJ/CPF do emitente \xE9 obrigat\xF3rio"));if(o.length===11)return(0,ir.right)({CPF:o,idDigits:o.padStart(14,"0")});let i=o.padStart(14,"0");return i.length!==14?(0,ir.left)(new ir.NFeTsError("CNPJ/CPF do emitente \xE9 inv\xE1lido")):(0,ir.right)({CNPJ:i,idDigits:i})}};var X0=require("nfets/core"),K0=require("nfets/core");var uD=["MT"],dD=[X0.StateCodes.MT],fD=[[/[áàâãªä]/g,"a"],[/[ÁÀÂÃÄ]/g,"A"],[/[ÍÌÎÏ]/g,"I"],[/[íìîï]/g,"i"],[/[éèêë]/g,"e"],[/[ÉÈÊË]/g,"E"],[/[óòôõºö]/g,"o"],[/[ÓÒÔÕÖ]/g,"O"],[/[úùûü]/g,"u"],[/[ÚÙÛÜ]/g,"U"],[/ç/g,"c"],[/Ç/g,"C"],[/ñ/g,"n"],[/Ñ/g,"N"]];function mD(t){if(!t)return!1;let e=t.toUpperCase();return uD.includes(e)||dD.includes(e)}s(mD,"shouldStripSefazAccents");function hD(t){return fD.reduce((e,[o,i])=>e.replace(o,i),t)}s(hD,"replaceSefazSpecialChars");function dc(t,e){return mD(e)?dh(t):t}s(dc,"sanitizeSefazText");function vD(t){return t===null||typeof t!="object"||t instanceof Date||t instanceof K0.Decimal?!1:!ArrayBuffer.isView(t)}s(vD,"isWalkableObject");function dh(t){if(typeof t=="string")return hD(t);if(Array.isArray(t))return t.map(i=>dh(i));if(!vD(t))return t;let e={};for(let[o,i]of Object.entries(t))e[o]=dh(i);return e}s(dh,"walk");function gD(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(gD,"_ts_decorate");function fh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(fh,"_ts_metadata");var os=class extends ro{static{s(this,"EventPipeline")}async event(e,o,i){let r=await this.certificates.read(this.certificate);if(r.isLeft())return r;let n=o.chNFe.slice(0,2);this.transmitter.configure({cUF:o.cOrgao??n,...i,certificate:r.value});let a=qs[e],c=this.issuerFromIdentification(o.identification);if(c.isLeft())return c;let{nSeqEvento:p,dhEvento:u,chNFe:l}=o,d=["ID",e,l,p.toString().padStart(2,"0")].join(""),m=dc({$:{xmlns:this.xmlns},infEvento:{$:{Id:d},cOrgao:o.cOrgao??n,tpAmb:i.tpAmb,CNPJ:c.value.CNPJ,CPF:c.value.CPF,chNFe:l,dhEvento:u,tpEvento:e,nSeqEvento:p,verEvento:a.version,detEvento:{$:{versao:a.version},descEvento:a.descEvento,...o.detEvento}}},n),y=this.validated(m);return y.isLeft()?y:await this.signer.sign(y.value,{tag:"infEvento",mark:"Id"},r.value)}versionedEvent(e,o){let i=e.$;return{...e,$:{...i,xmlns:this.xmlns,versao:o}}}async protocol(e,o,i){let{cStat:r}=o.infEvento;if(!Object.values(Ff).includes(r))return await this.toolkit.build(e,{renderOpts:{pretty:!1},rootName:"evento"});let n={evento:e,retEvento:o,$:{xmlns:this.xmlns,versao:i}};return await this.toolkit.build(n,{renderOpts:{pretty:!1},rootName:"procEventoNFe"})}validated(e){let o=this.errors();return o?(0,Jr.left)(new Jr.NFeTsError(o.join(", "))):(0,Jr.right)(e)}};gD([(0,Jr.Validates)(Rn),fh("design:type",Function),fh("design:paramtypes",[typeof IEventoItem>"u"?Object:IEventoItem]),fh("design:returntype",void 0)],os.prototype,"validated",null);var fc=require("nfets/core");var gl=class extends os{static{s(this,"NfeCancelPipeline")}async execute(e,o){let i={chNFe:e.chNFe,dhEvento:e.dhEvento??new Date().toISOString(),detEvento:{nProt:e.nProt,xJust:e.xJust},nSeqEvento:1,identification:e.identification},r=await this.event(gt.Cancelamento,i,o);if(r.isLeft())return r;let n=r.value,a=qs[gt.Cancelamento].version,c=await this.transmitter.recepcaoEvento({idLote:e.idLote??new Date().getTime().toString().slice(0,15),evento:n});if(c.isLeft())return c;let p=c.value,u=p.retEnvEvento.retEvento;if(!u)return(0,fc.left)(new fc.NFeTsError("Evento de cancelamento n\xE3o retornado"));let l=await this.protocol(this.versionedEvent(n,a),u,a);return(0,fc.right)({xml:l,response:p})}};var is=(function(t){return t.Asynchronous="0",t.Synchronous="1",t})({});var mh=(function(t){return t.LotReceived="103",t.ProcessedBatch="104",t})({});var $0=require("nfets/core");var yl=class extends $0.NFeTsError{static{s(this,"CouldNotReceiveResponseError")}constructor(e="Falha ao consultar protocolo de autoriza\xE7\xE3o ap\xF3s 3 tentativas, tente novamente mais tarde."){super(e)}};var $o=require("nfets/core");var Xr=(function(t){return t.Autorizada="100",t.AutorizadaForaDoPrazo="150",t.UsoDenegado="110",t.NfeDenegada="205",t.DenegadaIrregularidadeEmissor="301",t.DenegadaIrregularidadeDestinatario="302",t.DenegadaNaoHabilitadaNaUf="303",t})({});var bl=class extends ro{static{s(this,"NfeAuthorizerPipeline")}async execute(e,o){e.indSinc??=is.Synchronous;let i=await this.certificates.read(this.certificate);if(i.isLeft())return i;let r=await this.handleNfeBatch(i.value,e.xml);if(r.isLeft())return r;let[n]=r.value;this.transmitter.configure({cUF:n.infNFe.ide.cUF,tpAmb:n.infNFe.ide.tpAmb,...o,contingency:this.contingency(n),certificate:i.value}),e.idLote??=new Date().getTime().toString().slice(0,15);let a=await this.transmitter.autorizacao({...e,NFe:r.value});if(a.isLeft())return a;let c=a.value;return this.isLotNotProcessed(c,e)?(0,$o.right)(await this.handleLotNotProcessed(r.value,c)):e.indSinc===is.Synchronous&&this.isSyncResponse(c)?(0,$o.right)(await this.response(r.value,c)):e.indSinc===is.Asynchronous&&this.hasReceipt(c)?await this.handleAsyncResponse(r.value,c):(0,$o.left)(new yl)}async protocol(e,o){let{cStat:i}=o.infProt;if(!Object.values(Xr).includes(i))return await this.toolkit.build(e,{renderOpts:{pretty:!1},rootName:"NFe"});let r={NFe:e,protNFe:o,$:{xmlns:this.xmlns,versao:o.$.versao}};return await this.toolkit.build(r,{renderOpts:{pretty:!1},rootName:"nfeProc"})}async response(e,o){let i=Array.isArray(o.retEnviNFe.protNFe)?o.retEnviNFe.protNFe:[o.retEnviNFe.protNFe],r=await Promise.all(e.map((n,a)=>this.protocol(n,i[a])));return r.length>1?{xml:r,response:o}:{xml:r[0],response:o}}async signNfe(e,o){return this.signer.sign(o,{tag:"infNFe",mark:"Id"},e)}async handleNfeBatch(e,o){if(!Array.isArray(o)){let r=await this.toolkit.parse(o),n=await this.signNfe(e,r);return n.isLeft()?(0,$o.left)(n.value):(0,$o.right)([n.value])}let i=await Promise.all(o.map(async r=>this.signNfe(e,await this.toolkit.parse(r))));return i.some(r=>r.isLeft())?(0,$o.left)(new $o.NFeTsError("Failed to sign a NFe in batch")):(0,$o.right)(i.filter(r=>r.isRight()).map(r=>r.value))}isLotNotProcessed(e,o){let{cStat:i}=e.retEnviNFe,r=o.indSinc??is.Synchronous;return r===is.Asynchronous&&i!==mh.LotReceived.toString()||r===is.Synchronous&&i!==mh.ProcessedBatch.toString()}async handleLotNotProcessed(e,o){return this.response(e,this.toRejectionSyncResponse(e,o))}toRejectionSyncResponse(e,o){let{retEnviNFe:i}=o,r=e.map(n=>this.buildRejectionProtNFe(n,i));return{retEnviNFe:{...i,protNFe:r.length===1?r[0]:r}}}buildRejectionProtNFe(e,o){return{$:{versao:o.$.versao},infProt:{tpAmb:o.tpAmb,verAplic:o.verAplic,chNFe:e.infNFe.$.Id?.substring(3)??"",dhRecbto:o.dhRecbto,nProt:"",digVal:"",cStat:o.cStat,xMotivo:o.xMotivo}}}isSyncResponse(e){return"protNFe"in e.retEnviNFe&&!!e.retEnviNFe.protNFe}hasReceipt(e){return"infRec"in e.retEnviNFe&&!!e.retEnviNFe.infRec.nRec}async handleAsyncResponse(e,o){let{tpAmb:i,infRec:r}=o.retEnviNFe,{nRec:n}=r;for(let a=1;a<=3;a++){await new Promise(u=>setTimeout(u,1e3));let c=await this.transmitter.retAutorizacao({nRec:n,tpAmb:i});if(c.isLeft())continue;let p=c.value.retConsReciNFe.protNFe;if(!(!p||Array.isArray(p)&&p.length===0))return(0,$o.right)(await this.response(e,{retEnviNFe:{...c.value.retConsReciNFe,protNFe:p}}))}return(0,$o.left)(new yl)}contingency(e){let{dhCont:o,xJust:i,tpEmis:r}=e.infNFe.ide;if(!(!o||!i||r===vt.Normal))return{dhCont:o,xJust:i}}};var Hi=require("nfets/core");function yD(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(yD,"_ts_decorate");function hh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(hh,"_ts_metadata");var mc=class extends ro{static{s(this,"NfeVoidRangePipeline")}async execute(e,o){let i=await this.certificates.read(this.certificate);if(i.isLeft())return i;let r=this.issuerFromIdentification(e.identification);if(r.isLeft())return r;this.transmitter.configure({...o,certificate:i.value});let n=e.ano??new Date().getFullYear().toString().slice(2),a=["ID",o.cUF,n,r.value.idDigits,e.mod,e.serie.padStart(3,"0"),e.nNFIni.padStart(9,"0"),e.nNFFin.padStart(9,"0")].join(""),c=dc({$:{xmlns:this.xmlns},infInut:{$:{Id:a},tpAmb:e.tpAmb??o.tpAmb,cUF:o.cUF,ano:n,CNPJ:r.value.CNPJ,CPF:r.value.CPF,mod:e.mod,serie:e.serie,nNFIni:e.nNFIni,nNFFin:e.nNFFin,xJust:e.xJust}},o.cUF),p=this.validated(c);if(p.isLeft())return p;let u=await this.signer.sign(p.value,{tag:"infInut",mark:"Id"},i.value);if(u.isLeft())return u;let l=await this.transmitter.inutilizacao(u.value);if(l.isLeft())return l;let d=l.value,m=d.retInutNFe;if(!m)return(0,Hi.left)(new Hi.NFeTsError("Retorno de inutiliza\xE7\xE3o n\xE3o retornado"));let y=m.$.versao,x=await this.protocol(this.versionedInutNFe(u.value,y),m,y);return(0,Hi.right)({xml:x,response:d})}versionedInutNFe(e,o){let i=e.$;return{...e,$:{...i,xmlns:this.xmlns,versao:o}}}async protocol(e,o,i){let{cStat:r}=o.infInut;if(!Object.values(Ef).includes(r))return await this.toolkit.build(e,{renderOpts:{pretty:!1},rootName:"inutNFe"});let n={inutNFe:e,retInutNFe:o,$:{xmlns:this.xmlns,versao:i}};return await this.toolkit.build(n,{renderOpts:{pretty:!1},rootName:"procInutNFe"})}validated(e){let o=this.errors();return o?(0,Hi.left)(new Hi.NFeTsError(o.join(", "))):(0,Hi.right)(e)}};yD([(0,Hi.Validates)(or),hh("design:type",Function),hh("design:paramtypes",[typeof IIInutilizacaoPayload>"u"?Object:IIInutilizacaoPayload]),hh("design:returntype",void 0)],mc.prototype,"validated",null);var xl=class extends ro{static{s(this,"NfeConsultStatusPipeline")}async execute(e){let o=await this.certificates.read(this.certificate);return o.isLeft()?o:(this.transmitter.configure({...e,certificate:o.value}),await this.transmitter.consultStatus(e))}};var Sl=class extends ro{static{s(this,"NfeConsultProtocoloPipeline")}async execute(e){let o=await this.certificates.read(this.certificate);return o.isLeft()?o:(this.transmitter.configure({tpAmb:e.tpAmb,cUF:e.chNFe.substring(0,2),certificate:o.value}),await this.transmitter.consultaProtocolo(e))}};var vh=class extends ro{static{s(this,"NfeAuthorizationResponsePipeline")}async execute(e){let o=await this.certificates.read(this.certificate);return o.isLeft()?o:(this.transmitter.configure({cUF:e.cUF,tpAmb:e.tpAmb,certificate:o.value}),this.transmitter.retAutorizacao(e))}};var hc=require("nfets/core");var gh=class extends os{static{s(this,"NfeManifestacaoPipeline")}async execute(e,o){let i={chNFe:e.chNFe,dhEvento:e.dhEvento??new Date().toISOString(),detEvento:e.xJust?{xJust:e.xJust}:{},nSeqEvento:e.nSeqEvento??1,identification:e.identification,cOrgao:"91"},r=await this.event(e.tpEvento,i,o);if(r.isLeft())return r;let n=r.value,a=qs[e.tpEvento].version,c=await this.transmitter.recepcaoEvento({idLote:e.idLote??new Date().getTime().toString().slice(0,15),evento:n});if(c.isLeft())return c;let p=c.value,u=p.retEnvEvento.retEvento;if(!u)return(0,hc.left)(new hc.NFeTsError("Evento de manifesta\xE7\xE3o n\xE3o retornado"));let l=await this.protocol(this.versionedEvent(n,a),u,a);return(0,hc.right)({xml:l,response:p})}};var eS=require("zlib"),tS=require("nfets/core");var yh=class extends ro{static{s(this,"NfeDistribuicaoDFePipeline")}async execute(e,o){let i=await this.certificates.read(this.certificate);if(i.isLeft())return i;let r=this.issuerFromIdentification(e.identification);if(r.isLeft())return r;this.transmitter.configure({cUF:"91",...o,certificate:i.value});let n=await this.transmitter.distribuicaoDFe({tpAmb:o.tpAmb,cUFAutor:e.cUFAutor,CNPJ:r.value.CNPJ,CPF:r.value.CPF,consChNFe:{chNFe:e.chNFe}});if(n.isLeft())return n;let a=n.value.nfeDistDFeInteresseResult.retDistDFeInt,c=a.loteDistDFeInt?.docZip;return(0,tS.right)({response:a,xml:c?(0,eS.gunzipSync)(Buffer.from(c.$value,"base64")).toString("utf8"):void 0})}};var oS=lt(require("crypto"),1),nr=require("nfets/core");var Wt=class{static{s(this,"NfceQrcode")}certificateRepository;constructor(e){this.certificateRepository=e}async execute(e,o){let i=await this.content(e,o);return i.isLeft()?i:(0,nr.right)(this.assemble(i.value,o))}async content(e,o){return this.isVersion200(o)?await this.execute200(e,o):this.isVersion300(o)?await this.execute300(e,o):(0,nr.unreachable)(o)}isVersion200(e){return e.version==="200"}isVersion300(e){return e.version==="300"}assemble(e,o){return{qrCode:e,urlChave:o.urlConsult}}getSequence(e,o){let{version:i,CSCId:r}=o,n=e.infNFe.ide.tpAmb,a=Number.parseInt(r),c=e.infNFe.$.Id?.substring(3),p=Number.parseInt(i??"")/100;if(e.infNFe.ide.tpEmis!==vt.OFFLINE)return`${c}|${p}|${n}|${a}`;let l=e.Signature.SignedInfo.Reference.DigestValue.split("").map(y=>y.charCodeAt(0).toString(16).padStart(2,"0")).join(""),d=this.emissionDayOfMonthFormatted(e.infNFe.ide.dhEmi),m=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2);return`${c}|${p}|${n}|${d}|${m}|${l}|${a}`}async execute200(e,o){let{urlService:i,CSC:r}=o,n=this.getSequence(e,o),a=oS.default.createHash("sha1").update(`${n}${r}`).digest("hex").toUpperCase(),c=`${i}?p=`;return Promise.resolve((0,nr.right)(`${c}${n}|${a}`))}getQrcodeV300OfflineIdentification(e){if(!e)return{tipo:"",documento:""};let{CPF:o,CNPJ:i,idEstrangeiro:r}=e,n=o?o.replace(/\D/g,""):i?i.replace(/[^A-Z0-9]/g,""):r?.replace(/\D/g,"");return n?n.length===11?{tipo:"2",documento:n}:n.length===14?{tipo:"1",documento:n}:r&&n.length>=3&&n.length<=14?{tipo:"3",documento:n}:{tipo:"",documento:""}:{tipo:"",documento:""}}emissionDayOfMonthFormatted(e){return String(new Date(e).getDate()).padStart(2,"0")}async execute300(e,o){let{urlService:i}=o,r=`${i}?p=`,n=e.infNFe.ide.tpAmb,a=e.infNFe.$.Id?.substring(3),c=Number.parseInt(o.version)/100;if(e.infNFe.ide.tpEmis!==vt.OFFLINE)return(0,nr.right)(`${r}${a}|${c}|${n}`);let p=this.emissionDayOfMonthFormatted(e.infNFe.ide.dhEmi),u=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2),{tipo:l,documento:d}=this.getQrcodeV300OfflineIdentification(e.infNFe.dest),m=`${a}|${c}|${n}|${p}|${u}|${l}|${d}`,y=await this.certificateRepository.sign(m,o.certificate,nr.SignatureAlgorithm.SHA1);return y.isLeft()?y:(0,nr.right)(`${r}${m}|${y.value}`)}};var Sh=require("nfets/core");var M=require("nfets/core"),bh={AC:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hml.sefaznet.ac.gov.br/nfce/qrcode"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaznet.ac.gov.br/nfce/qrcode"}}},AL:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}}},AM:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://sistemas.sefaz.am.gov.br/nfceweb-hom/consultarNFCe.jsp"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/CscNFCe"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://sistemas.sefaz.am.gov.br/nfceweb/consultarNFCe.jsp"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/CscNFCe"}}},AP:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.sefaz.ap.gov.br/nfcehml/nfce.php"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.ap.gov.br/nfce/nfcep.php"}}},BA:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hnfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}}},CE:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfceh.sefaz.ce.gov.br/pages/ShowNFCe.html"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.ce.gov.br/pages/ShowNFCe.html"}}},DF:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://dec.fazenda.df.gov.br/ConsultarNFCe.aspx"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.fazenda.df.gov.br/nfce/qrcode"}}},ES:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://app.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}}},GO:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/v2/CscNFCe"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://nfewebhomolog.sefaz.go.gov.br/nfeweb/sites/nfce/danfeNFCe"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/v2/CscNFCe"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://nfeweb.sefaz.go.gov.br/nfeweb/sites/nfce/danfeNFCe"}}},MA:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}}},MG:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://portalsped.fazenda.mg.gov.br/portalnfce/sistema/qrcode.xhtml"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://portalsped.fazenda.mg.gov.br/portalnfce/sistema/qrcode.xhtml"}}},MT:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.mt.gov.br/nfce/consultanfce"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.mt.gov.br/nfce/consultanfce"}}},MS:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.dfe.ms.gov.br/nfce/qrcode"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.dfe.ms.gov.br/nfce/qrcode"}}},PA:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://appnfc.sefa.pa.gov.br/portal-homologacao/view/consultas/nfce/nfceForm.seam"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://appnfc.sefa.pa.gov.br/portal/view/consultas/nfce/nfceForm.seam"}}},PB:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pb.gov.br/nfcehom"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pb.gov.br/nfce"}}},PE:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfcehomolog.sefaz.pe.gov.br/nfce/consulta"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.pe.gov.br/nfce/consulta"}}},PI:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}}},PR:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.fazenda.pr.gov.br/nfce/qrcode"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.fazenda.pr.gov.br/nfce/qrcode"}}},RJ:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www4.fazenda.rj.gov.br/consultaNFCe/QRCode"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://consultadfe.fazenda.rj.gov.br/consultaNFCe/QRCode"}}},RN:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hom.nfce.set.rn.gov.br/consultarNFCe.aspx"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.set.rn.gov.br/consultarNFCe.aspx"}}},RO:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}}},RR:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://200.174.88.103:8080/nfce/servlet/qrcode"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.rr.gov.br/servlet/qrcode"}}},RS:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx"}}},SC:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://hom.sat.sef.sc.gov.br/nfce/consulta"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://sat.sef.sc.gov.br/nfce/consulta"}}},SE:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfe.se.gov.br/nfce/qrcode"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.se.gov.br/nfce/qrcode"}}},SP:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeInutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeConsultaProtocolo4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeRecepcaoEvento4.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://homologacao.nfce.epec.fazenda.sp.gov.br/EPECws/RecepcaoEPEC.asmx"},EPECStatusServico:{method:"nfeStatusServicoNF2",operation:"NfeStatusServico2",version:"4.00",url:"https://homologacao.nfce.epec.fazenda.sp.gov.br/EPECws/EPECStatusServico.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.homologacao.nfce.fazenda.sp.gov.br/qrcode"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeInutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeConsultaProtocolo4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeRecepcaoEvento4.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"1.00",url:"https://nfce.epec.fazenda.sp.gov.br/EPECws/RecepcaoEPEC.asmx"},EPECStatusServico:{method:"nfeStatusServicoNF2",operation:"NfeStatusServico2",version:"4.00",url:"https://nfce.epec.fazenda.sp.gov.br/EPECws/EPECStatusServico.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.nfce.fazenda.sp.gov.br/qrcode"}}},TO:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.to.gov.br/nfce/qrcode"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.to.gov.br/nfce/qrcode"}}},SVRS:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"}}},SVAN:{[M.Environment.Homolog]:{},[M.Environment.Production]:{}}};var V=require("nfets/core"),iS={[V.Environment.Homolog]:{[V.StateCodes.AC]:"www.sefaznet.ac.gov.br/nfce/consulta",[V.StateCodes.AL]:"www.sefaz.al.gov.br/nfce/consulta",[V.StateCodes.AP]:"www.sefaz.ap.gov.br/nfce/consulta",[V.StateCodes.AM]:"www.sefaz.am.gov.br/nfce/consulta",[V.StateCodes.BA]:"http://hinternet.sefaz.ba.gov.br/nfce/consulta",[V.StateCodes.CE]:"www.sefaz.ce.gov.br/nfce/consulta",[V.StateCodes.DF]:"www.fazenda.df.gov.br/nfce/consulta",[V.StateCodes.ES]:"www.sefaz.es.gov.br/nfce/consulta",[V.StateCodes.GO]:"www.nfce.go.gov.br/post/ver/214413/consulta-nfc-e-homologacao",[V.StateCodes.MA]:"www.sefaz.ma.gov.br/nfce/consulta",[V.StateCodes.MG]:"https://hportalsped.fazenda.mg.gov.br/portalnfce",[V.StateCodes.MS]:"http://www.dfe.ms.gov.br/nfce/consulta",[V.StateCodes.MT]:"http://homologacao.sefaz.mt.gov.br/nfce/consultanfce",[V.StateCodes.PA]:"www.sefa.pa.gov.br/nfce/consulta",[V.StateCodes.PB]:"www.sefaz.pb.gov.br/nfcehom",[V.StateCodes.PE]:"nfce.sefaz.pe.gov.br/nfce/consulta",[V.StateCodes.PR]:"http://www.fazenda.pr.gov.br/nfce/consulta",[V.StateCodes.PI]:"www.sefaz.pi.gov.br/nfce/consulta",[V.StateCodes.RJ]:"www.fazenda.rj.gov.br/nfce/consulta",[V.StateCodes.RN]:"www.set.rn.gov.br/nfce/consulta",[V.StateCodes.RO]:"www.sefin.ro.gov.br/nfce/consulta",[V.StateCodes.RR]:"www.sefaz.rr.gov.br/nfce/consulta",[V.StateCodes.RS]:"www.sefaz.rs.gov.br/nfce/consulta",[V.StateCodes.SE]:"http://www.hom.nfe.se.gov.br/nfce/consulta",[V.StateCodes.SC]:"https://hom.sat.sef.sc.gov.br/nfce/consulta",[V.StateCodes.SP]:"https://www.homologacao.nfce.fazenda.sp.gov.br/NFCeConsultaPublica",[V.StateCodes.TO]:"http://homologacao.sefaz.to.gov.br/nfce/consulta.jsf"},[V.Environment.Production]:{[V.StateCodes.AC]:"www.sefaznet.ac.gov.br/nfce/consulta",[V.StateCodes.AL]:"www.sefaz.al.gov.br/nfce/consulta",[V.StateCodes.AP]:"www.sefaz.ap.gov.br/nfce/consulta",[V.StateCodes.AM]:"www.sefaz.am.gov.br/nfce/consulta",[V.StateCodes.BA]:"http://www.sefaz.ba.gov.br/nfce/consulta",[V.StateCodes.CE]:"www.sefaz.ce.gov.br/nfce/consulta",[V.StateCodes.DF]:"www.fazenda.df.gov.br/nfce/consulta",[V.StateCodes.ES]:"www.sefaz.es.gov.br/nfce/consulta",[V.StateCodes.GO]:"www.sefaz.go.gov.br/nfce/consulta",[V.StateCodes.MA]:"www.sefaz.ma.gov.br/nfce/consulta",[V.StateCodes.MG]:"https://portalsped.fazenda.mg.gov.br/portalnfce",[V.StateCodes.MS]:"http://www.dfe.ms.gov.br/nfce/consulta",[V.StateCodes.MT]:"http://www.sefaz.mt.gov.br/nfce/consultanfce",[V.StateCodes.PA]:"www.sefa.pa.gov.br/nfce/consulta",[V.StateCodes.PE]:"nfce.sefaz.pe.gov.br/nfce/consulta",[V.StateCodes.PR]:"http://www.fazenda.pr.gov.br/nfce/consulta",[V.StateCodes.PI]:"www.sefaz.pi.gov.br/nfce/consulta",[V.StateCodes.RJ]:"www.fazenda.rj.gov.br/nfce/consulta",[V.StateCodes.RN]:"www.set.rn.gov.br/nfce/consulta",[V.StateCodes.RO]:"www.sefin.ro.gov.br/nfce/consulta",[V.StateCodes.RR]:"www.sefaz.rr.gov.br/nfce/consulta",[V.StateCodes.RS]:"www.sefaz.rs.gov.br/nfce/consulta",[V.StateCodes.SC]:"https://sat.sef.sc.gov.br/nfce/consulta",[V.StateCodes.SE]:"http://www.nfce.se.gov.br/nfce/consulta",[V.StateCodes.SP]:"https://www.nfce.fazenda.sp.gov.br/NFCeConsultaPublica",[V.StateCodes.TO]:"www.sefaz.to.gov.br/nfce/consulta",[V.StateCodes.PB]:"www.sefaz.pb.gov.br/nfce/consulta"}};var xe=require("nfets/core"),bD={[xe.StateCodes.AC]:"SVRS",[xe.StateCodes.AL]:"SVRS",[xe.StateCodes.AM]:"AM",[xe.StateCodes.AP]:"SVRS",[xe.StateCodes.BA]:"SVRS",[xe.StateCodes.CE]:"SVRS",[xe.StateCodes.DF]:"SVRS",[xe.StateCodes.ES]:"SVRS",[xe.StateCodes.GO]:"GO",[xe.StateCodes.MA]:"SVRS",[xe.StateCodes.MG]:"MG",[xe.StateCodes.MS]:"MS",[xe.StateCodes.MT]:"MT",[xe.StateCodes.PA]:"SVRS",[xe.StateCodes.PB]:"SVRS",[xe.StateCodes.PE]:"SVRS",[xe.StateCodes.PI]:"SVRS",[xe.StateCodes.PR]:"PR",[xe.StateCodes.RJ]:"SVRS",[xe.StateCodes.RN]:"SVRS",[xe.StateCodes.RO]:"SVRS",[xe.StateCodes.RR]:"SVRS",[xe.StateCodes.RS]:"RS",[xe.StateCodes.SC]:"SVRS",[xe.StateCodes.SE]:"SVRS",[xe.StateCodes.SP]:"SP",[xe.StateCodes.TO]:"SVRS",SVRS:"SVRS"},nS=bD;var hd=class extends _i{static{s(this,"NfceAutorizacaoPayload")}};var rS=require("nfets/core");function xD(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(xD,"_ts_decorate");function xh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(xh,"_ts_metadata");var Mt=class extends Ao{static{s(this,"NfceRemoteTransmitter")}remoteTransmissionRepository;qrCode;options={timeout:6e4};constructor(e,o){super(e),this.remoteTransmissionRepository=e,this.qrCode=o}configure(e){return super.configure(e)}service(e){let o=e.cUF??this.options.cUF,i=e.tpAmb??this.options.tpAmb,r=nS[o],c=bh[r][i][e.service];if(c)return c;let p=Object.keys(Sh.StateCodes).find(u=>Sh.StateCodes[u]===o);return bh[p][i][e.service]}getUrlConsult(e){let o=e.infNFe.ide.cUF,i=e.infNFe.ide.tpAmb;return iS[i][o]}async autorizacao(e){return super.autorizacao(e)}};xD([(0,rS.Validates)(hd),xh("design:type",Function),xh("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),xh("design:returntype",Promise)],Mt.prototype,"autorizacao",null);var Ch=class extends gl{static{s(this,"NfceCancelPipeline")}qrCode=new Wt(this.certificates);transmitter=new Mt(this.soap,this.qrCode)};var Cl=class extends bl{static{s(this,"NfceAuthorizerPipeline")}certificate;qrCode=new Wt(this.certificates);transmitter=new Mt(this.soap,this.qrCode);constructor(e){super(e),this.certificate=e}};var Lt=require("nfets/core");var Nh=class extends Cl{static{s(this,"NfceContingencyXmlAuthorizerPipeline")}certificate;qrCode=new Wt(this.certificates);transmitter=new Mt(this.soap,this.qrCode);constructor(e){super(e),this.certificate=e}async handleNfeBatch(e,o){if(!Array.isArray(o))return this.parseContingencyXml(o).then(r=>r.isLeft()?r:(0,Lt.right)([r.value]));let i=await Promise.all(o.map(r=>this.parseContingencyXml(r)));if(i.some(r=>r.isLeft())){let r=i.find(n=>n.isLeft());return(0,Lt.left)(r?.value??new Lt.NFeTsError("NFC-e XML must be signed"))}return(0,Lt.right)(i.filter(r=>r.isRight()).map(r=>r.value))}async parseContingencyXml(e){let o=await this.toolkit.parse(e);return this.assertSignatureIntegrity(o)}async assertSignatureIntegrity(e){let o=e.Signature?.SignedInfo?.Reference?.DigestValue;if(!o)return(0,Lt.left)(new Lt.NFeTsError("NFC-e XML must be signed"));let i=await this.rebuildInfNFeNode(e);if(i.isLeft())return i;let r=this.signatureAlgorithm(e);return this.toolkit.digest(i.value,r)!==o?(0,Lt.left)(new Lt.NFeTsError("NFC-e XML signature digest mismatch")):(0,Lt.right)(e)}async rebuildInfNFeNode(e){let o=e.$?.xmlns,{$:i,...r}=e.infNFe??{};delete i.xmlns;let n=await this.toolkit.build({$:{xmlns:o,...i},...r},{headless:!0,rootName:"infNFe",renderOpts:{pretty:!1}});return(0,Lt.right)(n)}signatureAlgorithm(e){return e.Signature?.SignedInfo?.Reference?.DigestMethod?.$?.Algorithm===Lt.DigestAlgorithm.SHA256?Lt.SignatureAlgorithm.SHA256:Lt.SignatureAlgorithm.SHA1}};var Rh=class extends mc{static{s(this,"NfceVoidRangePipeline")}qrCode=new Wt(this.certificates);transmitter=new Mt(this.soap,this.qrCode)};var wh=class extends xl{static{s(this,"NfceConsultStatusPipeline")}qrCode=new Wt(this.certificates);transmitter=new Mt(this.soap,this.qrCode)};var Ih=class extends Sl{static{s(this,"NfceConsultProtocoloPipeline")}qrCode=new Wt(this.certificates);transmitter=new Mt(this.soap,this.qrCode)};var tC=lt(require("path"),1),sp=require("nfets/core");var Mo=require("class-validator");var _=require("class-validator"),tt=require("class-transformer");var O=require("class-validator"),rs=require("class-transformer"),sr=require("nfets/core"),aS=require("nfets/core");function B(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(B,"_ts_decorate");function L(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(L,"_ts_metadata");var rr=class{static{s(this,"RefNF")}cUF;AAMM;CNPJ;mod;serie;nNF};B([(0,O.IsString)(),L("design:type",String)],rr.prototype,"cUF",void 0);B([(0,O.IsString)(),L("design:type",String)],rr.prototype,"AAMM",void 0);B([(0,O.IsString)(),L("design:type",String)],rr.prototype,"CNPJ",void 0);B([(0,O.IsString)(),L("design:type",String)],rr.prototype,"mod",void 0);B([(0,O.IsString)(),L("design:type",String)],rr.prototype,"serie",void 0);B([(0,O.IsString)(),L("design:type",String)],rr.prototype,"nNF",void 0);var ei=class{static{s(this,"RefNFP")}cUF;AAMM;CNPJ="";CPF="";IE;mod;serie;nNF};B([(0,O.IsString)(),L("design:type",String)],ei.prototype,"cUF",void 0);B([(0,O.IsString)(),L("design:type",String)],ei.prototype,"AAMM",void 0);B([(0,O.IsOptional)(),(0,O.IsString)(),L("design:type",String)],ei.prototype,"CNPJ",void 0);B([(0,O.IsOptional)(),(0,O.IsString)(),L("design:type",String)],ei.prototype,"CPF",void 0);B([(0,O.IsString)(),L("design:type",String)],ei.prototype,"IE",void 0);B([(0,O.IsString)(),L("design:type",String)],ei.prototype,"mod",void 0);B([(0,O.IsString)(),L("design:type",String)],ei.prototype,"serie",void 0);B([(0,O.IsString)(),L("design:type",String)],ei.prototype,"nNF",void 0);ei=B([(0,sr.Choice)({properties:["CNPJ","CPF"],required:!0})],ei);var vc=class{static{s(this,"RefECF")}mod;nECF;nCOO};B([(0,O.IsString)(),L("design:type",String)],vc.prototype,"mod",void 0);B([(0,O.IsString)(),L("design:type",String)],vc.prototype,"nECF",void 0);B([(0,O.IsString)(),L("design:type",String)],vc.prototype,"nCOO",void 0);var ar=class{static{s(this,"NFref")}refNFe;refNFeSig;refNF;refNFP;refCTe;refECF};B([(0,O.IsOptional)(),(0,O.IsString)(),L("design:type",String)],ar.prototype,"refNFe",void 0);B([(0,O.IsOptional)(),(0,O.IsString)(),L("design:type",String)],ar.prototype,"refNFeSig",void 0);B([(0,O.IsOptional)(),(0,O.ValidateNested)(),(0,rs.Type)(()=>rr),L("design:type",typeof IRefNF>"u"?Object:IRefNF)],ar.prototype,"refNF",void 0);B([(0,O.IsOptional)(),(0,O.ValidateNested)(),(0,rs.Type)(()=>ei),L("design:type",typeof IRefNFP>"u"?Object:IRefNFP)],ar.prototype,"refNFP",void 0);B([(0,O.IsOptional)(),(0,O.IsString)(),L("design:type",String)],ar.prototype,"refCTe",void 0);B([(0,O.IsOptional)(),(0,O.ValidateNested)(),(0,rs.Type)(()=>vc),L("design:type",typeof IRefECF>"u"?Object:IRefECF)],ar.prototype,"refECF",void 0);var ns=class{static{s(this,"CompraGov")}tpEnteGov;pRedutor;tpOperGov;refDFeAnt};B([(0,O.IsString)(),L("design:type",String)],ns.prototype,"tpEnteGov",void 0);B([(0,sr.TransformDecimal)({fixed:4}),L("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ns.prototype,"pRedutor",void 0);B([(0,O.IsString)(),L("design:type",String)],ns.prototype,"tpOperGov",void 0);B([(0,O.IsOptional)(),(0,O.IsString)(),L("design:type",String)],ns.prototype,"refDFeAnt",void 0);var vd=class{static{s(this,"PagAntecipado")}refNFe};B([(0,O.IsArray)(),(0,O.ArrayMaxSize)(99),(0,O.IsString)({each:!0}),L("design:type",Array)],vd.prototype,"refNFe",void 0);var $=class{static{s(this,"Ide")}cUF;cNF;natOp;mod;serie;nNF;dhEmi;dhSaiEnt;dPrevEntrega;tpNF;idDest;cMunFG;cMunFGIBS;tpImp;tpEmis;cDV="";tpAmb;finNFe;tpNFDebito;tpNFCredito;indFinal;indPres;indIntermed;cIndOp;procEmi;verProc;dhCont;xJust;NFref;gCompraGov;gPagAntecipado};B([(0,O.IsEnum)(aS.StateCodes),L("design:type",typeof StateCode>"u"?Object:StateCode)],$.prototype,"cUF",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"cNF",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"natOp",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"mod",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"serie",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"nNF",void 0);B([(0,sr.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),L("design:type",String)],$.prototype,"dhEmi",void 0);B([(0,O.IsOptional)(),(0,sr.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),L("design:type",String)],$.prototype,"dhSaiEnt",void 0);B([(0,O.IsOptional)(),(0,sr.TransformDateString)({format:"YYYY-MM-DD"}),L("design:type",String)],$.prototype,"dPrevEntrega",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"tpNF",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"idDest",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"cMunFG",void 0);B([(0,O.IsOptional)(),(0,O.IsString)(),L("design:type",String)],$.prototype,"cMunFGIBS",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"tpImp",void 0);B([(0,O.IsString)(),L("design:type",typeof TpEmis>"u"?Object:TpEmis)],$.prototype,"tpEmis",void 0);B([(0,O.IsString)(),(0,O.IsOptional)(),L("design:type",String)],$.prototype,"cDV",void 0);B([(0,O.IsString)(),L("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],$.prototype,"tpAmb",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"finNFe",void 0);B([(0,O.IsOptional)(),(0,O.IsString)(),L("design:type",String)],$.prototype,"tpNFDebito",void 0);B([(0,O.IsOptional)(),(0,O.IsString)(),L("design:type",String)],$.prototype,"tpNFCredito",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"indFinal",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"indPres",void 0);B([(0,O.IsOptional)(),(0,O.IsString)(),L("design:type",String)],$.prototype,"indIntermed",void 0);B([(0,O.IsOptional)(),(0,O.IsString)(),L("design:type",String)],$.prototype,"cIndOp",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"procEmi",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"verProc",void 0);B([(0,O.IsOptional)(),(0,O.IsString)(),(0,sr.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),L("design:type",String)],$.prototype,"dhCont",void 0);B([(0,O.IsOptional)(),(0,O.IsString)(),L("design:type",String)],$.prototype,"xJust",void 0);B([(0,O.IsOptional)(),(0,O.IsArray)(),(0,O.ArrayMaxSize)(999),(0,O.ValidateNested)({each:!0}),(0,rs.Type)(()=>ar),L("design:type",Array)],$.prototype,"NFref",void 0);B([(0,O.IsOptional)(),(0,O.ValidateNested)(),(0,rs.Type)(()=>ns),L("design:type",typeof ICompraGov>"u"?Object:ICompraGov)],$.prototype,"gCompraGov",void 0);B([(0,O.IsOptional)(),(0,O.ValidateNested)(),(0,rs.Type)(()=>vd),L("design:type",typeof IPagAntecipado>"u"?Object:IPagAntecipado)],$.prototype,"gPagAntecipado",void 0);var ut=require("class-validator"),sS=require("nfets/core"),cS=require("class-transformer");var Xt=require("class-validator");function ki(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ki,"_ts_decorate");function Gi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Gi,"_ts_metadata");var Jt=class{static{s(this,"EnderEmit")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};ki([(0,Xt.IsString)(),Gi("design:type",String)],Jt.prototype,"xLgr",void 0);ki([(0,Xt.IsString)(),Gi("design:type",String)],Jt.prototype,"nro",void 0);ki([(0,Xt.IsOptional)(),(0,Xt.IsString)(),Gi("design:type",String)],Jt.prototype,"xCpl",void 0);ki([(0,Xt.IsString)(),Gi("design:type",String)],Jt.prototype,"xBairro",void 0);ki([(0,Xt.IsString)(),Gi("design:type",String)],Jt.prototype,"cMun",void 0);ki([(0,Xt.IsString)(),Gi("design:type",String)],Jt.prototype,"xMun",void 0);ki([(0,Xt.IsString)(),Gi("design:type",String)],Jt.prototype,"UF",void 0);ki([(0,Xt.IsString)(),Gi("design:type",String)],Jt.prototype,"CEP",void 0);ki([(0,Xt.IsOptional)(),(0,Xt.IsString)(),Gi("design:type",String)],Jt.prototype,"cPais",void 0);ki([(0,Xt.IsOptional)(),(0,Xt.IsString)(),Gi("design:type",String)],Jt.prototype,"xPais",void 0);ki([(0,Xt.IsOptional)(),(0,Xt.IsString)(),Gi("design:type",String)],Jt.prototype,"fone",void 0);function vi(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(vi,"_ts_decorate");function Qi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Qi,"_ts_metadata");var wt=class{static{s(this,"Emit")}CNPJ="";CPF="";xNome;xFant;enderEmit;IE;IEST;IM;CNAE;CRT;ISUFEmit};vi([(0,ut.IsOptional)(),(0,ut.IsString)(),Qi("design:type",String)],wt.prototype,"CNPJ",void 0);vi([(0,ut.IsOptional)(),(0,ut.IsString)(),Qi("design:type",String)],wt.prototype,"CPF",void 0);vi([(0,ut.IsString)(),Qi("design:type",String)],wt.prototype,"xNome",void 0);vi([(0,ut.IsOptional)(),(0,ut.IsString)(),Qi("design:type",String)],wt.prototype,"xFant",void 0);vi([(0,ut.ValidateNested)(),(0,cS.Type)(()=>Jt),Qi("design:type",typeof Jt>"u"?Object:Jt)],wt.prototype,"enderEmit",void 0);vi([(0,ut.IsString)(),Qi("design:type",String)],wt.prototype,"IE",void 0);vi([(0,ut.IsOptional)(),(0,ut.IsString)(),Qi("design:type",String)],wt.prototype,"IEST",void 0);vi([(0,ut.IsOptional)(),(0,ut.IsString)(),Qi("design:type",String)],wt.prototype,"IM",void 0);vi([(0,ut.IsOptional)(),(0,ut.IsString)(),Qi("design:type",String)],wt.prototype,"CNAE",void 0);vi([(0,ut.IsString)(),Qi("design:type",String)],wt.prototype,"CRT",void 0);vi([(0,ut.IsOptional)(),(0,ut.IsString)(),Qi("design:type",String)],wt.prototype,"ISUFEmit",void 0);wt=vi([(0,sS.Choice)({properties:["CNPJ","CPF"],required:!0})],wt);var nt=require("class-validator"),pS=require("class-transformer");var Be=require("class-validator");function Zi(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Zi,"_ts_decorate");function Yi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Yi,"_ts_metadata");var Fo=class{static{s(this,"EnderDest")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"xLgr",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"nro",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"xCpl",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"xBairro",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"cMun",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"xMun",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"UF",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"CEP",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"cPais",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"xPais",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"fone",void 0);var lS=require("nfets/core");function Wi(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Wi,"_ts_decorate");function wn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(wn,"_ts_metadata");var Vt=class{static{s(this,"Dest")}CNPJ="";CPF="";idEstrangeiro;xNome;enderDest;indIEDest;IE;ISUF;IM;email};Wi([(0,nt.IsOptional)(),(0,nt.IsString)(),wn("design:type",String)],Vt.prototype,"CNPJ",void 0);Wi([(0,nt.IsOptional)(),(0,nt.IsString)(),wn("design:type",String)],Vt.prototype,"CPF",void 0);Wi([(0,nt.IsOptional)(),(0,nt.IsString)(),wn("design:type",String)],Vt.prototype,"idEstrangeiro",void 0);Wi([(0,nt.IsOptional)(),(0,nt.IsString)(),wn("design:type",String)],Vt.prototype,"xNome",void 0);Wi([(0,nt.IsOptional)(),(0,nt.ValidateNested)(),(0,pS.Type)(()=>Fo),wn("design:type",typeof IEnderDest>"u"?Object:IEnderDest)],Vt.prototype,"enderDest",void 0);Wi([(0,nt.IsString)(),wn("design:type",String)],Vt.prototype,"indIEDest",void 0);Wi([(0,nt.IsOptional)(),(0,nt.IsString)(),wn("design:type",String)],Vt.prototype,"IE",void 0);Wi([(0,nt.IsOptional)(),(0,nt.IsString)(),wn("design:type",String)],Vt.prototype,"ISUF",void 0);Wi([(0,nt.IsOptional)(),(0,nt.IsString)(),wn("design:type",String)],Vt.prototype,"IM",void 0);Wi([(0,nt.IsOptional)(),(0,nt.IsString)(),wn("design:type",String)],Vt.prototype,"email",void 0);Vt=Wi([(0,lS.Choice)({properties:["CNPJ","CPF"],required:!0})],Vt);var Se=require("class-validator"),uS=require("nfets/core");function Kt(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Kt,"_ts_decorate");function ao(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ao,"_ts_metadata");var Ie=class{static{s(this,"Local")}CNPJ;CPF;xNome;xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone;email;IE};Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"CNPJ",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"CPF",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"xNome",void 0);Kt([(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"xLgr",void 0);Kt([(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"nro",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"xCpl",void 0);Kt([(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"xBairro",void 0);Kt([(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"cMun",void 0);Kt([(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"xMun",void 0);Kt([(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"UF",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"CEP",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"cPais",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"xPais",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"fone",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"email",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"IE",void 0);Ie=Kt([(0,uS.Choice)({properties:["CNPJ","CPF"]})],Ie);var gc=require("class-validator"),fS=require("nfets/core");function Oh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Oh,"_ts_decorate");function dS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(dS,"_ts_metadata");var In=class{static{s(this,"AutXML")}CNPJ;CPF};Oh([(0,gc.IsOptional)(),(0,gc.IsString)(),dS("design:type",String)],In.prototype,"CNPJ",void 0);Oh([(0,gc.IsOptional)(),(0,gc.IsString)(),dS("design:type",String)],In.prototype,"CPF",void 0);In=Oh([(0,fS.Choice)({properties:["CNPJ","CPF"]})],In);var Nl=require("class-validator");function mS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(mS,"_ts_decorate");function hS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(hS,"_ts_metadata");var Kr=class{static{s(this,"InfIntermed")}CNPJ;idCadIntTran};mS([(0,Nl.IsString)(),hS("design:type",String)],Kr.prototype,"CNPJ",void 0);mS([(0,Nl.IsOptional)(),(0,Nl.IsString)(),hS("design:type",String)],Kr.prototype,"idCadIntTran",void 0);var as=require("class-validator");function Ah(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ah,"_ts_decorate");function Fh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Fh,"_ts_metadata");var cr=class{static{s(this,"Exporta")}UFSaidaPais;xLocExporta;xLocDespacho};Ah([(0,as.IsString)(),Fh("design:type",String)],cr.prototype,"UFSaidaPais",void 0);Ah([(0,as.IsOptional)(),(0,as.IsString)(),Fh("design:type",String)],cr.prototype,"xLocExporta",void 0);Ah([(0,as.IsOptional)(),(0,as.IsString)(),Fh("design:type",String)],cr.prototype,"xLocDespacho",void 0);var $r=require("class-validator");function Dh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Dh,"_ts_decorate");function Eh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Eh,"_ts_metadata");var pr=class{static{s(this,"Compra")}xNEmp;xPed;xCont};Dh([(0,$r.IsOptional)(),(0,$r.IsString)(),Eh("design:type",String)],pr.prototype,"xNEmp",void 0);Dh([(0,$r.IsOptional)(),(0,$r.IsString)(),Eh("design:type",String)],pr.prototype,"xPed",void 0);Dh([(0,$r.IsOptional)(),(0,$r.IsString)(),Eh("design:type",String)],pr.prototype,"xCont",void 0);var On=require("class-validator");function yc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(yc,"_ts_decorate");function bc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(bc,"_ts_metadata");var gi=class{static{s(this,"InfRespTec")}CNPJ;xContato;email;fone;idCSRT;hashCSRT};yc([(0,On.IsString)(),bc("design:type",String)],gi.prototype,"CNPJ",void 0);yc([(0,On.IsString)(),bc("design:type",String)],gi.prototype,"xContato",void 0);yc([(0,On.IsString)(),bc("design:type",String)],gi.prototype,"email",void 0);yc([(0,On.IsString)(),bc("design:type",String)],gi.prototype,"fone",void 0);yc([(0,On.IsOptional)(),(0,On.IsString)(),bc("design:type",String)],gi.prototype,"idCSRT",void 0);yc([(0,On.IsOptional)(),(0,On.IsString)(),bc("design:type",String)],gi.prototype,"hashCSRT",void 0);var Si=require("class-validator"),Oc=require("class-transformer");var Ji=require("class-validator"),le=require("nfets/core");function fe(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(fe,"_ts_decorate");function me(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(me,"_ts_metadata");var re=class{static{s(this,"ICMSTot")}vBC="0.00";vICMS="0.00";vICMSDeson="0.00";vFCPUFDest;vICMSUFDest;vICMSUFRemet;vFCP="0.00";vBCST="0.00";vST="0.00";vFCPST="0.00";vFCPSTRet="0.00";qBCMono;vICMSMono;qBCMonoReten;vICMSMonoReten;qBCMonoRet;vICMSMonoRet;vProd="0.00";vFrete="0.00";vSeg="0.00";vDesc="0.00";vII="0.00";vIPI="0.00";vIPIDevol="0.00";vPIS="0.00";vCOFINS="0.00";vOutro="0.00";vNF="0.00";vTotTrib};fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vBC",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vICMS",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vICMSDeson",void 0);fe([(0,Ji.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vFCPUFDest",void 0);fe([(0,Ji.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vICMSUFDest",void 0);fe([(0,Ji.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vICMSUFRemet",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vFCP",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vBCST",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vST",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vFCPST",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vFCPSTRet",void 0);fe([(0,Ji.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"qBCMono",void 0);fe([(0,Ji.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vICMSMono",void 0);fe([(0,Ji.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"qBCMonoReten",void 0);fe([(0,Ji.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vICMSMonoReten",void 0);fe([(0,Ji.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"qBCMonoRet",void 0);fe([(0,Ji.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vICMSMonoRet",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vProd",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vFrete",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vSeg",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vDesc",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vII",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vIPI",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vIPIDevol",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vPIS",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vCOFINS",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vOutro",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vNF",void 0);fe([(0,Ji.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vTotTrib",void 0);var Do=require("class-validator"),Xi=require("nfets/core");function yi(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(yi,"_ts_decorate");function bi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(bi,"_ts_metadata");var so=class{static{s(this,"ISSQNtot")}vServ;vBC;vISS;vPIS;vCOFINS;dCompet;vDeducao;vOutro;vDescIncond;vDescCond;vISSRet;cRegTrib};yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vServ",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vBC",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vISS",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vPIS",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vCOFINS",void 0);yi([(0,Do.IsString)(),bi("design:type",String)],so.prototype,"dCompet",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vDeducao",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vOutro",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vDescIncond",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vDescCond",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vISSRet",void 0);yi([(0,Do.IsOptional)(),(0,Do.IsString)(),bi("design:type",String)],so.prototype,"cRegTrib",void 0);var ea=require("class-validator"),ta=require("nfets/core");function ss(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ss,"_ts_decorate");function cs(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(cs,"_ts_metadata");var Ki=class{static{s(this,"RetTrib")}vRetPIS;vRetCOFINS;vRetCSLL;vBCIRRF;vIRRF;vBCRetPrev;vRetPrev};ss([(0,ea.IsOptional)(),(0,ta.TransformDecimal)({fixed:2}),cs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ki.prototype,"vRetPIS",void 0);ss([(0,ea.IsOptional)(),(0,ta.TransformDecimal)({fixed:2}),cs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ki.prototype,"vRetCOFINS",void 0);ss([(0,ea.IsOptional)(),(0,ta.TransformDecimal)({fixed:2}),cs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ki.prototype,"vRetCSLL",void 0);ss([(0,ea.IsOptional)(),(0,ta.TransformDecimal)({fixed:2}),cs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ki.prototype,"vBCIRRF",void 0);ss([(0,ea.IsOptional)(),(0,ta.TransformDecimal)({fixed:2}),cs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ki.prototype,"vIRRF",void 0);ss([(0,ea.IsOptional)(),(0,ta.TransformDecimal)({fixed:2}),cs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ki.prototype,"vBCRetPrev",void 0);ss([(0,ea.IsOptional)(),(0,ta.TransformDecimal)({fixed:2}),cs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ki.prototype,"vRetPrev",void 0);var en=require("class-validator");var ur=require("class-validator");var gd=require("nfets/core");function Ph(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ph,"_ts_decorate");function Th(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Th,"_ts_metadata");var ps=class{static{s(this,"IBSMunTot")}vDif="0.00";vDevTrib="0.00";vIBSMun="0.00"};Ph([(0,gd.TransformDecimal)({fixed:2}),Th("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ps.prototype,"vDif",void 0);Ph([(0,gd.TransformDecimal)({fixed:2}),Th("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ps.prototype,"vDevTrib",void 0);Ph([(0,gd.TransformDecimal)({fixed:2}),Th("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ps.prototype,"vIBSMun",void 0);var Bh=require("class-transformer");var yd=require("nfets/core");function zh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(zh,"_ts_decorate");function jh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(jh,"_ts_metadata");var ls=class{static{s(this,"IBSUFTot")}vDif="0.00";vDevTrib="0.00";vIBSUF="0.00"};zh([(0,yd.TransformDecimal)({fixed:2}),jh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ls.prototype,"vDif",void 0);zh([(0,yd.TransformDecimal)({fixed:2}),jh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ls.prototype,"vDevTrib",void 0);zh([(0,yd.TransformDecimal)({fixed:2}),jh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ls.prototype,"vIBSUF",void 0);var bd=require("nfets/core");function Rl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Rl,"_ts_decorate");function wl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(wl,"_ts_metadata");var lr=class{static{s(this,"IBSTot")}gIBSUF;gIBSMun;vIBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};Rl([(0,ur.IsOptional)(),(0,ur.ValidateNested)(),(0,Bh.Type)(()=>ls),wl("design:type",typeof IIBSUFTot>"u"?Object:IIBSUFTot)],lr.prototype,"gIBSUF",void 0);Rl([(0,ur.IsOptional)(),(0,ur.ValidateNested)(),(0,Bh.Type)(()=>ps),wl("design:type",typeof IIBSMunTot>"u"?Object:IIBSMunTot)],lr.prototype,"gIBSMun",void 0);Rl([(0,ur.IsOptional)(),(0,bd.TransformDecimal)({fixed:2}),wl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lr.prototype,"vIBS",void 0);Rl([(0,ur.IsOptional)(),(0,bd.TransformDecimal)({fixed:2}),wl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lr.prototype,"vCredPres",void 0);Rl([(0,ur.IsOptional)(),(0,bd.TransformDecimal)({fixed:2}),wl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lr.prototype,"vCredPresCondSus",void 0);var yS=require("nfets/core"),Dl=require("class-transformer");var xc=require("nfets/core"),Sc=require("class-validator");function Il(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Il,"_ts_decorate");function Ol(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ol,"_ts_metadata");var dr=class{static{s(this,"CBSTot")}vDif="0.00";vDevTrib="0.00";vCBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};Il([(0,Sc.IsOptional)(),(0,xc.TransformDecimal)({fixed:2}),Ol("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dr.prototype,"vDif",void 0);Il([(0,Sc.IsOptional)(),(0,xc.TransformDecimal)({fixed:2}),Ol("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dr.prototype,"vDevTrib",void 0);Il([(0,Sc.IsOptional)(),(0,xc.TransformDecimal)({fixed:2}),Ol("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dr.prototype,"vCBS",void 0);Il([(0,Sc.IsOptional)(),(0,xc.TransformDecimal)({fixed:2}),Ol("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dr.prototype,"vCredPres",void 0);Il([(0,Sc.IsOptional)(),(0,xc.TransformDecimal)({fixed:2}),Ol("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dr.prototype,"vCredPresCondSus",void 0);var us=require("nfets/core"),ds=require("class-validator");function Cc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Cc,"_ts_decorate");function Nc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Nc,"_ts_metadata");var An=class{static{s(this,"IBSMonoTot")}vIBSMono="0.00";vCBSMono="0.00";vIBSMonoReten="0.00";vCBSMonoReten="0.00";vIBSMonoRet="0.00";vCBSMonoRet="0.00"};Cc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Nc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],An.prototype,"vIBSMono",void 0);Cc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Nc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],An.prototype,"vCBSMono",void 0);Cc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Nc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],An.prototype,"vIBSMonoReten",void 0);Cc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Nc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],An.prototype,"vCBSMonoReten",void 0);Cc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Nc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],An.prototype,"vIBSMonoRet",void 0);Cc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Nc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],An.prototype,"vCBSMonoRet",void 0);var Mh=require("class-validator"),Lh=require("nfets/core");function vS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(vS,"_ts_decorate");function gS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(gS,"_ts_metadata");var Rc=class{static{s(this,"EstornoCredTot")}vIBSEstCred;vCBSEstCred};vS([(0,Mh.IsOptional)(),(0,Lh.TransformDecimal)({fixed:2}),gS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rc.prototype,"vIBSEstCred",void 0);vS([(0,Mh.IsOptional)(),(0,Lh.TransformDecimal)({fixed:2}),gS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rc.prototype,"vCBSEstCred",void 0);function Al(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Al,"_ts_decorate");function Fl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Fl,"_ts_metadata");var $i=class{static{s(this,"IBSCBSTot")}vBCIBSCBS="0.00";gIBS;gCBS;gMono;gEstornoCred};Al([(0,en.IsOptional)(),(0,yS.TransformDecimal)({fixed:2}),Fl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$i.prototype,"vBCIBSCBS",void 0);Al([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,Dl.Type)(()=>lr),Fl("design:type",typeof IIBSTot>"u"?Object:IIBSTot)],$i.prototype,"gIBS",void 0);Al([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,Dl.Type)(()=>dr),Fl("design:type",typeof ICBSTot>"u"?Object:ICBSTot)],$i.prototype,"gCBS",void 0);Al([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,Dl.Type)(()=>An),Fl("design:type",typeof IIBSMonoTot>"u"?Object:IIBSMonoTot)],$i.prototype,"gMono",void 0);Al([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,Dl.Type)(()=>Rc),Fl("design:type",typeof IEstornoCredTot>"u"?Object:IEstornoCredTot)],$i.prototype,"gEstornoCred",void 0);var bS=require("nfets/core"),xS=require("class-validator");function SD(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(SD,"_ts_decorate");function CD(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(CD,"_ts_metadata");var fs=class{static{s(this,"ISTot")}vIS="0.00"};SD([(0,xS.IsOptional)(),(0,bS.TransformDecimal)({fixed:2}),CD("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fs.prototype,"vIS",void 0);var SS=require("nfets/core");function wc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(wc,"_ts_decorate");function Ic(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ic,"_ts_metadata");var xi=class{static{s(this,"Total")}ICMSTot;ISSQNtot;retTrib;ISTot;IBSCBSTot;vNFTot};wc([(0,Si.ValidateNested)(),(0,Oc.Type)(()=>re),Ic("design:type",typeof IICMSTot>"u"?Object:IICMSTot)],xi.prototype,"ICMSTot",void 0);wc([(0,Si.IsOptional)(),(0,Si.ValidateNested)(),(0,Oc.Type)(()=>so),Ic("design:type",typeof IISSQNTot>"u"?Object:IISSQNTot)],xi.prototype,"ISSQNtot",void 0);wc([(0,Si.IsOptional)(),(0,Si.ValidateNested)(),(0,Oc.Type)(()=>Ki),Ic("design:type",typeof IRetTrib>"u"?Object:IRetTrib)],xi.prototype,"retTrib",void 0);wc([(0,Si.IsOptional)(),(0,Si.ValidateNested)(),(0,Oc.Type)(()=>fs),Ic("design:type",typeof IISTot>"u"?Object:IISTot)],xi.prototype,"ISTot",void 0);wc([(0,Si.IsOptional)(),(0,Si.ValidateNested)(),(0,Oc.Type)(()=>$i),Ic("design:type",typeof IIBSCBSTot>"u"?Object:IIBSCBSTot)],xi.prototype,"IBSCBSTot",void 0);wc([(0,Si.IsOptional)(),(0,SS.TransformDecimal)({fixed:2}),Ic("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xi.prototype,"vNFTot",void 0);var dt=require("class-validator"),zc=require("class-transformer");var po=require("class-validator"),CS=require("nfets/core");function oa(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(oa,"_ts_decorate");function ms(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ms,"_ts_metadata");var co=class{static{s(this,"Transporta")}CNPJ;CPF;xNome;IE;xEnder;xMun;UF};oa([(0,po.IsOptional)(),(0,po.IsString)(),ms("design:type",String)],co.prototype,"CNPJ",void 0);oa([(0,po.IsOptional)(),(0,po.IsString)(),ms("design:type",String)],co.prototype,"CPF",void 0);oa([(0,po.IsOptional)(),(0,po.IsString)(),ms("design:type",String)],co.prototype,"xNome",void 0);oa([(0,po.IsOptional)(),(0,po.IsString)(),ms("design:type",String)],co.prototype,"IE",void 0);oa([(0,po.IsOptional)(),(0,po.IsString)(),ms("design:type",String)],co.prototype,"xEnder",void 0);oa([(0,po.IsOptional)(),(0,po.IsString)(),ms("design:type",String)],co.prototype,"xMun",void 0);oa([(0,po.IsOptional)(),(0,po.IsString)(),ms("design:type",String)],co.prototype,"UF",void 0);co=oa([(0,CS.Choice)({properties:["CNPJ","CPF"]})],co);var Fn=require("class-validator"),El=require("nfets/core");function Ac(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ac,"_ts_decorate");function Fc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Fc,"_ts_metadata");var ti=class{static{s(this,"RetTransp")}vServ;vBCRet;pICMSRet;vICMSRet;CFOP;cMunFG};Ac([(0,Fn.IsOptional)(),(0,El.TransformDecimal)({fixed:2}),Fc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"vServ",void 0);Ac([(0,Fn.IsOptional)(),(0,El.TransformDecimal)({fixed:2}),Fc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"vBCRet",void 0);Ac([(0,Fn.IsOptional)(),(0,El.TransformDecimal)({fixed:4}),Fc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"pICMSRet",void 0);Ac([(0,Fn.IsOptional)(),(0,El.TransformDecimal)({fixed:2}),Fc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"vICMSRet",void 0);Ac([(0,Fn.IsOptional)(),(0,Fn.IsString)(),Fc("design:type",String)],ti.prototype,"CFOP",void 0);Ac([(0,Fn.IsOptional)(),(0,Fn.IsString)(),Fc("design:type",String)],ti.prototype,"cMunFG",void 0);var Ho=require("class-validator");function Dc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Dc,"_ts_decorate");function Ec(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ec,"_ts_metadata");var Dn=class{static{s(this,"VeicTransp")}placa;UF;RNTC};Dc([(0,Ho.IsOptional)(),(0,Ho.IsString)(),Ec("design:type",String)],Dn.prototype,"placa",void 0);Dc([(0,Ho.IsOptional)(),(0,Ho.IsString)(),Ec("design:type",String)],Dn.prototype,"UF",void 0);Dc([(0,Ho.IsOptional)(),(0,Ho.IsString)(),Ec("design:type",String)],Dn.prototype,"RNTC",void 0);var hs=class{static{s(this,"Reboque")}placa;UF;RNTC};Dc([(0,Ho.IsOptional)(),(0,Ho.IsString)(),Ec("design:type",String)],hs.prototype,"placa",void 0);Dc([(0,Ho.IsOptional)(),(0,Ho.IsString)(),Ec("design:type",String)],hs.prototype,"UF",void 0);Dc([(0,Ho.IsOptional)(),(0,Ho.IsString)(),Ec("design:type",String)],hs.prototype,"RNTC",void 0);var Ci=require("class-validator"),Vh=require("nfets/core");function Pc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Pc,"_ts_decorate");function Tc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Tc,"_ts_metadata");var En=class{static{s(this,"Vol")}qVol;esp;marca;nVol;pesoL;pesoB};Pc([(0,Ci.IsOptional)(),(0,Ci.IsString)(),Tc("design:type",String)],En.prototype,"qVol",void 0);Pc([(0,Ci.IsOptional)(),(0,Ci.IsString)(),Tc("design:type",String)],En.prototype,"esp",void 0);Pc([(0,Ci.IsOptional)(),(0,Ci.IsString)(),Tc("design:type",String)],En.prototype,"marca",void 0);Pc([(0,Ci.IsOptional)(),(0,Ci.IsString)(),Tc("design:type",String)],En.prototype,"nVol",void 0);Pc([(0,Ci.IsOptional)(),(0,Vh.TransformDecimal)({fixed:3}),Tc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],En.prototype,"pesoL",void 0);Pc([(0,Ci.IsOptional)(),(0,Vh.TransformDecimal)({fixed:3}),Tc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],En.prototype,"pesoB",void 0);var _h=require("nfets/core");function fr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(fr,"_ts_decorate");function ia(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ia,"_ts_metadata");var lo=class{static{s(this,"Transp")}modFrete;transporta;retTransp;veicTransp;reboque;vagao;balsa;vol};fr([(0,dt.IsString)(),ia("design:type",String)],lo.prototype,"modFrete",void 0);fr([(0,dt.IsOptional)(),(0,dt.ValidateNested)(),(0,zc.Type)(()=>co),ia("design:type",typeof co>"u"?Object:co)],lo.prototype,"transporta",void 0);fr([(0,dt.IsOptional)(),(0,dt.ValidateNested)(),(0,zc.Type)(()=>ti),ia("design:type",typeof ti>"u"?Object:ti)],lo.prototype,"retTransp",void 0);fr([(0,dt.IsOptional)(),(0,dt.ValidateNested)(),(0,zc.Type)(()=>Dn),ia("design:type",typeof Dn>"u"?Object:Dn)],lo.prototype,"veicTransp",void 0);fr([(0,dt.IsOptional)(),(0,dt.ValidateNested)({each:!0}),(0,zc.Type)(()=>hs),(0,dt.ArrayMaxSize)(5),ia("design:type",Array)],lo.prototype,"reboque",void 0);fr([(0,dt.IsOptional)(),(0,dt.IsString)(),ia("design:type",String)],lo.prototype,"vagao",void 0);fr([(0,dt.IsOptional)(),(0,dt.IsString)(),ia("design:type",String)],lo.prototype,"balsa",void 0);fr([(0,dt.IsOptional)(),(0,dt.ValidateNested)({each:!0}),(0,zc.Type)(()=>En),(0,dt.ArrayMaxSize)(5e3),ia("design:type",Array)],lo.prototype,"vol",void 0);lo=fr([(0,_h.Choice)({properties:["veicTransp","reboque"]}),(0,_h.Choice)({properties:["vagao","balsa"]})],lo);var It=require("class-validator"),Uh=require("class-transformer"),Pl=require("nfets/core");function hr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(hr,"_ts_decorate");function vr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(vr,"_ts_metadata");var mr=class{static{s(this,"Fat")}nFat;vOrig;vDesc;vLiq};hr([(0,It.IsOptional)(),(0,It.IsString)(),vr("design:type",String)],mr.prototype,"nFat",void 0);hr([(0,It.IsOptional)(),(0,Pl.TransformDecimal)({fixed:2}),vr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mr.prototype,"vOrig",void 0);hr([(0,It.IsOptional)(),(0,Pl.TransformDecimal)({fixed:2}),vr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mr.prototype,"vDesc",void 0);hr([(0,It.IsOptional)(),(0,Pl.TransformDecimal)({fixed:2}),vr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mr.prototype,"vLiq",void 0);var jc=class{static{s(this,"Dup")}nDup;dVenc;vDup};hr([(0,It.IsOptional)(),(0,It.IsString)(),vr("design:type",String)],jc.prototype,"nDup",void 0);hr([(0,It.IsOptional)(),(0,It.IsString)(),vr("design:type",String)],jc.prototype,"dVenc",void 0);hr([(0,It.IsOptional)(),(0,Pl.TransformDecimal)({fixed:2}),vr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],jc.prototype,"vDup",void 0);var na=class{static{s(this,"Cobr")}fat;dup};hr([(0,It.IsOptional)(),(0,It.ValidateNested)(),(0,Uh.Type)(()=>mr),vr("design:type",typeof mr>"u"?Object:mr)],na.prototype,"fat",void 0);hr([(0,It.IsOptional)(),(0,It.ValidateNested)({each:!0}),(0,It.ArrayMaxSize)(120),(0,Uh.Type)(()=>jc),vr("design:type",Array)],na.prototype,"dup",void 0);var ca=require("class-validator"),IS=require("class-transformer");var Eo=require("class-validator"),NS=require("class-transformer");var ko=require("class-validator");function Bc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Bc,"_ts_decorate");function Mc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Mc,"_ts_metadata");var oi=class{static{s(this,"Card")}tpIntegra;CNPJ;tBand;cAut;CNPJReceb;idTermPag};Bc([(0,ko.IsOptional)(),(0,ko.IsString)(),Mc("design:type",String)],oi.prototype,"tpIntegra",void 0);Bc([(0,ko.IsOptional)(),(0,ko.IsString)(),Mc("design:type",String)],oi.prototype,"CNPJ",void 0);Bc([(0,ko.IsOptional)(),(0,ko.IsString)(),Mc("design:type",String)],oi.prototype,"tBand",void 0);Bc([(0,ko.IsOptional)(),(0,ko.IsString)(),Mc("design:type",String)],oi.prototype,"cAut",void 0);Bc([(0,ko.IsOptional)(),(0,ko.IsString)(),Mc("design:type",String)],oi.prototype,"CNPJReceb",void 0);Bc([(0,ko.IsOptional)(),(0,ko.IsString)(),Mc("design:type",String)],oi.prototype,"idTermPag",void 0);var xd=require("nfets/core");function ra(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ra,"_ts_decorate");function aa(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(aa,"_ts_metadata");var Ni=class{static{s(this,"DetPag")}indPag;tPag;xPag;vPag;dPag;CNPJPag;UFPag;card};ra([(0,Eo.IsOptional)(),(0,Eo.IsString)(),aa("design:type",String)],Ni.prototype,"indPag",void 0);ra([(0,Eo.IsString)(),aa("design:type",typeof TPag>"u"?Object:TPag)],Ni.prototype,"tPag",void 0);ra([(0,Eo.IsOptional)(),(0,Eo.IsString)(),aa("design:type",String)],Ni.prototype,"xPag",void 0);ra([(0,xd.TransformDecimal)({fixed:2}),aa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ni.prototype,"vPag",void 0);ra([(0,Eo.IsOptional)(),(0,xd.TransformDateString)({format:"YYYY-MM-DD"}),aa("design:type",String)],Ni.prototype,"dPag",void 0);ra([(0,Eo.IsOptional)(),(0,Eo.IsString)(),aa("design:type",String)],Ni.prototype,"CNPJPag",void 0);ra([(0,Eo.IsOptional)(),(0,Eo.IsString)(),aa("design:type",String)],Ni.prototype,"UFPag",void 0);ra([(0,Eo.IsOptional)(),(0,Eo.ValidateNested)(),(0,NS.Type)(()=>oi),aa("design:type",typeof oi>"u"?Object:oi)],Ni.prototype,"card",void 0);var OS=require("nfets/core");function RS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(RS,"_ts_decorate");function wS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(wS,"_ts_metadata");var sa=class{static{s(this,"Pag")}detPag;vTroco};RS([(0,ca.ValidateNested)({each:!0}),(0,ca.ArrayMinSize)(1),(0,ca.ArrayMaxSize)(100),(0,IS.Type)(()=>Ni),wS("design:type",Array)],sa.prototype,"detPag",void 0);RS([(0,ca.IsOptional)(),(0,OS.TransformDecimal)({fixed:2}),wS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],sa.prototype,"vTroco",void 0);var $e=require("class-validator"),Sd=require("class-transformer");function gr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(gr,"_ts_decorate");function yr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(yr,"_ts_metadata");var Lc=class{static{s(this,"InfAdicObs")}xCampo;xTexto};gr([(0,$e.IsString)(),yr("design:type",String)],Lc.prototype,"xCampo",void 0);gr([(0,$e.IsString)(),yr("design:type",String)],Lc.prototype,"xTexto",void 0);var Tl=class{static{s(this,"ProcRef")}nProc;indProc};gr([(0,$e.IsOptional)(),(0,$e.IsString)(),yr("design:type",String)],Tl.prototype,"nProc",void 0);gr([(0,$e.IsOptional)(),(0,$e.IsString)(),yr("design:type",String)],Tl.prototype,"indProc",void 0);var tn=class{static{s(this,"InfAdic")}infAdFisco;infCpl;obsCont;obsFisco;procRef};gr([(0,$e.IsOptional)(),(0,$e.IsString)(),yr("design:type",String)],tn.prototype,"infAdFisco",void 0);gr([(0,$e.IsOptional)(),(0,$e.IsString)(),yr("design:type",String)],tn.prototype,"infCpl",void 0);gr([(0,$e.IsOptional)(),(0,$e.ValidateNested)({each:!0}),(0,Sd.Type)(()=>Lc),(0,$e.ArrayMaxSize)(10),yr("design:type",Array)],tn.prototype,"obsCont",void 0);gr([(0,$e.IsOptional)(),(0,$e.ValidateNested)({each:!0}),(0,Sd.Type)(()=>Lc),(0,$e.ArrayMaxSize)(10),yr("design:type",Array)],tn.prototype,"obsFisco",void 0);gr([(0,$e.IsOptional)(),(0,$e.ValidateNested)({each:!0}),(0,Sd.Type)(()=>Tl),(0,$e.ArrayMaxSize)(100),yr("design:type",Array)],tn.prototype,"procRef",void 0);var Re=require("class-validator"),Nd=require("class-transformer"),Bl=require("nfets/core");function Po(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Po,"_ts_decorate");function To(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(To,"_ts_metadata");var Cd=class{static{s(this,"ForDiaAttributes")}dia};Po([(0,Re.IsString)(),To("design:type",String)],Cd.prototype,"dia",void 0);var zl=class{static{s(this,"ForDia")}$;qtde};Po([(0,Re.IsObject)(),(0,Re.IsNotEmptyObject)(),(0,Nd.Type)(()=>Cd),To("design:type",typeof IForDiaAttributes>"u"?Object:IForDiaAttributes)],zl.prototype,"$",void 0);Po([(0,Re.IsString)(),To("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zl.prototype,"qtde",void 0);var jl=class{static{s(this,"Deduc")}xDed;vDed};Po([(0,Re.IsString)(),To("design:type",String)],jl.prototype,"xDed",void 0);Po([(0,Bl.TransformDecimal)({fixed:2}),To("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],jl.prototype,"vDed",void 0);var uo=class{static{s(this,"Cana")}safra;ref;forDia;qTotMes;qTotAnt;qTotGer;deduc;vFor;vTotDed;vLiqFor};Po([(0,Re.IsString)(),To("design:type",String)],uo.prototype,"safra",void 0);Po([(0,Re.IsString)(),To("design:type",String)],uo.prototype,"ref",void 0);Po([(0,Re.ValidateNested)({each:!0}),(0,Re.ArrayMaxSize)(31),(0,Nd.Type)(()=>zl),To("design:type",Array)],uo.prototype,"forDia",void 0);Po([(0,Re.IsOptional)(),(0,Re.IsString)(),To("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"qTotMes",void 0);Po([(0,Re.IsOptional)(),(0,Re.IsString)(),To("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"qTotAnt",void 0);Po([(0,Re.IsOptional)(),(0,Re.IsString)(),To("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"qTotGer",void 0);Po([(0,Re.IsOptional)(),(0,Re.ValidateNested)({each:!0}),(0,Re.ArrayMaxSize)(10),(0,Nd.Type)(()=>jl),To("design:type",Array)],uo.prototype,"deduc",void 0);Po([(0,Re.IsOptional)(),(0,Bl.TransformDecimal)({fixed:2}),To("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"vFor",void 0);Po([(0,Re.IsOptional)(),(0,Bl.TransformDecimal)({fixed:2}),To("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"vTotDed",void 0);Po([(0,Re.IsOptional)(),(0,Bl.TransformDecimal)({fixed:2}),To("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"vLiqFor",void 0);var Ot=require("class-validator"),Is=require("class-transformer");var F=require("class-validator"),Pn=require("nfets/core"),nn=require("class-transformer");var on=require("class-validator");function Ml(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ml,"_ts_decorate");function Ll(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ll,"_ts_metadata");var br=class{static{s(this,"Rastro")}nLote;qLote;dFab;dVal;cAgreg};Ml([(0,on.IsString)(),Ll("design:type",String)],br.prototype,"nLote",void 0);Ml([(0,on.IsOptional)(),(0,on.IsString)(),Ll("design:type",String)],br.prototype,"qLote",void 0);Ml([(0,on.IsOptional)(),(0,on.IsString)(),Ll("design:type",String)],br.prototype,"dFab",void 0);Ml([(0,on.IsOptional)(),(0,on.IsString)(),Ll("design:type",String)],br.prototype,"dVal",void 0);Ml([(0,on.IsOptional)(),(0,on.IsString)(),Ll("design:type",String)],br.prototype,"cAgreg",void 0);var BS=require("nfets/core");var he=require("class-validator"),AS=require("class-transformer"),Vl=require("nfets/core");function Ut(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ut,"_ts_decorate");function $t(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s($t,"_ts_metadata");var pa=class{static{s(this,"Adi")}nAdicao;nSeqAdic;cFabricante;vDescDI;nDraw};Ut([(0,he.IsString)(),$t("design:type",String)],pa.prototype,"nAdicao",void 0);Ut([(0,he.IsString)(),$t("design:type",String)],pa.prototype,"nSeqAdic",void 0);Ut([(0,he.IsString)(),$t("design:type",String)],pa.prototype,"cFabricante",void 0);Ut([(0,Vl.TransformDecimal)({fixed:2}),$t("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pa.prototype,"vDescDI",void 0);Ut([(0,he.IsOptional)(),(0,he.IsString)(),$t("design:type",String)],pa.prototype,"nDraw",void 0);var _t=class{static{s(this,"DI")}nDI;dDI;xLocDesemb;UFDesemb;dDesemb;tpViaTransp;vAFRMM;tpIntermedio;CNPJ="";CPF="";UFTerceiro;adi};Ut([(0,he.IsString)(),$t("design:type",String)],_t.prototype,"nDI",void 0);Ut([(0,he.IsString)(),$t("design:type",String)],_t.prototype,"dDI",void 0);Ut([(0,he.IsString)(),$t("design:type",String)],_t.prototype,"xLocDesemb",void 0);Ut([(0,he.IsString)(),$t("design:type",String)],_t.prototype,"UFDesemb",void 0);Ut([(0,he.IsString)(),$t("design:type",String)],_t.prototype,"dDesemb",void 0);Ut([(0,he.IsString)(),$t("design:type",String)],_t.prototype,"tpViaTransp",void 0);Ut([(0,he.IsOptional)(),(0,Vl.TransformDecimal)({fixed:2}),$t("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_t.prototype,"vAFRMM",void 0);Ut([(0,he.IsString)(),$t("design:type",String)],_t.prototype,"tpIntermedio",void 0);Ut([(0,he.IsString)(),(0,he.IsOptional)(),$t("design:type",String)],_t.prototype,"CNPJ",void 0);Ut([(0,he.IsString)(),(0,he.IsOptional)(),$t("design:type",String)],_t.prototype,"CPF",void 0);Ut([(0,he.IsString)(),(0,he.IsOptional)(),$t("design:type",String)],_t.prototype,"UFTerceiro",void 0);Ut([(0,he.IsArray)(),(0,he.ValidateNested)({each:!0}),(0,AS.Type)(()=>pa),(0,he.ArrayMaxSize)(999),(0,he.ArrayMinSize)(1),$t("design:type",Array)],_t.prototype,"adi",void 0);_t=Ut([(0,Vl.Choice)({properties:["CNPJ","CPF"],required:!0})],_t);var FS=require("class-transformer"),xr=require("class-validator"),DS=require("nfets/core");function _l(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(_l,"_ts_decorate");function Ul(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ul,"_ts_metadata");var Vc=class{static{s(this,"ExportInd")}nRE;chNFe;qExport};_l([(0,xr.IsString)(),Ul("design:type",String)],Vc.prototype,"nRE",void 0);_l([(0,xr.IsString)(),Ul("design:type",String)],Vc.prototype,"chNFe",void 0);_l([(0,DS.TransformDecimal)({fixed:4}),Ul("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vc.prototype,"qExport",void 0);var _c=class{static{s(this,"DetExport")}nDraw;exportInd};_l([(0,xr.IsOptional)(),(0,xr.IsString)(),Ul("design:type",String)],_c.prototype,"nDraw",void 0);_l([(0,xr.IsOptional)(),(0,xr.ValidateNested)(),(0,FS.Type)(()=>Vc),Ul("design:type",typeof IExportInd>"u"?Object:IExportInd)],_c.prototype,"exportInd",void 0);var qh=require("class-validator");function ES(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ES,"_ts_decorate");function PS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(PS,"_ts_metadata");var Uc=class{static{s(this,"InfProdNFF")}cProdFisco;cOperNFF};ES([(0,qh.IsString)(),PS("design:type",String)],Uc.prototype,"cProdFisco",void 0);ES([(0,qh.IsString)(),PS("design:type",String)],Uc.prototype,"cOperNFF",void 0);var Gh=require("class-validator"),TS=require("nfets/core");function Hh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Hh,"_ts_decorate");function kh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(kh,"_ts_metadata");var vs=class{static{s(this,"InfProdEmb")}xEmb;qVolEmb;uEmb};Hh([(0,Gh.IsString)(),kh("design:type",String)],vs.prototype,"xEmb",void 0);Hh([(0,TS.TransformDecimal)({fixed:3}),kh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vs.prototype,"qVolEmb",void 0);Hh([(0,Gh.IsString)(),kh("design:type",String)],vs.prototype,"uEmb",void 0);var Fe=require("class-validator");function Me(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Me,"_ts_decorate");function Le(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Le,"_ts_metadata");var Ce=class{static{s(this,"VeicProd")}tpOp;chassi;cCor;xCor;pot;cilin;pesoL;pesoB;nSerie;tpComb;nMotor;CMT;dist;anoMod;anoFab;tpPint;tpVeic;espVeic;VIN;condVeic;cMod;cCorDENATRAN;lota;tpRest};Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"tpOp",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"chassi",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"cCor",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"xCor",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"pot",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"cilin",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"pesoL",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"pesoB",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"nSerie",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"tpComb",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"nMotor",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"CMT",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"dist",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"anoMod",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"anoFab",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"tpPint",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"tpVeic",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"espVeic",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"VIN",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"condVeic",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"cMod",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"cCorDENATRAN",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"lota",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"tpRest",void 0);var Yh=require("class-validator"),zS=require("nfets/core");function Qh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Qh,"_ts_decorate");function Zh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Zh,"_ts_metadata");var gs=class{static{s(this,"Med")}cProdANVISA;xMotivoIsencao;vPMC};Qh([(0,Yh.IsString)(),Zh("design:type",String)],gs.prototype,"cProdANVISA",void 0);Qh([(0,Yh.IsString)(),Zh("design:type",String)],gs.prototype,"xMotivoIsencao",void 0);Qh([(0,zS.TransformDecimal)({fixed:2}),Zh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gs.prototype,"vPMC",void 0);var ql=require("class-validator");function Rd(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Rd,"_ts_decorate");function wd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(wd,"_ts_metadata");var la=class{static{s(this,"Arma")}tpArma;nSerie;nCano;descr};Rd([(0,ql.IsString)(),wd("design:type",String)],la.prototype,"tpArma",void 0);Rd([(0,ql.IsString)(),wd("design:type",String)],la.prototype,"nSerie",void 0);Rd([(0,ql.IsString)(),wd("design:type",String)],la.prototype,"nCano",void 0);Rd([(0,ql.IsString)(),wd("design:type",String)],la.prototype,"descr",void 0);var ae=require("class-validator"),Id=require("class-transformer"),ii=require("nfets/core");function Ve(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ve,"_ts_decorate");function _e(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(_e,"_ts_metadata");var qc=class{static{s(this,"OrigComb")}indImport;cUFOrig;pOrig};Ve([(0,ae.IsString)(),_e("design:type",String)],qc.prototype,"indImport",void 0);Ve([(0,ae.IsString)(),_e("design:type",String)],qc.prototype,"cUFOrig",void 0);Ve([(0,ii.TransformDecimal)({fixed:4}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qc.prototype,"pOrig",void 0);var Hc=class{static{s(this,"CIDE")}qBCProd;vAliqProd;vCIDE};Ve([(0,ii.TransformDecimal)({fixed:4}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hc.prototype,"qBCProd",void 0);Ve([(0,ii.TransformDecimal)({fixed:4}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hc.prototype,"vAliqProd",void 0);Ve([(0,ii.TransformDecimal)({fixed:2}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hc.prototype,"vCIDE",void 0);var ua=class{static{s(this,"Encerrante")}nBico;nBomba;nTanque;vEncIni;vEncFin};Ve([(0,ae.IsString)(),_e("design:type",String)],ua.prototype,"nBico",void 0);Ve([(0,ae.IsString)(),_e("design:type",String)],ua.prototype,"nBomba",void 0);Ve([(0,ae.IsString)(),_e("design:type",String)],ua.prototype,"nTanque",void 0);Ve([(0,ii.TransformDecimal)({fixed:3}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ua.prototype,"vEncIni",void 0);Ve([(0,ii.TransformDecimal)({fixed:3}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ua.prototype,"vEncFin",void 0);var eo=class{static{s(this,"Comb")}cProdANP;descANP;pGLP;pGNn;pGNi;vPart;CODIF;qTemp;UFCons;CIDE;encerrante;pBio;origComb};Ve([(0,ae.IsString)(),_e("design:type",String)],eo.prototype,"cProdANP",void 0);Ve([(0,ae.IsString)(),_e("design:type",String)],eo.prototype,"descANP",void 0);Ve([(0,ae.IsOptional)(),(0,ii.TransformDecimal)({fixed:4}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"pGLP",void 0);Ve([(0,ae.IsOptional)(),(0,ii.TransformDecimal)({fixed:4}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"pGNn",void 0);Ve([(0,ae.IsOptional)(),(0,ii.TransformDecimal)({fixed:4}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"pGNi",void 0);Ve([(0,ae.IsOptional)(),(0,ii.TransformDecimal)({fixed:2}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"vPart",void 0);Ve([(0,ae.IsString)(),(0,ae.IsOptional)(),_e("design:type",String)],eo.prototype,"CODIF",void 0);Ve([(0,ae.IsOptional)(),(0,ii.TransformDecimal)({fixed:4}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"qTemp",void 0);Ve([(0,ae.IsString)(),_e("design:type",String)],eo.prototype,"UFCons",void 0);Ve([(0,ae.IsOptional)(),(0,ae.IsObject)(),(0,ae.ValidateNested)(),(0,Id.Type)(()=>Hc),_e("design:type",typeof ICIDE>"u"?Object:ICIDE)],eo.prototype,"CIDE",void 0);Ve([(0,ae.IsOptional)(),(0,ae.IsObject)(),(0,ae.ValidateNested)(),(0,Id.Type)(()=>ua),_e("design:type",typeof IEncerrante>"u"?Object:IEncerrante)],eo.prototype,"encerrante",void 0);Ve([(0,ae.IsOptional)(),(0,ii.TransformDecimal)({fixed:4}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"pBio",void 0);Ve([(0,ae.IsArray)(),(0,ae.ValidateNested)({each:!0}),(0,Id.Type)(()=>qc),(0,ae.ArrayMaxSize)(30),(0,ae.IsOptional)(),_e("design:type",Array)],eo.prototype,"origComb",void 0);var jS=require("class-validator"),Xh=require("nfets/core");function Wh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Wh,"_ts_decorate");function Jh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Jh,"_ts_metadata");var ys=class{static{s(this,"GCred")}cCredPresumido;pCredPresumido;vCredPresumido};Wh([(0,jS.IsString)(),Jh("design:type",String)],ys.prototype,"cCredPresumido",void 0);Wh([(0,Xh.TransformDecimal)({fixed:4}),Jh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ys.prototype,"pCredPresumido",void 0);Wh([(0,Xh.TransformDecimal)({fixed:2}),Jh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ys.prototype,"vCredPresumido",void 0);function Y(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Y,"_ts_decorate");function J(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(J,"_ts_metadata");var q=class{static{s(this,"Prod")}cProd;cEAN;cBarra;xProd;NCM;NVE;CEST;indEscala;CNPJFab;cBenef;gCred;tpCredPresIBSZFM;EXTIPI;CFOP;uCom;qCom;vUnCom;vProd;cEANTrib;cBarraTrib;uTrib;qTrib;vUnTrib;vFrete;vSeg;vDesc;vOutro;indTot;indBemMovelUsado;DI;detExport;xPed;nItemPed;nFCI;rastro;infProdNFF;infProdEmb;veicProd;med;arma;comb;nRECOPI};Y([(0,F.IsString)(),J("design:type",String)],q.prototype,"cProd",void 0);Y([(0,F.IsString)(),J("design:type",String)],q.prototype,"cEAN",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),J("design:type",String)],q.prototype,"cBarra",void 0);Y([(0,F.IsString)(),J("design:type",String)],q.prototype,"xProd",void 0);Y([(0,F.IsString)(),J("design:type",String)],q.prototype,"NCM",void 0);Y([(0,F.IsOptional)(),(0,F.IsArray)(),(0,F.ArrayMaxSize)(8),(0,F.IsString)({each:!0}),J("design:type",Array)],q.prototype,"NVE",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),J("design:type",String)],q.prototype,"CEST",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),J("design:type",String)],q.prototype,"indEscala",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),J("design:type",String)],q.prototype,"CNPJFab",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),J("design:type",String)],q.prototype,"cBenef",void 0);Y([(0,F.IsOptional)(),(0,F.IsArray)(),(0,F.ArrayMaxSize)(4),(0,F.ValidateNested)({each:!0}),(0,nn.Type)(()=>ys),J("design:type",Array)],q.prototype,"gCred",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),J("design:type",String)],q.prototype,"tpCredPresIBSZFM",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),J("design:type",String)],q.prototype,"EXTIPI",void 0);Y([(0,F.IsString)(),J("design:type",String)],q.prototype,"CFOP",void 0);Y([(0,F.IsString)(),J("design:type",String)],q.prototype,"uCom",void 0);Y([(0,Pn.TransformDecimal)({fixed:4}),J("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],q.prototype,"qCom",void 0);Y([(0,Pn.TransformDecimal)({fixed:10}),J("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],q.prototype,"vUnCom",void 0);Y([(0,Pn.TransformDecimal)({fixed:2}),J("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],q.prototype,"vProd",void 0);Y([(0,F.IsString)(),J("design:type",String)],q.prototype,"cEANTrib",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),J("design:type",String)],q.prototype,"cBarraTrib",void 0);Y([(0,F.IsString)(),J("design:type",String)],q.prototype,"uTrib",void 0);Y([(0,Pn.TransformDecimal)({fixed:4}),J("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],q.prototype,"qTrib",void 0);Y([(0,Pn.TransformDecimal)({fixed:10}),J("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],q.prototype,"vUnTrib",void 0);Y([(0,F.IsOptional)(),(0,Pn.TransformDecimal)({fixed:2}),J("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],q.prototype,"vFrete",void 0);Y([(0,F.IsOptional)(),(0,Pn.TransformDecimal)({fixed:2}),J("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],q.prototype,"vSeg",void 0);Y([(0,F.IsOptional)(),(0,Pn.TransformDecimal)({fixed:2}),J("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],q.prototype,"vDesc",void 0);Y([(0,F.IsOptional)(),(0,Pn.TransformDecimal)({fixed:2}),J("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],q.prototype,"vOutro",void 0);Y([(0,F.IsString)(),J("design:type",String)],q.prototype,"indTot",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),J("design:type",String)],q.prototype,"indBemMovelUsado",void 0);Y([(0,F.IsOptional)(),(0,F.IsArray)(),(0,F.ValidateNested)({each:!0}),(0,F.ArrayMaxSize)(100),(0,nn.Type)(()=>_t),J("design:type",Array)],q.prototype,"DI",void 0);Y([(0,F.IsOptional)(),(0,F.IsArray)(),(0,F.ValidateNested)({each:!0}),(0,F.ArrayMaxSize)(500),(0,nn.Type)(()=>_c),J("design:type",Array)],q.prototype,"detExport",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),J("design:type",String)],q.prototype,"xPed",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),J("design:type",String)],q.prototype,"nItemPed",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),J("design:type",String)],q.prototype,"nFCI",void 0);Y([(0,F.IsOptional)(),(0,F.IsArray)(),(0,F.ValidateNested)({each:!0}),(0,F.ArrayMaxSize)(500),(0,nn.Type)(()=>br),J("design:type",Array)],q.prototype,"rastro",void 0);Y([(0,F.IsOptional)(),(0,F.IsObject)(),(0,F.ValidateNested)(),(0,nn.Type)(()=>Uc),J("design:type",typeof IInfProdNFF>"u"?Object:IInfProdNFF)],q.prototype,"infProdNFF",void 0);Y([(0,F.IsOptional)(),(0,F.IsObject)(),(0,F.ValidateNested)(),(0,nn.Type)(()=>vs),J("design:type",typeof IInfProdEmb>"u"?Object:IInfProdEmb)],q.prototype,"infProdEmb",void 0);Y([(0,F.IsOptional)(),(0,F.IsObject)(),(0,F.ValidateNested)(),(0,nn.Type)(()=>Ce),J("design:type",typeof IVeicProd>"u"?Object:IVeicProd)],q.prototype,"veicProd",void 0);Y([(0,F.IsOptional)(),(0,F.IsObject)(),(0,F.ValidateNested)(),(0,nn.Type)(()=>gs),J("design:type",typeof IMed>"u"?Object:IMed)],q.prototype,"med",void 0);Y([(0,F.IsOptional)(),(0,F.IsObject)(),(0,F.ValidateNested)({each:!0}),(0,nn.Type)(()=>la),(0,F.ArrayMaxSize)(500),J("design:type",Array)],q.prototype,"arma",void 0);Y([(0,F.IsOptional)(),(0,F.IsObject)(),(0,F.ValidateNested)(),(0,nn.Type)(()=>eo),J("design:type",typeof IComb>"u"?Object:IComb)],q.prototype,"comb",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),J("design:type",String)],q.prototype,"nRECOPI",void 0);q=Y([(0,BS.Choice)({properties:["veicProd","med","arma","comb"]})],q);var Pi=require("class-transformer"),Pe=require("class-validator");var f=require("class-validator"),rt=require("class-transformer"),S=require("nfets/core");function v(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(v,"_ts_decorate");function g(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(g,"_ts_metadata");var Ri=class{static{s(this,"ICMS00")}orig;CST;modBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP};v([(0,f.IsString)(),g("design:type",String)],Ri.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],Ri.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],Ri.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"vBCFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"pFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"vFCP",void 0);var da=class{static{s(this,"ICMS02")}orig;CST;qBCMono;adRemICMS;vICMSMono};v([(0,f.IsString)(),g("design:type",String)],da.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],da.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],da.prototype,"qBCMono",void 0);v([(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],da.prototype,"adRemICMS",void 0);v([(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],da.prototype,"vICMSMono",void 0);var ft=class{static{s(this,"ICMS10")}orig;CST;modBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST};v([(0,f.IsString)(),g("design:type",String)],ft.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],ft.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],ft.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"vBCFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"pFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"vFCP",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],ft.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"pMVAST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"pRedBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"vBCFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"pFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"vFCPST",void 0);var ni=class{static{s(this,"ICMS15")}orig;CST;qBCMono;adRemICMS;vICMSMono;qBCMonoReten;adRemICMSReten;vICMSMonoReten;pRedAdRem;motRedAdRem};v([(0,f.IsString)(),g("design:type",String)],ni.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],ni.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"qBCMono",void 0);v([(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"adRemICMS",void 0);v([(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"vICMSMono",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"qBCMonoReten",void 0);v([(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"adRemICMSReten",void 0);v([(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"vICMSMonoReten",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),(0,f.Max)(100),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"pRedAdRem",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],ni.prototype,"motRedAdRem",void 0);var zo=class{static{s(this,"ICMS20")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;vICMSDeson;motDesICMS};v([(0,f.IsString)(),g("design:type",String)],zo.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],zo.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],zo.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"vBCFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"pFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"vFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"vICMSDeson",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],zo.prototype,"motDesICMS",void 0);var fo=class{static{s(this,"ICMS30")}orig;CST;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST;vICMSDeson;motDesICMS};v([(0,f.IsString)(),g("design:type",String)],fo.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],fo.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],fo.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"pMVAST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"pRedBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vBCFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"pFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vICMSDeson",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],fo.prototype,"motDesICMS",void 0);var bs=class{static{s(this,"ICMS40")}orig;CST;vICMSDeson;motDesICMS};v([(0,f.IsString)(),g("design:type",String)],bs.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],bs.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bs.prototype,"vICMSDeson",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],bs.prototype,"motDesICMS",void 0);var wi=class{static{s(this,"ICMS51")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;pDif;vICMSDif};v([(0,f.IsString)(),g("design:type",String)],wi.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],wi.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],wi.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),(0,f.Max)(100),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"pDif",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"vICMSDif",void 0);var ri=class{static{s(this,"ICMS53")}orig;CST;qBCMono;adRemICMS;vICMSMonoOp;pDif;vICMSMonoDif;vICMSMono;qBCMonoDif;adRemICMSDif};v([(0,f.IsString)(),g("design:type",String)],ri.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],ri.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"qBCMono",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"adRemICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"vICMSMonoOp",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),(0,f.Max)(100),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"pDif",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"vICMSMonoDif",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"vICMSMono",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"qBCMonoDif",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"adRemICMSDif",void 0);var mo=class{static{s(this,"ICMS60")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet;vBCFCPSTRet;pFCPSTRet;vFCPSTRet;pRedBCEfet;vBCEfet;pICMSEfet;vICMSEfet};v([(0,f.IsString)(),g("design:type",String)],mo.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],mo.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vBCSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vICMSSubstituto",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vICMSSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vBCFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pRedBCEfet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vBCEfet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pICMSEfet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vICMSEfet",void 0);var fa=class{static{s(this,"ICMS61")}orig;CST;qBCMonoRet;adRemICMSRet;vICMSMonoRet};v([(0,f.IsString)(),g("design:type",String)],fa.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],fa.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fa.prototype,"qBCMonoRet",void 0);v([(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fa.prototype,"adRemICMSRet",void 0);v([(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fa.prototype,"vICMSMonoRet",void 0);var Ue=class{static{s(this,"ICMS70")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;vICMSDeson;motDesICMS;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST};v([(0,f.IsString)(),g("design:type",String)],Ue.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],Ue.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],Ue.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vBCFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vICMSDeson",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],Ue.prototype,"motDesICMS",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],Ue.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pMVAST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pRedBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vBCFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vFCPST",void 0);var qe=class{static{s(this,"ICMS90")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;vICMSDeson;motDesICMS;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST};v([(0,f.IsString)(),g("design:type",String)],qe.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],qe.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],qe.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vBCFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vICMSDeson",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],qe.prototype,"motDesICMS",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],qe.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pMVAST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pRedBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vBCFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vFCPST",void 0);var qt=class{static{s(this,"ICMSPart")}orig;CST;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;pBCOp;UFST};v([(0,f.IsString)(),g("design:type",String)],qt.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],qt.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],qt.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],qt.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"pMVAST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"pRedBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"pBCOp",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],qt.prototype,"UFST",void 0);var Sr=class{static{s(this,"ICMSST")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};v([(0,f.IsString)(),g("design:type",String)],Sr.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],Sr.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sr.prototype,"vBCSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sr.prototype,"pST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sr.prototype,"vICMSSubstituto",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sr.prototype,"vICMSSTRet",void 0);var xs=class{static{s(this,"ICMSSN101")}orig;CSOSN;pCredSN;vCredICMSSN};v([(0,f.IsString)(),g("design:type",String)],xs.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],xs.prototype,"CSOSN",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xs.prototype,"pCredSN",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xs.prototype,"vCredICMSSN",void 0);var Hl=class{static{s(this,"ICMSSN102")}orig;CSOSN};v([(0,f.IsString)(),g("design:type",String)],Hl.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],Hl.prototype,"CSOSN",void 0);var rn=class{static{s(this,"ICMSSN201")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};v([(0,f.IsString)(),g("design:type",String)],rn.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],rn.prototype,"CSOSN",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],rn.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rn.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rn.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rn.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rn.prototype,"pCredSN",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rn.prototype,"vCredICMSSN",void 0);var Cr=class{static{s(this,"ICMSSN202")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST};v([(0,f.IsString)(),g("design:type",String)],Cr.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],Cr.prototype,"CSOSN",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],Cr.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Cr.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Cr.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Cr.prototype,"vICMSST",void 0);var ho=class{static{s(this,"ICMSSN500")}orig;CSOSN;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet;vBCFCPSTRet;pFCPSTRet;vFCPSTRet;pRedBCEfet;vBCEfet;pICMSEfet;vICMSEfet};v([(0,f.IsString)(),g("design:type",String)],ho.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],ho.prototype,"CSOSN",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vBCSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vICMSSubstituto",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vICMSSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vBCFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pRedBCEfet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vBCEfet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pICMSEfet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vICMSEfet",void 0);var vo=class{static{s(this,"ICMSSN900")}orig;CSOSN;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};v([(0,f.IsString)(),g("design:type",String)],vo.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],vo.prototype,"CSOSN",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],vo.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],vo.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"pCredSN",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"vCredICMSSN",void 0);var ve=class{static{s(this,"ICMS")}ICMS00;ICMS02;ICMS10;ICMS15;ICMS20;ICMS30;ICMS40;ICMS51;ICMS53;ICMS60;ICMS61;ICMS70;ICMS90;ICMSPart;ICMSST;ICMSSN101;ICMSSN102;ICMSSN201;ICMSSN202;ICMSSN500;ICMSSN900};v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>Ri),g("design:type",typeof IICMS00>"u"?Object:IICMS00)],ve.prototype,"ICMS00",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>da),g("design:type",typeof IICMS02>"u"?Object:IICMS02)],ve.prototype,"ICMS02",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>ft),g("design:type",typeof IICMS10>"u"?Object:IICMS10)],ve.prototype,"ICMS10",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>ni),g("design:type",typeof IICMS15>"u"?Object:IICMS15)],ve.prototype,"ICMS15",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>zo),g("design:type",typeof IICMS20>"u"?Object:IICMS20)],ve.prototype,"ICMS20",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>fo),g("design:type",typeof IICMS30>"u"?Object:IICMS30)],ve.prototype,"ICMS30",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>bs),g("design:type",typeof IICMS40>"u"?Object:IICMS40)],ve.prototype,"ICMS40",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>wi),g("design:type",typeof IICMS51>"u"?Object:IICMS51)],ve.prototype,"ICMS51",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>ri),g("design:type",typeof IICMS53>"u"?Object:IICMS53)],ve.prototype,"ICMS53",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>mo),g("design:type",typeof IICMS60>"u"?Object:IICMS60)],ve.prototype,"ICMS60",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>fa),g("design:type",typeof IICMS61>"u"?Object:IICMS61)],ve.prototype,"ICMS61",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>Ue),g("design:type",typeof IICMS70>"u"?Object:IICMS70)],ve.prototype,"ICMS70",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>qe),g("design:type",typeof IICMS90>"u"?Object:IICMS90)],ve.prototype,"ICMS90",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>qt),g("design:type",typeof IICMSPart>"u"?Object:IICMSPart)],ve.prototype,"ICMSPart",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>Sr),g("design:type",typeof IICMSST>"u"?Object:IICMSST)],ve.prototype,"ICMSST",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>xs),g("design:type",typeof IICMSSN101>"u"?Object:IICMSSN101)],ve.prototype,"ICMSSN101",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>Hl),g("design:type",typeof IICMSSN102>"u"?Object:IICMSSN102)],ve.prototype,"ICMSSN102",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>rn),g("design:type",typeof IICMSSN201>"u"?Object:IICMSSN201)],ve.prototype,"ICMSSN201",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>Cr),g("design:type",typeof IICMSSN202>"u"?Object:IICMSSN202)],ve.prototype,"ICMSSN202",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>ho),g("design:type",typeof IICMSSN500>"u"?Object:IICMSSN500)],ve.prototype,"ICMSSN500",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>vo),g("design:type",typeof IICMSSN900>"u"?Object:IICMSSN900)],ve.prototype,"ICMSSN900",void 0);ve=v([(0,S.Choice)({properties:["ICMS00","ICMS02","ICMS10","ICMS15","ICMS20","ICMS30","ICMS40","ICMS51","ICMS53","ICMS60","ICMS61","ICMS70","ICMS90","ICMSPart","ICMSST","ICMSSN101","ICMSSN102","ICMSSN201","ICMSSN202","ICMSSN500","ICMSSN900"]})],ve);var Oe=require("class-validator"),Kh=require("class-transformer");function ai(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ai,"_ts_decorate");function si(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(si,"_ts_metadata");var Nr=class{static{s(this,"IPITrib")}CST;vBC;pIPI;qUnid;vUnid;vIPI};ai([(0,Oe.IsString)(),si("design:type",String)],Nr.prototype,"CST",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.IsString)(),si("design:type",String)],Nr.prototype,"vBC",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.IsString)(),si("design:type",String)],Nr.prototype,"pIPI",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.IsString)(),si("design:type",String)],Nr.prototype,"qUnid",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.IsString)(),si("design:type",String)],Nr.prototype,"vUnid",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.IsString)(),si("design:type",String)],Nr.prototype,"vIPI",void 0);var Od=class{static{s(this,"IPINT")}CST};ai([(0,Oe.IsString)(),si("design:type",String)],Od.prototype,"CST",void 0);var Ii=class{static{s(this,"IPI")}CNPJProd;cSelo;qSelo;cEnq;IPITrib;IPINT};ai([(0,Oe.IsOptional)(),(0,Oe.IsString)(),si("design:type",String)],Ii.prototype,"CNPJProd",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.IsString)(),si("design:type",String)],Ii.prototype,"cSelo",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.IsString)(),si("design:type",String)],Ii.prototype,"qSelo",void 0);ai([(0,Oe.IsString)(),si("design:type",String)],Ii.prototype,"cEnq",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.ValidateNested)(),(0,Kh.Type)(()=>Nr),si("design:type",typeof IIPITrib>"u"?Object:IIPITrib)],Ii.prototype,"IPITrib",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.ValidateNested)(),(0,Kh.Type)(()=>Od),si("design:type",typeof IIPINT>"u"?Object:IIPINT)],Ii.prototype,"IPINT",void 0);var zn=require("class-validator");function Ad(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ad,"_ts_decorate");function Fd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Fd,"_ts_metadata");var Tn=class{static{s(this,"II")}vBC;vDespAdu;vII;vIOF};Ad([(0,zn.IsOptional)(),(0,zn.IsString)(),Fd("design:type",String)],Tn.prototype,"vBC",void 0);Ad([(0,zn.IsOptional)(),(0,zn.IsString)(),Fd("design:type",String)],Tn.prototype,"vDespAdu",void 0);Ad([(0,zn.IsOptional)(),(0,zn.IsString)(),Fd("design:type",String)],Tn.prototype,"vII",void 0);Ad([(0,zn.IsOptional)(),(0,zn.IsString)(),Fd("design:type",String)],Tn.prototype,"vIOF",void 0);var G=require("class-validator"),kl=require("class-transformer"),cn=require("nfets/core");function He(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(He,"_ts_decorate");function ke(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ke,"_ts_metadata");var Rr=class{static{s(this,"PISAliq")}CST;vBC;pPIS;vPIS};He([(0,G.IsString)(),ke("design:type",String)],Rr.prototype,"CST",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),(0,cn.TransformDecimal)({fixed:2}),ke("design:type",String)],Rr.prototype,"vBC",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),(0,cn.TransformDecimal)({fixed:4}),ke("design:type",String)],Rr.prototype,"pPIS",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),(0,cn.TransformDecimal)({fixed:2}),ke("design:type",String)],Rr.prototype,"vPIS",void 0);var wr=class{static{s(this,"PISQtde")}CST;qBCProd;vAliqProd;vPIS};He([(0,G.IsString)(),ke("design:type",String)],wr.prototype,"CST",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),ke("design:type",String)],wr.prototype,"qBCProd",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),ke("design:type",String)],wr.prototype,"vAliqProd",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),(0,cn.TransformDecimal)({fixed:2}),ke("design:type",String)],wr.prototype,"vPIS",void 0);var kc=class{static{s(this,"PISNT")}CST};He([(0,G.IsString)(),ke("design:type",String)],kc.prototype,"CST",void 0);var an=class{static{s(this,"PISOutr")}CST;vBC;pPIS;qBCProd;vAliqProd;vPIS};He([(0,G.IsString)(),ke("design:type",String)],an.prototype,"CST",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),(0,cn.TransformDecimal)({fixed:2}),ke("design:type",String)],an.prototype,"vBC",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),(0,cn.TransformDecimal)({fixed:4}),ke("design:type",String)],an.prototype,"pPIS",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),ke("design:type",String)],an.prototype,"qBCProd",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),ke("design:type",String)],an.prototype,"vAliqProd",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),(0,cn.TransformDecimal)({fixed:2}),ke("design:type",String)],an.prototype,"vPIS",void 0);var jn=class{static{s(this,"PIS")}PISAliq;PISQtde;PISNT;PISOutr};He([(0,G.IsOptional)(),(0,G.ValidateNested)(),(0,kl.Type)(()=>Rr),ke("design:type",typeof Rr>"u"?Object:Rr)],jn.prototype,"PISAliq",void 0);He([(0,G.IsOptional)(),(0,G.ValidateNested)(),(0,kl.Type)(()=>wr),ke("design:type",typeof wr>"u"?Object:wr)],jn.prototype,"PISQtde",void 0);He([(0,G.IsOptional)(),(0,G.ValidateNested)(),(0,kl.Type)(()=>kc),ke("design:type",typeof kc>"u"?Object:kc)],jn.prototype,"PISNT",void 0);He([(0,G.IsOptional)(),(0,G.ValidateNested)(),(0,kl.Type)(()=>an),ke("design:type",typeof an>"u"?Object:an)],jn.prototype,"PISOutr",void 0);var sn=class{static{s(this,"PISST")}vBC;pPIS;qBCProd;vAliqProd;vPIS};He([(0,G.IsOptional)(),(0,G.IsString)(),(0,cn.TransformDecimal)({fixed:2}),ke("design:type",String)],sn.prototype,"vBC",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),(0,cn.TransformDecimal)({fixed:4}),ke("design:type",String)],sn.prototype,"pPIS",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),ke("design:type",String)],sn.prototype,"qBCProd",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),ke("design:type",String)],sn.prototype,"vAliqProd",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),(0,cn.TransformDecimal)({fixed:2}),ke("design:type",String)],sn.prototype,"vPIS",void 0);var Q=require("class-validator"),Gl=require("class-transformer"),un=require("nfets/core");function Ge(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ge,"_ts_decorate");function Qe(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Qe,"_ts_metadata");var Ir=class{static{s(this,"COFINSAliq")}CST;vBC;pCOFINS;vCOFINS};Ge([(0,Q.IsString)(),Qe("design:type",String)],Ir.prototype,"CST",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,un.TransformDecimal)({fixed:2}),Qe("design:type",String)],Ir.prototype,"vBC",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,un.TransformDecimal)({fixed:4}),Qe("design:type",String)],Ir.prototype,"pCOFINS",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,un.TransformDecimal)({fixed:2}),Qe("design:type",String)],Ir.prototype,"vCOFINS",void 0);var Or=class{static{s(this,"COFINSQtde")}CST;qBCProd;vAliqProd;vCOFINS};Ge([(0,Q.IsString)(),Qe("design:type",String)],Or.prototype,"CST",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),Qe("design:type",String)],Or.prototype,"qBCProd",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),Qe("design:type",String)],Or.prototype,"vAliqProd",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,un.TransformDecimal)({fixed:2}),Qe("design:type",String)],Or.prototype,"vCOFINS",void 0);var Gc=class{static{s(this,"COFINSNT")}CST};Ge([(0,Q.IsString)(),Qe("design:type",String)],Gc.prototype,"CST",void 0);var pn=class{static{s(this,"COFINSOutr")}CST;vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};Ge([(0,Q.IsString)(),Qe("design:type",String)],pn.prototype,"CST",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,un.TransformDecimal)({fixed:2}),Qe("design:type",String)],pn.prototype,"vBC",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,un.TransformDecimal)({fixed:4}),Qe("design:type",String)],pn.prototype,"pCOFINS",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),Qe("design:type",String)],pn.prototype,"qBCProd",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),Qe("design:type",String)],pn.prototype,"vAliqProd",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,un.TransformDecimal)({fixed:2}),Qe("design:type",String)],pn.prototype,"vCOFINS",void 0);var Bn=class{static{s(this,"COFINS")}COFINSAliq;COFINSQtde;COFINSNT;COFINSOutr};Ge([(0,Q.IsOptional)(),(0,Q.ValidateNested)(),(0,Gl.Type)(()=>Ir),Qe("design:type",typeof Ir>"u"?Object:Ir)],Bn.prototype,"COFINSAliq",void 0);Ge([(0,Q.IsOptional)(),(0,Q.ValidateNested)(),(0,Gl.Type)(()=>Or),Qe("design:type",typeof Or>"u"?Object:Or)],Bn.prototype,"COFINSQtde",void 0);Ge([(0,Q.IsOptional)(),(0,Q.ValidateNested)(),(0,Gl.Type)(()=>Gc),Qe("design:type",typeof Gc>"u"?Object:Gc)],Bn.prototype,"COFINSNT",void 0);Ge([(0,Q.IsOptional)(),(0,Q.ValidateNested)(),(0,Gl.Type)(()=>pn),Qe("design:type",typeof pn>"u"?Object:pn)],Bn.prototype,"COFINSOutr",void 0);var ln=class{static{s(this,"COFINSST")}vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,un.TransformDecimal)({fixed:2}),Qe("design:type",String)],ln.prototype,"vBC",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,un.TransformDecimal)({fixed:4}),Qe("design:type",String)],ln.prototype,"pCOFINS",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),Qe("design:type",String)],ln.prototype,"qBCProd",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),Qe("design:type",String)],ln.prototype,"vAliqProd",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,un.TransformDecimal)({fixed:2}),Qe("design:type",String)],ln.prototype,"vCOFINS",void 0);var Ze=require("class-validator"),Ar=require("nfets/core");function go(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(go,"_ts_decorate");function yo(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(yo,"_ts_metadata");var at=class{static{s(this,"ISSQN")}vBC;vAliq;vISSQN;cMunFG;cListServ;vDeducao;vOutro;vDescIncond;vDescCond;vISSRet;indISS;indIncentivo;cServico;cMun;cPais;nProcesso};go([(0,Ze.IsOptional)(),(0,Ar.TransformDecimal)({fixed:2}),yo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],at.prototype,"vBC",void 0);go([(0,Ze.IsOptional)(),(0,Ar.TransformDecimal)({fixed:4}),yo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],at.prototype,"vAliq",void 0);go([(0,Ze.IsOptional)(),(0,Ar.TransformDecimal)({fixed:2}),yo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],at.prototype,"vISSQN",void 0);go([(0,Ze.IsOptional)(),(0,Ze.IsString)(),yo("design:type",String)],at.prototype,"cMunFG",void 0);go([(0,Ze.IsOptional)(),(0,Ze.IsString)(),yo("design:type",String)],at.prototype,"cListServ",void 0);go([(0,Ze.IsOptional)(),(0,Ar.TransformDecimal)({fixed:2}),yo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],at.prototype,"vDeducao",void 0);go([(0,Ze.IsOptional)(),(0,Ar.TransformDecimal)({fixed:2}),yo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],at.prototype,"vOutro",void 0);go([(0,Ze.IsOptional)(),(0,Ar.TransformDecimal)({fixed:2}),yo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],at.prototype,"vDescIncond",void 0);go([(0,Ze.IsOptional)(),(0,Ar.TransformDecimal)({fixed:2}),yo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],at.prototype,"vDescCond",void 0);go([(0,Ze.IsOptional)(),(0,Ar.TransformDecimal)({fixed:2}),yo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],at.prototype,"vISSRet",void 0);go([(0,Ze.IsString)(),yo("design:type",String)],at.prototype,"indISS",void 0);go([(0,Ze.IsString)(),yo("design:type",String)],at.prototype,"indIncentivo",void 0);go([(0,Ze.IsOptional)(),(0,Ze.IsString)(),yo("design:type",String)],at.prototype,"cServico",void 0);go([(0,Ze.IsOptional)(),(0,Ze.IsString)(),yo("design:type",String)],at.prototype,"cMun",void 0);go([(0,Ze.IsOptional)(),(0,Ze.IsString)(),yo("design:type",String)],at.prototype,"cPais",void 0);go([(0,Ze.IsOptional)(),(0,Ze.IsString)(),yo("design:type",String)],at.prototype,"nProcesso",void 0);var bt=require("class-validator");function Fr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Fr,"_ts_decorate");function Dr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Dr,"_ts_metadata");var jo=class{static{s(this,"ICMSUFDest")}vBCUFDest;vBCFCPUFDest;pFCPUFDest;pICMSUFDest;pICMSInter;pICMSInterPart;vFCPUFDest;vICMSUFDest;vICMSUFRemet};Fr([(0,bt.IsOptional)(),(0,bt.IsString)(),Dr("design:type",String)],jo.prototype,"vBCUFDest",void 0);Fr([(0,bt.IsOptional)(),(0,bt.IsString)(),Dr("design:type",String)],jo.prototype,"vBCFCPUFDest",void 0);Fr([(0,bt.IsOptional)(),(0,bt.IsString)(),Dr("design:type",String)],jo.prototype,"pFCPUFDest",void 0);Fr([(0,bt.IsOptional)(),(0,bt.IsString)(),Dr("design:type",String)],jo.prototype,"pICMSUFDest",void 0);Fr([(0,bt.IsOptional)(),(0,bt.IsString)(),Dr("design:type",String)],jo.prototype,"pICMSInter",void 0);Fr([(0,bt.IsOptional)(),(0,bt.IsString)(),Dr("design:type",String)],jo.prototype,"pICMSInterPart",void 0);Fr([(0,bt.IsOptional)(),(0,bt.IsString)(),Dr("design:type",String)],jo.prototype,"vFCPUFDest",void 0);Fr([(0,bt.IsOptional)(),(0,bt.IsString)(),Dr("design:type",String)],jo.prototype,"vICMSUFDest",void 0);Fr([(0,bt.IsOptional)(),(0,bt.IsString)(),Dr("design:type",String)],jo.prototype,"vICMSUFRemet",void 0);var et=require("class-validator");var Qc=require("class-validator");function MS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(MS,"_ts_decorate");function LS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(LS,"_ts_metadata");var ma=class{static{s(this,"TransferenciaCredito")}vIBS;vCBS};MS([(0,Qc.IsOptional)(),(0,Qc.IsString)(),LS("design:type",String)],ma.prototype,"vIBS",void 0);MS([(0,Qc.IsOptional)(),(0,Qc.IsString)(),LS("design:type",String)],ma.prototype,"vCBS",void 0);var Dd=require("class-validator");function $h(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s($h,"_ts_decorate");function ev(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ev,"_ts_metadata");var Er=class{static{s(this,"CredPresIBSZFM")}tpCredPresIBSZFM;vCredPresIBSZFM;competApur};$h([(0,Dd.IsString)(),ev("design:type",String)],Er.prototype,"tpCredPresIBSZFM",void 0);$h([(0,Dd.IsString)(),ev("design:type",String)],Er.prototype,"vCredPresIBSZFM",void 0);$h([(0,Dd.IsString)(),ev("design:type",String)],Er.prototype,"competApur",void 0);var Bo=require("class-validator"),tv=require("class-transformer");function Ln(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ln,"_ts_decorate");function Vn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Vn,"_ts_metadata");var ha=class{static{s(this,"IBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};Ln([(0,Bo.IsString)(),Vn("design:type",String)],ha.prototype,"vCredPresCondSus",void 0);Ln([(0,Bo.IsString)(),Vn("design:type",String)],ha.prototype,"pCredPres",void 0);Ln([(0,Bo.IsString)(),Vn("design:type",String)],ha.prototype,"vCredPres",void 0);var va=class{static{s(this,"CBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};Ln([(0,Bo.IsString)(),Vn("design:type",String)],va.prototype,"vCredPresCondSus",void 0);Ln([(0,Bo.IsString)(),Vn("design:type",String)],va.prototype,"pCredPres",void 0);Ln([(0,Bo.IsString)(),Vn("design:type",String)],va.prototype,"vCredPres",void 0);var Mn=class{static{s(this,"CredPresOper")}gIBSCredPres;gCBSCredPres;vBCCredPres;cCredPres};Ln([(0,Bo.IsOptional)(),(0,Bo.ValidateNested)(),(0,tv.Type)(()=>ha),Vn("design:type",typeof ha>"u"?Object:ha)],Mn.prototype,"gIBSCredPres",void 0);Ln([(0,Bo.IsOptional)(),(0,Bo.ValidateNested)(),(0,tv.Type)(()=>va),Vn("design:type",typeof va>"u"?Object:va)],Mn.prototype,"gCBSCredPres",void 0);Ln([(0,Bo.IsString)(),Vn("design:type",String)],Mn.prototype,"vBCCredPres",void 0);Ln([(0,Bo.IsString)(),Vn("design:type",String)],Mn.prototype,"cCredPres",void 0);var ov=require("class-validator");function VS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(VS,"_ts_decorate");function _S(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(_S,"_ts_metadata");var ga=class{static{s(this,"EstornoCred")}vIBSEstCred;vCBSEstCred};VS([(0,ov.IsString)(),_S("design:type",String)],ga.prototype,"vIBSEstCred",void 0);VS([(0,ov.IsString)(),_S("design:type",String)],ga.prototype,"vCBSEstCred",void 0);var Ed=require("class-validator");function iv(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(iv,"_ts_decorate");function nv(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(nv,"_ts_metadata");var Pr=class{static{s(this,"AjusteCompet")}competApur;vCBS;vIBS};iv([(0,Ed.IsString)(),nv("design:type",String)],Pr.prototype,"competApur",void 0);iv([(0,Ed.IsString)(),nv("design:type",String)],Pr.prototype,"vCBS",void 0);iv([(0,Ed.IsString)(),nv("design:type",String)],Pr.prototype,"vIBS",void 0);var Hn=require("class-validator"),st=require("nfets/core"),Ql=require("class-transformer");function De(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(De,"_ts_decorate");function Ee(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ee,"_ts_metadata");var _n=class{static{s(this,"MonoPadrao")}qBCMono;adRemIBS;adRemCBS;vIBSMono;vCBSMono};De([(0,st.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_n.prototype,"qBCMono",void 0);De([(0,st.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_n.prototype,"adRemIBS",void 0);De([(0,st.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_n.prototype,"adRemCBS",void 0);De([(0,st.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_n.prototype,"vIBSMono",void 0);De([(0,st.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_n.prototype,"vCBSMono",void 0);var Un=class{static{s(this,"MonoReten")}qBCMonoReten;adRemIBSReten;vIBSMonoReten;adRemCBSReten;vCBSMonoReten};De([(0,st.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Un.prototype,"qBCMonoReten",void 0);De([(0,st.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Un.prototype,"adRemIBSReten",void 0);De([(0,st.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Un.prototype,"vIBSMonoReten",void 0);De([(0,st.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Un.prototype,"adRemCBSReten",void 0);De([(0,st.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Un.prototype,"vCBSMonoReten",void 0);var qn=class{static{s(this,"MonoRet")}qBCMonoRet;adRemIBSRet;vIBSMonoRet;adRemCBSRet;vCBSMonoRet};De([(0,st.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qn.prototype,"qBCMonoRet",void 0);De([(0,st.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qn.prototype,"adRemIBSRet",void 0);De([(0,st.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qn.prototype,"vIBSMonoRet",void 0);De([(0,st.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qn.prototype,"adRemCBSRet",void 0);De([(0,st.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qn.prototype,"vCBSMonoRet",void 0);var Tr=class{static{s(this,"MonoDif")}pDifIBS;vIBSMonoDif;pDifCBS;vCBSMonoDif};De([(0,st.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tr.prototype,"pDifIBS",void 0);De([(0,st.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tr.prototype,"vIBSMonoDif",void 0);De([(0,st.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tr.prototype,"pDifCBS",void 0);De([(0,st.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tr.prototype,"vCBSMonoDif",void 0);var Oi=class{static{s(this,"IBSCBSMono")}gMonoPadrao;gMonoReten;gMonoRet;gMonoDif;vTotIBSMonoItem;vTotCBSMonoItem};De([(0,Hn.IsOptional)(),(0,Hn.ValidateNested)(),(0,Ql.Type)(()=>_n),Ee("design:type",typeof _n>"u"?Object:_n)],Oi.prototype,"gMonoPadrao",void 0);De([(0,Hn.IsOptional)(),(0,Hn.ValidateNested)(),(0,Ql.Type)(()=>Un),Ee("design:type",typeof Un>"u"?Object:Un)],Oi.prototype,"gMonoReten",void 0);De([(0,Hn.IsOptional)(),(0,Hn.ValidateNested)(),(0,Ql.Type)(()=>qn),Ee("design:type",typeof qn>"u"?Object:qn)],Oi.prototype,"gMonoRet",void 0);De([(0,Hn.IsOptional)(),(0,Hn.ValidateNested)(),(0,Ql.Type)(()=>Tr),Ee("design:type",typeof Tr>"u"?Object:Tr)],Oi.prototype,"gMonoDif",void 0);De([(0,st.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Oi.prototype,"vTotIBSMonoItem",void 0);De([(0,st.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Oi.prototype,"vTotCBSMonoItem",void 0);var Di=require("class-validator"),fv=require("nfets/core");var Ss=require("nfets/core"),rv=require("class-validator");function ya(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ya,"_ts_decorate");function ba(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ba,"_ts_metadata");var Go=class{static{s(this,"TribRegular")}CSTReg;cClassTribReg;pAliqEfetRegIBSUF;vTribRegIBSUF;pAliqEfetRegIBSMun;vTribRegIBSMun;pAliqEfetRegCBS;vTribRegCBS};ya([(0,rv.IsString)(),ba("design:type",String)],Go.prototype,"CSTReg",void 0);ya([(0,rv.IsString)(),ba("design:type",String)],Go.prototype,"cClassTribReg",void 0);ya([(0,Ss.TransformDecimal)({fixed:4}),ba("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Go.prototype,"pAliqEfetRegIBSUF",void 0);ya([(0,Ss.TransformDecimal)({fixed:2}),ba("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Go.prototype,"vTribRegIBSUF",void 0);ya([(0,Ss.TransformDecimal)({fixed:4}),ba("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Go.prototype,"pAliqEfetRegIBSMun",void 0);ya([(0,Ss.TransformDecimal)({fixed:2}),ba("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Go.prototype,"vTribRegIBSMun",void 0);ya([(0,Ss.TransformDecimal)({fixed:4}),ba("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Go.prototype,"pAliqEfetRegCBS",void 0);ya([(0,Ss.TransformDecimal)({fixed:2}),ba("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Go.prototype,"vTribRegCBS",void 0);var Cs=require("nfets/core");function Zc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Zc,"_ts_decorate");function Yc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Yc,"_ts_metadata");var Ai=class{static{s(this,"TribCompraGov")}pAliqIBSUF;vTribIBSUF;pAliqIBSMun;vTribIBSMun;pAliqCBS;vTribCBS};Zc([(0,Cs.TransformDecimal)({fixed:4}),Yc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"pAliqIBSUF",void 0);Zc([(0,Cs.TransformDecimal)({fixed:2}),Yc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"vTribIBSUF",void 0);Zc([(0,Cs.TransformDecimal)({fixed:4}),Yc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"pAliqIBSMun",void 0);Zc([(0,Cs.TransformDecimal)({fixed:2}),Yc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"vTribIBSMun",void 0);Zc([(0,Cs.TransformDecimal)({fixed:4}),Yc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"pAliqCBS",void 0);Zc([(0,Cs.TransformDecimal)({fixed:2}),Yc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"vTribCBS",void 0);var Xc=require("class-transformer");var xa=require("class-validator"),pv=require("nfets/core"),Pd=require("class-transformer");var av=require("nfets/core"),HS=require("class-validator");function US(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(US,"_ts_decorate");function qS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(qS,"_ts_metadata");var bo=class{static{s(this,"DevTrib")}pDevTrib;vDevTrib};US([(0,HS.IsOptional)(),(0,av.TransformDecimal)({fixed:4}),qS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bo.prototype,"pDevTrib",void 0);US([(0,av.TransformDecimal)({fixed:2}),qS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bo.prototype,"vDevTrib",void 0);var sv=require("nfets/core");function kS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(kS,"_ts_decorate");function GS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(GS,"_ts_metadata");var xo=class{static{s(this,"Dif")}pDif;vDif};kS([(0,sv.TransformDecimal)({fixed:4}),GS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xo.prototype,"pDif",void 0);kS([(0,sv.TransformDecimal)({fixed:2}),GS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xo.prototype,"vDif",void 0);var cv=require("nfets/core");function QS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(QS,"_ts_decorate");function ZS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ZS,"_ts_metadata");var So=class{static{s(this,"Red")}pRedAliq;pAliqEfet};QS([(0,cv.TransformDecimal)({fixed:4}),ZS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],So.prototype,"pRedAliq",void 0);QS([(0,cv.TransformDecimal)({fixed:4}),ZS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],So.prototype,"pAliqEfet",void 0);function Zl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Zl,"_ts_decorate");function Yl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Yl,"_ts_metadata");var dn=class{static{s(this,"IBSMun")}pIBSMun;gDif;gDevTrib;gRed;vIBSMun};Zl([(0,pv.TransformDecimal)({fixed:4}),Yl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dn.prototype,"pIBSMun",void 0);Zl([(0,xa.IsOptional)(),(0,xa.ValidateNested)(),(0,Pd.Type)(()=>xo),Yl("design:type",typeof xo>"u"?Object:xo)],dn.prototype,"gDif",void 0);Zl([(0,xa.IsOptional)(),(0,xa.ValidateNested)(),(0,Pd.Type)(()=>bo),Yl("design:type",typeof bo>"u"?Object:bo)],dn.prototype,"gDevTrib",void 0);Zl([(0,xa.IsOptional)(),(0,xa.ValidateNested)(),(0,Pd.Type)(()=>So),Yl("design:type",typeof So>"u"?Object:So)],dn.prototype,"gRed",void 0);Zl([(0,pv.TransformDecimal)({fixed:2}),Yl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dn.prototype,"vIBSMun",void 0);var Sa=require("class-validator"),lv=require("nfets/core"),Td=require("class-transformer");function Wl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Wl,"_ts_decorate");function Jl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Jl,"_ts_metadata");var fn=class{static{s(this,"IBSUF")}pIBSUF;gDif;gDevTrib;gRed;vIBSUF};Wl([(0,lv.TransformDecimal)({fixed:4}),Jl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fn.prototype,"pIBSUF",void 0);Wl([(0,Sa.IsOptional)(),(0,Sa.ValidateNested)(),(0,Td.Type)(()=>xo),Jl("design:type",typeof xo>"u"?Object:xo)],fn.prototype,"gDif",void 0);Wl([(0,Sa.IsOptional)(),(0,Sa.ValidateNested)(),(0,Td.Type)(()=>bo),Jl("design:type",typeof bo>"u"?Object:bo)],fn.prototype,"gDevTrib",void 0);Wl([(0,Sa.IsOptional)(),(0,Sa.ValidateNested)(),(0,Td.Type)(()=>So),Jl("design:type",typeof So>"u"?Object:So)],fn.prototype,"gRed",void 0);Wl([(0,lv.TransformDecimal)({fixed:2}),Jl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fn.prototype,"vIBSUF",void 0);var Gn=require("class-validator"),dv=require("nfets/core"),Kl=require("class-transformer");var uv=require("nfets/core"),Xl=require("class-validator");function zd(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(zd,"_ts_decorate");function jd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(jd,"_ts_metadata");var kn=class{static{s(this,"ALCZFMCBS")}tpALCZFMCBS;nProcSuframa;pAliqEfetRegCBS;vTribRegCBS};zd([(0,Xl.IsString)(),jd("design:type",String)],kn.prototype,"tpALCZFMCBS",void 0);zd([(0,Xl.IsOptional)(),(0,Xl.IsString)(),jd("design:type",String)],kn.prototype,"nProcSuframa",void 0);zd([(0,uv.TransformDecimal)({fixed:4}),jd("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],kn.prototype,"pAliqEfetRegCBS",void 0);zd([(0,uv.TransformDecimal)({fixed:2}),jd("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],kn.prototype,"vTribRegCBS",void 0);function Wc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Wc,"_ts_decorate");function Jc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Jc,"_ts_metadata");var Fi=class{static{s(this,"CBS")}pCBS;gDif;gDevTrib;gRed;gALCZFMCBS;vCBS};Wc([(0,dv.TransformDecimal)({fixed:4}),Jc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fi.prototype,"pCBS",void 0);Wc([(0,Gn.IsOptional)(),(0,Gn.ValidateNested)(),(0,Kl.Type)(()=>xo),Jc("design:type",typeof xo>"u"?Object:xo)],Fi.prototype,"gDif",void 0);Wc([(0,Gn.IsOptional)(),(0,Gn.ValidateNested)(),(0,Kl.Type)(()=>bo),Jc("design:type",typeof bo>"u"?Object:bo)],Fi.prototype,"gDevTrib",void 0);Wc([(0,Gn.IsOptional)(),(0,Gn.ValidateNested)(),(0,Kl.Type)(()=>So),Jc("design:type",typeof So>"u"?Object:So)],Fi.prototype,"gRed",void 0);Wc([(0,Gn.IsOptional)(),(0,Gn.ValidateNested)(),(0,Kl.Type)(()=>kn),Jc("design:type",typeof kn>"u"?Object:kn)],Fi.prototype,"gALCZFMCBS",void 0);Wc([(0,dv.TransformDecimal)({fixed:2}),Jc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fi.prototype,"vCBS",void 0);function Ns(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ns,"_ts_decorate");function Rs(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Rs,"_ts_metadata");var ci=class{static{s(this,"GIBSCBS")}vBC;gIBSUF;gIBSMun;vIBS;gCBS;gTribRegular;gTribCompraGov};Ns([(0,fv.TransformDecimal)({fixed:2}),Rs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ci.prototype,"vBC",void 0);Ns([(0,Di.IsOptional)(),(0,Di.ValidateNested)(),(0,Xc.Type)(()=>fn),Rs("design:type",typeof fn>"u"?Object:fn)],ci.prototype,"gIBSUF",void 0);Ns([(0,Di.IsOptional)(),(0,Di.ValidateNested)(),(0,Xc.Type)(()=>dn),Rs("design:type",typeof dn>"u"?Object:dn)],ci.prototype,"gIBSMun",void 0);Ns([(0,fv.TransformDecimal)({fixed:2}),Rs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ci.prototype,"vIBS",void 0);Ns([(0,Di.IsOptional)(),(0,Di.ValidateNested)(),(0,Xc.Type)(()=>Fi),Rs("design:type",typeof Fi>"u"?Object:Fi)],ci.prototype,"gCBS",void 0);Ns([(0,Di.IsOptional)(),(0,Di.ValidateNested)(),(0,Xc.Type)(()=>Go),Rs("design:type",typeof Go>"u"?Object:Go)],ci.prototype,"gTribRegular",void 0);Ns([(0,Di.IsOptional)(),(0,Di.ValidateNested)(),(0,Xc.Type)(()=>Ai),Rs("design:type",typeof Ai>"u"?Object:Ai)],ci.prototype,"gTribCompraGov",void 0);var Ca=require("class-transformer");function Qn(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Qn,"_ts_decorate");function Zn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Zn,"_ts_metadata");var Co=class{static{s(this,"IBSCBS")}CST;cClassTrib;indDoacao;gTransfCred;gCredPresIBSZFM;gCredPresOper;gAjusteCompet;gEstornoCred;gIBSCBSMono;gIBSCBS};Qn([(0,et.IsOptional)(),(0,et.IsString)(),Zn("design:type",String)],Co.prototype,"CST",void 0);Qn([(0,et.IsOptional)(),(0,et.IsString)(),Zn("design:type",String)],Co.prototype,"cClassTrib",void 0);Qn([(0,et.IsOptional)(),(0,et.IsString)(),Zn("design:type",String)],Co.prototype,"indDoacao",void 0);Qn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,Ca.Type)(()=>ma),Zn("design:type",typeof ma>"u"?Object:ma)],Co.prototype,"gTransfCred",void 0);Qn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,Ca.Type)(()=>Er),Zn("design:type",typeof Er>"u"?Object:Er)],Co.prototype,"gCredPresIBSZFM",void 0);Qn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,Ca.Type)(()=>Mn),Zn("design:type",typeof Mn>"u"?Object:Mn)],Co.prototype,"gCredPresOper",void 0);Qn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,Ca.Type)(()=>Pr),Zn("design:type",typeof Pr>"u"?Object:Pr)],Co.prototype,"gAjusteCompet",void 0);Qn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,Ca.Type)(()=>ga),Zn("design:type",typeof ga>"u"?Object:ga)],Co.prototype,"gEstornoCred",void 0);Qn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,Ca.Type)(()=>Oi),Zn("design:type",typeof Oi>"u"?Object:Oi)],Co.prototype,"gIBSCBSMono",void 0);Qn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,Ca.Type)(()=>ci),Zn("design:type",typeof ci>"u"?Object:ci)],Co.prototype,"gIBSCBS",void 0);var Kc=require("nfets/core"),mn=require("class-validator");function Na(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Na,"_ts_decorate");function Ra(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ra,"_ts_metadata");var Qo=class{static{s(this,"IS")}CSTIS;cClassTribIS;vBCIS;pIS;adRemIS;uTrib;qTrib;vIS};Na([(0,mn.IsString)(),Ra("design:type",String)],Qo.prototype,"CSTIS",void 0);Na([(0,mn.IsString)(),Ra("design:type",String)],Qo.prototype,"cClassTribIS",void 0);Na([(0,mn.IsOptional)(),(0,Kc.TransformDecimal)({fixed:2}),Ra("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qo.prototype,"vBCIS",void 0);Na([(0,mn.IsOptional)(),(0,Kc.TransformDecimal)({fixed:4}),Ra("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qo.prototype,"pIS",void 0);Na([(0,mn.IsOptional)(),(0,Kc.TransformDecimal)({fixed:4}),Ra("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qo.prototype,"adRemIS",void 0);Na([(0,mn.IsOptional)(),(0,mn.IsString)(),Ra("design:type",String)],Qo.prototype,"uTrib",void 0);Na([(0,mn.IsOptional)(),(0,Kc.TransformDecimal)({fixed:4}),Ra("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qo.prototype,"qTrib",void 0);Na([(0,mn.IsOptional)(),(0,Kc.TransformDecimal)({fixed:2}),Ra("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qo.prototype,"vIS",void 0);var Bd=require("nfets/core");function pi(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(pi,"_ts_decorate");function Ei(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ei,"_ts_metadata");var xt=class{static{s(this,"Imposto")}vTotTrib;ICMS;IPI;ISSQN;II;PIS;PISST;COFINS;COFINSST;ICMSUFDest;IS;IBSCBS};pi([(0,Pe.IsOptional)(),(0,Bd.TransformDecimal)({fixed:2}),Ei("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xt.prototype,"vTotTrib",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>ve),Ei("design:type",typeof IICMS>"u"?Object:IICMS)],xt.prototype,"ICMS",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>Ii),Ei("design:type",typeof IIPI>"u"?Object:IIPI)],xt.prototype,"IPI",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>at),Ei("design:type",typeof IISSQN>"u"?Object:IISSQN)],xt.prototype,"ISSQN",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>Tn),Ei("design:type",typeof III>"u"?Object:III)],xt.prototype,"II",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>jn),Ei("design:type",typeof IPIS>"u"?Object:IPIS)],xt.prototype,"PIS",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>sn),Ei("design:type",typeof IPISST>"u"?Object:IPISST)],xt.prototype,"PISST",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>Bn),Ei("design:type",typeof ICOFINS>"u"?Object:ICOFINS)],xt.prototype,"COFINS",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>ln),Ei("design:type",typeof ICOFINSST>"u"?Object:ICOFINSST)],xt.prototype,"COFINSST",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>jo),Ei("design:type",typeof IICMSUFDest>"u"?Object:IICMSUFDest)],xt.prototype,"ICMSUFDest",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>Qo),Ei("design:type",typeof IIS>"u"?Object:IIS)],xt.prototype,"IS",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>Co),Ei("design:type",typeof IIBSCBS>"u"?Object:IIBSCBS)],xt.prototype,"IBSCBS",void 0);xt=pi([(0,Bd.Choice)({properties:["ICMS","ISSQN"]})],xt);var ws=require("class-validator"),YS=require("class-transformer");function mv(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(mv,"_ts_decorate");function hv(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(hv,"_ts_metadata");var Md=class{static{s(this,"IpiDevol")}vIPIDevol};mv([(0,ws.IsString)(),hv("design:type",String)],Md.prototype,"vIPIDevol",void 0);var $c=class{static{s(this,"Devol")}pDevol;IPI};mv([(0,ws.IsString)(),hv("design:type",String)],$c.prototype,"pDevol",void 0);mv([(0,ws.IsOptional)(),(0,ws.ValidateNested)(),(0,YS.Type)(()=>Md),hv("design:type",typeof IIpiDevol>"u"?Object:IIpiDevol)],$c.prototype,"IPI",void 0);var zr=require("class-validator"),vv=require("class-transformer");function Ld(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ld,"_ts_decorate");function Vd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Vd,"_ts_metadata");var ep=class{static{s(this,"Observation")}xCampo;xTexto};Ld([(0,zr.IsString)(),Vd("design:type",String)],ep.prototype,"xCampo",void 0);Ld([(0,zr.IsString)(),Vd("design:type",String)],ep.prototype,"xTexto",void 0);var tp=class{static{s(this,"ObsItem")}obsCont;obsFisco};Ld([(0,zr.IsOptional)(),(0,zr.ValidateNested)(),(0,vv.Type)(()=>ep),Vd("design:type",typeof IObservation>"u"?Object:IObservation)],tp.prototype,"obsCont",void 0);Ld([(0,zr.IsOptional)(),(0,zr.ValidateNested)(),(0,vv.Type)(()=>ep),Vd("design:type",typeof IObservation>"u"?Object:IObservation)],tp.prototype,"obsFisco",void 0);var $l=require("class-validator");function WS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(WS,"_ts_decorate");function JS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(JS,"_ts_metadata");var wa=class{static{s(this,"DFeReferenciado")}chaveAcesso;nItem};WS([(0,$l.IsString)(),JS("design:type",String)],wa.prototype,"chaveAcesso",void 0);WS([(0,$l.IsOptional)(),(0,$l.IsString)(),JS("design:type",String)],wa.prototype,"nItem",void 0);var XS=require("nfets/core");function jr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(jr,"_ts_decorate");function Br(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Br,"_ts_metadata");var op=class{static{s(this,"DetAttributes")}nItem};jr([(0,Ot.IsString)(),Br("design:type",String)],op.prototype,"nItem",void 0);var Ti=class{static{s(this,"Det")}prod;imposto;impostoDevol;infAdProd;obsItem;vItem;DFeReferenciado};jr([(0,Ot.IsObject)(),(0,Ot.ValidateNested)(),(0,Is.Type)(()=>op),Br("design:type",typeof IDetAttributes>"u"?Object:IDetAttributes)],Ti.prototype,"$",void 0);jr([(0,Ot.ValidateNested)(),(0,Is.Type)(()=>q),Br("design:type",typeof IProd>"u"?Object:IProd)],Ti.prototype,"prod",void 0);jr([(0,Ot.IsOptional)(),(0,Ot.ValidateNested)(),(0,Is.Type)(()=>xt),Br("design:type",typeof IImposto>"u"?Object:IImposto)],Ti.prototype,"imposto",void 0);jr([(0,Ot.IsOptional)(),(0,Ot.ValidateNested)(),(0,Is.Type)(()=>$c),Br("design:type",typeof IDevol>"u"?Object:IDevol)],Ti.prototype,"impostoDevol",void 0);jr([(0,Ot.IsOptional)(),(0,Ot.IsString)(),Br("design:type",String)],Ti.prototype,"infAdProd",void 0);jr([(0,Ot.IsOptional)(),(0,Ot.ValidateNested)(),(0,Is.Type)(()=>tp),Br("design:type",typeof IObsItem>"u"?Object:IObsItem)],Ti.prototype,"obsItem",void 0);jr([(0,Ot.IsOptional)(),(0,XS.TransformDecimal)({fixed:2}),Br("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ti.prototype,"vItem",void 0);jr([(0,Ot.IsOptional)(),(0,Ot.ValidateNested)(),(0,Is.Type)(()=>wa),Br("design:type",typeof IDFeReferenciado>"u"?Object:IDFeReferenciado)],Ti.prototype,"DFeReferenciado",void 0);var oo=require("class-validator"),_d=require("nfets/core");function hn(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(hn,"_ts_decorate");function vn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(vn,"_ts_metadata");var to=class{static{s(this,"Avulsa")}CNPJ;xOrgao;matr;xAgente;fone;UF;nDAR;dEmi;vDAR;repEmi;dPag};hn([(0,oo.IsString)(),vn("design:type",String)],to.prototype,"CNPJ",void 0);hn([(0,oo.IsString)(),vn("design:type",String)],to.prototype,"xOrgao",void 0);hn([(0,oo.IsString)(),vn("design:type",String)],to.prototype,"matr",void 0);hn([(0,oo.IsString)(),vn("design:type",String)],to.prototype,"xAgente",void 0);hn([(0,oo.IsOptional)(),(0,oo.IsString)(),vn("design:type",String)],to.prototype,"fone",void 0);hn([(0,oo.IsString)(),vn("design:type",String)],to.prototype,"UF",void 0);hn([(0,oo.IsOptional)(),(0,oo.IsString)(),vn("design:type",String)],to.prototype,"nDAR",void 0);hn([(0,oo.IsOptional)(),(0,_d.TransformDateString)({format:"YYYY-MM-DD"}),vn("design:type",typeof Date>"u"?Object:Date)],to.prototype,"dEmi",void 0);hn([(0,oo.IsOptional)(),(0,_d.TransformDecimal)({fixed:2}),vn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],to.prototype,"vDAR",void 0);hn([(0,oo.IsString)(),vn("design:type",String)],to.prototype,"repEmi",void 0);hn([(0,oo.IsOptional)(),(0,oo.IsDate)(),vn("design:type",typeof Date>"u"?Object:Date)],to.prototype,"dPag",void 0);var KS=require("class-validator");function ND(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ND,"_ts_decorate");function RD(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(RD,"_ts_metadata");var Os=class{static{s(this,"InfSolicNFF")}xSolic};ND([(0,KS.IsString)(),RD("design:type",String)],Os.prototype,"xSolic",void 0);var Ht=require("class-validator"),gv=require("class-transformer"),$S=require("nfets/core");function Mr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Mr,"_ts_decorate");function Ia(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ia,"_ts_metadata");var eu=class{static{s(this,"Defensivo")}nReceituario;CPFRespTec};Mr([(0,Ht.IsString)(),Ia("design:type",String)],eu.prototype,"nReceituario",void 0);Mr([(0,Ht.IsString)(),Ia("design:type",String)],eu.prototype,"CPFRespTec",void 0);var As=class{static{s(this,"GuiaTransito")}tpGuia;UFGuia;serieGuia;nGuia};Mr([(0,Ht.IsString)(),Ia("design:type",String)],As.prototype,"tpGuia",void 0);Mr([(0,Ht.IsString)(),Ia("design:type",String)],As.prototype,"UFGuia",void 0);Mr([(0,Ht.IsOptional)(),(0,Ht.IsString)(),Ia("design:type",String)],As.prototype,"serieGuia",void 0);Mr([(0,Ht.IsString)(),Ia("design:type",String)],As.prototype,"nGuia",void 0);var Yn=class{static{s(this,"Agropecuario")}defensivo;guiaTransito};Mr([(0,Ht.IsOptional)(),(0,Ht.IsArray)(),(0,Ht.ArrayMaxSize)(20),(0,Ht.ValidateNested)({each:!0}),(0,gv.Type)(()=>eu),Ia("design:type",Array)],Yn.prototype,"defensivo",void 0);Mr([(0,Ht.IsOptional)(),(0,Ht.ValidateNested)(),(0,gv.Type)(()=>As),Ia("design:type",typeof IGuiaTransito>"u"?Object:IGuiaTransito)],Yn.prototype,"guiaTransito",void 0);Yn=Mr([(0,$S.Choice)({properties:["defensivo","guiaTransito"]})],Yn);var Aa=require("class-validator"),yv=require("class-transformer");function ip(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ip,"_ts_decorate");function np(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(np,"_ts_metadata");var tu=class{static{s(this,"RSAKeyValue")}Modulus;Exponent};ip([(0,Aa.IsString)(),np("design:type",String)],tu.prototype,"Modulus",void 0);ip([(0,Aa.IsString)(),np("design:type",String)],tu.prototype,"Exponent",void 0);var ou=class{static{s(this,"PAASignature")}SignatureValue;RSAKeyValue};ip([(0,Aa.IsString)(),np("design:type",String)],ou.prototype,"SignatureValue",void 0);ip([(0,Aa.ValidateNested)(),(0,yv.Type)(()=>tu),np("design:type",typeof IRSAKeyValue>"u"?Object:IRSAKeyValue)],ou.prototype,"RSAKeyValue",void 0);var Oa=class{static{s(this,"InfPAA")}CNPJPAA;PAASignature};ip([(0,Aa.IsString)(),np("design:type",String)],Oa.prototype,"CNPJPAA",void 0);ip([(0,Aa.ValidateNested)(),(0,yv.Type)(()=>ou),np("design:type",typeof IPAASignature>"u"?Object:IPAASignature)],Oa.prototype,"PAASignature",void 0);function Ye(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ye,"_ts_decorate");function We(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(We,"_ts_metadata");var Fs=class{static{s(this,"InfNFeAttributes")}Id;versao};Ye([(0,_.IsOptional)(),(0,_.IsString)(),We("design:type",String)],Fs.prototype,"Id",void 0);Ye([(0,_.IsOptional)(),(0,_.IsString)(),We("design:type",String)],Fs.prototype,"versao",void 0);var Ne=class{static{s(this,"InfNFe")}ide;emit;avulsa;dest;retirada;entrega;autXML;det;total;transp;cobr;pag;infIntermed;infAdic;exporta;compra;cana;infRespTec;infSolicNFF;agropecuario;infPAA};Ye([(0,_.IsObject)(),(0,_.IsNotEmptyObject)(),(0,tt.Type)(()=>Fs),(0,_.ValidateNested)(),We("design:type",typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes)],Ne.prototype,"$",void 0);Ye([(0,_.IsObject)(),(0,_.IsNotEmptyObject)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>$),We("design:type",typeof IIde>"u"?Object:IIde)],Ne.prototype,"ide",void 0);Ye([(0,_.IsObject)(),(0,_.IsNotEmptyObject)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>wt),We("design:type",typeof IEmit>"u"?Object:IEmit)],Ne.prototype,"emit",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>to),We("design:type",typeof IAvulsa>"u"?Object:IAvulsa)],Ne.prototype,"avulsa",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Vt),We("design:type",typeof IDest>"u"?Object:IDest)],Ne.prototype,"dest",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Ie),We("design:type",typeof ILocal>"u"?Object:ILocal)],Ne.prototype,"retirada",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Ie),We("design:type",typeof ILocal>"u"?Object:ILocal)],Ne.prototype,"entrega",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)({each:!0}),(0,_.ArrayMaxSize)(10),(0,tt.Type)(()=>In),We("design:type",Array)],Ne.prototype,"autXML",void 0);Ye([(0,_.ValidateNested)({each:!0}),(0,_.ArrayMaxSize)(990),(0,_.ArrayMinSize)(1),(0,tt.Type)(()=>Ti),We("design:type",Array)],Ne.prototype,"det",void 0);Ye([(0,_.ValidateNested)(),(0,tt.Type)(()=>xi),We("design:type",typeof ITotal>"u"?Object:ITotal)],Ne.prototype,"total",void 0);Ye([(0,_.ValidateNested)(),(0,tt.Type)(()=>lo),We("design:type",typeof ITransp>"u"?Object:ITransp)],Ne.prototype,"transp",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>na),We("design:type",typeof ICobr>"u"?Object:ICobr)],Ne.prototype,"cobr",void 0);Ye([(0,_.ValidateNested)(),(0,tt.Type)(()=>sa),We("design:type",typeof IPag>"u"?Object:IPag)],Ne.prototype,"pag",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Kr),We("design:type",typeof IInfIntermed>"u"?Object:IInfIntermed)],Ne.prototype,"infIntermed",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>tn),We("design:type",typeof IInfAdic>"u"?Object:IInfAdic)],Ne.prototype,"infAdic",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>cr),We("design:type",typeof IExporta>"u"?Object:IExporta)],Ne.prototype,"exporta",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>pr),We("design:type",typeof ICompra>"u"?Object:ICompra)],Ne.prototype,"compra",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>uo),We("design:type",typeof ICana>"u"?Object:ICana)],Ne.prototype,"cana",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>gi),We("design:type",typeof IInfRespTec>"u"?Object:IInfRespTec)],Ne.prototype,"infRespTec",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Os),We("design:type",typeof ISolicNFF>"u"?Object:ISolicNFF)],Ne.prototype,"infSolicNFF",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Yn),We("design:type",typeof IAgropecuario>"u"?Object:IAgropecuario)],Ne.prototype,"agropecuario",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Oa),We("design:type",typeof IInfPAA>"u"?Object:IInfPAA)],Ne.prototype,"infPAA",void 0);var bv=require("class-transformer");function Ud(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ud,"_ts_decorate");function qd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(qd,"_ts_metadata");var rp=class{static{s(this,"NFeAttributes")}xmlns};Ud([(0,Mo.IsString)(),(0,Mo.IsNotEmpty)(),qd("design:type",String)],rp.prototype,"xmlns",void 0);var Lr=class{static{s(this,"NFe")}$;infNFe;Signature};Ud([(0,Mo.IsObject)(),(0,Mo.IsNotEmptyObject)(),(0,bv.Type)(()=>rp),(0,Mo.ValidateNested)(),qd("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],Lr.prototype,"$",void 0);Ud([(0,Mo.IsObject)(),(0,Mo.IsNotEmptyObject)(),(0,bv.Type)(()=>Ne),(0,Mo.ValidateNested)(),qd("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],Lr.prototype,"infNFe",void 0);Ud([(0,Mo.Allow)(),qd("design:type",typeof Signature>"u"?Object:Signature)],Lr.prototype,"Signature",void 0);var eC=require("nfets/core");var Ro=require("nfets/core");var gn=s((t=[Tf])=>(e,o,i)=>{let r=i.value;r!=null&&(i.value=function(...n){return t.includes(this.schema)?r.apply(this,n):this})},"SchemaValidates");function No(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(No,"_ts_decorate");function k(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(k,"_ts_metadata");var mt=class{static{s(this,"NfeDetXmlBuilder")}listener;schema;data={};static create(e,o="PL_009_V4"){return new this(e,o)}constructor(e,o="PL_009_V4"){this.listener=e,this.schema=o}det(e){return this.data.$=e,this}prod(e){return this.data.prod=e,this.listener?.prod(e),this}imposto(e){return this.data.imposto=e,this.listener?.imposto(e),this}icms(e){return e?(this.data.imposto??={},this.data.imposto.ICMS=e,this.listener?.icms(e),this):this}issqn(e){return e?(this.data.imposto??={},this.data.imposto.ISSQN=e,this.listener?.issqn(e),this):this}ii(e){return e?(this.data.imposto??={},this.data.imposto.II=e,this.listener?.ii(e),this):this}ipi(e){return e?(this.data.imposto??={},this.data.imposto.IPI=e,this.listener?.ipi(e),this):this}pis(e){return e?(this.data.imposto??={},this.data.imposto.PIS=e,this.listener?.pis(e),this):this}pisst(e){return e?(this.data.imposto??={},this.data.imposto.PISST=e,this):this}cofins(e){return e?(this.data.imposto??={},this.data.imposto.COFINS=e,this.listener?.cofins(e),this):this}cofinsst(e){return e?(this.data.imposto??={},this.data.imposto.COFINSST=e,this):this}icmsufdest(e){return e?(this.data.imposto??={},this.data.imposto.ICMSUFDest=e,this):this}is(e){return e==null?this:(this.data.imposto??={},this.data.imposto.IS=e,this)}ibscbs(e){return e==null?this:(this.data.imposto??={},this.data.imposto.IBSCBS=e,this)}vItem(e){return e?(this.data.vItem=e.vItem,this):this}dfeReferenciado(e){return e?(this.data.DFeReferenciado=e,this):this}assemble(){let e={...this.data};return this.data={},e}};No([(0,Ro.Validates)(op),k("design:type",Function),k("design:paramtypes",[typeof IDetAttributes>"u"?Object:IDetAttributes]),k("design:returntype",void 0)],mt.prototype,"det",null);No([(0,Ro.Validates)(q),k("design:type",Function),k("design:paramtypes",[typeof IProd>"u"?Object:IProd]),k("design:returntype",void 0)],mt.prototype,"prod",null);No([(0,Ro.Validates)(xt),k("design:type",Function),k("design:paramtypes",[typeof IImposto>"u"?Object:IImposto]),k("design:returntype",void 0)],mt.prototype,"imposto",null);No([(0,Ro.Validates)(ve),k("design:type",Function),k("design:paramtypes",[typeof IICMS>"u"?Object:IICMS]),k("design:returntype",void 0)],mt.prototype,"icms",null);No([(0,Ro.Validates)(at),k("design:type",Function),k("design:paramtypes",[typeof IISSQN>"u"?Object:IISSQN]),k("design:returntype",void 0)],mt.prototype,"issqn",null);No([(0,Ro.Validates)(Tn),k("design:type",Function),k("design:paramtypes",[typeof III>"u"?Object:III]),k("design:returntype",void 0)],mt.prototype,"ii",null);No([(0,Ro.Validates)(Ii),k("design:type",Function),k("design:paramtypes",[typeof IIPI>"u"?Object:IIPI]),k("design:returntype",void 0)],mt.prototype,"ipi",null);No([(0,Ro.Validates)(jn),k("design:type",Function),k("design:paramtypes",[typeof IPIS>"u"?Object:IPIS]),k("design:returntype",void 0)],mt.prototype,"pis",null);No([(0,Ro.Validates)(sn),k("design:type",Function),k("design:paramtypes",[typeof IPISST>"u"?Object:IPISST]),k("design:returntype",void 0)],mt.prototype,"pisst",null);No([(0,Ro.Validates)(Bn),k("design:type",Function),k("design:paramtypes",[typeof ICOFINS>"u"?Object:ICOFINS]),k("design:returntype",void 0)],mt.prototype,"cofins",null);No([(0,Ro.Validates)(ln),k("design:type",Function),k("design:paramtypes",[typeof ICOFINSST>"u"?Object:ICOFINSST]),k("design:returntype",void 0)],mt.prototype,"cofinsst",null);No([(0,Ro.Validates)(jo),k("design:type",Function),k("design:paramtypes",[typeof IICMSUFDest>"u"?Object:IICMSUFDest]),k("design:returntype",void 0)],mt.prototype,"icmsufdest",null);No([gn(Io),(0,Ro.Validates)(Qo),k("design:type",Function),k("design:paramtypes",[typeof IIS>"u"?Object:IIS]),k("design:returntype",void 0)],mt.prototype,"is",null);No([gn(Io),(0,Ro.Validates)(Co),k("design:type",Function),k("design:paramtypes",[typeof IIBSCBS>"u"?Object:IIBSCBS]),k("design:returntype",void 0)],mt.prototype,"ibscbs",null);No([gn(Io),k("design:type",Function),k("design:paramtypes",[typeof IVItem>"u"?Object:IVItem]),k("design:returntype",void 0)],mt.prototype,"vItem",null);No([gn(Io),(0,Ro.Validates)(wa),k("design:type",Function),k("design:paramtypes",[typeof IDFeReferenciado>"u"?Object:IDFeReferenciado]),k("design:returntype",void 0)],mt.prototype,"dfeReferenciado",null);var ap=require("nfets/core"),ge=require("nfets/core"),Hd=require("nfets/core");function Je(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Je,"_ts_decorate");function E(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(E,"_ts_metadata");var pe=class{static{s(this,"NfeXmlBuilder")}builder;contingency;schema;data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}}};$data=void 0;aggregators=[new Up(this)];root="NFe";$det=new _p(this);nfeDetXmlBuilder;static create(e,o,i="PL_009_V4"){return new this(e,o,i)}constructor(e,o,i="PL_009_V4"){this.builder=e,this.contingency=o,this.schema=i,this.nfeDetXmlBuilder=mt.create(this.$det,i)}infNFe(e){return this.data.infNFe.$=e,this}ide(e){return this.data.infNFe.ide=e,this}emit(e){return this.data.infNFe.emit=e,this}avulsa(e){return e==null?this:(this.data.infNFe.avulsa=e,this)}dest(e){return e==null?this:(this.data.infNFe.dest=e,this)}retirada(e){return e==null?this:(this.data.infNFe.retirada=e,this)}entrega(e){return e==null?this:(this.data.infNFe.entrega=e,this)}autXML(e){return e?.length?(this.data.infNFe.autXML=e,this):this}det(e,o){return this.data.infNFe.det=e.map((i,r)=>{let n=o(this.nfeDetXmlBuilder.det({nItem:(r+1).toString()}),i);return this.collect(n),n.assemble()}),this}total(e){return e==null?this:(this.data.infNFe.total=e,this)}ISSQNtot(e){return e==null?this:(this.data.infNFe.total.ISSQNtot??={},this.data.infNFe.total.ISSQNtot={...this.data.infNFe.total.ISSQNtot,...e},this)}ICMSTot(e){return e==null?this:(this.data.infNFe.total.ICMSTot={...this.data.infNFe.total.ICMSTot,...e},this)}IBSCBSTot(e){return e==null?this:(this.data.infNFe.total.IBSCBSTot={...this.data.infNFe.total.IBSCBSTot,...e},this)}ISTot(e){return e==null?this:(this.data.infNFe.total.ISTot={...this.data.infNFe.total.ISTot,...e},this)}increment(e){let o=e(this.data.infNFe.total,this.data.infNFe.det);return this.data.infNFe.total={...this.data.infNFe.total,ICMSTot:{...this.data.infNFe.total.ICMSTot,...o.ICMSTot},ISSQNtot:o.ISSQNtot?{...this.data.infNFe.total.ISSQNtot,...o.ISSQNtot}:this.data.infNFe.total.ISSQNtot},Io.includes(this.schema)&&this.buildTotalForPL_010(o),this}buildTotalForPL_010(e){let o=this.data.infNFe.total.IBSCBSTot,i=e.IBSCBSTot,r=this.data.infNFe.total.ISTot,n=e.ISTot;this.data.infNFe.total={...this.data.infNFe.total,IBSCBSTot:{...o,...i,gCBS:{...o?.gCBS,...i?.gCBS},gIBS:{...o?.gIBS,...i?.gIBS,gIBSMun:{...o?.gIBS?.gIBSMun,...i?.gIBS?.gIBSMun},gIBSUF:{...o?.gIBS?.gIBSUF,...i?.gIBS?.gIBSUF}},...i?.gMono!=null||o?.gMono!=null?{gMono:{...o?.gMono,...i?.gMono}}:{},...i?.gEstornoCred!=null||o?.gEstornoCred!=null?{gEstornoCred:{...o?.gEstornoCred,...i?.gEstornoCred}}:{}},ISTot:r||n?{...r,...n}:r,vNFTot:e.vNFTot??this.data.infNFe.total.vNFTot}}transp(e){return e==null?this:(this.data.infNFe.transp=e,this)}cobr(e){return e==null?this:(this.data.infNFe.cobr=e,this)}pag(e){return e==null?this:(this.data.infNFe.pag=e,this)}infIntermed(e){return e==null?this:(this.data.infNFe.infIntermed=e,this)}infAdic(e){return e==null?this:(this.data.infNFe.infAdic=e,this)}exporta(e){return e==null?this:(this.data.infNFe.exporta=e,this)}compra(e){return e==null?this:(this.data.infNFe.compra=e,this)}cana(e){return e==null?this:(this.data.infNFe.cana=e,this)}infRespTec(e){return e==null?this:(this.data.infNFe.infRespTec=e,this)}infSolicNFF(e){return e==null?this:(this.data.infNFe.infSolicNFF=e,this)}agropecuario(e){return e==null?this:(this.data.infNFe.agropecuario=e,this)}infPAA(e){return e==null?this:(this.data.infNFe.infPAA=e,this)}toInstance(){return(0,eC.plainToInstance)(this.data,Lr,{clearEmptyValues:!0})}quiet(){return Reflect.deleteMetadata(ge.ValidateErrorsMetadata,this),this}toObject(){if(this.$data!==void 0)return(0,ap.right)(this.$data);let e=this.errors();if(e)return(0,ap.left)(new Hd.NFeTsError(e.join(", ")));for(let o of this.aggregators)o.aggregate();return this.assertHomologValidations(),this.assertContingencyModes(),this.fillAccessKeyIfEmpty(),this.$data=dc(this.toInstance(),this.data.infNFe.emit.enderEmit.UF),(0,ap.right)(this.$data)}async assemble(){let e=this.toObject();return e.isLeft()?e:(0,ap.right)(await this.builder.build(e.value,{rootName:this.root}))}assertHomologValidations(){return this.data.infNFe.ide.tpAmb!==Hd.Environment.Homolog?!1:(this.data.infNFe.dest&&(this.data.infNFe.dest.xNome="NF-E EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL"),!0)}assertContingencyModes(){if(this.contingency===void 0)return this.automaticallyInferContingencyMode();this.data.infNFe.ide.dhCont??=this.contingency.dhCont,this.data.infNFe.ide.xJust??=this.contingency.xJust;let{cUF:e,tpEmis:o}=this.data.infNFe.ide;if(o!==vt.Normal)return;switch(dd[e]){case"SVCAN":return this.data.infNFe.ide.tpEmis=vt.SVCAN,void 0;case"SVCRS":return this.data.infNFe.ide.tpEmis=vt.SVCRS,void 0}}automaticallyInferContingencyMode(){let{xJust:e,dhCont:o,tpEmis:i}=this.data.infNFe.ide;if(!(!e&&!o&&i===vt.Normal))return this.contingency={xJust:e??"SEFAZ fora do Ar",dhCont:o??new Date().toISOString()},this.assertContingencyModes()}errors(){return Reflect.getMetadata(ge.ValidateErrorsMetadata,this)}collect(e){let o=Reflect.getMetadata(ge.ValidateErrorsMetadata,e);if(!o)return;let i=this.errors();Reflect.defineMetadata(ge.ValidateErrorsMetadata,(i??[]).concat(o),this)}fillAccessKeyIfEmpty(){if(this.data.infNFe.$.Id)return;let e=new Vp().compile({cUF:this.data.infNFe.ide.cUF,year:this.data.infNFe.ide.dhEmi.substring(2,4),month:this.data.infNFe.ide.dhEmi.substring(5,7),identification:this.data.infNFe.emit.CPF??this.data.infNFe.emit.CNPJ,mod:this.data.infNFe.ide.mod,serie:this.data.infNFe.ide.serie,nNF:this.data.infNFe.ide.nNF,tpEmis:this.data.infNFe.ide.tpEmis,cNF:this.data.infNFe.ide.cNF});this.data.infNFe.ide.cDV=e.slice(-1),this.data.infNFe.$={Id:`${this.root}${e}`,versao:this.data.infNFe.$.versao}}};Je([(0,ge.Validates)(Fs),E("design:type",Function),E("design:paramtypes",[typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes]),E("design:returntype",void 0)],pe.prototype,"infNFe",null);Je([(0,ge.Validates)($),E("design:type",Function),E("design:paramtypes",[typeof IIde>"u"?Object:IIde]),E("design:returntype",void 0)],pe.prototype,"ide",null);Je([(0,ge.Validates)(wt),E("design:type",Function),E("design:paramtypes",[typeof IEmit>"u"?Object:IEmit]),E("design:returntype",void 0)],pe.prototype,"emit",null);Je([(0,ge.Validates)(to),E("design:type",Function),E("design:paramtypes",[typeof IAvulsa>"u"?Object:IAvulsa]),E("design:returntype",void 0)],pe.prototype,"avulsa",null);Je([(0,ge.Validates)(Vt),E("design:type",Function),E("design:paramtypes",[typeof IDest>"u"?Object:IDest]),E("design:returntype",void 0)],pe.prototype,"dest",null);Je([(0,ge.Validates)(Ie),E("design:type",Function),E("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),E("design:returntype",void 0)],pe.prototype,"retirada",null);Je([(0,ge.Validates)(Ie),E("design:type",Function),E("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),E("design:returntype",void 0)],pe.prototype,"entrega",null);Je([(0,ge.Validates)(In,{each:!0}),E("design:type",Function),E("design:paramtypes",[Array]),E("design:returntype",void 0)],pe.prototype,"autXML",null);Je([(0,ge.Validates)(xi),E("design:type",Function),E("design:paramtypes",[typeof ITotal>"u"?Object:ITotal]),E("design:returntype",void 0)],pe.prototype,"total",null);Je([gn(Io),(0,ge.Validates)($i),E("design:type",Function),E("design:paramtypes",[typeof IIBSCBSTot>"u"?Object:IIBSCBSTot]),E("design:returntype",void 0)],pe.prototype,"IBSCBSTot",null);Je([gn(Io),(0,ge.Validates)(fs),E("design:type",Function),E("design:paramtypes",[typeof IISTot>"u"?Object:IISTot]),E("design:returntype",void 0)],pe.prototype,"ISTot",null);Je([gn(Io),E("design:type",Function),E("design:paramtypes",[typeof ITotal>"u"?Object:ITotal]),E("design:returntype",void 0)],pe.prototype,"buildTotalForPL_010",null);Je([(0,ge.Validates)(lo),E("design:type",Function),E("design:paramtypes",[typeof ITransp>"u"?Object:ITransp]),E("design:returntype",void 0)],pe.prototype,"transp",null);Je([(0,ge.Validates)(na),E("design:type",Function),E("design:paramtypes",[typeof ICobr>"u"?Object:ICobr]),E("design:returntype",void 0)],pe.prototype,"cobr",null);Je([(0,ge.Validates)(sa),E("design:type",Function),E("design:paramtypes",[typeof IPag>"u"?Object:IPag]),E("design:returntype",void 0)],pe.prototype,"pag",null);Je([(0,ge.Validates)(Kr),E("design:type",Function),E("design:paramtypes",[typeof IInfIntermed>"u"?Object:IInfIntermed]),E("design:returntype",void 0)],pe.prototype,"infIntermed",null);Je([(0,ge.Validates)(tn),E("design:type",Function),E("design:paramtypes",[typeof IInfAdic>"u"?Object:IInfAdic]),E("design:returntype",void 0)],pe.prototype,"infAdic",null);Je([(0,ge.Validates)(cr),E("design:type",Function),E("design:paramtypes",[typeof IExporta>"u"?Object:IExporta]),E("design:returntype",void 0)],pe.prototype,"exporta",null);Je([(0,ge.Validates)(pr),E("design:type",Function),E("design:paramtypes",[typeof ICompra>"u"?Object:ICompra]),E("design:returntype",void 0)],pe.prototype,"compra",null);Je([(0,ge.Validates)(uo),E("design:type",Function),E("design:paramtypes",[typeof ICana>"u"?Object:ICana]),E("design:returntype",void 0)],pe.prototype,"cana",null);Je([(0,ge.Validates)(gi),E("design:type",Function),E("design:paramtypes",[typeof IInfRespTec>"u"?Object:IInfRespTec]),E("design:returntype",void 0)],pe.prototype,"infRespTec",null);Je([(0,ge.Validates)(Os),E("design:type",Function),E("design:paramtypes",[typeof ISolicNFF>"u"?Object:ISolicNFF]),E("design:returntype",void 0)],pe.prototype,"infSolicNFF",null);Je([gn(Io),(0,ge.Validates)(Yn),E("design:type",Function),E("design:paramtypes",[typeof IAgropecuario>"u"?Object:IAgropecuario]),E("design:returntype",void 0)],pe.prototype,"agropecuario",null);Je([gn(Io),(0,ge.Validates)(Oa),E("design:type",Function),E("design:paramtypes",[typeof IInfPAA>"u"?Object:IInfPAA]),E("design:returntype",void 0)],pe.prototype,"infPAA",null);var iu=class extends ac{static{s(this,"NfeXmlBuilderPipeline")}certificate;schema;builder;constructor(e,o="PL_009_V4"){super(e),this.certificate=e,this.schema=o,this.builder=pe.create(this.toolkit,void 0,this.schema)}build(e){return e(this.builder),this}async assemble(){let e=await this.builder.assemble();return e.isLeft()?e:this.assertXmlSignedAndValidated(e.value)}get nfeXsdSchema(){return tC.default.resolve(Lp(),this.schema,"nfe_v4.00.xsd")}async assertXmlSignedAndValidated(e){if(!this.certificate)return(0,sp.right)(e);let o=await this.signXmlString(e);return o.isLeft()?o:this.validateXmlString(o.value)}async signXmlString(e){if(!this.certificate)return(0,sp.right)(e);let o=await this.certificates.read(this.certificate);return o.isLeft()?o:this.xmlSigner.sign(e,{tag:"infNFe",mark:"Id"},o.value)}async validateXmlString(e){let o=await this.toolkit.validate(e,this.nfeXsdSchema);return o.isLeft()?(0,sp.left)(new Mp(o.value.message,e,{cause:o.value.cause})):(0,sp.right)(e)}};var rC=require("nfets/core");var Zd=require("nfets/core"),aC=require("nfets/core");var nC=require("nfets/core");var Qd=require("class-transformer"),Zo=require("class-validator");var xv=require("class-validator");function oC(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(oC,"_ts_decorate");function iC(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(iC,"_ts_metadata");var cp=class{static{s(this,"InfNFeSupl")}qrCode;urlChave};oC([(0,xv.IsString)(),iC("design:type",String)],cp.prototype,"qrCode",void 0);oC([(0,xv.IsString)(),iC("design:type",String)],cp.prototype,"urlChave",void 0);function kd(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(kd,"_ts_decorate");function Gd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Gd,"_ts_metadata");var Wn=class{static{s(this,"NFCe")}$;infNFe;infNFeSupl;Signature};kd([(0,Zo.IsObject)(),(0,Zo.IsNotEmptyObject)(),(0,Qd.Type)(()=>rp),(0,Zo.ValidateNested)(),Gd("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],Wn.prototype,"$",void 0);kd([(0,Zo.IsObject)(),(0,Zo.IsNotEmptyObject)(),(0,Qd.Type)(()=>Ne),(0,Zo.ValidateNested)(),Gd("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],Wn.prototype,"infNFe",void 0);kd([(0,Zo.IsObject)(),(0,Zo.IsNotEmptyObject)(),(0,Qd.Type)(()=>cp),(0,Zo.ValidateNested)(),Gd("design:type",typeof IInfNFeSupl>"u"?Object:IInfNFeSupl)],Wn.prototype,"infNFeSupl",void 0);kd([(0,Zo.Allow)(),Gd("design:type",typeof Signature>"u"?Object:Signature)],Wn.prototype,"Signature",void 0);var nu=class extends pe{static{s(this,"NfceXmlBuilder")}data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}}};static create(e,o,i="PL_009_V4"){return new this(e,o,i)}toInstance(){return(0,nC.plainToInstance)(this.data,Wn,{clearEmptyValues:!0})}assertHomologValidations(){return super.assertHomologValidations()?(this.data.infNFe.det[0].prod.xProd="NOTA FISCAL EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL",!0):!1}assertContingencyModes(){if(this.contingency===void 0)return this.automaticallyInferContingencyMode();this.data.infNFe.ide.dhCont??=this.contingency.dhCont,this.data.infNFe.ide.xJust??=this.contingency.xJust;let{tpEmis:e}=this.data.infNFe.ide;if(e===vt.Normal)return this.data.infNFe.ide.tpEmis=vt.OFFLINE,void 0}};var Sv=class extends iu{static{s(this,"NfceXmlBuilderPipeline")}options;nfceQrcode=new Wt(this.certificates);transmitter=new Mt(this.soap,this.nfceQrcode);constructor(e,o="PL_009_V4",i){super(e,o),this.options=i}builder=nu.create(this.toolkit,void 0,this.schema);async assertXmlSignedAndValidated(e){let o=await super.assertXmlSignedAndValidated(e);if(o.isLeft()||!this.options?.qrCode)return o;if(!this.certificate)return(0,Zd.left)(new rC.NFeTsError("Certificate is required to assemble NFCe XML with QR Code"));let i=o.value,r=await this.toolkit.parse(i),n=await this.generateQrCode(r,this.options,this.certificate);if(n.isLeft())return n;let a=await this.toolkit.build(n.value,{rootName:"infNFeSupl"}),c=this.toolkit.insertBefore(i,"Signature",a);return(0,Zd.right)(c)}async generateQrCode(e,o,i){let r=this.transmitter.service({cUF:e.infNFe.ide.cUF,tpAmb:e.infNFe.ide.tpAmb,service:"NfeConsultaQR"}),n={...o.qrCode};switch(n.version??=r.version,n.version){case"200":return await this.nfceQrcode.execute(e,{version:n.version,urlConsult:this.transmitter.getUrlConsult(e),urlService:r.url,CSC:n.CSC,CSCId:n.CSCId});case"300":{let a=await this.certificates.read(i);return a.isLeft()?a:await this.nfceQrcode.execute(e,{version:n.version,certificate:a.value,urlConsult:this.transmitter.getUrlConsult(e),urlService:r.url})}default:return(0,aC.unreachable)(n.version)}}};var sC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAg0AAAFXCAYAAAAh5X2YAAAgAElEQVR4nOy9e5xdZX3v//7sDENMY0zTNCcnJ+XQlEORw0TkRzkUYSCZaKkSBrwEa8XLD5tgBtA2M6HUenxZj1Umk1pJhpLUS71Uy2gp4WK9ZAJM1HootZpYDz9+/CylkQaIiCHEECbz/f2xnmettffc9mWtfZl53jDZa6/P2mt/n2evtZ7v831uIhCokN7d+9qRFgAL3d98jIWGLUJaLOOXEEsMu31r18qvNtjcQCAQCGSEGm1AoP5sGt7fJmw+aIGZzZc032C+YDGwEGMhspeBFgGLgIWGLRBaDCwyrF2oALQBBaBgUPAXk2EACB017O1bu1Z+uQHJDAQCgUDGBKehhekd3t8OzPMFPzCfqJBfDCzG7JeAhSYtBluEsRixEDQfrA2jHdEOtGG0ASCBK/Rj/NvqtMOS1g50dYxkkeZAIBAINI7gNDQZm3bvL4DNkzTfzOYDy4SWIZYB/wlYitlipKVEUYG5iLkY89zrxL+qOaEx2hNmtmrrmpWPTJf+QCAQCDQvwWloML3D+xaYcaGkc4D/DpwKLImaCFhIFP6fCXzP4NVbuz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BH7aaFLicp0JydSWkadhEDgDU5QGgInBJ1tPbswOeB+8DCYM6fv4ZTMSHV0vasXroYLTLxbt4xrIuumWoZ4VPCVcQ77oMSg0KCkQfAgUd2GQUmDiYx4IYt9KgcSGaLuaGgx375V4mLQlxRlbjwkM4w5hLQP+QnEnup7siDdJfwVwQGhYWAY+yCVvxGHKv2k7rhkqq0XFZ2Q+SdJQ7EbaFhRXohPAZ2xK6WMxIiiBXlQNfkbytfAUDIvRrX3jyoD6F3TvlXQDn4gmhMdAg8LhgTbiYMli/nsD4AbgF0yI+ARSQdsFww3Aa9F75GD0hA4aQlRPYETiu7+lZlp/PaD0zK/XXvhm1+Z0ZQZKedkiG31OOW+qJIlJynStSeSCL5jI3sZuPjchccju2Q9cUzBImCGYb+grmZEg3vmGBbFpw521paOHv+z+wAtxixCHgQNFPPZceeOmCpyhdJ024skTbfZK7GrtvJlrlCajjnfcrPQ1mI++9po7QUCJxtBaQickPz0lbefPeuU//gi6NKythBT8YFHP5VD6Vw5eRGh8rVTL9MQ+J3nLtw8ocJIgUAg8HoiuCcCJyQXn/XPLxv9AfhD0dE5V05M1JyySGRlV0X56GSSuOkYyPDtRkFhCAQCb2iCpSFwwjOwfeksSR+2uVFicdo9keBylsho558uglR2YUyNbMTwOcynliw6XtUyA4FA4NgQlIbA64YtO1pnAVfbvklwPlJLteOiQvJ6tStj0mWv2r4T8dCShZuDwhAIBN7wBKUh8LpjYEdrk+xzkN4PdNheDKpJmxxZI5L4yEmUHTC8LLvH8NiSRZtDkFwgEDhpCEpD4HXNwI6lGaGzsLNIFwMXAfNsWiQyaftA5SsNXquR2SNIh8AHQVsxLyB+CmwCdh6rSpiBQCBwIhGUhsAbii07WrGZI/lsw2JgIWa+pDnALOyoaFEcq2AzIrEPOIC9B9iN9H+AndjbLe1asjDEKgQCgQDA/wf59f5AwcXxcQAAAABJRU5ErkJggg==";var pp=class t{static{s(this,"Header")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}emit(e){let{left:o,right:i}=this.builder.pageMargins(),r=e?.x??o,n=this.context.data.infNFe.emit,{enderEmit:a}=n,{xNome:c}=n,p=this.context.defaults.font,u=`${p}-Bold`,l="center";this.builder.row({left:r,right:i},d=>this.builder.text(this.identification(n),{...d,align:l})).row({left:r,right:i},d=>this.builder.font(u).text(c,{...d,align:l}).font(p)).row({left:r,right:i},d=>this.builder.text(`${this.addressLine1(a)}${this.addressLine2(a)}${this.addressLine3(a)}`,{...d,align:l})).row({left:r,right:i},d=>this.builder.text(this.addressLine4(a),{...d,align:l}))}identification(e){let o=this.cpfOrCnpj(e),i=e.IE.length?` IE: ${e.IE}`:"";return`${o}${i}`}cpfOrCnpj(e){let{CNPJ:o,CPF:i}=e;return o?.length===14?`CNPJ ${o.replace(/([A-Z0-9]{2})([A-Z0-9]{3})([A-Z0-9]{3})([A-Z0-9]{4})([A-Z0-9]{2})/,"$1.$2.$3/$4-$5")}`:i?.length===11?`CPF ${i.replace(/(\d{3})(\d{3})(\d{3})(\d{2})/,"$1.$2.$3-$4")}`:""}addressLine1(e){let{xLgr:o,nro:i}=e;return`${o}, ${i}`}addressLine2(e){let{xBairro:o}=e;return`, ${o}`}addressLine3(e){let{xMun:o,UF:i}=e;return`, ${o} - ${i}`}addressLine4(e){let{fone:o}=e;return o?`Fone: ${o.replace(/(\d{2})(\d{4,5})(\d{4})/,"($1) $2-$3")}`:""}staticTexts(){let{left:e,right:o}=this.builder.pageMargins();this.builder.moveDown(.5).fontSize(this.context.options.titleFontSize).row({left:e,right:o},i=>this.builder.text("Documento Auxiliar da Nota Fiscal de Consumidor Eletr\xF4nica",{...i,align:"center"})).row({left:e,right:o},i=>this.builder.text("N\xE3o permite aproveitamento de cr\xE9dito de ICMS",{...i,align:"center"}))}get logo(){let{logo:e,ignoreDefaultLogo:o}=this.context.options;if(e)return e;if(!o)return sC}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.emit(),this.staticTexts(),this.builder}end(){t._instance=void 0}};var Fa=class t{static{s(this,"FiscalMessages")}context;static _instance;constants={issuedInContingency:"EMITIDA EM CONTING\xCANCIA",pendingOfAuthorization:"Pendente de autoriza\xE7\xE3o",notProtocoledInNormalEmission:"PENDENTE DE AUTORIZA\xC7\xC3O - SEM VALOR FISCAL"};static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get contingencyBannerText(){return this.context.protNFe?.infProt?this.constants.issuedInContingency:`${this.constants.issuedInContingency}
36
+ ${this.constants.pendingOfAuthorization}`}get hasContingency(){let{tpEmis:e}=this.context.data.infNFe.ide;return e!==vt.Normal}get hasNotProtocoledInNormalEmission(){return!this.hasContingency&&!this.context.protNFe}contingency(e){if(!this.hasContingency)return;let o=e?.x??0;this.builder.row({left:o},i=>this.builder.text(this.contingencyBannerText,{...i,align:"center"}))}notProtocoledInNormalEmission(e){if(!this.hasNotProtocoledInNormalEmission)return;let o=e?.x??0;this.builder.row({left:o},i=>this.builder.text(this.constants.notProtocoledInNormalEmission,{...i,align:"center"}))}build(e){return this.setup(),this.builder.moveDown(.5),this.contingency(e),this.notProtocoledInNormalEmission(e),this.builder}setup(){let e=this.context.defaults.font,o=`${e}-Bold`;this.builder.font(o,this.context.options.titleFontSize)}end(){t._instance=void 0}height(){this.setup();let e=[.5],{left:o,right:i}=this.builder.pageMargins(),r=this.builder.pageWidth()-o-i;return this.hasContingency&&e.push(this.builder.heightOfString(this.contingencyBannerText,{width:r,align:"center"})),this.hasNotProtocoledInNormalEmission&&e.push(this.builder.heightOfString(this.constants.notProtocoledInNormalEmission,{width:r,align:"center"})),e.reduce((n,a)=>n+a,0)}};var cC=require("nfets/core");var lp=class t{static{s(this,"HomologMessage")}context;static _instance;constants={withoutFiscalValue:"EMITIDA EM AMBIENTE DE HOMOLOGA\xC7\xC3O \u2013 SEM VALOR FISCAL"};static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get hasHomologMessage(){let{tpAmb:e}=this.context.data.infNFe.ide;return e!==cC.Environment.Production}withHomologMessage(){if(!this.hasHomologMessage)return;let{left:e}=this.builder.pageMargins();this.builder.text(this.constants.withoutFiscalValue,{x:e,align:"center"})}build(){return this.setup(),this.builder.moveDown(.5),this.withHomologMessage(),this.builder.font(this.context.defaults.font),this.builder}setup(){let e=this.context.defaults.font,o=`${e}-Bold`;this.builder.font(o,this.context.options.titleFontSize)}end(){t._instance=void 0}height(){if(!this.hasHomologMessage)return 0;this.setup();let{left:e,right:o}=this.builder.pageMargins();return this.builder.heightOfString(this.constants.withoutFiscalValue,{width:this.builder.pageWidth()-e-o,align:"center"})}};var Yd=class t{static{s(this,"Items")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get columnStyles(){return[15,32,60,"*","*","*","*"]}get rowStyles(){return{border:!1}}get defaultStyle(){return{padding:{top:1,bottom:1,left:0,right:0}}}get headers(){let e={src:`${this.context.defaults.font}-Bold`};return[{font:e,text:"#"},{font:e,text:"cod."},{font:e,text:"descri\xE7\xE3o"},{font:e,align:{x:"right"},text:"qtde"},{font:e,align:{x:"right"},text:"unit."},{font:e,align:{x:"right"},text:"desc."},{font:e,align:{x:"right"},text:"total"}]}item(e){let{prod:o,$:{nItem:i}}=e,{cProd:r,xProd:n,qCom:a,uCom:c,vUnCom:p,vDesc:u,vProd:l}=o,d={size:this.context.options.textFontSize},m={font:d,text:i.padStart(3,"0")},y={font:d,text:r},x=[{font:d,align:{x:"right"},text:`${this.context.currency(a,4)} ${c}`},{font:d,align:{x:"right"},text:this.context.currency(p,10)},{font:d,align:{x:"right"},text:this.context.currency(u??0)},{font:d,align:{x:"right"},text:this.context.currency(l)}],N=this.builder.widthOfString(r),C=this.columnStyles[1];if(N>=C)return[[m,{colSpan:6,font:d,text:`${r} ${n}`}],[{colSpan:3},...x]];let b=this.builder.widthOfString(n),I=this.columnStyles[2];if(b>=I)return[[m,y,{colSpan:5,font:d,text:n}],[{colSpan:3},...x]];let A=this.getFirstLineWidth();return this.builder.widthOfString(`${r} ${n}`)<=A?[[m,y,{font:d,text:n},...x]]:[[m,y,{colSpan:5,font:d,text:n}],[{colSpan:3},...x]]}items(){let{det:e}=this.context.data.infNFe,o=Array.isArray(e)?e:[e],{left:i}=this.builder.pageMargins();this.builder.table({position:{x:i},defaultStyle:this.defaultStyle,columnStyles:this.columnStyles,rowStyles:this.rowStyles,data:[this.headers,...o.reduce((r,n)=>r.concat(this.item(n)),[])]})}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.builder.moveDown(.5),this.items(),this.builder}end(){t._instance=void 0}getFirstLineWidth(){return this.columnStyles.slice(1,3).reduce((o,i)=>o+i,0)}getProportionalWidth(){let{left:e,right:o}=this.builder.pageMargins(),i=this.builder.pageWidth()-e-o,r=this.columnStyles.reduce((a,c)=>typeof c=="number"?a+c:a,0),n=this.columnStyles.filter(a=>a==="*").length;return(i-r)/n}getAvailableWidth(e,o){if(e.colSpan){let n=o.indexOf(e),a=this.columnStyles.slice(0,n).reduce((p,u)=>typeof u=="number"?p+u:p,0),c=this.getProportionalWidth()*e.colSpan;return a+c}let i=o.indexOf(e),r=this.columnStyles[i];return typeof r=="number"?r:this.getProportionalWidth()}calculateRowHeight(e,o){let i=o;for(let r of e){if(!r.text)continue;let n=r.text,a=this.builder.widthOfString(n),c=this.getAvailableWidth(r,e),p=a<=c?o:this.builder.heightOfString(n,{width:c});i=Math.max(i,p)}return i}height(){this.setup();let{det:e}=this.context.data.infNFe,o=Array.isArray(e)?e:[e],i=this.builder.currentLineHeight(),r=i*1.2,n=i*.5,a=i*.5,c=o.reduce((u,l)=>{let d=this.item(l),[m]=d,y=this.calculateRowHeight(m,i),x=0;if(d.length>1){let A=this.calculateRowHeight(d[1],i);x=Math.max(i,A)}let{top:N,bottom:C}=this.defaultStyle.padding,b=N+C,I=d.length>1?i*.2:0;return u+y+x+d.length*b+I},0),p=i*2;return n+r+a+c+p}};var pC=require("nfets/core");var up=class t{static{s(this,"Totals")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}count(){let{det:e}=this.context.data.infNFe,o=Array.isArray(e)?e:[e],{left:i,right:r}=this.builder.pageMargins();this.builder.row({columns:2,left:i,right:r},n=>this.builder.text("Qtde. Total de Itens",{...n}),n=>this.builder.text(`${o.length}`,{...n,align:"right"}))}totalizers(){let{vProd:e,vDesc:o,vFrete:i,vSeg:r,vOutro:n}=this.context.data.infNFe.total.ICMSTot,{vServ:a}=this.context.data.infNFe.total.ISSQNtot??{};this.conditionalRowValue("Valor Total R$",new pC.Decimal(e).add(a??0).toNumber()),this.conditionalRowValue("Desconto total R$",o,"-"),this.conditionalRowValue("Frete total R$",i),this.conditionalRowValue("Seguro total R$",r),this.conditionalRowValue("Outras despesas total R$",n)}total(){let{vNF:e}=this.context.data.infNFe.total.ICMSTot,o=this.context.defaults.font,i=`${o}-Bold`,{left:r,right:n}=this.builder.pageMargins();this.builder.font(i).fontSize(this.context.options.titleFontSize).row({columns:2,left:r,right:n},a=>this.builder.text("Valor a Pagar R$",{...a,align:"left"}),a=>this.builder.text(this.context.currency(e),{...a,align:"right"})).font(o)}conditionalRowValue(e,o,i=""){if(!o||!Number.parseFloat(o.toString()))return;o=this.context.currency(o);let{left:r,right:n}=this.builder.pageMargins();this.builder.row({columns:2,left:r,right:n},a=>this.builder.text(e,{...a,align:"left"}),a=>this.builder.text(`${i}${o}`,{...a,align:"right"}))}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.builder.moveDown(.5),this.count(),this.totalizers(),this.total(),this.builder}end(){t._instance=void 0}};var St={Dinheiro:"01",Cheque:"02",CartaoDeCredito:"03",CartaoDeDebito:"04",CartaoDaLoja:"05",ValeAlimentacao:"10",ValeRefeicao:"11",ValePresente:"12",ValeCombustivel:"13",BoletoBancario:"15",DepositoBancario:"16",PIXDinamico:"17",TransferenciaBancaria:"18",ProgramaFidelidade:"19",PIXEstatico:"20",CreditoEmLoja:"21",PagamentoNaoInformado:"22",SemPagamento:"90",PagamentoPosterior:"91",Outros:"99"},lC={[St.Dinheiro]:"Dinheiro",[St.Cheque]:"Cheque",[St.CartaoDeCredito]:"Cart\xE3o de Cr\xE9dito",[St.CartaoDeDebito]:"Cart\xE3o de D\xE9bito",[St.CartaoDaLoja]:"Cart\xE3o da Loja/Outros Credi\xE1rios",[St.ValeAlimentacao]:"Vale Alimenta\xE7\xE3o",[St.ValeRefeicao]:"Vale Refei\xE7\xE3o",[St.ValePresente]:"Vale Presente",[St.ValeCombustivel]:"Vale Combust\xEDvel",[St.BoletoBancario]:"Boleto Banc\xE1rio",[St.DepositoBancario]:"Dep\xF3sito Banc\xE1rio",[St.PIXDinamico]:"Pagamento Instant\xE2neo (PIX) - Din\xE2mico",[St.TransferenciaBancaria]:"Transfer\xEAncia banc\xE1ria, Carteira Digital",[St.ProgramaFidelidade]:"Programa fidelidade, Cashback, Cr\xE9d Virt",[St.PIXEstatico]:"Pagamento Instant\xE2neo (PIX) - Est\xE1tico",[St.CreditoEmLoja]:"Cr\xE9dito em Loja",[St.PagamentoNaoInformado]:"Pagamento Eletr\xF4nico n\xE3o Informado - falha de hardware do sistema emissor",[St.SemPagamento]:"Sem pagamento",[St.PagamentoPosterior]:"Pagamento Posterior",[St.Outros]:"Outros"};var dp=class t{static{s(this,"Payments")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}payment(e){let{tPag:o,vPag:i}=e,{left:r,right:n}=this.builder.pageMargins();this.builder.row({columns:2,left:r,right:n},a=>this.builder.text(lC[o],{...a,align:"left"}),a=>this.builder.text(this.context.currency(i),{...a,align:"right"}))}payments(){let{pag:e}=this.context.data.infNFe,o=Array.isArray(e.detPag)?e.detPag:[e.detPag];if(o.length===0)return;let{left:i,right:r}=this.builder.pageMargins();this.builder.row({columns:2,left:i,right:r},n=>this.builder.text("Forma de Pagamento",{...n,align:"left"}),n=>this.builder.text("Valor pago R$",{...n,align:"right"})),o.forEach(n=>this.payment(n))}change(){let{vTroco:e}=this.context.data.infNFe.pag;if(!this.context.isValueNotEmpty(e))return;let{left:o,right:i}=this.builder.pageMargins();this.builder.moveDown(.5).row({columns:2,left:o,right:i},r=>this.builder.text("Troco R$",{...r,align:"left"}),r=>this.builder.text(this.context.currency(e),{...r,align:"right"}))}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.builder.moveDown(.5),this.payments(),this.change(),this.builder}end(){t._instance=void 0}height(){this.setup();let{pag:{vTroco:e,detPag:o}}=this.context.data.infNFe,i=Array.isArray(o)?o:[o],r=this.context.isValueNotEmpty(e)?this.builder.currentLineHeight()+.5:0;return this.builder.currentLineHeight()*i.length-1+r}};var fp=class t{static{s(this,"AccessKey")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}statics(){let{left:e,right:o}=this.builder.pageMargins(),i=this.context.defaults.font,r=`${i}-Bold`;this.builder.font(r).row({left:e,right:o},n=>this.builder.text("Consulte pela Chave de Acesso em",{...n,align:"center"})).font(i)}url(){let{urlChave:e}=this.context.data.infNFeSupl??{},{left:o,right:i}=this.builder.pageMargins();this.builder.row({left:o,right:i},r=>this.builder.text(e??"",{...r,link:e,align:"center"}))}accessKey(){let{Id:e}=this.context.data.infNFe.$;if(!e)return;this.builder.moveDown(.5);let o=e.substring(3).replace(/(.{4})/g,"$1 ").trim(),{left:i,right:r}=this.builder.pageMargins();this.builder.row({left:i,right:r},n=>this.builder.text(o,{...n,align:"center"}))}setup(){this.builder.font(this.context.defaults.font,this.context.options.titleFontSize)}build(){return this.builder.moveDown(.5),this.statics(),this.url(),this.accessKey(),this.builder}end(){t._instance=void 0}};var bR=lt(dg(),1);var lf=class t{static{s(this,"QRCode")}context;static _instance;qrCodeSvg;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get hasContingency(){let{tpEmis:e}=this.context.data.infNFe.ide;return e!==vt.Normal}get qrSize(){let{left:e,right:o}=this.builder.pageMargins(),i=this.builder.pageWidth()-e-o,r=this.hasContingency?.6:.4;return Math.floor(i*r)}async getQrSvgString(e){try{return await bR.toString(e,{margin:0,type:"svg",errorCorrectionLevel:"M",color:{dark:"#000000",light:"#FFFFFF"}})}catch(o){return console.error("Error generating QR code:",o),""}}drawQrCode(){if(!this.qrCodeSvg)return;let e=this.qrCodeSvg.$.viewBox,[,,o,i]=e.split(" ").map(Number),r=this.qrSize,n=r/o,a=r/i,c=Array.isArray(this.qrCodeSvg.path)?this.qrCodeSvg.path:[this.qrCodeSvg.path],{left:p,right:u}=this.builder.pageMargins(),l=this.builder.pageWidth()-p-u,d=p+(l-r)/2,m=this.builder.y();this.builder.save().translate(d,m).scale(n,a),c.forEach(y=>{this.builder.path(y.$.d),y.$.fill&&this.builder.fill(y.$.fill),y.$.stroke&&this.builder.stroke(y.$.stroke)}),this.builder.restore(),this.builder.text("",{y:m+r})}async make(){let{qrCode:e}=this.context.data.infNFeSupl??{};if(!e)return this.builder;let o=await this.getQrSvgString(e);this.qrCodeSvg=await this.context.toolkit.parse(o)}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}async build(){return await this.make(),this.qrCodeSvg?(this.setup(),this.builder.moveDown(.5),this.drawQrCode(),this.builder):this.builder}end(){t._instance=void 0}height(){let{qrCode:e}=this.context.data.infNFeSupl??{};return e?(this.setup(),this.qrSize+.5):0}};var uf=class t{static{s(this,"Recipient")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}unknown(e){let{left:o,right:i}=this.builder.pageMargins(),r=this.context.defaults.font,n=`${r}-Bold`;this.builder.row({left:e?.x??o,right:i},a=>this.builder.font(n).text("CONSUMIDOR N\xC3O IDENTIFICADO",{...a,align:"center"}).font(r))}identification(e){let{CNPJ:o,CPF:i,idEstrangeiro:r}=e;return o?.length===14?`CNPJ: ${o.replace(/([A-Z0-9]{2})([A-Z0-9]{3})([A-Z0-9]{3})([A-Z0-9]{4})([A-Z0-9]{2})/,"$1.$2.$3/$4-$5")}`:i?.length===11?`CPF: ${i.replace(/(\d{3})(\d{3})(\d{3})(\d{2})/,"$1.$2.$3-$4")}`:r?.length?`Id. Estrangeiro: ${r}`:""}dest(e){let{dest:o}=this.context.data.infNFe;if(!o)return this.unknown(e);let{left:i,right:r}=this.builder.pageMargins(),n=this.identification(o),{xNome:a,enderDest:c}=o,p=this.addressLine(c),u=this.context.defaults.font,l=`${u}-Bold`;this.builder.row({left:e?.x??i,right:r},d=>this.builder.font(l).text(`CONSUMIDOR - ${n}`,{...d,align:"center"}).font(u)).row({left:e?.x??i,right:r},d=>this.builder.text(`${a}${p}`,{...d,align:"center"}))}addressLine(e){if(!e)return"";let{xLgr:o,nro:i,xBairro:r,xCpl:n,xMun:a,UF:c,CEP:p}=e;if(!o||!p)return"";let u=n?`, ${n}`:"";return` - Rua ${o}, ${i}, ${r}${u}, ${a} - ${c}`}addressLine2(e){let{xBairro:o,xCpl:i}=e,r=i?` - ${i}`:"";return`${o}${r}`}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(e){return this.setup(),this.builder.moveDown(.5),this.dest(e),this.builder}end(){t._instance=void 0}height(){this.setup();let{left:e,right:o}=this.builder.pageMargins(),i=this.builder.pageWidth()-e-o,r=[this.builder.currentLineHeight()*.5],{dest:n}=this.context.data.infNFe;if(!n)return r.push(this.builder.heightOfString("CONSUMIDOR N\xC3O IDENTIFICADO",{width:i,align:"center"})),r.reduce((l,d)=>l+d,0);let a=this.identification(n),{xNome:c,enderDest:p}=n,u=this.addressLine(p);return r.push(this.builder.heightOfString(`CONSUMIDOR - ${a}`,{width:i,align:"center"}),this.builder.heightOfString(`${c}${u}`,{width:i,align:"center"})),r.reduce((l,d)=>l+d,0)}};var _r=require("nfets/core");var df=class t{static{s(this,"Protocols")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}isProtocoled(e){return!!e}protocol(e){let o=this.context.protNFe;return this.isProtocoled(o)?this.protocoled(o.infProt,e):this.unprotocoled()}unprotocoled(){}metadata(e){let{nNF:o,serie:i,dhEmi:r}=this.context.data.infNFe.ide,n=o.padStart(9,"0"),a=i.padStart(3,"0"),{left:c,right:p}=this.builder.pageMargins(),{cUF:u}=this.context.data.infNFe.ide,l=_r.timezones[u],d=(0,_r.dateToolkit)(r).tz(l).format("DD/MM/YYYY HH:mm:ss"),m=this.context.defaults.font,y=`${m}-Bold`;this.builder.row({left:e?.x??c,right:p},x=>this.builder.font(y).text(`NFC-e n\xBA ${n} - s\xE9rie ${a} emitida em: ${d}`,{...x,align:"center"}).font(m))}protocoled(e,o){let{dhRecbto:i,nProt:r}=e,{left:n,right:a}=this.builder.pageMargins(),{cUF:c}=this.context.data.infNFe.ide,p=_r.timezones[c],u=r.replace(/([0-9]{3})([0-9]{10})(.*)/g,"$1 $2 $3"),l=(0,_r.dateToolkit)(i).tz(p).format("DD/MM/YYYY HH:mm:ss");this.builder.row({left:o?.x??n,right:a},d=>this.builder.text(`Protocolo de autoriza\xE7\xE3o: ${u}
37
37
  Data de autoriza\xE7\xE3o: ${l}`,{...d,align:"center"}))}assemble(e){let{cMsg:o,xMsg:i}=this.context.protNFe?.infProt??{},{left:r,right:n}=this.builder.pageMargins();return i&&this.builder.row({left:e?.x??r,right:n},a=>this.builder.text(`$(${o}) ${i}`,{...a,align:"left"})),this.protocol(e)}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(e){return this.setup(),this.builder.moveDown(.5),this.metadata(e),this.assemble(e),this.builder}end(){t._instance=void 0}height(){this.setup();let e=[.5],{left:o,right:i}=this.builder.pageMargins(),r=this.builder.pageWidth()-o-i,{nNF:n,serie:a,dhEmi:c}=this.context.data.infNFe.ide,p=n.padStart(9,"0"),u=a.padStart(3,"0"),{cUF:l}=this.context.data.infNFe.ide,d=_r.timezones[l],m=(0,_r.dateToolkit)(c).tz(d).format("DD/MM/YYYY HH:mm:ss");e.push(this.builder.heightOfString(`NFC-e n\xBA ${p} - s\xE9rie ${u} emitida em: ${m}`,{width:r,align:"center"}));let{cMsg:y,xMsg:x}=this.context.protNFe?.infProt??{};x&&e.push(this.builder.heightOfString(`$(${y}) ${x}`,{width:r,align:"left"}));let N=this.context.protNFe;if(N){let{dhRecbto:C,nProt:b}=N.infProt,I=b.replace(/([0-9]{3})([0-9]{10})(.*)/g,"$1 $2 $3"),A=(0,_r.dateToolkit)(C).tz(d).format("DD/MM/YYYY HH:mm:ss");e.push(this.builder.heightOfString(`Protocolo de autoriza\xE7\xE3o: ${I}
38
- Data de autoriza\xE7\xE3o: ${A}`,{width:r,align:"center"}))}return e.reduce((C,b)=>C+b,0)}};var df=class t{static{s(this,"AggregateRecipientToProtocols")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builders(){return[lf.instance(this.context),uf.instance(this.context),Fa.instance(this.context)]}get builder(){return this.context.builder}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(e){return this.setup(),this.builders.forEach(o=>o.build(e)),this.builder}end(){t._instance=void 0,this.builders.forEach(e=>e.end())}height(){return this.setup(),this.builders.reduce((e,o)=>e+(o.height?.()??0),0)}};var LP=.35277777777777775,dg=.75,yR={"80mm":80/LP},Ma="gerado por github.com/nfets/nfets";var ff=class t{static{s(this,"Footer")}context;static _instance;constants={vTotTrib:"Tributos Totais Incidentes (Lei Federal 12.741/2012): R$"};static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}vTotTrib(){let{vTotTrib:e}=this.context.data.infNFe.total.ICMSTot,{left:o,right:i}=this.builder.pageMargins(),r=!e||!Number.parseFloat(e.toString())?"-----":this.context.currency(e);this.builder.row({left:o,right:i},n=>this.builder.text(`${this.constants.vTotTrib} ${r}`,{...n,align:"center"}))}get infCplText(){return(this.context.data.infNFe.infAdic?.infCpl?.replace(/;/g,`
38
+ Data de autoriza\xE7\xE3o: ${A}`,{width:r,align:"center"}))}return e.reduce((C,b)=>C+b,0)}};var ff=class t{static{s(this,"AggregateRecipientToProtocols")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builders(){return[uf.instance(this.context),df.instance(this.context),Fa.instance(this.context)]}get builder(){return this.context.builder}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(e){return this.setup(),this.builders.forEach(o=>o.build(e)),this.builder}end(){t._instance=void 0,this.builders.forEach(e=>e.end())}height(){return this.setup(),this.builders.reduce((e,o)=>e+(o.height?.()??0),0)}};var _P=.35277777777777775,fg=.75,xR={"80mm":80/_P},Ma="gerado por github.com/nfets/nfets";var mf=class t{static{s(this,"Footer")}context;static _instance;constants={vTotTrib:"Tributos Totais Incidentes (Lei Federal 12.741/2012): R$"};static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}vTotTrib(){let{vTotTrib:e}=this.context.data.infNFe.total.ICMSTot,{left:o,right:i}=this.builder.pageMargins(),r=!e||!Number.parseFloat(e.toString())?"-----":this.context.currency(e);this.builder.row({left:o,right:i},n=>this.builder.text(`${this.constants.vTotTrib} ${r}`,{...n,align:"center"}))}get infCplText(){return(this.context.data.infNFe.infAdic?.infCpl?.replace(/;/g,`
39
39
  `)??"").split(`
40
40
  `).map(o=>o.trim().replace(/[\x00-\x08\x0B-\x0C\x0E-\x1F\x7F-\x9F]/g,"")).filter(o=>o.length>0).join(`
41
- `)}infCpl(){if(!this.infCplText)return;let{left:e,right:o}=this.builder.pageMargins();this.builder.row({left:e,right:o},i=>this.builder.text(this.infCplText,{...i,align:"center"}))}credits(){let e=this.context.options.credits;if(!e)return;this.builder.moveDown(.5);let{left:o,right:i}=this.builder.pageMargins();if(e===Ma)return this.builder.row({left:o,right:i},r=>this.builder.text(e,{...r,link:"https://github.com/nfets/nfets",align:"center"}));this.builder.row({left:o,right:i},r=>this.builder.text(e,{...r,align:"center"}))}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.builder.moveDown(1),this.vTotTrib(),this.infCpl(),this.credits(),this.builder}end(){t._instance=void 0}height(){this.setup();let e=[this.builder.currentLineHeight()*.5],o=this.context.options.credits,{left:i,right:r}=this.builder.pageMargins(),n=this.builder.pageWidth()-i-r,{vTotTrib:a}=this.context.data.infNFe.total.ICMSTot,c=!a||!Number.parseFloat(a.toString())?"-----":this.context.currency(a);return e.push(this.builder.heightOfString(`${this.constants.vTotTrib} ${c}`,{width:n,align:"center"})),this.infCplText&&e.push(this.builder.heightOfString(this.infCplText,{width:n,align:"center"})),o&&e.push(this.builder.currentLineHeight()*.5,this.builder.heightOfString(o,{width:n,align:"center"})),e.reduce((p,u)=>p+u,0)}};var Cp=class t{static{s(this,"AggregateQrCodeToProtocols")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builders(){return[df.instance(this.context),pf.instance(this.context),ff.instance(this.context)]}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}get builder(){return this.context.builder}async build(){this.setup();let[e,o,i]=this.builders;return e.build(),await o.build(),i.build(),this.builder}end(){t._instance=void 0,this.builders.forEach(e=>e.end())}height(){return this.setup(),this.builders.reduce((e,o)=>e+o.height(),0)}};var bR=require("stream"),xR=require("nfets/core"),mf=require("nfets/core");var Np=class{static{s(this,"DanfcePdfDocument")}stream;builder;toolkit=new mf.Xml2JsToolkit;defaults={displayTitle:!0,font:"Helvetica",info:{Author:"nfets",Creator:"nfets",Keywords:"nfets, nfce, danfce, sefaz",Title:"Documento Auxiliar da Nota Fiscal do Consumidor Eletr\xF4nica",Subject:"DANFE NFC-e"}};options={width:"80mm",height:160,textFontSize:9*dg,titleFontSize:11*dg,credits:Ma};constructor(e){this.stream=e,this.builder=xR.PdfkitPdfBuilder.new(this.defaults).pipe(this.stream),this.apply()}async getDynamicHeight(e,o){let i=o(new bR.PassThrough);try{i.options.height=1e4,i.apply(),i.builder.page(),await i.parse(e);for(let n of i.builders)await n.build();let{bottom:r}=i.pageMargins;return i.builder.y()+r+8}finally{i.end()}}pageMargins={top:12,right:8,bottom:28,left:8};height(){this.builder.page();let{top:e,bottom:o}=this.pageMargins;return this.builders.reduce((r,n)=>r+(n.height?.()??0),0)+e+o}apply(){this.builder.configure({size:[yR[this.options.width],this.options.height],margins:this.pageMargins,layout:"portrait"})}async parse(e){let o=await this.toolkit.parse(e);"protNFe"in o&&(this.protNFe=o.protNFe),"NFe"in o?this.data=o.NFe:this.data=o}async build(e){await this.parse(e),this.options.height=await this.getDynamicHeight(e,this.clone.bind(this)),this.apply(),this.builder.page();for(let o of this.builders)await o.build();return this}end(){return this.builder.end(),this.builders.map(e=>e.end()),void 0}currency(e,o=2){return new mf.Decimal(e).toNumber().toLocaleString("pt-BR",{minimumFractionDigits:2,maximumFractionDigits:o})}isValueNotEmpty(e){return!!e&&Number.parseFloat(e.toString())>0}};var fg=class t extends Np{static{s(this,"DanfceDefaultPdfDocument")}clone(e){return new t(e)}get builders(){return[pp.instance(this),Fa.instance(this),lp.instance(this),Zd.instance(this),up.instance(this),dp.instance(this),fp.instance(this),Cp.instance(this)]}};var mg=class t extends Np{static{s(this,"DanfceReducedPdfDocument")}clone(e){return new t(e)}get builders(){return[pp.instance(this),Fa.instance(this),lp.instance(this),up.instance(this),dp.instance(this),fp.instance(this),Cp.instance(this)]}};var CR=require("nfets/core"),NR=require("nfets/core");var Bs=require("nfets/core");var hf=class{static{s(this,"DanfeFormatter")}context;constructor(e){this.context=e}isNotEmpty(e){return!!e&&Number.parseFloat(e.toString())>0}emitted(e,o){let i=String(e??"0").trim(),r=i.startsWith("-"),n=r?i.slice(1):i,[a,c=""]=n.split("."),p=Math.min(Math.max(c.length,2),o),l=(a.replace(/\D/g,"")||"0").replace(/\B(?=(\d{3})+(?!\d))/g,"."),d=c.padEnd(p,"0").slice(0,p),m=`${l},${d}`;return r?`-${m}`:m}decimal(e,o=2,i=o){return new Bs.Decimal(e??0).toNumber().toLocaleString("pt-BR",{minimumFractionDigits:o,maximumFractionDigits:i})}currency(e){return this.decimal(e,2)}percent(e){return`${this.decimal(e,2,4)}%`}document(e,o){return e?.length===14?e.replace(/([A-Z0-9]{2})([A-Z0-9]{3})([A-Z0-9]{3})([A-Z0-9]{4})([A-Z0-9]{2})/,"$1.$2.$3/$4-$5"):o?.length===11?o.replace(/(\d{3})(\d{3})(\d{3})(\d{2})/,"$1.$2.$3-$4"):e??o??""}cep(e){return e?e.replace(/(\d{5})(\d{3})/,"$1-$2"):""}phone(e){return e?e.replace(/^(\d{2})(\d{4,5})(\d{4})$/,"($1) $2-$3"):""}number(e){return e.padStart(9,"0").replace(/(\d{3})(\d{3})(\d{3})/,"$1.$2.$3")}serie(e){return e.padStart(3,"0")}blank(e){return this.sanitize(e)||"\u2014"}accessKey(){return this.accessKeyDigits().replace(/(.{4})/g,"$1 ").trim()}accessKeyDigits(){let{Id:e}=this.context.data.infNFe.$;return(e??"").replace(/^NFe/,"")}tz(e){let{cUF:o}=this.context.data.infNFe.ide;return(0,Bs.dateToolkit)(e).tz(Bs.timezones[o])}date(e){return e?this.tz(e).format("DD/MM/YYYY"):""}time(e){return e?this.tz(e).format("HH:mm:ss"):""}dateTime(e){return e?this.tz(e).format("DD/MM/YYYY HH:mm:ss"):""}plainDate(e){if(!e)return"";let[o,i,r]=e.substring(0,10).split("-");return`${r}/${i}/${o}`}now(){return(0,Bs.dateToolkit)().format("DD/MM/YYYY [\xE0s] HH:mm:ss")}sanitize(e){return(e??"").replace(/[\x00-\x08\x0B-\x0C\x0E-\x1F\x7F-\x9F]/g,"").trim()}};var vf=class{static{s(this,"FieldBox")}context;labelSize=5;valueSize=8;titleSize=6.5;muted="#595959";padding=2.5;rowHeight=V(7);radius=V(.8);constructor(e){this.context=e}get builder(){return this.context.builder}get titleHeight(){return this.titleSize*1.2+1}get labelHeight(){return this.labelSize*1.2}text(e,o,i,r,n,a){if(!e)return;this.builder.fillColor(a.color??"black").font(a.bold?this.context.bold:this.context.defaults.font).fontSize(a.size);let c=this.builder.currentLineHeight(!0);this.builder.text(e,{x:o,y:i,width:Math.max(r,1),height:Math.max(n,c+.5),align:a.align??"left",ellipsis:a.lineBreak!==!1,lineBreak:a.lineBreak,lineGap:0})}measure(e,o,i){return e?(this.builder.font(i.bold?this.context.bold:this.context.defaults.font).fontSize(i.size),this.builder.heightOfString(e,{width:o,lineGap:0})):0}rect(e,o,i,r){this.builder.roundedRect(e,o,i,r,this.radius).stroke()}box(e,o,i,r,n){let a=this.padding;if(this.rect(e,o,i,r),this.text(n.label,e+a,o+a,i-2*a,this.labelHeight,{size:this.labelSize,color:this.muted}),!n.value)return;let c=o+a+this.labelHeight+.5;this.text(n.value,e+a,c,i-2*a,o+r-c-.5,{size:n.valueSize??this.valueSize,bold:n.bold,align:n.align??"left"})}widths(e,o){let i=o.reduce((r,n)=>r+n,0);return o.map(r=>e*r/i)}row(e,o,i,r,n){let a=this.widths(i,n.map(p=>p.weight)),c=e;return n.forEach((p,u)=>{this.box(c,o,a[u],r,p),c+=a[u]}),r}grid(e,o,i,r,n,a=this.rowHeight){let c=i/n,p=this.gridRows(r.length,n);for(let u=0;u<p;u++){let l=r.slice(u*n,(u+1)*n);l.forEach((d,m)=>{let y=m===l.length-1,x=e+m*c,N=y?e+i-x:c;this.box(x,o+u*a,N,a,d)})}return p*a}gridRows(e,o){return Math.ceil(e/o)}widthOf(e,o){return e?(this.builder.font(o.bold?this.context.bold:this.context.defaults.font).fontSize(o.size),this.builder.widthOfString(e)):0}title(e,o,i,r){return this.text(r,e,o+1,i,this.titleHeight-1,{size:this.titleSize,bold:!0,color:"black"}),this.titleHeight}};var SR=require("nfets/core");var gf=class{static{s(this,"StatusMarks")}context;cancelled=["101","135","151","155"];denied=[Xr.UsoDenegado,Xr.NfeDenegada,Xr.DenegadaIrregularidadeEmissor,Xr.DenegadaIrregularidadeDestinatario,Xr.DenegadaNaoHabilitadaNaUf];invalid="SEM VALOR FISCAL";messageSize=40;detailSize=16;lineHeight=1.3;constructor(e){this.context=e}get isHomolog(){return this.context.data.infNFe.ide.tpAmb!==SR.Environment.Production}get isContingency(){return this.context.data.infNFe.ide.tpEmis!==ht.Normal}get isProtocoled(){return!!this.context.protNFe}get cStat(){return this.context.protNFe?.infProt.cStat}get cancellation(){return this.context.events.map(e=>e.infEvento).find(e=>e.tpEvento===vt.Cancelamento&&this.cancelled.includes(e.cStat))}status(){if(!this.isProtocoled&&this.isContingency)return{messages:["EMITIDA EM CONTING\xCANCIA","PENDENTE DE AUTORIZA\xC7\xC3O"],valid:!0};if(!this.isProtocoled)return{messages:["NFe N\xC3O PROTOCOLADA"],valid:!1};let e=[];this.isHomolog&&e.push("NFe EMITIDA EM HOMOLOGA\xC7\xC3O");let o=this.cStat,i=this.cancellation,r;return o&&this.denied.includes(o)?(e.push("NFe DENEGADA"),r=this.context.protNFe?.infProt.xMotivo):o&&this.cancelled.includes(o)?e.push("NFe CANCELADA"):i&&(e.push("NFe CANCELADA"),r=[this.context.format.dateTime(i.dhRegEvento),i.nProt].filter(Boolean).join(" - ")),{messages:e,detail:r,valid:!e.length}}fit(e,o,i){this.context.builder.font(this.context.bold).fontSize(o);let r=this.context.builder.widthOfString(e);return r>i?o*i/r:o}watermark(e,o,i,r){let{messages:n,detail:a,valid:c}=this.status(),p=c?n:[...n,this.invalid];if(!p.length)return;let u=i*.9,l=p.map(A=>this.fit(A,this.messageSize,u)),d=a?this.fit(a,this.detailSize,u):0,m=(l.reduce((A,D)=>A+D,0)+d)*this.lineHeight,y=Math.min(1,r/m),x=c?p.length:p.length-1,{builder:N,fields:C}=this.context,b=o+Math.max((r-m*y)/2,0),I=s((A,D)=>{let H=D*y;C.text(A,e,b,i,H*this.lineHeight,{size:H,bold:!0,align:"center"}),b+=H*this.lineHeight},"write");N.save().fillColor("#000000",.3),p.forEach((A,D)=>{a&&D===x&&I(a,d),I(A,l[D])}),a&&x===p.length&&I(a,d),N.restore().fillColor("black")}};var Rp=class{static{s(this,"DanfePdfDocument")}stream;events=[];builder;toolkit=new NR.Xml2JsToolkit;format=new hf(this);fields=new vf(this);status=new gf(this);defaults={displayTitle:!0,font:"Helvetica",info:{Author:"nfets",Creator:"nfets",Keywords:"nfets, nfe, danfe, sefaz",Title:"Documento Auxiliar da Nota Fiscal Eletr\xF4nica",Subject:"DANFE NF-e"}};options={size:"A4",layout:"portrait",qComDecimals:4,vUnComDecimals:4,showCanhoto:!0,showItemBatch:!0,showItemComplement:!1,showItemOrderNumber:!1,breakItemDescription:!0,hideTaxUnit:!1,credits:Ma};margins=Tf;gap=V(1);page={number:1,total:1};_blocks;get blocks(){return this._blocks??=this.createBlocks()}constructor(e){this.stream=e,this.builder=CR.PdfkitPdfBuilder.new(this.defaults).pipe(this.stream)}get bold(){return`${this.defaults.font}-Bold`}sideCanhotoWidth=0;get contentWidth(){let{left:e,right:o}=this.margins,i=this.sideCanhotoWidth,r=i>0?this.gap:0;return this.builder.pageWidth()-e-o-i-r}get det(){return this.asArray(this.data.infNFe.det)}asArray(e){return e==null?[]:Array.isArray(e)?e:[e]}apply(){this.builder.configure({size:this.options.size,margins:this.margins,layout:this.options.layout})}async parse(e){let o=await this.toolkit.parse(e);"protNFe"in o&&(this.protNFe=o.protNFe),"NFe"in o?(this.data=o.NFe,this.events=this.asArray(o.retEvento)):this.data=o}visible(e){return e.filter(o=>!!o&&o.visible())}stackHeight(e){return e.reduce((o,i)=>o+this.gap+i.height(),0)}get canhoto(){if(this.options.showCanhoto)return this.blocks.canhoto}get pageTop(){return this.margins.top}get pageBottom(){let{footer:e}=this.blocks;return this.builder.pageHeight()-this.margins.bottom-e.height()}paginate(){let{header:e,firstPage:o,items:i,lastPage:r}=this.blocks,n=this.pageBottom-this.pageTop,a=e.height()+this.gap+i.headerHeight(),c=this.sideCanhotoWidth>0?0:this.canhoto?.height()??0,p=this.stackHeight(this.visible(o)),u=this.stackHeight(this.visible(r)),l=[],d=[],m=0,y=n-c-a-p;for(let x of this.det){let N=i.itemHeight(x);d.length&&m+N>y&&(l.push(d),d=[],m=0,y=n-a),d.push(x),m+=N}return m+u>y&&(l.push(d),d=[]),l.push(d),l.map((x,N)=>({items:x,isFirst:N===0,isLast:N===l.length-1}))}draw(e){let{header:o,firstPage:i,items:r,lastPage:n,footer:a}=this.blocks,c=this.margins.left,p=this.contentWidth,u=this.pageTop,l=this.canhoto;if(e.isFirst&&l&&this.sideCanhotoWidth===0&&(l.build({x:c,y:u,width:p}),u+=l.height()),o.build({x:c,y:u,width:p}),u+=o.height(),e.isFirst)for(let y of this.visible(i))u+=this.gap,y.build({x:c,y:u,width:p}),u+=y.height();let d=this.visible(n),m=e.isLast?this.pageBottom-this.stackHeight(d):this.pageBottom;if(u+=this.gap,r.slice=e,r.boxHeight=m-u,r.build({x:c,y:u,width:p}),u=m,e.isLast)for(let y of d)u+=this.gap,y.build({x:c,y:u,width:p}),u+=y.height();a.build({x:c,y:this.pageBottom,width:p}),e.isFirst&&l&&this.sideCanhotoWidth>0&&l.build({x:c+p+this.gap,y:this.pageTop,width:this.sideCanhotoWidth,height:this.builder.pageHeight()-this.margins.top-this.margins.bottom})}async build(e){await this.parse(e),this.apply(),this.builder.page();let{canhoto:o,header:i,firstPage:r,items:n,lastPage:a,footer:c}=this.blocks,p=[o,i,...r,n,...a,c];for(let l of p)await l?.prepare();let u=this.paginate();return u.forEach((l,d)=>{d>0&&this.builder.page(),this.page={number:d+1,total:u.length},this.draw(l)}),this}end(){this.builder.end()}};var Te=class{static{s(this,"DanfeBlock")}context;constructor(e){this.context=e}get builder(){return this.context.builder}get fields(){return this.context.fields}get format(){return this.context.format}get infNFe(){return this.context.data.infNFe}visible(){return!0}prepare(){return Promise.resolve()}setup(){this.builder.font(this.context.defaults.font).fillColor("black").strokeColor("black").lineWidth(.5).undash()}build(e){return this.setup(),this.draw(e??{x:this.context.margins.left,y:this.context.margins.top,width:this.context.contentWidth}),this.builder}end(){}};var wp=class extends Te{static{s(this,"Canhoto")}textHeight=V(10);signatureHeight=V(7);numberWidth=V(35);spacing=V(4);height(){return this.textHeight+this.signatureHeight+this.spacing}receivedText(e=!0){let{emit:o,dest:i,ide:r,total:n}=this.infNFe,a=e?"AO LADO":"ABAIXO",c=[`RECEBEMOS DE ${o.xNome} OS PRODUTOS E/OU SERVI\xC7OS CONSTANTES DA NOTA FISCAL ELETR\xD4NICA INDICADA ${a}.`,`EMISS\xC3O: ${this.format.date(r.dhEmi)}`,`VALOR TOTAL: R$ ${this.format.currency(n.ICMSTot.vNF)}`];if(i?.xNome){let p=i.enderDest,u=p?` - ${[p.xLgr,p.nro].filter(Boolean).join(", ")} ${p.xBairro??""} ${p.xMun??""}-${p.UF??""}`:"";c.push(`DESTINAT\xC1RIO: ${i.xNome}${u}`)}return c.join(" ")}draw(e){if(e.height)return this.drawSide(e);this.drawTop(e)}drawSide({x:e,y:o,width:i,height:r=0}){let n=V(24),a=Math.max(r-n,0);this.fields.rect(e,o,i,r),this.drawRotated([this.receivedText(!1),"DATA DE RECEBIMENTO","IDENTIFICA\xC7\xC3O E ASSINATURA DO RECEBEDOR"].join(" "),e,o,i,a),this.drawNumber(e,o+a,i,n)}drawRotated(e,o,i,r,n){this.builder.save().translate(o,i+n).rotate(-90),this.fields.text(e,0,1,n,r-2,{size:6}),this.builder.restore()}drawTop({x:e,y:o,width:i}){let r=this.fields.padding,n=i-this.numberWidth;this.fields.rect(e,o,n,this.textHeight),this.fields.text(this.receivedText(),e+r,o+r,n-2*r,this.textHeight-2*r,{size:6.5}),this.fields.row(e,o+this.textHeight,n,this.signatureHeight,[{label:"DATA DE RECEBIMENTO",weight:40},{label:"IDENTIFICA\xC7\xC3O E ASSINATURA DO RECEBEDOR",weight:125}]);let a=this.textHeight+this.signatureHeight;this.drawNumber(e+n,o,this.numberWidth,a);let c=o+a+this.spacing/2;this.builder.save().lineWidth(.4).dash(3,{space:2}).moveTo(e,c).lineTo(e+i,c).stroke().undash().restore()}drawNumber(e,o,i,r){let{nNF:n,serie:a}=this.infNFe.ide;this.fields.rect(e,o,i,r),this.fields.text("NF-e",e,o+V(2),i,16,{size:12,bold:!0,align:"center"}),this.fields.text(`N\xBA. ${this.format.number(n)}
42
- S\xE9rie ${this.format.serie(a)}`,e,o+V(8),i,r-V(8),{size:7,bold:!0,align:"center"})}};var yf=class t{static{s(this,"Code128C")}static patterns=["212222","222122","222221","121223","121322","131222","122213","122312","132212","221213","221312","231212","112232","122132","122231","113222","123122","123221","223211","221132","221231","213212","223112","312131","311222","321122","321221","312212","322112","322211","212123","212321","232121","111323","131123","131321","112313","132113","132311","211313","231113","231311","112133","112331","132131","113123","113321","133121","313121","211331","231131","213113","213311","213131","311123","311321","331121","312113","312311","332111","314111","221411","431111","111224","111422","121124","121421","141122","141221","112214","112412","122114","122411","142112","142211","241211","221114","413111","241112","134111","111242","121142","121241","114212","124112","124211","411212","421112","421211","212141","214121","412121","111143","111341","131141","114113","114311","411113","411311","113141","114131","311141","411131","211412","211214","211232","2331112"];static startC=105;static stop=106;static codes(e){if(!/^\d*$/.test(e)||e.length%2!==0)throw new Error("Code128C requires an even number of digits");let o=e.match(/\d{2}/g)?.map(Number)??[],i=o.reduce((r,n,a)=>r+n*(a+1),t.startC)%103;return[t.startC,...o,i,t.stop]}static modules(e){return t.codes(e).flatMap(o=>t.patterns[o].split("").map(Number))}static draw(e,o,i,r,n,a){let c=t.modules(o),p=c.reduce((d,m)=>d+m,0),u=n/p;e.save().fillColor("black");let l=i;c.forEach((d,m)=>{let y=d*u;m%2===0&&e.rect(l,r,y,a),l+=y}),e.fill().restore()}};var Ip=class extends Te{static{s(this,"Header")}topHeight=V(32);emitWidth=V(80);danfeWidth=V(34);barcodeHeight=V(12);height(){let e=1+this.registrationRows().length;return this.topHeight+e*this.fields.rowHeight}get logo(){return this.context.options.logo}registrationRows(){let{emit:e}=this.infNFe;return[[{label:"INSCRI\xC7\xC3O ESTADUAL",value:this.format.blank(e.IE),weight:1},{label:"INSCRI\xC7\xC3O MUNICIPAL",value:this.format.blank(e.IM),weight:1},{label:"INSCRI\xC7\xC3O ESTADUAL DO SUBST. TRIBUT.",value:this.format.blank(e.IEST),weight:1},{label:"CNPJ / CPF",value:this.format.blank(this.format.document(e.CNPJ,e.CPF)),weight:1}]]}emitAddress(){let{enderEmit:e}=this.infNFe.emit,{xLgr:o,nro:i,xCpl:r,xBairro:n,CEP:a,xMun:c,UF:p,fone:u}=e,l=r?` - ${r}`:"",d=u?` Fone/Fax: ${this.format.phone(u)}`:"";return[`${o}, ${i}${l}`,`${n} - ${this.format.cep(a)}`,`${c} - ${p}${d}`].join(`
43
- `)}drawEmit(e,o){let i=this.fields.padding,r=this.emitWidth,n=this.topHeight;this.fields.box(e,o,r,n,{label:"IDENTIFICA\xC7\xC3O DO EMITENTE"});let a=o+i+this.fields.labelHeight,c=o+n-i-a,p=V(1),u=this.logo,l=u?c:0,d=e+i+l+(u?p:0),m=r-2*i-l-(u?p:0),{xNome:y}=this.infNFe.emit,x=this.emitAddress(),N=Math.min(this.fields.measure(y,m,{size:9,bold:!0}),V(10)),C=Math.min(this.fields.measure(x,m,{size:7}),c-N-p),b=N+p+C,I=a+Math.max((c-b)/2,0),A=I+N+p;u&&this.builder.image(u,e+i,a,{fit:[l,c],align:"center",valign:"center"}),this.fields.text(y,d,I,m,N,{size:9,bold:!0,align:"center"}),this.fields.text(x,d,A,m,C,{size:7,align:"center"})}drawDanfe(e,o){let i=this.danfeWidth,{tpNF:r,nNF:n,serie:a}=this.infNFe.ide,{number:c,total:p}=this.context.page;this.fields.rect(e,o,i,this.topHeight),this.fields.text("DANFE",e,o+V(1.5),i,14,{size:12,bold:!0,align:"center"}),this.fields.text(`Documento Auxiliar da Nota
44
- Fiscal Eletr\xF4nica`,e,o+V(6.5),i,V(6),{size:7,align:"center"}),this.fields.text(`0 - ENTRADA
45
- 1 - SA\xCDDA`,e+V(4),o+V(13),V(20),V(6),{size:7});let u=V(6),l=e+i-u-V(4),d=o+V(13);this.fields.rect(l,d,u,u),this.fields.text(r,l,d+V(1),u,u,{size:11,bold:!0,align:"center"}),this.fields.text(`N\xBA. ${this.format.number(n)}
41
+ `)}infCpl(){if(!this.infCplText)return;let{left:e,right:o}=this.builder.pageMargins();this.builder.row({left:e,right:o},i=>this.builder.text(this.infCplText,{...i,align:"center"}))}credits(){let e=this.context.options.credits;if(!e)return;this.builder.moveDown(.5);let{left:o,right:i}=this.builder.pageMargins();if(e===Ma)return this.builder.row({left:o,right:i},r=>this.builder.text(e,{...r,link:"https://github.com/nfets/nfets",align:"center"}));this.builder.row({left:o,right:i},r=>this.builder.text(e,{...r,align:"center"}))}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.builder.moveDown(1),this.vTotTrib(),this.infCpl(),this.credits(),this.builder}end(){t._instance=void 0}height(){this.setup();let e=[this.builder.currentLineHeight()*.5],o=this.context.options.credits,{left:i,right:r}=this.builder.pageMargins(),n=this.builder.pageWidth()-i-r,{vTotTrib:a}=this.context.data.infNFe.total.ICMSTot,c=!a||!Number.parseFloat(a.toString())?"-----":this.context.currency(a);return e.push(this.builder.heightOfString(`${this.constants.vTotTrib} ${c}`,{width:n,align:"center"})),this.infCplText&&e.push(this.builder.heightOfString(this.infCplText,{width:n,align:"center"})),o&&e.push(this.builder.currentLineHeight()*.5,this.builder.heightOfString(o,{width:n,align:"center"})),e.reduce((p,u)=>p+u,0)}};var Cp=class t{static{s(this,"AggregateQrCodeToProtocols")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builders(){return[ff.instance(this.context),lf.instance(this.context),mf.instance(this.context)]}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}get builder(){return this.context.builder}async build(){this.setup();let[e,o,i]=this.builders;return e.build(),await o.build(),i.build(),this.builder}end(){t._instance=void 0,this.builders.forEach(e=>e.end())}height(){return this.setup(),this.builders.reduce((e,o)=>e+o.height(),0)}};var SR=require("stream"),CR=require("nfets/core"),hf=require("nfets/core");var Np=class{static{s(this,"DanfcePdfDocument")}stream;builder;toolkit=new hf.Xml2JsToolkit;defaults={displayTitle:!0,font:"Helvetica",info:{Author:"nfets",Creator:"nfets",Keywords:"nfets, nfce, danfce, sefaz",Title:"Documento Auxiliar da Nota Fiscal do Consumidor Eletr\xF4nica",Subject:"DANFE NFC-e"}};options={width:"80mm",height:160,textFontSize:9*fg,titleFontSize:11*fg,credits:Ma};constructor(e){this.stream=e,this.builder=CR.PdfkitPdfBuilder.new(this.defaults).pipe(this.stream),this.apply()}async getDynamicHeight(e,o){let i=o(new SR.PassThrough);try{i.options.height=1e4,i.apply(),i.builder.page(),await i.parse(e);for(let n of i.builders)await n.build();let{bottom:r}=i.pageMargins;return i.builder.y()+r+8}finally{i.end()}}pageMargins={top:12,right:8,bottom:28,left:8};height(){this.builder.page();let{top:e,bottom:o}=this.pageMargins;return this.builders.reduce((r,n)=>r+(n.height?.()??0),0)+e+o}apply(){this.builder.configure({size:[xR[this.options.width],this.options.height],margins:this.pageMargins,layout:"portrait"})}async parse(e){let o=await this.toolkit.parse(e);"protNFe"in o&&(this.protNFe=o.protNFe),"NFe"in o?this.data=o.NFe:this.data=o}async build(e){await this.parse(e),this.options.height=await this.getDynamicHeight(e,this.clone.bind(this)),this.apply(),this.builder.page();for(let o of this.builders)await o.build();return this}end(){return this.builder.end(),this.builders.map(e=>e.end()),void 0}currency(e,o=2){return new hf.Decimal(e).toNumber().toLocaleString("pt-BR",{minimumFractionDigits:2,maximumFractionDigits:o})}isValueNotEmpty(e){return!!e&&Number.parseFloat(e.toString())>0}};var mg=class t extends Np{static{s(this,"DanfceDefaultPdfDocument")}clone(e){return new t(e)}get builders(){return[pp.instance(this),Fa.instance(this),lp.instance(this),Yd.instance(this),up.instance(this),dp.instance(this),fp.instance(this),Cp.instance(this)]}};var hg=class t extends Np{static{s(this,"DanfceReducedPdfDocument")}clone(e){return new t(e)}get builders(){return[pp.instance(this),Fa.instance(this),lp.instance(this),up.instance(this),dp.instance(this),fp.instance(this),Cp.instance(this)]}};var RR=require("nfets/core"),wR=require("nfets/core");var Te=class{static{s(this,"DanfeBlock")}context;constructor(e){this.context=e}get builder(){return this.context.builder}get fields(){return this.context.fields}get format(){return this.context.format}get infNFe(){return this.context.data.infNFe}visible(){return!0}prepare(){return Promise.resolve()}setup(){this.builder.font(this.context.defaults.font).fillColor("black").strokeColor("black").lineWidth(.5).undash()}build(e){return this.setup(),this.draw(e??{x:this.context.margins.left,y:this.context.margins.top,width:this.context.contentWidth}),this.builder}end(){}};var vg=j(4),Rp=class extends Te{static{s(this,"Canhoto")}textHeight=j(10);signatureHeight=j(7);numberWidth=j(35);spacing=vg;innerPad=j(1.2);height(){return this.textHeight+this.signatureHeight+this.spacing}receivedText(e=!0){let{emit:o,dest:i,ide:r,total:n}=this.infNFe,a=e?"AO LADO":"ABAIXO",c=[`RECEBEMOS DE ${o.xNome} OS PRODUTOS E/OU SERVI\xC7OS CONSTANTES DA NOTA FISCAL ELETR\xD4NICA INDICADA ${a}.`,`EMISS\xC3O: ${this.format.date(r.dhEmi)}`,`VALOR TOTAL: R$ ${this.format.currency(n.ICMSTot.vNF)}`];if(i?.xNome){let p=i.enderDest,u=p?` - ${[p.xLgr,p.nro].filter(Boolean).join(", ")} ${p.xBairro??""} ${p.xMun??""}-${p.UF??""}`:"";c.push(`DESTINAT\xC1RIO: ${i.xNome}${u}`)}return c.join(" ")}draw(e){if(e.height)return this.drawSide(e);this.drawTop(e)}drawSide({x:e,y:o,width:i,height:r=0}){let n=j(24),a=Math.max(r-n,0);this.fields.rect(e,o,i,r),this.drawNumber(e,o,i,n),this.drawRotated([this.receivedText(!1),"DATA DE RECEBIMENTO","IDENTIFICA\xC7\xC3O E ASSINATURA DO RECEBEDOR"].join(" "),e,o+n,i,a),this.drawCut(e+i+this.spacing/2,o,e+i+this.spacing/2,o+r)}drawRotated(e,o,i,r,n){let a=this.innerPad;this.builder.save().translate(o,i+n).rotate(-90),this.fields.text(e,a,a,n-2*a,r-2*a,{size:6}),this.builder.restore()}drawCut(e,o,i,r){this.builder.save().lineWidth(.6).dash(4,{space:3}).moveTo(e,o).lineTo(i,r).stroke().undash().restore()}drawTop({x:e,y:o,width:i}){let r=this.innerPad,n=i-this.numberWidth;this.fields.rect(e,o,n,this.textHeight),this.fields.text(this.receivedText(),e+r,o+r,n-2*r,this.textHeight-2*r,{size:6.5}),this.fields.row(e,o+this.textHeight,n,this.signatureHeight,[{label:"DATA DE RECEBIMENTO",weight:40},{label:"IDENTIFICA\xC7\xC3O E ASSINATURA DO RECEBEDOR",weight:125}]);let a=this.textHeight+this.signatureHeight;this.drawNumber(e+n,o,this.numberWidth,a);let c=o+a+this.spacing/2;this.drawCut(e,c,e+i,c)}drawNumber(e,o,i,r){let{nNF:n,serie:a}=this.infNFe.ide,c=this.innerPad;this.fields.rect(e,o,i,r),this.fields.text("NF-e",e+c,o+j(2.5),i-2*c,16,{size:12,bold:!0,align:"center"}),this.fields.text(`N\xBA. ${this.format.number(n)}
42
+ S\xE9rie ${this.format.serie(a)}`,e+c,o+j(8),i-2*c,r-j(8)-c,{size:7,bold:!0,align:"center"})}};var Bs=require("nfets/core");var vf=class{static{s(this,"DanfeFormatter")}context;constructor(e){this.context=e}isNotEmpty(e){return!!e&&Number.parseFloat(e.toString())>0}emitted(e,o){let i=String(e??"0").trim(),r=i.startsWith("-"),n=r?i.slice(1):i,[a,c=""]=n.split("."),p=Math.min(Math.max(c.length,2),o),l=(a.replace(/\D/g,"")||"0").replace(/\B(?=(\d{3})+(?!\d))/g,"."),d=c.padEnd(p,"0").slice(0,p),m=`${l},${d}`;return r?`-${m}`:m}decimal(e,o=2,i=o){return new Bs.Decimal(e??0).toNumber().toLocaleString("pt-BR",{minimumFractionDigits:o,maximumFractionDigits:i})}currency(e){return this.decimal(e,2)}percent(e){return`${this.decimal(e,2,4)}%`}document(e,o){return e?.length===14?e.replace(/([A-Z0-9]{2})([A-Z0-9]{3})([A-Z0-9]{3})([A-Z0-9]{4})([A-Z0-9]{2})/,"$1.$2.$3/$4-$5"):o?.length===11?o.replace(/(\d{3})(\d{3})(\d{3})(\d{2})/,"$1.$2.$3-$4"):e??o??""}cep(e){return e?e.replace(/(\d{5})(\d{3})/,"$1-$2"):""}phone(e){return e?e.replace(/^(\d{2})(\d{4,5})(\d{4})$/,"($1) $2-$3"):""}number(e){return e.padStart(9,"0").replace(/(\d{3})(\d{3})(\d{3})/,"$1.$2.$3")}serie(e){return e.padStart(3,"0")}blank(e){return this.sanitize(e)||"\u2014"}accessKey(){return this.accessKeyDigits().replace(/(.{4})/g,"$1 ").trim()}accessKeyDigits(){let{Id:e}=this.context.data.infNFe.$;return(e??"").replace(/^NFe/,"")}tz(e){let{cUF:o}=this.context.data.infNFe.ide;return(0,Bs.dateToolkit)(e).tz(Bs.timezones[o])}date(e){return e?this.tz(e).format("DD/MM/YYYY"):""}time(e){return e?this.tz(e).format("HH:mm:ss"):""}dateTime(e){return e?this.tz(e).format("DD/MM/YYYY HH:mm:ss"):""}plainDate(e){if(!e)return"";let[o,i,r]=e.substring(0,10).split("-");return`${r}/${i}/${o}`}now(){return(0,Bs.dateToolkit)().format("DD/MM/YYYY [\xE0s] HH:mm:ss")}sanitize(e){return(e??"").replace(/[\x00-\x08\x0B-\x0C\x0E-\x1F\x7F-\x9F]/g,"").trim()}};var gf=class{static{s(this,"FieldBox")}context;labelSize=5;valueSize=8;titleSize=6.5;muted="#595959";padding=2.5;rowHeight=j(7);radius=j(.8);constructor(e){this.context=e}get builder(){return this.context.builder}get titleHeight(){return this.titleSize*1.2+1}get labelHeight(){return this.labelSize*1.2}text(e,o,i,r,n,a){if(!e)return;this.builder.fillColor(a.color??"black").font(a.bold?this.context.bold:this.context.defaults.font).fontSize(a.size);let c=this.builder.currentLineHeight(!0);this.builder.text(e,{x:o,y:i,width:Math.max(r,1),height:Math.max(n,c+.5),align:a.align??"left",ellipsis:a.ellipsis??a.lineBreak!==!1,lineBreak:a.lineBreak,lineGap:0})}measure(e,o,i){return e?(this.builder.font(i.bold?this.context.bold:this.context.defaults.font).fontSize(i.size),this.builder.heightOfString(e,{width:o,lineGap:0})):0}rect(e,o,i,r){this.builder.roundedRect(e,o,i,r,this.radius).stroke()}box(e,o,i,r,n){let a=this.padding;if(this.rect(e,o,i,r),this.text(n.label,e+a,o+a,i-2*a,this.labelHeight,{size:this.labelSize,color:this.muted}),!n.value)return;let c=o+a+this.labelHeight+.5;this.text(n.value,e+a,c,i-2*a,o+r-c-.5,{size:n.valueSize??this.valueSize,bold:n.bold,align:n.align??"left"})}widths(e,o){let i=o.reduce((r,n)=>r+n,0);return o.map(r=>e*r/i)}row(e,o,i,r,n){let a=this.widths(i,n.map(p=>p.weight)),c=e;return n.forEach((p,u)=>{this.box(c,o,a[u],r,p),c+=a[u]}),r}grid(e,o,i,r,n,a=this.rowHeight){let c=i/n,p=this.gridRows(r.length,n);for(let u=0;u<p;u++){let l=r.slice(u*n,(u+1)*n);l.forEach((d,m)=>{let y=m===l.length-1,x=e+m*c,N=y?e+i-x:c;this.box(x,o+u*a,N,a,d)})}return p*a}gridRows(e,o){return Math.ceil(e/o)}widthOf(e,o){return e?(this.builder.font(o.bold?this.context.bold:this.context.defaults.font).fontSize(o.size),this.builder.widthOfString(e)):0}title(e,o,i,r){return this.text(r,e,o+1,i,this.titleHeight-1,{size:this.titleSize,bold:!0,color:"black"}),this.titleHeight}};var NR=require("nfets/core");var yf=class{static{s(this,"StatusMarks")}context;cancelled=["101","135","151","155"];denied=[Xr.UsoDenegado,Xr.NfeDenegada,Xr.DenegadaIrregularidadeEmissor,Xr.DenegadaIrregularidadeDestinatario,Xr.DenegadaNaoHabilitadaNaUf];invalid="SEM VALOR FISCAL";messageSize=40;detailSize=16;lineHeight=1.3;constructor(e){this.context=e}get isHomolog(){return this.context.data.infNFe.ide.tpAmb!==NR.Environment.Production}get isContingency(){return this.context.data.infNFe.ide.tpEmis!==vt.Normal}get isProtocoled(){return!!this.context.protNFe}get cStat(){return this.context.protNFe?.infProt.cStat}get cancellation(){return this.context.events.map(e=>e.infEvento).find(e=>e.tpEvento===gt.Cancelamento&&this.cancelled.includes(e.cStat))}status(){if(!this.isProtocoled&&this.isContingency)return{messages:["EMITIDA EM CONTING\xCANCIA","PENDENTE DE AUTORIZA\xC7\xC3O"],valid:!0};if(!this.isProtocoled)return{messages:["NFe N\xC3O PROTOCOLADA"],valid:!1};let e=[];this.isHomolog&&e.push("NFe EMITIDA EM HOMOLOGA\xC7\xC3O");let o=this.cStat,i=this.cancellation,r;return o&&this.denied.includes(o)?(e.push("NFe DENEGADA"),r=this.context.protNFe?.infProt.xMotivo):o&&this.cancelled.includes(o)?e.push("NFe CANCELADA"):i&&(e.push("NFe CANCELADA"),r=[this.context.format.dateTime(i.dhRegEvento),i.nProt].filter(Boolean).join(" - ")),{messages:e,detail:r,valid:!e.length}}fit(e,o,i){this.context.builder.font(this.context.bold).fontSize(o);let r=this.context.builder.widthOfString(e);return r>i?o*i/r:o}watermark(e,o,i,r){let{messages:n,detail:a,valid:c}=this.status(),p=c?n:[...n,this.invalid];if(!p.length)return;let u=i*.9,l=p.map(A=>this.fit(A,this.messageSize,u)),d=a?this.fit(a,this.detailSize,u):0,m=(l.reduce((A,D)=>A+D,0)+d)*this.lineHeight,y=Math.min(1,r/m),x=c?p.length:p.length-1,{builder:N,fields:C}=this.context,b=o+Math.max((r-m*y)/2,0),I=s((A,D)=>{let U=D*y;C.text(A,e,b,i,U*this.lineHeight,{size:U,bold:!0,align:"center"}),b+=U*this.lineHeight},"write");N.save().fillColor("#000000",.3),p.forEach((A,D)=>{a&&D===x&&I(a,d),I(A,l[D])}),a&&x===p.length&&I(a,d),N.restore().fillColor("black")}};var wp=class{static{s(this,"DanfePdfDocument")}stream;events=[];builder;toolkit=new wR.Xml2JsToolkit;format=new vf(this);fields=new gf(this);status=new yf(this);defaults={displayTitle:!0,font:"Helvetica",info:{Author:"nfets",Creator:"nfets",Keywords:"nfets, nfe, danfe, sefaz",Title:"Documento Auxiliar da Nota Fiscal Eletr\xF4nica",Subject:"DANFE NF-e"}};options={size:"A4",layout:"portrait",qComDecimals:4,vUnComDecimals:4,showCanhoto:!0,showItemBatch:!0,showItemComplement:!1,showItemOrderNumber:!1,breakItemDescription:!0,hideTaxUnit:!1,credits:Ma};margins=zf;gap=j(1);page={number:1,total:1};_blocks;get blocks(){return this._blocks??=this.createBlocks()}constructor(e){this.stream=e,this.builder=RR.PdfkitPdfBuilder.new(this.defaults).pipe(this.stream)}get bold(){return`${this.defaults.font}-Bold`}sideCanhotoWidth=0;contentInset(){return this.page.number>1||this.sideCanhotoWidth<=0?0:this.sideCanhotoWidth+vg}get contentWidth(){let{left:e,right:o}=this.margins;return this.builder.pageWidth()-e-o-this.contentInset()}get contentX(){return this.margins.left+this.contentInset()}get det(){return this.asArray(this.data.infNFe.det)}asArray(e){return e==null?[]:Array.isArray(e)?e:[e]}apply(){this.builder.configure({size:this.options.size,margins:this.margins,layout:this.options.layout})}async parse(e){let o=await this.toolkit.parse(e);"protNFe"in o&&(this.protNFe=o.protNFe),"NFe"in o?(this.data=o.NFe,this.events=this.asArray(o.retEvento)):this.data=o}visible(e){return e.filter(o=>!!o&&o.visible())}stackHeight(e){return e.reduce((o,i)=>o+this.gap+i.height(),0)}get canhoto(){if(this.options.showCanhoto)return this.blocks.canhoto}get pageTop(){return this.margins.top}get pageBottom(){let{footer:e}=this.blocks;return this.builder.pageHeight()-this.margins.bottom-e.height()}itemSpace(e){let{header:o,firstPage:i,items:r}=this.blocks,n=this.pageBottom-this.pageTop,a=o.height()+this.gap+r.headerHeight(),c=e&&this.sideCanhotoWidth<=0?this.canhoto?.height()??0:0,p=e?this.stackHeight(this.visible(i)):0;return n-c-a-p}paginate(){let{items:e,lastPage:o}=this.blocks,i=[],r=[],n=0;this.page={number:1,total:1};let a=this.itemSpace(!0);for(let p of this.det){let u=e.itemHeight(p),l=n+u<=a,d=r.length>0||this.page.number===1;!l&&d&&(i.push(r),r=[],n=0,this.page={number:2,total:1},a=this.itemSpace(!1),u=e.itemHeight(p)),r.push(p),n+=u}let c=this.stackHeight(this.visible(o));return r.length>0&&n+c>a&&(i.push(r),r=[]),i.push(r),i.map((p,u)=>({items:p,isFirst:u===0,isLast:u===i.length-1}))}draw(e){let{header:o,firstPage:i,items:r,lastPage:n,footer:a}=this.blocks,c=this.contentX,p=this.contentWidth,u=this.pageTop,l=this.canhoto;if(e.isFirst&&l&&this.sideCanhotoWidth===0&&(l.build({x:c,y:u,width:p}),u+=l.height()),o.build({x:c,y:u,width:p}),u+=o.height(),e.isFirst)for(let x of this.visible(i))u+=this.gap,x.build({x:c,y:u,width:p}),u+=x.height();let d=this.visible(n),m=e.isLast?this.pageBottom-this.stackHeight(d):this.pageBottom,y=e.items.length>0||e.isLast;if(y&&(u+=this.gap,r.slice=e,r.boxHeight=m-u,r.build({x:c,y:u,width:p})),e.isLast){let x=y?m:u;for(let N of d)x+=this.gap,N.build({x:c,y:x,width:p}),x+=N.height()}a.build({x:c,y:this.pageBottom,width:p}),e.isFirst&&l&&this.sideCanhotoWidth>0&&l.build({x:this.margins.left,y:this.pageTop,width:this.sideCanhotoWidth,height:this.builder.pageHeight()-this.margins.top-this.margins.bottom})}async build(e){await this.parse(e),this.apply(),this.builder.page();let{canhoto:o,header:i,firstPage:r,items:n,lastPage:a,footer:c}=this.blocks,p=[o,i,...r,n,...a,c];for(let l of p)await l?.prepare();let u=this.paginate();return u.forEach((l,d)=>{d>0&&this.builder.page(),this.page={number:d+1,total:u.length},this.draw(l)}),this}end(){this.builder.end()}};var bf=class t{static{s(this,"Code128C")}static patterns=["212222","222122","222221","121223","121322","131222","122213","122312","132212","221213","221312","231212","112232","122132","122231","113222","123122","123221","223211","221132","221231","213212","223112","312131","311222","321122","321221","312212","322112","322211","212123","212321","232121","111323","131123","131321","112313","132113","132311","211313","231113","231311","112133","112331","132131","113123","113321","133121","313121","211331","231131","213113","213311","213131","311123","311321","331121","312113","312311","332111","314111","221411","431111","111224","111422","121124","121421","141122","141221","112214","112412","122114","122411","142112","142211","241211","221114","413111","241112","134111","111242","121142","121241","114212","124112","124211","411212","421112","421211","212141","214121","412121","111143","111341","131141","114113","114311","411113","411311","113141","114131","311141","411131","211412","211214","211232","2331112"];static startB=104;static startC=105;static latchB=100;static latchC=99;static stop=106;static codes(e){if(/^\d*$/.test(e)){if(e.length%2!==0)throw new Error("Code128C requires an even number of digits");let o=e.match(/\d{2}/g)?.map(Number)??[];return t.finish([t.startC,...o])}if(!/^[0-9A-Z]+$/.test(e))throw new Error("Code128 requires digits or uppercase letters");return t.finish(t.symbols(e))}static symbols(e){let o=[],i=0,r=t.digitRun(e,0)>=4?"C":"B";for(o.push(r==="C"?t.startC:t.startB);i<e.length;){if(r==="C"){let d=e.slice(i,i+2);if(/^\d{2}$/.test(d)){o.push(Number(d)),i+=2;continue}o.push(t.latchB),r="B";continue}let n=t.digitRun(e,i),a=n%2,c=(n-a)/2,p=c*2,l=i+a+p<e.length?1:0;if(c>=2&&a+1+c+l<a+p){for(let d=0;d<a;d+=1)o.push(e.charCodeAt(i)-32),i+=1;o.push(t.latchC),r="C";continue}o.push(e.charCodeAt(i)-32),i+=1}return o}static digitRun(e,o){let i=0;for(;e[o+i]>="0"&&e[o+i]<="9";)i+=1;return i}static finish(e){let o=e.reduce((i,r,n)=>n===0?r:i+r*n,0)%103;return[...e,o,t.stop]}static modules(e){return t.codes(e).flatMap(o=>t.patterns[o].split("").map(Number))}static draw(e,o,i,r,n,a){let c=t.modules(o),p=c.reduce((d,m)=>d+m,0),u=n/p;e.save().fillColor("black");let l=i;c.forEach((d,m)=>{let y=d*u;m%2===0&&e.rect(l,r,y,a),l+=y}),e.fill().restore()}};var Ip=class extends Te{static{s(this,"Header")}topHeight=j(32);emitWidth=j(80);danfeWidth=j(34);barcodeHeight=j(12);height(){let e=1+this.registrationRows().length;return this.topHeight+e*this.fields.rowHeight}get logo(){return this.context.options.logo}registrationRows(){let{emit:e}=this.infNFe;return[[{label:"INSCRI\xC7\xC3O ESTADUAL",value:this.format.blank(e.IE),weight:1},{label:"INSCRI\xC7\xC3O MUNICIPAL",value:this.format.blank(e.IM),weight:1},{label:"INSCRI\xC7\xC3O ESTADUAL DO SUBST. TRIBUT.",value:this.format.blank(e.IEST),weight:1},{label:"CNPJ / CPF",value:this.format.blank(this.format.document(e.CNPJ,e.CPF)),weight:1}]]}emitAddress(){let{enderEmit:e}=this.infNFe.emit,{xLgr:o,nro:i,xCpl:r,xBairro:n,CEP:a,xMun:c,UF:p,fone:u}=e,l=r?` - ${r}`:"",d=u?` Fone/Fax: ${this.format.phone(u)}`:"";return[`${o}, ${i}${l}`,`${n} - ${this.format.cep(a)}`,`${c} - ${p}${d}`].join(`
43
+ `)}drawEmit(e,o){let i=this.fields.padding,r=this.emitWidth,n=this.topHeight;this.fields.box(e,o,r,n,{label:"IDENTIFICA\xC7\xC3O DO EMITENTE"});let a=o+i+this.fields.labelHeight,c=o+n-i-a,p=j(1),u=this.logo,l=u?c:0,d=e+i+l+(u?p:0),m=r-2*i-l-(u?p:0),{xNome:y}=this.infNFe.emit,x=this.emitAddress(),N=Math.min(this.fields.measure(y,m,{size:9,bold:!0}),j(10)),C=Math.min(this.fields.measure(x,m,{size:7}),c-N-p),b=N+p+C,I=a+Math.max((c-b)/2,0),A=I+N+p;u&&this.builder.image(u,e+i,a,{fit:[l,c],align:"center",valign:"center"}),this.fields.text(y,d,I,m,N,{size:9,bold:!0,align:"center"}),this.fields.text(x,d,A,m,C,{size:7,align:"center"})}drawDanfe(e,o){let i=this.danfeWidth,{tpNF:r,nNF:n,serie:a}=this.infNFe.ide,{number:c,total:p}=this.context.page;this.fields.rect(e,o,i,this.topHeight),this.fields.text("DANFE",e,o+j(1.5),i,14,{size:12,bold:!0,align:"center"}),this.fields.text(`Documento Auxiliar da Nota
44
+ Fiscal Eletr\xF4nica`,e,o+j(6.5),i,j(6),{size:7,align:"center"}),this.fields.text(`0 - ENTRADA
45
+ 1 - SA\xCDDA`,e+j(4),o+j(13),j(20),j(6),{size:7});let u=j(6),l=e+i-u-j(4),d=o+j(13);this.fields.rect(l,d,u,u),this.fields.text(r,l,d+j(1),u,u,{size:11,bold:!0,align:"center"}),this.fields.text(`N\xBA. ${this.format.number(n)}
46
46
  S\xE9rie ${this.format.serie(a)}
47
- Folha ${c}/${p}`,e,o+V(20.5),i,V(11),{size:8,bold:!0,align:"center"})}drawAccessKey(e,o,i){let r=this.fields.padding,n=this.format.accessKeyDigits();this.fields.rect(e,o,i,this.barcodeHeight),n.length===44&&yf.draw(this.builder,n,e+V(3),o+V(1.5),i-V(6),this.barcodeHeight-V(3));let a=o+this.barcodeHeight;this.fields.box(e,a,i,this.fields.rowHeight,{label:"CHAVE DE ACESSO",value:this.format.accessKey(),align:"center"});let c=a+this.fields.rowHeight,p=this.topHeight-this.barcodeHeight-this.fields.rowHeight;this.fields.rect(e,c,i,p),this.fields.text(`Consulta de autenticidade no portal nacional da NF-e
48
- www.nfe.fazenda.gov.br/portal ou no site da Sefaz Autorizadora`,e+r,c+V(2.5),i-2*r,p-V(2.5),{size:7.5,align:"center"})}protocolCell(){let e=this.context.protNFe?.infProt;if(e)return{label:"PROTOCOLO DE AUTORIZA\xC7\xC3O DE USO",value:`${e.nProt} - ${this.format.dateTime(e.dhRecbto)}`,weight:86};let{dhCont:o}=this.infNFe.ide;return{label:"PROTOCOLO DE AUTORIZA\xC7\xC3O DE USO",value:this.context.status.isContingency?`EMITIDA EM CONTING\xCANCIA ${this.format.dateTime(o)}`.trim():"",weight:86}}draw({x:e,y:o,width:i}){this.drawEmit(e,o),this.drawDanfe(e+this.emitWidth,o);let r=e+this.emitWidth+this.danfeWidth;this.drawAccessKey(r,o,e+i-r);let n=o+this.topHeight;this.fields.row(e,n,i,this.fields.rowHeight,[{label:"NATUREZA DA OPERA\xC7\xC3O",value:this.infNFe.ide.natOp,weight:114},this.protocolCell()]);for(let a of this.registrationRows())n+=this.fields.rowHeight,this.fields.row(e,n,i,this.fields.rowHeight,a)}};var Op=class extends Te{static{s(this,"Recipient")}title="DESTINAT\xC1RIO / REMETENTE";height(){return this.fields.titleHeight+3*this.fields.rowHeight}draw({x:e,y:o,width:i}){let{dest:r,ide:n}=this.infNFe,a=r?.enderDest,c=this.fields.rowHeight,p=n.dhSaiEnt,u=o+this.fields.title(e,o,i,this.title),l=[a?.xLgr,a?.nro].filter(Boolean).join(", "),d=a?.xCpl?`${l} - ${a.xCpl}`:l,m=r?.idEstrangeiro??this.format.document(r?.CNPJ,r?.CPF);this.fields.row(e,u,i,c,[{label:"NOME / RAZ\xC3O SOCIAL",value:this.format.blank(r?.xNome),weight:120},{label:"CNPJ / CPF",value:this.format.blank(m),weight:45},{label:"DATA DA EMISS\xC3O",value:this.format.blank(this.format.date(n.dhEmi)),weight:35}]),u+=c,this.fields.row(e,u,i,c,[{label:"ENDERE\xC7O",value:this.format.blank(d),weight:105},{label:"BAIRRO / DISTRITO",value:this.format.blank(a?.xBairro),weight:38},{label:"CEP",value:this.format.blank(this.format.cep(a?.CEP)),weight:22},{label:"DATA DA SA\xCDDA/ENTRADA",value:this.format.blank(this.format.date(p)),weight:35}]),u+=c,this.fields.row(e,u,i,c,[{label:"MUNIC\xCDPIO",value:this.format.blank(a?.xMun),weight:70},{label:"FONE / FAX",value:this.format.blank(this.format.phone(a?.fone)),weight:35},{label:"UF",value:this.format.blank(a?.UF),weight:10},{label:"INSCRI\xC7\xC3O ESTADUAL",value:this.format.blank(r?.IE),weight:50},{label:"HORA DA SA\xCDDA/ENTRADA",value:this.format.blank(this.format.time(p)),weight:35}])}},La=class extends Te{static{s(this,"Location")}kind;constructor(e,o){super(e),this.kind=o}get local(){return this.infNFe[this.kind]}get title(){return this.kind==="retirada"?"INFORMA\xC7\xD5ES DO LOCAL DE RETIRADA":"INFORMA\xC7\xD5ES DO LOCAL DE ENTREGA"}visible(){return!!this.local}height(){return this.fields.titleHeight+2*this.fields.rowHeight}draw({x:e,y:o,width:i}){let r=this.local;if(!r)return;let n=this.fields.rowHeight,a=o+this.fields.title(e,o,i,this.title),c=r.xCpl?` - ${r.xCpl}`:"";this.fields.row(e,a,i,n,[{label:"NOME / RAZ\xC3O SOCIAL",value:this.format.blank(r.xNome),weight:120},{label:"CNPJ / CPF",value:this.format.blank(this.format.document(r.CNPJ,r.CPF)),weight:45},{label:"INSCRI\xC7\xC3O ESTADUAL",value:this.format.blank(r.IE),weight:35}]),a+=n,this.fields.row(e,a,i,n,[{label:"ENDERE\xC7O",value:this.format.blank(`${r.xLgr}, ${r.nro}${c}`),weight:80},{label:"BAIRRO / DISTRITO",value:this.format.blank(r.xBairro),weight:40},{label:"MUNIC\xCDPIO",value:this.format.blank(r.xMun),weight:40},{label:"UF",value:this.format.blank(r.UF),weight:10},{label:"CEP",value:this.format.blank(this.format.cep(r.CEP)),weight:30}])}};var Ap=class extends Te{static{s(this,"Invoices")}title="FATURA / DUPLICATAS";perRow=7;limit=21;cellHeight=V(10);get duplicates(){return this.context.asArray(this.infNFe.cobr?.dup).slice(0,this.limit)}visible(){let{cobr:e}=this.infNFe;return!!e&&(this.duplicates.length>0||!!e.fat)}rows(){let e=this.duplicates.length;return e?this.fields.gridRows(e,this.perRow):1}height(){return this.duplicates.length?this.fields.titleHeight+this.rows()*this.cellHeight:this.fields.titleHeight+this.fields.rowHeight}drawFat(e,o,i){let r=this.infNFe.cobr?.fat;this.fields.row(e,o,i,this.fields.rowHeight,[{label:"N\xDAMERO DA FATURA",value:r?.nFat,weight:1},{label:"VALOR ORIGINAL",value:this.format.currency(r?.vOrig),weight:1,align:"right"},{label:"VALOR DO DESCONTO",value:this.format.currency(r?.vDesc),weight:1,align:"right"},{label:"VALOR L\xCDQUIDO",value:this.format.currency(r?.vLiq),weight:1,align:"right"}])}draw({x:e,y:o,width:i}){let r=o+this.fields.title(e,o,i,this.title),n=this.duplicates;if(!n.length)return this.drawFat(e,r,i);let a=this.fields.padding,c=i/this.perRow;n.forEach((p,u)=>{let l=Math.floor(u/this.perRow),d=u%this.perRow,m=e+d*c,y=r+l*this.cellHeight;this.fields.rect(m,y,c,this.cellHeight);let x=`Num.
49
- Venc.
50
- Valor`,N=[p.nDup??"",this.format.plainDate(p.dVenc),`R$ ${this.format.currency(p.vDup)}`].join(`
51
- `),C={size:6};this.fields.text(x,m+a,y+a,c-2*a,this.cellHeight-2*a,C),this.fields.text(N,m+a,y+a,c-2*a,this.cellHeight-2*a,{...C,align:"right"})})}};var bf=class extends Te{static{s(this,"LegacyTaxes")}title="C\xC1LCULO DO IMPOSTO";perRow=8;cell(e,o){return{label:e,value:this.format.currency(o),align:"right"}}cells(){let e=this.infNFe.total.ICMSTot;return[this.cell("BASE DE C\xC1LC. DO ICMS",e.vBC),this.cell("VALOR DO ICMS",e.vICMS),this.cell("BASE DE C\xC1LC. ICMS S.T.",e.vBCST),this.cell("VALOR DO ICMS SUBST.",e.vST),this.cell("V. IMP. IMPORTA\xC7\xC3O",e.vII),this.cell("V. ICMS UF REMET.",e.vICMSUFRemet),this.cell("V. FCP UF DEST.",e.vFCPUFDest),this.cell("V. TOTAL PRODUTOS",e.vProd),this.cell("VALOR DO FRETE",e.vFrete),this.cell("VALOR DO SEGURO",e.vSeg),this.cell("DESCONTO",e.vDesc),this.cell("OUTRAS DESPESAS",e.vOutro),this.cell("VALOR TOTAL IPI",e.vIPI),this.cell("V. ICMS UF DEST.",e.vICMSUFDest),this.cell("V. TOT. TRIB.",e.vTotTrib),this.cell("V. TOTAL DA NOTA",e.vNF)]}height(){let e=this.fields.gridRows(this.cells().length,this.perRow);return this.fields.titleHeight+e*this.fields.rowHeight}draw({x:e,y:o,width:i}){let r=o+this.fields.title(e,o,i,this.title);this.fields.grid(e,r,i,this.cells(),this.perRow)}};var RR=require("nfets/core");var gu=class extends Te{static{s(this,"Transport")}title="TRANSPORTADOR / VOLUMES TRANSPORTADOS";conditional=!1;modFrete={0:"0-Por conta do Rem",1:"1-Por conta do Dest",2:"2-Por conta de Terceiros",3:"3-Pr\xF3prio por conta do Rem",4:"4-Pr\xF3prio por conta do Dest",9:"9-Sem Transporte"};get volumes(){return this.context.asArray(this.infNFe.transp.vol)}visible(){if(!this.conditional)return!0;let{transporta:e,veicTransp:o}=this.infNFe.transp;return!!e||!!o||this.volumes.length>0}height(){return this.fields.titleHeight+3*this.fields.rowHeight}sum(e,o){let i=this.volumes.map(n=>n[e]).filter(n=>n!==void 0&&n!=="");if(!i.length)return"";let r=i.reduce((n,a)=>new RR.Decimal(n).plus(a??0).toString(),"0");return this.format.decimal(r,o)}draw({x:e,y:o,width:i}){let{modFrete:r,transporta:n,veicTransp:a}=this.infNFe.transp,c=this.volumes.at(0),p=this.fields.rowHeight,u=o+this.fields.title(e,o,i,this.title),l=s(d=>this.format.blank(d),"blank");this.fields.row(e,u,i,p,[{label:"NOME / RAZ\xC3O SOCIAL",value:l(n?.xNome),weight:62},{label:"FRETE",value:l(this.modFrete[r]??r),weight:30},{label:"C\xD3DIGO ANTT",value:l(a?.RNTC),weight:22},{label:"PLACA DO VE\xCDCULO",value:l(a?.placa),weight:22},{label:"UF",value:l(a?.UF),weight:10},{label:"CNPJ / CPF",value:l(this.format.document(n?.CNPJ,n?.CPF)),weight:34}]),u+=p,this.fields.row(e,u,i,p,[{label:"ENDERE\xC7O",value:l(n?.xEnder),weight:92},{label:"MUNIC\xCDPIO",value:l(n?.xMun),weight:44},{label:"UF",value:l(n?.UF),weight:10},{label:"INSCRI\xC7\xC3O ESTADUAL",value:l(n?.IE),weight:34}]),u+=p,this.fields.row(e,u,i,p,[{label:"QUANTIDADE",value:l(this.sum("qVol",0)),weight:20,align:"right"},{label:"ESP\xC9CIE",value:l(c?.esp),weight:35},{label:"MARCA",value:l(c?.marca),weight:35},{label:"NUMERA\xC7\xC3O",value:l(c?.nVol),weight:35},{label:"PESO BRUTO",value:l(this.sum("pesoB",3)),weight:37.5,align:"right"},{label:"PESO L\xCDQUIDO",value:l(this.sum("pesoL",3)),weight:37.5,align:"right"}])}},xf=class extends gu{static{s(this,"ConditionalTransport")}conditional=!0};var wR=require("nfets/core");var Va=class{static{s(this,"DetReader")}det;constructor(e){this.det=e}get icms(){let e=this.det.imposto?.ICMS;if(!e)return{};let[o]=Object.values(e);return o??{}}get cstCode(){let{CST:e,CSOSN:o}=this.icms;return o??e??""}cst(e=""){let{orig:o}=this.icms,i=this.cstCode;return o===void 0?i:`${o}${e}${i}`}get ipi(){return this.det.imposto?.IPI?.IPITrib}get ibscbs(){return this.det.imposto?.IBSCBS?.gIBSCBS}get cClassTrib(){return this.det.imposto?.IBSCBS?.cClassTrib}get is(){return this.det.imposto?.IS}get hasTaxUnit(){let{uTrib:e,qTrib:o,vUnCom:i,vUnTrib:r}=this.det.prod,n=s(a=>new wR.Decimal(a??0).toFixed(2),"fixed");return!!e&&!!o&&n(i)!==n(r)}};var Sf=class{static{s(this,"ItemDescription")}context;maxAdditionalInfo=500;icmsTaxes=[["vBCFCP"," BcFcp=%s"],["pFCP"," pFcp=%s%"],["vFCP"," vFcp=%s"],["pRedBC"," pRedBC=%s%"],["pMVAST"," IVA/MVA=%s%"],["pICMSST"," pIcmsSt=%s%"],["vBCST"," BcIcmsSt=%s"],["vICMSST"," vIcmsSt=%s"],["vBCFCPST"," BcFcpSt=%s"],["pFCPST"," pFcpSt=%s%"],["vFCPST"," vFcpSt=%s"],["vBCSTRet"," Retido na compra: BASE ICMS ST=%s"],["pST"," pSt=%s"],["vICMSSubstituto"," vICMSSubstituto=%s"],["vICMSSTRet"," VALOR ICMS ST=%s"]];icmsUfDestTaxes=[["pFCPUFDest"," pFCPUFDest=%s%"],["pICMSUFDest"," pICMSUFDest=%s%"],["pICMSInterPart"," pICMSInterPart=%s%"],["vFCPUFDest"," vFCPUFDest=%s"],["vICMSUFDest"," vICMSUFDest=%s"],["vICMSUFRemet"," vICMSUFRemet=%s"]];operations={0:"OUTROS",1:"VENDA CONCESSION\xC1RIA",2:"FATURAMENTO DIRETO CONSUMIDOR",3:"VENDA DIRETA GDE CONSUMIDORES"};fuels={1:"ALCOOL",2:"GASOLINA",3:"DIESEL",4:"GASOGENIO",5:"GAS METANO",6:"ELETRICO/INTERNA",7:"ELETRICO/EXTERNA",8:"GASOL/GNC",9:"ALCOOL/GNC",10:"DIESEL/GNC",11:"OBSERVACAO",12:"ALCOOL/GNV",13:"GASOLINA/GNV",14:"DIESEL/GNV",15:"GNV",16:"ALCOOL/GASOLINA",17:"GASOLINA/ALCOOL/GNV",18:"GASOLINA/ELETRICO"};species={1:"PASSAGEIRO",2:"CARGA",3:"MISTO",4:"CORRIDA",5:"TRACAO",6:"ESPECIAL",7:"COLECAO"};vehicles={2:"CICLOMOTO",3:"MOTONETA",4:"MOTOCICLO",5:"TRICICLO",6:"AUTOM\xD3VEL",7:"MICRO-\xD4NIBUS",8:"\xD4NIBUS",10:"REBOQUE",11:"SEMIRREBOQUE",13:"CAMIONETA",14:"CAMINH\xC3O",17:"CAMINH\xC3O TRATOR",18:"TRATOR RODAS",19:"TRATOR ESTEIRAS",20:"TRATOR MISTO",21:"QUADRICICLO",22:"ESP/\xD4NIBUS",23:"CAMINHONETE",24:"CARGA/CAM",25:"UTILIT\xC1RIO",26:"MOTOR-CASA"};colors={1:"AMARELO",2:"AZUL",3:"BEGE",4:"BRANCA",5:"CINZA",6:"DOURADA",7:"GRENA",8:"LARANJA",9:"MARROM",10:"PRATA",11:"PRETA",12:"ROSA",13:"ROXA",14:"VERDE",15:"VERMELHA",16:"FANTASIA"};conditions={1:"ACABADO",2:"INACABADO",3:"SEMI-ACABADO"};restrictions={0:"N\xC3O H\xC1",1:"ALIENA\xC7\xC3O FIDUCI\xC1RIA",2:"ARRENDAMENTO MERCANTIL",3:"RESERVA DE DOM\xCDNIO",4:"PENHOR DE VE\xCDCULOS",9:"OUTRAS"};weaponTypes={0:"USO PERMITIDO",1:"USO RESTRITO"};constructor(e){this.context=e}get options(){return this.context.options}tax(e,o){return e===void 0||e===""||e==="0"?"":o.replace("%s",this.context.format.decimal(e,2))}taxes(e){let o=new Va(e).icms,i=e.imposto?.ICMSUFDest;return[...this.icmsTaxes.map(([r,n])=>this.tax(o[r],n)),...i?this.icmsUfDestTaxes.map(([r,n])=>this.tax(i[r],n)):[]].join("")}infAdProd(e){return(e.infAdProd??"").substring(0,this.maxAdditionalInfo).trim()}additionalInfo(e){let o=this.infAdProd(e);return o?`${o} `:""}anvisa(e){let o=e.prod.med?.cProdANVISA;return!this.options.showItemBatch||!o?"":`ANVISA: ${o}`}batch(e){let o=this.context.asArray(e.prod.rastro);if(!this.options.showItemBatch||o.length!==1)return"";let[{nLote:i,qLote:r,dFab:n,dVal:a}]=o,{format:c}=this.context;return[i?` Lote: ${i}`:"",r?` Quant: ${r.toString()}`:"",` Fab: ${c.plainDate(n)}`,` Val: ${c.plainDate(a)} `].join("")}fci(e){return e.prod.nFCI?` FCI:${e.prod.nFCI}`:""}label(e,o){return`${o}-${e[Number.parseInt(o,10)]??""}`}lines(e){return e.map(([o,i])=>`${o}: ${i??""}`).join(`
47
+ Folha ${c}/${p}`,e,o+j(20.5),i,j(11),{size:8,bold:!0,align:"center"})}drawAccessKey(e,o,i){let r=this.fields.padding,n=this.format.accessKeyDigits();this.fields.rect(e,o,i,this.barcodeHeight),n.length===44&&bf.draw(this.builder,n,e+j(3),o+j(1.5),i-j(6),this.barcodeHeight-j(3));let a=o+this.barcodeHeight;this.fields.box(e,a,i,this.fields.rowHeight,{label:"CHAVE DE ACESSO",value:this.format.accessKey(),align:"center"});let c=a+this.fields.rowHeight,p=this.topHeight-this.barcodeHeight-this.fields.rowHeight;this.fields.rect(e,c,i,p),this.fields.text(`Consulta de autenticidade no portal nacional da NF-e
48
+ www.nfe.fazenda.gov.br/portal ou no site da Sefaz Autorizadora`,e+r,c+j(2.5),i-2*r,p-j(2.5),{size:7.5,align:"center"})}protocolCell(){let e=this.context.protNFe?.infProt;if(e)return{label:"PROTOCOLO DE AUTORIZA\xC7\xC3O DE USO",value:`${e.nProt} - ${this.format.dateTime(e.dhRecbto)}`,weight:86};let{dhCont:o}=this.infNFe.ide;return{label:"PROTOCOLO DE AUTORIZA\xC7\xC3O DE USO",value:this.context.status.isContingency?`EMITIDA EM CONTING\xCANCIA ${this.format.dateTime(o)}`.trim():"",weight:86}}draw({x:e,y:o,width:i}){this.drawEmit(e,o),this.drawDanfe(e+this.emitWidth,o);let r=e+this.emitWidth+this.danfeWidth;this.drawAccessKey(r,o,e+i-r);let n=o+this.topHeight;this.fields.row(e,n,i,this.fields.rowHeight,[{label:"NATUREZA DA OPERA\xC7\xC3O",value:this.infNFe.ide.natOp,weight:114},this.protocolCell()]);for(let a of this.registrationRows())n+=this.fields.rowHeight,this.fields.row(e,n,i,this.fields.rowHeight,a)}};var Op=class extends Te{static{s(this,"Recipient")}title="DESTINAT\xC1RIO / REMETENTE";height(){return this.fields.titleHeight+3*this.fields.rowHeight}draw({x:e,y:o,width:i}){let{dest:r,ide:n}=this.infNFe,a=r?.enderDest,c=this.fields.rowHeight,p=n.dhSaiEnt,u=o+this.fields.title(e,o,i,this.title),l=[a?.xLgr,a?.nro].filter(Boolean).join(", "),d=a?.xCpl?`${l} - ${a.xCpl}`:l,m=r?.idEstrangeiro??this.format.document(r?.CNPJ,r?.CPF);this.fields.row(e,u,i,c,[{label:"NOME / RAZ\xC3O SOCIAL",value:this.format.blank(r?.xNome),weight:120},{label:"CNPJ / CPF",value:this.format.blank(m),weight:45},{label:"DATA DA EMISS\xC3O",value:this.format.blank(this.format.date(n.dhEmi)),weight:35}]),u+=c,this.fields.row(e,u,i,c,[{label:"ENDERE\xC7O",value:this.format.blank(d),weight:105},{label:"BAIRRO / DISTRITO",value:this.format.blank(a?.xBairro),weight:38},{label:"CEP",value:this.format.blank(this.format.cep(a?.CEP)),weight:22},{label:"DATA DA SA\xCDDA/ENTRADA",value:this.format.blank(this.format.date(p)),weight:35}]),u+=c,this.fields.row(e,u,i,c,[{label:"MUNIC\xCDPIO",value:this.format.blank(a?.xMun),weight:70},{label:"FONE / FAX",value:this.format.blank(this.format.phone(a?.fone)),weight:35},{label:"UF",value:this.format.blank(a?.UF),weight:10},{label:"INSCRI\xC7\xC3O ESTADUAL",value:this.format.blank(r?.IE),weight:50},{label:"HORA DA SA\xCDDA/ENTRADA",value:this.format.blank(this.format.time(p)),weight:35}])}},La=class extends Te{static{s(this,"Location")}kind;constructor(e,o){super(e),this.kind=o}get local(){return this.infNFe[this.kind]}get title(){return this.kind==="retirada"?"INFORMA\xC7\xD5ES DO LOCAL DE RETIRADA":"INFORMA\xC7\xD5ES DO LOCAL DE ENTREGA"}visible(){return!!this.local}height(){return this.fields.titleHeight+2*this.fields.rowHeight}draw({x:e,y:o,width:i}){let r=this.local;if(!r)return;let n=this.fields.rowHeight,a=o+this.fields.title(e,o,i,this.title),c=r.xCpl?` - ${r.xCpl}`:"";this.fields.row(e,a,i,n,[{label:"NOME / RAZ\xC3O SOCIAL",value:this.format.blank(r.xNome),weight:120},{label:"CNPJ / CPF",value:this.format.blank(this.format.document(r.CNPJ,r.CPF)),weight:40},{label:"INSCRI\xC7\xC3O ESTADUAL",value:this.format.blank(r.IE),weight:40}]),a+=n,this.fields.row(e,a,i,n,[{label:"ENDERE\xC7O",value:this.format.blank(`${r.xLgr}, ${r.nro}${c}`),weight:80},{label:"BAIRRO / DISTRITO",value:this.format.blank(r.xBairro),weight:40},{label:"MUNIC\xCDPIO",value:this.format.blank(r.xMun),weight:40},{label:"UF",value:this.format.blank(r.UF),weight:10},{label:"CEP",value:this.format.blank(this.format.cep(r.CEP)),weight:30}])}};var Ap=class extends Te{static{s(this,"Invoices")}title="FATURA / DUPLICATAS";perRow=5;valueSize=6;limit=21;cellHeight=j(10);get duplicates(){return this.context.asArray(this.infNFe.cobr?.dup).slice(0,this.limit)}visible(){let{cobr:e}=this.infNFe;return!!e&&(this.duplicates.length>0||!!e.fat)}rows(){let e=this.duplicates.length;return e?this.fields.gridRows(e,this.perRow):1}height(){return this.duplicates.length?this.fields.titleHeight+this.rows()*this.cellHeight:this.fields.titleHeight+this.fields.rowHeight}drawFat(e,o,i){let r=this.infNFe.cobr?.fat;this.fields.row(e,o,i,this.fields.rowHeight,[{label:"N\xDAMERO DA FATURA",value:r?.nFat,weight:1},{label:"VALOR ORIGINAL",value:this.format.currency(r?.vOrig),weight:1,align:"right"},{label:"VALOR DO DESCONTO",value:this.format.currency(r?.vDesc),weight:1,align:"right"},{label:"VALOR L\xCDQUIDO",value:this.format.currency(r?.vLiq),weight:1,align:"right"}])}draw({x:e,y:o,width:i}){let r=o+this.fields.title(e,o,i,this.title),n=this.duplicates;if(!n.length)return this.drawFat(e,r,i);let a=this.fields.padding,c=i/this.perRow;n.forEach((p,u)=>{let l=Math.floor(u/this.perRow),d=u%this.perRow,m=e+d*c,y=r+l*this.cellHeight;this.fields.rect(m,y,c,this.cellHeight);let x=[["Num.",p.nDup??""],["Venc.",this.format.plainDate(p.dVenc)],["Valor",`R$ ${this.format.currency(p.vDup)}`]],N=this.valueSize;this.builder.font(this.context.defaults.font).fontSize(N);let C=this.builder.currentLineHeight(!0),b=m+c-a;x.forEach(([I,A],D)=>{let U=y+a+D*C,H=this.fields.widthOf(I,{size:N});this.fields.text(I,m+a,U,H,C,{size:N});let ot=m+a+H+2;this.fields.text(A,ot,U,Math.max(b-ot,1),C,{size:N,align:"right",lineBreak:!1,ellipsis:!0})})})}};var xf=class extends Te{static{s(this,"LegacyTaxes")}title="C\xC1LCULO DO IMPOSTO";perRow=8;cell(e,o){return{label:e,value:this.format.currency(o),align:"right"}}cells(){let e=this.infNFe.total.ICMSTot;return[this.cell("BASE DE C\xC1LC. DO ICMS",e.vBC),this.cell("VALOR DO ICMS",e.vICMS),this.cell("BASE DE C\xC1LC. ICMS S.T.",e.vBCST),this.cell("VALOR DO ICMS SUBST.",e.vST),this.cell("V. IMP. IMPORTA\xC7\xC3O",e.vII),this.cell("V. ICMS UF REMET.",e.vICMSUFRemet),this.cell("V. FCP UF DEST.",e.vFCPUFDest),this.cell("V. TOTAL PRODUTOS",e.vProd),this.cell("VALOR DO FRETE",e.vFrete),this.cell("VALOR DO SEGURO",e.vSeg),this.cell("DESCONTO",e.vDesc),this.cell("OUTRAS DESPESAS",e.vOutro),this.cell("VALOR TOTAL IPI",e.vIPI),this.cell("V. ICMS UF DEST.",e.vICMSUFDest),this.cell("V. TOT. TRIB.",e.vTotTrib),this.cell("V. TOTAL DA NOTA",e.vNF)]}height(){let e=this.fields.gridRows(this.cells().length,this.perRow);return this.fields.titleHeight+e*this.fields.rowHeight}draw({x:e,y:o,width:i}){let r=o+this.fields.title(e,o,i,this.title);this.fields.grid(e,r,i,this.cells(),this.perRow)}};var IR=require("nfets/core");var gu=class extends Te{static{s(this,"Transport")}title="TRANSPORTADOR / VOLUMES TRANSPORTADOS";conditional=!1;modFrete={0:"0-Por conta do remetente",1:"1-Por conta do destinat\xE1rio",2:"2-Por conta de terceiros",3:"3-Pr\xF3prio por conta do remetente",4:"4-Pr\xF3prio por conta do destinat\xE1rio",9:"9-Sem transporte"};get volumes(){return this.context.asArray(this.infNFe.transp.vol)}visible(){if(!this.conditional)return!0;let{transporta:e,veicTransp:o}=this.infNFe.transp;return!!e||!!o||this.volumes.length>0}height(){return this.fields.titleHeight+3*this.fields.rowHeight}sum(e,o){let i=this.volumes.map(n=>n[e]).filter(n=>n!==void 0&&n!=="");if(!i.length)return"";let r=i.reduce((n,a)=>new IR.Decimal(n).plus(a??0).toString(),"0");return this.format.decimal(r,o)}draw({x:e,y:o,width:i}){let{modFrete:r,transporta:n,veicTransp:a}=this.infNFe.transp,c=this.volumes.at(0),p=this.fields.rowHeight,u=o+this.fields.title(e,o,i,this.title),l=s(d=>this.format.blank(d),"blank");this.fields.row(e,u,i,p,[{label:"NOME / RAZ\xC3O SOCIAL",value:l(n?.xNome),weight:62},{label:"FRETE",value:l(this.modFrete[r]??r),weight:40},{label:"C\xD3DIGO ANTT",value:l(a?.RNTC),weight:22},{label:"PLACA DO VE\xCDCULO",value:l(a?.placa),weight:22},{label:"UF",value:l(a?.UF),weight:10},{label:"CNPJ / CPF",value:l(this.format.document(n?.CNPJ,n?.CPF)),weight:34}]),u+=p,this.fields.row(e,u,i,p,[{label:"ENDERE\xC7O",value:l(n?.xEnder),weight:102},{label:"MUNIC\xCDPIO",value:l(n?.xMun),weight:44},{label:"UF",value:l(n?.UF),weight:10},{label:"INSCRI\xC7\xC3O ESTADUAL",value:l(n?.IE),weight:34}]),u+=p,this.fields.row(e,u,i,p,[{label:"QUANTIDADE",value:l(this.sum("qVol",0)),weight:15,align:"right"},{label:"ESP\xC9CIE",value:l(c?.esp),weight:42.5},{label:"MARCA",value:l(c?.marca),weight:42.5},{label:"NUMERA\xC7\xC3O",value:l(c?.nVol),weight:35},{label:"PESO BRUTO",value:l(this.sum("pesoB",3)),weight:37.5,align:"right"},{label:"PESO L\xCDQUIDO",value:l(this.sum("pesoL",3)),weight:37.5,align:"right"}])}},Sf=class extends gu{static{s(this,"ConditionalTransport")}conditional=!0};var OR=require("nfets/core");var Va=class{static{s(this,"DetReader")}det;constructor(e){this.det=e}get icms(){let e=this.det.imposto?.ICMS;if(!e)return{};let[o]=Object.values(e);return o??{}}get cstCode(){let{CST:e,CSOSN:o}=this.icms;return o??e??""}cst(e=""){let{orig:o}=this.icms,i=this.cstCode;return o===void 0?i:`${o}${e}${i}`}get ipi(){return this.det.imposto?.IPI?.IPITrib}get ibscbs(){return this.det.imposto?.IBSCBS?.gIBSCBS}get cClassTrib(){return this.det.imposto?.IBSCBS?.cClassTrib}get is(){return this.det.imposto?.IS}get hasTaxUnit(){let{uTrib:e,qTrib:o,vUnCom:i,vUnTrib:r}=this.det.prod,n=s(a=>new OR.Decimal(a??0).toFixed(2),"fixed");return!!e&&!!o&&n(i)!==n(r)}};var Cf=class{static{s(this,"ItemDescription")}context;maxAdditionalInfo=500;icmsTaxes=[["vBCFCP"," BcFcp=%s"],["pFCP"," pFcp=%s%"],["vFCP"," vFcp=%s"],["pRedBC"," pRedBC=%s%"],["pMVAST"," IVA/MVA=%s%"],["pICMSST"," pIcmsSt=%s%"],["vBCST"," BcIcmsSt=%s"],["vICMSST"," vIcmsSt=%s"],["vBCFCPST"," BcFcpSt=%s"],["pFCPST"," pFcpSt=%s%"],["vFCPST"," vFcpSt=%s"],["vBCSTRet"," Retido na compra: BASE ICMS ST=%s"],["pST"," pSt=%s"],["vICMSSubstituto"," vICMSSubstituto=%s"],["vICMSSTRet"," VALOR ICMS ST=%s"]];icmsUfDestTaxes=[["pFCPUFDest"," pFCPUFDest=%s%"],["pICMSUFDest"," pICMSUFDest=%s%"],["pICMSInterPart"," pICMSInterPart=%s%"],["vFCPUFDest"," vFCPUFDest=%s"],["vICMSUFDest"," vICMSUFDest=%s"],["vICMSUFRemet"," vICMSUFRemet=%s"]];operations={0:"OUTROS",1:"VENDA CONCESSION\xC1RIA",2:"FATURAMENTO DIRETO CONSUMIDOR",3:"VENDA DIRETA GDE CONSUMIDORES"};fuels={1:"ALCOOL",2:"GASOLINA",3:"DIESEL",4:"GASOGENIO",5:"GAS METANO",6:"ELETRICO/INTERNA",7:"ELETRICO/EXTERNA",8:"GASOL/GNC",9:"ALCOOL/GNC",10:"DIESEL/GNC",11:"OBSERVACAO",12:"ALCOOL/GNV",13:"GASOLINA/GNV",14:"DIESEL/GNV",15:"GNV",16:"ALCOOL/GASOLINA",17:"GASOLINA/ALCOOL/GNV",18:"GASOLINA/ELETRICO"};species={1:"PASSAGEIRO",2:"CARGA",3:"MISTO",4:"CORRIDA",5:"TRACAO",6:"ESPECIAL",7:"COLECAO"};vehicles={2:"CICLOMOTO",3:"MOTONETA",4:"MOTOCICLO",5:"TRICICLO",6:"AUTOM\xD3VEL",7:"MICRO-\xD4NIBUS",8:"\xD4NIBUS",10:"REBOQUE",11:"SEMIRREBOQUE",13:"CAMIONETA",14:"CAMINH\xC3O",17:"CAMINH\xC3O TRATOR",18:"TRATOR RODAS",19:"TRATOR ESTEIRAS",20:"TRATOR MISTO",21:"QUADRICICLO",22:"ESP/\xD4NIBUS",23:"CAMINHONETE",24:"CARGA/CAM",25:"UTILIT\xC1RIO",26:"MOTOR-CASA"};colors={1:"AMARELO",2:"AZUL",3:"BEGE",4:"BRANCA",5:"CINZA",6:"DOURADA",7:"GRENA",8:"LARANJA",9:"MARROM",10:"PRATA",11:"PRETA",12:"ROSA",13:"ROXA",14:"VERDE",15:"VERMELHA",16:"FANTASIA"};conditions={1:"ACABADO",2:"INACABADO",3:"SEMI-ACABADO"};restrictions={0:"N\xC3O H\xC1",1:"ALIENA\xC7\xC3O FIDUCI\xC1RIA",2:"ARRENDAMENTO MERCANTIL",3:"RESERVA DE DOM\xCDNIO",4:"PENHOR DE VE\xCDCULOS",9:"OUTRAS"};weaponTypes={0:"USO PERMITIDO",1:"USO RESTRITO"};constructor(e){this.context=e}get options(){return this.context.options}tax(e,o){return e===void 0||e===""||e==="0"?"":o.replace("%s",this.context.format.decimal(e,2))}taxes(e){let o=new Va(e).icms,i=e.imposto?.ICMSUFDest;return[...this.icmsTaxes.map(([r,n])=>this.tax(o[r],n)),...i?this.icmsUfDestTaxes.map(([r,n])=>this.tax(i[r],n)):[]].join("")}infAdProd(e){return(e.infAdProd??"").substring(0,this.maxAdditionalInfo).trim()}additionalInfo(e){let o=this.infAdProd(e);return o?`${o} `:""}anvisa(e){let o=e.prod.med?.cProdANVISA;return!this.options.showItemBatch||!o?"":`ANVISA: ${o}`}batch(e){let o=this.context.asArray(e.prod.rastro);if(!this.options.showItemBatch||o.length!==1)return"";let[{nLote:i,qLote:r,dFab:n,dVal:a}]=o,{format:c}=this.context;return[i?` Lote: ${i}`:"",r?` Quant: ${r.toString()}`:"",` Fab: ${c.plainDate(n)}`,` Val: ${c.plainDate(a)} `].join("")}fci(e){return e.prod.nFCI?` FCI:${e.prod.nFCI}`:""}label(e,o){return`${o}-${e[Number.parseInt(o,10)]??""}`}lines(e){return e.map(([o,i])=>`${o}: ${i??""}`).join(`
52
49
  `)}vehicle(e){let o=e.prod.veicProd;return o?this.lines([["TIPO DA OPERA\xC7\xC3O",this.label(this.operations,o.tpOp)],["CHASSI",o.chassi],["C\xD3DIGO DA COR",o.cCor],["NOME DA COR",o.xCor],["POT\xCANCIA DO MOTOR",o.pot],["CILINDRADAS",o.cilin],["PESO L\xCDQUIDO",o.pesoL],["PESO BRUTO",o.pesoB],["N\xDAMERO DE S\xC9RIE",o.nSerie],["COMBUST\xCDVEL",this.label(this.fuels,o.tpComb)],["N\xDAMERO DO MOTOR",o.nMotor],["CAP. M\xC1X. TRA\xC7\xC3O",o.CMT],["DIST\xC2NCIA ENTRE EIXOS",o.dist],["ANO DO MODELO",o.anoMod],["ANO DE FABRICA\xC7\xC3O",o.anoFab],["TIPO DE PINTURA",o.tpPint],["TIPO DE VE\xCDCULO",this.label(this.vehicles,o.tpVeic)],["ESP\xC9CIE DO VE\xCDCULO",this.label(this.species,o.espVeic)],["VIN (CHASSI)",o.VIN==="N"?"N-NORMAL":"R-REMARCADO"],["CONDI\xC7\xC3O DO VE\xCDCULO",this.label(this.conditions,o.condVeic)],["C\xD3DIGO MARCA MODELO",o.cMod],["C\xD3DIGO COR DENATRAN",this.label(this.colors,o.cCorDENATRAN)],["CAPACIDADE M\xC1XIMA DE LOTA\xC7\xC3O",o.lota],["RESTRI\xC7\xC3O",`${o.tpRest}-${this.restrictions[o.tpRest]??""}`]]):""}weapons(e){return this.context.asArray(e.prod.arma).map(o=>this.lines([["TIPO DA ARMA",this.label(this.weaponTypes,o.tpArma)],["N\xDAMERO DE S\xC9RIE DA ARMA",o.nSerie],["N\xDAMERO DE S\xC9RIE DO CANO",o.nCano],["DESCRI\xC7\xC3O DA ARMA",o.descr]])).join(`
53
50
  `)}productName(e){let o=e.prod.xProd;return this.options.breakItemDescription&&(o=o.replaceAll(";",`
54
51
  `)),this.options.showItemOrderNumber&&e.prod.nItemPed&&(o+=` (ITEM ${e.prod.nItemPed})`),o}narrative(e){let o=this.options.showItemComplement?this.batch(e)+this.taxes(e)+this.fci(e):"";return[this.anvisa(e),o].filter(Boolean).join("")}extras(e){let o=[this.narrative(e).trim(),this.vehicle(e),this.weapons(e)].filter(Boolean).join(`
@@ -57,10 +54,10 @@ Valor`,N=[p.nDup??"",this.format.plainDate(p.dVenc),`R$ ${this.format.currency(p
57
54
  `);return this.options.breakItemDescription&&(r=r.replaceAll(";",`
58
55
  `)),r}build(e){let o=[this.productName(e),this.details(e)].filter(Boolean).join(`
59
56
  `);return this.options.breakItemDescription&&(o=o.replaceAll(";",`
60
- `)),o}};var Fp=class extends Te{static{s(this,"DanfeItemsBlock")}description=new Sf(this.context);slice={items:[],isFirst:!0,isLast:!0};boxHeight=0;title="DADOS DOS PRODUTOS / SERVI\xC7OS";fontSize=6;headerFontSize=5;get cellPadding(){return this.fields.padding}columnLabelColor="black";widths(){return this.fields.widths(this.context.contentWidth,this.columns.map(e=>e.weight))}labelsHeight(){let e=this.widths(),o=this.cellPadding,i=this.columns.map((r,n)=>this.fields.measure(r.label,e[n]-2*o,{size:this.headerFontSize,bold:!0}));return Math.max(...i)+2*o}headerHeight(){return this.fields.titleHeight+this.labelsHeight()}isRuns(e){return Array.isArray(e)}isPairs(e){return typeof e!="string"&&!Array.isArray(e)}lineHeight(){return this.builder.font(this.context.defaults.font).fontSize(this.fontSize),this.builder.currentLineHeight(!0)}fitSize(e,o,i){let r=Math.max(o-.5,1),n=this.fields.widthOf(e,{size:i});return n<=r?i:i*r/n}cellHeight(e,o){return this.isPairs(e)?Math.ceil(e.pairs.length/(e.columns??1))*this.lineHeight():this.isRuns(e)?e.reduce((i,r)=>{let n=r.blankBefore?this.lineHeight():0;if(!r.text)return i+n;let a=r.fit?this.fitSize(r.text,o,this.fontSize):this.fontSize;return i+n+this.fields.measure(r.text,o,{size:a})},0):this.fields.measure(e,o,{size:this.fontSize})}itemHeight(e){let o=this.widths(),i=this.cellPadding,r=this.cells(e).map((n,a)=>this.cellHeight(n,o[a]-2*i));return Math.max(this.lineHeight(),...r)+2*i}height(){return this.boxHeight}drawLabels(e,o,i){let r=this.widths(),n=this.cellPadding,a=e;this.columns.forEach((c,p)=>{this.fields.text(c.label,a+n,o+n,r[p]-2*n,i-2*n,{size:this.headerFontSize,bold:!0,align:"center",color:this.columnLabelColor}),a+=r[p]})}drawColumnLines(e,o,i){let r=this.widths(),n=e;r.slice(0,-1).forEach(a=>{n+=a,this.builder.moveTo(n,o).lineTo(n,i).stroke()})}drawPairs(e,o,i,r){let n=this.lineHeight(),a=e.columns??1,c=5,p=(r-c*(a-1))/a,u=e.muted===!1?"black":this.fields.muted;e.pairs.forEach(([l,d],m)=>{let y=i+Math.floor(m/a)*n,x=o+m%a*(p+c),N={size:this.fontSize},C=this.fields.widthOf(d,N),b=Math.max(p-C,0),I=Math.min(this.fields.widthOf(l,N),b),A=this.fields.widthOf(".",N),D=b-I,H=A>0&&D>A?".".repeat(Math.floor(D/A)):"";this.fields.text(l,x,y,I+.5,n,{...N,color:u}),H&&this.fields.text(H,x+I,y,D,n,{...N,color:u}),this.fields.text(d,x,y,p,n,{...N,align:"right"})})}drawRuns(e,o,i,r,n){let a=i;e.forEach(c=>{if(c.blankBefore&&(a+=this.lineHeight()),!c.text)return;let p=c.fit?this.fitSize(c.text,r,this.fontSize):this.fontSize,u=this.fields.measure(c.text,r,{size:p});this.fields.text(c.text,o,a,r,u,{size:p,align:c.align??n,color:c.color,lineBreak:c.fit?!1:void 0}),a+=u})}drawItem(e,o,i,r){let n=this.widths(),a=this.columns,c=this.cellPadding,p=o;this.cells(e).forEach((u,l)=>{let d=n[l]-2*c,m=a[l].align??"left";this.isPairs(u)?this.drawPairs(u,p+c,i+c,d):this.isRuns(u)?this.drawRuns(u,p+c,i+c,d,m):this.fields.text(u,p+c,i+c,d,r-2*c,{size:this.fontSize,align:m}),p+=n[l]})}drawSeparator(e,o,i){this.builder.save().lineWidth(.3).dash(1,{space:1.5}).moveTo(e,o).lineTo(e+i,o).stroke().undash().restore()}draw({x:e,y:o,width:i}){let r=this.fields.title(e,o,i,this.title),n=o+r,a=this.labelsHeight(),c=o+this.boxHeight;this.fields.rect(e,n,i,a),this.drawLabels(e,n,a);let p=n+a;this.fields.rect(e,p,i,c-p),this.context.status.watermark(e,p,i,c-p),this.builder.lineWidth(.5),this.drawColumnLines(e,n,c);let u=p;this.slice.items.forEach((l,d)=>{let m=this.itemHeight(l);d>0&&this.drawSeparator(e,u,i),this.drawItem(l,e,u,m),u+=m})}};var Cf=class extends Fp{static{s(this,"LegacyItems")}get isSimples(){return["1","4"].includes(this.infNFe.emit.CRT)}get columns(){return[{label:"C\xD3DIGO PRODUTO",weight:17},{label:"DESCRI\xC7\xC3O DO PRODUTO / SERVI\xC7O",weight:50},{label:"NCM/SH",weight:12,align:"center"},{label:this.isSimples?"O/CSOSN":"O/CST",weight:8,align:"center"},{label:"CFOP",weight:7,align:"center"},{label:"UN",weight:7,align:"center"},{label:"QUANT",weight:13,align:"right"},{label:"VALOR UNIT",weight:13,align:"right"},{label:"VALOR TOTAL",weight:13,align:"right"},{label:"VALOR DESC",weight:11,align:"right"},{label:"B.C\xC1LC ICMS",weight:12,align:"right"},{label:"VALOR ICMS",weight:11,align:"right"},{label:"VALOR IPI",weight:10,align:"right"},{label:"AL\xCDQ. ICMS",weight:8,align:"right"},{label:"AL\xCDQ. IPI",weight:8,align:"right"}]}cells(e){let o=new Va(e),{prod:i}=e,{qComDecimals:r,vUnComDecimals:n}=this.context.options,a=o.icms,c=o.ipi,p=s(m=>this.format.decimal(m,2,r),"quantity"),u=s(m=>this.format.decimal(m,2,n),"unitValue"),l=!this.context.options.hideTaxUnit&&o.hasTaxUnit,d=s((m,y)=>l?`${m}
61
- ${y}`:m,"withTaxUnit");return[i.cProd,this.description.build(e),i.NCM,o.cst("/"),i.CFOP,d(i.uCom,i.uTrib),d(p(i.qCom),p(i.qTrib)),d(u(i.vUnCom),u(i.vUnTrib)),this.format.currency(i.vProd),this.format.currency(i.vDesc),this.format.currency(a.vBC),this.format.currency(a.vICMS),this.format.currency(c?.vIPI),this.format.decimal(a.pICMS),this.format.decimal(c?.pIPI)]}};var Dp=class extends Te{static{s(this,"Issqn")}title="C\xC1LCULO DO ISSQN";visible(){return this.format.isNotEmpty(this.infNFe.total.ISSQNtot?.vServ)}height(){return this.fields.titleHeight+this.fields.rowHeight}draw({x:e,y:o,width:i}){let{ISSQNtot:r}=this.infNFe.total,n=o+this.fields.title(e,o,i,this.title);this.fields.row(e,n,i,this.fields.rowHeight,[{label:"INSCRI\xC7\xC3O MUNICIPAL",value:this.infNFe.emit.IM,weight:1},{label:"VALOR TOTAL DOS SERVI\xC7OS",value:this.format.currency(r?.vServ),weight:1,align:"right"},{label:"BASE DE C\xC1LCULO DO ISSQN",value:this.format.currency(r?.vBC),weight:1,align:"right"},{label:"VALOR DO ISSQN",value:this.format.currency(r?.vISS),weight:1,align:"right"}])}};var IR=pt(ug(),1);var Nf=class{static{s(this,"DanfeQrCode")}context;svg;constructor(e){this.context=e}get content(){let e=this.context.data.infNFeSupl?.qrCode.trim();if(e)return e}async prepare(){let e=this.content;if(!e)return;let o=await IR.toString(e,{margin:0,type:"svg",errorCorrectionLevel:"M",color:{dark:"#000000",light:"#FFFFFF"}});this.svg=await this.context.toolkit.parse(o)}draw(e,o,i){if(!this.svg)return;let[,,r,n]=this.svg.$.viewBox.split(" ").map(Number),a=this.context.asArray(this.svg.path),{builder:c}=this.context;c.save().translate(e,o).scale(i/r,i/n).lineWidth(1),a.forEach(p=>{c.path(p.$.d),p.$.fill&&c.fill(p.$.fill),p.$.stroke&&c.stroke(p.$.stroke)}),c.restore()}};var Ep=class extends Te{static{s(this,"AdditionalData")}title="DADOS ADICIONAIS";textSize=6.5;minHeight=V(22);maxHeight=V(70);qrWidth=V(32);withQrCode=!1;qrCode;constructor(e){super(e),this.qrCode=new Nf(e)}async prepare(){this.withQrCode&&await this.qrCode.prepare()}get hasQrCode(){return this.withQrCode&&!!this.qrCode.content}widths(){let e=this.context.contentWidth,o=this.withQrCode?this.qrWidth:0,i=this.hasQrCode?o:0,r=e*.66-o,n=e-r-i;return[r,n,i]}lines(){let{infAdic:e,ide:o,dest:i}=this.infNFe,r=[],n=this.format.sanitize(e?.infAdFisco);n&&r.push(`Inf. Fisco: ${n}`);let a=this.format.sanitize(e?.infCpl).replace(/;/g,`
57
+ `)),o}};var Fp=class extends Te{static{s(this,"DanfeItemsBlock")}description=new Cf(this.context);slice={items:[],isFirst:!0,isLast:!0};boxHeight=0;title="DADOS DOS PRODUTOS / SERVI\xC7OS";fontSize=6;headerFontSize=5;get cellPadding(){return this.fields.padding}columnLabelColor="black";minFontSize=6;pairGap=5;widths(){return this.fields.widths(this.context.contentWidth,this.columns.map(e=>e.weight))}labelsHeight(){let e=this.widths(),o=this.cellPadding,i=this.columns.map((r,n)=>this.fields.measure(r.label,e[n]-2*o,{size:this.headerFontSize,bold:!0}));return Math.max(...i)+2*o}headerHeight(){return this.fields.titleHeight+this.labelsHeight()}isRuns(e){return Array.isArray(e)}isPairs(e){return typeof e!="string"&&!Array.isArray(e)}lineHeight(){return this.builder.font(this.context.defaults.font).fontSize(this.fontSize),this.builder.currentLineHeight(!0)}fitSize(e,o,i){let r=Math.max(i,this.minFontSize),n=Math.max(o-.5,1);return this.fields.widthOf(e,{size:r})<=n?r:this.minFontSize}pairColumns(e,o){let i=e.columns??1;if(i<=1)return 1;let r=(o-this.pairGap*(i-1))/i,n={size:this.fontSize};return e.pairs.every(([c,p])=>this.fields.widthOf(c,n)+this.fields.widthOf(p,n)<=r)?i:1}cellHeight(e,o){if(this.isPairs(e)){let i=this.pairColumns(e,o);return Math.ceil(e.pairs.length/i)*this.lineHeight()}return this.isRuns(e)?e.reduce((i,r)=>{let n=r.blankBefore?this.lineHeight():0;if(!r.text)return i+n;if(!r.fit)return i+n+this.fields.measure(r.text,o,{size:this.fontSize});let a=this.fitSize(r.text,o,this.fontSize);return this.builder.font(this.context.defaults.font).fontSize(a),i+n+this.builder.currentLineHeight(!0)},0):this.fields.measure(e,o,{size:this.fontSize})}itemHeight(e){let o=this.widths(),i=this.cellPadding,r=this.cells(e).map((n,a)=>this.cellHeight(n,o[a]-2*i));return Math.max(this.lineHeight(),...r)+2*i}height(){return this.boxHeight}drawLabels(e,o,i){let r=this.widths(),n=this.cellPadding,a=e;this.columns.forEach((c,p)=>{this.fields.text(c.label,a+n,o+n,r[p]-2*n,i-2*n,{size:this.headerFontSize,bold:!0,align:"center",color:this.columnLabelColor}),a+=r[p]})}drawColumnLines(e,o,i){let r=this.widths(),n=e;r.slice(0,-1).forEach(a=>{n+=a,this.builder.moveTo(n,o).lineTo(n,i).stroke()})}drawPairs(e,o,i,r){let n=this.lineHeight(),a=this.pairColumns(e,r),c=this.pairGap,p=(r-c*(a-1))/a,u=e.muted===!1?"black":this.fields.muted;e.pairs.forEach(([l,d],m)=>{let y=i+Math.floor(m/a)*n,x=o+m%a*(p+c),N={size:this.fontSize},C=this.fields.widthOf(d,N),b=Math.max(p-C,0),I=Math.min(this.fields.widthOf(l,N),b),A=this.fields.widthOf(".",N),D=b-I,U=A>0&&D>A?".".repeat(Math.floor(D/A)):"";this.fields.text(l,x,y,I+.5,n,{...N,color:u}),U&&this.fields.text(U,x+I,y,D,n,{...N,color:u}),this.fields.text(d,x,y,p,n,{...N,align:"right"})})}drawRuns(e,o,i,r,n){let a=i;e.forEach(c=>{if(c.blankBefore&&(a+=this.lineHeight()),!c.text)return;let p=c.fit?this.fitSize(c.text,r,this.fontSize):this.fontSize;this.builder.font(this.context.defaults.font).fontSize(p);let u=c.fit?this.builder.currentLineHeight(!0):this.fields.measure(c.text,r,{size:p});this.fields.text(c.text,o,a,r,u,{size:p,align:c.align??n,color:c.color,lineBreak:c.fit?!1:void 0,ellipsis:c.fit?!1:void 0}),a+=u})}drawItem(e,o,i,r){let n=this.widths(),a=this.columns,c=this.cellPadding,p=o;this.cells(e).forEach((u,l)=>{let d=n[l]-2*c,m=a[l].align??"left";this.isPairs(u)?this.drawPairs(u,p+c,i+c,d):this.isRuns(u)?this.drawRuns(u,p+c,i+c,d,m):this.fields.text(u,p+c,i+c,d,r-2*c,{size:this.fontSize,align:m}),p+=n[l]})}drawSeparator(e,o,i){this.builder.save().lineWidth(.3).dash(1,{space:1.5}).moveTo(e,o).lineTo(e+i,o).stroke().undash().restore()}draw({x:e,y:o,width:i}){let r=this.fields.title(e,o,i,this.title),n=o+r,a=this.labelsHeight(),c=o+this.boxHeight;this.fields.rect(e,n,i,a),this.drawLabels(e,n,a);let p=n+a;this.fields.rect(e,p,i,c-p),this.context.status.watermark(e,p,i,c-p),this.builder.lineWidth(.5),this.drawColumnLines(e,n,c);let u=p;this.slice.items.forEach((l,d)=>{let m=this.itemHeight(l);d>0&&this.drawSeparator(e,u,i),this.drawItem(l,e,u,m),u+=m})}};var Nf=class extends Fp{static{s(this,"LegacyItems")}get isSimples(){return["1","4"].includes(this.infNFe.emit.CRT)}get columns(){return[{label:"C\xD3DIGO PRODUTO",weight:17},{label:"DESCRI\xC7\xC3O DO PRODUTO / SERVI\xC7O",weight:50},{label:"NCM/SH",weight:12,align:"center"},{label:this.isSimples?"O/CSOSN":"O/CST",weight:8,align:"center"},{label:"CFOP",weight:7,align:"center"},{label:"UN",weight:7,align:"center"},{label:"QUANT",weight:13,align:"right"},{label:"VALOR UNIT",weight:13,align:"right"},{label:"VALOR TOTAL",weight:13,align:"right"},{label:"VALOR DESC",weight:11,align:"right"},{label:"B.C\xC1LC ICMS",weight:12,align:"right"},{label:"VALOR ICMS",weight:11,align:"right"},{label:"VALOR IPI",weight:10,align:"right"},{label:"AL\xCDQ. ICMS",weight:8,align:"right"},{label:"AL\xCDQ. IPI",weight:8,align:"right"}]}cells(e){let o=new Va(e),{prod:i}=e,{qComDecimals:r,vUnComDecimals:n}=this.context.options,a=o.icms,c=o.ipi,p=s(m=>this.format.decimal(m,2,r),"quantity"),u=s(m=>this.format.decimal(m,2,n),"unitValue"),l=!this.context.options.hideTaxUnit&&o.hasTaxUnit,d=s((m,y)=>l?`${m}
58
+ ${y}`:m,"withTaxUnit");return[i.cProd,this.description.build(e),i.NCM,o.cst("/"),i.CFOP,d(i.uCom,i.uTrib),d(p(i.qCom),p(i.qTrib)),d(u(i.vUnCom),u(i.vUnTrib)),this.format.currency(i.vProd),this.format.currency(i.vDesc),this.format.currency(a.vBC),this.format.currency(a.vICMS),this.format.currency(c?.vIPI),this.format.decimal(a.pICMS),this.format.decimal(c?.pIPI)]}};var Dp=class extends Te{static{s(this,"Issqn")}title="C\xC1LCULO DO ISSQN";visible(){return this.format.isNotEmpty(this.infNFe.total.ISSQNtot?.vServ)}height(){return this.fields.titleHeight+this.fields.rowHeight}draw({x:e,y:o,width:i}){let{ISSQNtot:r}=this.infNFe.total,n=o+this.fields.title(e,o,i,this.title);this.fields.row(e,n,i,this.fields.rowHeight,[{label:"INSCRI\xC7\xC3O MUNICIPAL",value:this.infNFe.emit.IM,weight:1},{label:"VALOR TOTAL DOS SERVI\xC7OS",value:this.format.currency(r?.vServ),weight:1,align:"right"},{label:"BASE DE C\xC1LCULO DO ISSQN",value:this.format.currency(r?.vBC),weight:1,align:"right"},{label:"VALOR DO ISSQN",value:this.format.currency(r?.vISS),weight:1,align:"right"}])}};var AR=lt(dg(),1);var Rf=class{static{s(this,"DanfeQrCode")}context;svg;constructor(e){this.context=e}get content(){let e=this.context.data.infNFeSupl?.qrCode.trim();if(e)return e}async prepare(){let e=this.content;if(!e)return;let o=await AR.toString(e,{margin:0,type:"svg",errorCorrectionLevel:"M",color:{dark:"#000000",light:"#FFFFFF"}});this.svg=await this.context.toolkit.parse(o)}draw(e,o,i){if(!this.svg)return;let[,,r,n]=this.svg.$.viewBox.split(" ").map(Number),a=this.context.asArray(this.svg.path),{builder:c}=this.context;c.save().translate(e,o).scale(i/r,i/n).lineWidth(1),a.forEach(p=>{c.path(p.$.d),p.$.fill&&c.fill(p.$.fill),p.$.stroke&&c.stroke(p.$.stroke)}),c.restore()}};var Ep=class extends Te{static{s(this,"AdditionalData")}title="DADOS ADICIONAIS";textSize=6.5;minHeight=j(22);maxHeight=j(70);qrWidth=j(32);withQrCode=!1;qrCode;constructor(e){super(e),this.qrCode=new Rf(e)}async prepare(){this.withQrCode&&await this.qrCode.prepare()}get hasQrCode(){return this.withQrCode&&!!this.qrCode.content}widths(){let e=this.context.contentWidth,o=this.withQrCode?this.qrWidth:0,i=this.hasQrCode?o:0,r=e*.66-o,n=e-r-i;return[r,n,i]}lines(){let{infAdic:e,ide:o,dest:i}=this.infNFe,r=[],n=this.format.sanitize(e?.infAdFisco);n&&r.push(`Inf. Fisco: ${n}`);let a=this.format.sanitize(e?.infCpl).replace(/;/g,`
62
59
  `);a&&r.push(`Inf. Contribuinte: ${a}`);for(let p of this.context.asArray(e?.obsCont))r.push(`${p.xCampo}: ${p.xTexto}`);this.context.status.isContingency&&o.dhCont&&r.push(`Emitida em conting\xEAncia em ${this.format.dateTime(o.dhCont)}. Justificativa: ${o.xJust??""}`.trim());let c=this.context.protNFe?.infProt.xMsg;return c&&r.push(`Mensagem SEFAZ: ${c}`),i?.email&&r.push(`Email do Destinat\xE1rio: ${i.email}`),r}get text(){return this.lines().join(`
63
- `)}boxHeight(){let[e]=this.widths(),o=this.fields.padding,r=this.fields.measure(this.text,e-2*o,{size:this.textSize})+this.fields.labelHeight+3*o,n=this.hasQrCode?this.qrWidth:0;return Math.min(Math.max(r,n,this.minHeight),this.maxHeight)}height(){return this.fields.titleHeight+this.boxHeight()}draw({x:e,y:o,width:i}){let r=this.fields.padding,n=o+this.fields.title(e,o,i,this.title),a=this.boxHeight(),[c,p,u]=this.widths();this.fields.box(e,n,c,a,{label:"INFORMA\xC7\xD5ES COMPLEMENTARES"});let l=n+r+this.fields.labelHeight+1;if(this.fields.text(this.text,e+r,l,c-2*r,n+a-l-r,{size:this.textSize}),this.fields.box(e+c,n,p,a,{label:"RESERVADO AO FISCO"}),this.hasQrCode){let d=e+c+p;this.fields.box(d,n,u,a,{label:"QR CODE"});let m=Math.min(u-4*r,a-this.fields.labelHeight-4*r);this.qrCode.draw(d+(u-m)/2,n+this.fields.labelHeight+2*r,m)}}};var Pp=class extends Te{static{s(this,"Footer")}textSize=6;height(){return V(4)}draw({x:e,y:o,width:i}){let r=o+V(1),n=this.height()-V(1),a=i/2;this.fields.text(`Impresso em ${this.format.now()}`,e,r,a,n,{size:this.textSize});let{credits:c}=this.context.options;if(!c)return;this.builder.font(this.context.defaults.font).fontSize(this.textSize);let p=this.builder.currentLineHeight(!0);this.builder.text(c,{x:e+a,y:r,width:a,height:Math.max(n,p+.5),align:"right",ellipsis:!0,link:c===Ma?"https://github.com/nfets/nfets":void 0})}};var hg=class extends Rp{static{s(this,"DanfeDefaultPdfDocument")}createBlocks(){return{canhoto:new wp(this),header:new Ip(this),firstPage:[new Op(this),new La(this,"retirada"),new La(this,"entrega"),new Ap(this),new bf(this),new gu(this)],items:new Cf(this),lastPage:[new Dp(this),new Ep(this)],footer:new Pp(this)}}};var Rf=class extends Ip{static{s(this,"RtcHeader")}crt={1:"1 - SIMPLES NACIONAL",2:"2 - SIMPLES NACIONAL - EXCESSO DE SUBLIMITE",3:"3 - REGIME NORMAL",4:"4 - MEI"};ibsApurationRegime(){let{tpRegApur:e}=this.infNFe.emit;return this.format.sanitize(e)||void 0}registrationRows(){let{emit:e}=this.infNFe,o=this.ibsApurationRegime(),i={label:"C\xD3DIGO DO REGIME TRIBUT\xC1RIO",value:this.crt[e.CRT]??e.CRT,weight:o?45:1};return[[{label:"INSCRI\xC7\xC3O ESTADUAL",value:this.format.blank(e.IE),weight:34},{label:"INSCRI\xC7\xC3O ESTADUAL DO SUBSTITUTO TRIBUT\xC1RIO",value:this.format.blank(e.IEST),weight:40},{label:"CNPJ / CPF",value:this.format.blank(this.format.document(e.CNPJ,e.CPF)),weight:36}],o?[i,{label:"TIPO DE REGIME DE APURA\xC7\xC3O DO IBS E DA CBS",value:o,weight:55}]:[i]]}};var wf=class extends Te{static{s(this,"RtcTotals")}perRow=6;cell(e,o){return{label:e,value:this.format.currency(o),align:"right"}}optional(e,o){return this.format.isNotEmpty(o)?[this.cell(e,o)]:[]}optionalQuantity(e,o){return this.format.isNotEmpty(o)?[{label:e,value:this.format.decimal(o,2,4),align:"right"}]:[]}products(){let e=this.infNFe.total.ICMSTot;return{title:"TOTAL DOS PRODUTOS E TOTAL DA NOTA",cells:[this.cell("VALOR TOTAL DOS PRODUTOS",e.vProd),this.cell("VALOR DO FRETE",e.vFrete),this.cell("VALOR DO SEGURO",e.vSeg),this.cell("DESCONTO",e.vDesc),this.cell("OUTRAS DESPESAS ACESS\xD3RIAS",e.vOutro),this.cell("VALOR TOTAL DA NOTA",e.vNF)]}}icmsIpi(){let e=this.infNFe.total.ICMSTot;return{title:"TOTAL DO ICMS / IPI",cells:[this.cell("BASE DE C\xC1LCULO DO ICMS",e.vBC),this.cell("VALOR DO ICMS",e.vICMS),this.cell("BASE DE C\xC1LCULO DO ICMS ST",e.vBCST),this.cell("VALOR DO ICMS ST",e.vST),this.cell("VALOR DO IPI",e.vIPI),...this.optional("VALOR DO FCP",e.vFCP),...this.optional("VALOR DO FCP RETIDO POR ST",e.vFCPST),...this.optional("VALOR DO DIFAL NA UF DE DESTINO",e.vICMSUFDest),...this.optional("VALOR DO FCP NA UF DE DESTINO",e.vFCPUFDest),...this.optionalQuantity("BC DO ICMS MONOF\xC1SICO",e.qBCMono),...this.optional("VALOR DO ICMS MONOF\xC1SICO",e.vICMSMono),...this.optionalQuantity("BC DO ICMS MONOF\xC1SICO POR RETEN\xC7\xC3O",e.qBCMonoReten),...this.optional("VALOR DO ICMS MONOF\xC1SICO POR RETEN\xC7\xC3O",e.vICMSMonoReten)]}}ibsCbsIs(){let{IBSCBSTot:e,ISTot:o}=this.infNFe.total;if(!e&&!o)return;let i=e?.gMono,r=i?[this.cell("VALOR DO IBS MONOF\xC1SICO",i.vIBSMono),this.cell("VALOR DA CBS MONOF\xC1SICA",i.vCBSMono),...this.optional("VALOR DO IBS MONOF\xC1SICO POR RETEN\xC7\xC3O",i.vIBSMonoReten),...this.optional("VALOR DA CBS MONOF\xC1SICA POR RETEN\xC7\xC3O",i.vCBSMonoReten)]:[];return{title:"TOTAL DO IBS / CBS / IS",cells:[this.cell("VALOR DA CBS",e?.gCBS?.vCBS),this.cell("VALOR DO IBS UF",e?.gIBS?.gIBSUF?.vIBSUF),this.cell("VALOR DO IBS MUNIC\xCDPIO",e?.gIBS?.gIBSMun?.vIBSMun),this.cell("VALOR DO IMPOSTO SELETIVO",o?.vIS),...r]}}sections(){let e=[this.products(),this.icmsIpi()],o=this.ibsCbsIs();return o&&e.push(o),e}sectionHeight(e){let o=this.fields.gridRows(e.cells.length,this.perRow);return this.fields.titleHeight+o*this.fields.rowHeight}height(){return this.sections().reduce((e,o)=>e+this.sectionHeight(o),0)}draw({x:e,y:o,width:i}){let r=o;for(let n of this.sections()){let a=r+this.fields.title(e,r,i,n.title);this.fields.grid(e,a,i,n.cells,this.perRow),r+=this.sectionHeight(n)}}};var If=class extends Fp{static{s(this,"RtcItems")}fontSize=5.5;columnLabelColor=this.fields.muted;get columns(){return[{label:"DESCRI\xC7\xC3O DO PRODUTO / SERVI\xC7O",weight:44},{label:"CST / CFOP",weight:18},{label:"QTD / UN",weight:13,align:"center"},{label:"VLR UNIT",weight:14,align:"right"},{label:"VLR TOTAL",weight:14,align:"right"},{label:"BASES DE C\xC1LCULO",weight:28},{label:"AL\xCDQUOTAS",weight:34},{label:"VALOR DOS TRIBUTOS",weight:35}]}rate(e,o){return e?.gRed?.pAliqEfet??o}descriptionCell(e){let{cProd:o,NCM:i}=e.det.prod,r=this.fields.muted,n=this.description.infAdProd(e.det),a=this.description.extras(e.det),c=[`[NCM ${i}]`],p=e.cClassTrib;return p&&c.push(`[cClassTrib ${p}]`),[{text:this.description.productName(e.det)},...n?[{text:n,color:r}]:[],...a?[{text:a,color:r}]:[],{text:"",blankBefore:!0},{text:`[C\xF3d. ${o}] ${c.join(" ")}`,color:r}]}cells(e){let o=new Va(e),{prod:i}=e,r=o.icms,n=o.ipi,a=o.ibscbs,c=o.is,p=s(l=>this.format.currency(l),"currency"),u=s(l=>this.format.percent(l),"percent");return[this.descriptionCell(o),{muted:!1,pairs:[["CST",o.cst()],["CFOP",i.CFOP]]},[{text:this.format.emitted(i.qCom,4),align:"center",fit:!0},{text:`[${i.uCom}]`,color:this.fields.muted,align:"center"}],[{text:this.format.emitted(i.vUnCom,10),align:"right",fit:!0}],p(i.vProd),{pairs:[["ICMS",p(r.vBC)],["IBS / CBS",p(a?.vBC)],["IS",p(c?.vBCIS)],["IPI",p(n?.vBC)]]},{columns:2,pairs:[["ICMS",u(r.pICMS)],["CBS",u(this.rate(a?.gCBS,a?.gCBS?.pCBS))],["IBS UF",u(this.rate(a?.gIBSUF,a?.gIBSUF?.pIBSUF))],["IPI",u(n?.pIPI)],["IBS MUN",u(this.rate(a?.gIBSMun,a?.gIBSMun?.pIBSMun))],["IS",u(c?.pIS)]]},{columns:2,pairs:[["ICMS",p(r.vICMS)],["CBS",p(a?.gCBS?.vCBS)],["IBS UF",p(a?.gIBSUF?.vIBSUF)],["IPI",p(n?.vIPI)],["IBS MUN",p(a?.gIBSMun?.vIBSMun)],["IS",p(c?.vIS)]]}]}};var Of=class extends Ep{static{s(this,"RtcAdditionalData")}withQrCode=!0};var vg=class extends Rp{static{s(this,"DanfeRtcPdfDocument")}createBlocks(){return{canhoto:new wp(this),header:new Rf(this),firstPage:[new Op(this),new La(this,"retirada"),new La(this,"entrega"),new Ap(this),new wf(this),new Dp(this),new xf(this)],items:new If(this),lastPage:[new Of(this)],footer:new Pp(this)}}};0&&(module.exports={AccessKeyBuilder,DanfceDefaultPdfDocument,DanfceReducedPdfDocument,DanfeDefaultPdfDocument,DanfeMargins,DanfeRtcPdfDocument,DanfeSize,DefaultDetBuilderAggregator,DefaultSchema,DefaultTotalBuilderAggregator,EventoCstatToCancelRegister,EventoCstatToProtocol,InutCstatToProtocol,NFCeDto,NFeDto,NfceAuthorizerPipeline,NfceCancelPipeline,NfceConsultProtocoloPipeline,NfceConsultStatusPipeline,NfceContingencyXmlAuthorizerPipeline,NfceQrcode,NfceRemoteTransmitter,NfceVoidRangePipeline,NfceXmlBuilder,NfceXmlBuilderPipeline,NfeAuthorizationResponsePipeline,NfeAuthorizerPipeline,NfeCancelPipeline,NfeComplements,NfeConsultProtocoloPipeline,NfeConsultStatusPipeline,NfeDetXmlBuilder,NfeDistribuicaoDFePipeline,NfeManifestacaoPipeline,NfeRemoteTransmitter,NfeVoidRangePipeline,NfeXmlBuilder,NfeXmlBuilderPipeline,PL_009,PL_010,TpEmis,TpEvent,XmlValidationError,mm,ptPerMm,schemas});
60
+ `)}boxHeight(){let[e]=this.widths(),o=this.fields.padding,r=this.fields.measure(this.text,e-2*o,{size:this.textSize})+this.fields.labelHeight+3*o,n=this.hasQrCode?this.qrWidth:0;return Math.min(Math.max(r,n,this.minHeight),this.maxHeight)}height(){return this.fields.titleHeight+this.boxHeight()}draw({x:e,y:o,width:i}){let r=this.fields.padding,n=o+this.fields.title(e,o,i,this.title),a=this.boxHeight(),[c,p,u]=this.widths();this.fields.box(e,n,c,a,{label:"INFORMA\xC7\xD5ES COMPLEMENTARES"});let l=n+r+this.fields.labelHeight+1;if(this.fields.text(this.text,e+r,l,c-2*r,n+a-l-r,{size:this.textSize}),this.fields.box(e+c,n,p,a,{label:"RESERVADO AO FISCO"}),this.hasQrCode){let d=e+c+p;this.fields.box(d,n,u,a,{label:"QR CODE"});let m=Math.min(u-4*r,a-this.fields.labelHeight-4*r);this.qrCode.draw(d+(u-m)/2,n+this.fields.labelHeight+2*r,m)}}};var Pp=class extends Te{static{s(this,"Footer")}textSize=6;height(){return j(4)}draw({x:e,y:o,width:i}){let r=o+j(1),n=this.height()-j(1),a=i/2;this.fields.text(`Impresso em ${this.format.now()}`,e,r,a,n,{size:this.textSize});let{credits:c}=this.context.options;if(!c)return;this.builder.font(this.context.defaults.font).fontSize(this.textSize);let p=this.builder.currentLineHeight(!0);this.builder.text(c,{x:e+a,y:r,width:a,height:Math.max(n,p+.5),align:"right",ellipsis:!0,link:c===Ma?"https://github.com/nfets/nfets":void 0})}};var gg=class extends wp{static{s(this,"DanfeDefaultPdfDocument")}createBlocks(){return{canhoto:new Rp(this),header:new Ip(this),firstPage:[new Op(this),new La(this,"retirada"),new La(this,"entrega"),new Ap(this),new xf(this),new gu(this)],items:new Nf(this),lastPage:[new Dp(this),new Ep(this)],footer:new Pp(this)}}};var wf=class extends Ip{static{s(this,"RtcHeader")}crt={1:"1 - SIMPLES NACIONAL",2:"2 - SIMPLES NACIONAL - EXCESSO DE SUBLIMITE",3:"3 - REGIME NORMAL",4:"4 - MEI"};ibsApurationRegime(){let{tpRegApur:e}=this.infNFe.emit;return this.format.sanitize(e)||void 0}registrationRows(){let{emit:e}=this.infNFe,o=this.ibsApurationRegime(),i={label:"C\xD3DIGO DO REGIME TRIBUT\xC1RIO",value:this.crt[e.CRT]??e.CRT,weight:o?45:1};return[[{label:"INSCRI\xC7\xC3O ESTADUAL",value:this.format.blank(e.IE),weight:34},{label:"INSCRI\xC7\xC3O ESTADUAL DO SUBSTITUTO TRIBUT\xC1RIO",value:this.format.blank(e.IEST),weight:40},{label:"CNPJ / CPF",value:this.format.blank(this.format.document(e.CNPJ,e.CPF)),weight:36}],o?[i,{label:"TIPO DE REGIME DE APURA\xC7\xC3O DO IBS E DA CBS",value:o,weight:55}]:[i]]}};var If=class extends Te{static{s(this,"RtcTotals")}perRow=6;cell(e,o){return{label:e,value:this.format.currency(o),align:"right"}}optional(e,o){return this.format.isNotEmpty(o)?[this.cell(e,o)]:[]}optionalQuantity(e,o){return this.format.isNotEmpty(o)?[{label:e,value:this.format.decimal(o,2,4),align:"right"}]:[]}products(){let e=this.infNFe.total.ICMSTot;return{title:"TOTAL DOS PRODUTOS E TOTAL DA NOTA",cells:[this.cell("VALOR TOTAL DOS PRODUTOS",e.vProd),this.cell("VALOR DO FRETE",e.vFrete),this.cell("VALOR DO SEGURO",e.vSeg),this.cell("DESCONTO",e.vDesc),this.cell("OUTRAS DESPESAS ACESS\xD3RIAS",e.vOutro),this.cell("VALOR TOTAL DA NOTA",e.vNF)]}}icmsIpi(){let e=this.infNFe.total.ICMSTot;return{title:"TOTAL DO ICMS / IPI",cells:[this.cell("BASE DE C\xC1LCULO DO ICMS",e.vBC),this.cell("VALOR DO ICMS",e.vICMS),this.cell("BASE DE C\xC1LCULO DO ICMS ST",e.vBCST),this.cell("VALOR DO ICMS ST",e.vST),this.cell("VALOR DO IPI",e.vIPI),...this.optional("VALOR DO FCP",e.vFCP),...this.optional("VALOR DO FCP RETIDO POR ST",e.vFCPST),...this.optional("VALOR DO DIFAL NA UF DE DESTINO",e.vICMSUFDest),...this.optional("VALOR DO FCP NA UF DE DESTINO",e.vFCPUFDest),...this.optionalQuantity("BC DO ICMS MONOF\xC1SICO",e.qBCMono),...this.optional("VALOR DO ICMS MONOF\xC1SICO",e.vICMSMono),...this.optionalQuantity("BC DO ICMS MONOF\xC1SICO POR RETEN\xC7\xC3O",e.qBCMonoReten),...this.optional("VALOR DO ICMS MONOF\xC1SICO POR RETEN\xC7\xC3O",e.vICMSMonoReten)]}}ibsCbsIs(){let{IBSCBSTot:e,ISTot:o}=this.infNFe.total;if(!e&&!o)return;let i=e?.gMono,r=i?[this.cell("VALOR DO IBS MONOF\xC1SICO",i.vIBSMono),this.cell("VALOR DA CBS MONOF\xC1SICA",i.vCBSMono),...this.optional("VALOR DO IBS MONOF\xC1SICO POR RETEN\xC7\xC3O",i.vIBSMonoReten),...this.optional("VALOR DA CBS MONOF\xC1SICA POR RETEN\xC7\xC3O",i.vCBSMonoReten)]:[];return{title:"TOTAL DO IBS / CBS / IS",cells:[this.cell("VALOR DA CBS",e?.gCBS?.vCBS),this.cell("VALOR DO IBS UF",e?.gIBS?.gIBSUF?.vIBSUF),this.cell("VALOR DO IBS MUNIC\xCDPIO",e?.gIBS?.gIBSMun?.vIBSMun),this.cell("VALOR DO IMPOSTO SELETIVO",o?.vIS),...r]}}sections(){let e=[this.products(),this.icmsIpi()],o=this.ibsCbsIs();return o&&e.push(o),e}sectionHeight(e){let o=this.fields.gridRows(e.cells.length,this.perRow);return this.fields.titleHeight+o*this.fields.rowHeight}height(){return this.sections().reduce((e,o,i)=>e+(i>0?this.context.gap:0)+this.sectionHeight(o),0)}draw({x:e,y:o,width:i}){let r=o;this.sections().forEach((n,a)=>{a>0&&(r+=this.context.gap);let c=r+this.fields.title(e,r,i,n.title);this.fields.grid(e,c,i,n.cells,this.perRow),r+=this.sectionHeight(n)})}};var Of=class extends Fp{static{s(this,"RtcItems")}fontSize=5.5;compactWeights=[47,15,13,14,14,28,34,35];fittedWeights;get columns(){let[e,o,i,r,n,a,c,p]=this.columnWeights();return[{label:"DESCRI\xC7\xC3O DO PRODUTO / SERVI\xC7O",weight:e},{label:"CST / CFOP",weight:o},{label:"QTD / UN",weight:i,align:"center"},{label:"VLR UNIT",weight:r,align:"right"},{label:"VLR TOTAL",weight:n,align:"right"},{label:"BASES DE C\xC1LCULO",weight:a},{label:"AL\xCDQUOTAS",weight:c},{label:"VALOR DOS TRIBUTOS",weight:p}]}columnWeights(){if(this.fittedWeights)return this.fittedWeights;let[e,o,i,r,n,a,c,p]=this.compactWeights,u=i,l=r,d=n;for(let y of this.context.det){let{prod:x}=y;u=Math.max(u,this.weightFor(this.format.emitted(x.qCom,4),this.minFontSize),this.weightFor(`[${x.uCom}]`,this.fontSize)),l=Math.max(l,this.weightFor(this.format.emitted(x.vUnCom,10),this.minFontSize)),d=Math.max(d,this.weightFor(this.format.currency(x.vProd),this.minFontSize))}let m=e-(u-i)-(l-r)-(d-n);return this.fittedWeights=[m,o,u,l,d,a,c,p],this.fittedWeights}weightFor(e,o){let r=this.fields.widthOf(e,{size:o})+.5+this.cellPadding*2;return Math.ceil(r*200/this.context.contentWidth)}rate(e,o){return e?.gRed?.pAliqEfet??o}descriptionCell(e){let{cProd:o,NCM:i}=e.det.prod,r=this.fields.muted,n=this.description.infAdProd(e.det),a=this.description.extras(e.det),c=[`[NCM ${i}]`],p=e.cClassTrib;return p&&c.push(`[cClassTrib ${p}]`),[{text:this.description.productName(e.det)},...n?[{text:n,color:r}]:[],...a?[{text:a,color:r}]:[],{text:"",blankBefore:!0},{text:`[C\xF3d. ${o}] ${c.join(" ")}`,color:r}]}cells(e){let o=new Va(e),{prod:i}=e,r=o.icms,n=o.ipi,a=o.ibscbs,c=o.is,p=s(l=>this.format.currency(l),"currency"),u=s(l=>this.format.percent(l),"percent");return[this.descriptionCell(o),{muted:!1,pairs:[["CST",o.cst()],["CFOP",i.CFOP]]},[{text:this.format.emitted(i.qCom,4),align:"center",fit:!0},{text:`[${i.uCom}]`,color:this.fields.muted,align:"center"}],[{text:this.format.emitted(i.vUnCom,10),align:"right",fit:!0}],[{text:p(i.vProd),align:"right",fit:!0}],{pairs:[["ICMS",p(r.vBC)],["IBS / CBS",p(a?.vBC)],["IS",p(c?.vBCIS)],["IPI",p(n?.vBC)]]},{columns:2,pairs:[["ICMS",u(r.pICMS)],["CBS",u(this.rate(a?.gCBS,a?.gCBS?.pCBS))],["IBS UF",u(this.rate(a?.gIBSUF,a?.gIBSUF?.pIBSUF))],["IPI",u(n?.pIPI)],["IBS MUN",u(this.rate(a?.gIBSMun,a?.gIBSMun?.pIBSMun))],["IS",u(c?.pIS)]]},{columns:2,pairs:[["ICMS",p(r.vICMS)],["CBS",p(a?.gCBS?.vCBS)],["IBS UF",p(a?.gIBSUF?.vIBSUF)],["IPI",p(n?.vIPI)],["IBS MUN",p(a?.gIBSMun?.vIBSMun)],["IS",p(c?.vIS)]]}]}};var Af=class extends Ep{static{s(this,"RtcAdditionalData")}withQrCode=!0};var yu=class extends wp{static{s(this,"DanfeRtcPdfDocument")}createBlocks(){return{canhoto:new Rp(this),header:new wf(this),firstPage:[new Op(this),new La(this,"retirada"),new La(this,"entrega"),new Ap(this),new If(this),new Dp(this),new Sf(this)],items:new Of(this),lastPage:[new Af(this)],footer:new Pp(this)}}};var yg=class extends yu{static{s(this,"DanfeRtcLandscapePdfDocument")}sideCanhotoWidth=j(22);constructor(e){super(e),this.options={...this.options,layout:"landscape"}}};0&&(module.exports={AccessKeyBuilder,DanfceDefaultPdfDocument,DanfceReducedPdfDocument,DanfeDefaultPdfDocument,DanfeMargins,DanfeRtcLandscapePdfDocument,DanfeRtcPdfDocument,DanfeSize,DefaultDetBuilderAggregator,DefaultSchema,DefaultTotalBuilderAggregator,EventoCstatToCancelRegister,EventoCstatToProtocol,InutCstatToProtocol,NFCeDto,NFeDto,NfceAuthorizerPipeline,NfceCancelPipeline,NfceConsultProtocoloPipeline,NfceConsultStatusPipeline,NfceContingencyXmlAuthorizerPipeline,NfceQrcode,NfceRemoteTransmitter,NfceVoidRangePipeline,NfceXmlBuilder,NfceXmlBuilderPipeline,NfeAuthorizationResponsePipeline,NfeAuthorizerPipeline,NfeCancelPipeline,NfeComplements,NfeConsultProtocoloPipeline,NfeConsultStatusPipeline,NfeDetXmlBuilder,NfeDistribuicaoDFePipeline,NfeManifestacaoPipeline,NfeRemoteTransmitter,NfeVoidRangePipeline,NfeXmlBuilder,NfeXmlBuilderPipeline,PL_009,PL_010,TpEmis,TpEvent,XmlValidationError,mm,ptPerMm,schemas});
64
61
  /*! Bundled license information:
65
62
 
66
63
  mime-db/index.js: