nfets 0.0.147 → 0.0.148
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.d.cts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/nfe/index.cjs +49 -44
- package/dist/nfe/index.d.cts +43 -3
- package/dist/nfe/index.d.ts +43 -3
- package/dist/nfe/index.mjs +29 -24
- package/dist/{types-B8bOrWDU.d.cts → types-CxTIfVCy.d.cts} +4 -1
- package/dist/{types-B8bOrWDU.d.ts → types-CxTIfVCy.d.ts} +4 -1
- package/package.json +1 -1
package/dist/nfe/index.cjs
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
"use strict";var QN=Object.create;var Lp=Object.defineProperty;var ZN=Object.getOwnPropertyDescriptor;var YN=Object.getOwnPropertyNames;var WN=Object.getPrototypeOf,JN=Object.prototype.hasOwnProperty;var s=(t,e)=>Lp(t,"name",{value:e,configurable:!0});var N=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Og=(t,e)=>{for(var o in e)Lp(t,o,{get:e[o],enumerable:!0})},Ig=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of YN(e))!JN.call(t,r)&&r!==o&&Lp(t,r,{get:()=>e[r],enumerable:!(i=ZN(e,r))||i.enumerable});return t};var ct=(t,e,o)=>(o=t!=null?QN(WN(t)):{},Ig(e||!t||!t.__esModule?Lp(o,"default",{value:t,enumerable:!0}):o,t)),XN=t=>Ig(Lp({},"__esModule",{value:!0}),t);var Xg=N((hT,Jg)=>{"use strict";var Wg=require("stream").Stream,pO=require("util");Jg.exports=Ui;function Ui(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}s(Ui,"DelayedStream");pO.inherits(Ui,Wg);Ui.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(Ui.prototype,"readable",{configurable:!0,enumerable:!0,get:s(function(){return this.source.readable},"get")});Ui.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};Ui.prototype.resume=function(){this._released||this.release(),this.source.resume()};Ui.prototype.pause=function(){this.source.pause()};Ui.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach((function(t){this.emit.apply(this,t)}).bind(this)),this._bufferedEvents=[]};Ui.prototype.pipe=function(){var t=Wg.prototype.pipe.apply(this,arguments);return this.resume(),t};Ui.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)};Ui.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 ty=N((gT,ey)=>{"use strict";var lO=require("util"),$g=require("stream").Stream,Kg=Xg();ey.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");lO.inherits(ot,$g);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 Kg)){var o=Kg.create(t,{maxDataSize:1/0,pauseStream:this.pauseStreams});t.on("data",this._checkDataSize.bind(this)),t=o}this._handleErrors(t),this.pauseStreams&&t.pause()}return this._streams.push(t),this};ot.prototype.pipe=function(t,e){return $g.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 oy=N((bT,uO)=>{uO.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 ny=N((xT,iy)=>{"use strict";iy.exports=oy()});var sy=N(Ho=>{"use strict";var Pu=ny(),dO=require("path").extname,ry=/^\s*([^;\s]*)(?:;|\s|$)/,fO=/^text\//i;Ho.charset=ay;Ho.charsets={lookup:ay};Ho.contentType=mO;Ho.extension=hO;Ho.extensions=Object.create(null);Ho.lookup=vO;Ho.types=Object.create(null);gO(Ho.extensions,Ho.types);function ay(t){if(!t||typeof t!="string")return!1;var e=ry.exec(t),o=e&&Pu[e[1].toLowerCase()];return o&&o.charset?o.charset:e&&fO.test(e[1])?"UTF-8":!1}s(ay,"charset");function mO(t){if(!t||typeof t!="string")return!1;var e=t.indexOf("/")===-1?Ho.lookup(t):t;if(!e)return!1;if(e.indexOf("charset")===-1){var o=Ho.charset(e);o&&(e+="; charset="+o.toLowerCase())}return e}s(mO,"contentType");function hO(t){if(!t||typeof t!="string")return!1;var e=ry.exec(t),o=e&&Ho.extensions[e[1].toLowerCase()];return!o||!o.length?!1:o[0]}s(hO,"extension");function vO(t){if(!t||typeof t!="string")return!1;var e=dO("x."+t).toLowerCase().substr(1);return e&&Ho.types[e]||!1}s(vO,"lookup");function gO(t,e){var o=["nginx","apache",void 0,"iana"];Object.keys(Pu).forEach(s(function(r){var n=Pu[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(Pu[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(gO,"populateMaps")});var py=N((RT,cy)=>{"use strict";cy.exports=yO;function yO(t){var e=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;e?e(t):setTimeout(t,0)}s(yO,"defer")});var Wf=N((wT,uy)=>{"use strict";var ly=py();uy.exports=bO;function bO(t){var e=!1;return ly(function(){e=!0}),s(function(i,r){e?t(i,r):ly(s(function(){t(i,r)},"nextTick_callback"))},"async_callback")}s(bO,"async")});var Jf=N((IT,dy)=>{"use strict";dy.exports=xO;function xO(t){Object.keys(t.jobs).forEach(SO.bind(t)),t.jobs={}}s(xO,"abort");function SO(t){typeof this.jobs[t]=="function"&&this.jobs[t]()}s(SO,"clean")});var Xf=N((FT,my)=>{"use strict";var fy=Wf(),CO=Jf();my.exports=RO;function RO(t,e,o,i){var r=o.keyedList?o.keyedList[o.index]:o.index;o.jobs[r]=NO(e,r,t[r],function(n,a){r in o.jobs&&(delete o.jobs[r],n?CO(o):o.results[r]=a,i(n,o.results))})}s(RO,"iterate");function NO(t,e,o,i){var r;return t.length==2?r=t(o,fy(i)):r=t(o,e,fy(i)),r}s(NO,"runJob")});var Kf=N((ET,hy)=>{"use strict";hy.exports=wO;function wO(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(wO,"state")});var $f=N((TT,vy)=>{"use strict";var OO=Jf(),IO=Wf();vy.exports=AO;function AO(t){Object.keys(this.jobs).length&&(this.index=this.size,OO(this),IO(t)(null,this.results))}s(AO,"terminator")});var yy=N((jT,gy)=>{"use strict";var FO=Xf(),DO=Kf(),EO=$f();gy.exports=PO;function PO(t,e,o){for(var i=DO(t);i.index<(i.keyedList||t).length;)FO(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 EO.bind(i,o)}s(PO,"parallel")});var em=N((MT,Tu)=>{"use strict";var by=Xf(),TO=Kf(),zO=$f();Tu.exports=jO;Tu.exports.ascending=xy;Tu.exports.descending=BO;function jO(t,e,o,i){var r=TO(t,o);return by(t,e,r,s(function n(a,c){if(a){i(a,c);return}if(r.index++,r.index<(r.keyedList||t).length){by(t,e,r,n);return}i(null,r.results)},"iteratorHandler")),zO.bind(r,i)}s(jO,"serialOrdered");function xy(t,e){return t<e?-1:t>e?1:0}s(xy,"ascending");function BO(t,e){return-1*xy(t,e)}s(BO,"descending")});var Cy=N((VT,Sy)=>{"use strict";var MO=em();Sy.exports=LO;function LO(t,e,o){return MO(t,e,null,o)}s(LO,"serial")});var Ny=N((UT,Ry)=>{"use strict";Ry.exports={parallel:yy(),serial:Cy(),serialOrdered:em()}});var tm=N((qT,wy)=>{"use strict";wy.exports=Object});var Iy=N((HT,Oy)=>{"use strict";Oy.exports=Error});var Fy=N((kT,Ay)=>{"use strict";Ay.exports=EvalError});var Ey=N((GT,Dy)=>{"use strict";Dy.exports=RangeError});var Ty=N((QT,Py)=>{"use strict";Py.exports=ReferenceError});var jy=N((ZT,zy)=>{"use strict";zy.exports=SyntaxError});var zu=N((YT,By)=>{"use strict";By.exports=TypeError});var Ly=N((WT,My)=>{"use strict";My.exports=URIError});var _y=N((JT,Vy)=>{"use strict";Vy.exports=Math.abs});var qy=N((XT,Uy)=>{"use strict";Uy.exports=Math.floor});var ky=N((KT,Hy)=>{"use strict";Hy.exports=Math.max});var Qy=N(($T,Gy)=>{"use strict";Gy.exports=Math.min});var Yy=N((e4,Zy)=>{"use strict";Zy.exports=Math.pow});var Jy=N((t4,Wy)=>{"use strict";Wy.exports=Math.round});var Ky=N((o4,Xy)=>{"use strict";Xy.exports=Number.isNaN||s(function(e){return e!==e},"isNaN")});var eb=N((n4,$y)=>{"use strict";var VO=Ky();$y.exports=s(function(e){return VO(e)||e===0?e:e<0?-1:1},"sign")});var ob=N((a4,tb)=>{"use strict";tb.exports=Object.getOwnPropertyDescriptor});var om=N((s4,ib)=>{"use strict";var ju=ob();if(ju)try{ju([],"length")}catch{ju=null}ib.exports=ju});var rb=N((c4,nb)=>{"use strict";var Bu=Object.defineProperty||!1;if(Bu)try{Bu({},"a",{value:1})}catch{Bu=!1}nb.exports=Bu});var im=N((p4,ab)=>{"use strict";ab.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 pb=N((u4,cb)=>{"use strict";var sb=typeof Symbol<"u"&&Symbol,_O=im();cb.exports=s(function(){return typeof sb!="function"||typeof Symbol!="function"||typeof sb("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:_O()},"hasNativeSymbols")});var nm=N((f4,lb)=>{"use strict";lb.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var rm=N((m4,ub)=>{"use strict";var UO=tm();ub.exports=UO.getPrototypeOf||null});var mb=N((h4,fb)=>{"use strict";var qO="Function.prototype.bind called on incompatible ",HO=Object.prototype.toString,kO=Math.max,GO="[object Function]",db=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"),QO=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"),ZO=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");fb.exports=s(function(e){var o=this;if(typeof o!="function"||HO.apply(o)!==GO)throw new TypeError(qO+o);for(var i=QO(arguments,1),r,n=s(function(){if(this instanceof r){var l=o.apply(this,db(i,arguments));return Object(l)===l?l:this}return o.apply(e,db(i,arguments))},"binder"),a=kO(0,o.length-i.length),c=[],p=0;p<a;p++)c[p]="$"+p;if(r=Function("binder","return function ("+ZO(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 Js=N((g4,hb)=>{"use strict";var YO=mb();hb.exports=Function.prototype.bind||YO});var Mu=N((y4,vb)=>{"use strict";vb.exports=Function.prototype.call});var am=N((b4,gb)=>{"use strict";gb.exports=Function.prototype.apply});var bb=N((x4,yb)=>{"use strict";yb.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var Sb=N((S4,xb)=>{"use strict";var WO=Js(),JO=am(),XO=Mu(),KO=bb();xb.exports=KO||WO.call(XO,JO)});var Rb=N((C4,Cb)=>{"use strict";var $O=Js(),eI=zu(),tI=Mu(),oI=Sb();Cb.exports=s(function(e){if(e.length<1||typeof e[0]!="function")throw new eI("a function is required");return oI($O,tI,e)},"callBindBasic")});var Fb=N((N4,Ab)=>{"use strict";var iI=Rb(),Nb=om(),Ob;try{Ob=[].__proto__===Array.prototype}catch(t){if(!t||typeof t!="object"||!("code"in t)||t.code!=="ERR_PROTO_ACCESS")throw t}var sm=!!Ob&&Nb&&Nb(Object.prototype,"__proto__"),Ib=Object,wb=Ib.getPrototypeOf;Ab.exports=sm&&typeof sm.get=="function"?iI([sm.get]):typeof wb=="function"?s(function(e){return wb(e==null?e:Ib(e))},"getDunder"):!1});var zb=N((O4,Tb)=>{"use strict";var Db=nm(),Eb=rm(),Pb=Fb();Tb.exports=Db?s(function(e){return Db(e)},"getProto"):Eb?s(function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return Eb(e)},"getProto"):Pb?s(function(e){return Pb(e)},"getProto"):null});var Bb=N((A4,jb)=>{"use strict";var nI=Function.prototype.call,rI=Object.prototype.hasOwnProperty,aI=Js();jb.exports=aI.call(nI,rI)});var Hb=N((F4,qb)=>{"use strict";var K,sI=tm(),cI=Iy(),pI=Fy(),lI=Ey(),uI=Ty(),ec=jy(),$s=zu(),dI=Ly(),fI=_y(),mI=qy(),hI=ky(),vI=Qy(),gI=Yy(),yI=Jy(),bI=eb(),_b=Function,cm=s(function(t){try{return _b('"use strict"; return ('+t+").constructor;")()}catch{}},"getEvalledConstructor"),Xp=om(),xI=rb(),pm=s(function(){throw new $s},"throwTypeError"),SI=Xp?(function(){try{return arguments.callee,pm}catch{try{return Xp(arguments,"callee").get}catch{return pm}}})():pm,Xs=pb()(),Ft=zb(),CI=rm(),RI=nm(),Ub=am(),Kp=Mu(),Ks={},NI=typeof Uint8Array>"u"||!Ft?K:Ft(Uint8Array),Ja={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?K:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?K:ArrayBuffer,"%ArrayIteratorPrototype%":Xs&&Ft?Ft([][Symbol.iterator]()):K,"%AsyncFromSyncIteratorPrototype%":K,"%AsyncFunction%":Ks,"%AsyncGenerator%":Ks,"%AsyncGeneratorFunction%":Ks,"%AsyncIteratorPrototype%":Ks,"%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%":cI,"%eval%":eval,"%EvalError%":pI,"%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%":_b,"%GeneratorFunction%":Ks,"%Int8Array%":typeof Int8Array>"u"?K:Int8Array,"%Int16Array%":typeof Int16Array>"u"?K:Int16Array,"%Int32Array%":typeof Int32Array>"u"?K:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Xs&&Ft?Ft(Ft([][Symbol.iterator]())):K,"%JSON%":typeof JSON=="object"?JSON:K,"%Map%":typeof Map>"u"?K:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Xs||!Ft?K:Ft(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":sI,"%Object.getOwnPropertyDescriptor%":Xp,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?K:Promise,"%Proxy%":typeof Proxy>"u"?K:Proxy,"%RangeError%":lI,"%ReferenceError%":uI,"%Reflect%":typeof Reflect>"u"?K:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?K:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Xs||!Ft?K:Ft(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?K:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Xs&&Ft?Ft(""[Symbol.iterator]()):K,"%Symbol%":Xs?Symbol:K,"%SyntaxError%":ec,"%ThrowTypeError%":SI,"%TypedArray%":NI,"%TypeError%":$s,"%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%":dI,"%WeakMap%":typeof WeakMap>"u"?K:WeakMap,"%WeakRef%":typeof WeakRef>"u"?K:WeakRef,"%WeakSet%":typeof WeakSet>"u"?K:WeakSet,"%Function.prototype.call%":Kp,"%Function.prototype.apply%":Ub,"%Object.defineProperty%":xI,"%Object.getPrototypeOf%":CI,"%Math.abs%":fI,"%Math.floor%":mI,"%Math.max%":hI,"%Math.min%":vI,"%Math.pow%":gI,"%Math.round%":yI,"%Math.sign%":bI,"%Reflect.getPrototypeOf%":RI};if(Ft)try{null.error}catch(t){Mb=Ft(Ft(t)),Ja["%Error.prototype%"]=Mb}var Mb,wI=s(function t(e){var o;if(e==="%AsyncFunction%")o=cm("async function () {}");else if(e==="%GeneratorFunction%")o=cm("function* () {}");else if(e==="%AsyncGeneratorFunction%")o=cm("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 Ja[e]=o,o},"doEval"),Lb={__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"]},$p=Js(),Lu=Bb(),OI=$p.call(Kp,Array.prototype.concat),II=$p.call(Ub,Array.prototype.splice),Vb=$p.call(Kp,String.prototype.replace),Vu=$p.call(Kp,String.prototype.slice),AI=$p.call(Kp,RegExp.prototype.exec),FI=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,DI=/\\(\\)?/g,EI=s(function(e){var o=Vu(e,0,1),i=Vu(e,-1);if(o==="%"&&i!=="%")throw new ec("invalid intrinsic syntax, expected closing `%`");if(i==="%"&&o!=="%")throw new ec("invalid intrinsic syntax, expected opening `%`");var r=[];return Vb(e,FI,function(n,a,c,p){r[r.length]=c?Vb(p,DI,"$1"):a||n}),r},"stringToPath"),PI=s(function(e,o){var i=e,r;if(Lu(Lb,i)&&(r=Lb[i],i="%"+r[0]+"%"),Lu(Ja,i)){var n=Ja[i];if(n===Ks&&(n=wI(i)),typeof n>"u"&&!o)throw new $s("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:i,value:n}}throw new ec("intrinsic "+e+" does not exist!")},"getBaseIntrinsic");qb.exports=s(function(e,o){if(typeof e!="string"||e.length===0)throw new $s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof o!="boolean")throw new $s('"allowMissing" argument must be a boolean');if(AI(/^%?[^%]*%?$/,e)===null)throw new ec("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=EI(e),r=i.length>0?i[0]:"",n=PI("%"+r+"%",o),a=n.name,c=n.value,p=!1,u=n.alias;u&&(r=u[0],II(i,OI([0,1],u)));for(var l=1,d=!0;l<i.length;l+=1){var h=i[l],y=Vu(h,0,1),S=Vu(h,-1);if((y==='"'||y==="'"||y==="`"||S==='"'||S==="'"||S==="`")&&y!==S)throw new ec("property names with quotes must have matching quotes");if((h==="constructor"||!d)&&(p=!0),r+="."+h,a="%"+r+"%",Lu(Ja,a))c=Ja[a];else if(c!=null){if(!(h in c)){if(!o)throw new $s("base intrinsic for "+e+" exists, but the property is not available.");return}if(Xp&&l+1>=i.length){var C=Xp(c,h);d=!!C,d&&"get"in C&&!("originalValue"in C.get)?c=C.get:c=c[h]}else d=Lu(c,h),c=c[h];d&&!p&&(Ja[a]=c)}}return c},"GetIntrinsic")});var Gb=N((E4,kb)=>{"use strict";var TI=im();kb.exports=s(function(){return TI()&&!!Symbol.toStringTag},"hasToStringTagShams")});var lm=N((T4,Qb)=>{"use strict";var zI=Function.prototype.call,jI=Object.prototype.hasOwnProperty,BI=Js();Qb.exports=BI.call(zI,jI)});var Wb=N((z4,Yb)=>{"use strict";var MI=Hb(),Zb=MI("%Object.defineProperty%",!0),LI=Gb()(),VI=lm(),_I=zu(),_u=LI?Symbol.toStringTag:null;Yb.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 _I("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");_u&&(i||!VI(e,_u))&&(Zb?Zb(e,_u,{configurable:!r,enumerable:!1,value:o,writable:!1}):e[_u]=o)},"setToStringTag")});var Xb=N((B4,Jb)=>{"use strict";Jb.exports=function(t,e){return Object.keys(e).forEach(function(o){t[o]=t[o]||e[o]}),t}});var ex=N((M4,$b)=>{"use strict";var mm=ty(),UI=require("util"),um=require("path"),qI=require("http"),HI=require("https"),kI=require("url").parse,GI=require("fs"),QI=require("stream").Stream,ZI=require("crypto"),dm=sy(),YI=Ny(),WI=Wb(),Qr=lm(),fm=Xb();function Kb(t){return String(t).replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/"/g,"%22")}s(Kb,"escapeHeaderParam");function te(t){if(!(this instanceof te))return new te(t);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],mm.call(this),t=t||{};for(var e in t)this[e]=t[e]}s(te,"FormData");UI.inherits(te,mm);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=mm.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&&Qr(e,"httpVersion"))&&!(e instanceof QI))&&(o.knownLength||this._valuesToMeasure.push(e))};te.prototype._lengthRetriever=function(t,e){Qr(t,"fd")?t.end!=null&&t.end!=1/0&&t.start!=null?e(null,t.end+1-(t.start?t.start:0)):GI.stat(t.path,function(o,i){if(o){e(o);return}var r=i.size-(t.start?t.start:0);e(null,r)}):Qr(t,"httpVersion")?e(null,Number(t.headers["content-length"])):Qr(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="",a={"Content-Disposition":["form-data",'name="'+Kb(t)+'"'].concat(i||[]),"Content-Type":[].concat(r||[])};typeof o.header=="object"&&fm(a,o.header);var c;for(var p in a)if(Qr(a,p)){if(c=a[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=um.normalize(e.filepath).replace(/\\/g,"/"):e.filename||t&&(t.name||t.path)?o=um.basename(e.filename||t&&(t.name||t.path)):t&&t.readable&&Qr(t,"httpVersion")&&(o=um.basename(t.client._httpMessage.path||"")),o)return'filename="'+Kb(o)+'"'};te.prototype._getContentType=function(t,e){var o=e.contentType;return!o&&t&&t.name&&(o=dm.lookup(t.name)),!o&&t&&t.path&&(o=dm.lookup(t.path)),!o&&t&&t.readable&&Qr(t,"httpVersion")&&(o=t.headers["content-type"]),!o&&(e.filepath||e.filename)&&(o=dm.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)Qr(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="--------------------------"+ZI.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}YI.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=kI(t),i=fm({port:t.port,path:t.pathname,host:t.hostname,protocol:t.protocol},r)):(i=fm(t,r),i.port||(i.port=i.protocol==="https:"?443:80)),i.headers=this.getHeaders(t.headers),i.protocol==="https:"?o=HI.request(i):o=qI.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};te.prototype._error=function(t){this.error||(this.error=t,this.pause(),this.emit("error",t))};te.prototype.toString=function(){return"[object FormData]"};WI(te.prototype,"FormData");$b.exports=te});var xx=N((sj,bx)=>{"use strict";var ic=1e3,nc=ic*60,rc=nc*60,$a=rc*24,yA=$a*7,bA=$a*365.25;bx.exports=function(t,e){e=e||{};var o=typeof t;if(o==="string"&&t.length>0)return xA(t);if(o==="number"&&isFinite(t))return e.long?CA(t):SA(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function xA(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*bA;case"weeks":case"week":case"w":return o*yA;case"days":case"day":case"d":return o*$a;case"hours":case"hour":case"hrs":case"hr":case"h":return o*rc;case"minutes":case"minute":case"mins":case"min":case"m":return o*nc;case"seconds":case"second":case"secs":case"sec":case"s":return o*ic;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}s(xA,"parse");function SA(t){var e=Math.abs(t);return e>=$a?Math.round(t/$a)+"d":e>=rc?Math.round(t/rc)+"h":e>=nc?Math.round(t/nc)+"m":e>=ic?Math.round(t/ic)+"s":t+"ms"}s(SA,"fmtShort");function CA(t){var e=Math.abs(t);return e>=$a?Gu(t,e,$a,"day"):e>=rc?Gu(t,e,rc,"hour"):e>=nc?Gu(t,e,nc,"minute"):e>=ic?Gu(t,e,ic,"second"):t+" ms"}s(CA,"fmtLong");function Gu(t,e,o,i){var r=e>=o*1.5;return Math.round(t/o)+" "+i+(r?"s":"")}s(Gu,"plural")});var Am=N((pj,Sx)=>{"use strict";function RA(t){o.debug=o,o.default=o,o.coerce=p,o.disable=a,o.enable=r,o.enabled=c,o.humanize=xx(),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 h=0;h<l.length;h++)d=(d<<5)-d+l.charCodeAt(h),d|=0;return o.colors[Math.abs(d)%o.colors.length]}s(e,"selectColor"),o.selectColor=e;function o(l){let d,h=null,y,S;function C(...O){if(!C.enabled)return;let b=C,w=Number(new Date),F=w-(d||w);b.diff=F,b.prev=d,b.curr=w,d=w,O[0]=o.coerce(O[0]),typeof O[0]!="string"&&O.unshift("%O");let I=0;O[0]=O[0].replace(/%([a-zA-Z%])/g,(Z,W)=>{if(Z==="%%")return"%";I++;let St=o.formatters[W];if(typeof St=="function"){let di=O[I];Z=St.call(b,di),O.splice(I,1),I--}return Z}),o.formatArgs.call(b,O),(b.log||o.log).apply(b,O)}return s(C,"debug"),C.namespace=l,C.useColors=o.useColors(),C.color=o.selectColor(l),C.extend=i,C.destroy=o.destroy,Object.defineProperty(C,"enabled",{enumerable:!0,configurable:!1,get:s(()=>h!==null?h:(y!==o.namespaces&&(y=o.namespaces,S=o.enabled(l)),S),"get"),set:s(O=>{h=O},"set")}),typeof o.init=="function"&&o.init(C),C}s(o,"createDebug");function i(l,d){let h=o(this.namespace+(typeof d>"u"?":":d)+l);return h.log=this.log,h}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 h of d)h[0]==="-"?o.skips.push(h.slice(1)):o.names.push(h)}s(r,"enable");function n(l,d){let h=0,y=0,S=-1,C=0;for(;h<l.length;)if(y<d.length&&(d[y]===l[h]||d[y]==="*"))d[y]==="*"?(S=y,C=h,y++):(h++,y++);else if(S!==-1)y=S+1,C++,h=C;else return!1;for(;y<d.length&&d[y]==="*";)y++;return y===d.length}s(n,"matchesTemplate");function a(){let l=[...o.names,...o.skips.map(d=>"-"+d)].join(",");return o.enable(""),l}s(a,"disable");function c(l){for(let d of o.skips)if(n(l,d))return!1;for(let d of o.names)if(n(l,d))return!0;return!1}s(c,"enabled");function p(l){return l instanceof Error?l.stack||l.message:l}s(p,"coerce");function u(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return s(u,"destroy"),o.enable(o.load()),o}s(RA,"setup");Sx.exports=RA});var Cx=N((ko,Qu)=>{"use strict";ko.formatArgs=wA;ko.save=OA;ko.load=IA;ko.useColors=NA;ko.storage=AA();ko.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`."))}})();ko.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 wA(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+Qu.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(wA,"formatArgs");ko.log=console.debug||console.log||(()=>{});function OA(t){try{t?ko.storage.setItem("debug",t):ko.storage.removeItem("debug")}catch{}}s(OA,"save");function IA(){let t;try{t=ko.storage.getItem("debug")||ko.storage.getItem("DEBUG")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}s(IA,"load");function AA(){try{return localStorage}catch{}}s(AA,"localstorage");Qu.exports=Am()(ko);var{formatters:FA}=Qu.exports;FA.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var Nx=N((dj,Rx)=>{"use strict";Rx.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 Ix=N((fj,Ox)=>{"use strict";var DA=require("os"),wx=require("tty"),vi=Nx(),{env:Dt}=process,Wr;vi("no-color")||vi("no-colors")||vi("color=false")||vi("color=never")?Wr=0:(vi("color")||vi("colors")||vi("color=true")||vi("color=always"))&&(Wr=1);"FORCE_COLOR"in Dt&&(Dt.FORCE_COLOR==="true"?Wr=1:Dt.FORCE_COLOR==="false"?Wr=0:Wr=Dt.FORCE_COLOR.length===0?1:Math.min(parseInt(Dt.FORCE_COLOR,10),3));function Fm(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}s(Fm,"translateLevel");function Dm(t,e){if(Wr===0)return 0;if(vi("color=16m")||vi("color=full")||vi("color=truecolor"))return 3;if(vi("color=256"))return 2;if(t&&!e&&Wr===void 0)return 0;let o=Wr||0;if(Dt.TERM==="dumb")return o;if(process.platform==="win32"){let i=DA.release().split(".");return Number(i[0])>=10&&Number(i[2])>=10586?Number(i[2])>=14931?3:2:1}if("CI"in Dt)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(i=>i in Dt)||Dt.CI_NAME==="codeship"?1:o;if("TEAMCITY_VERSION"in Dt)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Dt.TEAMCITY_VERSION)?1:0;if(Dt.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Dt){let i=parseInt((Dt.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Dt.TERM_PROGRAM){case"iTerm.app":return i>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Dt.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Dt.TERM)||"COLORTERM"in Dt?1:o}s(Dm,"supportsColor");function EA(t){let e=Dm(t,t&&t.isTTY);return Fm(e)}s(EA,"getSupportLevel");Ox.exports={supportsColor:EA,stdout:Fm(Dm(!0,wx.isatty(1))),stderr:Fm(Dm(!0,wx.isatty(2)))}});var Fx=N((Et,Yu)=>{"use strict";var PA=require("tty"),Zu=require("util");Et.init=VA;Et.log=BA;Et.formatArgs=zA;Et.save=MA;Et.load=LA;Et.useColors=TA;Et.destroy=Zu.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Et.colors=[6,2,3,4,5,1];try{let t=Ix();t&&(t.stderr||t).level>=2&&(Et.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{}Et.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 TA(){return"colors"in Et.inspectOpts?!!Et.inspectOpts.colors:PA.isatty(process.stderr.fd)}s(TA,"useColors");function zA(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 sw=Object.create;var Yp=Object.defineProperty;var aw=Object.getOwnPropertyDescriptor;var cw=Object.getOwnPropertyNames;var pw=Object.getPrototypeOf,lw=Object.prototype.hasOwnProperty;var a=(t,e)=>Yp(t,"name",{value:e,configurable:!0});var R=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),_v=(t,e)=>{for(var o in e)Yp(t,o,{get:e[o],enumerable:!0})},Uv=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of cw(e))!lw.call(t,r)&&r!==o&&Yp(t,r,{get:()=>e[r],enumerable:!(i=aw(e,r))||i.enumerable});return t};var pt=(t,e,o)=>(o=t!=null?sw(pw(t)):{},Uv(e||!t||!t.__esModule?Yp(o,"default",{value:t,enumerable:!0}):o,t)),uw=t=>Uv(Yp({},"__esModule",{value:!0}),t);var uy=R((AT,ly)=>{"use strict";var py=require("stream").Stream,NI=require("util");ly.exports=Hi;function Hi(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}a(Hi,"DelayedStream");NI.inherits(Hi,py);Hi.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(Hi.prototype,"readable",{configurable:!0,enumerable:!0,get:a(function(){return this.source.readable},"get")});Hi.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};Hi.prototype.resume=function(){this._released||this.release(),this.source.resume()};Hi.prototype.pause=function(){this.source.pause()};Hi.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach((function(t){this.emit.apply(this,t)}).bind(this)),this._bufferedEvents=[]};Hi.prototype.pipe=function(){var t=py.prototype.pipe.apply(this,arguments);return this.resume(),t};Hi.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)};Hi.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 hy=R((DT,my)=>{"use strict";var RI=require("util"),fy=require("stream").Stream,dy=uy();my.exports=it;function it(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}a(it,"CombinedStream");RI.inherits(it,fy);it.create=function(t){var e=new this;t=t||{};for(var o in t)e[o]=t[o];return e};it.isStreamLike=function(t){return typeof t!="function"&&typeof t!="string"&&typeof t!="boolean"&&typeof t!="number"&&!Buffer.isBuffer(t)};it.prototype.append=function(t){var e=it.isStreamLike(t);if(e){if(!(t instanceof dy)){var o=dy.create(t,{maxDataSize:1/0,pauseStream:this.pauseStreams});t.on("data",this._checkDataSize.bind(this)),t=o}this._handleErrors(t),this.pauseStreams&&t.pause()}return this._streams.push(t),this};it.prototype.pipe=function(t,e){return fy.prototype.pipe.call(this,t,e),this.resume(),t};it.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};it.prototype._realGetNext=function(){var t=this._streams.shift();if(typeof t>"u"){this.end();return}if(typeof t!="function"){this._pipeNext(t);return}var e=t;e((function(o){var i=it.isStreamLike(o);i&&(o.on("data",this._checkDataSize.bind(this)),this._handleErrors(o)),this._pipeNext(o)}).bind(this))};it.prototype._pipeNext=function(t){this._currentStream=t;var e=it.isStreamLike(t);if(e){t.on("end",this._getNext.bind(this)),t.pipe(this,{end:!1});return}var o=t;this.write(o),this._getNext()};it.prototype._handleErrors=function(t){var e=this;t.on("error",function(o){e._emitError(o)})};it.prototype.write=function(t){this.emit("data",t)};it.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};it.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")};it.prototype.end=function(){this._reset(),this.emit("end")};it.prototype.destroy=function(){this._reset(),this.emit("close")};it.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};it.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var t="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(t))}};it.prototype._updateDataSize=function(){this.dataSize=0;var t=this;this._streams.forEach(function(e){e.dataSize&&(t.dataSize+=e.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)};it.prototype._emitError=function(t){this._reset(),this.emit("error",t)}});var gy=R((PT,wI)=>{wI.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 yy=R((TT,vy)=>{"use strict";vy.exports=gy()});var Sy=R(Ho=>{"use strict";var qu=yy(),II=require("path").extname,by=/^\s*([^;\s]*)(?:;|\s|$)/,OI=/^text\//i;Ho.charset=xy;Ho.charsets={lookup:xy};Ho.contentType=AI;Ho.extension=FI;Ho.extensions=Object.create(null);Ho.lookup=DI;Ho.types=Object.create(null);EI(Ho.extensions,Ho.types);function xy(t){if(!t||typeof t!="string")return!1;var e=by.exec(t),o=e&&qu[e[1].toLowerCase()];return o&&o.charset?o.charset:e&&OI.test(e[1])?"UTF-8":!1}a(xy,"charset");function AI(t){if(!t||typeof t!="string")return!1;var e=t.indexOf("/")===-1?Ho.lookup(t):t;if(!e)return!1;if(e.indexOf("charset")===-1){var o=Ho.charset(e);o&&(e+="; charset="+o.toLowerCase())}return e}a(AI,"contentType");function FI(t){if(!t||typeof t!="string")return!1;var e=by.exec(t),o=e&&Ho.extensions[e[1].toLowerCase()];return!o||!o.length?!1:o[0]}a(FI,"extension");function DI(t){if(!t||typeof t!="string")return!1;var e=II("x."+t).toLowerCase().substr(1);return e&&Ho.types[e]||!1}a(DI,"lookup");function EI(t,e){var o=["nginx","apache",void 0,"iana"];Object.keys(qu).forEach(a(function(r){var n=qu[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 l=o.indexOf(qu[e[p]].source),u=o.indexOf(n.source);if(e[p]!=="application/octet-stream"&&(l>u||l===u&&e[p].substr(0,12)==="application/"))continue}e[p]=r}}},"forEachMimeType"))}a(EI,"populateMaps")});var Ny=R((BT,Cy)=>{"use strict";Cy.exports=PI;function PI(t){var e=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;e?e(t):setTimeout(t,0)}a(PI,"defer")});var sm=R((LT,wy)=>{"use strict";var Ry=Ny();wy.exports=TI;function TI(t){var e=!1;return Ry(function(){e=!0}),a(function(i,r){e?t(i,r):Ry(a(function(){t(i,r)},"nextTick_callback"))},"async_callback")}a(TI,"async")});var am=R((_T,Iy)=>{"use strict";Iy.exports=zI;function zI(t){Object.keys(t.jobs).forEach(jI.bind(t)),t.jobs={}}a(zI,"abort");function jI(t){typeof this.jobs[t]=="function"&&this.jobs[t]()}a(jI,"clean")});var cm=R((qT,Ay)=>{"use strict";var Oy=sm(),BI=am();Ay.exports=MI;function MI(t,e,o,i){var r=o.keyedList?o.keyedList[o.index]:o.index;o.jobs[r]=LI(e,r,t[r],function(n,s){r in o.jobs&&(delete o.jobs[r],n?BI(o):o.results[r]=s,i(n,o.results))})}a(MI,"iterate");function LI(t,e,o,i){var r;return t.length==2?r=t(o,Oy(i)):r=t(o,e,Oy(i)),r}a(LI,"runJob")});var pm=R((kT,Fy)=>{"use strict";Fy.exports=VI;function VI(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(VI,"state")});var lm=R((QT,Dy)=>{"use strict";var _I=am(),UI=sm();Dy.exports=qI;function qI(t){Object.keys(this.jobs).length&&(this.index=this.size,_I(this),UI(t)(null,this.results))}a(qI,"terminator")});var Py=R((YT,Ey)=>{"use strict";var HI=cm(),kI=pm(),GI=lm();Ey.exports=QI;function QI(t,e,o){for(var i=kI(t);i.index<(i.keyedList||t).length;)HI(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 GI.bind(i,o)}a(QI,"parallel")});var um=R((JT,Hu)=>{"use strict";var Ty=cm(),ZI=pm(),YI=lm();Hu.exports=WI;Hu.exports.ascending=zy;Hu.exports.descending=JI;function WI(t,e,o,i){var r=ZI(t,o);return Ty(t,e,r,a(function n(s,c){if(s){i(s,c);return}if(r.index++,r.index<(r.keyedList||t).length){Ty(t,e,r,n);return}i(null,r.results)},"iteratorHandler")),YI.bind(r,i)}a(WI,"serialOrdered");function zy(t,e){return t<e?-1:t>e?1:0}a(zy,"ascending");function JI(t,e){return-1*zy(t,e)}a(JI,"descending")});var By=R((KT,jy)=>{"use strict";var XI=um();jy.exports=KI;function KI(t,e,o){return XI(t,e,null,o)}a(KI,"serial")});var Ly=R((e4,My)=>{"use strict";My.exports={parallel:Py(),serial:By(),serialOrdered:um()}});var dm=R((t4,Vy)=>{"use strict";Vy.exports=Object});var Uy=R((o4,_y)=>{"use strict";_y.exports=Error});var Hy=R((i4,qy)=>{"use strict";qy.exports=EvalError});var Gy=R((n4,ky)=>{"use strict";ky.exports=RangeError});var Zy=R((r4,Qy)=>{"use strict";Qy.exports=ReferenceError});var Wy=R((s4,Yy)=>{"use strict";Yy.exports=SyntaxError});var ku=R((a4,Jy)=>{"use strict";Jy.exports=TypeError});var Ky=R((c4,Xy)=>{"use strict";Xy.exports=URIError});var eb=R((p4,$y)=>{"use strict";$y.exports=Math.abs});var ob=R((l4,tb)=>{"use strict";tb.exports=Math.floor});var nb=R((u4,ib)=>{"use strict";ib.exports=Math.max});var sb=R((d4,rb)=>{"use strict";rb.exports=Math.min});var cb=R((f4,ab)=>{"use strict";ab.exports=Math.pow});var lb=R((m4,pb)=>{"use strict";pb.exports=Math.round});var db=R((h4,ub)=>{"use strict";ub.exports=Number.isNaN||a(function(e){return e!==e},"isNaN")});var mb=R((v4,fb)=>{"use strict";var $I=db();fb.exports=a(function(e){return $I(e)||e===0?e:e<0?-1:1},"sign")});var gb=R((b4,hb)=>{"use strict";hb.exports=Object.getOwnPropertyDescriptor});var fm=R((x4,vb)=>{"use strict";var Gu=gb();if(Gu)try{Gu([],"length")}catch{Gu=null}vb.exports=Gu});var bb=R((S4,yb)=>{"use strict";var Qu=Object.defineProperty||!1;if(Qu)try{Qu({},"a",{value:1})}catch{Qu=!1}yb.exports=Qu});var mm=R((C4,xb)=>{"use strict";xb.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 Nb=R((R4,Cb)=>{"use strict";var Sb=typeof Symbol<"u"&&Symbol,eO=mm();Cb.exports=a(function(){return typeof Sb!="function"||typeof Symbol!="function"||typeof Sb("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:eO()},"hasNativeSymbols")});var hm=R((I4,Rb)=>{"use strict";Rb.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var gm=R((O4,wb)=>{"use strict";var tO=dm();wb.exports=tO.getPrototypeOf||null});var Ab=R((A4,Ob)=>{"use strict";var oO="Function.prototype.bind called on incompatible ",iO=Object.prototype.toString,nO=Math.max,rO="[object Function]",Ib=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"),sO=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"),aO=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");Ob.exports=a(function(e){var o=this;if(typeof o!="function"||iO.apply(o)!==rO)throw new TypeError(oO+o);for(var i=sO(arguments,1),r,n=a(function(){if(this instanceof r){var u=o.apply(this,Ib(i,arguments));return Object(u)===u?u:this}return o.apply(e,Ib(i,arguments))},"binder"),s=nO(0,o.length-i.length),c=[],p=0;p<s;p++)c[p]="$"+p;if(r=Function("binder","return function ("+aO(c,",")+"){ return binder.apply(this,arguments); }")(n),o.prototype){var l=a(function(){},"Empty");l.prototype=o.prototype,r.prototype=new l,l.prototype=null}return r},"bind")});var rc=R((D4,Fb)=>{"use strict";var cO=Ab();Fb.exports=Function.prototype.bind||cO});var Zu=R((E4,Db)=>{"use strict";Db.exports=Function.prototype.call});var vm=R((P4,Eb)=>{"use strict";Eb.exports=Function.prototype.apply});var Tb=R((T4,Pb)=>{"use strict";Pb.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var jb=R((z4,zb)=>{"use strict";var pO=rc(),lO=vm(),uO=Zu(),dO=Tb();zb.exports=dO||pO.call(uO,lO)});var Mb=R((j4,Bb)=>{"use strict";var fO=rc(),mO=ku(),hO=Zu(),gO=jb();Bb.exports=a(function(e){if(e.length<1||typeof e[0]!="function")throw new mO("a function is required");return gO(fO,hO,e)},"callBindBasic")});var Hb=R((M4,qb)=>{"use strict";var vO=Mb(),Lb=fm(),_b;try{_b=[].__proto__===Array.prototype}catch(t){if(!t||typeof t!="object"||!("code"in t)||t.code!=="ERR_PROTO_ACCESS")throw t}var ym=!!_b&&Lb&&Lb(Object.prototype,"__proto__"),Ub=Object,Vb=Ub.getPrototypeOf;qb.exports=ym&&typeof ym.get=="function"?vO([ym.get]):typeof Vb=="function"?a(function(e){return Vb(e==null?e:Ub(e))},"getDunder"):!1});var Yb=R((V4,Zb)=>{"use strict";var kb=hm(),Gb=gm(),Qb=Hb();Zb.exports=kb?a(function(e){return kb(e)},"getProto"):Gb?a(function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return Gb(e)},"getProto"):Qb?a(function(e){return Qb(e)},"getProto"):null});var Jb=R((U4,Wb)=>{"use strict";var yO=Function.prototype.call,bO=Object.prototype.hasOwnProperty,xO=rc();Wb.exports=xO.call(yO,bO)});var ix=R((q4,ox)=>{"use strict";var K,SO=dm(),CO=Uy(),NO=Hy(),RO=Gy(),wO=Zy(),pc=Wy(),cc=ku(),IO=Ky(),OO=eb(),AO=ob(),FO=nb(),DO=sb(),EO=cb(),PO=lb(),TO=mb(),ex=Function,bm=a(function(t){try{return ex('"use strict"; return ('+t+").constructor;")()}catch{}},"getEvalledConstructor"),al=fm(),zO=bb(),xm=a(function(){throw new cc},"throwTypeError"),jO=al?(function(){try{return arguments.callee,xm}catch{try{return al(arguments,"callee").get}catch{return xm}}})():xm,sc=Nb()(),Ft=Yb(),BO=gm(),MO=hm(),tx=vm(),cl=Zu(),ac={},LO=typeof Uint8Array>"u"||!Ft?K:Ft(Uint8Array),ra={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?K:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?K:ArrayBuffer,"%ArrayIteratorPrototype%":sc&&Ft?Ft([][Symbol.iterator]()):K,"%AsyncFromSyncIteratorPrototype%":K,"%AsyncFunction%":ac,"%AsyncGenerator%":ac,"%AsyncGeneratorFunction%":ac,"%AsyncIteratorPrototype%":ac,"%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%":CO,"%eval%":eval,"%EvalError%":NO,"%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%":ex,"%GeneratorFunction%":ac,"%Int8Array%":typeof Int8Array>"u"?K:Int8Array,"%Int16Array%":typeof Int16Array>"u"?K:Int16Array,"%Int32Array%":typeof Int32Array>"u"?K:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":sc&&Ft?Ft(Ft([][Symbol.iterator]())):K,"%JSON%":typeof JSON=="object"?JSON:K,"%Map%":typeof Map>"u"?K:Map,"%MapIteratorPrototype%":typeof Map>"u"||!sc||!Ft?K:Ft(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":SO,"%Object.getOwnPropertyDescriptor%":al,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?K:Promise,"%Proxy%":typeof Proxy>"u"?K:Proxy,"%RangeError%":RO,"%ReferenceError%":wO,"%Reflect%":typeof Reflect>"u"?K:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?K:Set,"%SetIteratorPrototype%":typeof Set>"u"||!sc||!Ft?K:Ft(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?K:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":sc&&Ft?Ft(""[Symbol.iterator]()):K,"%Symbol%":sc?Symbol:K,"%SyntaxError%":pc,"%ThrowTypeError%":jO,"%TypedArray%":LO,"%TypeError%":cc,"%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%":IO,"%WeakMap%":typeof WeakMap>"u"?K:WeakMap,"%WeakRef%":typeof WeakRef>"u"?K:WeakRef,"%WeakSet%":typeof WeakSet>"u"?K:WeakSet,"%Function.prototype.call%":cl,"%Function.prototype.apply%":tx,"%Object.defineProperty%":zO,"%Object.getPrototypeOf%":BO,"%Math.abs%":OO,"%Math.floor%":AO,"%Math.max%":FO,"%Math.min%":DO,"%Math.pow%":EO,"%Math.round%":PO,"%Math.sign%":TO,"%Reflect.getPrototypeOf%":MO};if(Ft)try{null.error}catch(t){Xb=Ft(Ft(t)),ra["%Error.prototype%"]=Xb}var Xb,VO=a(function t(e){var o;if(e==="%AsyncFunction%")o=bm("async function () {}");else if(e==="%GeneratorFunction%")o=bm("function* () {}");else if(e==="%AsyncGeneratorFunction%")o=bm("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 ra[e]=o,o},"doEval"),Kb={__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"]},pl=rc(),Yu=Jb(),_O=pl.call(cl,Array.prototype.concat),UO=pl.call(tx,Array.prototype.splice),$b=pl.call(cl,String.prototype.replace),Wu=pl.call(cl,String.prototype.slice),qO=pl.call(cl,RegExp.prototype.exec),HO=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,kO=/\\(\\)?/g,GO=a(function(e){var o=Wu(e,0,1),i=Wu(e,-1);if(o==="%"&&i!=="%")throw new pc("invalid intrinsic syntax, expected closing `%`");if(i==="%"&&o!=="%")throw new pc("invalid intrinsic syntax, expected opening `%`");var r=[];return $b(e,HO,function(n,s,c,p){r[r.length]=c?$b(p,kO,"$1"):s||n}),r},"stringToPath"),QO=a(function(e,o){var i=e,r;if(Yu(Kb,i)&&(r=Kb[i],i="%"+r[0]+"%"),Yu(ra,i)){var n=ra[i];if(n===ac&&(n=VO(i)),typeof n>"u"&&!o)throw new cc("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:i,value:n}}throw new pc("intrinsic "+e+" does not exist!")},"getBaseIntrinsic");ox.exports=a(function(e,o){if(typeof e!="string"||e.length===0)throw new cc("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof o!="boolean")throw new cc('"allowMissing" argument must be a boolean');if(qO(/^%?[^%]*%?$/,e)===null)throw new pc("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=GO(e),r=i.length>0?i[0]:"",n=QO("%"+r+"%",o),s=n.name,c=n.value,p=!1,l=n.alias;l&&(r=l[0],UO(i,_O([0,1],l)));for(var u=1,d=!0;u<i.length;u+=1){var f=i[u],y=Wu(f,0,1),S=Wu(f,-1);if((y==='"'||y==="'"||y==="`"||S==='"'||S==="'"||S==="`")&&y!==S)throw new pc("property names with quotes must have matching quotes");if((f==="constructor"||!d)&&(p=!0),r+="."+f,s="%"+r+"%",Yu(ra,s))c=ra[s];else if(c!=null){if(!(f in c)){if(!o)throw new cc("base intrinsic for "+e+" exists, but the property is not available.");return}if(al&&u+1>=i.length){var C=al(c,f);d=!!C,d&&"get"in C&&!("originalValue"in C.get)?c=C.get:c=c[f]}else d=Yu(c,f),c=c[f];d&&!p&&(ra[s]=c)}}return c},"GetIntrinsic")});var rx=R((k4,nx)=>{"use strict";var ZO=mm();nx.exports=a(function(){return ZO()&&!!Symbol.toStringTag},"hasToStringTagShams")});var Sm=R((Q4,sx)=>{"use strict";var YO=Function.prototype.call,WO=Object.prototype.hasOwnProperty,JO=rc();sx.exports=JO.call(YO,WO)});var px=R((Z4,cx)=>{"use strict";var XO=ix(),ax=XO("%Object.defineProperty%",!0),KO=rx()(),$O=Sm(),eA=ku(),Ju=KO?Symbol.toStringTag:null;cx.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 eA("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");Ju&&(i||!$O(e,Ju))&&(ax?ax(e,Ju,{configurable:!r,enumerable:!1,value:o,writable:!1}):e[Ju]=o)},"setToStringTag")});var ux=R((W4,lx)=>{"use strict";lx.exports=function(t,e){return Object.keys(e).forEach(function(o){t[o]=t[o]||e[o]}),t}});var mx=R((J4,fx)=>{"use strict";var wm=hy(),tA=require("util"),Cm=require("path"),oA=require("http"),iA=require("https"),nA=require("url").parse,rA=require("fs"),sA=require("stream").Stream,aA=require("crypto"),Nm=Sy(),cA=Ly(),pA=px(),Jr=Sm(),Rm=ux();function dx(t){return String(t).replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/"/g,"%22")}a(dx,"escapeHeaderParam");function te(t){if(!(this instanceof te))return new te(t);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],wm.call(this),t=t||{};for(var e in t)this[e]=t[e]}a(te,"FormData");tA.inherits(te,wm);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=wm.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&&Jr(e,"httpVersion"))&&!(e instanceof sA))&&(o.knownLength||this._valuesToMeasure.push(e))};te.prototype._lengthRetriever=function(t,e){Jr(t,"fd")?t.end!=null&&t.end!=1/0&&t.start!=null?e(null,t.end+1-(t.start?t.start:0)):rA.stat(t.path,function(o,i){if(o){e(o);return}var r=i.size-(t.start?t.start:0);e(null,r)}):Jr(t,"httpVersion")?e(null,Number(t.headers["content-length"])):Jr(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="'+dx(t)+'"'].concat(i||[]),"Content-Type":[].concat(r||[])};typeof o.header=="object"&&Rm(s,o.header);var c;for(var p in s)if(Jr(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=Cm.normalize(e.filepath).replace(/\\/g,"/"):e.filename||t&&(t.name||t.path)?o=Cm.basename(e.filename||t&&(t.name||t.path)):t&&t.readable&&Jr(t,"httpVersion")&&(o=Cm.basename(t.client._httpMessage.path||"")),o)return'filename="'+dx(o)+'"'};te.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&&Jr(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=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)Jr(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="--------------------------"+aA.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}cA.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=nA(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=iA.request(i):o=oA.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(l,u){return o.removeListener("error",p),o.removeListener("response",c),e.call(this,l,u)},"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]"};pA(te.prototype,"FormData");fx.exports=te});var zx=R((xj,Tx)=>{"use strict";var dc=1e3,fc=dc*60,mc=fc*60,ca=mc*24,PA=ca*7,TA=ca*365.25;Tx.exports=function(t,e){e=e||{};var o=typeof t;if(o==="string"&&t.length>0)return zA(t);if(o==="number"&&isFinite(t))return e.long?BA(t):jA(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function zA(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var o=parseFloat(e[1]),i=(e[2]||"ms").toLowerCase();switch(i){case"years":case"year":case"yrs":case"yr":case"y":return o*TA;case"weeks":case"week":case"w":return o*PA;case"days":case"day":case"d":return o*ca;case"hours":case"hour":case"hrs":case"hr":case"h":return o*mc;case"minutes":case"minute":case"mins":case"min":case"m":return o*fc;case"seconds":case"second":case"secs":case"sec":case"s":return o*dc;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}a(zA,"parse");function jA(t){var e=Math.abs(t);return e>=ca?Math.round(t/ca)+"d":e>=mc?Math.round(t/mc)+"h":e>=fc?Math.round(t/fc)+"m":e>=dc?Math.round(t/dc)+"s":t+"ms"}a(jA,"fmtShort");function BA(t){var e=Math.abs(t);return e>=ca?td(t,e,ca,"day"):e>=mc?td(t,e,mc,"hour"):e>=fc?td(t,e,fc,"minute"):e>=dc?td(t,e,dc,"second"):t+" ms"}a(BA,"fmtLong");function td(t,e,o,i){var r=e>=o*1.5;return Math.round(t/o)+" "+i+(r?"s":"")}a(td,"plural")});var Vm=R((Cj,jx)=>{"use strict";function MA(t){o.debug=o,o.default=o,o.coerce=p,o.disable=s,o.enable=r,o.enabled=c,o.humanize=zx(),o.destroy=l,Object.keys(t).forEach(u=>{o[u]=t[u]}),o.names=[],o.skips=[],o.formatters={};function e(u){let d=0;for(let f=0;f<u.length;f++)d=(d<<5)-d+u.charCodeAt(f),d|=0;return o.colors[Math.abs(d)%o.colors.length]}a(e,"selectColor"),o.selectColor=e;function o(u){let d,f=null,y,S;function C(...I){if(!C.enabled)return;let b=C,w=Number(new Date),F=w-(d||w);b.diff=F,b.prev=d,b.curr=w,d=w,I[0]=o.coerce(I[0]),typeof I[0]!="string"&&I.unshift("%O");let O=0;I[0]=I[0].replace(/%([a-zA-Z%])/g,(Z,W)=>{if(Z==="%%")return"%";O++;let St=o.formatters[W];if(typeof St=="function"){let di=I[O];Z=St.call(b,di),I.splice(O,1),O--}return Z}),o.formatArgs.call(b,I),(b.log||o.log).apply(b,I)}return a(C,"debug"),C.namespace=u,C.useColors=o.useColors(),C.color=o.selectColor(u),C.extend=i,C.destroy=o.destroy,Object.defineProperty(C,"enabled",{enumerable:!0,configurable:!1,get:a(()=>f!==null?f:(y!==o.namespaces&&(y=o.namespaces,S=o.enabled(u)),S),"get"),set:a(I=>{f=I},"set")}),typeof o.init=="function"&&o.init(C),C}a(o,"createDebug");function i(u,d){let f=o(this.namespace+(typeof d>"u"?":":d)+u);return f.log=this.log,f}a(i,"extend");function r(u){o.save(u),o.namespaces=u,o.names=[],o.skips=[];let d=(typeof u=="string"?u:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let f of d)f[0]==="-"?o.skips.push(f.slice(1)):o.names.push(f)}a(r,"enable");function n(u,d){let f=0,y=0,S=-1,C=0;for(;f<u.length;)if(y<d.length&&(d[y]===u[f]||d[y]==="*"))d[y]==="*"?(S=y,C=f,y++):(f++,y++);else if(S!==-1)y=S+1,C++,f=C;else return!1;for(;y<d.length&&d[y]==="*";)y++;return y===d.length}a(n,"matchesTemplate");function s(){let u=[...o.names,...o.skips.map(d=>"-"+d)].join(",");return o.enable(""),u}a(s,"disable");function c(u){for(let d of o.skips)if(n(u,d))return!1;for(let d of o.names)if(n(u,d))return!0;return!1}a(c,"enabled");function p(u){return u instanceof Error?u.stack||u.message:u}a(p,"coerce");function l(){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(l,"destroy"),o.enable(o.load()),o}a(MA,"setup");jx.exports=MA});var Bx=R((ko,od)=>{"use strict";ko.formatArgs=VA;ko.save=_A;ko.load=UA;ko.useColors=LA;ko.storage=qA();ko.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`."))}})();ko.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 LA(){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(LA,"useColors");function VA(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+od.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(VA,"formatArgs");ko.log=console.debug||console.log||(()=>{});function _A(t){try{t?ko.storage.setItem("debug",t):ko.storage.removeItem("debug")}catch{}}a(_A,"save");function UA(){let t;try{t=ko.storage.getItem("debug")||ko.storage.getItem("DEBUG")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}a(UA,"load");function qA(){try{return localStorage}catch{}}a(qA,"localstorage");od.exports=Vm()(ko);var{formatters:HA}=od.exports;HA.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var Lx=R((wj,Mx)=>{"use strict";Mx.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 Ux=R((Ij,_x)=>{"use strict";var kA=require("os"),Vx=require("tty"),gi=Lx(),{env:Dt}=process,$r;gi("no-color")||gi("no-colors")||gi("color=false")||gi("color=never")?$r=0:(gi("color")||gi("colors")||gi("color=true")||gi("color=always"))&&($r=1);"FORCE_COLOR"in Dt&&(Dt.FORCE_COLOR==="true"?$r=1:Dt.FORCE_COLOR==="false"?$r=0:$r=Dt.FORCE_COLOR.length===0?1:Math.min(parseInt(Dt.FORCE_COLOR,10),3));function _m(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}a(_m,"translateLevel");function Um(t,e){if($r===0)return 0;if(gi("color=16m")||gi("color=full")||gi("color=truecolor"))return 3;if(gi("color=256"))return 2;if(t&&!e&&$r===void 0)return 0;let o=$r||0;if(Dt.TERM==="dumb")return o;if(process.platform==="win32"){let i=kA.release().split(".");return Number(i[0])>=10&&Number(i[2])>=10586?Number(i[2])>=14931?3:2:1}if("CI"in Dt)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(i=>i in Dt)||Dt.CI_NAME==="codeship"?1:o;if("TEAMCITY_VERSION"in Dt)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Dt.TEAMCITY_VERSION)?1:0;if(Dt.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Dt){let i=parseInt((Dt.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Dt.TERM_PROGRAM){case"iTerm.app":return i>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Dt.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Dt.TERM)||"COLORTERM"in Dt?1:o}a(Um,"supportsColor");function GA(t){let e=Um(t,t&&t.isTTY);return _m(e)}a(GA,"getSupportLevel");_x.exports={supportsColor:GA,stdout:_m(Um(!0,Vx.isatty(1))),stderr:_m(Um(!0,Vx.isatty(2)))}});var Hx=R((Et,nd)=>{"use strict";var QA=require("tty"),id=require("util");Et.init=$A;Et.log=JA;Et.formatArgs=YA;Et.save=XA;Et.load=KA;Et.useColors=ZA;Et.destroy=id.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Et.colors=[6,2,3,4,5,1];try{let t=Ux();t&&(t.stderr||t).level>=2&&(Et.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{}Et.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 ZA(){return"colors"in Et.inspectOpts?!!Et.inspectOpts.colors:QA.isatty(process.stderr.fd)}a(ZA,"useColors");function YA(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+"+nd.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=WA()+e+" "+t[0]}a(YA,"formatArgs");function WA(){return Et.inspectOpts.hideDate?"":new Date().toISOString()+" "}a(WA,"getDate");function JA(...t){return process.stderr.write(id.formatWithOptions(Et.inspectOpts,...t)+`
|
|
5
|
+
`)}a(JA,"log");function XA(t){t?process.env.DEBUG=t:delete process.env.DEBUG}a(XA,"save");function KA(){return process.env.DEBUG}a(KA,"load");function $A(t){t.inspectOpts={};let e=Object.keys(Et.inspectOpts);for(let o=0;o<e.length;o++)t.inspectOpts[e[o]]=Et.inspectOpts[e[o]]}a($A,"init");nd.exports=Vm()(Et);var{formatters:qx}=nd.exports;qx.o=function(t){return this.inspectOpts.colors=this.useColors,id.inspect(t,this.inspectOpts).split(`
|
|
6
|
+
`).map(e=>e.trim()).join(" ")};qx.O=function(t){return this.inspectOpts.colors=this.useColors,id.inspect(t,this.inspectOpts)}});var hl=R((Fj,qm)=>{"use strict";typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?qm.exports=Bx():qm.exports=Hx()});var kx=R(Hm=>{"use strict";Object.defineProperty(Hm,"__esModule",{value:!0});function eF(t){return function(e,o){return new Promise((i,r)=>{t.call(this,e,o,(n,s)=>{n?r(n):i(s)})})}}a(eF,"promisify");Hm.default=eF});var Zx=R((Gm,Qx)=>{"use strict";var Gx=Gm&&Gm.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},tF=require("events"),oF=Gx(hl()),iF=Gx(kx()),gl=oF.default("agent-base");function nF(t){return!!t&&typeof t.addRequest=="function"}a(nF,"isAgent");function km(){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)}a(km,"isSecureEndpoint");function rd(t,e){return new rd.Agent(t,e)}a(rd,"createAgent");(function(t){let e=class extends tF.EventEmitter{static{a(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:km()?443:80}set defaultPort(i){this.explicitDefaultPort=i}get protocol(){return typeof this.explicitProtocol=="string"?this.explicitProtocol:km()?"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=km()),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 s=!1,c=null,p=n.timeout||this.timeout,l=a(y=>{i._hadError||(i.emit("error",y),i._hadError=!0)},"onerror"),u=a(()=>{c=null,s=!0;let y=new Error(`A "socket" was not created for HTTP request before ${p}ms`);y.code="ETIMEOUT",l(y)},"ontimeout"),d=a(y=>{s||(c!==null&&(clearTimeout(c),c=null),l(y))},"callbackError"),f=a(y=>{if(s)return;if(c!=null&&(clearTimeout(c),c=null),nF(y)){gl("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}\``);l(S)},"onsocket");if(typeof this.callback!="function"){l(new Error("`callback` is not defined"));return}this.promisifiedCallback||(this.callback.length>=3?(gl("Converting legacy callback function to promise"),this.promisifiedCallback=iF.default(this.callback)):this.promisifiedCallback=this.callback),typeof p=="number"&&p>0&&(c=setTimeout(u,p)),"port"in n&&typeof n.port!="number"&&(n.port=Number(n.port));try{gl("Resolving socket for %o request: %o",n.protocol,`${i.method} ${i.path}`),Promise.resolve(this.promisifiedCallback(i,n)).then(f,d)}catch(y){Promise.reject(y).catch(d)}}freeSocket(i,r){gl("Freeing socket %o %o",i.constructor.name,r),i.destroy()}destroy(){gl("Destroying agent %o",this.constructor.name)}};t.Agent=e,t.prototype=t.Agent.prototype})(rd||(rd={}));Qx.exports=rd});var Yx=R(yl=>{"use strict";var rF=yl&&yl.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(yl,"__esModule",{value:!0});var sF=rF(hl()),vl=sF.default("https-proxy-agent:parse-proxy-response");function aF(t){return new Promise((e,o)=>{let i=0,r=[];function n(){let d=t.read();d?u(d):t.once("readable",n)}a(n,"read");function s(){t.removeListener("end",p),t.removeListener("error",l),t.removeListener("close",c),t.removeListener("readable",n)}a(s,"cleanup");function c(d){vl("onclose had error %o",d)}a(c,"onclose");function p(){vl("onend")}a(p,"onend");function l(d){s(),vl("onerror %o",d),o(d)}a(l,"onerror");function u(d){r.push(d),i+=d.length;let f=Buffer.concat(r,i);if(f.indexOf(`\r
|
|
8
8
|
\r
|
|
9
|
-
`)===-1){
|
|
10
|
-
`)),C=+S.split(" ")[1];
|
|
11
|
-
`;i.auth&&(
|
|
12
|
-
`;let
|
|
13
|
-
`);let{statusCode:y,buffered:S}=yield h;if(y===200){if(e.once("socket",tF),o.secureEndpoint){pl("Upgrading socket connection to TLS");let O=o.servername||o.host;return Bx.default.connect(Object.assign(Object.assign({},nF(o,"host","hostname","path","port")),{socket:n,servername:O}))}return n}n.destroy();let C=new jx.default.Socket({writable:!1});return C.readable=!0,e.once("socket",O=>{pl("replaying proxy buffer for failed request"),JA.default(O.listenerCount("data")>0),O.push(S),O.push(null)}),C})}};es.default=eF;function tF(t){t.resume()}s(tF,"resume");function oF(t,e){return!!(!e&&t===80||e&&t===443)}s(oF,"isDefaultPort");function iF(t){return typeof t=="string"?/^https:?$/i.test(t):!1}s(iF,"isHTTPS");function nF(t,...e){let o={},i;for(i in t)e.includes(i)||(o[i]=t[i]);return o}s(nF,"omit")});var Vx=N((Mm,Lx)=>{"use strict";var rF=Mm&&Mm.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},jm=rF(Mx());function Bm(t){return new jm.default(t)}s(Bm,"createHttpsProxyAgent");(function(t){t.HttpsProxyAgent=jm.default,t.prototype=jm.default.prototype})(Bm||(Bm={}));Lx.exports=Bm});var Ux=N((Ij,_x)=>{"use strict";var ll;_x.exports=function(){if(!ll){try{ll=rl()("follow-redirects")}catch{}typeof ll!="function"&&(ll=s(function(){},"debug"))}ll.apply(null,arguments)}});var Qx=N((Fj,Wm)=>{"use strict";var dl=require("url"),ul=dl.URL,aF=require("http"),sF=require("https"),qm=require("stream").Writable,Hm=require("assert"),qx=Ux();s((function(){var e=typeof process<"u",o=typeof window<"u"&&typeof document<"u",i=os(Error.captureStackTrace);!e&&(o||!i)&&console.warn("The follow-redirects package should be excluded from browser builds.")}),"detectUnsupportedEnvironment")();var km=!1;try{Hm(new ul(""))}catch(t){km=t.code==="ERR_INVALID_URL"}var cF=["Authorization","Proxy-Authorization","Cookie"],pF=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],Gm=["abort","aborted","connect","error","socket","timeout"],Qm=Object.create(null);Gm.forEach(function(t){Qm[t]=function(e,o,i){this._redirectable.emit(t,e,o,i)}});var Vm=fl("ERR_INVALID_URL","Invalid URL",TypeError),_m=fl("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),lF=fl("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",_m),uF=fl("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),dF=fl("ERR_STREAM_WRITE_AFTER_END","write after end"),fF=qm.prototype.destroy||kx;function Go(t,e){qm.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 _m?r:new _m({cause:r}))}},this._headerFilter=new RegExp("^(?:"+cF.concat(t.sensitiveHeaders).map(bF).join("|")+")$","i"),this._performRequest()}s(Go,"RedirectableRequest");Go.prototype=Object.create(qm.prototype);Go.prototype.abort=function(){Ym(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};Go.prototype.destroy=function(t){return Ym(this._currentRequest,t),fF.call(this,t),this};Go.prototype.write=function(t,e,o){if(this._ending)throw new dF;if(!ts(t)&&!gF(t))throw new TypeError("data should be a string, Buffer or Uint8Array");if(os(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 uF),this.abort())};Go.prototype.end=function(t,e,o){if(os(t)?(o=t,t=e=null):os(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}};Go.prototype.setHeader=function(t,e){this._options.headers[t]=e,this._currentRequest.setHeader(t,e)};Go.prototype.removeHeader=function(t){delete this._options.headers[t],this._currentRequest.removeHeader(t)};Go.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){Go.prototype[t]=function(e,o){return this._currentRequest[t](e,o)}});["aborted","connection","socket"].forEach(function(t){Object.defineProperty(Go.prototype,t,{get:s(function(){return this._currentRequest[t]},"get")})});Go.prototype._sanitizeOptions=function(t){if(t.headers||(t.headers={}),vF(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))}};Go.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 Gm)i.on(r,Qm[r]);if(this._currentUrl=/^\//.test(this._options.path)?dl.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")()}};Go.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(Ym(this._currentRequest),t.destroy(),++this._redirectCount>this._options.maxRedirects)throw new lF;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=[],Lm(/^content-/i,this._options.headers));var a=Lm(/^host$/i,this._options.headers),c=Zm(this._currentUrl),p=a||c.host,u=/^\w+:/.test(o)?this._currentUrl:dl.format(Object.assign(c,{host:p})),l=mF(o,u);if(qx("redirecting to",l.href),this._isRedirect=!0,Um(l,this._options),(l.protocol!==c.protocol&&l.protocol!=="https:"||l.host!==p&&!hF(l.host,p))&&Lm(this._headerFilter,this._options.headers),os(r)){var d={headers:t.headers,statusCode:e},h={url:u,method:n,headers:i};r(this._options,d,h),this._sanitizeOptions(this._options)}this._performRequest()};function Hx(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 yF(u)?u=Um(u):ts(u)?u=Um(Zm(u)):(d=l,l=Gx(u),u={protocol:r}),os(l)&&(d=l,l=null),l=Object.assign({maxRedirects:e.maxRedirects,maxBodyLength:e.maxBodyLength},u,l),l.nativeProtocols=o,!ts(l.host)&&!ts(l.hostname)&&(l.hostname="::1"),Hm.equal(l.protocol,r,"protocol mismatch"),qx("options",l),new Go(l,d)}s(c,"request");function p(u,l,d){var h=a.request(u,l,d);return h.end(),h}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(Hx,"wrap");function kx(){}s(kx,"noop");function Zm(t){var e;if(km)e=new ul(t);else if(e=Gx(dl.parse(t)),!ts(e.protocol))throw new Vm({input:t});return e}s(Zm,"parseUrl");function mF(t,e){return km?new ul(t,e):Zm(dl.resolve(e,t))}s(mF,"resolveUrl");function Gx(t){if(/^\[/.test(t.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(t.hostname))throw new Vm({input:t.href||t});if(/^\[/.test(t.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(t.host))throw new Vm({input:t.href||t});return t}s(Gx,"validateUrl");function Um(t,e){var o=e||{};for(var i of pF)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(Um,"spreadUrlObject");function Lm(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(Lm,"removeMatchingHeaders");function fl(t,e,o){function i(r){os(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(fl,"createErrorType");function Ym(t,e){for(var o of Gm)t.removeListener(o,Qm[o]);t.on("error",kx),t.destroy(e)}s(Ym,"destroyRequest");function hF(t,e){Hm(ts(t)&&ts(e));var o=t.length-e.length-1;return o>0&&t[o]==="."&&t.endsWith(e)}s(hF,"isSubdomain");function vF(t){return t instanceof Array}s(vF,"isArray");function ts(t){return typeof t=="string"||t instanceof String}s(ts,"isString");function os(t){return typeof t=="function"}s(os,"isFunction");function gF(t){return typeof t=="object"&&"length"in t}s(gF,"isBuffer");function yF(t){return ul&&t instanceof ul}s(yF,"isURL");function bF(t){return t.replace(/[\]\\/()*+?.$]/g,"\\$&")}s(bF,"escapeRegex");Wm.exports=Hx({http:aF,https:sF});Wm.exports.wrap=Hx});var Av=N((m8,AC)=>{"use strict";AC.exports=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}});var Ta=N(js=>{"use strict";var Fv,JD=[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];js.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");js.getSymbolTotalCodewords=s(function(e){return JD[e]},"getSymbolTotalCodewords");js.getBCHDigit=function(t){let e=0;for(;t!==0;)e++,t>>>=1;return e};js.setToSJISFunction=s(function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');Fv=e},"setToSJISFunction");js.isKanjiModeEnabled=function(){return typeof Fv<"u"};js.toSJIS=s(function(e){return Fv(e)},"toSJIS")});var of=N(Li=>{"use strict";Li.L={bit:1};Li.M={bit:0};Li.Q={bit:3};Li.H={bit:2};function XD(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return Li.L;case"m":case"medium":return Li.M;case"q":case"quartile":return Li.Q;case"h":case"high":return Li.H;default:throw new Error("Unknown EC Level: "+t)}}s(XD,"fromString");Li.isValid=s(function(e){return e&&typeof e.bit<"u"&&e.bit>=0&&e.bit<4},"isValid");Li.from=s(function(e,o){if(Li.isValid(e))return e;try{return XD(e)}catch{return o}},"from")});var EC=N((b8,DC)=>{"use strict";function FC(){this.buffer=[],this.length=0}s(FC,"BitBuffer");FC.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")};DC.exports=FC});var TC=N((S8,PC)=>{"use strict";function lu(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(lu,"BitMatrix");lu.prototype.set=function(t,e,o,i){let r=t*this.size+e;this.data[r]=o,i&&(this.reservedBit[r]=!0)};lu.prototype.get=function(t,e){return this.data[t*this.size+e]};lu.prototype.xor=function(t,e,o){this.data[t*this.size+e]^=o};lu.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};PC.exports=lu});var zC=N(nf=>{"use strict";var KD=Ta().getSymbolSize;nf.getRowColCoords=s(function(e){if(e===1)return[];let o=Math.floor(e/7)+2,i=KD(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");nf.getPositions=s(function(e){let o=[],i=nf.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 MC=N(BC=>{"use strict";var $D=Ta().getSymbolSize,jC=7;BC.getPositions=s(function(e){let o=$D(e);return[[0,0],[o-jC,0],[0,o-jC]]},"getPositions")});var LC=N(Fe=>{"use strict";Fe.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var Bs={N1:3,N2:3,N3:40,N4:10};Fe.isValid=s(function(e){return e!=null&&e!==""&&!isNaN(e)&&e>=0&&e<=7},"isValid");Fe.from=s(function(e){return Fe.isValid(e)?parseInt(e,10):void 0},"from");Fe.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+=Bs.N1+(r-5)),a=l,r=1),l=e.get(u,p),l===c?n++:(n>=5&&(i+=Bs.N1+(n-5)),c=l,n=1)}r>=5&&(i+=Bs.N1+(r-5)),n>=5&&(i+=Bs.N1+(n-5))}return i},"getPenaltyN1");Fe.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*Bs.N2},"getPenaltyN2");Fe.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*Bs.N3},"getPenaltyN3");Fe.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)*Bs.N4},"getPenaltyN4");function eE(t,e,o){switch(t){case Fe.Patterns.PATTERN000:return(e+o)%2===0;case Fe.Patterns.PATTERN001:return e%2===0;case Fe.Patterns.PATTERN010:return o%3===0;case Fe.Patterns.PATTERN011:return(e+o)%3===0;case Fe.Patterns.PATTERN100:return(Math.floor(e/2)+Math.floor(o/3))%2===0;case Fe.Patterns.PATTERN101:return e*o%2+e*o%3===0;case Fe.Patterns.PATTERN110:return(e*o%2+e*o%3)%2===0;case Fe.Patterns.PATTERN111:return(e*o%3+(e+o)%2)%2===0;default:throw new Error("bad maskPattern:"+t)}}s(eE,"getMaskAt");Fe.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,eE(e,n,r))},"applyMask");Fe.getBestMask=s(function(e,o){let i=Object.keys(Fe.Patterns).length,r=0,n=1/0;for(let a=0;a<i;a++){o(a),Fe.applyMask(a,e);let c=Fe.getPenaltyN1(e)+Fe.getPenaltyN2(e)+Fe.getPenaltyN3(e)+Fe.getPenaltyN4(e);Fe.applyMask(a,e),c<n&&(n=c,r=a)}return r},"getBestMask")});var Ev=N(Dv=>{"use strict";var za=of(),rf=[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],af=[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];Dv.getBlocksCount=s(function(e,o){switch(o){case za.L:return rf[(e-1)*4+0];case za.M:return rf[(e-1)*4+1];case za.Q:return rf[(e-1)*4+2];case za.H:return rf[(e-1)*4+3];default:return}},"getBlocksCount");Dv.getTotalCodewordsCount=s(function(e,o){switch(o){case za.L:return af[(e-1)*4+0];case za.M:return af[(e-1)*4+1];case za.Q:return af[(e-1)*4+2];case za.H:return af[(e-1)*4+3];default:return}},"getTotalCodewordsCount")});var VC=N(cf=>{"use strict";var uu=new Uint8Array(512),sf=new Uint8Array(256);s((function(){let e=1;for(let o=0;o<255;o++)uu[o]=e,sf[e]=o,e<<=1,e&256&&(e^=285);for(let o=255;o<512;o++)uu[o]=uu[o-255]}),"initTables")();cf.log=s(function(e){if(e<1)throw new Error("log("+e+")");return sf[e]},"log");cf.exp=s(function(e){return uu[e]},"exp");cf.mul=s(function(e,o){return e===0||o===0?0:uu[sf[e]+sf[o]]},"mul")});var _C=N(du=>{"use strict";var Pv=VC();du.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]^=Pv.mul(e[r],o[n]);return i},"mul");du.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]^=Pv.mul(o[a],r);let n=0;for(;n<i.length&&i[n]===0;)n++;i=i.slice(n)}return i},"mod");du.generateECPolynomial=s(function(e){let o=new Uint8Array([1]);for(let i=0;i<e;i++)o=du.mul(o,new Uint8Array([1,Pv.exp(i)]));return o},"generateECPolynomial")});var HC=N((j8,qC)=>{"use strict";var UC=_C();function Tv(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}s(Tv,"ReedSolomonEncoder");Tv.prototype.initialize=s(function(e){this.degree=e,this.genPoly=UC.generateECPolynomial(this.degree)},"initialize");Tv.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=UC.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");qC.exports=Tv});var zv=N(kC=>{"use strict";kC.isValid=s(function(e){return!isNaN(e)&&e>=1&&e<=40},"isValid")});var jv=N(qr=>{"use strict";var GC="[0-9]+",tE="[A-Z $%*+\\-./:]+",fu="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";fu=fu.replace(/u/g,"\\u");var oE="(?:(?![A-Z0-9 $%*+\\-./:]|"+fu+`)(?:.|[\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: `+de.toString(i));switch(o===de.KANJI&&!
|
|
9
|
+
`)===-1){vl("have not received end of HTTP headers yet..."),n();return}let S=f.toString("ascii",0,f.indexOf(`\r
|
|
10
|
+
`)),C=+S.split(" ")[1];vl("got proxy server response: %o",S),e({statusCode:C,buffered:f})}a(u,"ondata"),t.on("error",l),t.on("close",c),t.on("end",p),n()})}a(aF,"parseProxyResponse");yl.default=aF});var Xx=R(pa=>{"use strict";var cF=pa&&pa.__awaiter||function(t,e,o,i){function r(n){return n instanceof o?n:new o(function(s){s(n)})}return a(r,"adopt"),new(o||(o=Promise))(function(n,s){function c(u){try{l(i.next(u))}catch(d){s(d)}}a(c,"fulfilled");function p(u){try{l(i.throw(u))}catch(d){s(d)}}a(p,"rejected");function l(u){u.done?n(u.value):r(u.value).then(c,p)}a(l,"step"),l((i=i.apply(t,e||[])).next())})},hc=pa&&pa.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(pa,"__esModule",{value:!0});var Wx=hc(require("net")),Jx=hc(require("tls")),pF=hc(require("url")),lF=hc(require("assert")),uF=hc(hl()),dF=Zx(),fF=hc(Yx()),bl=uF.default("https-proxy-agent:agent"),mF=class extends dF.Agent{static{a(this,"HttpsProxyAgent")}constructor(e){let o;if(typeof e=="string"?o=pF.default.parse(e):o=e,!o)throw new Error("an HTTP(S) proxy server `host` and `port` must be specified!");bl("creating new HttpsProxyAgent instance: %o",o),super(o);let i=Object.assign({},o);this.secureProxy=o.secureProxy||vF(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 cF(this,void 0,void 0,function*(){let{proxy:i,secureProxy:r}=this,n;r?(bl("Creating `tls.Socket`: %o",i),n=Jx.default.connect(i)):(bl("Creating `net.Socket`: %o",i),n=Wx.default.connect(i));let s=Object.assign({},i.headers),p=`CONNECT ${`${o.host}:${o.port}`} HTTP/1.1\r
|
|
11
|
+
`;i.auth&&(s["Proxy-Authorization"]=`Basic ${Buffer.from(i.auth).toString("base64")}`);let{host:l,port:u,secureEndpoint:d}=o;gF(u,d)||(l+=`:${u}`),s.Host=l,s.Connection="close";for(let I of Object.keys(s))p+=`${I}: ${s[I]}\r
|
|
12
|
+
`;let f=fF.default(n);n.write(`${p}\r
|
|
13
|
+
`);let{statusCode:y,buffered:S}=yield f;if(y===200){if(e.once("socket",hF),o.secureEndpoint){bl("Upgrading socket connection to TLS");let I=o.servername||o.host;return Jx.default.connect(Object.assign(Object.assign({},yF(o,"host","hostname","path","port")),{socket:n,servername:I}))}return n}n.destroy();let C=new Wx.default.Socket({writable:!1});return C.readable=!0,e.once("socket",I=>{bl("replaying proxy buffer for failed request"),lF.default(I.listenerCount("data")>0),I.push(S),I.push(null)}),C})}};pa.default=mF;function hF(t){t.resume()}a(hF,"resume");function gF(t,e){return!!(!e&&t===80||e&&t===443)}a(gF,"isDefaultPort");function vF(t){return typeof t=="string"?/^https:?$/i.test(t):!1}a(vF,"isHTTPS");function yF(t,...e){let o={},i;for(i in t)e.includes(i)||(o[i]=t[i]);return o}a(yF,"omit")});var $x=R((Ym,Kx)=>{"use strict";var bF=Ym&&Ym.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},Qm=bF(Xx());function Zm(t){return new Qm.default(t)}a(Zm,"createHttpsProxyAgent");(function(t){t.HttpsProxyAgent=Qm.default,t.prototype=Qm.default.prototype})(Zm||(Zm={}));Kx.exports=Zm});var t0=R((_j,e0)=>{"use strict";var xl;e0.exports=function(){if(!xl){try{xl=hl()("follow-redirects")}catch{}typeof xl!="function"&&(xl=a(function(){},"debug"))}xl.apply(null,arguments)}});var s0=R((qj,sh)=>{"use strict";var Cl=require("url"),Sl=Cl.URL,xF=require("http"),SF=require("https"),$m=require("stream").Writable,eh=require("assert"),o0=t0();a((function(){var e=typeof process<"u",o=typeof window<"u"&&typeof document<"u",i=ua(Error.captureStackTrace);!e&&(o||!i)&&console.warn("The follow-redirects package should be excluded from browser builds.")}),"detectUnsupportedEnvironment")();var th=!1;try{eh(new Sl(""))}catch(t){th=t.code==="ERR_INVALID_URL"}var CF=["Authorization","Proxy-Authorization","Cookie"],NF=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],oh=["abort","aborted","connect","error","socket","timeout"],ih=Object.create(null);oh.forEach(function(t){ih[t]=function(e,o,i){this._redirectable.emit(t,e,o,i)}});var Jm=Nl("ERR_INVALID_URL","Invalid URL",TypeError),Xm=Nl("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),RF=Nl("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Xm),wF=Nl("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),IF=Nl("ERR_STREAM_WRITE_AFTER_END","write after end"),OF=$m.prototype.destroy||n0;function Go(t,e){$m.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 Xm?r:new Xm({cause:r}))}},this._headerFilter=new RegExp("^(?:"+CF.concat(t.sensitiveHeaders).map(TF).join("|")+")$","i"),this._performRequest()}a(Go,"RedirectableRequest");Go.prototype=Object.create($m.prototype);Go.prototype.abort=function(){rh(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};Go.prototype.destroy=function(t){return rh(this._currentRequest,t),OF.call(this,t),this};Go.prototype.write=function(t,e,o){if(this._ending)throw new IF;if(!la(t)&&!EF(t))throw new TypeError("data should be a string, Buffer or Uint8Array");if(ua(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 wF),this.abort())};Go.prototype.end=function(t,e,o){if(ua(t)?(o=t,t=e=null):ua(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}};Go.prototype.setHeader=function(t,e){this._options.headers[t]=e,this._currentRequest.setHeader(t,e)};Go.prototype.removeHeader=function(t){delete this._options.headers[t],this._currentRequest.removeHeader(t)};Go.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){Go.prototype[t]=function(e,o){return this._currentRequest[t](e,o)}});["aborted","connection","socket"].forEach(function(t){Object.defineProperty(Go.prototype,t,{get:a(function(){return this._currentRequest[t]},"get")})});Go.prototype._sanitizeOptions=function(t){if(t.headers||(t.headers={}),DF(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))}};Go.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 oh)i.on(r,ih[r]);if(this._currentUrl=/^\//.test(this._options.path)?Cl.format(this._options):this._options.path,this._isRedirect){var n=0,s=this,c=this._requestBodyBuffers;a((function p(l){if(i===s._currentRequest)if(l)s.emit("error",l);else if(n<c.length){var u=c[n++];i.finished||i.write(u.data,u.encoding,p)}else s._ended&&i.end()}),"writeNext")()}};Go.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(rh(this._currentRequest),t.destroy(),++this._redirectCount>this._options.maxRedirects)throw new RF;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=[],Wm(/^content-/i,this._options.headers));var s=Wm(/^host$/i,this._options.headers),c=nh(this._currentUrl),p=s||c.host,l=/^\w+:/.test(o)?this._currentUrl:Cl.format(Object.assign(c,{host:p})),u=AF(o,l);if(o0("redirecting to",u.href),this._isRedirect=!0,Km(u,this._options),(u.protocol!==c.protocol&&u.protocol!=="https:"||u.host!==p&&!FF(u.host,p))&&Wm(this._headerFilter,this._options.headers),ua(r)){var d={headers:t.headers,statusCode:e},f={url:l,method:n,headers:i};r(this._options,d,f),this._sanitizeOptions(this._options)}this._performRequest()};function i0(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(l,u,d){return PF(l)?l=Km(l):la(l)?l=Km(nh(l)):(d=u,u=r0(l),l={protocol:r}),ua(u)&&(d=u,u=null),u=Object.assign({maxRedirects:e.maxRedirects,maxBodyLength:e.maxBodyLength},l,u),u.nativeProtocols=o,!la(u.host)&&!la(u.hostname)&&(u.hostname="::1"),eh.equal(u.protocol,r,"protocol mismatch"),o0("options",u),new Go(u,d)}a(c,"request");function p(l,u,d){var f=s.request(l,u,d);return f.end(),f}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(i0,"wrap");function n0(){}a(n0,"noop");function nh(t){var e;if(th)e=new Sl(t);else if(e=r0(Cl.parse(t)),!la(e.protocol))throw new Jm({input:t});return e}a(nh,"parseUrl");function AF(t,e){return th?new Sl(t,e):nh(Cl.resolve(e,t))}a(AF,"resolveUrl");function r0(t){if(/^\[/.test(t.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(t.hostname))throw new Jm({input:t.href||t});if(/^\[/.test(t.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(t.host))throw new Jm({input:t.href||t});return t}a(r0,"validateUrl");function Km(t,e){var o=e||{};for(var i of NF)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(Km,"spreadUrlObject");function Wm(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(Wm,"removeMatchingHeaders");function Nl(t,e,o){function i(r){ua(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(Nl,"createErrorType");function rh(t,e){for(var o of oh)t.removeListener(o,ih[o]);t.on("error",n0),t.destroy(e)}a(rh,"destroyRequest");function FF(t,e){eh(la(t)&&la(e));var o=t.length-e.length-1;return o>0&&t[o]==="."&&t.endsWith(e)}a(FF,"isSubdomain");function DF(t){return t instanceof Array}a(DF,"isArray");function la(t){return typeof t=="string"||t instanceof String}a(la,"isString");function ua(t){return typeof t=="function"}a(ua,"isFunction");function EF(t){return typeof t=="object"&&"length"in t}a(EF,"isBuffer");function PF(t){return Sl&&t instanceof Sl}a(PF,"isURL");function TF(t){return t.replace(/[\]\\/()*+?.$]/g,"\\$&")}a(TF,"escapeRegex");sh.exports=i0({http:xF,https:SF});sh.exports.wrap=i0});var Vg=R((O8,qC)=>{"use strict";qC.exports=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}});var qs=R(ka=>{"use strict";var _g,lE=[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];ka.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");ka.getSymbolTotalCodewords=a(function(e){return lE[e]},"getSymbolTotalCodewords");ka.getBCHDigit=function(t){let e=0;for(;t!==0;)e++,t>>>=1;return e};ka.setToSJISFunction=a(function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');_g=e},"setToSJISFunction");ka.isKanjiModeEnabled=function(){return typeof _g<"u"};ka.toSJIS=a(function(e){return _g(e)},"toSJIS")});var df=R(Vi=>{"use strict";Vi.L={bit:1};Vi.M={bit:0};Vi.Q={bit:3};Vi.H={bit:2};function uE(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return Vi.L;case"m":case"medium":return Vi.M;case"q":case"quartile":return Vi.Q;case"h":case"high":return Vi.H;default:throw new Error("Unknown EC Level: "+t)}}a(uE,"fromString");Vi.isValid=a(function(e){return e&&typeof e.bit<"u"&&e.bit>=0&&e.bit<4},"isValid");Vi.from=a(function(e,o){if(Vi.isValid(e))return e;try{return uE(e)}catch{return o}},"from")});var GC=R((P8,kC)=>{"use strict";function HC(){this.buffer=[],this.length=0}a(HC,"BitBuffer");HC.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")};kC.exports=HC});var ZC=R((z8,QC)=>{"use strict";function xu(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(xu,"BitMatrix");xu.prototype.set=function(t,e,o,i){let r=t*this.size+e;this.data[r]=o,i&&(this.reservedBit[r]=!0)};xu.prototype.get=function(t,e){return this.data[t*this.size+e]};xu.prototype.xor=function(t,e,o){this.data[t*this.size+e]^=o};xu.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};QC.exports=xu});var YC=R(ff=>{"use strict";var dE=qs().getSymbolSize;ff.getRowColCoords=a(function(e){if(e===1)return[];let o=Math.floor(e/7)+2,i=dE(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");ff.getPositions=a(function(e){let o=[],i=ff.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 XC=R(JC=>{"use strict";var fE=qs().getSymbolSize,WC=7;JC.getPositions=a(function(e){let o=fE(e);return[[0,0],[o-WC,0],[0,o-WC]]},"getPositions")});var KC=R(De=>{"use strict";De.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var Ga={N1:3,N2:3,N3:40,N4:10};De.isValid=a(function(e){return e!=null&&e!==""&&!isNaN(e)&&e>=0&&e<=7},"isValid");De.from=a(function(e){return De.isValid(e)?parseInt(e,10):void 0},"from");De.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 l=0;l<o;l++){let u=e.get(p,l);u===s?r++:(r>=5&&(i+=Ga.N1+(r-5)),s=u,r=1),u=e.get(l,p),u===c?n++:(n>=5&&(i+=Ga.N1+(n-5)),c=u,n=1)}r>=5&&(i+=Ga.N1+(r-5)),n>=5&&(i+=Ga.N1+(n-5))}return i},"getPenaltyN1");De.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*Ga.N2},"getPenaltyN2");De.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*Ga.N3},"getPenaltyN3");De.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)*Ga.N4},"getPenaltyN4");function mE(t,e,o){switch(t){case De.Patterns.PATTERN000:return(e+o)%2===0;case De.Patterns.PATTERN001:return e%2===0;case De.Patterns.PATTERN010:return o%3===0;case De.Patterns.PATTERN011:return(e+o)%3===0;case De.Patterns.PATTERN100:return(Math.floor(e/2)+Math.floor(o/3))%2===0;case De.Patterns.PATTERN101:return e*o%2+e*o%3===0;case De.Patterns.PATTERN110:return(e*o%2+e*o%3)%2===0;case De.Patterns.PATTERN111:return(e*o%3+(e+o)%2)%2===0;default:throw new Error("bad maskPattern:"+t)}}a(mE,"getMaskAt");De.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,mE(e,n,r))},"applyMask");De.getBestMask=a(function(e,o){let i=Object.keys(De.Patterns).length,r=0,n=1/0;for(let s=0;s<i;s++){o(s),De.applyMask(s,e);let c=De.getPenaltyN1(e)+De.getPenaltyN2(e)+De.getPenaltyN3(e)+De.getPenaltyN4(e);De.applyMask(s,e),c<n&&(n=c,r=s)}return r},"getBestMask")});var qg=R(Ug=>{"use strict";var Hs=df(),mf=[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],hf=[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];Ug.getBlocksCount=a(function(e,o){switch(o){case Hs.L:return mf[(e-1)*4+0];case Hs.M:return mf[(e-1)*4+1];case Hs.Q:return mf[(e-1)*4+2];case Hs.H:return mf[(e-1)*4+3];default:return}},"getBlocksCount");Ug.getTotalCodewordsCount=a(function(e,o){switch(o){case Hs.L:return hf[(e-1)*4+0];case Hs.M:return hf[(e-1)*4+1];case Hs.Q:return hf[(e-1)*4+2];case Hs.H:return hf[(e-1)*4+3];default:return}},"getTotalCodewordsCount")});var $C=R(vf=>{"use strict";var Su=new Uint8Array(512),gf=new Uint8Array(256);a((function(){let e=1;for(let o=0;o<255;o++)Su[o]=e,gf[e]=o,e<<=1,e&256&&(e^=285);for(let o=255;o<512;o++)Su[o]=Su[o-255]}),"initTables")();vf.log=a(function(e){if(e<1)throw new Error("log("+e+")");return gf[e]},"log");vf.exp=a(function(e){return Su[e]},"exp");vf.mul=a(function(e,o){return e===0||o===0?0:Su[gf[e]+gf[o]]},"mul")});var eN=R(Cu=>{"use strict";var Hg=$C();Cu.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]^=Hg.mul(e[r],o[n]);return i},"mul");Cu.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]^=Hg.mul(o[s],r);let n=0;for(;n<i.length&&i[n]===0;)n++;i=i.slice(n)}return i},"mod");Cu.generateECPolynomial=a(function(e){let o=new Uint8Array([1]);for(let i=0;i<e;i++)o=Cu.mul(o,new Uint8Array([1,Hg.exp(i)]));return o},"generateECPolynomial")});var iN=R((Y8,oN)=>{"use strict";var tN=eN();function kg(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}a(kg,"ReedSolomonEncoder");kg.prototype.initialize=a(function(e){this.degree=e,this.genPoly=tN.generateECPolynomial(this.degree)},"initialize");kg.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=tN.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");oN.exports=kg});var Gg=R(nN=>{"use strict";nN.isValid=a(function(e){return!isNaN(e)&&e>=1&&e<=40},"isValid")});var Qg=R(Gr=>{"use strict";var rN="[0-9]+",hE="[A-Z $%*+\\-./:]+",Nu="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";Nu=Nu.replace(/u/g,"\\u");var gE="(?:(?![A-Z0-9 $%*+\\-./:]|"+Nu+`)(?:.|[\r
|
|
14
|
+
]))+`;Gr.KANJI=new RegExp(Nu,"g");Gr.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");Gr.BYTE=new RegExp(gE,"g");Gr.NUMERIC=new RegExp(rN,"g");Gr.ALPHANUMERIC=new RegExp(hE,"g");var vE=new RegExp("^"+Nu+"$"),yE=new RegExp("^"+rN+"$"),bE=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Gr.testKanji=a(function(e){return vE.test(e)},"testKanji");Gr.testNumeric=a(function(e){return yE.test(e)},"testNumeric");Gr.testAlphanumeric=a(function(e){return bE.test(e)},"testAlphanumeric")});var ks=R(xt=>{"use strict";var xE=Gg(),Zg=Qg();xt.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]};xt.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]};xt.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]};xt.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]};xt.MIXED={bit:-1};xt.getCharCountIndicator=a(function(e,o){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!xE.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");xt.getBestModeForData=a(function(e){return Zg.testNumeric(e)?xt.NUMERIC:Zg.testAlphanumeric(e)?xt.ALPHANUMERIC:Zg.testKanji(e)?xt.KANJI:xt.BYTE},"getBestModeForData");xt.toString=a(function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},"toString");xt.isValid=a(function(e){return e&&e.bit&&e.ccBits},"isValid");function SE(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return xt.NUMERIC;case"alphanumeric":return xt.ALPHANUMERIC;case"kanji":return xt.KANJI;case"byte":return xt.BYTE;default:throw new Error("Unknown mode: "+t)}}a(SE,"fromString");xt.from=a(function(e,o){if(xt.isValid(e))return e;try{return SE(e)}catch{return o}},"from")});var lN=R(Qa=>{"use strict";var yf=qs(),CE=qg(),sN=df(),Gs=ks(),Yg=Gg(),cN=7973,aN=yf.getBCHDigit(cN);function NE(t,e,o){for(let i=1;i<=40;i++)if(e<=Qa.getCapacity(i,o,t))return i}a(NE,"getBestVersionForDataLength");function pN(t,e){return Gs.getCharCountIndicator(t,e)+4}a(pN,"getReservedBitsCount");function RE(t,e){let o=0;return t.forEach(function(i){let r=pN(i.mode,e);o+=r+i.getBitsLength()}),o}a(RE,"getTotalBitsFromDataArray");function wE(t,e){for(let o=1;o<=40;o++)if(RE(t,o)<=Qa.getCapacity(o,e,Gs.MIXED))return o}a(wE,"getBestVersionForMixedData");Qa.from=a(function(e,o){return Yg.isValid(e)?parseInt(e,10):o},"from");Qa.getCapacity=a(function(e,o,i){if(!Yg.isValid(e))throw new Error("Invalid QR Code version");typeof i>"u"&&(i=Gs.BYTE);let r=yf.getSymbolTotalCodewords(e),n=CE.getTotalCodewordsCount(e,o),s=(r-n)*8;if(i===Gs.MIXED)return s;let c=s-pN(i,e);switch(i){case Gs.NUMERIC:return Math.floor(c/10*3);case Gs.ALPHANUMERIC:return Math.floor(c/11*2);case Gs.KANJI:return Math.floor(c/13);case Gs.BYTE:default:return Math.floor(c/8)}},"getCapacity");Qa.getBestVersionForData=a(function(e,o){let i,r=sN.from(o,sN.M);if(Array.isArray(e)){if(e.length>1)return wE(e,r);if(e.length===0)return 1;i=e[0]}else i=e;return NE(i.mode,i.getLength(),r)},"getBestVersionForData");Qa.getEncodedBits=a(function(e){if(!Yg.isValid(e)||e<7)throw new Error("Invalid QR Code version");let o=e<<12;for(;yf.getBCHDigit(o)-aN>=0;)o^=cN<<yf.getBCHDigit(o)-aN;return e<<12|o},"getEncodedBits")});var mN=R(fN=>{"use strict";var Wg=qs(),dN=1335,IE=21522,uN=Wg.getBCHDigit(dN);fN.getEncodedBits=a(function(e,o){let i=e.bit<<3|o,r=i<<10;for(;Wg.getBCHDigit(r)-uN>=0;)r^=dN<<Wg.getBCHDigit(r)-uN;return(i<<10|r)^IE},"getEncodedBits")});var gN=R((s5,hN)=>{"use strict";var OE=ks();function Sp(t){this.mode=OE.NUMERIC,this.data=t.toString()}a(Sp,"NumericData");Sp.getBitsLength=a(function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},"getBitsLength");Sp.prototype.getLength=a(function(){return this.data.length},"getLength");Sp.prototype.getBitsLength=a(function(){return Sp.getBitsLength(this.data.length)},"getBitsLength");Sp.prototype.write=a(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");hN.exports=Sp});var yN=R((c5,vN)=>{"use strict";var AE=ks(),Jg=["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 Cp(t){this.mode=AE.ALPHANUMERIC,this.data=t}a(Cp,"AlphanumericData");Cp.getBitsLength=a(function(e){return 11*Math.floor(e/2)+6*(e%2)},"getBitsLength");Cp.prototype.getLength=a(function(){return this.data.length},"getLength");Cp.prototype.getBitsLength=a(function(){return Cp.getBitsLength(this.data.length)},"getBitsLength");Cp.prototype.write=a(function(e){let o;for(o=0;o+2<=this.data.length;o+=2){let i=Jg.indexOf(this.data[o])*45;i+=Jg.indexOf(this.data[o+1]),e.put(i,11)}this.data.length%2&&e.put(Jg.indexOf(this.data[o]),6)},"write");vN.exports=Cp});var xN=R((l5,bN)=>{"use strict";var FE=ks();function Np(t){this.mode=FE.BYTE,typeof t=="string"?this.data=new TextEncoder().encode(t):this.data=new Uint8Array(t)}a(Np,"ByteData");Np.getBitsLength=a(function(e){return e*8},"getBitsLength");Np.prototype.getLength=a(function(){return this.data.length},"getLength");Np.prototype.getBitsLength=a(function(){return Np.getBitsLength(this.data.length)},"getBitsLength");Np.prototype.write=function(t){for(let e=0,o=this.data.length;e<o;e++)t.put(this.data[e],8)};bN.exports=Np});var CN=R((d5,SN)=>{"use strict";var DE=ks(),EE=qs();function Rp(t){this.mode=DE.KANJI,this.data=t}a(Rp,"KanjiData");Rp.getBitsLength=a(function(e){return e*13},"getBitsLength");Rp.prototype.getLength=a(function(){return this.data.length},"getLength");Rp.prototype.getBitsLength=a(function(){return Rp.getBitsLength(this.data.length)},"getBitsLength");Rp.prototype.write=function(t){let e;for(e=0;e<this.data.length;e++){let o=EE.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)}};SN.exports=Rp});var NN=R((m5,Xg)=>{"use strict";var Ru={single_source_shortest_paths:a(function(t,e,o){var i={},r={};r[e]=0;var n=Ru.PriorityQueue.make();n.push(e,0);for(var s,c,p,l,u,d,f,y,S;!n.empty();){s=n.pop(),c=s.value,l=s.cost,u=t[c]||{};for(p in u)u.hasOwnProperty(p)&&(d=u[p],f=l+d,y=r[p],S=typeof r[p]>"u",(S||y>f)&&(r[p]=f,n.push(p,f),i[p]=c))}if(typeof o<"u"&&typeof r[o]>"u"){var C=["Could not find a path from ",e," to ",o,"."].join("");throw new Error(C)}return i},"single_source_shortest_paths"),extract_shortest_path_from_predecessor_list:a(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:a(function(t,e,o){var i=Ru.single_source_shortest_paths(t,e,o);return Ru.extract_shortest_path_from_predecessor_list(i,o)},"find_path"),PriorityQueue:{make:a(function(t){var e=Ru.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:a(function(t,e){return t.cost-e.cost},"default_sorter"),push:a(function(t,e){var o={value:t,cost:e};this.queue.push(o),this.queue.sort(this.sorter)},"push"),pop:a(function(){return this.queue.shift()},"pop"),empty:a(function(){return this.queue.length===0},"empty")}};typeof Xg<"u"&&(Xg.exports=Ru)});var EN=R(wp=>{"use strict";var de=ks(),IN=gN(),ON=yN(),AN=xN(),FN=CN(),wu=Qg(),bf=qs(),PE=NN();function RN(t){return unescape(encodeURIComponent(t)).length}a(RN,"getStringByteLength");function Iu(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}a(Iu,"getSegments");function DN(t){let e=Iu(wu.NUMERIC,de.NUMERIC,t),o=Iu(wu.ALPHANUMERIC,de.ALPHANUMERIC,t),i,r;return bf.isKanjiModeEnabled()?(i=Iu(wu.BYTE,de.BYTE,t),r=Iu(wu.KANJI,de.KANJI,t)):(i=Iu(wu.BYTE_KANJI,de.BYTE,t),r=[]),e.concat(o,i,r).sort(function(s,c){return s.index-c.index}).map(function(s){return{data:s.data,mode:s.mode,length:s.length}})}a(DN,"getSegmentsFromString");function Kg(t,e){switch(e){case de.NUMERIC:return IN.getBitsLength(t);case de.ALPHANUMERIC:return ON.getBitsLength(t);case de.KANJI:return FN.getBitsLength(t);case de.BYTE:return AN.getBitsLength(t)}}a(Kg,"getSegmentBitsLength");function TE(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)},[])}a(TE,"mergeSegments");function zE(t){let e=[];for(let o=0;o<t.length;o++){let i=t[o];switch(i.mode){case de.NUMERIC:e.push([i,{data:i.data,mode:de.ALPHANUMERIC,length:i.length},{data:i.data,mode:de.BYTE,length:i.length}]);break;case de.ALPHANUMERIC:e.push([i,{data:i.data,mode:de.BYTE,length:i.length}]);break;case de.KANJI:e.push([i,{data:i.data,mode:de.BYTE,length:RN(i.data)}]);break;case de.BYTE:e.push([{data:i.data,mode:de.BYTE,length:RN(i.data)}])}}return e}a(zE,"buildNodes");function jE(t,e){let o={},i={start:{}},r=["start"];for(let n=0;n<t.length;n++){let s=t[n],c=[];for(let p=0;p<s.length;p++){let l=s[p],u=""+n+p;c.push(u),o[u]={node:l,lastCount:0},i[u]={};for(let d=0;d<r.length;d++){let f=r[d];o[f]&&o[f].node.mode===l.mode?(i[f][u]=Kg(o[f].lastCount+l.length,l.mode)-Kg(o[f].lastCount,l.mode),o[f].lastCount+=l.length):(o[f]&&(o[f].lastCount=l.length),i[f][u]=Kg(l.length,l.mode)+4+de.getCharCountIndicator(l.mode,e))}}r=c}for(let n=0;n<r.length;n++)i[r[n]].end=0;return{map:i,table:o}}a(jE,"buildGraph");function wN(t,e){let o,i=de.getBestModeForData(t);if(o=de.from(e,i),o!==de.BYTE&&o.bit<i.bit)throw new Error('"'+t+'" cannot be encoded with mode '+de.toString(o)+`.
|
|
16
|
+
Suggested mode is: `+de.toString(i));switch(o===de.KANJI&&!bf.isKanjiModeEnabled()&&(o=de.BYTE),o){case de.NUMERIC:return new IN(t);case de.ALPHANUMERIC:return new ON(t);case de.KANJI:return new FN(t);case de.BYTE:return new AN(t)}}a(wN,"buildSingleSegment");wp.fromArray=a(function(e){return e.reduce(function(o,i){return typeof i=="string"?o.push(wN(i,null)):i.data&&o.push(wN(i.data,i.mode)),o},[])},"fromArray");wp.fromString=a(function(e,o){let i=DN(e,bf.isKanjiModeEnabled()),r=zE(i),n=jE(r,o),s=PE.find_path(n.map,"start","end"),c=[];for(let p=1;p<s.length-1;p++)c.push(n.table[s[p]].node);return wp.fromArray(TE(c))},"fromString");wp.rawSplit=a(function(e){return wp.fromArray(DN(e,bf.isKanjiModeEnabled()))},"rawSplit")});var nv=R(PN=>{"use strict";var Sf=qs(),$g=df(),BE=GC(),ME=ZC(),LE=YC(),VE=XC(),ov=KC(),iv=qg(),_E=iN(),xf=lN(),UE=mN(),qE=ks(),ev=EN();function HE(t,e){let o=t.size,i=VE.getPositions(e);for(let r=0;r<i.length;r++){let n=i[r][0],s=i[r][1];for(let c=-1;c<=7;c++)if(!(n+c<=-1||o<=n+c))for(let p=-1;p<=7;p++)s+p<=-1||o<=s+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,s+p,!0,!0):t.set(n+c,s+p,!1,!0))}}a(HE,"setupFinderPattern");function kE(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)}}a(kE,"setupTimingPattern");function GE(t,e){let o=LE.getPositions(e);for(let i=0;i<o.length;i++){let r=o[i][0],n=o[i][1];for(let s=-2;s<=2;s++)for(let c=-2;c<=2;c++)s===-2||s===2||c===-2||c===2||s===0&&c===0?t.set(r+s,n+c,!0,!0):t.set(r+s,n+c,!1,!0)}}a(GE,"setupAlignmentPattern");function QE(t,e){let o=t.size,i=xf.getEncodedBits(e),r,n,s;for(let c=0;c<18;c++)r=Math.floor(c/3),n=c%3+o-8-3,s=(i>>c&1)===1,t.set(r,n,s,!0),t.set(n,r,s,!0)}a(QE,"setupVersionInfo");function tv(t,e,o){let i=t.size,r=UE.getEncodedBits(e,o),n,s;for(n=0;n<15;n++)s=(r>>n&1)===1,n<6?t.set(n,8,s,!0):n<8?t.set(n+1,8,s,!0):t.set(i-15+n,8,s,!0),n<8?t.set(8,i-n-1,s,!0):n<9?t.set(8,15-n-1+1,s,!0):t.set(8,15-n-1,s,!0);t.set(i-8,8,1,!0)}a(tv,"setupFormatInfo");function ZE(t,e){let o=t.size,i=-1,r=o-1,n=7,s=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 l=!1;s<e.length&&(l=(e[s]>>>n&1)===1),t.set(r,c-p,l),n--,n===-1&&(s++,n=7)}if(r+=i,r<0||o<=r){r-=i,i=-i;break}}}a(ZE,"setupData");function YE(t,e,o){let i=new BE;o.forEach(function(p){i.put(p.mode.bit,4),i.put(p.getLength(),qE.getCharCountIndicator(p.mode,t)),p.write(i)});let r=Sf.getSymbolTotalCodewords(t),n=iv.getTotalCodewordsCount(t,e),s=(r-n)*8;for(i.getLengthInBits()+4<=s&&i.put(0,4);i.getLengthInBits()%8!==0;)i.putBit(0);let c=(s-i.getLengthInBits())/8;for(let p=0;p<c;p++)i.put(p%2?17:236,8);return WE(i,t,e)}a(YE,"createData");function WE(t,e,o){let i=Sf.getSymbolTotalCodewords(e),r=iv.getTotalCodewordsCount(e,o),n=i-r,s=iv.getBlocksCount(e,o),c=i%s,p=s-c,l=Math.floor(i/s),u=Math.floor(n/s),d=u+1,f=l-u,y=new _E(f),S=0,C=new Array(s),I=new Array(s),b=0,w=new Uint8Array(t.buffer);for(let W=0;W<s;W++){let St=W<p?u:d;C[W]=w.slice(S,S+St),I[W]=y.encode(C[W]),S+=St,b=Math.max(b,St)}let F=new Uint8Array(i),O=0,q,Z;for(q=0;q<b;q++)for(Z=0;Z<s;Z++)q<C[Z].length&&(F[O++]=C[Z][q]);for(q=0;q<f;q++)for(Z=0;Z<s;Z++)F[O++]=I[Z][q];return F}a(WE,"createCodewords");function JE(t,e,o,i){let r;if(Array.isArray(t))r=ev.fromArray(t);else if(typeof t=="string"){let l=e;if(!l){let u=ev.rawSplit(t);l=xf.getBestVersionForData(u,o)}r=ev.fromString(t,l||40)}else throw new Error("Invalid data");let n=xf.getBestVersionForData(r,o);if(!n)throw new Error("The amount of data is too big to be stored in a QR Code");if(!e)e=n;else if(e<n)throw new Error(`
|
|
17
17
|
The chosen QR Code version cannot contain this amount of data.
|
|
18
18
|
Minimum version required to store current data is: `+n+`.
|
|
19
|
-
`);let a=zE(e,o,r),c=df.getSymbolSize(e),p=new RE(c);return FE(p,e),DE(p),EE(p,e),kv(p,o,0),e>=7&&PE(p,e),TE(p,a),isNaN(i)&&(i=Gv.getBestMask(p,kv.bind(null,p,o))),Gv.applyMask(i,p),kv(p,o,i),{modules:p,version:e,errorCorrectionLevel:o,maskPattern:i,segments:r}}s(BE,"createSymbol");yR.create=s(function(e,o){if(typeof e>"u"||e==="")throw new Error("No input text");let i=qv.M,r,n;return typeof o<"u"&&(i=qv.from(o.errorCorrectionLevel,qv.M),r=uf.from(o.version),n=Gv.from(o.maskPattern),o.toSJISFunc&&df.setToSJISFunction(o.toSJISFunc)),BE(e,r,i,n)},"create")});var Yv=N((s5,xR)=>{"use strict";var ME=require("util"),bR=require("stream"),Cn=xR.exports=function(){bR.call(this),this._buffers=[],this._buffered=0,this._reads=[],this._paused=!1,this._encoding="utf8",this.writable=!0};ME.inherits(Cn,bR);Cn.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))};Cn.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};Cn.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()))};Cn.prototype.destroySoon=Cn.prototype.end;Cn.prototype._end=function(){this._reads.length>0&&this.emit("error",new Error("Unexpected end of input")),this.destroy()};Cn.prototype.destroy=function(){this._buffers&&(this.writable=!1,this._reads=null,this._buffers=null,this.emit("close"))};Cn.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))};Cn.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)};Cn.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 Jv=N(Wv=>{"use strict";var Ma=[{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]}];Wv.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<Ma.length;c++){let p=Ma[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};Wv.getInterlaceIterator=function(t){return function(e,o,i){let r=e%Ma[i].x.length,n=(e-r)/Ma[i].x.length*8+Ma[i].x[r],a=o%Ma[i].y.length,c=(o-a)/Ma[i].y.length*8+Ma[i].y[a];return n*4+c*t*4}}});var Xv=N((p5,SR)=>{"use strict";SR.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 Kv=N((u5,RR)=>{"use strict";var LE=Jv(),VE=Xv();function CR(t,e,o){let i=t*e;return o!==8&&(i=Math.ceil(i/(8/o))),i}s(CR,"getByteWidth");var Cp=RR.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=LE.getImagePasses(o,i);for(let p=0;p<c.length;p++)this._images.push({byteWidth:CR(c[p].width,n,a),height:c[p].height,lineIndex:0})}else this._images.push({byteWidth:CR(o,n,a),height:i,lineIndex:0});a===8?this._xComparison=n:a===16?this._xComparison=n*2:this._xComparison=1};Cp.prototype.start=function(){this.read(this._images[this._imageIndex].byteWidth+1,this._reverseFilterLine.bind(this))};Cp.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}};Cp.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}};Cp.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}};Cp.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=VE(u,p,l);e[a]=c+d}};Cp.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 OR=N((f5,wR)=>{"use strict";var _E=require("util"),NR=Yv(),UE=Kv(),qE=wR.exports=function(t){NR.call(this);let e=[],o=this;this._filter=new UE(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()};_E.inherits(qE,NR)});var Rp=N((h5,IR)=>{"use strict";IR.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 tg=N((v5,AR)=>{"use strict";var $v=[];(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;$v[t]=e}})();var eg=AR.exports=function(){this._crc=-1};eg.prototype.write=function(t){for(let e=0;e<t.length;e++)this._crc=$v[(this._crc^t[e])&255]^this._crc>>>8;return!0};eg.prototype.crc32=function(){return this._crc^-1};eg.crc32=function(t){let e=-1;for(let o=0;o<t.length;o++)e=$v[(e^t[o])&255]^e>>>8;return e^-1}});var og=N((g5,FR)=>{"use strict";var It=Rp(),HE=tg(),qt=FR.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[It.TYPE_IHDR]=this._handleIHDR.bind(this),this._chunks[It.TYPE_IEND]=this._handleIEND.bind(this),this._chunks[It.TYPE_IDAT]=this._handleIDAT.bind(this),this._chunks[It.TYPE_PLTE]=this._handlePLTE.bind(this),this._chunks[It.TYPE_tRNS]=this._handleTRNS.bind(this),this._chunks[It.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(){}};qt.prototype.start=function(){this.read(It.PNG_SIGNATURE.length,this._parseSignature.bind(this))};qt.prototype._parseSignature=function(t){let e=It.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))};qt.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!==It.TYPE_IHDR){this.error(new Error("Expected IHDR on beggining"));return}if(this._crc=new HE,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))};qt.prototype._skipChunk=function(){this.read(8,this._parseChunkBegin.bind(this))};qt.prototype._handleChunkEnd=function(){this.read(4,this._parseChunkEnd.bind(this))};qt.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))};qt.prototype._handleIHDR=function(t){this.read(t,this._parseIHDR.bind(this))};qt.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 It.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=It.COLORTYPE_TO_BPP_MAP[this._colorType];this._hasIHDR=!0,this.metadata({width:e,height:o,depth:i,interlace:!!c,palette:!!(r&It.COLORTYPE_PALETTE),color:!!(r&It.COLORTYPE_COLOR),alpha:!!(r&It.COLORTYPE_ALPHA),bpp:p,colorType:r}),this._handleChunkEnd()};qt.prototype._handlePLTE=function(t){this.read(t,this._parsePLTE.bind(this))};qt.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()};qt.prototype._handleTRNS=function(t){this.simpleTransparency(),this.read(t,this._parseTRNS.bind(this))};qt.prototype._parseTRNS=function(t){if(this._crc.write(t),this._colorType===It.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===It.COLORTYPE_GRAYSCALE&&this.transColor([t.readUInt16BE(0)]),this._colorType===It.COLORTYPE_COLOR&&this.transColor([t.readUInt16BE(0),t.readUInt16BE(2),t.readUInt16BE(4)]),this._handleChunkEnd()};qt.prototype._handleGAMA=function(t){this.read(t,this._parseGAMA.bind(this))};qt.prototype._parseGAMA=function(t){this._crc.write(t),this.gamma(t.readUInt32BE(0)/It.GAMMA_DIVISION),this._handleChunkEnd()};qt.prototype._handleIDAT=function(t){this._emittedHeadersFinished||(this._emittedHeadersFinished=!0,this.headersFinished()),this.read(-t,this._parseIDAT.bind(this,t))};qt.prototype._parseIDAT=function(t,e){if(this._crc.write(e),this._colorType===It.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()};qt.prototype._handleIEND=function(t){this.read(t,this._parseIEND.bind(this))};qt.prototype._parseIEND=function(t){this._crc.write(t),this._hasIEND=!0,this._handleChunkEnd(),this.finished&&this.finished()}});var ig=N(ER=>{"use strict";var DR=Jv(),kE=[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]}],GE=[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 QE(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,h,y;switch(e){default:throw new Error("unrecognised depth");case 16:h=t[i],i++,o.push((n<<8)+h);break;case 4:h=n&15,y=n>>4,o.push(y,h);break;case 2:l=n&3,d=n>>2&3,h=n>>4&3,y=n>>6&3,o.push(y,h,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,h=n>>6&1,y=n>>7&1,o.push(y,h,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(QE,"bitRetriever");function ZE(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);kE[i](e,r,d,n),n+=i}return n}s(ZE,"mapImage8Bit");function YE(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),h=o(l,u,p);GE[i](e,d,h,n)}r.resetAfterLine()}}s(YE,"mapImageCustomBit");ER.dataToBitMap=function(t,e){let o=e.width,i=e.height,r=e.depth,n=e.bpp,a=e.interlace,c;r!==8&&(c=QE(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,h;if(a)d=DR.getImagePasses(o,i),h=DR.getInterlaceIterator(o,i);else{let y=0;h=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=ZE(d[y],p,h,n,t,l):YE(d[y],p,h,n,c,u);if(r===8){if(l!==t.length)throw new Error("extra data found")}else c.end();return p}});var ng=N((x5,PR)=>{"use strict";function WE(t,e,o,i,r){let n=0;for(let a=0;a<i;a++)for(let c=0;c<o;c++){let p=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(WE,"dePalette");function JE(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(JE,"replaceTransparentColor");function XE(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(XE,"scaleDepth");PR.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?WE(t,p,i,r,c):(a&&JE(t,p,i,r,a),o!==8&&(o===16&&(p=Buffer.alloc(i*r*4)),XE(t,p,i,r,o))),p}});var jR=N((C5,zR)=>{"use strict";var KE=require("util"),rg=require("zlib"),TR=Yv(),$E=OR(),eP=og(),tP=ig(),oP=ng(),$n=zR.exports=function(t){TR.call(this),this._parser=new eP(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()};KE.inherits($n,TR);$n.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};$n.prototype._inflateData=function(t){if(!this._inflate)if(this._bitmapInfo.interlace)this._inflate=rg.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,rg.Z_MIN_CHUNK);this._inflate=rg.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)};$n.prototype._handleMetaData=function(t){this._metaData=t,this._bitmapInfo=Object.create(t),this._filter=new $E(this._bitmapInfo)};$n.prototype._handleTransColor=function(t){this._bitmapInfo.transColor=t};$n.prototype._handlePalette=function(t){this._bitmapInfo.palette=t};$n.prototype._simpleTransparency=function(){this._metaData.alpha=!0};$n.prototype._headersFinished=function(){this.emit("metadata",this._metaData)};$n.prototype._finished=function(){this.errord||(this._inflate?this._inflate.end():this.emit("error","No Inflate block"))};$n.prototype._complete=function(t){if(this.errord)return;let e;try{let o=tP.dataToBitMap(t,this._bitmapInfo);e=oP(o,this._bitmapInfo),o=null}catch(o){this._handleError(o);return}this.emit("parsed",e)}});var MR=N((R5,BR)=>{"use strict";var Vi=Rp();BR.exports=function(t,e,o,i){let r=[Vi.COLORTYPE_COLOR_ALPHA,Vi.COLORTYPE_ALPHA].indexOf(i.colorType)!==-1;if(i.colorType===i.inputColorType){let S=(function(){let C=new ArrayBuffer(2);return new DataView(C).setInt16(0,256,!0),new Int16Array(C)[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=Vi.COLORTYPE_TO_BPP_MAP[i.inputColorType];c===4&&!i.inputHasAlpha&&(c=3);let p=Vi.COLORTYPE_TO_BPP_MAP[i.colorType];i.bitDepth===16&&(a=65535,p*=2);let u=Buffer.alloc(e*o*p),l=0,d=0,h=i.bgColor||{};h.red===void 0&&(h.red=a),h.green===void 0&&(h.green=a),h.blue===void 0&&(h.blue=a);function y(){let S,C,O,b=a;switch(i.inputColorType){case Vi.COLORTYPE_COLOR_ALPHA:b=n[l+3],S=n[l],C=n[l+1],O=n[l+2];break;case Vi.COLORTYPE_COLOR:S=n[l],C=n[l+1],O=n[l+2];break;case Vi.COLORTYPE_ALPHA:b=n[l+1],S=n[l],C=S,O=S;break;case Vi.COLORTYPE_GRAYSCALE:S=n[l],C=S,O=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)*h.red+b*S),0),a),C=Math.min(Math.max(Math.round((1-b)*h.green+b*C),0),a),O=Math.min(Math.max(Math.round((1-b)*h.blue+b*O),0),a))),{red:S,green:C,blue:O,alpha:b}}s(y,"getRGBA");for(let S=0;S<o;S++)for(let C=0;C<e;C++){let O=y(n,l);switch(i.colorType){case Vi.COLORTYPE_COLOR_ALPHA:case Vi.COLORTYPE_COLOR:i.bitDepth===8?(u[d]=O.red,u[d+1]=O.green,u[d+2]=O.blue,r&&(u[d+3]=O.alpha)):(u.writeUInt16BE(O.red,d),u.writeUInt16BE(O.green,d+2),u.writeUInt16BE(O.blue,d+4),r&&u.writeUInt16BE(O.alpha,d+6));break;case Vi.COLORTYPE_ALPHA:case Vi.COLORTYPE_GRAYSCALE:{let b=(O.red+O.green+O.blue)/3;i.bitDepth===8?(u[d]=b,r&&(u[d+1]=O.alpha)):(u.writeUInt16BE(b,d),r&&u.writeUInt16BE(O.alpha,d+2));break}default:throw new Error("unrecognised color Type "+i.colorType)}l+=c,d+=p}return u}});var _R=N((w5,VR)=>{"use strict";var LR=Xv();function iP(t,e,o,i,r){for(let n=0;n<o;n++)i[r+n]=t[e+n]}s(iP,"filterNone");function nP(t,e,o){let i=0,r=e+o;for(let n=e;n<r;n++)i+=Math.abs(t[n]);return i}s(nP,"filterSumNone");function rP(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(rP,"filterSub");function aP(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(aP,"filterSumSub");function sP(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(sP,"filterUp");function cP(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(cP,"filterSumUp");function pP(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(pP,"filterAvg");function lP(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(lP,"filterSumAvg");function uP(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]-LR(c,p,u);i[r+a]=l}}s(uP,"filterPaeth");function dP(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]-LR(a,c,p);r+=Math.abs(u)}return r}s(dP,"filterSumPaeth");var fP={0:iP,1:rP,2:sP,3:pP,4:uP},mP={0:nP,1:aP,2:cP,3:lP,4:dP};VR.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 h=1/0;for(let y=0;y<n.length;y++){let S=mP[n[y]](t,p,a,r);S<h&&(l=n[y],h=S)}}u[c]=l,c++,fP[l](t,p,a,u,c,r),c+=a,p+=a}return u}});var ag=N((I5,UR)=>{"use strict";var No=Rp(),hP=tg(),vP=MR(),gP=_R(),yP=require("zlib"),La=UR.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||yP.createDeflate,t.bitDepth=t.bitDepth||8,t.colorType=typeof t.colorType=="number"?t.colorType:No.COLORTYPE_COLOR_ALPHA,t.inputColorType=typeof t.inputColorType=="number"?t.inputColorType:No.COLORTYPE_COLOR_ALPHA,[No.COLORTYPE_GRAYSCALE,No.COLORTYPE_COLOR,No.COLORTYPE_COLOR_ALPHA,No.COLORTYPE_ALPHA].indexOf(t.colorType)===-1)throw new Error("option color type:"+t.colorType+" is not supported at present");if([No.COLORTYPE_GRAYSCALE,No.COLORTYPE_COLOR,No.COLORTYPE_COLOR_ALPHA,No.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")};La.prototype.getDeflateOptions=function(){return{chunkSize:this._options.deflateChunkSize,level:this._options.deflateLevel,strategy:this._options.deflateStrategy}};La.prototype.createDeflate=function(){return this._options.deflateFactory(this.getDeflateOptions())};La.prototype.filterData=function(t,e,o){let i=vP(t,e,o,this._options),r=No.COLORTYPE_TO_BPP_MAP[this._options.colorType];return gP(i,e,o,this._options,r)};La.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(hP.crc32(i.slice(4,i.length-4)),i.length-4),i};La.prototype.packGAMA=function(t){let e=Buffer.alloc(4);return e.writeUInt32BE(Math.floor(t*No.GAMMA_DIVISION),0),this._packChunk(No.TYPE_gAMA,e)};La.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(No.TYPE_IHDR,o)};La.prototype.packIDAT=function(t){return this._packChunk(No.TYPE_IDAT,t)};La.prototype.packIEND=function(){return this._packChunk(No.TYPE_IEND,null)}});var GR=N((A5,kR)=>{"use strict";var bP=require("util"),qR=require("stream"),xP=Rp(),SP=ag(),HR=kR.exports=function(t){qR.call(this);let e=t||{};this._packer=new SP(e),this._deflate=this._packer.createDeflate(),this.readable=!0};bP.inherits(HR,qR);HR.prototype.pack=function(t,e,o,i){this.emit("data",Buffer.from(xP.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 XR=N((gu,JR)=>{"use strict";var QR=require("assert").ok,Np=require("zlib"),CP=require("util"),ZR=require("buffer").kMaxLength;function Ls(t){if(!(this instanceof Ls))return new Ls(t);t&&t.chunkSize<Np.Z_MIN_CHUNK&&(t.chunkSize=Np.Z_MIN_CHUNK),Np.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(Ls,"Inflate");function RP(t){return new Ls(t)}s(RP,"createInflate");function YR(t,e){e&&process.nextTick(e),t._handle&&(t._handle.close(),t._handle=null)}s(YR,"_close");Ls.prototype._processChunk=function(t,e,o){if(typeof o=="function")return Np.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,C){if(i._hadError)return;let O=n-C;if(QR(O>=0,"have should not go down"),O>0){let b=i._buffer.slice(i._offset,i._offset+O);if(i._offset+=O,b.length>a&&(b=b.slice(0,a)),p.push(b),u+=b.length,a-=b.length,a===0)return!1}return(C===0||i._offset>=i._chunkSize)&&(n=i._chunkSize,i._offset=0,i._buffer=Buffer.allocUnsafe(i._chunkSize)),C===0?(c+=r-S,r=S,!0):!1}s(d,"handleChunk"),QR(this._handle,"zlib binding closed");let h;do h=this._handle.writeSync(e,t,c,r,this._buffer,this._offset,n),h=h||this._writeState;while(!this._hadError&&d(h[0],h[1]));if(this._hadError)throw l;if(u>=ZR)throw YR(this),new RangeError("Cannot create final Buffer. It would be larger than 0x"+ZR.toString(16)+" bytes");let y=Buffer.concat(p,u);return YR(this),y};CP.inherits(Ls,Np.Inflate);function NP(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=Np.Z_FINISH),t._processChunk(e,o)}s(NP,"zlibBufferSync");function WR(t,e){return NP(new Ls(e),t)}s(WR,"inflateSync");JR.exports=gu=WR;gu.Inflate=Ls;gu.createInflate=RP;gu.inflateSync=WR});var sg=N((D5,$R)=>{"use strict";var KR=$R.exports=function(t){this._buffer=t,this._reads=[]};KR.prototype.read=function(t,e){this._reads.push({length:Math.abs(t),allowLess:t<0,func:e})};KR.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 tN=N(eN=>{"use strict";var wP=sg(),OP=Kv();eN.process=function(t,e){let o=[],i=new wP(t);return new OP(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 rN=N((T5,nN)=>{"use strict";var oN=!0,iN=require("zlib"),IP=XR();iN.deflateSync||(oN=!1);var AP=sg(),FP=tN(),DP=og(),EP=ig(),PP=ng();nN.exports=function(t,e){if(!oN)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(I){o=I}s(i,"handleError");let r;function n(I){r=I}s(n,"handleMetaData");function a(I){r.transColor=I}s(a,"handleTransColor");function c(I){r.palette=I}s(c,"handlePalette");function p(){r.alpha=!0}s(p,"handleSimpleTransparency");let u;function l(I){u=I}s(l,"handleGamma");let d=[];function h(I){d.push(I)}s(h,"handleInflateData");let y=new AP(t);if(new DP(e,{read:y.read.bind(y),error:i,metadata:n,gamma:l,palette:c,transColor:a,inflateData:h,simpleTransparency:p}).start(),y.process(),o)throw o;let C=Buffer.concat(d);d.length=0;let O;if(r.interlace)O=iN.inflateSync(C);else{let q=((r.width*r.bpp*r.depth+7>>3)+1)*r.height;O=IP(C,{chunkSize:q,maxLength:q})}if(C=null,!O||!O.length)throw new Error("bad png - invalid inflate data response");let b=FP.process(O,r);C=null;let w=EP.dataToBitMap(b,r);b=null;let F=PP(w,r);return r.data=F,r.gamma=u||0,r}});var pN=N((j5,cN)=>{"use strict";var aN=!0,sN=require("zlib");sN.deflateSync||(aN=!1);var TP=Rp(),zP=ag();cN.exports=function(t,e){if(!aN)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 zP(o),r=[];r.push(Buffer.from(TP.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=sN.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 lN=N(cg=>{"use strict";var jP=rN(),BP=pN();cg.read=function(t,e){return jP(t,e||{})};cg.write=function(t,e){return BP(t,e)}});var fN=N(dN=>{"use strict";var MP=require("util"),uN=require("stream"),LP=jR(),VP=GR(),_P=lN(),Mo=dN.PNG=function(t){uN.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 LP(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 VP(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"))};MP.inherits(Mo,uN);Mo.sync=_P;Mo.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)};Mo.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};Mo.prototype.write=function(t){return this._parser.write(t),!0};Mo.prototype.end=function(t){this._parser.end(t)};Mo.prototype._metadata=function(t){this.width=t.width,this.height=t.height,this.emit("metadata",t)};Mo.prototype._gamma=function(t){this.gamma=t};Mo.prototype._handleClose=function(){!this._parser.writable&&!this._packer.readable&&this.emit("close")};Mo.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)};Mo.prototype.bitblt=function(t,e,o,i,r,n,a){return Mo.bitblt(this,t,e,o,i,r,n,a),this};Mo.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}};Mo.prototype.adjustGamma=function(){Mo.adjustGamma(this)}});var yu=N(Vs=>{"use strict";function mN(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(mN,"hex2rgba");Vs.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:mN(e.color.dark||"#000000ff"),light:mN(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},"getOptions");Vs.getScale=s(function(e,o){return o.width&&o.width>=e+o.margin*2?o.width/(e+o.margin*2):o.scale},"getScale");Vs.getImageWidth=s(function(e,o){let i=Vs.getScale(e,o);return Math.floor((e+o.margin*2)*i)},"getImageWidth");Vs.qrToImageData=s(function(e,o,i){let r=o.modules.size,n=o.modules.data,a=Vs.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 h=(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),C=Math.floor((d-p)/a);y=u[n[S*r+C]?1:0]}e[h++]=y.r,e[h++]=y.g,e[h++]=y.b,e[h]=y.a}},"qrToImageData")});var hN=N(er=>{"use strict";var UP=require("fs"),qP=fN().PNG,pg=yu();er.render=s(function(e,o){let i=pg.getOptions(o),r=i.rendererOpts,n=pg.getImageWidth(e.modules.size,i);r.width=n,r.height=n;let a=new qP(r);return pg.qrToImageData(a.data,e,i),a},"render");er.renderToDataURL=s(function(e,o,i){typeof i>"u"&&(i=o,o=void 0),er.renderToBuffer(e,o,function(r,n){r&&i(r);let a="data:image/png;base64,";a+=n.toString("base64"),i(null,a)})},"renderToDataURL");er.renderToBuffer=s(function(e,o,i){typeof i>"u"&&(i=o,o=void 0);let r=er.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");er.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=UP.createWriteStream(e);c.on("error",a),c.on("close",a),er.renderToFileStream(c,o,i)},"renderToFile");er.renderToFileStream=s(function(e,o,i){er.render(o,i).pack().pipe(e)},"renderToFileStream")});var vN=N(ff=>{"use strict";var HP=yu(),kP={WW:" ",WB:"\u2584",BB:"\u2588",BW:"\u2580"},GP={BB:" ",BW:"\u2584",WW:"\u2588",WB:"\u2580"};function QP(t,e,o){return t&&e?o.BB:t&&!e?o.BW:!t&&e?o.WB:o.WW}s(QP,"getBlockChar");ff.render=function(t,e,o){let i=HP.getOptions(e),r=kP;(i.color.dark.hex==="#ffffff"||i.color.light.hex==="#000000")&&(r=GP);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
|
|
21
|
-
`}return c+=p.slice(0,-1),typeof o=="function"&&o(null,c),c};
|
|
22
|
-
`;for(let
|
|
19
|
+
`);let s=YE(e,o,r),c=Sf.getSymbolSize(e),p=new ME(c);return HE(p,e),kE(p),GE(p,e),tv(p,o,0),e>=7&&QE(p,e),ZE(p,s),isNaN(i)&&(i=ov.getBestMask(p,tv.bind(null,p,o))),ov.applyMask(i,p),tv(p,o,i),{modules:p,version:e,errorCorrectionLevel:o,maskPattern:i,segments:r}}a(JE,"createSymbol");PN.create=a(function(e,o){if(typeof e>"u"||e==="")throw new Error("No input text");let i=$g.M,r,n;return typeof o<"u"&&(i=$g.from(o.errorCorrectionLevel,$g.M),r=xf.from(o.version),n=ov.from(o.maskPattern),o.toSJISFunc&&Sf.setToSJISFunction(o.toSJISFunc)),JE(e,r,i,n)},"create")});var rv=R((x5,zN)=>{"use strict";var XE=require("util"),TN=require("stream"),Rn=zN.exports=function(){TN.call(this),this._buffers=[],this._buffered=0,this._reads=[],this._paused=!1,this._encoding="utf8",this.writable=!0};XE.inherits(Rn,TN);Rn.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))};Rn.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};Rn.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()))};Rn.prototype.destroySoon=Rn.prototype.end;Rn.prototype._end=function(){this._reads.length>0&&this.emit("error",new Error("Unexpected end of input")),this.destroy()};Rn.prototype.destroy=function(){this._buffers&&(this.writable=!1,this._reads=null,this._buffers=null,this.emit("close"))};Rn.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))};Rn.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)};Rn.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 av=R(sv=>{"use strict";var Qs=[{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]}];sv.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<Qs.length;c++){let p=Qs[c],l=n*p.x.length,u=s*p.y.length;for(let d=0;d<p.x.length&&p.x[d]<i;d++)l++;for(let d=0;d<p.y.length&&p.y[d]<r;d++)u++;l>0&&u>0&&o.push({width:l,height:u,index:c})}return o};sv.getInterlaceIterator=function(t){return function(e,o,i){let r=e%Qs[i].x.length,n=(e-r)/Qs[i].x.length*8+Qs[i].x[r],s=o%Qs[i].y.length,c=(o-s)/Qs[i].y.length*8+Qs[i].y[s];return n*4+c*t*4}}});var cv=R((C5,jN)=>{"use strict";jN.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 pv=R((R5,MN)=>{"use strict";var KE=av(),$E=cv();function BN(t,e,o){let i=t*e;return o!==8&&(i=Math.ceil(i/(8/o))),i}a(BN,"getByteWidth");var Ip=MN.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=KE.getImagePasses(o,i);for(let p=0;p<c.length;p++)this._images.push({byteWidth:BN(c[p].width,n,s),height:c[p].height,lineIndex:0})}else this._images.push({byteWidth:BN(o,n,s),height:i,lineIndex:0});s===8?this._xComparison=n:s===16?this._xComparison=n*2:this._xComparison=1};Ip.prototype.start=function(){this.read(this._images[this._imageIndex].byteWidth+1,this._reverseFilterLine.bind(this))};Ip.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}};Ip.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}};Ip.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,l=s>r?e[s-i]:0,u=Math.floor((l+p)/2);e[s]=c+u}};Ip.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,l=s>r?e[s-i]:0,u=s>r&&n?n[s-i]:0,d=$E(l,p,u);e[s]=c+d}};Ip.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 _N=R((I5,VN)=>{"use strict";var eP=require("util"),LN=rv(),tP=pv(),oP=VN.exports=function(t){LN.call(this);let e=[],o=this;this._filter=new tP(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()};eP.inherits(oP,LN)});var Op=R((A5,UN)=>{"use strict";UN.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 dv=R((F5,qN)=>{"use strict";var lv=[];(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;lv[t]=e}})();var uv=qN.exports=function(){this._crc=-1};uv.prototype.write=function(t){for(let e=0;e<t.length;e++)this._crc=lv[(this._crc^t[e])&255]^this._crc>>>8;return!0};uv.prototype.crc32=function(){return this._crc^-1};uv.crc32=function(t){let e=-1;for(let o=0;o<t.length;o++)e=lv[(e^t[o])&255]^e>>>8;return e^-1}});var fv=R((D5,HN)=>{"use strict";var Ot=Op(),iP=dv(),qt=HN.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[Ot.TYPE_IHDR]=this._handleIHDR.bind(this),this._chunks[Ot.TYPE_IEND]=this._handleIEND.bind(this),this._chunks[Ot.TYPE_IDAT]=this._handleIDAT.bind(this),this._chunks[Ot.TYPE_PLTE]=this._handlePLTE.bind(this),this._chunks[Ot.TYPE_tRNS]=this._handleTRNS.bind(this),this._chunks[Ot.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(){}};qt.prototype.start=function(){this.read(Ot.PNG_SIGNATURE.length,this._parseSignature.bind(this))};qt.prototype._parseSignature=function(t){let e=Ot.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))};qt.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!==Ot.TYPE_IHDR){this.error(new Error("Expected IHDR on beggining"));return}if(this._crc=new iP,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))};qt.prototype._skipChunk=function(){this.read(8,this._parseChunkBegin.bind(this))};qt.prototype._handleChunkEnd=function(){this.read(4,this._parseChunkEnd.bind(this))};qt.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))};qt.prototype._handleIHDR=function(t){this.read(t,this._parseIHDR.bind(this))};qt.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 Ot.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=Ot.COLORTYPE_TO_BPP_MAP[this._colorType];this._hasIHDR=!0,this.metadata({width:e,height:o,depth:i,interlace:!!c,palette:!!(r&Ot.COLORTYPE_PALETTE),color:!!(r&Ot.COLORTYPE_COLOR),alpha:!!(r&Ot.COLORTYPE_ALPHA),bpp:p,colorType:r}),this._handleChunkEnd()};qt.prototype._handlePLTE=function(t){this.read(t,this._parsePLTE.bind(this))};qt.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()};qt.prototype._handleTRNS=function(t){this.simpleTransparency(),this.read(t,this._parseTRNS.bind(this))};qt.prototype._parseTRNS=function(t){if(this._crc.write(t),this._colorType===Ot.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===Ot.COLORTYPE_GRAYSCALE&&this.transColor([t.readUInt16BE(0)]),this._colorType===Ot.COLORTYPE_COLOR&&this.transColor([t.readUInt16BE(0),t.readUInt16BE(2),t.readUInt16BE(4)]),this._handleChunkEnd()};qt.prototype._handleGAMA=function(t){this.read(t,this._parseGAMA.bind(this))};qt.prototype._parseGAMA=function(t){this._crc.write(t),this.gamma(t.readUInt32BE(0)/Ot.GAMMA_DIVISION),this._handleChunkEnd()};qt.prototype._handleIDAT=function(t){this._emittedHeadersFinished||(this._emittedHeadersFinished=!0,this.headersFinished()),this.read(-t,this._parseIDAT.bind(this,t))};qt.prototype._parseIDAT=function(t,e){if(this._crc.write(e),this._colorType===Ot.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()};qt.prototype._handleIEND=function(t){this.read(t,this._parseIEND.bind(this))};qt.prototype._parseIEND=function(t){this._crc.write(t),this._hasIEND=!0,this._handleChunkEnd(),this.finished&&this.finished()}});var mv=R(GN=>{"use strict";var kN=av(),nP=[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]}],rP=[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 sP(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,l,u,d,f,y;switch(e){default:throw new Error("unrecognised depth");case 16:f=t[i],i++,o.push((n<<8)+f);break;case 4:f=n&15,y=n>>4,o.push(y,f);break;case 2:u=n&3,d=n>>2&3,f=n>>4&3,y=n>>6&3,o.push(y,f,d,u);break;case 1:s=n&1,c=n>>1&1,p=n>>2&1,l=n>>3&1,u=n>>4&1,d=n>>5&1,f=n>>6&1,y=n>>7&1,o.push(y,f,d,u,l,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(sP,"bitRetriever");function aP(t,e,o,i,r,n){let s=t.width,c=t.height,p=t.index;for(let l=0;l<c;l++)for(let u=0;u<s;u++){let d=o(u,l,p);nP[i](e,r,d,n),n+=i}return n}a(aP,"mapImage8Bit");function cP(t,e,o,i,r,n){let s=t.width,c=t.height,p=t.index;for(let l=0;l<c;l++){for(let u=0;u<s;u++){let d=r.get(i),f=o(u,l,p);rP[i](e,d,f,n)}r.resetAfterLine()}}a(cP,"mapImageCustomBit");GN.dataToBitMap=function(t,e){let o=e.width,i=e.height,r=e.depth,n=e.bpp,s=e.interlace,c;r!==8&&(c=sP(t,r));let p;r<=8?p=Buffer.alloc(o*i*4):p=new Uint16Array(o*i*4);let l=Math.pow(2,r)-1,u=0,d,f;if(s)d=kN.getImagePasses(o,i),f=kN.getInterlaceIterator(o,i);else{let y=0;f=a(function(){let S=y;return y+=4,S},"getPxPos"),d=[{width:o,height:i}]}for(let y=0;y<d.length;y++)r===8?u=aP(d[y],p,f,n,t,u):cP(d[y],p,f,n,c,l);if(r===8){if(u!==t.length)throw new Error("extra data found")}else c.end();return p}});var hv=R((T5,QN)=>{"use strict";function pP(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 l=0;l<4;l++)e[n+l]=p[l];n+=4}}a(pP,"dePalette");function lP(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 l=0;l<4;l++)e[n+l]=0;n+=4}}a(lP,"replaceTransparentColor");function uP(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 l=0;l<o;l++){for(let u=0;u<4;u++)e[c+u]=Math.floor(t[c+u]*n/s+.5);c+=4}}a(uP,"scaleDepth");QN.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?pP(t,p,i,r,c):(s&&lP(t,p,i,r,s),o!==8&&(o===16&&(p=Buffer.alloc(i*r*4)),uP(t,p,i,r,o))),p}});var WN=R((j5,YN)=>{"use strict";var dP=require("util"),gv=require("zlib"),ZN=rv(),fP=_N(),mP=fv(),hP=mv(),gP=hv(),tr=YN.exports=function(t){ZN.call(this),this._parser=new mP(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()};dP.inherits(tr,ZN);tr.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};tr.prototype._inflateData=function(t){if(!this._inflate)if(this._bitmapInfo.interlace)this._inflate=gv.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,gv.Z_MIN_CHUNK);this._inflate=gv.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)};tr.prototype._handleMetaData=function(t){this._metaData=t,this._bitmapInfo=Object.create(t),this._filter=new fP(this._bitmapInfo)};tr.prototype._handleTransColor=function(t){this._bitmapInfo.transColor=t};tr.prototype._handlePalette=function(t){this._bitmapInfo.palette=t};tr.prototype._simpleTransparency=function(){this._metaData.alpha=!0};tr.prototype._headersFinished=function(){this.emit("metadata",this._metaData)};tr.prototype._finished=function(){this.errord||(this._inflate?this._inflate.end():this.emit("error","No Inflate block"))};tr.prototype._complete=function(t){if(this.errord)return;let e;try{let o=hP.dataToBitMap(t,this._bitmapInfo);e=gP(o,this._bitmapInfo),o=null}catch(o){this._handleError(o);return}this.emit("parsed",e)}});var XN=R((B5,JN)=>{"use strict";var _i=Op();JN.exports=function(t,e,o,i){let r=[_i.COLORTYPE_COLOR_ALPHA,_i.COLORTYPE_ALPHA].indexOf(i.colorType)!==-1;if(i.colorType===i.inputColorType){let S=(function(){let C=new ArrayBuffer(2);return new DataView(C).setInt16(0,256,!0),new Int16Array(C)[0]!==256})();if(i.bitDepth===8||i.bitDepth===16&&S)return t}let n=i.bitDepth!==16?t:new Uint16Array(t.buffer),s=255,c=_i.COLORTYPE_TO_BPP_MAP[i.inputColorType];c===4&&!i.inputHasAlpha&&(c=3);let p=_i.COLORTYPE_TO_BPP_MAP[i.colorType];i.bitDepth===16&&(s=65535,p*=2);let l=Buffer.alloc(e*o*p),u=0,d=0,f=i.bgColor||{};f.red===void 0&&(f.red=s),f.green===void 0&&(f.green=s),f.blue===void 0&&(f.blue=s);function y(){let S,C,I,b=s;switch(i.inputColorType){case _i.COLORTYPE_COLOR_ALPHA:b=n[u+3],S=n[u],C=n[u+1],I=n[u+2];break;case _i.COLORTYPE_COLOR:S=n[u],C=n[u+1],I=n[u+2];break;case _i.COLORTYPE_ALPHA:b=n[u+1],S=n[u],C=S,I=S;break;case _i.COLORTYPE_GRAYSCALE:S=n[u],C=S,I=S;break;default:throw new Error("input color type:"+i.inputColorType+" is not supported at present")}return i.inputHasAlpha&&(r||(b/=s,S=Math.min(Math.max(Math.round((1-b)*f.red+b*S),0),s),C=Math.min(Math.max(Math.round((1-b)*f.green+b*C),0),s),I=Math.min(Math.max(Math.round((1-b)*f.blue+b*I),0),s))),{red:S,green:C,blue:I,alpha:b}}a(y,"getRGBA");for(let S=0;S<o;S++)for(let C=0;C<e;C++){let I=y(n,u);switch(i.colorType){case _i.COLORTYPE_COLOR_ALPHA:case _i.COLORTYPE_COLOR:i.bitDepth===8?(l[d]=I.red,l[d+1]=I.green,l[d+2]=I.blue,r&&(l[d+3]=I.alpha)):(l.writeUInt16BE(I.red,d),l.writeUInt16BE(I.green,d+2),l.writeUInt16BE(I.blue,d+4),r&&l.writeUInt16BE(I.alpha,d+6));break;case _i.COLORTYPE_ALPHA:case _i.COLORTYPE_GRAYSCALE:{let b=(I.red+I.green+I.blue)/3;i.bitDepth===8?(l[d]=b,r&&(l[d+1]=I.alpha)):(l.writeUInt16BE(b,d),r&&l.writeUInt16BE(I.alpha,d+2));break}default:throw new Error("unrecognised color Type "+i.colorType)}u+=c,d+=p}return l}});var eR=R((L5,$N)=>{"use strict";var KN=cv();function vP(t,e,o,i,r){for(let n=0;n<o;n++)i[r+n]=t[e+n]}a(vP,"filterNone");function yP(t,e,o){let i=0,r=e+o;for(let n=e;n<r;n++)i+=Math.abs(t[n]);return i}a(yP,"filterSumNone");function bP(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(bP,"filterSub");function xP(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(xP,"filterSumSub");function SP(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(SP,"filterUp");function CP(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(CP,"filterSumUp");function NP(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,l=t[e+s]-(c+p>>1);i[r+s]=l}}a(NP,"filterAvg");function RP(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(RP,"filterSumAvg");function wP(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,l=e>0&&s>=n?t[e+s-(o+n)]:0,u=t[e+s]-KN(c,p,l);i[r+s]=u}}a(wP,"filterPaeth");function IP(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,l=t[e+n]-KN(s,c,p);r+=Math.abs(l)}return r}a(IP,"filterSumPaeth");var OP={0:vP,1:bP,2:SP,3:NP,4:wP},AP={0:yP,1:xP,2:CP,3:RP,4:IP};$N.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,l=Buffer.alloc((s+1)*o),u=n[0];for(let d=0;d<o;d++){if(n.length>1){let f=1/0;for(let y=0;y<n.length;y++){let S=AP[n[y]](t,p,s,r);S<f&&(u=n[y],f=S)}}l[c]=u,c++,OP[u](t,p,s,l,c,r),c+=s,p+=s}return l}});var vv=R((_5,tR)=>{"use strict";var Ro=Op(),FP=dv(),DP=XN(),EP=eR(),PP=require("zlib"),Zs=tR.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||PP.createDeflate,t.bitDepth=t.bitDepth||8,t.colorType=typeof t.colorType=="number"?t.colorType:Ro.COLORTYPE_COLOR_ALPHA,t.inputColorType=typeof t.inputColorType=="number"?t.inputColorType:Ro.COLORTYPE_COLOR_ALPHA,[Ro.COLORTYPE_GRAYSCALE,Ro.COLORTYPE_COLOR,Ro.COLORTYPE_COLOR_ALPHA,Ro.COLORTYPE_ALPHA].indexOf(t.colorType)===-1)throw new Error("option color type:"+t.colorType+" is not supported at present");if([Ro.COLORTYPE_GRAYSCALE,Ro.COLORTYPE_COLOR,Ro.COLORTYPE_COLOR_ALPHA,Ro.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")};Zs.prototype.getDeflateOptions=function(){return{chunkSize:this._options.deflateChunkSize,level:this._options.deflateLevel,strategy:this._options.deflateStrategy}};Zs.prototype.createDeflate=function(){return this._options.deflateFactory(this.getDeflateOptions())};Zs.prototype.filterData=function(t,e,o){let i=DP(t,e,o,this._options),r=Ro.COLORTYPE_TO_BPP_MAP[this._options.colorType];return EP(i,e,o,this._options,r)};Zs.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(FP.crc32(i.slice(4,i.length-4)),i.length-4),i};Zs.prototype.packGAMA=function(t){let e=Buffer.alloc(4);return e.writeUInt32BE(Math.floor(t*Ro.GAMMA_DIVISION),0),this._packChunk(Ro.TYPE_gAMA,e)};Zs.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(Ro.TYPE_IHDR,o)};Zs.prototype.packIDAT=function(t){return this._packChunk(Ro.TYPE_IDAT,t)};Zs.prototype.packIEND=function(){return this._packChunk(Ro.TYPE_IEND,null)}});var rR=R((U5,nR)=>{"use strict";var TP=require("util"),oR=require("stream"),zP=Op(),jP=vv(),iR=nR.exports=function(t){oR.call(this);let e=t||{};this._packer=new jP(e),this._deflate=this._packer.createDeflate(),this.readable=!0};TP.inherits(iR,oR);iR.prototype.pack=function(t,e,o,i){this.emit("data",Buffer.from(zP.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 uR=R((Ou,lR)=>{"use strict";var sR=require("assert").ok,Ap=require("zlib"),BP=require("util"),aR=require("buffer").kMaxLength;function Za(t){if(!(this instanceof Za))return new Za(t);t&&t.chunkSize<Ap.Z_MIN_CHUNK&&(t.chunkSize=Ap.Z_MIN_CHUNK),Ap.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(Za,"Inflate");function MP(t){return new Za(t)}a(MP,"createInflate");function cR(t,e){e&&process.nextTick(e),t._handle&&(t._handle.close(),t._handle=null)}a(cR,"_close");Za.prototype._processChunk=function(t,e,o){if(typeof o=="function")return Ap.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=[],l=0,u;this.on("error",function(S){u=S});function d(S,C){if(i._hadError)return;let I=n-C;if(sR(I>=0,"have should not go down"),I>0){let b=i._buffer.slice(i._offset,i._offset+I);if(i._offset+=I,b.length>s&&(b=b.slice(0,s)),p.push(b),l+=b.length,s-=b.length,s===0)return!1}return(C===0||i._offset>=i._chunkSize)&&(n=i._chunkSize,i._offset=0,i._buffer=Buffer.allocUnsafe(i._chunkSize)),C===0?(c+=r-S,r=S,!0):!1}a(d,"handleChunk"),sR(this._handle,"zlib binding closed");let f;do f=this._handle.writeSync(e,t,c,r,this._buffer,this._offset,n),f=f||this._writeState;while(!this._hadError&&d(f[0],f[1]));if(this._hadError)throw u;if(l>=aR)throw cR(this),new RangeError("Cannot create final Buffer. It would be larger than 0x"+aR.toString(16)+" bytes");let y=Buffer.concat(p,l);return cR(this),y};BP.inherits(Za,Ap.Inflate);function LP(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=Ap.Z_FINISH),t._processChunk(e,o)}a(LP,"zlibBufferSync");function pR(t,e){return LP(new Za(e),t)}a(pR,"inflateSync");lR.exports=Ou=pR;Ou.Inflate=Za;Ou.createInflate=MP;Ou.inflateSync=pR});var yv=R((H5,fR)=>{"use strict";var dR=fR.exports=function(t){this._buffer=t,this._reads=[]};dR.prototype.read=function(t,e){this._reads.push({length:Math.abs(t),allowLess:t<0,func:e})};dR.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 hR=R(mR=>{"use strict";var VP=yv(),_P=pv();mR.process=function(t,e){let o=[],i=new VP(t);return new _P(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 bR=R((Q5,yR)=>{"use strict";var gR=!0,vR=require("zlib"),UP=uR();vR.deflateSync||(gR=!1);var qP=yv(),HP=hR(),kP=fv(),GP=mv(),QP=hv();yR.exports=function(t,e){if(!gR)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(O){o=O}a(i,"handleError");let r;function n(O){r=O}a(n,"handleMetaData");function s(O){r.transColor=O}a(s,"handleTransColor");function c(O){r.palette=O}a(c,"handlePalette");function p(){r.alpha=!0}a(p,"handleSimpleTransparency");let l;function u(O){l=O}a(u,"handleGamma");let d=[];function f(O){d.push(O)}a(f,"handleInflateData");let y=new qP(t);if(new kP(e,{read:y.read.bind(y),error:i,metadata:n,gamma:u,palette:c,transColor:s,inflateData:f,simpleTransparency:p}).start(),y.process(),o)throw o;let C=Buffer.concat(d);d.length=0;let I;if(r.interlace)I=vR.inflateSync(C);else{let q=((r.width*r.bpp*r.depth+7>>3)+1)*r.height;I=UP(C,{chunkSize:q,maxLength:q})}if(C=null,!I||!I.length)throw new Error("bad png - invalid inflate data response");let b=HP.process(I,r);C=null;let w=GP.dataToBitMap(b,r);b=null;let F=QP(w,r);return r.data=F,r.gamma=l||0,r}});var NR=R((Y5,CR)=>{"use strict";var xR=!0,SR=require("zlib");SR.deflateSync||(xR=!1);var ZP=Op(),YP=vv();CR.exports=function(t,e){if(!xR)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 YP(o),r=[];r.push(Buffer.from(ZP.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=SR.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 RR=R(bv=>{"use strict";var WP=bR(),JP=NR();bv.read=function(t,e){return WP(t,e||{})};bv.write=function(t,e){return JP(t,e)}});var OR=R(IR=>{"use strict";var XP=require("util"),wR=require("stream"),KP=WN(),$P=rR(),e1=RR(),Mo=IR.PNG=function(t){wR.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 KP(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 $P(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"))};XP.inherits(Mo,wR);Mo.sync=e1;Mo.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)};Mo.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};Mo.prototype.write=function(t){return this._parser.write(t),!0};Mo.prototype.end=function(t){this._parser.end(t)};Mo.prototype._metadata=function(t){this.width=t.width,this.height=t.height,this.emit("metadata",t)};Mo.prototype._gamma=function(t){this.gamma=t};Mo.prototype._handleClose=function(){!this._parser.writable&&!this._packer.readable&&this.emit("close")};Mo.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)};Mo.prototype.bitblt=function(t,e,o,i,r,n,s){return Mo.bitblt(this,t,e,o,i,r,n,s),this};Mo.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}};Mo.prototype.adjustGamma=function(){Mo.adjustGamma(this)}});var Au=R(Ya=>{"use strict";function AR(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(AR,"hex2rgba");Ya.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:AR(e.color.dark||"#000000ff"),light:AR(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},"getOptions");Ya.getScale=a(function(e,o){return o.width&&o.width>=e+o.margin*2?o.width/(e+o.margin*2):o.scale},"getScale");Ya.getImageWidth=a(function(e,o){let i=Ya.getScale(e,o);return Math.floor((e+o.margin*2)*i)},"getImageWidth");Ya.qrToImageData=a(function(e,o,i){let r=o.modules.size,n=o.modules.data,s=Ya.getScale(r,i),c=Math.floor((r+i.margin*2)*s),p=i.margin*s,l=[i.color.light,i.color.dark];for(let u=0;u<c;u++)for(let d=0;d<c;d++){let f=(u*c+d)*4,y=i.color.light;if(u>=p&&d>=p&&u<c-p&&d<c-p){let S=Math.floor((u-p)/s),C=Math.floor((d-p)/s);y=l[n[S*r+C]?1:0]}e[f++]=y.r,e[f++]=y.g,e[f++]=y.b,e[f]=y.a}},"qrToImageData")});var FR=R(or=>{"use strict";var t1=require("fs"),o1=OR().PNG,xv=Au();or.render=a(function(e,o){let i=xv.getOptions(o),r=i.rendererOpts,n=xv.getImageWidth(e.modules.size,i);r.width=n,r.height=n;let s=new o1(r);return xv.qrToImageData(s.data,e,i),s},"render");or.renderToDataURL=a(function(e,o,i){typeof i>"u"&&(i=o,o=void 0),or.renderToBuffer(e,o,function(r,n){r&&i(r);let s="data:image/png;base64,";s+=n.toString("base64"),i(null,s)})},"renderToDataURL");or.renderToBuffer=a(function(e,o,i){typeof i>"u"&&(i=o,o=void 0);let r=or.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");or.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=t1.createWriteStream(e);c.on("error",s),c.on("close",s),or.renderToFileStream(c,o,i)},"renderToFile");or.renderToFileStream=a(function(e,o,i){or.render(o,i).pack().pipe(e)},"renderToFileStream")});var DR=R(Cf=>{"use strict";var i1=Au(),n1={WW:" ",WB:"\u2584",BB:"\u2588",BW:"\u2580"},r1={BB:" ",BW:"\u2584",WW:"\u2588",WB:"\u2580"};function s1(t,e,o){return t&&e?o.BB:t&&!e?o.BW:!t&&e?o.WB:o.WW}a(s1,"getBlockChar");Cf.render=function(t,e,o){let i=i1.getOptions(e),r=n1;(i.color.dark.hex==="#ffffff"||i.color.light.hex==="#000000")&&(r=r1);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 l=Array(i.margin+1).join(r.WW);c+=p;for(let u=0;u<n;u+=2){c+=l;for(let d=0;d<n;d++){let f=s[u*n+d],y=s[(u+1)*n+d];c+=s1(f,y,r)}c+=l+`
|
|
21
|
+
`}return c+=p.slice(0,-1),typeof o=="function"&&o(null,c),c};Cf.renderToFile=a(function(e,o,i,r){typeof r>"u"&&(r=i,i=void 0);let n=require("fs"),s=Cf.render(o,i);n.writeFile(e,s,r)},"renderToFile")});var PR=R(ER=>{"use strict";ER.render=function(t,e,o){let i=t.modules.size,r=t.modules.data,n="\x1B[40m \x1B[0m",s="\x1B[47m \x1B[0m",c="",p=Array(i+3).join(s),l=Array(2).join(s);c+=p+`
|
|
22
|
+
`;for(let u=0;u<i;++u){c+=s;for(let d=0;d<i;d++)c+=r[u*i+d]?n:s;c+=l+`
|
|
23
23
|
`}return c+=p+`
|
|
24
|
-
`,typeof o=="function"&&o(null,c),c}});var
|
|
25
|
-
`+
|
|
26
|
-
`;return typeof i=="function"&&i(null,h),h},"render")});var IN=N(mf=>{"use strict";var o1=fg();mf.render=o1.render;mf.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">'+mf.render(o,i);n.writeFile(e,c,r)},"renderToFile")});var AN=N(hf=>{"use strict";var mg=yu();function i1(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(i1,"clearCanvas");function n1(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}s(n1,"getCanvasElement");hf.render=s(function(e,o,i){let r=i,n=o;typeof r>"u"&&(!o||!o.getContext)&&(r=o,o=void 0),o||(n=n1()),r=mg.getOptions(r);let a=mg.getImageWidth(e.modules.size,r),c=n.getContext("2d"),p=c.createImageData(a,a);return mg.qrToImageData(p.data,e,r),i1(c,n,a),c.putImageData(p,0,0),n},"render");hf.renderToDataURL=s(function(e,o,i){let r=i;typeof r>"u"&&(!o||!o.getContext)&&(r=o,o=void 0),r||(r={});let n=hf.render(e,o,r),a=r.type||"image/png",c=r.rendererOpts||{};return n.toDataURL(a,c.quality)},"renderToDataURL")});var DN=N(bu=>{"use strict";var r1=Av(),hg=Zv(),FN=AN(),a1=fg();function vg(t,e,o,i,r){let n=[].slice.call(arguments,1),a=n.length,c=typeof n[a-1]=="function";if(!c&&!r1())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=hg.create(o,i);p(t(l,e,i))}catch(l){u(l)}})}try{let p=hg.create(o,i);r(null,t(p,e,i))}catch(p){r(p)}}s(vg,"renderCanvas");bu.create=hg.create;bu.toCanvas=vg.bind(null,FN.render);bu.toDataURL=vg.bind(null,FN.renderToDataURL);bu.toString=vg.bind(null,function(t,e,o){return a1.render(t,o)})});var zN=N(Va=>{"use strict";var EN=Av(),gg=Zv(),s1=hN(),PN=vN(),c1=NN(),TN=IN();function xu(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(EN())e=o||{},o=null;else throw new Error("Callback required as last argument");return{opts:e,cb:o}}s(xu,"checkParams");function p1(t){return t.slice((t.lastIndexOf(".")-1>>>0)+2).toLowerCase()}s(p1,"getTypeFromFilename");function vf(t){switch(t){case"svg":return TN;case"txt":case"utf8":return PN;default:return s1}}s(vf,"getRendererFromType");function l1(t){switch(t){case"svg":return TN;case"terminal":return c1;default:return PN}}s(l1,"getStringRendererFromType");function Su(t,e,o){if(!o.cb)return new Promise(function(i,r){try{let n=gg.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=gg.create(e,o.opts);return t(i,o.opts,o.cb)}catch(i){o.cb(i)}}s(Su,"render");Va.create=gg.create;Va.toCanvas=DN().toCanvas;Va.toString=s(function(e,o,i){let r=xu(e,o,i),n=r.opts?r.opts.type:void 0,a=l1(n);return Su(a.render,e,r)},"toString");Va.toDataURL=s(function(e,o,i){let r=xu(e,o,i),n=vf(r.opts.type);return Su(n.renderToDataURL,e,r)},"toDataURL");Va.toBuffer=s(function(e,o,i){let r=xu(e,o,i),n=vf(r.opts.type);return Su(n.renderToBuffer,e,r)},"toBuffer");Va.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&&!EN())throw new Error("Too few arguments provided");let n=xu(o,i,r),a=n.opts.type||p1(e),p=vf(a).renderToFile.bind(null,e);return Su(p,o,n)},"toFile");Va.toFileStream=s(function(e,o,i){if(arguments.length<2)throw new Error("Too few arguments provided");let r=xu(o,i,e.emit.bind(e,"error")),a=vf("png").renderToFileStream.bind(null,e);Su(a,o,r)},"toFileStream")});var yg=N((n9,jN)=>{"use strict";jN.exports=zN()});var f1={};Og(f1,{AccessKeyBuilder:()=>Up,DanfceDefaultPdfDocument:()=>xg,DanfceReducedPdfDocument:()=>Sg,DanfeDefaultPdfDocument:()=>Rg,DanfeMargins:()=>Uf,DanfeRtcLandscapePdfDocument:()=>Ng,DanfeRtcPdfDocument:()=>Ru,DanfeSize:()=>$N,DefaultDetBuilderAggregator:()=>qp,DefaultSchema:()=>_f,DefaultTotalBuilderAggregator:()=>Hp,EventoCstatToCancelRegister:()=>Mf,EventoCstatToProtocol:()=>Bf,InutCstatToProtocol:()=>Lf,NFCeDto:()=>Kn,NFeDto:()=>Ur,NfceAuthorizerPipeline:()=>Il,NfceCancelPipeline:()=>Ah,NfceConsultProtocoloPipeline:()=>Ph,NfceConsultStatusPipeline:()=>Eh,NfceContingencyXmlAuthorizerPipeline:()=>Fh,NfceQrcode:()=>Yt,NfceRemoteTransmitter:()=>jt,NfceVoidRangePipeline:()=>Dh,NfceXmlBuilder:()=>pu,NfceXmlBuilderPipeline:()=>Iv,NfeAuthorizationResponsePipeline:()=>Ch,NfeAuthorizerPipeline:()=>Nl,NfeCancelPipeline:()=>Cl,NfeComplements:()=>qf,NfeConsultProtocoloPipeline:()=>Ol,NfeConsultStatusPipeline:()=>wl,NfeDetXmlBuilder:()=>dt,NfeDistribuicaoDFePipeline:()=>Nh,NfeManifestacaoPipeline:()=>Rh,NfeRemoteTransmitter:()=>Io,NfeVoidRangePipeline:()=>gc,NfeXmlBuilder:()=>le,NfeXmlBuilderPipeline:()=>cu,PL_009:()=>KN,PL_010:()=>wo,TpEmis:()=>mt,TpEvent:()=>ht,XmlValidationError:()=>Vp,mm:()=>j,ptPerMm:()=>Dg,schemas:()=>_p});module.exports=XN(f1);var Ag=require("nfets/core");var Vp=class extends Ag.NFeTsError{static{s(this,"XmlValidationError")}xml;name="XmlValidationError";constructor(e,o,i){super(e,i),this.xml=o}};var mt=(function(t){return t.Normal="1",t.EPEC="4",t.SVCAN="6",t.SVCRS="7",t.OFFLINE="9",t})({});var ht=(function(t){return t.Cancelamento="110111",t.CancelamentoSubstituicao="110112",t.ConfirmacaoOperacao="210200",t.CienciaOperacao="210210",t.DesconhecimentoOperacao="210220",t.OperacaoNaoRealizada="210240",t})({});var Bf=(function(t){return t.RegistradoEVinculado="135",t})({}),Mf=(function(t){return t.RegistradoEVinculado="135",t.RegistradoNaoVinculado="136",t.CancelamentoHomologadoForaPrazo="155",t})({});var Lf=(function(t){return t.InutilizacaoHomologada="102",t})({});var Vf=require("nfets/core");var Gs={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"},KN=[Gs.PL_009_V4],wo=[Gs.PL_010_V1,Gs.PL_010_V1_21,Gs.PL_010_V1_30],_f=Gs.PL_009_V4,_p=s(()=>{if(process.env.NFETS_NFE_SCHEMAS_DIR)return process.env.NFETS_NFE_SCHEMAS_DIR;try{return(0,Vf.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,Vf.search)("nfe/schemas",{onFound:s(t=>t,"onFound"),onNotFound:s(()=>{throw new Error("Schemas not found on nfe/schemas")},"onNotFound")})}},"schemas"),Fg=Gs;var Dg=2.834645669291339,j=s(t=>t*Dg,"mm"),$N={A4:[j(210),j(297)]},Uf={top:j(5),right:j(5),bottom:j(5),left:j(5)};var Up=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,h,y,S]=i;return{cUF:n,year:a,month:c,identification:p,mod:u,serie:l,nNF:d,tpEmis:h,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 Eg=require("nfets/core");var _i=require("nfets/core");var ew=new Set([ht.Cancelamento,ht.CancelamentoSubstituicao]),qf=class{static{s(this,"NfeComplements")}toolkit;constructor(e=new Eg.Xml2JsToolkit){this.toolkit=e}cancelRegister(e,o){if(!e.trim())return(0,_i.left)(new _i.NFeTsError("Please provide a valid authorized NFe xml"));let i=this.toolkit.getNode(e,"protNFe");if(!i)return(0,_i.left)(new _i.NFeTsError("NFe not protocoladed"));let r=this.toolkit.getNodeValue(i,"chNFe");if(!r)return(0,_i.left)(new _i.NFeTsError("Access key not found in protNFe"));let n=this.findMatchingRetEvento(o,r);return n?(0,_i.right)(this.toolkit.appendNode(e,n)):(0,_i.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(Mf).includes(r)&&n&&ew.has(n)&&a===o)return i}return null}};var Hf=require("nfets/core");var qp=class{static{s(this,"DefaultDetBuilderAggregator")}builder;zero=Hf.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 Hf.Decimal.newOrZero(e).add(o??this.zero).toFixed(i)}};var Iu=require("nfets/core");var Hp=class{static{s(this,"DefaultTotalBuilderAggregator")}builder;constructor(e){this.builder=e}aggregate(){let e=Iu.Decimal.from(0),o=wo.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:Iu.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=Iu.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 $r=require("nfets/core");var Qs={[ht.Cancelamento]:{method:"envEventoCancNFe",version:"1.00",descEvento:"Cancelamento"},[ht.CancelamentoSubstituicao]:{method:"envEventoCancSubstNFe",version:"1.00",descEvento:"Cancelamento por substituicao"},[ht.ConfirmacaoOperacao]:{method:"envConfRecebto",version:"1.00",descEvento:"Confirmacao da Operacao"},[ht.CienciaOperacao]:{method:"envConfRecebto",version:"1.00",descEvento:"Ciencia da Operacao"},[ht.DesconhecimentoOperacao]:{method:"envConfRecebto",version:"1.00",descEvento:"Desconhecimento da Operacao"},[ht.OperacaoNaoRealizada]:{method:"envConfRecebto",version:"1.00",descEvento:"Operacao nao Realizada"}};var ar=require("nfets/core");function kp(t,e){return s(function(){return t.apply(e,arguments)},"wrap")}s(kp,"bind");var{toString:tw}=Object.prototype,{getPrototypeOf:Gr}=Object,{iterator:Zp,toStringTag:zg}=Symbol,Gp=(({hasOwnProperty:t})=>(e,o)=>t.call(e,o))(Object.prototype),jg=s(t=>typeof t=="string"&&(t==="__proto__"||t==="constructor"||t==="prototype"),"isUnsafeObjectKey"),Bg=s((t,e,o)=>t===Object.prototype||!o&&e===null,"isPrototypeBoundary"),ow=s(t=>{if(!Object.isExtensible(t))return!1;let e=Object.getOwnPropertyNames(t);return Object.getOwnPropertySymbols&&e.push(...Object.getOwnPropertySymbols(t)),e.every(o=>{if(jg(o))return!1;let i=Object.getOwnPropertyDescriptor(t,o);return!!i&&i.configurable&&i.writable===!0})},"isSafeAndFullyMutable"),Qp=s((t,e)=>{let o=t,i=[];for(;o!=null;){if(i.indexOf(o)!==-1)return!1;i.push(o);let r=Gr(o);if(Bg(o,r,o===t))return!1;if(Gp(o,e))return!0;o=r}return!1},"hasOwnInPrototypeChain"),iw=s((t,e)=>t!=null&&Qp(t,e)?t[e]:void 0,"getSafeProp"),nw=s(t=>{if(t==null||typeof t!="object"&&typeof t!="function")return t;let e=Gr(t);if(e===null&&ow(t))return t;let o=Object.create(null),i=Object.create(null),r=[],n=t;for(;n!=null&&r.indexOf(n)===-1;){r.push(n);let a=n===t?e:Gr(n);if(Bg(n,a,n===t))break;let c=Object.getOwnPropertyNames(n);Object.getOwnPropertySymbols&&c.push(...Object.getOwnPropertySymbols(n));for(let p of c)jg(p)||Gp(i,p)||(o[p]=t[p],i[p]=!0);n=a}return o},"toSafeFlatObject"),Gf=(t=>e=>{let o=tw.call(e);return t[o]||(t[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),hi=s(t=>(t=t.toLowerCase(),e=>Gf(e)===t),"kindOfTest"),Fu=s(t=>e=>typeof e===t,"typeOfTest"),{isArray:Ya}=Array,Wa=Fu("undefined");function Zs(t){return t!==null&&!Wa(t)&&t.constructor!==null&&!Wa(t.constructor)&&qo(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}s(Zs,"isBuffer");var Mg=hi("ArrayBuffer");function rw(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Mg(t.buffer),e}s(rw,"isArrayBufferView");var aw=Fu("string"),qo=Fu("function"),Lg=Fu("number"),Ys=s(t=>t!==null&&typeof t=="object","isObject"),sw=s(t=>t===!0||t===!1,"isBoolean"),Au=s(t=>{if(!Ys(t))return!1;let e=Gr(t);return(e===null||e===Object.prototype||Gr(e)===null)&&!Qp(t,zg)&&!Qp(t,Zp)},"isPlainObject"),cw=s(t=>{if(!Ys(t)||Zs(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},"isEmptyObject"),pw=hi("Date"),lw=hi("File"),uw=s(t=>!!(t&&typeof t.uri<"u"),"isReactNativeBlob"),dw=s(t=>t&&typeof t.getParts<"u","isReactNative"),fw=hi("Blob"),mw=hi("FileList"),hw=hi("Set"),vw=s(t=>Ys(t)&&qo(t.pipe),"isStream");function gw(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}s(gw,"getGlobal");var Pg=gw(),Tg=typeof Pg.FormData<"u"?Pg.FormData:void 0,yw=s(t=>{if(!t)return!1;if(Tg&&t instanceof Tg)return!0;let e=Gr(t);if(!e||e===Object.prototype||!qo(t.append))return!1;let o=Gf(t);return o==="formdata"||o==="object"&&qo(t.toString)&&t.toString()==="[object FormData]"},"isFormData"),bw=hi("URLSearchParams"),[xw,Sw,Cw,Rw]=["ReadableStream","Request","Response","Headers"].map(hi),Nw=s(t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),"trim");function Yp(t,e,{allOwnKeys:o=!1}={}){if(t===null||typeof t>"u")return;let i,r;if(typeof t!="object"&&(t=[t]),Ya(t))for(i=0,r=t.length;i<r;i++)e.call(null,t[i],i,t);else{if(Zs(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(Yp,"forEach");function Vg(t,e){if(Zs(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(Vg,"findKey");var Za=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,_g=s(t=>!Wa(t)&&t!==Za,"isContextDefined");function kf(...t){let{caseless:e,skipUndefined:o}=_g(this)&&this||{},i={},r=s((n,a)=>{if(a==="__proto__"||a==="constructor"||a==="prototype")return;let c=e&&typeof a=="string"&&Vg(i,a)||a,p=Gp(i,c)?i[c]:void 0;Au(p)&&Au(n)?i[c]=kf(p,n):Au(n)?i[c]=kf({},n):Ya(n)?i[c]=n.slice():(!o||!Wa(n))&&(i[c]=n)},"assignValue");for(let n=0,a=t.length;n<a;n++){let c=t[n];if(!c||Zs(c)||(Yp(c,r),typeof c!="object"||Ya(c)))continue;let p=Object.getOwnPropertySymbols(c);for(let u=0;u<p.length;u++){let l=p[u];Bw.call(c,l)&&r(c[l],l)}}return i}s(kf,"merge");var ww=s((t,e,o,{allOwnKeys:i}={})=>(Yp(e,(r,n)=>{o&&qo(r)?Object.defineProperty(t,n,{__proto__:null,value:kp(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"),Ow=s(t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),"stripBOM"),Iw=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"),Aw=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&&Gr(t)}while(t&&(!o||o(t,e))&&t!==Object.prototype);return e},"toFlatObject"),Fw=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"),Dw=s(t=>{if(!t)return null;if(Ya(t))return t;let e=t.length;if(!Lg(e))return null;let o=new Array(e);for(;e-- >0;)o[e]=t[e];return o},"toArray"),Ew=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Gr(Uint8Array)),Pw=s((t,e)=>{let i=(t&&t[Zp]).call(t),r;for(;(r=i.next())&&!r.done;){let n=r.value;e.call(t,n[0],n[1])}},"forEachEntry"),Tw=s((t,e)=>{let o,i=[];for(;(o=t.exec(e))!==null;)i.push(o);return i},"matchAll"),zw=hi("HTMLFormElement"),jw=s(t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,s(function(o,i,r){return i.toUpperCase()+r},"replacer")),"toCamelCase"),{propertyIsEnumerable:Bw}=Object.prototype,Mw=hi("RegExp"),Ug=s((t,e)=>{let o=Object.getOwnPropertyDescriptors(t),i={};Yp(o,(r,n)=>{let a;(a=e(r,n,t))!==!1&&(i[n]=a||r)}),Object.defineProperties(t,i)},"reduceDescriptors"),Lw=s(t=>{Ug(t,(e,o)=>{if(qo(t)&&["arguments","caller","callee"].includes(o))return!1;let i=t[o];if(qo(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"),Vw=s((t,e)=>{let o={},i=s(r=>{r.forEach(n=>{o[n]=!0})},"define");return Ya(t)?i(t):i(String(t).split(e)),o},"toObjectSet"),_w=s(()=>{},"noop"),Uw=s((t,e)=>t!=null&&Number.isFinite(t=+t)?t:e,"toFiniteNumber");function qw(t){return!!(t&&qo(t.append)&&t[zg]==="FormData"&&t[Zp])}s(qw,"isSpecCompliantForm");var Hw=s(t=>{let e=new WeakSet,o=s(i=>{if(Ys(i)){if(e.has(i))return;if(Zs(i))return i;if(!("toJSON"in i)){e.add(i);let r;if(hw(i)){r=[];for(let n of i){let a=o(n);!Wa(a)&&r.push(a)}}else r=Ya(i)?[]:{},Yp(i,(n,a)=>{let c=o(n);!Wa(c)&&(r[a]=c)});return e.delete(i),r}}return i},"visit");return o(t)},"toJSONObject"),kw=hi("AsyncFunction"),Gw=s(t=>t&&(Ys(t)||qo(t))&&qo(t.then)&&qo(t.catch),"isThenable"),qg=((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",qo(Za.postMessage)),Qw=typeof queueMicrotask<"u"?queueMicrotask.bind(Za):typeof process<"u"&&process.nextTick||qg,Hg=s(t=>t!=null&&qo(t[Zp]),"isIterable"),Zw=s(t=>t!=null&&Qp(t,Zp)&&Hg(t),"isSafeIterable"),m={isArray:Ya,isArrayBuffer:Mg,isBuffer:Zs,isFormData:yw,isArrayBufferView:rw,isString:aw,isNumber:Lg,isBoolean:sw,isObject:Ys,isPlainObject:Au,isEmptyObject:cw,isReadableStream:xw,isRequest:Sw,isResponse:Cw,isHeaders:Rw,isUndefined:Wa,isDate:pw,isFile:lw,isReactNativeBlob:uw,isReactNative:dw,isBlob:fw,isRegExp:Mw,isFunction:qo,isStream:vw,isURLSearchParams:bw,isTypedArray:Ew,isFileList:mw,forEach:Yp,merge:kf,extend:ww,trim:Nw,stripBOM:Ow,inherits:Iw,toFlatObject:Aw,kindOf:Gf,kindOfTest:hi,endsWith:Fw,toArray:Dw,forEachEntry:Pw,matchAll:Tw,isHTMLForm:zw,hasOwnProperty:Gp,hasOwnProp:Gp,hasOwnInPrototypeChain:Qp,getSafeProp:iw,toSafeFlatObject:nw,reduceDescriptors:Ug,freezeMethods:Lw,toObjectSet:Vw,toCamelCase:jw,noop:_w,toFiniteNumber:Uw,findKey:Vg,global:Za,isContextDefined:_g,isSpecCompliantForm:qw,toJSONObject:Hw,isAsyncFn:kw,isThenable:Gw,setImmediate:qg,asap:Qw,isIterable:Hg,isSafeIterable:Zw};var Yw=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"]),kg=s((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 oO(e)}static concat(e,...o){let i=new this(e);return o.forEach(r=>i.set(r)),i}static accessor(e){let i=(this[Qg]=this[Qg]={accessors:{}}).accessors,r=this.prototype;function n(a){let c=Wp(a);i[c]||(rO(r,a),i[c]=!0)}return s(n,"defineAccessor"),m.isArray(e)?e.forEach(n):n(e),this}};Eu.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);m.reduceDescriptors(Eu.prototype,({value:t},e)=>{let o=e[0].toUpperCase()+e.slice(1);return{get:s(()=>t,"get"),set(i){this[o]=i}}});m.freezeMethods(Eu);var Oe=Eu;var Jp="[REDACTED ****]";function aO(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}s(aO,"hasOwnOrPrototypeToJSON");function sO(t,e){let o=new Set(e.map(n=>String(n).toLowerCase())),i=[],r=s(n=>{if(n===null||typeof n!="object"||m.isBuffer(n))return n;if(i.indexOf(n)!==-1)return;n instanceof Oe&&(n=n.toJSON()),i.push(n);let a;if(m.isArray(n))a=[],n.forEach((c,p)=>{let u=r(c);m.isUndefined(u)||(a[p]=u)});else{if(!m.isPlainObject(n)&&aO(n))return i.pop(),n;a=Object.create(null);for(let[c,p]of Object.entries(n)){let u=o.has(c.toLowerCase())?Jp:r(p);m.isUndefined(u)||(a[c]=u)}}return i.pop(),a},"visit");return r(t)}s(sO,"redactConfig");function Zg(t){try{return String(t)}catch{return""}}s(Zg,"stringifySafely");function cO(t){return t.errors.map(o=>{try{return o&&o.message?Zg(o.message):Zg(o)}catch{return""}}).filter(Boolean).join("; ")||t.name||"AggregateError"}s(cO,"aggregateErrorMessage");var Oo=class Yg extends Error{static{s(this,"AxiosError")}static from(e,o,i,r,n,a){let c=e.message;!c&&m.isArray(e.errors)&&e.errors.length&&(c=cO(e));let p=new Yg(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&&m.hasOwnProp(e,"redact")?e.redact:void 0,i=m.isArray(o)&&o.length>0?sO(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}}};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 R=Oo;var tx=ct(ex(),1),Uu=tx.default;var qu={isBufferAvailable(){return typeof Buffer<"u"},from(t){return Buffer.from(t)}};var gm=100;function vm(t){return m.isPlainObject(t)||m.isArray(t)}s(vm,"isVisitable");function ox(t){return m.endsWith(t,"[]")?t.slice(0,-2):t}s(ox,"removeBrackets");function hm(t,e,o){return t?t.concat(e).map(s(function(r,n){return r=ox(r),!o&&n?"["+r+"]":r},"each")).join(o?".":""):e}s(hm,"renderKey");function JI(t){return m.isArray(t)&&!t.some(vm)}s(JI,"isFlatArray");var XI=m.toFlatObject(m,{},null,s(function(e){return/^is[A-Z]/.test(e)},"filter"));function KI(t,e,o){if(!m.isObject(t))throw new TypeError("target must be an object");e=e||new(Uu||FormData);let i=s((w,F)=>{let I=m.getSafeProp(o,w);return m.isUndefined(I)?F:I},"option"),r=i("metaTokens",!0),n=i("visitor")||C,a=i("dots",!1),c=i("indexes",!1),p=i("Blob")||typeof Blob<"u"&&Blob,u=i("maxDepth",gm),l=p&&m.isSpecCompliantForm(e),d=[];if(!m.isFunction(n))throw new TypeError("visitor must be a function");function h(w){if(w===null)return"";if(m.isDate(w))return w.toISOString();if(m.isBoolean(w))return w.toString();if(!l&&m.isBlob(w))throw new R("Blob is not supported. Use a Buffer instead.");if(m.isArrayBuffer(w)||m.isTypedArray(w)){if(l&&typeof p=="function")return new p([w]);if(qu&&qu.isBufferAvailable())return qu.from(w);throw new R("Blob is not supported. Use a Buffer instead.",R.ERR_NOT_SUPPORT)}return w}s(h,"convertValue");function y(w){if(w>u)throw new R("Object is too deeply nested ("+w+" levels). Max depth: "+u,R.ERR_FORM_DATA_DEPTH_EXCEEDED)}s(y,"throwIfMaxDepthExceeded");function S(w,F){if(u===1/0)return JSON.stringify(w);let I=[];return JSON.stringify(w,s(function(Z,W){if(!m.isObject(W))return W;for(;I.length&&I[I.length-1]!==this;)I.pop();return I.push(W),y(F+I.length-1),W},"limitDepth"))}s(S,"stringifyWithDepthLimit");function C(w,F,I){let q=w;if(m.isReactNative(e)&&m.isReactNativeBlob(w))return e.append(hm(I,F,a),h(w)),!1;if(w&&!I&&typeof w=="object"){if(m.endsWith(F,"{}"))F=r?F:F.slice(0,-2),w=S(w,1);else if(m.isArray(w)&&JI(w)||(m.isFileList(w)||m.endsWith(F,"[]"))&&(q=m.toArray(w)))return F=ox(F),q.forEach(s(function(W,St){!(m.isUndefined(W)||W===null)&&e.append(c===!0?hm([F],St,a):c===null?F:F+"[]",h(W))},"each")),!1}return vm(w)?!0:(e.append(hm(I,F,a),h(w)),!1)}s(C,"defaultVisitor");let O=Object.assign(XI,{defaultVisitor:C,convertValue:h,isVisitable:vm});function b(w,F,I=0){if(!m.isUndefined(w)){if(y(I),d.indexOf(w)!==-1)throw new Error("Circular reference detected in "+F.join("."));d.push(w),m.forEach(w,s(function(Z,W){(!(m.isUndefined(Z)||Z===null)&&n.call(e,Z,m.isString(W)?W.trim():W,F,O))===!0&&b(Z,F?F.concat(W):[W],I+1)},"each")),d.pop()}}if(s(b,"build"),!m.isObject(t))throw new TypeError("data must be an object");return b(t),e}s(KI,"toFormData");var Zr=KI;function ix(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(t).replace(/[!'()~]|%20/g,s(function(i){return e[i]},"replacer"))}s(ix,"encode");function nx(t,e){this._pairs=[],t&&Zr(t,this,e)}s(nx,"AxiosURLSearchParams");var rx=nx.prototype;rx.append=s(function(e,o){this._pairs.push([e,o])},"append");rx.toString=s(function(e){let o=e?i=>e.call(this,i,ix):ix;return this._pairs.map(s(function(r){return o(r[0])+"="+o(r[1])},"each"),"").join("&")},"toString");var ax=nx;function $I(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}s($I,"encode");function Xa(t,e,o){if(!e)return t;t=t||"";let i=m.isFunction(o)?{serialize:o}:o,r=m.getSafeProp(i,"encode")||$I,n=m.getSafeProp(i,"serialize"),a;if(n?a=n(e,i):a=m.isURLSearchParams(e)?e.toString():new ax(e,i).toString(r),a){let c=t.indexOf("#");c!==-1&&(t=t.slice(0,c)),t+=(t.indexOf("?")===-1?"?":"&")+a}return t}s(Xa,"buildURL");var el=Symbol("internals");function cx(t){return t?t.length:0}s(cx,"countHandlers");function sx(t){if(t)for(;t.length&&t[t.length-1]===null;)t.pop()}s(sx,"trimHandlers");function tl(t,e){let o=t.handlers,i=cx(o);o!==e.handlersRef?(e.handlersRef=o,e.handlerEntries.clear()):i!==e.handlersLength&&(i?e.handlerEntries.forEach(s(function(n,a){o[n.index]!==n.handler&&e.handlerEntries.delete(a)},"removeStaleEntry")):e.handlerEntries.clear()),e.handlersLength=i}s(tl,"syncHandlerEntries");var eA=class{static{s(this,"InterceptorManager")}constructor(){this.handlers=[],this[el]={handlersRef:this.handlers,handlersLength:this.handlers.length,handlerEntries:new Map,iterationDepth:0,nextId:0}}use(e,o,i){let r={fulfilled:e,rejected:o,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null},n=this[el];this.handlers==null&&(this.handlers=[]),tl(this,n);let a=n.nextId++;return this.handlers.push(r),n.handlerEntries.set(a,{handler:r,index:this.handlers.length-1}),n.handlersLength=this.handlers.length,a}eject(e){let o=this[el];tl(this,o);let i=o.handlerEntries.get(e);if(i){if(o.handlerEntries.delete(e),this.handlers[i.index]!==i.handler)return;this.handlers[i.index]=null,o.iterationDepth||(sx(this.handlers),o.handlersLength=this.handlers.length)}}clear(){this.handlers&&(this.handlers=[],tl(this,this[el]))}forEach(e){let o=this[el];tl(this,o),o.iterationDepth++;try{m.forEach(this.handlers,s(function(r){r!==null&&e(r)},"forEachHandler"))}finally{--o.iterationDepth||(tl(this,o),sx(this.handlers),o.handlersLength=cx(this.handlers))}}},ym=eA;var Yr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0};var dx=ct(require("crypto"),1);var px=ct(require("url"),1),lx=px.default.URLSearchParams;var bm="abcdefghijklmnopqrstuvwxyz",ux="0123456789",fx={DIGIT:ux,ALPHA:bm,ALPHA_DIGIT:bm+bm.toUpperCase()+ux},tA=s((t=16,e=fx.ALPHA_DIGIT)=>{let o="",{length:i}=e,r=new Uint32Array(t);dx.default.randomFillSync(r);for(let n=0;n<t;n++)o+=e[r[n]%i];return o},"generateString"),mx={isNode:!0,classes:{URLSearchParams:lx,FormData:Uu,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:fx,generateString:tA,protocols:["http","https","file","data"]};var Cm={};Og(Cm,{hasBrowserEnv:()=>Sm,hasStandardBrowserEnv:()=>oA,hasStandardBrowserWebWorkerEnv:()=>iA,navigator:()=>xm,origin:()=>nA});var Sm=typeof window<"u"&&typeof document<"u",xm=typeof navigator=="object"&&navigator||void 0,oA=Sm&&(!xm||["ReactNative","NativeScript","NS"].indexOf(xm.product)<0),iA=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",nA=Sm&&window.location.href||"http://localhost";var oe={...Cm,...mx};function Rm(t,e){return Zr(t,new oe.classes.URLSearchParams,{visitor:s(function(o,i,r,n){return oe.isNode&&m.isBuffer(o)?(this.append(i,o.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},"visitor"),...e})}s(Rm,"toURLEncodedForm");var hx=gm;function vx(t){if(t>hx)throw new R("FormData field is too deeply nested ("+t+" levels). Max depth: "+hx,R.ERR_FORM_DATA_DEPTH_EXCEEDED)}s(vx,"throwIfDepthExceeded");function rA(t){let e=[],o=/[^.[\]]+|\[([^.[\]]*)]/g,i;for(;(i=o.exec(t))!==null;)vx(e.length),e.push(i[0]==="[]"?"":i[1]||i[0]);return e}s(rA,"parsePropPath");function aA(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(aA,"arrayToObject");function sA(t){function e(o,i,r,n){vx(n);let a=o[n++];if(a==="__proto__")return!0;let c=Number.isFinite(+a),p=n>=o.length;return a=!a&&m.isArray(r)?r.length:a,p?(m.hasOwnProp(r,a)?r[a]=m.isArray(r[a])?r[a].concat(i):[r[a],i]:r[a]=i,!c):((!m.hasOwnProp(r,a)||!m.isObject(r[a]))&&(r[a]=[]),e(o,i,r[a],n)&&m.isArray(r[a])&&(r[a]=aA(r[a])),!c)}if(s(e,"buildPath"),m.isFormData(t)&&m.isFunction(t.entries)){let o={};return m.forEachEntry(t,(i,r)=>{e(rA(i),r,o,0)}),o}return null}s(sA,"formDataToJSON");var Hu=sA;var cA=Object.freeze(["get","delete","head","options","post","put","patch","purge","link","unlink","query"]),ku=cA;var tc=s((t,e)=>t!=null&&m.hasOwnProp(t,e)?t[e]:void 0,"own");function pA(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)}s(pA,"stringifySafely");var Nm={transitional:Yr,adapter:["xhr","http","fetch"],transformRequest:[s(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=tc(this,"formSerializer");if(i.indexOf("application/x-www-form-urlencoded")>-1)return Rm(e,p).toString();if((c=m.isFileList(e))||i.indexOf("multipart/form-data")>-1){let u=tc(this,"env"),l=u&&u.FormData;return Zr(c?{"files[]":e}:e,l&&new l,p)}}return n||r?(o.setContentType("application/json",!1),pA(e)):e},"transformRequest")],transformResponse:[s(function(e){let o=tc(this,"transitional")||Nm.transitional,i=o&&o.forcedJSONParsing,r=tc(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,tc(this,"parseReviver"))}catch(p){if(c)throw p.name==="SyntaxError"?R.from(p,R.ERR_BAD_RESPONSE,this,null,tc(this,"response")):p}}return e},"transformResponse")],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:oe.classes.FormData,Blob:oe.classes.Blob},validateStatus:s(function(e){return e>=200&&e<300},"validateStatus"),headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};m.forEach(ku,t=>{Nm.headers[t]={}});var oc=Nm;function ol(t,e){let o=this||oc,i=e||o,r=Oe.from(i.headers),n=i.data;return m.forEach(t,s(function(c){n=c.call(o,n,r.normalize(),e?e.status:void 0)},"transform")),r.normalize(),n}s(ol,"transformData");function il(t){return!!(t&&t.__CANCEL__)}s(il,"isCancel");var lA=class extends R{static{s(this,"CanceledError")}constructor(e,o,i){super(e??"canceled",R.ERR_CANCELED,o,i),this.name="CanceledError",this.__CANCEL__=!0}},Ko=lA;function wn(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))}s(wn,"settle");function wm(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}s(wm,"isAbsoluteURL");function Om(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(Om,"combineURLs");var uA=/[\t\n\r]/g;function nl(t){if(typeof t!="string")return t;let e=0;for(;e<t.length&&t.charCodeAt(e)<=32;)e++;return t.slice(e).replace(uA,"")}s(nl,"normalizeURLForProtocolCheck");var dA=/^https?:(?!\/\/)/i;function fA(t){return t&&t.replace(/(^|&)([^=&]*=)?[^&]+/g,(e,o,i="")=>`${o}${i}${Jp}`)}s(fA,"redactFragment");function mA(t){let e=t.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${Jp}@`),o=e.indexOf("#"),r=(o===-1?e:e.slice(0,o)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${Jp}`);return o===-1?r:`${r}#${fA(e.slice(o+1))}`}s(mA,"redactSensitiveURLParts");function gx(t,e){if(typeof t=="string"){let o=nl(t);if(dA.test(o))throw new R(`Invalid URL ${JSON.stringify(mA(o))}: missing "//" after protocol`,R.ERR_INVALID_URL,e)}}s(gx,"assertValidHttpProtocolURL");function Ka(t,e,o,i){gx(e,i);let r=!wm(e);return t&&(r||o===!1)?(gx(t,i),Om(t,e)):e}s(Ka,"buildFullPath");var hA={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};function vA(t){try{return new URL(t)}catch{return null}}s(vA,"parseUrl");function yx(t){var e=(typeof t=="string"?vA(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)||hA[o]||0,!gA(i,r)))return"";var n=Im(o+"_proxy")||Im("all_proxy");return n&&n.indexOf("://")===-1&&(n=o+"://"+n),n}s(yx,"getProxyForUrl");function gA(t,e){var o=Im("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(gA,"shouldProxy");function Im(t){return process.env[t.toLowerCase()]||process.env[t.toUpperCase()]||""}s(Im,"getEnv");var nh=ct(Vx(),1),rh=ct(require("http"),1),ah=ct(require("https"),1),E0=ct(require("http2"),1),P0=ct(require("util"),1),ih=require("path"),T0=ct(Qx(),1),$o=ct(require("zlib"),1);var ir="1.20.0";function is(t){let e=/^([-+\w]{1,25}):(?:\/\/)?/.exec(t);return e&&e[1]||""}s(is,"parseProtocol");var xF=/^([^,;/]+\/[^,;/]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;function Jm(t,e,o){let i=o&&o.Blob||oe.classes.Blob,r=is(t);if(e===void 0&&i&&(e=!0),r==="data"){t=r.length?t.slice(r.length+1):t;let n=xF.exec(t);if(!n)throw new R("Invalid URL",R.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 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)}s(Jm,"fromDataURI");var gi=ct(require("stream"),1);var SF=["content-type","content-length"];function ml(t,e,o){if(o!=="content-only"){t.set(e);return}Object.entries(e||{}).forEach(([i,r])=>{SF.includes(i.toLowerCase())&&t.set(i,r)})}s(ml,"setFormDataHeaders");var Zx=ct(require("stream"),1);var Xm=Symbol("internals"),CF=class extends Zx.default.Transform{static{s(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[Xm]={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[Xm];return o.onReadCallback&&o.onReadCallback(),super._read(e)}_transform(e,o,i){let r=this[Xm],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 C=Buffer.byteLength(y);r.bytesSeen+=C,r.bytes+=C,r.isCaptured&&this.emit("progress",r.bytesSeen),this.push(y)?process.nextTick(S):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(S)}},"pushChunk"),h=s((y,S)=>{let C=Buffer.byteLength(y),O=null,b=a,w,F=0;if(n){let I=Date.now();(!r.ts||(F=I-r.ts)>=c)&&(r.ts=I,w=u-r.bytes,r.bytes=w<0?-w:0,F=0),w=u-r.bytes}if(n){if(w<=0)return setTimeout(()=>{S(null,y)},c-F);w<b&&(b=w)}b&&C>b&&C-b>l&&(O=y.subarray(b),y=y.subarray(0,b)),d(y,O?()=>{process.nextTick(S,null,O)}:S)},"transformChunk");h(e,s(function y(S,C){if(S)return i(S);C?h(C,y):i(null)},"transformNextChunk"))}},Km=CF;var z0=require("events");var Wx=ct(require("util"),1),Jx=require("stream");var{asyncIterator:Yx}=Symbol,RF=s(async function*(t){t.stream?yield*t.stream():t.arrayBuffer?yield await t.arrayBuffer():t[Yx]?yield*t[Yx]():yield t},"readBlob"),Ju=RF;var NF=oe.ALPHABET.ALPHA_DIGIT+"-_",hl=typeof TextEncoder=="function"?new TextEncoder:new Wx.default.TextEncoder,ns=`\r
|
|
29
|
-
`,wF=hl.encode(ns),OF=2,IF=class{static{s(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)}"`:""}${ns}`;if(r)o=hl.encode(String(o).replace(/\r?\n|\r\n?/g,ns));else{let a=String(o.type||"application/octet-stream").replace(/[\r\n]/g,"");n+=`Content-Type: ${a}${ns}`}this.headers=hl.encode(n+ns),this.contentLength=r?o.byteLength:o.size,this.size=this.headers.byteLength+this.contentLength+OF,this.name=e,this.value=o}async*encode(){yield this.headers;let{value:e}=this;m.isTypedArray(e)?yield e:yield*Ju(e),yield wF}static escapeName(e){return String(e).replace(/[\r\n"]/g,o=>({"\r":"%0D","\n":"%0A",'"':"%22"})[o])}},AF=s((t,e,o)=>{let{tag:i="form-data-boundary",size:r=25,boundary:n=i+"-"+oe.generateString(r,NF)}=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 a=hl.encode("--"+n+ns),c=hl.encode("--"+n+"--"+ns),p=c.byteLength,u=Array.from(t.entries()).map(([d,h])=>{let y=new IF(d,h);return p+=y.size,y});p+=a.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),Jx.Readable.from((async function*(){for(let d of u)yield a,yield*d.encode();yield c})())},"formDataToStream"),Xx=AF;var Kx=ct(require("stream"),1);var FF=class extends Kx.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)}},$x=FF;var e0=ct(require("http2"),1),t0=ct(require("util"),1);var DF=class{static{s(this,"Http2Sessions")}constructor(){this.sessions=Object.create(null)}getSession(e,o){o=Object.assign(Object.create(null),{sessionTimeout:1e3},o);let i=this.sessions[e];if(i){let d=i.length;for(let h=0;h<d;h++){let[y,S]=i[h];if(!y.destroyed&&!y.closed&&t0.default.isDeepStrictEqual(S,o))return y}}let r=e0.default.connect(e,o),n,a,c=s(()=>{if(n)return;n=!0,a&&(clearTimeout(a),a=null);let d=i,h=d.length,y=h;for(;y--;)if(d[y][0]===r){h===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 h=p.apply(this,arguments);return d++,a&&(clearTimeout(a),a=null),h.once("close",()=>{--d||(a=setTimeout(()=>{a=null,c()},u))}),h}}r.once("close",c),r.once("error",c);let l=[r,o];return i?i.push(l):i=this.sessions[e]=[l],r}},o0=DF;var EF=s((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"),i0=EF;var PF=new Set(["localhost","0.0.0.0"]),a0=s(t=>{let e=t.length;for(;e&&t.charCodeAt(e-1)===46;)e--;return e===t.length?t:t.slice(0,e)},"trimTrailingDots"),s0=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"),$m=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"),c0=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=a0(e),!/^[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($m);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=$m(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($m);return u.some(l=>l===null||l<0||l>255)?t:[...u,...p].join(".")},"normalizeIPAddress"),eh=s(t=>/^0{1,4}$/.test(t),"isIPv6ZeroGroup"),TF=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(eh)&&a.every(eh)}let o=t.split(":");return o.length===8&&o.every(eh)},"isIPv6Unspecified"),zF=s(t=>{if(t==="::1")return!0;let e=t.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(e)return s0(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"),n0=s(t=>t?PF.has(t)||s0(t)||TF(t)?!0:zF(t):!1,"isLoopback"),jF={http:80,https:443,ws:80,wss:443,ftp:21},BF=s(t=>{let e=t,o=0;if(e.charAt(0)==="["){let n=e.indexOf("]");if(n!==-1){let a=e.slice(1,n),c=e.slice(n+1);return c.charAt(0)===":"&&/^\d+$/.test(c.slice(1))&&(o=Number.parseInt(c.slice(1),10)),[a,o]}}let i=e.indexOf(":"),r=e.lastIndexOf(":");return i!==-1&&i===r&&/^\d+$/.test(e.slice(r+1))&&(o=Number.parseInt(e.slice(r+1),10),e=e.slice(0,r)),[e,o]},"parseNoProxyEntry"),MF=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,LF=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i,p0=s(t=>{if(typeof t!="string"||t.indexOf(":")===-1)return t;let e=t.match(MF);if(e)return e[1];let o=t.match(LF);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"),VF=/^(?:0|[1-9]\d{0,2})$/,l0=s(t=>{let e=t.split(".");return e.length===4&&e.every(o=>VF.test(o)&&Number(o)<=255)?e.map(Number):null},"ipv4ToBytes"),_F=/^[0-9a-f]{1,4}$/i,UF=s(t=>{let e=t.split("::");if(e.length>2)return null;let o=e[0]?e[0].split(":"):[];if(e.length===2){let i=e[1]?e[1].split(":"):[],r=8-o.length-i.length;if(r<1)return null;o.push(...new Array(r).fill("0"),...i)}return o.length!==8||o.some(i=>!_F.test(i))?null:o.flatMap(i=>{let r=Number.parseInt(i,16);return[r>>8&255,r&255]})},"ipv6ToBytes"),u0=s(t=>typeof t!="string"||!t?null:t.indexOf(":")!==-1?UF(t):l0(t),"ipToBytes"),r0=s(t=>{if(!t)return t;t.charAt(0)==="["&&t.charAt(t.length-1)==="]"&&(t=t.slice(1,-1));let e=a0(t),o=c0(e);return o!==e?o:p0(e)},"normalizeNoProxyHost"),qF=s(t=>{let e=t,o=e.charAt(0)==="[",i=e.charAt(e.length-1)==="]",r=e.includes("[")||e.includes("]");if(o||i){if(!o||!i||(e=e.slice(1,-1),e.indexOf(":")===-1||e.includes("[")||e.includes("]")))return null}else if(r)return null;if(!e||e.charAt(e.length-1)===".")return null;let n=e.indexOf(":")!==-1;if(n)try{e=new URL(`http://[${e}]/`).hostname.slice(1,-1)}catch{return null}else if(e=c0(e),!l0(e))return null;return{normalized:p0(e),wasIPv6:n}},"normalizeCidrBase"),HF=/^(.+)\/(0|[1-9]\d{0,2})$/,kF=s(t=>{if(t.indexOf("/")===-1)return;let e=HF.exec(t);if(!e)return null;let o=Number(e[2]),i=qF(e[1]);if(!i)return null;let{normalized:r,wasIPv6:n}=i;if(n&&r.indexOf(":")===-1){if(o<96)return null;o-=96}let a=u0(r);return!a||o>a.length*8?null:{bytes:a,prefix:o}},"parseCidrEntry"),GF=s((t,e,o)=>{let i=o>>3;for(let n=0;n<i;n++)if(t[n]!==e[n])return!1;let r=o&7;if(r){let n=255<<8-r&255;if((t[i]&n)!==(e[i]&n))return!1}return!0},"isInSubnet");function th(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)||jF[e.protocol.split(":",1)[0]]||0,r=r0(e.hostname.toLowerCase()),n=u0(r);return o.split(/[\s,]+/).some(a=>{if(!a)return!1;if(a==="*")return!0;let c=kF(a);if(c!==void 0)return c!==null&&!!n&&n.length===c.bytes.length&&GF(n,c.bytes,c.prefix);let[p,u]=BF(a);return p=r0(p),!p||u&&u!==i?!1:(p.charAt(0)==="*"&&(p=p.slice(1)),p.charAt(0)==="."?r.endsWith(p):r===p||n0(r)&&n0(p))})}s(th,"shouldBypassProxy");function QF(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,h=0;for(;d!==r;)h+=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(h*1e3/y):void 0},"push")}s(QF,"speedometer");var d0=QF;function ZF(t,e){let o=0,i=1e3/e,r,n,a=s((l,d=Date.now())=>{o=d,r=null,n&&(clearTimeout(n),n=null),t(...l)},"invoke");return[s((...l)=>{let d=Date.now(),h=d-o;h>=i?a(l,d):(r=l,n||(n=setTimeout(()=>{n=null,a(r)},i-h)))},"throttled"),s(()=>r&&a(r),"flush"),s((...l)=>a(l),"flushWith")]}s(ZF,"throttle");var f0=ZF;var nr=s((t,e,o=3)=>{let i=0,r=d0(50,250);return f0(n=>{if(!n||!m.isNumber(n.loaded))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"),sc=s((t,e)=>{let o=t!=null;return[i=>e[0]({lengthComputable:o,total:t,loaded:i}),e[1]]},"progressEventDecorator"),cc=s((t,e=m.asap)=>(...o)=>e(()=>t(...o)),"asyncDecorator");var m0=s(t=>t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102,"isHexDigit"),v0=s((t,e,o)=>e+2<o&&m0(t.charCodeAt(e+1))&&m0(t.charCodeAt(e+2)),"isPercentEncodedByte"),h0=s(t=>t<=57?t-48:(t&223)-55,"hexValue"),YF=s(t=>t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||t===43||t===47||t===45||t===95,"isBase64Char"),WF=s(t=>t===9||t===10||t===12||t===13||t===32,"isBase64Whitespace"),JF=s(t=>{let e=Math.floor(t/4),o=t%4;return e*3+(o===2?1:o===3?2:0)},"base64Bytes"),g0=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"),XF=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&&v0(t,n,e)&&(a=h0(t.charCodeAt(n+1))*16+h0(t.charCodeAt(n+2)),n+=2),!WF(a)){if(a===61){i++;continue}if(!YF(a)||i>0){r=!0;continue}o++}}return r||i>2||i>0&&(o+i)%4!==0||o%4===1?g0(t):JF(o)},"estimatePercentDecodedBase64Bytes"),y0=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&&v0(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 oh(t){let e=typeof t=="string"?t.indexOf("#"):-1;return y0(e===-1?t:t.slice(0,e),XF)}s(oh,"estimateDataURLDecodedBytes");function b0(t){return y0(t,g0)}s(b0,"estimateDataURLBufferAllocation");var x0={flush:$o.default.constants.Z_SYNC_FLUSH,finishFlush:$o.default.constants.Z_SYNC_FLUSH},KF={flush:$o.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:$o.default.constants.BROTLI_OPERATION_FLUSH},$F={flush:$o.default.constants.ZSTD_e_flush,finishFlush:$o.default.constants.ZSTD_e_flush},j0=m.isFunction($o.default.createBrotliDecompress),B0=m.isFunction($o.default.createZstdDecompress),M0="gzip, compress, deflate"+(j0?", br":""),eD=M0+(B0?", zstd":""),S0=typeof process<"u"&&process.nextTick?process.nextTick.bind(process):m.asap,{http:tD,https:oD}=T0.default,sh=/https:?/,C0=Symbol("axios.http.socketListener"),Xu=Symbol("axios.http.currentReq");function iD(t){let e=this[Xu];e&&!e.destroyed&&e.destroy(t)}s(iD,"handleSocketError");var L0=Symbol("axios.http.installedTunnel"),nD=new Map,R0=new WeakMap,N0={22:21,24:5};function rD(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:N0[e]!=null&&o>=N0[e]}s(rD,"isNodeNativeEnvProxySupported");function w0(t,e=process.versions&&process.versions.node){if(!rD(e))return!1;let o=t&&t.options;return!!(o&&m.hasOwnProp(o,"proxyEnv")&&o.proxyEnv!=null)}s(w0,"isNodeEnvProxyEnabled");function aD(t,e,o){return sh.test(t.protocol)?o||ah.default.globalAgent:e||rh.default.globalAgent}s(aD,"getProxyEnvAgent");function sD(t,e){let o=t.protocol+"//"+t.hostname+":"+(t.port||"")+"#"+(t.auth||""),i=e?R0.get(e)||R0.set(e,new Map).get(e):nD,r=i.get(o);if(r)return r;let n=e&&e.options?{...e.options,...t}:t;if(r=new nh.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[L0]=!0,i.set(o,r),r}s(sD,"getTunnelingAgent");var O0=oe.protocols.map(t=>t+":"),I0=s(t=>{if(!m.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},"decodeURIComponentSafe"),A0=s((t,[e,o])=>(t.on("end",o).on("error",o),e),"flushOnFinish"),cD=new o0;function pD(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(pD,"dispatchBeforeRedirect");function lD(t,e){t&&Object.keys(t).forEach(o=>{e.has(o.toLowerCase())&&delete t[o]})}s(lD,"stripMatchingHeaders");function uD(t,e){if(!e)return!1;try{return new URL(e.url).origin===new URL(t.href).origin}catch{return!1}}s(uD,"isSameOriginRedirect");function V0(t,e,o,i,r,n,a=!0){let c=e,p=aD(t,n,r);if(!c&&c!==!1&&a&&!w0(p)){let u=yx(o);u&&(th(o)||(c=new URL(u)))}if(i&&t.headers)for(let u of Object.keys(t.headers))u.toLowerCase()==="proxy-authorization"&&delete t.headers[u];if(i&&t.agent&&t.agent[L0]&&(t.agent=void 0),c){let u=c instanceof URL,l=s(C=>u||m.hasOwnProp(c,C)?c[C]:void 0,"readProxyField"),d=l("username"),h=l("password"),y=m.hasOwnProp(c,"auth")?c.auth:void 0;if(d&&(y=(d||"")+":"+(h||"")),y){let C=typeof y=="object",O=C&&m.hasOwnProp(y,"username")?y.username:void 0,b=C&&m.hasOwnProp(y,"password")?y.password:void 0;if(!!(O||b))y=(O||"")+":"+(b||"");else if(C)throw new R("Invalid proxy authorization",R.ERR_BAD_OPTION,{proxy:c})}if(sh.test(t.protocol)){if(!(r instanceof nh.default)){let C=l("hostname")||l("host"),O=l("port"),b=l("protocol"),w=b?b.includes(":")?b:`${b}:`:"http:",F=C&&C.includes(":")&&!C.startsWith("[")?`[${C}]`:C,I=new URL(`${w}//${F}${O?":"+O:""}`),q={protocol:I.protocol,hostname:I.hostname.replace(/^\[|\]$/g,""),port:I.port,auth:y&&typeof y=="string"?y:void 0};I.protocol==="https:"&&(q.ALPNProtocols=["http/1.1"]);let Z=sD(q,r);t.agent=Z,t.agents&&(t.agents.https=Z)}}else{if(y){let w=Buffer.from(y,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+w}let C=!1;for(let w of Object.keys(t.headers))if(w.toLowerCase()==="host"){C=!0;break}C||(t.headers.host=t.hostname+(t.port?":"+t.port:""));let O=l("hostname")||l("host");t.hostname=O,t.host=O,t.port=l("port"),t.path=o;let b=l("protocol");b&&(t.protocol=b.includes(":")?b:`${b}:`)}}return t.beforeRedirects.proxy=s(function(l){V0(l,e,l.href,!0,r,n,a)},"beforeRedirect"),!!(c||e!==!1&&a&&w0(p))}s(V0,"setProxy");var dD=typeof process<"u"&&m.kindOf(process)==="process",fD=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"),mD=s(({address:t,family:e})=>{if(!m.isString(t))throw new R("address must be a string",R.ERR_BAD_OPTION_VALUE);return{address:t,family:e||(t.indexOf(".")<0?6:4)}},"resolveFamily"),F0=s((t,e)=>mD(m.isObject(t)?t:{address:t,family:e}),"buildAddressEntry"),D0=new WeakMap,hD=s(t=>{let e=D0.get(t);if(e)return e;let o=i0(t,i=>m.isArray(i)?i:[i]);return e=s((i,r,n)=>{o(i,r,(a,c,p)=>{if(a)return n(a);let u;try{u=m.isArray(c)?c.map(l=>F0(l)):[F0(c,p)]}catch(l){return n(l)}r.all?n(a,u):n(a,u[0].address,u[0].family)})},"normalized"),D0.set(t,e),e},"normalizeLookup"),vD={request(t,e){let o=t.protocol+"//"+t.hostname+":"+(t.port||(t.protocol==="https:"?443:80)),{http2Options:i,headers:r}=t,n=cD.getSession(o,i),{HTTP2_HEADER_SCHEME:a,HTTP2_HEADER_METHOD:c,HTTP2_HEADER_PATH:p,HTTP2_HEADER_STATUS:u}=E0.default.constants,l={[a]:t.protocol.replace(":",""),[c]:t.method,[p]:t.path};m.forEach(r,(h,y)=>{y.charAt(0)!==":"&&(l[y]=h)});let d=n.request(l);return d.once("response",h=>{let y=d;h=Object.assign({},h);let S=h[u];delete h[u],y.headers=h,y.statusCode=+S,e(y)}),d}},_0=dD&&s(function(e){return fD(s(async function(i,r,n){let a=s(P=>m.getSafeProp(e,P),"own"),c=a("transitional")||Yr,p=a("data"),u=a("lookup"),l=a("family"),d=a("httpVersion");d===void 0&&(d=1);let h=d,y=a("http2Options"),S=a("httpAgent"),C=a("httpsAgent"),O=a("proxy"),b=a("responseType"),w=a("responseEncoding"),F=a("socketPath"),I=a("method").toUpperCase(),q=a("maxRedirects"),Z=a("maxBodyLength"),W=a("maxContentLength"),St=a("decompress"),di,Xo=!1,ee,tr;try{d=+d}catch{throw new R("Invalid protocol version: value is not a number",R.ERR_BAD_OPTION_VALUE,e)}if(Number.isNaN(d))throw new R(`Invalid protocol version: '${h}' is not a number`,R.ERR_BAD_OPTION_VALUE,e);if(d!==1&&d!==2)throw new R(`Unsupported protocol version '${d}'`,R.ERR_BAD_OPTION_VALUE,e);let Ha=d===2;u&&(u=hD(u));let oo=new z0.EventEmitter;function Lo(P){try{oo.emit("abort",!P||P.type?new Ko(null,e,ee):P)}catch{}}s(Lo,"abort");function qs(){tr&&(clearTimeout(tr),tr=null)}s(qs,"clearConnectPhaseTimer");function ka(){let P=a("timeout"),z=P?"timeout of "+P+"ms exceeded":"timeout exceeded",ae=a("timeoutErrorMessage");return ae&&(z=ae),new R(z,c.clarifyTimeoutError?R.ETIMEDOUT:R.ECONNABORTED,e,ee)}s(ka,"createTimeoutError"),oo.once("abort",r);let Ga=s(()=>{qs(),e.cancelToken&&e.cancelToken.unsubscribe(Lo),e.signal&&e.signal.removeEventListener("abort",Lo),oo.removeAllListeners()},"onFinished");(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(Lo),e.signal&&(e.signal.aborted?Lo():e.signal.addEventListener("abort",Lo))),n((P,z)=>{if(di=!0,qs(),z){Xo=!0,Ga();return}let{data:ae}=P;if(ae instanceof gi.default.Readable||ae instanceof gi.default.Duplex){let kt=gi.default.finished(ae,()=>{kt(),Ga()})}else Ga()});let Nu=Ka(a("baseURL"),a("url"),a("allowAbsoluteUrls"),e),wu=F?"http://localhost":oe.hasBrowserEnv?oe.origin:void 0,je=new URL(Nu,wu),Ke=je.protocol||O0[0];if(Ke==="data:"){if(W>-1){let z=String(a("url")||Nu||"");if(b0(z)>W)return r(new R("maxContentLength size of "+W+" exceeded",R.ERR_BAD_RESPONSE,e))}let P;if(I!=="GET")return wn(i,r,{status:405,statusText:"method not allowed",headers:{},config:e});try{P=Jm(a("url"),b==="blob",{Blob:e.env&&e.env.Blob})}catch(z){throw R.from(z,R.ERR_BAD_REQUEST,e)}return b==="text"?(P=P.toString(w),(!w||w==="utf8")&&(P=m.stripBOM(P))):b==="stream"&&(P=gi.default.Readable.from(P)),wn(i,r,{data:P,status:200,statusText:"OK",headers:new Oe,config:e})}if(O0.indexOf(Ke)===-1)return r(new R("Unsupported protocol "+Ke,R.ERR_BAD_REQUEST,e));let st=Oe.from(e.headers).normalize();st.set("User-Agent","axios/"+ir,!1);let{onUploadProgress:Rn,onDownloadProgress:or}=e,Qa=e.maxRate,ie,Ht;if(m.isSpecCompliantForm(p)){let P=st.getContentType(/boundary=([-_\w\d]{10,70})/i);p=Xx(p,z=>{st.set(z)},{tag:`axios-${ir}-boundary`,boundary:P&&P[1]||void 0})}else if(m.isFormData(p)&&m.isFunction(p.getHeaders)&&p.getHeaders!==Object.prototype.getHeaders){if(ml(st,p.getHeaders(),a("formDataHeaderPolicy")),!st.hasContentLength())try{let P=await P0.default.promisify(p.getLength).call(p);Number.isFinite(P)&&P>=0&&st.setContentLength(P)}catch{}}else if(m.isBlob(p)||m.isFile(p))p.size&&st.setContentType(p.type||"application/octet-stream"),st.setContentLength(p.size||0),p=gi.default.Readable.from(Ju(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(st.setContentLength(p.length,!1),Z>-1&&p.length>Z)return r(new R("Request body larger than maxBodyLength limit",R.ERR_BAD_REQUEST,e))}let Hs=m.toFiniteNumber(st.getContentLength());m.isArray(Qa)?(ie=Qa[0],Ht=Qa[1]):ie=Ht=Qa,p&&(Rn||ie)&&(m.isStream(p)||(p=gi.default.Readable.from(p,{objectMode:!1})),p=gi.default.pipeline([p,new Km({maxRate:m.toFiniteNumber(ie)})],m.noop),Rn&&p.on("progress",A0(p,sc(Hs,nr(cc(Rn,S0),!1,3)))));let Nn,Bp=a("auth");if(Bp){let P=m.getSafeProp(Bp,"username")||"",z=m.getSafeProp(Bp,"password")||"";Nn=P+":"+z}if(!Nn&&(je.username||je.password)){let P=I0(je.username),z=I0(je.password);Nn=P+":"+z}Nn&&st.delete("authorization");let Vo;try{Vo=Xa(je.pathname+je.search,a("params"),a("paramsSerializer")).replace(/^\?/,"")}catch(P){return r(R.from(P,R.ERR_BAD_REQUEST,e,null,null,{url:a("url"),exists:!0}))}st.set("Accept-Encoding",m.hasOwnProp(c,"advertiseZstdAcceptEncoding")&&c.advertiseZstdAcceptEncoding===!0?eD:M0,!1),Ha&&u&&(y=Object.assign(Object.create(null),y,{lookup:u}));let fe=Object.assign(Object.create(null),{path:Vo,method:I,headers:Ws(st),agents:{http:S,https:C},auth:Nn,protocol:Ke,family:l,beforeRedirect:pD,beforeRedirects:Object.create(null),http2Options:y,createConnection:void 0});!m.isUndefined(u)&&(fe.lookup=u);let fi=!1;if(F){if(typeof F!="string")return r(new R("socketPath must be a string",R.ERR_BAD_OPTION_VALUE,e));let P=a("allowedSocketPaths");if(P!=null){let z=Array.isArray(P)?P:[P],ae=(0,ih.resolve)(F);if(!z.some(se=>typeof se=="string"&&(0,ih.resolve)(se)===ae))return r(new R(`socketPath "${F}" is not permitted by allowedSocketPaths`,R.ERR_BAD_OPTION_VALUE,e))}fe.socketPath=F}else fe.hostname=je.hostname.startsWith("[")?je.hostname.slice(1,-1):je.hostname,fe.port=je.port,fi=V0(fe,O,Ke+"//"+je.hostname+(je.port?":"+je.port:"")+fe.path,!1,C,S,!Ha);let kr,ks=!1,mi=!1,k=sh.test(fe.protocol);if(fe.agent==null&&(fe.agent=k?C:S),Ha){if(fi)return r(new R("HTTP/2 requests with a proxy are not supported",R.ERR_NOT_SUPPORT,e));kr=vD}else{let P=a("transport");if(P)kr=P;else if(q===0)kr=k?ah.default:rh.default,ks=!0;else{mi=!0,fe.sensitiveHeaders=[],q&&(fe.maxRedirects=q);let z=a("beforeRedirect");if(z&&(fe.beforeRedirects.config=z),Nn){let kt=je.origin,se=Nn;fe.beforeRedirects.auth=s(function(Uo){try{new URL(Uo.href).origin===kt&&(Uo.auth=se)}catch{}},"beforeRedirectAuth")}let ae=a("sensitiveHeaders");if(ae!=null){if(!m.isArray(ae))return r(new R("sensitiveHeaders must be an array of strings",R.ERR_BAD_OPTION_VALUE,e));let kt=new Set;for(let se of ae){if(!m.isString(se))return r(new R("sensitiveHeaders must be an array of strings",R.ERR_BAD_OPTION_VALUE,e));kt.add(se.toLowerCase())}kt.size&&(fe.sensitiveHeaders=Array.from(kt),fe.beforeRedirects.sensitiveHeaders=s(function(_o,Uo){uD(_o,Uo)||lD(_o.headers,kt)},"beforeRedirectSensitiveHeaders"))}kr=k?oD:tD}}Z>-1?fe.maxBodyLength=Z:fe.maxBodyLength=1/0,fe.insecureHTTPParser=!!a("insecureHTTPParser"),ee=kr.request(fe,s(function(z){if(qs(),ee.destroyed)return;let ae=[z],kt=m.toFiniteNumber(z.headers["content-length"]);if(or||Ht){let Gt=new Km({maxRate:m.toFiniteNumber(Ht)});or&&Gt.on("progress",A0(Gt,sc(kt,nr(cc(or,S0),!0,3)))),ae.push(Gt)}let se=z,_o=z.req||ee;if(St!==!1&&z.headers["content-encoding"])switch((I==="HEAD"||z.statusCode===204)&&delete z.headers["content-encoding"],(z.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":ae.push($o.default.createUnzip(x0)),delete z.headers["content-encoding"];break;case"deflate":ae.push(new $x),ae.push($o.default.createUnzip(x0)),delete z.headers["content-encoding"];break;case"br":j0&&(ae.push($o.default.createBrotliDecompress(KF)),delete z.headers["content-encoding"]);break;case"zstd":B0&&(ae.push($o.default.createZstdDecompress($F)),delete z.headers["content-encoding"]);break}se=ae.length>1?gi.default.pipeline(ae,m.noop):ae[0];let Uo={status:z.statusCode,statusText:z.statusMessage,headers:new Oe(z.headers),config:e,request:_o};if(b==="stream"){if(W>-1){let Gt=W,Ou=se;async function*Mp(){let At=0;for await(let wg of Ou){if(At+=wg.length,At>Gt)throw new R("maxContentLength size of "+Gt+" exceeded",R.ERR_BAD_RESPONSE,e,_o);yield wg}}s(Mp,"enforceMaxContentLength"),se=gi.default.Readable.from(Mp(),{objectMode:!1})}Uo.data=se,wn(i,r,Uo)}else{let Gt=[],Ou=0;se.on("data",s(function(At){Gt.push(At),Ou+=At.length,W>-1&&Ou>W&&(Xo=!0,se.destroy(),Lo(new R("maxContentLength size of "+W+" exceeded",R.ERR_BAD_RESPONSE,e,_o)))},"handleStreamData")),se.on("aborted",s(function(){if(Xo)return;let At=new R("stream has been aborted",R.ERR_BAD_RESPONSE,e,_o,Uo);se.destroy(At),r(At)},"handlerStreamAborted")),se.on("error",s(function(At){Xo||r(R.from(At,null,e,_o,Uo))},"handleStreamError")),se.on("end",s(function(){try{let At=Gt.length===1?Gt[0]:Buffer.concat(Gt);b!=="arraybuffer"&&(At=At.toString(w),(!w||w==="utf8")&&(At=m.stripBOM(At))),Uo.data=At}catch(At){return r(R.from(At,null,e,Uo.request,Uo))}wn(i,r,Uo)},"handleStreamEnd"))}oo.once("abort",Gt=>{se.destroyed||(se.emit("error",Gt),se.destroy())})},"handleResponse")),oo.once("abort",P=>{ee.close?ee.close():ee.destroy(P)}),ee.on("error",s(function(z){r(R.from(z,null,e,ee))},"handleRequestError"));let ft=new Set;if(ee.on("socket",s(function(z){typeof z.setKeepAlive=="function"&&z.setKeepAlive(!0,1e3*60),z[C0]||(z.on("error",iD),z[C0]=!0),z[Xu]=ee,ft.add(z)},"handleRequestSocket")),ee.once("close",s(function(){qs();for(let z of ft)z[Xu]===ee&&(z[Xu]=null);ft.clear()},"clearCurrentReq")),a("timeout")){let P=parseInt(a("timeout"),10);if(Number.isNaN(P)){Lo(new R("error trying to parse `config.timeout` to int",R.ERR_BAD_OPTION_VALUE,e,ee));return}let z=s(function(){di||Lo(ka())},"handleTimeout");ks&&P>0&&(tr=setTimeout(z,P)),ee.setTimeout(P,z)}else ee.setTimeout(0);if(m.isStream(p)){let P=!1,z=!1;p.on("end",()=>{P=!0}),p.once("error",kt=>{z=!0,ee.destroy(kt)}),p.on("close",()=>{!P&&!z&&Lo(new Ko("Request stream has been aborted",e,ee))});let ae=p;if(Z>-1&&!mi){let kt=Z,se=0;ae=gi.default.pipeline([p,new gi.default.Transform({transform(_o,Uo,Gt){if(se+=_o.length,se>kt)return Gt(new R("Request body larger than maxBodyLength limit",R.ERR_BAD_REQUEST,e,ee));Gt(null,_o)}})],m.noop),ae.on("error",_o=>{ee.destroyed||ee.destroy(_o)})}ae.pipe(ee)}else p&&ee.write(p),ee.end()},"dispatchHttpRequest"))},"httpAdapter");var U0=oe.hasStandardBrowserEnv?((t,e)=>o=>(o=new URL(o,oe.origin),t.protocol===o.protocol&&t.host===o.host&&(e||t.port===o.port)))(new URL(oe.origin),oe.navigator&&/(msie|trident)/i.test(oe.navigator.userAgent)):()=>!0;var q0=oe.hasStandardBrowserEnv?{write(t,e,o,i,r,n,a){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(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 H0=s(t=>t instanceof Oe?{...t}:t,"headersToObject"),gD=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 qi(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,h,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}s(i,"getMergedValue");function r(l,d,h,y){if(m.isUndefined(d)){if(!m.isUndefined(l))return i(void 0,l,h,y)}else return i(l,d,h,y)}s(r,"mergeDeepProperties");function n(l,d){if(!m.isUndefined(d))return i(void 0,d)}s(n,"valueFromConfig2");function a(l,d){if(m.isUndefined(d)){if(!m.isUndefined(l))return i(void 0,l)}else return i(void 0,d)}s(a,"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 h=m.hasOwnProp(t,"transitional")?t.transitional:void 0;if(m.isPlainObject(h)&&m.hasOwnProp(h,l))return h[l]}s(c,"getMergedTransitionalOption");function p(l,d,h){if(m.hasOwnProp(e,h))return i(l,d);if(m.hasOwnProp(t,h))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,timeoutErrorMessage: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,h)=>r(H0(l),H0(d),h,!0),"headers")};return m.forEach(gD({...t,...e}),s(function(d){if(d==="__proto__"||d==="constructor"||d==="prototype")return;let h=m.hasOwnProp(u,d)?u[d]:r,y=m.hasOwnProp(t,d)?t[d]:void 0,S=m.hasOwnProp(e,d)?e[d]:void 0,C=h(y,S,d);m.isUndefined(C)&&h!==p||(o[d]=C)},"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}s(qi,"mergeConfig");var yD=s(t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,o)=>String.fromCharCode(parseInt(o,16))),"encodeUTF8");function bD(t){let e=qi({},t),o=s(h=>m.hasOwnProp(e,h)?e[h]: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=Oe.from(c),e.url=Xa(Ka(u,d,l,e),o("params"),o("paramsSerializer")),p){let h=m.getSafeProp(p,"username")||"",y=m.getSafeProp(p,"password")||"";try{c.set("Authorization","Basic "+btoa(h+":"+(y?yD(y):"")))}catch(S){throw R.from(S,R.ERR_BAD_OPTION_VALUE,t)}}if(m.isFormData(i)){let h=m.getSafeProp(i,"getHeaders");oe.hasStandardBrowserEnv||oe.hasStandardBrowserWebWorkerEnv||m.isReactNative(i)?c.setContentType(void 0):m.isFunction(h)&&ml(c,h.call(i),o("formDataHeaderPolicy"))}if(oe.hasStandardBrowserEnv&&(m.isFunction(r)&&(r=r(e)),r===!0||r==null&&U0(e.url))){let y=n&&a&&q0.read(a);y&&c.set(n,y)}return e}s(bD,"resolveConfig");var Ku=bD;var xD=typeof XMLHttpRequest<"u",k0=xD&&function(t){return new Promise(s(function(o,i){let r=Ku(t),n=r.data,a=Oe.from(r.headers).normalize(),{responseType:c,onUploadProgress:p,onDownloadProgress:u}=r,l,d,h,y,S,C;function O(){y&&y(),S&&S(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener("abort",l)}s(O,"done");let b=new XMLHttpRequest;b.open(r.method.toUpperCase(),r.url,!0),b.timeout=r.timeout;function w(I){if(!b)return;if(b.status===0&&(is(nl(r.url))||is(oe.origin))!=="file"&&!(b.responseURL&&b.responseURL.startsWith("file:"))){i(new R("Request aborted",R.ECONNABORTED,t,b)),O(),b=null;return}try{I?C&&C(I):S&&S()}catch(St){setTimeout(()=>{throw St})}if(!b)return;let q=Oe.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),W={data:!c||c==="text"||c==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:q,config:t,request:b};wn(s(function(di){o(di),O()},"_resolve"),s(function(di){i(di),O()},"_reject"),W),b=null}s(w,"onloadend"),"onloadend"in b?b.onloadend=w:b.onreadystatechange=s(function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.startsWith("file:"))||setTimeout(w)},"handleLoad"),b.onabort=s(function(){b&&(i(new R("Request aborted",R.ECONNABORTED,t,b)),O(),b=null)},"handleAbort"),b.onerror=s(function(q){let Z=q&&q.message?q.message:"Network Error",W=new R(Z,R.ERR_NETWORK,t,b);W.event=q||null,i(W),O(),b=null},"handleError"),b.ontimeout=s(function(){let q=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded",Z=r.transitional||Yr;r.timeoutErrorMessage&&(q=r.timeoutErrorMessage),i(new R(q,Z.clarifyTimeoutError?R.ETIMEDOUT:R.ECONNABORTED,t,b)),O(),b=null},"handleTimeout"),n===void 0&&a.setContentType(null),"setRequestHeader"in b&&m.forEach(Ws(a),s(function(q,Z){b.setRequestHeader(Z,q)},"setRequestHeader")),m.isUndefined(r.withCredentials)||(b.withCredentials=!!r.withCredentials),c&&c!=="json"&&(b.responseType=r.responseType),u&&([h,S,C]=nr(u,!0),b.addEventListener("progress",h)),p&&b.upload&&([d,y]=nr(p),b.upload.addEventListener("progress",d),b.upload.addEventListener("loadend",y)),(r.cancelToken||r.signal)&&(l=s(I=>{b&&(i(!I||I.type?new Ko(null,t,b):I),b.abort(),O(),b=null)},"onCanceled"),r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));let F=is(r.url);if(F&&!oe.protocols.includes(F)){i(new R("Unsupported protocol "+F+":",R.ERR_BAD_REQUEST,t)),O();return}b.send(n||null)},"dispatchXhrRequest"))};var SD=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 R?u:new Ko(u instanceof Error?u.message:u))}},"onabort"),n=e&&setTimeout(()=>{n=null,r(new R(`timeout of ${e}ms exceeded`,R.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=()=>m.asap(a),c},"composeSignals"),G0=SD;var CD=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"),RD=s(async function*(t,e){for await(let o of ND(t))yield*CD(o,e)},"readBytes"),ND=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"),ch=s((t,e,o,i)=>{let r=RD(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 h=n+=d;o(h)}p.enqueue(new Uint8Array(l))}catch(u){throw c(u),u}},cancel(p){return c(p),r.return()}},{highWaterMark:2})},"trackStream");var Q0=64*1024,wD={cache:"default",redirect:"follow",referrer:"about:client",referrerPolicy:"",mode:"cors",integrity:"",keepalive:!1,priority:"auto",window:null},{isFunction:$u}=m,OD=s(t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,o)=>String.fromCharCode(parseInt(o,16))),"encodeUTF8"),Z0=s(t=>{if(!m.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},"decodeURIComponentSafe"),Y0=s((t,...e)=>{try{return!!t(...e)}catch{return!1}},"test"),ID=s(t=>{let e=t.indexOf("://"),o=t;return e!==-1&&(o=o.slice(e+3)),o.includes("@")||o.includes(":")},"maybeWithAuthCredentials"),AD=s(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:a}=t,c=r?$u(r):typeof fetch=="function",p=$u(n),u=$u(a);if(!c)return!1;let l=c&&$u(o),d=c&&(typeof i=="function"?(b=>w=>b.encode(w))(new i):async b=>new Uint8Array(await new n(b).arrayBuffer())),h=p&&l&&Y0(()=>{let b=!1,w=new n(oe.origin,{body:new o,method:"POST",get duplex(){return b=!0,"half"}}),F=w.headers.has("Content-Type");return w.body!=null&&w.body.cancel(),b&&!F}),y=u&&l&&Y0(()=>m.isReadableStream(new a("").body)),S={stream:y&&(b=>b.body)};c&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!S[b]&&(S[b]=(w,F)=>{let I=w&&w[b];if(I)return I.call(w);throw new R(`Response type '${b}' is not supported`,R.ERR_NOT_SUPPORT,F)})});let C=s(async b=>{if(b==null)return 0;if(m.isBlob(b))return b.size;if(m.isSpecCompliantForm(b))return(await new n(oe.origin,{method:"POST",body:b}).arrayBuffer()).byteLength;if(m.isArrayBufferView(b)||m.isArrayBuffer(b))return b.byteLength;if(m.isURLSearchParams(b)&&(b=b+""),m.isString(b))return(await d(b)).byteLength},"getBodyLength"),O=s(async(b,w)=>{let F=m.toFiniteNumber(b.getContentLength());return F??C(w)},"resolveBodyLength");return async b=>{let{url:w,method:F,data:I,signal:q,cancelToken:Z,timeout:W,onDownloadProgress:St,onUploadProgress:di,responseType:Xo,headers:ee,withCredentials:tr="same-origin",fetchOptions:Ha,maxContentLength:oo,maxBodyLength:Lo,maxRedirects:qs}=Ku(b),ka=m.isNumber(oo)&&oo>-1,Ga=m.isNumber(Lo)&&Lo>-1,Nu=s(ie=>m.hasOwnProp(b,ie)?b[ie]:void 0,"own"),wu=r||fetch;Xo=Xo?(Xo+"").toLowerCase():"text";let je=G0([q,Z&&Z.toAbortSignal()],W),Ke=null,st=je&&je.unsubscribe&&(()=>{je.unsubscribe()}),Rn,or=null,Qa=s(()=>new R("Request body larger than maxBodyLength limit",R.ERR_BAD_REQUEST,b,Ke),"maxBodyLengthError");try{let ie,Ht=Nu("auth");if(Ht){let k=m.getSafeProp(Ht,"username")||"",ft=m.getSafeProp(Ht,"password")||"";ie={username:k,password:ft}}if(ID(w)){let k=new URL(w,oe.origin);if(!ie&&(k.username||k.password)){let ft=Z0(k.username),P=Z0(k.password);ie={username:ft,password:P}}(k.username||k.password)&&(k.username="",k.password="",w=k.href)}if(ie&&(ee.delete("authorization"),ee.set("Authorization","Basic "+btoa(OD((ie.username||"")+":"+(ie.password||""))))),ka&&typeof w=="string"&&w.startsWith("data:")&&oh(w)>oo)throw new R("maxContentLength size of "+oo+" exceeded",R.ERR_BAD_RESPONSE,b,Ke);if(Ga&&F!=="get"&&F!=="head"){let k=await C(I);if(typeof k=="number"&&isFinite(k)&&(Rn=k,k>Lo))throw Qa()}let Hs=Ga&&(m.isReadableStream(I)||m.isStream(I)),Nn=s((k,ft,P)=>ch(k,Q0,z=>{if(Ga&&z>Lo)throw or=Qa();ft&&ft(z)},P),"trackRequestStream");if(h&&F!=="get"&&F!=="head"&&(di||Hs)){if(Rn=Rn??await O(ee,I),Rn!==0||Hs){let k=new n(w,{method:"POST",body:I,duplex:"half"}),ft;if(m.isFormData(I)&&(ft=k.headers.get("content-type"))&&ee.setContentType(ft),k.body){let[P,z]=di&&sc(Rn,nr(cc(di)))||[];I=Nn(k.body,P,z)}}}else if(Hs&&!p&&l&&F!=="get"&&F!=="head")I=Nn(I);else if(Hs&&p&&!h&&F!=="get"&&F!=="head")throw new R("Stream request bodies are not supported by the current fetch implementation",R.ERR_NOT_SUPPORT,b,Ke);m.isString(tr)||(tr=tr?"include":"omit");let Bp=p&&"credentials"in n.prototype;if(m.isFormData(I)){let k=ee.getContentType();k&&/^multipart\/form-data/i.test(k)&&!/boundary=/i.test(k)&&ee.delete("content-type")}ee.set("User-Agent","axios/"+ir,!1);let Vo=Ha==null?Ha:Object.assign(Object.create(null),Ha);Vo&&(delete Vo.body,delete Vo.headers,delete Vo.method,delete Vo.signal,delete Vo.duplex,delete Vo.credentials);let fe=Object.assign(Object.create(null),Vo,{signal:je,method:F.toUpperCase(),headers:Ws(ee.normalize()),body:I,duplex:"half",credentials:Bp?tr:void 0});p&&(m.forEach(wD,(k,ft)=>{fe[ft]===void 0&&(fe[ft]=k)}),fe.signal===void 0&&(fe.signal=null),fe.body===void 0&&(fe.body=null)),qs===0&&(fe.redirect="manual",Vo&&(Vo.redirect="manual")),Ke=p&&new n(w,fe);let fi=await(p?wu(Ke,Vo):wu(w,fe)),kr=Oe.from(fi.headers);if(ka){let k=m.toFiniteNumber(kr.getContentLength());if(k!=null&&k>oo)throw new R("maxContentLength size of "+oo+" exceeded",R.ERR_BAD_RESPONSE,b,Ke)}let ks=y&&(Xo==="stream"||Xo==="response");if(y&&fi.body&&(St||ka||ks&&st)){let k={};["status","statusText","headers"].forEach(se=>{k[se]=fi[se]});let ft=m.toFiniteNumber(kr.getContentLength()),[P,z]=St&&sc(ft,nr(cc(St),!0))||[],ae=0,kt=s(se=>{if(ka&&(ae=se,ae>oo))throw new R("maxContentLength size of "+oo+" exceeded",R.ERR_BAD_RESPONSE,b,Ke);P&&P(se)},"onChunkProgress");fi=new a(ch(fi.body,Q0,kt,()=>{z&&z(),st&&st()}),k)}Xo=Xo||"text";let mi=await S[m.findKey(S,Xo)||"text"](fi,b);if(ka&&!y&&!ks){let k;if(mi!=null&&(typeof mi.byteLength=="number"?k=mi.byteLength:typeof mi.size=="number"?k=mi.size:typeof mi=="string"&&(k=typeof i=="function"?new i().encode(mi).byteLength:mi.length)),typeof k=="number"&&k>oo)throw new R("maxContentLength size of "+oo+" exceeded",R.ERR_BAD_RESPONSE,b,Ke)}return!ks&&st&&st(),await new Promise((k,ft)=>{wn(k,ft,{data:mi,headers:Oe.from(fi.headers),status:fi.status,statusText:fi.statusText,config:b,request:Ke})})}catch(ie){if(st&&st(),je&&je.aborted&&je.reason instanceof R){let Ht=je.reason;throw Ht.config=b,Ke&&(Ht.request=Ke),ie!==Ht&&Object.defineProperty(Ht,"cause",{__proto__:null,value:ie,writable:!0,enumerable:!1,configurable:!0}),Ht}if(or)throw Ke&&!or.request&&(or.request=Ke),or;if(ie instanceof R)throw Ke&&!ie.request&&(ie.request=Ke),ie;if(ie&&ie.name==="TypeError"&&/Load failed|fetch/i.test(ie.message)){let Ht=new R("Network Error",R.ERR_NETWORK,b,Ke,ie&&ie.response);throw Object.defineProperty(Ht,"cause",{__proto__:null,value:ie.cause||ie,writable:!0,enumerable:!1,configurable:!0}),Ht}throw R.from(ie,ie&&ie.code,b,Ke,ie&&ie.response)}}},"factory"),FD=new Map,ph=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=FD;for(;c--;)p=n[c],u=l.get(p),u===void 0&&l.set(p,u=c?new Map:AD(e)),l=u;return u},"getFetch"),QB=ph();var lh={http:_0,xhr:k0,fetch:{get:ph}};m.forEach(lh,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{__proto__:null,value:e})}catch{}Object.defineProperty(t,"adapterName",{__proto__:null,value:e})}});var W0=s(t=>`- ${t}`,"renderReason"),ED=s(t=>m.isFunction(t)||t===null||t===!1,"isResolvedHandle");function PD(t,e){t=m.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,!ED(i)&&(r=lh[(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||"#"+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
|
-
`+
|
|
31
|
-
`):" "+
|
|
32
|
-
`);
|
|
33
|
-
`),p=c===-1?-1:
|
|
34
|
-
`,c+1),
|
|
35
|
-
`+a)}}catch{}throw i}}_request(e,o){typeof e=="string"?(o=o||{},o.url=e):o=e||{},o=qi(this.defaults,o);let{transitional:i,paramsSerializer:r,headers:n}=o;i!==void 0&&gl.assertOptions(i,{silentJSONParsing:io.transitional(io.boolean),forcedJSONParsing:io.transitional(io.boolean),clarifyTimeoutError:io.transitional(io.boolean),legacyInterceptorReqResOrdering:io.transitional(io.boolean),advertiseZstdAcceptEncoding:io.transitional(io.boolean),validateStatusUndefinedResolves:io.transitional(io.boolean)},!1),r!=null&&(m.isFunction(r)?o.paramsSerializer={serialize:r}:gl.assertOptions(r,{encode:io.function,serialize:io.function},!0)),o.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?o.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:o.allowAbsoluteUrls=!0),gl.assertOptions(o,{baseUrl:io.spelling("baseURL"),withXsrfToken:io.spelling("withXSRFToken")},!0),o.method=(m.getSafeProp(o,"method")||m.getSafeProp(this.defaults,"method")||"get").toLowerCase();let a=n&&m.merge(n.common,n[o.method]);n&&m.forEach(ku.concat("common"),S=>{delete n[S]}),o.headers=Oe.concat(a,n);let c=[],p=!0;this.interceptors.request.forEach(s(function(C){if(typeof C.runWhen=="function"&&C.runWhen(o)===!1)return;p=p&&C.synchronous;let O=o.transitional||Yr;O&&O.legacyInterceptorReqResOrdering?c.unshift(C.fulfilled,C.rejected):c.push(C.fulfilled,C.rejected)},"unshiftRequestInterceptors"));let u=[];this.interceptors.response.forEach(s(function(C){u.push(C.fulfilled,C.rejected)},"pushResponseInterceptors"));let l,d=0,h;if(!p){let S=[vl.bind(this),void 0];for(S.unshift(...c),S.push(...u),h=S.length,l=Promise.resolve(o);d<h;)l=l.then(S[d++],S[d++]);return l}h=c.length;let y=o;for(;d<h;){let S=c[d++],C=c[d++];try{y=S?S(y):y}catch(O){if(!C){l=Promise.reject(O);break}try{let b=C.call(this,O);m.isThenable(b)&&(l=Promise.resolve(b).then(()=>vl.call(this,y)))}catch(b){l=Promise.reject(b)}break}}if(!l)try{l=vl.call(this,y)}catch(S){l=Promise.reject(S)}for(d=0,h=u.length;d<h;)l=l.then(u[d++],u[d++]);return l}getUri(e){e=qi(this.defaults,e);let o=Ka(e.baseURL,e.url,e.allowAbsoluteUrls,e);return Xa(o,e.params,e.paramsSerializer)}};m.forEach(["delete","get","head","options"],s(function(e){od.prototype[e]=function(o,i){return this.request(qi(i||{},{method:e,url:o,data:i&&m.hasOwnProp(i,"data")?i.data:void 0}))}},"forEachMethodNoData"));m.forEach(["post","put","patch","query"],s(function(e){function o(i){return s(function(n,a,c){return this.request(qi(c||{},{method:e,headers:i?{"Content-Type":"multipart/form-data"}:{},url:n,data:a}))},"httpMethod")}s(o,"generateHTTPMethod"),od.prototype[e]=o(),e!=="query"&&(od.prototype[e+"Form"]=o(!0))},"forEachMethodWithData"));var yl=od;var zD=class X0{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 Ko(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 X0(s(function(r){e=r},"executor")),cancel:e}}},K0=zD;function dh(t){return s(function(o){return t.apply(null,o)},"wrap")}s(dh,"spread");function fh(t){return m.isObject(t)&&t.isAxiosError===!0}s(fh,"isAxiosError");var id={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,ContentTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,UnprocessableContent: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(id).forEach(([t,e])=>{id[e]===void 0&&(id[e]=t)});var $0=id;function eS(t){let e=new yl(t),o=kp(yl.prototype.request,e);return m.extend(o,yl.prototype,e,{allOwnKeys:!0}),m.extend(o,e,null,{allOwnKeys:!0}),o.create=s(function(r){return eS(qi(t,r))},"create"),o}s(eS,"createInstance");var vt=eS(oc);vt.Axios=yl;vt.CanceledError=Ko;vt.CancelToken=K0;vt.isCancel=il;vt.VERSION=ir;vt.toFormData=Zr;vt.AxiosError=R;vt.Cancel=vt.CanceledError;vt.all=s(function(e){return Promise.all(e)},"all");vt.spread=dh;vt.isAxiosError=fh;vt.mergeConfig=qi;vt.AxiosHeaders=Oe;vt.formToJSON=t=>Hu(m.isHTMLForm(t)?new FormData(t):t);vt.getAdapter=ed.getAdapter;vt.HttpStatusCode=$0;vt.default=vt;var nd=vt;var{Axios:t3,AxiosError:o3,CanceledError:i3,isCancel:n3,CancelToken:r3,VERSION:a3,all:s3,Cancel:c3,isAxiosError:p3,spread:l3,toFormData:u3,AxiosHeaders:d3,HttpStatusCode:f3,formToJSON:m3,getAdapter:h3,mergeConfig:v3,create:g3}=nd;var Jr=require("nfets/core"),lc=require("nfets/core");var pc=class{static{s(this,"Pipeline")}certificate;xmlns="http://www.portalfiscal.inf.br/nfe";http=nd.create();toolkit=new Jr.Xml2JsToolkit;caching=new Jr.MemoryCacheAdapter;certificates=new Jr.NativeCertificateRepository(this.http,this.caching);soap=new Jr.SoapRemoteTransmissionRepository(this.toolkit,this.certificates);signer=new lc.EntitySigner(this.toolkit,this.certificates);xmlSigner=new lc.XmlSigner(this.toolkit,this.certificates);constructor(e){this.certificate=e}errors(){return Reflect.getMetadata(lc.ValidateErrorsMetadata,this)}};var fS=ct(require("path"),1),xd=require("nfets/core"),bi=require("nfets/core"),Sd=require("nfets/core");var ad=require("nfets/core"),tS=require("class-transformer"),Hi=require("class-validator");function rd(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(rd,"_ts_decorate");function hh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(hh,"_ts_metadata");var Xr=class{static{s(this,"ConsultStatusPayload")}tpAmb;cUF;xServ="STATUS"};rd([(0,Hi.IsEnum)(ad.Environment),hh("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Xr.prototype,"tpAmb",void 0);rd([(0,Hi.IsEnum)(ad.StateCodes),hh("design:type",typeof StateCode>"u"?Object:StateCode)],Xr.prototype,"cUF",void 0);rd([(0,Hi.IsOptional)()],Xr.prototype,"xServ",void 0);var mh=class{static{s(this,"ConsultStatusRequest")}consStatServ};rd([(0,Hi.IsNotEmptyObject)(),(0,Hi.IsObject)(),(0,Hi.ValidateNested)(),(0,tS.Type)(()=>Xr),hh("design:type",typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload)],mh.prototype,"consStatServ",void 0);var oS=require("nfets/core"),cd=require("nfets/core"),pd=require("class-transformer"),J=require("class-validator");function Ct(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ct,"_ts_decorate");function Zt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Zt,"_ts_metadata");var sd=class{static{s(this,"InfInutAttributes")}Id};Ct([(0,J.IsString)(),Zt("design:type",String)],sd.prototype,"Id",void 0);var bl=class{static{s(this,"InutNFeAttributes")}xmlns;versao};Ct([(0,J.IsString)(),Zt("design:type",String)],bl.prototype,"xmlns",void 0);Ct([(0,J.IsString)(),(0,J.IsOptional)(),Zt("design:type",String)],bl.prototype,"versao",void 0);var Qt=class{static{s(this,"InfInut")}$;tpAmb;xServ="INUTILIZAR";cUF;ano;CNPJ;CPF;mod;serie;nNFIni;nNFFin;xJust};Ct([(0,J.ValidateNested)(),(0,pd.Type)(()=>sd),Zt("design:type",typeof IInfInutAttributes>"u"?Object:IInfInutAttributes)],Qt.prototype,"$",void 0);Ct([(0,J.IsEnum)(cd.Environment),Zt("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Qt.prototype,"tpAmb",void 0);Ct([(0,J.IsOptional)()],Qt.prototype,"xServ",void 0);Ct([(0,J.IsEnum)(cd.StateCodes),Zt("design:type",typeof StateCode>"u"?Object:StateCode)],Qt.prototype,"cUF",void 0);Ct([(0,J.IsString)(),(0,J.Length)(2,2),(0,J.Matches)(/^[0-9]{2}$/),Zt("design:type",String)],Qt.prototype,"ano",void 0);Ct([(0,J.IsString)(),(0,J.IsOptional)(),Zt("design:type",String)],Qt.prototype,"CNPJ",void 0);Ct([(0,J.IsString)(),(0,J.IsOptional)(),Zt("design:type",String)],Qt.prototype,"CPF",void 0);Ct([(0,J.IsString)(),(0,J.Length)(2,2),(0,J.Matches)(/^(55|65)$/),Zt("design:type",String)],Qt.prototype,"mod",void 0);Ct([(0,J.IsString)(),(0,J.Matches)(/^[0-9]{1,3}$/),Zt("design:type",String)],Qt.prototype,"serie",void 0);Ct([(0,J.IsString)(),(0,J.Matches)(/^[0-9]{1,9}$/),Zt("design:type",String)],Qt.prototype,"nNFIni",void 0);Ct([(0,J.IsString)(),(0,J.Matches)(/^[0-9]{1,9}$/),Zt("design:type",String)],Qt.prototype,"nNFFin",void 0);Ct([(0,J.IsString)(),(0,J.MinLength)(15),(0,J.MaxLength)(255),Zt("design:type",String)],Qt.prototype,"xJust",void 0);Qt=Ct([(0,oS.Choice)({properties:["CNPJ","CPF"],required:!0})],Qt);var rr=class{static{s(this,"InutilizacaoPayload")}$;infInut;Signature};Ct([(0,J.IsObject)(),(0,J.ValidateNested)(),(0,pd.Type)(()=>bl),Zt("design:type",typeof IInutNFeAttributes>"u"?Object:IInutNFeAttributes)],rr.prototype,"$",void 0);Ct([(0,J.IsObject)(),(0,J.ValidateNested)(),(0,pd.Type)(()=>Qt),Zt("design:type",typeof IInfInut>"u"?Object:IInfInut)],rr.prototype,"infInut",void 0);Ct([(0,J.Allow)(),Zt("design:type",typeof Signature>"u"?Object:Signature)],rr.prototype,"Signature",void 0);var nS=require("nfets/core"),On=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,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(vh,"_ts_decorate");function iS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(iS,"_ts_metadata");var rs=class{static{s(this,"ConsultaProtocoloPayload")}tpAmb;xServ="CONSULTAR";chNFe};vh([(0,On.IsEnum)(nS.Environment),iS("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],rs.prototype,"tpAmb",void 0);vh([(0,On.IsOptional)()],rs.prototype,"xServ",void 0);vh([(0,On.IsString)(),(0,On.Length)(44,44),(0,On.Matches)(/^[A-Z0-9]{44}$/),iS("design:type",String)],rs.prototype,"chNFe",void 0);var ud=require("nfets/core"),ei=require("class-validator");function xl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(xl,"_ts_decorate");function ld(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ld,"_ts_metadata");var ki=class{static{s(this,"NfeAutorizacaoPayload")}tpAmb;cUF;idLote;indSinc="1";NFe};xl([(0,ei.IsEnum)(ud.Environment),(0,ei.IsOptional)(),ld("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],ki.prototype,"tpAmb",void 0);xl([(0,ei.IsEnum)(ud.StateCodes),(0,ei.IsOptional)(),ld("design:type",typeof StateCode>"u"?Object:StateCode)],ki.prototype,"cUF",void 0);xl([(0,ei.IsString)(),(0,ei.IsOptional)(),ld("design:type",String)],ki.prototype,"idLote",void 0);xl([(0,ei.IsOptional)(),(0,ei.IsEnum)(["0","1"])],ki.prototype,"indSinc",void 0);xl([(0,ei.IsNotEmpty)(),ld("design:type",typeof T>"u"?Object:T)],ki.prototype,"NFe",void 0);var sS=require("nfets/core"),dd=require("class-validator");function rS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(rS,"_ts_decorate");function aS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(aS,"_ts_metadata");var uc=class{static{s(this,"RetAutorizacaoPayload")}tpAmb;nRec};rS([(0,dd.IsEnum)(sS.Environment),aS("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],uc.prototype,"tpAmb",void 0);rS([(0,dd.IsString)(),aS("design:type",String)],uc.prototype,"nRec",void 0);var ce=require("class-validator"),Sl=require("class-transformer"),hd=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 Tt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Tt,"_ts_metadata");var fd=class{static{s(this,"InfEventoAttributes")}Id};Rt([(0,ce.IsString)(),Tt("design:type",String)],fd.prototype,"Id",void 0);var Pt=class{static{s(this,"InfEvento")}$;cOrgao;tpAmb;CNPJ;CPF;chNFe;dhEvento;tpEvento;nSeqEvento;verEvento;detEvento};Rt([(0,ce.IsObject)(),(0,ce.ValidateNested)(),(0,Sl.Type)(()=>fd),Tt("design:type",typeof IInfEventoAttributes>"u"?Object:IInfEventoAttributes)],Pt.prototype,"$",void 0);Rt([(0,ce.IsString)(),Tt("design:type",typeof StateCode>"u"?Object:StateCode)],Pt.prototype,"cOrgao",void 0);Rt([(0,ce.IsString)(),Tt("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Pt.prototype,"tpAmb",void 0);Rt([(0,ce.IsString)(),(0,ce.IsOptional)(),Tt("design:type",String)],Pt.prototype,"CNPJ",void 0);Rt([(0,ce.IsString)(),(0,ce.IsOptional)(),Tt("design:type",String)],Pt.prototype,"CPF",void 0);Rt([(0,ce.IsString)(),Tt("design:type",String)],Pt.prototype,"chNFe",void 0);Rt([(0,hd.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),Tt("design:type",String)],Pt.prototype,"dhEvento",void 0);Rt([(0,ce.IsEnum)(ht),Tt("design:type",typeof ht>"u"?Object:ht)],Pt.prototype,"tpEvento",void 0);Rt([(0,ce.IsNumber)(),Tt("design:type",Number)],Pt.prototype,"nSeqEvento",void 0);Rt([(0,ce.IsString)(),Tt("design:type",String)],Pt.prototype,"verEvento",void 0);Rt([(0,ce.IsObject)(),Tt("design:type",typeof T>"u"?Object:T)],Pt.prototype,"detEvento",void 0);Pt=Rt([(0,hd.Choice)({properties:["CNPJ","CPF"],required:!0})],Pt);var md=class{static{s(this,"EventoItemAttributes")}xmlns};Rt([(0,ce.IsString)(),Tt("design:type",String)],md.prototype,"xmlns",void 0);var In=class{static{s(this,"EventoItem")}$;infEvento;Signature};Rt([(0,ce.IsObject)(),(0,ce.ValidateNested)(),(0,Sl.Type)(()=>md),Tt("design:type",typeof IEventoItemAttributes>"u"?Object:IEventoItemAttributes)],In.prototype,"$",void 0);Rt([(0,ce.IsObject)(),(0,ce.ValidateNested)(),(0,Sl.Type)(()=>Pt),Tt("design:type",typeof Pt>"u"?Object:Pt)],In.prototype,"infEvento",void 0);Rt([(0,ce.Allow)(),Tt("design:type",typeof Signature>"u"?Object:Signature)],In.prototype,"Signature",void 0);var dc=class{static{s(this,"EventoPayload")}idLote;evento};Rt([(0,ce.IsString)(),Tt("design:type",String)],dc.prototype,"idLote",void 0);Rt([(0,ce.IsNotEmpty)(),(0,ce.ValidateNested)(),(0,Sl.Type)(()=>In),Tt("design:type",typeof In>"u"?Object:In)],dc.prototype,"evento",void 0);var cS=require("nfets/core"),pS=require("nfets/core"),yi=require("class-validator");function fc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(fc,"_ts_decorate");function vd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(vd,"_ts_metadata");var Gi=class{static{s(this,"ConsultaCadastroPayload")}xServ="CONS-CAD";UF;IE="";CNPJ="";CPF=""};fc([(0,yi.IsOptional)()],Gi.prototype,"xServ",void 0);fc([(0,yi.IsString)(),(0,yi.IsIn)(Object.values(cS.StateAcronyms)),vd("design:type",typeof StateAcronym>"u"?Object:StateAcronym)],Gi.prototype,"UF",void 0);fc([(0,yi.IsOptional)(),(0,yi.IsString)(),vd("design:type",String)],Gi.prototype,"IE",void 0);fc([(0,yi.IsOptional)(),(0,yi.IsString)(),vd("design:type",String)],Gi.prototype,"CNPJ",void 0);fc([(0,yi.IsOptional)(),(0,yi.IsString)(),vd("design:type",String)],Gi.prototype,"CPF",void 0);Gi=fc([(0,pS.Choice)({properties:["IE","CNPJ","CPF"],required:!0})],Gi);var yd=require("nfets/core"),lS=require("nfets/core"),uS=require("class-transformer"),zt=require("class-validator");function as(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(as,"_ts_decorate");function mc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(mc,"_ts_metadata");var gd=class{static{s(this,"ConsChNFe")}chNFe};as([(0,zt.IsString)(),(0,zt.Length)(44,44),(0,zt.Matches)(/^[A-Z0-9]{44}$/),mc("design:type",String)],gd.prototype,"chNFe",void 0);var Qi=class{static{s(this,"DistribuicaoDFePayload")}tpAmb;cUFAutor;CNPJ="";CPF="";consChNFe};as([(0,zt.IsEnum)(yd.Environment),mc("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Qi.prototype,"tpAmb",void 0);as([(0,zt.IsEnum)(yd.StateCodes),mc("design:type",typeof StateCode>"u"?Object:StateCode)],Qi.prototype,"cUFAutor",void 0);as([(0,zt.IsOptional)(),(0,zt.IsString)(),mc("design:type",String)],Qi.prototype,"CNPJ",void 0);as([(0,zt.IsOptional)(),(0,zt.IsString)(),mc("design:type",String)],Qi.prototype,"CPF",void 0);as([(0,zt.IsObject)(),(0,zt.ValidateNested)(),(0,uS.Type)(()=>gd),mc("design:type",typeof IConsChNFe>"u"?Object:IConsChNFe)],Qi.prototype,"consChNFe",void 0);Qi=as([(0,lS.Choice)({properties:["CNPJ","CPF"],required:!0})],Qi);var pe=require("nfets/core"),gh={AM:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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 be=require("nfets/core"),jD={[be.StateCodes.AC]:"SVRS",[be.StateCodes.AL]:"SVRS",[be.StateCodes.AM]:"AM",[be.StateCodes.AP]:"SVRS",[be.StateCodes.BA]:"BA",[be.StateCodes.CE]:"SVRS",[be.StateCodes.DF]:"SVRS",[be.StateCodes.ES]:"SVRS",[be.StateCodes.GO]:"GO",[be.StateCodes.MA]:"SVAN",[be.StateCodes.MG]:"MG",[be.StateCodes.MS]:"MS",[be.StateCodes.MT]:"MT",[be.StateCodes.PA]:"SVRS",[be.StateCodes.PB]:"SVRS",[be.StateCodes.PE]:"PE",[be.StateCodes.PI]:"SVRS",[be.StateCodes.PR]:"PR",[be.StateCodes.RJ]:"SVRS",[be.StateCodes.RN]:"SVRS",[be.StateCodes.RO]:"SVRS",[be.StateCodes.RR]:"SVRS",[be.StateCodes.RS]:"RS",[be.StateCodes.SC]:"SVRS",[be.StateCodes.SE]:"SVRS",[be.StateCodes.SP]:"SP",[be.StateCodes.TO]:"SVRS",91:"AN",AN:"AN",SVAN:"SVAN",SVRS:"SVRS",SVCAN:"SVCAN",SVCRS:"SVCRS"},dS=jD;var xe=require("nfets/core"),bd={[xe.StateCodes.AC]:"SVCAN",[xe.StateCodes.AL]:"SVCAN",[xe.StateCodes.AM]:"SVCRS",[xe.StateCodes.AP]:"SVCAN",[xe.StateCodes.BA]:"SVCRS",[xe.StateCodes.CE]:"SVCAN",[xe.StateCodes.DF]:"SVCAN",[xe.StateCodes.ES]:"SVCAN",[xe.StateCodes.GO]:"SVCRS",[xe.StateCodes.MA]:"SVCRS",[xe.StateCodes.MG]:"SVCAN",[xe.StateCodes.MS]:"SVCRS",[xe.StateCodes.MT]:"SVCRS",[xe.StateCodes.PA]:"SVCAN",[xe.StateCodes.PB]:"SVCAN",[xe.StateCodes.PE]:"SVCRS",[xe.StateCodes.PI]:"SVCAN",[xe.StateCodes.PR]:"SVCRS",[xe.StateCodes.RJ]:"SVCAN",[xe.StateCodes.RN]:"SVCAN",[xe.StateCodes.RO]:"SVCAN",[xe.StateCodes.RR]:"SVCAN",[xe.StateCodes.RS]:"SVCAN",[xe.StateCodes.SC]:"SVCAN",[xe.StateCodes.SE]:"SVCAN",[xe.StateCodes.SP]:"SVCAN",[xe.StateCodes.TO]:"SVCAN"};function Kr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Kr,"_ts_decorate");function Be(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Be,"_ts_metadata");var Io=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??=Fg.PL_009_V4,this}service(e){let o=e.cUF??this.options.cUF,i=e.tpAmb??this.options.tpAmb,r=this.options.contingency?bd[o]:dS[o];return gh[r][i][e.service]}errors(){return Reflect.getMetadata(bi.ValidateErrorsMetadata,this)}validate(e){try{let o=this.errors();return o?(0,Sd.left)(new xd.NFeTsError(o.join(", "))):("cUF"in e&&(e.cUF??=this.options.cUF),"tpAmb"in e&&(e.tpAmb??=this.options.tpAmb),(0,Sd.right)(e))}finally{Reflect.deleteMetadata(bi.ValidateErrorsMetadata,this)}}ns(e,o){let i=e.$??{};return i.xmlns=this.xmlns,i.versao=o,{...e,$:i}}xsd(e){return fS.default.resolve(_p(),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:xd.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=gh.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})}};Kr([(0,bi.Validates)(Xr),Be("design:type",Function),Be("design:paramtypes",[typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload]),Be("design:returntype",Promise)],Io.prototype,"consultStatus",null);Kr([(0,bi.Validates)(rr),Be("design:type",Function),Be("design:paramtypes",[typeof IInutilizacaoPayload>"u"?Object:IInutilizacaoPayload]),Be("design:returntype",Promise)],Io.prototype,"inutilizacao",null);Kr([(0,bi.Validates)(rs),Be("design:type",Function),Be("design:paramtypes",[typeof IConsultaProtocoloPayload>"u"?Object:IConsultaProtocoloPayload]),Be("design:returntype",Promise)],Io.prototype,"consultaProtocolo",null);Kr([(0,bi.Validates)(ki),Be("design:type",Function),Be("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),Be("design:returntype",Promise)],Io.prototype,"autorizacao",null);Kr([(0,bi.Validates)(uc),Be("design:type",Function),Be("design:paramtypes",[typeof IRetAutorizacaoPayload>"u"?Object:IRetAutorizacaoPayload]),Be("design:returntype",Promise)],Io.prototype,"retAutorizacao",null);Kr([(0,bi.Validates)(dc),Be("design:type",Function),Be("design:paramtypes",[Object]),Be("design:returntype",Promise)],Io.prototype,"recepcaoEvento",null);Kr([(0,bi.Validates)(Gi),Be("design:type",Function),Be("design:paramtypes",[typeof IConsultaCadastroPayload>"u"?Object:IConsultaCadastroPayload]),Be("design:returntype",Promise)],Io.prototype,"consultaCadastro",null);Kr([(0,bi.Validates)(Qi),Be("design:type",Function),Be("design:paramtypes",[typeof IDistribuicaoDFePayload>"u"?Object:IDistribuicaoDFePayload]),Be("design:returntype",Promise)],Io.prototype,"distribuicaoDFe",null);var no=class extends pc{static{s(this,"TransmissionPipeline")}certificate;transmitter=new Io(this.soap);constructor(e){super(e),this.certificate=e}issuerFromIdentification(e){let o=e.toUpperCase().replace(/[^A-Z0-9]/g,"");if(!o)return(0,ar.left)(new ar.NFeTsError("CNPJ/CPF do emitente \xE9 obrigat\xF3rio"));if(o.length===11)return(0,ar.right)({CPF:o,idDigits:o.padStart(14,"0")});let i=o.padStart(14,"0");return i.length!==14?(0,ar.left)(new ar.NFeTsError("CNPJ/CPF do emitente \xE9 inv\xE1lido")):(0,ar.right)({CNPJ:i,idDigits:i})}};var mS=require("nfets/core"),hS=require("nfets/core");var BD=["MT"],MD=[mS.StateCodes.MT],LD=[[/[áàâãªä]/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 VD(t){if(!t)return!1;let e=t.toUpperCase();return BD.includes(e)||MD.includes(e)}s(VD,"shouldStripSefazAccents");function _D(t){return LD.reduce((e,[o,i])=>e.replace(o,i),t)}s(_D,"replaceSefazSpecialChars");function hc(t,e){return VD(e)?yh(t):t}s(hc,"sanitizeSefazText");function UD(t){return t===null||typeof t!="object"||t instanceof Date||t instanceof hS.Decimal?!1:!ArrayBuffer.isView(t)}s(UD,"isWalkableObject");function yh(t){if(typeof t=="string")return _D(t);if(Array.isArray(t))return t.map(i=>yh(i));if(!UD(t))return t;let e={};for(let[o,i]of Object.entries(t))e[o]=yh(i);return e}s(yh,"walk");function qD(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(qD,"_ts_decorate");function bh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(bh,"_ts_metadata");var ss=class extends no{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(""),h=hc({$:{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(h);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(Bf).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,$r.left)(new $r.NFeTsError(o.join(", "))):(0,$r.right)(e)}};qD([(0,$r.Validates)(In),bh("design:type",Function),bh("design:paramtypes",[typeof IEventoItem>"u"?Object:IEventoItem]),bh("design:returntype",void 0)],ss.prototype,"validated",null);var vc=require("nfets/core");var Cl=class extends ss{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(ht.Cancelamento,i,o);if(r.isLeft())return r;let n=r.value,a=Qs[ht.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,vc.left)(new vc.NFeTsError("Evento de cancelamento n\xE3o retornado"));let l=await this.protocol(this.versionedEvent(n,a),u,a);return(0,vc.right)({xml:l,response:p})}};var cs=(function(t){return t.Asynchronous="0",t.Synchronous="1",t})({});var xh=(function(t){return t.LotReceived="103",t.ProcessedBatch="104",t})({});var vS=require("nfets/core");var Rl=class extends vS.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 ti=require("nfets/core");var ea=(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 Nl=class extends no{static{s(this,"NfeAuthorizerPipeline")}async execute(e,o){e.indSinc??=cs.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,ti.right)(await this.handleLotNotProcessed(r.value,c)):e.indSinc===cs.Synchronous&&this.isSyncResponse(c)?(0,ti.right)(await this.response(r.value,c)):e.indSinc===cs.Asynchronous&&this.hasReceipt(c)?await this.handleAsyncResponse(r.value,c):(0,ti.left)(new Rl)}async protocol(e,o){let{cStat:i}=o.infProt;if(!Object.values(ea).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,ti.left)(n.value):(0,ti.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,ti.left)(new ti.NFeTsError("Failed to sign a NFe in batch")):(0,ti.right)(i.filter(r=>r.isRight()).map(r=>r.value))}isLotNotProcessed(e,o){let{cStat:i}=e.retEnviNFe,r=o.indSinc??cs.Synchronous;return r===cs.Asynchronous&&i!==xh.LotReceived.toString()||r===cs.Synchronous&&i!==xh.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,ti.right)(await this.response(e,{retEnviNFe:{...c.value.retConsReciNFe,protNFe:p}}))}return(0,ti.left)(new Rl)}contingency(e){let{dhCont:o,xJust:i,tpEmis:r}=e.infNFe.ide;if(!(!o||!i||r===mt.Normal))return{dhCont:o,xJust:i}}};var Zi=require("nfets/core");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 Sh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Sh,"_ts_metadata");var gc=class extends no{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=hc({$:{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,h=d.retInutNFe;if(!h)return(0,Zi.left)(new Zi.NFeTsError("Retorno de inutiliza\xE7\xE3o n\xE3o retornado"));let y=h.$.versao,S=await this.protocol(this.versionedInutNFe(u.value,y),h,y);return(0,Zi.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(Lf).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,Zi.left)(new Zi.NFeTsError(o.join(", "))):(0,Zi.right)(e)}};HD([(0,Zi.Validates)(rr),Sh("design:type",Function),Sh("design:paramtypes",[typeof IIInutilizacaoPayload>"u"?Object:IIInutilizacaoPayload]),Sh("design:returntype",void 0)],gc.prototype,"validated",null);var wl=class extends no{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 Ol=class extends no{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 Ch=class extends no{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 yc=require("nfets/core");var Rh=class extends ss{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,yc.left)(new yc.NFeTsError("Evento de manifesta\xE7\xE3o n\xE3o retornado"));let l=await this.protocol(this.versionedEvent(n,a),u,a);return(0,yc.right)({xml:l,response:p})}};var gS=require("zlib"),yS=require("nfets/core");var Nh=class extends no{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,yS.right)({response:a,xml:c?(0,gS.gunzipSync)(Buffer.from(c.$value,"base64")).toString("utf8"):void 0})}};var bS=ct(require("crypto"),1),sr=require("nfets/core");var Yt=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,sr.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,sr.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!==mt.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),h=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2);return`${c}|${p}|${n}|${d}|${h}|${l}|${a}`}async execute200(e,o){let{urlService:i,CSC:r}=o,n=this.getSequence(e,o),a=bS.default.createHash("sha1").update(`${n}${r}`).digest("hex").toUpperCase(),c=`${i}?p=`;return Promise.resolve((0,sr.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!==mt.OFFLINE)return(0,sr.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),h=`${a}|${c}|${n}|${p}|${u}|${l}|${d}`,y=await this.certificateRepository.sign(h,o.certificate,sr.SignatureAlgorithm.SHA1);return y.isLeft()?y:(0,sr.right)(`${r}${h}|${y.value}`)}};var Ih=require("nfets/core");var M=require("nfets/core"),wh={AC:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hml.sefaznet.ac.gov.br/nfce/qrcode"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaznet.ac.gov.br/nfce/qrcode"}}},AL:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}}},AM:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://sistemas.sefaz.am.gov.br/nfceweb-hom/consultarNFCe.jsp"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/CscNFCe"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://sistemas.sefaz.am.gov.br/nfceweb/consultarNFCe.jsp"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/CscNFCe"}}},AP:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.sefaz.ap.gov.br/nfcehml/nfce.php"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.ap.gov.br/nfce/nfcep.php"}}},BA:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hnfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}}},CE:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfceh.sefaz.ce.gov.br/pages/ShowNFCe.html"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.ce.gov.br/pages/ShowNFCe.html"}}},DF:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://dec.fazenda.df.gov.br/ConsultarNFCe.aspx"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.fazenda.df.gov.br/nfce/qrcode"}}},ES:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://app.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}}},GO:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/v2/CscNFCe"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://nfewebhomolog.sefaz.go.gov.br/nfeweb/sites/nfce/danfeNFCe"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/v2/CscNFCe"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://nfeweb.sefaz.go.gov.br/nfeweb/sites/nfce/danfeNFCe"}}},MA:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}}},MG:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://portalsped.fazenda.mg.gov.br/portalnfce/sistema/qrcode.xhtml"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://portalsped.fazenda.mg.gov.br/portalnfce/sistema/qrcode.xhtml"}}},MT:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.mt.gov.br/nfce/consultanfce"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.mt.gov.br/nfce/consultanfce"}}},MS:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.dfe.ms.gov.br/nfce/qrcode"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.dfe.ms.gov.br/nfce/qrcode"}}},PA:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://appnfc.sefa.pa.gov.br/portal-homologacao/view/consultas/nfce/nfceForm.seam"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://appnfc.sefa.pa.gov.br/portal/view/consultas/nfce/nfceForm.seam"}}},PB:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pb.gov.br/nfcehom"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pb.gov.br/nfce"}}},PE:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfcehomolog.sefaz.pe.gov.br/nfce/consulta"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.pe.gov.br/nfce/consulta"}}},PI:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}}},PR:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.fazenda.pr.gov.br/nfce/qrcode"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.fazenda.pr.gov.br/nfce/qrcode"}}},RJ:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www4.fazenda.rj.gov.br/consultaNFCe/QRCode"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://consultadfe.fazenda.rj.gov.br/consultaNFCe/QRCode"}}},RN:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hom.nfce.set.rn.gov.br/consultarNFCe.aspx"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.set.rn.gov.br/consultarNFCe.aspx"}}},RO:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}}},RR:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://200.174.88.103:8080/nfce/servlet/qrcode"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.rr.gov.br/servlet/qrcode"}}},RS:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx"}}},SC:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://hom.sat.sef.sc.gov.br/nfce/consulta"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://sat.sef.sc.gov.br/nfce/consulta"}}},SE:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfe.se.gov.br/nfce/qrcode"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.se.gov.br/nfce/qrcode"}}},SP:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeInutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeConsultaProtocolo4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeRecepcaoEvento4.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://homologacao.nfce.epec.fazenda.sp.gov.br/EPECws/RecepcaoEPEC.asmx"},EPECStatusServico:{method:"nfeStatusServicoNF2",operation:"NfeStatusServico2",version:"4.00",url:"https://homologacao.nfce.epec.fazenda.sp.gov.br/EPECws/EPECStatusServico.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.homologacao.nfce.fazenda.sp.gov.br/qrcode"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeInutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeConsultaProtocolo4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeRecepcaoEvento4.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"1.00",url:"https://nfce.epec.fazenda.sp.gov.br/EPECws/RecepcaoEPEC.asmx"},EPECStatusServico:{method:"nfeStatusServicoNF2",operation:"NfeStatusServico2",version:"4.00",url:"https://nfce.epec.fazenda.sp.gov.br/EPECws/EPECStatusServico.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.nfce.fazenda.sp.gov.br/qrcode"}}},TO:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.to.gov.br/nfce/qrcode"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.to.gov.br/nfce/qrcode"}}},SVRS:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"}}},SVAN:{[M.Environment.Homolog]:{},[M.Environment.Production]:{}}};var V=require("nfets/core"),xS={[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 Se=require("nfets/core"),kD={[Se.StateCodes.AC]:"SVRS",[Se.StateCodes.AL]:"SVRS",[Se.StateCodes.AM]:"AM",[Se.StateCodes.AP]:"SVRS",[Se.StateCodes.BA]:"SVRS",[Se.StateCodes.CE]:"SVRS",[Se.StateCodes.DF]:"SVRS",[Se.StateCodes.ES]:"SVRS",[Se.StateCodes.GO]:"GO",[Se.StateCodes.MA]:"SVRS",[Se.StateCodes.MG]:"MG",[Se.StateCodes.MS]:"MS",[Se.StateCodes.MT]:"MT",[Se.StateCodes.PA]:"SVRS",[Se.StateCodes.PB]:"SVRS",[Se.StateCodes.PE]:"SVRS",[Se.StateCodes.PI]:"SVRS",[Se.StateCodes.PR]:"PR",[Se.StateCodes.RJ]:"SVRS",[Se.StateCodes.RN]:"SVRS",[Se.StateCodes.RO]:"SVRS",[Se.StateCodes.RR]:"SVRS",[Se.StateCodes.RS]:"RS",[Se.StateCodes.SC]:"SVRS",[Se.StateCodes.SE]:"SVRS",[Se.StateCodes.SP]:"SP",[Se.StateCodes.TO]:"SVRS",SVRS:"SVRS"},SS=kD;var Cd=class extends ki{static{s(this,"NfceAutorizacaoPayload")}};var CS=require("nfets/core");function GD(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(GD,"_ts_decorate");function Oh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Oh,"_ts_metadata");var jt=class extends Io{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=SS[o],c=wh[r][i][e.service];if(c)return c;let p=Object.keys(Ih.StateCodes).find(u=>Ih.StateCodes[u]===o);return wh[p][i][e.service]}getUrlConsult(e){let o=e.infNFe.ide.cUF,i=e.infNFe.ide.tpAmb;return xS[i][o]}async autorizacao(e){return super.autorizacao(e)}};GD([(0,CS.Validates)(Cd),Oh("design:type",Function),Oh("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),Oh("design:returntype",Promise)],jt.prototype,"autorizacao",null);var Ah=class extends Cl{static{s(this,"NfceCancelPipeline")}qrCode=new Yt(this.certificates);transmitter=new jt(this.soap,this.qrCode)};var Il=class extends Nl{static{s(this,"NfceAuthorizerPipeline")}certificate;qrCode=new Yt(this.certificates);transmitter=new jt(this.soap,this.qrCode);constructor(e){super(e),this.certificate=e}};var Bt=require("nfets/core");var Fh=class extends Il{static{s(this,"NfceContingencyXmlAuthorizerPipeline")}certificate;qrCode=new Yt(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,Bt.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,Bt.left)(r?.value??new Bt.NFeTsError("NFC-e XML must be signed"))}return(0,Bt.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,Bt.left)(new Bt.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,Bt.left)(new Bt.NFeTsError("NFC-e XML signature digest mismatch")):(0,Bt.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,Bt.right)(n)}signatureAlgorithm(e){return e.Signature?.SignedInfo?.Reference?.DigestMethod?.$?.Algorithm===Bt.DigestAlgorithm.SHA256?Bt.SignatureAlgorithm.SHA256:Bt.SignatureAlgorithm.SHA1}};var Dh=class extends gc{static{s(this,"NfceVoidRangePipeline")}qrCode=new Yt(this.certificates);transmitter=new jt(this.soap,this.qrCode)};var Eh=class extends wl{static{s(this,"NfceConsultStatusPipeline")}qrCode=new Yt(this.certificates);transmitter=new jt(this.soap,this.qrCode)};var Ph=class extends Ol{static{s(this,"NfceConsultProtocoloPipeline")}qrCode=new Yt(this.certificates);transmitter=new jt(this.soap,this.qrCode)};var yC=ct(require("path"),1),lp=require("nfets/core");var Bo=require("class-validator");var _=require("class-validator"),tt=require("class-transformer");var A=require("class-validator"),ls=require("class-transformer"),lr=require("nfets/core"),RS=require("nfets/core");function B(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(B,"_ts_decorate");function L(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(L,"_ts_metadata");var cr=class{static{s(this,"RefNF")}cUF;AAMM;CNPJ;mod;serie;nNF};B([(0,A.IsString)(),L("design:type",String)],cr.prototype,"cUF",void 0);B([(0,A.IsString)(),L("design:type",String)],cr.prototype,"AAMM",void 0);B([(0,A.IsString)(),L("design:type",String)],cr.prototype,"CNPJ",void 0);B([(0,A.IsString)(),L("design:type",String)],cr.prototype,"mod",void 0);B([(0,A.IsString)(),L("design:type",String)],cr.prototype,"serie",void 0);B([(0,A.IsString)(),L("design:type",String)],cr.prototype,"nNF",void 0);var oi=class{static{s(this,"RefNFP")}cUF;AAMM;CNPJ="";CPF="";IE;mod;serie;nNF};B([(0,A.IsString)(),L("design:type",String)],oi.prototype,"cUF",void 0);B([(0,A.IsString)(),L("design:type",String)],oi.prototype,"AAMM",void 0);B([(0,A.IsOptional)(),(0,A.IsString)(),L("design:type",String)],oi.prototype,"CNPJ",void 0);B([(0,A.IsOptional)(),(0,A.IsString)(),L("design:type",String)],oi.prototype,"CPF",void 0);B([(0,A.IsString)(),L("design:type",String)],oi.prototype,"IE",void 0);B([(0,A.IsString)(),L("design:type",String)],oi.prototype,"mod",void 0);B([(0,A.IsString)(),L("design:type",String)],oi.prototype,"serie",void 0);B([(0,A.IsString)(),L("design:type",String)],oi.prototype,"nNF",void 0);oi=B([(0,lr.Choice)({properties:["CNPJ","CPF"],required:!0})],oi);var bc=class{static{s(this,"RefECF")}mod;nECF;nCOO};B([(0,A.IsString)(),L("design:type",String)],bc.prototype,"mod",void 0);B([(0,A.IsString)(),L("design:type",String)],bc.prototype,"nECF",void 0);B([(0,A.IsString)(),L("design:type",String)],bc.prototype,"nCOO",void 0);var pr=class{static{s(this,"NFref")}refNFe;refNFeSig;refNF;refNFP;refCTe;refECF};B([(0,A.IsOptional)(),(0,A.IsString)(),L("design:type",String)],pr.prototype,"refNFe",void 0);B([(0,A.IsOptional)(),(0,A.IsString)(),L("design:type",String)],pr.prototype,"refNFeSig",void 0);B([(0,A.IsOptional)(),(0,A.ValidateNested)(),(0,ls.Type)(()=>cr),L("design:type",typeof IRefNF>"u"?Object:IRefNF)],pr.prototype,"refNF",void 0);B([(0,A.IsOptional)(),(0,A.ValidateNested)(),(0,ls.Type)(()=>oi),L("design:type",typeof IRefNFP>"u"?Object:IRefNFP)],pr.prototype,"refNFP",void 0);B([(0,A.IsOptional)(),(0,A.IsString)(),L("design:type",String)],pr.prototype,"refCTe",void 0);B([(0,A.IsOptional)(),(0,A.ValidateNested)(),(0,ls.Type)(()=>bc),L("design:type",typeof IRefECF>"u"?Object:IRefECF)],pr.prototype,"refECF",void 0);var ps=class{static{s(this,"CompraGov")}tpEnteGov;pRedutor;tpOperGov;refDFeAnt};B([(0,A.IsString)(),L("design:type",String)],ps.prototype,"tpEnteGov",void 0);B([(0,lr.TransformDecimal)({fixed:4}),L("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ps.prototype,"pRedutor",void 0);B([(0,A.IsString)(),L("design:type",String)],ps.prototype,"tpOperGov",void 0);B([(0,A.IsOptional)(),(0,A.IsString)(),L("design:type",String)],ps.prototype,"refDFeAnt",void 0);var Rd=class{static{s(this,"PagAntecipado")}refNFe};B([(0,A.IsArray)(),(0,A.ArrayMaxSize)(99),(0,A.IsString)({each:!0}),L("design:type",Array)],Rd.prototype,"refNFe",void 0);var $=class{static{s(this,"Ide")}cUF;cNF;natOp;mod;serie;nNF;dhEmi;dhSaiEnt;dPrevEntrega;tpNF;idDest;cMunFG;cMunFGIBS;tpImp;tpEmis;cDV="";tpAmb;finNFe;tpNFDebito;tpNFCredito;indFinal;indPres;indIntermed;cIndOp;procEmi;verProc;dhCont;xJust;NFref;gCompraGov;gPagAntecipado};B([(0,A.IsEnum)(RS.StateCodes),L("design:type",typeof StateCode>"u"?Object:StateCode)],$.prototype,"cUF",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"cNF",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"natOp",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"mod",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"serie",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"nNF",void 0);B([(0,lr.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),L("design:type",String)],$.prototype,"dhEmi",void 0);B([(0,A.IsOptional)(),(0,lr.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),L("design:type",String)],$.prototype,"dhSaiEnt",void 0);B([(0,A.IsOptional)(),(0,lr.TransformDateString)({format:"YYYY-MM-DD"}),L("design:type",String)],$.prototype,"dPrevEntrega",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"tpNF",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"idDest",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"cMunFG",void 0);B([(0,A.IsOptional)(),(0,A.IsString)(),L("design:type",String)],$.prototype,"cMunFGIBS",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"tpImp",void 0);B([(0,A.IsString)(),L("design:type",typeof TpEmis>"u"?Object:TpEmis)],$.prototype,"tpEmis",void 0);B([(0,A.IsString)(),(0,A.IsOptional)(),L("design:type",String)],$.prototype,"cDV",void 0);B([(0,A.IsString)(),L("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],$.prototype,"tpAmb",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"finNFe",void 0);B([(0,A.IsOptional)(),(0,A.IsString)(),L("design:type",String)],$.prototype,"tpNFDebito",void 0);B([(0,A.IsOptional)(),(0,A.IsString)(),L("design:type",String)],$.prototype,"tpNFCredito",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"indFinal",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"indPres",void 0);B([(0,A.IsOptional)(),(0,A.IsString)(),L("design:type",String)],$.prototype,"indIntermed",void 0);B([(0,A.IsOptional)(),(0,A.IsString)(),L("design:type",String)],$.prototype,"cIndOp",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"procEmi",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"verProc",void 0);B([(0,A.IsOptional)(),(0,A.IsString)(),(0,lr.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),L("design:type",String)],$.prototype,"dhCont",void 0);B([(0,A.IsOptional)(),(0,A.IsString)(),L("design:type",String)],$.prototype,"xJust",void 0);B([(0,A.IsOptional)(),(0,A.IsArray)(),(0,A.ArrayMaxSize)(999),(0,A.ValidateNested)({each:!0}),(0,ls.Type)(()=>pr),L("design:type",Array)],$.prototype,"NFref",void 0);B([(0,A.IsOptional)(),(0,A.ValidateNested)(),(0,ls.Type)(()=>ps),L("design:type",typeof ICompraGov>"u"?Object:ICompraGov)],$.prototype,"gCompraGov",void 0);B([(0,A.IsOptional)(),(0,A.ValidateNested)(),(0,ls.Type)(()=>Rd),L("design:type",typeof IPagAntecipado>"u"?Object:IPagAntecipado)],$.prototype,"gPagAntecipado",void 0);var pt=require("class-validator"),NS=require("nfets/core"),wS=require("class-transformer");var Jt=require("class-validator");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 Wi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Wi,"_ts_metadata");var Wt=class{static{s(this,"EnderEmit")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};Yi([(0,Jt.IsString)(),Wi("design:type",String)],Wt.prototype,"xLgr",void 0);Yi([(0,Jt.IsString)(),Wi("design:type",String)],Wt.prototype,"nro",void 0);Yi([(0,Jt.IsOptional)(),(0,Jt.IsString)(),Wi("design:type",String)],Wt.prototype,"xCpl",void 0);Yi([(0,Jt.IsString)(),Wi("design:type",String)],Wt.prototype,"xBairro",void 0);Yi([(0,Jt.IsString)(),Wi("design:type",String)],Wt.prototype,"cMun",void 0);Yi([(0,Jt.IsString)(),Wi("design:type",String)],Wt.prototype,"xMun",void 0);Yi([(0,Jt.IsString)(),Wi("design:type",String)],Wt.prototype,"UF",void 0);Yi([(0,Jt.IsString)(),Wi("design:type",String)],Wt.prototype,"CEP",void 0);Yi([(0,Jt.IsOptional)(),(0,Jt.IsString)(),Wi("design:type",String)],Wt.prototype,"cPais",void 0);Yi([(0,Jt.IsOptional)(),(0,Jt.IsString)(),Wi("design:type",String)],Wt.prototype,"xPais",void 0);Yi([(0,Jt.IsOptional)(),(0,Jt.IsString)(),Wi("design:type",String)],Wt.prototype,"fone",void 0);function xi(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(xi,"_ts_decorate");function Ji(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ji,"_ts_metadata");var Nt=class{static{s(this,"Emit")}CNPJ="";CPF="";xNome;xFant;enderEmit;IE;IEST;IM;CNAE;CRT;ISUFEmit};xi([(0,pt.IsOptional)(),(0,pt.IsString)(),Ji("design:type",String)],Nt.prototype,"CNPJ",void 0);xi([(0,pt.IsOptional)(),(0,pt.IsString)(),Ji("design:type",String)],Nt.prototype,"CPF",void 0);xi([(0,pt.IsString)(),Ji("design:type",String)],Nt.prototype,"xNome",void 0);xi([(0,pt.IsOptional)(),(0,pt.IsString)(),Ji("design:type",String)],Nt.prototype,"xFant",void 0);xi([(0,pt.ValidateNested)(),(0,wS.Type)(()=>Wt),Ji("design:type",typeof Wt>"u"?Object:Wt)],Nt.prototype,"enderEmit",void 0);xi([(0,pt.IsString)(),Ji("design:type",String)],Nt.prototype,"IE",void 0);xi([(0,pt.IsOptional)(),(0,pt.IsString)(),Ji("design:type",String)],Nt.prototype,"IEST",void 0);xi([(0,pt.IsOptional)(),(0,pt.IsString)(),Ji("design:type",String)],Nt.prototype,"IM",void 0);xi([(0,pt.IsOptional)(),(0,pt.IsString)(),Ji("design:type",String)],Nt.prototype,"CNAE",void 0);xi([(0,pt.IsString)(),Ji("design:type",String)],Nt.prototype,"CRT",void 0);xi([(0,pt.IsOptional)(),(0,pt.IsString)(),Ji("design:type",String)],Nt.prototype,"ISUFEmit",void 0);Nt=xi([(0,NS.Choice)({properties:["CNPJ","CPF"],required:!0})],Nt);var it=require("class-validator"),OS=require("class-transformer");var Me=require("class-validator");function Xi(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Xi,"_ts_decorate");function Ki(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ki,"_ts_metadata");var Ao=class{static{s(this,"EnderDest")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};Xi([(0,Me.IsOptional)(),(0,Me.IsString)(),Ki("design:type",String)],Ao.prototype,"xLgr",void 0);Xi([(0,Me.IsOptional)(),(0,Me.IsString)(),Ki("design:type",String)],Ao.prototype,"nro",void 0);Xi([(0,Me.IsOptional)(),(0,Me.IsString)(),Ki("design:type",String)],Ao.prototype,"xCpl",void 0);Xi([(0,Me.IsOptional)(),(0,Me.IsString)(),Ki("design:type",String)],Ao.prototype,"xBairro",void 0);Xi([(0,Me.IsOptional)(),(0,Me.IsString)(),Ki("design:type",String)],Ao.prototype,"cMun",void 0);Xi([(0,Me.IsOptional)(),(0,Me.IsString)(),Ki("design:type",String)],Ao.prototype,"xMun",void 0);Xi([(0,Me.IsOptional)(),(0,Me.IsString)(),Ki("design:type",String)],Ao.prototype,"UF",void 0);Xi([(0,Me.IsOptional)(),(0,Me.IsString)(),Ki("design:type",String)],Ao.prototype,"CEP",void 0);Xi([(0,Me.IsOptional)(),(0,Me.IsString)(),Ki("design:type",String)],Ao.prototype,"cPais",void 0);Xi([(0,Me.IsOptional)(),(0,Me.IsString)(),Ki("design:type",String)],Ao.prototype,"xPais",void 0);Xi([(0,Me.IsOptional)(),(0,Me.IsString)(),Ki("design:type",String)],Ao.prototype,"fone",void 0);var IS=require("nfets/core");function $i(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s($i,"_ts_decorate");function An(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(An,"_ts_metadata");var Mt=class{static{s(this,"Dest")}CNPJ="";CPF="";idEstrangeiro;xNome;enderDest;indIEDest;IE;ISUF;IM;email};$i([(0,it.IsOptional)(),(0,it.IsString)(),An("design:type",String)],Mt.prototype,"CNPJ",void 0);$i([(0,it.IsOptional)(),(0,it.IsString)(),An("design:type",String)],Mt.prototype,"CPF",void 0);$i([(0,it.IsOptional)(),(0,it.IsString)(),An("design:type",String)],Mt.prototype,"idEstrangeiro",void 0);$i([(0,it.IsOptional)(),(0,it.IsString)(),An("design:type",String)],Mt.prototype,"xNome",void 0);$i([(0,it.IsOptional)(),(0,it.ValidateNested)(),(0,OS.Type)(()=>Ao),An("design:type",typeof IEnderDest>"u"?Object:IEnderDest)],Mt.prototype,"enderDest",void 0);$i([(0,it.IsString)(),An("design:type",String)],Mt.prototype,"indIEDest",void 0);$i([(0,it.IsOptional)(),(0,it.IsString)(),An("design:type",String)],Mt.prototype,"IE",void 0);$i([(0,it.IsOptional)(),(0,it.IsString)(),An("design:type",String)],Mt.prototype,"ISUF",void 0);$i([(0,it.IsOptional)(),(0,it.IsString)(),An("design:type",String)],Mt.prototype,"IM",void 0);$i([(0,it.IsOptional)(),(0,it.IsString)(),An("design:type",String)],Mt.prototype,"email",void 0);Mt=$i([(0,IS.Choice)({properties:["CNPJ","CPF"],required:!0})],Mt);var Ce=require("class-validator"),AS=require("nfets/core");function Xt(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Xt,"_ts_decorate");function ro(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ro,"_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};Xt([(0,Ce.IsOptional)(),(0,Ce.IsString)(),ro("design:type",String)],Ie.prototype,"CNPJ",void 0);Xt([(0,Ce.IsOptional)(),(0,Ce.IsString)(),ro("design:type",String)],Ie.prototype,"CPF",void 0);Xt([(0,Ce.IsOptional)(),(0,Ce.IsString)(),ro("design:type",String)],Ie.prototype,"xNome",void 0);Xt([(0,Ce.IsString)(),ro("design:type",String)],Ie.prototype,"xLgr",void 0);Xt([(0,Ce.IsString)(),ro("design:type",String)],Ie.prototype,"nro",void 0);Xt([(0,Ce.IsOptional)(),(0,Ce.IsString)(),ro("design:type",String)],Ie.prototype,"xCpl",void 0);Xt([(0,Ce.IsString)(),ro("design:type",String)],Ie.prototype,"xBairro",void 0);Xt([(0,Ce.IsString)(),ro("design:type",String)],Ie.prototype,"cMun",void 0);Xt([(0,Ce.IsString)(),ro("design:type",String)],Ie.prototype,"xMun",void 0);Xt([(0,Ce.IsString)(),ro("design:type",String)],Ie.prototype,"UF",void 0);Xt([(0,Ce.IsOptional)(),(0,Ce.IsString)(),ro("design:type",String)],Ie.prototype,"CEP",void 0);Xt([(0,Ce.IsOptional)(),(0,Ce.IsString)(),ro("design:type",String)],Ie.prototype,"cPais",void 0);Xt([(0,Ce.IsOptional)(),(0,Ce.IsString)(),ro("design:type",String)],Ie.prototype,"xPais",void 0);Xt([(0,Ce.IsOptional)(),(0,Ce.IsString)(),ro("design:type",String)],Ie.prototype,"fone",void 0);Xt([(0,Ce.IsOptional)(),(0,Ce.IsString)(),ro("design:type",String)],Ie.prototype,"email",void 0);Xt([(0,Ce.IsOptional)(),(0,Ce.IsString)(),ro("design:type",String)],Ie.prototype,"IE",void 0);Ie=Xt([(0,AS.Choice)({properties:["CNPJ","CPF"]})],Ie);var xc=require("class-validator"),DS=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 FS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(FS,"_ts_metadata");var Fn=class{static{s(this,"AutXML")}CNPJ;CPF};Th([(0,xc.IsOptional)(),(0,xc.IsString)(),FS("design:type",String)],Fn.prototype,"CNPJ",void 0);Th([(0,xc.IsOptional)(),(0,xc.IsString)(),FS("design:type",String)],Fn.prototype,"CPF",void 0);Fn=Th([(0,DS.Choice)({properties:["CNPJ","CPF"]})],Fn);var Al=require("class-validator");function ES(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ES,"_ts_decorate");function PS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(PS,"_ts_metadata");var ta=class{static{s(this,"InfIntermed")}CNPJ;idCadIntTran};ES([(0,Al.IsString)(),PS("design:type",String)],ta.prototype,"CNPJ",void 0);ES([(0,Al.IsOptional)(),(0,Al.IsString)(),PS("design:type",String)],ta.prototype,"idCadIntTran",void 0);var us=require("class-validator");function zh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(zh,"_ts_decorate");function jh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(jh,"_ts_metadata");var ur=class{static{s(this,"Exporta")}UFSaidaPais;xLocExporta;xLocDespacho};zh([(0,us.IsString)(),jh("design:type",String)],ur.prototype,"UFSaidaPais",void 0);zh([(0,us.IsOptional)(),(0,us.IsString)(),jh("design:type",String)],ur.prototype,"xLocExporta",void 0);zh([(0,us.IsOptional)(),(0,us.IsString)(),jh("design:type",String)],ur.prototype,"xLocDespacho",void 0);var oa=require("class-validator");function Bh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Bh,"_ts_decorate");function Mh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Mh,"_ts_metadata");var dr=class{static{s(this,"Compra")}xNEmp;xPed;xCont};Bh([(0,oa.IsOptional)(),(0,oa.IsString)(),Mh("design:type",String)],dr.prototype,"xNEmp",void 0);Bh([(0,oa.IsOptional)(),(0,oa.IsString)(),Mh("design:type",String)],dr.prototype,"xPed",void 0);Bh([(0,oa.IsOptional)(),(0,oa.IsString)(),Mh("design:type",String)],dr.prototype,"xCont",void 0);var Dn=require("class-validator");function Sc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Sc,"_ts_decorate");function Cc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Cc,"_ts_metadata");var Si=class{static{s(this,"InfRespTec")}CNPJ;xContato;email;fone;idCSRT;hashCSRT};Sc([(0,Dn.IsString)(),Cc("design:type",String)],Si.prototype,"CNPJ",void 0);Sc([(0,Dn.IsString)(),Cc("design:type",String)],Si.prototype,"xContato",void 0);Sc([(0,Dn.IsString)(),Cc("design:type",String)],Si.prototype,"email",void 0);Sc([(0,Dn.IsString)(),Cc("design:type",String)],Si.prototype,"fone",void 0);Sc([(0,Dn.IsOptional)(),(0,Dn.IsString)(),Cc("design:type",String)],Si.prototype,"idCSRT",void 0);Sc([(0,Dn.IsOptional)(),(0,Dn.IsString)(),Cc("design:type",String)],Si.prototype,"hashCSRT",void 0);var wi=require("class-validator"),Dc=require("class-transformer");var en=require("class-validator"),ue=require("nfets/core");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 he(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(he,"_ts_metadata");var ne=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};me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vBC",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMS",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSDeson",void 0);me([(0,en.IsOptional)(),(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vFCPUFDest",void 0);me([(0,en.IsOptional)(),(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSUFDest",void 0);me([(0,en.IsOptional)(),(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSUFRemet",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vFCP",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vBCST",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vST",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vFCPST",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vFCPSTRet",void 0);me([(0,en.IsOptional)(),(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"qBCMono",void 0);me([(0,en.IsOptional)(),(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSMono",void 0);me([(0,en.IsOptional)(),(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"qBCMonoReten",void 0);me([(0,en.IsOptional)(),(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSMonoReten",void 0);me([(0,en.IsOptional)(),(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"qBCMonoRet",void 0);me([(0,en.IsOptional)(),(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSMonoRet",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vProd",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vFrete",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vSeg",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vDesc",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vII",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vIPI",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vIPIDevol",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vPIS",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vCOFINS",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vOutro",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vNF",void 0);me([(0,en.IsOptional)(),(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vTotTrib",void 0);var Fo=require("class-validator"),tn=require("nfets/core");function Ci(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ci,"_ts_decorate");function Ri(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ri,"_ts_metadata");var ao=class{static{s(this,"ISSQNtot")}vServ;vBC;vISS;vPIS;vCOFINS;dCompet;vDeducao;vOutro;vDescIncond;vDescCond;vISSRet;cRegTrib};Ci([(0,Fo.IsOptional)(),(0,tn.TransformDecimal)({fixed:2}),Ri("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"vServ",void 0);Ci([(0,Fo.IsOptional)(),(0,tn.TransformDecimal)({fixed:2}),Ri("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"vBC",void 0);Ci([(0,Fo.IsOptional)(),(0,tn.TransformDecimal)({fixed:2}),Ri("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"vISS",void 0);Ci([(0,Fo.IsOptional)(),(0,tn.TransformDecimal)({fixed:2}),Ri("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"vPIS",void 0);Ci([(0,Fo.IsOptional)(),(0,tn.TransformDecimal)({fixed:2}),Ri("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"vCOFINS",void 0);Ci([(0,Fo.IsString)(),Ri("design:type",String)],ao.prototype,"dCompet",void 0);Ci([(0,Fo.IsOptional)(),(0,tn.TransformDecimal)({fixed:2}),Ri("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"vDeducao",void 0);Ci([(0,Fo.IsOptional)(),(0,tn.TransformDecimal)({fixed:2}),Ri("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"vOutro",void 0);Ci([(0,Fo.IsOptional)(),(0,tn.TransformDecimal)({fixed:2}),Ri("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"vDescIncond",void 0);Ci([(0,Fo.IsOptional)(),(0,tn.TransformDecimal)({fixed:2}),Ri("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"vDescCond",void 0);Ci([(0,Fo.IsOptional)(),(0,tn.TransformDecimal)({fixed:2}),Ri("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"vISSRet",void 0);Ci([(0,Fo.IsOptional)(),(0,Fo.IsString)(),Ri("design:type",String)],ao.prototype,"cRegTrib",void 0);var ia=require("class-validator"),na=require("nfets/core");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 on=class{static{s(this,"RetTrib")}vRetPIS;vRetCOFINS;vRetCSLL;vBCIRRF;vIRRF;vBCRetPrev;vRetPrev};ds([(0,ia.IsOptional)(),(0,na.TransformDecimal)({fixed:2}),fs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],on.prototype,"vRetPIS",void 0);ds([(0,ia.IsOptional)(),(0,na.TransformDecimal)({fixed:2}),fs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],on.prototype,"vRetCOFINS",void 0);ds([(0,ia.IsOptional)(),(0,na.TransformDecimal)({fixed:2}),fs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],on.prototype,"vRetCSLL",void 0);ds([(0,ia.IsOptional)(),(0,na.TransformDecimal)({fixed:2}),fs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],on.prototype,"vBCIRRF",void 0);ds([(0,ia.IsOptional)(),(0,na.TransformDecimal)({fixed:2}),fs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],on.prototype,"vIRRF",void 0);ds([(0,ia.IsOptional)(),(0,na.TransformDecimal)({fixed:2}),fs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],on.prototype,"vBCRetPrev",void 0);ds([(0,ia.IsOptional)(),(0,na.TransformDecimal)({fixed:2}),fs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],on.prototype,"vRetPrev",void 0);var rn=require("class-validator");var mr=require("class-validator");var Nd=require("nfets/core");function Lh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Lh,"_ts_decorate");function Vh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Vh,"_ts_metadata");var ms=class{static{s(this,"IBSMunTot")}vDif="0.00";vDevTrib="0.00";vIBSMun="0.00"};Lh([(0,Nd.TransformDecimal)({fixed:2}),Vh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ms.prototype,"vDif",void 0);Lh([(0,Nd.TransformDecimal)({fixed:2}),Vh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ms.prototype,"vDevTrib",void 0);Lh([(0,Nd.TransformDecimal)({fixed:2}),Vh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ms.prototype,"vIBSMun",void 0);var qh=require("class-transformer");var wd=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,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(_h,"_ts_decorate");function Uh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Uh,"_ts_metadata");var hs=class{static{s(this,"IBSUFTot")}vDif="0.00";vDevTrib="0.00";vIBSUF="0.00"};_h([(0,wd.TransformDecimal)({fixed:2}),Uh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],hs.prototype,"vDif",void 0);_h([(0,wd.TransformDecimal)({fixed:2}),Uh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],hs.prototype,"vDevTrib",void 0);_h([(0,wd.TransformDecimal)({fixed:2}),Uh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],hs.prototype,"vIBSUF",void 0);var Od=require("nfets/core");function Fl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Fl,"_ts_decorate");function Dl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Dl,"_ts_metadata");var fr=class{static{s(this,"IBSTot")}gIBSUF;gIBSMun;vIBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};Fl([(0,mr.IsOptional)(),(0,mr.ValidateNested)(),(0,qh.Type)(()=>hs),Dl("design:type",typeof IIBSUFTot>"u"?Object:IIBSUFTot)],fr.prototype,"gIBSUF",void 0);Fl([(0,mr.IsOptional)(),(0,mr.ValidateNested)(),(0,qh.Type)(()=>ms),Dl("design:type",typeof IIBSMunTot>"u"?Object:IIBSMunTot)],fr.prototype,"gIBSMun",void 0);Fl([(0,mr.IsOptional)(),(0,Od.TransformDecimal)({fixed:2}),Dl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fr.prototype,"vIBS",void 0);Fl([(0,mr.IsOptional)(),(0,Od.TransformDecimal)({fixed:2}),Dl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fr.prototype,"vCredPres",void 0);Fl([(0,mr.IsOptional)(),(0,Od.TransformDecimal)({fixed:2}),Dl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fr.prototype,"vCredPresCondSus",void 0);var jS=require("nfets/core"),jl=require("class-transformer");var Rc=require("nfets/core"),Nc=require("class-validator");function El(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(El,"_ts_decorate");function Pl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Pl,"_ts_metadata");var hr=class{static{s(this,"CBSTot")}vDif="0.00";vDevTrib="0.00";vCBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};El([(0,Nc.IsOptional)(),(0,Rc.TransformDecimal)({fixed:2}),Pl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],hr.prototype,"vDif",void 0);El([(0,Nc.IsOptional)(),(0,Rc.TransformDecimal)({fixed:2}),Pl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],hr.prototype,"vDevTrib",void 0);El([(0,Nc.IsOptional)(),(0,Rc.TransformDecimal)({fixed:2}),Pl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],hr.prototype,"vCBS",void 0);El([(0,Nc.IsOptional)(),(0,Rc.TransformDecimal)({fixed:2}),Pl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],hr.prototype,"vCredPres",void 0);El([(0,Nc.IsOptional)(),(0,Rc.TransformDecimal)({fixed:2}),Pl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],hr.prototype,"vCredPresCondSus",void 0);var vs=require("nfets/core"),gs=require("class-validator");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 Oc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Oc,"_ts_metadata");var En=class{static{s(this,"IBSMonoTot")}vIBSMono="0.00";vCBSMono="0.00";vIBSMonoReten="0.00";vCBSMonoReten="0.00";vIBSMonoRet="0.00";vCBSMonoRet="0.00"};wc([(0,gs.IsOptional)(),(0,vs.TransformDecimal)({fixed:2}),Oc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],En.prototype,"vIBSMono",void 0);wc([(0,gs.IsOptional)(),(0,vs.TransformDecimal)({fixed:2}),Oc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],En.prototype,"vCBSMono",void 0);wc([(0,gs.IsOptional)(),(0,vs.TransformDecimal)({fixed:2}),Oc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],En.prototype,"vIBSMonoReten",void 0);wc([(0,gs.IsOptional)(),(0,vs.TransformDecimal)({fixed:2}),Oc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],En.prototype,"vCBSMonoReten",void 0);wc([(0,gs.IsOptional)(),(0,vs.TransformDecimal)({fixed:2}),Oc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],En.prototype,"vIBSMonoRet",void 0);wc([(0,gs.IsOptional)(),(0,vs.TransformDecimal)({fixed:2}),Oc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],En.prototype,"vCBSMonoRet",void 0);var Hh=require("class-validator"),kh=require("nfets/core");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 zS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(zS,"_ts_metadata");var Ic=class{static{s(this,"EstornoCredTot")}vIBSEstCred;vCBSEstCred};TS([(0,Hh.IsOptional)(),(0,kh.TransformDecimal)({fixed:2}),zS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ic.prototype,"vIBSEstCred",void 0);TS([(0,Hh.IsOptional)(),(0,kh.TransformDecimal)({fixed:2}),zS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ic.prototype,"vCBSEstCred",void 0);function Tl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Tl,"_ts_decorate");function zl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(zl,"_ts_metadata");var nn=class{static{s(this,"IBSCBSTot")}vBCIBSCBS="0.00";gIBS;gCBS;gMono;gEstornoCred};Tl([(0,rn.IsOptional)(),(0,jS.TransformDecimal)({fixed:2}),zl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],nn.prototype,"vBCIBSCBS",void 0);Tl([(0,rn.IsOptional)(),(0,rn.ValidateNested)(),(0,jl.Type)(()=>fr),zl("design:type",typeof IIBSTot>"u"?Object:IIBSTot)],nn.prototype,"gIBS",void 0);Tl([(0,rn.IsOptional)(),(0,rn.ValidateNested)(),(0,jl.Type)(()=>hr),zl("design:type",typeof ICBSTot>"u"?Object:ICBSTot)],nn.prototype,"gCBS",void 0);Tl([(0,rn.IsOptional)(),(0,rn.ValidateNested)(),(0,jl.Type)(()=>En),zl("design:type",typeof IIBSMonoTot>"u"?Object:IIBSMonoTot)],nn.prototype,"gMono",void 0);Tl([(0,rn.IsOptional)(),(0,rn.ValidateNested)(),(0,jl.Type)(()=>Ic),zl("design:type",typeof IEstornoCredTot>"u"?Object:IEstornoCredTot)],nn.prototype,"gEstornoCred",void 0);var BS=require("nfets/core"),MS=require("class-validator");function QD(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(QD,"_ts_decorate");function ZD(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ZD,"_ts_metadata");var ys=class{static{s(this,"ISTot")}vIS="0.00"};QD([(0,MS.IsOptional)(),(0,BS.TransformDecimal)({fixed:2}),ZD("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ys.prototype,"vIS",void 0);var LS=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 Ni=class{static{s(this,"Total")}ICMSTot;ISSQNtot;retTrib;ISTot;IBSCBSTot;vNFTot};Ac([(0,wi.ValidateNested)(),(0,Dc.Type)(()=>ne),Fc("design:type",typeof IICMSTot>"u"?Object:IICMSTot)],Ni.prototype,"ICMSTot",void 0);Ac([(0,wi.IsOptional)(),(0,wi.ValidateNested)(),(0,Dc.Type)(()=>ao),Fc("design:type",typeof IISSQNTot>"u"?Object:IISSQNTot)],Ni.prototype,"ISSQNtot",void 0);Ac([(0,wi.IsOptional)(),(0,wi.ValidateNested)(),(0,Dc.Type)(()=>on),Fc("design:type",typeof IRetTrib>"u"?Object:IRetTrib)],Ni.prototype,"retTrib",void 0);Ac([(0,wi.IsOptional)(),(0,wi.ValidateNested)(),(0,Dc.Type)(()=>ys),Fc("design:type",typeof IISTot>"u"?Object:IISTot)],Ni.prototype,"ISTot",void 0);Ac([(0,wi.IsOptional)(),(0,wi.ValidateNested)(),(0,Dc.Type)(()=>nn),Fc("design:type",typeof IIBSCBSTot>"u"?Object:IIBSCBSTot)],Ni.prototype,"IBSCBSTot",void 0);Ac([(0,wi.IsOptional)(),(0,LS.TransformDecimal)({fixed:2}),Fc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ni.prototype,"vNFTot",void 0);var lt=require("class-validator"),Mc=require("class-transformer");var co=require("class-validator"),VS=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 bs(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(bs,"_ts_metadata");var so=class{static{s(this,"Transporta")}CNPJ;CPF;xNome;IE;xEnder;xMun;UF};ra([(0,co.IsOptional)(),(0,co.IsString)(),bs("design:type",String)],so.prototype,"CNPJ",void 0);ra([(0,co.IsOptional)(),(0,co.IsString)(),bs("design:type",String)],so.prototype,"CPF",void 0);ra([(0,co.IsOptional)(),(0,co.IsString)(),bs("design:type",String)],so.prototype,"xNome",void 0);ra([(0,co.IsOptional)(),(0,co.IsString)(),bs("design:type",String)],so.prototype,"IE",void 0);ra([(0,co.IsOptional)(),(0,co.IsString)(),bs("design:type",String)],so.prototype,"xEnder",void 0);ra([(0,co.IsOptional)(),(0,co.IsString)(),bs("design:type",String)],so.prototype,"xMun",void 0);ra([(0,co.IsOptional)(),(0,co.IsString)(),bs("design:type",String)],so.prototype,"UF",void 0);so=ra([(0,VS.Choice)({properties:["CNPJ","CPF"]})],so);var Pn=require("class-validator"),Bl=require("nfets/core");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 Pc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Pc,"_ts_metadata");var ii=class{static{s(this,"RetTransp")}vServ;vBCRet;pICMSRet;vICMSRet;CFOP;cMunFG};Ec([(0,Pn.IsOptional)(),(0,Bl.TransformDecimal)({fixed:2}),Pc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ii.prototype,"vServ",void 0);Ec([(0,Pn.IsOptional)(),(0,Bl.TransformDecimal)({fixed:2}),Pc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ii.prototype,"vBCRet",void 0);Ec([(0,Pn.IsOptional)(),(0,Bl.TransformDecimal)({fixed:4}),Pc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ii.prototype,"pICMSRet",void 0);Ec([(0,Pn.IsOptional)(),(0,Bl.TransformDecimal)({fixed:2}),Pc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ii.prototype,"vICMSRet",void 0);Ec([(0,Pn.IsOptional)(),(0,Pn.IsString)(),Pc("design:type",String)],ii.prototype,"CFOP",void 0);Ec([(0,Pn.IsOptional)(),(0,Pn.IsString)(),Pc("design:type",String)],ii.prototype,"cMunFG",void 0);var Qo=require("class-validator");function Tc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Tc,"_ts_decorate");function zc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(zc,"_ts_metadata");var Tn=class{static{s(this,"VeicTransp")}placa;UF;RNTC};Tc([(0,Qo.IsOptional)(),(0,Qo.IsString)(),zc("design:type",String)],Tn.prototype,"placa",void 0);Tc([(0,Qo.IsOptional)(),(0,Qo.IsString)(),zc("design:type",String)],Tn.prototype,"UF",void 0);Tc([(0,Qo.IsOptional)(),(0,Qo.IsString)(),zc("design:type",String)],Tn.prototype,"RNTC",void 0);var xs=class{static{s(this,"Reboque")}placa;UF;RNTC};Tc([(0,Qo.IsOptional)(),(0,Qo.IsString)(),zc("design:type",String)],xs.prototype,"placa",void 0);Tc([(0,Qo.IsOptional)(),(0,Qo.IsString)(),zc("design:type",String)],xs.prototype,"UF",void 0);Tc([(0,Qo.IsOptional)(),(0,Qo.IsString)(),zc("design:type",String)],xs.prototype,"RNTC",void 0);var Oi=require("class-validator"),Gh=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,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<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 Bc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Bc,"_ts_metadata");var zn=class{static{s(this,"Vol")}qVol;esp;marca;nVol;pesoL;pesoB};jc([(0,Oi.IsOptional)(),(0,Oi.IsString)(),Bc("design:type",String)],zn.prototype,"qVol",void 0);jc([(0,Oi.IsOptional)(),(0,Oi.IsString)(),Bc("design:type",String)],zn.prototype,"esp",void 0);jc([(0,Oi.IsOptional)(),(0,Oi.IsString)(),Bc("design:type",String)],zn.prototype,"marca",void 0);jc([(0,Oi.IsOptional)(),(0,Oi.IsString)(),Bc("design:type",String)],zn.prototype,"nVol",void 0);jc([(0,Oi.IsOptional)(),(0,Gh.TransformDecimal)({fixed:3}),Bc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zn.prototype,"pesoL",void 0);jc([(0,Oi.IsOptional)(),(0,Gh.TransformDecimal)({fixed:3}),Bc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zn.prototype,"pesoB",void 0);var Qh=require("nfets/core");function vr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(vr,"_ts_decorate");function aa(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(aa,"_ts_metadata");var po=class{static{s(this,"Transp")}modFrete;transporta;retTransp;veicTransp;reboque;vagao;balsa;vol};vr([(0,lt.IsString)(),aa("design:type",String)],po.prototype,"modFrete",void 0);vr([(0,lt.IsOptional)(),(0,lt.ValidateNested)(),(0,Mc.Type)(()=>so),aa("design:type",typeof so>"u"?Object:so)],po.prototype,"transporta",void 0);vr([(0,lt.IsOptional)(),(0,lt.ValidateNested)(),(0,Mc.Type)(()=>ii),aa("design:type",typeof ii>"u"?Object:ii)],po.prototype,"retTransp",void 0);vr([(0,lt.IsOptional)(),(0,lt.ValidateNested)(),(0,Mc.Type)(()=>Tn),aa("design:type",typeof Tn>"u"?Object:Tn)],po.prototype,"veicTransp",void 0);vr([(0,lt.IsOptional)(),(0,lt.ValidateNested)({each:!0}),(0,Mc.Type)(()=>xs),(0,lt.ArrayMaxSize)(5),aa("design:type",Array)],po.prototype,"reboque",void 0);vr([(0,lt.IsOptional)(),(0,lt.IsString)(),aa("design:type",String)],po.prototype,"vagao",void 0);vr([(0,lt.IsOptional)(),(0,lt.IsString)(),aa("design:type",String)],po.prototype,"balsa",void 0);vr([(0,lt.IsOptional)(),(0,lt.ValidateNested)({each:!0}),(0,Mc.Type)(()=>zn),(0,lt.ArrayMaxSize)(5e3),aa("design:type",Array)],po.prototype,"vol",void 0);po=vr([(0,Qh.Choice)({properties:["veicTransp","reboque"]}),(0,Qh.Choice)({properties:["vagao","balsa"]})],po);var wt=require("class-validator"),Zh=require("class-transformer"),Ml=require("nfets/core");function yr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(yr,"_ts_decorate");function br(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(br,"_ts_metadata");var gr=class{static{s(this,"Fat")}nFat;vOrig;vDesc;vLiq};yr([(0,wt.IsOptional)(),(0,wt.IsString)(),br("design:type",String)],gr.prototype,"nFat",void 0);yr([(0,wt.IsOptional)(),(0,Ml.TransformDecimal)({fixed:2}),br("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gr.prototype,"vOrig",void 0);yr([(0,wt.IsOptional)(),(0,Ml.TransformDecimal)({fixed:2}),br("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gr.prototype,"vDesc",void 0);yr([(0,wt.IsOptional)(),(0,Ml.TransformDecimal)({fixed:2}),br("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gr.prototype,"vLiq",void 0);var Lc=class{static{s(this,"Dup")}nDup;dVenc;vDup};yr([(0,wt.IsOptional)(),(0,wt.IsString)(),br("design:type",String)],Lc.prototype,"nDup",void 0);yr([(0,wt.IsOptional)(),(0,wt.IsString)(),br("design:type",String)],Lc.prototype,"dVenc",void 0);yr([(0,wt.IsOptional)(),(0,Ml.TransformDecimal)({fixed:2}),br("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Lc.prototype,"vDup",void 0);var sa=class{static{s(this,"Cobr")}fat;dup};yr([(0,wt.IsOptional)(),(0,wt.ValidateNested)(),(0,Zh.Type)(()=>gr),br("design:type",typeof gr>"u"?Object:gr)],sa.prototype,"fat",void 0);yr([(0,wt.IsOptional)(),(0,wt.ValidateNested)({each:!0}),(0,wt.ArrayMaxSize)(120),(0,Zh.Type)(()=>Lc),br("design:type",Array)],sa.prototype,"dup",void 0);var ua=require("class-validator"),HS=require("class-transformer");var Do=require("class-validator"),_S=require("class-transformer");var Zo=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,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Vc,"_ts_decorate");function _c(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(_c,"_ts_metadata");var ni=class{static{s(this,"Card")}tpIntegra;CNPJ;tBand;cAut;CNPJReceb;idTermPag};Vc([(0,Zo.IsOptional)(),(0,Zo.IsString)(),_c("design:type",String)],ni.prototype,"tpIntegra",void 0);Vc([(0,Zo.IsOptional)(),(0,Zo.IsString)(),_c("design:type",String)],ni.prototype,"CNPJ",void 0);Vc([(0,Zo.IsOptional)(),(0,Zo.IsString)(),_c("design:type",String)],ni.prototype,"tBand",void 0);Vc([(0,Zo.IsOptional)(),(0,Zo.IsString)(),_c("design:type",String)],ni.prototype,"cAut",void 0);Vc([(0,Zo.IsOptional)(),(0,Zo.IsString)(),_c("design:type",String)],ni.prototype,"CNPJReceb",void 0);Vc([(0,Zo.IsOptional)(),(0,Zo.IsString)(),_c("design:type",String)],ni.prototype,"idTermPag",void 0);var Id=require("nfets/core");function ca(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ca,"_ts_decorate");function pa(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(pa,"_ts_metadata");var Ii=class{static{s(this,"DetPag")}indPag;tPag;xPag;vPag;dPag;CNPJPag;UFPag;card};ca([(0,Do.IsOptional)(),(0,Do.IsString)(),pa("design:type",String)],Ii.prototype,"indPag",void 0);ca([(0,Do.IsString)(),pa("design:type",typeof TPag>"u"?Object:TPag)],Ii.prototype,"tPag",void 0);ca([(0,Do.IsOptional)(),(0,Do.IsString)(),pa("design:type",String)],Ii.prototype,"xPag",void 0);ca([(0,Id.TransformDecimal)({fixed:2}),pa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ii.prototype,"vPag",void 0);ca([(0,Do.IsOptional)(),(0,Id.TransformDateString)({format:"YYYY-MM-DD"}),pa("design:type",String)],Ii.prototype,"dPag",void 0);ca([(0,Do.IsOptional)(),(0,Do.IsString)(),pa("design:type",String)],Ii.prototype,"CNPJPag",void 0);ca([(0,Do.IsOptional)(),(0,Do.IsString)(),pa("design:type",String)],Ii.prototype,"UFPag",void 0);ca([(0,Do.IsOptional)(),(0,Do.ValidateNested)(),(0,_S.Type)(()=>ni),pa("design:type",typeof ni>"u"?Object:ni)],Ii.prototype,"card",void 0);var kS=require("nfets/core");function US(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(US,"_ts_decorate");function qS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(qS,"_ts_metadata");var la=class{static{s(this,"Pag")}detPag;vTroco};US([(0,ua.ValidateNested)({each:!0}),(0,ua.ArrayMinSize)(1),(0,ua.ArrayMaxSize)(100),(0,HS.Type)(()=>Ii),qS("design:type",Array)],la.prototype,"detPag",void 0);US([(0,ua.IsOptional)(),(0,kS.TransformDecimal)({fixed:2}),qS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],la.prototype,"vTroco",void 0);var $e=require("class-validator"),Ad=require("class-transformer");function xr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(xr,"_ts_decorate");function Sr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Sr,"_ts_metadata");var Uc=class{static{s(this,"InfAdicObs")}xCampo;xTexto};xr([(0,$e.IsString)(),Sr("design:type",String)],Uc.prototype,"xCampo",void 0);xr([(0,$e.IsString)(),Sr("design:type",String)],Uc.prototype,"xTexto",void 0);var Ll=class{static{s(this,"ProcRef")}nProc;indProc};xr([(0,$e.IsOptional)(),(0,$e.IsString)(),Sr("design:type",String)],Ll.prototype,"nProc",void 0);xr([(0,$e.IsOptional)(),(0,$e.IsString)(),Sr("design:type",String)],Ll.prototype,"indProc",void 0);var an=class{static{s(this,"InfAdic")}infAdFisco;infCpl;obsCont;obsFisco;procRef};xr([(0,$e.IsOptional)(),(0,$e.IsString)(),Sr("design:type",String)],an.prototype,"infAdFisco",void 0);xr([(0,$e.IsOptional)(),(0,$e.IsString)(),Sr("design:type",String)],an.prototype,"infCpl",void 0);xr([(0,$e.IsOptional)(),(0,$e.ValidateNested)({each:!0}),(0,Ad.Type)(()=>Uc),(0,$e.ArrayMaxSize)(10),Sr("design:type",Array)],an.prototype,"obsCont",void 0);xr([(0,$e.IsOptional)(),(0,$e.ValidateNested)({each:!0}),(0,Ad.Type)(()=>Uc),(0,$e.ArrayMaxSize)(10),Sr("design:type",Array)],an.prototype,"obsFisco",void 0);xr([(0,$e.IsOptional)(),(0,$e.ValidateNested)({each:!0}),(0,Ad.Type)(()=>Ll),(0,$e.ArrayMaxSize)(100),Sr("design:type",Array)],an.prototype,"procRef",void 0);var we=require("class-validator"),Dd=require("class-transformer"),Ul=require("nfets/core");function Eo(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Eo,"_ts_decorate");function Po(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Po,"_ts_metadata");var Fd=class{static{s(this,"ForDiaAttributes")}dia};Eo([(0,we.IsString)(),Po("design:type",String)],Fd.prototype,"dia",void 0);var Vl=class{static{s(this,"ForDia")}$;qtde};Eo([(0,we.IsObject)(),(0,we.IsNotEmptyObject)(),(0,Dd.Type)(()=>Fd),Po("design:type",typeof IForDiaAttributes>"u"?Object:IForDiaAttributes)],Vl.prototype,"$",void 0);Eo([(0,we.IsString)(),Po("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vl.prototype,"qtde",void 0);var _l=class{static{s(this,"Deduc")}xDed;vDed};Eo([(0,we.IsString)(),Po("design:type",String)],_l.prototype,"xDed",void 0);Eo([(0,Ul.TransformDecimal)({fixed:2}),Po("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_l.prototype,"vDed",void 0);var lo=class{static{s(this,"Cana")}safra;ref;forDia;qTotMes;qTotAnt;qTotGer;deduc;vFor;vTotDed;vLiqFor};Eo([(0,we.IsString)(),Po("design:type",String)],lo.prototype,"safra",void 0);Eo([(0,we.IsString)(),Po("design:type",String)],lo.prototype,"ref",void 0);Eo([(0,we.ValidateNested)({each:!0}),(0,we.ArrayMaxSize)(31),(0,Dd.Type)(()=>Vl),Po("design:type",Array)],lo.prototype,"forDia",void 0);Eo([(0,we.IsOptional)(),(0,we.IsString)(),Po("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"qTotMes",void 0);Eo([(0,we.IsOptional)(),(0,we.IsString)(),Po("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"qTotAnt",void 0);Eo([(0,we.IsOptional)(),(0,we.IsString)(),Po("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"qTotGer",void 0);Eo([(0,we.IsOptional)(),(0,we.ValidateNested)({each:!0}),(0,we.ArrayMaxSize)(10),(0,Dd.Type)(()=>_l),Po("design:type",Array)],lo.prototype,"deduc",void 0);Eo([(0,we.IsOptional)(),(0,Ul.TransformDecimal)({fixed:2}),Po("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vFor",void 0);Eo([(0,we.IsOptional)(),(0,Ul.TransformDecimal)({fixed:2}),Po("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vTotDed",void 0);Eo([(0,we.IsOptional)(),(0,Ul.TransformDecimal)({fixed:2}),Po("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vLiqFor",void 0);var Ot=require("class-validator"),Es=require("class-transformer");var D=require("class-validator"),jn=require("nfets/core"),cn=require("class-transformer");var sn=require("class-validator");function ql(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ql,"_ts_decorate");function Hl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Hl,"_ts_metadata");var Cr=class{static{s(this,"Rastro")}nLote;qLote;dFab;dVal;cAgreg};ql([(0,sn.IsString)(),Hl("design:type",String)],Cr.prototype,"nLote",void 0);ql([(0,sn.IsOptional)(),(0,sn.IsString)(),Hl("design:type",String)],Cr.prototype,"qLote",void 0);ql([(0,sn.IsOptional)(),(0,sn.IsString)(),Hl("design:type",String)],Cr.prototype,"dFab",void 0);ql([(0,sn.IsOptional)(),(0,sn.IsString)(),Hl("design:type",String)],Cr.prototype,"dVal",void 0);ql([(0,sn.IsOptional)(),(0,sn.IsString)(),Hl("design:type",String)],Cr.prototype,"cAgreg",void 0);var $S=require("nfets/core");var ve=require("class-validator"),GS=require("class-transformer"),kl=require("nfets/core");function Vt(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Vt,"_ts_decorate");function Kt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Kt,"_ts_metadata");var da=class{static{s(this,"Adi")}nAdicao;nSeqAdic;cFabricante;vDescDI;nDraw};Vt([(0,ve.IsString)(),Kt("design:type",String)],da.prototype,"nAdicao",void 0);Vt([(0,ve.IsString)(),Kt("design:type",String)],da.prototype,"nSeqAdic",void 0);Vt([(0,ve.IsString)(),Kt("design:type",String)],da.prototype,"cFabricante",void 0);Vt([(0,kl.TransformDecimal)({fixed:2}),Kt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],da.prototype,"vDescDI",void 0);Vt([(0,ve.IsOptional)(),(0,ve.IsString)(),Kt("design:type",String)],da.prototype,"nDraw",void 0);var Lt=class{static{s(this,"DI")}nDI;dDI;xLocDesemb;UFDesemb;dDesemb;tpViaTransp;vAFRMM;tpIntermedio;CNPJ="";CPF="";UFTerceiro;adi};Vt([(0,ve.IsString)(),Kt("design:type",String)],Lt.prototype,"nDI",void 0);Vt([(0,ve.IsString)(),Kt("design:type",String)],Lt.prototype,"dDI",void 0);Vt([(0,ve.IsString)(),Kt("design:type",String)],Lt.prototype,"xLocDesemb",void 0);Vt([(0,ve.IsString)(),Kt("design:type",String)],Lt.prototype,"UFDesemb",void 0);Vt([(0,ve.IsString)(),Kt("design:type",String)],Lt.prototype,"dDesemb",void 0);Vt([(0,ve.IsString)(),Kt("design:type",String)],Lt.prototype,"tpViaTransp",void 0);Vt([(0,ve.IsOptional)(),(0,kl.TransformDecimal)({fixed:2}),Kt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Lt.prototype,"vAFRMM",void 0);Vt([(0,ve.IsString)(),Kt("design:type",String)],Lt.prototype,"tpIntermedio",void 0);Vt([(0,ve.IsString)(),(0,ve.IsOptional)(),Kt("design:type",String)],Lt.prototype,"CNPJ",void 0);Vt([(0,ve.IsString)(),(0,ve.IsOptional)(),Kt("design:type",String)],Lt.prototype,"CPF",void 0);Vt([(0,ve.IsString)(),(0,ve.IsOptional)(),Kt("design:type",String)],Lt.prototype,"UFTerceiro",void 0);Vt([(0,ve.IsArray)(),(0,ve.ValidateNested)({each:!0}),(0,GS.Type)(()=>da),(0,ve.ArrayMaxSize)(999),(0,ve.ArrayMinSize)(1),Kt("design:type",Array)],Lt.prototype,"adi",void 0);Lt=Vt([(0,kl.Choice)({properties:["CNPJ","CPF"],required:!0})],Lt);var QS=require("class-transformer"),Rr=require("class-validator"),ZS=require("nfets/core");function Gl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Gl,"_ts_decorate");function Ql(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ql,"_ts_metadata");var qc=class{static{s(this,"ExportInd")}nRE;chNFe;qExport};Gl([(0,Rr.IsString)(),Ql("design:type",String)],qc.prototype,"nRE",void 0);Gl([(0,Rr.IsString)(),Ql("design:type",String)],qc.prototype,"chNFe",void 0);Gl([(0,ZS.TransformDecimal)({fixed:4}),Ql("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qc.prototype,"qExport",void 0);var Hc=class{static{s(this,"DetExport")}nDraw;exportInd};Gl([(0,Rr.IsOptional)(),(0,Rr.IsString)(),Ql("design:type",String)],Hc.prototype,"nDraw",void 0);Gl([(0,Rr.IsOptional)(),(0,Rr.ValidateNested)(),(0,QS.Type)(()=>qc),Ql("design:type",typeof IExportInd>"u"?Object:IExportInd)],Hc.prototype,"exportInd",void 0);var Yh=require("class-validator");function YS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(YS,"_ts_decorate");function WS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(WS,"_ts_metadata");var kc=class{static{s(this,"InfProdNFF")}cProdFisco;cOperNFF};YS([(0,Yh.IsString)(),WS("design:type",String)],kc.prototype,"cProdFisco",void 0);YS([(0,Yh.IsString)(),WS("design:type",String)],kc.prototype,"cOperNFF",void 0);var Xh=require("class-validator"),JS=require("nfets/core");function Wh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Wh,"_ts_decorate");function Jh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Jh,"_ts_metadata");var Ss=class{static{s(this,"InfProdEmb")}xEmb;qVolEmb;uEmb};Wh([(0,Xh.IsString)(),Jh("design:type",String)],Ss.prototype,"xEmb",void 0);Wh([(0,JS.TransformDecimal)({fixed:3}),Jh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ss.prototype,"qVolEmb",void 0);Wh([(0,Xh.IsString)(),Jh("design:type",String)],Ss.prototype,"uEmb",void 0);var De=require("class-validator");function Le(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Le,"_ts_decorate");function Ve(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ve,"_ts_metadata");var Re=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};Le([(0,De.IsString)(),Ve("design:type",String)],Re.prototype,"tpOp",void 0);Le([(0,De.IsString)(),Ve("design:type",String)],Re.prototype,"chassi",void 0);Le([(0,De.IsString)(),Ve("design:type",String)],Re.prototype,"cCor",void 0);Le([(0,De.IsString)(),Ve("design:type",String)],Re.prototype,"xCor",void 0);Le([(0,De.IsString)(),Ve("design:type",String)],Re.prototype,"pot",void 0);Le([(0,De.IsString)(),Ve("design:type",String)],Re.prototype,"cilin",void 0);Le([(0,De.IsString)(),Ve("design:type",String)],Re.prototype,"pesoL",void 0);Le([(0,De.IsString)(),Ve("design:type",String)],Re.prototype,"pesoB",void 0);Le([(0,De.IsString)(),Ve("design:type",String)],Re.prototype,"nSerie",void 0);Le([(0,De.IsString)(),Ve("design:type",String)],Re.prototype,"tpComb",void 0);Le([(0,De.IsString)(),Ve("design:type",String)],Re.prototype,"nMotor",void 0);Le([(0,De.IsString)(),Ve("design:type",String)],Re.prototype,"CMT",void 0);Le([(0,De.IsString)(),Ve("design:type",String)],Re.prototype,"dist",void 0);Le([(0,De.IsString)(),Ve("design:type",String)],Re.prototype,"anoMod",void 0);Le([(0,De.IsString)(),Ve("design:type",String)],Re.prototype,"anoFab",void 0);Le([(0,De.IsString)(),Ve("design:type",String)],Re.prototype,"tpPint",void 0);Le([(0,De.IsString)(),Ve("design:type",String)],Re.prototype,"tpVeic",void 0);Le([(0,De.IsString)(),Ve("design:type",String)],Re.prototype,"espVeic",void 0);Le([(0,De.IsString)(),Ve("design:type",String)],Re.prototype,"VIN",void 0);Le([(0,De.IsString)(),Ve("design:type",String)],Re.prototype,"condVeic",void 0);Le([(0,De.IsString)(),Ve("design:type",String)],Re.prototype,"cMod",void 0);Le([(0,De.IsString)(),Ve("design:type",String)],Re.prototype,"cCorDENATRAN",void 0);Le([(0,De.IsString)(),Ve("design:type",String)],Re.prototype,"lota",void 0);Le([(0,De.IsString)(),Ve("design:type",String)],Re.prototype,"tpRest",void 0);var ev=require("class-validator"),XS=require("nfets/core");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 Cs=class{static{s(this,"Med")}cProdANVISA;xMotivoIsencao;vPMC};Kh([(0,ev.IsString)(),$h("design:type",String)],Cs.prototype,"cProdANVISA",void 0);Kh([(0,ev.IsString)(),$h("design:type",String)],Cs.prototype,"xMotivoIsencao",void 0);Kh([(0,XS.TransformDecimal)({fixed:2}),$h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Cs.prototype,"vPMC",void 0);var Zl=require("class-validator");function Ed(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ed,"_ts_decorate");function Pd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Pd,"_ts_metadata");var fa=class{static{s(this,"Arma")}tpArma;nSerie;nCano;descr};Ed([(0,Zl.IsString)(),Pd("design:type",String)],fa.prototype,"tpArma",void 0);Ed([(0,Zl.IsString)(),Pd("design:type",String)],fa.prototype,"nSerie",void 0);Ed([(0,Zl.IsString)(),Pd("design:type",String)],fa.prototype,"nCano",void 0);Ed([(0,Zl.IsString)(),Pd("design:type",String)],fa.prototype,"descr",void 0);var re=require("class-validator"),Td=require("class-transformer"),ri=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,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(_e,"_ts_decorate");function Ue(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ue,"_ts_metadata");var Gc=class{static{s(this,"OrigComb")}indImport;cUFOrig;pOrig};_e([(0,re.IsString)(),Ue("design:type",String)],Gc.prototype,"indImport",void 0);_e([(0,re.IsString)(),Ue("design:type",String)],Gc.prototype,"cUFOrig",void 0);_e([(0,ri.TransformDecimal)({fixed:4}),Ue("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gc.prototype,"pOrig",void 0);var Qc=class{static{s(this,"CIDE")}qBCProd;vAliqProd;vCIDE};_e([(0,ri.TransformDecimal)({fixed:4}),Ue("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qc.prototype,"qBCProd",void 0);_e([(0,ri.TransformDecimal)({fixed:4}),Ue("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qc.prototype,"vAliqProd",void 0);_e([(0,ri.TransformDecimal)({fixed:2}),Ue("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qc.prototype,"vCIDE",void 0);var ma=class{static{s(this,"Encerrante")}nBico;nBomba;nTanque;vEncIni;vEncFin};_e([(0,re.IsString)(),Ue("design:type",String)],ma.prototype,"nBico",void 0);_e([(0,re.IsString)(),Ue("design:type",String)],ma.prototype,"nBomba",void 0);_e([(0,re.IsString)(),Ue("design:type",String)],ma.prototype,"nTanque",void 0);_e([(0,ri.TransformDecimal)({fixed:3}),Ue("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ma.prototype,"vEncIni",void 0);_e([(0,ri.TransformDecimal)({fixed:3}),Ue("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ma.prototype,"vEncFin",void 0);var $t=class{static{s(this,"Comb")}cProdANP;descANP;pGLP;pGNn;pGNi;vPart;CODIF;qTemp;UFCons;CIDE;encerrante;pBio;origComb};_e([(0,re.IsString)(),Ue("design:type",String)],$t.prototype,"cProdANP",void 0);_e([(0,re.IsString)(),Ue("design:type",String)],$t.prototype,"descANP",void 0);_e([(0,re.IsOptional)(),(0,ri.TransformDecimal)({fixed:4}),Ue("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$t.prototype,"pGLP",void 0);_e([(0,re.IsOptional)(),(0,ri.TransformDecimal)({fixed:4}),Ue("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$t.prototype,"pGNn",void 0);_e([(0,re.IsOptional)(),(0,ri.TransformDecimal)({fixed:4}),Ue("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$t.prototype,"pGNi",void 0);_e([(0,re.IsOptional)(),(0,ri.TransformDecimal)({fixed:2}),Ue("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$t.prototype,"vPart",void 0);_e([(0,re.IsString)(),(0,re.IsOptional)(),Ue("design:type",String)],$t.prototype,"CODIF",void 0);_e([(0,re.IsOptional)(),(0,ri.TransformDecimal)({fixed:4}),Ue("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$t.prototype,"qTemp",void 0);_e([(0,re.IsString)(),Ue("design:type",String)],$t.prototype,"UFCons",void 0);_e([(0,re.IsOptional)(),(0,re.IsObject)(),(0,re.ValidateNested)(),(0,Td.Type)(()=>Qc),Ue("design:type",typeof ICIDE>"u"?Object:ICIDE)],$t.prototype,"CIDE",void 0);_e([(0,re.IsOptional)(),(0,re.IsObject)(),(0,re.ValidateNested)(),(0,Td.Type)(()=>ma),Ue("design:type",typeof IEncerrante>"u"?Object:IEncerrante)],$t.prototype,"encerrante",void 0);_e([(0,re.IsOptional)(),(0,ri.TransformDecimal)({fixed:4}),Ue("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$t.prototype,"pBio",void 0);_e([(0,re.IsArray)(),(0,re.ValidateNested)({each:!0}),(0,Td.Type)(()=>Gc),(0,re.ArrayMaxSize)(30),(0,re.IsOptional)(),Ue("design:type",Array)],$t.prototype,"origComb",void 0);var KS=require("class-validator"),iv=require("nfets/core");function tv(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(tv,"_ts_decorate");function ov(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ov,"_ts_metadata");var Rs=class{static{s(this,"GCred")}cCredPresumido;pCredPresumido;vCredPresumido};tv([(0,KS.IsString)(),ov("design:type",String)],Rs.prototype,"cCredPresumido",void 0);tv([(0,iv.TransformDecimal)({fixed:4}),ov("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rs.prototype,"pCredPresumido",void 0);tv([(0,iv.TransformDecimal)({fixed:2}),ov("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rs.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,D.IsString)(),X("design:type",String)],U.prototype,"cProd",void 0);Y([(0,D.IsString)(),X("design:type",String)],U.prototype,"cEAN",void 0);Y([(0,D.IsOptional)(),(0,D.IsString)(),X("design:type",String)],U.prototype,"cBarra",void 0);Y([(0,D.IsString)(),X("design:type",String)],U.prototype,"xProd",void 0);Y([(0,D.IsString)(),X("design:type",String)],U.prototype,"NCM",void 0);Y([(0,D.IsOptional)(),(0,D.IsArray)(),(0,D.ArrayMaxSize)(8),(0,D.IsString)({each:!0}),X("design:type",Array)],U.prototype,"NVE",void 0);Y([(0,D.IsOptional)(),(0,D.IsString)(),X("design:type",String)],U.prototype,"CEST",void 0);Y([(0,D.IsOptional)(),(0,D.IsString)(),X("design:type",String)],U.prototype,"indEscala",void 0);Y([(0,D.IsOptional)(),(0,D.IsString)(),X("design:type",String)],U.prototype,"CNPJFab",void 0);Y([(0,D.IsOptional)(),(0,D.IsString)(),X("design:type",String)],U.prototype,"cBenef",void 0);Y([(0,D.IsOptional)(),(0,D.IsArray)(),(0,D.ArrayMaxSize)(4),(0,D.ValidateNested)({each:!0}),(0,cn.Type)(()=>Rs),X("design:type",Array)],U.prototype,"gCred",void 0);Y([(0,D.IsOptional)(),(0,D.IsString)(),X("design:type",String)],U.prototype,"tpCredPresIBSZFM",void 0);Y([(0,D.IsOptional)(),(0,D.IsString)(),X("design:type",String)],U.prototype,"EXTIPI",void 0);Y([(0,D.IsString)(),X("design:type",String)],U.prototype,"CFOP",void 0);Y([(0,D.IsString)(),X("design:type",String)],U.prototype,"uCom",void 0);Y([(0,jn.TransformDecimal)({fixed:4}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"qCom",void 0);Y([(0,jn.TransformDecimal)({fixed:10}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vUnCom",void 0);Y([(0,jn.TransformDecimal)({fixed:2}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vProd",void 0);Y([(0,D.IsString)(),X("design:type",String)],U.prototype,"cEANTrib",void 0);Y([(0,D.IsOptional)(),(0,D.IsString)(),X("design:type",String)],U.prototype,"cBarraTrib",void 0);Y([(0,D.IsString)(),X("design:type",String)],U.prototype,"uTrib",void 0);Y([(0,jn.TransformDecimal)({fixed:4}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"qTrib",void 0);Y([(0,jn.TransformDecimal)({fixed:10}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vUnTrib",void 0);Y([(0,D.IsOptional)(),(0,jn.TransformDecimal)({fixed:2}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vFrete",void 0);Y([(0,D.IsOptional)(),(0,jn.TransformDecimal)({fixed:2}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vSeg",void 0);Y([(0,D.IsOptional)(),(0,jn.TransformDecimal)({fixed:2}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vDesc",void 0);Y([(0,D.IsOptional)(),(0,jn.TransformDecimal)({fixed:2}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vOutro",void 0);Y([(0,D.IsString)(),X("design:type",String)],U.prototype,"indTot",void 0);Y([(0,D.IsOptional)(),(0,D.IsString)(),X("design:type",String)],U.prototype,"indBemMovelUsado",void 0);Y([(0,D.IsOptional)(),(0,D.IsArray)(),(0,D.ValidateNested)({each:!0}),(0,D.ArrayMaxSize)(100),(0,cn.Type)(()=>Lt),X("design:type",Array)],U.prototype,"DI",void 0);Y([(0,D.IsOptional)(),(0,D.IsArray)(),(0,D.ValidateNested)({each:!0}),(0,D.ArrayMaxSize)(500),(0,cn.Type)(()=>Hc),X("design:type",Array)],U.prototype,"detExport",void 0);Y([(0,D.IsOptional)(),(0,D.IsString)(),X("design:type",String)],U.prototype,"xPed",void 0);Y([(0,D.IsOptional)(),(0,D.IsString)(),X("design:type",String)],U.prototype,"nItemPed",void 0);Y([(0,D.IsOptional)(),(0,D.IsString)(),X("design:type",String)],U.prototype,"nFCI",void 0);Y([(0,D.IsOptional)(),(0,D.IsArray)(),(0,D.ValidateNested)({each:!0}),(0,D.ArrayMaxSize)(500),(0,cn.Type)(()=>Cr),X("design:type",Array)],U.prototype,"rastro",void 0);Y([(0,D.IsOptional)(),(0,D.IsObject)(),(0,D.ValidateNested)(),(0,cn.Type)(()=>kc),X("design:type",typeof IInfProdNFF>"u"?Object:IInfProdNFF)],U.prototype,"infProdNFF",void 0);Y([(0,D.IsOptional)(),(0,D.IsObject)(),(0,D.ValidateNested)(),(0,cn.Type)(()=>Ss),X("design:type",typeof IInfProdEmb>"u"?Object:IInfProdEmb)],U.prototype,"infProdEmb",void 0);Y([(0,D.IsOptional)(),(0,D.IsObject)(),(0,D.ValidateNested)(),(0,cn.Type)(()=>Re),X("design:type",typeof IVeicProd>"u"?Object:IVeicProd)],U.prototype,"veicProd",void 0);Y([(0,D.IsOptional)(),(0,D.IsObject)(),(0,D.ValidateNested)(),(0,cn.Type)(()=>Cs),X("design:type",typeof IMed>"u"?Object:IMed)],U.prototype,"med",void 0);Y([(0,D.IsOptional)(),(0,D.IsObject)(),(0,D.ValidateNested)({each:!0}),(0,cn.Type)(()=>fa),(0,D.ArrayMaxSize)(500),X("design:type",Array)],U.prototype,"arma",void 0);Y([(0,D.IsOptional)(),(0,D.IsObject)(),(0,D.ValidateNested)(),(0,cn.Type)(()=>$t),X("design:type",typeof IComb>"u"?Object:IComb)],U.prototype,"comb",void 0);Y([(0,D.IsOptional)(),(0,D.IsString)(),X("design:type",String)],U.prototype,"nRECOPI",void 0);U=Y([(0,$S.Choice)({properties:["veicProd","med","arma","comb"]})],U);var Bi=require("class-transformer"),Te=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 Ai=class{static{s(this,"ICMS00")}orig;CST;modBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP};v([(0,f.IsString)(),g("design:type",String)],Ai.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],Ai.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],Ai.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"vBCFCP",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"pFCP",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"vFCP",void 0);var ha=class{static{s(this,"ICMS02")}orig;CST;qBCMono;adRemICMS;vICMSMono};v([(0,f.IsString)(),g("design:type",String)],ha.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],ha.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ha.prototype,"qBCMono",void 0);v([(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ha.prototype,"adRemICMS",void 0);v([(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ha.prototype,"vICMSMono",void 0);var ut=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)],ut.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],ut.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],ut.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ut.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ut.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ut.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ut.prototype,"vBCFCP",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ut.prototype,"pFCP",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ut.prototype,"vFCP",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],ut.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ut.prototype,"pMVAST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ut.prototype,"pRedBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ut.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ut.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ut.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ut.prototype,"vBCFCPST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ut.prototype,"pFCPST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ut.prototype,"vFCPST",void 0);var ai=class{static{s(this,"ICMS15")}orig;CST;qBCMono;adRemICMS;vICMSMono;qBCMonoReten;adRemICMSReten;vICMSMonoReten;pRedAdRem;motRedAdRem};v([(0,f.IsString)(),g("design:type",String)],ai.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],ai.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.prototype,"qBCMono",void 0);v([(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.prototype,"adRemICMS",void 0);v([(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.prototype,"vICMSMono",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.prototype,"qBCMonoReten",void 0);v([(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.prototype,"adRemICMSReten",void 0);v([(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.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)],ai.prototype,"pRedAdRem",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],ai.prototype,"motRedAdRem",void 0);var To=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)],To.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],To.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],To.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],To.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],To.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],To.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],To.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],To.prototype,"vBCFCP",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],To.prototype,"pFCP",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],To.prototype,"vFCP",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],To.prototype,"vICMSDeson",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],To.prototype,"motDesICMS",void 0);var uo=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)],uo.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],uo.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],uo.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"pMVAST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"pRedBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"vBCFCPST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"pFCPST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"vFCPST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"vICMSDeson",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],uo.prototype,"motDesICMS",void 0);var Ns=class{static{s(this,"ICMS40")}orig;CST;vICMSDeson;motDesICMS};v([(0,f.IsString)(),g("design:type",String)],Ns.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],Ns.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ns.prototype,"vICMSDeson",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],Ns.prototype,"motDesICMS",void 0);var Fi=class{static{s(this,"ICMS51")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;pDif;vICMSDif};v([(0,f.IsString)(),g("design:type",String)],Fi.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],Fi.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],Fi.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fi.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fi.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fi.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fi.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)],Fi.prototype,"pDif",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fi.prototype,"vICMSDif",void 0);var si=class{static{s(this,"ICMS53")}orig;CST;qBCMono;adRemICMS;vICMSMonoOp;pDif;vICMSMonoDif;vICMSMono;qBCMonoDif;adRemICMSDif};v([(0,f.IsString)(),g("design:type",String)],si.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],si.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],si.prototype,"qBCMono",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],si.prototype,"adRemICMS",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],si.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)],si.prototype,"pDif",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],si.prototype,"vICMSMonoDif",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],si.prototype,"vICMSMono",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],si.prototype,"qBCMonoDif",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],si.prototype,"adRemICMSDif",void 0);var fo=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)],fo.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],fo.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vBCSTRet",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"pST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vICMSSubstituto",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vICMSSTRet",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vBCFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"pFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"pRedBCEfet",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vBCEfet",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"pICMSEfet",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vICMSEfet",void 0);var va=class{static{s(this,"ICMS61")}orig;CST;qBCMonoRet;adRemICMSRet;vICMSMonoRet};v([(0,f.IsString)(),g("design:type",String)],va.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],va.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],va.prototype,"qBCMonoRet",void 0);v([(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],va.prototype,"adRemICMSRet",void 0);v([(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],va.prototype,"vICMSMonoRet",void 0);var qe=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)],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 He=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)],He.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],He.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],He.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"vBCFCP",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"pFCP",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"vFCP",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"vICMSDeson",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],He.prototype,"motDesICMS",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],He.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"pMVAST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"pRedBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"vBCFCPST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"pFCPST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"vFCPST",void 0);var _t=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)],_t.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],_t.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],_t.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_t.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_t.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_t.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_t.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],_t.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_t.prototype,"pMVAST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_t.prototype,"pRedBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_t.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_t.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_t.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_t.prototype,"pBCOp",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],_t.prototype,"UFST",void 0);var Nr=class{static{s(this,"ICMSST")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};v([(0,f.IsString)(),g("design:type",String)],Nr.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],Nr.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Nr.prototype,"vBCSTRet",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Nr.prototype,"pST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Nr.prototype,"vICMSSubstituto",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Nr.prototype,"vICMSSTRet",void 0);var ws=class{static{s(this,"ICMSSN101")}orig;CSOSN;pCredSN;vCredICMSSN};v([(0,f.IsString)(),g("design:type",String)],ws.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],ws.prototype,"CSOSN",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ws.prototype,"pCredSN",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ws.prototype,"vCredICMSSN",void 0);var Yl=class{static{s(this,"ICMSSN102")}orig;CSOSN};v([(0,f.IsString)(),g("design:type",String)],Yl.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],Yl.prototype,"CSOSN",void 0);var pn=class{static{s(this,"ICMSSN201")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};v([(0,f.IsString)(),g("design:type",String)],pn.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],pn.prototype,"CSOSN",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],pn.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pn.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pn.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pn.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pn.prototype,"pCredSN",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pn.prototype,"vCredICMSSN",void 0);var wr=class{static{s(this,"ICMSSN202")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST};v([(0,f.IsString)(),g("design:type",String)],wr.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],wr.prototype,"CSOSN",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],wr.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wr.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wr.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wr.prototype,"vICMSST",void 0);var mo=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)],mo.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],mo.prototype,"CSOSN",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 ho=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)],ho.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],ho.prototype,"CSOSN",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],ho.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],ho.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pCredSN",void 0);v([(0,f.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vCredICMSSN",void 0);var ge=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)(()=>Ai),g("design:type",typeof IICMS00>"u"?Object:IICMS00)],ge.prototype,"ICMS00",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>ha),g("design:type",typeof IICMS02>"u"?Object:IICMS02)],ge.prototype,"ICMS02",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>ut),g("design:type",typeof IICMS10>"u"?Object:IICMS10)],ge.prototype,"ICMS10",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>ai),g("design:type",typeof IICMS15>"u"?Object:IICMS15)],ge.prototype,"ICMS15",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>To),g("design:type",typeof IICMS20>"u"?Object:IICMS20)],ge.prototype,"ICMS20",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>uo),g("design:type",typeof IICMS30>"u"?Object:IICMS30)],ge.prototype,"ICMS30",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>Ns),g("design:type",typeof IICMS40>"u"?Object:IICMS40)],ge.prototype,"ICMS40",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>Fi),g("design:type",typeof IICMS51>"u"?Object:IICMS51)],ge.prototype,"ICMS51",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>si),g("design:type",typeof IICMS53>"u"?Object:IICMS53)],ge.prototype,"ICMS53",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>fo),g("design:type",typeof IICMS60>"u"?Object:IICMS60)],ge.prototype,"ICMS60",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>va),g("design:type",typeof IICMS61>"u"?Object:IICMS61)],ge.prototype,"ICMS61",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>qe),g("design:type",typeof IICMS70>"u"?Object:IICMS70)],ge.prototype,"ICMS70",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>He),g("design:type",typeof IICMS90>"u"?Object:IICMS90)],ge.prototype,"ICMS90",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>_t),g("design:type",typeof IICMSPart>"u"?Object:IICMSPart)],ge.prototype,"ICMSPart",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>Nr),g("design:type",typeof IICMSST>"u"?Object:IICMSST)],ge.prototype,"ICMSST",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>ws),g("design:type",typeof IICMSSN101>"u"?Object:IICMSSN101)],ge.prototype,"ICMSSN101",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>Yl),g("design:type",typeof IICMSSN102>"u"?Object:IICMSSN102)],ge.prototype,"ICMSSN102",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>pn),g("design:type",typeof IICMSSN201>"u"?Object:IICMSSN201)],ge.prototype,"ICMSSN201",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>wr),g("design:type",typeof IICMSSN202>"u"?Object:IICMSSN202)],ge.prototype,"ICMSSN202",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>mo),g("design:type",typeof IICMSSN500>"u"?Object:IICMSSN500)],ge.prototype,"ICMSSN500",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,nt.Type)(()=>ho),g("design:type",typeof IICMSSN900>"u"?Object:IICMSSN900)],ge.prototype,"ICMSSN900",void 0);ge=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"]})],ge);var Ae=require("class-validator"),nv=require("class-transformer");function ci(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ci,"_ts_decorate");function pi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(pi,"_ts_metadata");var Or=class{static{s(this,"IPITrib")}CST;vBC;pIPI;qUnid;vUnid;vIPI};ci([(0,Ae.IsString)(),pi("design:type",String)],Or.prototype,"CST",void 0);ci([(0,Ae.IsOptional)(),(0,Ae.IsString)(),pi("design:type",String)],Or.prototype,"vBC",void 0);ci([(0,Ae.IsOptional)(),(0,Ae.IsString)(),pi("design:type",String)],Or.prototype,"pIPI",void 0);ci([(0,Ae.IsOptional)(),(0,Ae.IsString)(),pi("design:type",String)],Or.prototype,"qUnid",void 0);ci([(0,Ae.IsOptional)(),(0,Ae.IsString)(),pi("design:type",String)],Or.prototype,"vUnid",void 0);ci([(0,Ae.IsOptional)(),(0,Ae.IsString)(),pi("design:type",String)],Or.prototype,"vIPI",void 0);var zd=class{static{s(this,"IPINT")}CST};ci([(0,Ae.IsString)(),pi("design:type",String)],zd.prototype,"CST",void 0);var Di=class{static{s(this,"IPI")}CNPJProd;cSelo;qSelo;cEnq;IPITrib;IPINT};ci([(0,Ae.IsOptional)(),(0,Ae.IsString)(),pi("design:type",String)],Di.prototype,"CNPJProd",void 0);ci([(0,Ae.IsOptional)(),(0,Ae.IsString)(),pi("design:type",String)],Di.prototype,"cSelo",void 0);ci([(0,Ae.IsOptional)(),(0,Ae.IsString)(),pi("design:type",String)],Di.prototype,"qSelo",void 0);ci([(0,Ae.IsString)(),pi("design:type",String)],Di.prototype,"cEnq",void 0);ci([(0,Ae.IsOptional)(),(0,Ae.ValidateNested)(),(0,nv.Type)(()=>Or),pi("design:type",typeof IIPITrib>"u"?Object:IIPITrib)],Di.prototype,"IPITrib",void 0);ci([(0,Ae.IsOptional)(),(0,Ae.ValidateNested)(),(0,nv.Type)(()=>zd),pi("design:type",typeof IIPINT>"u"?Object:IIPINT)],Di.prototype,"IPINT",void 0);var Mn=require("class-validator");function jd(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(jd,"_ts_decorate");function Bd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Bd,"_ts_metadata");var Bn=class{static{s(this,"II")}vBC;vDespAdu;vII;vIOF};jd([(0,Mn.IsOptional)(),(0,Mn.IsString)(),Bd("design:type",String)],Bn.prototype,"vBC",void 0);jd([(0,Mn.IsOptional)(),(0,Mn.IsString)(),Bd("design:type",String)],Bn.prototype,"vDespAdu",void 0);jd([(0,Mn.IsOptional)(),(0,Mn.IsString)(),Bd("design:type",String)],Bn.prototype,"vII",void 0);jd([(0,Mn.IsOptional)(),(0,Mn.IsString)(),Bd("design:type",String)],Bn.prototype,"vIOF",void 0);var G=require("class-validator"),Wl=require("class-transformer"),dn=require("nfets/core");function ke(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ke,"_ts_decorate");function Ge(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ge,"_ts_metadata");var Ir=class{static{s(this,"PISAliq")}CST;vBC;pPIS;vPIS};ke([(0,G.IsString)(),Ge("design:type",String)],Ir.prototype,"CST",void 0);ke([(0,G.IsOptional)(),(0,G.IsString)(),(0,dn.TransformDecimal)({fixed:2}),Ge("design:type",String)],Ir.prototype,"vBC",void 0);ke([(0,G.IsOptional)(),(0,G.IsString)(),(0,dn.TransformDecimal)({fixed:4}),Ge("design:type",String)],Ir.prototype,"pPIS",void 0);ke([(0,G.IsOptional)(),(0,G.IsString)(),(0,dn.TransformDecimal)({fixed:2}),Ge("design:type",String)],Ir.prototype,"vPIS",void 0);var Ar=class{static{s(this,"PISQtde")}CST;qBCProd;vAliqProd;vPIS};ke([(0,G.IsString)(),Ge("design:type",String)],Ar.prototype,"CST",void 0);ke([(0,G.IsOptional)(),(0,G.IsString)(),Ge("design:type",String)],Ar.prototype,"qBCProd",void 0);ke([(0,G.IsOptional)(),(0,G.IsString)(),Ge("design:type",String)],Ar.prototype,"vAliqProd",void 0);ke([(0,G.IsOptional)(),(0,G.IsString)(),(0,dn.TransformDecimal)({fixed:2}),Ge("design:type",String)],Ar.prototype,"vPIS",void 0);var Zc=class{static{s(this,"PISNT")}CST};ke([(0,G.IsString)(),Ge("design:type",String)],Zc.prototype,"CST",void 0);var ln=class{static{s(this,"PISOutr")}CST;vBC;pPIS;qBCProd;vAliqProd;vPIS};ke([(0,G.IsString)(),Ge("design:type",String)],ln.prototype,"CST",void 0);ke([(0,G.IsOptional)(),(0,G.IsString)(),(0,dn.TransformDecimal)({fixed:2}),Ge("design:type",String)],ln.prototype,"vBC",void 0);ke([(0,G.IsOptional)(),(0,G.IsString)(),(0,dn.TransformDecimal)({fixed:4}),Ge("design:type",String)],ln.prototype,"pPIS",void 0);ke([(0,G.IsOptional)(),(0,G.IsString)(),Ge("design:type",String)],ln.prototype,"qBCProd",void 0);ke([(0,G.IsOptional)(),(0,G.IsString)(),Ge("design:type",String)],ln.prototype,"vAliqProd",void 0);ke([(0,G.IsOptional)(),(0,G.IsString)(),(0,dn.TransformDecimal)({fixed:2}),Ge("design:type",String)],ln.prototype,"vPIS",void 0);var Ln=class{static{s(this,"PIS")}PISAliq;PISQtde;PISNT;PISOutr};ke([(0,G.IsOptional)(),(0,G.ValidateNested)(),(0,Wl.Type)(()=>Ir),Ge("design:type",typeof Ir>"u"?Object:Ir)],Ln.prototype,"PISAliq",void 0);ke([(0,G.IsOptional)(),(0,G.ValidateNested)(),(0,Wl.Type)(()=>Ar),Ge("design:type",typeof Ar>"u"?Object:Ar)],Ln.prototype,"PISQtde",void 0);ke([(0,G.IsOptional)(),(0,G.ValidateNested)(),(0,Wl.Type)(()=>Zc),Ge("design:type",typeof Zc>"u"?Object:Zc)],Ln.prototype,"PISNT",void 0);ke([(0,G.IsOptional)(),(0,G.ValidateNested)(),(0,Wl.Type)(()=>ln),Ge("design:type",typeof ln>"u"?Object:ln)],Ln.prototype,"PISOutr",void 0);var un=class{static{s(this,"PISST")}vBC;pPIS;qBCProd;vAliqProd;vPIS};ke([(0,G.IsOptional)(),(0,G.IsString)(),(0,dn.TransformDecimal)({fixed:2}),Ge("design:type",String)],un.prototype,"vBC",void 0);ke([(0,G.IsOptional)(),(0,G.IsString)(),(0,dn.TransformDecimal)({fixed:4}),Ge("design:type",String)],un.prototype,"pPIS",void 0);ke([(0,G.IsOptional)(),(0,G.IsString)(),Ge("design:type",String)],un.prototype,"qBCProd",void 0);ke([(0,G.IsOptional)(),(0,G.IsString)(),Ge("design:type",String)],un.prototype,"vAliqProd",void 0);ke([(0,G.IsOptional)(),(0,G.IsString)(),(0,dn.TransformDecimal)({fixed:2}),Ge("design:type",String)],un.prototype,"vPIS",void 0);var Q=require("class-validator"),Jl=require("class-transformer"),hn=require("nfets/core");function Qe(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Qe,"_ts_decorate");function Ze(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ze,"_ts_metadata");var Fr=class{static{s(this,"COFINSAliq")}CST;vBC;pCOFINS;vCOFINS};Qe([(0,Q.IsString)(),Ze("design:type",String)],Fr.prototype,"CST",void 0);Qe([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,hn.TransformDecimal)({fixed:2}),Ze("design:type",String)],Fr.prototype,"vBC",void 0);Qe([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,hn.TransformDecimal)({fixed:4}),Ze("design:type",String)],Fr.prototype,"pCOFINS",void 0);Qe([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,hn.TransformDecimal)({fixed:2}),Ze("design:type",String)],Fr.prototype,"vCOFINS",void 0);var Dr=class{static{s(this,"COFINSQtde")}CST;qBCProd;vAliqProd;vCOFINS};Qe([(0,Q.IsString)(),Ze("design:type",String)],Dr.prototype,"CST",void 0);Qe([(0,Q.IsOptional)(),(0,Q.IsString)(),Ze("design:type",String)],Dr.prototype,"qBCProd",void 0);Qe([(0,Q.IsOptional)(),(0,Q.IsString)(),Ze("design:type",String)],Dr.prototype,"vAliqProd",void 0);Qe([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,hn.TransformDecimal)({fixed:2}),Ze("design:type",String)],Dr.prototype,"vCOFINS",void 0);var Yc=class{static{s(this,"COFINSNT")}CST};Qe([(0,Q.IsString)(),Ze("design:type",String)],Yc.prototype,"CST",void 0);var fn=class{static{s(this,"COFINSOutr")}CST;vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};Qe([(0,Q.IsString)(),Ze("design:type",String)],fn.prototype,"CST",void 0);Qe([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,hn.TransformDecimal)({fixed:2}),Ze("design:type",String)],fn.prototype,"vBC",void 0);Qe([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,hn.TransformDecimal)({fixed:4}),Ze("design:type",String)],fn.prototype,"pCOFINS",void 0);Qe([(0,Q.IsOptional)(),(0,Q.IsString)(),Ze("design:type",String)],fn.prototype,"qBCProd",void 0);Qe([(0,Q.IsOptional)(),(0,Q.IsString)(),Ze("design:type",String)],fn.prototype,"vAliqProd",void 0);Qe([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,hn.TransformDecimal)({fixed:2}),Ze("design:type",String)],fn.prototype,"vCOFINS",void 0);var Vn=class{static{s(this,"COFINS")}COFINSAliq;COFINSQtde;COFINSNT;COFINSOutr};Qe([(0,Q.IsOptional)(),(0,Q.ValidateNested)(),(0,Jl.Type)(()=>Fr),Ze("design:type",typeof Fr>"u"?Object:Fr)],Vn.prototype,"COFINSAliq",void 0);Qe([(0,Q.IsOptional)(),(0,Q.ValidateNested)(),(0,Jl.Type)(()=>Dr),Ze("design:type",typeof Dr>"u"?Object:Dr)],Vn.prototype,"COFINSQtde",void 0);Qe([(0,Q.IsOptional)(),(0,Q.ValidateNested)(),(0,Jl.Type)(()=>Yc),Ze("design:type",typeof Yc>"u"?Object:Yc)],Vn.prototype,"COFINSNT",void 0);Qe([(0,Q.IsOptional)(),(0,Q.ValidateNested)(),(0,Jl.Type)(()=>fn),Ze("design:type",typeof fn>"u"?Object:fn)],Vn.prototype,"COFINSOutr",void 0);var mn=class{static{s(this,"COFINSST")}vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};Qe([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,hn.TransformDecimal)({fixed:2}),Ze("design:type",String)],mn.prototype,"vBC",void 0);Qe([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,hn.TransformDecimal)({fixed:4}),Ze("design:type",String)],mn.prototype,"pCOFINS",void 0);Qe([(0,Q.IsOptional)(),(0,Q.IsString)(),Ze("design:type",String)],mn.prototype,"qBCProd",void 0);Qe([(0,Q.IsOptional)(),(0,Q.IsString)(),Ze("design:type",String)],mn.prototype,"vAliqProd",void 0);Qe([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,hn.TransformDecimal)({fixed:2}),Ze("design:type",String)],mn.prototype,"vCOFINS",void 0);var Ye=require("class-validator"),Er=require("nfets/core");function vo(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(vo,"_ts_decorate");function go(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(go,"_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};vo([(0,Ye.IsOptional)(),(0,Er.TransformDecimal)({fixed:2}),go("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rt.prototype,"vBC",void 0);vo([(0,Ye.IsOptional)(),(0,Er.TransformDecimal)({fixed:4}),go("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rt.prototype,"vAliq",void 0);vo([(0,Ye.IsOptional)(),(0,Er.TransformDecimal)({fixed:2}),go("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rt.prototype,"vISSQN",void 0);vo([(0,Ye.IsOptional)(),(0,Ye.IsString)(),go("design:type",String)],rt.prototype,"cMunFG",void 0);vo([(0,Ye.IsOptional)(),(0,Ye.IsString)(),go("design:type",String)],rt.prototype,"cListServ",void 0);vo([(0,Ye.IsOptional)(),(0,Er.TransformDecimal)({fixed:2}),go("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rt.prototype,"vDeducao",void 0);vo([(0,Ye.IsOptional)(),(0,Er.TransformDecimal)({fixed:2}),go("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rt.prototype,"vOutro",void 0);vo([(0,Ye.IsOptional)(),(0,Er.TransformDecimal)({fixed:2}),go("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rt.prototype,"vDescIncond",void 0);vo([(0,Ye.IsOptional)(),(0,Er.TransformDecimal)({fixed:2}),go("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rt.prototype,"vDescCond",void 0);vo([(0,Ye.IsOptional)(),(0,Er.TransformDecimal)({fixed:2}),go("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rt.prototype,"vISSRet",void 0);vo([(0,Ye.IsString)(),go("design:type",String)],rt.prototype,"indISS",void 0);vo([(0,Ye.IsString)(),go("design:type",String)],rt.prototype,"indIncentivo",void 0);vo([(0,Ye.IsOptional)(),(0,Ye.IsString)(),go("design:type",String)],rt.prototype,"cServico",void 0);vo([(0,Ye.IsOptional)(),(0,Ye.IsString)(),go("design:type",String)],rt.prototype,"cMun",void 0);vo([(0,Ye.IsOptional)(),(0,Ye.IsString)(),go("design:type",String)],rt.prototype,"cPais",void 0);vo([(0,Ye.IsOptional)(),(0,Ye.IsString)(),go("design:type",String)],rt.prototype,"nProcesso",void 0);var gt=require("class-validator");function Pr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Pr,"_ts_decorate");function Tr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Tr,"_ts_metadata");var zo=class{static{s(this,"ICMSUFDest")}vBCUFDest;vBCFCPUFDest;pFCPUFDest;pICMSUFDest;pICMSInter;pICMSInterPart;vFCPUFDest;vICMSUFDest;vICMSUFRemet};Pr([(0,gt.IsOptional)(),(0,gt.IsString)(),Tr("design:type",String)],zo.prototype,"vBCUFDest",void 0);Pr([(0,gt.IsOptional)(),(0,gt.IsString)(),Tr("design:type",String)],zo.prototype,"vBCFCPUFDest",void 0);Pr([(0,gt.IsOptional)(),(0,gt.IsString)(),Tr("design:type",String)],zo.prototype,"pFCPUFDest",void 0);Pr([(0,gt.IsOptional)(),(0,gt.IsString)(),Tr("design:type",String)],zo.prototype,"pICMSUFDest",void 0);Pr([(0,gt.IsOptional)(),(0,gt.IsString)(),Tr("design:type",String)],zo.prototype,"pICMSInter",void 0);Pr([(0,gt.IsOptional)(),(0,gt.IsString)(),Tr("design:type",String)],zo.prototype,"pICMSInterPart",void 0);Pr([(0,gt.IsOptional)(),(0,gt.IsString)(),Tr("design:type",String)],zo.prototype,"vFCPUFDest",void 0);Pr([(0,gt.IsOptional)(),(0,gt.IsString)(),Tr("design:type",String)],zo.prototype,"vICMSUFDest",void 0);Pr([(0,gt.IsOptional)(),(0,gt.IsString)(),Tr("design:type",String)],zo.prototype,"vICMSUFRemet",void 0);var et=require("class-validator");var Wc=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 ga=class{static{s(this,"TransferenciaCredito")}vIBS;vCBS};eC([(0,Wc.IsOptional)(),(0,Wc.IsString)(),tC("design:type",String)],ga.prototype,"vIBS",void 0);eC([(0,Wc.IsOptional)(),(0,Wc.IsString)(),tC("design:type",String)],ga.prototype,"vCBS",void 0);var Md=require("class-validator");function rv(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(rv,"_ts_decorate");function av(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(av,"_ts_metadata");var zr=class{static{s(this,"CredPresIBSZFM")}tpCredPresIBSZFM;vCredPresIBSZFM;competApur};rv([(0,Md.IsString)(),av("design:type",String)],zr.prototype,"tpCredPresIBSZFM",void 0);rv([(0,Md.IsString)(),av("design:type",String)],zr.prototype,"vCredPresIBSZFM",void 0);rv([(0,Md.IsString)(),av("design:type",String)],zr.prototype,"competApur",void 0);var jo=require("class-validator"),sv=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,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Un,"_ts_decorate");function qn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(qn,"_ts_metadata");var ya=class{static{s(this,"IBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};Un([(0,jo.IsString)(),qn("design:type",String)],ya.prototype,"vCredPresCondSus",void 0);Un([(0,jo.IsString)(),qn("design:type",String)],ya.prototype,"pCredPres",void 0);Un([(0,jo.IsString)(),qn("design:type",String)],ya.prototype,"vCredPres",void 0);var ba=class{static{s(this,"CBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};Un([(0,jo.IsString)(),qn("design:type",String)],ba.prototype,"vCredPresCondSus",void 0);Un([(0,jo.IsString)(),qn("design:type",String)],ba.prototype,"pCredPres",void 0);Un([(0,jo.IsString)(),qn("design:type",String)],ba.prototype,"vCredPres",void 0);var _n=class{static{s(this,"CredPresOper")}gIBSCredPres;gCBSCredPres;vBCCredPres;cCredPres};Un([(0,jo.IsOptional)(),(0,jo.ValidateNested)(),(0,sv.Type)(()=>ya),qn("design:type",typeof ya>"u"?Object:ya)],_n.prototype,"gIBSCredPres",void 0);Un([(0,jo.IsOptional)(),(0,jo.ValidateNested)(),(0,sv.Type)(()=>ba),qn("design:type",typeof ba>"u"?Object:ba)],_n.prototype,"gCBSCredPres",void 0);Un([(0,jo.IsString)(),qn("design:type",String)],_n.prototype,"vBCCredPres",void 0);Un([(0,jo.IsString)(),qn("design:type",String)],_n.prototype,"cCredPres",void 0);var cv=require("class-validator");function oC(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(oC,"_ts_decorate");function iC(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(iC,"_ts_metadata");var xa=class{static{s(this,"EstornoCred")}vIBSEstCred;vCBSEstCred};oC([(0,cv.IsString)(),iC("design:type",String)],xa.prototype,"vIBSEstCred",void 0);oC([(0,cv.IsString)(),iC("design:type",String)],xa.prototype,"vCBSEstCred",void 0);var Ld=require("class-validator");function pv(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(pv,"_ts_decorate");function lv(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(lv,"_ts_metadata");var jr=class{static{s(this,"AjusteCompet")}competApur;vCBS;vIBS};pv([(0,Ld.IsString)(),lv("design:type",String)],jr.prototype,"competApur",void 0);pv([(0,Ld.IsString)(),lv("design:type",String)],jr.prototype,"vCBS",void 0);pv([(0,Ld.IsString)(),lv("design:type",String)],jr.prototype,"vIBS",void 0);var Qn=require("class-validator"),at=require("nfets/core"),Xl=require("class-transformer");function Ee(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ee,"_ts_decorate");function Pe(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Pe,"_ts_metadata");var Hn=class{static{s(this,"MonoPadrao")}qBCMono;adRemIBS;adRemCBS;vIBSMono;vCBSMono};Ee([(0,at.TransformDecimal)({fixed:4}),Pe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hn.prototype,"qBCMono",void 0);Ee([(0,at.TransformDecimal)({fixed:4}),Pe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hn.prototype,"adRemIBS",void 0);Ee([(0,at.TransformDecimal)({fixed:4}),Pe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hn.prototype,"adRemCBS",void 0);Ee([(0,at.TransformDecimal)({fixed:2}),Pe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hn.prototype,"vIBSMono",void 0);Ee([(0,at.TransformDecimal)({fixed:2}),Pe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hn.prototype,"vCBSMono",void 0);var kn=class{static{s(this,"MonoReten")}qBCMonoReten;adRemIBSReten;vIBSMonoReten;adRemCBSReten;vCBSMonoReten};Ee([(0,at.TransformDecimal)({fixed:4}),Pe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],kn.prototype,"qBCMonoReten",void 0);Ee([(0,at.TransformDecimal)({fixed:4}),Pe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],kn.prototype,"adRemIBSReten",void 0);Ee([(0,at.TransformDecimal)({fixed:2}),Pe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],kn.prototype,"vIBSMonoReten",void 0);Ee([(0,at.TransformDecimal)({fixed:4}),Pe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],kn.prototype,"adRemCBSReten",void 0);Ee([(0,at.TransformDecimal)({fixed:2}),Pe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],kn.prototype,"vCBSMonoReten",void 0);var Gn=class{static{s(this,"MonoRet")}qBCMonoRet;adRemIBSRet;vIBSMonoRet;adRemCBSRet;vCBSMonoRet};Ee([(0,at.TransformDecimal)({fixed:4}),Pe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gn.prototype,"qBCMonoRet",void 0);Ee([(0,at.TransformDecimal)({fixed:4}),Pe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gn.prototype,"adRemIBSRet",void 0);Ee([(0,at.TransformDecimal)({fixed:2}),Pe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gn.prototype,"vIBSMonoRet",void 0);Ee([(0,at.TransformDecimal)({fixed:4}),Pe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gn.prototype,"adRemCBSRet",void 0);Ee([(0,at.TransformDecimal)({fixed:2}),Pe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gn.prototype,"vCBSMonoRet",void 0);var Br=class{static{s(this,"MonoDif")}pDifIBS;vIBSMonoDif;pDifCBS;vCBSMonoDif};Ee([(0,at.TransformDecimal)({fixed:4}),Pe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Br.prototype,"pDifIBS",void 0);Ee([(0,at.TransformDecimal)({fixed:2}),Pe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Br.prototype,"vIBSMonoDif",void 0);Ee([(0,at.TransformDecimal)({fixed:4}),Pe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Br.prototype,"pDifCBS",void 0);Ee([(0,at.TransformDecimal)({fixed:2}),Pe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Br.prototype,"vCBSMonoDif",void 0);var Ei=class{static{s(this,"IBSCBSMono")}gMonoPadrao;gMonoReten;gMonoRet;gMonoDif;vTotIBSMonoItem;vTotCBSMonoItem};Ee([(0,Qn.IsOptional)(),(0,Qn.ValidateNested)(),(0,Xl.Type)(()=>Hn),Pe("design:type",typeof Hn>"u"?Object:Hn)],Ei.prototype,"gMonoPadrao",void 0);Ee([(0,Qn.IsOptional)(),(0,Qn.ValidateNested)(),(0,Xl.Type)(()=>kn),Pe("design:type",typeof kn>"u"?Object:kn)],Ei.prototype,"gMonoReten",void 0);Ee([(0,Qn.IsOptional)(),(0,Qn.ValidateNested)(),(0,Xl.Type)(()=>Gn),Pe("design:type",typeof Gn>"u"?Object:Gn)],Ei.prototype,"gMonoRet",void 0);Ee([(0,Qn.IsOptional)(),(0,Qn.ValidateNested)(),(0,Xl.Type)(()=>Br),Pe("design:type",typeof Br>"u"?Object:Br)],Ei.prototype,"gMonoDif",void 0);Ee([(0,at.TransformDecimal)({fixed:2}),Pe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ei.prototype,"vTotIBSMonoItem",void 0);Ee([(0,at.TransformDecimal)({fixed:2}),Pe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ei.prototype,"vTotCBSMonoItem",void 0);var zi=require("class-validator"),bv=require("nfets/core");var Os=require("nfets/core"),uv=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,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Sa,"_ts_decorate");function Ca(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ca,"_ts_metadata");var Yo=class{static{s(this,"TribRegular")}CSTReg;cClassTribReg;pAliqEfetRegIBSUF;vTribRegIBSUF;pAliqEfetRegIBSMun;vTribRegIBSMun;pAliqEfetRegCBS;vTribRegCBS};Sa([(0,uv.IsString)(),Ca("design:type",String)],Yo.prototype,"CSTReg",void 0);Sa([(0,uv.IsString)(),Ca("design:type",String)],Yo.prototype,"cClassTribReg",void 0);Sa([(0,Os.TransformDecimal)({fixed:4}),Ca("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yo.prototype,"pAliqEfetRegIBSUF",void 0);Sa([(0,Os.TransformDecimal)({fixed:2}),Ca("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yo.prototype,"vTribRegIBSUF",void 0);Sa([(0,Os.TransformDecimal)({fixed:4}),Ca("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yo.prototype,"pAliqEfetRegIBSMun",void 0);Sa([(0,Os.TransformDecimal)({fixed:2}),Ca("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yo.prototype,"vTribRegIBSMun",void 0);Sa([(0,Os.TransformDecimal)({fixed:4}),Ca("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yo.prototype,"pAliqEfetRegCBS",void 0);Sa([(0,Os.TransformDecimal)({fixed:2}),Ca("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yo.prototype,"vTribRegCBS",void 0);var Is=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,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<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 Pi=class{static{s(this,"TribCompraGov")}pAliqIBSUF;vTribIBSUF;pAliqIBSMun;vTribIBSMun;pAliqCBS;vTribCBS};Jc([(0,Is.TransformDecimal)({fixed:4}),Xc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pi.prototype,"pAliqIBSUF",void 0);Jc([(0,Is.TransformDecimal)({fixed:2}),Xc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pi.prototype,"vTribIBSUF",void 0);Jc([(0,Is.TransformDecimal)({fixed:4}),Xc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pi.prototype,"pAliqIBSMun",void 0);Jc([(0,Is.TransformDecimal)({fixed:2}),Xc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pi.prototype,"vTribIBSMun",void 0);Jc([(0,Is.TransformDecimal)({fixed:4}),Xc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pi.prototype,"pAliqCBS",void 0);Jc([(0,Is.TransformDecimal)({fixed:2}),Xc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pi.prototype,"vTribCBS",void 0);var ep=require("class-transformer");var Ra=require("class-validator"),hv=require("nfets/core"),Vd=require("class-transformer");var dv=require("nfets/core"),aC=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,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(nC,"_ts_decorate");function rC(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(rC,"_ts_metadata");var yo=class{static{s(this,"DevTrib")}pDevTrib;vDevTrib};nC([(0,aC.IsOptional)(),(0,dv.TransformDecimal)({fixed:4}),rC("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yo.prototype,"pDevTrib",void 0);nC([(0,dv.TransformDecimal)({fixed:2}),rC("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yo.prototype,"vDevTrib",void 0);var fv=require("nfets/core");function sC(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(sC,"_ts_decorate");function cC(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(cC,"_ts_metadata");var bo=class{static{s(this,"Dif")}pDif;vDif};sC([(0,fv.TransformDecimal)({fixed:4}),cC("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bo.prototype,"pDif",void 0);sC([(0,fv.TransformDecimal)({fixed:2}),cC("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bo.prototype,"vDif",void 0);var mv=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 lC(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(lC,"_ts_metadata");var xo=class{static{s(this,"Red")}pRedAliq;pAliqEfet};pC([(0,mv.TransformDecimal)({fixed:4}),lC("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xo.prototype,"pRedAliq",void 0);pC([(0,mv.TransformDecimal)({fixed:4}),lC("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xo.prototype,"pAliqEfet",void 0);function Kl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Kl,"_ts_decorate");function $l(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s($l,"_ts_metadata");var vn=class{static{s(this,"IBSMun")}pIBSMun;gDif;gDevTrib;gRed;vIBSMun};Kl([(0,hv.TransformDecimal)({fixed:4}),$l("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vn.prototype,"pIBSMun",void 0);Kl([(0,Ra.IsOptional)(),(0,Ra.ValidateNested)(),(0,Vd.Type)(()=>bo),$l("design:type",typeof bo>"u"?Object:bo)],vn.prototype,"gDif",void 0);Kl([(0,Ra.IsOptional)(),(0,Ra.ValidateNested)(),(0,Vd.Type)(()=>yo),$l("design:type",typeof yo>"u"?Object:yo)],vn.prototype,"gDevTrib",void 0);Kl([(0,Ra.IsOptional)(),(0,Ra.ValidateNested)(),(0,Vd.Type)(()=>xo),$l("design:type",typeof xo>"u"?Object:xo)],vn.prototype,"gRed",void 0);Kl([(0,hv.TransformDecimal)({fixed:2}),$l("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vn.prototype,"vIBSMun",void 0);var Na=require("class-validator"),vv=require("nfets/core"),_d=require("class-transformer");function eu(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(eu,"_ts_decorate");function tu(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(tu,"_ts_metadata");var gn=class{static{s(this,"IBSUF")}pIBSUF;gDif;gDevTrib;gRed;vIBSUF};eu([(0,vv.TransformDecimal)({fixed:4}),tu("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gn.prototype,"pIBSUF",void 0);eu([(0,Na.IsOptional)(),(0,Na.ValidateNested)(),(0,_d.Type)(()=>bo),tu("design:type",typeof bo>"u"?Object:bo)],gn.prototype,"gDif",void 0);eu([(0,Na.IsOptional)(),(0,Na.ValidateNested)(),(0,_d.Type)(()=>yo),tu("design:type",typeof yo>"u"?Object:yo)],gn.prototype,"gDevTrib",void 0);eu([(0,Na.IsOptional)(),(0,Na.ValidateNested)(),(0,_d.Type)(()=>xo),tu("design:type",typeof xo>"u"?Object:xo)],gn.prototype,"gRed",void 0);eu([(0,vv.TransformDecimal)({fixed:2}),tu("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gn.prototype,"vIBSUF",void 0);var Yn=require("class-validator"),yv=require("nfets/core"),iu=require("class-transformer");var gv=require("nfets/core"),ou=require("class-validator");function Ud(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ud,"_ts_decorate");function qd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(qd,"_ts_metadata");var Zn=class{static{s(this,"ALCZFMCBS")}tpALCZFMCBS;nProcSuframa;pAliqEfetRegCBS;vTribRegCBS};Ud([(0,ou.IsString)(),qd("design:type",String)],Zn.prototype,"tpALCZFMCBS",void 0);Ud([(0,ou.IsOptional)(),(0,ou.IsString)(),qd("design:type",String)],Zn.prototype,"nProcSuframa",void 0);Ud([(0,gv.TransformDecimal)({fixed:4}),qd("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Zn.prototype,"pAliqEfetRegCBS",void 0);Ud([(0,gv.TransformDecimal)({fixed:2}),qd("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Zn.prototype,"vTribRegCBS",void 0);function Kc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Kc,"_ts_decorate");function $c(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s($c,"_ts_metadata");var Ti=class{static{s(this,"CBS")}pCBS;gDif;gDevTrib;gRed;gALCZFMCBS;vCBS};Kc([(0,yv.TransformDecimal)({fixed:4}),$c("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ti.prototype,"pCBS",void 0);Kc([(0,Yn.IsOptional)(),(0,Yn.ValidateNested)(),(0,iu.Type)(()=>bo),$c("design:type",typeof bo>"u"?Object:bo)],Ti.prototype,"gDif",void 0);Kc([(0,Yn.IsOptional)(),(0,Yn.ValidateNested)(),(0,iu.Type)(()=>yo),$c("design:type",typeof yo>"u"?Object:yo)],Ti.prototype,"gDevTrib",void 0);Kc([(0,Yn.IsOptional)(),(0,Yn.ValidateNested)(),(0,iu.Type)(()=>xo),$c("design:type",typeof xo>"u"?Object:xo)],Ti.prototype,"gRed",void 0);Kc([(0,Yn.IsOptional)(),(0,Yn.ValidateNested)(),(0,iu.Type)(()=>Zn),$c("design:type",typeof Zn>"u"?Object:Zn)],Ti.prototype,"gALCZFMCBS",void 0);Kc([(0,yv.TransformDecimal)({fixed:2}),$c("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ti.prototype,"vCBS",void 0);function As(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(As,"_ts_decorate");function Fs(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Fs,"_ts_metadata");var li=class{static{s(this,"GIBSCBS")}vBC;gIBSUF;gIBSMun;vIBS;gCBS;gTribRegular;gTribCompraGov};As([(0,bv.TransformDecimal)({fixed:2}),Fs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],li.prototype,"vBC",void 0);As([(0,zi.IsOptional)(),(0,zi.ValidateNested)(),(0,ep.Type)(()=>gn),Fs("design:type",typeof gn>"u"?Object:gn)],li.prototype,"gIBSUF",void 0);As([(0,zi.IsOptional)(),(0,zi.ValidateNested)(),(0,ep.Type)(()=>vn),Fs("design:type",typeof vn>"u"?Object:vn)],li.prototype,"gIBSMun",void 0);As([(0,bv.TransformDecimal)({fixed:2}),Fs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],li.prototype,"vIBS",void 0);As([(0,zi.IsOptional)(),(0,zi.ValidateNested)(),(0,ep.Type)(()=>Ti),Fs("design:type",typeof Ti>"u"?Object:Ti)],li.prototype,"gCBS",void 0);As([(0,zi.IsOptional)(),(0,zi.ValidateNested)(),(0,ep.Type)(()=>Yo),Fs("design:type",typeof Yo>"u"?Object:Yo)],li.prototype,"gTribRegular",void 0);As([(0,zi.IsOptional)(),(0,zi.ValidateNested)(),(0,ep.Type)(()=>Pi),Fs("design:type",typeof Pi>"u"?Object:Pi)],li.prototype,"gTribCompraGov",void 0);var wa=require("class-transformer");function Wn(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Wn,"_ts_decorate");function Jn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Jn,"_ts_metadata");var So=class{static{s(this,"IBSCBS")}CST;cClassTrib;indDoacao;gTransfCred;gCredPresIBSZFM;gCredPresOper;gAjusteCompet;gEstornoCred;gIBSCBSMono;gIBSCBS};Wn([(0,et.IsOptional)(),(0,et.IsString)(),Jn("design:type",String)],So.prototype,"CST",void 0);Wn([(0,et.IsOptional)(),(0,et.IsString)(),Jn("design:type",String)],So.prototype,"cClassTrib",void 0);Wn([(0,et.IsOptional)(),(0,et.IsString)(),Jn("design:type",String)],So.prototype,"indDoacao",void 0);Wn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,wa.Type)(()=>ga),Jn("design:type",typeof ga>"u"?Object:ga)],So.prototype,"gTransfCred",void 0);Wn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,wa.Type)(()=>zr),Jn("design:type",typeof zr>"u"?Object:zr)],So.prototype,"gCredPresIBSZFM",void 0);Wn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,wa.Type)(()=>_n),Jn("design:type",typeof _n>"u"?Object:_n)],So.prototype,"gCredPresOper",void 0);Wn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,wa.Type)(()=>jr),Jn("design:type",typeof jr>"u"?Object:jr)],So.prototype,"gAjusteCompet",void 0);Wn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,wa.Type)(()=>xa),Jn("design:type",typeof xa>"u"?Object:xa)],So.prototype,"gEstornoCred",void 0);Wn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,wa.Type)(()=>Ei),Jn("design:type",typeof Ei>"u"?Object:Ei)],So.prototype,"gIBSCBSMono",void 0);Wn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,wa.Type)(()=>li),Jn("design:type",typeof li>"u"?Object:li)],So.prototype,"gIBSCBS",void 0);var tp=require("nfets/core"),yn=require("class-validator");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 Ia(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ia,"_ts_metadata");var Wo=class{static{s(this,"IS")}CSTIS;cClassTribIS;vBCIS;pIS;adRemIS;uTrib;qTrib;vIS};Oa([(0,yn.IsString)(),Ia("design:type",String)],Wo.prototype,"CSTIS",void 0);Oa([(0,yn.IsString)(),Ia("design:type",String)],Wo.prototype,"cClassTribIS",void 0);Oa([(0,yn.IsOptional)(),(0,tp.TransformDecimal)({fixed:2}),Ia("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Wo.prototype,"vBCIS",void 0);Oa([(0,yn.IsOptional)(),(0,tp.TransformDecimal)({fixed:4}),Ia("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Wo.prototype,"pIS",void 0);Oa([(0,yn.IsOptional)(),(0,tp.TransformDecimal)({fixed:4}),Ia("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Wo.prototype,"adRemIS",void 0);Oa([(0,yn.IsOptional)(),(0,yn.IsString)(),Ia("design:type",String)],Wo.prototype,"uTrib",void 0);Oa([(0,yn.IsOptional)(),(0,tp.TransformDecimal)({fixed:4}),Ia("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Wo.prototype,"qTrib",void 0);Oa([(0,yn.IsOptional)(),(0,tp.TransformDecimal)({fixed:2}),Ia("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Wo.prototype,"vIS",void 0);var Hd=require("nfets/core");function ui(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ui,"_ts_decorate");function ji(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ji,"_ts_metadata");var yt=class{static{s(this,"Imposto")}vTotTrib;ICMS;IPI;ISSQN;II;PIS;PISST;COFINS;COFINSST;ICMSUFDest;IS;IBSCBS};ui([(0,Te.IsOptional)(),(0,Hd.TransformDecimal)({fixed:2}),ji("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yt.prototype,"vTotTrib",void 0);ui([(0,Te.IsOptional)(),(0,Te.ValidateNested)(),(0,Bi.Type)(()=>ge),ji("design:type",typeof IICMS>"u"?Object:IICMS)],yt.prototype,"ICMS",void 0);ui([(0,Te.IsOptional)(),(0,Te.ValidateNested)(),(0,Bi.Type)(()=>Di),ji("design:type",typeof IIPI>"u"?Object:IIPI)],yt.prototype,"IPI",void 0);ui([(0,Te.IsOptional)(),(0,Te.ValidateNested)(),(0,Bi.Type)(()=>rt),ji("design:type",typeof IISSQN>"u"?Object:IISSQN)],yt.prototype,"ISSQN",void 0);ui([(0,Te.IsOptional)(),(0,Te.ValidateNested)(),(0,Bi.Type)(()=>Bn),ji("design:type",typeof III>"u"?Object:III)],yt.prototype,"II",void 0);ui([(0,Te.IsOptional)(),(0,Te.ValidateNested)(),(0,Bi.Type)(()=>Ln),ji("design:type",typeof IPIS>"u"?Object:IPIS)],yt.prototype,"PIS",void 0);ui([(0,Te.IsOptional)(),(0,Te.ValidateNested)(),(0,Bi.Type)(()=>un),ji("design:type",typeof IPISST>"u"?Object:IPISST)],yt.prototype,"PISST",void 0);ui([(0,Te.IsOptional)(),(0,Te.ValidateNested)(),(0,Bi.Type)(()=>Vn),ji("design:type",typeof ICOFINS>"u"?Object:ICOFINS)],yt.prototype,"COFINS",void 0);ui([(0,Te.IsOptional)(),(0,Te.ValidateNested)(),(0,Bi.Type)(()=>mn),ji("design:type",typeof ICOFINSST>"u"?Object:ICOFINSST)],yt.prototype,"COFINSST",void 0);ui([(0,Te.IsOptional)(),(0,Te.ValidateNested)(),(0,Bi.Type)(()=>zo),ji("design:type",typeof IICMSUFDest>"u"?Object:IICMSUFDest)],yt.prototype,"ICMSUFDest",void 0);ui([(0,Te.IsOptional)(),(0,Te.ValidateNested)(),(0,Bi.Type)(()=>Wo),ji("design:type",typeof IIS>"u"?Object:IIS)],yt.prototype,"IS",void 0);ui([(0,Te.IsOptional)(),(0,Te.ValidateNested)(),(0,Bi.Type)(()=>So),ji("design:type",typeof IIBSCBS>"u"?Object:IIBSCBS)],yt.prototype,"IBSCBS",void 0);yt=ui([(0,Hd.Choice)({properties:["ICMS","ISSQN"]})],yt);var Ds=require("class-validator"),uC=require("class-transformer");function xv(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(xv,"_ts_decorate");function Sv(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Sv,"_ts_metadata");var kd=class{static{s(this,"IpiDevol")}vIPIDevol};xv([(0,Ds.IsString)(),Sv("design:type",String)],kd.prototype,"vIPIDevol",void 0);var op=class{static{s(this,"Devol")}pDevol;IPI};xv([(0,Ds.IsString)(),Sv("design:type",String)],op.prototype,"pDevol",void 0);xv([(0,Ds.IsOptional)(),(0,Ds.ValidateNested)(),(0,uC.Type)(()=>kd),Sv("design:type",typeof IIpiDevol>"u"?Object:IIpiDevol)],op.prototype,"IPI",void 0);var Mr=require("class-validator"),Cv=require("class-transformer");function Gd(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Gd,"_ts_decorate");function Qd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Qd,"_ts_metadata");var ip=class{static{s(this,"Observation")}xCampo;xTexto};Gd([(0,Mr.IsString)(),Qd("design:type",String)],ip.prototype,"xCampo",void 0);Gd([(0,Mr.IsString)(),Qd("design:type",String)],ip.prototype,"xTexto",void 0);var np=class{static{s(this,"ObsItem")}obsCont;obsFisco};Gd([(0,Mr.IsOptional)(),(0,Mr.ValidateNested)(),(0,Cv.Type)(()=>ip),Qd("design:type",typeof IObservation>"u"?Object:IObservation)],np.prototype,"obsCont",void 0);Gd([(0,Mr.IsOptional)(),(0,Mr.ValidateNested)(),(0,Cv.Type)(()=>ip),Qd("design:type",typeof IObservation>"u"?Object:IObservation)],np.prototype,"obsFisco",void 0);var nu=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 fC(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(fC,"_ts_metadata");var Aa=class{static{s(this,"DFeReferenciado")}chaveAcesso;nItem};dC([(0,nu.IsString)(),fC("design:type",String)],Aa.prototype,"chaveAcesso",void 0);dC([(0,nu.IsOptional)(),(0,nu.IsString)(),fC("design:type",String)],Aa.prototype,"nItem",void 0);var mC=require("nfets/core");function Lr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Lr,"_ts_decorate");function Vr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Vr,"_ts_metadata");var rp=class{static{s(this,"DetAttributes")}nItem};Lr([(0,Ot.IsString)(),Vr("design:type",String)],rp.prototype,"nItem",void 0);var Mi=class{static{s(this,"Det")}prod;imposto;impostoDevol;infAdProd;obsItem;vItem;DFeReferenciado};Lr([(0,Ot.IsObject)(),(0,Ot.ValidateNested)(),(0,Es.Type)(()=>rp),Vr("design:type",typeof IDetAttributes>"u"?Object:IDetAttributes)],Mi.prototype,"$",void 0);Lr([(0,Ot.ValidateNested)(),(0,Es.Type)(()=>U),Vr("design:type",typeof IProd>"u"?Object:IProd)],Mi.prototype,"prod",void 0);Lr([(0,Ot.IsOptional)(),(0,Ot.ValidateNested)(),(0,Es.Type)(()=>yt),Vr("design:type",typeof IImposto>"u"?Object:IImposto)],Mi.prototype,"imposto",void 0);Lr([(0,Ot.IsOptional)(),(0,Ot.ValidateNested)(),(0,Es.Type)(()=>op),Vr("design:type",typeof IDevol>"u"?Object:IDevol)],Mi.prototype,"impostoDevol",void 0);Lr([(0,Ot.IsOptional)(),(0,Ot.IsString)(),Vr("design:type",String)],Mi.prototype,"infAdProd",void 0);Lr([(0,Ot.IsOptional)(),(0,Ot.ValidateNested)(),(0,Es.Type)(()=>np),Vr("design:type",typeof IObsItem>"u"?Object:IObsItem)],Mi.prototype,"obsItem",void 0);Lr([(0,Ot.IsOptional)(),(0,mC.TransformDecimal)({fixed:2}),Vr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Mi.prototype,"vItem",void 0);Lr([(0,Ot.IsOptional)(),(0,Ot.ValidateNested)(),(0,Es.Type)(()=>Aa),Vr("design:type",typeof IDFeReferenciado>"u"?Object:IDFeReferenciado)],Mi.prototype,"DFeReferenciado",void 0);var to=require("class-validator"),Zd=require("nfets/core");function bn(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(bn,"_ts_decorate");function xn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(xn,"_ts_metadata");var eo=class{static{s(this,"Avulsa")}CNPJ;xOrgao;matr;xAgente;fone;UF;nDAR;dEmi;vDAR;repEmi;dPag};bn([(0,to.IsString)(),xn("design:type",String)],eo.prototype,"CNPJ",void 0);bn([(0,to.IsString)(),xn("design:type",String)],eo.prototype,"xOrgao",void 0);bn([(0,to.IsString)(),xn("design:type",String)],eo.prototype,"matr",void 0);bn([(0,to.IsString)(),xn("design:type",String)],eo.prototype,"xAgente",void 0);bn([(0,to.IsOptional)(),(0,to.IsString)(),xn("design:type",String)],eo.prototype,"fone",void 0);bn([(0,to.IsString)(),xn("design:type",String)],eo.prototype,"UF",void 0);bn([(0,to.IsOptional)(),(0,to.IsString)(),xn("design:type",String)],eo.prototype,"nDAR",void 0);bn([(0,to.IsOptional)(),(0,Zd.TransformDateString)({format:"YYYY-MM-DD"}),xn("design:type",typeof Date>"u"?Object:Date)],eo.prototype,"dEmi",void 0);bn([(0,to.IsOptional)(),(0,Zd.TransformDecimal)({fixed:2}),xn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"vDAR",void 0);bn([(0,to.IsString)(),xn("design:type",String)],eo.prototype,"repEmi",void 0);bn([(0,to.IsOptional)(),(0,to.IsDate)(),xn("design:type",typeof Date>"u"?Object:Date)],eo.prototype,"dPag",void 0);var hC=require("class-validator");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 WD(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(WD,"_ts_metadata");var Ps=class{static{s(this,"InfSolicNFF")}xSolic};YD([(0,hC.IsString)(),WD("design:type",String)],Ps.prototype,"xSolic",void 0);var Ut=require("class-validator"),Rv=require("class-transformer"),vC=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,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(_r,"_ts_decorate");function Fa(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Fa,"_ts_metadata");var ru=class{static{s(this,"Defensivo")}nReceituario;CPFRespTec};_r([(0,Ut.IsString)(),Fa("design:type",String)],ru.prototype,"nReceituario",void 0);_r([(0,Ut.IsString)(),Fa("design:type",String)],ru.prototype,"CPFRespTec",void 0);var Ts=class{static{s(this,"GuiaTransito")}tpGuia;UFGuia;serieGuia;nGuia};_r([(0,Ut.IsString)(),Fa("design:type",String)],Ts.prototype,"tpGuia",void 0);_r([(0,Ut.IsString)(),Fa("design:type",String)],Ts.prototype,"UFGuia",void 0);_r([(0,Ut.IsOptional)(),(0,Ut.IsString)(),Fa("design:type",String)],Ts.prototype,"serieGuia",void 0);_r([(0,Ut.IsString)(),Fa("design:type",String)],Ts.prototype,"nGuia",void 0);var Xn=class{static{s(this,"Agropecuario")}defensivo;guiaTransito};_r([(0,Ut.IsOptional)(),(0,Ut.IsArray)(),(0,Ut.ArrayMaxSize)(20),(0,Ut.ValidateNested)({each:!0}),(0,Rv.Type)(()=>ru),Fa("design:type",Array)],Xn.prototype,"defensivo",void 0);_r([(0,Ut.IsOptional)(),(0,Ut.ValidateNested)(),(0,Rv.Type)(()=>Ts),Fa("design:type",typeof IGuiaTransito>"u"?Object:IGuiaTransito)],Xn.prototype,"guiaTransito",void 0);Xn=_r([(0,vC.Choice)({properties:["defensivo","guiaTransito"]})],Xn);var Ea=require("class-validator"),Nv=require("class-transformer");function ap(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ap,"_ts_decorate");function sp(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(sp,"_ts_metadata");var au=class{static{s(this,"RSAKeyValue")}Modulus;Exponent};ap([(0,Ea.IsString)(),sp("design:type",String)],au.prototype,"Modulus",void 0);ap([(0,Ea.IsString)(),sp("design:type",String)],au.prototype,"Exponent",void 0);var su=class{static{s(this,"PAASignature")}SignatureValue;RSAKeyValue};ap([(0,Ea.IsString)(),sp("design:type",String)],su.prototype,"SignatureValue",void 0);ap([(0,Ea.ValidateNested)(),(0,Nv.Type)(()=>au),sp("design:type",typeof IRSAKeyValue>"u"?Object:IRSAKeyValue)],su.prototype,"RSAKeyValue",void 0);var Da=class{static{s(this,"InfPAA")}CNPJPAA;PAASignature};ap([(0,Ea.IsString)(),sp("design:type",String)],Da.prototype,"CNPJPAA",void 0);ap([(0,Ea.ValidateNested)(),(0,Nv.Type)(()=>su),sp("design:type",typeof IPAASignature>"u"?Object:IPAASignature)],Da.prototype,"PAASignature",void 0);function We(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(We,"_ts_decorate");function Je(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Je,"_ts_metadata");var zs=class{static{s(this,"InfNFeAttributes")}Id;versao};We([(0,_.IsOptional)(),(0,_.IsString)(),Je("design:type",String)],zs.prototype,"Id",void 0);We([(0,_.IsOptional)(),(0,_.IsString)(),Je("design:type",String)],zs.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};We([(0,_.IsObject)(),(0,_.IsNotEmptyObject)(),(0,tt.Type)(()=>zs),(0,_.ValidateNested)(),Je("design:type",typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes)],Ne.prototype,"$",void 0);We([(0,_.IsObject)(),(0,_.IsNotEmptyObject)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>$),Je("design:type",typeof IIde>"u"?Object:IIde)],Ne.prototype,"ide",void 0);We([(0,_.IsObject)(),(0,_.IsNotEmptyObject)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Nt),Je("design:type",typeof IEmit>"u"?Object:IEmit)],Ne.prototype,"emit",void 0);We([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>eo),Je("design:type",typeof IAvulsa>"u"?Object:IAvulsa)],Ne.prototype,"avulsa",void 0);We([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Mt),Je("design:type",typeof IDest>"u"?Object:IDest)],Ne.prototype,"dest",void 0);We([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Ie),Je("design:type",typeof ILocal>"u"?Object:ILocal)],Ne.prototype,"retirada",void 0);We([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Ie),Je("design:type",typeof ILocal>"u"?Object:ILocal)],Ne.prototype,"entrega",void 0);We([(0,_.IsOptional)(),(0,_.ValidateNested)({each:!0}),(0,_.ArrayMaxSize)(10),(0,tt.Type)(()=>Fn),Je("design:type",Array)],Ne.prototype,"autXML",void 0);We([(0,_.ValidateNested)({each:!0}),(0,_.ArrayMaxSize)(990),(0,_.ArrayMinSize)(1),(0,tt.Type)(()=>Mi),Je("design:type",Array)],Ne.prototype,"det",void 0);We([(0,_.ValidateNested)(),(0,tt.Type)(()=>Ni),Je("design:type",typeof ITotal>"u"?Object:ITotal)],Ne.prototype,"total",void 0);We([(0,_.ValidateNested)(),(0,tt.Type)(()=>po),Je("design:type",typeof ITransp>"u"?Object:ITransp)],Ne.prototype,"transp",void 0);We([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>sa),Je("design:type",typeof ICobr>"u"?Object:ICobr)],Ne.prototype,"cobr",void 0);We([(0,_.ValidateNested)(),(0,tt.Type)(()=>la),Je("design:type",typeof IPag>"u"?Object:IPag)],Ne.prototype,"pag",void 0);We([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>ta),Je("design:type",typeof IInfIntermed>"u"?Object:IInfIntermed)],Ne.prototype,"infIntermed",void 0);We([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>an),Je("design:type",typeof IInfAdic>"u"?Object:IInfAdic)],Ne.prototype,"infAdic",void 0);We([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>ur),Je("design:type",typeof IExporta>"u"?Object:IExporta)],Ne.prototype,"exporta",void 0);We([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>dr),Je("design:type",typeof ICompra>"u"?Object:ICompra)],Ne.prototype,"compra",void 0);We([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>lo),Je("design:type",typeof ICana>"u"?Object:ICana)],Ne.prototype,"cana",void 0);We([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Si),Je("design:type",typeof IInfRespTec>"u"?Object:IInfRespTec)],Ne.prototype,"infRespTec",void 0);We([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Ps),Je("design:type",typeof ISolicNFF>"u"?Object:ISolicNFF)],Ne.prototype,"infSolicNFF",void 0);We([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Xn),Je("design:type",typeof IAgropecuario>"u"?Object:IAgropecuario)],Ne.prototype,"agropecuario",void 0);We([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Da),Je("design:type",typeof IInfPAA>"u"?Object:IInfPAA)],Ne.prototype,"infPAA",void 0);var wv=require("class-transformer");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 Wd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Wd,"_ts_metadata");var cp=class{static{s(this,"NFeAttributes")}xmlns};Yd([(0,Bo.IsString)(),(0,Bo.IsNotEmpty)(),Wd("design:type",String)],cp.prototype,"xmlns",void 0);var Ur=class{static{s(this,"NFe")}$;infNFe;Signature};Yd([(0,Bo.IsObject)(),(0,Bo.IsNotEmptyObject)(),(0,wv.Type)(()=>cp),(0,Bo.ValidateNested)(),Wd("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],Ur.prototype,"$",void 0);Yd([(0,Bo.IsObject)(),(0,Bo.IsNotEmptyObject)(),(0,wv.Type)(()=>Ne),(0,Bo.ValidateNested)(),Wd("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],Ur.prototype,"infNFe",void 0);Yd([(0,Bo.Allow)(),Wd("design:type",typeof Signature>"u"?Object:Signature)],Ur.prototype,"Signature",void 0);var gC=require("nfets/core");var Ro=require("nfets/core");var Sn=s((t=[_f])=>(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 Co(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Co,"_ts_decorate");function H(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(H,"_ts_metadata");var dt=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}};Co([(0,Ro.Validates)(rp),H("design:type",Function),H("design:paramtypes",[typeof IDetAttributes>"u"?Object:IDetAttributes]),H("design:returntype",void 0)],dt.prototype,"det",null);Co([(0,Ro.Validates)(U),H("design:type",Function),H("design:paramtypes",[typeof IProd>"u"?Object:IProd]),H("design:returntype",void 0)],dt.prototype,"prod",null);Co([(0,Ro.Validates)(yt),H("design:type",Function),H("design:paramtypes",[typeof IImposto>"u"?Object:IImposto]),H("design:returntype",void 0)],dt.prototype,"imposto",null);Co([(0,Ro.Validates)(ge),H("design:type",Function),H("design:paramtypes",[typeof IICMS>"u"?Object:IICMS]),H("design:returntype",void 0)],dt.prototype,"icms",null);Co([(0,Ro.Validates)(rt),H("design:type",Function),H("design:paramtypes",[typeof IISSQN>"u"?Object:IISSQN]),H("design:returntype",void 0)],dt.prototype,"issqn",null);Co([(0,Ro.Validates)(Bn),H("design:type",Function),H("design:paramtypes",[typeof III>"u"?Object:III]),H("design:returntype",void 0)],dt.prototype,"ii",null);Co([(0,Ro.Validates)(Di),H("design:type",Function),H("design:paramtypes",[typeof IIPI>"u"?Object:IIPI]),H("design:returntype",void 0)],dt.prototype,"ipi",null);Co([(0,Ro.Validates)(Ln),H("design:type",Function),H("design:paramtypes",[typeof IPIS>"u"?Object:IPIS]),H("design:returntype",void 0)],dt.prototype,"pis",null);Co([(0,Ro.Validates)(un),H("design:type",Function),H("design:paramtypes",[typeof IPISST>"u"?Object:IPISST]),H("design:returntype",void 0)],dt.prototype,"pisst",null);Co([(0,Ro.Validates)(Vn),H("design:type",Function),H("design:paramtypes",[typeof ICOFINS>"u"?Object:ICOFINS]),H("design:returntype",void 0)],dt.prototype,"cofins",null);Co([(0,Ro.Validates)(mn),H("design:type",Function),H("design:paramtypes",[typeof ICOFINSST>"u"?Object:ICOFINSST]),H("design:returntype",void 0)],dt.prototype,"cofinsst",null);Co([(0,Ro.Validates)(zo),H("design:type",Function),H("design:paramtypes",[typeof IICMSUFDest>"u"?Object:IICMSUFDest]),H("design:returntype",void 0)],dt.prototype,"icmsufdest",null);Co([Sn(wo),(0,Ro.Validates)(Wo),H("design:type",Function),H("design:paramtypes",[typeof IIS>"u"?Object:IIS]),H("design:returntype",void 0)],dt.prototype,"is",null);Co([Sn(wo),(0,Ro.Validates)(So),H("design:type",Function),H("design:paramtypes",[typeof IIBSCBS>"u"?Object:IIBSCBS]),H("design:returntype",void 0)],dt.prototype,"ibscbs",null);Co([Sn(wo),H("design:type",Function),H("design:paramtypes",[typeof IVItem>"u"?Object:IVItem]),H("design:returntype",void 0)],dt.prototype,"vItem",null);Co([Sn(wo),(0,Ro.Validates)(Aa),H("design:type",Function),H("design:paramtypes",[typeof IDFeReferenciado>"u"?Object:IDFeReferenciado]),H("design:returntype",void 0)],dt.prototype,"dfeReferenciado",null);var pp=require("nfets/core"),ye=require("nfets/core"),Jd=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 E(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(E,"_ts_metadata");var le=class{static{s(this,"NfeXmlBuilder")}builder;contingency;schema;data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}}};$data=void 0;aggregators=[new Hp(this)];root="NFe";$det=new qp(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=dt.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},wo.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,gC.plainToInstance)(this.data,Ur,{clearEmptyValues:!0})}quiet(){return Reflect.deleteMetadata(ye.ValidateErrorsMetadata,this),this}toObject(){if(this.$data!==void 0)return(0,pp.right)(this.$data);let e=this.errors();if(e)return(0,pp.left)(new Jd.NFeTsError(e.join(", ")));for(let o of this.aggregators)o.aggregate();return this.assertHomologValidations(),this.assertContingencyModes(),this.fillAccessKeyIfEmpty(),this.$data=hc(this.toInstance(),this.data.infNFe.emit.enderEmit.UF),(0,pp.right)(this.$data)}async assemble(){let e=this.toObject();return e.isLeft()?e:(0,pp.right)(await this.builder.build(e.value,{rootName:this.root}))}assertHomologValidations(){return this.data.infNFe.ide.tpAmb!==Jd.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!==mt.Normal)return;switch(bd[e]){case"SVCAN":return this.data.infNFe.ide.tpEmis=mt.SVCAN,void 0;case"SVCRS":return this.data.infNFe.ide.tpEmis=mt.SVCRS,void 0}}automaticallyInferContingencyMode(){let{xJust:e,dhCont:o,tpEmis:i}=this.data.infNFe.ide;if(!(!e&&!o&&i===mt.Normal))return this.contingency={xJust:e??"SEFAZ fora do Ar",dhCont:o??new Date().toISOString()},this.assertContingencyModes()}errors(){return Reflect.getMetadata(ye.ValidateErrorsMetadata,this)}collect(e){let o=Reflect.getMetadata(ye.ValidateErrorsMetadata,e);if(!o)return;let i=this.errors();Reflect.defineMetadata(ye.ValidateErrorsMetadata,(i??[]).concat(o),this)}fillAccessKeyIfEmpty(){if(this.data.infNFe.$.Id)return;let e=new Up().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,ye.Validates)(zs),E("design:type",Function),E("design:paramtypes",[typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes]),E("design:returntype",void 0)],le.prototype,"infNFe",null);Xe([(0,ye.Validates)($),E("design:type",Function),E("design:paramtypes",[typeof IIde>"u"?Object:IIde]),E("design:returntype",void 0)],le.prototype,"ide",null);Xe([(0,ye.Validates)(Nt),E("design:type",Function),E("design:paramtypes",[typeof IEmit>"u"?Object:IEmit]),E("design:returntype",void 0)],le.prototype,"emit",null);Xe([(0,ye.Validates)(eo),E("design:type",Function),E("design:paramtypes",[typeof IAvulsa>"u"?Object:IAvulsa]),E("design:returntype",void 0)],le.prototype,"avulsa",null);Xe([(0,ye.Validates)(Mt),E("design:type",Function),E("design:paramtypes",[typeof IDest>"u"?Object:IDest]),E("design:returntype",void 0)],le.prototype,"dest",null);Xe([(0,ye.Validates)(Ie),E("design:type",Function),E("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),E("design:returntype",void 0)],le.prototype,"retirada",null);Xe([(0,ye.Validates)(Ie),E("design:type",Function),E("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),E("design:returntype",void 0)],le.prototype,"entrega",null);Xe([(0,ye.Validates)(Fn,{each:!0}),E("design:type",Function),E("design:paramtypes",[Array]),E("design:returntype",void 0)],le.prototype,"autXML",null);Xe([(0,ye.Validates)(Ni),E("design:type",Function),E("design:paramtypes",[typeof ITotal>"u"?Object:ITotal]),E("design:returntype",void 0)],le.prototype,"total",null);Xe([Sn(wo),(0,ye.Validates)(nn),E("design:type",Function),E("design:paramtypes",[typeof IIBSCBSTot>"u"?Object:IIBSCBSTot]),E("design:returntype",void 0)],le.prototype,"IBSCBSTot",null);Xe([Sn(wo),(0,ye.Validates)(ys),E("design:type",Function),E("design:paramtypes",[typeof IISTot>"u"?Object:IISTot]),E("design:returntype",void 0)],le.prototype,"ISTot",null);Xe([Sn(wo),E("design:type",Function),E("design:paramtypes",[typeof ITotal>"u"?Object:ITotal]),E("design:returntype",void 0)],le.prototype,"buildTotalForPL_010",null);Xe([(0,ye.Validates)(po),E("design:type",Function),E("design:paramtypes",[typeof ITransp>"u"?Object:ITransp]),E("design:returntype",void 0)],le.prototype,"transp",null);Xe([(0,ye.Validates)(sa),E("design:type",Function),E("design:paramtypes",[typeof ICobr>"u"?Object:ICobr]),E("design:returntype",void 0)],le.prototype,"cobr",null);Xe([(0,ye.Validates)(la),E("design:type",Function),E("design:paramtypes",[typeof IPag>"u"?Object:IPag]),E("design:returntype",void 0)],le.prototype,"pag",null);Xe([(0,ye.Validates)(ta),E("design:type",Function),E("design:paramtypes",[typeof IInfIntermed>"u"?Object:IInfIntermed]),E("design:returntype",void 0)],le.prototype,"infIntermed",null);Xe([(0,ye.Validates)(an),E("design:type",Function),E("design:paramtypes",[typeof IInfAdic>"u"?Object:IInfAdic]),E("design:returntype",void 0)],le.prototype,"infAdic",null);Xe([(0,ye.Validates)(ur),E("design:type",Function),E("design:paramtypes",[typeof IExporta>"u"?Object:IExporta]),E("design:returntype",void 0)],le.prototype,"exporta",null);Xe([(0,ye.Validates)(dr),E("design:type",Function),E("design:paramtypes",[typeof ICompra>"u"?Object:ICompra]),E("design:returntype",void 0)],le.prototype,"compra",null);Xe([(0,ye.Validates)(lo),E("design:type",Function),E("design:paramtypes",[typeof ICana>"u"?Object:ICana]),E("design:returntype",void 0)],le.prototype,"cana",null);Xe([(0,ye.Validates)(Si),E("design:type",Function),E("design:paramtypes",[typeof IInfRespTec>"u"?Object:IInfRespTec]),E("design:returntype",void 0)],le.prototype,"infRespTec",null);Xe([(0,ye.Validates)(Ps),E("design:type",Function),E("design:paramtypes",[typeof ISolicNFF>"u"?Object:ISolicNFF]),E("design:returntype",void 0)],le.prototype,"infSolicNFF",null);Xe([Sn(wo),(0,ye.Validates)(Xn),E("design:type",Function),E("design:paramtypes",[typeof IAgropecuario>"u"?Object:IAgropecuario]),E("design:returntype",void 0)],le.prototype,"agropecuario",null);Xe([Sn(wo),(0,ye.Validates)(Da),E("design:type",Function),E("design:paramtypes",[typeof IInfPAA>"u"?Object:IInfPAA]),E("design:returntype",void 0)],le.prototype,"infPAA",null);var cu=class extends pc{static{s(this,"NfeXmlBuilderPipeline")}certificate;schema;builder;constructor(e,o="PL_009_V4"){super(e),this.certificate=e,this.schema=o,this.builder=le.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 yC.default.resolve(_p(),this.schema,"nfe_v4.00.xsd")}async assertXmlSignedAndValidated(e){if(!this.certificate)return(0,lp.right)(e);let o=await this.signXmlString(e);return o.isLeft()?o:this.validateXmlString(o.value)}async signXmlString(e){if(!this.certificate)return(0,lp.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,lp.left)(new Vp(o.value.message,e,{cause:o.value.cause})):(0,lp.right)(e)}};var CC=require("nfets/core");var ef=require("nfets/core"),RC=require("nfets/core");var SC=require("nfets/core");var $d=require("class-transformer"),Jo=require("class-validator");var Ov=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 xC(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(xC,"_ts_metadata");var up=class{static{s(this,"InfNFeSupl")}qrCode;urlChave};bC([(0,Ov.IsString)(),xC("design:type",String)],up.prototype,"qrCode",void 0);bC([(0,Ov.IsString)(),xC("design:type",String)],up.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,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Xd,"_ts_decorate");function Kd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Kd,"_ts_metadata");var Kn=class{static{s(this,"NFCe")}$;infNFe;infNFeSupl;Signature};Xd([(0,Jo.IsObject)(),(0,Jo.IsNotEmptyObject)(),(0,$d.Type)(()=>cp),(0,Jo.ValidateNested)(),Kd("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],Kn.prototype,"$",void 0);Xd([(0,Jo.IsObject)(),(0,Jo.IsNotEmptyObject)(),(0,$d.Type)(()=>Ne),(0,Jo.ValidateNested)(),Kd("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],Kn.prototype,"infNFe",void 0);Xd([(0,Jo.IsObject)(),(0,Jo.IsNotEmptyObject)(),(0,$d.Type)(()=>up),(0,Jo.ValidateNested)(),Kd("design:type",typeof IInfNFeSupl>"u"?Object:IInfNFeSupl)],Kn.prototype,"infNFeSupl",void 0);Xd([(0,Jo.Allow)(),Kd("design:type",typeof Signature>"u"?Object:Signature)],Kn.prototype,"Signature",void 0);var pu=class extends le{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,SC.plainToInstance)(this.data,Kn,{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===mt.Normal)return this.data.infNFe.ide.tpEmis=mt.OFFLINE,void 0}};var Iv=class extends cu{static{s(this,"NfceXmlBuilderPipeline")}options;nfceQrcode=new Yt(this.certificates);transmitter=new jt(this.soap,this.nfceQrcode);constructor(e,o="PL_009_V4",i){super(e,o),this.options=i}builder=pu.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,ef.left)(new CC.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,ef.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,RC.unreachable)(n.version)}}};var NC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAg0AAAFXCAYAAAAh5X2YAAAgAElEQVR4nOy9e5xdZX3v//7sDENMY0zTNCcnJ+XQlEORw0TkRzkUYSCZaKkSBrwEa8XLD5tgBtA2M6HUenxZj1Umk1pJhpLUS71Uy2gp4WK9ZAJM1HootZpYDz9+/CylkQaIiCHEECbz/f2xnmettffc9mWtfZl53jDZa6/P2mt/n2evtZ7v831uIhCokN7d+9qRFgAL3d98jIWGLUJaLOOXEEsMu31r18qvNtjcQCAQCGSEGm1AoP5sGt7fJmw+aIGZzZc032C+YDGwEGMhspeBFgGLgIWGLRBaDCwyrF2oALQBBaBgUPAXk2EACB017O1bu1Z+uQHJDAQCgUDGBKehhekd3t8OzPMFPzCfqJBfDCzG7JeAhSYtBluEsRixEDQfrA2jHdEOtGG0ASCBK/Rj/NvqtMOS1g50dYxkkeZAIBAINI7gNDQZm3bvL4DNkzTfzOYDy4SWIZYB/wlYitlipKVEUYG5iLkY89zrxL+qOaEx2hNmtmrrmpWPTJf+QCAQCDQvwWloML3D+xaYcaGkc4D/DpwKLImaCFhIFP6fCXzP4NVbuzoONdqQQCAQCFRHcBoaSO/w/vlm3Ad2rqS4LwAmkMXR/hmk3SV01UBXx7Hac681uGLPxwH5vh9twDyMRSjqKwLMI2pSwmChoN3l2didXTd8tDFWBwKBwMS0NdqAWc4bEefK+W7xv4peLRX5nyHa5WZ8uHd4f99AV8dYhXnV1Fyx55Z2jOWGrZB0Cv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GHKv2k7rhkqq0XFZ2Q+SdJQ7EbaFhRXohPAZ2xK6WMxIiiBXlQNfkbytfAUDIvRrX3jyoD6F3TvlXQDn4gmhMdAg8LhgTbiYMli/nsD4AbgF0yI+ARSQdsFww3Aa9F75GD0hA4aQlRPYETiu7+lZlp/PaD0zK/XXvhm1+Z0ZQZKedkiG31OOW+qJIlJynStSeSCL5jI3sZuPjchccju2Q9cUzBImCGYb+grmZEg3vmGBbFpw521paOHv+z+wAtxixCHgQNFPPZceeOmCpyhdJ024skTbfZK7GrtvJlrlCajjnfcrPQ1mI++9po7QUCJxtBaQickPz0lbefPeuU//gi6NKythBT8YFHP5VD6Vw5eRGh8rVTL9MQ+J3nLtw8ocJIgUAg8HoiuCcCJyQXn/XPLxv9AfhD0dE5V05M1JyySGRlV0X56GSSuOkYyPDtRkFhCAQCb2iCpSFwwjOwfeksSR+2uVFicdo9keBylsho558uglR2YUyNbMTwOcynliw6XtUyA4FA4NgQlIbA64YtO1pnAVfbvklwPlJLteOiQvJ6tStj0mWv2r4T8dCShZuDwhAIBN7wBKUh8LpjYEdrk+xzkN4PdNheDKpJmxxZI5L4yEmUHTC8LLvH8NiSRZtDkFwgEDhpCEpD4HXNwI6lGaGzsLNIFwMXAfNsWiQyaftA5SsNXquR2SNIh8AHQVsxLyB+CmwCdh6rSpiBQCBwIhGUhsAbii07WrGZI/lsw2JgIWa+pDnALOyoaFEcq2AzIrEPOIC9B9iN9H+AndjbLe1asjDEKgQCgQDA/wf59f5AwcXxcQAAAABJRU5ErkJggg==";var dp=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 NC}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 Pa=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!==mt.Normal}get hasNotProtocoledInNormalEmission(){return!this.hasContingency&&!this.context.protNFe}contingency(e){if(!this.hasContingency)return;let{left:o,right:i}=this.builder.pageMargins();this.builder.row({left:e?.x??o,right:i},r=>this.builder.text(this.contingencyBannerText,{...r,align:"center"}))}notProtocoledInNormalEmission(e){if(!this.hasNotProtocoledInNormalEmission)return;let{left:o,right:i}=this.builder.pageMargins();this.builder.row({left:e?.x??o,right:i},r=>this.builder.text(this.constants.notProtocoledInNormalEmission,{...r,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 wC=require("nfets/core");var fp=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!==wC.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 tf=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},h={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)}],C=this.builder.widthOfString(r),O=this.columnStyles[1];if(C>=O)return[[h,{colSpan:6,font:d,text:`${r} ${n}`}],[{colSpan:3},...S]];let b=this.builder.widthOfString(n),w=this.columnStyles[2];if(b>=w)return[[h,y,{colSpan:5,font:d,text:n}],[{colSpan:3},...S]];let F=this.getFirstLineWidth();return this.builder.widthOfString(`${r} ${n}`)<=F?[[h,y,{font:d,text:n},...S]]:[[h,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),[h]=d,y=this.calculateRowHeight(h,i),S=0;if(d.length>1){let F=this.calculateRowHeight(d[1],i);S=Math.max(i,F)}let{top:C,bottom:O}=this.defaultStyle.padding,b=C+O,w=d.length>1?i*.2:0;return u+y+S+d.length*b+w},0),p=i*2;return n+r+a+c+p}};var OC=require("nfets/core");var mp=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 OC.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 bt={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"},IC={[bt.Dinheiro]:"Dinheiro",[bt.Cheque]:"Cheque",[bt.CartaoDeCredito]:"Cart\xE3o de Cr\xE9dito",[bt.CartaoDeDebito]:"Cart\xE3o de D\xE9bito",[bt.CartaoDaLoja]:"Cart\xE3o da Loja/Outros Credi\xE1rios",[bt.ValeAlimentacao]:"Vale Alimenta\xE7\xE3o",[bt.ValeRefeicao]:"Vale Refei\xE7\xE3o",[bt.ValePresente]:"Vale Presente",[bt.ValeCombustivel]:"Vale Combust\xEDvel",[bt.BoletoBancario]:"Boleto Banc\xE1rio",[bt.DepositoBancario]:"Dep\xF3sito Banc\xE1rio",[bt.PIXDinamico]:"Pagamento Instant\xE2neo (PIX) - Din\xE2mico",[bt.TransferenciaBancaria]:"Transfer\xEAncia banc\xE1ria, Carteira Digital",[bt.ProgramaFidelidade]:"Programa fidelidade, Cashback, Cr\xE9d Virt",[bt.PIXEstatico]:"Pagamento Instant\xE2neo (PIX) - Est\xE1tico",[bt.CreditoEmLoja]:"Cr\xE9dito em Loja",[bt.PagamentoNaoInformado]:"Pagamento Eletr\xF4nico n\xE3o Informado - falha de hardware do sistema emissor",[bt.SemPagamento]:"Sem pagamento",[bt.PagamentoPosterior]:"Pagamento Posterior",[bt.Outros]:"Outros"};var hp=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(IC[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 vp=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 BN=ct(yg(),1);var gf=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!==mt.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 BN.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,h=this.builder.y();this.builder.save().translate(d,h).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:h+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 yf=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 Hr=require("nfets/core");var bf=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=Hr.timezones[u],d=(0,Hr.dateToolkit)(r).tz(l).format("DD/MM/YYYY HH:mm:ss"),h=this.context.defaults.font,y=`${h}-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(h))}protocoled(e,o){let{dhRecbto:i,nProt:r}=e,{left:n,right:a}=this.builder.pageMargins(),{cUF:c}=this.context.data.infNFe.ide,p=Hr.timezones[c],u=r.replace(/([0-9]{3})([0-9]{10})(.*)/g,"$1 $2 $3"),l=(0,Hr.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: ${
|
|
38
|
-
Data de autoriza\xE7\xE3o: ${F}`,{width:r,align:"center"}))}return e.reduce((
|
|
24
|
+
`,typeof o=="function"&&o(null,c),c}});var BR=R(jR=>{"use strict";var a1="\x1B[47m",c1="\x1B[40m",Sv="\x1B[37m",Cv="\x1B[30m",Wa="\x1B[0m",p1=a1+Cv,l1=c1+Sv,u1=a(function(t,e,o){return{"00":Wa+" "+t,"01":Wa+e+"\u2584"+t,"02":Wa+o+"\u2584"+t,10:Wa+e+"\u2580"+t,11:" ",12:"\u2584",20:Wa+o+"\u2580"+t,21:"\u2580",22:"\u2588"}},"createPalette"),TR=a(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"),zR=a(function(t,e,o,i){return TR(t,e,o,i)+TR(t,e,o,i+1)},"mkCode");jR.render=function(t,e,o){let i=t.modules.size,r=t.modules.data,n=!!(e&&e.inverse),s=e&&e.inverse?l1:p1,l=u1(s,n?Cv:Sv,n?Sv:Cv),u=Wa+`
|
|
25
|
+
`+s,d=s;for(let f=-1;f<i+1;f+=2){for(let y=-1;y<i;y++)d+=l[zR(r,i,y,f)];d+=l[zR(r,i,i,f)]+u}return d+=Wa,typeof o=="function"&&o(null,d),d}});var LR=R(MR=>{"use strict";var d1=PR(),f1=BR();MR.render=function(t,e,o){return e&&e.small?f1.render(t,e,o):d1.render(t,e,o)}});var Rv=R(_R=>{"use strict";var m1=Au();function VR(t,e){let o=t.a/255,i=e+'="'+t.hex+'"';return o<1?i+" "+e+'-opacity="'+o.toFixed(2).slice(1)+'"':i}a(VR,"getColorAttrib");function Nv(t,e,o){let i=t+e;return typeof o<"u"&&(i+=" "+o),i}a(Nv,"svgCmd");function h1(t,e,o){let i="",r=0,n=!1,s=0;for(let c=0;c<t.length;c++){let p=Math.floor(c%e),l=Math.floor(c/e);!p&&!n&&(n=!0),t[c]?(s++,c>0&&p>0&&t[c-1]||(i+=n?Nv("M",p+o,.5+l+o):Nv("m",r,0),r=0,n=!1),p+1<e&&t[c+1]||(i+=Nv("h",s),s=0)):r++}return i}a(h1,"qrToPath");_R.render=a(function(e,o,i){let r=m1.getOptions(o),n=e.modules.size,s=e.modules.data,c=n+r.margin*2,p=r.color.light.a?"<path "+VR(r.color.light,"fill")+' d="M0 0h'+c+"v"+c+'H0z"/>':"",l="<path "+VR(r.color.dark,"stroke")+' d="'+h1(s,n,r.margin)+'"/>',u='viewBox="0 0 '+c+" "+c+'"',f='<svg xmlns="http://www.w3.org/2000/svg" '+(r.width?'width="'+r.width+'" height="'+r.width+'" ':"")+u+' shape-rendering="crispEdges">'+p+l+`</svg>
|
|
26
|
+
`;return typeof i=="function"&&i(null,f),f},"render")});var UR=R(Nf=>{"use strict";var g1=Rv();Nf.render=g1.render;Nf.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">'+Nf.render(o,i);n.writeFile(e,c,r)},"renderToFile")});var qR=R(Rf=>{"use strict";var wv=Au();function v1(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(v1,"clearCanvas");function y1(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}a(y1,"getCanvasElement");Rf.render=a(function(e,o,i){let r=i,n=o;typeof r>"u"&&(!o||!o.getContext)&&(r=o,o=void 0),o||(n=y1()),r=wv.getOptions(r);let s=wv.getImageWidth(e.modules.size,r),c=n.getContext("2d"),p=c.createImageData(s,s);return wv.qrToImageData(p.data,e,r),v1(c,n,s),c.putImageData(p,0,0),n},"render");Rf.renderToDataURL=a(function(e,o,i){let r=i;typeof r>"u"&&(!o||!o.getContext)&&(r=o,o=void 0),r||(r={});let n=Rf.render(e,o,r),s=r.type||"image/png",c=r.rendererOpts||{};return n.toDataURL(s,c.quality)},"renderToDataURL")});var kR=R(Fu=>{"use strict";var b1=Vg(),Iv=nv(),HR=qR(),x1=Rv();function Ov(t,e,o,i,r){let n=[].slice.call(arguments,1),s=n.length,c=typeof n[s-1]=="function";if(!c&&!b1())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,l){try{let u=Iv.create(o,i);p(t(u,e,i))}catch(u){l(u)}})}try{let p=Iv.create(o,i);r(null,t(p,e,i))}catch(p){r(p)}}a(Ov,"renderCanvas");Fu.create=Iv.create;Fu.toCanvas=Ov.bind(null,HR.render);Fu.toDataURL=Ov.bind(null,HR.renderToDataURL);Fu.toString=Ov.bind(null,function(t,e,o){return x1.render(t,o)})});var YR=R(Ys=>{"use strict";var GR=Vg(),Av=nv(),S1=FR(),QR=DR(),C1=LR(),ZR=UR();function Du(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(GR())e=o||{},o=null;else throw new Error("Callback required as last argument");return{opts:e,cb:o}}a(Du,"checkParams");function N1(t){return t.slice((t.lastIndexOf(".")-1>>>0)+2).toLowerCase()}a(N1,"getTypeFromFilename");function wf(t){switch(t){case"svg":return ZR;case"txt":case"utf8":return QR;default:return S1}}a(wf,"getRendererFromType");function R1(t){switch(t){case"svg":return ZR;case"terminal":return C1;default:return QR}}a(R1,"getStringRendererFromType");function Eu(t,e,o){if(!o.cb)return new Promise(function(i,r){try{let n=Av.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=Av.create(e,o.opts);return t(i,o.opts,o.cb)}catch(i){o.cb(i)}}a(Eu,"render");Ys.create=Av.create;Ys.toCanvas=kR().toCanvas;Ys.toString=a(function(e,o,i){let r=Du(e,o,i),n=r.opts?r.opts.type:void 0,s=R1(n);return Eu(s.render,e,r)},"toString");Ys.toDataURL=a(function(e,o,i){let r=Du(e,o,i),n=wf(r.opts.type);return Eu(n.renderToDataURL,e,r)},"toDataURL");Ys.toBuffer=a(function(e,o,i){let r=Du(e,o,i),n=wf(r.opts.type);return Eu(n.renderToBuffer,e,r)},"toBuffer");Ys.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&&!GR())throw new Error("Too few arguments provided");let n=Du(o,i,r),s=n.opts.type||N1(e),p=wf(s).renderToFile.bind(null,e);return Eu(p,o,n)},"toFile");Ys.toFileStream=a(function(e,o,i){if(arguments.length<2)throw new Error("Too few arguments provided");let r=Du(o,i,e.emit.bind(e,"error")),s=wf("png").renderToFileStream.bind(null,e);Eu(s,o,r)},"toFileStream")});var Fv=R((v9,WR)=>{"use strict";WR.exports=YR()});var I1={};_v(I1,{AccessKeyBuilder:()=>Xp,DanfceDefaultPdfDocument:()=>Ev,DanfceReducedPdfDocument:()=>Pv,DanfeDefaultPdfDocument:()=>zv,DanfeMargins:()=>Kf,DanfeRtcLandscapePdfDocument:()=>Lv,DanfeRtcPdfDocument:()=>Tu,DanfeSimplificadoEtiquetaPdfDocument:()=>Mv,DanfeSimplificadoPdfDocument:()=>Bv,DanfeSimplificadoTipo2PdfDocument:()=>jv,DanfeSize:()=>fw,DefaultDetBuilderAggregator:()=>Kp,DefaultSchema:()=>Xf,DefaultTotalBuilderAggregator:()=>$p,EventoCstatToCancelRegister:()=>Yf,EventoCstatToProtocol:()=>Zf,InutCstatToProtocol:()=>Wf,NFCeDto:()=>er,NFeDto:()=>kr,NfceAuthorizerPipeline:()=>Ml,NfceCancelPipeline:()=>Vh,NfceConsultProtocoloPipeline:()=>Hh,NfceConsultStatusPipeline:()=>qh,NfceContingencyXmlAuthorizerPipeline:()=>_h,NfceQrcode:()=>Yt,NfceRemoteTransmitter:()=>jt,NfceVoidRangePipeline:()=>Uh,NfceXmlBuilder:()=>bu,NfceXmlBuilderPipeline:()=>Lg,NfeAuthorizationResponsePipeline:()=>Th,NfeAuthorizerPipeline:()=>zl,NfeCancelPipeline:()=>Pl,NfeComplements:()=>$f,NfeConsultProtocoloPipeline:()=>Bl,NfeConsultStatusPipeline:()=>jl,NfeDetXmlBuilder:()=>ft,NfeDistribuicaoDFePipeline:()=>jh,NfeManifestacaoPipeline:()=>zh,NfeRemoteTransmitter:()=>Oo,NfeVoidRangePipeline:()=>Ic,NfeXmlBuilder:()=>le,NfeXmlBuilderPipeline:()=>yu,PL_009:()=>dw,PL_010:()=>wo,TpEmis:()=>be,TpEvent:()=>ht,XmlValidationError:()=>Wp,mm:()=>j,ptPerMm:()=>kv,schemas:()=>Jp});module.exports=uw(I1);var qv=require("nfets/core");var Wp=class extends qv.NFeTsError{static{a(this,"XmlValidationError")}xml;name="XmlValidationError";constructor(e,o,i){super(e,i),this.xml=o}};var be=(function(t){return t.Normal="1",t.EPEC="4",t.SVCAN="6",t.SVCRS="7",t.OFFLINE="9",t})({});var ht=(function(t){return t.Cancelamento="110111",t.CancelamentoSubstituicao="110112",t.ConfirmacaoOperacao="210200",t.CienciaOperacao="210210",t.DesconhecimentoOperacao="210220",t.OperacaoNaoRealizada="210240",t})({});var Zf=(function(t){return t.RegistradoEVinculado="135",t})({}),Yf=(function(t){return t.RegistradoEVinculado="135",t.RegistradoNaoVinculado="136",t.CancelamentoHomologadoForaPrazo="155",t})({});var Wf=(function(t){return t.InutilizacaoHomologada="102",t})({});var Jf=require("nfets/core");var ec={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"},dw=[ec.PL_009_V4],wo=[ec.PL_010_V1,ec.PL_010_V1_21,ec.PL_010_V1_30],Xf=ec.PL_009_V4,Jp=a(()=>{if(process.env.NFETS_NFE_SCHEMAS_DIR)return process.env.NFETS_NFE_SCHEMAS_DIR;try{return(0,Jf.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,Jf.search)("nfe/schemas",{onFound:a(t=>t,"onFound"),onNotFound:a(()=>{throw new Error("Schemas not found on nfe/schemas")},"onNotFound")})}},"schemas"),Hv=ec;var kv=2.834645669291339,j=a(t=>t*kv,"mm"),fw={A4:[j(210),j(297)]},Kf={top:j(5),right:j(5),bottom:j(5),left:j(5)};var Xp=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"),l=e.tpEmis.toString().padStart(1,"0"),u=(e.cNF??this.code()).toString().padStart(8,"0"),d=`${o}${i}${r}${n}${s}${c}${p}${l}${u}`;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,l,u,d,f,y,S]=i;return{cUF:n,year:s,month:c,identification:p,mod:l,serie:u,nNF:d,tpEmis:f,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 Gv=require("nfets/core");var qi=require("nfets/core");var mw=new Set([ht.Cancelamento,ht.CancelamentoSubstituicao]),$f=class{static{a(this,"NfeComplements")}toolkit;constructor(e=new Gv.Xml2JsToolkit){this.toolkit=e}cancelRegister(e,o){if(!e.trim())return(0,qi.left)(new qi.NFeTsError("Please provide a valid authorized NFe xml"));let i=this.toolkit.getNode(e,"protNFe");if(!i)return(0,qi.left)(new qi.NFeTsError("NFe not protocoladed"));let r=this.toolkit.getNodeValue(i,"chNFe");if(!r)return(0,qi.left)(new qi.NFeTsError("Access key not found in protNFe"));let n=this.findMatchingRetEvento(o,r);return n?(0,qi.right)(this.toolkit.appendNode(e,n)):(0,qi.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(Yf).includes(r)&&n&&mw.has(n)&&s===o)return i}return null}};var em=require("nfets/core");var Kp=class{static{a(this,"DefaultDetBuilderAggregator")}builder;zero=em.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 em.Decimal.newOrZero(e).add(o??this.zero).toFixed(i)}};var Mu=require("nfets/core");var $p=class{static{a(this,"DefaultTotalBuilderAggregator")}builder;constructor(e){this.builder=e}aggregate(){let e=Mu.Decimal.from(0),o=wo.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:Mu.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=Mu.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 is=require("nfets/core");var tc={[ht.Cancelamento]:{method:"envEventoCancNFe",version:"1.00",descEvento:"Cancelamento"},[ht.CancelamentoSubstituicao]:{method:"envEventoCancSubstNFe",version:"1.00",descEvento:"Cancelamento por substituicao"},[ht.ConfirmacaoOperacao]:{method:"envConfRecebto",version:"1.00",descEvento:"Confirmacao da Operacao"},[ht.CienciaOperacao]:{method:"envConfRecebto",version:"1.00",descEvento:"Ciencia da Operacao"},[ht.DesconhecimentoOperacao]:{method:"envConfRecebto",version:"1.00",descEvento:"Desconhecimento da Operacao"},[ht.OperacaoNaoRealizada]:{method:"envConfRecebto",version:"1.00",descEvento:"Operacao nao Realizada"}};var pr=require("nfets/core");function el(t,e){return a(function(){return t.apply(e,arguments)},"wrap")}a(el,"bind");var{toString:hw}=Object.prototype,{getPrototypeOf:Wr}=Object,{iterator:il,toStringTag:Yv}=Symbol,tl=(({hasOwnProperty:t})=>(e,o)=>t.call(e,o))(Object.prototype),Wv=a(t=>typeof t=="string"&&(t==="__proto__"||t==="constructor"||t==="prototype"),"isUnsafeObjectKey"),Jv=a((t,e,o)=>t===Object.prototype||!o&&e===null,"isPrototypeBoundary"),gw=a(t=>{if(!Object.isExtensible(t))return!1;let e=Object.getOwnPropertyNames(t);return Object.getOwnPropertySymbols&&e.push(...Object.getOwnPropertySymbols(t)),e.every(o=>{if(Wv(o))return!1;let i=Object.getOwnPropertyDescriptor(t,o);return!!i&&i.configurable&&i.writable===!0})},"isSafeAndFullyMutable"),ol=a((t,e)=>{let o=t,i=[];for(;o!=null;){if(i.indexOf(o)!==-1)return!1;i.push(o);let r=Wr(o);if(Jv(o,r,o===t))return!1;if(tl(o,e))return!0;o=r}return!1},"hasOwnInPrototypeChain"),vw=a((t,e)=>t!=null&&ol(t,e)?t[e]:void 0,"getSafeProp"),yw=a(t=>{if(t==null||typeof t!="object"&&typeof t!="function")return t;let e=Wr(t);if(e===null&&gw(t))return t;let o=Object.create(null),i=Object.create(null),r=[],n=t;for(;n!=null&&r.indexOf(n)===-1;){r.push(n);let s=n===t?e:Wr(n);if(Jv(n,s,n===t))break;let c=Object.getOwnPropertyNames(n);Object.getOwnPropertySymbols&&c.push(...Object.getOwnPropertySymbols(n));for(let p of c)Wv(p)||tl(i,p)||(o[p]=t[p],i[p]=!0);n=s}return o},"toSafeFlatObject"),om=(t=>e=>{let o=hw.call(e);return t[o]||(t[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),hi=a(t=>(t=t.toLowerCase(),e=>om(e)===t),"kindOfTest"),Vu=a(t=>e=>typeof e===t,"typeOfTest"),{isArray:ia}=Array,na=Vu("undefined");function oc(t){return t!==null&&!na(t)&&t.constructor!==null&&!na(t.constructor)&&qo(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}a(oc,"isBuffer");var Xv=hi("ArrayBuffer");function bw(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Xv(t.buffer),e}a(bw,"isArrayBufferView");var xw=Vu("string"),qo=Vu("function"),Kv=Vu("number"),ic=a(t=>t!==null&&typeof t=="object","isObject"),Sw=a(t=>t===!0||t===!1,"isBoolean"),Lu=a(t=>{if(!ic(t))return!1;let e=Wr(t);return(e===null||e===Object.prototype||Wr(e)===null)&&!ol(t,Yv)&&!ol(t,il)},"isPlainObject"),Cw=a(t=>{if(!ic(t)||oc(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},"isEmptyObject"),Nw=hi("Date"),Rw=hi("File"),ww=a(t=>!!(t&&typeof t.uri<"u"),"isReactNativeBlob"),Iw=a(t=>t&&typeof t.getParts<"u","isReactNative"),Ow=hi("Blob"),Aw=hi("FileList"),Fw=hi("Set"),Dw=a(t=>ic(t)&&qo(t.pipe),"isStream");function Ew(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}a(Ew,"getGlobal");var Qv=Ew(),Zv=typeof Qv.FormData<"u"?Qv.FormData:void 0,Pw=a(t=>{if(!t)return!1;if(Zv&&t instanceof Zv)return!0;let e=Wr(t);if(!e||e===Object.prototype||!qo(t.append))return!1;let o=om(t);return o==="formdata"||o==="object"&&qo(t.toString)&&t.toString()==="[object FormData]"},"isFormData"),Tw=hi("URLSearchParams"),[zw,jw,Bw,Mw]=["ReadableStream","Request","Response","Headers"].map(hi),Lw=a(t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),"trim");function nl(t,e,{allOwnKeys:o=!1}={}){if(t===null||typeof t>"u")return;let i,r;if(typeof t!="object"&&(t=[t]),ia(t))for(i=0,r=t.length;i<r;i++)e.call(null,t[i],i,t);else{if(oc(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(nl,"forEach");function $v(t,e){if(oc(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($v,"findKey");var oa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ey=a(t=>!na(t)&&t!==oa,"isContextDefined");function tm(...t){let{caseless:e,skipUndefined:o}=ey(this)&&this||{},i={},r=a((n,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;let c=e&&typeof s=="string"&&$v(i,s)||s,p=tl(i,c)?i[c]:void 0;Lu(p)&&Lu(n)?i[c]=tm(p,n):Lu(n)?i[c]=tm({},n):ia(n)?i[c]=n.slice():(!o||!na(n))&&(i[c]=n)},"assignValue");for(let n=0,s=t.length;n<s;n++){let c=t[n];if(!c||oc(c)||(nl(c,r),typeof c!="object"||ia(c)))continue;let p=Object.getOwnPropertySymbols(c);for(let l=0;l<p.length;l++){let u=p[l];Jw.call(c,u)&&r(c[u],u)}}return i}a(tm,"merge");var Vw=a((t,e,o,{allOwnKeys:i}={})=>(nl(e,(r,n)=>{o&&qo(r)?Object.defineProperty(t,n,{__proto__:null,value:el(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"),_w=a(t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),"stripBOM"),Uw=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"),qw=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&&Wr(t)}while(t&&(!o||o(t,e))&&t!==Object.prototype);return e},"toFlatObject"),Hw=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"),kw=a(t=>{if(!t)return null;if(ia(t))return t;let e=t.length;if(!Kv(e))return null;let o=new Array(e);for(;e-- >0;)o[e]=t[e];return o},"toArray"),Gw=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Wr(Uint8Array)),Qw=a((t,e)=>{let i=(t&&t[il]).call(t),r;for(;(r=i.next())&&!r.done;){let n=r.value;e.call(t,n[0],n[1])}},"forEachEntry"),Zw=a((t,e)=>{let o,i=[];for(;(o=t.exec(e))!==null;)i.push(o);return i},"matchAll"),Yw=hi("HTMLFormElement"),Ww=a(t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,a(function(o,i,r){return i.toUpperCase()+r},"replacer")),"toCamelCase"),{propertyIsEnumerable:Jw}=Object.prototype,Xw=hi("RegExp"),ty=a((t,e)=>{let o=Object.getOwnPropertyDescriptors(t),i={};nl(o,(r,n)=>{let s;(s=e(r,n,t))!==!1&&(i[n]=s||r)}),Object.defineProperties(t,i)},"reduceDescriptors"),Kw=a(t=>{ty(t,(e,o)=>{if(qo(t)&&["arguments","caller","callee"].includes(o))return!1;let i=t[o];if(qo(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"),$w=a((t,e)=>{let o={},i=a(r=>{r.forEach(n=>{o[n]=!0})},"define");return ia(t)?i(t):i(String(t).split(e)),o},"toObjectSet"),eI=a(()=>{},"noop"),tI=a((t,e)=>t!=null&&Number.isFinite(t=+t)?t:e,"toFiniteNumber");function oI(t){return!!(t&&qo(t.append)&&t[Yv]==="FormData"&&t[il])}a(oI,"isSpecCompliantForm");var iI=a(t=>{let e=new WeakSet,o=a(i=>{if(ic(i)){if(e.has(i))return;if(oc(i))return i;if(!("toJSON"in i)){e.add(i);let r;if(Fw(i)){r=[];for(let n of i){let s=o(n);!na(s)&&r.push(s)}}else r=ia(i)?[]:{},nl(i,(n,s)=>{let c=o(n);!na(c)&&(r[s]=c)});return e.delete(i),r}}return i},"visit");return o(t)},"toJSONObject"),nI=hi("AsyncFunction"),rI=a(t=>t&&(ic(t)||qo(t))&&qo(t.then)&&qo(t.catch),"isThenable"),oy=((t,e)=>t?setImmediate:e?((o,i)=>(oa.addEventListener("message",({source:r,data:n})=>{r===oa&&n===o&&i.length&&i.shift()()},!1),r=>{i.push(r),oa.postMessage(o,"*")}))(`axios@${Math.random()}`,[]):o=>setTimeout(o))(typeof setImmediate=="function",qo(oa.postMessage)),sI=typeof queueMicrotask<"u"?queueMicrotask.bind(oa):typeof process<"u"&&process.nextTick||oy,iy=a(t=>t!=null&&qo(t[il]),"isIterable"),aI=a(t=>t!=null&&ol(t,il)&&iy(t),"isSafeIterable"),h={isArray:ia,isArrayBuffer:Xv,isBuffer:oc,isFormData:Pw,isArrayBufferView:bw,isString:xw,isNumber:Kv,isBoolean:Sw,isObject:ic,isPlainObject:Lu,isEmptyObject:Cw,isReadableStream:zw,isRequest:jw,isResponse:Bw,isHeaders:Mw,isUndefined:na,isDate:Nw,isFile:Rw,isReactNativeBlob:ww,isReactNative:Iw,isBlob:Ow,isRegExp:Xw,isFunction:qo,isStream:Dw,isURLSearchParams:Tw,isTypedArray:Gw,isFileList:Aw,forEach:nl,merge:tm,extend:Vw,trim:Lw,stripBOM:_w,inherits:Uw,toFlatObject:qw,kindOf:om,kindOfTest:hi,endsWith:Hw,toArray:kw,forEachEntry:Qw,matchAll:Zw,isHTMLForm:Yw,hasOwnProperty:tl,hasOwnProp:tl,hasOwnInPrototypeChain:ol,getSafeProp:vw,toSafeFlatObject:yw,reduceDescriptors:ty,freezeMethods:Kw,toObjectSet:$w,toCamelCase:Ww,noop:eI,toFiniteNumber:tI,findKey:$v,global:oa,isContextDefined:ey,isSpecCompliantForm:oI,toJSONObject:iI,isAsyncFn:nI,isThenable:rI,setImmediate:oy,asap:sI,isIterable:iy,isSafeIterable:aI};var cI=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"]),ny=a((t=>{let e={},o,i,r;return t&&t.split(`
|
|
27
|
+
`).forEach(a(function(s){r=s.indexOf(":"),o=s.substring(0,r).trim().toLowerCase(),i=s.substring(r+1).trim();let c=h.hasOwnProp(e,o);!o||c&&h.hasOwnProp(cI,o)||(o==="set-cookie"?c?e[o].push(i):e[o]=[i]:e[o]=c?e[o]+", "+i:i)},"parser")),e}),"default");function pI(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)}a(pI,"trimSPorHTAB");var lI=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),uI=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function im(t,e){return h.isArray(t)?t.map(o=>im(o,e)):pI(String(t).replace(e,""))}a(im,"sanitizeValue");var ry=a(t=>im(t,lI),"sanitizeHeaderValue"),dI=a(t=>im(t,uI),"sanitizeByteStringHeaderValue");function nc(t){let e=Object.create(null);return h.forEach(t.toJSON(),(o,i)=>{e[i]=dI(o)}),e}a(nc,"toByteStringHeaderObject");var sy=Symbol("internals");function rl(t){return t&&String(t).trim().toLowerCase()}a(rl,"normalizeHeader");function _u(t){return t===!1||t==null?t:h.isArray(t)?t.map(_u):ry(String(t))}a(_u,"normalizeValue");function fI(t){let e=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,i;for(;i=o.exec(t);)e[i[1]]=i[2];return e}a(fI,"parseTokens");var mI=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function nm(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)}a(nm,"trimOWS");function hI(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}a(hI,"decodeQuotedString");function gI(t){let e=Object.create(null),o=String(t),i=0,r=!1,n=!1;function s(c){let p=nm(o.slice(i,c)),l=p.indexOf("=");if(l<1)return;let u=nm(p.slice(0,l));if(!mI.test(u))return;let d=u.toLowerCase();if(d==="__proto__"||d==="constructor"||d==="prototype")return;let f=nm(p.slice(l+1));e[d]=hI(f)}a(s,"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)&&(s(c),i=c+1)}return s(o.length),e}a(gI,"parseParameters");var vI=a(t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()),"isValidHeaderName");function rm(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)}}a(rm,"matchHeaderValue");function yI(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,o,i)=>o.toUpperCase()+i)}a(yI,"formatHeader");function bI(t,e){let o=h.toCamelCase(" "+e);["get","set","has"].forEach(i=>{Object.defineProperty(t,i+o,{__proto__:null,value:a(function(r,n,s){return this[i].call(this,e,r,n,s)},"value"),configurable:!0})})}a(bI,"buildAccessors");var Uu=class{static{a(this,"AxiosHeaders")}constructor(e){e&&this.set(e)}set(e,o,i){let r=this;function n(c,p,l){let u=rl(p);if(!u)return;let d=h.findKey(r,u);(!d||r[d]===void 0||l===!0||l===void 0&&r[d]!==!1)&&(r[d||p]=_u(c))}a(n,"setHeader");let s=a((c,p)=>h.forEach(c,(l,u)=>n(l,u,p)),"setHeaders");if(h.isPlainObject(e)||e instanceof this.constructor)s(e,o);else if(h.isString(e)&&(e=e.trim())&&!vI(e))s(ny(e),o);else if(h.isObject(e)&&h.isSafeIterable(e)){let c=Object.create(null),p,l;for(let u of e){if(!h.isArray(u))throw new TypeError("Object iterator must return a key-value pair");l=u[0],h.hasOwnProp(c,l)?(p=c[l],c[l]=h.isArray(p)?[...p,u[1]]:[p,u[1]]):c[l]=u[1]}s(c,o)}else e!=null&&n(o,e,i);return this}get(e,o){if(e=rl(e),e){let i=h.findKey(this,e);if(i){let r=this[i];if(!o)return r;if(o===!0)return fI(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=rl(e),e){let i=h.findKey(this,e);return!!(i&&this[i]!==void 0&&(!o||rm(this,this[i],i,o)))}return!1}delete(e,o){let i=this,r=!1;function n(s){if(s=rl(s),s){let c=h.findKey(i,s);c&&(!o||rm(i,i[c],c,o))&&(delete i[c],r=!0)}}return a(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||rm(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 s=h.findKey(i,n);if(s){o[s]=_u(r),delete o[n];return}let c=e?yI(n):String(n).trim();c!==n&&delete o[n],o[c]=_u(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 gI(e)}static concat(e,...o){let i=new this(e);return o.forEach(r=>i.set(r)),i}static accessor(e){let i=(this[sy]=this[sy]={accessors:{}}).accessors,r=this.prototype;function n(s){let c=rl(s);i[c]||(bI(r,s),i[c]=!0)}return a(n,"defineAccessor"),h.isArray(e)?e.forEach(n):n(e),this}};Uu.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);h.reduceDescriptors(Uu.prototype,({value:t},e)=>{let o=e[0].toUpperCase()+e.slice(1);return{get:a(()=>t,"get"),set(i){this[o]=i}}});h.freezeMethods(Uu);var Oe=Uu;var sl="[REDACTED ****]";function xI(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}a(xI,"hasOwnOrPrototypeToJSON");function SI(t,e){let o=new Set(e.map(n=>String(n).toLowerCase())),i=[],r=a(n=>{if(n===null||typeof n!="object"||h.isBuffer(n))return n;if(i.indexOf(n)!==-1)return;n instanceof Oe&&(n=n.toJSON()),i.push(n);let s;if(h.isArray(n))s=[],n.forEach((c,p)=>{let l=r(c);h.isUndefined(l)||(s[p]=l)});else{if(!h.isPlainObject(n)&&xI(n))return i.pop(),n;s=Object.create(null);for(let[c,p]of Object.entries(n)){let l=o.has(c.toLowerCase())?sl:r(p);h.isUndefined(l)||(s[c]=l)}}return i.pop(),s},"visit");return r(t)}a(SI,"redactConfig");function ay(t){try{return String(t)}catch{return""}}a(ay,"stringifySafely");function CI(t){return t.errors.map(o=>{try{return o&&o.message?ay(o.message):ay(o)}catch{return""}}).filter(Boolean).join("; ")||t.name||"AggregateError"}a(CI,"aggregateErrorMessage");var Io=class cy extends Error{static{a(this,"AxiosError")}static from(e,o,i,r,n,s){let c=e.message;!c&&h.isArray(e.errors)&&e.errors.length&&(c=CI(e));let p=new cy(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&&h.hasOwnProp(e,"redact")?e.redact:void 0,i=h.isArray(o)&&o.length>0?SI(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}}};Io.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Io.ERR_BAD_OPTION="ERR_BAD_OPTION";Io.ECONNABORTED="ECONNABORTED";Io.ETIMEDOUT="ETIMEDOUT";Io.ECONNREFUSED="ECONNREFUSED";Io.ERR_NETWORK="ERR_NETWORK";Io.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Io.ERR_DEPRECATED="ERR_DEPRECATED";Io.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Io.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Io.ERR_CANCELED="ERR_CANCELED";Io.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Io.ERR_INVALID_URL="ERR_INVALID_URL";Io.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var N=Io;var hx=pt(mx(),1),Xu=hx.default;var Ku={isBufferAvailable(){return typeof Buffer<"u"},from(t){return Buffer.from(t)}};var Am=100;function Om(t){return h.isPlainObject(t)||h.isArray(t)}a(Om,"isVisitable");function gx(t){return h.endsWith(t,"[]")?t.slice(0,-2):t}a(gx,"removeBrackets");function Im(t,e,o){return t?t.concat(e).map(a(function(r,n){return r=gx(r),!o&&n?"["+r+"]":r},"each")).join(o?".":""):e}a(Im,"renderKey");function lA(t){return h.isArray(t)&&!t.some(Om)}a(lA,"isFlatArray");var uA=h.toFlatObject(h,{},null,a(function(e){return/^is[A-Z]/.test(e)},"filter"));function dA(t,e,o){if(!h.isObject(t))throw new TypeError("target must be an object");e=e||new(Xu||FormData);let i=a((w,F)=>{let O=h.getSafeProp(o,w);return h.isUndefined(O)?F:O},"option"),r=i("metaTokens",!0),n=i("visitor")||C,s=i("dots",!1),c=i("indexes",!1),p=i("Blob")||typeof Blob<"u"&&Blob,l=i("maxDepth",Am),u=p&&h.isSpecCompliantForm(e),d=[];if(!h.isFunction(n))throw new TypeError("visitor must be a function");function f(w){if(w===null)return"";if(h.isDate(w))return w.toISOString();if(h.isBoolean(w))return w.toString();if(!u&&h.isBlob(w))throw new N("Blob is not supported. Use a Buffer instead.");if(h.isArrayBuffer(w)||h.isTypedArray(w)){if(u&&typeof p=="function")return new p([w]);if(Ku&&Ku.isBufferAvailable())return Ku.from(w);throw new N("Blob is not supported. Use a Buffer instead.",N.ERR_NOT_SUPPORT)}return w}a(f,"convertValue");function y(w){if(w>l)throw new N("Object is too deeply nested ("+w+" levels). Max depth: "+l,N.ERR_FORM_DATA_DEPTH_EXCEEDED)}a(y,"throwIfMaxDepthExceeded");function S(w,F){if(l===1/0)return JSON.stringify(w);let O=[];return JSON.stringify(w,a(function(Z,W){if(!h.isObject(W))return W;for(;O.length&&O[O.length-1]!==this;)O.pop();return O.push(W),y(F+O.length-1),W},"limitDepth"))}a(S,"stringifyWithDepthLimit");function C(w,F,O){let q=w;if(h.isReactNative(e)&&h.isReactNativeBlob(w))return e.append(Im(O,F,s),f(w)),!1;if(w&&!O&&typeof w=="object"){if(h.endsWith(F,"{}"))F=r?F:F.slice(0,-2),w=S(w,1);else if(h.isArray(w)&&lA(w)||(h.isFileList(w)||h.endsWith(F,"[]"))&&(q=h.toArray(w)))return F=gx(F),q.forEach(a(function(W,St){!(h.isUndefined(W)||W===null)&&e.append(c===!0?Im([F],St,s):c===null?F:F+"[]",f(W))},"each")),!1}return Om(w)?!0:(e.append(Im(O,F,s),f(w)),!1)}a(C,"defaultVisitor");let I=Object.assign(uA,{defaultVisitor:C,convertValue:f,isVisitable:Om});function b(w,F,O=0){if(!h.isUndefined(w)){if(y(O),d.indexOf(w)!==-1)throw new Error("Circular reference detected in "+F.join("."));d.push(w),h.forEach(w,a(function(Z,W){(!(h.isUndefined(Z)||Z===null)&&n.call(e,Z,h.isString(W)?W.trim():W,F,I))===!0&&b(Z,F?F.concat(W):[W],O+1)},"each")),d.pop()}}if(a(b,"build"),!h.isObject(t))throw new TypeError("data must be an object");return b(t),e}a(dA,"toFormData");var Xr=dA;function vx(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(t).replace(/[!'()~]|%20/g,a(function(i){return e[i]},"replacer"))}a(vx,"encode");function yx(t,e){this._pairs=[],t&&Xr(t,this,e)}a(yx,"AxiosURLSearchParams");var bx=yx.prototype;bx.append=a(function(e,o){this._pairs.push([e,o])},"append");bx.toString=a(function(e){let o=e?i=>e.call(this,i,vx):vx;return this._pairs.map(a(function(r){return o(r[0])+"="+o(r[1])},"each"),"").join("&")},"toString");var xx=yx;function fA(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}a(fA,"encode");function sa(t,e,o){if(!e)return t;t=t||"";let i=h.isFunction(o)?{serialize:o}:o,r=h.getSafeProp(i,"encode")||fA,n=h.getSafeProp(i,"serialize"),s;if(n?s=n(e,i):s=h.isURLSearchParams(e)?e.toString():new xx(e,i).toString(r),s){let c=t.indexOf("#");c!==-1&&(t=t.slice(0,c)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}a(sa,"buildURL");var ll=Symbol("internals");function Cx(t){return t?t.length:0}a(Cx,"countHandlers");function Sx(t){if(t)for(;t.length&&t[t.length-1]===null;)t.pop()}a(Sx,"trimHandlers");function ul(t,e){let o=t.handlers,i=Cx(o);o!==e.handlersRef?(e.handlersRef=o,e.handlerEntries.clear()):i!==e.handlersLength&&(i?e.handlerEntries.forEach(a(function(n,s){o[n.index]!==n.handler&&e.handlerEntries.delete(s)},"removeStaleEntry")):e.handlerEntries.clear()),e.handlersLength=i}a(ul,"syncHandlerEntries");var mA=class{static{a(this,"InterceptorManager")}constructor(){this.handlers=[],this[ll]={handlersRef:this.handlers,handlersLength:this.handlers.length,handlerEntries:new Map,iterationDepth:0,nextId:0}}use(e,o,i){let r={fulfilled:e,rejected:o,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null},n=this[ll];this.handlers==null&&(this.handlers=[]),ul(this,n);let s=n.nextId++;return this.handlers.push(r),n.handlerEntries.set(s,{handler:r,index:this.handlers.length-1}),n.handlersLength=this.handlers.length,s}eject(e){let o=this[ll];ul(this,o);let i=o.handlerEntries.get(e);if(i){if(o.handlerEntries.delete(e),this.handlers[i.index]!==i.handler)return;this.handlers[i.index]=null,o.iterationDepth||(Sx(this.handlers),o.handlersLength=this.handlers.length)}}clear(){this.handlers&&(this.handlers=[],ul(this,this[ll]))}forEach(e){let o=this[ll];ul(this,o),o.iterationDepth++;try{h.forEach(this.handlers,a(function(r){r!==null&&e(r)},"forEachHandler"))}finally{--o.iterationDepth||(ul(this,o),Sx(this.handlers),o.handlersLength=Cx(this.handlers))}}},Fm=mA;var Kr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0};var Ix=pt(require("crypto"),1);var Nx=pt(require("url"),1),Rx=Nx.default.URLSearchParams;var Dm="abcdefghijklmnopqrstuvwxyz",wx="0123456789",Ox={DIGIT:wx,ALPHA:Dm,ALPHA_DIGIT:Dm+Dm.toUpperCase()+wx},hA=a((t=16,e=Ox.ALPHA_DIGIT)=>{let o="",{length:i}=e,r=new Uint32Array(t);Ix.default.randomFillSync(r);for(let n=0;n<t;n++)o+=e[r[n]%i];return o},"generateString"),Ax={isNode:!0,classes:{URLSearchParams:Rx,FormData:Xu,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:Ox,generateString:hA,protocols:["http","https","file","data"]};var Tm={};_v(Tm,{hasBrowserEnv:()=>Pm,hasStandardBrowserEnv:()=>gA,hasStandardBrowserWebWorkerEnv:()=>vA,navigator:()=>Em,origin:()=>yA});var Pm=typeof window<"u"&&typeof document<"u",Em=typeof navigator=="object"&&navigator||void 0,gA=Pm&&(!Em||["ReactNative","NativeScript","NS"].indexOf(Em.product)<0),vA=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",yA=Pm&&window.location.href||"http://localhost";var oe={...Tm,...Ax};function zm(t,e){return Xr(t,new oe.classes.URLSearchParams,{visitor:a(function(o,i,r,n){return oe.isNode&&h.isBuffer(o)?(this.append(i,o.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},"visitor"),...e})}a(zm,"toURLEncodedForm");var Fx=Am;function Dx(t){if(t>Fx)throw new N("FormData field is too deeply nested ("+t+" levels). Max depth: "+Fx,N.ERR_FORM_DATA_DEPTH_EXCEEDED)}a(Dx,"throwIfDepthExceeded");function bA(t){let e=[],o=/[^.[\]]+|\[([^.[\]]*)]/g,i;for(;(i=o.exec(t))!==null;)Dx(e.length),e.push(i[0]==="[]"?"":i[1]||i[0]);return e}a(bA,"parsePropPath");function xA(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(xA,"arrayToObject");function SA(t){function e(o,i,r,n){Dx(n);let s=o[n++];if(s==="__proto__")return!0;let c=Number.isFinite(+s),p=n>=o.length;return s=!s&&h.isArray(r)?r.length:s,p?(h.hasOwnProp(r,s)?r[s]=h.isArray(r[s])?r[s].concat(i):[r[s],i]:r[s]=i,!c):((!h.hasOwnProp(r,s)||!h.isObject(r[s]))&&(r[s]=[]),e(o,i,r[s],n)&&h.isArray(r[s])&&(r[s]=xA(r[s])),!c)}if(a(e,"buildPath"),h.isFormData(t)&&h.isFunction(t.entries)){let o={};return h.forEachEntry(t,(i,r)=>{e(bA(i),r,o,0)}),o}return null}a(SA,"formDataToJSON");var $u=SA;var CA=Object.freeze(["get","delete","head","options","post","put","patch","purge","link","unlink","query"]),ed=CA;var lc=a((t,e)=>t!=null&&h.hasOwnProp(t,e)?t[e]:void 0,"own");function NA(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)}a(NA,"stringifySafely");var jm={transitional:Kr,adapter:["xhr","http","fetch"],transformRequest:[a(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($u(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=lc(this,"formSerializer");if(i.indexOf("application/x-www-form-urlencoded")>-1)return zm(e,p).toString();if((c=h.isFileList(e))||i.indexOf("multipart/form-data")>-1){let l=lc(this,"env"),u=l&&l.FormData;return Xr(c?{"files[]":e}:e,u&&new u,p)}}return n||r?(o.setContentType("application/json",!1),NA(e)):e},"transformRequest")],transformResponse:[a(function(e){let o=lc(this,"transitional")||jm.transitional,i=o&&o.forcedJSONParsing,r=lc(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,lc(this,"parseReviver"))}catch(p){if(c)throw p.name==="SyntaxError"?N.from(p,N.ERR_BAD_RESPONSE,this,null,lc(this,"response")):p}}return e},"transformResponse")],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:oe.classes.FormData,Blob:oe.classes.Blob},validateStatus:a(function(e){return e>=200&&e<300},"validateStatus"),headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};h.forEach(ed,t=>{jm.headers[t]={}});var uc=jm;function dl(t,e){let o=this||uc,i=e||o,r=Oe.from(i.headers),n=i.data;return h.forEach(t,a(function(c){n=c.call(o,n,r.normalize(),e?e.status:void 0)},"transform")),r.normalize(),n}a(dl,"transformData");function fl(t){return!!(t&&t.__CANCEL__)}a(fl,"isCancel");var RA=class extends N{static{a(this,"CanceledError")}constructor(e,o,i){super(e??"canceled",N.ERR_CANCELED,o,i),this.name="CanceledError",this.__CANCEL__=!0}},Ko=RA;function On(t,e,o){let i=o.config.validateStatus;!o.status||!i||i(o.status)?t(o):e(new N("Request failed with status code "+o.status,o.status>=400&&o.status<500?N.ERR_BAD_REQUEST:N.ERR_BAD_RESPONSE,o.config,o.request,o))}a(On,"settle");function Bm(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}a(Bm,"isAbsoluteURL");function Mm(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(Mm,"combineURLs");var wA=/[\t\n\r]/g;function ml(t){if(typeof t!="string")return t;let e=0;for(;e<t.length&&t.charCodeAt(e)<=32;)e++;return t.slice(e).replace(wA,"")}a(ml,"normalizeURLForProtocolCheck");var IA=/^https?:(?!\/\/)/i;function OA(t){return t&&t.replace(/(^|&)([^=&]*=)?[^&]+/g,(e,o,i="")=>`${o}${i}${sl}`)}a(OA,"redactFragment");function AA(t){let e=t.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${sl}@`),o=e.indexOf("#"),r=(o===-1?e:e.slice(0,o)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${sl}`);return o===-1?r:`${r}#${OA(e.slice(o+1))}`}a(AA,"redactSensitiveURLParts");function Ex(t,e){if(typeof t=="string"){let o=ml(t);if(IA.test(o))throw new N(`Invalid URL ${JSON.stringify(AA(o))}: missing "//" after protocol`,N.ERR_INVALID_URL,e)}}a(Ex,"assertValidHttpProtocolURL");function aa(t,e,o,i){Ex(e,i);let r=!Bm(e);return t&&(r||o===!1)?(Ex(t,i),Mm(t,e)):e}a(aa,"buildFullPath");var FA={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};function DA(t){try{return new URL(t)}catch{return null}}a(DA,"parseUrl");function Px(t){var e=(typeof t=="string"?DA(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)||FA[o]||0,!EA(i,r)))return"";var n=Lm(o+"_proxy")||Lm("all_proxy");return n&&n.indexOf("://")===-1&&(n=o+"://"+n),n}a(Px,"getProxyForUrl");function EA(t,e){var o=Lm("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(EA,"shouldProxy");function Lm(t){return process.env[t.toLowerCase()]||process.env[t.toUpperCase()]||""}a(Lm,"getEnv");var hh=pt($x(),1),gh=pt(require("http"),1),vh=pt(require("https"),1),G0=pt(require("http2"),1),Q0=pt(require("util"),1),mh=require("path"),Z0=pt(s0(),1),$o=pt(require("zlib"),1);var sr="1.20.0";function da(t){let e=/^([-+\w]{1,25}):(?:\/\/)?/.exec(t);return e&&e[1]||""}a(da,"parseProtocol");var zF=/^([^,;/]+\/[^,;/]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;function ah(t,e,o){let i=o&&o.Blob||oe.classes.Blob,r=da(t);if(e===void 0&&i&&(e=!0),r==="data"){t=r.length?t.slice(r.length+1):t;let n=zF.exec(t);if(!n)throw new N("Invalid URL",N.ERR_INVALID_URL);let s=n[1],c=n[2],p=n[3]?"base64":"utf8",l=n[4],u="";s?u=c?s+c:s:c&&(u="text/plain"+c);let d=p==="base64"?Buffer.from(l,"base64"):Buffer.from(decodeURIComponent(l),p);if(e){if(!i)throw new N("Blob is not supported",N.ERR_NOT_SUPPORT);return new i([d],{type:u})}return d}throw new N("Unsupported protocol "+r,N.ERR_NOT_SUPPORT)}a(ah,"fromDataURI");var vi=pt(require("stream"),1);var jF=["content-type","content-length"];function Rl(t,e,o){if(o!=="content-only"){t.set(e);return}Object.entries(e||{}).forEach(([i,r])=>{jF.includes(i.toLowerCase())&&t.set(i,r)})}a(Rl,"setFormDataHeaders");var a0=pt(require("stream"),1);var ch=Symbol("internals"),BF=class extends a0.default.Transform{static{a(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[ch]={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[ch];return o.onReadCallback&&o.onReadCallback(),super._read(e)}_transform(e,o,i){let r=this[ch],n=r.maxRate,s=this.readableHighWaterMark,c=r.timeWindow,p=1e3/c,l=n/p,u=r.minChunkSize!==!1?Math.max(r.minChunkSize,l*.01):0,d=a((y,S)=>{let C=Buffer.byteLength(y);r.bytesSeen+=C,r.bytes+=C,r.isCaptured&&this.emit("progress",r.bytesSeen),this.push(y)?process.nextTick(S):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(S)}},"pushChunk"),f=a((y,S)=>{let C=Buffer.byteLength(y),I=null,b=s,w,F=0;if(n){let O=Date.now();(!r.ts||(F=O-r.ts)>=c)&&(r.ts=O,w=l-r.bytes,r.bytes=w<0?-w:0,F=0),w=l-r.bytes}if(n){if(w<=0)return setTimeout(()=>{S(null,y)},c-F);w<b&&(b=w)}b&&C>b&&C-b>u&&(I=y.subarray(b),y=y.subarray(0,b)),d(y,I?()=>{process.nextTick(S,null,I)}:S)},"transformChunk");f(e,a(function y(S,C){if(S)return i(S);C?f(C,y):i(null)},"transformNextChunk"))}},ph=BF;var Y0=require("events");var p0=pt(require("util"),1),l0=require("stream");var{asyncIterator:c0}=Symbol,MF=a(async function*(t){t.stream?yield*t.stream():t.arrayBuffer?yield await t.arrayBuffer():t[c0]?yield*t[c0]():yield t},"readBlob"),sd=MF;var LF=oe.ALPHABET.ALPHA_DIGIT+"-_",wl=typeof TextEncoder=="function"?new TextEncoder:new p0.default.TextEncoder,fa=`\r
|
|
29
|
+
`,VF=wl.encode(fa),_F=2,UF=class{static{a(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)}"`:""}${fa}`;if(r)o=wl.encode(String(o).replace(/\r?\n|\r\n?/g,fa));else{let s=String(o.type||"application/octet-stream").replace(/[\r\n]/g,"");n+=`Content-Type: ${s}${fa}`}this.headers=wl.encode(n+fa),this.contentLength=r?o.byteLength:o.size,this.size=this.headers.byteLength+this.contentLength+_F,this.name=e,this.value=o}async*encode(){yield this.headers;let{value:e}=this;h.isTypedArray(e)?yield e:yield*sd(e),yield VF}static escapeName(e){return String(e).replace(/[\r\n"]/g,o=>({"\r":"%0D","\n":"%0A",'"':"%22"})[o])}},qF=a((t,e,o)=>{let{tag:i="form-data-boundary",size:r=25,boundary:n=i+"-"+oe.generateString(r,LF)}=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 s=wl.encode("--"+n+fa),c=wl.encode("--"+n+"--"+fa),p=c.byteLength,l=Array.from(t.entries()).map(([d,f])=>{let y=new UF(d,f);return p+=y.size,y});p+=s.byteLength*l.length,p=h.toFiniteNumber(p);let u={"Content-Type":`multipart/form-data; boundary=${n}`};return Number.isFinite(p)&&(u["Content-Length"]=p),e&&e(u),l0.Readable.from((async function*(){for(let d of l)yield s,yield*d.encode();yield c})())},"formDataToStream"),u0=qF;var d0=pt(require("stream"),1);var HF=class extends d0.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)}},f0=HF;var m0=pt(require("http2"),1),h0=pt(require("util"),1);var kF=class{static{a(this,"Http2Sessions")}constructor(){this.sessions=Object.create(null)}getSession(e,o){o=Object.assign(Object.create(null),{sessionTimeout:1e3},o);let i=this.sessions[e];if(i){let d=i.length;for(let f=0;f<d;f++){let[y,S]=i[f];if(!y.destroyed&&!y.closed&&h0.default.isDeepStrictEqual(S,o))return y}}let r=m0.default.connect(e,o),n,s,c=a(()=>{if(n)return;n=!0,s&&(clearTimeout(s),s=null);let d=i,f=d.length,y=f;for(;y--;)if(d[y][0]===r){f===1?delete this.sessions[e]:d.splice(y,1),r.closed||r.close();return}},"removeSession"),p=r.request,{sessionTimeout:l}=o;if(l!=null){let d=0;r.request=function(){let f=p.apply(this,arguments);return d++,s&&(clearTimeout(s),s=null),f.once("close",()=>{--d||(s=setTimeout(()=>{s=null,c()},l))}),f}}r.once("close",c),r.once("error",c);let u=[r,o];return i?i.push(u):i=this.sessions[e]=[u],r}},g0=kF;var GF=a((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"),v0=GF;var QF=new Set(["localhost","0.0.0.0"]),x0=a(t=>{let e=t.length;for(;e&&t.charCodeAt(e-1)===46;)e--;return e===t.length?t:t.slice(0,e)},"trimTrailingDots"),S0=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"),lh=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"),C0=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=x0(e),!/^[0-9.xXa-fA-F]+$/.test(e))return t;let o=e.split(".");if(o.some(u=>u===""))return t;if(o.length===4){let u=o.map(lh);return u.some(d=>d===null||d<0||d>255)?t:u.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=lh(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 u=n-1,d=s;u>=0;u--,d>>=8)p[u]=d&255;let l=i.map(lh);return l.some(u=>u===null||u<0||u>255)?t:[...l,...p].join(".")},"normalizeIPAddress"),uh=a(t=>/^0{1,4}$/.test(t),"isIPv6ZeroGroup"),ZF=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(uh)&&s.every(uh)}let o=t.split(":");return o.length===8&&o.every(uh)},"isIPv6Unspecified"),YF=a(t=>{if(t==="::1")return!0;let e=t.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(e)return S0(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"),y0=a(t=>t?QF.has(t)||S0(t)||ZF(t)?!0:YF(t):!1,"isLoopback"),WF={http:80,https:443,ws:80,wss:443,ftp:21},JF=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"),XF=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,KF=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i,N0=a(t=>{if(typeof t!="string"||t.indexOf(":")===-1)return t;let e=t.match(XF);if(e)return e[1];let o=t.match(KF);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"),$F=/^(?:0|[1-9]\d{0,2})$/,R0=a(t=>{let e=t.split(".");return e.length===4&&e.every(o=>$F.test(o)&&Number(o)<=255)?e.map(Number):null},"ipv4ToBytes"),eD=/^[0-9a-f]{1,4}$/i,tD=a(t=>{let e=t.split("::");if(e.length>2)return null;let o=e[0]?e[0].split(":"):[];if(e.length===2){let i=e[1]?e[1].split(":"):[],r=8-o.length-i.length;if(r<1)return null;o.push(...new Array(r).fill("0"),...i)}return o.length!==8||o.some(i=>!eD.test(i))?null:o.flatMap(i=>{let r=Number.parseInt(i,16);return[r>>8&255,r&255]})},"ipv6ToBytes"),w0=a(t=>typeof t!="string"||!t?null:t.indexOf(":")!==-1?tD(t):R0(t),"ipToBytes"),b0=a(t=>{if(!t)return t;t.charAt(0)==="["&&t.charAt(t.length-1)==="]"&&(t=t.slice(1,-1));let e=x0(t),o=C0(e);return o!==e?o:N0(e)},"normalizeNoProxyHost"),oD=a(t=>{let e=t,o=e.charAt(0)==="[",i=e.charAt(e.length-1)==="]",r=e.includes("[")||e.includes("]");if(o||i){if(!o||!i||(e=e.slice(1,-1),e.indexOf(":")===-1||e.includes("[")||e.includes("]")))return null}else if(r)return null;if(!e||e.charAt(e.length-1)===".")return null;let n=e.indexOf(":")!==-1;if(n)try{e=new URL(`http://[${e}]/`).hostname.slice(1,-1)}catch{return null}else if(e=C0(e),!R0(e))return null;return{normalized:N0(e),wasIPv6:n}},"normalizeCidrBase"),iD=/^(.+)\/(0|[1-9]\d{0,2})$/,nD=a(t=>{if(t.indexOf("/")===-1)return;let e=iD.exec(t);if(!e)return null;let o=Number(e[2]),i=oD(e[1]);if(!i)return null;let{normalized:r,wasIPv6:n}=i;if(n&&r.indexOf(":")===-1){if(o<96)return null;o-=96}let s=w0(r);return!s||o>s.length*8?null:{bytes:s,prefix:o}},"parseCidrEntry"),rD=a((t,e,o)=>{let i=o>>3;for(let n=0;n<i;n++)if(t[n]!==e[n])return!1;let r=o&7;if(r){let n=255<<8-r&255;if((t[i]&n)!==(e[i]&n))return!1}return!0},"isInSubnet");function dh(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)||WF[e.protocol.split(":",1)[0]]||0,r=b0(e.hostname.toLowerCase()),n=w0(r);return o.split(/[\s,]+/).some(s=>{if(!s)return!1;if(s==="*")return!0;let c=nD(s);if(c!==void 0)return c!==null&&!!n&&n.length===c.bytes.length&&rD(n,c.bytes,c.prefix);let[p,l]=JF(s);return p=b0(p),!p||l&&l!==i?!1:(p.charAt(0)==="*"&&(p=p.slice(1)),p.charAt(0)==="."?r.endsWith(p):r===p||y0(r)&&y0(p))})}a(dh,"shouldBypassProxy");function sD(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 l=Date.now(),u=i[n];s||(s=l),o[r]=p,i[r]=l;let d=n,f=0;for(;d!==r;)f+=o[d++],d=d%t;if(r=(r+1)%t,r===n&&(n=(n+1)%t),l-s<e)return;let y=u&&l-u;return y?Math.round(f*1e3/y):void 0},"push")}a(sD,"speedometer");var I0=sD;function aD(t,e){let o=0,i=1e3/e,r,n,s=a((u,d=Date.now())=>{o=d,r=null,n&&(clearTimeout(n),n=null),t(...u)},"invoke");return[a((...u)=>{let d=Date.now(),f=d-o;f>=i?s(u,d):(r=u,n||(n=setTimeout(()=>{n=null,s(r)},i-f)))},"throttled"),a(()=>r&&s(r),"flush"),a((...u)=>s(u),"flushWith")]}a(aD,"throttle");var O0=aD;var ar=a((t,e,o=3)=>{let i=0,r=I0(50,250);return O0(n=>{if(!n||!h.isNumber(n.loaded))return;let s=n.loaded,c=n.lengthComputable?n.total:void 0,p=Math.max(0,c!=null?Math.min(s,c):s),l=Math.max(0,p-i),u=r(l);i=Math.max(i,p);let d={loaded:p,total:c,progress:c?p/c:void 0,bytes:l,rate:u||void 0,estimated:u&&c?(c-p)/u:void 0,event:n,lengthComputable:c!=null,[e?"download":"upload"]:!0};t(d)},o)},"progressEventReducer"),gc=a((t,e)=>{let o=t!=null;return[i=>e[0]({lengthComputable:o,total:t,loaded:i}),e[1]]},"progressEventDecorator"),vc=a((t,e=h.asap)=>(...o)=>e(()=>t(...o)),"asyncDecorator");var A0=a(t=>t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102,"isHexDigit"),D0=a((t,e,o)=>e+2<o&&A0(t.charCodeAt(e+1))&&A0(t.charCodeAt(e+2)),"isPercentEncodedByte"),F0=a(t=>t<=57?t-48:(t&223)-55,"hexValue"),cD=a(t=>t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||t===43||t===47||t===45||t===95,"isBase64Char"),pD=a(t=>t===9||t===10||t===12||t===13||t===32,"isBase64Whitespace"),lD=a(t=>{let e=Math.floor(t/4),o=t%4;return e*3+(o===2?1:o===3?2:0)},"base64Bytes"),E0=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"),uD=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&&D0(t,n,e)&&(s=F0(t.charCodeAt(n+1))*16+F0(t.charCodeAt(n+2)),n+=2),!pD(s)){if(s===61){i++;continue}if(!cD(s)||i>0){r=!0;continue}o++}}return r||i>2||i>0&&(o+i)%4!==0||o%4===1?E0(t):lD(o)},"estimatePercentDecodedBase64Bytes"),P0=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 l=r.charCodeAt(c);if(l===37&&D0(r,c,p))s+=1,c+=2;else if(l<128)s+=1;else if(l<2048)s+=2;else if(l>=55296&&l<=56319&&c+1<p){let u=r.charCodeAt(c+1);u>=56320&&u<=57343?(s+=4,c++):s+=3}else s+=3}return s},"estimateDataURLBytes");function fh(t){let e=typeof t=="string"?t.indexOf("#"):-1;return P0(e===-1?t:t.slice(0,e),uD)}a(fh,"estimateDataURLDecodedBytes");function T0(t){return P0(t,E0)}a(T0,"estimateDataURLBufferAllocation");var z0={flush:$o.default.constants.Z_SYNC_FLUSH,finishFlush:$o.default.constants.Z_SYNC_FLUSH},dD={flush:$o.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:$o.default.constants.BROTLI_OPERATION_FLUSH},fD={flush:$o.default.constants.ZSTD_e_flush,finishFlush:$o.default.constants.ZSTD_e_flush},W0=h.isFunction($o.default.createBrotliDecompress),J0=h.isFunction($o.default.createZstdDecompress),X0="gzip, compress, deflate"+(W0?", br":""),mD=X0+(J0?", zstd":""),j0=typeof process<"u"&&process.nextTick?process.nextTick.bind(process):h.asap,{http:hD,https:gD}=Z0.default,yh=/https:?/,B0=Symbol("axios.http.socketListener"),ad=Symbol("axios.http.currentReq");function vD(t){let e=this[ad];e&&!e.destroyed&&e.destroy(t)}a(vD,"handleSocketError");var K0=Symbol("axios.http.installedTunnel"),yD=new Map,M0=new WeakMap,L0={22:21,24:5};function bD(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:L0[e]!=null&&o>=L0[e]}a(bD,"isNodeNativeEnvProxySupported");function V0(t,e=process.versions&&process.versions.node){if(!bD(e))return!1;let o=t&&t.options;return!!(o&&h.hasOwnProp(o,"proxyEnv")&&o.proxyEnv!=null)}a(V0,"isNodeEnvProxyEnabled");function xD(t,e,o){return yh.test(t.protocol)?o||vh.default.globalAgent:e||gh.default.globalAgent}a(xD,"getProxyEnvAgent");function SD(t,e){let o=t.protocol+"//"+t.hostname+":"+(t.port||"")+"#"+(t.auth||""),i=e?M0.get(e)||M0.set(e,new Map).get(e):yD,r=i.get(o);if(r)return r;let n=e&&e.options?{...e.options,...t}:t;if(r=new hh.default(n),e&&e.options){let s={...e.options},c=r.callback;r.callback=a(function(l,u){return c.call(this,l,{...s,...u})},"axiosTunnelingAgentCallback")}return r[K0]=!0,i.set(o,r),r}a(SD,"getTunnelingAgent");var _0=oe.protocols.map(t=>t+":"),U0=a(t=>{if(!h.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},"decodeURIComponentSafe"),q0=a((t,[e,o])=>(t.on("end",o).on("error",o),e),"flushOnFinish"),CD=new g0;function ND(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(ND,"dispatchBeforeRedirect");function RD(t,e){t&&Object.keys(t).forEach(o=>{e.has(o.toLowerCase())&&delete t[o]})}a(RD,"stripMatchingHeaders");function wD(t,e){if(!e)return!1;try{return new URL(e.url).origin===new URL(t.href).origin}catch{return!1}}a(wD,"isSameOriginRedirect");function $0(t,e,o,i,r,n,s=!0){let c=e,p=xD(t,n,r);if(!c&&c!==!1&&s&&!V0(p)){let l=Px(o);l&&(dh(o)||(c=new URL(l)))}if(i&&t.headers)for(let l of Object.keys(t.headers))l.toLowerCase()==="proxy-authorization"&&delete t.headers[l];if(i&&t.agent&&t.agent[K0]&&(t.agent=void 0),c){let l=c instanceof URL,u=a(C=>l||h.hasOwnProp(c,C)?c[C]:void 0,"readProxyField"),d=u("username"),f=u("password"),y=h.hasOwnProp(c,"auth")?c.auth:void 0;if(d&&(y=(d||"")+":"+(f||"")),y){let C=typeof y=="object",I=C&&h.hasOwnProp(y,"username")?y.username:void 0,b=C&&h.hasOwnProp(y,"password")?y.password:void 0;if(!!(I||b))y=(I||"")+":"+(b||"");else if(C)throw new N("Invalid proxy authorization",N.ERR_BAD_OPTION,{proxy:c})}if(yh.test(t.protocol)){if(!(r instanceof hh.default)){let C=u("hostname")||u("host"),I=u("port"),b=u("protocol"),w=b?b.includes(":")?b:`${b}:`:"http:",F=C&&C.includes(":")&&!C.startsWith("[")?`[${C}]`:C,O=new URL(`${w}//${F}${I?":"+I:""}`),q={protocol:O.protocol,hostname:O.hostname.replace(/^\[|\]$/g,""),port:O.port,auth:y&&typeof y=="string"?y:void 0};O.protocol==="https:"&&(q.ALPNProtocols=["http/1.1"]);let Z=SD(q,r);t.agent=Z,t.agents&&(t.agents.https=Z)}}else{if(y){let w=Buffer.from(y,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+w}let C=!1;for(let w of Object.keys(t.headers))if(w.toLowerCase()==="host"){C=!0;break}C||(t.headers.host=t.hostname+(t.port?":"+t.port:""));let I=u("hostname")||u("host");t.hostname=I,t.host=I,t.port=u("port"),t.path=o;let b=u("protocol");b&&(t.protocol=b.includes(":")?b:`${b}:`)}}return t.beforeRedirects.proxy=a(function(u){$0(u,e,u.href,!0,r,n,s)},"beforeRedirect"),!!(c||e!==!1&&s&&V0(p))}a($0,"setProxy");var ID=typeof process<"u"&&h.kindOf(process)==="process",OD=a(t=>new Promise((e,o)=>{let i,r,n=a((p,l)=>{r||(r=!0,i&&i(p,l))},"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"),AD=a(({address:t,family:e})=>{if(!h.isString(t))throw new N("address must be a string",N.ERR_BAD_OPTION_VALUE);return{address:t,family:e||(t.indexOf(".")<0?6:4)}},"resolveFamily"),H0=a((t,e)=>AD(h.isObject(t)?t:{address:t,family:e}),"buildAddressEntry"),k0=new WeakMap,FD=a(t=>{let e=k0.get(t);if(e)return e;let o=v0(t,i=>h.isArray(i)?i:[i]);return e=a((i,r,n)=>{o(i,r,(s,c,p)=>{if(s)return n(s);let l;try{l=h.isArray(c)?c.map(u=>H0(u)):[H0(c,p)]}catch(u){return n(u)}r.all?n(s,l):n(s,l[0].address,l[0].family)})},"normalized"),k0.set(t,e),e},"normalizeLookup"),DD={request(t,e){let o=t.protocol+"//"+t.hostname+":"+(t.port||(t.protocol==="https:"?443:80)),{http2Options:i,headers:r}=t,n=CD.getSession(o,i),{HTTP2_HEADER_SCHEME:s,HTTP2_HEADER_METHOD:c,HTTP2_HEADER_PATH:p,HTTP2_HEADER_STATUS:l}=G0.default.constants,u={[s]:t.protocol.replace(":",""),[c]:t.method,[p]:t.path};h.forEach(r,(f,y)=>{y.charAt(0)!==":"&&(u[y]=f)});let d=n.request(u);return d.once("response",f=>{let y=d;f=Object.assign({},f);let S=f[l];delete f[l],y.headers=f,y.statusCode=+S,e(y)}),d}},eS=ID&&a(function(e){return OD(a(async function(i,r,n){let s=a(P=>h.getSafeProp(e,P),"own"),c=s("transitional")||Kr,p=s("data"),l=s("lookup"),u=s("family"),d=s("httpVersion");d===void 0&&(d=1);let f=d,y=s("http2Options"),S=s("httpAgent"),C=s("httpsAgent"),I=s("proxy"),b=s("responseType"),w=s("responseEncoding"),F=s("socketPath"),O=s("method").toUpperCase(),q=s("maxRedirects"),Z=s("maxBodyLength"),W=s("maxContentLength"),St=s("decompress"),di,Xo=!1,ee,nr;try{d=+d}catch{throw new N("Invalid protocol version: value is not a number",N.ERR_BAD_OPTION_VALUE,e)}if(Number.isNaN(d))throw new N(`Invalid protocol version: '${f}' is not a number`,N.ERR_BAD_OPTION_VALUE,e);if(d!==1&&d!==2)throw new N(`Unsupported protocol version '${d}'`,N.ERR_BAD_OPTION_VALUE,e);let Ks=d===2;l&&(l=FD(l));let oo=new Y0.EventEmitter;function Lo(P){try{oo.emit("abort",!P||P.type?new Ko(null,e,ee):P)}catch{}}a(Lo,"abort");function Xa(){nr&&(clearTimeout(nr),nr=null)}a(Xa,"clearConnectPhaseTimer");function $s(){let P=s("timeout"),z=P?"timeout of "+P+"ms exceeded":"timeout exceeded",se=s("timeoutErrorMessage");return se&&(z=se),new N(z,c.clarifyTimeoutError?N.ETIMEDOUT:N.ECONNABORTED,e,ee)}a($s,"createTimeoutError"),oo.once("abort",r);let ea=a(()=>{Xa(),e.cancelToken&&e.cancelToken.unsubscribe(Lo),e.signal&&e.signal.removeEventListener("abort",Lo),oo.removeAllListeners()},"onFinished");(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(Lo),e.signal&&(e.signal.aborted?Lo():e.signal.addEventListener("abort",Lo))),n((P,z)=>{if(di=!0,Xa(),z){Xo=!0,ea();return}let{data:se}=P;if(se instanceof vi.default.Readable||se instanceof vi.default.Duplex){let kt=vi.default.finished(se,()=>{kt(),ea()})}else ea()});let zu=aa(s("baseURL"),s("url"),s("allowAbsoluteUrls"),e),ju=F?"http://localhost":oe.hasBrowserEnv?oe.origin:void 0,Be=new URL(zu,ju),$e=Be.protocol||_0[0];if($e==="data:"){if(W>-1){let z=String(s("url")||zu||"");if(T0(z)>W)return r(new N("maxContentLength size of "+W+" exceeded",N.ERR_BAD_RESPONSE,e))}let P;if(O!=="GET")return On(i,r,{status:405,statusText:"method not allowed",headers:{},config:e});try{P=ah(s("url"),b==="blob",{Blob:e.env&&e.env.Blob})}catch(z){throw N.from(z,N.ERR_BAD_REQUEST,e)}return b==="text"?(P=P.toString(w),(!w||w==="utf8")&&(P=h.stripBOM(P))):b==="stream"&&(P=vi.default.Readable.from(P)),On(i,r,{data:P,status:200,statusText:"OK",headers:new Oe,config:e})}if(_0.indexOf($e)===-1)return r(new N("Unsupported protocol "+$e,N.ERR_BAD_REQUEST,e));let ct=Oe.from(e.headers).normalize();ct.set("User-Agent","axios/"+sr,!1);let{onUploadProgress:wn,onDownloadProgress:rr}=e,ta=e.maxRate,ie,Ht;if(h.isSpecCompliantForm(p)){let P=ct.getContentType(/boundary=([-_\w\d]{10,70})/i);p=u0(p,z=>{ct.set(z)},{tag:`axios-${sr}-boundary`,boundary:P&&P[1]||void 0})}else if(h.isFormData(p)&&h.isFunction(p.getHeaders)&&p.getHeaders!==Object.prototype.getHeaders){if(Rl(ct,p.getHeaders(),s("formDataHeaderPolicy")),!ct.hasContentLength())try{let P=await Q0.default.promisify(p.getLength).call(p);Number.isFinite(P)&&P>=0&&ct.setContentLength(P)}catch{}}else if(h.isBlob(p)||h.isFile(p))p.size&&ct.setContentType(p.type||"application/octet-stream"),ct.setContentLength(p.size||0),p=vi.default.Readable.from(sd(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 N("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",N.ERR_BAD_REQUEST,e));if(ct.setContentLength(p.length,!1),Z>-1&&p.length>Z)return r(new N("Request body larger than maxBodyLength limit",N.ERR_BAD_REQUEST,e))}let Ka=h.toFiniteNumber(ct.getContentLength());h.isArray(ta)?(ie=ta[0],Ht=ta[1]):ie=Ht=ta,p&&(wn||ie)&&(h.isStream(p)||(p=vi.default.Readable.from(p,{objectMode:!1})),p=vi.default.pipeline([p,new ph({maxRate:h.toFiniteNumber(ie)})],h.noop),wn&&p.on("progress",q0(p,gc(Ka,ar(vc(wn,j0),!1,3)))));let In,Qp=s("auth");if(Qp){let P=h.getSafeProp(Qp,"username")||"",z=h.getSafeProp(Qp,"password")||"";In=P+":"+z}if(!In&&(Be.username||Be.password)){let P=U0(Be.username),z=U0(Be.password);In=P+":"+z}In&&ct.delete("authorization");let Vo;try{Vo=sa(Be.pathname+Be.search,s("params"),s("paramsSerializer")).replace(/^\?/,"")}catch(P){return r(N.from(P,N.ERR_BAD_REQUEST,e,null,null,{url:s("url"),exists:!0}))}ct.set("Accept-Encoding",h.hasOwnProp(c,"advertiseZstdAcceptEncoding")&&c.advertiseZstdAcceptEncoding===!0?mD:X0,!1),Ks&&l&&(y=Object.assign(Object.create(null),y,{lookup:l}));let fe=Object.assign(Object.create(null),{path:Vo,method:O,headers:nc(ct),agents:{http:S,https:C},auth:In,protocol:$e,family:u,beforeRedirect:ND,beforeRedirects:Object.create(null),http2Options:y,createConnection:void 0});!h.isUndefined(l)&&(fe.lookup=l);let fi=!1;if(F){if(typeof F!="string")return r(new N("socketPath must be a string",N.ERR_BAD_OPTION_VALUE,e));let P=s("allowedSocketPaths");if(P!=null){let z=Array.isArray(P)?P:[P],se=(0,mh.resolve)(F);if(!z.some(ae=>typeof ae=="string"&&(0,mh.resolve)(ae)===se))return r(new N(`socketPath "${F}" is not permitted by allowedSocketPaths`,N.ERR_BAD_OPTION_VALUE,e))}fe.socketPath=F}else fe.hostname=Be.hostname.startsWith("[")?Be.hostname.slice(1,-1):Be.hostname,fe.port=Be.port,fi=$0(fe,I,$e+"//"+Be.hostname+(Be.port?":"+Be.port:"")+fe.path,!1,C,S,!Ks);let Yr,$a=!1,mi=!1,k=yh.test(fe.protocol);if(fe.agent==null&&(fe.agent=k?C:S),Ks){if(fi)return r(new N("HTTP/2 requests with a proxy are not supported",N.ERR_NOT_SUPPORT,e));Yr=DD}else{let P=s("transport");if(P)Yr=P;else if(q===0)Yr=k?vh.default:gh.default,$a=!0;else{mi=!0,fe.sensitiveHeaders=[],q&&(fe.maxRedirects=q);let z=s("beforeRedirect");if(z&&(fe.beforeRedirects.config=z),In){let kt=Be.origin,ae=In;fe.beforeRedirects.auth=a(function(Uo){try{new URL(Uo.href).origin===kt&&(Uo.auth=ae)}catch{}},"beforeRedirectAuth")}let se=s("sensitiveHeaders");if(se!=null){if(!h.isArray(se))return r(new N("sensitiveHeaders must be an array of strings",N.ERR_BAD_OPTION_VALUE,e));let kt=new Set;for(let ae of se){if(!h.isString(ae))return r(new N("sensitiveHeaders must be an array of strings",N.ERR_BAD_OPTION_VALUE,e));kt.add(ae.toLowerCase())}kt.size&&(fe.sensitiveHeaders=Array.from(kt),fe.beforeRedirects.sensitiveHeaders=a(function(_o,Uo){wD(_o,Uo)||RD(_o.headers,kt)},"beforeRedirectSensitiveHeaders"))}Yr=k?gD:hD}}Z>-1?fe.maxBodyLength=Z:fe.maxBodyLength=1/0,fe.insecureHTTPParser=!!s("insecureHTTPParser"),ee=Yr.request(fe,a(function(z){if(Xa(),ee.destroyed)return;let se=[z],kt=h.toFiniteNumber(z.headers["content-length"]);if(rr||Ht){let Gt=new ph({maxRate:h.toFiniteNumber(Ht)});rr&&Gt.on("progress",q0(Gt,gc(kt,ar(vc(rr,j0),!0,3)))),se.push(Gt)}let ae=z,_o=z.req||ee;if(St!==!1&&z.headers["content-encoding"])switch((O==="HEAD"||z.statusCode===204)&&delete z.headers["content-encoding"],(z.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":se.push($o.default.createUnzip(z0)),delete z.headers["content-encoding"];break;case"deflate":se.push(new f0),se.push($o.default.createUnzip(z0)),delete z.headers["content-encoding"];break;case"br":W0&&(se.push($o.default.createBrotliDecompress(dD)),delete z.headers["content-encoding"]);break;case"zstd":J0&&(se.push($o.default.createZstdDecompress(fD)),delete z.headers["content-encoding"]);break}ae=se.length>1?vi.default.pipeline(se,h.noop):se[0];let Uo={status:z.statusCode,statusText:z.statusMessage,headers:new Oe(z.headers),config:e,request:_o};if(b==="stream"){if(W>-1){let Gt=W,Bu=ae;async function*Zp(){let At=0;for await(let Vv of Bu){if(At+=Vv.length,At>Gt)throw new N("maxContentLength size of "+Gt+" exceeded",N.ERR_BAD_RESPONSE,e,_o);yield Vv}}a(Zp,"enforceMaxContentLength"),ae=vi.default.Readable.from(Zp(),{objectMode:!1})}Uo.data=ae,On(i,r,Uo)}else{let Gt=[],Bu=0;ae.on("data",a(function(At){Gt.push(At),Bu+=At.length,W>-1&&Bu>W&&(Xo=!0,ae.destroy(),Lo(new N("maxContentLength size of "+W+" exceeded",N.ERR_BAD_RESPONSE,e,_o)))},"handleStreamData")),ae.on("aborted",a(function(){if(Xo)return;let At=new N("stream has been aborted",N.ERR_BAD_RESPONSE,e,_o,Uo);ae.destroy(At),r(At)},"handlerStreamAborted")),ae.on("error",a(function(At){Xo||r(N.from(At,null,e,_o,Uo))},"handleStreamError")),ae.on("end",a(function(){try{let At=Gt.length===1?Gt[0]:Buffer.concat(Gt);b!=="arraybuffer"&&(At=At.toString(w),(!w||w==="utf8")&&(At=h.stripBOM(At))),Uo.data=At}catch(At){return r(N.from(At,null,e,Uo.request,Uo))}On(i,r,Uo)},"handleStreamEnd"))}oo.once("abort",Gt=>{ae.destroyed||(ae.emit("error",Gt),ae.destroy())})},"handleResponse")),oo.once("abort",P=>{ee.close?ee.close():ee.destroy(P)}),ee.on("error",a(function(z){r(N.from(z,null,e,ee))},"handleRequestError"));let mt=new Set;if(ee.on("socket",a(function(z){typeof z.setKeepAlive=="function"&&z.setKeepAlive(!0,1e3*60),z[B0]||(z.on("error",vD),z[B0]=!0),z[ad]=ee,mt.add(z)},"handleRequestSocket")),ee.once("close",a(function(){Xa();for(let z of mt)z[ad]===ee&&(z[ad]=null);mt.clear()},"clearCurrentReq")),s("timeout")){let P=parseInt(s("timeout"),10);if(Number.isNaN(P)){Lo(new N("error trying to parse `config.timeout` to int",N.ERR_BAD_OPTION_VALUE,e,ee));return}let z=a(function(){di||Lo($s())},"handleTimeout");$a&&P>0&&(nr=setTimeout(z,P)),ee.setTimeout(P,z)}else ee.setTimeout(0);if(h.isStream(p)){let P=!1,z=!1;p.on("end",()=>{P=!0}),p.once("error",kt=>{z=!0,ee.destroy(kt)}),p.on("close",()=>{!P&&!z&&Lo(new Ko("Request stream has been aborted",e,ee))});let se=p;if(Z>-1&&!mi){let kt=Z,ae=0;se=vi.default.pipeline([p,new vi.default.Transform({transform(_o,Uo,Gt){if(ae+=_o.length,ae>kt)return Gt(new N("Request body larger than maxBodyLength limit",N.ERR_BAD_REQUEST,e,ee));Gt(null,_o)}})],h.noop),se.on("error",_o=>{ee.destroyed||ee.destroy(_o)})}se.pipe(ee)}else p&&ee.write(p),ee.end()},"dispatchHttpRequest"))},"httpAdapter");var tS=oe.hasStandardBrowserEnv?((t,e)=>o=>(o=new URL(o,oe.origin),t.protocol===o.protocol&&t.host===o.host&&(e||t.port===o.port)))(new URL(oe.origin),oe.navigator&&/(msie|trident)/i.test(oe.navigator.userAgent)):()=>!0;var oS=oe.hasStandardBrowserEnv?{write(t,e,o,i,r,n,s){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(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 iS=a(t=>t instanceof Oe?{...t}:t,"headersToObject"),ED=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 ki(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(u,d,f,y){return h.isPlainObject(u)&&h.isPlainObject(d)?h.merge.call({caseless:y},u,d):h.isPlainObject(d)?h.merge({},d):h.isArray(d)?d.slice():d}a(i,"getMergedValue");function r(u,d,f,y){if(h.isUndefined(d)){if(!h.isUndefined(u))return i(void 0,u,f,y)}else return i(u,d,f,y)}a(r,"mergeDeepProperties");function n(u,d){if(!h.isUndefined(d))return i(void 0,d)}a(n,"valueFromConfig2");function s(u,d){if(h.isUndefined(d)){if(!h.isUndefined(u))return i(void 0,u)}else return i(void 0,d)}a(s,"defaultToConfig2");function c(u){let d=h.hasOwnProp(e,"transitional")?e.transitional:void 0;if(!h.isUndefined(d))if(h.isPlainObject(d)){if(h.hasOwnProp(d,u))return d[u]}else return;let f=h.hasOwnProp(t,"transitional")?t.transitional:void 0;if(h.isPlainObject(f)&&h.hasOwnProp(f,u))return f[u]}a(c,"getMergedTransitionalOption");function p(u,d,f){if(h.hasOwnProp(e,f))return i(u,d);if(h.hasOwnProp(t,f))return i(void 0,u)}a(p,"mergeDirectKeys");let l={url:n,method:n,data:n,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutErrorMessage: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((u,d,f)=>r(iS(u),iS(d),f,!0),"headers")};return h.forEach(ED({...t,...e}),a(function(d){if(d==="__proto__"||d==="constructor"||d==="prototype")return;let f=h.hasOwnProp(l,d)?l[d]:r,y=h.hasOwnProp(t,d)?t[d]:void 0,S=h.hasOwnProp(e,d)?e[d]:void 0,C=f(y,S,d);h.isUndefined(C)&&f!==p||(o[d]=C)},"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}a(ki,"mergeConfig");var PD=a(t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,o)=>String.fromCharCode(parseInt(o,16))),"encodeUTF8");function TD(t){let e=ki({},t),o=a(f=>h.hasOwnProp(e,f)?e[f]:void 0,"own"),i=o("data"),r=o("withXSRFToken"),n=o("xsrfHeaderName"),s=o("xsrfCookieName"),c=o("headers"),p=o("auth"),l=o("baseURL"),u=o("allowAbsoluteUrls"),d=o("url");if(e.headers=c=Oe.from(c),e.url=sa(aa(l,d,u,e),o("params"),o("paramsSerializer")),p){let f=h.getSafeProp(p,"username")||"",y=h.getSafeProp(p,"password")||"";try{c.set("Authorization","Basic "+btoa(f+":"+(y?PD(y):"")))}catch(S){throw N.from(S,N.ERR_BAD_OPTION_VALUE,t)}}if(h.isFormData(i)){let f=h.getSafeProp(i,"getHeaders");oe.hasStandardBrowserEnv||oe.hasStandardBrowserWebWorkerEnv||h.isReactNative(i)?c.setContentType(void 0):h.isFunction(f)&&Rl(c,f.call(i),o("formDataHeaderPolicy"))}if(oe.hasStandardBrowserEnv&&(h.isFunction(r)&&(r=r(e)),r===!0||r==null&&tS(e.url))){let y=n&&s&&oS.read(s);y&&c.set(n,y)}return e}a(TD,"resolveConfig");var cd=TD;var zD=typeof XMLHttpRequest<"u",nS=zD&&function(t){return new Promise(a(function(o,i){let r=cd(t),n=r.data,s=Oe.from(r.headers).normalize(),{responseType:c,onUploadProgress:p,onDownloadProgress:l}=r,u,d,f,y,S,C;function I(){y&&y(),S&&S(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}a(I,"done");let b=new XMLHttpRequest;b.open(r.method.toUpperCase(),r.url,!0),b.timeout=r.timeout;function w(O){if(!b)return;if(b.status===0&&(da(ml(r.url))||da(oe.origin))!=="file"&&!(b.responseURL&&b.responseURL.startsWith("file:"))){i(new N("Request aborted",N.ECONNABORTED,t,b)),I(),b=null;return}try{O?C&&C(O):S&&S()}catch(St){setTimeout(()=>{throw St})}if(!b)return;let q=Oe.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),W={data:!c||c==="text"||c==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:q,config:t,request:b};On(a(function(di){o(di),I()},"_resolve"),a(function(di){i(di),I()},"_reject"),W),b=null}a(w,"onloadend"),"onloadend"in b?b.onloadend=w:b.onreadystatechange=a(function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.startsWith("file:"))||setTimeout(w)},"handleLoad"),b.onabort=a(function(){b&&(i(new N("Request aborted",N.ECONNABORTED,t,b)),I(),b=null)},"handleAbort"),b.onerror=a(function(q){let Z=q&&q.message?q.message:"Network Error",W=new N(Z,N.ERR_NETWORK,t,b);W.event=q||null,i(W),I(),b=null},"handleError"),b.ontimeout=a(function(){let q=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded",Z=r.transitional||Kr;r.timeoutErrorMessage&&(q=r.timeoutErrorMessage),i(new N(q,Z.clarifyTimeoutError?N.ETIMEDOUT:N.ECONNABORTED,t,b)),I(),b=null},"handleTimeout"),n===void 0&&s.setContentType(null),"setRequestHeader"in b&&h.forEach(nc(s),a(function(q,Z){b.setRequestHeader(Z,q)},"setRequestHeader")),h.isUndefined(r.withCredentials)||(b.withCredentials=!!r.withCredentials),c&&c!=="json"&&(b.responseType=r.responseType),l&&([f,S,C]=ar(l,!0),b.addEventListener("progress",f)),p&&b.upload&&([d,y]=ar(p),b.upload.addEventListener("progress",d),b.upload.addEventListener("loadend",y)),(r.cancelToken||r.signal)&&(u=a(O=>{b&&(i(!O||O.type?new Ko(null,t,b):O),b.abort(),I(),b=null)},"onCanceled"),r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));let F=da(r.url);if(F&&!oe.protocols.includes(F)){i(new N("Unsupported protocol "+F+":",N.ERR_BAD_REQUEST,t)),I();return}b.send(n||null)},"dispatchXhrRequest"))};var jD=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 l=p instanceof Error?p:this.reason;o.abort(l instanceof N?l:new Ko(l instanceof Error?l.message:l))}},"onabort"),n=e&&setTimeout(()=>{n=null,r(new N(`timeout of ${e}ms exceeded`,N.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=()=>h.asap(s),c},"composeSignals"),rS=jD;var BD=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"),MD=a(async function*(t,e){for await(let o of LD(t))yield*BD(o,e)},"readBytes"),LD=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"),bh=a((t,e,o,i)=>{let r=MD(t,e),n=0,s,c=a(p=>{s||(s=!0,i&&i(p))},"_onFinish");return new ReadableStream({async pull(p){try{let{done:l,value:u}=await r.next();if(l){c(),p.close();return}let d=u.byteLength;if(o){let f=n+=d;o(f)}p.enqueue(new Uint8Array(u))}catch(l){throw c(l),l}},cancel(p){return c(p),r.return()}},{highWaterMark:2})},"trackStream");var sS=64*1024,VD={cache:"default",redirect:"follow",referrer:"about:client",referrerPolicy:"",mode:"cors",integrity:"",keepalive:!1,priority:"auto",window:null},{isFunction:pd}=h,_D=a(t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,o)=>String.fromCharCode(parseInt(o,16))),"encodeUTF8"),aS=a(t=>{if(!h.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},"decodeURIComponentSafe"),cS=a((t,...e)=>{try{return!!t(...e)}catch{return!1}},"test"),UD=a(t=>{let e=t.indexOf("://"),o=t;return e!==-1&&(o=o.slice(e+3)),o.includes("@")||o.includes(":")},"maybeWithAuthCredentials"),qD=a(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:s}=t,c=r?pd(r):typeof fetch=="function",p=pd(n),l=pd(s);if(!c)return!1;let u=c&&pd(o),d=c&&(typeof i=="function"?(b=>w=>b.encode(w))(new i):async b=>new Uint8Array(await new n(b).arrayBuffer())),f=p&&u&&cS(()=>{let b=!1,w=new n(oe.origin,{body:new o,method:"POST",get duplex(){return b=!0,"half"}}),F=w.headers.has("Content-Type");return w.body!=null&&w.body.cancel(),b&&!F}),y=l&&u&&cS(()=>h.isReadableStream(new s("").body)),S={stream:y&&(b=>b.body)};c&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!S[b]&&(S[b]=(w,F)=>{let O=w&&w[b];if(O)return O.call(w);throw new N(`Response type '${b}' is not supported`,N.ERR_NOT_SUPPORT,F)})});let C=a(async b=>{if(b==null)return 0;if(h.isBlob(b))return b.size;if(h.isSpecCompliantForm(b))return(await new n(oe.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"),I=a(async(b,w)=>{let F=h.toFiniteNumber(b.getContentLength());return F??C(w)},"resolveBodyLength");return async b=>{let{url:w,method:F,data:O,signal:q,cancelToken:Z,timeout:W,onDownloadProgress:St,onUploadProgress:di,responseType:Xo,headers:ee,withCredentials:nr="same-origin",fetchOptions:Ks,maxContentLength:oo,maxBodyLength:Lo,maxRedirects:Xa}=cd(b),$s=h.isNumber(oo)&&oo>-1,ea=h.isNumber(Lo)&&Lo>-1,zu=a(ie=>h.hasOwnProp(b,ie)?b[ie]:void 0,"own"),ju=r||fetch;Xo=Xo?(Xo+"").toLowerCase():"text";let Be=rS([q,Z&&Z.toAbortSignal()],W),$e=null,ct=Be&&Be.unsubscribe&&(()=>{Be.unsubscribe()}),wn,rr=null,ta=a(()=>new N("Request body larger than maxBodyLength limit",N.ERR_BAD_REQUEST,b,$e),"maxBodyLengthError");try{let ie,Ht=zu("auth");if(Ht){let k=h.getSafeProp(Ht,"username")||"",mt=h.getSafeProp(Ht,"password")||"";ie={username:k,password:mt}}if(UD(w)){let k=new URL(w,oe.origin);if(!ie&&(k.username||k.password)){let mt=aS(k.username),P=aS(k.password);ie={username:mt,password:P}}(k.username||k.password)&&(k.username="",k.password="",w=k.href)}if(ie&&(ee.delete("authorization"),ee.set("Authorization","Basic "+btoa(_D((ie.username||"")+":"+(ie.password||""))))),$s&&typeof w=="string"&&w.startsWith("data:")&&fh(w)>oo)throw new N("maxContentLength size of "+oo+" exceeded",N.ERR_BAD_RESPONSE,b,$e);if(ea&&F!=="get"&&F!=="head"){let k=await C(O);if(typeof k=="number"&&isFinite(k)&&(wn=k,k>Lo))throw ta()}let Ka=ea&&(h.isReadableStream(O)||h.isStream(O)),In=a((k,mt,P)=>bh(k,sS,z=>{if(ea&&z>Lo)throw rr=ta();mt&&mt(z)},P),"trackRequestStream");if(f&&F!=="get"&&F!=="head"&&(di||Ka)){if(wn=wn??await I(ee,O),wn!==0||Ka){let k=new n(w,{method:"POST",body:O,duplex:"half"}),mt;if(h.isFormData(O)&&(mt=k.headers.get("content-type"))&&ee.setContentType(mt),k.body){let[P,z]=di&&gc(wn,ar(vc(di)))||[];O=In(k.body,P,z)}}}else if(Ka&&!p&&u&&F!=="get"&&F!=="head")O=In(O);else if(Ka&&p&&!f&&F!=="get"&&F!=="head")throw new N("Stream request bodies are not supported by the current fetch implementation",N.ERR_NOT_SUPPORT,b,$e);h.isString(nr)||(nr=nr?"include":"omit");let Qp=p&&"credentials"in n.prototype;if(h.isFormData(O)){let k=ee.getContentType();k&&/^multipart\/form-data/i.test(k)&&!/boundary=/i.test(k)&&ee.delete("content-type")}ee.set("User-Agent","axios/"+sr,!1);let Vo=Ks==null?Ks:Object.assign(Object.create(null),Ks);Vo&&(delete Vo.body,delete Vo.headers,delete Vo.method,delete Vo.signal,delete Vo.duplex,delete Vo.credentials);let fe=Object.assign(Object.create(null),Vo,{signal:Be,method:F.toUpperCase(),headers:nc(ee.normalize()),body:O,duplex:"half",credentials:Qp?nr:void 0});p&&(h.forEach(VD,(k,mt)=>{fe[mt]===void 0&&(fe[mt]=k)}),fe.signal===void 0&&(fe.signal=null),fe.body===void 0&&(fe.body=null)),Xa===0&&(fe.redirect="manual",Vo&&(Vo.redirect="manual")),$e=p&&new n(w,fe);let fi=await(p?ju($e,Vo):ju(w,fe)),Yr=Oe.from(fi.headers);if($s){let k=h.toFiniteNumber(Yr.getContentLength());if(k!=null&&k>oo)throw new N("maxContentLength size of "+oo+" exceeded",N.ERR_BAD_RESPONSE,b,$e)}let $a=y&&(Xo==="stream"||Xo==="response");if(y&&fi.body&&(St||$s||$a&&ct)){let k={};["status","statusText","headers"].forEach(ae=>{k[ae]=fi[ae]});let mt=h.toFiniteNumber(Yr.getContentLength()),[P,z]=St&&gc(mt,ar(vc(St),!0))||[],se=0,kt=a(ae=>{if($s&&(se=ae,se>oo))throw new N("maxContentLength size of "+oo+" exceeded",N.ERR_BAD_RESPONSE,b,$e);P&&P(ae)},"onChunkProgress");fi=new s(bh(fi.body,sS,kt,()=>{z&&z(),ct&&ct()}),k)}Xo=Xo||"text";let mi=await S[h.findKey(S,Xo)||"text"](fi,b);if($s&&!y&&!$a){let k;if(mi!=null&&(typeof mi.byteLength=="number"?k=mi.byteLength:typeof mi.size=="number"?k=mi.size:typeof mi=="string"&&(k=typeof i=="function"?new i().encode(mi).byteLength:mi.length)),typeof k=="number"&&k>oo)throw new N("maxContentLength size of "+oo+" exceeded",N.ERR_BAD_RESPONSE,b,$e)}return!$a&&ct&&ct(),await new Promise((k,mt)=>{On(k,mt,{data:mi,headers:Oe.from(fi.headers),status:fi.status,statusText:fi.statusText,config:b,request:$e})})}catch(ie){if(ct&&ct(),Be&&Be.aborted&&Be.reason instanceof N){let Ht=Be.reason;throw Ht.config=b,$e&&(Ht.request=$e),ie!==Ht&&Object.defineProperty(Ht,"cause",{__proto__:null,value:ie,writable:!0,enumerable:!1,configurable:!0}),Ht}if(rr)throw $e&&!rr.request&&(rr.request=$e),rr;if(ie instanceof N)throw $e&&!ie.request&&(ie.request=$e),ie;if(ie&&ie.name==="TypeError"&&/Load failed|fetch/i.test(ie.message)){let Ht=new N("Network Error",N.ERR_NETWORK,b,$e,ie&&ie.response);throw Object.defineProperty(Ht,"cause",{__proto__:null,value:ie.cause||ie,writable:!0,enumerable:!1,configurable:!0}),Ht}throw N.from(ie,ie&&ie.code,b,$e,ie&&ie.response)}}},"factory"),HD=new Map,xh=a(t=>{let e=t&&t.env||{},{fetch:o,Request:i,Response:r}=e,n=[i,r,o],s=n.length,c=s,p,l,u=HD;for(;c--;)p=n[c],l=u.get(p),l===void 0&&u.set(p,l=c?new Map:qD(e)),u=l;return l},"getFetch"),rM=xh();var Sh={http:eS,xhr:nS,fetch:{get:xh}};h.forEach(Sh,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{__proto__:null,value:e})}catch{}Object.defineProperty(t,"adapterName",{__proto__:null,value:e})}});var pS=a(t=>`- ${t}`,"renderReason"),GD=a(t=>h.isFunction(t)||t===null||t===!1,"isResolvedHandle");function QD(t,e){t=h.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,!GD(i)&&(r=Sh[(c=String(i)).toLowerCase()],r===void 0))throw new N(`Unknown adapter '${c}'`);if(r&&(h.isFunction(r)||(r=r.get(e))))break;n[c||"#"+s]=r}if(!r){let s=Object.entries(n).map(([p,l])=>`adapter ${p} `+(l===!1?"is not supported by the environment":"is not available in the build")),c=o?s.length>1?`since :
|
|
30
|
+
`+s.map(pS).join(`
|
|
31
|
+
`):" "+pS(s[0]):"as no adapter specified";throw new N("There is no suitable adapter to dispatch the request "+c,N.ERR_NOT_SUPPORT)}return r}a(QD,"getAdapter");var ld={getAdapter:QD,adapters:Sh};function Ch(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Ko(null,t)}a(Ch,"throwIfCancellationRequested");function Il(t){let e=h.toSafeFlatObject(t);return Ch(e),e.headers=Oe.from(h.getSafeProp(e,"headers")),e.data=dl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ld.getAdapter(e.adapter||uc.adapter,e)(e).then(a(function(r){Ch(e),e.response=r;try{r.data=dl.call(e,e.transformResponse,r)}finally{delete e.response}return r.headers=Oe.from(r.headers),r},"onAdapterResolution"),a(function(r){if(!fl(r)&&(Ch(e),r&&r.response)){e.response=r.response;try{r.response.data=dl.call(e,e.transformResponse,r.response)}finally{delete e.response}r.response.headers=Oe.from(r.response.headers)}return Promise.reject(r)},"onAdapterRejection"))}a(Il,"dispatchRequest");var ud={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{ud[t]=a(function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t},"validator")});var lS={};ud.transitional=a(function(e,o,i){function r(n,s){return"[Axios v"+sr+"] Transitional option '"+n+"'"+s+(i?". "+i:"")}return a(r,"formatMessage"),(n,s,c)=>{if(e===!1)throw new N(r(s," has been removed"+(o?" in "+o:"")),N.ERR_DEPRECATED);return o&&!lS[s]&&(lS[s]=!0,console.warn(r(s," has been deprecated since v"+o+" and will be removed in the near future"))),e?e(n,s,c):!0}},"transitional");ud.spelling=a(function(e){return(o,i)=>(console.warn(`${i} is likely a misspelling of ${e}`),!0)},"spelling");function ZD(t,e,o){if(typeof t!="object"||t===null)throw new N("options must be an object",N.ERR_BAD_OPTION_VALUE);let i=Object.keys(t),r=i.length;for(;r-- >0;){let n=i[r],s=Object.prototype.hasOwnProperty.call(e,n)?e[n]:void 0;if(s){let c=t[n],p=c===void 0||s(c,n,t);if(p!==!0)throw new N("option "+n+" must be "+p,N.ERR_BAD_OPTION_VALUE);continue}if(o!==!0)throw new N("Unknown option "+n,N.ERR_BAD_OPTION)}}a(ZD,"assertOptions");var Ol={assertOptions:ZD,validators:ud};var io=Ol.validators,dd=class{static{a(this,"Axios")}constructor(e){this.defaults=e||{},this.interceptors={request:new Fm,response:new Fm}}async request(e,o){try{return await this._request(e,o)}catch(i){if(i instanceof Error)try{let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;let n=r.stack,s="";if(typeof n=="string"){let c=n.indexOf(`
|
|
32
|
+
`);s=c===-1?"":n.slice(c+1)}if(!i.stack)i.stack=s;else if(s){let c=s.indexOf(`
|
|
33
|
+
`),p=c===-1?-1:s.indexOf(`
|
|
34
|
+
`,c+1),l=p===-1?"":s.slice(p+1);String(i.stack).endsWith(l)||(i.stack+=`
|
|
35
|
+
`+s)}}catch{}throw i}}_request(e,o){typeof e=="string"?(o=o||{},o.url=e):o=e||{},o=ki(this.defaults,o);let{transitional:i,paramsSerializer:r,headers:n}=o;i!==void 0&&Ol.assertOptions(i,{silentJSONParsing:io.transitional(io.boolean),forcedJSONParsing:io.transitional(io.boolean),clarifyTimeoutError:io.transitional(io.boolean),legacyInterceptorReqResOrdering:io.transitional(io.boolean),advertiseZstdAcceptEncoding:io.transitional(io.boolean),validateStatusUndefinedResolves:io.transitional(io.boolean)},!1),r!=null&&(h.isFunction(r)?o.paramsSerializer={serialize:r}:Ol.assertOptions(r,{encode:io.function,serialize:io.function},!0)),o.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?o.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:o.allowAbsoluteUrls=!0),Ol.assertOptions(o,{baseUrl:io.spelling("baseURL"),withXsrfToken:io.spelling("withXSRFToken")},!0),o.method=(h.getSafeProp(o,"method")||h.getSafeProp(this.defaults,"method")||"get").toLowerCase();let s=n&&h.merge(n.common,n[o.method]);n&&h.forEach(ed.concat("common"),S=>{delete n[S]}),o.headers=Oe.concat(s,n);let c=[],p=!0;this.interceptors.request.forEach(a(function(C){if(typeof C.runWhen=="function"&&C.runWhen(o)===!1)return;p=p&&C.synchronous;let I=o.transitional||Kr;I&&I.legacyInterceptorReqResOrdering?c.unshift(C.fulfilled,C.rejected):c.push(C.fulfilled,C.rejected)},"unshiftRequestInterceptors"));let l=[];this.interceptors.response.forEach(a(function(C){l.push(C.fulfilled,C.rejected)},"pushResponseInterceptors"));let u,d=0,f;if(!p){let S=[Il.bind(this),void 0];for(S.unshift(...c),S.push(...l),f=S.length,u=Promise.resolve(o);d<f;)u=u.then(S[d++],S[d++]);return u}f=c.length;let y=o;for(;d<f;){let S=c[d++],C=c[d++];try{y=S?S(y):y}catch(I){if(!C){u=Promise.reject(I);break}try{let b=C.call(this,I);h.isThenable(b)&&(u=Promise.resolve(b).then(()=>Il.call(this,y)))}catch(b){u=Promise.reject(b)}break}}if(!u)try{u=Il.call(this,y)}catch(S){u=Promise.reject(S)}for(d=0,f=l.length;d<f;)u=u.then(l[d++],l[d++]);return u}getUri(e){e=ki(this.defaults,e);let o=aa(e.baseURL,e.url,e.allowAbsoluteUrls,e);return sa(o,e.params,e.paramsSerializer)}};h.forEach(["delete","get","head","options"],a(function(e){dd.prototype[e]=function(o,i){return this.request(ki(i||{},{method:e,url:o,data:i&&h.hasOwnProp(i,"data")?i.data:void 0}))}},"forEachMethodNoData"));h.forEach(["post","put","patch","query"],a(function(e){function o(i){return a(function(n,s,c){return this.request(ki(c||{},{method:e,headers:i?{"Content-Type":"multipart/form-data"}:{},url:n,data:s}))},"httpMethod")}a(o,"generateHTTPMethod"),dd.prototype[e]=o(),e!=="query"&&(dd.prototype[e+"Form"]=o(!0))},"forEachMethodWithData"));var Al=dd;var YD=class uS{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 Ko(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 uS(a(function(r){e=r},"executor")),cancel:e}}},dS=YD;function Nh(t){return a(function(o){return t.apply(null,o)},"wrap")}a(Nh,"spread");function Rh(t){return h.isObject(t)&&t.isAxiosError===!0}a(Rh,"isAxiosError");var fd={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,ContentTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,UnprocessableContent: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(fd).forEach(([t,e])=>{fd[e]===void 0&&(fd[e]=t)});var fS=fd;function mS(t){let e=new Al(t),o=el(Al.prototype.request,e);return h.extend(o,Al.prototype,e,{allOwnKeys:!0}),h.extend(o,e,null,{allOwnKeys:!0}),o.create=a(function(r){return mS(ki(t,r))},"create"),o}a(mS,"createInstance");var gt=mS(uc);gt.Axios=Al;gt.CanceledError=Ko;gt.CancelToken=dS;gt.isCancel=fl;gt.VERSION=sr;gt.toFormData=Xr;gt.AxiosError=N;gt.Cancel=gt.CanceledError;gt.all=a(function(e){return Promise.all(e)},"all");gt.spread=Nh;gt.isAxiosError=Rh;gt.mergeConfig=ki;gt.AxiosHeaders=Oe;gt.formToJSON=t=>$u(h.isHTMLForm(t)?new FormData(t):t);gt.getAdapter=ld.getAdapter;gt.HttpStatusCode=fS;gt.default=gt;var md=gt;var{Axios:m3,AxiosError:h3,CanceledError:g3,isCancel:v3,CancelToken:y3,VERSION:b3,all:x3,Cancel:S3,isAxiosError:C3,spread:N3,toFormData:R3,AxiosHeaders:w3,HttpStatusCode:I3,formToJSON:O3,getAdapter:A3,mergeConfig:F3,create:D3}=md;var es=require("nfets/core"),bc=require("nfets/core");var yc=class{static{a(this,"Pipeline")}certificate;xmlns="http://www.portalfiscal.inf.br/nfe";http=md.create();toolkit=new es.Xml2JsToolkit;caching=new es.MemoryCacheAdapter;certificates=new es.NativeCertificateRepository(this.http,this.caching);soap=new es.SoapRemoteTransmissionRepository(this.toolkit,this.certificates);signer=new bc.EntitySigner(this.toolkit,this.certificates);xmlSigner=new bc.XmlSigner(this.toolkit,this.certificates);constructor(e){this.certificate=e}errors(){return Reflect.getMetadata(bc.ValidateErrorsMetadata,this)}};var OS=pt(require("path"),1),Dd=require("nfets/core"),bi=require("nfets/core"),Ed=require("nfets/core");var gd=require("nfets/core"),hS=require("class-transformer"),Gi=require("class-validator");function hd(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(hd,"_ts_decorate");function Ih(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ih,"_ts_metadata");var ts=class{static{a(this,"ConsultStatusPayload")}tpAmb;cUF;xServ="STATUS"};hd([(0,Gi.IsEnum)(gd.Environment),Ih("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],ts.prototype,"tpAmb",void 0);hd([(0,Gi.IsEnum)(gd.StateCodes),Ih("design:type",typeof StateCode>"u"?Object:StateCode)],ts.prototype,"cUF",void 0);hd([(0,Gi.IsOptional)()],ts.prototype,"xServ",void 0);var wh=class{static{a(this,"ConsultStatusRequest")}consStatServ};hd([(0,Gi.IsNotEmptyObject)(),(0,Gi.IsObject)(),(0,Gi.ValidateNested)(),(0,hS.Type)(()=>ts),Ih("design:type",typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload)],wh.prototype,"consStatServ",void 0);var gS=require("nfets/core"),yd=require("nfets/core"),bd=require("class-transformer"),J=require("class-validator");function Ct(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(Ct,"_ts_decorate");function Zt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Zt,"_ts_metadata");var vd=class{static{a(this,"InfInutAttributes")}Id};Ct([(0,J.IsString)(),Zt("design:type",String)],vd.prototype,"Id",void 0);var Fl=class{static{a(this,"InutNFeAttributes")}xmlns;versao};Ct([(0,J.IsString)(),Zt("design:type",String)],Fl.prototype,"xmlns",void 0);Ct([(0,J.IsString)(),(0,J.IsOptional)(),Zt("design:type",String)],Fl.prototype,"versao",void 0);var Qt=class{static{a(this,"InfInut")}$;tpAmb;xServ="INUTILIZAR";cUF;ano;CNPJ;CPF;mod;serie;nNFIni;nNFFin;xJust};Ct([(0,J.ValidateNested)(),(0,bd.Type)(()=>vd),Zt("design:type",typeof IInfInutAttributes>"u"?Object:IInfInutAttributes)],Qt.prototype,"$",void 0);Ct([(0,J.IsEnum)(yd.Environment),Zt("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Qt.prototype,"tpAmb",void 0);Ct([(0,J.IsOptional)()],Qt.prototype,"xServ",void 0);Ct([(0,J.IsEnum)(yd.StateCodes),Zt("design:type",typeof StateCode>"u"?Object:StateCode)],Qt.prototype,"cUF",void 0);Ct([(0,J.IsString)(),(0,J.Length)(2,2),(0,J.Matches)(/^[0-9]{2}$/),Zt("design:type",String)],Qt.prototype,"ano",void 0);Ct([(0,J.IsString)(),(0,J.IsOptional)(),Zt("design:type",String)],Qt.prototype,"CNPJ",void 0);Ct([(0,J.IsString)(),(0,J.IsOptional)(),Zt("design:type",String)],Qt.prototype,"CPF",void 0);Ct([(0,J.IsString)(),(0,J.Length)(2,2),(0,J.Matches)(/^(55|65)$/),Zt("design:type",String)],Qt.prototype,"mod",void 0);Ct([(0,J.IsString)(),(0,J.Matches)(/^[0-9]{1,3}$/),Zt("design:type",String)],Qt.prototype,"serie",void 0);Ct([(0,J.IsString)(),(0,J.Matches)(/^[0-9]{1,9}$/),Zt("design:type",String)],Qt.prototype,"nNFIni",void 0);Ct([(0,J.IsString)(),(0,J.Matches)(/^[0-9]{1,9}$/),Zt("design:type",String)],Qt.prototype,"nNFFin",void 0);Ct([(0,J.IsString)(),(0,J.MinLength)(15),(0,J.MaxLength)(255),Zt("design:type",String)],Qt.prototype,"xJust",void 0);Qt=Ct([(0,gS.Choice)({properties:["CNPJ","CPF"],required:!0})],Qt);var cr=class{static{a(this,"InutilizacaoPayload")}$;infInut;Signature};Ct([(0,J.IsObject)(),(0,J.ValidateNested)(),(0,bd.Type)(()=>Fl),Zt("design:type",typeof IInutNFeAttributes>"u"?Object:IInutNFeAttributes)],cr.prototype,"$",void 0);Ct([(0,J.IsObject)(),(0,J.ValidateNested)(),(0,bd.Type)(()=>Qt),Zt("design:type",typeof IInfInut>"u"?Object:IInfInut)],cr.prototype,"infInut",void 0);Ct([(0,J.Allow)(),Zt("design:type",typeof Signature>"u"?Object:Signature)],cr.prototype,"Signature",void 0);var yS=require("nfets/core"),An=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,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 vS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(vS,"_ts_metadata");var ma=class{static{a(this,"ConsultaProtocoloPayload")}tpAmb;xServ="CONSULTAR";chNFe};Oh([(0,An.IsEnum)(yS.Environment),vS("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],ma.prototype,"tpAmb",void 0);Oh([(0,An.IsOptional)()],ma.prototype,"xServ",void 0);Oh([(0,An.IsString)(),(0,An.Length)(44,44),(0,An.Matches)(/^[A-Z0-9]{44}$/),vS("design:type",String)],ma.prototype,"chNFe",void 0);var Sd=require("nfets/core"),ei=require("class-validator");function Dl(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(Dl,"_ts_decorate");function xd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(xd,"_ts_metadata");var Qi=class{static{a(this,"NfeAutorizacaoPayload")}tpAmb;cUF;idLote;indSinc="1";NFe};Dl([(0,ei.IsEnum)(Sd.Environment),(0,ei.IsOptional)(),xd("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Qi.prototype,"tpAmb",void 0);Dl([(0,ei.IsEnum)(Sd.StateCodes),(0,ei.IsOptional)(),xd("design:type",typeof StateCode>"u"?Object:StateCode)],Qi.prototype,"cUF",void 0);Dl([(0,ei.IsString)(),(0,ei.IsOptional)(),xd("design:type",String)],Qi.prototype,"idLote",void 0);Dl([(0,ei.IsOptional)(),(0,ei.IsEnum)(["0","1"])],Qi.prototype,"indSinc",void 0);Dl([(0,ei.IsNotEmpty)(),xd("design:type",typeof T>"u"?Object:T)],Qi.prototype,"NFe",void 0);var SS=require("nfets/core"),Cd=require("class-validator");function bS(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(bS,"_ts_decorate");function xS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(xS,"_ts_metadata");var xc=class{static{a(this,"RetAutorizacaoPayload")}tpAmb;nRec};bS([(0,Cd.IsEnum)(SS.Environment),xS("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],xc.prototype,"tpAmb",void 0);bS([(0,Cd.IsString)(),xS("design:type",String)],xc.prototype,"nRec",void 0);var ce=require("class-validator"),El=require("class-transformer"),wd=require("nfets/core");function Nt(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(Nt,"_ts_decorate");function Tt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Tt,"_ts_metadata");var Nd=class{static{a(this,"InfEventoAttributes")}Id};Nt([(0,ce.IsString)(),Tt("design:type",String)],Nd.prototype,"Id",void 0);var Pt=class{static{a(this,"InfEvento")}$;cOrgao;tpAmb;CNPJ;CPF;chNFe;dhEvento;tpEvento;nSeqEvento;verEvento;detEvento};Nt([(0,ce.IsObject)(),(0,ce.ValidateNested)(),(0,El.Type)(()=>Nd),Tt("design:type",typeof IInfEventoAttributes>"u"?Object:IInfEventoAttributes)],Pt.prototype,"$",void 0);Nt([(0,ce.IsString)(),Tt("design:type",typeof StateCode>"u"?Object:StateCode)],Pt.prototype,"cOrgao",void 0);Nt([(0,ce.IsString)(),Tt("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Pt.prototype,"tpAmb",void 0);Nt([(0,ce.IsString)(),(0,ce.IsOptional)(),Tt("design:type",String)],Pt.prototype,"CNPJ",void 0);Nt([(0,ce.IsString)(),(0,ce.IsOptional)(),Tt("design:type",String)],Pt.prototype,"CPF",void 0);Nt([(0,ce.IsString)(),Tt("design:type",String)],Pt.prototype,"chNFe",void 0);Nt([(0,wd.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),Tt("design:type",String)],Pt.prototype,"dhEvento",void 0);Nt([(0,ce.IsEnum)(ht),Tt("design:type",typeof ht>"u"?Object:ht)],Pt.prototype,"tpEvento",void 0);Nt([(0,ce.IsNumber)(),Tt("design:type",Number)],Pt.prototype,"nSeqEvento",void 0);Nt([(0,ce.IsString)(),Tt("design:type",String)],Pt.prototype,"verEvento",void 0);Nt([(0,ce.IsObject)(),Tt("design:type",typeof T>"u"?Object:T)],Pt.prototype,"detEvento",void 0);Pt=Nt([(0,wd.Choice)({properties:["CNPJ","CPF"],required:!0})],Pt);var Rd=class{static{a(this,"EventoItemAttributes")}xmlns};Nt([(0,ce.IsString)(),Tt("design:type",String)],Rd.prototype,"xmlns",void 0);var Fn=class{static{a(this,"EventoItem")}$;infEvento;Signature};Nt([(0,ce.IsObject)(),(0,ce.ValidateNested)(),(0,El.Type)(()=>Rd),Tt("design:type",typeof IEventoItemAttributes>"u"?Object:IEventoItemAttributes)],Fn.prototype,"$",void 0);Nt([(0,ce.IsObject)(),(0,ce.ValidateNested)(),(0,El.Type)(()=>Pt),Tt("design:type",typeof Pt>"u"?Object:Pt)],Fn.prototype,"infEvento",void 0);Nt([(0,ce.Allow)(),Tt("design:type",typeof Signature>"u"?Object:Signature)],Fn.prototype,"Signature",void 0);var Sc=class{static{a(this,"EventoPayload")}idLote;evento};Nt([(0,ce.IsString)(),Tt("design:type",String)],Sc.prototype,"idLote",void 0);Nt([(0,ce.IsNotEmpty)(),(0,ce.ValidateNested)(),(0,El.Type)(()=>Fn),Tt("design:type",typeof Fn>"u"?Object:Fn)],Sc.prototype,"evento",void 0);var CS=require("nfets/core"),NS=require("nfets/core"),yi=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 Id(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Id,"_ts_metadata");var Zi=class{static{a(this,"ConsultaCadastroPayload")}xServ="CONS-CAD";UF;IE="";CNPJ="";CPF=""};Cc([(0,yi.IsOptional)()],Zi.prototype,"xServ",void 0);Cc([(0,yi.IsString)(),(0,yi.IsIn)(Object.values(CS.StateAcronyms)),Id("design:type",typeof StateAcronym>"u"?Object:StateAcronym)],Zi.prototype,"UF",void 0);Cc([(0,yi.IsOptional)(),(0,yi.IsString)(),Id("design:type",String)],Zi.prototype,"IE",void 0);Cc([(0,yi.IsOptional)(),(0,yi.IsString)(),Id("design:type",String)],Zi.prototype,"CNPJ",void 0);Cc([(0,yi.IsOptional)(),(0,yi.IsString)(),Id("design:type",String)],Zi.prototype,"CPF",void 0);Zi=Cc([(0,NS.Choice)({properties:["IE","CNPJ","CPF"],required:!0})],Zi);var Ad=require("nfets/core"),RS=require("nfets/core"),wS=require("class-transformer"),zt=require("class-validator");function ha(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(ha,"_ts_decorate");function Nc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Nc,"_ts_metadata");var Od=class{static{a(this,"ConsChNFe")}chNFe};ha([(0,zt.IsString)(),(0,zt.Length)(44,44),(0,zt.Matches)(/^[A-Z0-9]{44}$/),Nc("design:type",String)],Od.prototype,"chNFe",void 0);var Yi=class{static{a(this,"DistribuicaoDFePayload")}tpAmb;cUFAutor;CNPJ="";CPF="";consChNFe};ha([(0,zt.IsEnum)(Ad.Environment),Nc("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Yi.prototype,"tpAmb",void 0);ha([(0,zt.IsEnum)(Ad.StateCodes),Nc("design:type",typeof StateCode>"u"?Object:StateCode)],Yi.prototype,"cUFAutor",void 0);ha([(0,zt.IsOptional)(),(0,zt.IsString)(),Nc("design:type",String)],Yi.prototype,"CNPJ",void 0);ha([(0,zt.IsOptional)(),(0,zt.IsString)(),Nc("design:type",String)],Yi.prototype,"CPF",void 0);ha([(0,zt.IsObject)(),(0,zt.ValidateNested)(),(0,wS.Type)(()=>Od),Nc("design:type",typeof IConsChNFe>"u"?Object:IConsChNFe)],Yi.prototype,"consChNFe",void 0);Yi=ha([(0,RS.Choice)({properties:["CNPJ","CPF"],required:!0})],Yi);var pe=require("nfets/core"),Ah={AM:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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:{[pe.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"}},[pe.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 xe=require("nfets/core"),WD={[xe.StateCodes.AC]:"SVRS",[xe.StateCodes.AL]:"SVRS",[xe.StateCodes.AM]:"AM",[xe.StateCodes.AP]:"SVRS",[xe.StateCodes.BA]:"BA",[xe.StateCodes.CE]:"SVRS",[xe.StateCodes.DF]:"SVRS",[xe.StateCodes.ES]:"SVRS",[xe.StateCodes.GO]:"GO",[xe.StateCodes.MA]:"SVAN",[xe.StateCodes.MG]:"MG",[xe.StateCodes.MS]:"MS",[xe.StateCodes.MT]:"MT",[xe.StateCodes.PA]:"SVRS",[xe.StateCodes.PB]:"SVRS",[xe.StateCodes.PE]:"PE",[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",91:"AN",AN:"AN",SVAN:"SVAN",SVRS:"SVRS",SVCAN:"SVCAN",SVCRS:"SVCRS"},IS=WD;var Se=require("nfets/core"),Fd={[Se.StateCodes.AC]:"SVCAN",[Se.StateCodes.AL]:"SVCAN",[Se.StateCodes.AM]:"SVCRS",[Se.StateCodes.AP]:"SVCAN",[Se.StateCodes.BA]:"SVCRS",[Se.StateCodes.CE]:"SVCAN",[Se.StateCodes.DF]:"SVCAN",[Se.StateCodes.ES]:"SVCAN",[Se.StateCodes.GO]:"SVCRS",[Se.StateCodes.MA]:"SVCRS",[Se.StateCodes.MG]:"SVCAN",[Se.StateCodes.MS]:"SVCRS",[Se.StateCodes.MT]:"SVCRS",[Se.StateCodes.PA]:"SVCAN",[Se.StateCodes.PB]:"SVCAN",[Se.StateCodes.PE]:"SVCRS",[Se.StateCodes.PI]:"SVCAN",[Se.StateCodes.PR]:"SVCRS",[Se.StateCodes.RJ]:"SVCAN",[Se.StateCodes.RN]:"SVCAN",[Se.StateCodes.RO]:"SVCAN",[Se.StateCodes.RR]:"SVCAN",[Se.StateCodes.RS]:"SVCAN",[Se.StateCodes.SC]:"SVCAN",[Se.StateCodes.SE]:"SVCAN",[Se.StateCodes.SP]:"SVCAN",[Se.StateCodes.TO]:"SVCAN"};function os(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(os,"_ts_decorate");function Me(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Me,"_ts_metadata");var Oo=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??=Hv.PL_009_V4,this}service(e){let o=e.cUF??this.options.cUF,i=e.tpAmb??this.options.tpAmb,r=this.options.contingency?Fd[o]:IS[o];return Ah[r][i][e.service]}errors(){return Reflect.getMetadata(bi.ValidateErrorsMetadata,this)}validate(e){try{let o=this.errors();return o?(0,Ed.left)(new Dd.NFeTsError(o.join(", "))):("cUF"in e&&(e.cUF??=this.options.cUF),"tpAmb"in e&&(e.tpAmb??=this.options.tpAmb),(0,Ed.right)(e))}finally{Reflect.deleteMetadata(bi.ValidateErrorsMetadata,this)}}ns(e,o){let i=e.$??{};return i.xmlns=this.xmlns,i.versao=o,{...e,$:i}}xsd(e){return OS.default.resolve(Jp(),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: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=Ah.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})}};os([(0,bi.Validates)(ts),Me("design:type",Function),Me("design:paramtypes",[typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload]),Me("design:returntype",Promise)],Oo.prototype,"consultStatus",null);os([(0,bi.Validates)(cr),Me("design:type",Function),Me("design:paramtypes",[typeof IInutilizacaoPayload>"u"?Object:IInutilizacaoPayload]),Me("design:returntype",Promise)],Oo.prototype,"inutilizacao",null);os([(0,bi.Validates)(ma),Me("design:type",Function),Me("design:paramtypes",[typeof IConsultaProtocoloPayload>"u"?Object:IConsultaProtocoloPayload]),Me("design:returntype",Promise)],Oo.prototype,"consultaProtocolo",null);os([(0,bi.Validates)(Qi),Me("design:type",Function),Me("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),Me("design:returntype",Promise)],Oo.prototype,"autorizacao",null);os([(0,bi.Validates)(xc),Me("design:type",Function),Me("design:paramtypes",[typeof IRetAutorizacaoPayload>"u"?Object:IRetAutorizacaoPayload]),Me("design:returntype",Promise)],Oo.prototype,"retAutorizacao",null);os([(0,bi.Validates)(Sc),Me("design:type",Function),Me("design:paramtypes",[Object]),Me("design:returntype",Promise)],Oo.prototype,"recepcaoEvento",null);os([(0,bi.Validates)(Zi),Me("design:type",Function),Me("design:paramtypes",[typeof IConsultaCadastroPayload>"u"?Object:IConsultaCadastroPayload]),Me("design:returntype",Promise)],Oo.prototype,"consultaCadastro",null);os([(0,bi.Validates)(Yi),Me("design:type",Function),Me("design:paramtypes",[typeof IDistribuicaoDFePayload>"u"?Object:IDistribuicaoDFePayload]),Me("design:returntype",Promise)],Oo.prototype,"distribuicaoDFe",null);var no=class extends yc{static{a(this,"TransmissionPipeline")}certificate;transmitter=new Oo(this.soap);constructor(e){super(e),this.certificate=e}issuerFromIdentification(e){let o=e.toUpperCase().replace(/[^A-Z0-9]/g,"");if(!o)return(0,pr.left)(new pr.NFeTsError("CNPJ/CPF do emitente \xE9 obrigat\xF3rio"));if(o.length===11)return(0,pr.right)({CPF:o,idDigits:o.padStart(14,"0")});let i=o.padStart(14,"0");return i.length!==14?(0,pr.left)(new pr.NFeTsError("CNPJ/CPF do emitente \xE9 inv\xE1lido")):(0,pr.right)({CNPJ:i,idDigits:i})}};var AS=require("nfets/core"),FS=require("nfets/core");var JD=["MT"],XD=[AS.StateCodes.MT],KD=[[/[áàâãªä]/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 $D(t){if(!t)return!1;let e=t.toUpperCase();return JD.includes(e)||XD.includes(e)}a($D,"shouldStripSefazAccents");function eE(t){return KD.reduce((e,[o,i])=>e.replace(o,i),t)}a(eE,"replaceSefazSpecialChars");function Rc(t,e){return $D(e)?Fh(t):t}a(Rc,"sanitizeSefazText");function tE(t){return t===null||typeof t!="object"||t instanceof Date||t instanceof FS.Decimal?!1:!ArrayBuffer.isView(t)}a(tE,"isWalkableObject");function Fh(t){if(typeof t=="string")return eE(t);if(Array.isArray(t))return t.map(i=>Fh(i));if(!tE(t))return t;let e={};for(let[o,i]of Object.entries(t))e[o]=Fh(i);return e}a(Fh,"walk");function oE(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(oE,"_ts_decorate");function Dh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Dh,"_ts_metadata");var ga=class extends no{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:o.cOrgao??n,...i,certificate:r.value});let s=tc[e],c=this.issuerFromIdentification(o.identification);if(c.isLeft())return c;let{nSeqEvento:p,dhEvento:l,chNFe:u}=o,d=["ID",e,u,p.toString().padStart(2,"0")].join(""),f=Rc({$:{xmlns:this.xmlns},infEvento:{$:{Id:d},cOrgao:o.cOrgao??n,tpAmb:i.tpAmb,CNPJ:c.value.CNPJ,CPF:c.value.CPF,chNFe:u,dhEvento:l,tpEvento:e,nSeqEvento:p,verEvento:s.version,detEvento:{$:{versao:s.version},descEvento:s.descEvento,...o.detEvento}}},n),y=this.validated(f);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(Zf).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,is.left)(new is.NFeTsError(o.join(", "))):(0,is.right)(e)}};oE([(0,is.Validates)(Fn),Dh("design:type",Function),Dh("design:paramtypes",[typeof IEventoItem>"u"?Object:IEventoItem]),Dh("design:returntype",void 0)],ga.prototype,"validated",null);var wc=require("nfets/core");var Pl=class extends ga{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(ht.Cancelamento,i,o);if(r.isLeft())return r;let n=r.value,s=tc[ht.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,l=p.retEnvEvento.retEvento;if(!l)return(0,wc.left)(new wc.NFeTsError("Evento de cancelamento n\xE3o retornado"));let u=await this.protocol(this.versionedEvent(n,s),l,s);return(0,wc.right)({xml:u,response:p})}};var va=(function(t){return t.Asynchronous="0",t.Synchronous="1",t})({});var Eh=(function(t){return t.LotReceived="103",t.ProcessedBatch="104",t})({});var DS=require("nfets/core");var Tl=class extends DS.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 ti=require("nfets/core");var ns=(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 zl=class extends no{static{a(this,"NfeAuthorizerPipeline")}async execute(e,o){e.indSinc??=va.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,ti.right)(await this.handleLotNotProcessed(r.value,c)):e.indSinc===va.Synchronous&&this.isSyncResponse(c)?(0,ti.right)(await this.response(r.value,c)):e.indSinc===va.Asynchronous&&this.hasReceipt(c)?await this.handleAsyncResponse(r.value,c):(0,ti.left)(new Tl)}async protocol(e,o){let{cStat:i}=o.infProt;if(!Object.values(ns).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,ti.left)(n.value):(0,ti.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,ti.left)(new ti.NFeTsError("Failed to sign a NFe in batch")):(0,ti.right)(i.filter(r=>r.isRight()).map(r=>r.value))}isLotNotProcessed(e,o){let{cStat:i}=e.retEnviNFe,r=o.indSinc??va.Synchronous;return r===va.Asynchronous&&i!==Eh.LotReceived.toString()||r===va.Synchronous&&i!==Eh.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(l=>setTimeout(l,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,ti.right)(await this.response(e,{retEnviNFe:{...c.value.retConsReciNFe,protNFe:p}}))}return(0,ti.left)(new Tl)}contingency(e){let{dhCont:o,xJust:i,tpEmis:r}=e.infNFe.ide;if(!(!o||!i||r===be.Normal))return{dhCont:o,xJust:i}}};var Wi=require("nfets/core");function iE(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(iE,"_ts_decorate");function Ph(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ph,"_ts_metadata");var Ic=class extends no{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=Rc({$:{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 l=await this.signer.sign(p.value,{tag:"infInut",mark:"Id"},i.value);if(l.isLeft())return l;let u=await this.transmitter.inutilizacao(l.value);if(u.isLeft())return u;let d=u.value,f=d.retInutNFe;if(!f)return(0,Wi.left)(new Wi.NFeTsError("Retorno de inutiliza\xE7\xE3o n\xE3o retornado"));let y=f.$.versao,S=await this.protocol(this.versionedInutNFe(l.value,y),f,y);return(0,Wi.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(Wf).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,Wi.left)(new Wi.NFeTsError(o.join(", "))):(0,Wi.right)(e)}};iE([(0,Wi.Validates)(cr),Ph("design:type",Function),Ph("design:paramtypes",[typeof IIInutilizacaoPayload>"u"?Object:IIInutilizacaoPayload]),Ph("design:returntype",void 0)],Ic.prototype,"validated",null);var jl=class extends no{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 Bl=class extends no{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 Th=class extends no{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 Oc=require("nfets/core");var zh=class extends ga{static{a(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,s=tc[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,l=p.retEnvEvento.retEvento;if(!l)return(0,Oc.left)(new Oc.NFeTsError("Evento de manifesta\xE7\xE3o n\xE3o retornado"));let u=await this.protocol(this.versionedEvent(n,s),l,s);return(0,Oc.right)({xml:u,response:p})}};var ES=require("zlib"),PS=require("nfets/core");var jh=class extends no{static{a(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 s=n.value.nfeDistDFeInteresseResult.retDistDFeInt,c=s.loteDistDFeInt?.docZip;return(0,PS.right)({response:s,xml:c?(0,ES.gunzipSync)(Buffer.from(c.$value,"base64")).toString("utf8"):void 0})}};var TS=pt(require("crypto"),1),lr=require("nfets/core");var Yt=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,lr.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,lr.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!==be.OFFLINE)return`${c}|${p}|${n}|${s}`;let u=e.Signature.SignedInfo.Reference.DigestValue.split("").map(y=>y.charCodeAt(0).toString(16).padStart(2,"0")).join(""),d=this.emissionDayOfMonthFormatted(e.infNFe.ide.dhEmi),f=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2);return`${c}|${p}|${n}|${d}|${f}|${u}|${s}`}async execute200(e,o){let{urlService:i,CSC:r}=o,n=this.getSequence(e,o),s=TS.default.createHash("sha1").update(`${n}${r}`).digest("hex").toUpperCase(),c=`${i}?p=`;return Promise.resolve((0,lr.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!==be.OFFLINE)return(0,lr.right)(`${r}${s}|${c}|${n}`);let p=this.emissionDayOfMonthFormatted(e.infNFe.ide.dhEmi),l=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2),{tipo:u,documento:d}=this.getQrcodeV300OfflineIdentification(e.infNFe.dest),f=`${s}|${c}|${n}|${p}|${l}|${u}|${d}`,y=await this.certificateRepository.sign(f,o.certificate,lr.SignatureAlgorithm.SHA1);return y.isLeft()?y:(0,lr.right)(`${r}${f}|${y.value}`)}};var Lh=require("nfets/core");var M=require("nfets/core"),Bh={AC:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hml.sefaznet.ac.gov.br/nfce/qrcode"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaznet.ac.gov.br/nfce/qrcode"}}},AL:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}}},AM:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://sistemas.sefaz.am.gov.br/nfceweb-hom/consultarNFCe.jsp"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/CscNFCe"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://sistemas.sefaz.am.gov.br/nfceweb/consultarNFCe.jsp"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/CscNFCe"}}},AP:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.sefaz.ap.gov.br/nfcehml/nfce.php"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.ap.gov.br/nfce/nfcep.php"}}},BA:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hnfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}}},CE:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfceh.sefaz.ce.gov.br/pages/ShowNFCe.html"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.ce.gov.br/pages/ShowNFCe.html"}}},DF:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://dec.fazenda.df.gov.br/ConsultarNFCe.aspx"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.fazenda.df.gov.br/nfce/qrcode"}}},ES:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://app.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}}},GO:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/v2/CscNFCe"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://nfewebhomolog.sefaz.go.gov.br/nfeweb/sites/nfce/danfeNFCe"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/v2/CscNFCe"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://nfeweb.sefaz.go.gov.br/nfeweb/sites/nfce/danfeNFCe"}}},MA:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}}},MG:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://portalsped.fazenda.mg.gov.br/portalnfce/sistema/qrcode.xhtml"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://portalsped.fazenda.mg.gov.br/portalnfce/sistema/qrcode.xhtml"}}},MT:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.mt.gov.br/nfce/consultanfce"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.mt.gov.br/nfce/consultanfce"}}},MS:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.dfe.ms.gov.br/nfce/qrcode"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.dfe.ms.gov.br/nfce/qrcode"}}},PA:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://appnfc.sefa.pa.gov.br/portal-homologacao/view/consultas/nfce/nfceForm.seam"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://appnfc.sefa.pa.gov.br/portal/view/consultas/nfce/nfceForm.seam"}}},PB:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pb.gov.br/nfcehom"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pb.gov.br/nfce"}}},PE:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfcehomolog.sefaz.pe.gov.br/nfce/consulta"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.pe.gov.br/nfce/consulta"}}},PI:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}}},PR:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.fazenda.pr.gov.br/nfce/qrcode"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.fazenda.pr.gov.br/nfce/qrcode"}}},RJ:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www4.fazenda.rj.gov.br/consultaNFCe/QRCode"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://consultadfe.fazenda.rj.gov.br/consultaNFCe/QRCode"}}},RN:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hom.nfce.set.rn.gov.br/consultarNFCe.aspx"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.set.rn.gov.br/consultarNFCe.aspx"}}},RO:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}}},RR:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://200.174.88.103:8080/nfce/servlet/qrcode"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.rr.gov.br/servlet/qrcode"}}},RS:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx"}}},SC:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://hom.sat.sef.sc.gov.br/nfce/consulta"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://sat.sef.sc.gov.br/nfce/consulta"}}},SE:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfe.se.gov.br/nfce/qrcode"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.se.gov.br/nfce/qrcode"}}},SP:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeInutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeConsultaProtocolo4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeRecepcaoEvento4.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://homologacao.nfce.epec.fazenda.sp.gov.br/EPECws/RecepcaoEPEC.asmx"},EPECStatusServico:{method:"nfeStatusServicoNF2",operation:"NfeStatusServico2",version:"4.00",url:"https://homologacao.nfce.epec.fazenda.sp.gov.br/EPECws/EPECStatusServico.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.homologacao.nfce.fazenda.sp.gov.br/qrcode"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeInutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeConsultaProtocolo4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeRecepcaoEvento4.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"1.00",url:"https://nfce.epec.fazenda.sp.gov.br/EPECws/RecepcaoEPEC.asmx"},EPECStatusServico:{method:"nfeStatusServicoNF2",operation:"NfeStatusServico2",version:"4.00",url:"https://nfce.epec.fazenda.sp.gov.br/EPECws/EPECStatusServico.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.nfce.fazenda.sp.gov.br/qrcode"}}},TO:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.to.gov.br/nfce/qrcode"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.to.gov.br/nfce/qrcode"}}},SVRS:{[M.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"}}},SVAN:{[M.Environment.Homolog]:{},[M.Environment.Production]:{}}};var V=require("nfets/core"),zS={[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 Ce=require("nfets/core"),nE={[Ce.StateCodes.AC]:"SVRS",[Ce.StateCodes.AL]:"SVRS",[Ce.StateCodes.AM]:"AM",[Ce.StateCodes.AP]:"SVRS",[Ce.StateCodes.BA]:"SVRS",[Ce.StateCodes.CE]:"SVRS",[Ce.StateCodes.DF]:"SVRS",[Ce.StateCodes.ES]:"SVRS",[Ce.StateCodes.GO]:"GO",[Ce.StateCodes.MA]:"SVRS",[Ce.StateCodes.MG]:"MG",[Ce.StateCodes.MS]:"MS",[Ce.StateCodes.MT]:"MT",[Ce.StateCodes.PA]:"SVRS",[Ce.StateCodes.PB]:"SVRS",[Ce.StateCodes.PE]:"SVRS",[Ce.StateCodes.PI]:"SVRS",[Ce.StateCodes.PR]:"PR",[Ce.StateCodes.RJ]:"SVRS",[Ce.StateCodes.RN]:"SVRS",[Ce.StateCodes.RO]:"SVRS",[Ce.StateCodes.RR]:"SVRS",[Ce.StateCodes.RS]:"RS",[Ce.StateCodes.SC]:"SVRS",[Ce.StateCodes.SE]:"SVRS",[Ce.StateCodes.SP]:"SP",[Ce.StateCodes.TO]:"SVRS",SVRS:"SVRS"},jS=nE;var Pd=class extends Qi{static{a(this,"NfceAutorizacaoPayload")}};var BS=require("nfets/core");function rE(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(rE,"_ts_decorate");function Mh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Mh,"_ts_metadata");var jt=class extends Oo{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=jS[o],c=Bh[r][i][e.service];if(c)return c;let p=Object.keys(Lh.StateCodes).find(l=>Lh.StateCodes[l]===o);return Bh[p][i][e.service]}getUrlConsult(e){let o=e.infNFe.ide.cUF,i=e.infNFe.ide.tpAmb;return zS[i][o]}async autorizacao(e){return super.autorizacao(e)}};rE([(0,BS.Validates)(Pd),Mh("design:type",Function),Mh("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),Mh("design:returntype",Promise)],jt.prototype,"autorizacao",null);var Vh=class extends Pl{static{a(this,"NfceCancelPipeline")}qrCode=new Yt(this.certificates);transmitter=new jt(this.soap,this.qrCode)};var Ml=class extends zl{static{a(this,"NfceAuthorizerPipeline")}certificate;qrCode=new Yt(this.certificates);transmitter=new jt(this.soap,this.qrCode);constructor(e){super(e),this.certificate=e}};var Bt=require("nfets/core");var _h=class extends Ml{static{a(this,"NfceContingencyXmlAuthorizerPipeline")}certificate;qrCode=new Yt(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,Bt.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,Bt.left)(r?.value??new Bt.NFeTsError("NFC-e XML must be signed"))}return(0,Bt.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,Bt.left)(new Bt.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,Bt.left)(new Bt.NFeTsError("NFC-e XML signature digest mismatch")):(0,Bt.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,Bt.right)(n)}signatureAlgorithm(e){return e.Signature?.SignedInfo?.Reference?.DigestMethod?.$?.Algorithm===Bt.DigestAlgorithm.SHA256?Bt.SignatureAlgorithm.SHA256:Bt.SignatureAlgorithm.SHA1}};var Uh=class extends Ic{static{a(this,"NfceVoidRangePipeline")}qrCode=new Yt(this.certificates);transmitter=new jt(this.soap,this.qrCode)};var qh=class extends jl{static{a(this,"NfceConsultStatusPipeline")}qrCode=new Yt(this.certificates);transmitter=new jt(this.soap,this.qrCode)};var Hh=class extends Bl{static{a(this,"NfceConsultProtocoloPipeline")}qrCode=new Yt(this.certificates);transmitter=new jt(this.soap,this.qrCode)};var PC=pt(require("path"),1),bp=require("nfets/core");var Bo=require("class-validator");var _=require("class-validator"),ot=require("class-transformer");var A=require("class-validator"),ba=require("class-transformer"),fr=require("nfets/core"),MS=require("nfets/core");function B(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,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(B,"_ts_decorate");function L(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(L,"_ts_metadata");var ur=class{static{a(this,"RefNF")}cUF;AAMM;CNPJ;mod;serie;nNF};B([(0,A.IsString)(),L("design:type",String)],ur.prototype,"cUF",void 0);B([(0,A.IsString)(),L("design:type",String)],ur.prototype,"AAMM",void 0);B([(0,A.IsString)(),L("design:type",String)],ur.prototype,"CNPJ",void 0);B([(0,A.IsString)(),L("design:type",String)],ur.prototype,"mod",void 0);B([(0,A.IsString)(),L("design:type",String)],ur.prototype,"serie",void 0);B([(0,A.IsString)(),L("design:type",String)],ur.prototype,"nNF",void 0);var oi=class{static{a(this,"RefNFP")}cUF;AAMM;CNPJ="";CPF="";IE;mod;serie;nNF};B([(0,A.IsString)(),L("design:type",String)],oi.prototype,"cUF",void 0);B([(0,A.IsString)(),L("design:type",String)],oi.prototype,"AAMM",void 0);B([(0,A.IsOptional)(),(0,A.IsString)(),L("design:type",String)],oi.prototype,"CNPJ",void 0);B([(0,A.IsOptional)(),(0,A.IsString)(),L("design:type",String)],oi.prototype,"CPF",void 0);B([(0,A.IsString)(),L("design:type",String)],oi.prototype,"IE",void 0);B([(0,A.IsString)(),L("design:type",String)],oi.prototype,"mod",void 0);B([(0,A.IsString)(),L("design:type",String)],oi.prototype,"serie",void 0);B([(0,A.IsString)(),L("design:type",String)],oi.prototype,"nNF",void 0);oi=B([(0,fr.Choice)({properties:["CNPJ","CPF"],required:!0})],oi);var Ac=class{static{a(this,"RefECF")}mod;nECF;nCOO};B([(0,A.IsString)(),L("design:type",String)],Ac.prototype,"mod",void 0);B([(0,A.IsString)(),L("design:type",String)],Ac.prototype,"nECF",void 0);B([(0,A.IsString)(),L("design:type",String)],Ac.prototype,"nCOO",void 0);var dr=class{static{a(this,"NFref")}refNFe;refNFeSig;refNF;refNFP;refCTe;refECF};B([(0,A.IsOptional)(),(0,A.IsString)(),L("design:type",String)],dr.prototype,"refNFe",void 0);B([(0,A.IsOptional)(),(0,A.IsString)(),L("design:type",String)],dr.prototype,"refNFeSig",void 0);B([(0,A.IsOptional)(),(0,A.ValidateNested)(),(0,ba.Type)(()=>ur),L("design:type",typeof IRefNF>"u"?Object:IRefNF)],dr.prototype,"refNF",void 0);B([(0,A.IsOptional)(),(0,A.ValidateNested)(),(0,ba.Type)(()=>oi),L("design:type",typeof IRefNFP>"u"?Object:IRefNFP)],dr.prototype,"refNFP",void 0);B([(0,A.IsOptional)(),(0,A.IsString)(),L("design:type",String)],dr.prototype,"refCTe",void 0);B([(0,A.IsOptional)(),(0,A.ValidateNested)(),(0,ba.Type)(()=>Ac),L("design:type",typeof IRefECF>"u"?Object:IRefECF)],dr.prototype,"refECF",void 0);var ya=class{static{a(this,"CompraGov")}tpEnteGov;pRedutor;tpOperGov;refDFeAnt};B([(0,A.IsString)(),L("design:type",String)],ya.prototype,"tpEnteGov",void 0);B([(0,fr.TransformDecimal)({fixed:4}),L("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ya.prototype,"pRedutor",void 0);B([(0,A.IsString)(),L("design:type",String)],ya.prototype,"tpOperGov",void 0);B([(0,A.IsOptional)(),(0,A.IsString)(),L("design:type",String)],ya.prototype,"refDFeAnt",void 0);var Td=class{static{a(this,"PagAntecipado")}refNFe};B([(0,A.IsArray)(),(0,A.ArrayMaxSize)(99),(0,A.IsString)({each:!0}),L("design:type",Array)],Td.prototype,"refNFe",void 0);var $=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};B([(0,A.IsEnum)(MS.StateCodes),L("design:type",typeof StateCode>"u"?Object:StateCode)],$.prototype,"cUF",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"cNF",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"natOp",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"mod",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"serie",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"nNF",void 0);B([(0,fr.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),L("design:type",String)],$.prototype,"dhEmi",void 0);B([(0,A.IsOptional)(),(0,fr.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),L("design:type",String)],$.prototype,"dhSaiEnt",void 0);B([(0,A.IsOptional)(),(0,fr.TransformDateString)({format:"YYYY-MM-DD"}),L("design:type",String)],$.prototype,"dPrevEntrega",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"tpNF",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"idDest",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"cMunFG",void 0);B([(0,A.IsOptional)(),(0,A.IsString)(),L("design:type",String)],$.prototype,"cMunFGIBS",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"tpImp",void 0);B([(0,A.IsString)(),L("design:type",typeof TpEmis>"u"?Object:TpEmis)],$.prototype,"tpEmis",void 0);B([(0,A.IsString)(),(0,A.IsOptional)(),L("design:type",String)],$.prototype,"cDV",void 0);B([(0,A.IsString)(),L("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],$.prototype,"tpAmb",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"finNFe",void 0);B([(0,A.IsOptional)(),(0,A.IsString)(),L("design:type",String)],$.prototype,"tpNFDebito",void 0);B([(0,A.IsOptional)(),(0,A.IsString)(),L("design:type",String)],$.prototype,"tpNFCredito",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"indFinal",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"indPres",void 0);B([(0,A.IsOptional)(),(0,A.IsString)(),L("design:type",String)],$.prototype,"indIntermed",void 0);B([(0,A.IsOptional)(),(0,A.IsString)(),L("design:type",String)],$.prototype,"cIndOp",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"procEmi",void 0);B([(0,A.IsString)(),L("design:type",String)],$.prototype,"verProc",void 0);B([(0,A.IsOptional)(),(0,A.IsString)(),(0,fr.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),L("design:type",String)],$.prototype,"dhCont",void 0);B([(0,A.IsOptional)(),(0,A.IsString)(),L("design:type",String)],$.prototype,"xJust",void 0);B([(0,A.IsOptional)(),(0,A.IsArray)(),(0,A.ArrayMaxSize)(999),(0,A.ValidateNested)({each:!0}),(0,ba.Type)(()=>dr),L("design:type",Array)],$.prototype,"NFref",void 0);B([(0,A.IsOptional)(),(0,A.ValidateNested)(),(0,ba.Type)(()=>ya),L("design:type",typeof ICompraGov>"u"?Object:ICompraGov)],$.prototype,"gCompraGov",void 0);B([(0,A.IsOptional)(),(0,A.ValidateNested)(),(0,ba.Type)(()=>Td),L("design:type",typeof IPagAntecipado>"u"?Object:IPagAntecipado)],$.prototype,"gPagAntecipado",void 0);var lt=require("class-validator"),LS=require("nfets/core"),VS=require("class-transformer");var Jt=require("class-validator");function Ji(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(Ji,"_ts_decorate");function Xi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Xi,"_ts_metadata");var Wt=class{static{a(this,"EnderEmit")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};Ji([(0,Jt.IsString)(),Xi("design:type",String)],Wt.prototype,"xLgr",void 0);Ji([(0,Jt.IsString)(),Xi("design:type",String)],Wt.prototype,"nro",void 0);Ji([(0,Jt.IsOptional)(),(0,Jt.IsString)(),Xi("design:type",String)],Wt.prototype,"xCpl",void 0);Ji([(0,Jt.IsString)(),Xi("design:type",String)],Wt.prototype,"xBairro",void 0);Ji([(0,Jt.IsString)(),Xi("design:type",String)],Wt.prototype,"cMun",void 0);Ji([(0,Jt.IsString)(),Xi("design:type",String)],Wt.prototype,"xMun",void 0);Ji([(0,Jt.IsString)(),Xi("design:type",String)],Wt.prototype,"UF",void 0);Ji([(0,Jt.IsString)(),Xi("design:type",String)],Wt.prototype,"CEP",void 0);Ji([(0,Jt.IsOptional)(),(0,Jt.IsString)(),Xi("design:type",String)],Wt.prototype,"cPais",void 0);Ji([(0,Jt.IsOptional)(),(0,Jt.IsString)(),Xi("design:type",String)],Wt.prototype,"xPais",void 0);Ji([(0,Jt.IsOptional)(),(0,Jt.IsString)(),Xi("design:type",String)],Wt.prototype,"fone",void 0);function xi(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(xi,"_ts_decorate");function Ki(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ki,"_ts_metadata");var Rt=class{static{a(this,"Emit")}CNPJ="";CPF="";xNome;xFant;enderEmit;IE;IEST;IM;CNAE;CRT;ISUFEmit};xi([(0,lt.IsOptional)(),(0,lt.IsString)(),Ki("design:type",String)],Rt.prototype,"CNPJ",void 0);xi([(0,lt.IsOptional)(),(0,lt.IsString)(),Ki("design:type",String)],Rt.prototype,"CPF",void 0);xi([(0,lt.IsString)(),Ki("design:type",String)],Rt.prototype,"xNome",void 0);xi([(0,lt.IsOptional)(),(0,lt.IsString)(),Ki("design:type",String)],Rt.prototype,"xFant",void 0);xi([(0,lt.ValidateNested)(),(0,VS.Type)(()=>Wt),Ki("design:type",typeof Wt>"u"?Object:Wt)],Rt.prototype,"enderEmit",void 0);xi([(0,lt.IsString)(),Ki("design:type",String)],Rt.prototype,"IE",void 0);xi([(0,lt.IsOptional)(),(0,lt.IsString)(),Ki("design:type",String)],Rt.prototype,"IEST",void 0);xi([(0,lt.IsOptional)(),(0,lt.IsString)(),Ki("design:type",String)],Rt.prototype,"IM",void 0);xi([(0,lt.IsOptional)(),(0,lt.IsString)(),Ki("design:type",String)],Rt.prototype,"CNAE",void 0);xi([(0,lt.IsString)(),Ki("design:type",String)],Rt.prototype,"CRT",void 0);xi([(0,lt.IsOptional)(),(0,lt.IsString)(),Ki("design:type",String)],Rt.prototype,"ISUFEmit",void 0);Rt=xi([(0,LS.Choice)({properties:["CNPJ","CPF"],required:!0})],Rt);var nt=require("class-validator"),_S=require("class-transformer");var Le=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 en(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(en,"_ts_metadata");var Ao=class{static{a(this,"EnderDest")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};$i([(0,Le.IsOptional)(),(0,Le.IsString)(),en("design:type",String)],Ao.prototype,"xLgr",void 0);$i([(0,Le.IsOptional)(),(0,Le.IsString)(),en("design:type",String)],Ao.prototype,"nro",void 0);$i([(0,Le.IsOptional)(),(0,Le.IsString)(),en("design:type",String)],Ao.prototype,"xCpl",void 0);$i([(0,Le.IsOptional)(),(0,Le.IsString)(),en("design:type",String)],Ao.prototype,"xBairro",void 0);$i([(0,Le.IsOptional)(),(0,Le.IsString)(),en("design:type",String)],Ao.prototype,"cMun",void 0);$i([(0,Le.IsOptional)(),(0,Le.IsString)(),en("design:type",String)],Ao.prototype,"xMun",void 0);$i([(0,Le.IsOptional)(),(0,Le.IsString)(),en("design:type",String)],Ao.prototype,"UF",void 0);$i([(0,Le.IsOptional)(),(0,Le.IsString)(),en("design:type",String)],Ao.prototype,"CEP",void 0);$i([(0,Le.IsOptional)(),(0,Le.IsString)(),en("design:type",String)],Ao.prototype,"cPais",void 0);$i([(0,Le.IsOptional)(),(0,Le.IsString)(),en("design:type",String)],Ao.prototype,"xPais",void 0);$i([(0,Le.IsOptional)(),(0,Le.IsString)(),en("design:type",String)],Ao.prototype,"fone",void 0);var US=require("nfets/core");function tn(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(tn,"_ts_decorate");function Dn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Dn,"_ts_metadata");var Mt=class{static{a(this,"Dest")}CNPJ="";CPF="";idEstrangeiro;xNome;enderDest;indIEDest;IE;ISUF;IM;email};tn([(0,nt.IsOptional)(),(0,nt.IsString)(),Dn("design:type",String)],Mt.prototype,"CNPJ",void 0);tn([(0,nt.IsOptional)(),(0,nt.IsString)(),Dn("design:type",String)],Mt.prototype,"CPF",void 0);tn([(0,nt.IsOptional)(),(0,nt.IsString)(),Dn("design:type",String)],Mt.prototype,"idEstrangeiro",void 0);tn([(0,nt.IsOptional)(),(0,nt.IsString)(),Dn("design:type",String)],Mt.prototype,"xNome",void 0);tn([(0,nt.IsOptional)(),(0,nt.ValidateNested)(),(0,_S.Type)(()=>Ao),Dn("design:type",typeof IEnderDest>"u"?Object:IEnderDest)],Mt.prototype,"enderDest",void 0);tn([(0,nt.IsString)(),Dn("design:type",String)],Mt.prototype,"indIEDest",void 0);tn([(0,nt.IsOptional)(),(0,nt.IsString)(),Dn("design:type",String)],Mt.prototype,"IE",void 0);tn([(0,nt.IsOptional)(),(0,nt.IsString)(),Dn("design:type",String)],Mt.prototype,"ISUF",void 0);tn([(0,nt.IsOptional)(),(0,nt.IsString)(),Dn("design:type",String)],Mt.prototype,"IM",void 0);tn([(0,nt.IsOptional)(),(0,nt.IsString)(),Dn("design:type",String)],Mt.prototype,"email",void 0);Mt=tn([(0,US.Choice)({properties:["CNPJ","CPF"],required:!0})],Mt);var Ne=require("class-validator"),qS=require("nfets/core");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 ro(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ro,"_ts_metadata");var Ae=class{static{a(this,"Local")}CNPJ;CPF;xNome;xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone;email;IE};Xt([(0,Ne.IsOptional)(),(0,Ne.IsString)(),ro("design:type",String)],Ae.prototype,"CNPJ",void 0);Xt([(0,Ne.IsOptional)(),(0,Ne.IsString)(),ro("design:type",String)],Ae.prototype,"CPF",void 0);Xt([(0,Ne.IsOptional)(),(0,Ne.IsString)(),ro("design:type",String)],Ae.prototype,"xNome",void 0);Xt([(0,Ne.IsString)(),ro("design:type",String)],Ae.prototype,"xLgr",void 0);Xt([(0,Ne.IsString)(),ro("design:type",String)],Ae.prototype,"nro",void 0);Xt([(0,Ne.IsOptional)(),(0,Ne.IsString)(),ro("design:type",String)],Ae.prototype,"xCpl",void 0);Xt([(0,Ne.IsString)(),ro("design:type",String)],Ae.prototype,"xBairro",void 0);Xt([(0,Ne.IsString)(),ro("design:type",String)],Ae.prototype,"cMun",void 0);Xt([(0,Ne.IsString)(),ro("design:type",String)],Ae.prototype,"xMun",void 0);Xt([(0,Ne.IsString)(),ro("design:type",String)],Ae.prototype,"UF",void 0);Xt([(0,Ne.IsOptional)(),(0,Ne.IsString)(),ro("design:type",String)],Ae.prototype,"CEP",void 0);Xt([(0,Ne.IsOptional)(),(0,Ne.IsString)(),ro("design:type",String)],Ae.prototype,"cPais",void 0);Xt([(0,Ne.IsOptional)(),(0,Ne.IsString)(),ro("design:type",String)],Ae.prototype,"xPais",void 0);Xt([(0,Ne.IsOptional)(),(0,Ne.IsString)(),ro("design:type",String)],Ae.prototype,"fone",void 0);Xt([(0,Ne.IsOptional)(),(0,Ne.IsString)(),ro("design:type",String)],Ae.prototype,"email",void 0);Xt([(0,Ne.IsOptional)(),(0,Ne.IsString)(),ro("design:type",String)],Ae.prototype,"IE",void 0);Ae=Xt([(0,qS.Choice)({properties:["CNPJ","CPF"]})],Ae);var Fc=require("class-validator"),kS=require("nfets/core");function kh(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(kh,"_ts_decorate");function HS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(HS,"_ts_metadata");var En=class{static{a(this,"AutXML")}CNPJ;CPF};kh([(0,Fc.IsOptional)(),(0,Fc.IsString)(),HS("design:type",String)],En.prototype,"CNPJ",void 0);kh([(0,Fc.IsOptional)(),(0,Fc.IsString)(),HS("design:type",String)],En.prototype,"CPF",void 0);En=kh([(0,kS.Choice)({properties:["CNPJ","CPF"]})],En);var Ll=require("class-validator");function GS(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(GS,"_ts_decorate");function QS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(QS,"_ts_metadata");var rs=class{static{a(this,"InfIntermed")}CNPJ;idCadIntTran};GS([(0,Ll.IsString)(),QS("design:type",String)],rs.prototype,"CNPJ",void 0);GS([(0,Ll.IsOptional)(),(0,Ll.IsString)(),QS("design:type",String)],rs.prototype,"idCadIntTran",void 0);var xa=require("class-validator");function Gh(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(Gh,"_ts_decorate");function Qh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Qh,"_ts_metadata");var mr=class{static{a(this,"Exporta")}UFSaidaPais;xLocExporta;xLocDespacho};Gh([(0,xa.IsString)(),Qh("design:type",String)],mr.prototype,"UFSaidaPais",void 0);Gh([(0,xa.IsOptional)(),(0,xa.IsString)(),Qh("design:type",String)],mr.prototype,"xLocExporta",void 0);Gh([(0,xa.IsOptional)(),(0,xa.IsString)(),Qh("design:type",String)],mr.prototype,"xLocDespacho",void 0);var ss=require("class-validator");function Zh(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(Zh,"_ts_decorate");function Yh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Yh,"_ts_metadata");var hr=class{static{a(this,"Compra")}xNEmp;xPed;xCont};Zh([(0,ss.IsOptional)(),(0,ss.IsString)(),Yh("design:type",String)],hr.prototype,"xNEmp",void 0);Zh([(0,ss.IsOptional)(),(0,ss.IsString)(),Yh("design:type",String)],hr.prototype,"xPed",void 0);Zh([(0,ss.IsOptional)(),(0,ss.IsString)(),Yh("design:type",String)],hr.prototype,"xCont",void 0);var Pn=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,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(Dc,"_ts_decorate");function Ec(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ec,"_ts_metadata");var Si=class{static{a(this,"InfRespTec")}CNPJ;xContato;email;fone;idCSRT;hashCSRT};Dc([(0,Pn.IsString)(),Ec("design:type",String)],Si.prototype,"CNPJ",void 0);Dc([(0,Pn.IsString)(),Ec("design:type",String)],Si.prototype,"xContato",void 0);Dc([(0,Pn.IsString)(),Ec("design:type",String)],Si.prototype,"email",void 0);Dc([(0,Pn.IsString)(),Ec("design:type",String)],Si.prototype,"fone",void 0);Dc([(0,Pn.IsOptional)(),(0,Pn.IsString)(),Ec("design:type",String)],Si.prototype,"idCSRT",void 0);Dc([(0,Pn.IsOptional)(),(0,Pn.IsString)(),Ec("design:type",String)],Si.prototype,"hashCSRT",void 0);var wi=require("class-validator"),Vc=require("class-transformer");var on=require("class-validator"),ue=require("nfets/core");function me(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(me,"_ts_decorate");function he(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(he,"_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};me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vBC",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMS",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSDeson",void 0);me([(0,on.IsOptional)(),(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vFCPUFDest",void 0);me([(0,on.IsOptional)(),(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSUFDest",void 0);me([(0,on.IsOptional)(),(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSUFRemet",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vFCP",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vBCST",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vST",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vFCPST",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vFCPSTRet",void 0);me([(0,on.IsOptional)(),(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"qBCMono",void 0);me([(0,on.IsOptional)(),(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSMono",void 0);me([(0,on.IsOptional)(),(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"qBCMonoReten",void 0);me([(0,on.IsOptional)(),(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSMonoReten",void 0);me([(0,on.IsOptional)(),(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"qBCMonoRet",void 0);me([(0,on.IsOptional)(),(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSMonoRet",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vProd",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vFrete",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vSeg",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vDesc",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vII",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vIPI",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vIPIDevol",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vPIS",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vCOFINS",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vOutro",void 0);me([(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vNF",void 0);me([(0,on.IsOptional)(),(0,ue.TransformDecimal)({fixed:2}),he("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vTotTrib",void 0);var Fo=require("class-validator"),nn=require("nfets/core");function Ci(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(Ci,"_ts_decorate");function Ni(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ni,"_ts_metadata");var so=class{static{a(this,"ISSQNtot")}vServ;vBC;vISS;vPIS;vCOFINS;dCompet;vDeducao;vOutro;vDescIncond;vDescCond;vISSRet;cRegTrib};Ci([(0,Fo.IsOptional)(),(0,nn.TransformDecimal)({fixed:2}),Ni("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vServ",void 0);Ci([(0,Fo.IsOptional)(),(0,nn.TransformDecimal)({fixed:2}),Ni("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vBC",void 0);Ci([(0,Fo.IsOptional)(),(0,nn.TransformDecimal)({fixed:2}),Ni("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vISS",void 0);Ci([(0,Fo.IsOptional)(),(0,nn.TransformDecimal)({fixed:2}),Ni("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vPIS",void 0);Ci([(0,Fo.IsOptional)(),(0,nn.TransformDecimal)({fixed:2}),Ni("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vCOFINS",void 0);Ci([(0,Fo.IsString)(),Ni("design:type",String)],so.prototype,"dCompet",void 0);Ci([(0,Fo.IsOptional)(),(0,nn.TransformDecimal)({fixed:2}),Ni("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vDeducao",void 0);Ci([(0,Fo.IsOptional)(),(0,nn.TransformDecimal)({fixed:2}),Ni("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vOutro",void 0);Ci([(0,Fo.IsOptional)(),(0,nn.TransformDecimal)({fixed:2}),Ni("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vDescIncond",void 0);Ci([(0,Fo.IsOptional)(),(0,nn.TransformDecimal)({fixed:2}),Ni("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vDescCond",void 0);Ci([(0,Fo.IsOptional)(),(0,nn.TransformDecimal)({fixed:2}),Ni("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vISSRet",void 0);Ci([(0,Fo.IsOptional)(),(0,Fo.IsString)(),Ni("design:type",String)],so.prototype,"cRegTrib",void 0);var as=require("class-validator"),cs=require("nfets/core");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 rn=class{static{a(this,"RetTrib")}vRetPIS;vRetCOFINS;vRetCSLL;vBCIRRF;vIRRF;vBCRetPrev;vRetPrev};Sa([(0,as.IsOptional)(),(0,cs.TransformDecimal)({fixed:2}),Ca("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rn.prototype,"vRetPIS",void 0);Sa([(0,as.IsOptional)(),(0,cs.TransformDecimal)({fixed:2}),Ca("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rn.prototype,"vRetCOFINS",void 0);Sa([(0,as.IsOptional)(),(0,cs.TransformDecimal)({fixed:2}),Ca("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rn.prototype,"vRetCSLL",void 0);Sa([(0,as.IsOptional)(),(0,cs.TransformDecimal)({fixed:2}),Ca("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rn.prototype,"vBCIRRF",void 0);Sa([(0,as.IsOptional)(),(0,cs.TransformDecimal)({fixed:2}),Ca("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rn.prototype,"vIRRF",void 0);Sa([(0,as.IsOptional)(),(0,cs.TransformDecimal)({fixed:2}),Ca("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rn.prototype,"vBCRetPrev",void 0);Sa([(0,as.IsOptional)(),(0,cs.TransformDecimal)({fixed:2}),Ca("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rn.prototype,"vRetPrev",void 0);var an=require("class-validator");var vr=require("class-validator");var zd=require("nfets/core");function Wh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,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(Wh,"_ts_decorate");function Jh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Jh,"_ts_metadata");var Na=class{static{a(this,"IBSMunTot")}vDif="0.00";vDevTrib="0.00";vIBSMun="0.00"};Wh([(0,zd.TransformDecimal)({fixed:2}),Jh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Na.prototype,"vDif",void 0);Wh([(0,zd.TransformDecimal)({fixed:2}),Jh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Na.prototype,"vDevTrib",void 0);Wh([(0,zd.TransformDecimal)({fixed:2}),Jh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Na.prototype,"vIBSMun",void 0);var $h=require("class-transformer");var jd=require("nfets/core");function Xh(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(Xh,"_ts_decorate");function Kh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Kh,"_ts_metadata");var Ra=class{static{a(this,"IBSUFTot")}vDif="0.00";vDevTrib="0.00";vIBSUF="0.00"};Xh([(0,jd.TransformDecimal)({fixed:2}),Kh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ra.prototype,"vDif",void 0);Xh([(0,jd.TransformDecimal)({fixed:2}),Kh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ra.prototype,"vDevTrib",void 0);Xh([(0,jd.TransformDecimal)({fixed:2}),Kh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ra.prototype,"vIBSUF",void 0);var Bd=require("nfets/core");function Vl(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(Vl,"_ts_decorate");function _l(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(_l,"_ts_metadata");var gr=class{static{a(this,"IBSTot")}gIBSUF;gIBSMun;vIBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};Vl([(0,vr.IsOptional)(),(0,vr.ValidateNested)(),(0,$h.Type)(()=>Ra),_l("design:type",typeof IIBSUFTot>"u"?Object:IIBSUFTot)],gr.prototype,"gIBSUF",void 0);Vl([(0,vr.IsOptional)(),(0,vr.ValidateNested)(),(0,$h.Type)(()=>Na),_l("design:type",typeof IIBSMunTot>"u"?Object:IIBSMunTot)],gr.prototype,"gIBSMun",void 0);Vl([(0,vr.IsOptional)(),(0,Bd.TransformDecimal)({fixed:2}),_l("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gr.prototype,"vIBS",void 0);Vl([(0,vr.IsOptional)(),(0,Bd.TransformDecimal)({fixed:2}),_l("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gr.prototype,"vCredPres",void 0);Vl([(0,vr.IsOptional)(),(0,Bd.TransformDecimal)({fixed:2}),_l("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gr.prototype,"vCredPresCondSus",void 0);var WS=require("nfets/core"),Gl=require("class-transformer");var Pc=require("nfets/core"),Tc=require("class-validator");function Ul(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(Ul,"_ts_decorate");function ql(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ql,"_ts_metadata");var yr=class{static{a(this,"CBSTot")}vDif="0.00";vDevTrib="0.00";vCBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};Ul([(0,Tc.IsOptional)(),(0,Pc.TransformDecimal)({fixed:2}),ql("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yr.prototype,"vDif",void 0);Ul([(0,Tc.IsOptional)(),(0,Pc.TransformDecimal)({fixed:2}),ql("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yr.prototype,"vDevTrib",void 0);Ul([(0,Tc.IsOptional)(),(0,Pc.TransformDecimal)({fixed:2}),ql("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yr.prototype,"vCBS",void 0);Ul([(0,Tc.IsOptional)(),(0,Pc.TransformDecimal)({fixed:2}),ql("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yr.prototype,"vCredPres",void 0);Ul([(0,Tc.IsOptional)(),(0,Pc.TransformDecimal)({fixed:2}),ql("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yr.prototype,"vCredPresCondSus",void 0);var wa=require("nfets/core"),Ia=require("class-validator");function zc(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(zc,"_ts_decorate");function jc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(jc,"_ts_metadata");var Tn=class{static{a(this,"IBSMonoTot")}vIBSMono="0.00";vCBSMono="0.00";vIBSMonoReten="0.00";vCBSMonoReten="0.00";vIBSMonoRet="0.00";vCBSMonoRet="0.00"};zc([(0,Ia.IsOptional)(),(0,wa.TransformDecimal)({fixed:2}),jc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tn.prototype,"vIBSMono",void 0);zc([(0,Ia.IsOptional)(),(0,wa.TransformDecimal)({fixed:2}),jc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tn.prototype,"vCBSMono",void 0);zc([(0,Ia.IsOptional)(),(0,wa.TransformDecimal)({fixed:2}),jc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tn.prototype,"vIBSMonoReten",void 0);zc([(0,Ia.IsOptional)(),(0,wa.TransformDecimal)({fixed:2}),jc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tn.prototype,"vCBSMonoReten",void 0);zc([(0,Ia.IsOptional)(),(0,wa.TransformDecimal)({fixed:2}),jc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tn.prototype,"vIBSMonoRet",void 0);zc([(0,Ia.IsOptional)(),(0,wa.TransformDecimal)({fixed:2}),jc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tn.prototype,"vCBSMonoRet",void 0);var eg=require("class-validator"),tg=require("nfets/core");function ZS(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(ZS,"_ts_decorate");function YS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(YS,"_ts_metadata");var Bc=class{static{a(this,"EstornoCredTot")}vIBSEstCred;vCBSEstCred};ZS([(0,eg.IsOptional)(),(0,tg.TransformDecimal)({fixed:2}),YS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bc.prototype,"vIBSEstCred",void 0);ZS([(0,eg.IsOptional)(),(0,tg.TransformDecimal)({fixed:2}),YS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bc.prototype,"vCBSEstCred",void 0);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 kl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(kl,"_ts_metadata");var sn=class{static{a(this,"IBSCBSTot")}vBCIBSCBS="0.00";gIBS;gCBS;gMono;gEstornoCred};Hl([(0,an.IsOptional)(),(0,WS.TransformDecimal)({fixed:2}),kl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],sn.prototype,"vBCIBSCBS",void 0);Hl([(0,an.IsOptional)(),(0,an.ValidateNested)(),(0,Gl.Type)(()=>gr),kl("design:type",typeof IIBSTot>"u"?Object:IIBSTot)],sn.prototype,"gIBS",void 0);Hl([(0,an.IsOptional)(),(0,an.ValidateNested)(),(0,Gl.Type)(()=>yr),kl("design:type",typeof ICBSTot>"u"?Object:ICBSTot)],sn.prototype,"gCBS",void 0);Hl([(0,an.IsOptional)(),(0,an.ValidateNested)(),(0,Gl.Type)(()=>Tn),kl("design:type",typeof IIBSMonoTot>"u"?Object:IIBSMonoTot)],sn.prototype,"gMono",void 0);Hl([(0,an.IsOptional)(),(0,an.ValidateNested)(),(0,Gl.Type)(()=>Bc),kl("design:type",typeof IEstornoCredTot>"u"?Object:IEstornoCredTot)],sn.prototype,"gEstornoCred",void 0);var JS=require("nfets/core"),XS=require("class-validator");function sE(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(sE,"_ts_decorate");function aE(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(aE,"_ts_metadata");var Oa=class{static{a(this,"ISTot")}vIS="0.00"};sE([(0,XS.IsOptional)(),(0,JS.TransformDecimal)({fixed:2}),aE("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Oa.prototype,"vIS",void 0);var KS=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 Lc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Lc,"_ts_metadata");var Ri=class{static{a(this,"Total")}ICMSTot;ISSQNtot;retTrib;ISTot;IBSCBSTot;vNFTot};Mc([(0,wi.ValidateNested)(),(0,Vc.Type)(()=>ne),Lc("design:type",typeof IICMSTot>"u"?Object:IICMSTot)],Ri.prototype,"ICMSTot",void 0);Mc([(0,wi.IsOptional)(),(0,wi.ValidateNested)(),(0,Vc.Type)(()=>so),Lc("design:type",typeof IISSQNTot>"u"?Object:IISSQNTot)],Ri.prototype,"ISSQNtot",void 0);Mc([(0,wi.IsOptional)(),(0,wi.ValidateNested)(),(0,Vc.Type)(()=>rn),Lc("design:type",typeof IRetTrib>"u"?Object:IRetTrib)],Ri.prototype,"retTrib",void 0);Mc([(0,wi.IsOptional)(),(0,wi.ValidateNested)(),(0,Vc.Type)(()=>Oa),Lc("design:type",typeof IISTot>"u"?Object:IISTot)],Ri.prototype,"ISTot",void 0);Mc([(0,wi.IsOptional)(),(0,wi.ValidateNested)(),(0,Vc.Type)(()=>sn),Lc("design:type",typeof IIBSCBSTot>"u"?Object:IIBSCBSTot)],Ri.prototype,"IBSCBSTot",void 0);Mc([(0,wi.IsOptional)(),(0,KS.TransformDecimal)({fixed:2}),Lc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"vNFTot",void 0);var ut=require("class-validator"),Qc=require("class-transformer");var co=require("class-validator"),$S=require("nfets/core");function ps(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(ps,"_ts_decorate");function Aa(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Aa,"_ts_metadata");var ao=class{static{a(this,"Transporta")}CNPJ;CPF;xNome;IE;xEnder;xMun;UF};ps([(0,co.IsOptional)(),(0,co.IsString)(),Aa("design:type",String)],ao.prototype,"CNPJ",void 0);ps([(0,co.IsOptional)(),(0,co.IsString)(),Aa("design:type",String)],ao.prototype,"CPF",void 0);ps([(0,co.IsOptional)(),(0,co.IsString)(),Aa("design:type",String)],ao.prototype,"xNome",void 0);ps([(0,co.IsOptional)(),(0,co.IsString)(),Aa("design:type",String)],ao.prototype,"IE",void 0);ps([(0,co.IsOptional)(),(0,co.IsString)(),Aa("design:type",String)],ao.prototype,"xEnder",void 0);ps([(0,co.IsOptional)(),(0,co.IsString)(),Aa("design:type",String)],ao.prototype,"xMun",void 0);ps([(0,co.IsOptional)(),(0,co.IsString)(),Aa("design:type",String)],ao.prototype,"UF",void 0);ao=ps([(0,$S.Choice)({properties:["CNPJ","CPF"]})],ao);var zn=require("class-validator"),Ql=require("nfets/core");function _c(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(_c,"_ts_decorate");function Uc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Uc,"_ts_metadata");var ii=class{static{a(this,"RetTransp")}vServ;vBCRet;pICMSRet;vICMSRet;CFOP;cMunFG};_c([(0,zn.IsOptional)(),(0,Ql.TransformDecimal)({fixed:2}),Uc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ii.prototype,"vServ",void 0);_c([(0,zn.IsOptional)(),(0,Ql.TransformDecimal)({fixed:2}),Uc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ii.prototype,"vBCRet",void 0);_c([(0,zn.IsOptional)(),(0,Ql.TransformDecimal)({fixed:4}),Uc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ii.prototype,"pICMSRet",void 0);_c([(0,zn.IsOptional)(),(0,Ql.TransformDecimal)({fixed:2}),Uc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ii.prototype,"vICMSRet",void 0);_c([(0,zn.IsOptional)(),(0,zn.IsString)(),Uc("design:type",String)],ii.prototype,"CFOP",void 0);_c([(0,zn.IsOptional)(),(0,zn.IsString)(),Uc("design:type",String)],ii.prototype,"cMunFG",void 0);var Qo=require("class-validator");function qc(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(qc,"_ts_decorate");function Hc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Hc,"_ts_metadata");var jn=class{static{a(this,"VeicTransp")}placa;UF;RNTC};qc([(0,Qo.IsOptional)(),(0,Qo.IsString)(),Hc("design:type",String)],jn.prototype,"placa",void 0);qc([(0,Qo.IsOptional)(),(0,Qo.IsString)(),Hc("design:type",String)],jn.prototype,"UF",void 0);qc([(0,Qo.IsOptional)(),(0,Qo.IsString)(),Hc("design:type",String)],jn.prototype,"RNTC",void 0);var Fa=class{static{a(this,"Reboque")}placa;UF;RNTC};qc([(0,Qo.IsOptional)(),(0,Qo.IsString)(),Hc("design:type",String)],Fa.prototype,"placa",void 0);qc([(0,Qo.IsOptional)(),(0,Qo.IsString)(),Hc("design:type",String)],Fa.prototype,"UF",void 0);qc([(0,Qo.IsOptional)(),(0,Qo.IsString)(),Hc("design:type",String)],Fa.prototype,"RNTC",void 0);var Ii=require("class-validator"),og=require("nfets/core");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 Gc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Gc,"_ts_metadata");var Bn=class{static{a(this,"Vol")}qVol;esp;marca;nVol;pesoL;pesoB};kc([(0,Ii.IsOptional)(),(0,Ii.IsString)(),Gc("design:type",String)],Bn.prototype,"qVol",void 0);kc([(0,Ii.IsOptional)(),(0,Ii.IsString)(),Gc("design:type",String)],Bn.prototype,"esp",void 0);kc([(0,Ii.IsOptional)(),(0,Ii.IsString)(),Gc("design:type",String)],Bn.prototype,"marca",void 0);kc([(0,Ii.IsOptional)(),(0,Ii.IsString)(),Gc("design:type",String)],Bn.prototype,"nVol",void 0);kc([(0,Ii.IsOptional)(),(0,og.TransformDecimal)({fixed:3}),Gc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"pesoL",void 0);kc([(0,Ii.IsOptional)(),(0,og.TransformDecimal)({fixed:3}),Gc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"pesoB",void 0);var ig=require("nfets/core");function br(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(br,"_ts_decorate");function ls(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ls,"_ts_metadata");var po=class{static{a(this,"Transp")}modFrete;transporta;retTransp;veicTransp;reboque;vagao;balsa;vol};br([(0,ut.IsString)(),ls("design:type",String)],po.prototype,"modFrete",void 0);br([(0,ut.IsOptional)(),(0,ut.ValidateNested)(),(0,Qc.Type)(()=>ao),ls("design:type",typeof ao>"u"?Object:ao)],po.prototype,"transporta",void 0);br([(0,ut.IsOptional)(),(0,ut.ValidateNested)(),(0,Qc.Type)(()=>ii),ls("design:type",typeof ii>"u"?Object:ii)],po.prototype,"retTransp",void 0);br([(0,ut.IsOptional)(),(0,ut.ValidateNested)(),(0,Qc.Type)(()=>jn),ls("design:type",typeof jn>"u"?Object:jn)],po.prototype,"veicTransp",void 0);br([(0,ut.IsOptional)(),(0,ut.ValidateNested)({each:!0}),(0,Qc.Type)(()=>Fa),(0,ut.ArrayMaxSize)(5),ls("design:type",Array)],po.prototype,"reboque",void 0);br([(0,ut.IsOptional)(),(0,ut.IsString)(),ls("design:type",String)],po.prototype,"vagao",void 0);br([(0,ut.IsOptional)(),(0,ut.IsString)(),ls("design:type",String)],po.prototype,"balsa",void 0);br([(0,ut.IsOptional)(),(0,ut.ValidateNested)({each:!0}),(0,Qc.Type)(()=>Bn),(0,ut.ArrayMaxSize)(5e3),ls("design:type",Array)],po.prototype,"vol",void 0);po=br([(0,ig.Choice)({properties:["veicTransp","reboque"]}),(0,ig.Choice)({properties:["vagao","balsa"]})],po);var wt=require("class-validator"),ng=require("class-transformer"),Zl=require("nfets/core");function Sr(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(Sr,"_ts_decorate");function Cr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Cr,"_ts_metadata");var xr=class{static{a(this,"Fat")}nFat;vOrig;vDesc;vLiq};Sr([(0,wt.IsOptional)(),(0,wt.IsString)(),Cr("design:type",String)],xr.prototype,"nFat",void 0);Sr([(0,wt.IsOptional)(),(0,Zl.TransformDecimal)({fixed:2}),Cr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xr.prototype,"vOrig",void 0);Sr([(0,wt.IsOptional)(),(0,Zl.TransformDecimal)({fixed:2}),Cr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xr.prototype,"vDesc",void 0);Sr([(0,wt.IsOptional)(),(0,Zl.TransformDecimal)({fixed:2}),Cr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xr.prototype,"vLiq",void 0);var Zc=class{static{a(this,"Dup")}nDup;dVenc;vDup};Sr([(0,wt.IsOptional)(),(0,wt.IsString)(),Cr("design:type",String)],Zc.prototype,"nDup",void 0);Sr([(0,wt.IsOptional)(),(0,wt.IsString)(),Cr("design:type",String)],Zc.prototype,"dVenc",void 0);Sr([(0,wt.IsOptional)(),(0,Zl.TransformDecimal)({fixed:2}),Cr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Zc.prototype,"vDup",void 0);var us=class{static{a(this,"Cobr")}fat;dup};Sr([(0,wt.IsOptional)(),(0,wt.ValidateNested)(),(0,ng.Type)(()=>xr),Cr("design:type",typeof xr>"u"?Object:xr)],us.prototype,"fat",void 0);Sr([(0,wt.IsOptional)(),(0,wt.ValidateNested)({each:!0}),(0,wt.ArrayMaxSize)(120),(0,ng.Type)(()=>Zc),Cr("design:type",Array)],us.prototype,"dup",void 0);var hs=require("class-validator"),iC=require("class-transformer");var Do=require("class-validator"),eC=require("class-transformer");var Zo=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,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 Wc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Wc,"_ts_metadata");var ni=class{static{a(this,"Card")}tpIntegra;CNPJ;tBand;cAut;CNPJReceb;idTermPag};Yc([(0,Zo.IsOptional)(),(0,Zo.IsString)(),Wc("design:type",String)],ni.prototype,"tpIntegra",void 0);Yc([(0,Zo.IsOptional)(),(0,Zo.IsString)(),Wc("design:type",String)],ni.prototype,"CNPJ",void 0);Yc([(0,Zo.IsOptional)(),(0,Zo.IsString)(),Wc("design:type",String)],ni.prototype,"tBand",void 0);Yc([(0,Zo.IsOptional)(),(0,Zo.IsString)(),Wc("design:type",String)],ni.prototype,"cAut",void 0);Yc([(0,Zo.IsOptional)(),(0,Zo.IsString)(),Wc("design:type",String)],ni.prototype,"CNPJReceb",void 0);Yc([(0,Zo.IsOptional)(),(0,Zo.IsString)(),Wc("design:type",String)],ni.prototype,"idTermPag",void 0);var Md=require("nfets/core");function ds(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(ds,"_ts_decorate");function fs(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(fs,"_ts_metadata");var Oi=class{static{a(this,"DetPag")}indPag;tPag;xPag;vPag;dPag;CNPJPag;UFPag;card};ds([(0,Do.IsOptional)(),(0,Do.IsString)(),fs("design:type",String)],Oi.prototype,"indPag",void 0);ds([(0,Do.IsString)(),fs("design:type",typeof TPag>"u"?Object:TPag)],Oi.prototype,"tPag",void 0);ds([(0,Do.IsOptional)(),(0,Do.IsString)(),fs("design:type",String)],Oi.prototype,"xPag",void 0);ds([(0,Md.TransformDecimal)({fixed:2}),fs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Oi.prototype,"vPag",void 0);ds([(0,Do.IsOptional)(),(0,Md.TransformDateString)({format:"YYYY-MM-DD"}),fs("design:type",String)],Oi.prototype,"dPag",void 0);ds([(0,Do.IsOptional)(),(0,Do.IsString)(),fs("design:type",String)],Oi.prototype,"CNPJPag",void 0);ds([(0,Do.IsOptional)(),(0,Do.IsString)(),fs("design:type",String)],Oi.prototype,"UFPag",void 0);ds([(0,Do.IsOptional)(),(0,Do.ValidateNested)(),(0,eC.Type)(()=>ni),fs("design:type",typeof ni>"u"?Object:ni)],Oi.prototype,"card",void 0);var nC=require("nfets/core");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 oC(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(oC,"_ts_metadata");var ms=class{static{a(this,"Pag")}detPag;vTroco};tC([(0,hs.ValidateNested)({each:!0}),(0,hs.ArrayMinSize)(1),(0,hs.ArrayMaxSize)(100),(0,iC.Type)(()=>Oi),oC("design:type",Array)],ms.prototype,"detPag",void 0);tC([(0,hs.IsOptional)(),(0,nC.TransformDecimal)({fixed:2}),oC("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ms.prototype,"vTroco",void 0);var et=require("class-validator"),Ld=require("class-transformer");function Nr(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(Nr,"_ts_decorate");function Rr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Rr,"_ts_metadata");var Jc=class{static{a(this,"InfAdicObs")}xCampo;xTexto};Nr([(0,et.IsString)(),Rr("design:type",String)],Jc.prototype,"xCampo",void 0);Nr([(0,et.IsString)(),Rr("design:type",String)],Jc.prototype,"xTexto",void 0);var Yl=class{static{a(this,"ProcRef")}nProc;indProc};Nr([(0,et.IsOptional)(),(0,et.IsString)(),Rr("design:type",String)],Yl.prototype,"nProc",void 0);Nr([(0,et.IsOptional)(),(0,et.IsString)(),Rr("design:type",String)],Yl.prototype,"indProc",void 0);var cn=class{static{a(this,"InfAdic")}infAdFisco;infCpl;obsCont;obsFisco;procRef};Nr([(0,et.IsOptional)(),(0,et.IsString)(),Rr("design:type",String)],cn.prototype,"infAdFisco",void 0);Nr([(0,et.IsOptional)(),(0,et.IsString)(),Rr("design:type",String)],cn.prototype,"infCpl",void 0);Nr([(0,et.IsOptional)(),(0,et.ValidateNested)({each:!0}),(0,Ld.Type)(()=>Jc),(0,et.ArrayMaxSize)(10),Rr("design:type",Array)],cn.prototype,"obsCont",void 0);Nr([(0,et.IsOptional)(),(0,et.ValidateNested)({each:!0}),(0,Ld.Type)(()=>Jc),(0,et.ArrayMaxSize)(10),Rr("design:type",Array)],cn.prototype,"obsFisco",void 0);Nr([(0,et.IsOptional)(),(0,et.ValidateNested)({each:!0}),(0,Ld.Type)(()=>Yl),(0,et.ArrayMaxSize)(100),Rr("design:type",Array)],cn.prototype,"procRef",void 0);var Ie=require("class-validator"),_d=require("class-transformer"),Xl=require("nfets/core");function Eo(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(Eo,"_ts_decorate");function Po(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Po,"_ts_metadata");var Vd=class{static{a(this,"ForDiaAttributes")}dia};Eo([(0,Ie.IsString)(),Po("design:type",String)],Vd.prototype,"dia",void 0);var Wl=class{static{a(this,"ForDia")}$;qtde};Eo([(0,Ie.IsObject)(),(0,Ie.IsNotEmptyObject)(),(0,_d.Type)(()=>Vd),Po("design:type",typeof IForDiaAttributes>"u"?Object:IForDiaAttributes)],Wl.prototype,"$",void 0);Eo([(0,Ie.IsString)(),Po("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Wl.prototype,"qtde",void 0);var Jl=class{static{a(this,"Deduc")}xDed;vDed};Eo([(0,Ie.IsString)(),Po("design:type",String)],Jl.prototype,"xDed",void 0);Eo([(0,Xl.TransformDecimal)({fixed:2}),Po("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jl.prototype,"vDed",void 0);var lo=class{static{a(this,"Cana")}safra;ref;forDia;qTotMes;qTotAnt;qTotGer;deduc;vFor;vTotDed;vLiqFor};Eo([(0,Ie.IsString)(),Po("design:type",String)],lo.prototype,"safra",void 0);Eo([(0,Ie.IsString)(),Po("design:type",String)],lo.prototype,"ref",void 0);Eo([(0,Ie.ValidateNested)({each:!0}),(0,Ie.ArrayMaxSize)(31),(0,_d.Type)(()=>Wl),Po("design:type",Array)],lo.prototype,"forDia",void 0);Eo([(0,Ie.IsOptional)(),(0,Ie.IsString)(),Po("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"qTotMes",void 0);Eo([(0,Ie.IsOptional)(),(0,Ie.IsString)(),Po("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"qTotAnt",void 0);Eo([(0,Ie.IsOptional)(),(0,Ie.IsString)(),Po("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"qTotGer",void 0);Eo([(0,Ie.IsOptional)(),(0,Ie.ValidateNested)({each:!0}),(0,Ie.ArrayMaxSize)(10),(0,_d.Type)(()=>Jl),Po("design:type",Array)],lo.prototype,"deduc",void 0);Eo([(0,Ie.IsOptional)(),(0,Xl.TransformDecimal)({fixed:2}),Po("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vFor",void 0);Eo([(0,Ie.IsOptional)(),(0,Xl.TransformDecimal)({fixed:2}),Po("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vTotDed",void 0);Eo([(0,Ie.IsOptional)(),(0,Xl.TransformDecimal)({fixed:2}),Po("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vLiqFor",void 0);var It=require("class-validator"),_a=require("class-transformer");var D=require("class-validator"),Mn=require("nfets/core"),ln=require("class-transformer");var pn=require("class-validator");function Kl(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(Kl,"_ts_decorate");function $l(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a($l,"_ts_metadata");var wr=class{static{a(this,"Rastro")}nLote;qLote;dFab;dVal;cAgreg};Kl([(0,pn.IsString)(),$l("design:type",String)],wr.prototype,"nLote",void 0);Kl([(0,pn.IsOptional)(),(0,pn.IsString)(),$l("design:type",String)],wr.prototype,"qLote",void 0);Kl([(0,pn.IsOptional)(),(0,pn.IsString)(),$l("design:type",String)],wr.prototype,"dFab",void 0);Kl([(0,pn.IsOptional)(),(0,pn.IsString)(),$l("design:type",String)],wr.prototype,"dVal",void 0);Kl([(0,pn.IsOptional)(),(0,pn.IsString)(),$l("design:type",String)],wr.prototype,"cAgreg",void 0);var fC=require("nfets/core");var ge=require("class-validator"),rC=require("class-transformer"),eu=require("nfets/core");function Vt(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(Vt,"_ts_decorate");function Kt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Kt,"_ts_metadata");var gs=class{static{a(this,"Adi")}nAdicao;nSeqAdic;cFabricante;vDescDI;nDraw};Vt([(0,ge.IsString)(),Kt("design:type",String)],gs.prototype,"nAdicao",void 0);Vt([(0,ge.IsString)(),Kt("design:type",String)],gs.prototype,"nSeqAdic",void 0);Vt([(0,ge.IsString)(),Kt("design:type",String)],gs.prototype,"cFabricante",void 0);Vt([(0,eu.TransformDecimal)({fixed:2}),Kt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gs.prototype,"vDescDI",void 0);Vt([(0,ge.IsOptional)(),(0,ge.IsString)(),Kt("design:type",String)],gs.prototype,"nDraw",void 0);var Lt=class{static{a(this,"DI")}nDI;dDI;xLocDesemb;UFDesemb;dDesemb;tpViaTransp;vAFRMM;tpIntermedio;CNPJ="";CPF="";UFTerceiro;adi};Vt([(0,ge.IsString)(),Kt("design:type",String)],Lt.prototype,"nDI",void 0);Vt([(0,ge.IsString)(),Kt("design:type",String)],Lt.prototype,"dDI",void 0);Vt([(0,ge.IsString)(),Kt("design:type",String)],Lt.prototype,"xLocDesemb",void 0);Vt([(0,ge.IsString)(),Kt("design:type",String)],Lt.prototype,"UFDesemb",void 0);Vt([(0,ge.IsString)(),Kt("design:type",String)],Lt.prototype,"dDesemb",void 0);Vt([(0,ge.IsString)(),Kt("design:type",String)],Lt.prototype,"tpViaTransp",void 0);Vt([(0,ge.IsOptional)(),(0,eu.TransformDecimal)({fixed:2}),Kt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Lt.prototype,"vAFRMM",void 0);Vt([(0,ge.IsString)(),Kt("design:type",String)],Lt.prototype,"tpIntermedio",void 0);Vt([(0,ge.IsString)(),(0,ge.IsOptional)(),Kt("design:type",String)],Lt.prototype,"CNPJ",void 0);Vt([(0,ge.IsString)(),(0,ge.IsOptional)(),Kt("design:type",String)],Lt.prototype,"CPF",void 0);Vt([(0,ge.IsString)(),(0,ge.IsOptional)(),Kt("design:type",String)],Lt.prototype,"UFTerceiro",void 0);Vt([(0,ge.IsArray)(),(0,ge.ValidateNested)({each:!0}),(0,rC.Type)(()=>gs),(0,ge.ArrayMaxSize)(999),(0,ge.ArrayMinSize)(1),Kt("design:type",Array)],Lt.prototype,"adi",void 0);Lt=Vt([(0,eu.Choice)({properties:["CNPJ","CPF"],required:!0})],Lt);var sC=require("class-transformer"),Ir=require("class-validator"),aC=require("nfets/core");function tu(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(tu,"_ts_decorate");function ou(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ou,"_ts_metadata");var Xc=class{static{a(this,"ExportInd")}nRE;chNFe;qExport};tu([(0,Ir.IsString)(),ou("design:type",String)],Xc.prototype,"nRE",void 0);tu([(0,Ir.IsString)(),ou("design:type",String)],Xc.prototype,"chNFe",void 0);tu([(0,aC.TransformDecimal)({fixed:4}),ou("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xc.prototype,"qExport",void 0);var Kc=class{static{a(this,"DetExport")}nDraw;exportInd};tu([(0,Ir.IsOptional)(),(0,Ir.IsString)(),ou("design:type",String)],Kc.prototype,"nDraw",void 0);tu([(0,Ir.IsOptional)(),(0,Ir.ValidateNested)(),(0,sC.Type)(()=>Xc),ou("design:type",typeof IExportInd>"u"?Object:IExportInd)],Kc.prototype,"exportInd",void 0);var rg=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 $c=class{static{a(this,"InfProdNFF")}cProdFisco;cOperNFF};cC([(0,rg.IsString)(),pC("design:type",String)],$c.prototype,"cProdFisco",void 0);cC([(0,rg.IsString)(),pC("design:type",String)],$c.prototype,"cOperNFF",void 0);var cg=require("class-validator"),lC=require("nfets/core");function sg(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(sg,"_ts_decorate");function ag(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ag,"_ts_metadata");var Da=class{static{a(this,"InfProdEmb")}xEmb;qVolEmb;uEmb};sg([(0,cg.IsString)(),ag("design:type",String)],Da.prototype,"xEmb",void 0);sg([(0,lC.TransformDecimal)({fixed:3}),ag("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Da.prototype,"qVolEmb",void 0);sg([(0,cg.IsString)(),ag("design:type",String)],Da.prototype,"uEmb",void 0);var Ee=require("class-validator");function Ve(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(Ve,"_ts_decorate");function _e(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(_e,"_ts_metadata");var Re=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};Ve([(0,Ee.IsString)(),_e("design:type",String)],Re.prototype,"tpOp",void 0);Ve([(0,Ee.IsString)(),_e("design:type",String)],Re.prototype,"chassi",void 0);Ve([(0,Ee.IsString)(),_e("design:type",String)],Re.prototype,"cCor",void 0);Ve([(0,Ee.IsString)(),_e("design:type",String)],Re.prototype,"xCor",void 0);Ve([(0,Ee.IsString)(),_e("design:type",String)],Re.prototype,"pot",void 0);Ve([(0,Ee.IsString)(),_e("design:type",String)],Re.prototype,"cilin",void 0);Ve([(0,Ee.IsString)(),_e("design:type",String)],Re.prototype,"pesoL",void 0);Ve([(0,Ee.IsString)(),_e("design:type",String)],Re.prototype,"pesoB",void 0);Ve([(0,Ee.IsString)(),_e("design:type",String)],Re.prototype,"nSerie",void 0);Ve([(0,Ee.IsString)(),_e("design:type",String)],Re.prototype,"tpComb",void 0);Ve([(0,Ee.IsString)(),_e("design:type",String)],Re.prototype,"nMotor",void 0);Ve([(0,Ee.IsString)(),_e("design:type",String)],Re.prototype,"CMT",void 0);Ve([(0,Ee.IsString)(),_e("design:type",String)],Re.prototype,"dist",void 0);Ve([(0,Ee.IsString)(),_e("design:type",String)],Re.prototype,"anoMod",void 0);Ve([(0,Ee.IsString)(),_e("design:type",String)],Re.prototype,"anoFab",void 0);Ve([(0,Ee.IsString)(),_e("design:type",String)],Re.prototype,"tpPint",void 0);Ve([(0,Ee.IsString)(),_e("design:type",String)],Re.prototype,"tpVeic",void 0);Ve([(0,Ee.IsString)(),_e("design:type",String)],Re.prototype,"espVeic",void 0);Ve([(0,Ee.IsString)(),_e("design:type",String)],Re.prototype,"VIN",void 0);Ve([(0,Ee.IsString)(),_e("design:type",String)],Re.prototype,"condVeic",void 0);Ve([(0,Ee.IsString)(),_e("design:type",String)],Re.prototype,"cMod",void 0);Ve([(0,Ee.IsString)(),_e("design:type",String)],Re.prototype,"cCorDENATRAN",void 0);Ve([(0,Ee.IsString)(),_e("design:type",String)],Re.prototype,"lota",void 0);Ve([(0,Ee.IsString)(),_e("design:type",String)],Re.prototype,"tpRest",void 0);var ug=require("class-validator"),uC=require("nfets/core");function pg(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(pg,"_ts_decorate");function lg(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(lg,"_ts_metadata");var Ea=class{static{a(this,"Med")}cProdANVISA;xMotivoIsencao;vPMC};pg([(0,ug.IsString)(),lg("design:type",String)],Ea.prototype,"cProdANVISA",void 0);pg([(0,ug.IsString)(),lg("design:type",String)],Ea.prototype,"xMotivoIsencao",void 0);pg([(0,uC.TransformDecimal)({fixed:2}),lg("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ea.prototype,"vPMC",void 0);var iu=require("class-validator");function Ud(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(Ud,"_ts_decorate");function qd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(qd,"_ts_metadata");var vs=class{static{a(this,"Arma")}tpArma;nSerie;nCano;descr};Ud([(0,iu.IsString)(),qd("design:type",String)],vs.prototype,"tpArma",void 0);Ud([(0,iu.IsString)(),qd("design:type",String)],vs.prototype,"nSerie",void 0);Ud([(0,iu.IsString)(),qd("design:type",String)],vs.prototype,"nCano",void 0);Ud([(0,iu.IsString)(),qd("design:type",String)],vs.prototype,"descr",void 0);var re=require("class-validator"),Hd=require("class-transformer"),ri=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 qe(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(qe,"_ts_metadata");var ep=class{static{a(this,"OrigComb")}indImport;cUFOrig;pOrig};Ue([(0,re.IsString)(),qe("design:type",String)],ep.prototype,"indImport",void 0);Ue([(0,re.IsString)(),qe("design:type",String)],ep.prototype,"cUFOrig",void 0);Ue([(0,ri.TransformDecimal)({fixed:4}),qe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ep.prototype,"pOrig",void 0);var tp=class{static{a(this,"CIDE")}qBCProd;vAliqProd;vCIDE};Ue([(0,ri.TransformDecimal)({fixed:4}),qe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],tp.prototype,"qBCProd",void 0);Ue([(0,ri.TransformDecimal)({fixed:4}),qe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],tp.prototype,"vAliqProd",void 0);Ue([(0,ri.TransformDecimal)({fixed:2}),qe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],tp.prototype,"vCIDE",void 0);var ys=class{static{a(this,"Encerrante")}nBico;nBomba;nTanque;vEncIni;vEncFin};Ue([(0,re.IsString)(),qe("design:type",String)],ys.prototype,"nBico",void 0);Ue([(0,re.IsString)(),qe("design:type",String)],ys.prototype,"nBomba",void 0);Ue([(0,re.IsString)(),qe("design:type",String)],ys.prototype,"nTanque",void 0);Ue([(0,ri.TransformDecimal)({fixed:3}),qe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ys.prototype,"vEncIni",void 0);Ue([(0,ri.TransformDecimal)({fixed:3}),qe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ys.prototype,"vEncFin",void 0);var $t=class{static{a(this,"Comb")}cProdANP;descANP;pGLP;pGNn;pGNi;vPart;CODIF;qTemp;UFCons;CIDE;encerrante;pBio;origComb};Ue([(0,re.IsString)(),qe("design:type",String)],$t.prototype,"cProdANP",void 0);Ue([(0,re.IsString)(),qe("design:type",String)],$t.prototype,"descANP",void 0);Ue([(0,re.IsOptional)(),(0,ri.TransformDecimal)({fixed:4}),qe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$t.prototype,"pGLP",void 0);Ue([(0,re.IsOptional)(),(0,ri.TransformDecimal)({fixed:4}),qe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$t.prototype,"pGNn",void 0);Ue([(0,re.IsOptional)(),(0,ri.TransformDecimal)({fixed:4}),qe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$t.prototype,"pGNi",void 0);Ue([(0,re.IsOptional)(),(0,ri.TransformDecimal)({fixed:2}),qe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$t.prototype,"vPart",void 0);Ue([(0,re.IsString)(),(0,re.IsOptional)(),qe("design:type",String)],$t.prototype,"CODIF",void 0);Ue([(0,re.IsOptional)(),(0,ri.TransformDecimal)({fixed:4}),qe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$t.prototype,"qTemp",void 0);Ue([(0,re.IsString)(),qe("design:type",String)],$t.prototype,"UFCons",void 0);Ue([(0,re.IsOptional)(),(0,re.IsObject)(),(0,re.ValidateNested)(),(0,Hd.Type)(()=>tp),qe("design:type",typeof ICIDE>"u"?Object:ICIDE)],$t.prototype,"CIDE",void 0);Ue([(0,re.IsOptional)(),(0,re.IsObject)(),(0,re.ValidateNested)(),(0,Hd.Type)(()=>ys),qe("design:type",typeof IEncerrante>"u"?Object:IEncerrante)],$t.prototype,"encerrante",void 0);Ue([(0,re.IsOptional)(),(0,ri.TransformDecimal)({fixed:4}),qe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$t.prototype,"pBio",void 0);Ue([(0,re.IsArray)(),(0,re.ValidateNested)({each:!0}),(0,Hd.Type)(()=>ep),(0,re.ArrayMaxSize)(30),(0,re.IsOptional)(),qe("design:type",Array)],$t.prototype,"origComb",void 0);var dC=require("class-validator"),mg=require("nfets/core");function dg(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(dg,"_ts_decorate");function fg(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(fg,"_ts_metadata");var Pa=class{static{a(this,"GCred")}cCredPresumido;pCredPresumido;vCredPresumido};dg([(0,dC.IsString)(),fg("design:type",String)],Pa.prototype,"cCredPresumido",void 0);dg([(0,mg.TransformDecimal)({fixed:4}),fg("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pa.prototype,"pCredPresumido",void 0);dg([(0,mg.TransformDecimal)({fixed:2}),fg("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pa.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,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(Y,"_ts_decorate");function X(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(X,"_ts_metadata");var U=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};Y([(0,D.IsString)(),X("design:type",String)],U.prototype,"cProd",void 0);Y([(0,D.IsString)(),X("design:type",String)],U.prototype,"cEAN",void 0);Y([(0,D.IsOptional)(),(0,D.IsString)(),X("design:type",String)],U.prototype,"cBarra",void 0);Y([(0,D.IsString)(),X("design:type",String)],U.prototype,"xProd",void 0);Y([(0,D.IsString)(),X("design:type",String)],U.prototype,"NCM",void 0);Y([(0,D.IsOptional)(),(0,D.IsArray)(),(0,D.ArrayMaxSize)(8),(0,D.IsString)({each:!0}),X("design:type",Array)],U.prototype,"NVE",void 0);Y([(0,D.IsOptional)(),(0,D.IsString)(),X("design:type",String)],U.prototype,"CEST",void 0);Y([(0,D.IsOptional)(),(0,D.IsString)(),X("design:type",String)],U.prototype,"indEscala",void 0);Y([(0,D.IsOptional)(),(0,D.IsString)(),X("design:type",String)],U.prototype,"CNPJFab",void 0);Y([(0,D.IsOptional)(),(0,D.IsString)(),X("design:type",String)],U.prototype,"cBenef",void 0);Y([(0,D.IsOptional)(),(0,D.IsArray)(),(0,D.ArrayMaxSize)(4),(0,D.ValidateNested)({each:!0}),(0,ln.Type)(()=>Pa),X("design:type",Array)],U.prototype,"gCred",void 0);Y([(0,D.IsOptional)(),(0,D.IsString)(),X("design:type",String)],U.prototype,"tpCredPresIBSZFM",void 0);Y([(0,D.IsOptional)(),(0,D.IsString)(),X("design:type",String)],U.prototype,"EXTIPI",void 0);Y([(0,D.IsString)(),X("design:type",String)],U.prototype,"CFOP",void 0);Y([(0,D.IsString)(),X("design:type",String)],U.prototype,"uCom",void 0);Y([(0,Mn.TransformDecimal)({fixed:4}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"qCom",void 0);Y([(0,Mn.TransformDecimal)({fixed:10}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vUnCom",void 0);Y([(0,Mn.TransformDecimal)({fixed:2}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vProd",void 0);Y([(0,D.IsString)(),X("design:type",String)],U.prototype,"cEANTrib",void 0);Y([(0,D.IsOptional)(),(0,D.IsString)(),X("design:type",String)],U.prototype,"cBarraTrib",void 0);Y([(0,D.IsString)(),X("design:type",String)],U.prototype,"uTrib",void 0);Y([(0,Mn.TransformDecimal)({fixed:4}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"qTrib",void 0);Y([(0,Mn.TransformDecimal)({fixed:10}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vUnTrib",void 0);Y([(0,D.IsOptional)(),(0,Mn.TransformDecimal)({fixed:2}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vFrete",void 0);Y([(0,D.IsOptional)(),(0,Mn.TransformDecimal)({fixed:2}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vSeg",void 0);Y([(0,D.IsOptional)(),(0,Mn.TransformDecimal)({fixed:2}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vDesc",void 0);Y([(0,D.IsOptional)(),(0,Mn.TransformDecimal)({fixed:2}),X("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],U.prototype,"vOutro",void 0);Y([(0,D.IsString)(),X("design:type",String)],U.prototype,"indTot",void 0);Y([(0,D.IsOptional)(),(0,D.IsString)(),X("design:type",String)],U.prototype,"indBemMovelUsado",void 0);Y([(0,D.IsOptional)(),(0,D.IsArray)(),(0,D.ValidateNested)({each:!0}),(0,D.ArrayMaxSize)(100),(0,ln.Type)(()=>Lt),X("design:type",Array)],U.prototype,"DI",void 0);Y([(0,D.IsOptional)(),(0,D.IsArray)(),(0,D.ValidateNested)({each:!0}),(0,D.ArrayMaxSize)(500),(0,ln.Type)(()=>Kc),X("design:type",Array)],U.prototype,"detExport",void 0);Y([(0,D.IsOptional)(),(0,D.IsString)(),X("design:type",String)],U.prototype,"xPed",void 0);Y([(0,D.IsOptional)(),(0,D.IsString)(),X("design:type",String)],U.prototype,"nItemPed",void 0);Y([(0,D.IsOptional)(),(0,D.IsString)(),X("design:type",String)],U.prototype,"nFCI",void 0);Y([(0,D.IsOptional)(),(0,D.IsArray)(),(0,D.ValidateNested)({each:!0}),(0,D.ArrayMaxSize)(500),(0,ln.Type)(()=>wr),X("design:type",Array)],U.prototype,"rastro",void 0);Y([(0,D.IsOptional)(),(0,D.IsObject)(),(0,D.ValidateNested)(),(0,ln.Type)(()=>$c),X("design:type",typeof IInfProdNFF>"u"?Object:IInfProdNFF)],U.prototype,"infProdNFF",void 0);Y([(0,D.IsOptional)(),(0,D.IsObject)(),(0,D.ValidateNested)(),(0,ln.Type)(()=>Da),X("design:type",typeof IInfProdEmb>"u"?Object:IInfProdEmb)],U.prototype,"infProdEmb",void 0);Y([(0,D.IsOptional)(),(0,D.IsObject)(),(0,D.ValidateNested)(),(0,ln.Type)(()=>Re),X("design:type",typeof IVeicProd>"u"?Object:IVeicProd)],U.prototype,"veicProd",void 0);Y([(0,D.IsOptional)(),(0,D.IsObject)(),(0,D.ValidateNested)(),(0,ln.Type)(()=>Ea),X("design:type",typeof IMed>"u"?Object:IMed)],U.prototype,"med",void 0);Y([(0,D.IsOptional)(),(0,D.IsObject)(),(0,D.ValidateNested)({each:!0}),(0,ln.Type)(()=>vs),(0,D.ArrayMaxSize)(500),X("design:type",Array)],U.prototype,"arma",void 0);Y([(0,D.IsOptional)(),(0,D.IsObject)(),(0,D.ValidateNested)(),(0,ln.Type)(()=>$t),X("design:type",typeof IComb>"u"?Object:IComb)],U.prototype,"comb",void 0);Y([(0,D.IsOptional)(),(0,D.IsString)(),X("design:type",String)],U.prototype,"nRECOPI",void 0);U=Y([(0,fC.Choice)({properties:["veicProd","med","arma","comb"]})],U);var Bi=require("class-transformer"),ze=require("class-validator");var m=require("class-validator"),rt=require("class-transformer"),x=require("nfets/core");function g(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(g,"_ts_decorate");function v(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(v,"_ts_metadata");var Ai=class{static{a(this,"ICMS00")}orig;CST;modBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP};g([(0,m.IsString)(),v("design:type",String)],Ai.prototype,"orig",void 0);g([(0,m.IsString)(),v("design:type",String)],Ai.prototype,"CST",void 0);g([(0,m.IsOptional)(),(0,m.IsString)(),v("design:type",String)],Ai.prototype,"modBC",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"vBC",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"pICMS",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"vICMS",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"vBCFCP",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"pFCP",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"vFCP",void 0);var bs=class{static{a(this,"ICMS02")}orig;CST;qBCMono;adRemICMS;vICMSMono};g([(0,m.IsString)(),v("design:type",String)],bs.prototype,"orig",void 0);g([(0,m.IsString)(),v("design:type",String)],bs.prototype,"CST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bs.prototype,"qBCMono",void 0);g([(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bs.prototype,"adRemICMS",void 0);g([(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bs.prototype,"vICMSMono",void 0);var dt=class{static{a(this,"ICMS10")}orig;CST;modBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST};g([(0,m.IsString)(),v("design:type",String)],dt.prototype,"orig",void 0);g([(0,m.IsString)(),v("design:type",String)],dt.prototype,"CST",void 0);g([(0,m.IsOptional)(),(0,m.IsString)(),v("design:type",String)],dt.prototype,"modBC",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"vBC",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"pICMS",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"vICMS",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"vBCFCP",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"pFCP",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"vFCP",void 0);g([(0,m.IsOptional)(),(0,m.IsString)(),v("design:type",String)],dt.prototype,"modBCST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"pMVAST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"pRedBCST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"vBCST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"pICMSST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"vICMSST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"vBCFCPST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"pFCPST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dt.prototype,"vFCPST",void 0);var si=class{static{a(this,"ICMS15")}orig;CST;qBCMono;adRemICMS;vICMSMono;qBCMonoReten;adRemICMSReten;vICMSMonoReten;pRedAdRem;motRedAdRem};g([(0,m.IsString)(),v("design:type",String)],si.prototype,"orig",void 0);g([(0,m.IsString)(),v("design:type",String)],si.prototype,"CST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],si.prototype,"qBCMono",void 0);g([(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],si.prototype,"adRemICMS",void 0);g([(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],si.prototype,"vICMSMono",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],si.prototype,"qBCMonoReten",void 0);g([(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],si.prototype,"adRemICMSReten",void 0);g([(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],si.prototype,"vICMSMonoReten",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),(0,m.Max)(100),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],si.prototype,"pRedAdRem",void 0);g([(0,m.IsOptional)(),(0,m.IsString)(),v("design:type",String)],si.prototype,"motRedAdRem",void 0);var To=class{static{a(this,"ICMS20")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;vICMSDeson;motDesICMS};g([(0,m.IsString)(),v("design:type",String)],To.prototype,"orig",void 0);g([(0,m.IsString)(),v("design:type",String)],To.prototype,"CST",void 0);g([(0,m.IsOptional)(),(0,m.IsString)(),v("design:type",String)],To.prototype,"modBC",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],To.prototype,"pRedBC",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],To.prototype,"vBC",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],To.prototype,"pICMS",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],To.prototype,"vICMS",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],To.prototype,"vBCFCP",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],To.prototype,"pFCP",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],To.prototype,"vFCP",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],To.prototype,"vICMSDeson",void 0);g([(0,m.IsOptional)(),(0,m.IsString)(),v("design:type",String)],To.prototype,"motDesICMS",void 0);var uo=class{static{a(this,"ICMS30")}orig;CST;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST;vICMSDeson;motDesICMS};g([(0,m.IsString)(),v("design:type",String)],uo.prototype,"orig",void 0);g([(0,m.IsString)(),v("design:type",String)],uo.prototype,"CST",void 0);g([(0,m.IsOptional)(),(0,m.IsString)(),v("design:type",String)],uo.prototype,"modBCST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"pMVAST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"pRedBCST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"vBCST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"pICMSST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"vICMSST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"vBCFCPST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"pFCPST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"vFCPST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"vICMSDeson",void 0);g([(0,m.IsOptional)(),(0,m.IsString)(),v("design:type",String)],uo.prototype,"motDesICMS",void 0);var Ta=class{static{a(this,"ICMS40")}orig;CST;vICMSDeson;motDesICMS};g([(0,m.IsString)(),v("design:type",String)],Ta.prototype,"orig",void 0);g([(0,m.IsString)(),v("design:type",String)],Ta.prototype,"CST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ta.prototype,"vICMSDeson",void 0);g([(0,m.IsOptional)(),(0,m.IsString)(),v("design:type",String)],Ta.prototype,"motDesICMS",void 0);var Fi=class{static{a(this,"ICMS51")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;pDif;vICMSDif};g([(0,m.IsString)(),v("design:type",String)],Fi.prototype,"orig",void 0);g([(0,m.IsString)(),v("design:type",String)],Fi.prototype,"CST",void 0);g([(0,m.IsOptional)(),(0,m.IsString)(),v("design:type",String)],Fi.prototype,"modBC",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fi.prototype,"pRedBC",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fi.prototype,"vBC",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fi.prototype,"pICMS",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fi.prototype,"vICMS",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),(0,m.Max)(100),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fi.prototype,"pDif",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fi.prototype,"vICMSDif",void 0);var ai=class{static{a(this,"ICMS53")}orig;CST;qBCMono;adRemICMS;vICMSMonoOp;pDif;vICMSMonoDif;vICMSMono;qBCMonoDif;adRemICMSDif};g([(0,m.IsString)(),v("design:type",String)],ai.prototype,"orig",void 0);g([(0,m.IsString)(),v("design:type",String)],ai.prototype,"CST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.prototype,"qBCMono",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.prototype,"adRemICMS",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.prototype,"vICMSMonoOp",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),(0,m.Max)(100),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.prototype,"pDif",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.prototype,"vICMSMonoDif",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.prototype,"vICMSMono",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.prototype,"qBCMonoDif",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.prototype,"adRemICMSDif",void 0);var fo=class{static{a(this,"ICMS60")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet;vBCFCPSTRet;pFCPSTRet;vFCPSTRet;pRedBCEfet;vBCEfet;pICMSEfet;vICMSEfet};g([(0,m.IsString)(),v("design:type",String)],fo.prototype,"orig",void 0);g([(0,m.IsString)(),v("design:type",String)],fo.prototype,"CST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vBCSTRet",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"pST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vICMSSubstituto",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vICMSSTRet",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vBCFCPSTRet",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"pFCPSTRet",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vFCPSTRet",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"pRedBCEfet",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vBCEfet",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"pICMSEfet",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vICMSEfet",void 0);var xs=class{static{a(this,"ICMS61")}orig;CST;qBCMonoRet;adRemICMSRet;vICMSMonoRet};g([(0,m.IsString)(),v("design:type",String)],xs.prototype,"orig",void 0);g([(0,m.IsString)(),v("design:type",String)],xs.prototype,"CST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xs.prototype,"qBCMonoRet",void 0);g([(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xs.prototype,"adRemICMSRet",void 0);g([(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xs.prototype,"vICMSMonoRet",void 0);var He=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};g([(0,m.IsString)(),v("design:type",String)],He.prototype,"orig",void 0);g([(0,m.IsString)(),v("design:type",String)],He.prototype,"CST",void 0);g([(0,m.IsOptional)(),(0,m.IsString)(),v("design:type",String)],He.prototype,"modBC",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"pRedBC",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"vBC",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"pICMS",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"vICMS",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"vBCFCP",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"pFCP",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"vFCP",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"vICMSDeson",void 0);g([(0,m.IsOptional)(),(0,m.IsString)(),v("design:type",String)],He.prototype,"motDesICMS",void 0);g([(0,m.IsOptional)(),(0,m.IsString)(),v("design:type",String)],He.prototype,"modBCST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"pMVAST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"pRedBCST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"vBCST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"pICMSST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"vICMSST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"vBCFCPST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"pFCPST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],He.prototype,"vFCPST",void 0);var ke=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};g([(0,m.IsString)(),v("design:type",String)],ke.prototype,"orig",void 0);g([(0,m.IsString)(),v("design:type",String)],ke.prototype,"CST",void 0);g([(0,m.IsOptional)(),(0,m.IsString)(),v("design:type",String)],ke.prototype,"modBC",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ke.prototype,"pRedBC",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ke.prototype,"vBC",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ke.prototype,"pICMS",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ke.prototype,"vICMS",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ke.prototype,"vBCFCP",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ke.prototype,"pFCP",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ke.prototype,"vFCP",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ke.prototype,"vICMSDeson",void 0);g([(0,m.IsOptional)(),(0,m.IsString)(),v("design:type",String)],ke.prototype,"motDesICMS",void 0);g([(0,m.IsOptional)(),(0,m.IsString)(),v("design:type",String)],ke.prototype,"modBCST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ke.prototype,"pMVAST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ke.prototype,"pRedBCST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ke.prototype,"vBCST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ke.prototype,"pICMSST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ke.prototype,"vICMSST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ke.prototype,"vBCFCPST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ke.prototype,"pFCPST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ke.prototype,"vFCPST",void 0);var _t=class{static{a(this,"ICMSPart")}orig;CST;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;pBCOp;UFST};g([(0,m.IsString)(),v("design:type",String)],_t.prototype,"orig",void 0);g([(0,m.IsString)(),v("design:type",String)],_t.prototype,"CST",void 0);g([(0,m.IsOptional)(),(0,m.IsString)(),v("design:type",String)],_t.prototype,"modBC",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_t.prototype,"vBC",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_t.prototype,"pRedBC",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_t.prototype,"pICMS",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_t.prototype,"vICMS",void 0);g([(0,m.IsOptional)(),(0,m.IsString)(),v("design:type",String)],_t.prototype,"modBCST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_t.prototype,"pMVAST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_t.prototype,"pRedBCST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_t.prototype,"vBCST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_t.prototype,"pICMSST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_t.prototype,"vICMSST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_t.prototype,"pBCOp",void 0);g([(0,m.IsOptional)(),(0,m.IsString)(),v("design:type",String)],_t.prototype,"UFST",void 0);var Or=class{static{a(this,"ICMSST")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};g([(0,m.IsString)(),v("design:type",String)],Or.prototype,"orig",void 0);g([(0,m.IsString)(),v("design:type",String)],Or.prototype,"CST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Or.prototype,"vBCSTRet",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Or.prototype,"pST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Or.prototype,"vICMSSubstituto",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Or.prototype,"vICMSSTRet",void 0);var za=class{static{a(this,"ICMSSN101")}orig;CSOSN;pCredSN;vCredICMSSN};g([(0,m.IsString)(),v("design:type",String)],za.prototype,"orig",void 0);g([(0,m.IsString)(),v("design:type",String)],za.prototype,"CSOSN",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],za.prototype,"pCredSN",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],za.prototype,"vCredICMSSN",void 0);var nu=class{static{a(this,"ICMSSN102")}orig;CSOSN};g([(0,m.IsString)(),v("design:type",String)],nu.prototype,"orig",void 0);g([(0,m.IsString)(),v("design:type",String)],nu.prototype,"CSOSN",void 0);var un=class{static{a(this,"ICMSSN201")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};g([(0,m.IsString)(),v("design:type",String)],un.prototype,"orig",void 0);g([(0,m.IsString)(),v("design:type",String)],un.prototype,"CSOSN",void 0);g([(0,m.IsOptional)(),(0,m.IsString)(),v("design:type",String)],un.prototype,"modBCST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],un.prototype,"vBCST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],un.prototype,"pICMSST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],un.prototype,"vICMSST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],un.prototype,"pCredSN",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],un.prototype,"vCredICMSSN",void 0);var Ar=class{static{a(this,"ICMSSN202")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST};g([(0,m.IsString)(),v("design:type",String)],Ar.prototype,"orig",void 0);g([(0,m.IsString)(),v("design:type",String)],Ar.prototype,"CSOSN",void 0);g([(0,m.IsOptional)(),(0,m.IsString)(),v("design:type",String)],Ar.prototype,"modBCST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ar.prototype,"vBCST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ar.prototype,"pICMSST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ar.prototype,"vICMSST",void 0);var mo=class{static{a(this,"ICMSSN500")}orig;CSOSN;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet;vBCFCPSTRet;pFCPSTRet;vFCPSTRet;pRedBCEfet;vBCEfet;pICMSEfet;vICMSEfet};g([(0,m.IsString)(),v("design:type",String)],mo.prototype,"orig",void 0);g([(0,m.IsString)(),v("design:type",String)],mo.prototype,"CSOSN",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vBCSTRet",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vICMSSubstituto",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vICMSSTRet",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vBCFCPSTRet",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pFCPSTRet",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vFCPSTRet",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pRedBCEfet",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vBCEfet",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pICMSEfet",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vICMSEfet",void 0);var ho=class{static{a(this,"ICMSSN900")}orig;CSOSN;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};g([(0,m.IsString)(),v("design:type",String)],ho.prototype,"orig",void 0);g([(0,m.IsString)(),v("design:type",String)],ho.prototype,"CSOSN",void 0);g([(0,m.IsOptional)(),(0,m.IsString)(),v("design:type",String)],ho.prototype,"modBC",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vBC",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pRedBC",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pICMS",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vICMS",void 0);g([(0,m.IsOptional)(),(0,m.IsString)(),v("design:type",String)],ho.prototype,"modBCST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vBCST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pICMSST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vICMSST",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pCredSN",void 0);g([(0,m.IsOptional)(),(0,x.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vCredICMSSN",void 0);var ve=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};g([(0,m.IsOptional)(),(0,m.ValidateNested)(),(0,rt.Type)(()=>Ai),v("design:type",typeof IICMS00>"u"?Object:IICMS00)],ve.prototype,"ICMS00",void 0);g([(0,m.IsOptional)(),(0,m.ValidateNested)(),(0,rt.Type)(()=>bs),v("design:type",typeof IICMS02>"u"?Object:IICMS02)],ve.prototype,"ICMS02",void 0);g([(0,m.IsOptional)(),(0,m.ValidateNested)(),(0,rt.Type)(()=>dt),v("design:type",typeof IICMS10>"u"?Object:IICMS10)],ve.prototype,"ICMS10",void 0);g([(0,m.IsOptional)(),(0,m.ValidateNested)(),(0,rt.Type)(()=>si),v("design:type",typeof IICMS15>"u"?Object:IICMS15)],ve.prototype,"ICMS15",void 0);g([(0,m.IsOptional)(),(0,m.ValidateNested)(),(0,rt.Type)(()=>To),v("design:type",typeof IICMS20>"u"?Object:IICMS20)],ve.prototype,"ICMS20",void 0);g([(0,m.IsOptional)(),(0,m.ValidateNested)(),(0,rt.Type)(()=>uo),v("design:type",typeof IICMS30>"u"?Object:IICMS30)],ve.prototype,"ICMS30",void 0);g([(0,m.IsOptional)(),(0,m.ValidateNested)(),(0,rt.Type)(()=>Ta),v("design:type",typeof IICMS40>"u"?Object:IICMS40)],ve.prototype,"ICMS40",void 0);g([(0,m.IsOptional)(),(0,m.ValidateNested)(),(0,rt.Type)(()=>Fi),v("design:type",typeof IICMS51>"u"?Object:IICMS51)],ve.prototype,"ICMS51",void 0);g([(0,m.IsOptional)(),(0,m.ValidateNested)(),(0,rt.Type)(()=>ai),v("design:type",typeof IICMS53>"u"?Object:IICMS53)],ve.prototype,"ICMS53",void 0);g([(0,m.IsOptional)(),(0,m.ValidateNested)(),(0,rt.Type)(()=>fo),v("design:type",typeof IICMS60>"u"?Object:IICMS60)],ve.prototype,"ICMS60",void 0);g([(0,m.IsOptional)(),(0,m.ValidateNested)(),(0,rt.Type)(()=>xs),v("design:type",typeof IICMS61>"u"?Object:IICMS61)],ve.prototype,"ICMS61",void 0);g([(0,m.IsOptional)(),(0,m.ValidateNested)(),(0,rt.Type)(()=>He),v("design:type",typeof IICMS70>"u"?Object:IICMS70)],ve.prototype,"ICMS70",void 0);g([(0,m.IsOptional)(),(0,m.ValidateNested)(),(0,rt.Type)(()=>ke),v("design:type",typeof IICMS90>"u"?Object:IICMS90)],ve.prototype,"ICMS90",void 0);g([(0,m.IsOptional)(),(0,m.ValidateNested)(),(0,rt.Type)(()=>_t),v("design:type",typeof IICMSPart>"u"?Object:IICMSPart)],ve.prototype,"ICMSPart",void 0);g([(0,m.IsOptional)(),(0,m.ValidateNested)(),(0,rt.Type)(()=>Or),v("design:type",typeof IICMSST>"u"?Object:IICMSST)],ve.prototype,"ICMSST",void 0);g([(0,m.IsOptional)(),(0,m.ValidateNested)(),(0,rt.Type)(()=>za),v("design:type",typeof IICMSSN101>"u"?Object:IICMSSN101)],ve.prototype,"ICMSSN101",void 0);g([(0,m.IsOptional)(),(0,m.ValidateNested)(),(0,rt.Type)(()=>nu),v("design:type",typeof IICMSSN102>"u"?Object:IICMSSN102)],ve.prototype,"ICMSSN102",void 0);g([(0,m.IsOptional)(),(0,m.ValidateNested)(),(0,rt.Type)(()=>un),v("design:type",typeof IICMSSN201>"u"?Object:IICMSSN201)],ve.prototype,"ICMSSN201",void 0);g([(0,m.IsOptional)(),(0,m.ValidateNested)(),(0,rt.Type)(()=>Ar),v("design:type",typeof IICMSSN202>"u"?Object:IICMSSN202)],ve.prototype,"ICMSSN202",void 0);g([(0,m.IsOptional)(),(0,m.ValidateNested)(),(0,rt.Type)(()=>mo),v("design:type",typeof IICMSSN500>"u"?Object:IICMSSN500)],ve.prototype,"ICMSSN500",void 0);g([(0,m.IsOptional)(),(0,m.ValidateNested)(),(0,rt.Type)(()=>ho),v("design:type",typeof IICMSSN900>"u"?Object:IICMSSN900)],ve.prototype,"ICMSSN900",void 0);ve=g([(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 Fe=require("class-validator"),hg=require("class-transformer");function ci(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(ci,"_ts_decorate");function pi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(pi,"_ts_metadata");var Fr=class{static{a(this,"IPITrib")}CST;vBC;pIPI;qUnid;vUnid;vIPI};ci([(0,Fe.IsString)(),pi("design:type",String)],Fr.prototype,"CST",void 0);ci([(0,Fe.IsOptional)(),(0,Fe.IsString)(),pi("design:type",String)],Fr.prototype,"vBC",void 0);ci([(0,Fe.IsOptional)(),(0,Fe.IsString)(),pi("design:type",String)],Fr.prototype,"pIPI",void 0);ci([(0,Fe.IsOptional)(),(0,Fe.IsString)(),pi("design:type",String)],Fr.prototype,"qUnid",void 0);ci([(0,Fe.IsOptional)(),(0,Fe.IsString)(),pi("design:type",String)],Fr.prototype,"vUnid",void 0);ci([(0,Fe.IsOptional)(),(0,Fe.IsString)(),pi("design:type",String)],Fr.prototype,"vIPI",void 0);var kd=class{static{a(this,"IPINT")}CST};ci([(0,Fe.IsString)(),pi("design:type",String)],kd.prototype,"CST",void 0);var Di=class{static{a(this,"IPI")}CNPJProd;cSelo;qSelo;cEnq;IPITrib;IPINT};ci([(0,Fe.IsOptional)(),(0,Fe.IsString)(),pi("design:type",String)],Di.prototype,"CNPJProd",void 0);ci([(0,Fe.IsOptional)(),(0,Fe.IsString)(),pi("design:type",String)],Di.prototype,"cSelo",void 0);ci([(0,Fe.IsOptional)(),(0,Fe.IsString)(),pi("design:type",String)],Di.prototype,"qSelo",void 0);ci([(0,Fe.IsString)(),pi("design:type",String)],Di.prototype,"cEnq",void 0);ci([(0,Fe.IsOptional)(),(0,Fe.ValidateNested)(),(0,hg.Type)(()=>Fr),pi("design:type",typeof IIPITrib>"u"?Object:IIPITrib)],Di.prototype,"IPITrib",void 0);ci([(0,Fe.IsOptional)(),(0,Fe.ValidateNested)(),(0,hg.Type)(()=>kd),pi("design:type",typeof IIPINT>"u"?Object:IIPINT)],Di.prototype,"IPINT",void 0);var Vn=require("class-validator");function Gd(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(Gd,"_ts_decorate");function Qd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Qd,"_ts_metadata");var Ln=class{static{a(this,"II")}vBC;vDespAdu;vII;vIOF};Gd([(0,Vn.IsOptional)(),(0,Vn.IsString)(),Qd("design:type",String)],Ln.prototype,"vBC",void 0);Gd([(0,Vn.IsOptional)(),(0,Vn.IsString)(),Qd("design:type",String)],Ln.prototype,"vDespAdu",void 0);Gd([(0,Vn.IsOptional)(),(0,Vn.IsString)(),Qd("design:type",String)],Ln.prototype,"vII",void 0);Gd([(0,Vn.IsOptional)(),(0,Vn.IsString)(),Qd("design:type",String)],Ln.prototype,"vIOF",void 0);var G=require("class-validator"),ru=require("class-transformer"),mn=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,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 Dr=class{static{a(this,"PISAliq")}CST;vBC;pPIS;vPIS};Ge([(0,G.IsString)(),Qe("design:type",String)],Dr.prototype,"CST",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),(0,mn.TransformDecimal)({fixed:2}),Qe("design:type",String)],Dr.prototype,"vBC",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),(0,mn.TransformDecimal)({fixed:4}),Qe("design:type",String)],Dr.prototype,"pPIS",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),(0,mn.TransformDecimal)({fixed:2}),Qe("design:type",String)],Dr.prototype,"vPIS",void 0);var Er=class{static{a(this,"PISQtde")}CST;qBCProd;vAliqProd;vPIS};Ge([(0,G.IsString)(),Qe("design:type",String)],Er.prototype,"CST",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),Qe("design:type",String)],Er.prototype,"qBCProd",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),Qe("design:type",String)],Er.prototype,"vAliqProd",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),(0,mn.TransformDecimal)({fixed:2}),Qe("design:type",String)],Er.prototype,"vPIS",void 0);var op=class{static{a(this,"PISNT")}CST};Ge([(0,G.IsString)(),Qe("design:type",String)],op.prototype,"CST",void 0);var dn=class{static{a(this,"PISOutr")}CST;vBC;pPIS;qBCProd;vAliqProd;vPIS};Ge([(0,G.IsString)(),Qe("design:type",String)],dn.prototype,"CST",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),(0,mn.TransformDecimal)({fixed:2}),Qe("design:type",String)],dn.prototype,"vBC",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),(0,mn.TransformDecimal)({fixed:4}),Qe("design:type",String)],dn.prototype,"pPIS",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),Qe("design:type",String)],dn.prototype,"qBCProd",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),Qe("design:type",String)],dn.prototype,"vAliqProd",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),(0,mn.TransformDecimal)({fixed:2}),Qe("design:type",String)],dn.prototype,"vPIS",void 0);var _n=class{static{a(this,"PIS")}PISAliq;PISQtde;PISNT;PISOutr};Ge([(0,G.IsOptional)(),(0,G.ValidateNested)(),(0,ru.Type)(()=>Dr),Qe("design:type",typeof Dr>"u"?Object:Dr)],_n.prototype,"PISAliq",void 0);Ge([(0,G.IsOptional)(),(0,G.ValidateNested)(),(0,ru.Type)(()=>Er),Qe("design:type",typeof Er>"u"?Object:Er)],_n.prototype,"PISQtde",void 0);Ge([(0,G.IsOptional)(),(0,G.ValidateNested)(),(0,ru.Type)(()=>op),Qe("design:type",typeof op>"u"?Object:op)],_n.prototype,"PISNT",void 0);Ge([(0,G.IsOptional)(),(0,G.ValidateNested)(),(0,ru.Type)(()=>dn),Qe("design:type",typeof dn>"u"?Object:dn)],_n.prototype,"PISOutr",void 0);var fn=class{static{a(this,"PISST")}vBC;pPIS;qBCProd;vAliqProd;vPIS};Ge([(0,G.IsOptional)(),(0,G.IsString)(),(0,mn.TransformDecimal)({fixed:2}),Qe("design:type",String)],fn.prototype,"vBC",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),(0,mn.TransformDecimal)({fixed:4}),Qe("design:type",String)],fn.prototype,"pPIS",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),Qe("design:type",String)],fn.prototype,"qBCProd",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),Qe("design:type",String)],fn.prototype,"vAliqProd",void 0);Ge([(0,G.IsOptional)(),(0,G.IsString)(),(0,mn.TransformDecimal)({fixed:2}),Qe("design:type",String)],fn.prototype,"vPIS",void 0);var Q=require("class-validator"),su=require("class-transformer"),vn=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 Ye(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ye,"_ts_metadata");var Pr=class{static{a(this,"COFINSAliq")}CST;vBC;pCOFINS;vCOFINS};Ze([(0,Q.IsString)(),Ye("design:type",String)],Pr.prototype,"CST",void 0);Ze([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,vn.TransformDecimal)({fixed:2}),Ye("design:type",String)],Pr.prototype,"vBC",void 0);Ze([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,vn.TransformDecimal)({fixed:4}),Ye("design:type",String)],Pr.prototype,"pCOFINS",void 0);Ze([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,vn.TransformDecimal)({fixed:2}),Ye("design:type",String)],Pr.prototype,"vCOFINS",void 0);var Tr=class{static{a(this,"COFINSQtde")}CST;qBCProd;vAliqProd;vCOFINS};Ze([(0,Q.IsString)(),Ye("design:type",String)],Tr.prototype,"CST",void 0);Ze([(0,Q.IsOptional)(),(0,Q.IsString)(),Ye("design:type",String)],Tr.prototype,"qBCProd",void 0);Ze([(0,Q.IsOptional)(),(0,Q.IsString)(),Ye("design:type",String)],Tr.prototype,"vAliqProd",void 0);Ze([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,vn.TransformDecimal)({fixed:2}),Ye("design:type",String)],Tr.prototype,"vCOFINS",void 0);var ip=class{static{a(this,"COFINSNT")}CST};Ze([(0,Q.IsString)(),Ye("design:type",String)],ip.prototype,"CST",void 0);var hn=class{static{a(this,"COFINSOutr")}CST;vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};Ze([(0,Q.IsString)(),Ye("design:type",String)],hn.prototype,"CST",void 0);Ze([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,vn.TransformDecimal)({fixed:2}),Ye("design:type",String)],hn.prototype,"vBC",void 0);Ze([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,vn.TransformDecimal)({fixed:4}),Ye("design:type",String)],hn.prototype,"pCOFINS",void 0);Ze([(0,Q.IsOptional)(),(0,Q.IsString)(),Ye("design:type",String)],hn.prototype,"qBCProd",void 0);Ze([(0,Q.IsOptional)(),(0,Q.IsString)(),Ye("design:type",String)],hn.prototype,"vAliqProd",void 0);Ze([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,vn.TransformDecimal)({fixed:2}),Ye("design:type",String)],hn.prototype,"vCOFINS",void 0);var Un=class{static{a(this,"COFINS")}COFINSAliq;COFINSQtde;COFINSNT;COFINSOutr};Ze([(0,Q.IsOptional)(),(0,Q.ValidateNested)(),(0,su.Type)(()=>Pr),Ye("design:type",typeof Pr>"u"?Object:Pr)],Un.prototype,"COFINSAliq",void 0);Ze([(0,Q.IsOptional)(),(0,Q.ValidateNested)(),(0,su.Type)(()=>Tr),Ye("design:type",typeof Tr>"u"?Object:Tr)],Un.prototype,"COFINSQtde",void 0);Ze([(0,Q.IsOptional)(),(0,Q.ValidateNested)(),(0,su.Type)(()=>ip),Ye("design:type",typeof ip>"u"?Object:ip)],Un.prototype,"COFINSNT",void 0);Ze([(0,Q.IsOptional)(),(0,Q.ValidateNested)(),(0,su.Type)(()=>hn),Ye("design:type",typeof hn>"u"?Object:hn)],Un.prototype,"COFINSOutr",void 0);var gn=class{static{a(this,"COFINSST")}vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};Ze([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,vn.TransformDecimal)({fixed:2}),Ye("design:type",String)],gn.prototype,"vBC",void 0);Ze([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,vn.TransformDecimal)({fixed:4}),Ye("design:type",String)],gn.prototype,"pCOFINS",void 0);Ze([(0,Q.IsOptional)(),(0,Q.IsString)(),Ye("design:type",String)],gn.prototype,"qBCProd",void 0);Ze([(0,Q.IsOptional)(),(0,Q.IsString)(),Ye("design:type",String)],gn.prototype,"vAliqProd",void 0);Ze([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,vn.TransformDecimal)({fixed:2}),Ye("design:type",String)],gn.prototype,"vCOFINS",void 0);var We=require("class-validator"),zr=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,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(go,"_ts_decorate");function vo(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(vo,"_ts_metadata");var st=class{static{a(this,"ISSQN")}vBC;vAliq;vISSQN;cMunFG;cListServ;vDeducao;vOutro;vDescIncond;vDescCond;vISSRet;indISS;indIncentivo;cServico;cMun;cPais;nProcesso};go([(0,We.IsOptional)(),(0,zr.TransformDecimal)({fixed:2}),vo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],st.prototype,"vBC",void 0);go([(0,We.IsOptional)(),(0,zr.TransformDecimal)({fixed:4}),vo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],st.prototype,"vAliq",void 0);go([(0,We.IsOptional)(),(0,zr.TransformDecimal)({fixed:2}),vo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],st.prototype,"vISSQN",void 0);go([(0,We.IsOptional)(),(0,We.IsString)(),vo("design:type",String)],st.prototype,"cMunFG",void 0);go([(0,We.IsOptional)(),(0,We.IsString)(),vo("design:type",String)],st.prototype,"cListServ",void 0);go([(0,We.IsOptional)(),(0,zr.TransformDecimal)({fixed:2}),vo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],st.prototype,"vDeducao",void 0);go([(0,We.IsOptional)(),(0,zr.TransformDecimal)({fixed:2}),vo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],st.prototype,"vOutro",void 0);go([(0,We.IsOptional)(),(0,zr.TransformDecimal)({fixed:2}),vo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],st.prototype,"vDescIncond",void 0);go([(0,We.IsOptional)(),(0,zr.TransformDecimal)({fixed:2}),vo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],st.prototype,"vDescCond",void 0);go([(0,We.IsOptional)(),(0,zr.TransformDecimal)({fixed:2}),vo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],st.prototype,"vISSRet",void 0);go([(0,We.IsString)(),vo("design:type",String)],st.prototype,"indISS",void 0);go([(0,We.IsString)(),vo("design:type",String)],st.prototype,"indIncentivo",void 0);go([(0,We.IsOptional)(),(0,We.IsString)(),vo("design:type",String)],st.prototype,"cServico",void 0);go([(0,We.IsOptional)(),(0,We.IsString)(),vo("design:type",String)],st.prototype,"cMun",void 0);go([(0,We.IsOptional)(),(0,We.IsString)(),vo("design:type",String)],st.prototype,"cPais",void 0);go([(0,We.IsOptional)(),(0,We.IsString)(),vo("design:type",String)],st.prototype,"nProcesso",void 0);var vt=require("class-validator");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 Br(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Br,"_ts_metadata");var zo=class{static{a(this,"ICMSUFDest")}vBCUFDest;vBCFCPUFDest;pFCPUFDest;pICMSUFDest;pICMSInter;pICMSInterPart;vFCPUFDest;vICMSUFDest;vICMSUFRemet};jr([(0,vt.IsOptional)(),(0,vt.IsString)(),Br("design:type",String)],zo.prototype,"vBCUFDest",void 0);jr([(0,vt.IsOptional)(),(0,vt.IsString)(),Br("design:type",String)],zo.prototype,"vBCFCPUFDest",void 0);jr([(0,vt.IsOptional)(),(0,vt.IsString)(),Br("design:type",String)],zo.prototype,"pFCPUFDest",void 0);jr([(0,vt.IsOptional)(),(0,vt.IsString)(),Br("design:type",String)],zo.prototype,"pICMSUFDest",void 0);jr([(0,vt.IsOptional)(),(0,vt.IsString)(),Br("design:type",String)],zo.prototype,"pICMSInter",void 0);jr([(0,vt.IsOptional)(),(0,vt.IsString)(),Br("design:type",String)],zo.prototype,"pICMSInterPart",void 0);jr([(0,vt.IsOptional)(),(0,vt.IsString)(),Br("design:type",String)],zo.prototype,"vFCPUFDest",void 0);jr([(0,vt.IsOptional)(),(0,vt.IsString)(),Br("design:type",String)],zo.prototype,"vICMSUFDest",void 0);jr([(0,vt.IsOptional)(),(0,vt.IsString)(),Br("design:type",String)],zo.prototype,"vICMSUFRemet",void 0);var tt=require("class-validator");var np=require("class-validator");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 Ss=class{static{a(this,"TransferenciaCredito")}vIBS;vCBS};mC([(0,np.IsOptional)(),(0,np.IsString)(),hC("design:type",String)],Ss.prototype,"vIBS",void 0);mC([(0,np.IsOptional)(),(0,np.IsString)(),hC("design:type",String)],Ss.prototype,"vCBS",void 0);var Zd=require("class-validator");function gg(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(gg,"_ts_decorate");function vg(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(vg,"_ts_metadata");var Mr=class{static{a(this,"CredPresIBSZFM")}tpCredPresIBSZFM;vCredPresIBSZFM;competApur};gg([(0,Zd.IsString)(),vg("design:type",String)],Mr.prototype,"tpCredPresIBSZFM",void 0);gg([(0,Zd.IsString)(),vg("design:type",String)],Mr.prototype,"vCredPresIBSZFM",void 0);gg([(0,Zd.IsString)(),vg("design:type",String)],Mr.prototype,"competApur",void 0);var jo=require("class-validator"),yg=require("class-transformer");function Hn(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(Hn,"_ts_decorate");function kn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(kn,"_ts_metadata");var Cs=class{static{a(this,"IBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};Hn([(0,jo.IsString)(),kn("design:type",String)],Cs.prototype,"vCredPresCondSus",void 0);Hn([(0,jo.IsString)(),kn("design:type",String)],Cs.prototype,"pCredPres",void 0);Hn([(0,jo.IsString)(),kn("design:type",String)],Cs.prototype,"vCredPres",void 0);var Ns=class{static{a(this,"CBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};Hn([(0,jo.IsString)(),kn("design:type",String)],Ns.prototype,"vCredPresCondSus",void 0);Hn([(0,jo.IsString)(),kn("design:type",String)],Ns.prototype,"pCredPres",void 0);Hn([(0,jo.IsString)(),kn("design:type",String)],Ns.prototype,"vCredPres",void 0);var qn=class{static{a(this,"CredPresOper")}gIBSCredPres;gCBSCredPres;vBCCredPres;cCredPres};Hn([(0,jo.IsOptional)(),(0,jo.ValidateNested)(),(0,yg.Type)(()=>Cs),kn("design:type",typeof Cs>"u"?Object:Cs)],qn.prototype,"gIBSCredPres",void 0);Hn([(0,jo.IsOptional)(),(0,jo.ValidateNested)(),(0,yg.Type)(()=>Ns),kn("design:type",typeof Ns>"u"?Object:Ns)],qn.prototype,"gCBSCredPres",void 0);Hn([(0,jo.IsString)(),kn("design:type",String)],qn.prototype,"vBCCredPres",void 0);Hn([(0,jo.IsString)(),kn("design:type",String)],qn.prototype,"cCredPres",void 0);var bg=require("class-validator");function gC(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(gC,"_ts_decorate");function vC(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(vC,"_ts_metadata");var Rs=class{static{a(this,"EstornoCred")}vIBSEstCred;vCBSEstCred};gC([(0,bg.IsString)(),vC("design:type",String)],Rs.prototype,"vIBSEstCred",void 0);gC([(0,bg.IsString)(),vC("design:type",String)],Rs.prototype,"vCBSEstCred",void 0);var Yd=require("class-validator");function xg(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(xg,"_ts_decorate");function Sg(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Sg,"_ts_metadata");var Lr=class{static{a(this,"AjusteCompet")}competApur;vCBS;vIBS};xg([(0,Yd.IsString)(),Sg("design:type",String)],Lr.prototype,"competApur",void 0);xg([(0,Yd.IsString)(),Sg("design:type",String)],Lr.prototype,"vCBS",void 0);xg([(0,Yd.IsString)(),Sg("design:type",String)],Lr.prototype,"vIBS",void 0);var Yn=require("class-validator"),at=require("nfets/core"),au=require("class-transformer");function Pe(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(Pe,"_ts_decorate");function Te(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Te,"_ts_metadata");var Gn=class{static{a(this,"MonoPadrao")}qBCMono;adRemIBS;adRemCBS;vIBSMono;vCBSMono};Pe([(0,at.TransformDecimal)({fixed:4}),Te("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gn.prototype,"qBCMono",void 0);Pe([(0,at.TransformDecimal)({fixed:4}),Te("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gn.prototype,"adRemIBS",void 0);Pe([(0,at.TransformDecimal)({fixed:4}),Te("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gn.prototype,"adRemCBS",void 0);Pe([(0,at.TransformDecimal)({fixed:2}),Te("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gn.prototype,"vIBSMono",void 0);Pe([(0,at.TransformDecimal)({fixed:2}),Te("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gn.prototype,"vCBSMono",void 0);var Qn=class{static{a(this,"MonoReten")}qBCMonoReten;adRemIBSReten;vIBSMonoReten;adRemCBSReten;vCBSMonoReten};Pe([(0,at.TransformDecimal)({fixed:4}),Te("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qn.prototype,"qBCMonoReten",void 0);Pe([(0,at.TransformDecimal)({fixed:4}),Te("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qn.prototype,"adRemIBSReten",void 0);Pe([(0,at.TransformDecimal)({fixed:2}),Te("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qn.prototype,"vIBSMonoReten",void 0);Pe([(0,at.TransformDecimal)({fixed:4}),Te("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qn.prototype,"adRemCBSReten",void 0);Pe([(0,at.TransformDecimal)({fixed:2}),Te("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qn.prototype,"vCBSMonoReten",void 0);var Zn=class{static{a(this,"MonoRet")}qBCMonoRet;adRemIBSRet;vIBSMonoRet;adRemCBSRet;vCBSMonoRet};Pe([(0,at.TransformDecimal)({fixed:4}),Te("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Zn.prototype,"qBCMonoRet",void 0);Pe([(0,at.TransformDecimal)({fixed:4}),Te("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Zn.prototype,"adRemIBSRet",void 0);Pe([(0,at.TransformDecimal)({fixed:2}),Te("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Zn.prototype,"vIBSMonoRet",void 0);Pe([(0,at.TransformDecimal)({fixed:4}),Te("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Zn.prototype,"adRemCBSRet",void 0);Pe([(0,at.TransformDecimal)({fixed:2}),Te("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Zn.prototype,"vCBSMonoRet",void 0);var Vr=class{static{a(this,"MonoDif")}pDifIBS;vIBSMonoDif;pDifCBS;vCBSMonoDif};Pe([(0,at.TransformDecimal)({fixed:4}),Te("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vr.prototype,"pDifIBS",void 0);Pe([(0,at.TransformDecimal)({fixed:2}),Te("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vr.prototype,"vIBSMonoDif",void 0);Pe([(0,at.TransformDecimal)({fixed:4}),Te("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vr.prototype,"pDifCBS",void 0);Pe([(0,at.TransformDecimal)({fixed:2}),Te("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vr.prototype,"vCBSMonoDif",void 0);var Ei=class{static{a(this,"IBSCBSMono")}gMonoPadrao;gMonoReten;gMonoRet;gMonoDif;vTotIBSMonoItem;vTotCBSMonoItem};Pe([(0,Yn.IsOptional)(),(0,Yn.ValidateNested)(),(0,au.Type)(()=>Gn),Te("design:type",typeof Gn>"u"?Object:Gn)],Ei.prototype,"gMonoPadrao",void 0);Pe([(0,Yn.IsOptional)(),(0,Yn.ValidateNested)(),(0,au.Type)(()=>Qn),Te("design:type",typeof Qn>"u"?Object:Qn)],Ei.prototype,"gMonoReten",void 0);Pe([(0,Yn.IsOptional)(),(0,Yn.ValidateNested)(),(0,au.Type)(()=>Zn),Te("design:type",typeof Zn>"u"?Object:Zn)],Ei.prototype,"gMonoRet",void 0);Pe([(0,Yn.IsOptional)(),(0,Yn.ValidateNested)(),(0,au.Type)(()=>Vr),Te("design:type",typeof Vr>"u"?Object:Vr)],Ei.prototype,"gMonoDif",void 0);Pe([(0,at.TransformDecimal)({fixed:2}),Te("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ei.prototype,"vTotIBSMonoItem",void 0);Pe([(0,at.TransformDecimal)({fixed:2}),Te("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ei.prototype,"vTotCBSMonoItem",void 0);var zi=require("class-validator"),Dg=require("nfets/core");var ja=require("nfets/core"),Cg=require("class-validator");function ws(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,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(ws,"_ts_decorate");function Is(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Is,"_ts_metadata");var Yo=class{static{a(this,"TribRegular")}CSTReg;cClassTribReg;pAliqEfetRegIBSUF;vTribRegIBSUF;pAliqEfetRegIBSMun;vTribRegIBSMun;pAliqEfetRegCBS;vTribRegCBS};ws([(0,Cg.IsString)(),Is("design:type",String)],Yo.prototype,"CSTReg",void 0);ws([(0,Cg.IsString)(),Is("design:type",String)],Yo.prototype,"cClassTribReg",void 0);ws([(0,ja.TransformDecimal)({fixed:4}),Is("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yo.prototype,"pAliqEfetRegIBSUF",void 0);ws([(0,ja.TransformDecimal)({fixed:2}),Is("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yo.prototype,"vTribRegIBSUF",void 0);ws([(0,ja.TransformDecimal)({fixed:4}),Is("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yo.prototype,"pAliqEfetRegIBSMun",void 0);ws([(0,ja.TransformDecimal)({fixed:2}),Is("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yo.prototype,"vTribRegIBSMun",void 0);ws([(0,ja.TransformDecimal)({fixed:4}),Is("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yo.prototype,"pAliqEfetRegCBS",void 0);ws([(0,ja.TransformDecimal)({fixed:2}),Is("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yo.prototype,"vTribRegCBS",void 0);var Ba=require("nfets/core");function rp(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(rp,"_ts_decorate");function sp(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(sp,"_ts_metadata");var Pi=class{static{a(this,"TribCompraGov")}pAliqIBSUF;vTribIBSUF;pAliqIBSMun;vTribIBSMun;pAliqCBS;vTribCBS};rp([(0,Ba.TransformDecimal)({fixed:4}),sp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pi.prototype,"pAliqIBSUF",void 0);rp([(0,Ba.TransformDecimal)({fixed:2}),sp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pi.prototype,"vTribIBSUF",void 0);rp([(0,Ba.TransformDecimal)({fixed:4}),sp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pi.prototype,"pAliqIBSMun",void 0);rp([(0,Ba.TransformDecimal)({fixed:2}),sp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pi.prototype,"vTribIBSMun",void 0);rp([(0,Ba.TransformDecimal)({fixed:4}),sp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pi.prototype,"pAliqCBS",void 0);rp([(0,Ba.TransformDecimal)({fixed:2}),sp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pi.prototype,"vTribCBS",void 0);var pp=require("class-transformer");var Os=require("class-validator"),Ig=require("nfets/core"),Wd=require("class-transformer");var Ng=require("nfets/core"),xC=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,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 bC(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(bC,"_ts_metadata");var yo=class{static{a(this,"DevTrib")}pDevTrib;vDevTrib};yC([(0,xC.IsOptional)(),(0,Ng.TransformDecimal)({fixed:4}),bC("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yo.prototype,"pDevTrib",void 0);yC([(0,Ng.TransformDecimal)({fixed:2}),bC("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yo.prototype,"vDevTrib",void 0);var Rg=require("nfets/core");function SC(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(SC,"_ts_decorate");function CC(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(CC,"_ts_metadata");var bo=class{static{a(this,"Dif")}pDif;vDif};SC([(0,Rg.TransformDecimal)({fixed:4}),CC("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bo.prototype,"pDif",void 0);SC([(0,Rg.TransformDecimal)({fixed:2}),CC("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bo.prototype,"vDif",void 0);var wg=require("nfets/core");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 xo=class{static{a(this,"Red")}pRedAliq;pAliqEfet};NC([(0,wg.TransformDecimal)({fixed:4}),RC("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xo.prototype,"pRedAliq",void 0);NC([(0,wg.TransformDecimal)({fixed:4}),RC("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xo.prototype,"pAliqEfet",void 0);function cu(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(cu,"_ts_decorate");function pu(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(pu,"_ts_metadata");var yn=class{static{a(this,"IBSMun")}pIBSMun;gDif;gDevTrib;gRed;vIBSMun};cu([(0,Ig.TransformDecimal)({fixed:4}),pu("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yn.prototype,"pIBSMun",void 0);cu([(0,Os.IsOptional)(),(0,Os.ValidateNested)(),(0,Wd.Type)(()=>bo),pu("design:type",typeof bo>"u"?Object:bo)],yn.prototype,"gDif",void 0);cu([(0,Os.IsOptional)(),(0,Os.ValidateNested)(),(0,Wd.Type)(()=>yo),pu("design:type",typeof yo>"u"?Object:yo)],yn.prototype,"gDevTrib",void 0);cu([(0,Os.IsOptional)(),(0,Os.ValidateNested)(),(0,Wd.Type)(()=>xo),pu("design:type",typeof xo>"u"?Object:xo)],yn.prototype,"gRed",void 0);cu([(0,Ig.TransformDecimal)({fixed:2}),pu("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yn.prototype,"vIBSMun",void 0);var As=require("class-validator"),Og=require("nfets/core"),Jd=require("class-transformer");function lu(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(lu,"_ts_decorate");function uu(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(uu,"_ts_metadata");var bn=class{static{a(this,"IBSUF")}pIBSUF;gDif;gDevTrib;gRed;vIBSUF};lu([(0,Og.TransformDecimal)({fixed:4}),uu("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bn.prototype,"pIBSUF",void 0);lu([(0,As.IsOptional)(),(0,As.ValidateNested)(),(0,Jd.Type)(()=>bo),uu("design:type",typeof bo>"u"?Object:bo)],bn.prototype,"gDif",void 0);lu([(0,As.IsOptional)(),(0,As.ValidateNested)(),(0,Jd.Type)(()=>yo),uu("design:type",typeof yo>"u"?Object:yo)],bn.prototype,"gDevTrib",void 0);lu([(0,As.IsOptional)(),(0,As.ValidateNested)(),(0,Jd.Type)(()=>xo),uu("design:type",typeof xo>"u"?Object:xo)],bn.prototype,"gRed",void 0);lu([(0,Og.TransformDecimal)({fixed:2}),uu("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bn.prototype,"vIBSUF",void 0);var Jn=require("class-validator"),Fg=require("nfets/core"),fu=require("class-transformer");var Ag=require("nfets/core"),du=require("class-validator");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 Kd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Kd,"_ts_metadata");var Wn=class{static{a(this,"ALCZFMCBS")}tpALCZFMCBS;nProcSuframa;pAliqEfetRegCBS;vTribRegCBS};Xd([(0,du.IsString)(),Kd("design:type",String)],Wn.prototype,"tpALCZFMCBS",void 0);Xd([(0,du.IsOptional)(),(0,du.IsString)(),Kd("design:type",String)],Wn.prototype,"nProcSuframa",void 0);Xd([(0,Ag.TransformDecimal)({fixed:4}),Kd("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Wn.prototype,"pAliqEfetRegCBS",void 0);Xd([(0,Ag.TransformDecimal)({fixed:2}),Kd("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Wn.prototype,"vTribRegCBS",void 0);function ap(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(ap,"_ts_decorate");function cp(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(cp,"_ts_metadata");var Ti=class{static{a(this,"CBS")}pCBS;gDif;gDevTrib;gRed;gALCZFMCBS;vCBS};ap([(0,Fg.TransformDecimal)({fixed:4}),cp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ti.prototype,"pCBS",void 0);ap([(0,Jn.IsOptional)(),(0,Jn.ValidateNested)(),(0,fu.Type)(()=>bo),cp("design:type",typeof bo>"u"?Object:bo)],Ti.prototype,"gDif",void 0);ap([(0,Jn.IsOptional)(),(0,Jn.ValidateNested)(),(0,fu.Type)(()=>yo),cp("design:type",typeof yo>"u"?Object:yo)],Ti.prototype,"gDevTrib",void 0);ap([(0,Jn.IsOptional)(),(0,Jn.ValidateNested)(),(0,fu.Type)(()=>xo),cp("design:type",typeof xo>"u"?Object:xo)],Ti.prototype,"gRed",void 0);ap([(0,Jn.IsOptional)(),(0,Jn.ValidateNested)(),(0,fu.Type)(()=>Wn),cp("design:type",typeof Wn>"u"?Object:Wn)],Ti.prototype,"gALCZFMCBS",void 0);ap([(0,Fg.TransformDecimal)({fixed:2}),cp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ti.prototype,"vCBS",void 0);function Ma(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(Ma,"_ts_decorate");function La(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(La,"_ts_metadata");var li=class{static{a(this,"GIBSCBS")}vBC;gIBSUF;gIBSMun;vIBS;gCBS;gTribRegular;gTribCompraGov};Ma([(0,Dg.TransformDecimal)({fixed:2}),La("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],li.prototype,"vBC",void 0);Ma([(0,zi.IsOptional)(),(0,zi.ValidateNested)(),(0,pp.Type)(()=>bn),La("design:type",typeof bn>"u"?Object:bn)],li.prototype,"gIBSUF",void 0);Ma([(0,zi.IsOptional)(),(0,zi.ValidateNested)(),(0,pp.Type)(()=>yn),La("design:type",typeof yn>"u"?Object:yn)],li.prototype,"gIBSMun",void 0);Ma([(0,Dg.TransformDecimal)({fixed:2}),La("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],li.prototype,"vIBS",void 0);Ma([(0,zi.IsOptional)(),(0,zi.ValidateNested)(),(0,pp.Type)(()=>Ti),La("design:type",typeof Ti>"u"?Object:Ti)],li.prototype,"gCBS",void 0);Ma([(0,zi.IsOptional)(),(0,zi.ValidateNested)(),(0,pp.Type)(()=>Yo),La("design:type",typeof Yo>"u"?Object:Yo)],li.prototype,"gTribRegular",void 0);Ma([(0,zi.IsOptional)(),(0,zi.ValidateNested)(),(0,pp.Type)(()=>Pi),La("design:type",typeof Pi>"u"?Object:Pi)],li.prototype,"gTribCompraGov",void 0);var Fs=require("class-transformer");function Xn(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(Xn,"_ts_decorate");function Kn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Kn,"_ts_metadata");var So=class{static{a(this,"IBSCBS")}CST;cClassTrib;indDoacao;gTransfCred;gCredPresIBSZFM;gCredPresOper;gAjusteCompet;gEstornoCred;gIBSCBSMono;gIBSCBS};Xn([(0,tt.IsOptional)(),(0,tt.IsString)(),Kn("design:type",String)],So.prototype,"CST",void 0);Xn([(0,tt.IsOptional)(),(0,tt.IsString)(),Kn("design:type",String)],So.prototype,"cClassTrib",void 0);Xn([(0,tt.IsOptional)(),(0,tt.IsString)(),Kn("design:type",String)],So.prototype,"indDoacao",void 0);Xn([(0,tt.IsOptional)(),(0,tt.ValidateNested)(),(0,Fs.Type)(()=>Ss),Kn("design:type",typeof Ss>"u"?Object:Ss)],So.prototype,"gTransfCred",void 0);Xn([(0,tt.IsOptional)(),(0,tt.ValidateNested)(),(0,Fs.Type)(()=>Mr),Kn("design:type",typeof Mr>"u"?Object:Mr)],So.prototype,"gCredPresIBSZFM",void 0);Xn([(0,tt.IsOptional)(),(0,tt.ValidateNested)(),(0,Fs.Type)(()=>qn),Kn("design:type",typeof qn>"u"?Object:qn)],So.prototype,"gCredPresOper",void 0);Xn([(0,tt.IsOptional)(),(0,tt.ValidateNested)(),(0,Fs.Type)(()=>Lr),Kn("design:type",typeof Lr>"u"?Object:Lr)],So.prototype,"gAjusteCompet",void 0);Xn([(0,tt.IsOptional)(),(0,tt.ValidateNested)(),(0,Fs.Type)(()=>Rs),Kn("design:type",typeof Rs>"u"?Object:Rs)],So.prototype,"gEstornoCred",void 0);Xn([(0,tt.IsOptional)(),(0,tt.ValidateNested)(),(0,Fs.Type)(()=>Ei),Kn("design:type",typeof Ei>"u"?Object:Ei)],So.prototype,"gIBSCBSMono",void 0);Xn([(0,tt.IsOptional)(),(0,tt.ValidateNested)(),(0,Fs.Type)(()=>li),Kn("design:type",typeof li>"u"?Object:li)],So.prototype,"gIBSCBS",void 0);var lp=require("nfets/core"),xn=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,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(Ds,"_ts_decorate");function Es(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Es,"_ts_metadata");var Wo=class{static{a(this,"IS")}CSTIS;cClassTribIS;vBCIS;pIS;adRemIS;uTrib;qTrib;vIS};Ds([(0,xn.IsString)(),Es("design:type",String)],Wo.prototype,"CSTIS",void 0);Ds([(0,xn.IsString)(),Es("design:type",String)],Wo.prototype,"cClassTribIS",void 0);Ds([(0,xn.IsOptional)(),(0,lp.TransformDecimal)({fixed:2}),Es("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Wo.prototype,"vBCIS",void 0);Ds([(0,xn.IsOptional)(),(0,lp.TransformDecimal)({fixed:4}),Es("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Wo.prototype,"pIS",void 0);Ds([(0,xn.IsOptional)(),(0,lp.TransformDecimal)({fixed:4}),Es("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Wo.prototype,"adRemIS",void 0);Ds([(0,xn.IsOptional)(),(0,xn.IsString)(),Es("design:type",String)],Wo.prototype,"uTrib",void 0);Ds([(0,xn.IsOptional)(),(0,lp.TransformDecimal)({fixed:4}),Es("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Wo.prototype,"qTrib",void 0);Ds([(0,xn.IsOptional)(),(0,lp.TransformDecimal)({fixed:2}),Es("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Wo.prototype,"vIS",void 0);var $d=require("nfets/core");function ui(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(ui,"_ts_decorate");function ji(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ji,"_ts_metadata");var yt=class{static{a(this,"Imposto")}vTotTrib;ICMS;IPI;ISSQN;II;PIS;PISST;COFINS;COFINSST;ICMSUFDest;IS;IBSCBS};ui([(0,ze.IsOptional)(),(0,$d.TransformDecimal)({fixed:2}),ji("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yt.prototype,"vTotTrib",void 0);ui([(0,ze.IsOptional)(),(0,ze.ValidateNested)(),(0,Bi.Type)(()=>ve),ji("design:type",typeof IICMS>"u"?Object:IICMS)],yt.prototype,"ICMS",void 0);ui([(0,ze.IsOptional)(),(0,ze.ValidateNested)(),(0,Bi.Type)(()=>Di),ji("design:type",typeof IIPI>"u"?Object:IIPI)],yt.prototype,"IPI",void 0);ui([(0,ze.IsOptional)(),(0,ze.ValidateNested)(),(0,Bi.Type)(()=>st),ji("design:type",typeof IISSQN>"u"?Object:IISSQN)],yt.prototype,"ISSQN",void 0);ui([(0,ze.IsOptional)(),(0,ze.ValidateNested)(),(0,Bi.Type)(()=>Ln),ji("design:type",typeof III>"u"?Object:III)],yt.prototype,"II",void 0);ui([(0,ze.IsOptional)(),(0,ze.ValidateNested)(),(0,Bi.Type)(()=>_n),ji("design:type",typeof IPIS>"u"?Object:IPIS)],yt.prototype,"PIS",void 0);ui([(0,ze.IsOptional)(),(0,ze.ValidateNested)(),(0,Bi.Type)(()=>fn),ji("design:type",typeof IPISST>"u"?Object:IPISST)],yt.prototype,"PISST",void 0);ui([(0,ze.IsOptional)(),(0,ze.ValidateNested)(),(0,Bi.Type)(()=>Un),ji("design:type",typeof ICOFINS>"u"?Object:ICOFINS)],yt.prototype,"COFINS",void 0);ui([(0,ze.IsOptional)(),(0,ze.ValidateNested)(),(0,Bi.Type)(()=>gn),ji("design:type",typeof ICOFINSST>"u"?Object:ICOFINSST)],yt.prototype,"COFINSST",void 0);ui([(0,ze.IsOptional)(),(0,ze.ValidateNested)(),(0,Bi.Type)(()=>zo),ji("design:type",typeof IICMSUFDest>"u"?Object:IICMSUFDest)],yt.prototype,"ICMSUFDest",void 0);ui([(0,ze.IsOptional)(),(0,ze.ValidateNested)(),(0,Bi.Type)(()=>Wo),ji("design:type",typeof IIS>"u"?Object:IIS)],yt.prototype,"IS",void 0);ui([(0,ze.IsOptional)(),(0,ze.ValidateNested)(),(0,Bi.Type)(()=>So),ji("design:type",typeof IIBSCBS>"u"?Object:IIBSCBS)],yt.prototype,"IBSCBS",void 0);yt=ui([(0,$d.Choice)({properties:["ICMS","ISSQN"]})],yt);var Va=require("class-validator"),wC=require("class-transformer");function Eg(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(Eg,"_ts_decorate");function Pg(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Pg,"_ts_metadata");var ef=class{static{a(this,"IpiDevol")}vIPIDevol};Eg([(0,Va.IsString)(),Pg("design:type",String)],ef.prototype,"vIPIDevol",void 0);var up=class{static{a(this,"Devol")}pDevol;IPI};Eg([(0,Va.IsString)(),Pg("design:type",String)],up.prototype,"pDevol",void 0);Eg([(0,Va.IsOptional)(),(0,Va.ValidateNested)(),(0,wC.Type)(()=>ef),Pg("design:type",typeof IIpiDevol>"u"?Object:IIpiDevol)],up.prototype,"IPI",void 0);var _r=require("class-validator"),Tg=require("class-transformer");function tf(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(tf,"_ts_decorate");function of(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(of,"_ts_metadata");var dp=class{static{a(this,"Observation")}xCampo;xTexto};tf([(0,_r.IsString)(),of("design:type",String)],dp.prototype,"xCampo",void 0);tf([(0,_r.IsString)(),of("design:type",String)],dp.prototype,"xTexto",void 0);var fp=class{static{a(this,"ObsItem")}obsCont;obsFisco};tf([(0,_r.IsOptional)(),(0,_r.ValidateNested)(),(0,Tg.Type)(()=>dp),of("design:type",typeof IObservation>"u"?Object:IObservation)],fp.prototype,"obsCont",void 0);tf([(0,_r.IsOptional)(),(0,_r.ValidateNested)(),(0,Tg.Type)(()=>dp),of("design:type",typeof IObservation>"u"?Object:IObservation)],fp.prototype,"obsFisco",void 0);var mu=require("class-validator");function IC(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(IC,"_ts_decorate");function OC(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(OC,"_ts_metadata");var Ps=class{static{a(this,"DFeReferenciado")}chaveAcesso;nItem};IC([(0,mu.IsString)(),OC("design:type",String)],Ps.prototype,"chaveAcesso",void 0);IC([(0,mu.IsOptional)(),(0,mu.IsString)(),OC("design:type",String)],Ps.prototype,"nItem",void 0);var AC=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 qr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(qr,"_ts_metadata");var mp=class{static{a(this,"DetAttributes")}nItem};Ur([(0,It.IsString)(),qr("design:type",String)],mp.prototype,"nItem",void 0);var Mi=class{static{a(this,"Det")}prod;imposto;impostoDevol;infAdProd;obsItem;vItem;DFeReferenciado};Ur([(0,It.IsObject)(),(0,It.ValidateNested)(),(0,_a.Type)(()=>mp),qr("design:type",typeof IDetAttributes>"u"?Object:IDetAttributes)],Mi.prototype,"$",void 0);Ur([(0,It.ValidateNested)(),(0,_a.Type)(()=>U),qr("design:type",typeof IProd>"u"?Object:IProd)],Mi.prototype,"prod",void 0);Ur([(0,It.IsOptional)(),(0,It.ValidateNested)(),(0,_a.Type)(()=>yt),qr("design:type",typeof IImposto>"u"?Object:IImposto)],Mi.prototype,"imposto",void 0);Ur([(0,It.IsOptional)(),(0,It.ValidateNested)(),(0,_a.Type)(()=>up),qr("design:type",typeof IDevol>"u"?Object:IDevol)],Mi.prototype,"impostoDevol",void 0);Ur([(0,It.IsOptional)(),(0,It.IsString)(),qr("design:type",String)],Mi.prototype,"infAdProd",void 0);Ur([(0,It.IsOptional)(),(0,It.ValidateNested)(),(0,_a.Type)(()=>fp),qr("design:type",typeof IObsItem>"u"?Object:IObsItem)],Mi.prototype,"obsItem",void 0);Ur([(0,It.IsOptional)(),(0,AC.TransformDecimal)({fixed:2}),qr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Mi.prototype,"vItem",void 0);Ur([(0,It.IsOptional)(),(0,It.ValidateNested)(),(0,_a.Type)(()=>Ps),qr("design:type",typeof IDFeReferenciado>"u"?Object:IDFeReferenciado)],Mi.prototype,"DFeReferenciado",void 0);var to=require("class-validator"),nf=require("nfets/core");function Sn(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(Sn,"_ts_decorate");function Cn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Cn,"_ts_metadata");var eo=class{static{a(this,"Avulsa")}CNPJ;xOrgao;matr;xAgente;fone;UF;nDAR;dEmi;vDAR;repEmi;dPag};Sn([(0,to.IsString)(),Cn("design:type",String)],eo.prototype,"CNPJ",void 0);Sn([(0,to.IsString)(),Cn("design:type",String)],eo.prototype,"xOrgao",void 0);Sn([(0,to.IsString)(),Cn("design:type",String)],eo.prototype,"matr",void 0);Sn([(0,to.IsString)(),Cn("design:type",String)],eo.prototype,"xAgente",void 0);Sn([(0,to.IsOptional)(),(0,to.IsString)(),Cn("design:type",String)],eo.prototype,"fone",void 0);Sn([(0,to.IsString)(),Cn("design:type",String)],eo.prototype,"UF",void 0);Sn([(0,to.IsOptional)(),(0,to.IsString)(),Cn("design:type",String)],eo.prototype,"nDAR",void 0);Sn([(0,to.IsOptional)(),(0,nf.TransformDateString)({format:"YYYY-MM-DD"}),Cn("design:type",typeof Date>"u"?Object:Date)],eo.prototype,"dEmi",void 0);Sn([(0,to.IsOptional)(),(0,nf.TransformDecimal)({fixed:2}),Cn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"vDAR",void 0);Sn([(0,to.IsString)(),Cn("design:type",String)],eo.prototype,"repEmi",void 0);Sn([(0,to.IsOptional)(),(0,to.IsDate)(),Cn("design:type",typeof Date>"u"?Object:Date)],eo.prototype,"dPag",void 0);var FC=require("class-validator");function cE(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(cE,"_ts_decorate");function pE(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(pE,"_ts_metadata");var Ua=class{static{a(this,"InfSolicNFF")}xSolic};cE([(0,FC.IsString)(),pE("design:type",String)],Ua.prototype,"xSolic",void 0);var Ut=require("class-validator"),zg=require("class-transformer"),DC=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,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(Hr,"_ts_decorate");function Ts(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ts,"_ts_metadata");var hu=class{static{a(this,"Defensivo")}nReceituario;CPFRespTec};Hr([(0,Ut.IsString)(),Ts("design:type",String)],hu.prototype,"nReceituario",void 0);Hr([(0,Ut.IsString)(),Ts("design:type",String)],hu.prototype,"CPFRespTec",void 0);var qa=class{static{a(this,"GuiaTransito")}tpGuia;UFGuia;serieGuia;nGuia};Hr([(0,Ut.IsString)(),Ts("design:type",String)],qa.prototype,"tpGuia",void 0);Hr([(0,Ut.IsString)(),Ts("design:type",String)],qa.prototype,"UFGuia",void 0);Hr([(0,Ut.IsOptional)(),(0,Ut.IsString)(),Ts("design:type",String)],qa.prototype,"serieGuia",void 0);Hr([(0,Ut.IsString)(),Ts("design:type",String)],qa.prototype,"nGuia",void 0);var $n=class{static{a(this,"Agropecuario")}defensivo;guiaTransito};Hr([(0,Ut.IsOptional)(),(0,Ut.IsArray)(),(0,Ut.ArrayMaxSize)(20),(0,Ut.ValidateNested)({each:!0}),(0,zg.Type)(()=>hu),Ts("design:type",Array)],$n.prototype,"defensivo",void 0);Hr([(0,Ut.IsOptional)(),(0,Ut.ValidateNested)(),(0,zg.Type)(()=>qa),Ts("design:type",typeof IGuiaTransito>"u"?Object:IGuiaTransito)],$n.prototype,"guiaTransito",void 0);$n=Hr([(0,DC.Choice)({properties:["defensivo","guiaTransito"]})],$n);var js=require("class-validator"),jg=require("class-transformer");function hp(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(hp,"_ts_decorate");function gp(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(gp,"_ts_metadata");var gu=class{static{a(this,"RSAKeyValue")}Modulus;Exponent};hp([(0,js.IsString)(),gp("design:type",String)],gu.prototype,"Modulus",void 0);hp([(0,js.IsString)(),gp("design:type",String)],gu.prototype,"Exponent",void 0);var vu=class{static{a(this,"PAASignature")}SignatureValue;RSAKeyValue};hp([(0,js.IsString)(),gp("design:type",String)],vu.prototype,"SignatureValue",void 0);hp([(0,js.ValidateNested)(),(0,jg.Type)(()=>gu),gp("design:type",typeof IRSAKeyValue>"u"?Object:IRSAKeyValue)],vu.prototype,"RSAKeyValue",void 0);var zs=class{static{a(this,"InfPAA")}CNPJPAA;PAASignature};hp([(0,js.IsString)(),gp("design:type",String)],zs.prototype,"CNPJPAA",void 0);hp([(0,js.ValidateNested)(),(0,jg.Type)(()=>vu),gp("design:type",typeof IPAASignature>"u"?Object:IPAASignature)],zs.prototype,"PAASignature",void 0);function Je(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(Je,"_ts_decorate");function Xe(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Xe,"_ts_metadata");var Ha=class{static{a(this,"InfNFeAttributes")}Id;versao};Je([(0,_.IsOptional)(),(0,_.IsString)(),Xe("design:type",String)],Ha.prototype,"Id",void 0);Je([(0,_.IsOptional)(),(0,_.IsString)(),Xe("design:type",String)],Ha.prototype,"versao",void 0);var we=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};Je([(0,_.IsObject)(),(0,_.IsNotEmptyObject)(),(0,ot.Type)(()=>Ha),(0,_.ValidateNested)(),Xe("design:type",typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes)],we.prototype,"$",void 0);Je([(0,_.IsObject)(),(0,_.IsNotEmptyObject)(),(0,_.ValidateNested)(),(0,ot.Type)(()=>$),Xe("design:type",typeof IIde>"u"?Object:IIde)],we.prototype,"ide",void 0);Je([(0,_.IsObject)(),(0,_.IsNotEmptyObject)(),(0,_.ValidateNested)(),(0,ot.Type)(()=>Rt),Xe("design:type",typeof IEmit>"u"?Object:IEmit)],we.prototype,"emit",void 0);Je([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,ot.Type)(()=>eo),Xe("design:type",typeof IAvulsa>"u"?Object:IAvulsa)],we.prototype,"avulsa",void 0);Je([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,ot.Type)(()=>Mt),Xe("design:type",typeof IDest>"u"?Object:IDest)],we.prototype,"dest",void 0);Je([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,ot.Type)(()=>Ae),Xe("design:type",typeof ILocal>"u"?Object:ILocal)],we.prototype,"retirada",void 0);Je([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,ot.Type)(()=>Ae),Xe("design:type",typeof ILocal>"u"?Object:ILocal)],we.prototype,"entrega",void 0);Je([(0,_.IsOptional)(),(0,_.ValidateNested)({each:!0}),(0,_.ArrayMaxSize)(10),(0,ot.Type)(()=>En),Xe("design:type",Array)],we.prototype,"autXML",void 0);Je([(0,_.ValidateNested)({each:!0}),(0,_.ArrayMaxSize)(990),(0,_.ArrayMinSize)(1),(0,ot.Type)(()=>Mi),Xe("design:type",Array)],we.prototype,"det",void 0);Je([(0,_.ValidateNested)(),(0,ot.Type)(()=>Ri),Xe("design:type",typeof ITotal>"u"?Object:ITotal)],we.prototype,"total",void 0);Je([(0,_.ValidateNested)(),(0,ot.Type)(()=>po),Xe("design:type",typeof ITransp>"u"?Object:ITransp)],we.prototype,"transp",void 0);Je([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,ot.Type)(()=>us),Xe("design:type",typeof ICobr>"u"?Object:ICobr)],we.prototype,"cobr",void 0);Je([(0,_.ValidateNested)(),(0,ot.Type)(()=>ms),Xe("design:type",typeof IPag>"u"?Object:IPag)],we.prototype,"pag",void 0);Je([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,ot.Type)(()=>rs),Xe("design:type",typeof IInfIntermed>"u"?Object:IInfIntermed)],we.prototype,"infIntermed",void 0);Je([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,ot.Type)(()=>cn),Xe("design:type",typeof IInfAdic>"u"?Object:IInfAdic)],we.prototype,"infAdic",void 0);Je([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,ot.Type)(()=>mr),Xe("design:type",typeof IExporta>"u"?Object:IExporta)],we.prototype,"exporta",void 0);Je([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,ot.Type)(()=>hr),Xe("design:type",typeof ICompra>"u"?Object:ICompra)],we.prototype,"compra",void 0);Je([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,ot.Type)(()=>lo),Xe("design:type",typeof ICana>"u"?Object:ICana)],we.prototype,"cana",void 0);Je([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,ot.Type)(()=>Si),Xe("design:type",typeof IInfRespTec>"u"?Object:IInfRespTec)],we.prototype,"infRespTec",void 0);Je([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,ot.Type)(()=>Ua),Xe("design:type",typeof ISolicNFF>"u"?Object:ISolicNFF)],we.prototype,"infSolicNFF",void 0);Je([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,ot.Type)(()=>$n),Xe("design:type",typeof IAgropecuario>"u"?Object:IAgropecuario)],we.prototype,"agropecuario",void 0);Je([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,ot.Type)(()=>zs),Xe("design:type",typeof IInfPAA>"u"?Object:IInfPAA)],we.prototype,"infPAA",void 0);var Bg=require("class-transformer");function rf(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(rf,"_ts_decorate");function sf(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(sf,"_ts_metadata");var vp=class{static{a(this,"NFeAttributes")}xmlns};rf([(0,Bo.IsString)(),(0,Bo.IsNotEmpty)(),sf("design:type",String)],vp.prototype,"xmlns",void 0);var kr=class{static{a(this,"NFe")}$;infNFe;Signature};rf([(0,Bo.IsObject)(),(0,Bo.IsNotEmptyObject)(),(0,Bg.Type)(()=>vp),(0,Bo.ValidateNested)(),sf("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],kr.prototype,"$",void 0);rf([(0,Bo.IsObject)(),(0,Bo.IsNotEmptyObject)(),(0,Bg.Type)(()=>we),(0,Bo.ValidateNested)(),sf("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],kr.prototype,"infNFe",void 0);rf([(0,Bo.Allow)(),sf("design:type",typeof Signature>"u"?Object:Signature)],kr.prototype,"Signature",void 0);var EC=require("nfets/core");var No=require("nfets/core");var Nn=a((t=[Xf])=>(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 Co(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(Co,"_ts_decorate");function H(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(H,"_ts_metadata");var ft=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}};Co([(0,No.Validates)(mp),H("design:type",Function),H("design:paramtypes",[typeof IDetAttributes>"u"?Object:IDetAttributes]),H("design:returntype",void 0)],ft.prototype,"det",null);Co([(0,No.Validates)(U),H("design:type",Function),H("design:paramtypes",[typeof IProd>"u"?Object:IProd]),H("design:returntype",void 0)],ft.prototype,"prod",null);Co([(0,No.Validates)(yt),H("design:type",Function),H("design:paramtypes",[typeof IImposto>"u"?Object:IImposto]),H("design:returntype",void 0)],ft.prototype,"imposto",null);Co([(0,No.Validates)(ve),H("design:type",Function),H("design:paramtypes",[typeof IICMS>"u"?Object:IICMS]),H("design:returntype",void 0)],ft.prototype,"icms",null);Co([(0,No.Validates)(st),H("design:type",Function),H("design:paramtypes",[typeof IISSQN>"u"?Object:IISSQN]),H("design:returntype",void 0)],ft.prototype,"issqn",null);Co([(0,No.Validates)(Ln),H("design:type",Function),H("design:paramtypes",[typeof III>"u"?Object:III]),H("design:returntype",void 0)],ft.prototype,"ii",null);Co([(0,No.Validates)(Di),H("design:type",Function),H("design:paramtypes",[typeof IIPI>"u"?Object:IIPI]),H("design:returntype",void 0)],ft.prototype,"ipi",null);Co([(0,No.Validates)(_n),H("design:type",Function),H("design:paramtypes",[typeof IPIS>"u"?Object:IPIS]),H("design:returntype",void 0)],ft.prototype,"pis",null);Co([(0,No.Validates)(fn),H("design:type",Function),H("design:paramtypes",[typeof IPISST>"u"?Object:IPISST]),H("design:returntype",void 0)],ft.prototype,"pisst",null);Co([(0,No.Validates)(Un),H("design:type",Function),H("design:paramtypes",[typeof ICOFINS>"u"?Object:ICOFINS]),H("design:returntype",void 0)],ft.prototype,"cofins",null);Co([(0,No.Validates)(gn),H("design:type",Function),H("design:paramtypes",[typeof ICOFINSST>"u"?Object:ICOFINSST]),H("design:returntype",void 0)],ft.prototype,"cofinsst",null);Co([(0,No.Validates)(zo),H("design:type",Function),H("design:paramtypes",[typeof IICMSUFDest>"u"?Object:IICMSUFDest]),H("design:returntype",void 0)],ft.prototype,"icmsufdest",null);Co([Nn(wo),(0,No.Validates)(Wo),H("design:type",Function),H("design:paramtypes",[typeof IIS>"u"?Object:IIS]),H("design:returntype",void 0)],ft.prototype,"is",null);Co([Nn(wo),(0,No.Validates)(So),H("design:type",Function),H("design:paramtypes",[typeof IIBSCBS>"u"?Object:IIBSCBS]),H("design:returntype",void 0)],ft.prototype,"ibscbs",null);Co([Nn(wo),H("design:type",Function),H("design:paramtypes",[typeof IVItem>"u"?Object:IVItem]),H("design:returntype",void 0)],ft.prototype,"vItem",null);Co([Nn(wo),(0,No.Validates)(Ps),H("design:type",Function),H("design:paramtypes",[typeof IDFeReferenciado>"u"?Object:IDFeReferenciado]),H("design:returntype",void 0)],ft.prototype,"dfeReferenciado",null);var yp=require("nfets/core"),ye=require("nfets/core"),af=require("nfets/core");function Ke(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(Ke,"_ts_decorate");function E(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(E,"_ts_metadata");var le=class{static{a(this,"NfeXmlBuilder")}builder;contingency;schema;data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}}};$data=void 0;aggregators=[new $p(this)];root="NFe";$det=new Kp(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},wo.includes(this.schema)&&this.buildTotalForPL_010(o),this}buildTotalForPL_010(e){let o=this.data.infNFe.total.IBSCBSTot,i=e.IBSCBSTot,r=this.data.infNFe.total.ISTot,n=e.ISTot;this.data.infNFe.total={...this.data.infNFe.total,IBSCBSTot:{...o,...i,gCBS:{...o?.gCBS,...i?.gCBS},gIBS:{...o?.gIBS,...i?.gIBS,gIBSMun:{...o?.gIBS?.gIBSMun,...i?.gIBS?.gIBSMun},gIBSUF:{...o?.gIBS?.gIBSUF,...i?.gIBS?.gIBSUF}},...i?.gMono!=null||o?.gMono!=null?{gMono:{...o?.gMono,...i?.gMono}}:{},...i?.gEstornoCred!=null||o?.gEstornoCred!=null?{gEstornoCred:{...o?.gEstornoCred,...i?.gEstornoCred}}:{}},ISTot:r||n?{...r,...n}:r,vNFTot:e.vNFTot??this.data.infNFe.total.vNFTot}}transp(e){return e==null?this:(this.data.infNFe.transp=e,this)}cobr(e){return e==null?this:(this.data.infNFe.cobr=e,this)}pag(e){return e==null?this:(this.data.infNFe.pag=e,this)}infIntermed(e){return e==null?this:(this.data.infNFe.infIntermed=e,this)}infAdic(e){return e==null?this:(this.data.infNFe.infAdic=e,this)}exporta(e){return e==null?this:(this.data.infNFe.exporta=e,this)}compra(e){return e==null?this:(this.data.infNFe.compra=e,this)}cana(e){return e==null?this:(this.data.infNFe.cana=e,this)}infRespTec(e){return e==null?this:(this.data.infNFe.infRespTec=e,this)}infSolicNFF(e){return e==null?this:(this.data.infNFe.infSolicNFF=e,this)}agropecuario(e){return e==null?this:(this.data.infNFe.agropecuario=e,this)}infPAA(e){return e==null?this:(this.data.infNFe.infPAA=e,this)}toInstance(){return(0,EC.plainToInstance)(this.data,kr,{clearEmptyValues:!0})}quiet(){return Reflect.deleteMetadata(ye.ValidateErrorsMetadata,this),this}toObject(){if(this.$data!==void 0)return(0,yp.right)(this.$data);let e=this.errors();if(e)return(0,yp.left)(new af.NFeTsError(e.join(", ")));for(let o of this.aggregators)o.aggregate();return this.assertHomologValidations(),this.assertContingencyModes(),this.fillAccessKeyIfEmpty(),this.$data=Rc(this.toInstance(),this.data.infNFe.emit.enderEmit.UF),(0,yp.right)(this.$data)}async assemble(){let e=this.toObject();return e.isLeft()?e:(0,yp.right)(await this.builder.build(e.value,{rootName:this.root}))}assertHomologValidations(){return this.data.infNFe.ide.tpAmb!==af.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!==be.Normal)return;switch(Fd[e]){case"SVCAN":return this.data.infNFe.ide.tpEmis=be.SVCAN,void 0;case"SVCRS":return this.data.infNFe.ide.tpEmis=be.SVCRS,void 0}}automaticallyInferContingencyMode(){let{xJust:e,dhCont:o,tpEmis:i}=this.data.infNFe.ide;if(!(!e&&!o&&i===be.Normal))return this.contingency={xJust:e??"SEFAZ fora do Ar",dhCont:o??new Date().toISOString()},this.assertContingencyModes()}errors(){return Reflect.getMetadata(ye.ValidateErrorsMetadata,this)}collect(e){let o=Reflect.getMetadata(ye.ValidateErrorsMetadata,e);if(!o)return;let i=this.errors();Reflect.defineMetadata(ye.ValidateErrorsMetadata,(i??[]).concat(o),this)}fillAccessKeyIfEmpty(){if(this.data.infNFe.$.Id)return;let e=new Xp().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}}};Ke([(0,ye.Validates)(Ha),E("design:type",Function),E("design:paramtypes",[typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes]),E("design:returntype",void 0)],le.prototype,"infNFe",null);Ke([(0,ye.Validates)($),E("design:type",Function),E("design:paramtypes",[typeof IIde>"u"?Object:IIde]),E("design:returntype",void 0)],le.prototype,"ide",null);Ke([(0,ye.Validates)(Rt),E("design:type",Function),E("design:paramtypes",[typeof IEmit>"u"?Object:IEmit]),E("design:returntype",void 0)],le.prototype,"emit",null);Ke([(0,ye.Validates)(eo),E("design:type",Function),E("design:paramtypes",[typeof IAvulsa>"u"?Object:IAvulsa]),E("design:returntype",void 0)],le.prototype,"avulsa",null);Ke([(0,ye.Validates)(Mt),E("design:type",Function),E("design:paramtypes",[typeof IDest>"u"?Object:IDest]),E("design:returntype",void 0)],le.prototype,"dest",null);Ke([(0,ye.Validates)(Ae),E("design:type",Function),E("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),E("design:returntype",void 0)],le.prototype,"retirada",null);Ke([(0,ye.Validates)(Ae),E("design:type",Function),E("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),E("design:returntype",void 0)],le.prototype,"entrega",null);Ke([(0,ye.Validates)(En,{each:!0}),E("design:type",Function),E("design:paramtypes",[Array]),E("design:returntype",void 0)],le.prototype,"autXML",null);Ke([(0,ye.Validates)(Ri),E("design:type",Function),E("design:paramtypes",[typeof ITotal>"u"?Object:ITotal]),E("design:returntype",void 0)],le.prototype,"total",null);Ke([Nn(wo),(0,ye.Validates)(sn),E("design:type",Function),E("design:paramtypes",[typeof IIBSCBSTot>"u"?Object:IIBSCBSTot]),E("design:returntype",void 0)],le.prototype,"IBSCBSTot",null);Ke([Nn(wo),(0,ye.Validates)(Oa),E("design:type",Function),E("design:paramtypes",[typeof IISTot>"u"?Object:IISTot]),E("design:returntype",void 0)],le.prototype,"ISTot",null);Ke([Nn(wo),E("design:type",Function),E("design:paramtypes",[typeof ITotal>"u"?Object:ITotal]),E("design:returntype",void 0)],le.prototype,"buildTotalForPL_010",null);Ke([(0,ye.Validates)(po),E("design:type",Function),E("design:paramtypes",[typeof ITransp>"u"?Object:ITransp]),E("design:returntype",void 0)],le.prototype,"transp",null);Ke([(0,ye.Validates)(us),E("design:type",Function),E("design:paramtypes",[typeof ICobr>"u"?Object:ICobr]),E("design:returntype",void 0)],le.prototype,"cobr",null);Ke([(0,ye.Validates)(ms),E("design:type",Function),E("design:paramtypes",[typeof IPag>"u"?Object:IPag]),E("design:returntype",void 0)],le.prototype,"pag",null);Ke([(0,ye.Validates)(rs),E("design:type",Function),E("design:paramtypes",[typeof IInfIntermed>"u"?Object:IInfIntermed]),E("design:returntype",void 0)],le.prototype,"infIntermed",null);Ke([(0,ye.Validates)(cn),E("design:type",Function),E("design:paramtypes",[typeof IInfAdic>"u"?Object:IInfAdic]),E("design:returntype",void 0)],le.prototype,"infAdic",null);Ke([(0,ye.Validates)(mr),E("design:type",Function),E("design:paramtypes",[typeof IExporta>"u"?Object:IExporta]),E("design:returntype",void 0)],le.prototype,"exporta",null);Ke([(0,ye.Validates)(hr),E("design:type",Function),E("design:paramtypes",[typeof ICompra>"u"?Object:ICompra]),E("design:returntype",void 0)],le.prototype,"compra",null);Ke([(0,ye.Validates)(lo),E("design:type",Function),E("design:paramtypes",[typeof ICana>"u"?Object:ICana]),E("design:returntype",void 0)],le.prototype,"cana",null);Ke([(0,ye.Validates)(Si),E("design:type",Function),E("design:paramtypes",[typeof IInfRespTec>"u"?Object:IInfRespTec]),E("design:returntype",void 0)],le.prototype,"infRespTec",null);Ke([(0,ye.Validates)(Ua),E("design:type",Function),E("design:paramtypes",[typeof ISolicNFF>"u"?Object:ISolicNFF]),E("design:returntype",void 0)],le.prototype,"infSolicNFF",null);Ke([Nn(wo),(0,ye.Validates)($n),E("design:type",Function),E("design:paramtypes",[typeof IAgropecuario>"u"?Object:IAgropecuario]),E("design:returntype",void 0)],le.prototype,"agropecuario",null);Ke([Nn(wo),(0,ye.Validates)(zs),E("design:type",Function),E("design:paramtypes",[typeof IInfPAA>"u"?Object:IInfPAA]),E("design:returntype",void 0)],le.prototype,"infPAA",null);var yu=class extends yc{static{a(this,"NfeXmlBuilderPipeline")}certificate;schema;builder;constructor(e,o="PL_009_V4"){super(e),this.certificate=e,this.schema=o,this.builder=le.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 PC.default.resolve(Jp(),this.schema,"nfe_v4.00.xsd")}async assertXmlSignedAndValidated(e){if(!this.certificate)return(0,bp.right)(e);let o=await this.signXmlString(e);return o.isLeft()?o:this.validateXmlString(o.value)}async signXmlString(e){if(!this.certificate)return(0,bp.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,bp.left)(new Wp(o.value.message,e,{cause:o.value.cause})):(0,bp.right)(e)}};var BC=require("nfets/core");var uf=require("nfets/core"),MC=require("nfets/core");var jC=require("nfets/core");var lf=require("class-transformer"),Jo=require("class-validator");var Mg=require("class-validator");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 zC(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(zC,"_ts_metadata");var xp=class{static{a(this,"InfNFeSupl")}qrCode;urlChave};TC([(0,Mg.IsString)(),zC("design:type",String)],xp.prototype,"qrCode",void 0);TC([(0,Mg.IsString)(),zC("design:type",String)],xp.prototype,"urlChave",void 0);function cf(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(cf,"_ts_decorate");function pf(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(pf,"_ts_metadata");var er=class{static{a(this,"NFCe")}$;infNFe;infNFeSupl;Signature};cf([(0,Jo.IsObject)(),(0,Jo.IsNotEmptyObject)(),(0,lf.Type)(()=>vp),(0,Jo.ValidateNested)(),pf("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],er.prototype,"$",void 0);cf([(0,Jo.IsObject)(),(0,Jo.IsNotEmptyObject)(),(0,lf.Type)(()=>we),(0,Jo.ValidateNested)(),pf("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],er.prototype,"infNFe",void 0);cf([(0,Jo.IsObject)(),(0,Jo.IsNotEmptyObject)(),(0,lf.Type)(()=>xp),(0,Jo.ValidateNested)(),pf("design:type",typeof IInfNFeSupl>"u"?Object:IInfNFeSupl)],er.prototype,"infNFeSupl",void 0);cf([(0,Jo.Allow)(),pf("design:type",typeof Signature>"u"?Object:Signature)],er.prototype,"Signature",void 0);var bu=class extends le{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,jC.plainToInstance)(this.data,er,{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===be.Normal)return this.data.infNFe.ide.tpEmis=be.OFFLINE,void 0}};var Lg=class extends yu{static{a(this,"NfceXmlBuilderPipeline")}options;nfceQrcode=new Yt(this.certificates);transmitter=new jt(this.soap,this.nfceQrcode);constructor(e,o="PL_009_V4",i){super(e,o),this.options=i}builder=bu.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,uf.left)(new BC.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,uf.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,MC.unreachable)(n.version)}}};var LC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAg0AAAFXCAYAAAAh5X2YAAAgAElEQVR4nOy9e5xdZX3v//7sDENMY0zTNCcnJ+XQlEORw0TkRzkUYSCZaKkSBrwEa8XLD5tgBtA2M6HUenxZj1Umk1pJhpLUS71Uy2gp4WK9ZAJM1HootZpYDz9+/CylkQaIiCHEECbz/f2xnmettffc9mWtfZl53jDZa6/P2mt/n2evtZ7v831uIhCokN7d+9qRFgAL3d98jIWGLUJaLOOXEEsMu31r18qvNtjcQCAQCGSEGm1AoP5sGt7fJmw+aIGZzZc032C+YDGwEGMhspeBFgGLgIWGLRBaDCwyrF2oALQBBaBgUPAXk2EACB017O1bu1Z+uQHJDAQCgUDGBKehhekd3t8OzPMFPzCfqJBfDCzG7JeAhSYtBluEsRixEDQfrA2jHdEOtGG0ASCBK/Rj/NvqtMOS1g50dYxkkeZAIBAINI7gNDQZm3bvL4DNkzTfzOYDy4SWIZYB/wlYitlipKVEUYG5iLkY89zrxL+qOaEx2hNmtmrrmpWPTJf+QCAQCDQvwWloML3D+xaYcaGkc4D/DpwKLImaCFhIFP6fCXzP4NVbuzoONdqQQCAQCFR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SWkadhEDgDU5QGgInBJ1tPbswOeB+8DCYM6fv4ZTMSHV0vasXroYLTLxbt4xrIuumWoZ4VPCVcQ77oMSg0KCkQfAgUd2GQUmDiYx4IYt9KgcSGaLuaGgx375V4mLQlxRlbjwkM4w5hLQP+QnEnup7siDdJfwVwQGhYWAY+yCVvxGHKv2k7rhkqq0XFZ2Q+SdJQ7EbaFhRXohPAZ2xK6WMxIiiBXlQNfkbytfAUDIvRrX3jyoD6F3TvlXQDn4gmhMdAg8LhgTbiYMli/nsD4AbgF0yI+ARSQdsFww3Aa9F75GD0hA4aQlRPYETiu7+lZlp/PaD0zK/XXvhm1+Z0ZQZKedkiG31OOW+qJIlJynStSeSCL5jI3sZuPjchccju2Q9cUzBImCGYb+grmZEg3vmGBbFpw521paOHv+z+wAtxixCHgQNFPPZceeOmCpyhdJ024skTbfZK7GrtvJlrlCajjnfcrPQ1mI++9po7QUCJxtBaQickPz0lbefPeuU//gi6NKythBT8YFHP5VD6Vw5eRGh8rVTL9MQ+J3nLtw8ocJIgUAg8HoiuCcCJyQXn/XPLxv9AfhD0dE5V05M1JyySGRlV0X56GSSuOkYyPDtRkFhCAQCb2iCpSFwwjOwfeksSR+2uVFicdo9keBylsho558uglR2YUyNbMTwOcynliw6XtUyA4FA4NgQlIbA64YtO1pnAVfbvklwPlJLteOiQvJ6tStj0mWv2r4T8dCShZuDwhAIBN7wBKUh8LpjYEdrk+xzkN4PdNheDKpJmxxZI5L4yEmUHTC8LLvH8NiSRZtDkFwgEDhpCEpD4HXNwI6lGaGzsLNIFwMXAfNsWiQyaftA5SsNXquR2SNIh8AHQVsxLyB+CmwCdh6rSpiBQCBwIhGUhsAbii07WrGZI/lsw2JgIWa+pDnALOyoaFEcq2AzIrEPOIC9B9iN9H+AndjbLe1asjDEKgQCgQDA/wf59f5AwcXxcQAAAABJRU5ErkJggg==";var Bs=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,l=`${p}-Bold`,u="center";this.builder.row({left:r,right:i},d=>this.builder.text(this.identification(n),{...d,align:u})).row({left:r,right:i},d=>this.builder.font(l).text(c,{...d,align:u}).font(p)).row({left:r,right:i},d=>this.builder.text(`${this.addressLine1(s)}${this.addressLine2(s)}${this.addressLine3(s)}`,{...d,align:u})).row({left:r,right:i},d=>this.builder.text(this.addressLine4(s),{...d,align:u}))}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 LC}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 Li=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!==be.Normal}get hasNotProtocoledInNormalEmission(){return!this.hasContingency&&!this.context.protNFe}contingency(e){if(!this.hasContingency)return;let{left:o,right:i}=this.builder.pageMargins();this.builder.row({left:e?.x??o,right:i},r=>this.builder.text(this.contingencyBannerText,{...r,align:"center"}))}notProtocoledInNormalEmission(e){if(!this.hasNotProtocoledInNormalEmission)return;let{left:o,right:i}=this.builder.pageMargins();this.builder.row({left:e?.x??o,right:i},r=>this.builder.text(this.constants.notProtocoledInNormalEmission,{...r,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 VC=require("nfets/core");var Ms=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!==VC.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 Ls=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:l,vProd:u}=o,d={size:this.context.options.textFontSize},f={font:d,text:i.padStart(3,"0")},y={font:d,text:r},S=[{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(l??0)},{font:d,align:{x:"right"},text:this.context.currency(u)}],C=this.builder.widthOfString(r),I=this.columnStyles[1];if(C>=I)return[[f,{colSpan:6,font:d,text:`${r} ${n}`}],[{colSpan:3},...S]];let b=this.builder.widthOfString(n),w=this.columnStyles[2];if(b>=w)return[[f,y,{colSpan:5,font:d,text:n}],[{colSpan:3},...S]];let F=this.getFirstLineWidth();return this.builder.widthOfString(`${r} ${n}`)<=F?[[f,y,{font:d,text:n},...S]]:[[f,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((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,l)=>typeof l=="number"?p+l: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((l,u)=>{let d=this.item(u),[f]=d,y=this.calculateRowHeight(f,i),S=0;if(d.length>1){let F=this.calculateRowHeight(d[1],i);S=Math.max(i,F)}let{top:C,bottom:I}=this.defaultStyle.padding,b=C+I,w=d.length>1?i*.2:0;return l+y+S+d.length*b+w},0),p=i*2;return n+r+s+c+p}};var _C=require("nfets/core");var Vs=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 _C.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.ibsCbs(),this.total(),this.builder}ibsCbs(){let{IBSCBSTot:e,ISTot:o}=this.context.data.infNFe.total;this.conditionalRowValue("(+) CBS R$",e?.gCBS?.vCBS),this.conditionalRowValue("(+) IBS R$",e?.gIBS?.vIBS),this.conditionalRowValue("(+) IS R$",o?.vIS)}end(){t._instance=void 0}};var bt={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"},UC={[bt.Dinheiro]:"Dinheiro",[bt.Cheque]:"Cheque",[bt.CartaoDeCredito]:"Cart\xE3o de Cr\xE9dito",[bt.CartaoDeDebito]:"Cart\xE3o de D\xE9bito",[bt.CartaoDaLoja]:"Cart\xE3o da Loja/Outros Credi\xE1rios",[bt.ValeAlimentacao]:"Vale Alimenta\xE7\xE3o",[bt.ValeRefeicao]:"Vale Refei\xE7\xE3o",[bt.ValePresente]:"Vale Presente",[bt.ValeCombustivel]:"Vale Combust\xEDvel",[bt.BoletoBancario]:"Boleto Banc\xE1rio",[bt.DepositoBancario]:"Dep\xF3sito Banc\xE1rio",[bt.PIXDinamico]:"Pagamento Instant\xE2neo (PIX) - Din\xE2mico",[bt.TransferenciaBancaria]:"Transfer\xEAncia banc\xE1ria, Carteira Digital",[bt.ProgramaFidelidade]:"Programa fidelidade, Cashback, Cr\xE9d Virt",[bt.PIXEstatico]:"Pagamento Instant\xE2neo (PIX) - Est\xE1tico",[bt.CreditoEmLoja]:"Cr\xE9dito em Loja",[bt.PagamentoNaoInformado]:"Pagamento Eletr\xF4nico n\xE3o Informado - falha de hardware do sistema emissor",[bt.SemPagamento]:"Sem pagamento",[bt.PagamentoPosterior]:"Pagamento Posterior",[bt.Outros]:"Outros"};var _s=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(UC[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 Us=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 JR=pt(Fv(),1);var Fp=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!==be.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 JR.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:l}=this.builder.pageMargins(),u=this.builder.pageWidth()-p-l,d=p+(u-r)/2,f=this.builder.y();this.builder.save().translate(d,f).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:f+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 Dp=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),l=this.context.defaults.font,u=`${l}-Bold`;this.builder.row({left:e?.x??i,right:r},d=>this.builder.font(u).text(`CONSUMIDOR - ${n}`,{...d,align:"center"}).font(l)).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 l=n?`, ${n}`:"";return` - Rua ${o}, ${i}, ${r}${l}, ${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((u,d)=>u+d,0);let s=this.identification(n),{xNome:c,enderDest:p}=n,l=this.addressLine(p);return r.push(this.builder.heightOfString(`CONSUMIDOR - ${s}`,{width:i,align:"center"}),this.builder.heightOfString(`${c}${l}`,{width:i,align:"center"})),r.reduce((u,d)=>u+d,0)}};var Qr=require("nfets/core");var Ep=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:l}=this.context.data.infNFe.ide,u=Qr.timezones[l],d=(0,Qr.dateToolkit)(r).tz(u).format("DD/MM/YYYY HH:mm:ss"),f=this.context.defaults.font,y=`${f}-Bold`;this.builder.row({left:e?.x??c,right:p},S=>this.builder.font(y).text(`NFC-e n\xBA ${n} - s\xE9rie ${s} emitida em: ${d}`,{...S,align:"center"}).font(f))}protocoled(e,o){let{dhRecbto:i,nProt:r}=e,{left:n,right:s}=this.builder.pageMargins(),{cUF:c}=this.context.data.infNFe.ide,p=Qr.timezones[c],l=r.replace(/([0-9]{3})([0-9]{10})(.*)/g,"$1 $2 $3"),u=(0,Qr.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: ${l}
|
|
37
|
+
Data de autoriza\xE7\xE3o: ${u}`,{...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},s=>this.builder.text(`$(${o}) ${i}`,{...s,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:s,dhEmi:c}=this.context.data.infNFe.ide,p=n.padStart(9,"0"),l=s.padStart(3,"0"),{cUF:u}=this.context.data.infNFe.ide,d=Qr.timezones[u],f=(0,Qr.dateToolkit)(c).tz(d).format("DD/MM/YYYY HH:mm:ss");e.push(this.builder.heightOfString(`NFC-e n\xBA ${p} - s\xE9rie ${l} emitida em: ${f}`,{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 C=this.context.protNFe;if(C){let{dhRecbto:I,nProt:b}=C.infProt,w=b.replace(/([0-9]{3})([0-9]{10})(.*)/g,"$1 $2 $3"),F=(0,Qr.dateToolkit)(I).tz(d).format("DD/MM/YYYY HH:mm:ss");e.push(this.builder.heightOfString(`Protocolo de autoriza\xE7\xE3o: ${w}
|
|
38
|
+
Data de autoriza\xE7\xE3o: ${F}`,{width:r,align:"center"}))}return e.reduce((I,b)=>I+b,0)}};var Pp=class t{static{a(this,"AggregateRecipientToProtocols")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builders(){return[Dp.instance(this.context),Ep.instance(this.context),Li.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 If=.35277777777777775,Dv=.75,XR={"80mm":80/If},Ui="gerado por github.com/nfets/nfets";var Tp=class t{static{a(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===
|
|
42
|
-
S\xE9rie ${this.format.serie(a)}`,e+c,o+j(8),i-2*c,r-j(8)-c,{size:7,bold:!0,align:"center"})}};var Us=require("nfets/core");var Rf=class{static{s(this,"DanfeFormatter")}context;constructor(e){this.context=e}isNotEmpty(e){return!!e&&Number.parseFloat(e.toString())>0}emitted(e,o){let i=String(e??"0").trim(),r=i.startsWith("-"),n=r?i.slice(1):i,[a,c=""]=n.split("."),p=Math.min(Math.max(c.length,2),o),l=(a.replace(/\D/g,"")||"0").replace(/\B(?=(\d{3})+(?!\d))/g,"."),d=c.padEnd(p,"0").slice(0,p),h=`${l},${d}`;return r?`-${h}`:h}decimal(e,o=2,i=o){return new Us.Decimal(e??0).toNumber().toLocaleString("pt-BR",{minimumFractionDigits:o,maximumFractionDigits:i})}currency(e){return this.decimal(e,2)}percent(e){return`${this.decimal(e,2,4)}%`}document(e,o){return e?.length===14?e.replace(/([A-Z0-9]{2})([A-Z0-9]{3})([A-Z0-9]{3})([A-Z0-9]{4})([A-Z0-9]{2})/,"$1.$2.$3/$4-$5"):o?.length===11?o.replace(/(\d{3})(\d{3})(\d{3})(\d{2})/,"$1.$2.$3-$4"):e??o??""}cep(e){return e?e.replace(/(\d{5})(\d{3})/,"$1-$2"):""}phone(e){return e?e.replace(/^(\d{2})(\d{4,5})(\d{4})$/,"($1) $2-$3"):""}number(e){return e.padStart(9,"0").replace(/(\d{3})(\d{3})(\d{3})/,"$1.$2.$3")}serie(e){return e.padStart(3,"0")}blank(e){return this.sanitize(e)||"\u2014"}accessKey(){return this.accessKeyDigits().replace(/(.{4})/g,"$1 ").trim()}accessKeyDigits(){let{Id:e}=this.context.data.infNFe.$;return(e??"").replace(/^NFe/,"")}tz(e){let{cUF:o}=this.context.data.infNFe.ide;return(0,Us.dateToolkit)(e).tz(Us.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,Us.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 Nf=class{static{s(this,"FieldBox")}context;labelSize=5;valueSize=8;titleSize=6.5;muted="#595959";padding=2.5;rowHeight=j(7);radius=j(.8);constructor(e){this.context=e}get builder(){return this.context.builder}get titleHeight(){return this.titleSize*1.2+1}get labelHeight(){return this.labelSize*1.2}text(e,o,i,r,n,a){if(!e)return;this.builder.fillColor(a.color??"black").font(a.bold?this.context.bold:this.context.defaults.font).fontSize(a.size);let c=this.builder.currentLineHeight(!0);this.builder.text(e,{x:o,y:i,width:Math.max(r,1),height:Math.max(n,c+.5),align:a.align??"left",ellipsis:a.ellipsis??a.lineBreak!==!1,lineBreak:a.lineBreak,lineGap:0})}measure(e,o,i){return e?(this.builder.font(i.bold?this.context.bold:this.context.defaults.font).fontSize(i.size),this.builder.heightOfString(e,{width:o,lineGap:0})):0}rect(e,o,i,r){this.builder.roundedRect(e,o,i,r,this.radius).stroke()}box(e,o,i,r,n){let a=this.padding;if(this.rect(e,o,i,r),this.text(n.label,e+a,o+a,i-2*a,this.labelHeight,{size:this.labelSize,color:this.muted}),!n.value)return;let c=o+a+this.labelHeight+.5;this.text(n.value,e+a,c,i-2*a,o+r-c-.5,{size:n.valueSize??this.valueSize,bold:n.bold,align:n.align??"left"})}widths(e,o){let i=o.reduce((r,n)=>r+n,0);return o.map(r=>e*r/i)}row(e,o,i,r,n){let a=this.widths(i,n.map(p=>p.weight)),c=e;return n.forEach((p,u)=>{this.box(c,o,a[u],r,p),c+=a[u]}),r}grid(e,o,i,r,n,a=this.rowHeight){let c=i/n,p=this.gridRows(r.length,n);for(let u=0;u<p;u++){let l=r.slice(u*n,(u+1)*n);l.forEach((d,h)=>{let y=h===l.length-1,S=e+h*c,C=y?e+i-S:c;this.box(S,o+u*a,C,a,d)})}return p*a}gridRows(e,o){return Math.ceil(e/o)}widthOf(e,o){return e?(this.builder.font(o.bold?this.context.bold:this.context.defaults.font).fontSize(o.size),this.builder.widthOfString(e)):0}title(e,o,i,r){return this.text(r,e,o+1,i,this.titleHeight-1,{size:this.titleSize,bold:!0,color:"black"}),this.titleHeight}};var _N=require("nfets/core");var wf=class{static{s(this,"StatusMarks")}context;cancelled=["101","135","151","155"];denied=[ea.UsoDenegado,ea.NfeDenegada,ea.DenegadaIrregularidadeEmissor,ea.DenegadaIrregularidadeDestinatario,ea.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!==_N.Environment.Production}get isContingency(){return this.context.data.infNFe.ide.tpEmis!==mt.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===ht.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,h=(l.reduce((F,I)=>F+I,0)+d)*this.lineHeight,y=Math.min(1,r/h),S=c?p.length:p.length-1,{builder:C,fields:O}=this.context,b=o+Math.max((r-h*y)/2,0),w=s((F,I)=>{let q=I*y;O.text(F,e,b,i,q*this.lineHeight,{size:q,bold:!0,align:"center"}),b+=q*this.lineHeight},"write");C.save().fillColor("#000000",.3),p.forEach((F,I)=>{a&&I===S&&w(a,d),w(F,l[I])}),a&&S===p.length&&w(a,d),C.restore().fillColor("black")}};var Ap=class{static{s(this,"DanfePdfDocument")}stream;events=[];builder;toolkit=new qN.Xml2JsToolkit;format=new Rf(this);fields=new Nf(this);status=new wf(this);defaults={displayTitle:!0,font:"Helvetica",info:{Author:"nfets",Creator:"nfets",Keywords:"nfets, nfe, danfe, sefaz",Title:"Documento Auxiliar da Nota Fiscal Eletr\xF4nica",Subject:"DANFE NF-e"}};options={size:"A4",layout:"portrait",qComDecimals:4,vUnComDecimals:4,showCanhoto:!0,showItemBatch:!0,showItemComplement:!1,showItemOrderNumber:!1,breakItemDescription:!0,hideTaxUnit:!1,credits:_a};margins=Uf;gap=j(1);page={number:1,total:1};_blocks;get blocks(){return this._blocks??=this.createBlocks()}constructor(e){this.stream=e,this.builder=UN.PdfkitPdfBuilder.new(this.defaults).pipe(this.stream)}get bold(){return`${this.defaults.font}-Bold`}sideCanhotoWidth=0;contentInset(){return this.page.number>1||this.sideCanhotoWidth<=0?0:this.sideCanhotoWidth+Cg}get contentWidth(){let{left:e,right:o}=this.margins;return this.builder.pageWidth()-e-o-this.contentInset()}get contentX(){return this.margins.left+this.contentInset()}get det(){return this.asArray(this.data.infNFe.det)}asArray(e){return e==null?[]:Array.isArray(e)?e:[e]}apply(){this.builder.configure({size:this.options.size,margins:this.margins,layout:this.options.layout})}async parse(e){let o=await this.toolkit.parse(e);"protNFe"in o&&(this.protNFe=o.protNFe),"NFe"in o?(this.data=o.NFe,this.events=this.asArray(o.retEvento)):this.data=o}visible(e){return e.filter(o=>!!o&&o.visible())}stackHeight(e){return e.reduce((o,i)=>o+this.gap+i.height(),0)}get canhoto(){if(this.options.showCanhoto)return this.blocks.canhoto}get pageTop(){return this.margins.top}get pageBottom(){let{footer:e}=this.blocks;return this.builder.pageHeight()-this.margins.bottom-e.height()}itemSpace(e){let{header:o,firstPage:i,items:r}=this.blocks,n=this.pageBottom-this.pageTop,a=o.height()+this.gap+r.headerHeight(),c=e&&this.sideCanhotoWidth<=0?this.canhoto?.height()??0:0,p=e?this.stackHeight(this.visible(i)):0;return n-c-a-p}paginate(){let{items:e,lastPage:o}=this.blocks,i=[],r=[],n=0;this.page={number:1,total:1};let a=this.itemSpace(!0);for(let p of this.det){let u=e.itemHeight(p),l=n+u<=a,d=r.length>0||this.page.number===1;!l&&d&&(i.push(r),r=[],n=0,this.page={number:2,total:1},a=this.itemSpace(!1),u=e.itemHeight(p)),r.push(p),n+=u}let c=this.stackHeight(this.visible(o));return r.length>0&&n+c>a&&(i.push(r),r=[]),i.push(r),i.map((p,u)=>({items:p,isFirst:u===0,isLast:u===i.length-1}))}draw(e){let{header:o,firstPage:i,items:r,lastPage:n,footer:a}=this.blocks,c=this.contentX,p=this.contentWidth,u=this.pageTop,l=this.canhoto;if(e.isFirst&&l&&this.sideCanhotoWidth===0&&(l.build({x:c,y:u,width:p}),u+=l.height()),o.build({x:c,y:u,width:p}),u+=o.height(),e.isFirst)for(let S of this.visible(i))u+=this.gap,S.build({x:c,y:u,width:p}),u+=S.height();let d=this.visible(n),h=e.isLast?this.pageBottom-this.stackHeight(d):this.pageBottom,y=e.items.length>0||e.isLast;if(y&&(u+=this.gap,r.slice=e,r.boxHeight=h-u,r.build({x:c,y:u,width:p})),e.isLast){let S=y?h:u;for(let C of d)S+=this.gap,C.build({x:c,y:S,width:p}),S+=C.height()}a.build({x:c,y:this.pageBottom,width:p}),e.isFirst&&l&&this.sideCanhotoWidth>0&&l.build({x:this.margins.left,y:this.pageTop,width:this.sideCanhotoWidth,height:this.builder.pageHeight()-this.margins.top-this.margins.bottom})}async build(e){await this.parse(e),this.apply(),this.builder.page();let{canhoto:o,header:i,firstPage:r,items:n,lastPage:a,footer:c}=this.blocks,p=[o,i,...r,n,...a,c];for(let l of p)await l?.prepare();let u=this.paginate();return u.forEach((l,d)=>{d>0&&this.builder.page(),this.page={number:d+1,total:u.length},this.draw(l)}),this}end(){this.builder.end()}};var Of=class t{static{s(this,"Code128C")}static patterns=["212222","222122","222221","121223","121322","131222","122213","122312","132212","221213","221312","231212","112232","122132","122231","113222","123122","123221","223211","221132","221231","213212","223112","312131","311222","321122","321221","312212","322112","322211","212123","212321","232121","111323","131123","131321","112313","132113","132311","211313","231113","231311","112133","112331","132131","113123","113321","133121","313121","211331","231131","213113","213311","213131","311123","311321","331121","312113","312311","332111","314111","221411","431111","111224","111422","121124","121421","141122","141221","112214","112412","122114","122411","142112","142211","241211","221114","413111","241112","134111","111242","121142","121241","114212","124112","124211","411212","421112","421211","212141","214121","412121","111143","111341","131141","114113","114311","411113","411311","113141","114131","311141","411131","211412","211214","211232","2331112"];static startB=104;static startC=105;static latchB=100;static latchC=99;static stop=106;static codes(e){if(/^\d*$/.test(e)){if(e.length%2!==0)throw new Error("Code128C requires an even number of digits");let o=e.match(/\d{2}/g)?.map(Number)??[];return t.finish([t.startC,...o])}if(!/^[0-9A-Z]+$/.test(e))throw new Error("Code128 requires digits or uppercase letters");return t.finish(t.symbols(e))}static symbols(e){let o=[],i=0,r=t.digitRun(e,0)>=4?"C":"B";for(o.push(r==="C"?t.startC:t.startB);i<e.length;){if(r==="C"){let d=e.slice(i,i+2);if(/^\d{2}$/.test(d)){o.push(Number(d)),i+=2;continue}o.push(t.latchB),r="B";continue}let n=t.digitRun(e,i),a=n%2,c=(n-a)/2,p=c*2,l=i+a+p<e.length?1:0;if(c>=2&&a+1+c+l<a+p){for(let d=0;d<a;d+=1)o.push(e.charCodeAt(i)-32),i+=1;o.push(t.latchC),r="C";continue}o.push(e.charCodeAt(i)-32),i+=1}return o}static digitRun(e,o){let i=0;for(;e[o+i]>="0"&&e[o+i]<="9";)i+=1;return i}static finish(e){let o=e.reduce((i,r,n)=>n===0?r:i+r*n,0)%103;return[...e,o,t.stop]}static modules(e){return t.codes(e).flatMap(o=>t.patterns[o].split("").map(Number))}static draw(e,o,i,r,n,a){let c=t.modules(o),p=c.reduce((d,h)=>d+h,0),u=n/p;e.save().fillColor("black");let l=i;c.forEach((d,h)=>{let y=d*u;h%2===0&&e.rect(l,r,y,a),l+=y}),e.fill().restore()}};var Fp=class extends ze{static{s(this,"Header")}topHeight=j(32);emitWidth=j(80);danfeWidth=j(34);barcodeHeight=j(12);height(){let e=1+this.registrationRows().length;return this.topHeight+e*this.fields.rowHeight}get logo(){return this.context.options.logo}registrationRows(){let{emit:e}=this.infNFe;return[[{label:"INSCRI\xC7\xC3O ESTADUAL",value:this.format.blank(e.IE),weight:1},{label:"INSCRI\xC7\xC3O MUNICIPAL",value:this.format.blank(e.IM),weight:1},{label:"INSCRI\xC7\xC3O ESTADUAL DO SUBST. TRIBUT.",value:this.format.blank(e.IEST),weight:1},{label:"CNPJ / CPF",value:this.format.blank(this.format.document(e.CNPJ,e.CPF)),weight:1}]]}emitAddress(){let{enderEmit:e}=this.infNFe.emit,{xLgr:o,nro:i,xCpl:r,xBairro:n,CEP:a,xMun:c,UF:p,fone:u}=e,l=r?` - ${r}`:"",d=u?` Fone/Fax: ${this.format.phone(u)}`:"";return[`${o}, ${i}${l}`,`${n} - ${this.format.cep(a)}`,`${c} - ${p}${d}`].join(`
|
|
43
|
-
`)}drawEmit(e,o){let i=this.fields.padding,r=this.emitWidth,n=this.topHeight;this.fields.box(e,o,r,n,{label:"IDENTIFICA\xC7\xC3O DO EMITENTE"});let
|
|
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===Ui)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,l)=>p+l,0)}};var Ws=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[Pp.instance(this.context),Fp.instance(this.context),Tp.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 KR=require("stream"),$R=require("nfets/core"),Of=require("nfets/core");var ir=class{static{a(this,"DanfcePdfDocument")}stream;builder;toolkit=new Of.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*Dv,titleFontSize:11*Dv,credits:Ui};constructor(e){this.stream=e,this.builder=$R.PdfkitPdfBuilder.new(this.defaults).pipe(this.stream),this.apply()}async getDynamicHeight(e,o){let i=o(new KR.PassThrough);try{i.options={...this.options,height:1e4},i.apply(),i.builder.page(),await i.parse(e);for(let s of i.builders)await s.build();let{bottom:r}=i.pageMargins,n=i.builder.currentLineHeight(!0);return i.builder.y()+n+r}finally{i.end()}}pageMargins={top:12,right:8,bottom:8,left:8};height(){this.builder.page();let{top:e,bottom:o}=this.pageMargins;return this.builders.reduce((r,n)=>r+(n.height?.()??0),0)+e+o}apply(){this.builder.configure({size:[XR[this.options.width],this.options.height],margins:this.pageMargins,layout:"portrait"})}async parse(e){let o=await this.toolkit.parse(e);"protNFe"in o&&(this.protNFe=o.protNFe),"NFe"in o?this.data=o.NFe:this.data=o}async build(e){await this.parse(e),this.options.height=await this.getDynamicHeight(e,this.clone.bind(this)),this.apply(),this.builder.page();for(let o of this.builders)await o.build();return this}end(){return this.builder.end(),this.builders.map(e=>e.end()),void 0}currency(e,o=2){return new Of.Decimal(e).toNumber().toLocaleString("pt-BR",{minimumFractionDigits:2,maximumFractionDigits:o})}isValueNotEmpty(e){return!!e&&Number.parseFloat(e.toString())>0}setCredits(e=Ui){return this.options.credits=e===!1?void 0:e,this}setLogo(e){return this.options.logo=e,this}};var Ev=class t extends ir{static{a(this,"DanfceDefaultPdfDocument")}clone(e){return new t(e)}get builders(){return[Bs.instance(this),Li.instance(this),Ms.instance(this),Ls.instance(this),Vs.instance(this),_s.instance(this),Us.instance(this),Ws.instance(this)]}};var Pv=class t extends ir{static{a(this,"DanfceReducedPdfDocument")}clone(e){return new t(e)}get builders(){return[Bs.instance(this),Li.instance(this),Ms.instance(this),Vs.instance(this),_s.instance(this),Us.instance(this),Ws.instance(this)]}};var tw=require("nfets/core"),ow=require("nfets/core");var je=class{static{a(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 Tv=j(4),zp=class extends je{static{a(this,"Canhoto")}textHeight=j(10);signatureHeight=j(7);numberWidth=j(35);spacing=Tv;innerPad=j(1.2);height(){return this.textHeight+this.signatureHeight+this.spacing}receivedText(e=!0){let{emit:o,dest:i,ide:r,total:n}=this.infNFe,s=e?"AO LADO":"ABAIXO",c=[`RECEBEMOS DE ${o.xNome} OS PRODUTOS E/OU SERVI\xC7OS CONSTANTES DA NOTA FISCAL ELETR\xD4NICA INDICADA ${s}.`,`EMISS\xC3O: ${this.format.date(r.dhEmi)}`,`VALOR TOTAL: R$ ${this.format.currency(n.ICMSTot.vNF)}`];if(i?.xNome){let p=i.enderDest,l=p?` - ${[p.xLgr,p.nro].filter(Boolean).join(", ")} ${p.xBairro??""} ${p.xMun??""}-${p.UF??""}`:"";c.push(`DESTINAT\xC1RIO: ${i.xNome}${l}`)}return c.join(" ")}draw(e){if(e.height)return this.drawSide(e);this.drawTop(e)}drawSide({x:e,y:o,width:i,height:r=0}){let n=j(24),s=Math.max(r-n,0);this.fields.rect(e,o,i,r),this.drawNumber(e,o,i,n),this.drawRotated([this.receivedText(!1),"DATA DE RECEBIMENTO","IDENTIFICA\xC7\xC3O E ASSINATURA DO RECEBEDOR"].join(" "),e,o+n,i,s),this.drawCut(e+i+this.spacing/2,o,e+i+this.spacing/2,o+r)}drawRotated(e,o,i,r,n){let s=this.innerPad;this.builder.save().translate(o,i+n).rotate(-90),this.fields.text(e,s,s,n-2*s,r-2*s,{size:6}),this.builder.restore()}drawCut(e,o,i,r){this.builder.save().lineWidth(.6).dash(4,{space:3}).moveTo(e,o).lineTo(i,r).stroke().undash().restore()}drawTop({x:e,y:o,width:i}){let r=this.innerPad,n=i-this.numberWidth;this.fields.rect(e,o,n,this.textHeight),this.fields.text(this.receivedText(),e+r,o+r,n-2*r,this.textHeight-2*r,{size:6.5}),this.fields.row(e,o+this.textHeight,n,this.signatureHeight,[{label:"DATA DE RECEBIMENTO",weight:40},{label:"IDENTIFICA\xC7\xC3O E ASSINATURA DO RECEBEDOR",weight:125}]);let s=this.textHeight+this.signatureHeight;this.drawNumber(e+n,o,this.numberWidth,s);let c=o+s+this.spacing/2;this.drawCut(e,c,e+i,c)}drawNumber(e,o,i,r){let{nNF:n,serie:s}=this.infNFe.ide,c=this.innerPad;this.fields.rect(e,o,i,r),this.fields.text("NF-e",e+c,o+j(2.5),i-2*c,16,{size:12,bold:!0,align:"center"}),this.fields.text(`N\xBA. ${this.format.number(n)}
|
|
42
|
+
S\xE9rie ${this.format.serie(s)}`,e+c,o+j(8),i-2*c,r-j(8)-c,{size:7,bold:!0,align:"center"})}};var Ja=require("nfets/core");var Af=class{static{a(this,"DanfeFormatter")}context;constructor(e){this.context=e}isNotEmpty(e){return!!e&&Number.parseFloat(e.toString())>0}emitted(e,o){let i=String(e??"0").trim(),r=i.startsWith("-"),n=r?i.slice(1):i,[s,c=""]=n.split("."),p=Math.min(Math.max(c.length,2),o),u=(s.replace(/\D/g,"")||"0").replace(/\B(?=(\d{3})+(?!\d))/g,"."),d=c.padEnd(p,"0").slice(0,p),f=`${u},${d}`;return r?`-${f}`:f}decimal(e,o=2,i=o){return new Ja.Decimal(e??0).toNumber().toLocaleString("pt-BR",{minimumFractionDigits:o,maximumFractionDigits:i})}currency(e){return this.decimal(e,2)}percent(e){return`${this.decimal(e,2,4)}%`}document(e,o){return e?.length===14?e.replace(/([A-Z0-9]{2})([A-Z0-9]{3})([A-Z0-9]{3})([A-Z0-9]{4})([A-Z0-9]{2})/,"$1.$2.$3/$4-$5"):o?.length===11?o.replace(/(\d{3})(\d{3})(\d{3})(\d{2})/,"$1.$2.$3-$4"):e??o??""}cep(e){return e?e.replace(/(\d{5})(\d{3})/,"$1-$2"):""}phone(e){return e?e.replace(/^(\d{2})(\d{4,5})(\d{4})$/,"($1) $2-$3"):""}number(e){return e.padStart(9,"0").replace(/(\d{3})(\d{3})(\d{3})/,"$1.$2.$3")}serie(e){return e.padStart(3,"0")}blank(e){return this.sanitize(e)||"\u2014"}accessKey(){return this.accessKeyDigits().replace(/(.{4})/g,"$1 ").trim()}accessKeyDigits(){let{Id:e}=this.context.data.infNFe.$;return(e??"").replace(/^NFe/,"")}tz(e){let{cUF:o}=this.context.data.infNFe.ide;return(0,Ja.dateToolkit)(e).tz(Ja.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,Ja.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 Ff=class{static{a(this,"FieldBox")}context;labelSize=5;valueSize=8;titleSize=6.5;muted="#595959";padding=2.5;rowHeight=j(7);radius=j(.8);constructor(e){this.context=e}get builder(){return this.context.builder}get titleHeight(){return this.titleSize*1.2+1}get labelHeight(){return this.labelSize*1.2}text(e,o,i,r,n,s){if(!e)return;this.builder.fillColor(s.color??"black").font(s.bold?this.context.bold:this.context.defaults.font).fontSize(s.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:s.align??"left",ellipsis:s.ellipsis??s.lineBreak!==!1,lineBreak:s.lineBreak,lineGap:0})}measure(e,o,i){return e?(this.builder.font(i.bold?this.context.bold:this.context.defaults.font).fontSize(i.size),this.builder.heightOfString(e,{width:o,lineGap:0})):0}rect(e,o,i,r){this.builder.roundedRect(e,o,i,r,this.radius).stroke()}box(e,o,i,r,n){let s=this.padding;if(this.rect(e,o,i,r),this.text(n.label,e+s,o+s,i-2*s,this.labelHeight,{size:this.labelSize,color:this.muted}),!n.value)return;let c=o+s+this.labelHeight+.5;this.text(n.value,e+s,c,i-2*s,o+r-c-.5,{size:n.valueSize??this.valueSize,bold:n.bold,align:n.align??"left"})}widths(e,o){let i=o.reduce((r,n)=>r+n,0);return o.map(r=>e*r/i)}row(e,o,i,r,n){let s=this.widths(i,n.map(p=>p.weight)),c=e;return n.forEach((p,l)=>{this.box(c,o,s[l],r,p),c+=s[l]}),r}grid(e,o,i,r,n,s=this.rowHeight){let c=i/n,p=this.gridRows(r.length,n);for(let l=0;l<p;l++){let u=r.slice(l*n,(l+1)*n);u.forEach((d,f)=>{let y=f===u.length-1,S=e+f*c,C=y?e+i-S:c;this.box(S,o+l*s,C,s,d)})}return p*s}gridRows(e,o){return Math.ceil(e/o)}widthOf(e,o){return e?(this.builder.font(o.bold?this.context.bold:this.context.defaults.font).fontSize(o.size),this.builder.widthOfString(e)):0}title(e,o,i,r){return this.text(r,e,o+1,i,this.titleHeight-1,{size:this.titleSize,bold:!0,color:"black"}),this.titleHeight}};var ew=require("nfets/core");var Df=class{static{a(this,"StatusMarks")}context;cancelled=["101","135","151","155"];denied=[ns.UsoDenegado,ns.NfeDenegada,ns.DenegadaIrregularidadeEmissor,ns.DenegadaIrregularidadeDestinatario,ns.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!==ew.Environment.Production}get isContingency(){return this.context.data.infNFe.ide.tpEmis!==be.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===ht.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:s,valid:c}=this.status(),p=c?n:[...n,this.invalid];if(!p.length)return;let l=i*.9,u=p.map(F=>this.fit(F,this.messageSize,l)),d=s?this.fit(s,this.detailSize,l):0,f=(u.reduce((F,O)=>F+O,0)+d)*this.lineHeight,y=Math.min(1,r/f),S=c?p.length:p.length-1,{builder:C,fields:I}=this.context,b=o+Math.max((r-f*y)/2,0),w=a((F,O)=>{let q=O*y;I.text(F,e,b,i,q*this.lineHeight,{size:q,bold:!0,align:"center"}),b+=q*this.lineHeight},"write");C.save().fillColor("#000000",.3),p.forEach((F,O)=>{s&&O===S&&w(s,d),w(F,u[O])}),s&&S===p.length&&w(s,d),C.restore().fillColor("black")}};var jp=class{static{a(this,"DanfePdfDocument")}stream;events=[];builder;toolkit=new ow.Xml2JsToolkit;format=new Af(this);fields=new Ff(this);status=new Df(this);defaults={displayTitle:!0,font:"Helvetica",info:{Author:"nfets",Creator:"nfets",Keywords:"nfets, nfe, danfe, sefaz",Title:"Documento Auxiliar da Nota Fiscal Eletr\xF4nica",Subject:"DANFE NF-e"}};options={size:"A4",layout:"portrait",qComDecimals:4,vUnComDecimals:4,showCanhoto:!0,showItemBatch:!0,showItemComplement:!1,showItemOrderNumber:!1,breakItemDescription:!0,hideTaxUnit:!1,credits:Ui};margins=Kf;gap=j(1);page={number:1,total:1};_blocks;get blocks(){return this._blocks??=this.createBlocks()}constructor(e){this.stream=e,this.builder=tw.PdfkitPdfBuilder.new(this.defaults).pipe(this.stream)}get bold(){return`${this.defaults.font}-Bold`}sideCanhotoWidth=0;contentInset(){return this.page.number>1||this.sideCanhotoWidth<=0?0:this.sideCanhotoWidth+Tv}get contentWidth(){let{left:e,right:o}=this.margins;return this.builder.pageWidth()-e-o-this.contentInset()}get contentX(){return this.margins.left+this.contentInset()}get det(){return this.asArray(this.data.infNFe.det)}asArray(e){return e==null?[]:Array.isArray(e)?e:[e]}apply(){this.builder.configure({size:this.options.size,margins:this.margins,layout:this.options.layout})}async parse(e){let o=await this.toolkit.parse(e);"protNFe"in o&&(this.protNFe=o.protNFe),"NFe"in o?(this.data=o.NFe,this.events=this.asArray(o.retEvento)):this.data=o}visible(e){return e.filter(o=>!!o&&o.visible())}stackHeight(e){return e.reduce((o,i)=>o+this.gap+i.height(),0)}get canhoto(){if(this.options.showCanhoto)return this.blocks.canhoto}get pageTop(){return this.margins.top}get pageBottom(){let{footer:e}=this.blocks;return this.builder.pageHeight()-this.margins.bottom-e.height()}itemSpace(e){let{header:o,firstPage:i,items:r}=this.blocks,n=this.pageBottom-this.pageTop,s=o.height()+this.gap+r.headerHeight(),c=e&&this.sideCanhotoWidth<=0?this.canhoto?.height()??0:0,p=e?this.stackHeight(this.visible(i)):0;return n-c-s-p}paginate(){let{items:e,lastPage:o}=this.blocks,i=[],r=[],n=0;this.page={number:1,total:1};let s=this.itemSpace(!0);for(let p of this.det){let l=e.itemHeight(p),u=n+l<=s,d=r.length>0||this.page.number===1;!u&&d&&(i.push(r),r=[],n=0,this.page={number:2,total:1},s=this.itemSpace(!1),l=e.itemHeight(p)),r.push(p),n+=l}let c=this.stackHeight(this.visible(o));return r.length>0&&n+c>s&&(i.push(r),r=[]),i.push(r),i.map((p,l)=>({items:p,isFirst:l===0,isLast:l===i.length-1}))}draw(e){let{header:o,firstPage:i,items:r,lastPage:n,footer:s}=this.blocks,c=this.contentX,p=this.contentWidth,l=this.pageTop,u=this.canhoto;if(e.isFirst&&u&&this.sideCanhotoWidth===0&&(u.build({x:c,y:l,width:p}),l+=u.height()),o.build({x:c,y:l,width:p}),l+=o.height(),e.isFirst)for(let S of this.visible(i))l+=this.gap,S.build({x:c,y:l,width:p}),l+=S.height();let d=this.visible(n),f=e.isLast?this.pageBottom-this.stackHeight(d):this.pageBottom,y=e.items.length>0||e.isLast;if(y&&(l+=this.gap,r.slice=e,r.boxHeight=f-l,r.build({x:c,y:l,width:p})),e.isLast){let S=y?f:l;for(let C of d)S+=this.gap,C.build({x:c,y:S,width:p}),S+=C.height()}s.build({x:c,y:this.pageBottom,width:p}),e.isFirst&&u&&this.sideCanhotoWidth>0&&u.build({x:this.margins.left,y:this.pageTop,width:this.sideCanhotoWidth,height:this.builder.pageHeight()-this.margins.top-this.margins.bottom})}async build(e){await this.parse(e),this.apply(),this.builder.page();let{canhoto:o,header:i,firstPage:r,items:n,lastPage:s,footer:c}=this.blocks,p=[o,i,...r,n,...s,c];for(let u of p)await u?.prepare();let l=this.paginate();return l.forEach((u,d)=>{d>0&&this.builder.page(),this.page={number:d+1,total:l.length},this.draw(u)}),this}setCredits(e=Ui){return this.options.credits=e===!1?void 0:e,this}end(){this.builder.end()}};var Bp=class t{static{a(this,"Code128C")}static patterns=["212222","222122","222221","121223","121322","131222","122213","122312","132212","221213","221312","231212","112232","122132","122231","113222","123122","123221","223211","221132","221231","213212","223112","312131","311222","321122","321221","312212","322112","322211","212123","212321","232121","111323","131123","131321","112313","132113","132311","211313","231113","231311","112133","112331","132131","113123","113321","133121","313121","211331","231131","213113","213311","213131","311123","311321","331121","312113","312311","332111","314111","221411","431111","111224","111422","121124","121421","141122","141221","112214","112412","122114","122411","142112","142211","241211","221114","413111","241112","134111","111242","121142","121241","114212","124112","124211","411212","421112","421211","212141","214121","412121","111143","111341","131141","114113","114311","411113","411311","113141","114131","311141","411131","211412","211214","211232","2331112"];static startB=104;static startC=105;static latchB=100;static latchC=99;static stop=106;static codes(e){if(/^\d*$/.test(e)){if(e.length%2!==0)throw new Error("Code128C requires an even number of digits");let o=e.match(/\d{2}/g)?.map(Number)??[];return t.finish([t.startC,...o])}if(!/^[0-9A-Z]+$/.test(e))throw new Error("Code128 requires digits or uppercase letters");return t.finish(t.symbols(e))}static symbols(e){let o=[],i=0,r=t.digitRun(e,0)>=4?"C":"B";for(o.push(r==="C"?t.startC:t.startB);i<e.length;){if(r==="C"){let d=e.slice(i,i+2);if(/^\d{2}$/.test(d)){o.push(Number(d)),i+=2;continue}o.push(t.latchB),r="B";continue}let n=t.digitRun(e,i),s=n%2,c=(n-s)/2,p=c*2,u=i+s+p<e.length?1:0;if(c>=2&&s+1+c+u<s+p){for(let d=0;d<s;d+=1)o.push(e.charCodeAt(i)-32),i+=1;o.push(t.latchC),r="C";continue}o.push(e.charCodeAt(i)-32),i+=1}return o}static digitRun(e,o){let i=0;for(;e[o+i]>="0"&&e[o+i]<="9";)i+=1;return i}static finish(e){let o=e.reduce((i,r,n)=>n===0?r:i+r*n,0)%103;return[...e,o,t.stop]}static modules(e){return t.codes(e).flatMap(o=>t.patterns[o].split("").map(Number))}static draw(e,o,i,r,n,s){let c=t.modules(o),p=c.reduce((d,f)=>d+f,0),l=n/p;e.save().fillColor("black");let u=i;c.forEach((d,f)=>{let y=d*l;f%2===0&&e.rect(u,r,y,s),u+=y}),e.fill().restore()}};var Mp=class extends je{static{a(this,"Header")}topHeight=j(32);emitWidth=j(80);danfeWidth=j(34);barcodeHeight=j(12);height(){let e=1+this.registrationRows().length;return this.topHeight+e*this.fields.rowHeight}get logo(){return this.context.options.logo}registrationRows(){let{emit:e}=this.infNFe;return[[{label:"INSCRI\xC7\xC3O ESTADUAL",value:this.format.blank(e.IE),weight:1},{label:"INSCRI\xC7\xC3O MUNICIPAL",value:this.format.blank(e.IM),weight:1},{label:"INSCRI\xC7\xC3O ESTADUAL DO SUBST. TRIBUT.",value:this.format.blank(e.IEST),weight:1},{label:"CNPJ / CPF",value:this.format.blank(this.format.document(e.CNPJ,e.CPF)),weight:1}]]}emitAddress(){let{enderEmit:e}=this.infNFe.emit,{xLgr:o,nro:i,xCpl:r,xBairro:n,CEP:s,xMun:c,UF:p,fone:l}=e,u=r?` - ${r}`:"",d=l?` Fone/Fax: ${this.format.phone(l)}`:"";return[`${o}, ${i}${u}`,`${n} - ${this.format.cep(s)}`,`${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 s=o+i+this.fields.labelHeight,c=o+n-i-s,p=j(1),l=this.logo,u=l?c:0,d=e+i+u+(l?p:0),f=r-2*i-u-(l?p:0),{xNome:y}=this.infNFe.emit,S=this.emitAddress(),C=Math.min(this.fields.measure(y,f,{size:9,bold:!0}),j(10)),I=Math.min(this.fields.measure(S,f,{size:7}),c-C-p),b=C+p+I,w=s+Math.max((c-b)/2,0),F=w+C+p;l&&this.builder.image(l,e+i,s,{fit:[u,c],align:"center",valign:"center"}),this.fields.text(y,d,w,f,C,{size:9,bold:!0,align:"center"}),this.fields.text(S,d,F,f,I,{size:7,align:"center"})}drawDanfe(e,o){let i=this.danfeWidth,{tpNF:r,nNF:n,serie:s}=this.infNFe.ide,{number:c,total:p}=this.context.page;this.fields.rect(e,o,i,this.topHeight),this.fields.text("DANFE",e,o+j(1.5),i,14,{size:12,bold:!0,align:"center"}),this.fields.text(`Documento Auxiliar da Nota
|
|
44
44
|
Fiscal Eletr\xF4nica`,e,o+j(6.5),i,j(6),{size:7,align:"center"}),this.fields.text(`0 - ENTRADA
|
|
45
|
-
1 - SA\xCDDA`,e+j(4),o+j(13),j(20),j(6),{size:7});let
|
|
46
|
-
S\xE9rie ${this.format.serie(
|
|
47
|
-
Folha ${c}/${p}`,e,o+j(20.5),i,j(11),{size:8,bold:!0,align:"center"})}drawAccessKey(e,o,i){let r=this.fields.padding,n=this.format.accessKeyDigits();this.fields.rect(e,o,i,this.barcodeHeight),n.length===44&&
|
|
48
|
-
www.nfe.fazenda.gov.br/portal ou no site da Sefaz Autorizadora`,e+r,c+j(2.5),i-2*r,p-j(2.5),{size:7.5,align:"center"})}protocolCell(){let e=this.context.protNFe?.infProt;if(e)return{label:"PROTOCOLO DE AUTORIZA\xC7\xC3O DE USO",value:`${e.nProt} - ${this.format.dateTime(e.dhRecbto)}`,weight:86};let{dhCont:o}=this.infNFe.ide;return{label:"PROTOCOLO DE AUTORIZA\xC7\xC3O DE USO",value:this.context.status.isContingency?`EMITIDA EM CONTING\xCANCIA ${this.format.dateTime(o)}`.trim():"",weight:86}}draw({x:e,y:o,width:i}){this.drawEmit(e,o),this.drawDanfe(e+this.emitWidth,o);let r=e+this.emitWidth+this.danfeWidth;this.drawAccessKey(r,o,e+i-r);let n=o+this.topHeight;this.fields.row(e,n,i,this.fields.rowHeight,[{label:"NATUREZA DA OPERA\xC7\xC3O",value:this.infNFe.ide.natOp,weight:114},this.protocolCell()]);for(let a of this.registrationRows())n+=this.fields.rowHeight,this.fields.row(e,n,i,this.fields.rowHeight,a)}};var Dp=class extends ze{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,h=r?.idEstrangeiro??this.format.document(r?.CNPJ,r?.CPF);this.fields.row(e,u,i,c,[{label:"NOME / RAZ\xC3O SOCIAL",value:this.format.blank(r?.xNome),weight:120},{label:"CNPJ / CPF",value:this.format.blank(h),weight:45},{label:"DATA DA EMISS\xC3O",value:this.format.blank(this.format.date(n.dhEmi)),weight:35}]),u+=c,this.fields.row(e,u,i,c,[{label:"ENDERE\xC7O",value:this.format.blank(d),weight:105},{label:"BAIRRO / DISTRITO",value:this.format.blank(a?.xBairro),weight:38},{label:"CEP",value:this.format.blank(this.format.cep(a?.CEP)),weight:22},{label:"DATA DA SA\xCDDA/ENTRADA",value:this.format.blank(this.format.date(p)),weight:35}]),u+=c,this.fields.row(e,u,i,c,[{label:"MUNIC\xCDPIO",value:this.format.blank(a?.xMun),weight:70},{label:"FONE / FAX",value:this.format.blank(this.format.phone(a?.fone)),weight:35},{label:"UF",value:this.format.blank(a?.UF),weight:10},{label:"INSCRI\xC7\xC3O ESTADUAL",value:this.format.blank(r?.IE),weight:50},{label:"HORA DA SA\xCDDA/ENTRADA",value:this.format.blank(this.format.time(p)),weight:35}])}},Ua=class extends ze{static{s(this,"Location")}kind;constructor(e,o){super(e),this.kind=o}get local(){return this.infNFe[this.kind]}get title(){return this.kind==="retirada"?"INFORMA\xC7\xD5ES DO LOCAL DE RETIRADA":"INFORMA\xC7\xD5ES DO LOCAL DE ENTREGA"}visible(){return!!this.local}height(){return this.fields.titleHeight+2*this.fields.rowHeight}draw({x:e,y:o,width:i}){let r=this.local;if(!r)return;let n=this.fields.rowHeight,a=o+this.fields.title(e,o,i,this.title),c=r.xCpl?` - ${r.xCpl}`:"";this.fields.row(e,a,i,n,[{label:"NOME / RAZ\xC3O SOCIAL",value:this.format.blank(r.xNome),weight:120},{label:"CNPJ / CPF",value:this.format.blank(this.format.document(r.CNPJ,r.CPF)),weight:40},{label:"INSCRI\xC7\xC3O ESTADUAL",value:this.format.blank(r.IE),weight:40}]),a+=n,this.fields.row(e,a,i,n,[{label:"ENDERE\xC7O",value:this.format.blank(`${r.xLgr}, ${r.nro}${c}`),weight:80},{label:"BAIRRO / DISTRITO",value:this.format.blank(r.xBairro),weight:40},{label:"MUNIC\xCDPIO",value:this.format.blank(r.xMun),weight:40},{label:"UF",value:this.format.blank(r.UF),weight:10},{label:"CEP",value:this.format.blank(this.format.cep(r.CEP)),weight:30}])}};var Ep=class extends ze{static{s(this,"Invoices")}title="FATURA / DUPLICATAS";perRow=5;valueSize=6;limit=21;cellHeight=j(10);get duplicates(){return this.context.asArray(this.infNFe.cobr?.dup).slice(0,this.limit)}visible(){let{cobr:e}=this.infNFe;return!!e&&(this.duplicates.length>0||!!e.fat)}rows(){let e=this.duplicates.length;return e?this.fields.gridRows(e,this.perRow):1}height(){return this.duplicates.length?this.fields.titleHeight+this.rows()*this.cellHeight:this.fields.titleHeight+this.fields.rowHeight}drawFat(e,o,i){let r=this.infNFe.cobr?.fat;this.fields.row(e,o,i,this.fields.rowHeight,[{label:"N\xDAMERO DA FATURA",value:r?.nFat,weight:1},{label:"VALOR ORIGINAL",value:this.format.currency(r?.vOrig),weight:1,align:"right"},{label:"VALOR DO DESCONTO",value:this.format.currency(r?.vDesc),weight:1,align:"right"},{label:"VALOR L\xCDQUIDO",value:this.format.currency(r?.vLiq),weight:1,align:"right"}])}draw({x:e,y:o,width:i}){let r=o+this.fields.title(e,o,i,this.title),n=this.duplicates;if(!n.length)return this.drawFat(e,r,i);let a=this.fields.padding,c=i/this.perRow;n.forEach((p,u)=>{let l=Math.floor(u/this.perRow),d=u%this.perRow,h=e+d*c,y=r+l*this.cellHeight;this.fields.rect(h,y,c,this.cellHeight);let S=[["Num.",p.nDup??""],["Venc.",this.format.plainDate(p.dVenc)],["Valor",`R$ ${this.format.currency(p.vDup)}`]],C=this.valueSize;this.builder.font(this.context.defaults.font).fontSize(C);let O=this.builder.currentLineHeight(!0),b=h+c-a;S.forEach(([w,F],I)=>{let q=y+a+I*O,Z=this.fields.widthOf(w,{size:C});this.fields.text(w,h+a,q,Z,O,{size:C});let W=h+a+Z+2;this.fields.text(F,W,q,Math.max(b-W,1),O,{size:C,align:"right",lineBreak:!1,ellipsis:!0})})})}};var If=class extends ze{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 HN=require("nfets/core");var Cu=class extends ze{static{s(this,"Transport")}title="TRANSPORTADOR / VOLUMES TRANSPORTADOS";conditional=!1;modFrete={0:"0-Por conta do remetente",1:"1-Por conta do destinat\xE1rio",2:"2-Por conta de terceiros",3:"3-Pr\xF3prio por conta do remetente",4:"4-Pr\xF3prio por conta do destinat\xE1rio",9:"9-Sem transporte"};get volumes(){return this.context.asArray(this.infNFe.transp.vol)}visible(){if(!this.conditional)return!0;let{transporta:e,veicTransp:o}=this.infNFe.transp;return!!e||!!o||this.volumes.length>0}height(){return this.fields.titleHeight+3*this.fields.rowHeight}sum(e,o){let i=this.volumes.map(n=>n[e]).filter(n=>n!==void 0&&n!=="");if(!i.length)return"";let r=i.reduce((n,a)=>new HN.Decimal(n).plus(a??0).toString(),"0");return this.format.decimal(r,o)}draw({x:e,y:o,width:i}){let{modFrete:r,transporta:n,veicTransp:a}=this.infNFe.transp,c=this.volumes.at(0),p=this.fields.rowHeight,u=o+this.fields.title(e,o,i,this.title),l=s(d=>this.format.blank(d),"blank");this.fields.row(e,u,i,p,[{label:"NOME / RAZ\xC3O SOCIAL",value:l(n?.xNome),weight:62},{label:"FRETE",value:l(this.modFrete[r]??r),weight:40},{label:"C\xD3DIGO ANTT",value:l(a?.RNTC),weight:22},{label:"PLACA DO VE\xCDCULO",value:l(a?.placa),weight:22},{label:"UF",value:l(a?.UF),weight:10},{label:"CNPJ / CPF",value:l(this.format.document(n?.CNPJ,n?.CPF)),weight:34}]),u+=p,this.fields.row(e,u,i,p,[{label:"ENDERE\xC7O",value:l(n?.xEnder),weight:102},{label:"MUNIC\xCDPIO",value:l(n?.xMun),weight:44},{label:"UF",value:l(n?.UF),weight:10},{label:"INSCRI\xC7\xC3O ESTADUAL",value:l(n?.IE),weight:34}]),u+=p,this.fields.row(e,u,i,p,[{label:"QUANTIDADE",value:l(this.sum("qVol",0)),weight:15,align:"right"},{label:"ESP\xC9CIE",value:l(c?.esp),weight:42.5},{label:"MARCA",value:l(c?.marca),weight:42.5},{label:"NUMERA\xC7\xC3O",value:l(c?.nVol),weight:35},{label:"PESO BRUTO",value:l(this.sum("pesoB",3)),weight:37.5,align:"right"},{label:"PESO L\xCDQUIDO",value:l(this.sum("pesoL",3)),weight:37.5,align:"right"}])}},Af=class extends Cu{static{s(this,"ConditionalTransport")}conditional=!0};var kN=require("nfets/core");var qa=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 hasTaxUnit(){let{uTrib:e,qTrib:o,vUnCom:i,vUnTrib:r}=this.det.prod,n=s(a=>new kN.Decimal(a??0).toFixed(2),"fixed");return!!e&&!!o&&n(i)!==n(r)}};var Ff=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 qa(e).icms,i=e.imposto?.ICMSUFDest;return[...this.icmsTaxes.map(([r,n])=>this.tax(o[r],n)),...i?this.icmsUfDestTaxes.map(([r,n])=>this.tax(i[r],n)):[]].join("")}infAdProd(e){return(e.infAdProd??"").substring(0,this.maxAdditionalInfo).trim()}additionalInfo(e){let o=this.infAdProd(e);return o?`${o} `:""}anvisa(e){let o=e.prod.med?.cProdANVISA;return!this.options.showItemBatch||!o?"":`ANVISA: ${o}`}batch(e){let o=this.context.asArray(e.prod.rastro);if(!this.options.showItemBatch||o.length!==1)return"";let[{nLote:i,qLote:r,dFab:n,dVal:a}]=o,{format:c}=this.context;return[i?` Lote: ${i}`:"",r?` Quant: ${r.toString()}`:"",` Fab: ${c.plainDate(n)}`,` Val: ${c.plainDate(a)} `].join("")}fci(e){return e.prod.nFCI?` FCI:${e.prod.nFCI}`:""}label(e,o){return`${o}-${e[Number.parseInt(o,10)]??""}`}lines(e){return e.map(([o,i])=>`${o}: ${i??""}`).join(`
|
|
45
|
+
1 - SA\xCDDA`,e+j(4),o+j(13),j(20),j(6),{size:7});let l=j(6),u=e+i-l-j(4),d=o+j(13);this.fields.rect(u,d,l,l),this.fields.text(r,u,d+j(1),l,l,{size:11,bold:!0,align:"center"}),this.fields.text(`N\xBA. ${this.format.number(n)}
|
|
46
|
+
S\xE9rie ${this.format.serie(s)}
|
|
47
|
+
Folha ${c}/${p}`,e,o+j(20.5),i,j(11),{size:8,bold:!0,align:"center"})}drawAccessKey(e,o,i){let r=this.fields.padding,n=this.format.accessKeyDigits();this.fields.rect(e,o,i,this.barcodeHeight),n.length===44&&Bp.draw(this.builder,n,e+j(3),o+j(1.5),i-j(6),this.barcodeHeight-j(3));let s=o+this.barcodeHeight;this.fields.box(e,s,i,this.fields.rowHeight,{label:"CHAVE DE ACESSO",value:this.format.accessKey(),align:"center"});let c=s+this.fields.rowHeight,p=this.topHeight-this.barcodeHeight-this.fields.rowHeight;this.fields.rect(e,c,i,p),this.fields.text(`Consulta de autenticidade no portal nacional da NF-e
|
|
48
|
+
www.nfe.fazenda.gov.br/portal ou no site da Sefaz Autorizadora`,e+r,c+j(2.5),i-2*r,p-j(2.5),{size:7.5,align:"center"})}protocolCell(){let e=this.context.protNFe?.infProt;if(e)return{label:"PROTOCOLO DE AUTORIZA\xC7\xC3O DE USO",value:`${e.nProt} - ${this.format.dateTime(e.dhRecbto)}`,weight:86};let{dhCont:o}=this.infNFe.ide;return{label:"PROTOCOLO DE AUTORIZA\xC7\xC3O DE USO",value:this.context.status.isContingency?`EMITIDA EM CONTING\xCANCIA ${this.format.dateTime(o)}`.trim():"",weight:86}}draw({x:e,y:o,width:i}){this.drawEmit(e,o),this.drawDanfe(e+this.emitWidth,o);let r=e+this.emitWidth+this.danfeWidth;this.drawAccessKey(r,o,e+i-r);let n=o+this.topHeight;this.fields.row(e,n,i,this.fields.rowHeight,[{label:"NATUREZA DA OPERA\xC7\xC3O",value:this.infNFe.ide.natOp,weight:114},this.protocolCell()]);for(let s of this.registrationRows())n+=this.fields.rowHeight,this.fields.row(e,n,i,this.fields.rowHeight,s)}};var Lp=class extends je{static{a(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,s=r?.enderDest,c=this.fields.rowHeight,p=n.dhSaiEnt,l=o+this.fields.title(e,o,i,this.title),u=[s?.xLgr,s?.nro].filter(Boolean).join(", "),d=s?.xCpl?`${u} - ${s.xCpl}`:u,f=r?.idEstrangeiro??this.format.document(r?.CNPJ,r?.CPF);this.fields.row(e,l,i,c,[{label:"NOME / RAZ\xC3O SOCIAL",value:this.format.blank(r?.xNome),weight:120},{label:"CNPJ / CPF",value:this.format.blank(f),weight:45},{label:"DATA DA EMISS\xC3O",value:this.format.blank(this.format.date(n.dhEmi)),weight:35}]),l+=c,this.fields.row(e,l,i,c,[{label:"ENDERE\xC7O",value:this.format.blank(d),weight:105},{label:"BAIRRO / DISTRITO",value:this.format.blank(s?.xBairro),weight:38},{label:"CEP",value:this.format.blank(this.format.cep(s?.CEP)),weight:22},{label:"DATA DA SA\xCDDA/ENTRADA",value:this.format.blank(this.format.date(p)),weight:35}]),l+=c,this.fields.row(e,l,i,c,[{label:"MUNIC\xCDPIO",value:this.format.blank(s?.xMun),weight:70},{label:"FONE / FAX",value:this.format.blank(this.format.phone(s?.fone)),weight:35},{label:"UF",value:this.format.blank(s?.UF),weight:10},{label:"INSCRI\xC7\xC3O ESTADUAL",value:this.format.blank(r?.IE),weight:50},{label:"HORA DA SA\xCDDA/ENTRADA",value:this.format.blank(this.format.time(p)),weight:35}])}},Js=class extends je{static{a(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,s=o+this.fields.title(e,o,i,this.title),c=r.xCpl?` - ${r.xCpl}`:"";this.fields.row(e,s,i,n,[{label:"NOME / RAZ\xC3O SOCIAL",value:this.format.blank(r.xNome),weight:120},{label:"CNPJ / CPF",value:this.format.blank(this.format.document(r.CNPJ,r.CPF)),weight:40},{label:"INSCRI\xC7\xC3O ESTADUAL",value:this.format.blank(r.IE),weight:40}]),s+=n,this.fields.row(e,s,i,n,[{label:"ENDERE\xC7O",value:this.format.blank(`${r.xLgr}, ${r.nro}${c}`),weight:80},{label:"BAIRRO / DISTRITO",value:this.format.blank(r.xBairro),weight:40},{label:"MUNIC\xCDPIO",value:this.format.blank(r.xMun),weight:40},{label:"UF",value:this.format.blank(r.UF),weight:10},{label:"CEP",value:this.format.blank(this.format.cep(r.CEP)),weight:30}])}};var Vp=class extends je{static{a(this,"Invoices")}title="FATURA / DUPLICATAS";perRow=5;valueSize=6;limit=21;cellHeight=j(10);get duplicates(){return this.context.asArray(this.infNFe.cobr?.dup).slice(0,this.limit)}visible(){let{cobr:e}=this.infNFe;return!!e&&(this.duplicates.length>0||!!e.fat)}rows(){let e=this.duplicates.length;return e?this.fields.gridRows(e,this.perRow):1}height(){return this.duplicates.length?this.fields.titleHeight+this.rows()*this.cellHeight:this.fields.titleHeight+this.fields.rowHeight}drawFat(e,o,i){let r=this.infNFe.cobr?.fat;this.fields.row(e,o,i,this.fields.rowHeight,[{label:"N\xDAMERO DA FATURA",value:r?.nFat,weight:1},{label:"VALOR ORIGINAL",value:this.format.currency(r?.vOrig),weight:1,align:"right"},{label:"VALOR DO DESCONTO",value:this.format.currency(r?.vDesc),weight:1,align:"right"},{label:"VALOR L\xCDQUIDO",value:this.format.currency(r?.vLiq),weight:1,align:"right"}])}draw({x:e,y:o,width:i}){let r=o+this.fields.title(e,o,i,this.title),n=this.duplicates;if(!n.length)return this.drawFat(e,r,i);let s=this.fields.padding,c=i/this.perRow;n.forEach((p,l)=>{let u=Math.floor(l/this.perRow),d=l%this.perRow,f=e+d*c,y=r+u*this.cellHeight;this.fields.rect(f,y,c,this.cellHeight);let S=[["Num.",p.nDup??""],["Venc.",this.format.plainDate(p.dVenc)],["Valor",`R$ ${this.format.currency(p.vDup)}`]],C=this.valueSize;this.builder.font(this.context.defaults.font).fontSize(C);let I=this.builder.currentLineHeight(!0),b=f+c-s;S.forEach(([w,F],O)=>{let q=y+s+O*I,Z=this.fields.widthOf(w,{size:C});this.fields.text(w,f+s,q,Z,I,{size:C});let W=f+s+Z+2;this.fields.text(F,W,q,Math.max(b-W,1),I,{size:C,align:"right",lineBreak:!1,ellipsis:!0})})})}};var Ef=class extends je{static{a(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 iw=require("nfets/core");var Pu=class extends je{static{a(this,"Transport")}title="TRANSPORTADOR / VOLUMES TRANSPORTADOS";conditional=!1;modFrete={0:"0-Por conta do remetente",1:"1-Por conta do destinat\xE1rio",2:"2-Por conta de terceiros",3:"3-Pr\xF3prio por conta do remetente",4:"4-Pr\xF3prio por conta do destinat\xE1rio",9:"9-Sem transporte"};get volumes(){return this.context.asArray(this.infNFe.transp.vol)}visible(){if(!this.conditional)return!0;let{transporta:e,veicTransp:o}=this.infNFe.transp;return!!e||!!o||this.volumes.length>0}height(){return this.fields.titleHeight+3*this.fields.rowHeight}sum(e,o){let i=this.volumes.map(n=>n[e]).filter(n=>n!==void 0&&n!=="");if(!i.length)return"";let r=i.reduce((n,s)=>new iw.Decimal(n).plus(s??0).toString(),"0");return this.format.decimal(r,o)}draw({x:e,y:o,width:i}){let{modFrete:r,transporta:n,veicTransp:s}=this.infNFe.transp,c=this.volumes.at(0),p=this.fields.rowHeight,l=o+this.fields.title(e,o,i,this.title),u=a(d=>this.format.blank(d),"blank");this.fields.row(e,l,i,p,[{label:"NOME / RAZ\xC3O SOCIAL",value:u(n?.xNome),weight:62},{label:"FRETE",value:u(this.modFrete[r]??r),weight:40},{label:"C\xD3DIGO ANTT",value:u(s?.RNTC),weight:22},{label:"PLACA DO VE\xCDCULO",value:u(s?.placa),weight:22},{label:"UF",value:u(s?.UF),weight:10},{label:"CNPJ / CPF",value:u(this.format.document(n?.CNPJ,n?.CPF)),weight:34}]),l+=p,this.fields.row(e,l,i,p,[{label:"ENDERE\xC7O",value:u(n?.xEnder),weight:102},{label:"MUNIC\xCDPIO",value:u(n?.xMun),weight:44},{label:"UF",value:u(n?.UF),weight:10},{label:"INSCRI\xC7\xC3O ESTADUAL",value:u(n?.IE),weight:34}]),l+=p,this.fields.row(e,l,i,p,[{label:"QUANTIDADE",value:u(this.sum("qVol",0)),weight:15,align:"right"},{label:"ESP\xC9CIE",value:u(c?.esp),weight:42.5},{label:"MARCA",value:u(c?.marca),weight:42.5},{label:"NUMERA\xC7\xC3O",value:u(c?.nVol),weight:35},{label:"PESO BRUTO",value:u(this.sum("pesoB",3)),weight:37.5,align:"right"},{label:"PESO L\xCDQUIDO",value:u(this.sum("pesoL",3)),weight:37.5,align:"right"}])}},Pf=class extends Pu{static{a(this,"ConditionalTransport")}conditional=!0};var nw=require("nfets/core");var Xs=class{static{a(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 hasTaxUnit(){let{uTrib:e,qTrib:o,vUnCom:i,vUnTrib:r}=this.det.prod,n=a(s=>new nw.Decimal(s??0).toFixed(2),"fixed");return!!e&&!!o&&n(i)!==n(r)}};var Tf=class{static{a(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 Xs(e).icms,i=e.imposto?.ICMSUFDest;return[...this.icmsTaxes.map(([r,n])=>this.tax(o[r],n)),...i?this.icmsUfDestTaxes.map(([r,n])=>this.tax(i[r],n)):[]].join("")}infAdProd(e){return(e.infAdProd??"").substring(0,this.maxAdditionalInfo).trim()}additionalInfo(e){let o=this.infAdProd(e);return o?`${o} `:""}anvisa(e){let o=e.prod.med?.cProdANVISA;return!this.options.showItemBatch||!o?"":`ANVISA: ${o}`}batch(e){let o=this.context.asArray(e.prod.rastro);if(!this.options.showItemBatch||o.length!==1)return"";let[{nLote:i,qLote:r,dFab:n,dVal:s}]=o,{format:c}=this.context;return[i?` Lote: ${i}`:"",r?` Quant: ${r.toString()}`:"",` Fab: ${c.plainDate(n)}`,` Val: ${c.plainDate(s)} `].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(`
|
|
49
49
|
`)}vehicle(e){let o=e.prod.veicProd;return o?this.lines([["TIPO DA OPERA\xC7\xC3O",this.label(this.operations,o.tpOp)],["CHASSI",o.chassi],["C\xD3DIGO DA COR",o.cCor],["NOME DA COR",o.xCor],["POT\xCANCIA DO MOTOR",o.pot],["CILINDRADAS",o.cilin],["PESO L\xCDQUIDO",o.pesoL],["PESO BRUTO",o.pesoB],["N\xDAMERO DE S\xC9RIE",o.nSerie],["COMBUST\xCDVEL",this.label(this.fuels,o.tpComb)],["N\xDAMERO DO MOTOR",o.nMotor],["CAP. M\xC1X. TRA\xC7\xC3O",o.CMT],["DIST\xC2NCIA ENTRE EIXOS",o.dist],["ANO DO MODELO",o.anoMod],["ANO DE FABRICA\xC7\xC3O",o.anoFab],["TIPO DE PINTURA",o.tpPint],["TIPO DE VE\xCDCULO",this.label(this.vehicles,o.tpVeic)],["ESP\xC9CIE DO VE\xCDCULO",this.label(this.species,o.espVeic)],["VIN (CHASSI)",o.VIN==="N"?"N-NORMAL":"R-REMARCADO"],["CONDI\xC7\xC3O DO VE\xCDCULO",this.label(this.conditions,o.condVeic)],["C\xD3DIGO MARCA MODELO",o.cMod],["C\xD3DIGO COR DENATRAN",this.label(this.colors,o.cCorDENATRAN)],["CAPACIDADE M\xC1XIMA DE LOTA\xC7\xC3O",o.lota],["RESTRI\xC7\xC3O",`${o.tpRest}-${this.restrictions[o.tpRest]??""}`]]):""}weapons(e){return this.context.asArray(e.prod.arma).map(o=>this.lines([["TIPO DA ARMA",this.label(this.weaponTypes,o.tpArma)],["N\xDAMERO DE S\xC9RIE DA ARMA",o.nSerie],["N\xDAMERO DE S\xC9RIE DO CANO",o.nCano],["DESCRI\xC7\xC3O DA ARMA",o.descr]])).join(`
|
|
50
50
|
`)}productName(e){let o=e.prod.xProd;return this.options.breakItemDescription&&(o=o.replaceAll(";",`
|
|
51
51
|
`)),this.options.showItemOrderNumber&&e.prod.nItemPed&&(o+=` (ITEM ${e.prod.nItemPed})`),o}narrative(e){let o=this.options.showItemComplement?this.batch(e)+this.taxes(e)+this.fci(e):"";return[this.anvisa(e),o].filter(Boolean).join("")}extras(e){let o=[this.narrative(e).trim(),this.vehicle(e),this.weapons(e)].filter(Boolean).join(`
|
|
@@ -54,10 +54,15 @@ www.nfe.fazenda.gov.br/portal ou no site da Sefaz Autorizadora`,e+r,c+j(2.5),i-2
|
|
|
54
54
|
`);return this.options.breakItemDescription&&(r=r.replaceAll(";",`
|
|
55
55
|
`)),r}build(e){let o=[this.productName(e),this.details(e)].filter(Boolean).join(`
|
|
56
56
|
`);return this.options.breakItemDescription&&(o=o.replaceAll(";",`
|
|
57
|
-
`)),o}};var
|
|
58
|
-
${y}`:
|
|
59
|
-
`);
|
|
60
|
-
`)}boxHeight(){let[e]=this.widths(),o=this.fields.padding,r=this.fields.measure(this.text,e-2*o,{size:this.textSize})+this.fields.labelHeight+3*o,n=this.hasQrCode?this.qrWidth:0;return Math.min(Math.max(r,n,this.minHeight),this.maxHeight)}height(){return this.fields.titleHeight+this.boxHeight()}draw({x:e,y:o,width:i}){let r=this.fields.padding,n=o+this.fields.title(e,o,i,this.title),
|
|
57
|
+
`)),o}};var _p=class extends je{static{a(this,"DanfeItemsBlock")}description=new Tf(this.context);slice={items:[],isFirst:!0,isLast:!0};boxHeight=0;title="DADOS DOS PRODUTOS / SERVI\xC7OS";fontSize=6;headerFontSize=5;get cellPadding(){return this.fields.padding}columnLabelColor="black";minFontSize=6;pairGap=5;widths(){return this.fields.widths(this.context.contentWidth,this.columns.map(e=>e.weight))}labelsHeight(){let e=this.widths(),o=this.cellPadding,i=this.columns.map((r,n)=>this.fields.measure(r.label,e[n]-2*o,{size:this.headerFontSize,bold:!0}));return Math.max(...i)+2*o}headerHeight(){return this.fields.titleHeight+this.labelsHeight()}isRuns(e){return Array.isArray(e)}isPairs(e){return typeof e!="string"&&!Array.isArray(e)}lineHeight(){return this.builder.font(this.context.defaults.font).fontSize(this.fontSize),this.builder.currentLineHeight(!0)}fitSize(e,o,i){let r=Math.max(i,this.minFontSize),n=Math.max(o-.5,1);return this.fields.widthOf(e,{size:r})<=n?r:this.minFontSize}pairColumns(e,o){let i=e.columns??1;if(i<=1)return 1;let r=(o-this.pairGap*(i-1))/i,n={size:this.fontSize};return e.pairs.every(([c,p])=>this.fields.widthOf(c,n)+this.fields.widthOf(p,n)<=r)?i:1}cellHeight(e,o){if(this.isPairs(e)){let i=this.pairColumns(e,o);return Math.ceil(e.pairs.length/i)*this.lineHeight()}return this.isRuns(e)?e.reduce((i,r)=>{let n=r.blankBefore?this.lineHeight():0;if(!r.text)return i+n;if(!r.fit)return i+n+this.fields.measure(r.text,o,{size:this.fontSize});let s=this.fitSize(r.text,o,this.fontSize);return this.builder.font(this.context.defaults.font).fontSize(s),i+n+this.builder.currentLineHeight(!0)},0):this.fields.measure(e,o,{size:this.fontSize})}itemHeight(e){let o=this.widths(),i=this.cellPadding,r=this.cells(e).map((n,s)=>this.cellHeight(n,o[s]-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,s=e;this.columns.forEach((c,p)=>{this.fields.text(c.label,s+n,o+n,r[p]-2*n,i-2*n,{size:this.headerFontSize,bold:!0,align:"center",color:this.columnLabelColor}),s+=r[p]})}drawColumnLines(e,o,i){let r=this.widths(),n=e;r.slice(0,-1).forEach(s=>{n+=s,this.builder.moveTo(n,o).lineTo(n,i).stroke()})}drawPairs(e,o,i,r){let n=this.lineHeight(),s=this.pairColumns(e,r),c=this.pairGap,p=(r-c*(s-1))/s,l=e.muted===!1?"black":this.fields.muted;e.pairs.forEach(([u,d],f)=>{let y=i+Math.floor(f/s)*n,S=o+f%s*(p+c),C={size:this.fontSize},I=this.fields.widthOf(d,C),b=Math.max(p-I,0),w=Math.min(this.fields.widthOf(u,C),b),F=this.fields.widthOf(".",C),O=b-w,q=F>0&&O>F?".".repeat(Math.floor(O/F)):"";this.fields.text(u,S,y,w+.5,n,{...C,color:l}),q&&this.fields.text(q,S+w,y,O,n,{...C,color:l}),this.fields.text(d,S,y,p,n,{...C,align:"right"})})}drawRuns(e,o,i,r,n){let s=i;e.forEach(c=>{if(c.blankBefore&&(s+=this.lineHeight()),!c.text)return;let p=c.fit?this.fitSize(c.text,r,this.fontSize):this.fontSize;this.builder.font(this.context.defaults.font).fontSize(p);let l=c.fit?this.builder.currentLineHeight(!0):this.fields.measure(c.text,r,{size:p});this.fields.text(c.text,o,s,r,l,{size:p,align:c.align??n,color:c.color,lineBreak:c.fit?!1:void 0,ellipsis:c.fit?!1:void 0}),s+=l})}drawItem(e,o,i,r){let n=this.widths(),s=this.columns,c=this.cellPadding,p=o;this.cells(e).forEach((l,u)=>{let d=n[u]-2*c,f=s[u].align??"left";this.isPairs(l)?this.drawPairs(l,p+c,i+c,d):this.isRuns(l)?this.drawRuns(l,p+c,i+c,d,f):this.fields.text(l,p+c,i+c,d,r-2*c,{size:this.fontSize,align:f}),p+=n[u]})}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,s=this.labelsHeight(),c=o+this.boxHeight;this.fields.rect(e,n,i,s),this.drawLabels(e,n,s);let p=n+s;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 l=p;this.slice.items.forEach((u,d)=>{let f=this.itemHeight(u);d>0&&this.drawSeparator(e,l,i),this.drawItem(u,e,l,f),l+=f})}};var zf=class extends _p{static{a(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 Xs(e),{prod:i}=e,{qComDecimals:r,vUnComDecimals:n}=this.context.options,s=o.icms,c=o.ipi,p=a(f=>this.format.decimal(f,2,r),"quantity"),l=a(f=>this.format.decimal(f,2,n),"unitValue"),u=!this.context.options.hideTaxUnit&&o.hasTaxUnit,d=a((f,y)=>u?`${f}
|
|
58
|
+
${y}`:f,"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(l(i.vUnCom),l(i.vUnTrib)),this.format.currency(i.vProd),this.format.currency(i.vDesc),this.format.currency(s.vBC),this.format.currency(s.vICMS),this.format.currency(c?.vIPI),this.format.decimal(s.pICMS),this.format.decimal(c?.pIPI)]}};var Up=class extends je{static{a(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 rw=pt(Fv(),1);var jf=class{static{a(this,"DanfeQrCode")}context;svg;constructor(e){this.context=e}get content(){let e=this.context.data.infNFeSupl?.qrCode.trim();if(e)return e}async prepare(){let e=this.content;if(!e)return;let o=await rw.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),s=this.context.asArray(this.svg.path),{builder:c}=this.context;c.save().translate(e,o).scale(i/r,i/n).lineWidth(1),s.forEach(p=>{c.path(p.$.d),p.$.fill&&c.fill(p.$.fill),p.$.stroke&&c.stroke(p.$.stroke)}),c.restore()}};var qp=class extends je{static{a(this,"AdditionalData")}title="DADOS ADICIONAIS";textSize=6.5;minHeight=j(22);maxHeight=j(70);qrWidth=j(32);withQrCode=!1;qrCode;constructor(e){super(e),this.qrCode=new jf(e)}async prepare(){this.withQrCode&&await this.qrCode.prepare()}get hasQrCode(){return this.withQrCode&&!!this.qrCode.content}widths(){let e=this.context.contentWidth,o=this.withQrCode?this.qrWidth:0,i=this.hasQrCode?o:0,r=e*.66-o,n=e-r-i;return[r,n,i]}lines(){let{infAdic:e,ide:o,dest:i}=this.infNFe,r=[],n=this.format.sanitize(e?.infAdFisco);n&&r.push(`Inf. Fisco: ${n}`);let s=this.format.sanitize(e?.infCpl).replace(/;/g,`
|
|
59
|
+
`);s&&r.push(`Inf. Contribuinte: ${s}`);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(`
|
|
60
|
+
`)}boxHeight(){let[e]=this.widths(),o=this.fields.padding,r=this.fields.measure(this.text,e-2*o,{size:this.textSize})+this.fields.labelHeight+3*o,n=this.hasQrCode?this.qrWidth:0;return Math.min(Math.max(r,n,this.minHeight),this.maxHeight)}height(){return this.fields.titleHeight+this.boxHeight()}draw({x:e,y:o,width:i}){let r=this.fields.padding,n=o+this.fields.title(e,o,i,this.title),s=this.boxHeight(),[c,p,l]=this.widths();this.fields.box(e,n,c,s,{label:"INFORMA\xC7\xD5ES COMPLEMENTARES"});let u=n+r+this.fields.labelHeight+1;if(this.fields.text(this.text,e+r,u,c-2*r,n+s-u-r,{size:this.textSize}),this.fields.box(e+c,n,p,s,{label:"RESERVADO AO FISCO"}),this.hasQrCode){let d=e+c+p;this.fields.box(d,n,l,s,{label:"QR CODE"});let f=Math.min(l-4*r,s-this.fields.labelHeight-4*r);this.qrCode.draw(d+(l-f)/2,n+this.fields.labelHeight+2*r,f)}}};var Hp=class extends je{static{a(this,"Footer")}textSize=6;height(){return j(4)}draw({x:e,y:o,width:i}){let r=o+j(1),n=this.height()-j(1),s=i/2;this.fields.text(`Impresso em ${this.format.now()}`,e,r,s,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+s,y:r,width:s,height:Math.max(n,p+.5),align:"right",ellipsis:!0,link:c===Ui?"https://github.com/nfets/nfets":void 0})}};var zv=class extends jp{static{a(this,"DanfeDefaultPdfDocument")}createBlocks(){return{canhoto:new zp(this),header:new Mp(this),firstPage:[new Lp(this),new Js(this,"retirada"),new Js(this,"entrega"),new Vp(this),new Ef(this),new Pu(this)],items:new zf(this),lastPage:[new Up(this),new qp(this)],footer:new Hp(this)}}};var Bf=class t extends Bs{static{a(this,"SimplificadoTipo2Header")}static current;static instance(e){return t.current??=new t(e)}end(){t.current=void 0}staticTexts(){let{left:e,right:o}=this.builder.pageMargins(),i=this.context.defaults.font;this.builder.moveDown(.5).fontSize(this.context.options.titleFontSize).row({left:e,right:o},r=>this.builder.font(`${i}-Bold`).text("DANFE Simplificado - Tipo 2",{...r,align:"center"}).font(i))}};var Mf=class t extends Tp{static{a(this,"SimplificadoTipo2Footer")}static current;static instance(e){return t.current??=new t(e)}end(){t.current=void 0}get infAdFiscoText(){return(this.context.data.infNFe.infAdic?.infAdFisco?.replace(/;/g,`
|
|
61
|
+
`)??"").split(`
|
|
62
|
+
`).map(o=>o.trim().replace(/[\x00-\x08\x0B-\x0C\x0E-\x1F\x7F-\x9F]/g,"")).filter(o=>o.length>0).join(`
|
|
63
|
+
`)}infAdFisco(){if(!this.infAdFiscoText)return;let{left:e,right:o}=this.builder.pageMargins();this.builder.row({left:e,right:o},i=>this.builder.text(this.infAdFiscoText,{...i,align:"center"}))}build(){return this.setup(),this.builder.moveDown(1),this.infAdFisco(),this.vTotTrib(),this.infCpl(),this.credits(),this.builder}height(){let e=super.height();if(!this.infAdFiscoText)return e;let{left:o,right:i}=this.builder.pageMargins();return e+this.builder.heightOfString(this.infAdFiscoText,{width:this.builder.pageWidth()-o-i,align:"center"})}};var Vf=require("nfets/core");var Lf=class t extends Ep{static{a(this,"SimplificadoTipo2Protocols")}static current;static instance(e){return t.current??=new t(e)}end(){t.current=void 0}metadata(e){let{nNF:o,serie:i,dhEmi:r}=this.context.data.infNFe.ide,n=o.padStart(9,"0"),s=i.padStart(3,"0"),c=(0,Vf.dateToolkit)(r).tz(Vf.timezones[this.context.data.infNFe.ide.cUF]).format("DD/MM/YYYY HH:mm:ss"),p=this.viaLabel,{left:l,right:u}=this.builder.pageMargins(),d=this.context.defaults.font,f=`${d}-Bold`;this.builder.row({left:e?.x??l,right:u},y=>this.builder.font(f).text(`NF-e n\xBA ${n} - s\xE9rie ${s} emitida em: ${c}${p}`,{...y,align:"center"}).font(d))}get viaLabel(){let{tpEmis:e}=this.context.data.infNFe.ide;if(e===be.Normal)return"";let o=this.context;return o.currentCopy?.()==="consumidor"?" Via consumidor":o.currentCopy?.()==="estabelecimento"?" Via estabelecimento":""}};var _f=class t extends Pp{static{a(this,"SimplificadoTipo2RecipientAggregate")}static current;static instance(e){return t.current??=new t(e)}end(){t.current=void 0,this.builders.forEach(e=>e.end())}get builders(){return[Dp.instance(this.context),Lf.instance(this.context),Li.instance(this.context)]}};var Uf=class t extends Ws{static{a(this,"SimplificadoTipo2QrAggregate")}static current;static instance(e){return t.current??=new t(e)}end(){t.current=void 0,this.builders.forEach(e=>e.end())}get builders(){return[_f.instance(this.context),Fp.instance(this.context),Mf.instance(this.context)]}};var jv=class t extends ir{static{a(this,"DanfeSimplificadoTipo2PdfDocument")}via;currentCopy(){return this.via}constructor(e){super(e),this.builder.configure({info:{Author:"nfets",Creator:"nfets",Keywords:"nfets, nfe, danfe simplificado tipo 2, sefaz",Title:"DANFE Simplificado Tipo 2",Subject:"DANFE Simplificado Tipo 2"}})}clone(e){let o=new t(e);return o.via=this.via,o}get isContingency(){return this.data.infNFe.ide.tpEmis!==be.Normal}async build(e){await this.parse(e);let o=this.isContingency?["consumidor","estabelecimento"]:[void 0];this.via=o[o.length-1],this.options.height=await this.getDynamicHeight(e,this.clone.bind(this)),this.apply();for(let i of o){this.via=i,this.builder.page();for(let r of this.builders)await r.build()}return this}get builders(){return[Bf.instance(this),Li.instance(this),Ms.instance(this),Ls.instance(this),Vs.instance(this),_s.instance(this),Us.instance(this),Uf.instance(this)]}};var kp=require("nfets/core");var Zr=11,qf=class t{static{a(this,"SimplificadoBody")}context;static current;static instance(e){return t.current??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get font(){return this.context.defaults.font}get infNFe(){return this.context.data.infNFe}setup(){this.builder.font(this.font,this.context.options.textFontSize)}build(){return this.setup(),this.title(),this.context.showsItems()?this.reduced():this.label()}reduced(){return this.gap(.5),this.accessKey(),this.gap(),this.emitter(),this.gap(.35),this.notices(),this.gap(.35),this.operation(),this.gap(),this.recipient(),this.gap(),this.items(),this.gap(1.2),this.totals(),this.gap(1),this.tributes(),this.gap(.8),this.complementary(),this.credits(),this.builder}label(){return this.gap(.5),this.accessKey(),this.gap(.35),this.notices(),this.gap(.35),this.protocol(),this.gap(),this.emitter(),this.place(),this.gap(),this.identification(),this.gap(),this.recipient(),this.gap(1.2),this.totals(),this.epec(),this.gap(.7),this.complementary(),this.credits(),this.builder}gap(e=.9){this.builder.moveDown(e)}end(){t.current=void 0}title(){let{left:e,right:o}=this.builder.pageMargins();this.builder.font(`${this.font}-Bold`,this.context.options.titleFontSize).row({left:e,right:o},i=>this.builder.text(this.context.title(),{...i,align:"center"})),this.setup()}notices(){let{tpAmb:e,tpEmis:o}=this.infNFe.ide;e!==kp.Environment.Production&&this.line("SEM VALOR FISCAL",!0),!this.context.showsItems()&&o!==be.Normal&&this.line("EMITIDA EM CONTING\xCANCIA",!0)}operation(){let{tpNF:e,serie:o,nNF:i,dhEmi:r,tpEmis:n}=this.infNFe.ide;this.line(n===be.Normal?"EMISS\xC3O NORMAL":"EMISS\xC3O EM CONTING\xCANCIA",!0),this.typeBox(e),this.gap(.25),this.centeredFields([["N\xFAmero:",this.dotted(i)],["S\xE9rie:",o.padStart(3,"0")],["Emiss\xE3o",this.when(r,!1)]])}identification(){let{tpNF:e,serie:o,nNF:i,dhEmi:r}=this.infNFe.ide,{left:n,right:s}=this.builder.pageMargins(),c=this.builder.y(),p=this.builder.pageWidth()-n-s,l=p/3,u=this.context.options.textFontSize,d=this.builder.currentLineHeight(!0)+2;this.caption("S\xC9RIE:",o.padStart(3,"0"),n,c,l),this.builder.font(`${this.font}-Bold`,u),this.builder.text("DATA EMISS\xC3O",{x:n+l,y:c,width:l,align:"center"}),this.builder.text("TIPO OPERA\xC7\xC3O",{x:n+l*2,y:c,width:l,align:"center"});let f=c+d;this.caption("N\xBA:",this.dotted(i),n,f,l),this.builder.font(this.font,u),this.builder.text(this.when(r,!1),{x:n+l,y:f,width:l,align:"center"}),this.builder.text("0 - ENTRADA",{x:n+l*2,y:f,width:l-14,align:"left"}),this.drawType(e,n+p-Zr-1,f);let y=f+d;this.builder.text("1 - SA\xCDDA",{x:n+l*2,y,width:l-14,align:"left"}),this.builder.text("",{x:n,y:y+d}),this.setup()}caption(e,o,i,r,n){let s=this.context.options.textFontSize,c=`${e} `;this.builder.font(`${this.font}-Bold`,s);let p=this.builder.widthOfString(c);this.builder.text(c,{x:i,y:r,lineBreak:!1}),this.builder.font(this.font,s),this.builder.text(o,{x:i+p,y:r,width:Math.max(n-p,10),align:"left"})}typeBox(e){let{left:o,right:i}=this.builder.pageMargins(),r=this.builder.y(),n=this.builder.pageWidth()-o-i,s="0 - ENTRADA / 1 - SA\xCDDA",c=this.builder.widthOfString(s),p=Zr+4+c,l=o+(n-p)/2;this.drawType(e,l,r),this.builder.font(this.font,this.context.options.textFontSize).text(s,{x:l+Zr+4,y:r+(Zr-this.builder.currentLineHeight(!1))/2,width:c}),this.builder.text("",{x:o,y:r+Zr+2}),this.setup()}drawType(e,o,i){this.builder.lineWidth(.3).rect(o,i,Zr,Zr).stroke().lineWidth(1),this.builder.font(`${this.font}-Bold`,this.context.options.textFontSize);let r=this.builder.widthOfString(e),n=this.builder.currentLineHeight(!1);this.builder.text(e,{x:o+(Zr-r)/2,y:i+(Zr-n)/2,lineBreak:!1})}emitter(){let{emit:e}=this.infNFe,{xLgr:o,nro:i,xBairro:r,xMun:n,UF:s}=e.enderEmit;if(this.context.showsItems()){this.line(e.xNome),this.line(`${o}, ${i} - ${r} - ${n} - ${s}`),this.centeredFields([["CNPJ:",this.taxId(e.CNPJ,e.CPF)],["IE:",e.IE]]);return}if(this.context.options.logo){this.emitterWithLogo(e.xNome,s);return}this.field("NOME/RAZ\xC3O SOCIAL:",e.xNome),this.fields([["CNPJ:",this.taxId(e.CNPJ,e.CPF)],["IE:",e.IE],["UF:",s]])}emitterWithLogo(e,o){let i=this.context.options.logo;if(!i)return;let{emit:r}=this.infNFe,{left:n,right:s}=this.builder.pageMargins(),c=this.builder.y(),p=this.builder.pageWidth()-n-s,l=this.context.options.textFontSize;this.builder.font(this.font,l);let d=(this.builder.currentLineHeight(!0)+2)*2+2,f=3/If,y=n+d+f,S=p-d-f;this.builder.image(i,n,c,{fit:[d,d],align:"left",valign:"top"}),this.field("NOME/RAZ\xC3O SOCIAL:",e,y,S),this.fields([["CNPJ:",this.taxId(r.CNPJ,r.CPF)],["IE:",r.IE],["UF:",o]],y),this.builder.y()<c+d&&this.builder.text("",{x:n,y:c+d+2})}place(){if(this.context.showsItems())return;let{entrega:e,retirada:o}=this.infNFe,i=this.located(e),r=this.located(o),n=i?e:r?o:void 0;n&&(this.gap(),this.line(i?"INFORMA\xC7\xD5ES DO LOCAL DE ENTREGA":"INFORMA\xC7\xD5ES DO LOCAL DE RETIRADA",!0),this.field("CNPJ/CPF:",this.taxId(n.CNPJ,n.CPF)),this.fields([["",n.xNome??""],["IE:",n.IE??""]]),this.line(`${n.xLgr}, ${n.nro}`,!1,"left"),this.line(n.xBairro,!1,"left"),this.line(`${n.xMun}-${n.UF}${this.phoneSuffix(n.fone)}`,!1,"left"))}recipient(){let e=this.infNFe.dest;if(!e)return;let o=e.enderDest,i=this.taxId(e.CNPJ,e.CPF);if(this.line("DESTINAT\xC1RIO",!0,"center",!1),this.gap(.2),this.context.showsItems()){this.line(e.xNome??""),o&&this.line(`${o.xLgr}, ${o.nro} - ${o.xBairro} - ${o.xMun} - ${o.UF}`),this.centeredFields([[e.CNPJ?"CNPJ:":"CPF:",i],...e.IE?[["IE:",e.IE]]:[]]);return}if(this.field("NOME/RAZ\xC3O SOCIAL:",e.xNome??""),this.fields([["CNPJ/CPF:",i],...e.IE?[["IE:",e.IE]]:[]]),!o)return;let r=this.cep(o.CEP);this.field("ENDERE\xC7O:",`${o.xLgr}, ${o.nro} - ${o.xBairro} ${r} ${o.xMun} UF: ${o.UF}`)}items(){if(!this.context.showsItems())return;let e=Ls.instance(this.context);e.build(),e.end()}totals(){let{vProd:e,vDesc:o,vNF:i}=this.infNFe.total.ICMSTot;if(this.context.showsItems()){let r=[this.infNFe.det].flat().length;this.pair("Qtd. Total de Itens",String(r),!0),this.pair("Valor Total dos Produtos R$",this.context.currency(e),!0),this.pair("Valor Descontos R$",this.context.currency(o),!0),this.pair("Valor Total R$",this.context.currency(i),!0);return}this.totalLine("VALOR TOTAL DA NOTA FISCAL:",`R$ ${this.context.currency(i)}`)}totalLine(e,o){let{left:i,right:r}=this.builder.pageMargins(),n=this.builder.y(),s=this.builder.pageWidth()-i-r,c=this.context.options.textFontSize;this.builder.font(`${this.font}-Bold`,c),this.builder.text(e,{x:i,y:n,lineBreak:!1}),this.builder.font(this.font,c),this.builder.text(o,{x:i,y:n,width:s,align:"right",lineBreak:!1}),this.builder.text("",{x:i,y:n+this.builder.currentLineHeight(!0)+2}),this.setup()}tributes(){if(!this.context.showsItems())return;let e=this.infNFe.total.ICMSTot.vTotTrib,o=e?this.context.currency(e):"-----";this.line(`Informa\xE7\xE3o dos Tributos Totais Incidentes (Lei Federal 12.741/2012): R$ ${o}`,!1,"left")}complementary(){let e=[this.infNFe.infAdic?.infCpl,this.infAdFisco()].filter(o=>o).join(`
|
|
64
|
+
`);e&&this.line(e.replace(/;/g,`
|
|
65
|
+
`),!1,"left")}credits(){let e=this.context.options.credits;if(!e)return;this.gap(.5);let{left:o,right:i}=this.builder.pageMargins();this.builder.font(this.font,this.context.options.textFontSize).row({left:o,right:i},r=>this.builder.text(e,{...r,align:"center",link:e===Ui?"https://github.com/nfets/nfets":void 0})),this.setup()}infAdFisco(){return this.context.showsItems()?"":this.infNFe.infAdic?.infAdFisco??""}epec(){if(!this.context.showsEpec())return;let{tpEmis:e,dhCont:o}=this.infNFe.ide;if(e!==be.EPEC)return;let i=this.context.protNFe?.infProt,r=i?`${i.nProt} ${this.when(i.dhRecbto)}`:this.when(o);this.gap(),this.line("PROTOCOLO DE AUTORIZA\xC7\xC3O DO EPEC",!0),this.line(r)}accessKey(){let e=this.infNFe.$.Id?.substring(3)??"",o=e.replace(/(.{4})/g,"$1 ").trim();if(this.context.showsItems()){this.barcode(e),this.gap(.3),this.line("CHAVE DE ACESSO",!0,"center",!1),this.line(o),this.gap(.8),this.line("Protocolo de Autoriza\xE7\xE3o",!0,"center",!1),this.protocolValue();return}this.line("CHAVE DE ACESSO",!0,"left"),this.gap(.3),this.barcode(e),this.gap(.3),this.line(o)}protocol(){this.line("PROTOCOLO DE AUTORIZA\xC7\xC3O DE USO",!0,"center",!1),this.protocolValue()}protocolValue(){let e=this.context.protNFe?.infProt;this.line(e?`${e.nProt} ${this.when(e.dhRecbto)}`:"Pendente de autoriza\xE7\xE3o")}barcode(e){if(e.length!==44)return;let{left:o,right:i}=this.builder.pageMargins(),r=this.builder.y(),n=this.builder.pageWidth()-o-i,s=8/If;Bp.draw(this.builder,e,o,r,n,s),this.builder.text("",{y:r+s})}pair(e,o,i=!1){let{left:r,right:n}=this.builder.pageMargins();this.builder.row({columns:2,left:r,right:n},s=>(this.builder.font(i?`${this.font}-Bold`:this.font,this.context.options.textFontSize),this.builder.text(e,{...s,align:"left"})),s=>(this.builder.font(this.font,this.context.options.textFontSize),this.builder.text(o,{...s,align:"right"}))),this.setup()}field(e,o,i,r){let{left:n,right:s}=this.builder.pageMargins(),c=i??n,p=this.builder.y(),l=this.context.options.textFontSize,u=r??this.builder.pageWidth()-n-s,d=e?`${e} `:"";this.builder.font(`${this.font}-Bold`,l);let f=d?this.builder.widthOfString(d):0;d&&this.builder.text(d,{x:c,y:p,lineBreak:!1}),this.builder.font(this.font,l);let y=Math.max(u-f,10),S=this.builder.heightOfString(o||" ",{width:y,lineGap:2});this.builder.text(o,{x:c+f,y:p,width:y,lineGap:2}),this.builder.text("",{x:n,y:p+S}),this.context.showsItems()||this.builder.moveDown(.15),this.setup()}fields(e,o){this.writeFields(e,o??this.builder.pageMargins().left)}centeredFields(e){let{left:o,right:i}=this.builder.pageMargins(),r=this.context.options.textFontSize,n=0;for(let[c,p]of e)c&&(this.builder.font(`${this.font}-Bold`,r),n+=this.builder.widthOfString(`${c} `)),p&&(this.builder.font(this.font,r),n+=this.builder.widthOfString(`${p} `));let s=this.builder.pageWidth()-o-i;this.writeFields(e,o+Math.max((s-n)/2,0))}writeFields(e,o){let{left:i}=this.builder.pageMargins(),r=this.builder.y(),n=this.context.options.textFontSize,s=o;for(let[c,p]of e)if(!(!c&&!p)){if(c){let l=`${c} `;this.builder.font(`${this.font}-Bold`,n),this.builder.text(l,{x:s,y:r,lineBreak:!1}),s+=this.builder.widthOfString(l)}if(p){let l=`${p} `;this.builder.font(this.font,n),this.builder.text(l,{x:s,y:r,lineBreak:!1}),s+=this.builder.widthOfString(l)}}this.builder.text("",{x:i,y:r+this.builder.currentLineHeight(!0)+2}),this.builder.moveDown(.15),this.setup()}line(e,o=!1,i="center",r=!0){if(!e)return;let{left:n,right:s}=this.builder.pageMargins();this.builder.font(o?`${this.font}-Bold`:this.font,this.context.options.textFontSize).row({left:n,right:s},c=>this.builder.text(e,{...c,align:i,lineGap:2})),r&&this.builder.moveDown(.15),this.setup()}when(e,o=!0){if(!e)return"";let{cUF:i}=this.infNFe.ide,r=o?"DD/MM/YYYY HH:mm:ss":"DD/MM/YYYY";return(0,kp.dateToolkit)(e).tz(kp.timezones[i]).format(r)}dotted(e){return e.padStart(9,"0").replace(/(\d{3})(\d{3})(\d{3})/,"$1.$2.$3")}cep(e){return e?e.length===8?e.replace(/(\d{5})(\d{3})/,"$1-$2"):e:""}phoneSuffix(e){let o=this.phone(e);return o?` Fone: ${o}`:""}phone(e){if(!e)return"";let o=e.length>=11?/(\d{2})(\d{5})(\d{4})/:/(\d{2})(\d{4})(\d{4})/;return e.replace(o,"($1) $2-$3")}located(e){return!!(e?.CNPJ??e?.CPF)}taxId(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"):""}};var Gp=class extends ir{static{a(this,"DanfeSimplificadoDocument")}get builders(){return[qf.instance(this)]}};var Bv=class t extends Gp{static{a(this,"DanfeSimplificadoPdfDocument")}constructor(e){super(e),this.builder.configure({info:{Author:"nfets",Creator:"nfets",Keywords:"nfets, nfe, danfe simplificado, sefaz",Title:"DANFE Simplificado",Subject:"DANFE Simplificado"}})}title(){return"DANFE Simplificado"}showsItems(){return!0}showsRecipientIe(){return!0}showsEpec(){return!1}clone(e){return new t(e)}};var Mv=class t extends Gp{static{a(this,"DanfeSimplificadoEtiquetaPdfDocument")}constructor(e){super(e),this.builder.configure({info:{Author:"nfets",Creator:"nfets",Keywords:"nfets, nfe, danfe simplificado etiqueta, sefaz",Title:"DANFE SIMPLIFICADO - ETIQUETA",Subject:"DANFE SIMPLIFICADO - ETIQUETA"}})}title(){return"DANFE SIMPLIFICADO - ETIQUETA"}showsItems(){return!1}showsRecipientIe(){return!0}showsEpec(){return!0}clone(e){return new t(e)}};var Hf=class extends Mp{static{a(this,"RtcHeader")}crt={1:"1 - SIMPLES NACIONAL",2:"2 - SIMPLES NACIONAL - EXCESSO DE SUBLIMITE",3:"3 - REGIME NORMAL",4:"4 - MEI"};ibsApurationRegime(){let{tpRegApur:e}=this.infNFe.emit;return this.format.sanitize(e)||void 0}registrationRows(){let{emit:e}=this.infNFe,o=this.ibsApurationRegime(),i={label:"C\xD3DIGO DO REGIME TRIBUT\xC1RIO",value:this.crt[e.CRT]??e.CRT,weight:o?45:1};return[[{label:"INSCRI\xC7\xC3O ESTADUAL",value:this.format.blank(e.IE),weight:34},{label:"INSCRI\xC7\xC3O ESTADUAL DO SUBSTITUTO TRIBUT\xC1RIO",value:this.format.blank(e.IEST),weight:40},{label:"CNPJ / CPF",value:this.format.blank(this.format.document(e.CNPJ,e.CPF)),weight:36}],o?[i,{label:"TIPO DE REGIME DE APURA\xC7\xC3O DO IBS E DA CBS",value:o,weight:55}]:[i]]}};var kf=class extends je{static{a(this,"RtcTotals")}perRow=6;cell(e,o){return{label:e,value:this.format.currency(o),align:"right"}}optional(e,o){return this.format.isNotEmpty(o)?[this.cell(e,o)]:[]}optionalQuantity(e,o){return this.format.isNotEmpty(o)?[{label:e,value:this.format.decimal(o,2,4),align:"right"}]:[]}products(){let e=this.infNFe.total.ICMSTot;return{title:"TOTAL DOS PRODUTOS E TOTAL DA NOTA",cells:[this.cell("VALOR TOTAL DOS PRODUTOS",e.vProd),this.cell("VALOR DO FRETE",e.vFrete),this.cell("VALOR DO SEGURO",e.vSeg),this.cell("DESCONTO",e.vDesc),this.cell("OUTRAS DESPESAS ACESS\xD3RIAS",e.vOutro),this.cell("VALOR TOTAL DA NOTA",e.vNF)]}}icmsIpi(){let e=this.infNFe.total.ICMSTot;return{title:"TOTAL DO ICMS / IPI",cells:[this.cell("BASE DE C\xC1LCULO DO ICMS",e.vBC),this.cell("VALOR DO ICMS",e.vICMS),this.cell("BASE DE C\xC1LCULO DO ICMS ST",e.vBCST),this.cell("VALOR DO ICMS ST",e.vST),this.cell("VALOR DO IPI",e.vIPI),...this.optional("VALOR DO FCP",e.vFCP),...this.optional("VALOR DO FCP RETIDO POR ST",e.vFCPST),...this.optional("VALOR DO DIFAL NA UF DE DESTINO",e.vICMSUFDest),...this.optional("VALOR DO FCP NA UF DE DESTINO",e.vFCPUFDest),...this.optionalQuantity("BC DO ICMS MONOF\xC1SICO",e.qBCMono),...this.optional("VALOR DO ICMS MONOF\xC1SICO",e.vICMSMono),...this.optionalQuantity("BC DO ICMS MONOF\xC1SICO POR RETEN\xC7\xC3O",e.qBCMonoReten),...this.optional("VALOR DO ICMS MONOF\xC1SICO POR RETEN\xC7\xC3O",e.vICMSMonoReten)]}}ibsCbsIs(){let{IBSCBSTot:e,ISTot:o}=this.infNFe.total;if(!e&&!o)return;let i=e?.gMono,r=i?[this.cell("VALOR DO IBS MONOF\xC1SICO",i.vIBSMono),this.cell("VALOR DA CBS MONOF\xC1SICA",i.vCBSMono),...this.optional("VALOR DO IBS MONOF\xC1SICO POR RETEN\xC7\xC3O",i.vIBSMonoReten),...this.optional("VALOR DA CBS MONOF\xC1SICA POR RETEN\xC7\xC3O",i.vCBSMonoReten)]:[];return{title:"TOTAL DO IBS / CBS / IS",cells:[this.cell("VALOR DA CBS",e?.gCBS?.vCBS),this.cell("VALOR DO IBS UF",e?.gIBS?.gIBSUF?.vIBSUF),this.cell("VALOR DO IBS MUNIC\xCDPIO",e?.gIBS?.gIBSMun?.vIBSMun),this.cell("VALOR DO IMPOSTO SELETIVO",o?.vIS),...r]}}sections(){let e=[this.products(),this.icmsIpi()],o=this.ibsCbsIs();return o&&e.push(o),e}sectionHeight(e){let o=this.fields.gridRows(e.cells.length,this.perRow);return this.fields.titleHeight+o*this.fields.rowHeight}height(){return this.sections().reduce((e,o,i)=>e+(i>0?this.context.gap:0)+this.sectionHeight(o),0)}draw({x:e,y:o,width:i}){let r=o;this.sections().forEach((n,s)=>{s>0&&(r+=this.context.gap);let c=r+this.fields.title(e,r,i,n.title);this.fields.grid(e,c,i,n.cells,this.perRow),r+=this.sectionHeight(n)})}};var w1=class extends Xs{static{a(this,"RtcDetReader")}get ibsCbs(){return this.det.imposto?.IBSCBS?.gIBSCBS}get cClassTrib(){return this.det.imposto?.IBSCBS?.cClassTrib}get ibsCbsCst(){return this.det.imposto?.IBSCBS?.CST??""}get is(){return this.det.imposto?.IS}},Gf=class extends _p{static{a(this,"RtcItems")}fontSize=5.5;compactWeights=[47,15,13,14,14,28,34,35];fittedWeights;get columns(){let[e,o,i,r,n,s,c,p]=this.columnWeights();return[{label:"DESCRI\xC7\xC3O DO PRODUTO / SERVI\xC7O",weight:e},{label:"CST / CFOP",weight:o},{label:"QTD / UN",weight:i,align:"center"},{label:"VLR UNIT",weight:r,align:"right"},{label:"VLR TOTAL",weight:n,align:"right"},{label:"BASES DE C\xC1LCULO",weight:s},{label:"AL\xCDQUOTAS",weight:c},{label:"VALOR DOS TRIBUTOS",weight:p}]}columnWeights(){if(this.fittedWeights)return this.fittedWeights;let[e,o,i,r,n,s,c,p]=this.compactWeights,l=i,u=r,d=n;for(let y of this.context.det){let{prod:S}=y;l=Math.max(l,this.weightFor(this.format.emitted(S.qCom,4),this.minFontSize),this.weightFor(`[${S.uCom}]`,this.fontSize)),u=Math.max(u,this.weightFor(this.format.emitted(S.vUnCom,10),this.minFontSize)),d=Math.max(d,this.weightFor(this.format.currency(S.vProd),this.minFontSize))}let f=e-(l-i)-(u-r)-(d-n);return this.fittedWeights=[f,o,l,u,d,s,c,p],this.fittedWeights}weightFor(e,o){let r=this.fields.widthOf(e,{size:o})+.5+this.cellPadding*2;return Math.ceil(r*200/this.context.contentWidth)}rate(e,o){return e?.gRed?.pAliqEfet??o}descriptionCell(e){let{cProd:o,NCM:i}=e.det.prod,r=this.fields.muted,n=this.description.infAdProd(e.det),s=this.description.extras(e.det),c=[`[NCM ${i}]`],p=e.cClassTrib;return p&&c.push(`[cClassTrib ${p}]`),[{text:this.description.productName(e.det)},...n?[{text:n,color:r}]:[],...s?[{text:s,color:r}]:[],{text:"",blankBefore:!0},{text:`[C\xF3d. ${o}]`,color:r},{text:c.join(" "),color:r}]}cells(e){let o=new w1(e),{prod:i}=e,r=o.icms,n=o.ipi,s=o.ibsCbs,c=o.is,p=a(u=>this.format.currency(u),"currency"),l=a(u=>this.format.percent(u),"percent");return[this.descriptionCell(o),{muted:!1,pairs:[["CST",o.ibsCbsCst],["CFOP",i.CFOP]]},[{text:this.format.emitted(i.qCom,4),align:"center",fit:!0},{text:`[${i.uCom}]`,color:this.fields.muted,align:"center"}],[{text:this.format.emitted(i.vUnCom,10),align:"right",fit:!0}],[{text:p(i.vProd),align:"right",fit:!0}],{pairs:[["ICMS",p(r.vBC)],["IBS / CBS",p(s?.vBC)],["IS",p(c?.vBCIS)],["IPI",p(n?.vBC)]]},{columns:2,pairs:[["ICMS",l(r.pICMS)],["CBS",l(this.rate(s?.gCBS,s?.gCBS?.pCBS))],["IBS UF",l(this.rate(s?.gIBSUF,s?.gIBSUF?.pIBSUF))],["IPI",l(n?.pIPI)],["IBS MUN",l(this.rate(s?.gIBSMun,s?.gIBSMun?.pIBSMun))],["IS",l(c?.pIS)]]},{columns:2,pairs:[["ICMS",p(r.vICMS)],["CBS",p(s?.gCBS?.vCBS)],["IBS UF",p(s?.gIBSUF?.vIBSUF)],["IPI",p(n?.vIPI)],["IBS MUN",p(s?.gIBSMun?.vIBSMun)],["IS",p(c?.vIS)]]}]}};var Qf=class extends qp{static{a(this,"RtcAdditionalData")}withQrCode=!0};var Tu=class extends jp{static{a(this,"DanfeRtcPdfDocument")}createBlocks(){return{canhoto:new zp(this),header:new Hf(this),firstPage:[new Lp(this),new Js(this,"retirada"),new Js(this,"entrega"),new Vp(this),new kf(this),new Up(this),new Pf(this)],items:new Gf(this),lastPage:[new Qf(this)],footer:new Hp(this)}}};var Lv=class extends Tu{static{a(this,"DanfeRtcLandscapePdfDocument")}sideCanhotoWidth=j(22);constructor(e){super(e),this.options={...this.options,layout:"landscape"}}};0&&(module.exports={AccessKeyBuilder,DanfceDefaultPdfDocument,DanfceReducedPdfDocument,DanfeDefaultPdfDocument,DanfeMargins,DanfeRtcLandscapePdfDocument,DanfeRtcPdfDocument,DanfeSimplificadoEtiquetaPdfDocument,DanfeSimplificadoPdfDocument,DanfeSimplificadoTipo2PdfDocument,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});
|
|
61
66
|
/*! Bundled license information:
|
|
62
67
|
|
|
63
68
|
mime-db/index.js:
|