nfets 0.0.138 → 0.0.139
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.
- package/dist/core/index.cjs +78 -78
- package/dist/core/index.d.cts +13 -3
- package/dist/core/index.d.ts +13 -3
- package/dist/core/index.mjs +63 -63
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/nfe/index.cjs +55 -34
- package/dist/nfe/index.d.cts +395 -10
- package/dist/nfe/index.d.ts +395 -10
- package/dist/nfe/index.mjs +37 -16
- package/dist/{src-NRIPS2N7.mjs → src-6IMZY2I2.mjs} +1 -1
- package/dist/{types-BlTnVW8U.d.cts → types-B8bOrWDU.d.cts} +17 -1
- package/dist/{types-BlTnVW8U.d.ts → types-B8bOrWDU.d.ts} +17 -1
- package/package.json +1 -1
package/dist/nfe/index.cjs
CHANGED
|
@@ -1,44 +1,65 @@
|
|
|
1
|
-
"use strict";var DN=Object.create;var fp=Object.defineProperty;var PN=Object.getOwnPropertyDescriptor;var EN=Object.getOwnPropertyNames;var jN=Object.getPrototypeOf,zN=Object.prototype.hasOwnProperty;var a=(t,e)=>fp(t,"name",{value:e,configurable:!0});var N=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Av=(t,e)=>{for(var o in e)fp(t,o,{get:e[o],enumerable:!0})},Dv=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of EN(e))!zN.call(t,r)&&r!==o&&fp(t,r,{get:()=>e[r],enumerable:!(i=PN(e,r))||i.enumerable});return t};var dt=(t,e,o)=>(o=t!=null?DN(jN(t)):{},Dv(e||!t||!t.__esModule?fp(o,"default",{value:t,enumerable:!0}):o,t)),TN=t=>Dv(fp({},"__esModule",{value:!0}),t);var Wv=N((_E,Jv)=>{"use strict";var Xv=require("stream").Stream,HR=require("util");Jv.exports=ji;function ji(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}a(ji,"DelayedStream");HR.inherits(ji,Xv);ji.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(ji.prototype,"readable",{configurable:!0,enumerable:!0,get:a(function(){return this.source.readable},"get")});ji.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};ji.prototype.resume=function(){this._released||this.release(),this.source.resume()};ji.prototype.pause=function(){this.source.pause()};ji.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach((function(t){this.emit.apply(this,t)}).bind(this)),this._bufferedEvents=[]};ji.prototype.pipe=function(){var t=Xv.prototype.pipe.apply(this,arguments);return this.resume(),t};ji.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)};ji.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 tg=N((UE,eg)=>{"use strict";var GR=require("util"),$v=require("stream").Stream,Kv=Wv();eg.exports=$e;function $e(){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}a($e,"CombinedStream");GR.inherits($e,$v);$e.create=function(t){var e=new this;t=t||{};for(var o in t)e[o]=t[o];return e};$e.isStreamLike=function(t){return typeof t!="function"&&typeof t!="string"&&typeof t!="boolean"&&typeof t!="number"&&!Buffer.isBuffer(t)};$e.prototype.append=function(t){var e=$e.isStreamLike(t);if(e){if(!(t instanceof Kv)){var o=Kv.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};$e.prototype.pipe=function(t,e){return $v.prototype.pipe.call(this,t,e),this.resume(),t};$e.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}};$e.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=$e.isStreamLike(o);i&&(o.on("data",this._checkDataSize.bind(this)),this._handleErrors(o)),this._pipeNext(o)}).bind(this))};$e.prototype._pipeNext=function(t){this._currentStream=t;var e=$e.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()};$e.prototype._handleErrors=function(t){var e=this;t.on("error",function(o){e._emitError(o)})};$e.prototype.write=function(t){this.emit("data",t)};$e.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};$e.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")};$e.prototype.end=function(){this._reset(),this.emit("end")};$e.prototype.destroy=function(){this._reset(),this.emit("close")};$e.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};$e.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var t="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(t))}};$e.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)};$e.prototype._emitError=function(t){this._reset(),this.emit("error",t)}});var og=N((HE,QR)=>{QR.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 ng=N((GE,ig)=>{"use strict";ig.exports=og()});var sg=N(To=>{"use strict";var nu=ng(),ZR=require("path").extname,rg=/^\s*([^;\s]*)(?:;|\s|$)/,YR=/^text\//i;To.charset=ag;To.charsets={lookup:ag};To.contentType=XR;To.extension=JR;To.extensions=Object.create(null);To.lookup=WR;To.types=Object.create(null);KR(To.extensions,To.types);function ag(t){if(!t||typeof t!="string")return!1;var e=rg.exec(t),o=e&&nu[e[1].toLowerCase()];return o&&o.charset?o.charset:e&&YR.test(e[1])?"UTF-8":!1}a(ag,"charset");function XR(t){if(!t||typeof t!="string")return!1;var e=t.indexOf("/")===-1?To.lookup(t):t;if(!e)return!1;if(e.indexOf("charset")===-1){var o=To.charset(e);o&&(e+="; charset="+o.toLowerCase())}return e}a(XR,"contentType");function JR(t){if(!t||typeof t!="string")return!1;var e=rg.exec(t),o=e&&To.extensions[e[1].toLowerCase()];return!o||!o.length?!1:o[0]}a(JR,"extension");function WR(t){if(!t||typeof t!="string")return!1;var e=ZR("x."+t).toLowerCase().substr(1);return e&&To.types[e]||!1}a(WR,"lookup");function KR(t,e){var o=["nginx","apache",void 0,"iana"];Object.keys(nu).forEach(a(function(r){var n=nu[r],s=n.extensions;if(!(!s||!s.length)){t[r]=s;for(var c=0;c<s.length;c++){var p=s[c];if(e[p]){var u=o.indexOf(nu[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"))}a(KR,"populateMaps")});var pg=N((YE,cg)=>{"use strict";cg.exports=$R;function $R(t){var e=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;e?e(t):setTimeout(t,0)}a($R,"defer")});var nf=N((JE,ug)=>{"use strict";var lg=pg();ug.exports=ew;function ew(t){var e=!1;return lg(function(){e=!0}),a(function(i,r){e?t(i,r):lg(a(function(){t(i,r)},"nextTick_callback"))},"async_callback")}a(ew,"async")});var rf=N((KE,dg)=>{"use strict";dg.exports=tw;function tw(t){Object.keys(t.jobs).forEach(ow.bind(t)),t.jobs={}}a(tw,"abort");function ow(t){typeof this.jobs[t]=="function"&&this.jobs[t]()}a(ow,"clean")});var af=N((e4,mg)=>{"use strict";var fg=nf(),iw=rf();mg.exports=nw;function nw(t,e,o,i){var r=o.keyedList?o.keyedList[o.index]:o.index;o.jobs[r]=rw(e,r,t[r],function(n,s){r in o.jobs&&(delete o.jobs[r],n?iw(o):o.results[r]=s,i(n,o.results))})}a(nw,"iterate");function rw(t,e,o,i){var r;return t.length==2?r=t(o,fg(i)):r=t(o,e,fg(i)),r}a(rw,"runJob")});var sf=N((o4,hg)=>{"use strict";hg.exports=aw;function aw(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}a(aw,"state")});var cf=N((n4,vg)=>{"use strict";var sw=rf(),cw=nf();vg.exports=pw;function pw(t){Object.keys(this.jobs).length&&(this.index=this.size,sw(this),cw(t)(null,this.results))}a(pw,"terminator")});var yg=N((a4,gg)=>{"use strict";var lw=af(),uw=sf(),dw=cf();gg.exports=fw;function fw(t,e,o){for(var i=uw(t);i.index<(i.keyedList||t).length;)lw(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 dw.bind(i,o)}a(fw,"parallel")});var pf=N((c4,ru)=>{"use strict";var xg=af(),mw=sf(),hw=cf();ru.exports=vw;ru.exports.ascending=bg;ru.exports.descending=gw;function vw(t,e,o,i){var r=mw(t,o);return xg(t,e,r,a(function n(s,c){if(s){i(s,c);return}if(r.index++,r.index<(r.keyedList||t).length){xg(t,e,r,n);return}i(null,r.results)},"iteratorHandler")),hw.bind(r,i)}a(vw,"serialOrdered");function bg(t,e){return t<e?-1:t>e?1:0}a(bg,"ascending");function gw(t,e){return-1*bg(t,e)}a(gw,"descending")});var Cg=N((l4,Sg)=>{"use strict";var yw=pf();Sg.exports=xw;function xw(t,e,o){return yw(t,e,null,o)}a(xw,"serial")});var Rg=N((d4,Ng)=>{"use strict";Ng.exports={parallel:yg(),serial:Cg(),serialOrdered:pf()}});var lf=N((f4,wg)=>{"use strict";wg.exports=Object});var Og=N((m4,Ig)=>{"use strict";Ig.exports=Error});var Ag=N((h4,Fg)=>{"use strict";Fg.exports=EvalError});var Pg=N((v4,Dg)=>{"use strict";Dg.exports=RangeError});var jg=N((g4,Eg)=>{"use strict";Eg.exports=ReferenceError});var Tg=N((y4,zg)=>{"use strict";zg.exports=SyntaxError});var au=N((x4,Bg)=>{"use strict";Bg.exports=TypeError});var Vg=N((b4,Mg)=>{"use strict";Mg.exports=URIError});var _g=N((S4,Lg)=>{"use strict";Lg.exports=Math.abs});var Ug=N((C4,qg)=>{"use strict";qg.exports=Math.floor});var Hg=N((N4,kg)=>{"use strict";kg.exports=Math.max});var Qg=N((R4,Gg)=>{"use strict";Gg.exports=Math.min});var Yg=N((w4,Zg)=>{"use strict";Zg.exports=Math.pow});var Jg=N((I4,Xg)=>{"use strict";Xg.exports=Math.round});var Kg=N((O4,Wg)=>{"use strict";Wg.exports=Number.isNaN||a(function(e){return e!==e},"isNaN")});var ey=N((A4,$g)=>{"use strict";var bw=Kg();$g.exports=a(function(e){return bw(e)||e===0?e:e<0?-1:1},"sign")});var oy=N((P4,ty)=>{"use strict";ty.exports=Object.getOwnPropertyDescriptor});var uf=N((E4,iy)=>{"use strict";var su=oy();if(su)try{su([],"length")}catch{su=null}iy.exports=su});var ry=N((j4,ny)=>{"use strict";var cu=Object.defineProperty||!1;if(cu)try{cu({},"a",{value:1})}catch{cu=!1}ny.exports=cu});var df=N((z4,ay)=>{"use strict";ay.exports=a(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 s=Object.getOwnPropertySymbols(e);if(s.length!==1||s[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 py=N((B4,cy)=>{"use strict";var sy=typeof Symbol<"u"&&Symbol,Sw=df();cy.exports=a(function(){return typeof sy!="function"||typeof Symbol!="function"||typeof sy("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Sw()},"hasNativeSymbols")});var ff=N((V4,ly)=>{"use strict";ly.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var mf=N((L4,uy)=>{"use strict";var Cw=lf();uy.exports=Cw.getPrototypeOf||null});var my=N((_4,fy)=>{"use strict";var Nw="Function.prototype.bind called on incompatible ",Rw=Object.prototype.toString,ww=Math.max,Iw="[object Function]",dy=a(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"),Ow=a(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"),Fw=a(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");fy.exports=a(function(e){var o=this;if(typeof o!="function"||Rw.apply(o)!==Iw)throw new TypeError(Nw+o);for(var i=Ow(arguments,1),r,n=a(function(){if(this instanceof r){var l=o.apply(this,dy(i,arguments));return Object(l)===l?l:this}return o.apply(e,dy(i,arguments))},"binder"),s=ww(0,o.length-i.length),c=[],p=0;p<s;p++)c[p]="$"+p;if(r=Function("binder","return function ("+Fw(c,",")+"){ return binder.apply(this,arguments); }")(n),o.prototype){var u=a(function(){},"Empty");u.prototype=o.prototype,r.prototype=new u,u.prototype=null}return r},"bind")});var Ts=N((U4,hy)=>{"use strict";var Aw=my();hy.exports=Function.prototype.bind||Aw});var pu=N((k4,vy)=>{"use strict";vy.exports=Function.prototype.call});var hf=N((H4,gy)=>{"use strict";gy.exports=Function.prototype.apply});var xy=N((G4,yy)=>{"use strict";yy.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var Sy=N((Q4,by)=>{"use strict";var Dw=Ts(),Pw=hf(),Ew=pu(),jw=xy();by.exports=jw||Dw.call(Ew,Pw)});var Ny=N((Z4,Cy)=>{"use strict";var zw=Ts(),Tw=au(),Bw=pu(),Mw=Sy();Cy.exports=a(function(e){if(e.length<1||typeof e[0]!="function")throw new Tw("a function is required");return Mw(zw,Bw,e)},"callBindBasic")});var Ay=N((X4,Fy)=>{"use strict";var Vw=Ny(),Ry=uf(),Iy;try{Iy=[].__proto__===Array.prototype}catch(t){if(!t||typeof t!="object"||!("code"in t)||t.code!=="ERR_PROTO_ACCESS")throw t}var vf=!!Iy&&Ry&&Ry(Object.prototype,"__proto__"),Oy=Object,wy=Oy.getPrototypeOf;Fy.exports=vf&&typeof vf.get=="function"?Vw([vf.get]):typeof wy=="function"?a(function(e){return wy(e==null?e:Oy(e))},"getDunder"):!1});var zy=N((W4,jy)=>{"use strict";var Dy=ff(),Py=mf(),Ey=Ay();jy.exports=Dy?a(function(e){return Dy(e)},"getProto"):Py?a(function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return Py(e)},"getProto"):Ey?a(function(e){return Ey(e)},"getProto"):null});var By=N(($4,Ty)=>{"use strict";var Lw=Function.prototype.call,_w=Object.prototype.hasOwnProperty,qw=Ts();Ty.exports=qw.call(Lw,_w)});var ky=N((ej,Uy)=>{"use strict";var W,Uw=lf(),kw=Og(),Hw=Ag(),Gw=Pg(),Qw=jg(),Ls=Tg(),Vs=au(),Zw=Vg(),Yw=_g(),Xw=Ug(),Jw=Hg(),Ww=Qg(),Kw=Yg(),$w=Jg(),eI=ey(),_y=Function,gf=a(function(t){try{return _y('"use strict"; return ('+t+").constructor;")()}catch{}},"getEvalledConstructor"),wp=uf(),tI=ry(),yf=a(function(){throw new Vs},"throwTypeError"),oI=wp?(function(){try{return arguments.callee,yf}catch{try{return wp(arguments,"callee").get}catch{return yf}}})():yf,Bs=py()(),Ft=zy(),iI=mf(),nI=ff(),qy=hf(),Ip=pu(),Ms={},rI=typeof Uint8Array>"u"||!Ft?W:Ft(Uint8Array),Ma={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?W:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?W:ArrayBuffer,"%ArrayIteratorPrototype%":Bs&&Ft?Ft([][Symbol.iterator]()):W,"%AsyncFromSyncIteratorPrototype%":W,"%AsyncFunction%":Ms,"%AsyncGenerator%":Ms,"%AsyncGeneratorFunction%":Ms,"%AsyncIteratorPrototype%":Ms,"%Atomics%":typeof Atomics>"u"?W:Atomics,"%BigInt%":typeof BigInt>"u"?W:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?W:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?W:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?W:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":kw,"%eval%":eval,"%EvalError%":Hw,"%Float16Array%":typeof Float16Array>"u"?W:Float16Array,"%Float32Array%":typeof Float32Array>"u"?W:Float32Array,"%Float64Array%":typeof Float64Array>"u"?W:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?W:FinalizationRegistry,"%Function%":_y,"%GeneratorFunction%":Ms,"%Int8Array%":typeof Int8Array>"u"?W:Int8Array,"%Int16Array%":typeof Int16Array>"u"?W:Int16Array,"%Int32Array%":typeof Int32Array>"u"?W:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Bs&&Ft?Ft(Ft([][Symbol.iterator]())):W,"%JSON%":typeof JSON=="object"?JSON:W,"%Map%":typeof Map>"u"?W:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Bs||!Ft?W:Ft(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Uw,"%Object.getOwnPropertyDescriptor%":wp,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?W:Promise,"%Proxy%":typeof Proxy>"u"?W:Proxy,"%RangeError%":Gw,"%ReferenceError%":Qw,"%Reflect%":typeof Reflect>"u"?W:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?W:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Bs||!Ft?W:Ft(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?W:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Bs&&Ft?Ft(""[Symbol.iterator]()):W,"%Symbol%":Bs?Symbol:W,"%SyntaxError%":Ls,"%ThrowTypeError%":oI,"%TypedArray%":rI,"%TypeError%":Vs,"%Uint8Array%":typeof Uint8Array>"u"?W:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?W:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?W:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?W:Uint32Array,"%URIError%":Zw,"%WeakMap%":typeof WeakMap>"u"?W:WeakMap,"%WeakRef%":typeof WeakRef>"u"?W:WeakRef,"%WeakSet%":typeof WeakSet>"u"?W:WeakSet,"%Function.prototype.call%":Ip,"%Function.prototype.apply%":qy,"%Object.defineProperty%":tI,"%Object.getPrototypeOf%":iI,"%Math.abs%":Yw,"%Math.floor%":Xw,"%Math.max%":Jw,"%Math.min%":Ww,"%Math.pow%":Kw,"%Math.round%":$w,"%Math.sign%":eI,"%Reflect.getPrototypeOf%":nI};if(Ft)try{null.error}catch(t){My=Ft(Ft(t)),Ma["%Error.prototype%"]=My}var My,aI=a(function t(e){var o;if(e==="%AsyncFunction%")o=gf("async function () {}");else if(e==="%GeneratorFunction%")o=gf("function* () {}");else if(e==="%AsyncGeneratorFunction%")o=gf("async function* () {}");else if(e==="%AsyncGenerator%"){var i=t("%AsyncGeneratorFunction%");i&&(o=i.prototype)}else if(e==="%AsyncIteratorPrototype%"){var r=t("%AsyncGenerator%");r&&Ft&&(o=Ft(r.prototype))}return Ma[e]=o,o},"doEval"),Vy={__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"]},Op=Ts(),lu=By(),sI=Op.call(Ip,Array.prototype.concat),cI=Op.call(qy,Array.prototype.splice),Ly=Op.call(Ip,String.prototype.replace),uu=Op.call(Ip,String.prototype.slice),pI=Op.call(Ip,RegExp.prototype.exec),lI=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,uI=/\\(\\)?/g,dI=a(function(e){var o=uu(e,0,1),i=uu(e,-1);if(o==="%"&&i!=="%")throw new Ls("invalid intrinsic syntax, expected closing `%`");if(i==="%"&&o!=="%")throw new Ls("invalid intrinsic syntax, expected opening `%`");var r=[];return Ly(e,lI,function(n,s,c,p){r[r.length]=c?Ly(p,uI,"$1"):s||n}),r},"stringToPath"),fI=a(function(e,o){var i=e,r;if(lu(Vy,i)&&(r=Vy[i],i="%"+r[0]+"%"),lu(Ma,i)){var n=Ma[i];if(n===Ms&&(n=aI(i)),typeof n>"u"&&!o)throw new Vs("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:i,value:n}}throw new Ls("intrinsic "+e+" does not exist!")},"getBaseIntrinsic");Uy.exports=a(function(e,o){if(typeof e!="string"||e.length===0)throw new Vs("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof o!="boolean")throw new Vs('"allowMissing" argument must be a boolean');if(pI(/^%?[^%]*%?$/,e)===null)throw new Ls("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=dI(e),r=i.length>0?i[0]:"",n=fI("%"+r+"%",o),s=n.name,c=n.value,p=!1,u=n.alias;u&&(r=u[0],cI(i,sI([0,1],u)));for(var l=1,d=!0;l<i.length;l+=1){var g=i[l],y=uu(g,0,1),C=uu(g,-1);if((y==='"'||y==="'"||y==="`"||C==='"'||C==="'"||C==="`")&&y!==C)throw new Ls("property names with quotes must have matching quotes");if((g==="constructor"||!d)&&(p=!0),r+="."+g,s="%"+r+"%",lu(Ma,s))c=Ma[s];else if(c!=null){if(!(g in c)){if(!o)throw new Vs("base intrinsic for "+e+" exists, but the property is not available.");return}if(wp&&l+1>=i.length){var w=wp(c,g);d=!!w,d&&"get"in w&&!("originalValue"in w.get)?c=w.get:c=c[g]}else d=lu(c,g),c=c[g];d&&!p&&(Ma[s]=c)}}return c},"GetIntrinsic")});var Gy=N((oj,Hy)=>{"use strict";var mI=df();Hy.exports=a(function(){return mI()&&!!Symbol.toStringTag},"hasToStringTagShams")});var xf=N((nj,Qy)=>{"use strict";var hI=Function.prototype.call,vI=Object.prototype.hasOwnProperty,gI=Ts();Qy.exports=gI.call(hI,vI)});var Xy=N((rj,Yy)=>{"use strict";var yI=ky(),Zy=yI("%Object.defineProperty%",!0),xI=Gy()(),bI=xf(),SI=au(),du=xI?Symbol.toStringTag:null;Yy.exports=a(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 SI("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");du&&(i||!bI(e,du))&&(Zy?Zy(e,du,{configurable:!r,enumerable:!1,value:o,writable:!1}):e[du]=o)},"setToStringTag")});var Wy=N((sj,Jy)=>{"use strict";Jy.exports=function(t,e){return Object.keys(e).forEach(function(o){t[o]=t[o]||e[o]}),t}});var ex=N((cj,$y)=>{"use strict";var Nf=tg(),CI=require("util"),bf=require("path"),NI=require("http"),RI=require("https"),wI=require("url").parse,II=require("fs"),OI=require("stream").Stream,FI=require("crypto"),Sf=sg(),AI=Rg(),DI=Xy(),Lr=xf(),Cf=Wy();function Ky(t){return String(t).replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/"/g,"%22")}a(Ky,"escapeHeaderParam");function te(t){if(!(this instanceof te))return new te(t);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],Nf.call(this),t=t||{};for(var e in t)this[e]=t[e]}a(te,"FormData");CI.inherits(te,Nf);te.LINE_BREAK=`\r
|
|
2
|
-
`;te.DEFAULT_CONTENT_TYPE="application/octet-stream";te.prototype.append=function(t,e,o){o=o||{},typeof o=="string"&&(o={filename:o});var i=Nf.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)};te.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)+te.LINE_BREAK.length,!(!e||!e.path&&!(e.readable&&Lr(e,"httpVersion"))&&!(e instanceof OI))&&(o.knownLength||this._valuesToMeasure.push(e))};te.prototype._lengthRetriever=function(t,e){Lr(t,"fd")?t.end!=null&&t.end!=1/0&&t.start!=null?e(null,t.end+1-(t.start?t.start:0)):II.stat(t.path,function(o,i){if(o){e(o);return}var r=i.size-(t.start?t.start:0);e(null,r)}):Lr(t,"httpVersion")?e(null,Number(t.headers["content-length"])):Lr(t,"httpModule")?(t.on("response",function(o){t.pause(),e(null,Number(o.headers["content-length"]))}),t.resume()):e("Unknown stream")};te.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="",s={"Content-Disposition":["form-data",'name="'+Ky(t)+'"'].concat(i||[]),"Content-Type":[].concat(r||[])};typeof o.header=="object"&&Cf(s,o.header);var c;for(var p in s)if(Lr(s,p)){if(c=s[p],c==null)continue;Array.isArray(c)||(c=[c]),c.length&&(n+=p+": "+c.join("; ")+te.LINE_BREAK)}return"--"+this.getBoundary()+te.LINE_BREAK+n+te.LINE_BREAK};te.prototype._getContentDisposition=function(t,e){var o;if(typeof e.filepath=="string"?o=bf.normalize(e.filepath).replace(/\\/g,"/"):e.filename||t&&(t.name||t.path)?o=bf.basename(e.filename||t&&(t.name||t.path)):t&&t.readable&&Lr(t,"httpVersion")&&(o=bf.basename(t.client._httpMessage.path||"")),o)return'filename="'+Ky(o)+'"'};te.prototype._getContentType=function(t,e){var o=e.contentType;return!o&&t&&t.name&&(o=Sf.lookup(t.name)),!o&&t&&t.path&&(o=Sf.lookup(t.path)),!o&&t&&t.readable&&Lr(t,"httpVersion")&&(o=t.headers["content-type"]),!o&&(e.filepath||e.filename)&&(o=Sf.lookup(e.filepath||e.filename)),!o&&t&&typeof t=="object"&&(o=te.DEFAULT_CONTENT_TYPE),o};te.prototype._multiPartFooter=function(){return(function(t){var e=te.LINE_BREAK,o=this._streams.length===0;o&&(e+=this._lastBoundary()),t(e)}).bind(this)};te.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+te.LINE_BREAK};te.prototype.getHeaders=function(t){var e,o={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(e in t)Lr(t,e)&&(o[e.toLowerCase()]=t[e]);return o};te.prototype.setBoundary=function(t){if(typeof t!="string")throw new TypeError("FormData boundary must be a string");this._boundary=t};te.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};te.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(te.LINE_BREAK)])));return Buffer.concat([t,Buffer.from(this._lastBoundary())])};te.prototype._generateBoundary=function(){this._boundary="--------------------------"+FI.randomBytes(12).toString("hex")};te.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};te.prototype.hasKnownLength=function(){var t=!0;return this._valuesToMeasure.length&&(t=!1),t};te.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}AI.parallel(this._valuesToMeasure,this._lengthRetriever,function(o,i){if(o){t(o);return}i.forEach(function(r){e+=r}),t(null,e)})};te.prototype.submit=function(t,e){var o,i,r={method:"post"};return typeof t=="string"?(t=wI(t),i=Cf({port:t.port,path:t.pathname,host:t.hostname,protocol:t.protocol},r)):(i=Cf(t,r),i.port||(i.port=i.protocol==="https:"?443:80)),i.headers=this.getHeaders(t.headers),i.protocol==="https:"?o=RI.request(i):o=NI.request(i),this.getLength((function(n,s){if(n&&n!=="Unknown stream"){this._error(n);return}if(s&&o.setHeader("Content-Length",s),this.pipe(o),e){var c,p=a(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};te.prototype._error=function(t){this.error||(this.error=t,this.pause(),this.emit("error",t))};te.prototype.toString=function(){return"[object FormData]"};DI(te.prototype,"FormData");$y.exports=te});var yx=N((Oz,gx)=>{"use strict";var Us=1e3,ks=Us*60,Hs=ks*60,_a=Hs*24,eO=_a*7,tO=_a*365.25;gx.exports=function(t,e){e=e||{};var o=typeof t;if(o==="string"&&t.length>0)return oO(t);if(o==="number"&&isFinite(t))return e.long?nO(t):iO(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function oO(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*tO;case"weeks":case"week":case"w":return o*eO;case"days":case"day":case"d":return o*_a;case"hours":case"hour":case"hrs":case"hr":case"h":return o*Hs;case"minutes":case"minute":case"mins":case"min":case"m":return o*ks;case"seconds":case"second":case"secs":case"sec":case"s":return o*Us;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}a(oO,"parse");function iO(t){var e=Math.abs(t);return e>=_a?Math.round(t/_a)+"d":e>=Hs?Math.round(t/Hs)+"h":e>=ks?Math.round(t/ks)+"m":e>=Us?Math.round(t/Us)+"s":t+"ms"}a(iO,"fmtShort");function nO(t){var e=Math.abs(t);return e>=_a?vu(t,e,_a,"day"):e>=Hs?vu(t,e,Hs,"hour"):e>=ks?vu(t,e,ks,"minute"):e>=Us?vu(t,e,Us,"second"):t+" ms"}a(nO,"fmtLong");function vu(t,e,o,i){var r=e>=o*1.5;return Math.round(t/o)+" "+i+(r?"s":"")}a(vu,"plural")});var Mf=N((Az,xx)=>{"use strict";function rO(t){o.debug=o,o.default=o,o.coerce=p,o.disable=s,o.enable=r,o.enabled=c,o.humanize=yx(),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 g=0;g<l.length;g++)d=(d<<5)-d+l.charCodeAt(g),d|=0;return o.colors[Math.abs(d)%o.colors.length]}a(e,"selectColor"),o.selectColor=e;function o(l){let d,g=null,y,C;function w(...S){if(!w.enabled)return;let x=w,F=Number(new Date),D=F-(d||F);x.diff=D,x.prev=d,x.curr=F,d=F,S[0]=o.coerce(S[0]),typeof S[0]!="string"&&S.unshift("%O");let j=0;S[0]=S[0].replace(/%([a-zA-Z%])/g,(H,yt)=>{if(H==="%%")return"%";j++;let Go=o.formatters[yt];if(typeof Go=="function"){let hn=S[j];H=Go.call(x,hn),S.splice(j,1),j--}return H}),o.formatArgs.call(x,S),(x.log||o.log).apply(x,S)}return a(w,"debug"),w.namespace=l,w.useColors=o.useColors(),w.color=o.selectColor(l),w.extend=i,w.destroy=o.destroy,Object.defineProperty(w,"enabled",{enumerable:!0,configurable:!1,get:a(()=>g!==null?g:(y!==o.namespaces&&(y=o.namespaces,C=o.enabled(l)),C),"get"),set:a(S=>{g=S},"set")}),typeof o.init=="function"&&o.init(w),w}a(o,"createDebug");function i(l,d){let g=o(this.namespace+(typeof d>"u"?":":d)+l);return g.log=this.log,g}a(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 g of d)g[0]==="-"?o.skips.push(g.slice(1)):o.names.push(g)}a(r,"enable");function n(l,d){let g=0,y=0,C=-1,w=0;for(;g<l.length;)if(y<d.length&&(d[y]===l[g]||d[y]==="*"))d[y]==="*"?(C=y,w=g,y++):(g++,y++);else if(C!==-1)y=C+1,w++,g=w;else return!1;for(;y<d.length&&d[y]==="*";)y++;return y===d.length}a(n,"matchesTemplate");function s(){let l=[...o.names,...o.skips.map(d=>"-"+d)].join(",");return o.enable(""),l}a(s,"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}a(c,"enabled");function p(l){return l instanceof Error?l.stack||l.message:l}a(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 a(u,"destroy"),o.enable(o.load()),o}a(rO,"setup");xx.exports=rO});var bx=N((Bo,gu)=>{"use strict";Bo.formatArgs=sO;Bo.save=cO;Bo.load=pO;Bo.useColors=aO;Bo.storage=lO();Bo.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`."))}})();Bo.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 aO(){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+)/)}a(aO,"useColors");function sO(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+gu.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)}a(sO,"formatArgs");Bo.log=console.debug||console.log||(()=>{});function cO(t){try{t?Bo.storage.setItem("debug",t):Bo.storage.removeItem("debug")}catch{}}a(cO,"save");function pO(){let t;try{t=Bo.storage.getItem("debug")||Bo.storage.getItem("DEBUG")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}a(pO,"load");function lO(){try{return localStorage}catch{}}a(lO,"localstorage");gu.exports=Mf()(Bo);var{formatters:uO}=gu.exports;uO.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var Cx=N((Ez,Sx)=>{"use strict";Sx.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 wx=N((jz,Rx)=>{"use strict";var dO=require("os"),Nx=require("tty"),pi=Cx(),{env:At}=process,Ur;pi("no-color")||pi("no-colors")||pi("color=false")||pi("color=never")?Ur=0:(pi("color")||pi("colors")||pi("color=true")||pi("color=always"))&&(Ur=1);"FORCE_COLOR"in At&&(At.FORCE_COLOR==="true"?Ur=1:At.FORCE_COLOR==="false"?Ur=0:Ur=At.FORCE_COLOR.length===0?1:Math.min(parseInt(At.FORCE_COLOR,10),3));function Vf(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}a(Vf,"translateLevel");function Lf(t,e){if(Ur===0)return 0;if(pi("color=16m")||pi("color=full")||pi("color=truecolor"))return 3;if(pi("color=256"))return 2;if(t&&!e&&Ur===void 0)return 0;let o=Ur||0;if(At.TERM==="dumb")return o;if(process.platform==="win32"){let i=dO.release().split(".");return Number(i[0])>=10&&Number(i[2])>=10586?Number(i[2])>=14931?3:2:1}if("CI"in At)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(i=>i in At)||At.CI_NAME==="codeship"?1:o;if("TEAMCITY_VERSION"in At)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(At.TEAMCITY_VERSION)?1:0;if(At.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in At){let i=parseInt((At.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(At.TERM_PROGRAM){case"iTerm.app":return i>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(At.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(At.TERM)||"COLORTERM"in At?1:o}a(Lf,"supportsColor");function fO(t){let e=Lf(t,t&&t.isTTY);return Vf(e)}a(fO,"getSupportLevel");Rx.exports={supportsColor:fO,stdout:Vf(Lf(!0,Nx.isatty(1))),stderr:Vf(Lf(!0,Nx.isatty(2)))}});var Ox=N((Dt,xu)=>{"use strict";var mO=require("tty"),yu=require("util");Dt.init=SO;Dt.log=yO;Dt.formatArgs=vO;Dt.save=xO;Dt.load=bO;Dt.useColors=hO;Dt.destroy=yu.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Dt.colors=[6,2,3,4,5,1];try{let t=wx();t&&(t.stderr||t).level>=2&&(Dt.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{}Dt.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 hO(){return"colors"in Dt.inspectOpts?!!Dt.inspectOpts.colors:mO.isatty(process.stderr.fd)}a(hO,"useColors");function vO(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 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 Wg=R(_o=>{"use strict";var Iu=Yg(),Gw=require("path").extname,Jg=/^\s*([^;\s]*)(?:;|\s|$)/,Qw=/^text\//i;_o.charset=Xg;_o.charsets={lookup:Xg};_o.contentType=Zw;_o.extension=Yw;_o.extensions=Object.create(null);_o.lookup=Jw;_o.types=Object.create(null);Xw(_o.extensions,_o.types);function Xg(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(Xg,"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 Xw(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(Xw,"populateMaps")});var $g=R((J1,Kg)=>{"use strict";Kg.exports=Ww;function Ww(t){var e=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;e?e(t):setTimeout(t,0)}s(Ww,"defer")});var Uf=R((W1,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,Xy)=>{"use strict";Xy.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 Wy=typeof Symbol<"u"&&Symbol,bI=Jf();Ky.exports=s(function(){return typeof Wy!="function"||typeof Symbol!="function"||typeof Wy("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:bI()},"hasNativeSymbols")});var Xf=R((VT,eb)=>{"use strict";eb.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var Wf=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((XT,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=Xf(),Sb=Wf(),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(),Ws=wy(),Xs=Au(),GI=Ay(),QI=Dy(),ZI=Py(),YI=zy(),JI=By(),XI=Ly(),WI=_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 Xs},"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=Wf(),oO=Xf(),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%":Ws,"%ThrowTypeError%":eO,"%TypedArray%":iO,"%TypeError%":Xs,"%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%":XI,"%Math.round%":WI,"%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"]},Xp=Zs(),Pu=Ib(),rO=Xp.call(Jp,Array.prototype.concat),aO=Xp.call(Eb,Array.prototype.splice),Fb=Xp.call(Jp,String.prototype.replace),Tu=Xp.call(Jp,String.prototype.slice),sO=Xp.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 Ws("invalid intrinsic syntax, expected closing `%`");if(i==="%"&&o!=="%")throw new Ws("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 Xs("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:i,value:n}}throw new Ws("intrinsic "+e+" does not exist!")},"getBaseIntrinsic");Pb.exports=s(function(e,o){if(typeof e!="string"||e.length===0)throw new Xs("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof o!="boolean")throw new Xs('"allowMissing" argument must be a boolean');if(sO(/^%?[^%]*%?$/,e)===null)throw new Ws("`%` 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),S=Tu(m,-1);if((y==='"'||y==="'"||y==="`"||S==='"'||S==="'"||S==="`")&&y!==S)throw new Ws("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 Xs("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=Wg(),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,S;function N(...C){if(!N.enabled)return;let b=N,I=Number(new Date),F=I-(d||I);b.diff=F,b.prev=d,b.curr=I,d=I,C[0]=o.coerce(C[0]),typeof C[0]!="string"&&C.unshift("%O");let E=0;C[0]=C[0].replace(/%([a-zA-Z%])/g,(G,Ct)=>{if(G==="%%")return"%";E++;let Yo=o.formatters[Ct];if(typeof Yo=="function"){let bn=C[E];G=Yo.call(b,bn),C.splice(E,1),E--}return G}),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,S=o.enabled(l)),S),"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,S=-1,N=0;for(;m<l.length;)if(y<d.length&&(d[y]===l[m]||d[y]==="*"))d[y]==="*"?(S=y,N=m,y++):(m++,y++);else if(S!==-1)y=S+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(`
|
|
3
3
|
`).join(`
|
|
4
|
-
`+n),t.push(r+"m+"+
|
|
5
|
-
`)}
|
|
6
|
-
`).map(e=>e.trim()).join(" ")};
|
|
7
|
-
`).some(e=>e.indexOf("(https.js:")!==-1||e.indexOf("node:https:")!==-1)}
|
|
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 S=new Error(`no Duplex stream was returned to agent-base for \`${i.method} ${i.path}\``);u(S)},"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
|
|
8
8
|
\r
|
|
9
|
-
`)===-1){
|
|
10
|
-
`)),
|
|
11
|
-
`;i.auth&&(
|
|
12
|
-
`;let
|
|
13
|
-
`);let{statusCode:y,buffered:C}=yield g;if(y===200){if(e.once("socket",MO),o.secureEndpoint){zp("Upgrading socket connection to TLS");let S=o.servername||o.host;return zx.default.connect(Object.assign(Object.assign({},_O(o,"host","hostname","path","port")),{socket:n,servername:S}))}return n}n.destroy();let w=new jx.default.Socket({writable:!1});return w.readable=!0,e.once("socket",S=>{zp("replaying proxy buffer for failed request"),EO.default(S.listenerCount("data")>0),S.push(C),S.push(null)}),w})}};qa.default=BO;function MO(t){t.resume()}a(MO,"resume");function VO(t,e){return!!(!e&&t===80||e&&t===443)}a(VO,"isDefaultPort");function LO(t){return typeof t=="string"?/^https:?$/i.test(t):!1}a(LO,"isHTTPS");function _O(t,...e){let o={},i;for(i in t)e.includes(i)||(o[i]=t[i]);return o}a(_O,"omit")});var Mx=N((Qf,Bx)=>{"use strict";var qO=Qf&&Qf.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},Hf=qO(Tx());function Gf(t){return new Hf.default(t)}a(Gf,"createHttpsProxyAgent");(function(t){t.HttpsProxyAgent=Hf.default,t.prototype=Hf.default.prototype})(Gf||(Gf={}));Bx.exports=Gf});var Lx=N((Zz,Vx)=>{"use strict";var Tp;Vx.exports=function(){if(!Tp){try{Tp=Dp()("follow-redirects")}catch{}typeof Tp!="function"&&(Tp=a(function(){},"debug"))}Tp.apply(null,arguments)}});var Hx=N((Xz,nm)=>{"use strict";var Mp=require("url"),Bp=Mp.URL,UO=require("http"),kO=require("https"),Wf=require("stream").Writable,Kf=require("assert"),_x=Lx();a((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 $f=!1;try{Kf(new Bp(""))}catch(t){$f=t.code==="ERR_INVALID_URL"}var HO=["Authorization","Proxy-Authorization","Cookie"],GO=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],em=["abort","aborted","connect","error","socket","timeout"],tm=Object.create(null);em.forEach(function(t){tm[t]=function(e,o,i){this._redirectable.emit(t,e,o,i)}});var Yf=Vp("ERR_INVALID_URL","Invalid URL",TypeError),Xf=Vp("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),QO=Vp("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Xf),ZO=Vp("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),YO=Vp("ERR_STREAM_WRITE_AFTER_END","write after end"),XO=Wf.prototype.destroy||Ux;function Mo(t,e){Wf.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 Xf?r:new Xf({cause:r}))}},this._headerFilter=new RegExp("^(?:"+HO.concat(t.sensitiveHeaders).map(tF).join("|")+")$","i"),this._performRequest()}a(Mo,"RedirectableRequest");Mo.prototype=Object.create(Wf.prototype);Mo.prototype.abort=function(){im(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};Mo.prototype.destroy=function(t){return im(this._currentRequest,t),XO.call(this,t),this};Mo.prototype.write=function(t,e,o){if(this._ending)throw new YO;if(!Ua(t)&&!$O(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 ZO),this.abort())};Mo.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}};Mo.prototype.setHeader=function(t,e){this._options.headers[t]=e,this._currentRequest.setHeader(t,e)};Mo.prototype.removeHeader=function(t){delete this._options.headers[t],this._currentRequest.removeHeader(t)};Mo.prototype.setTimeout=function(t,e){var o=this;function i(s){s.setTimeout(t),s.removeListener("timeout",s.destroy),s.addListener("timeout",s.destroy)}a(i,"destroyOnTimeout");function r(s){o._timeout&&clearTimeout(o._timeout),o._timeout=setTimeout(function(){o.emit("timeout"),n()},t),i(s)}a(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 a(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){Mo.prototype[t]=function(e,o){return this._currentRequest[t](e,o)}});["aborted","connection","socket"].forEach(function(t){Object.defineProperty(Mo.prototype,t,{get:a(function(){return this._currentRequest[t]},"get")})});Mo.prototype._sanitizeOptions=function(t){if(t.headers||(t.headers={}),KO(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))}};Mo.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 em)i.on(r,tm[r]);if(this._currentUrl=/^\//.test(this._options.path)?Mp.format(this._options):this._options.path,this._isRedirect){var n=0,s=this,c=this._requestBodyBuffers;a((function p(u){if(i===s._currentRequest)if(u)s.emit("error",u);else if(n<c.length){var l=c[n++];i.finished||i.write(l.data,l.encoding,p)}else s._ended&&i.end()}),"writeNext")()}};Mo.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(im(this._currentRequest),t.destroy(),++this._redirectCount>this._options.maxRedirects)throw new QO;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=[],Zf(/^content-/i,this._options.headers));var s=Zf(/^host$/i,this._options.headers),c=om(this._currentUrl),p=s||c.host,u=/^\w+:/.test(o)?this._currentUrl:Mp.format(Object.assign(c,{host:p})),l=JO(o,u);if(_x("redirecting to",l.href),this._isRedirect=!0,Jf(l,this._options),(l.protocol!==c.protocol&&l.protocol!=="https:"||l.host!==p&&!WO(l.host,p))&&Zf(this._headerFilter,this._options.headers),ka(r)){var d={headers:t.headers,statusCode:e},g={url:u,method:n,headers:i};r(this._options,d,g),this._sanitizeOptions(this._options)}this._performRequest()};function qx(t){var e={maxRedirects:21,maxBodyLength:10485760},o={};return Object.keys(t).forEach(function(i){var r=i+":",n=o[r]=t[i],s=e[i]=Object.create(n);function c(u,l,d){return eF(u)?u=Jf(u):Ua(u)?u=Jf(om(u)):(d=l,l=kx(u),u={protocol:r}),ka(l)&&(d=l,l=null),l=Object.assign({maxRedirects:e.maxRedirects,maxBodyLength:e.maxBodyLength},u,l),l.nativeProtocols=o,!Ua(l.host)&&!Ua(l.hostname)&&(l.hostname="::1"),Kf.equal(l.protocol,r,"protocol mismatch"),_x("options",l),new Mo(l,d)}a(c,"request");function p(u,l,d){var g=s.request(u,l,d);return g.end(),g}a(p,"get"),Object.defineProperties(s,{request:{value:c,configurable:!0,enumerable:!0,writable:!0},get:{value:p,configurable:!0,enumerable:!0,writable:!0}})}),e}a(qx,"wrap");function Ux(){}a(Ux,"noop");function om(t){var e;if($f)e=new Bp(t);else if(e=kx(Mp.parse(t)),!Ua(e.protocol))throw new Yf({input:t});return e}a(om,"parseUrl");function JO(t,e){return $f?new Bp(t,e):om(Mp.resolve(e,t))}a(JO,"resolveUrl");function kx(t){if(/^\[/.test(t.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(t.hostname))throw new Yf({input:t.href||t});if(/^\[/.test(t.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(t.host))throw new Yf({input:t.href||t});return t}a(kx,"validateUrl");function Jf(t,e){var o=e||{};for(var i of GO)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}a(Jf,"spreadUrlObject");function Zf(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()}a(Zf,"removeMatchingHeaders");function Vp(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 a(i,"CustomError"),i.prototype=new(o||Error),Object.defineProperties(i.prototype,{constructor:{value:i,enumerable:!1},name:{value:"Error ["+t+"]",enumerable:!1}}),i}a(Vp,"createErrorType");function im(t,e){for(var o of em)t.removeListener(o,tm[o]);t.on("error",Ux),t.destroy(e)}a(im,"destroyRequest");function WO(t,e){Kf(Ua(t)&&Ua(e));var o=t.length-e.length-1;return o>0&&t[o]==="."&&t.endsWith(e)}a(WO,"isSubdomain");function KO(t){return t instanceof Array}a(KO,"isArray");function Ua(t){return typeof t=="string"||t instanceof String}a(Ua,"isString");function ka(t){return typeof t=="function"}a(ka,"isFunction");function $O(t){return typeof t=="object"&&"length"in t}a($O,"isBuffer");function eF(t){return Bp&&t instanceof Bp}a(eF,"isURL");function tF(t){return t.replace(/[\]\\/()*+?.$]/g,"\\$&")}a(tF,"escapeRegex");nm.exports=qx({http:UO,https:kO});nm.exports.wrap=qx});var Th=N((S8,gS)=>{"use strict";gS.exports=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}});var Ra=N(bs=>{"use strict";var Bh,wA=[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];bs.getSymbolSize=a(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");bs.getSymbolTotalCodewords=a(function(e){return wA[e]},"getSymbolTotalCodewords");bs.getBCHDigit=function(t){let e=0;for(;t!==0;)e++,t>>>=1;return e};bs.setToSJISFunction=a(function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');Bh=e},"setToSJISFunction");bs.isKanjiModeEnabled=function(){return typeof Bh<"u"};bs.toSJIS=a(function(e){return Bh(e)},"toSJIS")});var Rd=N(Di=>{"use strict";Di.L={bit:1};Di.M={bit:0};Di.Q={bit:3};Di.H={bit:2};function IA(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return Di.L;case"m":case"medium":return Di.M;case"q":case"quartile":return Di.Q;case"h":case"high":return Di.H;default:throw new Error("Unknown EC Level: "+t)}}a(IA,"fromString");Di.isValid=a(function(e){return e&&typeof e.bit<"u"&&e.bit>=0&&e.bit<4},"isValid");Di.from=a(function(e,o){if(Di.isValid(e))return e;try{return IA(e)}catch{return o}},"from")});var bS=N((I8,xS)=>{"use strict";function yS(){this.buffer=[],this.length=0}a(yS,"BitBuffer");yS.prototype={get:a(function(t){let e=Math.floor(t/8);return(this.buffer[e]>>>7-t%8&1)===1},"get"),put:a(function(t,e){for(let o=0;o<e;o++)this.putBit((t>>>e-o-1&1)===1)},"put"),getLengthInBits:a(function(){return this.length},"getLengthInBits"),putBit:a(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")};xS.exports=yS});var CS=N((F8,SS)=>{"use strict";function Ml(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)}a(Ml,"BitMatrix");Ml.prototype.set=function(t,e,o,i){let r=t*this.size+e;this.data[r]=o,i&&(this.reservedBit[r]=!0)};Ml.prototype.get=function(t,e){return this.data[t*this.size+e]};Ml.prototype.xor=function(t,e,o){this.data[t*this.size+e]^=o};Ml.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};SS.exports=Ml});var NS=N(wd=>{"use strict";var OA=Ra().getSymbolSize;wd.getRowColCoords=a(function(e){if(e===1)return[];let o=Math.floor(e/7)+2,i=OA(e),r=i===145?26:Math.ceil((i-13)/(2*o-2))*2,n=[i-7];for(let s=1;s<o-1;s++)n[s]=n[s-1]-r;return n.push(6),n.reverse()},"getRowColCoords");wd.getPositions=a(function(e){let o=[],i=wd.getRowColCoords(e),r=i.length;for(let n=0;n<r;n++)for(let s=0;s<r;s++)n===0&&s===0||n===0&&s===r-1||n===r-1&&s===0||o.push([i[n],i[s]]);return o},"getPositions")});var IS=N(wS=>{"use strict";var FA=Ra().getSymbolSize,RS=7;wS.getPositions=a(function(e){let o=FA(e);return[[0,0],[o-RS,0],[0,o-RS]]},"getPositions")});var OS=N(Oe=>{"use strict";Oe.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var Ss={N1:3,N2:3,N3:40,N4:10};Oe.isValid=a(function(e){return e!=null&&e!==""&&!isNaN(e)&&e>=0&&e<=7},"isValid");Oe.from=a(function(e){return Oe.isValid(e)?parseInt(e,10):void 0},"from");Oe.getPenaltyN1=a(function(e){let o=e.size,i=0,r=0,n=0,s=null,c=null;for(let p=0;p<o;p++){r=n=0,s=c=null;for(let u=0;u<o;u++){let l=e.get(p,u);l===s?r++:(r>=5&&(i+=Ss.N1+(r-5)),s=l,r=1),l=e.get(u,p),l===c?n++:(n>=5&&(i+=Ss.N1+(n-5)),c=l,n=1)}r>=5&&(i+=Ss.N1+(r-5)),n>=5&&(i+=Ss.N1+(n-5))}return i},"getPenaltyN1");Oe.getPenaltyN2=a(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 s=e.get(r,n)+e.get(r,n+1)+e.get(r+1,n)+e.get(r+1,n+1);(s===4||s===0)&&i++}return i*Ss.N2},"getPenaltyN2");Oe.getPenaltyN3=a(function(e){let o=e.size,i=0,r=0,n=0;for(let s=0;s<o;s++){r=n=0;for(let c=0;c<o;c++)r=r<<1&2047|e.get(s,c),c>=10&&(r===1488||r===93)&&i++,n=n<<1&2047|e.get(c,s),c>=10&&(n===1488||n===93)&&i++}return i*Ss.N3},"getPenaltyN3");Oe.getPenaltyN4=a(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)*Ss.N4},"getPenaltyN4");function AA(t,e,o){switch(t){case Oe.Patterns.PATTERN000:return(e+o)%2===0;case Oe.Patterns.PATTERN001:return e%2===0;case Oe.Patterns.PATTERN010:return o%3===0;case Oe.Patterns.PATTERN011:return(e+o)%3===0;case Oe.Patterns.PATTERN100:return(Math.floor(e/2)+Math.floor(o/3))%2===0;case Oe.Patterns.PATTERN101:return e*o%2+e*o%3===0;case Oe.Patterns.PATTERN110:return(e*o%2+e*o%3)%2===0;case Oe.Patterns.PATTERN111:return(e*o%3+(e+o)%2)%2===0;default:throw new Error("bad maskPattern:"+t)}}a(AA,"getMaskAt");Oe.applyMask=a(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,AA(e,n,r))},"applyMask");Oe.getBestMask=a(function(e,o){let i=Object.keys(Oe.Patterns).length,r=0,n=1/0;for(let s=0;s<i;s++){o(s),Oe.applyMask(s,e);let c=Oe.getPenaltyN1(e)+Oe.getPenaltyN2(e)+Oe.getPenaltyN3(e)+Oe.getPenaltyN4(e);Oe.applyMask(s,e),c<n&&(n=c,r=s)}return r},"getBestMask")});var Vh=N(Mh=>{"use strict";var wa=Rd(),Id=[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],Od=[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];Mh.getBlocksCount=a(function(e,o){switch(o){case wa.L:return Id[(e-1)*4+0];case wa.M:return Id[(e-1)*4+1];case wa.Q:return Id[(e-1)*4+2];case wa.H:return Id[(e-1)*4+3];default:return}},"getBlocksCount");Mh.getTotalCodewordsCount=a(function(e,o){switch(o){case wa.L:return Od[(e-1)*4+0];case wa.M:return Od[(e-1)*4+1];case wa.Q:return Od[(e-1)*4+2];case wa.H:return Od[(e-1)*4+3];default:return}},"getTotalCodewordsCount")});var FS=N(Ad=>{"use strict";var Vl=new Uint8Array(512),Fd=new Uint8Array(256);a((function(){let e=1;for(let o=0;o<255;o++)Vl[o]=e,Fd[e]=o,e<<=1,e&256&&(e^=285);for(let o=255;o<512;o++)Vl[o]=Vl[o-255]}),"initTables")();Ad.log=a(function(e){if(e<1)throw new Error("log("+e+")");return Fd[e]},"log");Ad.exp=a(function(e){return Vl[e]},"exp");Ad.mul=a(function(e,o){return e===0||o===0?0:Vl[Fd[e]+Fd[o]]},"mul")});var AS=N(Ll=>{"use strict";var Lh=FS();Ll.mul=a(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]^=Lh.mul(e[r],o[n]);return i},"mul");Ll.mod=a(function(e,o){let i=new Uint8Array(e);for(;i.length-o.length>=0;){let r=i[0];for(let s=0;s<o.length;s++)i[s]^=Lh.mul(o[s],r);let n=0;for(;n<i.length&&i[n]===0;)n++;i=i.slice(n)}return i},"mod");Ll.generateECPolynomial=a(function(e){let o=new Uint8Array([1]);for(let i=0;i<e;i++)o=Ll.mul(o,new Uint8Array([1,Lh.exp(i)]));return o},"generateECPolynomial")});var ES=N((U8,PS)=>{"use strict";var DS=AS();function _h(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}a(_h,"ReedSolomonEncoder");_h.prototype.initialize=a(function(e){this.degree=e,this.genPoly=DS.generateECPolynomial(this.degree)},"initialize");_h.prototype.encode=a(function(e){if(!this.genPoly)throw new Error("Encoder not initialized");let o=new Uint8Array(e.length+this.degree);o.set(e);let i=DS.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");PS.exports=_h});var qh=N(jS=>{"use strict";jS.isValid=a(function(e){return!isNaN(e)&&e>=1&&e<=40},"isValid")});var Uh=N(Tr=>{"use strict";var zS="[0-9]+",DA="[A-Z $%*+\\-./:]+",_l="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";_l=_l.replace(/u/g,"\\u");var PA="(?:(?![A-Z0-9 $%*+\\-./:]|"+_l+`)(?:.|[\r
|
|
14
|
-
]))+`;
|
|
15
|
-
Make sure your charset is UTF-8`);o=(o>>>8&255)*192+(o&255),t.put(o,13)}};
|
|
16
|
-
Suggested mode is: `+
|
|
9
|
+
`)===-1){tl("have not received end of HTTP headers yet..."),n();return}let S=m.toString("ascii",0,m.indexOf(`\r
|
|
10
|
+
`)),N=+S.split(" ")[1];tl("got proxy server response: %o",S),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(Xa=>{"use strict";var AA=Xa&&Xa.__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=Xa&&Xa.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Xa,"__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:S}=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(S),C.push(null)}),N})}};Xa.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((Xz,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(!Wa(t)&&!WA(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={}),XA(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):Wa(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,!Wa(l.host)&&!Wa(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)),!Wa(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(Wa(t)&&Wa(e));var o=t.length-e.length-1;return o>0&&t[o]==="."&&t.endsWith(e)}s(JA,"isSubdomain");function XA(t){return t instanceof Array}s(XA,"isArray");function Wa(t){return typeof t=="string"||t instanceof String}s(Wa,"isString");function Ka(t){return typeof t=="function"}s(Ka,"isFunction");function WA(t){return typeof t=="object"&&"length"in t}s(WA,"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((Pk,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((Mk,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((Vk,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(),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],Wd=[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 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");Nv.getTotalCodewordsCount=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}},"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(($k,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,S;!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],S=typeof r[p]>"u",(S||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(),XC=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 WC(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(WC,"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 XC.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 XC(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=WC(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(WC(e,tf.isKanjiModeEnabled()))},"rawSplit")});var _v=R($C=>{"use strict";var nf=Da(),jv=Yd(),JD=dC(),XD=mC(),WD=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=WD.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),S=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(S,S+Yo),C[Ct]=y.encode(N[Ct]),S+=Yo,b=Math.max(b,Yo)}let F=new Uint8Array(i),E=0,Z,G;for(Z=0;Z<b;Z++)for(G=0;G<a;G++)Z<N[G].length&&(F[E++]=N[G][Z]);for(Z=0;Z<m;Z++)for(G=0;G<a;G++)F[E++]=C[G][Z];return F}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(`
|
|
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 s=pD(e,o,r),c=jd.getSymbolSize(e),p=new KA(c);return nD(p,e),rD(p),aD(p,e),Wh(p,o,0),e>=7&&sD(p,e),cD(p,s),isNaN(i)&&(i=Kh.getBestMask(p,Wh.bind(null,p,o))),Kh.applyMask(i,p),Wh(p,o,i),{modules:p,version:e,errorCorrectionLevel:o,maskPattern:i,segments:r}}a(uD,"createSymbol");sC.create=a(function(e,o){if(typeof e>"u"||e==="")throw new Error("No input text");let i=Xh.M,r,n;return typeof o<"u"&&(i=Xh.from(o.errorCorrectionLevel,Xh.M),r=Ed.from(o.version),n=Kh.from(o.maskPattern),o.toSJISFunc&&jd.setToSJISFunction(o.toSJISFunc)),uD(e,r,i,n)},"create")});var tv=N((mk,pC)=>{"use strict";var dD=require("util"),cC=require("stream"),mn=pC.exports=function(){cC.call(this),this._buffers=[],this._buffered=0,this._reads=[],this._paused=!1,this._encoding="utf8",this.writable=!0};dD.inherits(mn,cC);mn.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))};mn.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};mn.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()))};mn.prototype.destroySoon=mn.prototype.end;mn.prototype._end=function(){this._reads.length>0&&this.emit("error",new Error("Unexpected end of input")),this.destroy()};mn.prototype.destroy=function(){this._buffers&&(this.writable=!1,this._reads=null,this._buffers=null,this.emit("close"))};mn.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))};mn.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)};mn.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 iv=N(ov=>{"use strict";var Fa=[{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]}];ov.getImagePasses=function(t,e){let o=[],i=t%8,r=e%8,n=(t-i)/8,s=(e-r)/8;for(let c=0;c<Fa.length;c++){let p=Fa[c],u=n*p.x.length,l=s*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};ov.getInterlaceIterator=function(t){return function(e,o,i){let r=e%Fa[i].x.length,n=(e-r)/Fa[i].x.length*8+Fa[i].x[r],s=o%Fa[i].y.length,c=(o-s)/Fa[i].y.length*8+Fa[i].y[s];return n*4+c*t*4}}});var nv=N((vk,lC)=>{"use strict";lC.exports=a(function(e,o,i){let r=e+o-i,n=Math.abs(r-e),s=Math.abs(r-o),c=Math.abs(r-i);return n<=s&&n<=c?e:s<=c?o:i},"paethPredictor")});var rv=N((yk,dC)=>{"use strict";var fD=iv(),mD=nv();function uC(t,e,o){let i=t*e;return o!==8&&(i=Math.ceil(i/(8/o))),i}a(uC,"getByteWidth");var rp=dC.exports=function(t,e){let o=t.width,i=t.height,r=t.interlace,n=t.bpp,s=t.depth;if(this.read=e.read,this.write=e.write,this.complete=e.complete,this._imageIndex=0,this._images=[],r){let c=fD.getImagePasses(o,i);for(let p=0;p<c.length;p++)this._images.push({byteWidth:uC(c[p].width,n,s),height:c[p].height,lineIndex:0})}else this._images.push({byteWidth:uC(o,n,s),height:i,lineIndex:0});s===8?this._xComparison=n:s===16?this._xComparison=n*2:this._xComparison=1};rp.prototype.start=function(){this.read(this._images[this._imageIndex].byteWidth+1,this._reverseFilterLine.bind(this))};rp.prototype._unFilterType1=function(t,e,o){let i=this._xComparison,r=i-1;for(let n=0;n<o;n++){let s=t[1+n],c=n>r?e[n-i]:0;e[n]=s+c}};rp.prototype._unFilterType2=function(t,e,o){let i=this._lastLine;for(let r=0;r<o;r++){let n=t[1+r],s=i?i[r]:0;e[r]=n+s}};rp.prototype._unFilterType3=function(t,e,o){let i=this._xComparison,r=i-1,n=this._lastLine;for(let s=0;s<o;s++){let c=t[1+s],p=n?n[s]:0,u=s>r?e[s-i]:0,l=Math.floor((u+p)/2);e[s]=c+l}};rp.prototype._unFilterType4=function(t,e,o){let i=this._xComparison,r=i-1,n=this._lastLine;for(let s=0;s<o;s++){let c=t[1+s],p=n?n[s]:0,u=s>r?e[s-i]:0,l=s>r&&n?n[s-i]:0,d=mD(u,p,l);e[s]=c+d}};rp.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 hC=N((bk,mC)=>{"use strict";var hD=require("util"),fC=tv(),vD=rv(),gD=mC.exports=function(t){fC.call(this);let e=[],o=this;this._filter=new vD(t,{read:this.read.bind(this),write:a(function(i){e.push(i)},"write"),complete:a(function(){o.emit("complete",Buffer.concat(e))},"complete")}),this._filter.start()};hD.inherits(gD,fC)});var ap=N((Ck,vC)=>{"use strict";vC.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 cv=N((Nk,gC)=>{"use strict";var av=[];(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;av[t]=e}})();var sv=gC.exports=function(){this._crc=-1};sv.prototype.write=function(t){for(let e=0;e<t.length;e++)this._crc=av[(this._crc^t[e])&255]^this._crc>>>8;return!0};sv.prototype.crc32=function(){return this._crc^-1};sv.crc32=function(t){let e=-1;for(let o=0;o<t.length;o++)e=av[(e^t[o])&255]^e>>>8;return e^-1}});var pv=N((Rk,yC)=>{"use strict";var Rt=ap(),yD=cv(),_t=yC.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[Rt.TYPE_IHDR]=this._handleIHDR.bind(this),this._chunks[Rt.TYPE_IEND]=this._handleIEND.bind(this),this._chunks[Rt.TYPE_IDAT]=this._handleIDAT.bind(this),this._chunks[Rt.TYPE_PLTE]=this._handlePLTE.bind(this),this._chunks[Rt.TYPE_tRNS]=this._handleTRNS.bind(this),this._chunks[Rt.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(){}};_t.prototype.start=function(){this.read(Rt.PNG_SIGNATURE.length,this._parseSignature.bind(this))};_t.prototype._parseSignature=function(t){let e=Rt.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))};_t.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!==Rt.TYPE_IHDR){this.error(new Error("Expected IHDR on beggining"));return}if(this._crc=new yD,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))};_t.prototype._skipChunk=function(){this.read(8,this._parseChunkBegin.bind(this))};_t.prototype._handleChunkEnd=function(){this.read(4,this._parseChunkEnd.bind(this))};_t.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))};_t.prototype._handleIHDR=function(t){this.read(t,this._parseIHDR.bind(this))};_t.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],s=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 Rt.COLORTYPE_TO_BPP_MAP)){this.error(new Error("Unsupported color type"));return}if(n!==0){this.error(new Error("Unsupported compression method"));return}if(s!==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=Rt.COLORTYPE_TO_BPP_MAP[this._colorType];this._hasIHDR=!0,this.metadata({width:e,height:o,depth:i,interlace:!!c,palette:!!(r&Rt.COLORTYPE_PALETTE),color:!!(r&Rt.COLORTYPE_COLOR),alpha:!!(r&Rt.COLORTYPE_ALPHA),bpp:p,colorType:r}),this._handleChunkEnd()};_t.prototype._handlePLTE=function(t){this.read(t,this._parsePLTE.bind(this))};_t.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()};_t.prototype._handleTRNS=function(t){this.simpleTransparency(),this.read(t,this._parseTRNS.bind(this))};_t.prototype._parseTRNS=function(t){if(this._crc.write(t),this._colorType===Rt.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===Rt.COLORTYPE_GRAYSCALE&&this.transColor([t.readUInt16BE(0)]),this._colorType===Rt.COLORTYPE_COLOR&&this.transColor([t.readUInt16BE(0),t.readUInt16BE(2),t.readUInt16BE(4)]),this._handleChunkEnd()};_t.prototype._handleGAMA=function(t){this.read(t,this._parseGAMA.bind(this))};_t.prototype._parseGAMA=function(t){this._crc.write(t),this.gamma(t.readUInt32BE(0)/Rt.GAMMA_DIVISION),this._handleChunkEnd()};_t.prototype._handleIDAT=function(t){this._emittedHeadersFinished||(this._emittedHeadersFinished=!0,this.headersFinished()),this.read(-t,this._parseIDAT.bind(this,t))};_t.prototype._parseIDAT=function(t,e){if(this._crc.write(e),this._colorType===Rt.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()};_t.prototype._handleIEND=function(t){this.read(t,this._parseIEND.bind(this))};_t.prototype._parseIEND=function(t){this._crc.write(t),this._hasIEND=!0,this._handleChunkEnd(),this.finished&&this.finished()}});var lv=N(bC=>{"use strict";var xC=iv(),xD=[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]}],bD=[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 SD(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 s,c,p,u,l,d,g,y;switch(e){default:throw new Error("unrecognised depth");case 16:g=t[i],i++,o.push((n<<8)+g);break;case 4:g=n&15,y=n>>4,o.push(y,g);break;case 2:l=n&3,d=n>>2&3,g=n>>4&3,y=n>>6&3,o.push(y,g,d,l);break;case 1:s=n&1,c=n>>1&1,p=n>>2&1,u=n>>3&1,l=n>>4&1,d=n>>5&1,g=n>>6&1,y=n>>7&1,o.push(y,g,d,l,u,p,c,s);break}}return a(r,"split"),{get:a(function(n){for(;o.length<n;)r();let s=o.slice(0,n);return o=o.slice(n),s},"get"),resetAfterLine:a(function(){o.length=0},"resetAfterLine"),end:a(function(){if(i!==t.length)throw new Error("extra data found")},"end")}}a(SD,"bitRetriever");function CD(t,e,o,i,r,n){let s=t.width,c=t.height,p=t.index;for(let u=0;u<c;u++)for(let l=0;l<s;l++){let d=o(l,u,p);xD[i](e,r,d,n),n+=i}return n}a(CD,"mapImage8Bit");function ND(t,e,o,i,r,n){let s=t.width,c=t.height,p=t.index;for(let u=0;u<c;u++){for(let l=0;l<s;l++){let d=r.get(i),g=o(l,u,p);bD[i](e,d,g,n)}r.resetAfterLine()}}a(ND,"mapImageCustomBit");bC.dataToBitMap=function(t,e){let o=e.width,i=e.height,r=e.depth,n=e.bpp,s=e.interlace,c;r!==8&&(c=SD(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,g;if(s)d=xC.getImagePasses(o,i),g=xC.getInterlaceIterator(o,i);else{let y=0;g=a(function(){let C=y;return y+=4,C},"getPxPos"),d=[{width:o,height:i}]}for(let y=0;y<d.length;y++)r===8?l=CD(d[y],p,g,n,t,l):ND(d[y],p,g,n,c,u);if(r===8){if(l!==t.length)throw new Error("extra data found")}else c.end();return p}});var uv=N((Ok,SC)=>{"use strict";function RD(t,e,o,i,r){let n=0;for(let s=0;s<i;s++)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}}a(RD,"dePalette");function wD(t,e,o,i,r){let n=0;for(let s=0;s<i;s++)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}}a(wD,"replaceTransparentColor");function ID(t,e,o,i,r){let n=255,s=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/s+.5);c+=4}}a(ID,"scaleDepth");SC.exports=function(t,e){let o=e.depth,i=e.width,r=e.height,n=e.colorType,s=e.transColor,c=e.palette,p=t;return n===3?RD(t,p,i,r,c):(s&&wD(t,p,i,r,s),o!==8&&(o===16&&(p=Buffer.alloc(i*r*4)),ID(t,p,i,r,o))),p}});var RC=N((Ak,NC)=>{"use strict";var OD=require("util"),dv=require("zlib"),CC=tv(),FD=hC(),AD=pv(),DD=lv(),PD=uv(),Qn=NC.exports=function(t){CC.call(this),this._parser=new AD(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()};OD.inherits(Qn,CC);Qn.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};Qn.prototype._inflateData=function(t){if(!this._inflate)if(this._bitmapInfo.interlace)this._inflate=dv.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,dv.Z_MIN_CHUNK);this._inflate=dv.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 s=this._filter.write.bind(this._filter);this._inflate.on("data",function(c){r&&(c.length>r&&(c=c.slice(0,r)),r-=c.length,s(c))}),this._inflate.on("end",this._filter.end.bind(this._filter))}this._inflate.write(t)};Qn.prototype._handleMetaData=function(t){this._metaData=t,this._bitmapInfo=Object.create(t),this._filter=new FD(this._bitmapInfo)};Qn.prototype._handleTransColor=function(t){this._bitmapInfo.transColor=t};Qn.prototype._handlePalette=function(t){this._bitmapInfo.palette=t};Qn.prototype._simpleTransparency=function(){this._metaData.alpha=!0};Qn.prototype._headersFinished=function(){this.emit("metadata",this._metaData)};Qn.prototype._finished=function(){this.errord||(this._inflate?this._inflate.end():this.emit("error","No Inflate block"))};Qn.prototype._complete=function(t){if(this.errord)return;let e;try{let o=DD.dataToBitMap(t,this._bitmapInfo);e=PD(o,this._bitmapInfo),o=null}catch(o){this._handleError(o);return}this.emit("parsed",e)}});var IC=N((Dk,wC)=>{"use strict";var Pi=ap();wC.exports=function(t,e,o,i){let r=[Pi.COLORTYPE_COLOR_ALPHA,Pi.COLORTYPE_ALPHA].indexOf(i.colorType)!==-1;if(i.colorType===i.inputColorType){let C=(function(){let w=new ArrayBuffer(2);return new DataView(w).setInt16(0,256,!0),new Int16Array(w)[0]!==256})();if(i.bitDepth===8||i.bitDepth===16&&C)return t}let n=i.bitDepth!==16?t:new Uint16Array(t.buffer),s=255,c=Pi.COLORTYPE_TO_BPP_MAP[i.inputColorType];c===4&&!i.inputHasAlpha&&(c=3);let p=Pi.COLORTYPE_TO_BPP_MAP[i.colorType];i.bitDepth===16&&(s=65535,p*=2);let u=Buffer.alloc(e*o*p),l=0,d=0,g=i.bgColor||{};g.red===void 0&&(g.red=s),g.green===void 0&&(g.green=s),g.blue===void 0&&(g.blue=s);function y(){let C,w,S,x=s;switch(i.inputColorType){case Pi.COLORTYPE_COLOR_ALPHA:x=n[l+3],C=n[l],w=n[l+1],S=n[l+2];break;case Pi.COLORTYPE_COLOR:C=n[l],w=n[l+1],S=n[l+2];break;case Pi.COLORTYPE_ALPHA:x=n[l+1],C=n[l],w=C,S=C;break;case Pi.COLORTYPE_GRAYSCALE:C=n[l],w=C,S=C;break;default:throw new Error("input color type:"+i.inputColorType+" is not supported at present")}return i.inputHasAlpha&&(r||(x/=s,C=Math.min(Math.max(Math.round((1-x)*g.red+x*C),0),s),w=Math.min(Math.max(Math.round((1-x)*g.green+x*w),0),s),S=Math.min(Math.max(Math.round((1-x)*g.blue+x*S),0),s))),{red:C,green:w,blue:S,alpha:x}}a(y,"getRGBA");for(let C=0;C<o;C++)for(let w=0;w<e;w++){let S=y(n,l);switch(i.colorType){case Pi.COLORTYPE_COLOR_ALPHA:case Pi.COLORTYPE_COLOR:i.bitDepth===8?(u[d]=S.red,u[d+1]=S.green,u[d+2]=S.blue,r&&(u[d+3]=S.alpha)):(u.writeUInt16BE(S.red,d),u.writeUInt16BE(S.green,d+2),u.writeUInt16BE(S.blue,d+4),r&&u.writeUInt16BE(S.alpha,d+6));break;case Pi.COLORTYPE_ALPHA:case Pi.COLORTYPE_GRAYSCALE:{let x=(S.red+S.green+S.blue)/3;i.bitDepth===8?(u[d]=x,r&&(u[d+1]=S.alpha)):(u.writeUInt16BE(x,d),r&&u.writeUInt16BE(S.alpha,d+2));break}default:throw new Error("unrecognised color Type "+i.colorType)}l+=c,d+=p}return u}});var AC=N((Ek,FC)=>{"use strict";var OC=nv();function ED(t,e,o,i,r){for(let n=0;n<o;n++)i[r+n]=t[e+n]}a(ED,"filterNone");function jD(t,e,o){let i=0,r=e+o;for(let n=e;n<r;n++)i+=Math.abs(t[n]);return i}a(jD,"filterSumNone");function zD(t,e,o,i,r,n){for(let s=0;s<o;s++){let c=s>=n?t[e+s-n]:0,p=t[e+s]-c;i[r+s]=p}}a(zD,"filterSub");function TD(t,e,o,i){let r=0;for(let n=0;n<o;n++){let s=n>=i?t[e+n-i]:0,c=t[e+n]-s;r+=Math.abs(c)}return r}a(TD,"filterSumSub");function BD(t,e,o,i,r){for(let n=0;n<o;n++){let s=e>0?t[e+n-o]:0,c=t[e+n]-s;i[r+n]=c}}a(BD,"filterUp");function MD(t,e,o){let i=0,r=e+o;for(let n=e;n<r;n++){let s=e>0?t[n-o]:0,c=t[n]-s;i+=Math.abs(c)}return i}a(MD,"filterSumUp");function VD(t,e,o,i,r,n){for(let s=0;s<o;s++){let c=s>=n?t[e+s-n]:0,p=e>0?t[e+s-o]:0,u=t[e+s]-(c+p>>1);i[r+s]=u}}a(VD,"filterAvg");function LD(t,e,o,i){let r=0;for(let n=0;n<o;n++){let s=n>=i?t[e+n-i]:0,c=e>0?t[e+n-o]:0,p=t[e+n]-(s+c>>1);r+=Math.abs(p)}return r}a(LD,"filterSumAvg");function _D(t,e,o,i,r,n){for(let s=0;s<o;s++){let c=s>=n?t[e+s-n]:0,p=e>0?t[e+s-o]:0,u=e>0&&s>=n?t[e+s-(o+n)]:0,l=t[e+s]-OC(c,p,u);i[r+s]=l}}a(_D,"filterPaeth");function qD(t,e,o,i){let r=0;for(let n=0;n<o;n++){let s=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]-OC(s,c,p);r+=Math.abs(u)}return r}a(qD,"filterSumPaeth");var UD={0:ED,1:zD,2:BD,3:VD,4:_D},kD={0:jD,1:TD,2:MD,3:LD,4:qD};FC.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 s=e*r,c=0,p=0,u=Buffer.alloc((s+1)*o),l=n[0];for(let d=0;d<o;d++){if(n.length>1){let g=1/0;for(let y=0;y<n.length;y++){let C=kD[n[y]](t,p,s,r);C<g&&(l=n[y],g=C)}}u[c]=l,c++,UD[l](t,p,s,u,c,r),c+=s,p+=s}return u}});var fv=N((zk,DC)=>{"use strict";var bo=ap(),HD=cv(),GD=IC(),QD=AC(),ZD=require("zlib"),Aa=DC.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||ZD.createDeflate,t.bitDepth=t.bitDepth||8,t.colorType=typeof t.colorType=="number"?t.colorType:bo.COLORTYPE_COLOR_ALPHA,t.inputColorType=typeof t.inputColorType=="number"?t.inputColorType:bo.COLORTYPE_COLOR_ALPHA,[bo.COLORTYPE_GRAYSCALE,bo.COLORTYPE_COLOR,bo.COLORTYPE_COLOR_ALPHA,bo.COLORTYPE_ALPHA].indexOf(t.colorType)===-1)throw new Error("option color type:"+t.colorType+" is not supported at present");if([bo.COLORTYPE_GRAYSCALE,bo.COLORTYPE_COLOR,bo.COLORTYPE_COLOR_ALPHA,bo.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")};Aa.prototype.getDeflateOptions=function(){return{chunkSize:this._options.deflateChunkSize,level:this._options.deflateLevel,strategy:this._options.deflateStrategy}};Aa.prototype.createDeflate=function(){return this._options.deflateFactory(this.getDeflateOptions())};Aa.prototype.filterData=function(t,e,o){let i=GD(t,e,o,this._options),r=bo.COLORTYPE_TO_BPP_MAP[this._options.colorType];return QD(i,e,o,this._options,r)};Aa.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(HD.crc32(i.slice(4,i.length-4)),i.length-4),i};Aa.prototype.packGAMA=function(t){let e=Buffer.alloc(4);return e.writeUInt32BE(Math.floor(t*bo.GAMMA_DIVISION),0),this._packChunk(bo.TYPE_gAMA,e)};Aa.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(bo.TYPE_IHDR,o)};Aa.prototype.packIDAT=function(t){return this._packChunk(bo.TYPE_IDAT,t)};Aa.prototype.packIEND=function(){return this._packChunk(bo.TYPE_IEND,null)}});var zC=N((Tk,jC)=>{"use strict";var YD=require("util"),PC=require("stream"),XD=ap(),JD=fv(),EC=jC.exports=function(t){PC.call(this);let e=t||{};this._packer=new JD(e),this._deflate=this._packer.createDeflate(),this.readable=!0};YD.inherits(EC,PC);EC.prototype.pack=function(t,e,o,i){this.emit("data",Buffer.from(XD.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 _C=N((Hl,LC)=>{"use strict";var TC=require("assert").ok,sp=require("zlib"),WD=require("util"),BC=require("buffer").kMaxLength;function Ns(t){if(!(this instanceof Ns))return new Ns(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)}a(Ns,"Inflate");function KD(t){return new Ns(t)}a(KD,"createInflate");function MC(t,e){e&&process.nextTick(e),t._handle&&(t._handle.close(),t._handle=null)}a(MC,"_close");Ns.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,s=this._maxLength,c=0,p=[],u=0,l;this.on("error",function(C){l=C});function d(C,w){if(i._hadError)return;let S=n-w;if(TC(S>=0,"have should not go down"),S>0){let x=i._buffer.slice(i._offset,i._offset+S);if(i._offset+=S,x.length>s&&(x=x.slice(0,s)),p.push(x),u+=x.length,s-=x.length,s===0)return!1}return(w===0||i._offset>=i._chunkSize)&&(n=i._chunkSize,i._offset=0,i._buffer=Buffer.allocUnsafe(i._chunkSize)),w===0?(c+=r-C,r=C,!0):!1}a(d,"handleChunk"),TC(this._handle,"zlib binding closed");let g;do g=this._handle.writeSync(e,t,c,r,this._buffer,this._offset,n),g=g||this._writeState;while(!this._hadError&&d(g[0],g[1]));if(this._hadError)throw l;if(u>=BC)throw MC(this),new RangeError("Cannot create final Buffer. It would be larger than 0x"+BC.toString(16)+" bytes");let y=Buffer.concat(p,u);return MC(this),y};WD.inherits(Ns,sp.Inflate);function $D(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)}a($D,"zlibBufferSync");function VC(t,e){return $D(new Ns(e),t)}a(VC,"inflateSync");LC.exports=Hl=VC;Hl.Inflate=Ns;Hl.createInflate=KD;Hl.inflateSync=VC});var mv=N((Mk,UC)=>{"use strict";var qC=UC.exports=function(t){this._buffer=t,this._reads=[]};qC.prototype.read=function(t,e){this._reads.push({length:Math.abs(t),allowLess:t<0,func:e})};qC.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 HC=N(kC=>{"use strict";var eP=mv(),tP=rv();kC.process=function(t,e){let o=[],i=new eP(t);return new tP(e,{read:i.read.bind(i),write:a(function(n){o.push(n)},"write"),complete:a(function(){},"complete")}).start(),i.process(),Buffer.concat(o)}});var YC=N((_k,ZC)=>{"use strict";var GC=!0,QC=require("zlib"),oP=_C();QC.deflateSync||(GC=!1);var iP=mv(),nP=HC(),rP=pv(),aP=lv(),sP=uv();ZC.exports=function(t,e){if(!GC)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(j){o=j}a(i,"handleError");let r;function n(j){r=j}a(n,"handleMetaData");function s(j){r.transColor=j}a(s,"handleTransColor");function c(j){r.palette=j}a(c,"handlePalette");function p(){r.alpha=!0}a(p,"handleSimpleTransparency");let u;function l(j){u=j}a(l,"handleGamma");let d=[];function g(j){d.push(j)}a(g,"handleInflateData");let y=new iP(t);if(new rP(e,{read:y.read.bind(y),error:i,metadata:n,gamma:l,palette:c,transColor:s,inflateData:g,simpleTransparency:p}).start(),y.process(),o)throw o;let w=Buffer.concat(d);d.length=0;let S;if(r.interlace)S=QC.inflateSync(w);else{let X=((r.width*r.bpp*r.depth+7>>3)+1)*r.height;S=oP(w,{chunkSize:X,maxLength:X})}if(w=null,!S||!S.length)throw new Error("bad png - invalid inflate data response");let x=nP.process(S,r);w=null;let F=aP.dataToBitMap(x,r);x=null;let D=sP(F,r);return r.data=D,r.gamma=u||0,r}});var KC=N((Uk,WC)=>{"use strict";var XC=!0,JC=require("zlib");JC.deflateSync||(XC=!1);var cP=ap(),pP=fv();WC.exports=function(t,e){if(!XC)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),s=JC.deflateSync(n,i.getDeflateOptions());if(n=null,!s||!s.length)throw new Error("bad png - invalid compressed data response");return r.push(i.packIDAT(s)),r.push(i.packIEND()),Buffer.concat(r)}});var $C=N(hv=>{"use strict";var lP=YC(),uP=KC();hv.read=function(t,e){return lP(t,e||{})};hv.write=function(t,e){return uP(t,e)}});var oN=N(tN=>{"use strict";var dP=require("util"),eN=require("stream"),fP=RC(),mP=zC(),hP=$C(),Eo=tN.PNG=function(t){eN.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(Eo,eN);Eo.sync=hP;Eo.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)};Eo.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};Eo.prototype.write=function(t){return this._parser.write(t),!0};Eo.prototype.end=function(t){this._parser.end(t)};Eo.prototype._metadata=function(t){this.width=t.width,this.height=t.height,this.emit("metadata",t)};Eo.prototype._gamma=function(t){this.gamma=t};Eo.prototype._handleClose=function(){!this._parser.writable&&!this._packer.readable&&this.emit("close")};Eo.bitblt=function(t,e,o,i,r,n,s,c){if(o|=0,i|=0,r|=0,n|=0,s|=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(s>e.width||c>e.height||s+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+s<<2,(i+p)*t.width+o<<2,(i+p)*t.width+o+r<<2)};Eo.prototype.bitblt=function(t,e,o,i,r,n,s){return Eo.bitblt(this,t,e,o,i,r,n,s),this};Eo.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}};Eo.prototype.adjustGamma=function(){Eo.adjustGamma(this)}});var Gl=N(Rs=>{"use strict";function iN(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("")}}a(iN,"hex2rgba");Rs.getOptions=a(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:iN(e.color.dark||"#000000ff"),light:iN(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},"getOptions");Rs.getScale=a(function(e,o){return o.width&&o.width>=e+o.margin*2?o.width/(e+o.margin*2):o.scale},"getScale");Rs.getImageWidth=a(function(e,o){let i=Rs.getScale(e,o);return Math.floor((e+o.margin*2)*i)},"getImageWidth");Rs.qrToImageData=a(function(e,o,i){let r=o.modules.size,n=o.modules.data,s=Rs.getScale(r,i),c=Math.floor((r+i.margin*2)*s),p=i.margin*s,u=[i.color.light,i.color.dark];for(let l=0;l<c;l++)for(let d=0;d<c;d++){let g=(l*c+d)*4,y=i.color.light;if(l>=p&&d>=p&&l<c-p&&d<c-p){let C=Math.floor((l-p)/s),w=Math.floor((d-p)/s);y=u[n[C*r+w]?1:0]}e[g++]=y.r,e[g++]=y.g,e[g++]=y.b,e[g]=y.a}},"qrToImageData")});var nN=N(Zn=>{"use strict";var vP=require("fs"),gP=oN().PNG,vv=Gl();Zn.render=a(function(e,o){let i=vv.getOptions(o),r=i.rendererOpts,n=vv.getImageWidth(e.modules.size,i);r.width=n,r.height=n;let s=new gP(r);return vv.qrToImageData(s.data,e,i),s},"render");Zn.renderToDataURL=a(function(e,o,i){typeof i>"u"&&(i=o,o=void 0),Zn.renderToBuffer(e,o,function(r,n){r&&i(r);let s="data:image/png;base64,";s+=n.toString("base64"),i(null,s)})},"renderToDataURL");Zn.renderToBuffer=a(function(e,o,i){typeof i>"u"&&(i=o,o=void 0);let r=Zn.render(e,o),n=[];r.on("error",i),r.on("data",function(s){n.push(s)}),r.on("end",function(){i(null,Buffer.concat(n))}),r.pack()},"renderToBuffer");Zn.renderToFile=a(function(e,o,i,r){typeof r>"u"&&(r=i,i=void 0);let n=!1,s=a((...p)=>{n||(n=!0,r.apply(null,p))},"done"),c=vP.createWriteStream(e);c.on("error",s),c.on("close",s),Zn.renderToFileStream(c,o,i)},"renderToFile");Zn.renderToFileStream=a(function(e,o,i){Zn.render(o,i).pack().pipe(e)},"renderToFileStream")});var rN=N(zd=>{"use strict";var yP=Gl(),xP={WW:" ",WB:"\u2584",BB:"\u2588",BW:"\u2580"},bP={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}a(SP,"getBlockChar");zd.render=function(t,e,o){let i=yP.getOptions(e),r=xP;(i.color.dark.hex==="#ffffff"||i.color.light.hex==="#000000")&&(r=bP);let n=t.modules.size,s=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
|
|
21
|
-
`}return c+=p.slice(0,-1),typeof o=="function"&&o(null,c),c};
|
|
22
|
-
`;for(let l=0;l<i;++l){c+=
|
|
19
|
+
`);let a=sE(e,o,r),c=nf.getSymbolSize(e),p=new XD(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 Xv=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 S=y;return y+=4,S},"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 Wv=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=Xv(),FE=Wv(),Xn=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(Xn,mN);Xn.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};Xn.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)};Xn.prototype._handleMetaData=function(t){this._metaData=t,this._bitmapInfo=Object.create(t),this._filter=new IE(this._bitmapInfo)};Xn.prototype._handleTransColor=function(t){this._bitmapInfo.transColor=t};Xn.prototype._handlePalette=function(t){this._bitmapInfo.palette=t};Xn.prototype._simpleTransparency=function(){this._metaData.alpha=!0};Xn.prototype._headersFinished=function(){this.emit("metadata",this._metaData)};Xn.prototype._finished=function(){this.errord||(this._inflate?this._inflate.end():this.emit("error","No Inflate block"))};Xn.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 S=(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&&S)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 S,N,C,b=a;switch(i.inputColorType){case ji.COLORTYPE_COLOR_ALPHA:b=n[l+3],S=n[l],N=n[l+1],C=n[l+2];break;case ji.COLORTYPE_COLOR:S=n[l],N=n[l+1],C=n[l+2];break;case ji.COLORTYPE_ALPHA:b=n[l+1],S=n[l],N=S,C=S;break;case ji.COLORTYPE_GRAYSCALE:S=n[l],N=S,C=S;break;default:throw new Error("input color type:"+i.inputColorType+" is not supported at present")}return i.inputHasAlpha&&(r||(b/=a,S=Math.min(Math.max(Math.round((1-b)*m.red+b*S),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:S,green:N,blue:C,alpha:b}}s(y,"getRGBA");for(let S=0;S<o;S++)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 S=UE[n[y]](t,p,a,r);S<m&&(l=n[y],m=S)}}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 XE(t){return new Ts(t)}s(XE,"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(S){l=S});function d(S,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-S,r=S,!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 WE(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(WE,"zlibBufferSync");function DN(t,e){return WE(new Ts(e),t)}s(DN,"inflateSync");EN.exports=du=DN;du.Inflate=Ts;du.createInflate=XE;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((W8,VN)=>{"use strict";var MN=!0,LN=require("zlib"),eP=PN();LN.deflateSync||(MN=!1);var tP=eg(),oP=BN(),iP=Jv(),nP=Xv(),rP=Wv();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(E){o=E}s(i,"handleError");let r;function n(E){r=E}s(n,"handleMetaData");function a(E){r.transColor=E}s(a,"handleTransColor");function c(E){r.palette=E}s(c,"handlePalette");function p(){r.alpha=!0}s(p,"handleSimpleTransparency");let u;function l(E){u=E}s(l,"handleGamma");let d=[];function m(E){d.push(E)}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 Z=((r.width*r.bpp*r.depth+7>>3)+1)*r.height;C=eP(N,{chunkSize:Z,maxLength:Z})}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 F=rP(I,r);return r.data=F,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 S=Math.floor((l-p)/a),N=Math.floor((d-p)/a);y=u[n[S*r+N]?1:0]}e[m++]=y.r,e[m++]=y.g,e[m++]=y.b,e[m]=y.a}},"qrToImageData")});var XN=R(Wn=>{"use strict";var mP=require("fs"),hP=YN().PNG,og=fu();Wn.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");Wn.renderToDataURL=s(function(e,o,i){typeof i>"u"&&(i=o,o=void 0),Wn.renderToBuffer(e,o,function(r,n){r&&i(r);let a="data:image/png;base64,";a+=n.toString("base64"),i(null,a)})},"renderToDataURL");Wn.renderToBuffer=s(function(e,o,i){typeof i>"u"&&(i=o,o=void 0);let r=Wn.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");Wn.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),Wn.renderToFileStream(c,o,i)},"renderToFile");Wn.renderToFileStream=s(function(e,o,i){Wn.render(o,i).pack().pipe(e)},"renderToFileStream")});var WN=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+`
|
|
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
|
|
25
|
-
`+
|
|
26
|
-
`;return typeof i=="function"&&i(null,g),g},"render")});var vN=N(Td=>{"use strict";var PP=bv();Td.render=PP.render;Td.renderToFile=a(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">'+Td.render(o,i);n.writeFile(e,c,r)},"renderToFile")});var gN=N(Bd=>{"use strict";var Sv=Gl();function EP(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"}a(EP,"clearCanvas");function jP(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}a(jP,"getCanvasElement");Bd.render=a(function(e,o,i){let r=i,n=o;typeof r>"u"&&(!o||!o.getContext)&&(r=o,o=void 0),o||(n=jP()),r=Sv.getOptions(r);let s=Sv.getImageWidth(e.modules.size,r),c=n.getContext("2d"),p=c.createImageData(s,s);return Sv.qrToImageData(p.data,e,r),EP(c,n,s),c.putImageData(p,0,0),n},"render");Bd.renderToDataURL=a(function(e,o,i){let r=i;typeof r>"u"&&(!o||!o.getContext)&&(r=o,o=void 0),r||(r={});let n=Bd.render(e,o,r),s=r.type||"image/png",c=r.rendererOpts||{};return n.toDataURL(s,c.quality)},"renderToDataURL")});var xN=N(Ql=>{"use strict";var zP=Th(),Cv=ev(),yN=gN(),TP=bv();function Nv(t,e,o,i,r){let n=[].slice.call(arguments,1),s=n.length,c=typeof n[s-1]=="function";if(!c&&!zP())throw new Error("Callback required as last argument");if(c){if(s<2)throw new Error("Too few arguments provided");s===2?(r=o,o=e,e=i=void 0):s===3&&(e.getContext&&typeof r>"u"?(r=i,i=void 0):(r=i,i=o,o=e,e=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(o=e,e=i=void 0):s===2&&!e.getContext&&(i=o,o=e,e=void 0),new Promise(function(p,u){try{let l=Cv.create(o,i);p(t(l,e,i))}catch(l){u(l)}})}try{let p=Cv.create(o,i);r(null,t(p,e,i))}catch(p){r(p)}}a(Nv,"renderCanvas");Ql.create=Cv.create;Ql.toCanvas=Nv.bind(null,yN.render);Ql.toDataURL=Nv.bind(null,yN.renderToDataURL);Ql.toString=Nv.bind(null,function(t,e,o){return TP.render(t,o)})});var NN=N(Da=>{"use strict";var bN=Th(),Rv=ev(),BP=nN(),SN=rN(),MP=fN(),CN=vN();function Zl(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(bN())e=o||{},o=null;else throw new Error("Callback required as last argument");return{opts:e,cb:o}}a(Zl,"checkParams");function VP(t){return t.slice((t.lastIndexOf(".")-1>>>0)+2).toLowerCase()}a(VP,"getTypeFromFilename");function Md(t){switch(t){case"svg":return CN;case"txt":case"utf8":return SN;case"png":case"image/png":default:return BP}}a(Md,"getRendererFromType");function LP(t){switch(t){case"svg":return CN;case"terminal":return MP;case"utf8":default:return SN}}a(LP,"getStringRendererFromType");function Yl(t,e,o){if(!o.cb)return new Promise(function(i,r){try{let n=Rv.create(e,o.opts);return t(n,o.opts,function(s,c){return s?r(s):i(c)})}catch(n){r(n)}});try{let i=Rv.create(e,o.opts);return t(i,o.opts,o.cb)}catch(i){o.cb(i)}}a(Yl,"render");Da.create=Rv.create;Da.toCanvas=xN().toCanvas;Da.toString=a(function(e,o,i){let r=Zl(e,o,i),n=r.opts?r.opts.type:void 0,s=LP(n);return Yl(s.render,e,r)},"toString");Da.toDataURL=a(function(e,o,i){let r=Zl(e,o,i),n=Md(r.opts.type);return Yl(n.renderToDataURL,e,r)},"toDataURL");Da.toBuffer=a(function(e,o,i){let r=Zl(e,o,i),n=Md(r.opts.type);return Yl(n.renderToBuffer,e,r)},"toBuffer");Da.toFile=a(function(e,o,i,r){if(typeof e!="string"||!(typeof o=="string"||typeof o=="object"))throw new Error("Invalid argument");if(arguments.length<3&&!bN())throw new Error("Too few arguments provided");let n=Zl(o,i,r),s=n.opts.type||VP(e),p=Md(s).renderToFile.bind(null,e);return Yl(p,o,n)},"toFile");Da.toFileStream=a(function(e,o,i){if(arguments.length<2)throw new Error("Too few arguments provided");let r=Zl(o,i,e.emit.bind(e,"error")),s=Md("png").renderToFileStream.bind(null,e);Yl(s,o,r)},"toFileStream")});var wN=N((uH,RN)=>{"use strict";RN.exports=NN()});var qP={};Av(qP,{AccessKeyBuilder:()=>vp,DanfceDefaultPdfDocument:()=>Iv,DanfceReducedPdfDocument:()=>Ov,DefaultDetBuilderAggregator:()=>gp,DefaultSchema:()=>Xd,DefaultTotalBuilderAggregator:()=>yp,EventoCstatToCancelRegister:()=>Qd,EventoCstatToProtocol:()=>Gd,InutCstatToProtocol:()=>Zd,NFCeDto:()=>Gn,NFeDto:()=>zr,NfceAuthorizerPipeline:()=>el,NfceCancelPipeline:()=>Tm,NfceConsultProtocoloPipeline:()=>Lm,NfceConsultStatusPipeline:()=>Vm,NfceContingencyXmlAuthorizerPipeline:()=>Bm,NfceQrcode:()=>Gt,NfceRemoteTransmitter:()=>jt,NfceVoidRangePipeline:()=>Mm,NfceXmlBuilder:()=>Bl,NfceXmlBuilderPipeline:()=>zh,NfeAuthorizationResponsePipeline:()=>Pm,NfeAuthorizerPipeline:()=>Wp,NfeCancelPipeline:()=>Xp,NfeComplements:()=>Jd,NfeConsultProtocoloPipeline:()=>$p,NfeConsultStatusPipeline:()=>Kp,NfeDetXmlBuilder:()=>lt,NfeRemoteTransmitter:()=>Vo,NfeVoidRangePipeline:()=>tc,NfeXmlBuilder:()=>ce,NfeXmlBuilderPipeline:()=>Tl,PL_009:()=>BN,PL_010:()=>So,TpEmis:()=>Ot,TpEvent:()=>jo,XmlValidationError:()=>mp,schemas:()=>hp});module.exports=TN(qP);var Pv=require("nfets/core");var mp=class extends Pv.NFeTsError{static{a(this,"XmlValidationError")}xml;name="XmlValidationError";constructor(e,o,i){super(e,i),this.xml=o}};var Ot=(function(t){return t.Normal="1",t.EPEC="4",t.SVCAN="6",t.SVCRS="7",t.OFFLINE="9",t})({});var jo=(function(t){return t.Cancelamento="110111",t.CancelamentoSubstituicao="110112",t})({});var Gd=(function(t){return t.RegistradoEVinculado="135",t})({}),Qd=(function(t){return t.RegistradoEVinculado="135",t.RegistradoNaoVinculado="136",t.CancelamentoHomologadoForaPrazo="155",t})({});var Zd=(function(t){return t.InutilizacaoHomologada="102",t})({});var Yd=require("nfets/core");var Ds={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"},BN=[Ds.PL_009_V4],So=[Ds.PL_010_V1,Ds.PL_010_V1_21,Ds.PL_010_V1_30],Xd=Ds.PL_009_V4,hp=a(()=>{if(process.env.NFETS_NFE_SCHEMAS_DIR)return process.env.NFETS_NFE_SCHEMAS_DIR;try{return(0,Yd.search)("packages/nfe/schemas",{onFound:a(t=>t,"onFound"),onNotFound:a(()=>{throw new Error("Schemas not found on packages/nfe/schemas")},"onNotFound")})}catch{return(0,Yd.search)("nfe/schemas",{onFound:a(t=>t,"onFound"),onNotFound:a(()=>{throw new Error("Schemas not found on nfe/schemas")},"onNotFound")})}},"schemas"),Ev=Ds;var vp=class{static{a(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"),s=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}${s}${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,s,c,p,u,l,d,g,y,C]=i;return{cUF:n,year:s,month:c,identification:p,mod:u,serie:l,nNF:d,tpEmis:g,cNF:y,vd:C}}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 jv=require("nfets/core");var Ei=require("nfets/core");var MN=new Set([jo.Cancelamento,jo.CancelamentoSubstituicao]),Jd=class{static{a(this,"NfeComplements")}toolkit;constructor(e=new jv.Xml2JsToolkit){this.toolkit=e}cancelRegister(e,o){if(!e.trim())return(0,Ei.left)(new Ei.NFeTsError("Please provide a valid authorized NFe xml"));let i=this.toolkit.getNode(e,"protNFe");if(!i)return(0,Ei.left)(new Ei.NFeTsError("NFe not protocoladed"));let r=this.toolkit.getNodeValue(i,"chNFe");if(!r)return(0,Ei.left)(new Ei.NFeTsError("Access key not found in protNFe"));let n=this.findMatchingRetEvento(o,r);return n?(0,Ei.right)(this.toolkit.appendNode(e,n)):(0,Ei.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"),s=this.toolkit.getNodeValue(i,"chNFe");if(r&&Object.values(Qd).includes(r)&&n&&MN.has(n)&&s===o)return i}return null}};var Wd=require("nfets/core");var gp=class{static{a(this,"DefaultDetBuilderAggregator")}builder;zero=Wd.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 Wd.Decimal.newOrZero(e).add(o??this.zero).toFixed(i)}};var Wl=require("nfets/core");var yp=class{static{a(this,"DefaultTotalBuilderAggregator")}builder;constructor(e){this.builder=e}aggregate(){let e=Wl.Decimal.from(0),o=So.includes(this.builder.schema??"");this.builder.increment(({ICMSTot:i,ISSQNtot:r},n)=>{let s=this.resolveDeductibleVICMSDeson(n);return{...o?{vNFTot:n.reduce((c,p)=>c.add(p?.vItem??e),e).toFixed(2)}:{},ICMSTot:{vNF:Wl.Decimal.newOrZero(i?.vProd).sub(i?.vDesc??e).sub(s).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=Wl.Decimal.from(0);return e.length?e.reduce((i,r)=>{let n=r?.imposto?.ICMS;if(!n)return i;let[s]=Object.keys(n),c=n[s];return c?.indDeduzDeson!=="1"||c.vICMSDeson==null?i:i.add(c.vICMSDeson)},o).toFixed(2):o.toFixed(2)}};var Gr=require("nfets/core");var Kl={[jo.Cancelamento]:{method:"envEventoCancNFe",version:"1.00",descEvento:"Cancelamento"},[jo.CancelamentoSubstituicao]:{method:"envEventoCancSubstNFe",version:"1.00",descEvento:"Cancelamento por substituicao"}};var $n=require("nfets/core");function xp(t,e){return a(function(){return t.apply(e,arguments)},"wrap")}a(xp,"bind");var{toString:VN}=Object.prototype,{getPrototypeOf:Ps}=Object,{iterator:Sp,toStringTag:Bv}=Symbol,eu=(({hasOwnProperty:t})=>(e,o)=>t.call(e,o))(Object.prototype),bp=a((t,e)=>{let o=t,i=[];for(;o!=null&&o!==Object.prototype;){if(i.indexOf(o)!==-1)return!1;if(i.push(o),eu(o,e))return!0;o=Ps(o)}return!1},"hasOwnInPrototypeChain"),LN=a((t,e)=>t!=null&&bp(t,e)?t[e]:void 0,"getSafeProp"),$d=(t=>e=>{let o=VN.call(e);return t[o]||(t[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),ci=a(t=>(t=t.toLowerCase(),e=>$d(e)===t),"kindOfTest"),tu=a(t=>e=>typeof e===t,"typeOfTest"),{isArray:Ta}=Array,Ba=tu("undefined");function Es(t){return t!==null&&!Ba(t)&&t.constructor!==null&&!Ba(t.constructor)&&zo(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}a(Es,"isBuffer");var Mv=ci("ArrayBuffer");function _N(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Mv(t.buffer),e}a(_N,"isArrayBufferView");var qN=tu("string"),zo=tu("function"),Vv=tu("number"),js=a(t=>t!==null&&typeof t=="object","isObject"),UN=a(t=>t===!0||t===!1,"isBoolean"),$l=a(t=>{if(!js(t))return!1;let e=Ps(t);return(e===null||e===Object.prototype||Ps(e)===null)&&!bp(t,Bv)&&!bp(t,Sp)},"isPlainObject"),kN=a(t=>{if(!js(t)||Es(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},"isEmptyObject"),HN=ci("Date"),GN=ci("File"),QN=a(t=>!!(t&&typeof t.uri<"u"),"isReactNativeBlob"),ZN=a(t=>t&&typeof t.getParts<"u","isReactNative"),YN=ci("Blob"),XN=ci("FileList"),JN=ci("Set"),WN=a(t=>js(t)&&zo(t.pipe),"isStream");function KN(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}a(KN,"getGlobal");var zv=KN(),Tv=typeof zv.FormData<"u"?zv.FormData:void 0,$N=a(t=>{if(!t)return!1;if(Tv&&t instanceof Tv)return!0;let e=Ps(t);if(!e||e===Object.prototype||!zo(t.append))return!1;let o=$d(t);return o==="formdata"||o==="object"&&zo(t.toString)&&t.toString()==="[object FormData]"},"isFormData"),eR=ci("URLSearchParams"),[tR,oR,iR,nR]=["ReadableStream","Request","Response","Headers"].map(ci),rR=a(t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),"trim");function Cp(t,e,{allOwnKeys:o=!1}={}){if(t===null||typeof t>"u")return;let i,r;if(typeof t!="object"&&(t=[t]),Ta(t))for(i=0,r=t.length;i<r;i++)e.call(null,t[i],i,t);else{if(Es(t))return;let n=o?Object.getOwnPropertyNames(t):Object.keys(t),s=n.length,c;for(i=0;i<s;i++)c=n[i],e.call(null,t[c],c,t)}}a(Cp,"forEach");function Lv(t,e){if(Es(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}a(Lv,"findKey");var za=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,_v=a(t=>!Ba(t)&&t!==za,"isContextDefined");function Kd(...t){let{caseless:e,skipUndefined:o}=_v(this)&&this||{},i={},r=a((n,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;let c=e&&typeof s=="string"&&Lv(i,s)||s,p=eu(i,c)?i[c]:void 0;$l(p)&&$l(n)?i[c]=Kd(p,n):$l(n)?i[c]=Kd({},n):Ta(n)?i[c]=n.slice():(!o||!Ba(n))&&(i[c]=n)},"assignValue");for(let n=0,s=t.length;n<s;n++){let c=t[n];if(!c||Es(c)||(Cp(c,r),typeof c!="object"||Ta(c)))continue;let p=Object.getOwnPropertySymbols(c);for(let u=0;u<p.length;u++){let l=p[u];gR.call(c,l)&&r(c[l],l)}}return i}a(Kd,"merge");var aR=a((t,e,o,{allOwnKeys:i}={})=>(Cp(e,(r,n)=>{o&&zo(r)?Object.defineProperty(t,n,{__proto__:null,value:xp(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"),sR=a(t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),"stripBOM"),cR=a((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"),pR=a((t,e,o,i)=>{let r,n,s,c={};if(e=e||{},t==null)return e;do{for(r=Object.getOwnPropertyNames(t),n=r.length;n-- >0;)s=r[n],(!i||i(s,t,e))&&!c[s]&&(e[s]=t[s],c[s]=!0);t=o!==!1&&Ps(t)}while(t&&(!o||o(t,e))&&t!==Object.prototype);return e},"toFlatObject"),lR=a((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"),uR=a(t=>{if(!t)return null;if(Ta(t))return t;let e=t.length;if(!Vv(e))return null;let o=new Array(e);for(;e-- >0;)o[e]=t[e];return o},"toArray"),dR=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Ps(Uint8Array)),fR=a((t,e)=>{let i=(t&&t[Sp]).call(t),r;for(;(r=i.next())&&!r.done;){let n=r.value;e.call(t,n[0],n[1])}},"forEachEntry"),mR=a((t,e)=>{let o,i=[];for(;(o=t.exec(e))!==null;)i.push(o);return i},"matchAll"),hR=ci("HTMLFormElement"),vR=a(t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,a(function(o,i,r){return i.toUpperCase()+r},"replacer")),"toCamelCase"),{propertyIsEnumerable:gR}=Object.prototype,yR=ci("RegExp"),qv=a((t,e)=>{let o=Object.getOwnPropertyDescriptors(t),i={};Cp(o,(r,n)=>{let s;(s=e(r,n,t))!==!1&&(i[n]=s||r)}),Object.defineProperties(t,i)},"reduceDescriptors"),xR=a(t=>{qv(t,(e,o)=>{if(zo(t)&&["arguments","caller","callee"].includes(o))return!1;let i=t[o];if(zo(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"),bR=a((t,e)=>{let o={},i=a(r=>{r.forEach(n=>{o[n]=!0})},"define");return Ta(t)?i(t):i(String(t).split(e)),o},"toObjectSet"),SR=a(()=>{},"noop"),CR=a((t,e)=>t!=null&&Number.isFinite(t=+t)?t:e,"toFiniteNumber");function NR(t){return!!(t&&zo(t.append)&&t[Bv]==="FormData"&&t[Sp])}a(NR,"isSpecCompliantForm");var RR=a(t=>{let e=new WeakSet,o=a(i=>{if(js(i)){if(e.has(i))return;if(Es(i))return i;if(!("toJSON"in i)){e.add(i);let r;if(JN(i)){r=[];for(let n of i){let s=o(n);!Ba(s)&&r.push(s)}}else r=Ta(i)?[]:{},Cp(i,(n,s)=>{let c=o(n);!Ba(c)&&(r[s]=c)});return e.delete(i),r}}return i},"visit");return o(t)},"toJSONObject"),wR=ci("AsyncFunction"),IR=a(t=>t&&(js(t)||zo(t))&&zo(t.then)&&zo(t.catch),"isThenable"),Uv=((t,e)=>t?setImmediate:e?((o,i)=>(za.addEventListener("message",({source:r,data:n})=>{r===za&&n===o&&i.length&&i.shift()()},!1),r=>{i.push(r),za.postMessage(o,"*")}))(`axios@${Math.random()}`,[]):o=>setTimeout(o))(typeof setImmediate=="function",zo(za.postMessage)),OR=typeof queueMicrotask<"u"?queueMicrotask.bind(za):typeof process<"u"&&process.nextTick||Uv,kv=a(t=>t!=null&&zo(t[Sp]),"isIterable"),FR=a(t=>t!=null&&bp(t,Sp)&&kv(t),"isSafeIterable"),m={isArray:Ta,isArrayBuffer:Mv,isBuffer:Es,isFormData:$N,isArrayBufferView:_N,isString:qN,isNumber:Vv,isBoolean:UN,isObject:js,isPlainObject:$l,isEmptyObject:kN,isReadableStream:tR,isRequest:oR,isResponse:iR,isHeaders:nR,isUndefined:Ba,isDate:HN,isFile:GN,isReactNativeBlob:QN,isReactNative:ZN,isBlob:YN,isRegExp:yR,isFunction:zo,isStream:WN,isURLSearchParams:eR,isTypedArray:dR,isFileList:XN,forEach:Cp,merge:Kd,extend:aR,trim:rR,stripBOM:sR,inherits:cR,toFlatObject:pR,kindOf:$d,kindOfTest:ci,endsWith:lR,toArray:uR,forEachEntry:fR,matchAll:mR,isHTMLForm:hR,hasOwnProperty:eu,hasOwnProp:eu,hasOwnInPrototypeChain:bp,getSafeProp:LN,reduceDescriptors:qv,freezeMethods:xR,toObjectSet:bR,toCamelCase:vR,noop:SR,toFiniteNumber:CR,findKey:Lv,global:za,isContextDefined:_v,isSpecCompliantForm:NR,toJSONObject:RR,isAsyncFn:wR,isThenable:IR,setImmediate:Uv,asap:OR,isIterable:kv,isSafeIterable:FR};var AR=m.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"]),Hv=a((t=>{let e={},o,i,r;return t&&t.split(`
|
|
27
|
-
`).forEach(
|
|
28
|
-
`)}getSetCookie(){let e=this.get("set-cookie");return m.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 MR(e)}static concat(e,...o){let i=new this(e);return o.forEach(r=>i.set(r)),i}static accessor(e){let i=(this[Qv]=this[Qv]={accessors:{}}).accessors,r=this.prototype;function n(s){let c=Np(s);i[c]||(_R(r,s),i[c]=!0)}return a(n,"defineAccessor"),m.isArray(e)?e.forEach(n):n(e),this}};iu.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);m.reduceDescriptors(iu.prototype,({value:t},e)=>{let o=e[0].toUpperCase()+e.slice(1);return{get:a(()=>t,"get"),set(i){this[o]=i}}});m.freezeMethods(iu);var Re=iu;var Rp="[REDACTED ****]";function qR(t){if(m.hasOwnProp(t,"toJSON"))return!0;let e=Object.getPrototypeOf(t);for(;e&&e!==Object.prototype;){if(m.hasOwnProp(e,"toJSON"))return!0;e=Object.getPrototypeOf(e)}return!1}a(qR,"hasOwnOrPrototypeToJSON");function UR(t,e){let o=new Set(e.map(n=>String(n).toLowerCase())),i=[],r=a(n=>{if(n===null||typeof n!="object"||m.isBuffer(n))return n;if(i.indexOf(n)!==-1)return;n instanceof Re&&(n=n.toJSON()),i.push(n);let s;if(m.isArray(n))s=[],n.forEach((c,p)=>{let u=r(c);m.isUndefined(u)||(s[p]=u)});else{if(!m.isPlainObject(n)&&qR(n))return i.pop(),n;s=Object.create(null);for(let[c,p]of Object.entries(n)){let u=o.has(c.toLowerCase())?Rp:r(p);m.isUndefined(u)||(s[c]=u)}}return i.pop(),s},"visit");return r(t)}a(UR,"redactConfig");function Zv(t){try{return String(t)}catch{return""}}a(Zv,"stringifySafely");function kR(t){return t.errors.map(o=>{try{return o&&o.message?Zv(o.message):Zv(o)}catch{return""}}).filter(Boolean).join("; ")||t.name||"AggregateError"}a(kR,"aggregateErrorMessage");var Co=class Yv extends Error{static{a(this,"AxiosError")}static from(e,o,i,r,n,s){let c=e.message;!c&&m.isArray(e.errors)&&e.errors.length&&(c=kR(e));let p=new Yv(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),s&&Object.assign(p,s),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&&m.hasOwnProp(e,"redact")?e.redact:void 0,i=m.isArray(o)&&o.length>0?UR(e,o):m.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}}};Co.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Co.ERR_BAD_OPTION="ERR_BAD_OPTION";Co.ECONNABORTED="ECONNABORTED";Co.ETIMEDOUT="ETIMEDOUT";Co.ECONNREFUSED="ECONNREFUSED";Co.ERR_NETWORK="ERR_NETWORK";Co.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Co.ERR_DEPRECATED="ERR_DEPRECATED";Co.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Co.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Co.ERR_CANCELED="ERR_CANCELED";Co.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Co.ERR_INVALID_URL="ERR_INVALID_URL";Co.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var R=Co;var tx=dt(ex(),1),fu=tx.default;var mu={isBufferAvailable(){return typeof Buffer<"u"},from(t){return Buffer.from(t)}};var If=100;function wf(t){return m.isPlainObject(t)||m.isArray(t)}a(wf,"isVisitable");function ox(t){return m.endsWith(t,"[]")?t.slice(0,-2):t}a(ox,"removeBrackets");function Rf(t,e,o){return t?t.concat(e).map(a(function(r,n){return r=ox(r),!o&&n?"["+r+"]":r},"each")).join(o?".":""):e}a(Rf,"renderKey");function PI(t){return m.isArray(t)&&!t.some(wf)}a(PI,"isFlatArray");var EI=m.toFlatObject(m,{},null,a(function(e){return/^is[A-Z]/.test(e)},"filter"));function jI(t,e,o){if(!m.isObject(t))throw new TypeError("target must be an object");e=e||new(fu||FormData),o=m.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,a(function(F,D){return!m.isUndefined(D[F])},"defined"));let i=o.metaTokens,r=o.visitor||C,n=o.dots,s=o.indexes,c=o.Blob||typeof Blob<"u"&&Blob,p=o.maxDepth===void 0?If:o.maxDepth,u=c&&m.isSpecCompliantForm(e),l=[];if(!m.isFunction(r))throw new TypeError("visitor must be a function");function d(x){if(x===null)return"";if(m.isDate(x))return x.toISOString();if(m.isBoolean(x))return x.toString();if(!u&&m.isBlob(x))throw new R("Blob is not supported. Use a Buffer instead.");if(m.isArrayBuffer(x)||m.isTypedArray(x)){if(u&&typeof c=="function")return new c([x]);if(mu&&mu.isBufferAvailable())return mu.from(x);throw new R("Blob is not supported. Use a Buffer instead.",R.ERR_NOT_SUPPORT)}return x}a(d,"convertValue");function g(x){if(x>p)throw new R("Object is too deeply nested ("+x+" levels). Max depth: "+p,R.ERR_FORM_DATA_DEPTH_EXCEEDED)}a(g,"throwIfMaxDepthExceeded");function y(x,F){if(p===1/0)return JSON.stringify(x);let D=[];return JSON.stringify(x,a(function(X,H){if(!m.isObject(H))return H;for(;D.length&&D[D.length-1]!==this;)D.pop();return D.push(H),g(F+D.length-1),H},"limitDepth"))}a(y,"stringifyWithDepthLimit");function C(x,F,D){let j=x;if(m.isReactNative(e)&&m.isReactNativeBlob(x))return e.append(Rf(D,F,n),d(x)),!1;if(x&&!D&&typeof x=="object"){if(m.endsWith(F,"{}"))F=i?F:F.slice(0,-2),x=y(x,1);else if(m.isArray(x)&&PI(x)||(m.isFileList(x)||m.endsWith(F,"[]"))&&(j=m.toArray(x)))return F=ox(F),j.forEach(a(function(H,yt){!(m.isUndefined(H)||H===null)&&e.append(s===!0?Rf([F],yt,n):s===null?F:F+"[]",d(H))},"each")),!1}return wf(x)?!0:(e.append(Rf(D,F,n),d(x)),!1)}a(C,"defaultVisitor");let w=Object.assign(EI,{defaultVisitor:C,convertValue:d,isVisitable:wf});function S(x,F,D=0){if(!m.isUndefined(x)){if(g(D),l.indexOf(x)!==-1)throw new Error("Circular reference detected in "+F.join("."));l.push(x),m.forEach(x,a(function(X,H){(!(m.isUndefined(X)||X===null)&&r.call(e,X,m.isString(H)?H.trim():H,F,w))===!0&&S(X,F?F.concat(H):[H],D+1)},"each")),l.pop()}}if(a(S,"build"),!m.isObject(t))throw new TypeError("data must be an object");return S(t),e}a(jI,"toFormData");var _r=jI;function ix(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(t).replace(/[!'()~]|%20/g,a(function(i){return e[i]},"replacer"))}a(ix,"encode");function nx(t,e){this._pairs=[],t&&_r(t,this,e)}a(nx,"AxiosURLSearchParams");var rx=nx.prototype;rx.append=a(function(e,o){this._pairs.push([e,o])},"append");rx.toString=a(function(e){let o=e?i=>e.call(this,i,ix):ix;return this._pairs.map(a(function(r){return o(r[0])+"="+o(r[1])},"each"),"").join("&")},"toString");var ax=nx;function zI(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}a(zI,"encode");function Va(t,e,o){if(!e)return t;t=t||"";let i=m.isFunction(o)?{serialize:o}:o,r=m.getSafeProp(i,"encode")||zI,n=m.getSafeProp(i,"serialize"),s;if(n?s=n(e,i):s=m.isURLSearchParams(e)?e.toString():new ax(e,i).toString(r),s){let c=t.indexOf("#");c!==-1&&(t=t.slice(0,c)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}a(Va,"buildURL");var TI=class{static{a(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){m.forEach(this.handlers,a(function(i){i!==null&&e(i)},"forEachHandler"))}},Of=TI;var qr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0};var lx=dt(require("crypto"),1);var sx=dt(require("url"),1),cx=sx.default.URLSearchParams;var Ff="abcdefghijklmnopqrstuvwxyz",px="0123456789",ux={DIGIT:px,ALPHA:Ff,ALPHA_DIGIT:Ff+Ff.toUpperCase()+px},BI=a((t=16,e=ux.ALPHA_DIGIT)=>{let o="",{length:i}=e,r=new Uint32Array(t);lx.default.randomFillSync(r);for(let n=0;n<t;n++)o+=e[r[n]%i];return o},"generateString"),dx={isNode:!0,classes:{URLSearchParams:cx,FormData:fu,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:ux,generateString:BI,protocols:["http","https","file","data"]};var Pf={};Av(Pf,{hasBrowserEnv:()=>Df,hasStandardBrowserEnv:()=>MI,hasStandardBrowserWebWorkerEnv:()=>VI,navigator:()=>Af,origin:()=>LI});var Df=typeof window<"u"&&typeof document<"u",Af=typeof navigator=="object"&&navigator||void 0,MI=Df&&(!Af||["ReactNative","NativeScript","NS"].indexOf(Af.product)<0),VI=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",LI=Df&&window.location.href||"http://localhost";var ie={...Pf,...dx};function Ef(t,e){return _r(t,new ie.classes.URLSearchParams,{visitor:a(function(o,i,r,n){return ie.isNode&&m.isBuffer(o)?(this.append(i,o.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},"visitor"),...e})}a(Ef,"toURLEncodedForm");var fx=If;function mx(t){if(t>fx)throw new R("FormData field is too deeply nested ("+t+" levels). Max depth: "+fx,R.ERR_FORM_DATA_DEPTH_EXCEEDED)}a(mx,"throwIfDepthExceeded");function _I(t){let e=[],o=/[^.[\]]+|\[([^.[\]]*)]/g,i;for(;(i=o.exec(t))!==null;)mx(e.length),e.push(i[0]==="[]"?"":i[1]||i[0]);return e}a(_I,"parsePropPath");function qI(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}a(qI,"arrayToObject");function UI(t){function e(o,i,r,n){mx(n);let s=o[n++];if(s==="__proto__")return!0;let c=Number.isFinite(+s),p=n>=o.length;return s=!s&&m.isArray(r)?r.length:s,p?(m.hasOwnProp(r,s)?r[s]=m.isArray(r[s])?r[s].concat(i):[r[s],i]:r[s]=i,!c):((!m.hasOwnProp(r,s)||!m.isObject(r[s]))&&(r[s]=[]),e(o,i,r[s],n)&&m.isArray(r[s])&&(r[s]=qI(r[s])),!c)}if(a(e,"buildPath"),m.isFormData(t)&&m.isFunction(t.entries)){let o={};return m.forEachEntry(t,(i,r)=>{e(_I(i),r,o,0)}),o}return null}a(UI,"formDataToJSON");var hu=UI;var _s=a((t,e)=>t!=null&&m.hasOwnProp(t,e)?t[e]:void 0,"own");function kI(t,e,o){if(m.isString(t))try{return(e||JSON.parse)(t),m.trim(t)}catch(i){if(i.name!=="SyntaxError")throw i}return(o||JSON.stringify)(t)}a(kI,"stringifySafely");var jf={transitional:qr,adapter:["xhr","http","fetch"],transformRequest:[a(function(e,o){let i=o.getContentType()||"",r=i.indexOf("application/json")>-1,n=m.isObject(e);if(n&&m.isHTMLForm(e)&&(e=new FormData(e)),m.isFormData(e))return r?JSON.stringify(hu(e)):e;if(m.isArrayBuffer(e)||m.isBuffer(e)||m.isStream(e)||m.isFile(e)||m.isBlob(e)||m.isReadableStream(e))return e;if(m.isArrayBufferView(e))return e.buffer;if(m.isURLSearchParams(e))return o.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let c;if(n){let p=_s(this,"formSerializer");if(i.indexOf("application/x-www-form-urlencoded")>-1)return Ef(e,p).toString();if((c=m.isFileList(e))||i.indexOf("multipart/form-data")>-1){let u=_s(this,"env"),l=u&&u.FormData;return _r(c?{"files[]":e}:e,l&&new l,p)}}return n||r?(o.setContentType("application/json",!1),kI(e)):e},"transformRequest")],transformResponse:[a(function(e){let o=_s(this,"transitional")||jf.transitional,i=o&&o.forcedJSONParsing,r=_s(this,"responseType"),n=r==="json";if(m.isResponse(e)||m.isReadableStream(e))return e;if(e&&m.isString(e)&&(i&&!r||n)){let c=!(o&&o.silentJSONParsing)&&n;try{return JSON.parse(e,_s(this,"parseReviver"))}catch(p){if(c)throw p.name==="SyntaxError"?R.from(p,R.ERR_BAD_RESPONSE,this,null,_s(this,"response")):p}}return e},"transformResponse")],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ie.classes.FormData,Blob:ie.classes.Blob},validateStatus:a(function(e){return e>=200&&e<300},"validateStatus"),headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};m.forEach(["delete","get","head","post","put","patch","query"],t=>{jf.headers[t]={}});var qs=jf;function Fp(t,e){let o=this||qs,i=e||o,r=Re.from(i.headers),n=i.data;return m.forEach(t,a(function(c){n=c.call(o,n,r.normalize(),e?e.status:void 0)},"transform")),r.normalize(),n}a(Fp,"transformData");function Ap(t){return!!(t&&t.__CANCEL__)}a(Ap,"isCancel");var HI=class extends R{static{a(this,"CanceledError")}constructor(e,o,i){super(e??"canceled",R.ERR_CANCELED,o,i),this.name="CanceledError",this.__CANCEL__=!0}},Zo=HI;function yn(t,e,o){let i=o.config.validateStatus;!o.status||!i||i(o.status)?t(o):e(new R("Request failed with status code "+o.status,o.status>=400&&o.status<500?R.ERR_BAD_REQUEST:R.ERR_BAD_RESPONSE,o.config,o.request,o))}a(yn,"settle");function zf(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}a(zf,"isAbsoluteURL");function Tf(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(/^\/+/,"")}a(Tf,"combineURLs");var GI=/^https?:(?!\/\/)/i,QI=/[\t\n\r]/g;function ZI(t){let e=0;for(;e<t.length&&t.charCodeAt(e)<=32;)e++;return t.slice(e)}a(ZI,"stripLeadingC0ControlOrSpace");function YI(t){return ZI(t).replace(QI,"")}a(YI,"normalizeURLForProtocolCheck");function XI(t){return t&&t.replace(/(^|&)([^=&]*=)?[^&]+/g,(e,o,i="")=>`${o}${i}${Rp}`)}a(XI,"redactFragment");function JI(t){let e=t.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${Rp}@`),o=e.indexOf("#"),r=(o===-1?e:e.slice(0,o)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${Rp}`);return o===-1?r:`${r}#${XI(e.slice(o+1))}`}a(JI,"redactSensitiveURLParts");function hx(t,e){if(typeof t=="string"){let o=YI(t);if(GI.test(o))throw new R(`Invalid URL ${JSON.stringify(JI(o))}: missing "//" after protocol`,R.ERR_INVALID_URL,e)}}a(hx,"assertValidHttpProtocolURL");function La(t,e,o,i){hx(e,i);let r=!zf(e);return t&&(r||o===!1)?(hx(t,i),Tf(t,e)):e}a(La,"buildFullPath");var WI={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};function KI(t){try{return new URL(t)}catch{return null}}a(KI,"parseUrl");function vx(t){var e=(typeof t=="string"?KI(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)||WI[o]||0,!$I(i,r)))return"";var n=Bf(o+"_proxy")||Bf("all_proxy");return n&&n.indexOf("://")===-1&&(n=o+"://"+n),n}a(vx,"getProxyForUrl");function $I(t,e){var o=Bf("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,s=r?parseInt(r[2]):0;return s&&s!==e?!0:/^[.*]/.test(n)?(n.charAt(0)==="*"&&(n=n.slice(1)),!t.endsWith(n)):t!==n}):!0}a($I,"shouldProxy");function Bf(t){return process.env[t.toLowerCase()]||process.env[t.toUpperCase()]||""}a(Bf,"getEnv");var fm=dt(Mx(),1),mm=dt(require("http"),1),hm=dt(require("https"),1),Cb=dt(require("http2"),1),Nb=dt(require("util"),1),dm=require("path"),Rb=dt(Hx(),1),Yo=dt(require("zlib"),1);var Jn="1.19.0";function Lp(t){let e=/^([-+\w]{1,25}):(?:\/\/)?/.exec(t);return e&&e[1]||""}a(Lp,"parseProtocol");var oF=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;function rm(t,e,o){let i=o&&o.Blob||ie.classes.Blob,r=Lp(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 R("Invalid URL",R.ERR_INVALID_URL);let s=n[1],c=n[2],p=n[3]?"base64":"utf8",u=n[4],l="";s?l=c?s+c:s:c&&(l="text/plain"+c);let d=p==="base64"?Buffer.from(u,"base64"):Buffer.from(decodeURIComponent(u),p);if(e){if(!i)throw new R("Blob is not supported",R.ERR_NOT_SUPPORT);return new i([d],{type:l})}return d}throw new R("Unsupported protocol "+r,R.ERR_NOT_SUPPORT)}a(rm,"fromDataURI");var li=dt(require("stream"),1);var iF=["content-type","content-length"];function _p(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)})}a(_p,"setFormDataHeaders");var Gx=dt(require("stream"),1);var am=Symbol("internals"),nF=class extends Gx.default.Transform{static{a(this,"AxiosTransformStream")}constructor(e){e=m.toFlatObject(e,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(i,r)=>!m.isUndefined(r[i])),super({readableHighWaterMark:e.chunkSize});let o=this[am]={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[am];return o.onReadCallback&&o.onReadCallback(),super._read(e)}_transform(e,o,i){let r=this[am],n=r.maxRate,s=this.readableHighWaterMark,c=r.timeWindow,p=1e3/c,u=n/p,l=r.minChunkSize!==!1?Math.max(r.minChunkSize,u*.01):0,d=a((y,C)=>{let w=Buffer.byteLength(y);r.bytesSeen+=w,r.bytes+=w,r.isCaptured&&this.emit("progress",r.bytesSeen),this.push(y)?process.nextTick(C):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(C)}},"pushChunk"),g=a((y,C)=>{let w=Buffer.byteLength(y),S=null,x=s,F,D=0;if(n){let j=Date.now();(!r.ts||(D=j-r.ts)>=c)&&(r.ts=j,F=u-r.bytes,r.bytes=F<0?-F:0,D=0),F=u-r.bytes}if(n){if(F<=0)return setTimeout(()=>{C(null,y)},c-D);F<x&&(x=F)}x&&w>x&&w-x>l&&(S=y.subarray(x),y=y.subarray(0,x)),d(y,S?()=>{process.nextTick(C,null,S)}:C)},"transformChunk");g(e,a(function y(C,w){if(C)return i(C);w?g(w,y):i(null)},"transformNextChunk"))}},sm=nF;var wb=require("events");var Zx=dt(require("util"),1),Yx=require("stream");var{asyncIterator:Qx}=Symbol,rF=a(async function*(t){t.stream?yield*t.stream():t.arrayBuffer?yield await t.arrayBuffer():t[Qx]?yield*t[Qx]():yield t},"readBlob"),Su=rF;var aF=ie.ALPHABET.ALPHA_DIGIT+"-_",qp=typeof TextEncoder=="function"?new TextEncoder:new Zx.default.TextEncoder,Ha=`\r
|
|
29
|
-
`,sF=qp.encode(Ha),cF=2,pF=class{static{a(this,"FormDataPart")}constructor(e,o){let{escapeName:i}=this.constructor,r=m.isString(o),n=`Content-Disposition: form-data; name="${i(e)}"${!r&&o.name?`; filename="${i(o.name)}"`:""}${Ha}`;if(r)o=qp.encode(String(o).replace(/\r?\n|\r\n?/g,Ha));else{let s=String(o.type||"application/octet-stream").replace(/[\r\n]/g,"");n+=`Content-Type: ${s}${Ha}`}this.headers=qp.encode(n+Ha),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;m.isTypedArray(e)?yield e:yield*Su(e),yield sF}static escapeName(e){return String(e).replace(/[\r\n"]/g,o=>({"\r":"%0D","\n":"%0A",'"':"%22"})[o])}},lF=a((t,e,o)=>{let{tag:i="form-data-boundary",size:r=25,boundary:n=i+"-"+ie.generateString(r,aF)}=o||{};if(!m.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 s=qp.encode("--"+n+Ha),c=qp.encode("--"+n+"--"+Ha),p=c.byteLength,u=Array.from(t.entries()).map(([d,g])=>{let y=new pF(d,g);return p+=y.size,y});p+=s.byteLength*u.length,p=m.toFiniteNumber(p);let l={"Content-Type":`multipart/form-data; boundary=${n}`};return Number.isFinite(p)&&(l["Content-Length"]=p),e&&e(l),Yx.Readable.from((async function*(){for(let d of u)yield s,yield*d.encode();yield c})())},"formDataToStream"),Xx=lF;var Jx=dt(require("stream"),1);var uF=class extends Jx.default.Transform{static{a(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)}},Wx=uF;var Kx=dt(require("http2"),1),$x=dt(require("util"),1);var dF=class{static{a(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 g=0;g<d;g++){let[y,C]=i[g];if(!y.destroyed&&!y.closed&&$x.default.isDeepStrictEqual(C,o))return y}}let r=Kx.default.connect(e,o),n,s,c=a(()=>{if(n)return;n=!0,s&&(clearTimeout(s),s=null);let d=i,g=d.length,y=g;for(;y--;)if(d[y][0]===r){g===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 g=p.apply(this,arguments);return d++,s&&(clearTimeout(s),s=null),g.once("close",()=>{--d||(s=setTimeout(()=>{s=null,c()},u))}),g}}r.once("close",c);let l=[r,o];return i?i.push(l):i=this.sessions[e]=[l],r}},eb=dF;var fF=a((t,e)=>m.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"),tb=fF;var mF=new Set(["localhost","0.0.0.0"]),nb=a(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"),cm=a(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=a(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(cm);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,s=cm(r);if(s===null)return t;let c=(1<<8*n)-1;if(s<0||s>c)return t;let p=new Array(n).fill(0);for(let l=n-1,d=s;l>=0;l--,d>>=8)p[l]=d&255;let u=i.map(cm);return u.some(l=>l===null||l<0||l>255)?t:[...u,...p].join(".")},"normalizeIPAddress"),pm=a(t=>/^0{1,4}$/.test(t),"isIPv6ZeroGroup"),vF=a(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(":"):[],s=r?r.split(":"):[];return n.length+s.length<8&&n.every(pm)&&s.every(pm)}let o=t.split(":");return o.length===8&&o.every(pm)},"isIPv6Unspecified"),gF=a(t=>{if(t==="::1")return!0;let e=t.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(e)return nb(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"),ob=a(t=>t?mF.has(t)||nb(t)||vF(t)?!0:gF(t):!1,"isLoopback"),yF={http:80,https:443,ws:80,wss:443,ftp:21},xF=a(t=>{let e=t,o=0;if(e.charAt(0)==="["){let n=e.indexOf("]");if(n!==-1){let s=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)),[s,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"),bF=/^(?:::|(?: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=a(t=>{if(typeof t!="string"||t.indexOf(":")===-1)return t;let e=t.match(bF);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"),ib=a(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 lm(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=ib(e.hostname.toLowerCase());return o.split(/[\s,]+/).some(n=>{if(!n)return!1;if(n==="*")return!0;let[s,c]=xF(n);return s=ib(s),!s||c&&c!==i?!1:(s.charAt(0)==="*"&&(s=s.slice(1)),s.charAt(0)==="."?r.endsWith(s):r===s||ob(r)&&ob(s))})}a(lm,"shouldBypassProxy");function NF(t,e){t=t||10;let o=new Array(t),i=new Array(t),r=0,n=0,s;return e=e!==void 0?e:1e3,a(function(p){let u=Date.now(),l=i[n];s||(s=u),o[r]=p,i[r]=u;let d=n,g=0;for(;d!==r;)g+=o[d++],d=d%t;if(r=(r+1)%t,r===n&&(n=(n+1)%t),u-s<e)return;let y=l&&u-l;return y?Math.round(g*1e3/y):void 0},"push")}a(NF,"speedometer");var rb=NF;function RF(t,e){let o=0,i=1e3/e,r,n,s=a((u,l=Date.now())=>{o=l,r=null,n&&(clearTimeout(n),n=null),t(...u)},"invoke");return[a((...u)=>{let l=Date.now(),d=l-o;d>=i?s(u,l):(r=u,n||(n=setTimeout(()=>{n=null,s(r)},i-d)))},"throttled"),a(()=>r&&s(r),"flush")]}a(RF,"throttle");var ab=RF;var Wn=a((t,e,o=3)=>{let i=0,r=rb(50,250);return ab(n=>{if(!n||typeof n.loaded!="number")return;let s=n.loaded,c=n.lengthComputable?n.total:void 0,p=Math.max(0,c!=null?Math.min(s,c):s),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"),Qs=a((t,e)=>{let o=t!=null;return[i=>e[0]({lengthComputable:o,total:t,loaded:i}),e[1]]},"progressEventDecorator"),Zs=a((t,e=m.asap)=>(...o)=>e(()=>t(...o)),"asyncDecorator");var sb=a(t=>t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102,"isHexDigit"),pb=a((t,e,o)=>e+2<o&&sb(t.charCodeAt(e+1))&&sb(t.charCodeAt(e+2)),"isPercentEncodedByte"),cb=a(t=>t<=57?t-48:(t&223)-55,"hexValue"),wF=a(t=>t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||t===43||t===47||t===45||t===95,"isBase64Char"),IF=a(t=>t===9||t===10||t===12||t===13||t===32,"isBase64Whitespace"),OF=a(t=>{let e=Math.floor(t/4),o=t%4;return e*3+(o===2?1:o===3?2:0)},"base64Bytes"),lb=a(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"),FF=a(t=>{let e=t.length,o=0,i=0,r=!1;for(let n=0;n<e;n++){let s=t.charCodeAt(n);if(s===37&&pb(t,n,e)&&(s=cb(t.charCodeAt(n+1))*16+cb(t.charCodeAt(n+2)),n+=2),!IF(s)){if(s===61){i++;continue}if(!wF(s)||i>0){r=!0;continue}o++}}return r||i>2||i>0&&(o+i)%4!==0||o%4===1?lb(t):OF(o)},"estimatePercentDecodedBase64Bytes"),ub=a((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 s=0;for(let c=0,p=r.length;c<p;c++){let u=r.charCodeAt(c);if(u===37&&pb(r,c,p))s+=1,c+=2;else if(u<128)s+=1;else if(u<2048)s+=2;else if(u>=55296&&u<=56319&&c+1<p){let l=r.charCodeAt(c+1);l>=56320&&l<=57343?(s+=4,c++):s+=3}else s+=3}return s},"estimateDataURLBytes");function um(t){let e=typeof t=="string"?t.indexOf("#"):-1;return ub(e===-1?t:t.slice(0,e),FF)}a(um,"estimateDataURLDecodedBytes");function db(t){return ub(t,lb)}a(db,"estimateDataURLBufferAllocation");var fb={flush:Yo.default.constants.Z_SYNC_FLUSH,finishFlush:Yo.default.constants.Z_SYNC_FLUSH},AF={flush:Yo.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:Yo.default.constants.BROTLI_OPERATION_FLUSH},DF={flush:Yo.default.constants.ZSTD_e_flush,finishFlush:Yo.default.constants.ZSTD_e_flush},Ib=m.isFunction(Yo.default.createBrotliDecompress),Ob=m.isFunction(Yo.default.createZstdDecompress),Fb="gzip, compress, deflate"+(Ib?", br":""),PF=Fb+(Ob?", zstd":""),mb=typeof process<"u"&&process.nextTick?process.nextTick.bind(process):m.asap,{http:EF,https:jF}=Rb.default,vm=/https:?/,hb=Symbol("axios.http.socketListener"),Cu=Symbol("axios.http.currentReq"),Ab=Symbol("axios.http.installedTunnel"),zF=new Map,vb=new WeakMap,gb={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:gb[e]!=null&&o>=gb[e]}a(TF,"isNodeNativeEnvProxySupported");function BF(t,e=process.versions&&process.versions.node){if(!TF(e))return!1;let o=t&&t.options;return!!(o&&m.hasOwnProp(o,"proxyEnv")&&o.proxyEnv!=null)}a(BF,"isNodeEnvProxyEnabled");function MF(t,e,o){return vm.test(t.protocol)?o||hm.default.globalAgent:e||mm.default.globalAgent}a(MF,"getProxyEnvAgent");function VF(t,e){let o=t.protocol+"//"+t.hostname+":"+(t.port||"")+"#"+(t.auth||""),i=e?vb.get(e)||vb.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 fm.default(n),e&&e.options){let s={...e.options},c=r.callback;r.callback=a(function(u,l){return c.call(this,u,{...s,...l})},"axiosTunnelingAgentCallback")}return r[Ab]=!0,i.set(o,r),r}a(VF,"getTunnelingAgent");var yb=ie.protocols.map(t=>t+":"),xb=a(t=>{if(!m.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},"decodeURIComponentSafe"),bb=a((t,[e,o])=>(t.on("end",o).on("error",o),e),"flushOnFinish"),LF=new eb;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)}a(_F,"dispatchBeforeRedirect");function qF(t,e){t&&Object.keys(t).forEach(o=>{e.has(o.toLowerCase())&&delete t[o]})}a(qF,"stripMatchingHeaders");function UF(t,e){if(!e)return!1;try{return new URL(e.url).origin===new URL(t.href).origin}catch{return!1}}a(UF,"isSameOriginRedirect");function Db(t,e,o,i,r,n){let s=e,c=MF(t,n,r);if(!s&&s!==!1&&!BF(c)){let p=vx(o);p&&(lm(o)||(s=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[Ab]&&(t.agent=void 0),s){let p=s instanceof URL,u=a(C=>p||m.hasOwnProp(s,C)?s[C]:void 0,"readProxyField"),l=u("username"),d=u("password"),g=m.hasOwnProp(s,"auth")?s.auth:void 0;if(l&&(g=(l||"")+":"+(d||"")),g){let C=typeof g=="object",w=C&&m.hasOwnProp(g,"username")?g.username:void 0,S=C&&m.hasOwnProp(g,"password")?g.password:void 0;if(!!(w||S))g=(w||"")+":"+(S||"");else if(C)throw new R("Invalid proxy authorization",R.ERR_BAD_OPTION,{proxy:s})}if(vm.test(t.protocol)){if(!(r instanceof fm.default)){let C=u("hostname")||u("host"),w=u("port"),S=u("protocol"),x=S?S.includes(":")?S:`${S}:`:"http:",F=C&&C.includes(":")&&!C.startsWith("[")?`[${C}]`:C,D=new URL(`${x}//${F}${w?":"+w:""}`),j={protocol:D.protocol,hostname:D.hostname.replace(/^\[|\]$/g,""),port:D.port,auth:g&&typeof g=="string"?g:void 0};D.protocol==="https:"&&(j.ALPNProtocols=["http/1.1"]);let X=VF(j,r);t.agent=X,t.agents&&(t.agents.https=X)}}else{if(g){let x=Buffer.from(g,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+x}let C=!1;for(let x of Object.keys(t.headers))if(x.toLowerCase()==="host"){C=!0;break}C||(t.headers.host=t.hostname+(t.port?":"+t.port:""));let w=u("hostname")||u("host");t.hostname=w,t.host=w,t.port=u("port"),t.path=o;let S=u("protocol");S&&(t.protocol=S.includes(":")?S:`${S}:`)}}t.beforeRedirects.proxy=a(function(u){Db(u,e,u.href,!0,r,n)},"beforeRedirect")}a(Db,"setProxy");var kF=typeof process<"u"&&m.kindOf(process)==="process",HF=a(t=>new Promise((e,o)=>{let i,r,n=a((p,u)=>{r||(r=!0,i&&i(p,u))},"done"),s=a(p=>{n(p),e(p)},"_resolve"),c=a(p=>{n(p,!0),o(p)},"_reject");t(s,c,p=>i=p).catch(c)}),"wrapAsync"),GF=a(({address:t,family:e})=>{if(!m.isString(t))throw TypeError("address must be a string");return{address:t,family:e||(t.indexOf(".")<0?6:4)}},"resolveFamily"),Sb=a((t,e)=>GF(m.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=LF.getSession(o,i),{HTTP2_HEADER_SCHEME:s,HTTP2_HEADER_METHOD:c,HTTP2_HEADER_PATH:p,HTTP2_HEADER_STATUS:u}=Cb.default.constants,l={[s]:t.protocol.replace(":",""),[c]:t.method,[p]:t.path};m.forEach(r,(g,y)=>{y.charAt(0)!==":"&&(l[y]=g)});let d=n.request(l);return d.once("response",g=>{let y=d;g=Object.assign({},g);let C=g[u];delete g[u],y.headers=g,y.statusCode=+C,e(y)}),d}},Pb=kF&&a(function(e){return HF(a(async function(i,r,n){let s=a(E=>m.getSafeProp(e,E),"own"),c=s("transitional")||qr,p=s("data"),u=s("lookup"),l=s("family"),d=s("httpVersion");d===void 0&&(d=1);let g=s("http2Options"),y=s("httpAgent"),C=s("httpsAgent"),w=s("proxy"),S=s("responseType"),x=s("responseEncoding"),F=s("socketPath"),D=s("method").toUpperCase(),j=s("maxRedirects"),X=s("maxBodyLength"),H=s("maxContentLength"),yt=s("decompress"),Go,hn=!1,ee,Qo;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 Is=d===2;if(u){let E=tb(u,P=>m.isArray(P)?P:[P]);u=a((P,$,Xe)=>{E(P,$,(J,wt,$t)=>{if(J)return Xe(J);let rt=m.isArray(wt)?wt.map(As=>Sb(As)):[Sb(wt,$t)];$.all?Xe(J,rt):Xe(J,rt[0].address,rt[0].family)})},"lookup")}let Mr=new wb.EventEmitter;function ut(E){try{Mr.emit("abort",!E||E.type?new Zo(null,e,ee):E)}catch{}}a(ut,"abort");function Yn(){Qo&&(clearTimeout(Qo),Qo=null)}a(Yn,"clearConnectPhaseTimer");function Pa(){let E=s("timeout"),P=E?"timeout of "+E+"ms exceeded":"timeout exceeded",$=s("timeoutErrorMessage");return $&&(P=$),new R(P,c.clarifyTimeoutError?R.ETIMEDOUT:R.ECONNABORTED,e,ee)}a(Pa,"createTimeoutError"),Mr.once("abort",r);let Ea=a(()=>{Yn(),e.cancelToken&&e.cancelToken.unsubscribe(ut),e.signal&&e.signal.removeEventListener("abort",ut),Mr.removeAllListeners()},"onFinished");(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(ut),e.signal&&(e.signal.aborted?ut():e.signal.addEventListener("abort",ut))),n((E,P)=>{if(Go=!0,Yn(),P){hn=!0,Ea();return}let{data:$}=E;if($ instanceof li.default.Readable||$ instanceof li.default.Duplex){let Xe=li.default.finished($,()=>{Xe(),Ea()})}else Ea()});let Xl=La(s("baseURL"),s("url"),s("allowAbsoluteUrls"),e),Jl=F?"http://localhost":ie.hasBrowserEnv?ie.origin:void 0,Ee=new URL(Xl,Jl),Ye=Ee.protocol||yb[0];if(Ye==="data:"){if(H>-1){let P=String(s("url")||Xl||"");if(db(P)>H)return r(new R("maxContentLength size of "+H+" exceeded",R.ERR_BAD_RESPONSE,e))}let E;if(D!=="GET")return yn(i,r,{status:405,statusText:"method not allowed",headers:{},config:e});try{E=rm(s("url"),S==="blob",{Blob:e.env&&e.env.Blob})}catch(P){throw R.from(P,R.ERR_BAD_REQUEST,e)}return S==="text"?(E=E.toString(x),(!x||x==="utf8")&&(E=m.stripBOM(E))):S==="stream"&&(E=li.default.Readable.from(E)),yn(i,r,{data:E,status:200,statusText:"OK",headers:new Re,config:e})}if(yb.indexOf(Ye)===-1)return r(new R("Unsupported protocol "+Ye,R.ERR_BAD_REQUEST,e));let nt=Re.from(e.headers).normalize();nt.set("User-Agent","axios/"+Jn,!1);let{onUploadProgress:vn,onDownloadProgress:Xn}=e,ja=e.maxRate,oe,qt;if(m.isSpecCompliantForm(p)){let E=nt.getContentType(/boundary=([-_\w\d]{10,70})/i);p=Xx(p,P=>{nt.set(P)},{tag:`axios-${Jn}-boundary`,boundary:E&&E[1]||void 0})}else if(m.isFormData(p)&&m.isFunction(p.getHeaders)&&p.getHeaders!==Object.prototype.getHeaders){if(_p(nt,p.getHeaders(),s("formDataHeaderPolicy")),!nt.hasContentLength())try{let E=await Nb.default.promisify(p.getLength).call(p);Number.isFinite(E)&&E>=0&&nt.setContentLength(E)}catch{}}else if(m.isBlob(p)||m.isFile(p))p.size&&nt.setContentType(p.type||"application/octet-stream"),nt.setContentLength(p.size||0),p=li.default.Readable.from(Su(p));else if(p&&!m.isStream(p)){if(!Buffer.isBuffer(p))if(m.isArrayBuffer(p))p=Buffer.from(new Uint8Array(p));else if(m.isString(p))p=Buffer.from(p,"utf-8");else return r(new R("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",R.ERR_BAD_REQUEST,e));if(nt.setContentLength(p.length,!1),X>-1&&p.length>X)return r(new R("Request body larger than maxBodyLength limit",R.ERR_BAD_REQUEST,e))}let Os=m.toFiniteNumber(nt.getContentLength());m.isArray(ja)?(oe=ja[0],qt=ja[1]):oe=qt=ja,p&&(vn||oe)&&(m.isStream(p)||(p=li.default.Readable.from(p,{objectMode:!1})),p=li.default.pipeline([p,new sm({maxRate:m.toFiniteNumber(oe)})],m.noop),vn&&p.on("progress",bb(p,Qs(Os,Wn(Zs(vn,mb),!1,3)))));let gn,lp=s("auth");if(lp){let E=m.getSafeProp(lp,"username")||"",P=m.getSafeProp(lp,"password")||"";gn=E+":"+P}if(!gn&&(Ee.username||Ee.password)){let E=xb(Ee.username),P=xb(Ee.password);gn=E+":"+P}gn&&nt.delete("authorization");let up;try{up=Va(Ee.pathname+Ee.search,s("params"),s("paramsSerializer")).replace(/^\?/,"")}catch(E){return r(R.from(E,R.ERR_BAD_REQUEST,e,null,null,{url:s("url"),exists:!0}))}nt.set("Accept-Encoding",m.hasOwnProp(c,"advertiseZstdAcceptEncoding")&&c.advertiseZstdAcceptEncoding===!0?PF:Fb,!1);let ue=Object.assign(Object.create(null),{path:up,method:D,headers:zs(nt),agents:{http:y,https:C},auth:gn,protocol:Ye,family:l,beforeRedirect:_F,beforeRedirects:Object.create(null),http2Options:g});if(!m.isUndefined(u)&&(ue.lookup=u),F){if(typeof F!="string")return r(new R("socketPath must be a string",R.ERR_BAD_OPTION_VALUE,e));let E=s("allowedSocketPaths");if(E!=null){let P=Array.isArray(E)?E:[E],$=(0,dm.resolve)(F);if(!P.some(J=>typeof J=="string"&&(0,dm.resolve)(J)===$))return r(new R(`socketPath "${F}" is not permitted by allowedSocketPaths`,R.ERR_BAD_OPTION_VALUE,e))}ue.socketPath=F}else ue.hostname=Ee.hostname.startsWith("[")?Ee.hostname.slice(1,-1):Ee.hostname,ue.port=Ee.port,Db(ue,w,Ye+"//"+Ee.hostname+(Ee.port?":"+Ee.port:"")+ue.path,!1,C,y);let Vr,Fs=!1,si=!1,G=vm.test(ue.protocol);if(ue.agent==null&&(ue.agent=G?C:y),Is)Vr=QF;else{let E=s("transport");if(E)Vr=E;else if(j===0)Vr=G?hm.default:mm.default,Fs=!0;else{si=!0,ue.sensitiveHeaders=[],j&&(ue.maxRedirects=j);let P=s("beforeRedirect");if(P&&(ue.beforeRedirects.config=P),gn){let Xe=Ee.origin,J=gn;ue.beforeRedirects.auth=a(function($t){try{new URL($t.href).origin===Xe&&($t.auth=J)}catch{}},"beforeRedirectAuth")}let $=s("sensitiveHeaders");if($!=null){if(!m.isArray($))return r(new R("sensitiveHeaders must be an array of strings",R.ERR_BAD_OPTION_VALUE,e));let Xe=new Set;for(let J of $){if(!m.isString(J))return r(new R("sensitiveHeaders must be an array of strings",R.ERR_BAD_OPTION_VALUE,e));Xe.add(J.toLowerCase())}Xe.size&&(ue.sensitiveHeaders=Array.from(Xe),ue.beforeRedirects.sensitiveHeaders=a(function(wt,$t){UF(wt,$t)||qF(wt.headers,Xe)},"beforeRedirectSensitiveHeaders"))}Vr=G?jF:EF}}X>-1?ue.maxBodyLength=X:ue.maxBodyLength=1/0,ue.insecureHTTPParser=!!s("insecureHTTPParser"),ee=Vr.request(ue,a(function(P){if(Yn(),ee.destroyed)return;let $=[P],Xe=m.toFiniteNumber(P.headers["content-length"]);if(Xn||qt){let rt=new sm({maxRate:m.toFiniteNumber(qt)});Xn&&rt.on("progress",bb(rt,Qs(Xe,Wn(Zs(Xn,mb),!0,3)))),$.push(rt)}let J=P,wt=P.req||ee;if(yt!==!1&&P.headers["content-encoding"])switch((D==="HEAD"||P.statusCode===204)&&delete P.headers["content-encoding"],(P.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":$.push(Yo.default.createUnzip(fb)),delete P.headers["content-encoding"];break;case"deflate":$.push(new Wx),$.push(Yo.default.createUnzip(fb)),delete P.headers["content-encoding"];break;case"br":Ib&&($.push(Yo.default.createBrotliDecompress(AF)),delete P.headers["content-encoding"]);break;case"zstd":Ob&&($.push(Yo.default.createZstdDecompress(DF)),delete P.headers["content-encoding"]);break}J=$.length>1?li.default.pipeline($,m.noop):$[0];let $t={status:P.statusCode,statusText:P.statusMessage,headers:new Re(P.headers),config:e,request:wt};if(S==="stream"){if(H>-1){let rt=H,As=J;async function*dp(){let It=0;for await(let Fv of As){if(It+=Fv.length,It>rt)throw new R("maxContentLength size of "+rt+" exceeded",R.ERR_BAD_RESPONSE,e,wt);yield Fv}}a(dp,"enforceMaxContentLength"),J=li.default.Readable.from(dp(),{objectMode:!1})}$t.data=J,yn(i,r,$t)}else{let rt=[],As=0;J.on("data",a(function(It){rt.push(It),As+=It.length,H>-1&&As>H&&(hn=!0,J.destroy(),ut(new R("maxContentLength size of "+H+" exceeded",R.ERR_BAD_RESPONSE,e,wt)))},"handleStreamData")),J.on("aborted",a(function(){if(hn)return;let It=new R("stream has been aborted",R.ERR_BAD_RESPONSE,e,wt,$t);J.destroy(It),r(It)},"handlerStreamAborted")),J.on("error",a(function(It){hn||r(R.from(It,null,e,wt,$t))},"handleStreamError")),J.on("end",a(function(){try{let It=rt.length===1?rt[0]:Buffer.concat(rt);S!=="arraybuffer"&&(It=It.toString(x),(!x||x==="utf8")&&(It=m.stripBOM(It))),$t.data=It}catch(It){return r(R.from(It,null,e,$t.request,$t))}yn(i,r,$t)},"handleStreamEnd"))}Mr.once("abort",rt=>{J.destroyed||(J.emit("error",rt),J.destroy())})},"handleResponse")),Mr.once("abort",E=>{ee.close?ee.close():ee.destroy(E)}),ee.on("error",a(function(P){r(R.from(P,null,e,ee))},"handleRequestError"));let Ut=new Set;if(ee.on("socket",a(function(P){typeof P.setKeepAlive=="function"&&P.setKeepAlive(!0,1e3*60),P[hb]||(P.on("error",a(function(Xe){let J=P[Cu];J&&!J.destroyed&&J.destroy(Xe)},"handleSocketError")),P[hb]=!0),P[Cu]=ee,Ut.add(P)},"handleRequestSocket")),ee.once("close",a(function(){Yn();for(let P of Ut)P[Cu]===ee&&(P[Cu]=null);Ut.clear()},"clearCurrentReq")),s("timeout")){let E=parseInt(s("timeout"),10);if(Number.isNaN(E)){ut(new R("error trying to parse `config.timeout` to int",R.ERR_BAD_OPTION_VALUE,e,ee));return}let P=a(function(){Go||ut(Pa())},"handleTimeout");Fs&&E>0&&(Qo=setTimeout(P,E)),ee.setTimeout(E,P)}else ee.setTimeout(0);if(m.isStream(p)){let E=!1,P=!1;p.on("end",()=>{E=!0}),p.once("error",Xe=>{P=!0,ee.destroy(Xe)}),p.on("close",()=>{!E&&!P&&ut(new Zo("Request stream has been aborted",e,ee))});let $=p;if(X>-1&&!si){let Xe=X,J=0;$=li.default.pipeline([p,new li.default.Transform({transform(wt,$t,rt){if(J+=wt.length,J>Xe)return rt(new R("Request body larger than maxBodyLength limit",R.ERR_BAD_REQUEST,e,ee));rt(null,wt)}})],m.noop),$.on("error",wt=>{ee.destroyed||ee.destroy(wt)})}$.pipe(ee)}else p&&ee.write(p),ee.end()},"dispatchHttpRequest"))},"httpAdapter");var Eb=ie.hasStandardBrowserEnv?((t,e)=>o=>(o=new URL(o,ie.origin),t.protocol===o.protocol&&t.host===o.host&&(e||t.port===o.port)))(new URL(ie.origin),ie.navigator&&/(msie|trident)/i.test(ie.navigator.userAgent)):()=>!0;var jb=ie.hasStandardBrowserEnv?{write(t,e,o,i,r,n,s){if(typeof document>"u")return;let c=[`${t}=${encodeURIComponent(e)}`];m.isNumber(o)&&c.push(`expires=${new Date(o).toUTCString()}`),m.isString(i)&&c.push(`path=${i}`),m.isString(r)&&c.push(`domain=${r}`),n===!0&&c.push("secure"),m.isString(s)&&c.push(`SameSite=${s}`),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 zb=a(t=>t instanceof Re?{...t}:t,"headersToObject"),ZF=a(t=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(t).concat(Object.getOwnPropertySymbols(t).filter(e=>Object.getOwnPropertyDescriptor(t,e).enumerable)):Object.keys(t),"ownEnumerableKeys");function zi(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,g,y){return m.isPlainObject(l)&&m.isPlainObject(d)?m.merge.call({caseless:y},l,d):m.isPlainObject(d)?m.merge({},d):m.isArray(d)?d.slice():d}a(i,"getMergedValue");function r(l,d,g,y){if(m.isUndefined(d)){if(!m.isUndefined(l))return i(void 0,l,g,y)}else return i(l,d,g,y)}a(r,"mergeDeepProperties");function n(l,d){if(!m.isUndefined(d))return i(void 0,d)}a(n,"valueFromConfig2");function s(l,d){if(m.isUndefined(d)){if(!m.isUndefined(l))return i(void 0,l)}else return i(void 0,d)}a(s,"defaultToConfig2");function c(l){let d=m.hasOwnProp(e,"transitional")?e.transitional:void 0;if(!m.isUndefined(d))if(m.isPlainObject(d)){if(m.hasOwnProp(d,l))return d[l]}else return;let g=m.hasOwnProp(t,"transitional")?t.transitional:void 0;if(m.isPlainObject(g)&&m.hasOwnProp(g,l))return g[l]}a(c,"getMergedTransitionalOption");function p(l,d,g){if(m.hasOwnProp(e,g))return i(l,d);if(m.hasOwnProp(t,g))return i(void 0,l)}a(p,"mergeDirectKeys");let u={url:n,method:n,data:n,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,allowedSocketPaths:s,responseEncoding:s,validateStatus:p,headers:a((l,d,g)=>r(zb(l),zb(d),g,!0),"headers")};return m.forEach(ZF({...t,...e}),a(function(d){if(d==="__proto__"||d==="constructor"||d==="prototype")return;let g=m.hasOwnProp(u,d)?u[d]:r,y=m.hasOwnProp(t,d)?t[d]:void 0,C=m.hasOwnProp(e,d)?e[d]:void 0,w=g(y,C,d);m.isUndefined(w)&&g!==p||(o[d]=w)},"computeConfigValue")),m.hasOwnProp(e,"validateStatus")&&m.isUndefined(e.validateStatus)&&c("validateStatusUndefinedResolves")===!1&&(m.hasOwnProp(t,"validateStatus")?o.validateStatus=i(void 0,t.validateStatus):delete o.validateStatus),o}a(zi,"mergeConfig");var YF=a(t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,o)=>String.fromCharCode(parseInt(o,16))),"encodeUTF8");function XF(t){let e=zi({},t),o=a(g=>m.hasOwnProp(e,g)?e[g]:void 0,"own"),i=o("data"),r=o("withXSRFToken"),n=o("xsrfHeaderName"),s=o("xsrfCookieName"),c=o("headers"),p=o("auth"),u=o("baseURL"),l=o("allowAbsoluteUrls"),d=o("url");if(e.headers=c=Re.from(c),e.url=Va(La(u,d,l,e),o("params"),o("paramsSerializer")),p){let g=m.getSafeProp(p,"username")||"",y=m.getSafeProp(p,"password")||"";try{c.set("Authorization","Basic "+btoa(g+":"+(y?YF(y):"")))}catch(C){throw R.from(C,R.ERR_BAD_OPTION_VALUE,t)}}if(m.isFormData(i)&&(ie.hasStandardBrowserEnv||ie.hasStandardBrowserWebWorkerEnv||m.isReactNative(i)?c.setContentType(void 0):m.isFunction(i.getHeaders)&&_p(c,i.getHeaders(),o("formDataHeaderPolicy"))),ie.hasStandardBrowserEnv&&(m.isFunction(r)&&(r=r(e)),r===!0||r==null&&Eb(e.url))){let y=n&&s&&jb.read(s);y&&c.set(n,y)}return e}a(XF,"resolveConfig");var Nu=XF;var JF=typeof XMLHttpRequest<"u",Tb=JF&&function(t){return new Promise(a(function(o,i){let r=Nu(t),n=r.data,s=Re.from(r.headers).normalize(),{responseType:c,onUploadProgress:p,onDownloadProgress:u}=r,l,d,g,y,C;function w(){y&&y(),C&&C(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener("abort",l)}a(w,"done");let S=new XMLHttpRequest;S.open(r.method.toUpperCase(),r.url,!0),S.timeout=r.timeout;function x(){if(!S)return;let D=Re.from("getAllResponseHeaders"in S&&S.getAllResponseHeaders()),X={data:!c||c==="text"||c==="json"?S.responseText:S.response,status:S.status,statusText:S.statusText,headers:D,config:t,request:S};yn(a(function(yt){o(yt),w()},"_resolve"),a(function(yt){i(yt),w()},"_reject"),X),S=null}a(x,"onloadend"),"onloadend"in S?S.onloadend=x:S.onreadystatechange=a(function(){!S||S.readyState!==4||S.status===0&&!(S.responseURL&&S.responseURL.startsWith("file:"))||setTimeout(x)},"handleLoad"),S.onabort=a(function(){S&&(i(new R("Request aborted",R.ECONNABORTED,t,S)),w(),S=null)},"handleAbort"),S.onerror=a(function(j){let X=j&&j.message?j.message:"Network Error",H=new R(X,R.ERR_NETWORK,t,S);H.event=j||null,i(H),w(),S=null},"handleError"),S.ontimeout=a(function(){let j=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded",X=r.transitional||qr;r.timeoutErrorMessage&&(j=r.timeoutErrorMessage),i(new R(j,X.clarifyTimeoutError?R.ETIMEDOUT:R.ECONNABORTED,t,S)),w(),S=null},"handleTimeout"),n===void 0&&s.setContentType(null),"setRequestHeader"in S&&m.forEach(zs(s),a(function(j,X){S.setRequestHeader(X,j)},"setRequestHeader")),m.isUndefined(r.withCredentials)||(S.withCredentials=!!r.withCredentials),c&&c!=="json"&&(S.responseType=r.responseType),u&&([g,C]=Wn(u,!0),S.addEventListener("progress",g)),p&&S.upload&&([d,y]=Wn(p),S.upload.addEventListener("progress",d),S.upload.addEventListener("loadend",y)),(r.cancelToken||r.signal)&&(l=a(D=>{S&&(i(!D||D.type?new Zo(null,t,S):D),S.abort(),w(),S=null)},"onCanceled"),r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));let F=Lp(r.url);if(F&&!ie.protocols.includes(F)){i(new R("Unsupported protocol "+F+":",R.ERR_BAD_REQUEST,t)),w();return}S.send(n||null)},"dispatchXhrRequest"))};var WF=a((t,e)=>{if(t=t?t.filter(Boolean):[],!e&&!t.length)return;let o=new AbortController,i=!1,r=a(function(p){if(!i){i=!0,s();let u=p instanceof Error?p:this.reason;o.abort(u instanceof R?u:new Zo(u instanceof Error?u.message:u))}},"onabort"),n=e&&setTimeout(()=>{n=null,r(new R(`timeout of ${e}ms exceeded`,R.ETIMEDOUT))},e),s=a(()=>{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=()=>m.asap(s),c},"composeSignals"),Bb=WF;var KF=a(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=a(async function*(t,e){for await(let o of eA(t))yield*KF(o,e)},"readBytes"),eA=a(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"),gm=a((t,e,o,i)=>{let r=$F(t,e),n=0,s,c=a(p=>{s||(s=!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 g=n+=d;o(g)}p.enqueue(new Uint8Array(l))}catch(u){throw c(u),u}},cancel(p){return c(p),r.return()}},{highWaterMark:2})},"trackStream");var Mb=64*1024,{isFunction:Ru}=m,tA=a(t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,o)=>String.fromCharCode(parseInt(o,16))),"encodeUTF8"),Vb=a(t=>{if(!m.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},"decodeURIComponentSafe"),Lb=a((t,...e)=>{try{return!!t(...e)}catch{return!1}},"test"),oA=a(t=>{let e=t.indexOf("://"),o=t;return e!==-1&&(o=o.slice(e+3)),o.includes("@")||o.includes(":")},"maybeWithAuthCredentials"),iA=a(t=>{let e=m.global!==void 0&&m.global!==null?m.global:globalThis,{ReadableStream:o,TextEncoder:i}=e;t=m.merge.call({skipUndefined:!0},{Request:e.Request,Response:e.Response},t);let{fetch:r,Request:n,Response:s}=t,c=r?Ru(r):typeof fetch=="function",p=Ru(n),u=Ru(s);if(!c)return!1;let l=c&&Ru(o),d=c&&(typeof i=="function"?(x=>F=>x.encode(F))(new i):async x=>new Uint8Array(await new n(x).arrayBuffer())),g=p&&l&&Lb(()=>{let x=!1,F=new n(ie.origin,{body:new o,method:"POST",get duplex(){return x=!0,"half"}}),D=F.headers.has("Content-Type");return F.body!=null&&F.body.cancel(),x&&!D}),y=u&&l&&Lb(()=>m.isReadableStream(new s("").body)),C={stream:y&&(x=>x.body)};c&&["text","arrayBuffer","blob","formData","stream"].forEach(x=>{!C[x]&&(C[x]=(F,D)=>{let j=F&&F[x];if(j)return j.call(F);throw new R(`Response type '${x}' is not supported`,R.ERR_NOT_SUPPORT,D)})});let w=a(async x=>{if(x==null)return 0;if(m.isBlob(x))return x.size;if(m.isSpecCompliantForm(x))return(await new n(ie.origin,{method:"POST",body:x}).arrayBuffer()).byteLength;if(m.isArrayBufferView(x)||m.isArrayBuffer(x))return x.byteLength;if(m.isURLSearchParams(x)&&(x=x+""),m.isString(x))return(await d(x)).byteLength},"getBodyLength"),S=a(async(x,F)=>{let D=m.toFiniteNumber(x.getContentLength());return D??w(F)},"resolveBodyLength");return async x=>{let{url:F,method:D,data:j,signal:X,cancelToken:H,timeout:yt,onDownloadProgress:Go,onUploadProgress:hn,responseType:ee,headers:Qo,withCredentials:Is="same-origin",fetchOptions:Mr,maxContentLength:ut,maxBodyLength:Yn}=Nu(x),Pa=m.isNumber(ut)&&ut>-1,Ea=m.isNumber(Yn)&&Yn>-1,Xl=a(oe=>m.hasOwnProp(x,oe)?x[oe]:void 0,"own"),Jl=r||fetch;ee=ee?(ee+"").toLowerCase():"text";let Ee=Bb([X,H&&H.toAbortSignal()],yt),Ye=null,nt=Ee&&Ee.unsubscribe&&(()=>{Ee.unsubscribe()}),vn,Xn=null,ja=a(()=>new R("Request body larger than maxBodyLength limit",R.ERR_BAD_REQUEST,x,Ye),"maxBodyLengthError");try{let oe,qt=Xl("auth");if(qt){let G=m.getSafeProp(qt,"username")||"",Ut=m.getSafeProp(qt,"password")||"";oe={username:G,password:Ut}}if(oA(F)){let G=new URL(F,ie.origin);if(!oe&&(G.username||G.password)){let Ut=Vb(G.username),E=Vb(G.password);oe={username:Ut,password:E}}(G.username||G.password)&&(G.username="",G.password="",F=G.href)}if(oe&&(Qo.delete("authorization"),Qo.set("Authorization","Basic "+btoa(tA((oe.username||"")+":"+(oe.password||""))))),Pa&&typeof F=="string"&&F.startsWith("data:")&&um(F)>ut)throw new R("maxContentLength size of "+ut+" exceeded",R.ERR_BAD_RESPONSE,x,Ye);if(Ea&&D!=="get"&&D!=="head"){let G=await w(j);if(typeof G=="number"&&isFinite(G)&&(vn=G,G>Yn))throw ja()}let Os=Ea&&(m.isReadableStream(j)||m.isStream(j)),gn=a((G,Ut,E)=>gm(G,Mb,P=>{if(Ea&&P>Yn)throw Xn=ja();Ut&&Ut(P)},E),"trackRequestStream");if(g&&D!=="get"&&D!=="head"&&(hn||Os)){if(vn=vn??await S(Qo,j),vn!==0||Os){let G=new n(F,{method:"POST",body:j,duplex:"half"}),Ut;if(m.isFormData(j)&&(Ut=G.headers.get("content-type"))&&Qo.setContentType(Ut),G.body){let[E,P]=hn&&Qs(vn,Wn(Zs(hn)))||[];j=gn(G.body,E,P)}}}else if(Os&&!p&&l&&D!=="get"&&D!=="head")j=gn(j);else if(Os&&p&&!g&&D!=="get"&&D!=="head")throw new R("Stream request bodies are not supported by the current fetch implementation",R.ERR_NOT_SUPPORT,x,Ye);m.isString(Is)||(Is=Is?"include":"omit");let lp=p&&"credentials"in n.prototype;if(m.isFormData(j)){let G=Qo.getContentType();G&&/^multipart\/form-data/i.test(G)&&!/boundary=/i.test(G)&&Qo.delete("content-type")}Qo.set("User-Agent","axios/"+Jn,!1);let up={...Mr,signal:Ee,method:D.toUpperCase(),headers:zs(Qo.normalize()),body:j,duplex:"half",credentials:lp?Is:void 0};Ye=p&&new n(F,up);let ue=await(p?Jl(Ye,Mr):Jl(F,up)),Vr=Re.from(ue.headers);if(Pa){let G=m.toFiniteNumber(Vr.getContentLength());if(G!=null&&G>ut)throw new R("maxContentLength size of "+ut+" exceeded",R.ERR_BAD_RESPONSE,x,Ye)}let Fs=y&&(ee==="stream"||ee==="response");if(y&&ue.body&&(Go||Pa||Fs&&nt)){let G={};["status","statusText","headers"].forEach(J=>{G[J]=ue[J]});let Ut=m.toFiniteNumber(Vr.getContentLength()),[E,P]=Go&&Qs(Ut,Wn(Zs(Go),!0))||[],$=0,Xe=a(J=>{if(Pa&&($=J,$>ut))throw new R("maxContentLength size of "+ut+" exceeded",R.ERR_BAD_RESPONSE,x,Ye);E&&E(J)},"onChunkProgress");ue=new s(gm(ue.body,Mb,Xe,()=>{P&&P(),nt&&nt()}),G)}ee=ee||"text";let si=await C[m.findKey(C,ee)||"text"](ue,x);if(Pa&&!y&&!Fs){let G;if(si!=null&&(typeof si.byteLength=="number"?G=si.byteLength:typeof si.size=="number"?G=si.size:typeof si=="string"&&(G=typeof i=="function"?new i().encode(si).byteLength:si.length)),typeof G=="number"&&G>ut)throw new R("maxContentLength size of "+ut+" exceeded",R.ERR_BAD_RESPONSE,x,Ye)}return!Fs&&nt&&nt(),await new Promise((G,Ut)=>{yn(G,Ut,{data:si,headers:Re.from(ue.headers),status:ue.status,statusText:ue.statusText,config:x,request:Ye})})}catch(oe){if(nt&&nt(),Ee&&Ee.aborted&&Ee.reason instanceof R){let qt=Ee.reason;throw qt.config=x,Ye&&(qt.request=Ye),oe!==qt&&Object.defineProperty(qt,"cause",{__proto__:null,value:oe,writable:!0,enumerable:!1,configurable:!0}),qt}if(Xn)throw Ye&&!Xn.request&&(Xn.request=Ye),Xn;if(oe instanceof R)throw Ye&&!oe.request&&(oe.request=Ye),oe;if(oe&&oe.name==="TypeError"&&/Load failed|fetch/i.test(oe.message)){let qt=new R("Network Error",R.ERR_NETWORK,x,Ye,oe&&oe.response);throw Object.defineProperty(qt,"cause",{__proto__:null,value:oe.cause||oe,writable:!0,enumerable:!1,configurable:!0}),qt}throw R.from(oe,oe&&oe.code,x,Ye,oe&&oe.response)}}},"factory"),nA=new Map,ym=a(t=>{let e=t&&t.env||{},{fetch:o,Request:i,Response:r}=e,n=[i,r,o],s=n.length,c=s,p,u,l=nA;for(;c--;)p=n[c],u=l.get(p),u===void 0&&l.set(p,u=c?new Map:iA(e)),l=u;return u},"getFetch"),u2=ym();var xm={http:Pb,xhr:Tb,fetch:{get:ym}};m.forEach(xm,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{__proto__:null,value:e})}catch{}Object.defineProperty(t,"adapterName",{__proto__:null,value:e})}});var _b=a(t=>`- ${t}`,"renderReason"),aA=a(t=>m.isFunction(t)||t===null||t===!1,"isResolvedHandle");function sA(t,e){t=m.isArray(t)?t:[t];let{length:o}=t,i,r,n={};for(let s=0;s<o;s++){i=t[s];let c;if(r=i,!aA(i)&&(r=xm[(c=String(i)).toLowerCase()],r===void 0))throw new R(`Unknown adapter '${c}'`);if(r&&(m.isFunction(r)||(r=r.get(e))))break;n[c||"#"+s]=r}if(!r){let s=Object.entries(n).map(([p,u])=>`adapter ${p} `+(u===!1?"is not supported by the environment":"is not available in the build")),c=o?s.length>1?`since :
|
|
30
|
-
`+
|
|
31
|
-
`):" "+
|
|
32
|
-
`);return
|
|
33
|
-
`),c=
|
|
34
|
-
`,
|
|
35
|
-
`+n)}}catch{}}throw i}}_request(e,o){typeof e=="string"?(o=o||{},o.url=e):o=e||{},o=zi(this.defaults,o);let{transitional:i,paramsSerializer:r,headers:n}=o;i!==void 0&&kp.assertOptions(i,{silentJSONParsing:eo.transitional(eo.boolean),forcedJSONParsing:eo.transitional(eo.boolean),clarifyTimeoutError:eo.transitional(eo.boolean),legacyInterceptorReqResOrdering:eo.transitional(eo.boolean),advertiseZstdAcceptEncoding:eo.transitional(eo.boolean),validateStatusUndefinedResolves:eo.transitional(eo.boolean)},!1),r!=null&&(m.isFunction(r)?o.paramsSerializer={serialize:r}:kp.assertOptions(r,{encode:eo.function,serialize:eo.function},!0)),o.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?o.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:o.allowAbsoluteUrls=!0),kp.assertOptions(o,{baseUrl:eo.spelling("baseURL"),withXsrfToken:eo.spelling("withXSRFToken")},!0),o.method=(o.method||this.defaults.method||"get").toLowerCase();let s=n&&m.merge(n.common,n[o.method]);n&&m.forEach(["delete","get","head","post","put","patch","query","common"],C=>{delete n[C]}),o.headers=Re.concat(s,n);let c=[],p=!0;this.interceptors.request.forEach(a(function(w){if(typeof w.runWhen=="function"&&w.runWhen(o)===!1)return;p=p&&w.synchronous;let S=o.transitional||qr;S&&S.legacyInterceptorReqResOrdering?c.unshift(w.fulfilled,w.rejected):c.push(w.fulfilled,w.rejected)},"unshiftRequestInterceptors"));let u=[];this.interceptors.response.forEach(a(function(w){u.push(w.fulfilled,w.rejected)},"pushResponseInterceptors"));let l,d=0,g;if(!p){let C=[Up.bind(this),void 0];for(C.unshift(...c),C.push(...u),g=C.length,l=Promise.resolve(o);d<g;)l=l.then(C[d++],C[d++]);return l}g=c.length;let y=o;for(;d<g;){let C=c[d++],w=c[d++];try{y=C?C(y):y}catch(S){if(!w){l=Promise.reject(S);break}try{let x=w.call(this,S);m.isThenable(x)&&(l=Promise.resolve(x).then(()=>Up.call(this,y)))}catch(x){l=Promise.reject(x)}break}}if(!l)try{l=Up.call(this,y)}catch(C){l=Promise.reject(C)}for(d=0,g=u.length;d<g;)l=l.then(u[d++],u[d++]);return l}getUri(e){e=zi(this.defaults,e);let o=La(e.baseURL,e.url,e.allowAbsoluteUrls,e);return Va(o,e.params,e.paramsSerializer)}};m.forEach(["delete","get","head","options"],a(function(e){Ou.prototype[e]=function(o,i){return this.request(zi(i||{},{method:e,url:o,data:i&&m.hasOwnProp(i,"data")?i.data:void 0}))}},"forEachMethodNoData"));m.forEach(["post","put","patch","query"],a(function(e){function o(i){return a(function(n,s,c){return this.request(zi(c||{},{method:e,headers:i?{"Content-Type":"multipart/form-data"}:{},url:n,data:s}))},"httpMethod")}a(o,"generateHTTPMethod"),Ou.prototype[e]=o(),e!=="query"&&(Ou.prototype[e+"Form"]=o(!0))},"forEachMethodWithData"));var Hp=Ou;var pA=class Ub{static{a(this,"CancelToken")}constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let o;this.promise=new Promise(a(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,s=new Promise(c=>{i.subscribe(c),n=c}).then(r);return s.cancel=a(function(){i.unsubscribe(n)},"reject"),s},e(a(function(n,s,c){i.reason||(i.reason=new Zo(n,s,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=a(i=>{e.abort(i)},"abort");return this.subscribe(o),e.signal.unsubscribe=()=>this.unsubscribe(o),e.signal}static source(){let e;return{token:new Ub(a(function(r){e=r},"executor")),cancel:e}}},kb=pA;function Sm(t){return a(function(o){return t.apply(null,o)},"wrap")}a(Sm,"spread");function Cm(t){return m.isObject(t)&&t.isAxiosError===!0}a(Cm,"isAxiosError");var Nm={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(Nm).forEach(([t,e])=>{Nm[e]=t});var Hb=Nm;function Gb(t){let e=new Hp(t),o=xp(Hp.prototype.request,e);return m.extend(o,Hp.prototype,e,{allOwnKeys:!0}),m.extend(o,e,null,{allOwnKeys:!0}),o.create=a(function(r){return Gb(zi(t,r))},"create"),o}a(Gb,"createInstance");var ft=Gb(qs);ft.Axios=Hp;ft.CanceledError=Zo;ft.CancelToken=kb;ft.isCancel=Ap;ft.VERSION=Jn;ft.toFormData=_r;ft.AxiosError=R;ft.Cancel=ft.CanceledError;ft.all=a(function(e){return Promise.all(e)},"all");ft.spread=Sm;ft.isAxiosError=Cm;ft.mergeConfig=zi;ft.AxiosHeaders=Re;ft.formToJSON=t=>hu(m.isHTMLForm(t)?new FormData(t):t);ft.getAdapter=wu.getAdapter;ft.HttpStatusCode=Hb;ft.default=ft;var Fu=ft;var{Axios:yB,AxiosError:xB,CanceledError:bB,isCancel:SB,CancelToken:CB,VERSION:NB,all:RB,Cancel:wB,isAxiosError:IB,spread:OB,toFormData:FB,AxiosHeaders:AB,HttpStatusCode:DB,formToJSON:PB,getAdapter:EB,mergeConfig:jB,create:zB}=Fu;var kr=require("nfets/core"),Xs=require("nfets/core");var Ys=class{static{a(this,"Pipeline")}certificate;xmlns="http://www.portalfiscal.inf.br/nfe";http=Fu.create();toolkit=new kr.Xml2JsToolkit;caching=new kr.MemoryCacheAdapter;certificates=new kr.NativeCertificateRepository(this.http,this.caching);soap=new kr.SoapRemoteTransmissionRepository(this.toolkit,this.certificates);signer=new Xs.EntitySigner(this.toolkit,this.certificates);xmlSigner=new Xs.XmlSigner(this.toolkit,this.certificates);constructor(e){this.certificate=e}errors(){return Reflect.getMetadata(Xs.ValidateErrorsMetadata,this)}};var i0=dt(require("path"),1),Uu=require("nfets/core"),Vi=require("nfets/core"),ku=require("nfets/core");var Du=require("nfets/core"),Qb=require("class-transformer"),Ti=require("class-validator");function Au(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Au,"_ts_decorate");function wm(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(wm,"_ts_metadata");var Hr=class{static{a(this,"ConsultStatusPayload")}tpAmb;cUF;xServ="STATUS"};Au([(0,Ti.IsEnum)(Du.Environment),wm("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Hr.prototype,"tpAmb",void 0);Au([(0,Ti.IsEnum)(Du.StateCodes),wm("design:type",typeof StateCode>"u"?Object:StateCode)],Hr.prototype,"cUF",void 0);Au([(0,Ti.IsOptional)()],Hr.prototype,"xServ",void 0);var Rm=class{static{a(this,"ConsultStatusRequest")}consStatServ};Au([(0,Ti.IsNotEmptyObject)(),(0,Ti.IsObject)(),(0,Ti.ValidateNested)(),(0,Qb.Type)(()=>Hr),wm("design:type",typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload)],Rm.prototype,"consStatServ",void 0);var Zb=require("nfets/core"),Eu=require("nfets/core"),ju=require("class-transformer"),Z=require("class-validator");function xt(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(xt,"_ts_decorate");function Ht(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ht,"_ts_metadata");var Pu=class{static{a(this,"InfInutAttributes")}Id};xt([(0,Z.IsString)(),Ht("design:type",String)],Pu.prototype,"Id",void 0);var Gp=class{static{a(this,"InutNFeAttributes")}xmlns;versao};xt([(0,Z.IsString)(),Ht("design:type",String)],Gp.prototype,"xmlns",void 0);xt([(0,Z.IsString)(),(0,Z.IsOptional)(),Ht("design:type",String)],Gp.prototype,"versao",void 0);var kt=class{static{a(this,"InfInut")}$;tpAmb;xServ="INUTILIZAR";cUF;ano;CNPJ;CPF;mod;serie;nNFIni;nNFFin;xJust};xt([(0,Z.ValidateNested)(),(0,ju.Type)(()=>Pu),Ht("design:type",typeof IInfInutAttributes>"u"?Object:IInfInutAttributes)],kt.prototype,"$",void 0);xt([(0,Z.IsEnum)(Eu.Environment),Ht("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],kt.prototype,"tpAmb",void 0);xt([(0,Z.IsOptional)()],kt.prototype,"xServ",void 0);xt([(0,Z.IsEnum)(Eu.StateCodes),Ht("design:type",typeof StateCode>"u"?Object:StateCode)],kt.prototype,"cUF",void 0);xt([(0,Z.IsString)(),(0,Z.Length)(2,2),(0,Z.Matches)(/^[0-9]{2}$/),Ht("design:type",String)],kt.prototype,"ano",void 0);xt([(0,Z.IsString)(),(0,Z.IsOptional)(),Ht("design:type",String)],kt.prototype,"CNPJ",void 0);xt([(0,Z.IsString)(),(0,Z.IsOptional)(),Ht("design:type",String)],kt.prototype,"CPF",void 0);xt([(0,Z.IsString)(),(0,Z.Length)(2,2),(0,Z.Matches)(/^(55|65)$/),Ht("design:type",String)],kt.prototype,"mod",void 0);xt([(0,Z.IsString)(),(0,Z.Matches)(/^[0-9]{1,3}$/),Ht("design:type",String)],kt.prototype,"serie",void 0);xt([(0,Z.IsString)(),(0,Z.Matches)(/^[0-9]{1,9}$/),Ht("design:type",String)],kt.prototype,"nNFIni",void 0);xt([(0,Z.IsString)(),(0,Z.Matches)(/^[0-9]{1,9}$/),Ht("design:type",String)],kt.prototype,"nNFFin",void 0);xt([(0,Z.IsString)(),(0,Z.MinLength)(15),(0,Z.MaxLength)(255),Ht("design:type",String)],kt.prototype,"xJust",void 0);kt=xt([(0,Zb.Choice)({properties:["CNPJ","CPF"],required:!0})],kt);var Kn=class{static{a(this,"InutilizacaoPayload")}$;infInut;Signature};xt([(0,Z.IsObject)(),(0,Z.ValidateNested)(),(0,ju.Type)(()=>Gp),Ht("design:type",typeof IInutNFeAttributes>"u"?Object:IInutNFeAttributes)],Kn.prototype,"$",void 0);xt([(0,Z.IsObject)(),(0,Z.ValidateNested)(),(0,ju.Type)(()=>kt),Ht("design:type",typeof IInfInut>"u"?Object:IInfInut)],Kn.prototype,"infInut",void 0);xt([(0,Z.Allow)(),Ht("design:type",typeof Signature>"u"?Object:Signature)],Kn.prototype,"Signature",void 0);var Xb=require("nfets/core"),xn=require("class-validator");function Im(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Im,"_ts_decorate");function Yb(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Yb,"_ts_metadata");var Ga=class{static{a(this,"ConsultaProtocoloPayload")}tpAmb;xServ="CONSULTAR";chNFe};Im([(0,xn.IsEnum)(Xb.Environment),Yb("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Ga.prototype,"tpAmb",void 0);Im([(0,xn.IsOptional)()],Ga.prototype,"xServ",void 0);Im([(0,xn.IsString)(),(0,xn.Length)(44,44),(0,xn.Matches)(/^[A-Z0-9]{44}$/),Yb("design:type",String)],Ga.prototype,"chNFe",void 0);var Tu=require("nfets/core"),Xo=require("class-validator");function Qp(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Qp,"_ts_decorate");function zu(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(zu,"_ts_metadata");var Bi=class{static{a(this,"NfeAutorizacaoPayload")}tpAmb;cUF;idLote;indSinc="1";NFe};Qp([(0,Xo.IsEnum)(Tu.Environment),(0,Xo.IsOptional)(),zu("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Bi.prototype,"tpAmb",void 0);Qp([(0,Xo.IsEnum)(Tu.StateCodes),(0,Xo.IsOptional)(),zu("design:type",typeof StateCode>"u"?Object:StateCode)],Bi.prototype,"cUF",void 0);Qp([(0,Xo.IsString)(),(0,Xo.IsOptional)(),zu("design:type",String)],Bi.prototype,"idLote",void 0);Qp([(0,Xo.IsOptional)(),(0,Xo.IsEnum)(["0","1"])],Bi.prototype,"indSinc",void 0);Qp([(0,Xo.IsNotEmpty)(),zu("design:type",typeof T>"u"?Object:T)],Bi.prototype,"NFe",void 0);var Kb=require("nfets/core"),Bu=require("class-validator");function Jb(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Jb,"_ts_decorate");function Wb(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Wb,"_ts_metadata");var Js=class{static{a(this,"RetAutorizacaoPayload")}tpAmb;nRec};Jb([(0,Bu.IsEnum)(Kb.Environment),Wb("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Js.prototype,"tpAmb",void 0);Jb([(0,Bu.IsString)(),Wb("design:type",String)],Js.prototype,"nRec",void 0);var ae=require("class-validator"),Zp=require("class-transformer"),Lu=require("nfets/core");function bt(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(bt,"_ts_decorate");function Et(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Et,"_ts_metadata");var Mu=class{static{a(this,"InfEventoAttributes")}Id};bt([(0,ae.IsString)(),Et("design:type",String)],Mu.prototype,"Id",void 0);var Pt=class{static{a(this,"InfEvento")}$;cOrgao;tpAmb;CNPJ;CPF;chNFe;dhEvento;tpEvento;nSeqEvento;verEvento;detEvento};bt([(0,ae.IsObject)(),(0,ae.ValidateNested)(),(0,Zp.Type)(()=>Mu),Et("design:type",typeof IInfEventoAttributes>"u"?Object:IInfEventoAttributes)],Pt.prototype,"$",void 0);bt([(0,ae.IsString)(),Et("design:type",typeof StateCode>"u"?Object:StateCode)],Pt.prototype,"cOrgao",void 0);bt([(0,ae.IsString)(),Et("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Pt.prototype,"tpAmb",void 0);bt([(0,ae.IsString)(),(0,ae.IsOptional)(),Et("design:type",String)],Pt.prototype,"CNPJ",void 0);bt([(0,ae.IsString)(),(0,ae.IsOptional)(),Et("design:type",String)],Pt.prototype,"CPF",void 0);bt([(0,ae.IsString)(),Et("design:type",String)],Pt.prototype,"chNFe",void 0);bt([(0,Lu.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),Et("design:type",String)],Pt.prototype,"dhEvento",void 0);bt([(0,ae.IsEnum)(jo),Et("design:type",typeof jo>"u"?Object:jo)],Pt.prototype,"tpEvento",void 0);bt([(0,ae.IsNumber)(),Et("design:type",Number)],Pt.prototype,"nSeqEvento",void 0);bt([(0,ae.IsString)(),Et("design:type",String)],Pt.prototype,"verEvento",void 0);bt([(0,ae.IsObject)(),Et("design:type",typeof T>"u"?Object:T)],Pt.prototype,"detEvento",void 0);Pt=bt([(0,Lu.Choice)({properties:["CNPJ","CPF"],required:!0})],Pt);var Vu=class{static{a(this,"EventoItemAttributes")}xmlns};bt([(0,ae.IsString)(),Et("design:type",String)],Vu.prototype,"xmlns",void 0);var bn=class{static{a(this,"EventoItem")}$;infEvento;Signature};bt([(0,ae.IsObject)(),(0,ae.ValidateNested)(),(0,Zp.Type)(()=>Vu),Et("design:type",typeof IEventoItemAttributes>"u"?Object:IEventoItemAttributes)],bn.prototype,"$",void 0);bt([(0,ae.IsObject)(),(0,ae.ValidateNested)(),(0,Zp.Type)(()=>Pt),Et("design:type",typeof Pt>"u"?Object:Pt)],bn.prototype,"infEvento",void 0);bt([(0,ae.Allow)(),Et("design:type",typeof Signature>"u"?Object:Signature)],bn.prototype,"Signature",void 0);var Ws=class{static{a(this,"EventoPayload")}idLote;evento};bt([(0,ae.IsString)(),Et("design:type",String)],Ws.prototype,"idLote",void 0);bt([(0,ae.IsNotEmpty)(),(0,ae.ValidateNested)(),(0,Zp.Type)(()=>bn),Et("design:type",typeof bn>"u"?Object:bn)],Ws.prototype,"evento",void 0);var $b=require("nfets/core"),e0=require("nfets/core"),ui=require("class-validator");function Ks(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Ks,"_ts_decorate");function _u(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(_u,"_ts_metadata");var Mi=class{static{a(this,"ConsultaCadastroPayload")}xServ="CONS-CAD";UF;IE="";CNPJ="";CPF=""};Ks([(0,ui.IsOptional)()],Mi.prototype,"xServ",void 0);Ks([(0,ui.IsString)(),(0,ui.IsIn)(Object.values($b.StateAcronyms)),_u("design:type",typeof StateAcronym>"u"?Object:StateAcronym)],Mi.prototype,"UF",void 0);Ks([(0,ui.IsOptional)(),(0,ui.IsString)(),_u("design:type",String)],Mi.prototype,"IE",void 0);Ks([(0,ui.IsOptional)(),(0,ui.IsString)(),_u("design:type",String)],Mi.prototype,"CNPJ",void 0);Ks([(0,ui.IsOptional)(),(0,ui.IsString)(),_u("design:type",String)],Mi.prototype,"CPF",void 0);Mi=Ks([(0,e0.Choice)({properties:["IE","CNPJ","CPF"],required:!0})],Mi);var se=require("nfets/core"),t0={AM:{[se.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"}},[se.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:{[se.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"}},[se.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:{[se.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"}},[se.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:{[se.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"}},[se.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:{[se.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"}},[se.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:{[se.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"}},[se.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:{[se.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"}},[se.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:{[se.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"}},[se.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:{[se.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"}},[se.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:{[se.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"}},[se.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:{[se.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"}},[se.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:{[se.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"}},[se.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:{[se.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"}},[se.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:{[se.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"}},[se.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:{[se.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"}},[se.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 ge=require("nfets/core"),lA={[ge.StateCodes.AC]:"SVRS",[ge.StateCodes.AL]:"SVRS",[ge.StateCodes.AM]:"AM",[ge.StateCodes.AP]:"SVRS",[ge.StateCodes.BA]:"BA",[ge.StateCodes.CE]:"SVRS",[ge.StateCodes.DF]:"SVRS",[ge.StateCodes.ES]:"SVRS",[ge.StateCodes.GO]:"GO",[ge.StateCodes.MA]:"SVAN",[ge.StateCodes.MG]:"MG",[ge.StateCodes.MS]:"MS",[ge.StateCodes.MT]:"MT",[ge.StateCodes.PA]:"SVRS",[ge.StateCodes.PB]:"SVRS",[ge.StateCodes.PE]:"PE",[ge.StateCodes.PI]:"SVRS",[ge.StateCodes.PR]:"PR",[ge.StateCodes.RJ]:"SVRS",[ge.StateCodes.RN]:"SVRS",[ge.StateCodes.RO]:"SVRS",[ge.StateCodes.RR]:"SVRS",[ge.StateCodes.RS]:"RS",[ge.StateCodes.SC]:"SVRS",[ge.StateCodes.SE]:"SVRS",[ge.StateCodes.SP]:"SP",[ge.StateCodes.TO]:"SVRS",AN:"AN",SVAN:"SVAN",SVRS:"SVRS",SVCAN:"SVCAN",SVCRS:"SVCRS"},o0=lA;var ye=require("nfets/core"),qu={[ye.StateCodes.AC]:"SVCAN",[ye.StateCodes.AL]:"SVCAN",[ye.StateCodes.AM]:"SVCRS",[ye.StateCodes.AP]:"SVCAN",[ye.StateCodes.BA]:"SVCRS",[ye.StateCodes.CE]:"SVCAN",[ye.StateCodes.DF]:"SVCAN",[ye.StateCodes.ES]:"SVCAN",[ye.StateCodes.GO]:"SVCRS",[ye.StateCodes.MA]:"SVCRS",[ye.StateCodes.MG]:"SVCAN",[ye.StateCodes.MS]:"SVCRS",[ye.StateCodes.MT]:"SVCRS",[ye.StateCodes.PA]:"SVCAN",[ye.StateCodes.PB]:"SVCAN",[ye.StateCodes.PE]:"SVCRS",[ye.StateCodes.PI]:"SVCAN",[ye.StateCodes.PR]:"SVCRS",[ye.StateCodes.RJ]:"SVCAN",[ye.StateCodes.RN]:"SVCAN",[ye.StateCodes.RO]:"SVCAN",[ye.StateCodes.RR]:"SVCAN",[ye.StateCodes.RS]:"SVCAN",[ye.StateCodes.SC]:"SVCAN",[ye.StateCodes.SE]:"SVCAN",[ye.StateCodes.SP]:"SVCAN",[ye.StateCodes.TO]:"SVCAN"};function Qa(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Qa,"_ts_decorate");function at(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(at,"_ts_metadata");var Vo=class{static{a(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??=Ev.PL_009_V4,this}service(e){let o=e.cUF??this.options.cUF,i=e.tpAmb??this.options.tpAmb,r=this.options.contingency?qu[o]:o0[o];return t0[r][i][e.service]}errors(){return Reflect.getMetadata(Vi.ValidateErrorsMetadata,this)}validate(e){try{let o=this.errors();return o?(0,ku.left)(new Uu.NFeTsError(o.join(", "))):("cUF"in e&&(e.cUF??=this.options.cUF),"tpAmb"in e&&(e.tpAmb??=this.options.tpAmb),(0,ku.right)(e))}finally{Reflect.deleteMetadata(Vi.ValidateErrorsMetadata,this)}}ns(e,o){let i=e.$??{};return i.xmlns=this.xmlns,i.versao=o,{...e,$:i}}xsd(e){return i0.default.resolve(hp(),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,s=this.service({cUF:i,tpAmb:r,service:"NfeInutilizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:s.url,xsd:this.xsd("inutNFe_v4.00.xsd"),payload:{inutNFe:this.ns(n,s.version)},method:s.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:Uu.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})}};Qa([(0,Vi.Validates)(Hr),at("design:type",Function),at("design:paramtypes",[typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload]),at("design:returntype",Promise)],Vo.prototype,"consultStatus",null);Qa([(0,Vi.Validates)(Kn),at("design:type",Function),at("design:paramtypes",[typeof IInutilizacaoPayload>"u"?Object:IInutilizacaoPayload]),at("design:returntype",Promise)],Vo.prototype,"inutilizacao",null);Qa([(0,Vi.Validates)(Ga),at("design:type",Function),at("design:paramtypes",[typeof IConsultaProtocoloPayload>"u"?Object:IConsultaProtocoloPayload]),at("design:returntype",Promise)],Vo.prototype,"consultaProtocolo",null);Qa([(0,Vi.Validates)(Bi),at("design:type",Function),at("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),at("design:returntype",Promise)],Vo.prototype,"autorizacao",null);Qa([(0,Vi.Validates)(Js),at("design:type",Function),at("design:paramtypes",[typeof IRetAutorizacaoPayload>"u"?Object:IRetAutorizacaoPayload]),at("design:returntype",Promise)],Vo.prototype,"retAutorizacao",null);Qa([(0,Vi.Validates)(Ws),at("design:type",Function),at("design:paramtypes",[Object]),at("design:returntype",Promise)],Vo.prototype,"recepcaoEvento",null);Qa([(0,Vi.Validates)(Mi),at("design:type",Function),at("design:paramtypes",[typeof IConsultaCadastroPayload>"u"?Object:IConsultaCadastroPayload]),at("design:returntype",Promise)],Vo.prototype,"consultaCadastro",null);var Lo=class extends Ys{static{a(this,"TransmissionPipeline")}certificate;transmitter=new Vo(this.soap);constructor(e){super(e),this.certificate=e}issuerFromIdentification(e){let o=e.toUpperCase().replace(/[^A-Z0-9]/g,"");if(!o)return(0,$n.left)(new $n.NFeTsError("CNPJ/CPF do emitente \xE9 obrigat\xF3rio"));if(o.length===11)return(0,$n.right)({CPF:o,idDigits:o.padStart(14,"0")});let i=o.padStart(14,"0");return i.length!==14?(0,$n.left)(new $n.NFeTsError("CNPJ/CPF do emitente \xE9 inv\xE1lido")):(0,$n.right)({CNPJ:i,idDigits:i})}};var n0=require("nfets/core"),r0=require("nfets/core");var uA=["MT"],dA=[n0.StateCodes.MT],fA=[[/[áàâãªä]/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 mA(t){if(!t)return!1;let e=t.toUpperCase();return uA.includes(e)||dA.includes(e)}a(mA,"shouldStripSefazAccents");function hA(t){return fA.reduce((e,[o,i])=>e.replace(o,i),t)}a(hA,"replaceSefazSpecialChars");function $s(t,e){return mA(e)?Om(t):t}a($s,"sanitizeSefazText");function vA(t){return t===null||typeof t!="object"||t instanceof Date||t instanceof r0.Decimal?!1:!ArrayBuffer.isView(t)}a(vA,"isWalkableObject");function Om(t){if(typeof t=="string")return hA(t);if(Array.isArray(t))return t.map(i=>Om(i));if(!vA(t))return t;let e={};for(let[o,i]of Object.entries(t))e[o]=Om(i);return e}a(Om,"walk");function gA(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(gA,"_ts_decorate");function Fm(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Fm,"_ts_metadata");var Yp=class extends Lo{static{a(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:n,...i,certificate:r.value});let s=Kl[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(""),g=$s({$:{xmlns:this.xmlns},infEvento:{$:{Id:d},cOrgao:n,tpAmb:i.tpAmb,CNPJ:c.value.CNPJ,CPF:c.value.CPF,chNFe:l,dhEvento:u,tpEvento:e,nSeqEvento:p,verEvento:s.version,detEvento:{$:{versao:s.version},descEvento:s.descEvento,...o.detEvento}}},n),y=this.validated(g);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(Gd).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,Gr.left)(new Gr.NFeTsError(o.join(", "))):(0,Gr.right)(e)}};gA([(0,Gr.Validates)(bn),Fm("design:type",Function),Fm("design:paramtypes",[typeof IEventoItem>"u"?Object:IEventoItem]),Fm("design:returntype",void 0)],Yp.prototype,"validated",null);var ec=require("nfets/core");var Xp=class extends Yp{static{a(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(jo.Cancelamento,i,o);if(r.isLeft())return r;let n=r.value,s=Kl[jo.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,ec.left)(new ec.NFeTsError("Evento de cancelamento n\xE3o retornado"));let l=await this.protocol(this.versionedEvent(n,s),u,s);return(0,ec.right)({xml:l,response:p})}};var Za=(function(t){return t.Asynchronous="0",t.Synchronous="1",t})({});var Am=(function(t){return t.LotReceived="103",t.ProcessedBatch="104",t})({});var a0=require("nfets/core");var Jp=class extends a0.NFeTsError{static{a(this,"CouldNotReceiveResponseError")}constructor(e="Falha ao consultar protocolo de autoriza\xE7\xE3o ap\xF3s 3 tentativas, tente novamente mais tarde."){super(e)}};var Jo=require("nfets/core");var s0=(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 Wp=class extends Lo{static{a(this,"NfeAuthorizerPipeline")}async execute(e,o){e.indSinc??=Za.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 s=await this.transmitter.autorizacao({...e,NFe:r.value});if(s.isLeft())return s;let c=s.value;return this.isLotNotProcessed(c,e)?(0,Jo.right)(await this.handleLotNotProcessed(r.value,c)):e.indSinc===Za.Synchronous&&this.isSyncResponse(c)?(0,Jo.right)(await this.response(r.value,c)):e.indSinc===Za.Asynchronous&&this.hasReceipt(c)?await this.handleAsyncResponse(r.value,c):(0,Jo.left)(new Jp)}async protocol(e,o){let{cStat:i}=o.infProt;if(!Object.values(s0).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,s)=>this.protocol(n,i[s])));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,Jo.left)(n.value):(0,Jo.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,Jo.left)(new Jo.NFeTsError("Failed to sign a NFe in batch")):(0,Jo.right)(i.filter(r=>r.isRight()).map(r=>r.value))}isLotNotProcessed(e,o){let{cStat:i}=e.retEnviNFe,r=o.indSinc??Za.Synchronous;return r===Za.Asynchronous&&i!==Am.LotReceived.toString()||r===Za.Synchronous&&i!==Am.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 s=1;s<=3;s++){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,Jo.right)(await this.response(e,{retEnviNFe:{...c.value.retConsReciNFe,protNFe:p}}))}return(0,Jo.left)(new Jp)}contingency(e){let{dhCont:o,xJust:i,tpEmis:r}=e.infNFe.ide;if(!(!o||!i||r===Ot.Normal))return{dhCont:o,xJust:i}}};var Li=require("nfets/core");function yA(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(yA,"_ts_decorate");function Dm(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Dm,"_ts_metadata");var tc=class extends Lo{static{a(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),s=["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=$s({$:{xmlns:this.xmlns},infInut:{$:{Id:s},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,g=d.retInutNFe;if(!g)return(0,Li.left)(new Li.NFeTsError("Retorno de inutiliza\xE7\xE3o n\xE3o retornado"));let y=g.$.versao,C=await this.protocol(this.versionedInutNFe(u.value,y),g,y);return(0,Li.right)({xml:C,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(Zd).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,Li.left)(new Li.NFeTsError(o.join(", "))):(0,Li.right)(e)}};yA([(0,Li.Validates)(Kn),Dm("design:type",Function),Dm("design:paramtypes",[typeof IIInutilizacaoPayload>"u"?Object:IIInutilizacaoPayload]),Dm("design:returntype",void 0)],tc.prototype,"validated",null);var Kp=class extends Lo{static{a(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 $p=class extends Lo{static{a(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 Pm=class extends Lo{static{a(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 c0=dt(require("crypto"),1),er=require("nfets/core");var Gt=class{static{a(this,"NfceQrcode")}certificateRepository;constructor(e){this.certificateRepository=e}async execute(e,o){let i=await this.content(e,o);return i.isLeft()?i:(0,er.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,er.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,s=Number.parseInt(r),c=e.infNFe.$.Id?.substring(3),p=Number.parseInt(i??"")/100;if(e.infNFe.ide.tpEmis!==Ot.OFFLINE)return`${c}|${p}|${n}|${s}`;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),g=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2);return`${c}|${p}|${n}|${d}|${g}|${l}|${s}`}async execute200(e,o){let{urlService:i,CSC:r}=o,n=this.getSequence(e,o),s=c0.default.createHash("sha1").update(`${n}${r}`).digest("hex").toUpperCase(),c=`${i}?p=`;return Promise.resolve((0,er.right)(`${c}${n}|${s}`))}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,s=e.infNFe.$.Id?.substring(3),c=Number.parseInt(o.version)/100;if(e.infNFe.ide.tpEmis!==Ot.OFFLINE)return(0,er.right)(`${r}${s}|${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),g=`${s}|${c}|${n}|${p}|${u}|${l}|${d}`,y=await this.certificateRepository.sign(g,o.certificate,er.SignatureAlgorithm.SHA1);return y.isLeft()?y:(0,er.right)(`${r}${g}|${y.value}`)}};var zm=require("nfets/core");var B=require("nfets/core"),Em={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 V=require("nfets/core"),p0={[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"),xA={[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"},l0=xA;var Hu=class extends Bi{static{a(this,"NfceAutorizacaoPayload")}};var u0=require("nfets/core");function bA(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(bA,"_ts_decorate");function jm(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(jm,"_ts_metadata");var jt=class extends Vo{static{a(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=l0[o],c=Em[r][i][e.service];if(c)return c;let p=Object.keys(zm.StateCodes).find(u=>zm.StateCodes[u]===o);return Em[p][i][e.service]}getUrlConsult(e){let o=e.infNFe.ide.cUF,i=e.infNFe.ide.tpAmb;return p0[i][o]}async autorizacao(e){return super.autorizacao(e)}};bA([(0,u0.Validates)(Hu),jm("design:type",Function),jm("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),jm("design:returntype",Promise)],jt.prototype,"autorizacao",null);var Tm=class extends Xp{static{a(this,"NfceCancelPipeline")}qrCode=new Gt(this.certificates);transmitter=new jt(this.soap,this.qrCode)};var el=class extends Wp{static{a(this,"NfceAuthorizerPipeline")}certificate;qrCode=new Gt(this.certificates);transmitter=new jt(this.soap,this.qrCode);constructor(e){super(e),this.certificate=e}};var zt=require("nfets/core");var Bm=class extends el{static{a(this,"NfceContingencyXmlAuthorizerPipeline")}certificate;qrCode=new Gt(this.certificates);transmitter=new jt(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,zt.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,zt.left)(r?.value??new zt.NFeTsError("NFC-e XML must be signed"))}return(0,zt.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,zt.left)(new zt.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,zt.left)(new zt.NFeTsError("NFC-e XML signature digest mismatch")):(0,zt.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,zt.right)(n)}signatureAlgorithm(e){return e.Signature?.SignedInfo?.Reference?.DigestMethod?.$?.Algorithm===zt.DigestAlgorithm.SHA256?zt.SignatureAlgorithm.SHA256:zt.SignatureAlgorithm.SHA1}};var Mm=class extends tc{static{a(this,"NfceVoidRangePipeline")}qrCode=new Gt(this.certificates);transmitter=new jt(this.soap,this.qrCode)};var Vm=class extends Kp{static{a(this,"NfceConsultStatusPipeline")}qrCode=new Gt(this.certificates);transmitter=new jt(this.soap,this.qrCode)};var Lm=class extends $p{static{a(this,"NfceConsultProtocoloPipeline")}qrCode=new Gt(this.certificates);transmitter=new jt(this.soap,this.qrCode)};var sS=dt(require("path"),1),Zc=require("nfets/core");var Po=require("class-validator");var L=require("class-validator"),Ke=require("class-transformer");var I=require("class-validator"),Xa=require("class-transformer"),ir=require("nfets/core"),d0=require("nfets/core");function z(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(z,"_ts_decorate");function M(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(M,"_ts_metadata");var tr=class{static{a(this,"RefNF")}cUF;AAMM;CNPJ;mod;serie;nNF};z([(0,I.IsString)(),M("design:type",String)],tr.prototype,"cUF",void 0);z([(0,I.IsString)(),M("design:type",String)],tr.prototype,"AAMM",void 0);z([(0,I.IsString)(),M("design:type",String)],tr.prototype,"CNPJ",void 0);z([(0,I.IsString)(),M("design:type",String)],tr.prototype,"mod",void 0);z([(0,I.IsString)(),M("design:type",String)],tr.prototype,"serie",void 0);z([(0,I.IsString)(),M("design:type",String)],tr.prototype,"nNF",void 0);var Wo=class{static{a(this,"RefNFP")}cUF;AAMM;CNPJ="";CPF="";IE;mod;serie;nNF};z([(0,I.IsString)(),M("design:type",String)],Wo.prototype,"cUF",void 0);z([(0,I.IsString)(),M("design:type",String)],Wo.prototype,"AAMM",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],Wo.prototype,"CNPJ",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],Wo.prototype,"CPF",void 0);z([(0,I.IsString)(),M("design:type",String)],Wo.prototype,"IE",void 0);z([(0,I.IsString)(),M("design:type",String)],Wo.prototype,"mod",void 0);z([(0,I.IsString)(),M("design:type",String)],Wo.prototype,"serie",void 0);z([(0,I.IsString)(),M("design:type",String)],Wo.prototype,"nNF",void 0);Wo=z([(0,ir.Choice)({properties:["CNPJ","CPF"],required:!0})],Wo);var oc=class{static{a(this,"RefECF")}mod;nECF;nCOO};z([(0,I.IsString)(),M("design:type",String)],oc.prototype,"mod",void 0);z([(0,I.IsString)(),M("design:type",String)],oc.prototype,"nECF",void 0);z([(0,I.IsString)(),M("design:type",String)],oc.prototype,"nCOO",void 0);var or=class{static{a(this,"NFref")}refNFe;refNFeSig;refNF;refNFP;refCTe;refECF};z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],or.prototype,"refNFe",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],or.prototype,"refNFeSig",void 0);z([(0,I.IsOptional)(),(0,I.ValidateNested)(),(0,Xa.Type)(()=>tr),M("design:type",typeof IRefNF>"u"?Object:IRefNF)],or.prototype,"refNF",void 0);z([(0,I.IsOptional)(),(0,I.ValidateNested)(),(0,Xa.Type)(()=>Wo),M("design:type",typeof IRefNFP>"u"?Object:IRefNFP)],or.prototype,"refNFP",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],or.prototype,"refCTe",void 0);z([(0,I.IsOptional)(),(0,I.ValidateNested)(),(0,Xa.Type)(()=>oc),M("design:type",typeof IRefECF>"u"?Object:IRefECF)],or.prototype,"refECF",void 0);var Ya=class{static{a(this,"CompraGov")}tpEnteGov;pRedutor;tpOperGov;refDFeAnt};z([(0,I.IsString)(),M("design:type",String)],Ya.prototype,"tpEnteGov",void 0);z([(0,ir.TransformDecimal)({fixed:4}),M("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ya.prototype,"pRedutor",void 0);z([(0,I.IsString)(),M("design:type",String)],Ya.prototype,"tpOperGov",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],Ya.prototype,"refDFeAnt",void 0);var Gu=class{static{a(this,"PagAntecipado")}refNFe};z([(0,I.IsArray)(),(0,I.ArrayMaxSize)(99),(0,I.IsString)({each:!0}),M("design:type",Array)],Gu.prototype,"refNFe",void 0);var K=class{static{a(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};z([(0,I.IsEnum)(d0.StateCodes),M("design:type",typeof StateCode>"u"?Object:StateCode)],K.prototype,"cUF",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"cNF",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"natOp",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"mod",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"serie",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"nNF",void 0);z([(0,ir.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),M("design:type",String)],K.prototype,"dhEmi",void 0);z([(0,I.IsOptional)(),(0,ir.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),M("design:type",String)],K.prototype,"dhSaiEnt",void 0);z([(0,I.IsOptional)(),(0,ir.TransformDateString)({format:"YYYY-MM-DD"}),M("design:type",String)],K.prototype,"dPrevEntrega",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"tpNF",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"idDest",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"cMunFG",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],K.prototype,"cMunFGIBS",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"tpImp",void 0);z([(0,I.IsString)(),M("design:type",typeof TpEmis>"u"?Object:TpEmis)],K.prototype,"tpEmis",void 0);z([(0,I.IsString)(),(0,I.IsOptional)(),M("design:type",String)],K.prototype,"cDV",void 0);z([(0,I.IsString)(),M("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],K.prototype,"tpAmb",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"finNFe",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],K.prototype,"tpNFDebito",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],K.prototype,"tpNFCredito",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"indFinal",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"indPres",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],K.prototype,"indIntermed",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],K.prototype,"cIndOp",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"procEmi",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"verProc",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),(0,ir.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),M("design:type",String)],K.prototype,"dhCont",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],K.prototype,"xJust",void 0);z([(0,I.IsOptional)(),(0,I.IsArray)(),(0,I.ArrayMaxSize)(999),(0,I.ValidateNested)({each:!0}),(0,Xa.Type)(()=>or),M("design:type",Array)],K.prototype,"NFref",void 0);z([(0,I.IsOptional)(),(0,I.ValidateNested)(),(0,Xa.Type)(()=>Ya),M("design:type",typeof ICompraGov>"u"?Object:ICompraGov)],K.prototype,"gCompraGov",void 0);z([(0,I.IsOptional)(),(0,I.ValidateNested)(),(0,Xa.Type)(()=>Gu),M("design:type",typeof IPagAntecipado>"u"?Object:IPagAntecipado)],K.prototype,"gPagAntecipado",void 0);var st=require("class-validator"),f0=require("nfets/core"),m0=require("class-transformer");var Zt=require("class-validator");function _i(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(_i,"_ts_decorate");function qi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(qi,"_ts_metadata");var Qt=class{static{a(this,"EnderEmit")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};_i([(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"xLgr",void 0);_i([(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"nro",void 0);_i([(0,Zt.IsOptional)(),(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"xCpl",void 0);_i([(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"xBairro",void 0);_i([(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"cMun",void 0);_i([(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"xMun",void 0);_i([(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"UF",void 0);_i([(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"CEP",void 0);_i([(0,Zt.IsOptional)(),(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"cPais",void 0);_i([(0,Zt.IsOptional)(),(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"xPais",void 0);_i([(0,Zt.IsOptional)(),(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"fone",void 0);function di(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(di,"_ts_decorate");function Ui(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ui,"_ts_metadata");var St=class{static{a(this,"Emit")}CNPJ="";CPF="";xNome;xFant;enderEmit;IE;IEST;IM;CNAE;CRT;ISUFEmit};di([(0,st.IsOptional)(),(0,st.IsString)(),Ui("design:type",String)],St.prototype,"CNPJ",void 0);di([(0,st.IsOptional)(),(0,st.IsString)(),Ui("design:type",String)],St.prototype,"CPF",void 0);di([(0,st.IsString)(),Ui("design:type",String)],St.prototype,"xNome",void 0);di([(0,st.IsOptional)(),(0,st.IsString)(),Ui("design:type",String)],St.prototype,"xFant",void 0);di([(0,st.ValidateNested)(),(0,m0.Type)(()=>Qt),Ui("design:type",typeof Qt>"u"?Object:Qt)],St.prototype,"enderEmit",void 0);di([(0,st.IsString)(),Ui("design:type",String)],St.prototype,"IE",void 0);di([(0,st.IsOptional)(),(0,st.IsString)(),Ui("design:type",String)],St.prototype,"IEST",void 0);di([(0,st.IsOptional)(),(0,st.IsString)(),Ui("design:type",String)],St.prototype,"IM",void 0);di([(0,st.IsOptional)(),(0,st.IsString)(),Ui("design:type",String)],St.prototype,"CNAE",void 0);di([(0,st.IsString)(),Ui("design:type",String)],St.prototype,"CRT",void 0);di([(0,st.IsOptional)(),(0,st.IsString)(),Ui("design:type",String)],St.prototype,"ISUFEmit",void 0);St=di([(0,f0.Choice)({properties:["CNPJ","CPF"],required:!0})],St);var et=require("class-validator"),h0=require("class-transformer");var je=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,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(ki,"_ts_decorate");function Hi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Hi,"_ts_metadata");var No=class{static{a(this,"EnderDest")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"xLgr",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"nro",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"xCpl",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"xBairro",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"cMun",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"xMun",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"UF",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"CEP",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"cPais",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"xPais",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"fone",void 0);var v0=require("nfets/core");function Gi(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Gi,"_ts_decorate");function Sn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Sn,"_ts_metadata");var Tt=class{static{a(this,"Dest")}CNPJ="";CPF="";idEstrangeiro;xNome;enderDest;indIEDest;IE;ISUF;IM;email};Gi([(0,et.IsOptional)(),(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"CNPJ",void 0);Gi([(0,et.IsOptional)(),(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"CPF",void 0);Gi([(0,et.IsOptional)(),(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"idEstrangeiro",void 0);Gi([(0,et.IsOptional)(),(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"xNome",void 0);Gi([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,h0.Type)(()=>No),Sn("design:type",typeof IEnderDest>"u"?Object:IEnderDest)],Tt.prototype,"enderDest",void 0);Gi([(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"indIEDest",void 0);Gi([(0,et.IsOptional)(),(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"IE",void 0);Gi([(0,et.IsOptional)(),(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"ISUF",void 0);Gi([(0,et.IsOptional)(),(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"IM",void 0);Gi([(0,et.IsOptional)(),(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"email",void 0);Tt=Gi([(0,v0.Choice)({properties:["CNPJ","CPF"],required:!0})],Tt);var be=require("class-validator"),g0=require("nfets/core");function Yt(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Yt,"_ts_decorate");function to(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(to,"_ts_metadata");var we=class{static{a(this,"Local")}CNPJ;CPF;xNome;xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone;email;IE};Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"CNPJ",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"CPF",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"xNome",void 0);Yt([(0,be.IsString)(),to("design:type",String)],we.prototype,"xLgr",void 0);Yt([(0,be.IsString)(),to("design:type",String)],we.prototype,"nro",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"xCpl",void 0);Yt([(0,be.IsString)(),to("design:type",String)],we.prototype,"xBairro",void 0);Yt([(0,be.IsString)(),to("design:type",String)],we.prototype,"cMun",void 0);Yt([(0,be.IsString)(),to("design:type",String)],we.prototype,"xMun",void 0);Yt([(0,be.IsString)(),to("design:type",String)],we.prototype,"UF",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"CEP",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"cPais",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"xPais",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"fone",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"email",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"IE",void 0);we=Yt([(0,g0.Choice)({properties:["CNPJ","CPF"]})],we);var ic=require("class-validator"),x0=require("nfets/core");function _m(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(_m,"_ts_decorate");function y0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(y0,"_ts_metadata");var Cn=class{static{a(this,"AutXML")}CNPJ;CPF};_m([(0,ic.IsOptional)(),(0,ic.IsString)(),y0("design:type",String)],Cn.prototype,"CNPJ",void 0);_m([(0,ic.IsOptional)(),(0,ic.IsString)(),y0("design:type",String)],Cn.prototype,"CPF",void 0);Cn=_m([(0,x0.Choice)({properties:["CNPJ","CPF"]})],Cn);var tl=require("class-validator");function b0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(b0,"_ts_decorate");function S0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(S0,"_ts_metadata");var Qr=class{static{a(this,"InfIntermed")}CNPJ;idCadIntTran};b0([(0,tl.IsString)(),S0("design:type",String)],Qr.prototype,"CNPJ",void 0);b0([(0,tl.IsOptional)(),(0,tl.IsString)(),S0("design:type",String)],Qr.prototype,"idCadIntTran",void 0);var Ja=require("class-validator");function qm(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(qm,"_ts_decorate");function Um(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Um,"_ts_metadata");var nr=class{static{a(this,"Exporta")}UFSaidaPais;xLocExporta;xLocDespacho};qm([(0,Ja.IsString)(),Um("design:type",String)],nr.prototype,"UFSaidaPais",void 0);qm([(0,Ja.IsOptional)(),(0,Ja.IsString)(),Um("design:type",String)],nr.prototype,"xLocExporta",void 0);qm([(0,Ja.IsOptional)(),(0,Ja.IsString)(),Um("design:type",String)],nr.prototype,"xLocDespacho",void 0);var Zr=require("class-validator");function km(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(km,"_ts_decorate");function Hm(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Hm,"_ts_metadata");var rr=class{static{a(this,"Compra")}xNEmp;xPed;xCont};km([(0,Zr.IsOptional)(),(0,Zr.IsString)(),Hm("design:type",String)],rr.prototype,"xNEmp",void 0);km([(0,Zr.IsOptional)(),(0,Zr.IsString)(),Hm("design:type",String)],rr.prototype,"xPed",void 0);km([(0,Zr.IsOptional)(),(0,Zr.IsString)(),Hm("design:type",String)],rr.prototype,"xCont",void 0);var Nn=require("class-validator");function nc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(nc,"_ts_decorate");function rc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(rc,"_ts_metadata");var fi=class{static{a(this,"InfRespTec")}CNPJ;xContato;email;fone;idCSRT;hashCSRT};nc([(0,Nn.IsString)(),rc("design:type",String)],fi.prototype,"CNPJ",void 0);nc([(0,Nn.IsString)(),rc("design:type",String)],fi.prototype,"xContato",void 0);nc([(0,Nn.IsString)(),rc("design:type",String)],fi.prototype,"email",void 0);nc([(0,Nn.IsString)(),rc("design:type",String)],fi.prototype,"fone",void 0);nc([(0,Nn.IsOptional)(),(0,Nn.IsString)(),rc("design:type",String)],fi.prototype,"idCSRT",void 0);nc([(0,Nn.IsOptional)(),(0,Nn.IsString)(),rc("design:type",String)],fi.prototype,"hashCSRT",void 0);var gi=require("class-validator"),fc=require("class-transformer");var Qi=require("class-validator"),pe=require("nfets/core");function de(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(de,"_ts_decorate");function fe(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(fe,"_ts_metadata");var ne=class{static{a(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};de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vBC",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMS",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSDeson",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vFCPUFDest",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSUFDest",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSUFRemet",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vFCP",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vBCST",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vST",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vFCPST",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vFCPSTRet",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"qBCMono",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSMono",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"qBCMonoReten",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSMonoReten",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"qBCMonoRet",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSMonoRet",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vProd",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vFrete",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vSeg",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vDesc",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vII",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vIPI",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vIPIDevol",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vPIS",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vCOFINS",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vOutro",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vNF",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vTotTrib",void 0);var Ro=require("class-validator"),Zi=require("nfets/core");function mi(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(mi,"_ts_decorate");function hi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(hi,"_ts_metadata");var oo=class{static{a(this,"ISSQNtot")}vServ;vBC;vISS;vPIS;vCOFINS;dCompet;vDeducao;vOutro;vDescIncond;vDescCond;vISSRet;cRegTrib};mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vServ",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vBC",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vISS",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vPIS",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vCOFINS",void 0);mi([(0,Ro.IsString)(),hi("design:type",String)],oo.prototype,"dCompet",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vDeducao",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vOutro",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vDescIncond",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vDescCond",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vISSRet",void 0);mi([(0,Ro.IsOptional)(),(0,Ro.IsString)(),hi("design:type",String)],oo.prototype,"cRegTrib",void 0);var Yr=require("class-validator"),Xr=require("nfets/core");function Wa(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Wa,"_ts_decorate");function Ka(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ka,"_ts_metadata");var Yi=class{static{a(this,"RetTrib")}vRetPIS;vRetCOFINS;vRetCSLL;vBCIRRF;vIRRF;vBCRetPrev;vRetPrev};Wa([(0,Yr.IsOptional)(),(0,Xr.TransformDecimal)({fixed:2}),Ka("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yi.prototype,"vRetPIS",void 0);Wa([(0,Yr.IsOptional)(),(0,Xr.TransformDecimal)({fixed:2}),Ka("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yi.prototype,"vRetCOFINS",void 0);Wa([(0,Yr.IsOptional)(),(0,Xr.TransformDecimal)({fixed:2}),Ka("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yi.prototype,"vRetCSLL",void 0);Wa([(0,Yr.IsOptional)(),(0,Xr.TransformDecimal)({fixed:2}),Ka("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yi.prototype,"vBCIRRF",void 0);Wa([(0,Yr.IsOptional)(),(0,Xr.TransformDecimal)({fixed:2}),Ka("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yi.prototype,"vIRRF",void 0);Wa([(0,Yr.IsOptional)(),(0,Xr.TransformDecimal)({fixed:2}),Ka("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yi.prototype,"vBCRetPrev",void 0);Wa([(0,Yr.IsOptional)(),(0,Xr.TransformDecimal)({fixed:2}),Ka("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yi.prototype,"vRetPrev",void 0);var Ji=require("class-validator");var sr=require("class-validator");var Qu=require("nfets/core");function Gm(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Gm,"_ts_decorate");function Qm(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Qm,"_ts_metadata");var $a=class{static{a(this,"IBSMunTot")}vDif="0.00";vDevTrib="0.00";vIBSMun="0.00"};Gm([(0,Qu.TransformDecimal)({fixed:2}),Qm("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$a.prototype,"vDif",void 0);Gm([(0,Qu.TransformDecimal)({fixed:2}),Qm("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$a.prototype,"vDevTrib",void 0);Gm([(0,Qu.TransformDecimal)({fixed:2}),Qm("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$a.prototype,"vIBSMun",void 0);var Xm=require("class-transformer");var Zu=require("nfets/core");function Zm(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Zm,"_ts_decorate");function Ym(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ym,"_ts_metadata");var es=class{static{a(this,"IBSUFTot")}vDif="0.00";vDevTrib="0.00";vIBSUF="0.00"};Zm([(0,Zu.TransformDecimal)({fixed:2}),Ym("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"vDif",void 0);Zm([(0,Zu.TransformDecimal)({fixed:2}),Ym("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"vDevTrib",void 0);Zm([(0,Zu.TransformDecimal)({fixed:2}),Ym("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"vIBSUF",void 0);var Yu=require("nfets/core");function ol(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(ol,"_ts_decorate");function il(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(il,"_ts_metadata");var ar=class{static{a(this,"IBSTot")}gIBSUF;gIBSMun;vIBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};ol([(0,sr.IsOptional)(),(0,sr.ValidateNested)(),(0,Xm.Type)(()=>es),il("design:type",typeof IIBSUFTot>"u"?Object:IIBSUFTot)],ar.prototype,"gIBSUF",void 0);ol([(0,sr.IsOptional)(),(0,sr.ValidateNested)(),(0,Xm.Type)(()=>$a),il("design:type",typeof IIBSMunTot>"u"?Object:IIBSMunTot)],ar.prototype,"gIBSMun",void 0);ol([(0,sr.IsOptional)(),(0,Yu.TransformDecimal)({fixed:2}),il("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ar.prototype,"vIBS",void 0);ol([(0,sr.IsOptional)(),(0,Yu.TransformDecimal)({fixed:2}),il("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ar.prototype,"vCredPres",void 0);ol([(0,sr.IsOptional)(),(0,Yu.TransformDecimal)({fixed:2}),il("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ar.prototype,"vCredPresCondSus",void 0);var R0=require("nfets/core"),cl=require("class-transformer");var ac=require("nfets/core"),sc=require("class-validator");function nl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(nl,"_ts_decorate");function rl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(rl,"_ts_metadata");var cr=class{static{a(this,"CBSTot")}vDif="0.00";vDevTrib="0.00";vCBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};nl([(0,sc.IsOptional)(),(0,ac.TransformDecimal)({fixed:2}),rl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cr.prototype,"vDif",void 0);nl([(0,sc.IsOptional)(),(0,ac.TransformDecimal)({fixed:2}),rl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cr.prototype,"vDevTrib",void 0);nl([(0,sc.IsOptional)(),(0,ac.TransformDecimal)({fixed:2}),rl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cr.prototype,"vCBS",void 0);nl([(0,sc.IsOptional)(),(0,ac.TransformDecimal)({fixed:2}),rl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cr.prototype,"vCredPres",void 0);nl([(0,sc.IsOptional)(),(0,ac.TransformDecimal)({fixed:2}),rl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cr.prototype,"vCredPresCondSus",void 0);var ts=require("nfets/core"),os=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,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(cc,"_ts_decorate");function pc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(pc,"_ts_metadata");var Rn=class{static{a(this,"IBSMonoTot")}vIBSMono="0.00";vCBSMono="0.00";vIBSMonoReten="0.00";vCBSMonoReten="0.00";vIBSMonoRet="0.00";vCBSMonoRet="0.00"};cc([(0,os.IsOptional)(),(0,ts.TransformDecimal)({fixed:2}),pc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rn.prototype,"vIBSMono",void 0);cc([(0,os.IsOptional)(),(0,ts.TransformDecimal)({fixed:2}),pc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rn.prototype,"vCBSMono",void 0);cc([(0,os.IsOptional)(),(0,ts.TransformDecimal)({fixed:2}),pc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rn.prototype,"vIBSMonoReten",void 0);cc([(0,os.IsOptional)(),(0,ts.TransformDecimal)({fixed:2}),pc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rn.prototype,"vCBSMonoReten",void 0);cc([(0,os.IsOptional)(),(0,ts.TransformDecimal)({fixed:2}),pc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rn.prototype,"vIBSMonoRet",void 0);cc([(0,os.IsOptional)(),(0,ts.TransformDecimal)({fixed:2}),pc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rn.prototype,"vCBSMonoRet",void 0);var Jm=require("class-validator"),Wm=require("nfets/core");function C0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(C0,"_ts_decorate");function N0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(N0,"_ts_metadata");var lc=class{static{a(this,"EstornoCredTot")}vIBSEstCred;vCBSEstCred};C0([(0,Jm.IsOptional)(),(0,Wm.TransformDecimal)({fixed:2}),N0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lc.prototype,"vIBSEstCred",void 0);C0([(0,Jm.IsOptional)(),(0,Wm.TransformDecimal)({fixed:2}),N0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lc.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,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(al,"_ts_decorate");function sl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(sl,"_ts_metadata");var Xi=class{static{a(this,"IBSCBSTot")}vBCIBSCBS="0.00";gIBS;gCBS;gMono;gEstornoCred};al([(0,Ji.IsOptional)(),(0,R0.TransformDecimal)({fixed:2}),sl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xi.prototype,"vBCIBSCBS",void 0);al([(0,Ji.IsOptional)(),(0,Ji.ValidateNested)(),(0,cl.Type)(()=>ar),sl("design:type",typeof IIBSTot>"u"?Object:IIBSTot)],Xi.prototype,"gIBS",void 0);al([(0,Ji.IsOptional)(),(0,Ji.ValidateNested)(),(0,cl.Type)(()=>cr),sl("design:type",typeof ICBSTot>"u"?Object:ICBSTot)],Xi.prototype,"gCBS",void 0);al([(0,Ji.IsOptional)(),(0,Ji.ValidateNested)(),(0,cl.Type)(()=>Rn),sl("design:type",typeof IIBSMonoTot>"u"?Object:IIBSMonoTot)],Xi.prototype,"gMono",void 0);al([(0,Ji.IsOptional)(),(0,Ji.ValidateNested)(),(0,cl.Type)(()=>lc),sl("design:type",typeof IEstornoCredTot>"u"?Object:IEstornoCredTot)],Xi.prototype,"gEstornoCred",void 0);var w0=require("nfets/core"),I0=require("class-validator");function SA(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(SA,"_ts_decorate");function CA(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(CA,"_ts_metadata");var is=class{static{a(this,"ISTot")}vIS="0.00"};SA([(0,I0.IsOptional)(),(0,w0.TransformDecimal)({fixed:2}),CA("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],is.prototype,"vIS",void 0);var O0=require("nfets/core");function uc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(uc,"_ts_decorate");function dc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(dc,"_ts_metadata");var vi=class{static{a(this,"Total")}ICMSTot;ISSQNtot;retTrib;ISTot;IBSCBSTot;vNFTot};uc([(0,gi.ValidateNested)(),(0,fc.Type)(()=>ne),dc("design:type",typeof IICMSTot>"u"?Object:IICMSTot)],vi.prototype,"ICMSTot",void 0);uc([(0,gi.IsOptional)(),(0,gi.ValidateNested)(),(0,fc.Type)(()=>oo),dc("design:type",typeof IISSQNTot>"u"?Object:IISSQNTot)],vi.prototype,"ISSQNtot",void 0);uc([(0,gi.IsOptional)(),(0,gi.ValidateNested)(),(0,fc.Type)(()=>Yi),dc("design:type",typeof IRetTrib>"u"?Object:IRetTrib)],vi.prototype,"retTrib",void 0);uc([(0,gi.IsOptional)(),(0,gi.ValidateNested)(),(0,fc.Type)(()=>is),dc("design:type",typeof IISTot>"u"?Object:IISTot)],vi.prototype,"ISTot",void 0);uc([(0,gi.IsOptional)(),(0,gi.ValidateNested)(),(0,fc.Type)(()=>Xi),dc("design:type",typeof IIBSCBSTot>"u"?Object:IIBSCBSTot)],vi.prototype,"IBSCBSTot",void 0);uc([(0,gi.IsOptional)(),(0,O0.TransformDecimal)({fixed:2}),dc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vi.prototype,"vNFTot",void 0);var ct=require("class-validator"),bc=require("class-transformer");var no=require("class-validator"),F0=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,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Jr,"_ts_decorate");function ns(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ns,"_ts_metadata");var io=class{static{a(this,"Transporta")}CNPJ;CPF;xNome;IE;xEnder;xMun;UF};Jr([(0,no.IsOptional)(),(0,no.IsString)(),ns("design:type",String)],io.prototype,"CNPJ",void 0);Jr([(0,no.IsOptional)(),(0,no.IsString)(),ns("design:type",String)],io.prototype,"CPF",void 0);Jr([(0,no.IsOptional)(),(0,no.IsString)(),ns("design:type",String)],io.prototype,"xNome",void 0);Jr([(0,no.IsOptional)(),(0,no.IsString)(),ns("design:type",String)],io.prototype,"IE",void 0);Jr([(0,no.IsOptional)(),(0,no.IsString)(),ns("design:type",String)],io.prototype,"xEnder",void 0);Jr([(0,no.IsOptional)(),(0,no.IsString)(),ns("design:type",String)],io.prototype,"xMun",void 0);Jr([(0,no.IsOptional)(),(0,no.IsString)(),ns("design:type",String)],io.prototype,"UF",void 0);io=Jr([(0,F0.Choice)({properties:["CNPJ","CPF"]})],io);var wn=require("class-validator"),pl=require("nfets/core");function mc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(mc,"_ts_decorate");function hc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(hc,"_ts_metadata");var Ko=class{static{a(this,"RetTransp")}vServ;vBCRet;pICMSRet;vICMSRet;CFOP;cMunFG};mc([(0,wn.IsOptional)(),(0,pl.TransformDecimal)({fixed:2}),hc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ko.prototype,"vServ",void 0);mc([(0,wn.IsOptional)(),(0,pl.TransformDecimal)({fixed:2}),hc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ko.prototype,"vBCRet",void 0);mc([(0,wn.IsOptional)(),(0,pl.TransformDecimal)({fixed:4}),hc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ko.prototype,"pICMSRet",void 0);mc([(0,wn.IsOptional)(),(0,pl.TransformDecimal)({fixed:2}),hc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ko.prototype,"vICMSRet",void 0);mc([(0,wn.IsOptional)(),(0,wn.IsString)(),hc("design:type",String)],Ko.prototype,"CFOP",void 0);mc([(0,wn.IsOptional)(),(0,wn.IsString)(),hc("design:type",String)],Ko.prototype,"cMunFG",void 0);var _o=require("class-validator");function vc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(vc,"_ts_decorate");function gc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(gc,"_ts_metadata");var In=class{static{a(this,"VeicTransp")}placa;UF;RNTC};vc([(0,_o.IsOptional)(),(0,_o.IsString)(),gc("design:type",String)],In.prototype,"placa",void 0);vc([(0,_o.IsOptional)(),(0,_o.IsString)(),gc("design:type",String)],In.prototype,"UF",void 0);vc([(0,_o.IsOptional)(),(0,_o.IsString)(),gc("design:type",String)],In.prototype,"RNTC",void 0);var rs=class{static{a(this,"Reboque")}placa;UF;RNTC};vc([(0,_o.IsOptional)(),(0,_o.IsString)(),gc("design:type",String)],rs.prototype,"placa",void 0);vc([(0,_o.IsOptional)(),(0,_o.IsString)(),gc("design:type",String)],rs.prototype,"UF",void 0);vc([(0,_o.IsOptional)(),(0,_o.IsString)(),gc("design:type",String)],rs.prototype,"RNTC",void 0);var yi=require("class-validator"),Km=require("nfets/core");function yc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(yc,"_ts_decorate");function xc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(xc,"_ts_metadata");var On=class{static{a(this,"Vol")}qVol;esp;marca;nVol;pesoL;pesoB};yc([(0,yi.IsOptional)(),(0,yi.IsString)(),xc("design:type",String)],On.prototype,"qVol",void 0);yc([(0,yi.IsOptional)(),(0,yi.IsString)(),xc("design:type",String)],On.prototype,"esp",void 0);yc([(0,yi.IsOptional)(),(0,yi.IsString)(),xc("design:type",String)],On.prototype,"marca",void 0);yc([(0,yi.IsOptional)(),(0,yi.IsString)(),xc("design:type",String)],On.prototype,"nVol",void 0);yc([(0,yi.IsOptional)(),(0,Km.TransformDecimal)({fixed:3}),xc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],On.prototype,"pesoL",void 0);yc([(0,yi.IsOptional)(),(0,Km.TransformDecimal)({fixed:3}),xc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],On.prototype,"pesoB",void 0);var $m=require("nfets/core");function pr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(pr,"_ts_decorate");function Wr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Wr,"_ts_metadata");var ro=class{static{a(this,"Transp")}modFrete;transporta;retTransp;veicTransp;reboque;vagao;balsa;vol};pr([(0,ct.IsString)(),Wr("design:type",String)],ro.prototype,"modFrete",void 0);pr([(0,ct.IsOptional)(),(0,ct.ValidateNested)(),(0,bc.Type)(()=>io),Wr("design:type",typeof io>"u"?Object:io)],ro.prototype,"transporta",void 0);pr([(0,ct.IsOptional)(),(0,ct.ValidateNested)(),(0,bc.Type)(()=>Ko),Wr("design:type",typeof Ko>"u"?Object:Ko)],ro.prototype,"retTransp",void 0);pr([(0,ct.IsOptional)(),(0,ct.ValidateNested)(),(0,bc.Type)(()=>In),Wr("design:type",typeof In>"u"?Object:In)],ro.prototype,"veicTransp",void 0);pr([(0,ct.IsOptional)(),(0,ct.ValidateNested)({each:!0}),(0,bc.Type)(()=>rs),(0,ct.ArrayMaxSize)(5),Wr("design:type",Array)],ro.prototype,"reboque",void 0);pr([(0,ct.IsOptional)(),(0,ct.IsString)(),Wr("design:type",String)],ro.prototype,"vagao",void 0);pr([(0,ct.IsOptional)(),(0,ct.IsString)(),Wr("design:type",String)],ro.prototype,"balsa",void 0);pr([(0,ct.IsOptional)(),(0,ct.ValidateNested)({each:!0}),(0,bc.Type)(()=>On),(0,ct.ArrayMaxSize)(5e3),Wr("design:type",Array)],ro.prototype,"vol",void 0);ro=pr([(0,$m.Choice)({properties:["veicTransp","reboque"]}),(0,$m.Choice)({properties:["vagao","balsa"]})],ro);var Ct=require("class-validator"),eh=require("class-transformer"),ll=require("nfets/core");function ur(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(ur,"_ts_decorate");function dr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(dr,"_ts_metadata");var lr=class{static{a(this,"Fat")}nFat;vOrig;vDesc;vLiq};ur([(0,Ct.IsOptional)(),(0,Ct.IsString)(),dr("design:type",String)],lr.prototype,"nFat",void 0);ur([(0,Ct.IsOptional)(),(0,ll.TransformDecimal)({fixed:2}),dr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lr.prototype,"vOrig",void 0);ur([(0,Ct.IsOptional)(),(0,ll.TransformDecimal)({fixed:2}),dr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lr.prototype,"vDesc",void 0);ur([(0,Ct.IsOptional)(),(0,ll.TransformDecimal)({fixed:2}),dr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lr.prototype,"vLiq",void 0);var Sc=class{static{a(this,"Dup")}nDup;dVenc;vDup};ur([(0,Ct.IsOptional)(),(0,Ct.IsString)(),dr("design:type",String)],Sc.prototype,"nDup",void 0);ur([(0,Ct.IsOptional)(),(0,Ct.IsString)(),dr("design:type",String)],Sc.prototype,"dVenc",void 0);ur([(0,Ct.IsOptional)(),(0,ll.TransformDecimal)({fixed:2}),dr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sc.prototype,"vDup",void 0);var Kr=class{static{a(this,"Cobr")}fat;dup};ur([(0,Ct.IsOptional)(),(0,Ct.ValidateNested)(),(0,eh.Type)(()=>lr),dr("design:type",typeof lr>"u"?Object:lr)],Kr.prototype,"fat",void 0);ur([(0,Ct.IsOptional)(),(0,Ct.ValidateNested)({each:!0}),(0,Ct.ArrayMaxSize)(120),(0,eh.Type)(()=>Sc),dr("design:type",Array)],Kr.prototype,"dup",void 0);var oa=require("class-validator"),E0=require("class-transformer");var wo=require("class-validator"),A0=require("class-transformer");var qo=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,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Cc,"_ts_decorate");function Nc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Nc,"_ts_metadata");var $o=class{static{a(this,"Card")}tpIntegra;CNPJ;tBand;cAut;CNPJReceb;idTermPag};Cc([(0,qo.IsOptional)(),(0,qo.IsString)(),Nc("design:type",String)],$o.prototype,"tpIntegra",void 0);Cc([(0,qo.IsOptional)(),(0,qo.IsString)(),Nc("design:type",String)],$o.prototype,"CNPJ",void 0);Cc([(0,qo.IsOptional)(),(0,qo.IsString)(),Nc("design:type",String)],$o.prototype,"tBand",void 0);Cc([(0,qo.IsOptional)(),(0,qo.IsString)(),Nc("design:type",String)],$o.prototype,"cAut",void 0);Cc([(0,qo.IsOptional)(),(0,qo.IsString)(),Nc("design:type",String)],$o.prototype,"CNPJReceb",void 0);Cc([(0,qo.IsOptional)(),(0,qo.IsString)(),Nc("design:type",String)],$o.prototype,"idTermPag",void 0);var Xu=require("nfets/core");function $r(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a($r,"_ts_decorate");function ea(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ea,"_ts_metadata");var xi=class{static{a(this,"DetPag")}indPag;tPag;xPag;vPag;dPag;CNPJPag;UFPag;card};$r([(0,wo.IsOptional)(),(0,wo.IsString)(),ea("design:type",String)],xi.prototype,"indPag",void 0);$r([(0,wo.IsString)(),ea("design:type",typeof TPag>"u"?Object:TPag)],xi.prototype,"tPag",void 0);$r([(0,wo.IsOptional)(),(0,wo.IsString)(),ea("design:type",String)],xi.prototype,"xPag",void 0);$r([(0,Xu.TransformDecimal)({fixed:2}),ea("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xi.prototype,"vPag",void 0);$r([(0,wo.IsOptional)(),(0,Xu.TransformDateString)({format:"YYYY-MM-DD"}),ea("design:type",String)],xi.prototype,"dPag",void 0);$r([(0,wo.IsOptional)(),(0,wo.IsString)(),ea("design:type",String)],xi.prototype,"CNPJPag",void 0);$r([(0,wo.IsOptional)(),(0,wo.IsString)(),ea("design:type",String)],xi.prototype,"UFPag",void 0);$r([(0,wo.IsOptional)(),(0,wo.ValidateNested)(),(0,A0.Type)(()=>$o),ea("design:type",typeof $o>"u"?Object:$o)],xi.prototype,"card",void 0);var j0=require("nfets/core");function D0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(D0,"_ts_decorate");function P0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(P0,"_ts_metadata");var ta=class{static{a(this,"Pag")}detPag;vTroco};D0([(0,oa.ValidateNested)({each:!0}),(0,oa.ArrayMinSize)(1),(0,oa.ArrayMaxSize)(100),(0,E0.Type)(()=>xi),P0("design:type",Array)],ta.prototype,"detPag",void 0);D0([(0,oa.IsOptional)(),(0,j0.TransformDecimal)({fixed:2}),P0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ta.prototype,"vTroco",void 0);var Je=require("class-validator"),Ju=require("class-transformer");function fr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(fr,"_ts_decorate");function mr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(mr,"_ts_metadata");var Rc=class{static{a(this,"InfAdicObs")}xCampo;xTexto};fr([(0,Je.IsString)(),mr("design:type",String)],Rc.prototype,"xCampo",void 0);fr([(0,Je.IsString)(),mr("design:type",String)],Rc.prototype,"xTexto",void 0);var ul=class{static{a(this,"ProcRef")}nProc;indProc};fr([(0,Je.IsOptional)(),(0,Je.IsString)(),mr("design:type",String)],ul.prototype,"nProc",void 0);fr([(0,Je.IsOptional)(),(0,Je.IsString)(),mr("design:type",String)],ul.prototype,"indProc",void 0);var Wi=class{static{a(this,"InfAdic")}infAdFisco;infCpl;obsCont;obsFisco;procRef};fr([(0,Je.IsOptional)(),(0,Je.IsString)(),mr("design:type",String)],Wi.prototype,"infAdFisco",void 0);fr([(0,Je.IsOptional)(),(0,Je.IsString)(),mr("design:type",String)],Wi.prototype,"infCpl",void 0);fr([(0,Je.IsOptional)(),(0,Je.ValidateNested)({each:!0}),(0,Ju.Type)(()=>Rc),(0,Je.ArrayMaxSize)(10),mr("design:type",Array)],Wi.prototype,"obsCont",void 0);fr([(0,Je.IsOptional)(),(0,Je.ValidateNested)({each:!0}),(0,Ju.Type)(()=>Rc),(0,Je.ArrayMaxSize)(10),mr("design:type",Array)],Wi.prototype,"obsFisco",void 0);fr([(0,Je.IsOptional)(),(0,Je.ValidateNested)({each:!0}),(0,Ju.Type)(()=>ul),(0,Je.ArrayMaxSize)(100),mr("design:type",Array)],Wi.prototype,"procRef",void 0);var Ne=require("class-validator"),Ku=require("class-transformer"),ml=require("nfets/core");function Io(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Io,"_ts_decorate");function Oo(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Oo,"_ts_metadata");var Wu=class{static{a(this,"ForDiaAttributes")}dia};Io([(0,Ne.IsString)(),Oo("design:type",String)],Wu.prototype,"dia",void 0);var dl=class{static{a(this,"ForDia")}$;qtde};Io([(0,Ne.IsObject)(),(0,Ne.IsNotEmptyObject)(),(0,Ku.Type)(()=>Wu),Oo("design:type",typeof IForDiaAttributes>"u"?Object:IForDiaAttributes)],dl.prototype,"$",void 0);Io([(0,Ne.IsString)(),Oo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dl.prototype,"qtde",void 0);var fl=class{static{a(this,"Deduc")}xDed;vDed};Io([(0,Ne.IsString)(),Oo("design:type",String)],fl.prototype,"xDed",void 0);Io([(0,ml.TransformDecimal)({fixed:2}),Oo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fl.prototype,"vDed",void 0);var ao=class{static{a(this,"Cana")}safra;ref;forDia;qTotMes;qTotAnt;qTotGer;deduc;vFor;vTotDed;vLiqFor};Io([(0,Ne.IsString)(),Oo("design:type",String)],ao.prototype,"safra",void 0);Io([(0,Ne.IsString)(),Oo("design:type",String)],ao.prototype,"ref",void 0);Io([(0,Ne.ValidateNested)({each:!0}),(0,Ne.ArrayMaxSize)(31),(0,Ku.Type)(()=>dl),Oo("design:type",Array)],ao.prototype,"forDia",void 0);Io([(0,Ne.IsOptional)(),(0,Ne.IsString)(),Oo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"qTotMes",void 0);Io([(0,Ne.IsOptional)(),(0,Ne.IsString)(),Oo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"qTotAnt",void 0);Io([(0,Ne.IsOptional)(),(0,Ne.IsString)(),Oo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"qTotGer",void 0);Io([(0,Ne.IsOptional)(),(0,Ne.ValidateNested)({each:!0}),(0,Ne.ArrayMaxSize)(10),(0,Ku.Type)(()=>fl),Oo("design:type",Array)],ao.prototype,"deduc",void 0);Io([(0,Ne.IsOptional)(),(0,ml.TransformDecimal)({fixed:2}),Oo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"vFor",void 0);Io([(0,Ne.IsOptional)(),(0,ml.TransformDecimal)({fixed:2}),Oo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"vTotDed",void 0);Io([(0,Ne.IsOptional)(),(0,ml.TransformDecimal)({fixed:2}),Oo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"vLiqFor",void 0);var Nt=require("class-validator"),vs=require("class-transformer");var O=require("class-validator"),Fn=require("nfets/core"),$i=require("class-transformer");var Ki=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,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(hl,"_ts_decorate");function vl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(vl,"_ts_metadata");var hr=class{static{a(this,"Rastro")}nLote;qLote;dFab;dVal;cAgreg};hl([(0,Ki.IsString)(),vl("design:type",String)],hr.prototype,"nLote",void 0);hl([(0,Ki.IsOptional)(),(0,Ki.IsString)(),vl("design:type",String)],hr.prototype,"qLote",void 0);hl([(0,Ki.IsOptional)(),(0,Ki.IsString)(),vl("design:type",String)],hr.prototype,"dFab",void 0);hl([(0,Ki.IsOptional)(),(0,Ki.IsString)(),vl("design:type",String)],hr.prototype,"dVal",void 0);hl([(0,Ki.IsOptional)(),(0,Ki.IsString)(),vl("design:type",String)],hr.prototype,"cAgreg",void 0);var U0=require("nfets/core");var me=require("class-validator"),z0=require("class-transformer"),gl=require("nfets/core");function Mt(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Mt,"_ts_decorate");function Xt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Xt,"_ts_metadata");var ia=class{static{a(this,"Adi")}nAdicao;nSeqAdic;cFabricante;vDescDI;nDraw};Mt([(0,me.IsString)(),Xt("design:type",String)],ia.prototype,"nAdicao",void 0);Mt([(0,me.IsString)(),Xt("design:type",String)],ia.prototype,"nSeqAdic",void 0);Mt([(0,me.IsString)(),Xt("design:type",String)],ia.prototype,"cFabricante",void 0);Mt([(0,gl.TransformDecimal)({fixed:2}),Xt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ia.prototype,"vDescDI",void 0);Mt([(0,me.IsOptional)(),(0,me.IsString)(),Xt("design:type",String)],ia.prototype,"nDraw",void 0);var Bt=class{static{a(this,"DI")}nDI;dDI;xLocDesemb;UFDesemb;dDesemb;tpViaTransp;vAFRMM;tpIntermedio;CNPJ="";CPF="";UFTerceiro;adi};Mt([(0,me.IsString)(),Xt("design:type",String)],Bt.prototype,"nDI",void 0);Mt([(0,me.IsString)(),Xt("design:type",String)],Bt.prototype,"dDI",void 0);Mt([(0,me.IsString)(),Xt("design:type",String)],Bt.prototype,"xLocDesemb",void 0);Mt([(0,me.IsString)(),Xt("design:type",String)],Bt.prototype,"UFDesemb",void 0);Mt([(0,me.IsString)(),Xt("design:type",String)],Bt.prototype,"dDesemb",void 0);Mt([(0,me.IsString)(),Xt("design:type",String)],Bt.prototype,"tpViaTransp",void 0);Mt([(0,me.IsOptional)(),(0,gl.TransformDecimal)({fixed:2}),Xt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bt.prototype,"vAFRMM",void 0);Mt([(0,me.IsString)(),Xt("design:type",String)],Bt.prototype,"tpIntermedio",void 0);Mt([(0,me.IsString)(),(0,me.IsOptional)(),Xt("design:type",String)],Bt.prototype,"CNPJ",void 0);Mt([(0,me.IsString)(),(0,me.IsOptional)(),Xt("design:type",String)],Bt.prototype,"CPF",void 0);Mt([(0,me.IsString)(),(0,me.IsOptional)(),Xt("design:type",String)],Bt.prototype,"UFTerceiro",void 0);Mt([(0,me.IsArray)(),(0,me.ValidateNested)({each:!0}),(0,z0.Type)(()=>ia),(0,me.ArrayMaxSize)(999),(0,me.ArrayMinSize)(1),Xt("design:type",Array)],Bt.prototype,"adi",void 0);Bt=Mt([(0,gl.Choice)({properties:["CNPJ","CPF"],required:!0})],Bt);var T0=require("class-transformer"),vr=require("class-validator"),B0=require("nfets/core");function yl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(yl,"_ts_decorate");function xl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(xl,"_ts_metadata");var wc=class{static{a(this,"ExportInd")}nRE;chNFe;qExport};yl([(0,vr.IsString)(),xl("design:type",String)],wc.prototype,"nRE",void 0);yl([(0,vr.IsString)(),xl("design:type",String)],wc.prototype,"chNFe",void 0);yl([(0,B0.TransformDecimal)({fixed:4}),xl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wc.prototype,"qExport",void 0);var Ic=class{static{a(this,"DetExport")}nDraw;exportInd};yl([(0,vr.IsOptional)(),(0,vr.IsString)(),xl("design:type",String)],Ic.prototype,"nDraw",void 0);yl([(0,vr.IsOptional)(),(0,vr.ValidateNested)(),(0,T0.Type)(()=>wc),xl("design:type",typeof IExportInd>"u"?Object:IExportInd)],Ic.prototype,"exportInd",void 0);var th=require("class-validator");function M0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(M0,"_ts_decorate");function V0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(V0,"_ts_metadata");var Oc=class{static{a(this,"InfProdNFF")}cProdFisco;cOperNFF};M0([(0,th.IsString)(),V0("design:type",String)],Oc.prototype,"cProdFisco",void 0);M0([(0,th.IsString)(),V0("design:type",String)],Oc.prototype,"cOperNFF",void 0);var nh=require("class-validator"),L0=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,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(oh,"_ts_decorate");function ih(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ih,"_ts_metadata");var as=class{static{a(this,"InfProdEmb")}xEmb;qVolEmb;uEmb};oh([(0,nh.IsString)(),ih("design:type",String)],as.prototype,"xEmb",void 0);oh([(0,L0.TransformDecimal)({fixed:3}),ih("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],as.prototype,"qVolEmb",void 0);oh([(0,nh.IsString)(),ih("design:type",String)],as.prototype,"uEmb",void 0);var Fe=require("class-validator");function ze(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(ze,"_ts_decorate");function Te(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Te,"_ts_metadata");var Se=class{static{a(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};ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"tpOp",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"chassi",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"cCor",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"xCor",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"pot",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"cilin",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"pesoL",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"pesoB",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"nSerie",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"tpComb",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"nMotor",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"CMT",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"dist",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"anoMod",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"anoFab",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"tpPint",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"tpVeic",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"espVeic",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"VIN",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"condVeic",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"cMod",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"cCorDENATRAN",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"lota",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"tpRest",void 0);var sh=require("class-validator"),_0=require("nfets/core");function rh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(rh,"_ts_decorate");function ah(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ah,"_ts_metadata");var ss=class{static{a(this,"Med")}cProdANVISA;xMotivoIsencao;vPMC};rh([(0,sh.IsString)(),ah("design:type",String)],ss.prototype,"cProdANVISA",void 0);rh([(0,sh.IsString)(),ah("design:type",String)],ss.prototype,"xMotivoIsencao",void 0);rh([(0,_0.TransformDecimal)({fixed:2}),ah("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ss.prototype,"vPMC",void 0);var bl=require("class-validator");function $u(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a($u,"_ts_decorate");function ed(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ed,"_ts_metadata");var na=class{static{a(this,"Arma")}tpArma;nSerie;nCano;descr};$u([(0,bl.IsString)(),ed("design:type",String)],na.prototype,"tpArma",void 0);$u([(0,bl.IsString)(),ed("design:type",String)],na.prototype,"nSerie",void 0);$u([(0,bl.IsString)(),ed("design:type",String)],na.prototype,"nCano",void 0);$u([(0,bl.IsString)(),ed("design:type",String)],na.prototype,"descr",void 0);var re=require("class-validator"),td=require("class-transformer"),ei=require("nfets/core");function Be(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Be,"_ts_decorate");function Me(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Me,"_ts_metadata");var Fc=class{static{a(this,"OrigComb")}indImport;cUFOrig;pOrig};Be([(0,re.IsString)(),Me("design:type",String)],Fc.prototype,"indImport",void 0);Be([(0,re.IsString)(),Me("design:type",String)],Fc.prototype,"cUFOrig",void 0);Be([(0,ei.TransformDecimal)({fixed:4}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fc.prototype,"pOrig",void 0);var Ac=class{static{a(this,"CIDE")}qBCProd;vAliqProd;vCIDE};Be([(0,ei.TransformDecimal)({fixed:4}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ac.prototype,"qBCProd",void 0);Be([(0,ei.TransformDecimal)({fixed:4}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ac.prototype,"vAliqProd",void 0);Be([(0,ei.TransformDecimal)({fixed:2}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ac.prototype,"vCIDE",void 0);var ra=class{static{a(this,"Encerrante")}nBico;nBomba;nTanque;vEncIni;vEncFin};Be([(0,re.IsString)(),Me("design:type",String)],ra.prototype,"nBico",void 0);Be([(0,re.IsString)(),Me("design:type",String)],ra.prototype,"nBomba",void 0);Be([(0,re.IsString)(),Me("design:type",String)],ra.prototype,"nTanque",void 0);Be([(0,ei.TransformDecimal)({fixed:3}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ra.prototype,"vEncIni",void 0);Be([(0,ei.TransformDecimal)({fixed:3}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ra.prototype,"vEncFin",void 0);var Jt=class{static{a(this,"Comb")}cProdANP;descANP;pGLP;pGNn;pGNi;vPart;CODIF;qTemp;UFCons;CIDE;encerrante;pBio;origComb};Be([(0,re.IsString)(),Me("design:type",String)],Jt.prototype,"cProdANP",void 0);Be([(0,re.IsString)(),Me("design:type",String)],Jt.prototype,"descANP",void 0);Be([(0,re.IsOptional)(),(0,ei.TransformDecimal)({fixed:4}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"pGLP",void 0);Be([(0,re.IsOptional)(),(0,ei.TransformDecimal)({fixed:4}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"pGNn",void 0);Be([(0,re.IsOptional)(),(0,ei.TransformDecimal)({fixed:4}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"pGNi",void 0);Be([(0,re.IsOptional)(),(0,ei.TransformDecimal)({fixed:2}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"vPart",void 0);Be([(0,re.IsString)(),(0,re.IsOptional)(),Me("design:type",String)],Jt.prototype,"CODIF",void 0);Be([(0,re.IsOptional)(),(0,ei.TransformDecimal)({fixed:4}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"qTemp",void 0);Be([(0,re.IsString)(),Me("design:type",String)],Jt.prototype,"UFCons",void 0);Be([(0,re.IsOptional)(),(0,re.IsObject)(),(0,re.ValidateNested)(),(0,td.Type)(()=>Ac),Me("design:type",typeof ICIDE>"u"?Object:ICIDE)],Jt.prototype,"CIDE",void 0);Be([(0,re.IsOptional)(),(0,re.IsObject)(),(0,re.ValidateNested)(),(0,td.Type)(()=>ra),Me("design:type",typeof IEncerrante>"u"?Object:IEncerrante)],Jt.prototype,"encerrante",void 0);Be([(0,re.IsOptional)(),(0,ei.TransformDecimal)({fixed:4}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"pBio",void 0);Be([(0,re.IsArray)(),(0,re.ValidateNested)({each:!0}),(0,td.Type)(()=>Fc),(0,re.ArrayMaxSize)(30),(0,re.IsOptional)(),Me("design:type",Array)],Jt.prototype,"origComb",void 0);var q0=require("class-validator"),lh=require("nfets/core");function ch(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(ch,"_ts_decorate");function ph(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ph,"_ts_metadata");var cs=class{static{a(this,"GCred")}cCredPresumido;pCredPresumido;vCredPresumido};ch([(0,q0.IsString)(),ph("design:type",String)],cs.prototype,"cCredPresumido",void 0);ch([(0,lh.TransformDecimal)({fixed:4}),ph("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cs.prototype,"pCredPresumido",void 0);ch([(0,lh.TransformDecimal)({fixed:2}),ph("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cs.prototype,"vCredPresumido",void 0);function Q(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Q,"_ts_decorate");function Y(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Y,"_ts_metadata");var _=class{static{a(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};Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"cProd",void 0);Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"cEAN",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"cBarra",void 0);Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"xProd",void 0);Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"NCM",void 0);Q([(0,O.IsOptional)(),(0,O.IsArray)(),(0,O.ArrayMaxSize)(8),(0,O.IsString)({each:!0}),Y("design:type",Array)],_.prototype,"NVE",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"CEST",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"indEscala",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"CNPJFab",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"cBenef",void 0);Q([(0,O.IsOptional)(),(0,O.IsArray)(),(0,O.ArrayMaxSize)(4),(0,O.ValidateNested)({each:!0}),(0,$i.Type)(()=>cs),Y("design:type",Array)],_.prototype,"gCred",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"tpCredPresIBSZFM",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"EXTIPI",void 0);Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"CFOP",void 0);Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"uCom",void 0);Q([(0,Fn.TransformDecimal)({fixed:4}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"qCom",void 0);Q([(0,Fn.TransformDecimal)({fixed:10}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"vUnCom",void 0);Q([(0,Fn.TransformDecimal)({fixed:2}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"vProd",void 0);Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"cEANTrib",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"cBarraTrib",void 0);Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"uTrib",void 0);Q([(0,Fn.TransformDecimal)({fixed:4}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"qTrib",void 0);Q([(0,Fn.TransformDecimal)({fixed:10}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"vUnTrib",void 0);Q([(0,O.IsOptional)(),(0,Fn.TransformDecimal)({fixed:2}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"vFrete",void 0);Q([(0,O.IsOptional)(),(0,Fn.TransformDecimal)({fixed:2}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"vSeg",void 0);Q([(0,O.IsOptional)(),(0,Fn.TransformDecimal)({fixed:2}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"vDesc",void 0);Q([(0,O.IsOptional)(),(0,Fn.TransformDecimal)({fixed:2}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"vOutro",void 0);Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"indTot",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"indBemMovelUsado",void 0);Q([(0,O.IsOptional)(),(0,O.IsArray)(),(0,O.ValidateNested)({each:!0}),(0,O.ArrayMaxSize)(100),(0,$i.Type)(()=>Bt),Y("design:type",Array)],_.prototype,"DI",void 0);Q([(0,O.IsOptional)(),(0,O.IsArray)(),(0,O.ValidateNested)({each:!0}),(0,O.ArrayMaxSize)(500),(0,$i.Type)(()=>Ic),Y("design:type",Array)],_.prototype,"detExport",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"xPed",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"nItemPed",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"nFCI",void 0);Q([(0,O.IsOptional)(),(0,O.IsArray)(),(0,O.ValidateNested)({each:!0}),(0,O.ArrayMaxSize)(500),(0,$i.Type)(()=>hr),Y("design:type",Array)],_.prototype,"rastro",void 0);Q([(0,O.IsOptional)(),(0,O.IsObject)(),(0,O.ValidateNested)(),(0,$i.Type)(()=>Oc),Y("design:type",typeof IInfProdNFF>"u"?Object:IInfProdNFF)],_.prototype,"infProdNFF",void 0);Q([(0,O.IsOptional)(),(0,O.IsObject)(),(0,O.ValidateNested)(),(0,$i.Type)(()=>as),Y("design:type",typeof IInfProdEmb>"u"?Object:IInfProdEmb)],_.prototype,"infProdEmb",void 0);Q([(0,O.IsOptional)(),(0,O.IsObject)(),(0,O.ValidateNested)(),(0,$i.Type)(()=>Se),Y("design:type",typeof IVeicProd>"u"?Object:IVeicProd)],_.prototype,"veicProd",void 0);Q([(0,O.IsOptional)(),(0,O.IsObject)(),(0,O.ValidateNested)(),(0,$i.Type)(()=>ss),Y("design:type",typeof IMed>"u"?Object:IMed)],_.prototype,"med",void 0);Q([(0,O.IsOptional)(),(0,O.IsObject)(),(0,O.ValidateNested)({each:!0}),(0,$i.Type)(()=>na),(0,O.ArrayMaxSize)(500),Y("design:type",Array)],_.prototype,"arma",void 0);Q([(0,O.IsOptional)(),(0,O.IsObject)(),(0,O.ValidateNested)(),(0,$i.Type)(()=>Jt),Y("design:type",typeof IComb>"u"?Object:IComb)],_.prototype,"comb",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"nRECOPI",void 0);_=Q([(0,U0.Choice)({properties:["veicProd","med","arma","comb"]})],_);var Fi=require("class-transformer"),Pe=require("class-validator");var f=require("class-validator"),tt=require("class-transformer"),b=require("nfets/core");function h(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(h,"_ts_decorate");function v(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(v,"_ts_metadata");var bi=class{static{a(this,"ICMS00")}orig;CST;modBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP};h([(0,f.IsString)(),v("design:type",String)],bi.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],bi.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],bi.prototype,"modBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bi.prototype,"vBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bi.prototype,"pICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bi.prototype,"vICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bi.prototype,"vBCFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bi.prototype,"pFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bi.prototype,"vFCP",void 0);var aa=class{static{a(this,"ICMS02")}orig;CST;qBCMono;adRemICMS;vICMSMono};h([(0,f.IsString)(),v("design:type",String)],aa.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],aa.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],aa.prototype,"qBCMono",void 0);h([(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],aa.prototype,"adRemICMS",void 0);h([(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],aa.prototype,"vICMSMono",void 0);var pt=class{static{a(this,"ICMS10")}orig;CST;modBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST};h([(0,f.IsString)(),v("design:type",String)],pt.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],pt.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],pt.prototype,"modBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"vBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"pICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"vICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"vBCFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"pFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"vFCP",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],pt.prototype,"modBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"pMVAST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"pRedBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"vBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"pICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"vICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"vBCFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"pFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"vFCPST",void 0);var ti=class{static{a(this,"ICMS15")}orig;CST;qBCMono;adRemICMS;vICMSMono;qBCMonoReten;adRemICMSReten;vICMSMonoReten;pRedAdRem;motRedAdRem};h([(0,f.IsString)(),v("design:type",String)],ti.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],ti.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"qBCMono",void 0);h([(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"adRemICMS",void 0);h([(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"vICMSMono",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"qBCMonoReten",void 0);h([(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"adRemICMSReten",void 0);h([(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"vICMSMonoReten",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),(0,f.Max)(100),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"pRedAdRem",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],ti.prototype,"motRedAdRem",void 0);var Fo=class{static{a(this,"ICMS20")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;vICMSDeson;motDesICMS};h([(0,f.IsString)(),v("design:type",String)],Fo.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],Fo.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Fo.prototype,"modBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"pRedBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"vBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"pICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"vICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"vBCFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"pFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"vFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"vICMSDeson",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Fo.prototype,"motDesICMS",void 0);var so=class{static{a(this,"ICMS30")}orig;CST;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST;vICMSDeson;motDesICMS};h([(0,f.IsString)(),v("design:type",String)],so.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],so.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],so.prototype,"modBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"pMVAST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"pRedBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"pICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vBCFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"pFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vICMSDeson",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],so.prototype,"motDesICMS",void 0);var ps=class{static{a(this,"ICMS40")}orig;CST;vICMSDeson;motDesICMS};h([(0,f.IsString)(),v("design:type",String)],ps.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],ps.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ps.prototype,"vICMSDeson",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],ps.prototype,"motDesICMS",void 0);var Si=class{static{a(this,"ICMS51")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;pDif;vICMSDif};h([(0,f.IsString)(),v("design:type",String)],Si.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],Si.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Si.prototype,"modBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Si.prototype,"pRedBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Si.prototype,"vBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Si.prototype,"pICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Si.prototype,"vICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),(0,f.Max)(100),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Si.prototype,"pDif",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Si.prototype,"vICMSDif",void 0);var oi=class{static{a(this,"ICMS53")}orig;CST;qBCMono;adRemICMS;vICMSMonoOp;pDif;vICMSMonoDif;vICMSMono;qBCMonoDif;adRemICMSDif};h([(0,f.IsString)(),v("design:type",String)],oi.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],oi.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oi.prototype,"qBCMono",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oi.prototype,"adRemICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oi.prototype,"vICMSMonoOp",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),(0,f.Max)(100),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oi.prototype,"pDif",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oi.prototype,"vICMSMonoDif",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oi.prototype,"vICMSMono",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oi.prototype,"qBCMonoDif",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oi.prototype,"adRemICMSDif",void 0);var co=class{static{a(this,"ICMS60")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet;vBCFCPSTRet;pFCPSTRet;vFCPSTRet;pRedBCEfet;vBCEfet;pICMSEfet;vICMSEfet};h([(0,f.IsString)(),v("design:type",String)],co.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],co.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"vBCSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"pST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"vICMSSubstituto",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"vICMSSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"vBCFCPSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"pFCPSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"vFCPSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"pRedBCEfet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"vBCEfet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"pICMSEfet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"vICMSEfet",void 0);var sa=class{static{a(this,"ICMS61")}orig;CST;qBCMonoRet;adRemICMSRet;vICMSMonoRet};h([(0,f.IsString)(),v("design:type",String)],sa.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],sa.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],sa.prototype,"qBCMonoRet",void 0);h([(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],sa.prototype,"adRemICMSRet",void 0);h([(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],sa.prototype,"vICMSMonoRet",void 0);var Ve=class{static{a(this,"ICMS70")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;vICMSDeson;motDesICMS;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST};h([(0,f.IsString)(),v("design:type",String)],Ve.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],Ve.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Ve.prototype,"modBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"pRedBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"pICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vBCFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"pFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vICMSDeson",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Ve.prototype,"motDesICMS",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Ve.prototype,"modBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"pMVAST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"pRedBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"pICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vBCFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"pFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vFCPST",void 0);var Le=class{static{a(this,"ICMS90")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;vICMSDeson;motDesICMS;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST};h([(0,f.IsString)(),v("design:type",String)],Le.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],Le.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Le.prototype,"modBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"pRedBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"pICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vBCFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"pFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vICMSDeson",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Le.prototype,"motDesICMS",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Le.prototype,"modBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"pMVAST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"pRedBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"pICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vBCFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"pFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vFCPST",void 0);var Vt=class{static{a(this,"ICMSPart")}orig;CST;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;pBCOp;UFST};h([(0,f.IsString)(),v("design:type",String)],Vt.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],Vt.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Vt.prototype,"modBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"vBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"pRedBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"pICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"vICMS",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Vt.prototype,"modBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"pMVAST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"pRedBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"vBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"pICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"vICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"pBCOp",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Vt.prototype,"UFST",void 0);var gr=class{static{a(this,"ICMSST")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};h([(0,f.IsString)(),v("design:type",String)],gr.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],gr.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gr.prototype,"vBCSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gr.prototype,"pST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gr.prototype,"vICMSSubstituto",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gr.prototype,"vICMSSTRet",void 0);var ls=class{static{a(this,"ICMSSN101")}orig;CSOSN;pCredSN;vCredICMSSN};h([(0,f.IsString)(),v("design:type",String)],ls.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],ls.prototype,"CSOSN",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ls.prototype,"pCredSN",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ls.prototype,"vCredICMSSN",void 0);var Sl=class{static{a(this,"ICMSSN102")}orig;CSOSN};h([(0,f.IsString)(),v("design:type",String)],Sl.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],Sl.prototype,"CSOSN",void 0);var en=class{static{a(this,"ICMSSN201")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};h([(0,f.IsString)(),v("design:type",String)],en.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],en.prototype,"CSOSN",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],en.prototype,"modBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],en.prototype,"vBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],en.prototype,"pICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],en.prototype,"vICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],en.prototype,"pCredSN",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],en.prototype,"vCredICMSSN",void 0);var yr=class{static{a(this,"ICMSSN202")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST};h([(0,f.IsString)(),v("design:type",String)],yr.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],yr.prototype,"CSOSN",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],yr.prototype,"modBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yr.prototype,"vBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yr.prototype,"pICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yr.prototype,"vICMSST",void 0);var po=class{static{a(this,"ICMSSN500")}orig;CSOSN;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet;vBCFCPSTRet;pFCPSTRet;vFCPSTRet;pRedBCEfet;vBCEfet;pICMSEfet;vICMSEfet};h([(0,f.IsString)(),v("design:type",String)],po.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],po.prototype,"CSOSN",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vBCSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"pST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vICMSSubstituto",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vICMSSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vBCFCPSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"pFCPSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vFCPSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"pRedBCEfet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vBCEfet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"pICMSEfet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vICMSEfet",void 0);var lo=class{static{a(this,"ICMSSN900")}orig;CSOSN;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};h([(0,f.IsString)(),v("design:type",String)],lo.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],lo.prototype,"CSOSN",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],lo.prototype,"modBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"pRedBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"pICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vICMS",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],lo.prototype,"modBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"pICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"pCredSN",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vCredICMSSN",void 0);var he=class{static{a(this,"ICMS")}ICMS00;ICMS02;ICMS10;ICMS15;ICMS20;ICMS30;ICMS40;ICMS51;ICMS53;ICMS60;ICMS61;ICMS70;ICMS90;ICMSPart;ICMSST;ICMSSN101;ICMSSN102;ICMSSN201;ICMSSN202;ICMSSN500;ICMSSN900};h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>bi),v("design:type",typeof IICMS00>"u"?Object:IICMS00)],he.prototype,"ICMS00",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>aa),v("design:type",typeof IICMS02>"u"?Object:IICMS02)],he.prototype,"ICMS02",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>pt),v("design:type",typeof IICMS10>"u"?Object:IICMS10)],he.prototype,"ICMS10",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>ti),v("design:type",typeof IICMS15>"u"?Object:IICMS15)],he.prototype,"ICMS15",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>Fo),v("design:type",typeof IICMS20>"u"?Object:IICMS20)],he.prototype,"ICMS20",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>so),v("design:type",typeof IICMS30>"u"?Object:IICMS30)],he.prototype,"ICMS30",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>ps),v("design:type",typeof IICMS40>"u"?Object:IICMS40)],he.prototype,"ICMS40",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>Si),v("design:type",typeof IICMS51>"u"?Object:IICMS51)],he.prototype,"ICMS51",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>oi),v("design:type",typeof IICMS53>"u"?Object:IICMS53)],he.prototype,"ICMS53",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>co),v("design:type",typeof IICMS60>"u"?Object:IICMS60)],he.prototype,"ICMS60",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>sa),v("design:type",typeof IICMS61>"u"?Object:IICMS61)],he.prototype,"ICMS61",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>Ve),v("design:type",typeof IICMS70>"u"?Object:IICMS70)],he.prototype,"ICMS70",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>Le),v("design:type",typeof IICMS90>"u"?Object:IICMS90)],he.prototype,"ICMS90",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>Vt),v("design:type",typeof IICMSPart>"u"?Object:IICMSPart)],he.prototype,"ICMSPart",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>gr),v("design:type",typeof IICMSST>"u"?Object:IICMSST)],he.prototype,"ICMSST",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>ls),v("design:type",typeof IICMSSN101>"u"?Object:IICMSSN101)],he.prototype,"ICMSSN101",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>Sl),v("design:type",typeof IICMSSN102>"u"?Object:IICMSSN102)],he.prototype,"ICMSSN102",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>en),v("design:type",typeof IICMSSN201>"u"?Object:IICMSSN201)],he.prototype,"ICMSSN201",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>yr),v("design:type",typeof IICMSSN202>"u"?Object:IICMSSN202)],he.prototype,"ICMSSN202",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>po),v("design:type",typeof IICMSSN500>"u"?Object:IICMSSN500)],he.prototype,"ICMSSN500",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>lo),v("design:type",typeof IICMSSN900>"u"?Object:IICMSSN900)],he.prototype,"ICMSSN900",void 0);he=h([(0,b.Choice)({properties:["ICMS00","ICMS02","ICMS10","ICMS15","ICMS20","ICMS30","ICMS40","ICMS51","ICMS53","ICMS60","ICMS61","ICMS70","ICMS90","ICMSPart","ICMSST","ICMSSN101","ICMSSN102","ICMSSN201","ICMSSN202","ICMSSN500","ICMSSN900"]})],he);var Ie=require("class-validator"),uh=require("class-transformer");function ii(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(ii,"_ts_decorate");function ni(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ni,"_ts_metadata");var xr=class{static{a(this,"IPITrib")}CST;vBC;pIPI;qUnid;vUnid;vIPI};ii([(0,Ie.IsString)(),ni("design:type",String)],xr.prototype,"CST",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.IsString)(),ni("design:type",String)],xr.prototype,"vBC",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.IsString)(),ni("design:type",String)],xr.prototype,"pIPI",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.IsString)(),ni("design:type",String)],xr.prototype,"qUnid",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.IsString)(),ni("design:type",String)],xr.prototype,"vUnid",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.IsString)(),ni("design:type",String)],xr.prototype,"vIPI",void 0);var od=class{static{a(this,"IPINT")}CST};ii([(0,Ie.IsString)(),ni("design:type",String)],od.prototype,"CST",void 0);var Ci=class{static{a(this,"IPI")}CNPJProd;cSelo;qSelo;cEnq;IPITrib;IPINT};ii([(0,Ie.IsOptional)(),(0,Ie.IsString)(),ni("design:type",String)],Ci.prototype,"CNPJProd",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.IsString)(),ni("design:type",String)],Ci.prototype,"cSelo",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.IsString)(),ni("design:type",String)],Ci.prototype,"qSelo",void 0);ii([(0,Ie.IsString)(),ni("design:type",String)],Ci.prototype,"cEnq",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.ValidateNested)(),(0,uh.Type)(()=>xr),ni("design:type",typeof IIPITrib>"u"?Object:IIPITrib)],Ci.prototype,"IPITrib",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.ValidateNested)(),(0,uh.Type)(()=>od),ni("design:type",typeof IIPINT>"u"?Object:IIPINT)],Ci.prototype,"IPINT",void 0);var Dn=require("class-validator");function id(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(id,"_ts_decorate");function nd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(nd,"_ts_metadata");var An=class{static{a(this,"II")}vBC;vDespAdu;vII;vIOF};id([(0,Dn.IsOptional)(),(0,Dn.IsString)(),nd("design:type",String)],An.prototype,"vBC",void 0);id([(0,Dn.IsOptional)(),(0,Dn.IsString)(),nd("design:type",String)],An.prototype,"vDespAdu",void 0);id([(0,Dn.IsOptional)(),(0,Dn.IsString)(),nd("design:type",String)],An.prototype,"vII",void 0);id([(0,Dn.IsOptional)(),(0,Dn.IsString)(),nd("design:type",String)],An.prototype,"vIOF",void 0);var U=require("class-validator"),Cl=require("class-transformer"),nn=require("nfets/core");function _e(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(_e,"_ts_decorate");function qe(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(qe,"_ts_metadata");var br=class{static{a(this,"PISAliq")}CST;vBC;pPIS;vPIS};_e([(0,U.IsString)(),qe("design:type",String)],br.prototype,"CST",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:2}),qe("design:type",String)],br.prototype,"vBC",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:4}),qe("design:type",String)],br.prototype,"pPIS",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:2}),qe("design:type",String)],br.prototype,"vPIS",void 0);var Sr=class{static{a(this,"PISQtde")}CST;qBCProd;vAliqProd;vPIS};_e([(0,U.IsString)(),qe("design:type",String)],Sr.prototype,"CST",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),qe("design:type",String)],Sr.prototype,"qBCProd",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),qe("design:type",String)],Sr.prototype,"vAliqProd",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:2}),qe("design:type",String)],Sr.prototype,"vPIS",void 0);var Dc=class{static{a(this,"PISNT")}CST};_e([(0,U.IsString)(),qe("design:type",String)],Dc.prototype,"CST",void 0);var tn=class{static{a(this,"PISOutr")}CST;vBC;pPIS;qBCProd;vAliqProd;vPIS};_e([(0,U.IsString)(),qe("design:type",String)],tn.prototype,"CST",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:2}),qe("design:type",String)],tn.prototype,"vBC",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:4}),qe("design:type",String)],tn.prototype,"pPIS",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),qe("design:type",String)],tn.prototype,"qBCProd",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),qe("design:type",String)],tn.prototype,"vAliqProd",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:2}),qe("design:type",String)],tn.prototype,"vPIS",void 0);var Pn=class{static{a(this,"PIS")}PISAliq;PISQtde;PISNT;PISOutr};_e([(0,U.IsOptional)(),(0,U.ValidateNested)(),(0,Cl.Type)(()=>br),qe("design:type",typeof br>"u"?Object:br)],Pn.prototype,"PISAliq",void 0);_e([(0,U.IsOptional)(),(0,U.ValidateNested)(),(0,Cl.Type)(()=>Sr),qe("design:type",typeof Sr>"u"?Object:Sr)],Pn.prototype,"PISQtde",void 0);_e([(0,U.IsOptional)(),(0,U.ValidateNested)(),(0,Cl.Type)(()=>Dc),qe("design:type",typeof Dc>"u"?Object:Dc)],Pn.prototype,"PISNT",void 0);_e([(0,U.IsOptional)(),(0,U.ValidateNested)(),(0,Cl.Type)(()=>tn),qe("design:type",typeof tn>"u"?Object:tn)],Pn.prototype,"PISOutr",void 0);var on=class{static{a(this,"PISST")}vBC;pPIS;qBCProd;vAliqProd;vPIS};_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:2}),qe("design:type",String)],on.prototype,"vBC",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:4}),qe("design:type",String)],on.prototype,"pPIS",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),qe("design:type",String)],on.prototype,"qBCProd",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),qe("design:type",String)],on.prototype,"vAliqProd",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:2}),qe("design:type",String)],on.prototype,"vPIS",void 0);var k=require("class-validator"),Nl=require("class-transformer"),sn=require("nfets/core");function Ue(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Ue,"_ts_decorate");function ke(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ke,"_ts_metadata");var Cr=class{static{a(this,"COFINSAliq")}CST;vBC;pCOFINS;vCOFINS};Ue([(0,k.IsString)(),ke("design:type",String)],Cr.prototype,"CST",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:2}),ke("design:type",String)],Cr.prototype,"vBC",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:4}),ke("design:type",String)],Cr.prototype,"pCOFINS",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:2}),ke("design:type",String)],Cr.prototype,"vCOFINS",void 0);var Nr=class{static{a(this,"COFINSQtde")}CST;qBCProd;vAliqProd;vCOFINS};Ue([(0,k.IsString)(),ke("design:type",String)],Nr.prototype,"CST",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),ke("design:type",String)],Nr.prototype,"qBCProd",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),ke("design:type",String)],Nr.prototype,"vAliqProd",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:2}),ke("design:type",String)],Nr.prototype,"vCOFINS",void 0);var Pc=class{static{a(this,"COFINSNT")}CST};Ue([(0,k.IsString)(),ke("design:type",String)],Pc.prototype,"CST",void 0);var rn=class{static{a(this,"COFINSOutr")}CST;vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};Ue([(0,k.IsString)(),ke("design:type",String)],rn.prototype,"CST",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:2}),ke("design:type",String)],rn.prototype,"vBC",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:4}),ke("design:type",String)],rn.prototype,"pCOFINS",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),ke("design:type",String)],rn.prototype,"qBCProd",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),ke("design:type",String)],rn.prototype,"vAliqProd",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:2}),ke("design:type",String)],rn.prototype,"vCOFINS",void 0);var En=class{static{a(this,"COFINS")}COFINSAliq;COFINSQtde;COFINSNT;COFINSOutr};Ue([(0,k.IsOptional)(),(0,k.ValidateNested)(),(0,Nl.Type)(()=>Cr),ke("design:type",typeof Cr>"u"?Object:Cr)],En.prototype,"COFINSAliq",void 0);Ue([(0,k.IsOptional)(),(0,k.ValidateNested)(),(0,Nl.Type)(()=>Nr),ke("design:type",typeof Nr>"u"?Object:Nr)],En.prototype,"COFINSQtde",void 0);Ue([(0,k.IsOptional)(),(0,k.ValidateNested)(),(0,Nl.Type)(()=>Pc),ke("design:type",typeof Pc>"u"?Object:Pc)],En.prototype,"COFINSNT",void 0);Ue([(0,k.IsOptional)(),(0,k.ValidateNested)(),(0,Nl.Type)(()=>rn),ke("design:type",typeof rn>"u"?Object:rn)],En.prototype,"COFINSOutr",void 0);var an=class{static{a(this,"COFINSST")}vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:2}),ke("design:type",String)],an.prototype,"vBC",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:4}),ke("design:type",String)],an.prototype,"pCOFINS",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),ke("design:type",String)],an.prototype,"qBCProd",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),ke("design:type",String)],an.prototype,"vAliqProd",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:2}),ke("design:type",String)],an.prototype,"vCOFINS",void 0);var He=require("class-validator"),Rr=require("nfets/core");function uo(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(uo,"_ts_decorate");function fo(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(fo,"_ts_metadata");var ot=class{static{a(this,"ISSQN")}vBC;vAliq;vISSQN;cMunFG;cListServ;vDeducao;vOutro;vDescIncond;vDescCond;vISSRet;indISS;indIncentivo;cServico;cMun;cPais;nProcesso};uo([(0,He.IsOptional)(),(0,Rr.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ot.prototype,"vBC",void 0);uo([(0,He.IsOptional)(),(0,Rr.TransformDecimal)({fixed:4}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ot.prototype,"vAliq",void 0);uo([(0,He.IsOptional)(),(0,Rr.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ot.prototype,"vISSQN",void 0);uo([(0,He.IsOptional)(),(0,He.IsString)(),fo("design:type",String)],ot.prototype,"cMunFG",void 0);uo([(0,He.IsOptional)(),(0,He.IsString)(),fo("design:type",String)],ot.prototype,"cListServ",void 0);uo([(0,He.IsOptional)(),(0,Rr.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ot.prototype,"vDeducao",void 0);uo([(0,He.IsOptional)(),(0,Rr.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ot.prototype,"vOutro",void 0);uo([(0,He.IsOptional)(),(0,Rr.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ot.prototype,"vDescIncond",void 0);uo([(0,He.IsOptional)(),(0,Rr.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ot.prototype,"vDescCond",void 0);uo([(0,He.IsOptional)(),(0,Rr.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ot.prototype,"vISSRet",void 0);uo([(0,He.IsString)(),fo("design:type",String)],ot.prototype,"indISS",void 0);uo([(0,He.IsString)(),fo("design:type",String)],ot.prototype,"indIncentivo",void 0);uo([(0,He.IsOptional)(),(0,He.IsString)(),fo("design:type",String)],ot.prototype,"cServico",void 0);uo([(0,He.IsOptional)(),(0,He.IsString)(),fo("design:type",String)],ot.prototype,"cMun",void 0);uo([(0,He.IsOptional)(),(0,He.IsString)(),fo("design:type",String)],ot.prototype,"cPais",void 0);uo([(0,He.IsOptional)(),(0,He.IsString)(),fo("design:type",String)],ot.prototype,"nProcesso",void 0);var mt=require("class-validator");function wr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(wr,"_ts_decorate");function Ir(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ir,"_ts_metadata");var Ao=class{static{a(this,"ICMSUFDest")}vBCUFDest;vBCFCPUFDest;pFCPUFDest;pICMSUFDest;pICMSInter;pICMSInterPart;vFCPUFDest;vICMSUFDest;vICMSUFRemet};wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"vBCUFDest",void 0);wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"vBCFCPUFDest",void 0);wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"pFCPUFDest",void 0);wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"pICMSUFDest",void 0);wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"pICMSInter",void 0);wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"pICMSInterPart",void 0);wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"vFCPUFDest",void 0);wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"vICMSUFDest",void 0);wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"vICMSUFRemet",void 0);var We=require("class-validator");var Ec=require("class-validator");function k0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(k0,"_ts_decorate");function H0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(H0,"_ts_metadata");var ca=class{static{a(this,"TransferenciaCredito")}vIBS;vCBS};k0([(0,Ec.IsOptional)(),(0,Ec.IsString)(),H0("design:type",String)],ca.prototype,"vIBS",void 0);k0([(0,Ec.IsOptional)(),(0,Ec.IsString)(),H0("design:type",String)],ca.prototype,"vCBS",void 0);var rd=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,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(dh,"_ts_decorate");function fh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(fh,"_ts_metadata");var Or=class{static{a(this,"CredPresIBSZFM")}tpCredPresIBSZFM;vCredPresIBSZFM;competApur};dh([(0,rd.IsString)(),fh("design:type",String)],Or.prototype,"tpCredPresIBSZFM",void 0);dh([(0,rd.IsString)(),fh("design:type",String)],Or.prototype,"vCredPresIBSZFM",void 0);dh([(0,rd.IsString)(),fh("design:type",String)],Or.prototype,"competApur",void 0);var Do=require("class-validator"),mh=require("class-transformer");function zn(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(zn,"_ts_decorate");function Tn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Tn,"_ts_metadata");var pa=class{static{a(this,"IBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};zn([(0,Do.IsString)(),Tn("design:type",String)],pa.prototype,"vCredPresCondSus",void 0);zn([(0,Do.IsString)(),Tn("design:type",String)],pa.prototype,"pCredPres",void 0);zn([(0,Do.IsString)(),Tn("design:type",String)],pa.prototype,"vCredPres",void 0);var la=class{static{a(this,"CBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};zn([(0,Do.IsString)(),Tn("design:type",String)],la.prototype,"vCredPresCondSus",void 0);zn([(0,Do.IsString)(),Tn("design:type",String)],la.prototype,"pCredPres",void 0);zn([(0,Do.IsString)(),Tn("design:type",String)],la.prototype,"vCredPres",void 0);var jn=class{static{a(this,"CredPresOper")}gIBSCredPres;gCBSCredPres;vBCCredPres;cCredPres};zn([(0,Do.IsOptional)(),(0,Do.ValidateNested)(),(0,mh.Type)(()=>pa),Tn("design:type",typeof pa>"u"?Object:pa)],jn.prototype,"gIBSCredPres",void 0);zn([(0,Do.IsOptional)(),(0,Do.ValidateNested)(),(0,mh.Type)(()=>la),Tn("design:type",typeof la>"u"?Object:la)],jn.prototype,"gCBSCredPres",void 0);zn([(0,Do.IsString)(),Tn("design:type",String)],jn.prototype,"vBCCredPres",void 0);zn([(0,Do.IsString)(),Tn("design:type",String)],jn.prototype,"cCredPres",void 0);var hh=require("class-validator");function G0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(G0,"_ts_decorate");function Q0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Q0,"_ts_metadata");var ua=class{static{a(this,"EstornoCred")}vIBSEstCred;vCBSEstCred};G0([(0,hh.IsString)(),Q0("design:type",String)],ua.prototype,"vIBSEstCred",void 0);G0([(0,hh.IsString)(),Q0("design:type",String)],ua.prototype,"vCBSEstCred",void 0);var ad=require("class-validator");function vh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(vh,"_ts_decorate");function gh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(gh,"_ts_metadata");var Fr=class{static{a(this,"AjusteCompet")}competApur;vCBS;vIBS};vh([(0,ad.IsString)(),gh("design:type",String)],Fr.prototype,"competApur",void 0);vh([(0,ad.IsString)(),gh("design:type",String)],Fr.prototype,"vCBS",void 0);vh([(0,ad.IsString)(),gh("design:type",String)],Fr.prototype,"vIBS",void 0);var Ln=require("class-validator"),it=require("nfets/core"),Rl=require("class-transformer");function Ae(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Ae,"_ts_decorate");function De(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(De,"_ts_metadata");var Bn=class{static{a(this,"MonoPadrao")}qBCMono;adRemIBS;adRemCBS;vIBSMono;vCBSMono};Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"qBCMono",void 0);Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"adRemIBS",void 0);Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"adRemCBS",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"vIBSMono",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"vCBSMono",void 0);var Mn=class{static{a(this,"MonoReten")}qBCMonoReten;adRemIBSReten;vIBSMonoReten;adRemCBSReten;vCBSMonoReten};Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Mn.prototype,"qBCMonoReten",void 0);Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Mn.prototype,"adRemIBSReten",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Mn.prototype,"vIBSMonoReten",void 0);Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Mn.prototype,"adRemCBSReten",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Mn.prototype,"vCBSMonoReten",void 0);var Vn=class{static{a(this,"MonoRet")}qBCMonoRet;adRemIBSRet;vIBSMonoRet;adRemCBSRet;vCBSMonoRet};Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vn.prototype,"qBCMonoRet",void 0);Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vn.prototype,"adRemIBSRet",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vn.prototype,"vIBSMonoRet",void 0);Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vn.prototype,"adRemCBSRet",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vn.prototype,"vCBSMonoRet",void 0);var Ar=class{static{a(this,"MonoDif")}pDifIBS;vIBSMonoDif;pDifCBS;vCBSMonoDif};Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ar.prototype,"pDifIBS",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ar.prototype,"vIBSMonoDif",void 0);Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ar.prototype,"pDifCBS",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ar.prototype,"vCBSMonoDif",void 0);var Ni=class{static{a(this,"IBSCBSMono")}gMonoPadrao;gMonoReten;gMonoRet;gMonoDif;vTotIBSMonoItem;vTotCBSMonoItem};Ae([(0,Ln.IsOptional)(),(0,Ln.ValidateNested)(),(0,Rl.Type)(()=>Bn),De("design:type",typeof Bn>"u"?Object:Bn)],Ni.prototype,"gMonoPadrao",void 0);Ae([(0,Ln.IsOptional)(),(0,Ln.ValidateNested)(),(0,Rl.Type)(()=>Mn),De("design:type",typeof Mn>"u"?Object:Mn)],Ni.prototype,"gMonoReten",void 0);Ae([(0,Ln.IsOptional)(),(0,Ln.ValidateNested)(),(0,Rl.Type)(()=>Vn),De("design:type",typeof Vn>"u"?Object:Vn)],Ni.prototype,"gMonoRet",void 0);Ae([(0,Ln.IsOptional)(),(0,Ln.ValidateNested)(),(0,Rl.Type)(()=>Ar),De("design:type",typeof Ar>"u"?Object:Ar)],Ni.prototype,"gMonoDif",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ni.prototype,"vTotIBSMonoItem",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ni.prototype,"vTotCBSMonoItem",void 0);var Ii=require("class-validator"),Ih=require("nfets/core");var us=require("nfets/core"),yh=require("class-validator");function da(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(da,"_ts_decorate");function fa(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(fa,"_ts_metadata");var Uo=class{static{a(this,"TribRegular")}CSTReg;cClassTribReg;pAliqEfetRegIBSUF;vTribRegIBSUF;pAliqEfetRegIBSMun;vTribRegIBSMun;pAliqEfetRegCBS;vTribRegCBS};da([(0,yh.IsString)(),fa("design:type",String)],Uo.prototype,"CSTReg",void 0);da([(0,yh.IsString)(),fa("design:type",String)],Uo.prototype,"cClassTribReg",void 0);da([(0,us.TransformDecimal)({fixed:4}),fa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"pAliqEfetRegIBSUF",void 0);da([(0,us.TransformDecimal)({fixed:2}),fa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"vTribRegIBSUF",void 0);da([(0,us.TransformDecimal)({fixed:4}),fa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"pAliqEfetRegIBSMun",void 0);da([(0,us.TransformDecimal)({fixed:2}),fa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"vTribRegIBSMun",void 0);da([(0,us.TransformDecimal)({fixed:4}),fa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"pAliqEfetRegCBS",void 0);da([(0,us.TransformDecimal)({fixed:2}),fa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"vTribRegCBS",void 0);var ds=require("nfets/core");function jc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(jc,"_ts_decorate");function zc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(zc,"_ts_metadata");var Ri=class{static{a(this,"TribCompraGov")}pAliqIBSUF;vTribIBSUF;pAliqIBSMun;vTribIBSMun;pAliqCBS;vTribCBS};jc([(0,ds.TransformDecimal)({fixed:4}),zc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"pAliqIBSUF",void 0);jc([(0,ds.TransformDecimal)({fixed:2}),zc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"vTribIBSUF",void 0);jc([(0,ds.TransformDecimal)({fixed:4}),zc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"pAliqIBSMun",void 0);jc([(0,ds.TransformDecimal)({fixed:2}),zc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"vTribIBSMun",void 0);jc([(0,ds.TransformDecimal)({fixed:4}),zc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"pAliqCBS",void 0);jc([(0,ds.TransformDecimal)({fixed:2}),zc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"vTribCBS",void 0);var Mc=require("class-transformer");var ma=require("class-validator"),Ch=require("nfets/core"),sd=require("class-transformer");var xh=require("nfets/core"),X0=require("class-validator");function Z0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Z0,"_ts_decorate");function Y0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Y0,"_ts_metadata");var mo=class{static{a(this,"DevTrib")}pDevTrib;vDevTrib};Z0([(0,X0.IsOptional)(),(0,xh.TransformDecimal)({fixed:4}),Y0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pDevTrib",void 0);Z0([(0,xh.TransformDecimal)({fixed:2}),Y0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vDevTrib",void 0);var bh=require("nfets/core");function J0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(J0,"_ts_decorate");function W0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(W0,"_ts_metadata");var ho=class{static{a(this,"Dif")}pDif;vDif};J0([(0,bh.TransformDecimal)({fixed:4}),W0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pDif",void 0);J0([(0,bh.TransformDecimal)({fixed:2}),W0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vDif",void 0);var Sh=require("nfets/core");function K0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(K0,"_ts_decorate");function $0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a($0,"_ts_metadata");var vo=class{static{a(this,"Red")}pRedAliq;pAliqEfet};K0([(0,Sh.TransformDecimal)({fixed:4}),$0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"pRedAliq",void 0);K0([(0,Sh.TransformDecimal)({fixed:4}),$0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"pAliqEfet",void 0);function wl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(wl,"_ts_decorate");function Il(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Il,"_ts_metadata");var cn=class{static{a(this,"IBSMun")}pIBSMun;gDif;gDevTrib;gRed;vIBSMun};wl([(0,Ch.TransformDecimal)({fixed:4}),Il("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cn.prototype,"pIBSMun",void 0);wl([(0,ma.IsOptional)(),(0,ma.ValidateNested)(),(0,sd.Type)(()=>ho),Il("design:type",typeof ho>"u"?Object:ho)],cn.prototype,"gDif",void 0);wl([(0,ma.IsOptional)(),(0,ma.ValidateNested)(),(0,sd.Type)(()=>mo),Il("design:type",typeof mo>"u"?Object:mo)],cn.prototype,"gDevTrib",void 0);wl([(0,ma.IsOptional)(),(0,ma.ValidateNested)(),(0,sd.Type)(()=>vo),Il("design:type",typeof vo>"u"?Object:vo)],cn.prototype,"gRed",void 0);wl([(0,Ch.TransformDecimal)({fixed:2}),Il("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cn.prototype,"vIBSMun",void 0);var ha=require("class-validator"),Nh=require("nfets/core"),cd=require("class-transformer");function Ol(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Ol,"_ts_decorate");function Fl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Fl,"_ts_metadata");var pn=class{static{a(this,"IBSUF")}pIBSUF;gDif;gDevTrib;gRed;vIBSUF};Ol([(0,Nh.TransformDecimal)({fixed:4}),Fl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pn.prototype,"pIBSUF",void 0);Ol([(0,ha.IsOptional)(),(0,ha.ValidateNested)(),(0,cd.Type)(()=>ho),Fl("design:type",typeof ho>"u"?Object:ho)],pn.prototype,"gDif",void 0);Ol([(0,ha.IsOptional)(),(0,ha.ValidateNested)(),(0,cd.Type)(()=>mo),Fl("design:type",typeof mo>"u"?Object:mo)],pn.prototype,"gDevTrib",void 0);Ol([(0,ha.IsOptional)(),(0,ha.ValidateNested)(),(0,cd.Type)(()=>vo),Fl("design:type",typeof vo>"u"?Object:vo)],pn.prototype,"gRed",void 0);Ol([(0,Nh.TransformDecimal)({fixed:2}),Fl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pn.prototype,"vIBSUF",void 0);var qn=require("class-validator"),wh=require("nfets/core"),Dl=require("class-transformer");var Rh=require("nfets/core"),Al=require("class-validator");function pd(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(pd,"_ts_decorate");function ld(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ld,"_ts_metadata");var _n=class{static{a(this,"ALCZFMCBS")}tpALCZFMCBS;nProcSuframa;pAliqEfetRegCBS;vTribRegCBS};pd([(0,Al.IsString)(),ld("design:type",String)],_n.prototype,"tpALCZFMCBS",void 0);pd([(0,Al.IsOptional)(),(0,Al.IsString)(),ld("design:type",String)],_n.prototype,"nProcSuframa",void 0);pd([(0,Rh.TransformDecimal)({fixed:4}),ld("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_n.prototype,"pAliqEfetRegCBS",void 0);pd([(0,Rh.TransformDecimal)({fixed:2}),ld("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_n.prototype,"vTribRegCBS",void 0);function Tc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Tc,"_ts_decorate");function Bc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Bc,"_ts_metadata");var wi=class{static{a(this,"CBS")}pCBS;gDif;gDevTrib;gRed;gALCZFMCBS;vCBS};Tc([(0,wh.TransformDecimal)({fixed:4}),Bc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"pCBS",void 0);Tc([(0,qn.IsOptional)(),(0,qn.ValidateNested)(),(0,Dl.Type)(()=>ho),Bc("design:type",typeof ho>"u"?Object:ho)],wi.prototype,"gDif",void 0);Tc([(0,qn.IsOptional)(),(0,qn.ValidateNested)(),(0,Dl.Type)(()=>mo),Bc("design:type",typeof mo>"u"?Object:mo)],wi.prototype,"gDevTrib",void 0);Tc([(0,qn.IsOptional)(),(0,qn.ValidateNested)(),(0,Dl.Type)(()=>vo),Bc("design:type",typeof vo>"u"?Object:vo)],wi.prototype,"gRed",void 0);Tc([(0,qn.IsOptional)(),(0,qn.ValidateNested)(),(0,Dl.Type)(()=>_n),Bc("design:type",typeof _n>"u"?Object:_n)],wi.prototype,"gALCZFMCBS",void 0);Tc([(0,wh.TransformDecimal)({fixed:2}),Bc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"vCBS",void 0);function fs(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(fs,"_ts_decorate");function ms(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ms,"_ts_metadata");var ri=class{static{a(this,"GIBSCBS")}vBC;gIBSUF;gIBSMun;vIBS;gCBS;gTribRegular;gTribCompraGov};fs([(0,Ih.TransformDecimal)({fixed:2}),ms("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"vBC",void 0);fs([(0,Ii.IsOptional)(),(0,Ii.ValidateNested)(),(0,Mc.Type)(()=>pn),ms("design:type",typeof pn>"u"?Object:pn)],ri.prototype,"gIBSUF",void 0);fs([(0,Ii.IsOptional)(),(0,Ii.ValidateNested)(),(0,Mc.Type)(()=>cn),ms("design:type",typeof cn>"u"?Object:cn)],ri.prototype,"gIBSMun",void 0);fs([(0,Ih.TransformDecimal)({fixed:2}),ms("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"vIBS",void 0);fs([(0,Ii.IsOptional)(),(0,Ii.ValidateNested)(),(0,Mc.Type)(()=>wi),ms("design:type",typeof wi>"u"?Object:wi)],ri.prototype,"gCBS",void 0);fs([(0,Ii.IsOptional)(),(0,Ii.ValidateNested)(),(0,Mc.Type)(()=>Uo),ms("design:type",typeof Uo>"u"?Object:Uo)],ri.prototype,"gTribRegular",void 0);fs([(0,Ii.IsOptional)(),(0,Ii.ValidateNested)(),(0,Mc.Type)(()=>Ri),ms("design:type",typeof Ri>"u"?Object:Ri)],ri.prototype,"gTribCompraGov",void 0);var va=require("class-transformer");function Un(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Un,"_ts_decorate");function kn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(kn,"_ts_metadata");var go=class{static{a(this,"IBSCBS")}CST;cClassTrib;indDoacao;gTransfCred;gCredPresIBSZFM;gCredPresOper;gAjusteCompet;gEstornoCred;gIBSCBSMono;gIBSCBS};Un([(0,We.IsOptional)(),(0,We.IsString)(),kn("design:type",String)],go.prototype,"CST",void 0);Un([(0,We.IsOptional)(),(0,We.IsString)(),kn("design:type",String)],go.prototype,"cClassTrib",void 0);Un([(0,We.IsOptional)(),(0,We.IsString)(),kn("design:type",String)],go.prototype,"indDoacao",void 0);Un([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,va.Type)(()=>ca),kn("design:type",typeof ca>"u"?Object:ca)],go.prototype,"gTransfCred",void 0);Un([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,va.Type)(()=>Or),kn("design:type",typeof Or>"u"?Object:Or)],go.prototype,"gCredPresIBSZFM",void 0);Un([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,va.Type)(()=>jn),kn("design:type",typeof jn>"u"?Object:jn)],go.prototype,"gCredPresOper",void 0);Un([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,va.Type)(()=>Fr),kn("design:type",typeof Fr>"u"?Object:Fr)],go.prototype,"gAjusteCompet",void 0);Un([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,va.Type)(()=>ua),kn("design:type",typeof ua>"u"?Object:ua)],go.prototype,"gEstornoCred",void 0);Un([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,va.Type)(()=>Ni),kn("design:type",typeof Ni>"u"?Object:Ni)],go.prototype,"gIBSCBSMono",void 0);Un([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,va.Type)(()=>ri),kn("design:type",typeof ri>"u"?Object:ri)],go.prototype,"gIBSCBS",void 0);var Vc=require("nfets/core"),ln=require("class-validator");function ga(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(ga,"_ts_decorate");function ya(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ya,"_ts_metadata");var ko=class{static{a(this,"IS")}CSTIS;cClassTribIS;vBCIS;pIS;adRemIS;uTrib;qTrib;vIS};ga([(0,ln.IsString)(),ya("design:type",String)],ko.prototype,"CSTIS",void 0);ga([(0,ln.IsString)(),ya("design:type",String)],ko.prototype,"cClassTribIS",void 0);ga([(0,ln.IsOptional)(),(0,Vc.TransformDecimal)({fixed:2}),ya("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"vBCIS",void 0);ga([(0,ln.IsOptional)(),(0,Vc.TransformDecimal)({fixed:4}),ya("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"pIS",void 0);ga([(0,ln.IsOptional)(),(0,Vc.TransformDecimal)({fixed:4}),ya("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"adRemIS",void 0);ga([(0,ln.IsOptional)(),(0,ln.IsString)(),ya("design:type",String)],ko.prototype,"uTrib",void 0);ga([(0,ln.IsOptional)(),(0,Vc.TransformDecimal)({fixed:4}),ya("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"qTrib",void 0);ga([(0,ln.IsOptional)(),(0,Vc.TransformDecimal)({fixed:2}),ya("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"vIS",void 0);var ud=require("nfets/core");function ai(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(ai,"_ts_decorate");function Oi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Oi,"_ts_metadata");var ht=class{static{a(this,"Imposto")}vTotTrib;ICMS;IPI;ISSQN;II;PIS;PISST;COFINS;COFINSST;ICMSUFDest;IS;IBSCBS};ai([(0,Pe.IsOptional)(),(0,ud.TransformDecimal)({fixed:2}),Oi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ht.prototype,"vTotTrib",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>he),Oi("design:type",typeof IICMS>"u"?Object:IICMS)],ht.prototype,"ICMS",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>Ci),Oi("design:type",typeof IIPI>"u"?Object:IIPI)],ht.prototype,"IPI",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>ot),Oi("design:type",typeof IISSQN>"u"?Object:IISSQN)],ht.prototype,"ISSQN",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>An),Oi("design:type",typeof III>"u"?Object:III)],ht.prototype,"II",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>Pn),Oi("design:type",typeof IPIS>"u"?Object:IPIS)],ht.prototype,"PIS",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>on),Oi("design:type",typeof IPISST>"u"?Object:IPISST)],ht.prototype,"PISST",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>En),Oi("design:type",typeof ICOFINS>"u"?Object:ICOFINS)],ht.prototype,"COFINS",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>an),Oi("design:type",typeof ICOFINSST>"u"?Object:ICOFINSST)],ht.prototype,"COFINSST",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>Ao),Oi("design:type",typeof IICMSUFDest>"u"?Object:IICMSUFDest)],ht.prototype,"ICMSUFDest",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>ko),Oi("design:type",typeof IIS>"u"?Object:IIS)],ht.prototype,"IS",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>go),Oi("design:type",typeof IIBSCBS>"u"?Object:IIBSCBS)],ht.prototype,"IBSCBS",void 0);ht=ai([(0,ud.Choice)({properties:["ICMS","ISSQN"]})],ht);var hs=require("class-validator"),eS=require("class-transformer");function Oh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Oh,"_ts_decorate");function Fh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Fh,"_ts_metadata");var dd=class{static{a(this,"IpiDevol")}vIPIDevol};Oh([(0,hs.IsString)(),Fh("design:type",String)],dd.prototype,"vIPIDevol",void 0);var Lc=class{static{a(this,"Devol")}pDevol;IPI};Oh([(0,hs.IsString)(),Fh("design:type",String)],Lc.prototype,"pDevol",void 0);Oh([(0,hs.IsOptional)(),(0,hs.ValidateNested)(),(0,eS.Type)(()=>dd),Fh("design:type",typeof IIpiDevol>"u"?Object:IIpiDevol)],Lc.prototype,"IPI",void 0);var Dr=require("class-validator"),Ah=require("class-transformer");function fd(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(fd,"_ts_decorate");function md(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(md,"_ts_metadata");var _c=class{static{a(this,"Observation")}xCampo;xTexto};fd([(0,Dr.IsString)(),md("design:type",String)],_c.prototype,"xCampo",void 0);fd([(0,Dr.IsString)(),md("design:type",String)],_c.prototype,"xTexto",void 0);var qc=class{static{a(this,"ObsItem")}obsCont;obsFisco};fd([(0,Dr.IsOptional)(),(0,Dr.ValidateNested)(),(0,Ah.Type)(()=>_c),md("design:type",typeof IObservation>"u"?Object:IObservation)],qc.prototype,"obsCont",void 0);fd([(0,Dr.IsOptional)(),(0,Dr.ValidateNested)(),(0,Ah.Type)(()=>_c),md("design:type",typeof IObservation>"u"?Object:IObservation)],qc.prototype,"obsFisco",void 0);var Pl=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,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(tS,"_ts_decorate");function oS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(oS,"_ts_metadata");var xa=class{static{a(this,"DFeReferenciado")}chaveAcesso;nItem};tS([(0,Pl.IsString)(),oS("design:type",String)],xa.prototype,"chaveAcesso",void 0);tS([(0,Pl.IsOptional)(),(0,Pl.IsString)(),oS("design:type",String)],xa.prototype,"nItem",void 0);var iS=require("nfets/core");function Pr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Pr,"_ts_decorate");function Er(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Er,"_ts_metadata");var Uc=class{static{a(this,"DetAttributes")}nItem};Pr([(0,Nt.IsString)(),Er("design:type",String)],Uc.prototype,"nItem",void 0);var Ai=class{static{a(this,"Det")}prod;imposto;impostoDevol;infAdProd;obsItem;vItem;DFeReferenciado};Pr([(0,Nt.IsObject)(),(0,Nt.ValidateNested)(),(0,vs.Type)(()=>Uc),Er("design:type",typeof IDetAttributes>"u"?Object:IDetAttributes)],Ai.prototype,"$",void 0);Pr([(0,Nt.ValidateNested)(),(0,vs.Type)(()=>_),Er("design:type",typeof IProd>"u"?Object:IProd)],Ai.prototype,"prod",void 0);Pr([(0,Nt.IsOptional)(),(0,Nt.ValidateNested)(),(0,vs.Type)(()=>ht),Er("design:type",typeof IImposto>"u"?Object:IImposto)],Ai.prototype,"imposto",void 0);Pr([(0,Nt.IsOptional)(),(0,Nt.ValidateNested)(),(0,vs.Type)(()=>Lc),Er("design:type",typeof IDevol>"u"?Object:IDevol)],Ai.prototype,"impostoDevol",void 0);Pr([(0,Nt.IsOptional)(),(0,Nt.IsString)(),Er("design:type",String)],Ai.prototype,"infAdProd",void 0);Pr([(0,Nt.IsOptional)(),(0,Nt.ValidateNested)(),(0,vs.Type)(()=>qc),Er("design:type",typeof IObsItem>"u"?Object:IObsItem)],Ai.prototype,"obsItem",void 0);Pr([(0,Nt.IsOptional)(),(0,iS.TransformDecimal)({fixed:2}),Er("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"vItem",void 0);Pr([(0,Nt.IsOptional)(),(0,Nt.ValidateNested)(),(0,vs.Type)(()=>xa),Er("design:type",typeof IDFeReferenciado>"u"?Object:IDFeReferenciado)],Ai.prototype,"DFeReferenciado",void 0);var Kt=require("class-validator"),hd=require("nfets/core");function un(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(un,"_ts_decorate");function dn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(dn,"_ts_metadata");var Wt=class{static{a(this,"Avulsa")}CNPJ;xOrgao;matr;xAgente;fone;UF;nDAR;dEmi;vDAR;repEmi;dPag};un([(0,Kt.IsString)(),dn("design:type",String)],Wt.prototype,"CNPJ",void 0);un([(0,Kt.IsString)(),dn("design:type",String)],Wt.prototype,"xOrgao",void 0);un([(0,Kt.IsString)(),dn("design:type",String)],Wt.prototype,"matr",void 0);un([(0,Kt.IsString)(),dn("design:type",String)],Wt.prototype,"xAgente",void 0);un([(0,Kt.IsOptional)(),(0,Kt.IsString)(),dn("design:type",String)],Wt.prototype,"fone",void 0);un([(0,Kt.IsString)(),dn("design:type",String)],Wt.prototype,"UF",void 0);un([(0,Kt.IsOptional)(),(0,Kt.IsString)(),dn("design:type",String)],Wt.prototype,"nDAR",void 0);un([(0,Kt.IsOptional)(),(0,hd.TransformDateString)({format:"YYYY-MM-DD"}),dn("design:type",typeof Date>"u"?Object:Date)],Wt.prototype,"dEmi",void 0);un([(0,Kt.IsOptional)(),(0,hd.TransformDecimal)({fixed:2}),dn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Wt.prototype,"vDAR",void 0);un([(0,Kt.IsString)(),dn("design:type",String)],Wt.prototype,"repEmi",void 0);un([(0,Kt.IsOptional)(),(0,Kt.IsDate)(),dn("design:type",typeof Date>"u"?Object:Date)],Wt.prototype,"dPag",void 0);var nS=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,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(NA,"_ts_decorate");function RA(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(RA,"_ts_metadata");var gs=class{static{a(this,"InfSolicNFF")}xSolic};NA([(0,nS.IsString)(),RA("design:type",String)],gs.prototype,"xSolic",void 0);var Lt=require("class-validator"),Dh=require("class-transformer"),rS=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,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(jr,"_ts_decorate");function ba(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ba,"_ts_metadata");var El=class{static{a(this,"Defensivo")}nReceituario;CPFRespTec};jr([(0,Lt.IsString)(),ba("design:type",String)],El.prototype,"nReceituario",void 0);jr([(0,Lt.IsString)(),ba("design:type",String)],El.prototype,"CPFRespTec",void 0);var ys=class{static{a(this,"GuiaTransito")}tpGuia;UFGuia;serieGuia;nGuia};jr([(0,Lt.IsString)(),ba("design:type",String)],ys.prototype,"tpGuia",void 0);jr([(0,Lt.IsString)(),ba("design:type",String)],ys.prototype,"UFGuia",void 0);jr([(0,Lt.IsOptional)(),(0,Lt.IsString)(),ba("design:type",String)],ys.prototype,"serieGuia",void 0);jr([(0,Lt.IsString)(),ba("design:type",String)],ys.prototype,"nGuia",void 0);var Hn=class{static{a(this,"Agropecuario")}defensivo;guiaTransito};jr([(0,Lt.IsOptional)(),(0,Lt.IsArray)(),(0,Lt.ArrayMaxSize)(20),(0,Lt.ValidateNested)({each:!0}),(0,Dh.Type)(()=>El),ba("design:type",Array)],Hn.prototype,"defensivo",void 0);jr([(0,Lt.IsOptional)(),(0,Lt.ValidateNested)(),(0,Dh.Type)(()=>ys),ba("design:type",typeof IGuiaTransito>"u"?Object:IGuiaTransito)],Hn.prototype,"guiaTransito",void 0);Hn=jr([(0,rS.Choice)({properties:["defensivo","guiaTransito"]})],Hn);var Ca=require("class-validator"),Ph=require("class-transformer");function kc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(kc,"_ts_decorate");function Hc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Hc,"_ts_metadata");var jl=class{static{a(this,"RSAKeyValue")}Modulus;Exponent};kc([(0,Ca.IsString)(),Hc("design:type",String)],jl.prototype,"Modulus",void 0);kc([(0,Ca.IsString)(),Hc("design:type",String)],jl.prototype,"Exponent",void 0);var zl=class{static{a(this,"PAASignature")}SignatureValue;RSAKeyValue};kc([(0,Ca.IsString)(),Hc("design:type",String)],zl.prototype,"SignatureValue",void 0);kc([(0,Ca.ValidateNested)(),(0,Ph.Type)(()=>jl),Hc("design:type",typeof IRSAKeyValue>"u"?Object:IRSAKeyValue)],zl.prototype,"RSAKeyValue",void 0);var Sa=class{static{a(this,"InfPAA")}CNPJPAA;PAASignature};kc([(0,Ca.IsString)(),Hc("design:type",String)],Sa.prototype,"CNPJPAA",void 0);kc([(0,Ca.ValidateNested)(),(0,Ph.Type)(()=>zl),Hc("design:type",typeof IPAASignature>"u"?Object:IPAASignature)],Sa.prototype,"PAASignature",void 0);function Ge(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Ge,"_ts_decorate");function Qe(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Qe,"_ts_metadata");var xs=class{static{a(this,"InfNFeAttributes")}Id;versao};Ge([(0,L.IsOptional)(),(0,L.IsString)(),Qe("design:type",String)],xs.prototype,"Id",void 0);Ge([(0,L.IsOptional)(),(0,L.IsString)(),Qe("design:type",String)],xs.prototype,"versao",void 0);var Ce=class{static{a(this,"InfNFe")}ide;emit;avulsa;dest;retirada;entrega;autXML;det;total;transp;cobr;pag;infIntermed;infAdic;exporta;compra;cana;infRespTec;infSolicNFF;agropecuario;infPAA};Ge([(0,L.IsObject)(),(0,L.IsNotEmptyObject)(),(0,Ke.Type)(()=>xs),(0,L.ValidateNested)(),Qe("design:type",typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes)],Ce.prototype,"$",void 0);Ge([(0,L.IsObject)(),(0,L.IsNotEmptyObject)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>K),Qe("design:type",typeof IIde>"u"?Object:IIde)],Ce.prototype,"ide",void 0);Ge([(0,L.IsObject)(),(0,L.IsNotEmptyObject)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>St),Qe("design:type",typeof IEmit>"u"?Object:IEmit)],Ce.prototype,"emit",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>Wt),Qe("design:type",typeof IAvulsa>"u"?Object:IAvulsa)],Ce.prototype,"avulsa",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>Tt),Qe("design:type",typeof IDest>"u"?Object:IDest)],Ce.prototype,"dest",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>we),Qe("design:type",typeof ILocal>"u"?Object:ILocal)],Ce.prototype,"retirada",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>we),Qe("design:type",typeof ILocal>"u"?Object:ILocal)],Ce.prototype,"entrega",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)({each:!0}),(0,L.ArrayMaxSize)(10),(0,Ke.Type)(()=>Cn),Qe("design:type",Array)],Ce.prototype,"autXML",void 0);Ge([(0,L.ValidateNested)({each:!0}),(0,L.ArrayMaxSize)(990),(0,L.ArrayMinSize)(1),(0,Ke.Type)(()=>Ai),Qe("design:type",Array)],Ce.prototype,"det",void 0);Ge([(0,L.ValidateNested)(),(0,Ke.Type)(()=>vi),Qe("design:type",typeof ITotal>"u"?Object:ITotal)],Ce.prototype,"total",void 0);Ge([(0,L.ValidateNested)(),(0,Ke.Type)(()=>ro),Qe("design:type",typeof ITransp>"u"?Object:ITransp)],Ce.prototype,"transp",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>Kr),Qe("design:type",typeof ICobr>"u"?Object:ICobr)],Ce.prototype,"cobr",void 0);Ge([(0,L.ValidateNested)(),(0,Ke.Type)(()=>ta),Qe("design:type",typeof IPag>"u"?Object:IPag)],Ce.prototype,"pag",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>Qr),Qe("design:type",typeof IInfIntermed>"u"?Object:IInfIntermed)],Ce.prototype,"infIntermed",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>Wi),Qe("design:type",typeof IInfAdic>"u"?Object:IInfAdic)],Ce.prototype,"infAdic",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>nr),Qe("design:type",typeof IExporta>"u"?Object:IExporta)],Ce.prototype,"exporta",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>rr),Qe("design:type",typeof ICompra>"u"?Object:ICompra)],Ce.prototype,"compra",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>ao),Qe("design:type",typeof ICana>"u"?Object:ICana)],Ce.prototype,"cana",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>fi),Qe("design:type",typeof IInfRespTec>"u"?Object:IInfRespTec)],Ce.prototype,"infRespTec",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>gs),Qe("design:type",typeof ISolicNFF>"u"?Object:ISolicNFF)],Ce.prototype,"infSolicNFF",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>Hn),Qe("design:type",typeof IAgropecuario>"u"?Object:IAgropecuario)],Ce.prototype,"agropecuario",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>Sa),Qe("design:type",typeof IInfPAA>"u"?Object:IInfPAA)],Ce.prototype,"infPAA",void 0);var Eh=require("class-transformer");function vd(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(vd,"_ts_decorate");function gd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(gd,"_ts_metadata");var Gc=class{static{a(this,"NFeAttributes")}xmlns};vd([(0,Po.IsString)(),(0,Po.IsNotEmpty)(),gd("design:type",String)],Gc.prototype,"xmlns",void 0);var zr=class{static{a(this,"NFe")}$;infNFe;Signature};vd([(0,Po.IsObject)(),(0,Po.IsNotEmptyObject)(),(0,Eh.Type)(()=>Gc),(0,Po.ValidateNested)(),gd("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],zr.prototype,"$",void 0);vd([(0,Po.IsObject)(),(0,Po.IsNotEmptyObject)(),(0,Eh.Type)(()=>Ce),(0,Po.ValidateNested)(),gd("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],zr.prototype,"infNFe",void 0);vd([(0,Po.Allow)(),gd("design:type",typeof Signature>"u"?Object:Signature)],zr.prototype,"Signature",void 0);var aS=require("nfets/core");var xo=require("nfets/core");var fn=a((t=[Xd])=>(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 yo(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(yo,"_ts_decorate");function q(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(q,"_ts_metadata");var lt=class{static{a(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}};yo([(0,xo.Validates)(Uc),q("design:type",Function),q("design:paramtypes",[typeof IDetAttributes>"u"?Object:IDetAttributes]),q("design:returntype",void 0)],lt.prototype,"det",null);yo([(0,xo.Validates)(_),q("design:type",Function),q("design:paramtypes",[typeof IProd>"u"?Object:IProd]),q("design:returntype",void 0)],lt.prototype,"prod",null);yo([(0,xo.Validates)(ht),q("design:type",Function),q("design:paramtypes",[typeof IImposto>"u"?Object:IImposto]),q("design:returntype",void 0)],lt.prototype,"imposto",null);yo([(0,xo.Validates)(he),q("design:type",Function),q("design:paramtypes",[typeof IICMS>"u"?Object:IICMS]),q("design:returntype",void 0)],lt.prototype,"icms",null);yo([(0,xo.Validates)(ot),q("design:type",Function),q("design:paramtypes",[typeof IISSQN>"u"?Object:IISSQN]),q("design:returntype",void 0)],lt.prototype,"issqn",null);yo([(0,xo.Validates)(An),q("design:type",Function),q("design:paramtypes",[typeof III>"u"?Object:III]),q("design:returntype",void 0)],lt.prototype,"ii",null);yo([(0,xo.Validates)(Ci),q("design:type",Function),q("design:paramtypes",[typeof IIPI>"u"?Object:IIPI]),q("design:returntype",void 0)],lt.prototype,"ipi",null);yo([(0,xo.Validates)(Pn),q("design:type",Function),q("design:paramtypes",[typeof IPIS>"u"?Object:IPIS]),q("design:returntype",void 0)],lt.prototype,"pis",null);yo([(0,xo.Validates)(on),q("design:type",Function),q("design:paramtypes",[typeof IPISST>"u"?Object:IPISST]),q("design:returntype",void 0)],lt.prototype,"pisst",null);yo([(0,xo.Validates)(En),q("design:type",Function),q("design:paramtypes",[typeof ICOFINS>"u"?Object:ICOFINS]),q("design:returntype",void 0)],lt.prototype,"cofins",null);yo([(0,xo.Validates)(an),q("design:type",Function),q("design:paramtypes",[typeof ICOFINSST>"u"?Object:ICOFINSST]),q("design:returntype",void 0)],lt.prototype,"cofinsst",null);yo([(0,xo.Validates)(Ao),q("design:type",Function),q("design:paramtypes",[typeof IICMSUFDest>"u"?Object:IICMSUFDest]),q("design:returntype",void 0)],lt.prototype,"icmsufdest",null);yo([fn(So),(0,xo.Validates)(ko),q("design:type",Function),q("design:paramtypes",[typeof IIS>"u"?Object:IIS]),q("design:returntype",void 0)],lt.prototype,"is",null);yo([fn(So),(0,xo.Validates)(go),q("design:type",Function),q("design:paramtypes",[typeof IIBSCBS>"u"?Object:IIBSCBS]),q("design:returntype",void 0)],lt.prototype,"ibscbs",null);yo([fn(So),q("design:type",Function),q("design:paramtypes",[typeof IVItem>"u"?Object:IVItem]),q("design:returntype",void 0)],lt.prototype,"vItem",null);yo([fn(So),(0,xo.Validates)(xa),q("design:type",Function),q("design:paramtypes",[typeof IDFeReferenciado>"u"?Object:IDFeReferenciado]),q("design:returntype",void 0)],lt.prototype,"dfeReferenciado",null);var Qc=require("nfets/core"),ve=require("nfets/core"),yd=require("nfets/core");function Ze(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Ze,"_ts_decorate");function A(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(A,"_ts_metadata");var ce=class{static{a(this,"NfeXmlBuilder")}builder;contingency;schema;data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}}};$data=void 0;aggregators=[new yp(this)];root="NFe";$det=new gp(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=lt.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},So.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,aS.plainToInstance)(this.data,zr,{clearEmptyValues:!0})}quiet(){return Reflect.deleteMetadata(ve.ValidateErrorsMetadata,this),this}toObject(){if(this.$data!==void 0)return(0,Qc.right)(this.$data);let e=this.errors();if(e)return(0,Qc.left)(new yd.NFeTsError(e.join(", ")));for(let o of this.aggregators)o.aggregate();return this.assertHomologValidations(),this.assertContingencyModes(),this.fillAccessKeyIfEmpty(),this.$data=$s(this.toInstance(),this.data.infNFe.emit.enderEmit.UF),(0,Qc.right)(this.$data)}async assemble(){let e=this.toObject();return e.isLeft()?e:(0,Qc.right)(await this.builder.build(e.value,{rootName:this.root}))}assertHomologValidations(){return this.data.infNFe.ide.tpAmb!==yd.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!==Ot.Normal)return;switch(qu[e]){case"SVCAN":return this.data.infNFe.ide.tpEmis=Ot.SVCAN,void 0;case"SVCRS":return this.data.infNFe.ide.tpEmis=Ot.SVCRS,void 0}}automaticallyInferContingencyMode(){let{xJust:e,dhCont:o,tpEmis:i}=this.data.infNFe.ide;if(!(!e&&!o&&i===Ot.Normal))return this.contingency={xJust:e??"SEFAZ fora do Ar",dhCont:o??new Date().toISOString()},this.assertContingencyModes()}errors(){return Reflect.getMetadata(ve.ValidateErrorsMetadata,this)}collect(e){let o=Reflect.getMetadata(ve.ValidateErrorsMetadata,e);if(!o)return;let i=this.errors();Reflect.defineMetadata(ve.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}}};Ze([(0,ve.Validates)(xs),A("design:type",Function),A("design:paramtypes",[typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes]),A("design:returntype",void 0)],ce.prototype,"infNFe",null);Ze([(0,ve.Validates)(K),A("design:type",Function),A("design:paramtypes",[typeof IIde>"u"?Object:IIde]),A("design:returntype",void 0)],ce.prototype,"ide",null);Ze([(0,ve.Validates)(St),A("design:type",Function),A("design:paramtypes",[typeof IEmit>"u"?Object:IEmit]),A("design:returntype",void 0)],ce.prototype,"emit",null);Ze([(0,ve.Validates)(Wt),A("design:type",Function),A("design:paramtypes",[typeof IAvulsa>"u"?Object:IAvulsa]),A("design:returntype",void 0)],ce.prototype,"avulsa",null);Ze([(0,ve.Validates)(Tt),A("design:type",Function),A("design:paramtypes",[typeof IDest>"u"?Object:IDest]),A("design:returntype",void 0)],ce.prototype,"dest",null);Ze([(0,ve.Validates)(we),A("design:type",Function),A("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),A("design:returntype",void 0)],ce.prototype,"retirada",null);Ze([(0,ve.Validates)(we),A("design:type",Function),A("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),A("design:returntype",void 0)],ce.prototype,"entrega",null);Ze([(0,ve.Validates)(Cn,{each:!0}),A("design:type",Function),A("design:paramtypes",[Array]),A("design:returntype",void 0)],ce.prototype,"autXML",null);Ze([(0,ve.Validates)(vi),A("design:type",Function),A("design:paramtypes",[typeof ITotal>"u"?Object:ITotal]),A("design:returntype",void 0)],ce.prototype,"total",null);Ze([fn(So),(0,ve.Validates)(Xi),A("design:type",Function),A("design:paramtypes",[typeof IIBSCBSTot>"u"?Object:IIBSCBSTot]),A("design:returntype",void 0)],ce.prototype,"IBSCBSTot",null);Ze([fn(So),(0,ve.Validates)(is),A("design:type",Function),A("design:paramtypes",[typeof IISTot>"u"?Object:IISTot]),A("design:returntype",void 0)],ce.prototype,"ISTot",null);Ze([fn(So),A("design:type",Function),A("design:paramtypes",[typeof ITotal>"u"?Object:ITotal]),A("design:returntype",void 0)],ce.prototype,"buildTotalForPL_010",null);Ze([(0,ve.Validates)(ro),A("design:type",Function),A("design:paramtypes",[typeof ITransp>"u"?Object:ITransp]),A("design:returntype",void 0)],ce.prototype,"transp",null);Ze([(0,ve.Validates)(Kr),A("design:type",Function),A("design:paramtypes",[typeof ICobr>"u"?Object:ICobr]),A("design:returntype",void 0)],ce.prototype,"cobr",null);Ze([(0,ve.Validates)(ta),A("design:type",Function),A("design:paramtypes",[typeof IPag>"u"?Object:IPag]),A("design:returntype",void 0)],ce.prototype,"pag",null);Ze([(0,ve.Validates)(Qr),A("design:type",Function),A("design:paramtypes",[typeof IInfIntermed>"u"?Object:IInfIntermed]),A("design:returntype",void 0)],ce.prototype,"infIntermed",null);Ze([(0,ve.Validates)(Wi),A("design:type",Function),A("design:paramtypes",[typeof IInfAdic>"u"?Object:IInfAdic]),A("design:returntype",void 0)],ce.prototype,"infAdic",null);Ze([(0,ve.Validates)(nr),A("design:type",Function),A("design:paramtypes",[typeof IExporta>"u"?Object:IExporta]),A("design:returntype",void 0)],ce.prototype,"exporta",null);Ze([(0,ve.Validates)(rr),A("design:type",Function),A("design:paramtypes",[typeof ICompra>"u"?Object:ICompra]),A("design:returntype",void 0)],ce.prototype,"compra",null);Ze([(0,ve.Validates)(ao),A("design:type",Function),A("design:paramtypes",[typeof ICana>"u"?Object:ICana]),A("design:returntype",void 0)],ce.prototype,"cana",null);Ze([(0,ve.Validates)(fi),A("design:type",Function),A("design:paramtypes",[typeof IInfRespTec>"u"?Object:IInfRespTec]),A("design:returntype",void 0)],ce.prototype,"infRespTec",null);Ze([(0,ve.Validates)(gs),A("design:type",Function),A("design:paramtypes",[typeof ISolicNFF>"u"?Object:ISolicNFF]),A("design:returntype",void 0)],ce.prototype,"infSolicNFF",null);Ze([fn(So),(0,ve.Validates)(Hn),A("design:type",Function),A("design:paramtypes",[typeof IAgropecuario>"u"?Object:IAgropecuario]),A("design:returntype",void 0)],ce.prototype,"agropecuario",null);Ze([fn(So),(0,ve.Validates)(Sa),A("design:type",Function),A("design:paramtypes",[typeof IInfPAA>"u"?Object:IInfPAA]),A("design:returntype",void 0)],ce.prototype,"infPAA",null);var Tl=class extends Ys{static{a(this,"NfeXmlBuilderPipeline")}certificate;schema;builder;constructor(e,o="PL_009_V4"){super(e),this.certificate=e,this.schema=o,this.builder=ce.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 sS.default.resolve(hp(),this.schema,"nfe_v4.00.xsd")}async assertXmlSignedAndValidated(e){if(!this.certificate)return(0,Zc.right)(e);let o=await this.signXmlString(e);return o.isLeft()?o:this.validateXmlString(o.value)}async signXmlString(e){if(!this.certificate)return(0,Zc.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,Zc.left)(new mp(o.value.message,e,{cause:o.value.cause})):(0,Zc.right)(e)}};var uS=require("nfets/core");var Cd=require("nfets/core"),dS=require("nfets/core");var lS=require("nfets/core");var Sd=require("class-transformer"),Ho=require("class-validator");var jh=require("class-validator");function cS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(cS,"_ts_decorate");function pS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(pS,"_ts_metadata");var Yc=class{static{a(this,"InfNFeSupl")}qrCode;urlChave};cS([(0,jh.IsString)(),pS("design:type",String)],Yc.prototype,"qrCode",void 0);cS([(0,jh.IsString)(),pS("design:type",String)],Yc.prototype,"urlChave",void 0);function xd(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;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--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(xd,"_ts_decorate");function bd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(bd,"_ts_metadata");var Gn=class{static{a(this,"NFCe")}$;infNFe;infNFeSupl;Signature};xd([(0,Ho.IsObject)(),(0,Ho.IsNotEmptyObject)(),(0,Sd.Type)(()=>Gc),(0,Ho.ValidateNested)(),bd("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],Gn.prototype,"$",void 0);xd([(0,Ho.IsObject)(),(0,Ho.IsNotEmptyObject)(),(0,Sd.Type)(()=>Ce),(0,Ho.ValidateNested)(),bd("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],Gn.prototype,"infNFe",void 0);xd([(0,Ho.IsObject)(),(0,Ho.IsNotEmptyObject)(),(0,Sd.Type)(()=>Yc),(0,Ho.ValidateNested)(),bd("design:type",typeof IInfNFeSupl>"u"?Object:IInfNFeSupl)],Gn.prototype,"infNFeSupl",void 0);xd([(0,Ho.Allow)(),bd("design:type",typeof Signature>"u"?Object:Signature)],Gn.prototype,"Signature",void 0);var Bl=class extends ce{static{a(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,lS.plainToInstance)(this.data,Gn,{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===Ot.Normal)return this.data.infNFe.ide.tpEmis=Ot.OFFLINE,void 0}};var zh=class extends Tl{static{a(this,"NfceXmlBuilderPipeline")}options;nfceQrcode=new Gt(this.certificates);transmitter=new jt(this.soap,this.nfceQrcode);constructor(e,o="PL_009_V4",i){super(e,o),this.options=i}builder=Bl.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,Cd.left)(new uS.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 s=await this.toolkit.build(n.value,{rootName:"infNFeSupl"}),c=this.toolkit.insertBefore(i,"Signature",s);return(0,Cd.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 s=await this.certificates.read(i);return s.isLeft()?s:await this.nfceQrcode.execute(e,{version:n.version,certificate:s.value,urlConsult:this.transmitter.getUrlConsult(e),urlService:r.url})}default:return(0,dS.unreachable)(n.version)}}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eOmCpyhdJ024skTbfZK7GrtvJlrlCajjnfcrPQ1mI++9po7QUCJxtBaQickPz0lbefPeuU//gi6NKythBT8YFHP5VD6Vw5eRGh8rVTL9MQ+J3nLtw8ocJIgUAg8HoiuCcCJyQXn/XPLxv9AfhD0dE5V05M1JyySGRlV0X56GSSuOkYyPDtRkFhCAQCb2iCpSFwwjOwfeksSR+2uVFicdo9keBylsho558uglR2YUyNbMTwOcynliw6XtUyA4FA4NgQlIbA64YtO1pnAVfbvklwPlJLteOiQvJ6tStj0mWv2r4T8dCShZuDwhAIBN7wBKUh8LpjYEdrk+xzkN4PdNheDKpJmxxZI5L4yEmUHTC8LLvH8NiSRZtDkFwgEDhpCEpD4HXNwI6lGaGzsLNIFwMXAfNsWiQyaftA5SsNXquR2SNIh8AHQVsxLyB+CmwCdh6rSpiBQCBwIhGUhsAbii07WrGZI/lsw2JgIWa+pDnALOyoaFEcq2AzIrEPOIC9B9iN9H+AndjbLe1asjDEKgQCgQDA/wf59f5AwcXxcQAAAABJRU5ErkJggg==";var Xc=class t{static{a(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:s}=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(s)}${this.addressLine2(s)}${this.addressLine3(s)}`,{...d,align:l})).row({left:r,right:i},d=>this.builder.text(this.addressLine4(s),{...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 fS}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 Na=class t{static{a(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!==Ot.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,s)=>n+s,0)}};var mS=require("nfets/core");var Jc=class t{static{a(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!==mS.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 Nd=class t{static{a(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:s,uCom:c,vUnCom:p,vDesc:u,vProd:l}=o,d={size:this.context.options.textFontSize},g={font:d,text:i.padStart(3,"0")},y={font:d,text:r},C=[{font:d,align:{x:"right"},text:`${this.context.currency(s,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)}],w=this.builder.widthOfString(r),S=this.columnStyles[1];if(w>=S)return[[g,{colSpan:6,font:d,text:`${r} ${n}`}],[{colSpan:3},...C]];let x=this.builder.widthOfString(n),F=this.columnStyles[2];if(x>=F)return[[g,y,{colSpan:5,font:d,text:n}],[{colSpan:3},...C]];let D=this.getFirstLineWidth();return this.builder.widthOfString(`${r} ${n}`)<=D?[[g,y,{font:d,text:n},...C]]:[[g,y,{colSpan:5,font:d,text:n}],[{colSpan:3},...C]]}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((s,c)=>typeof c=="number"?s+c:s,0),n=this.columnStyles.filter(s=>s==="*").length;return(i-r)/n}getAvailableWidth(e,o){if(e.colSpan){let n=o.indexOf(e),s=this.columnStyles.slice(0,n).reduce((p,u)=>typeof u=="number"?p+u:p,0),c=this.getProportionalWidth()*e.colSpan;return s+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,s=this.builder.widthOfString(n),c=this.getAvailableWidth(r,e),p=s<=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,s=i*.5,c=o.reduce((u,l)=>{let d=this.item(l),[g]=d,y=this.calculateRowHeight(g,i),C=0;if(d.length>1){let D=this.calculateRowHeight(d[1],i);C=Math.max(i,D)}let{top:w,bottom:S}=this.defaultStyle.padding,x=w+S,F=d.length>1?i*.2:0;return u+y+C+d.length*x+F},0),p=i*2;return n+r+s+c+p}};var hS=require("nfets/core");var Wc=class t{static{a(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:s}=this.context.data.infNFe.total.ISSQNtot??{};this.conditionalRowValue("Valor Total R$",new hS.Decimal(e).add(s??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},s=>this.builder.text("Valor a Pagar R$",{...s,align:"left"}),s=>this.builder.text(this.context.currency(e),{...s,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},s=>this.builder.text(e,{...s,align:"left"}),s=>this.builder.text(`${i}${o}`,{...s,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 vt={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"},vS={[vt.Dinheiro]:"Dinheiro",[vt.Cheque]:"Cheque",[vt.CartaoDeCredito]:"Cart\xE3o de Cr\xE9dito",[vt.CartaoDeDebito]:"Cart\xE3o de D\xE9bito",[vt.CartaoDaLoja]:"Cart\xE3o da Loja/Outros Credi\xE1rios",[vt.ValeAlimentacao]:"Vale Alimenta\xE7\xE3o",[vt.ValeRefeicao]:"Vale Refei\xE7\xE3o",[vt.ValePresente]:"Vale Presente",[vt.ValeCombustivel]:"Vale Combust\xEDvel",[vt.BoletoBancario]:"Boleto Banc\xE1rio",[vt.DepositoBancario]:"Dep\xF3sito Banc\xE1rio",[vt.PIXDinamico]:"Pagamento Instant\xE2neo (PIX) - Din\xE2mico",[vt.TransferenciaBancaria]:"Transfer\xEAncia banc\xE1ria, Carteira Digital",[vt.ProgramaFidelidade]:"Programa fidelidade, Cashback, Cr\xE9d Virt",[vt.PIXEstatico]:"Pagamento Instant\xE2neo (PIX) - Est\xE1tico",[vt.CreditoEmLoja]:"Cr\xE9dito em Loja",[vt.PagamentoNaoInformado]:"Pagamento Eletr\xF4nico n\xE3o Informado - falha de hardware do sistema emissor",[vt.SemPagamento]:"Sem pagamento",[vt.PagamentoPosterior]:"Pagamento Posterior",[vt.Outros]:"Outros"};var Kc=class t{static{a(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},s=>this.builder.text(vS[o],{...s,align:"left"}),s=>this.builder.text(this.context.currency(i),{...s,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 $c=class t{static{a(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 IN=dt(wN(),1);var Vd=class t{static{a(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!==Ot.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 IN.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,s=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,g=this.builder.y();this.builder.save().translate(d,g).scale(n,s),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:g+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 Ld=class t{static{a(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},s=>this.builder.font(n).text("CONSUMIDOR N\xC3O IDENTIFICADO",{...s,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:s,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(`${s}${p}`,{...d,align:"center"}))}addressLine(e){if(!e)return"";let{xLgr:o,nro:i,xBairro:r,xCpl:n,xMun:s,UF:c,CEP:p}=e;if(!o||!p)return"";let u=n?`, ${n}`:"";return` - Rua ${o}, ${i}, ${r}${u}, ${s} - ${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 s=this.identification(n),{xNome:c,enderDest:p}=n,u=this.addressLine(p);return r.push(this.builder.heightOfString(`CONSUMIDOR - ${s}`,{width:i,align:"center"}),this.builder.heightOfString(`${c}${u}`,{width:i,align:"center"})),r.reduce((l,d)=>l+d,0)}};var Br=require("nfets/core");var _d=class t{static{a(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"),s=i.padStart(3,"0"),{left:c,right:p}=this.builder.pageMargins(),{cUF:u}=this.context.data.infNFe.ide,l=Br.timezones[u],d=(0,Br.dateToolkit)(r).tz(l).format("DD/MM/YYYY HH:mm:ss"),g=this.context.defaults.font,y=`${g}-Bold`;this.builder.row({left:e?.x??c,right:p},C=>this.builder.font(y).text(`NFC-e n\xBA ${n} - s\xE9rie ${s} emitida em: ${d}`,{...C,align:"center"}).font(g))}protocoled(e,o){let{dhRecbto:i,nProt:r}=e,{left:n,right:s}=this.builder.pageMargins(),{cUF:c}=this.context.data.infNFe.ide,p=Br.timezones[c],u=r.replace(/([0-9]{3})([0-9]{10})(.*)/g,"$1 $2 $3"),l=(0,Br.dateToolkit)(i).tz(p).format("DD/MM/YYYY HH:mm:ss");this.builder.row({left:o?.x??n,right:s},d=>this.builder.text(`Protocolo de autoriza\xE7\xE3o: ${u}
|
|
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},
|
|
38
|
-
Data de autoriza\xE7\xE3o: ${
|
|
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=XN(),fR=WN(),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:()=>_,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,_=s(t=>t*Cg,"mm"),zR={A4:[_(210),_(297)]},Tf={top:_(5),right:_(5),bottom:_(5),left:_(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,S]=i;return{cUF:n,year:a,month:c,identification:p,mod:u,serie:l,nNF:d,tpEmis:m,cNF:y,vd:S}}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 Xr=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 XR(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}s(XR,"getGlobal");var Rg=XR(),wg=typeof Rg.FormData<"u"?Rg.FormData:void 0,WR=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:WR,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,F){return!h.isUndefined(F[I])},"defined"));let i=o.metaTokens,r=o.visitor||S,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 F=[];return JSON.stringify(b,s(function(Z,G){if(!h.isObject(G))return G;for(;F.length&&F[F.length-1]!==this;)F.pop();return F.push(G),m(I+F.length-1),G},"limitDepth"))}s(y,"stringifyWithDepthLimit");function S(b,I,F){let E=b;if(h.isReactNative(e)&&h.isReactNativeBlob(b))return e.append(sm(F,I,n),d(b)),!1;if(b&&!F&&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,"[]"))&&(E=h.toArray(b)))return I=Qb(I),E.forEach(s(function(G,Ct){!(h.isUndefined(G)||G===null)&&e.append(a===!0?sm([I],Ct,n):a===null?I:I+"[]",d(G))},"each")),!1}return cm(b)?!0:(e.append(sm(F,I,n),d(b)),!1)}s(S,"defaultVisitor");let N=Object.assign(DO,{defaultVisitor:S,convertValue:d,isVisitable:cm});function C(b,I,F=0){if(!h.isUndefined(b)){if(m(F),l.indexOf(b)!==-1)throw new Error("Circular reference detected in "+I.join("."));l.push(b),h.forEach(b,s(function(Z,G){(!(h.isUndefined(Z)||Z===null)&&r.call(e,Z,h.isString(G)?G.trim():G,I,N))===!0&&C(Z,I?I.concat(G):[G],F+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 Xb=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 Xb(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 Wb=pt(require("url"),1),Kb=Wb.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 Wp(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(Wp,"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}},Xo=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 XO(t){try{return new URL(t)}catch{return null}}s(XO,"parseUrl");function ax(t){var e=(typeof t=="string"?XO(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,!WO(i,r)))return"";var n=bm(o+"_proxy")||bm("all_proxy");return n&&n.indexOf("://")===-1&&(n=o+"://"+n),n}s(ax,"getProxyForUrl");function WO(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(WO,"shouldProxy");function bm(t){return process.env[t.toLowerCase()]||process.env[t.toUpperCase()]||""}s(bm,"getEnv");var Xm=pt(Ox(),1),Wm=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),Wo=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,S)=>{let N=Buffer.byteLength(y);r.bytesSeen+=N,r.bytes+=N,r.isCaptured&&this.emit("progress",r.bytesSeen),this.push(y)?process.nextTick(S):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(S)}},"pushChunk"),m=s((y,S)=>{let N=Buffer.byteLength(y),C=null,b=a,I,F=0;if(n){let E=Date.now();(!r.ts||(F=E-r.ts)>=c)&&(r.ts=E,I=u-r.bytes,r.bytes=I<0?-I:0,F=0),I=u-r.bytes}if(n){if(I<=0)return setTimeout(()=>{S(null,y)},c-F);I<b&&(b=I)}b&&N>b&&N-b>l&&(C=y.subarray(b),y=y.subarray(0,b)),d(y,C?()=>{process.nextTick(S,null,C)}:S)},"transformChunk");m(e,s(function y(S,N){if(S)return i(S);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,S]=i[m];if(!y.destroyed&&!y.closed&&Hx.default.isDeepStrictEqual(S,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 Xx=CF;var tr=s((t,e,o=3)=>{let i=0,r=Jx(50,250);return Xx(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 Wx=s(t=>t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102,"isHexDigit"),$x=s((t,e,o)=>e+2<o&&Wx(t.charCodeAt(e+1))&&Wx(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:Wo.default.constants.Z_SYNC_FLUSH,finishFlush:Wo.default.constants.Z_SYNC_FLUSH},OF={flush:Wo.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:Wo.default.constants.BROTLI_OPERATION_FLUSH},AF={flush:Wo.default.constants.ZSTD_e_flush,finishFlush:Wo.default.constants.ZSTD_e_flush},v0=h.isFunction(Wo.default.createBrotliDecompress),g0=h.isFunction(Wo.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||Wm.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 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[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(S=>p||h.hasOwnProp(a,S)?a[S]: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 S=typeof m=="object",N=S&&h.hasOwnProp(m,"username")?m.username:void 0,C=S&&h.hasOwnProp(m,"password")?m.password:void 0;if(!!(N||C))m=(N||"")+":"+(C||"");else if(S)throw new w("Invalid proxy authorization",w.ERR_BAD_OPTION,{proxy:a})}if($m.test(t.protocol)){if(!(r instanceof Xm.default)){let S=u("hostname")||u("host"),N=u("port"),C=u("protocol"),b=C?C.includes(":")?C:`${C}:`:"http:",I=S&&S.includes(":")&&!S.startsWith("[")?`[${S}]`:S,F=new URL(`${b}//${I}${N?":"+N:""}`),E={protocol:F.protocol,hostname:F.hostname.replace(/^\[|\]$/g,""),port:F.port,auth:m&&typeof m=="string"?m:void 0};F.protocol==="https:"&&(E.ALPNProtocols=["http/1.1"]);let Z=BF(E,r);t.agent=Z,t.agents&&(t.agents.https=Z)}}else{if(m){let b=Buffer.from(m,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+b}let S=!1;for(let b of Object.keys(t.headers))if(b.toLowerCase()==="host"){S=!0;break}S||(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 S=m[u];delete m[u],y.headers=m,y.statusCode=+S,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"),S=a("httpsAgent"),N=a("proxy"),C=a("responseType"),b=a("responseEncoding"),I=a("socketPath"),F=a("method").toUpperCase(),E=a("maxRedirects"),Z=a("maxBodyLength"),G=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,(W,Ft,io)=>{if(W)return Ke(W);let ct=h.isArray(Ft)?Ft.map(_s=>u0(_s)):[u0(Ft,io)];ee.all?Ke(W,ct):Ke(W,ct[0].address,ct[0].family)})},"lookup")}let Ur=new h0.EventEmitter;function mt(z){try{Ur.emit("abort",!z||z.type?new Xo(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),We=ze.protocol||c0[0];if(We==="data:"){if(G>-1){let P=String(a("url")||yu||"");if(o0(P)>G)return r(new w("maxContentLength size of "+G+" exceeded",w.ERR_BAD_RESPONSE,e))}let z;if(F!=="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(We)===-1)return r(new w("Unsupported protocol "+We,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),Z>-1&&p.length>Z)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:F,headers:Qs(st),agents:{http:y,https:S},auth:Sn,protocol:We,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(W=>typeof W=="string"&&(0,Jm.resolve)(W)===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,We+"//"+ze.hostname+(ze.port?":"+ze.port:"")+de.path,!1,S,y);let qr,Vs=!1,li=!1,Q=$m.test(de.protocol);if(de.agent==null&&(de.agent=Q?S:y),Ms)qr=kF;else{let z=a("transport");if(z)qr=z;else if(E===0)qr=Q?Km.default:Wm.default,Vs=!0;else{li=!0,de.sensitiveHeaders=[],E&&(de.maxRedirects=E);let P=a("beforeRedirect");if(P&&(de.beforeRedirects.config=P),Sn){let Ke=ze.origin,W=Sn;de.beforeRedirects.auth=s(function(io){try{new URL(io.href).origin===Ke&&(io.auth=W)}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 W of ee){if(!h.isString(W))return r(new w("sensitiveHeaders must be an array of strings",w.ERR_BAD_OPTION_VALUE,e));Ke.add(W.toLowerCase())}Ke.size&&(de.sensitiveHeaders=Array.from(Ke),de.beforeRedirects.sensitiveHeaders=s(function(Ft,io){_F(Ft,io)||VF(Ft.headers,Ke)},"beforeRedirectSensitiveHeaders"))}qr=Q?EF:DF}}Z>-1?de.maxBodyLength=Z: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 W=P,Ft=P.req||te;if(Ct!==!1&&P.headers["content-encoding"])switch((F==="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(Wo.default.createUnzip(i0)),delete P.headers["content-encoding"];break;case"deflate":ee.push(new Ux),ee.push(Wo.default.createUnzip(i0)),delete P.headers["content-encoding"];break;case"br":v0&&(ee.push(Wo.default.createBrotliDecompress(OF)),delete P.headers["content-encoding"]);break;case"zstd":g0&&(ee.push(Wo.default.createZstdDecompress(AF)),delete P.headers["content-encoding"]);break}W=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(G>-1){let ct=G,_s=W;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"),W=fi.default.Readable.from(jp(),{objectMode:!1})}io.data=W,Cn(i,r,io)}else{let ct=[],_s=0;W.on("data",s(function(Dt){ct.push(Dt),_s+=Dt.length,G>-1&&_s>G&&(bn=!0,W.destroy(),mt(new w("maxContentLength size of "+G+" exceeded",w.ERR_BAD_RESPONSE,e,Ft)))},"handleStreamData")),W.on("aborted",s(function(){if(bn)return;let Dt=new w("stream has been aborted",w.ERR_BAD_RESPONSE,e,Ft,io);W.destroy(Dt),r(Dt)},"handlerStreamAborted")),W.on("error",s(function(Dt){bn||r(w.from(Dt,null,e,Ft,io))},"handleStreamError")),W.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=>{W.destroyed||(W.emit("error",ct),W.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 W=P[ku];W&&!W.destroyed&&W.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 Xo("Request stream has been aborted",e,te))});let ee=p;if(Z>-1&&!li){let Ke=Z,W=0;ee=fi.default.pipeline([p,new fi.default.Transform({transform(Ft,io,ct){if(W+=Ft.length,W>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,S=h.hasOwnProp(e,d)?e[d]:void 0,N=m(y,S,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(S){throw w.from(S,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,S;function N(){y&&y(),S&&S(),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 F=we.from("getAllResponseHeaders"in C&&C.getAllResponseHeaders()),Z={data:!c||c==="text"||c==="json"?C.responseText:C.response,status:C.status,statusText:C.statusText,headers:F,config:t,request:C};Cn(s(function(Ct){o(Ct),N()},"_resolve"),s(function(Ct){i(Ct),N()},"_reject"),Z),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(E){let Z=E&&E.message?E.message:"Network Error",G=new w(Z,w.ERR_NETWORK,t,C);G.event=E||null,i(G),N(),C=null},"handleError"),C.ontimeout=s(function(){let E=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded",Z=r.transitional||Gr;r.timeoutErrorMessage&&(E=r.timeoutErrorMessage),i(new w(E,Z.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(E,Z){C.setRequestHeader(Z,E)},"setRequestHeader")),h.isUndefined(r.withCredentials)||(C.withCredentials=!!r.withCredentials),c&&c!=="json"&&(C.responseType=r.responseType),u&&([m,S]=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(F=>{C&&(i(!F||F.type?new Xo(null,t,C):F),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 Xo(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 XF=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"),WF=s(async function*(t,e){for await(let o of KF(t))yield*XF(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=WF(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"}}),F=I.headers.has("Content-Type");return I.body!=null&&I.body.cancel(),b&&!F}),y=u&&l&&F0(()=>h.isReadableStream(new a("").body)),S={stream:y&&(b=>b.body)};c&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!S[b]&&(S[b]=(I,F)=>{let E=I&&I[b];if(E)return E.call(I);throw new w(`Response type '${b}' is not supported`,w.ERR_NOT_SUPPORT,F)})});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 F=h.toFiniteNumber(b.getContentLength());return F??N(I)},"resolveBodyLength");return async b=>{let{url:I,method:F,data:E,signal:Z,cancelToken:G,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([Z,G&&G.toAbortSignal()],Ct),We=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,We),"maxBodyLengthError");try{let ie,Gt=yu("auth");if(Gt){let Q=h.getSafeProp(Gt,"username")||"",Qt=h.getSafeProp(Gt,"password")||"";ie={username:Q,password:Qt}}if(eD(I)){let Q=new URL(I,ne.origin);if(!ie&&(Q.username||Q.password)){let Qt=A0(Q.username),z=A0(Q.password);ie={username:Qt,password:z}}(Q.username||Q.password)&&(Q.username="",Q.password="",I=Q.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,We);if(Ua&&F!=="get"&&F!=="head"){let Q=await N(E);if(typeof Q=="number"&&isFinite(Q)&&(xn=Q,Q>Kn))throw qa()}let Ls=Ua&&(h.isReadableStream(E)||h.isStream(E)),Sn=s((Q,Qt,z)=>eh(Q,O0,P=>{if(Ua&&P>Kn)throw $n=qa();Qt&&Qt(P)},z),"trackRequestStream");if(m&&F!=="get"&&F!=="head"&&(bn||Ls)){if(xn=xn??await C(Jo,E),xn!==0||Ls){let Q=new n(I,{method:"POST",body:E,duplex:"half"}),Qt;if(h.isFormData(E)&&(Qt=Q.headers.get("content-type"))&&Jo.setContentType(Qt),Q.body){let[z,P]=bn&&nc(xn,tr(rc(bn)))||[];E=Sn(Q.body,z,P)}}}else if(Ls&&!p&&l&&F!=="get"&&F!=="head")E=Sn(E);else if(Ls&&p&&!m&&F!=="get"&&F!=="head")throw new w("Stream request bodies are not supported by the current fetch implementation",w.ERR_NOT_SUPPORT,b,We);h.isString(Ms)||(Ms=Ms?"include":"omit");let Tp=p&&"credentials"in n.prototype;if(h.isFormData(E)){let Q=Jo.getContentType();Q&&/^multipart\/form-data/i.test(Q)&&!/boundary=/i.test(Q)&&Jo.delete("content-type")}Jo.set("User-Agent","axios/"+er,!1);let zp={...Ur,signal:ze,method:F.toUpperCase(),headers:Qs(Jo.normalize()),body:E,duplex:"half",credentials:Tp?Ms:void 0};We=p&&new n(I,zp);let de=await(p?bu(We,Ur):bu(I,zp)),qr=we.from(de.headers);if(_a){let Q=h.toFiniteNumber(qr.getContentLength());if(Q!=null&&Q>mt)throw new w("maxContentLength size of "+mt+" exceeded",w.ERR_BAD_RESPONSE,b,We)}let Vs=y&&(te==="stream"||te==="response");if(y&&de.body&&(Yo||_a||Vs&&st)){let Q={};["status","statusText","headers"].forEach(W=>{Q[W]=de[W]});let Qt=h.toFiniteNumber(qr.getContentLength()),[z,P]=Yo&&nc(Qt,tr(rc(Yo),!0))||[],ee=0,Ke=s(W=>{if(_a&&(ee=W,ee>mt))throw new w("maxContentLength size of "+mt+" exceeded",w.ERR_BAD_RESPONSE,b,We);z&&z(W)},"onChunkProgress");de=new a(eh(de.body,O0,Ke,()=>{P&&P(),st&&st()}),Q)}te=te||"text";let li=await S[h.findKey(S,te)||"text"](de,b);if(_a&&!y&&!Vs){let Q;if(li!=null&&(typeof li.byteLength=="number"?Q=li.byteLength:typeof li.size=="number"?Q=li.size:typeof li=="string"&&(Q=typeof i=="function"?new i().encode(li).byteLength:li.length)),typeof Q=="number"&&Q>mt)throw new w("maxContentLength size of "+mt+" exceeded",w.ERR_BAD_RESPONSE,b,We)}return!Vs&&st&&st(),await new Promise((Q,Qt)=>{Cn(Q,Qt,{data:li,headers:we.from(de.headers),status:de.status,statusText:de.statusText,config:b,request:We})})}catch(ie){if(st&&st(),ze&&ze.aborted&&ze.reason instanceof w){let Gt=ze.reason;throw Gt.config=b,We&&(Gt.request=We),ie!==Gt&&Object.defineProperty(Gt,"cause",{__proto__:null,value:ie,writable:!0,enumerable:!1,configurable:!0}),Gt}if($n)throw We&&!$n.request&&($n.request=We),$n;if(ie instanceof w)throw We&&!ie.request&&(ie.request=We),ie;if(ie&&ie.name==="TypeError"&&/Load failed|fetch/i.test(ie.message)){let Gt=new w("Network Error",w.ERR_NETWORK,b,We,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,We,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 Xo(null,t)}s(ih,"throwIfCancellationRequested");function ul(t){return ih(t),t.headers=we.from(t.headers),t.data=Wp.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=Wp.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=Wp.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(`
|
|
32
|
+
`);return a===-1?"":r.stack.slice(a+1)})();try{if(!i.stack)i.stack=n;else if(n){let a=n.indexOf(`
|
|
33
|
+
`),c=a===-1?-1:n.indexOf(`
|
|
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"],S=>{delete n[S]}),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 S=[ul.bind(this),void 0];for(S.unshift(...c),S.push(...u),m=S.length,l=Promise.resolve(o);d<m;)l=l.then(S[d++],S[d++]);return l}m=c.length;let y=o;for(;d<m;){let S=c[d++],N=c[d++];try{y=S?S(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(S){l=Promise.reject(S)}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 Xo(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=Xo;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 Xu=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}=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 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 Wu(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(Wu,"_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"};Wu([(0,Vi.IsEnum)(Ku.Environment),ch("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Yr.prototype,"tpAmb",void 0);Wu([(0,Vi.IsEnum)(Ku.StateCodes),ch("design:type",typeof StateCode>"u"?Object:StateCode)],Yr.prototype,"cUF",void 0);Wu([(0,Vi.IsOptional)()],Yr.prototype,"xServ",void 0);var sh=class{static{s(this,"ConsultStatusRequest")}consStatServ};Wu([(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"),X0=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 X0.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,Xr.left)(new Xr.NFeTsError(o.join(", "))):(0,Xr.right)(e)}};hD([(0,Xr.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 W0=require("nfets/core");var yl=class extends W0.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 Wr=(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(Wr).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,S=await this.protocol(this.versionedInutNFe(u.value,y),m,y);return(0,Hi.right)({xml:S,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 V=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 Wt=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 Xt=class{static{s(this,"EnderEmit")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};ki([(0,Wt.IsString)(),Gi("design:type",String)],Xt.prototype,"xLgr",void 0);ki([(0,Wt.IsString)(),Gi("design:type",String)],Xt.prototype,"nro",void 0);ki([(0,Wt.IsOptional)(),(0,Wt.IsString)(),Gi("design:type",String)],Xt.prototype,"xCpl",void 0);ki([(0,Wt.IsString)(),Gi("design:type",String)],Xt.prototype,"xBairro",void 0);ki([(0,Wt.IsString)(),Gi("design:type",String)],Xt.prototype,"cMun",void 0);ki([(0,Wt.IsString)(),Gi("design:type",String)],Xt.prototype,"xMun",void 0);ki([(0,Wt.IsString)(),Gi("design:type",String)],Xt.prototype,"UF",void 0);ki([(0,Wt.IsString)(),Gi("design:type",String)],Xt.prototype,"CEP",void 0);ki([(0,Wt.IsOptional)(),(0,Wt.IsString)(),Gi("design:type",String)],Xt.prototype,"cPais",void 0);ki([(0,Wt.IsOptional)(),(0,Wt.IsString)(),Gi("design:type",String)],Xt.prototype,"xPais",void 0);ki([(0,Wt.IsOptional)(),(0,Wt.IsString)(),Gi("design:type",String)],Xt.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)(()=>Xt),Qi("design:type",typeof Xt>"u"?Object:Xt)],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 Xi=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,Xi.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vFCPUFDest",void 0);fe([(0,Xi.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vICMSUFDest",void 0);fe([(0,Xi.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,Xi.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"qBCMono",void 0);fe([(0,Xi.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vICMSMono",void 0);fe([(0,Xi.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"qBCMonoReten",void 0);fe([(0,Xi.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vICMSMonoReten",void 0);fe([(0,Xi.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"qBCMonoRet",void 0);fe([(0,Xi.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,Xi.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vTotTrib",void 0);var Do=require("class-validator"),Wi=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,Wi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vServ",void 0);yi([(0,Do.IsOptional)(),(0,Wi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vBC",void 0);yi([(0,Do.IsOptional)(),(0,Wi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vISS",void 0);yi([(0,Do.IsOptional)(),(0,Wi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vPIS",void 0);yi([(0,Do.IsOptional)(),(0,Wi.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,Wi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vDeducao",void 0);yi([(0,Do.IsOptional)(),(0,Wi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vOutro",void 0);yi([(0,Do.IsOptional)(),(0,Wi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vDescIncond",void 0);yi([(0,Do.IsOptional)(),(0,Wi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vDescCond",void 0);yi([(0,Do.IsOptional)(),(0,Wi.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 A=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"),Xh=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,Xh.TransformDecimal)({fixed:4}),Jh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ys.prototype,"pCredPresumido",void 0);Yh([(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 X(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(X,"_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,A.IsString)(),X("design:type",String)],U.prototype,"cProd",void 0);Y([(0,A.IsString)(),X("design:type",String)],U.prototype,"cEAN",void 0);Y([(0,A.IsOptional)(),(0,A.IsString)(),X("design:type",String)],U.prototype,"cBarra",void 0);Y([(0,A.IsString)(),X("design:type",String)],U.prototype,"xProd",void 0);Y([(0,A.IsString)(),X("design:type",String)],U.prototype,"NCM",void 0);Y([(0,A.IsOptional)(),(0,A.IsArray)(),(0,A.ArrayMaxSize)(8),(0,A.IsString)({each:!0}),X("design:type",Array)],U.prototype,"NVE",void 0);Y([(0,A.IsOptional)(),(0,A.IsString)(),X("design:type",String)],U.prototype,"CEST",void 0);Y([(0,A.IsOptional)(),(0,A.IsString)(),X("design:type",String)],U.prototype,"indEscala",void 0);Y([(0,A.IsOptional)(),(0,A.IsString)(),X("design:type",String)],U.prototype,"CNPJFab",void 0);Y([(0,A.IsOptional)(),(0,A.IsString)(),X("design:type",String)],U.prototype,"cBenef",void 0);Y([(0,A.IsOptional)(),(0,A.IsArray)(),(0,A.ArrayMaxSize)(4),(0,A.ValidateNested)({each:!0}),(0,nn.Type)(()=>ys),X("design:type",Array)],U.prototype,"gCred",void 0);Y([(0,A.IsOptional)(),(0,A.IsString)(),X("design:type",String)],U.prototype,"tpCredPresIBSZFM",void 0);Y([(0,A.IsOptional)(),(0,A.IsString)(),X("design:type",String)],U.prototype,"EXTIPI",void 0);Y([(0,A.IsString)(),X("design:type",String)],U.prototype,"CFOP",void 0);Y([(0,A.IsString)(),X("design:type",String)],U.prototype,"uCom",void 0);Y([(0,Pn.TransformDecimal)({fixed:4}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"qCom",void 0);Y([(0,Pn.TransformDecimal)({fixed:10}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vUnCom",void 0);Y([(0,Pn.TransformDecimal)({fixed:2}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vProd",void 0);Y([(0,A.IsString)(),X("design:type",String)],U.prototype,"cEANTrib",void 0);Y([(0,A.IsOptional)(),(0,A.IsString)(),X("design:type",String)],U.prototype,"cBarraTrib",void 0);Y([(0,A.IsString)(),X("design:type",String)],U.prototype,"uTrib",void 0);Y([(0,Pn.TransformDecimal)({fixed:4}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"qTrib",void 0);Y([(0,Pn.TransformDecimal)({fixed:10}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vUnTrib",void 0);Y([(0,A.IsOptional)(),(0,Pn.TransformDecimal)({fixed:2}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vFrete",void 0);Y([(0,A.IsOptional)(),(0,Pn.TransformDecimal)({fixed:2}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vSeg",void 0);Y([(0,A.IsOptional)(),(0,Pn.TransformDecimal)({fixed:2}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vDesc",void 0);Y([(0,A.IsOptional)(),(0,Pn.TransformDecimal)({fixed:2}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vOutro",void 0);Y([(0,A.IsString)(),X("design:type",String)],U.prototype,"indTot",void 0);Y([(0,A.IsOptional)(),(0,A.IsString)(),X("design:type",String)],U.prototype,"indBemMovelUsado",void 0);Y([(0,A.IsOptional)(),(0,A.IsArray)(),(0,A.ValidateNested)({each:!0}),(0,A.ArrayMaxSize)(100),(0,nn.Type)(()=>_t),X("design:type",Array)],U.prototype,"DI",void 0);Y([(0,A.IsOptional)(),(0,A.IsArray)(),(0,A.ValidateNested)({each:!0}),(0,A.ArrayMaxSize)(500),(0,nn.Type)(()=>_c),X("design:type",Array)],U.prototype,"detExport",void 0);Y([(0,A.IsOptional)(),(0,A.IsString)(),X("design:type",String)],U.prototype,"xPed",void 0);Y([(0,A.IsOptional)(),(0,A.IsString)(),X("design:type",String)],U.prototype,"nItemPed",void 0);Y([(0,A.IsOptional)(),(0,A.IsString)(),X("design:type",String)],U.prototype,"nFCI",void 0);Y([(0,A.IsOptional)(),(0,A.IsArray)(),(0,A.ValidateNested)({each:!0}),(0,A.ArrayMaxSize)(500),(0,nn.Type)(()=>br),X("design:type",Array)],U.prototype,"rastro",void 0);Y([(0,A.IsOptional)(),(0,A.IsObject)(),(0,A.ValidateNested)(),(0,nn.Type)(()=>Uc),X("design:type",typeof IInfProdNFF>"u"?Object:IInfProdNFF)],U.prototype,"infProdNFF",void 0);Y([(0,A.IsOptional)(),(0,A.IsObject)(),(0,A.ValidateNested)(),(0,nn.Type)(()=>vs),X("design:type",typeof IInfProdEmb>"u"?Object:IInfProdEmb)],U.prototype,"infProdEmb",void 0);Y([(0,A.IsOptional)(),(0,A.IsObject)(),(0,A.ValidateNested)(),(0,nn.Type)(()=>Ce),X("design:type",typeof IVeicProd>"u"?Object:IVeicProd)],U.prototype,"veicProd",void 0);Y([(0,A.IsOptional)(),(0,A.IsObject)(),(0,A.ValidateNested)(),(0,nn.Type)(()=>gs),X("design:type",typeof IMed>"u"?Object:IMed)],U.prototype,"med",void 0);Y([(0,A.IsOptional)(),(0,A.IsObject)(),(0,A.ValidateNested)({each:!0}),(0,nn.Type)(()=>la),(0,A.ArrayMaxSize)(500),X("design:type",Array)],U.prototype,"arma",void 0);Y([(0,A.IsOptional)(),(0,A.IsObject)(),(0,A.ValidateNested)(),(0,nn.Type)(()=>eo),X("design:type",typeof IComb>"u"?Object:IComb)],U.prototype,"comb",void 0);Y([(0,A.IsOptional)(),(0,A.IsString)(),X("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"),x=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,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"vBCFCP",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"pFCP",void 0);v([(0,f.IsOptional)(),(0,x.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,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],da.prototype,"qBCMono",void 0);v([(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],da.prototype,"adRemICMS",void 0);v([(0,x.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,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"vBCFCP",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"pFCP",void 0);v([(0,f.IsOptional)(),(0,x.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,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"pMVAST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"pRedBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"vBCFCPST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"pFCPST",void 0);v([(0,f.IsOptional)(),(0,x.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,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"qBCMono",void 0);v([(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"adRemICMS",void 0);v([(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"vICMSMono",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"qBCMonoReten",void 0);v([(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"adRemICMSReten",void 0);v([(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"vICMSMonoReten",void 0);v([(0,f.IsOptional)(),(0,x.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,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"vBCFCP",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"pFCP",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"vFCP",void 0);v([(0,f.IsOptional)(),(0,x.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,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"pMVAST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"pRedBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vBCFCPST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"pFCPST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vFCPST",void 0);v([(0,f.IsOptional)(),(0,x.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,x.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,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,x.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,x.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,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"qBCMono",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"adRemICMS",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"vICMSMonoOp",void 0);v([(0,f.IsOptional)(),(0,x.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,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"vICMSMonoDif",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"vICMSMono",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"qBCMonoDif",void 0);v([(0,f.IsOptional)(),(0,x.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,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vBCSTRet",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vICMSSubstituto",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vICMSSTRet",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vBCFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pRedBCEfet",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vBCEfet",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pICMSEfet",void 0);v([(0,f.IsOptional)(),(0,x.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,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fa.prototype,"qBCMonoRet",void 0);v([(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fa.prototype,"adRemICMSRet",void 0);v([(0,x.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,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vBCFCP",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pFCP",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vFCP",void 0);v([(0,f.IsOptional)(),(0,x.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,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pMVAST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pRedBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vBCFCPST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pFCPST",void 0);v([(0,f.IsOptional)(),(0,x.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,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vBCFCP",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pFCP",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vFCP",void 0);v([(0,f.IsOptional)(),(0,x.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,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pMVAST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pRedBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vBCFCPST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pFCPST",void 0);v([(0,f.IsOptional)(),(0,x.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,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,x.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,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"pMVAST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"pRedBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,x.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,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sr.prototype,"vBCSTRet",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sr.prototype,"pST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sr.prototype,"vICMSSubstituto",void 0);v([(0,f.IsOptional)(),(0,x.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,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xs.prototype,"pCredSN",void 0);v([(0,f.IsOptional)(),(0,x.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,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rn.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rn.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rn.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rn.prototype,"pCredSN",void 0);v([(0,f.IsOptional)(),(0,x.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,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Cr.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Cr.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,x.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,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vBCSTRet",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vICMSSubstituto",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vICMSSTRet",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vBCFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pRedBCEfet",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vBCEfet",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pICMSEfet",void 0);v([(0,f.IsOptional)(),(0,x.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,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,x.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,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"pCredSN",void 0);v([(0,f.IsOptional)(),(0,x.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,x.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"),Wh=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,Wh.Type)(()=>Nr),si("design:type",typeof IIPITrib>"u"?Object:IIPITrib)],Ii.prototype,"IPITrib",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.ValidateNested)(),(0,Wh.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 H=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,H.IsString)(),ke("design:type",String)],Rr.prototype,"CST",void 0);He([(0,H.IsOptional)(),(0,H.IsString)(),(0,cn.TransformDecimal)({fixed:2}),ke("design:type",String)],Rr.prototype,"vBC",void 0);He([(0,H.IsOptional)(),(0,H.IsString)(),(0,cn.TransformDecimal)({fixed:4}),ke("design:type",String)],Rr.prototype,"pPIS",void 0);He([(0,H.IsOptional)(),(0,H.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,H.IsString)(),ke("design:type",String)],wr.prototype,"CST",void 0);He([(0,H.IsOptional)(),(0,H.IsString)(),ke("design:type",String)],wr.prototype,"qBCProd",void 0);He([(0,H.IsOptional)(),(0,H.IsString)(),ke("design:type",String)],wr.prototype,"vAliqProd",void 0);He([(0,H.IsOptional)(),(0,H.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,H.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,H.IsString)(),ke("design:type",String)],an.prototype,"CST",void 0);He([(0,H.IsOptional)(),(0,H.IsString)(),(0,cn.TransformDecimal)({fixed:2}),ke("design:type",String)],an.prototype,"vBC",void 0);He([(0,H.IsOptional)(),(0,H.IsString)(),(0,cn.TransformDecimal)({fixed:4}),ke("design:type",String)],an.prototype,"pPIS",void 0);He([(0,H.IsOptional)(),(0,H.IsString)(),ke("design:type",String)],an.prototype,"qBCProd",void 0);He([(0,H.IsOptional)(),(0,H.IsString)(),ke("design:type",String)],an.prototype,"vAliqProd",void 0);He([(0,H.IsOptional)(),(0,H.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,H.IsOptional)(),(0,H.ValidateNested)(),(0,kl.Type)(()=>Rr),ke("design:type",typeof Rr>"u"?Object:Rr)],jn.prototype,"PISAliq",void 0);He([(0,H.IsOptional)(),(0,H.ValidateNested)(),(0,kl.Type)(()=>wr),ke("design:type",typeof wr>"u"?Object:wr)],jn.prototype,"PISQtde",void 0);He([(0,H.IsOptional)(),(0,H.ValidateNested)(),(0,kl.Type)(()=>kc),ke("design:type",typeof kc>"u"?Object:kc)],jn.prototype,"PISNT",void 0);He([(0,H.IsOptional)(),(0,H.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,H.IsOptional)(),(0,H.IsString)(),(0,cn.TransformDecimal)({fixed:2}),ke("design:type",String)],sn.prototype,"vBC",void 0);He([(0,H.IsOptional)(),(0,H.IsString)(),(0,cn.TransformDecimal)({fixed:4}),ke("design:type",String)],sn.prototype,"pPIS",void 0);He([(0,H.IsOptional)(),(0,H.IsString)(),ke("design:type",String)],sn.prototype,"qBCProd",void 0);He([(0,H.IsOptional)(),(0,H.IsString)(),ke("design:type",String)],sn.prototype,"vAliqProd",void 0);He([(0,H.IsOptional)(),(0,H.IsString)(),(0,cn.TransformDecimal)({fixed:2}),ke("design:type",String)],sn.prototype,"vPIS",void 0);var k=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,k.IsString)(),Qe("design:type",String)],Ir.prototype,"CST",void 0);Ge([(0,k.IsOptional)(),(0,k.IsString)(),(0,un.TransformDecimal)({fixed:2}),Qe("design:type",String)],Ir.prototype,"vBC",void 0);Ge([(0,k.IsOptional)(),(0,k.IsString)(),(0,un.TransformDecimal)({fixed:4}),Qe("design:type",String)],Ir.prototype,"pCOFINS",void 0);Ge([(0,k.IsOptional)(),(0,k.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,k.IsString)(),Qe("design:type",String)],Or.prototype,"CST",void 0);Ge([(0,k.IsOptional)(),(0,k.IsString)(),Qe("design:type",String)],Or.prototype,"qBCProd",void 0);Ge([(0,k.IsOptional)(),(0,k.IsString)(),Qe("design:type",String)],Or.prototype,"vAliqProd",void 0);Ge([(0,k.IsOptional)(),(0,k.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,k.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,k.IsString)(),Qe("design:type",String)],pn.prototype,"CST",void 0);Ge([(0,k.IsOptional)(),(0,k.IsString)(),(0,un.TransformDecimal)({fixed:2}),Qe("design:type",String)],pn.prototype,"vBC",void 0);Ge([(0,k.IsOptional)(),(0,k.IsString)(),(0,un.TransformDecimal)({fixed:4}),Qe("design:type",String)],pn.prototype,"pCOFINS",void 0);Ge([(0,k.IsOptional)(),(0,k.IsString)(),Qe("design:type",String)],pn.prototype,"qBCProd",void 0);Ge([(0,k.IsOptional)(),(0,k.IsString)(),Qe("design:type",String)],pn.prototype,"vAliqProd",void 0);Ge([(0,k.IsOptional)(),(0,k.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,k.IsOptional)(),(0,k.ValidateNested)(),(0,Gl.Type)(()=>Ir),Qe("design:type",typeof Ir>"u"?Object:Ir)],Bn.prototype,"COFINSAliq",void 0);Ge([(0,k.IsOptional)(),(0,k.ValidateNested)(),(0,Gl.Type)(()=>Or),Qe("design:type",typeof Or>"u"?Object:Or)],Bn.prototype,"COFINSQtde",void 0);Ge([(0,k.IsOptional)(),(0,k.ValidateNested)(),(0,Gl.Type)(()=>Gc),Qe("design:type",typeof Gc>"u"?Object:Gc)],Bn.prototype,"COFINSNT",void 0);Ge([(0,k.IsOptional)(),(0,k.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,k.IsOptional)(),(0,k.IsString)(),(0,un.TransformDecimal)({fixed:2}),Qe("design:type",String)],ln.prototype,"vBC",void 0);Ge([(0,k.IsOptional)(),(0,k.IsString)(),(0,un.TransformDecimal)({fixed:4}),Qe("design:type",String)],ln.prototype,"pCOFINS",void 0);Ge([(0,k.IsOptional)(),(0,k.IsString)(),Qe("design:type",String)],ln.prototype,"qBCProd",void 0);Ge([(0,k.IsOptional)(),(0,k.IsString)(),Qe("design:type",String)],ln.prototype,"vAliqProd",void 0);Ge([(0,k.IsOptional)(),(0,k.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 Wc=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 Xl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Xl,"_ts_metadata");var fn=class{static{s(this,"IBSUF")}pIBSUF;gDif;gDevTrib;gRed;vIBSUF};Jl([(0,pv.TransformDecimal)({fixed:4}),Xl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fn.prototype,"pIBSUF",void 0);Jl([(0,Sa.IsOptional)(),(0,Sa.ValidateNested)(),(0,Pd.Type)(()=>xo),Xl("design:type",typeof xo>"u"?Object:xo)],fn.prototype,"gDif",void 0);Jl([(0,Sa.IsOptional)(),(0,Sa.ValidateNested)(),(0,Pd.Type)(()=>bo),Xl("design:type",typeof bo>"u"?Object:bo)],fn.prototype,"gDevTrib",void 0);Jl([(0,Sa.IsOptional)(),(0,Sa.ValidateNested)(),(0,Pd.Type)(()=>So),Xl("design:type",typeof So>"u"?Object:So)],fn.prototype,"gRed",void 0);Jl([(0,pv.TransformDecimal)({fixed:2}),Xl("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"),Wl=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,Wl.IsString)(),zd("design:type",String)],kn.prototype,"tpALCZFMCBS",void 0);Td([(0,Wl.IsOptional)(),(0,Wl.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 Xc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Xc,"_ts_metadata");var Fi=class{static{s(this,"CBS")}pCBS;gDif;gDevTrib;gRed;gALCZFMCBS;vCBS};Jc([(0,uv.TransformDecimal)({fixed:4}),Xc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fi.prototype,"pCBS",void 0);Jc([(0,Gn.IsOptional)(),(0,Gn.ValidateNested)(),(0,Kl.Type)(()=>xo),Xc("design:type",typeof xo>"u"?Object:xo)],Fi.prototype,"gDif",void 0);Jc([(0,Gn.IsOptional)(),(0,Gn.ValidateNested)(),(0,Kl.Type)(()=>bo),Xc("design:type",typeof bo>"u"?Object:bo)],Fi.prototype,"gDevTrib",void 0);Jc([(0,Gn.IsOptional)(),(0,Gn.ValidateNested)(),(0,Kl.Type)(()=>So),Xc("design:type",typeof So>"u"?Object:So)],Fi.prototype,"gRed",void 0);Jc([(0,Gn.IsOptional)(),(0,Gn.ValidateNested)(),(0,Kl.Type)(()=>kn),Xc("design:type",typeof kn>"u"?Object:kn)],Fi.prototype,"gALCZFMCBS",void 0);Jc([(0,uv.TransformDecimal)({fixed:2}),Xc("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,Wc.Type)(()=>fn),Rs("design:type",typeof fn>"u"?Object:fn)],ci.prototype,"gIBSUF",void 0);Ns([(0,Di.IsOptional)(),(0,Di.ValidateNested)(),(0,Wc.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,Wc.Type)(()=>Fi),Rs("design:type",typeof Fi>"u"?Object:Fi)],ci.prototype,"gCBS",void 0);Ns([(0,Di.IsOptional)(),(0,Di.ValidateNested)(),(0,Wc.Type)(()=>Go),Rs("design:type",typeof Go>"u"?Object:Go)],ci.prototype,"gTribRegular",void 0);Ns([(0,Di.IsOptional)(),(0,Di.ValidateNested)(),(0,Wc.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 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 Os=class{static{s(this,"InfSolicNFF")}xSolic};SD([(0,XS.IsString)(),CD("design:type",String)],Os.prototype,"xSolic",void 0);var Ht=require("class-validator"),vv=require("class-transformer"),WS=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,WS.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,V.IsOptional)(),(0,V.IsString)(),Je("design:type",String)],Fs.prototype,"Id",void 0);Ye([(0,V.IsOptional)(),(0,V.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,V.IsObject)(),(0,V.IsNotEmptyObject)(),(0,tt.Type)(()=>Fs),(0,V.ValidateNested)(),Je("design:type",typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes)],Ne.prototype,"$",void 0);Ye([(0,V.IsObject)(),(0,V.IsNotEmptyObject)(),(0,V.ValidateNested)(),(0,tt.Type)(()=>$),Je("design:type",typeof IIde>"u"?Object:IIde)],Ne.prototype,"ide",void 0);Ye([(0,V.IsObject)(),(0,V.IsNotEmptyObject)(),(0,V.ValidateNested)(),(0,tt.Type)(()=>wt),Je("design:type",typeof IEmit>"u"?Object:IEmit)],Ne.prototype,"emit",void 0);Ye([(0,V.IsOptional)(),(0,V.ValidateNested)(),(0,tt.Type)(()=>to),Je("design:type",typeof IAvulsa>"u"?Object:IAvulsa)],Ne.prototype,"avulsa",void 0);Ye([(0,V.IsOptional)(),(0,V.ValidateNested)(),(0,tt.Type)(()=>Vt),Je("design:type",typeof IDest>"u"?Object:IDest)],Ne.prototype,"dest",void 0);Ye([(0,V.IsOptional)(),(0,V.ValidateNested)(),(0,tt.Type)(()=>Ie),Je("design:type",typeof ILocal>"u"?Object:ILocal)],Ne.prototype,"retirada",void 0);Ye([(0,V.IsOptional)(),(0,V.ValidateNested)(),(0,tt.Type)(()=>Ie),Je("design:type",typeof ILocal>"u"?Object:ILocal)],Ne.prototype,"entrega",void 0);Ye([(0,V.IsOptional)(),(0,V.ValidateNested)({each:!0}),(0,V.ArrayMaxSize)(10),(0,tt.Type)(()=>In),Je("design:type",Array)],Ne.prototype,"autXML",void 0);Ye([(0,V.ValidateNested)({each:!0}),(0,V.ArrayMaxSize)(990),(0,V.ArrayMinSize)(1),(0,tt.Type)(()=>Ti),Je("design:type",Array)],Ne.prototype,"det",void 0);Ye([(0,V.ValidateNested)(),(0,tt.Type)(()=>xi),Je("design:type",typeof ITotal>"u"?Object:ITotal)],Ne.prototype,"total",void 0);Ye([(0,V.ValidateNested)(),(0,tt.Type)(()=>lo),Je("design:type",typeof ITransp>"u"?Object:ITransp)],Ne.prototype,"transp",void 0);Ye([(0,V.IsOptional)(),(0,V.ValidateNested)(),(0,tt.Type)(()=>na),Je("design:type",typeof ICobr>"u"?Object:ICobr)],Ne.prototype,"cobr",void 0);Ye([(0,V.ValidateNested)(),(0,tt.Type)(()=>sa),Je("design:type",typeof IPag>"u"?Object:IPag)],Ne.prototype,"pag",void 0);Ye([(0,V.IsOptional)(),(0,V.ValidateNested)(),(0,tt.Type)(()=>Kr),Je("design:type",typeof IInfIntermed>"u"?Object:IInfIntermed)],Ne.prototype,"infIntermed",void 0);Ye([(0,V.IsOptional)(),(0,V.ValidateNested)(),(0,tt.Type)(()=>tn),Je("design:type",typeof IInfAdic>"u"?Object:IInfAdic)],Ne.prototype,"infAdic",void 0);Ye([(0,V.IsOptional)(),(0,V.ValidateNested)(),(0,tt.Type)(()=>cr),Je("design:type",typeof IExporta>"u"?Object:IExporta)],Ne.prototype,"exporta",void 0);Ye([(0,V.IsOptional)(),(0,V.ValidateNested)(),(0,tt.Type)(()=>pr),Je("design:type",typeof ICompra>"u"?Object:ICompra)],Ne.prototype,"compra",void 0);Ye([(0,V.IsOptional)(),(0,V.ValidateNested)(),(0,tt.Type)(()=>uo),Je("design:type",typeof ICana>"u"?Object:ICana)],Ne.prototype,"cana",void 0);Ye([(0,V.IsOptional)(),(0,V.ValidateNested)(),(0,tt.Type)(()=>gi),Je("design:type",typeof IInfRespTec>"u"?Object:IInfRespTec)],Ne.prototype,"infRespTec",void 0);Ye([(0,V.IsOptional)(),(0,V.ValidateNested)(),(0,tt.Type)(()=>Os),Je("design:type",typeof ISolicNFF>"u"?Object:ISolicNFF)],Ne.prototype,"infSolicNFF",void 0);Ye([(0,V.IsOptional)(),(0,V.ValidateNested)(),(0,tt.Type)(()=>Yn),Je("design:type",typeof IAgropecuario>"u"?Object:IAgropecuario)],Ne.prototype,"agropecuario",void 0);Ye([(0,V.IsOptional)(),(0,V.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 Xe(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(Xe,"_ts_decorate");function D(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(D,"_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}}};Xe([(0,ge.Validates)(Fs),D("design:type",Function),D("design:paramtypes",[typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes]),D("design:returntype",void 0)],pe.prototype,"infNFe",null);Xe([(0,ge.Validates)($),D("design:type",Function),D("design:paramtypes",[typeof IIde>"u"?Object:IIde]),D("design:returntype",void 0)],pe.prototype,"ide",null);Xe([(0,ge.Validates)(wt),D("design:type",Function),D("design:paramtypes",[typeof IEmit>"u"?Object:IEmit]),D("design:returntype",void 0)],pe.prototype,"emit",null);Xe([(0,ge.Validates)(to),D("design:type",Function),D("design:paramtypes",[typeof IAvulsa>"u"?Object:IAvulsa]),D("design:returntype",void 0)],pe.prototype,"avulsa",null);Xe([(0,ge.Validates)(Vt),D("design:type",Function),D("design:paramtypes",[typeof IDest>"u"?Object:IDest]),D("design:returntype",void 0)],pe.prototype,"dest",null);Xe([(0,ge.Validates)(Ie),D("design:type",Function),D("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),D("design:returntype",void 0)],pe.prototype,"retirada",null);Xe([(0,ge.Validates)(Ie),D("design:type",Function),D("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),D("design:returntype",void 0)],pe.prototype,"entrega",null);Xe([(0,ge.Validates)(In,{each:!0}),D("design:type",Function),D("design:paramtypes",[Array]),D("design:returntype",void 0)],pe.prototype,"autXML",null);Xe([(0,ge.Validates)(xi),D("design:type",Function),D("design:paramtypes",[typeof ITotal>"u"?Object:ITotal]),D("design:returntype",void 0)],pe.prototype,"total",null);Xe([gn(Io),(0,ge.Validates)($i),D("design:type",Function),D("design:paramtypes",[typeof IIBSCBSTot>"u"?Object:IIBSCBSTot]),D("design:returntype",void 0)],pe.prototype,"IBSCBSTot",null);Xe([gn(Io),(0,ge.Validates)(fs),D("design:type",Function),D("design:paramtypes",[typeof IISTot>"u"?Object:IISTot]),D("design:returntype",void 0)],pe.prototype,"ISTot",null);Xe([gn(Io),D("design:type",Function),D("design:paramtypes",[typeof ITotal>"u"?Object:ITotal]),D("design:returntype",void 0)],pe.prototype,"buildTotalForPL_010",null);Xe([(0,ge.Validates)(lo),D("design:type",Function),D("design:paramtypes",[typeof ITransp>"u"?Object:ITransp]),D("design:returntype",void 0)],pe.prototype,"transp",null);Xe([(0,ge.Validates)(na),D("design:type",Function),D("design:paramtypes",[typeof ICobr>"u"?Object:ICobr]),D("design:returntype",void 0)],pe.prototype,"cobr",null);Xe([(0,ge.Validates)(sa),D("design:type",Function),D("design:paramtypes",[typeof IPag>"u"?Object:IPag]),D("design:returntype",void 0)],pe.prototype,"pag",null);Xe([(0,ge.Validates)(Kr),D("design:type",Function),D("design:paramtypes",[typeof IInfIntermed>"u"?Object:IInfIntermed]),D("design:returntype",void 0)],pe.prototype,"infIntermed",null);Xe([(0,ge.Validates)(tn),D("design:type",Function),D("design:paramtypes",[typeof IInfAdic>"u"?Object:IInfAdic]),D("design:returntype",void 0)],pe.prototype,"infAdic",null);Xe([(0,ge.Validates)(cr),D("design:type",Function),D("design:paramtypes",[typeof IExporta>"u"?Object:IExporta]),D("design:returntype",void 0)],pe.prototype,"exporta",null);Xe([(0,ge.Validates)(pr),D("design:type",Function),D("design:paramtypes",[typeof ICompra>"u"?Object:ICompra]),D("design:returntype",void 0)],pe.prototype,"compra",null);Xe([(0,ge.Validates)(uo),D("design:type",Function),D("design:paramtypes",[typeof ICana>"u"?Object:ICana]),D("design:returntype",void 0)],pe.prototype,"cana",null);Xe([(0,ge.Validates)(gi),D("design:type",Function),D("design:paramtypes",[typeof IInfRespTec>"u"?Object:IInfRespTec]),D("design:returntype",void 0)],pe.prototype,"infRespTec",null);Xe([(0,ge.Validates)(Os),D("design:type",Function),D("design:paramtypes",[typeof ISolicNFF>"u"?Object:ISolicNFF]),D("design:returntype",void 0)],pe.prototype,"infSolicNFF",null);Xe([gn(Io),(0,ge.Validates)(Yn),D("design:type",Function),D("design:paramtypes",[typeof IAgropecuario>"u"?Object:IAgropecuario]),D("design:returntype",void 0)],pe.prototype,"agropecuario",null);Xe([gn(Io),(0,ge.Validates)(Oa),D("design:type",Function),D("design:paramtypes",[typeof IInfPAA>"u"?Object:IInfPAA]),D("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,iVBORw0KGgoAAAANSUhEUgAAAg0A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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 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},S=[{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},...S]];let b=this.builder.widthOfString(n),I=this.columnStyles[2];if(b>=I)return[[m,y,{colSpan:5,font:d,text:n}],[{colSpan:3},...S]];let F=this.getFirstLineWidth();return this.builder.widthOfString(`${r} ${n}`)<=F?[[m,y,{font:d,text:n},...S]]:[[m,y,{colSpan:5,font:d,text:n}],[{colSpan:3},...S]]}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),S=0;if(d.length>1){let F=this.calculateRowHeight(d[1],i);S=Math.max(i,F)}let{top:N,bottom:C}=this.defaultStyle.padding,b=N+C,I=d.length>1?i*.2:0;return u+y+S+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},S=>this.builder.font(y).text(`NFC-e n\xBA ${n} - s\xE9rie ${a} emitida em: ${d}`,{...S,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
|
+
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:S}=this.context.protNFe?.infProt??{};S&&e.push(this.builder.heightOfString(`$(${y}) ${S}`,{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"),F=(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: ${F}`,{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,`
|
|
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===Ud)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:s}=this.context.data.infNFe.total.ICMSTot,c=!s||!Number.parseFloat(s.toString())?"-----":this.context.currency(s);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{a(this,"AggregateQrCodeToProtocols")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builders(){return[qd.instance(this.context),Vd.instance(this.context),kd.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 FN=require("stream"),AN=require("nfets/core"),Hd=require("nfets/core");var pp=class{static{a(this,"DanfcePdfDocument")}stream;builder;toolkit=new Hd.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*wv,titleFontSize:11*wv,credits:Ud};constructor(e){this.stream=e,this.builder=AN.PdfkitPdfBuilder.new(this.defaults).pipe(this.stream),this.apply()}async getDynamicHeight(e,o){let i=o(new FN.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:[ON[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 Hd.Decimal(e).toNumber().toLocaleString("pt-BR",{minimumFractionDigits:2,maximumFractionDigits:o})}isValueNotEmpty(e){return!!e&&Number.parseFloat(e.toString())>0}};var Iv=class t extends pp{static{a(this,"DanfceDefaultPdfDocument")}clone(e){return new t(e)}get builders(){return[Xc.instance(this),Na.instance(this),Jc.instance(this),Nd.instance(this),Wc.instance(this),Kc.instance(this),$c.instance(this),cp.instance(this)]}};var Ov=class t extends pp{static{a(this,"DanfceReducedPdfDocument")}clone(e){return new t(e)}get builders(){return[Xc.instance(this),Na.instance(this),Jc.instance(this),Wc.instance(this),Kc.instance(this),$c.instance(this),cp.instance(this)]}};0&&(module.exports={AccessKeyBuilder,DanfceDefaultPdfDocument,DanfceReducedPdfDocument,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,NfeRemoteTransmitter,NfeVoidRangePipeline,NfeXmlBuilder,NfeXmlBuilderPipeline,PL_009,PL_010,TpEmis,TpEvent,XmlValidationError,schemas});
|
|
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}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")}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;padding=1.5;rowHeight=_(7);radius=_(.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.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:!0,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}),!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??!0,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,S=e+m*c,N=y?e+i-S:c;this.box(S,o+u*a,N,a,d)})}return p*a}gridRows(e,o){return Math.ceil(e/o)}title(e,o,i,r){return this.text(r,e,o+1,i,this.titleHeight-1,{size:this.titleSize,bold:!0}),this.titleHeight}};var SR=require("nfets/core");var gf=class{static{s(this,"StatusMarks")}context;cancelled=["101","135","151","155"];denied=[Wr.UsoDenegado,Wr.NfeDenegada,Wr.DenegadaIrregularidadeEmissor,Wr.DenegadaIrregularidadeDestinatario,Wr.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(F=>this.fit(F,this.messageSize,u)),d=a?this.fit(a,this.detailSize,u):0,m=(l.reduce((F,E)=>F+E,0)+d)*this.lineHeight,y=Math.min(1,r/m),S=c?p.length:p.length-1,{builder:N,fields:C}=this.context,b=o+Math.max((r-m*y)/2,0),I=s((F,E)=>{let Z=E*y;C.text(F,e,b,i,Z*this.lineHeight,{size:Z,bold:!0,align:"center"}),b+=Z*this.lineHeight},"write");N.save().fillColor("#000000",.3),p.forEach((F,E)=>{a&&E===S&&I(a,d),I(F,l[E])}),a&&S===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",qComDecimals:4,vUnComDecimals:4,showCanhoto:!0,showItemBatch:!0,showItemComplement:!1,showItemOrderNumber:!1,breakItemDescription:!0,hideTaxUnit:!1,credits:Ma};margins=Tf;gap=_(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`}get contentWidth(){let{left:e,right:o}=this.margins;return this.builder.pageWidth()-e-o}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:"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.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.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 S of this.det){let N=i.itemHeight(S);d.length&&m+N>y&&(l.push(d),d=[],m=0,y=n-a),d.push(S),m+=N}return m+u>y&&(l.push(d),d=[]),l.push(d),l.map((S,N)=>({items:S,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&&(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})}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=_(10);signatureHeight=_(7);numberWidth=_(35);spacing=_(4);height(){return this.textHeight+this.signatureHeight+this.spacing}get receivedText(){let{emit:e,dest:o,ide:i,total:r}=this.infNFe,n=[`RECEBEMOS DE ${e.xNome} OS PRODUTOS E/OU SERVI\xC7OS CONSTANTES DA NOTA FISCAL ELETR\xD4NICA INDICADA AO LADO.`,`EMISS\xC3O: ${this.format.date(i.dhEmi)}`,`VALOR TOTAL: R$ ${this.format.currency(r.ICMSTot.vNF)}`];if(o?.xNome){let a=o.enderDest,c=a?` - ${[a.xLgr,a.nro].filter(Boolean).join(", ")} ${a.xBairro??""} ${a.xMun??""}-${a.UF??""}`:"";n.push(`DESTINAT\xC1RIO: ${o.xNome}${c}`)}return n.join(" ")}draw({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=e+n,c=this.textHeight+this.signatureHeight,{nNF:p,serie:u}=this.infNFe.ide;this.fields.rect(a,o,this.numberWidth,c),this.fields.text("NF-e",a,o+_(2),this.numberWidth,16,{size:13,bold:!0,align:"center"}),this.fields.text(`N\xBA. ${this.format.number(p)}
|
|
42
|
+
S\xE9rie ${this.format.serie(u)}`,a,o+_(8),this.numberWidth,c-_(8),{size:8,bold:!0,align:"center"});let l=o+c+this.spacing/2;this.builder.save().lineWidth(.4).dash(3,{space:2}).moveTo(e,l).lineTo(e+i,l).stroke().undash().restore()}};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=_(32);emitWidth=_(80);danfeWidth=_(34);barcodeHeight=_(12);logoHeight=this.topHeight/3;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:e.IE,weight:1},{label:"INSCRI\xC7\xC3O MUNICIPAL",value:e.IM,weight:1},{label:"INSCRI\xC7\xC3O ESTADUAL DO SUBST. TRIBUT.",value:e.IEST,weight:1},{label:"CNPJ / CPF",value: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=e+i,u=r-2*i,l=_(1),d=this.logo,m=d?this.logoHeight+l:0,{xNome:y}=this.infNFe.emit,S=this.emitAddress(),N=Math.min(this.fields.measure(y,u,{size:9,bold:!0}),_(10)),C=Math.min(this.fields.measure(S,u,{size:7}),c-m-N-l),b=m+N+l+C,I=a+Math.max((c-b)/2,0),F=I+m,E=F+N+l;d&&this.builder.image(d,p,I,{fit:[u,this.logoHeight],align:"center",valign:"center"}),this.fields.text(y,p,F,u,N,{size:9,bold:!0,align:"center"}),this.fields.text(S,p,E,u,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+_(1.5),i,14,{size:12,bold:!0,align:"center"}),this.fields.text(`Documento Auxiliar da Nota
|
|
44
|
+
Fiscal Eletr\xF4nica`,e,o+_(6.5),i,_(6),{size:7,align:"center"}),this.fields.text(`0 - ENTRADA
|
|
45
|
+
1 - SA\xCDDA`,e+_(4),o+_(13),_(20),_(6),{size:7});let u=_(6),l=e+i-u-_(4),d=o+_(13);this.fields.rect(l,d,u,u),this.fields.text(r,l,d+_(1),u,u,{size:11,bold:!0,align:"center"}),this.fields.text(`N\xBA. ${this.format.number(n)}
|
|
46
|
+
S\xE9rie ${this.format.serie(a)}
|
|
47
|
+
Folha ${c}/${p}`,e,o+_(20.5),i,_(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+_(3),o+_(1.5),i-_(6),this.barcodeHeight-_(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+_(2.5),i-2*r,p-_(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)}`,align:"center",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():"",align:"center",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;this.fields.row(e,u,i,c,[{label:"NOME / RAZ\xC3O SOCIAL",value:r?.xNome,weight:120},{label:"CNPJ / CPF",value:r?.idEstrangeiro??this.format.document(r?.CNPJ,r?.CPF),weight:45,align:"center"},{label:"DATA DA EMISS\xC3O",value:this.format.date(n.dhEmi),weight:35,align:"center"}]),u+=c,this.fields.row(e,u,i,c,[{label:"ENDERE\xC7O",value:d,weight:90},{label:"BAIRRO / DISTRITO",value:a?.xBairro,weight:45},{label:"CEP",value:this.format.cep(a?.CEP),weight:30,align:"center"},{label:"DATA DA SA\xCDDA/ENTRADA",value:this.format.date(p),weight:35,align:"center"}]),u+=c,this.fields.row(e,u,i,c,[{label:"MUNIC\xCDPIO",value:a?.xMun,weight:70},{label:"FONE / FAX",value:this.format.phone(a?.fone),weight:35,align:"center"},{label:"UF",value:a?.UF,weight:10,align:"center"},{label:"INSCRI\xC7\xC3O ESTADUAL",value:r?.IE,weight:50,align:"center"},{label:"HORA DA SA\xCDDA/ENTRADA",value:this.format.time(p),weight:35,align:"center"}])}},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:r.xNome,weight:120},{label:"CNPJ / CPF",value:this.format.document(r.CNPJ,r.CPF),weight:45,align:"center"},{label:"INSCRI\xC7\xC3O ESTADUAL",value:r.IE,weight:35,align:"center"}]),a+=n,this.fields.row(e,a,i,n,[{label:"ENDERE\xC7O",value:`${r.xLgr}, ${r.nro}${c}`,weight:80},{label:"BAIRRO / DISTRITO",value:r.xBairro,weight:40},{label:"MUNIC\xCDPIO",value:r.xMun,weight:40},{label:"UF",value:r.UF,weight:10,align:"center"},{label:"CEP",value:this.format.cep(r.CEP),weight:30,align:"center"}])}};var Ap=class extends Te{static{s(this,"Invoices")}title="FATURA / DUPLICATAS";perRow=7;limit=21;cellHeight=_(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 S=`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(S,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,bold:!0,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);this.fields.row(e,u,i,p,[{label:"NOME / RAZ\xC3O SOCIAL",value:n?.xNome,weight:62},{label:"FRETE",value:this.modFrete[r]??r,weight:30},{label:"C\xD3DIGO ANTT",value:a?.RNTC,weight:22},{label:"PLACA DO VE\xCDCULO",value:a?.placa,weight:22},{label:"UF",value:a?.UF,weight:10,align:"center"},{label:"CNPJ / CPF",value:this.format.document(n?.CNPJ,n?.CPF),weight:34,align:"center"}]),u+=p,this.fields.row(e,u,i,p,[{label:"ENDERE\xC7O",value:n?.xEnder,weight:92},{label:"MUNIC\xCDPIO",value:n?.xMun,weight:54},{label:"UF",value:n?.UF,weight:10,align:"center"},{label:"INSCRI\xC7\xC3O ESTADUAL",value:n?.IE,weight:44,align:"center"}]),u+=p,this.fields.row(e,u,i,p,[{label:"QUANTIDADE",value:this.sum("qVol",0),weight:20,align:"right"},{label:"ESP\xC9CIE",value:c?.esp,weight:35},{label:"MARCA",value:c?.marca,weight:35},{label:"NUMERA\xC7\xC3O",value:c?.nVol,weight:35},{label:"PESO BRUTO",value:this.sum("pesoB",3),weight:37.5,align:"right"},{label:"PESO L\xCDQUIDO",value: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("")}additionalInfo(e){let o=e.infAdProd?.substring(0,this.maxAdditionalInfo).trim();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
|
+
`)}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
|
+
`)}build(e){let{prod:o}=e,i=this.options.showItemComplement?this.batch(e)+this.taxes(e)+this.fci(e):"",r=(this.additionalInfo(e)+this.anvisa(e)+i).trimEnd(),n=r?`${o.xProd}
|
|
54
|
+
${r}`:o.xProd;return this.options.breakItemDescription&&(n=n.replaceAll(";",`
|
|
55
|
+
`)),this.options.showItemOrderNumber&&o.nItemPed&&(n+=` (ITEM ${o.nItemPed})`),[n,this.vehicle(e),this.weapons(e)].filter(Boolean).join(`
|
|
56
|
+
`)}};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;cellPadding=1.2;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}));return Math.max(...i)+2*o}headerHeight(){return this.fields.titleHeight+this.labelsHeight()}isPairs(e){return typeof e!="string"}lineHeight(){return this.builder.font(this.context.defaults.font).fontSize(this.fontSize),this.builder.currentLineHeight(!0)}cellHeight(e,o){return this.isPairs(e)?Math.ceil(e.pairs.length/(e.columns??1))*this.lineHeight():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,align:"center"}),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=this.cellPadding*4,p=(r-c*(a-1))/a;e.pairs.forEach(([u,l],d)=>{let m=i+Math.floor(d/a)*n,y=o+d%a*(p+c);this.fields.text(u,y,m,p,n,{size:this.fontSize}),this.fields.text(l,y,m,p,n,{size:this.fontSize,align:"right"})})}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;this.isPairs(u)?this.drawPairs(u,p+c,i+c,d):this.fields.text(u,p+c,i+c,d,r-2*c,{size:this.fontSize,align:a[l].align??"left"}),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}
|
|
57
|
+
${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;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),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=_(22);maxHeight=_(70);qrWidth=_(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.hasQrCode?this.qrWidth:0,i=e*.66-o;return[i,o,e-i-o]}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,`
|
|
58
|
+
`);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(`
|
|
59
|
+
`)}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.hasQrCode){let d=e+c;this.fields.box(d,n,p,a,{label:"QR CODE"});let m=Math.min(p-4*r,a-this.fields.labelHeight-4*r);this.qrCode.draw(d+(p-m)/2,n+this.fields.labelHeight+2*r,m)}this.fields.box(e+c+p,n,u,a,{label:"RESERVADO AO FISCO"})}};var Pp=class extends Te{static{s(this,"Footer")}textSize=6;height(){return _(4)}draw({x:e,y:o,width:i}){let r=o+_(1),n=this.height()-_(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"};registrationRows(){let{emit:e}=this.infNFe;return[[{label:"INSCRI\xC7\xC3O ESTADUAL",value:e.IE,weight:34},{label:"INSCRI\xC7\xC3O ESTADUAL DO SUBSTITUTO TRIBUT\xC1RIO",value:e.IEST,weight:40},{label:"CNPJ / CPF",value:this.format.document(e.CNPJ,e.CPF),weight:36},{label:"C\xD3DIGO DO REGIME TRIBUT\xC1RIO",value:this.crt[e.CRT]??e.CRT,weight:40,valueSize:7},{label:"TIPO DE REGIME DE APURA\xC7\xC3O DO IBS E DA CBS",weight:50}]]}};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;get columns(){return[{label:"DESCRI\xC7\xC3O DO PRODUTO / SERVI\xC7O",weight:48},{label:"CST / CFOP",weight:12},{label:"QTD / UN",weight:14,align:"right"},{label:"VLR UNIT",weight:15,align:"right"},{label:"VLR TOTAL",weight:15,align:"right"},{label:"BASES DE C\xC1LCULO",weight:26},{label:"AL\xCDQUOTAS",weight:34},{label:"VALOR DOS TRIBUTOS",weight:36}]}rate(e,o){return e?.gRed?.pAliqEfet??o}descriptionCell(e){let{cProd:o,NCM:i}=e.det.prod,r=[`[C\xF3d. ${o}]`,`[NCM ${i}]`],n=e.cClassTrib;return n&&r.push(`[cClassTrib ${n}]`),`${this.description.build(e.det)}
|
|
60
|
+
${r.join(" ")}`}cells(e){let o=new Va(e),{prod:i}=e,{qComDecimals:r,vUnComDecimals:n}=this.context.options,a=o.icms,c=o.ipi,p=o.ibscbs,u=o.is,l=s(m=>this.format.currency(m),"currency"),d=s(m=>this.format.percent(m),"percent");return[this.descriptionCell(o),`CST ${o.cst()}
|
|
61
|
+
CFOP ${i.CFOP}`,`${this.format.decimal(i.qCom,2,r)}
|
|
62
|
+
${i.uCom}`,this.format.decimal(i.vUnCom,2,n),l(i.vProd),{pairs:[["ICMS",l(a.vBC)],["IBS / CBS",l(p?.vBC)],["IS",l(u?.vBCIS)],["IPI",l(c?.vBC)]]},{columns:2,pairs:[["ICMS",d(a.pICMS)],["CBS",d(this.rate(p?.gCBS,p?.gCBS?.pCBS))],["IBS UF",d(this.rate(p?.gIBSUF,p?.gIBSUF?.pIBSUF))],["IPI",d(c?.pIPI)],["IBS MUN",d(this.rate(p?.gIBSMun,p?.gIBSMun?.pIBSMun))],["IS",d(u?.pIS)]]},{columns:2,pairs:[["ICMS",l(a.vICMS)],["CBS",l(p?.gCBS?.vCBS)],["IBS UF",l(p?.gIBSUF?.vIBSUF)],["IPI",l(c?.vIPI)],["IBS MUN",l(p?.gIBSMun?.vIBSMun)],["IS",l(u?.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});
|
|
42
63
|
/*! Bundled license information:
|
|
43
64
|
|
|
44
65
|
mime-db/index.js:
|