nfets 0.0.125 → 0.0.127

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.
Files changed (23) hide show
  1. package/dist/nfe/index.cjs +2 -2
  2. package/dist/nfe/index.mjs +13 -13
  3. package/package.json +1 -1
  4. package/packages/nfe/schemas/PL_009_V4/tiposBasico_v1.03.xsd +3 -3
  5. package/packages/nfe/schemas/PL_009_V4/tiposBasico_v3.10.xsd +4 -4
  6. package/packages/nfe/schemas/PL_009_V4/tiposBasico_v4.00.xsd +4 -4
  7. package/packages/nfe/schemas/PL_009_V4/tiposDistDFe_v1.00.xsd +2 -2
  8. package/packages/nfe/schemas/PL_009_V4/tiposDistDFe_v1.01.xsd +2 -2
  9. package/packages/nfe/schemas/PL_010_V1/DFeTiposBasicos_v1.00.xsd +650 -138
  10. package/packages/nfe/schemas/PL_010_V1/leiauteNFe_v4.00.xsd +216 -56
  11. package/packages/nfe/schemas/PL_010_V1/nfe_v4.00.xsd +10 -10
  12. package/packages/nfe/schemas/PL_010_V1/tiposBasico_v4.00.xsd +17 -7
  13. package/packages/nfe/schemas/PL_010_V1/xmldsig-core-schema_v1.01.xsd +97 -97
  14. package/packages/nfe/schemas/PL_010_V1.21/DFeTiposBasicos_v1.00.xsd +641 -138
  15. package/packages/nfe/schemas/PL_010_V1.21/leiauteNFe_v4.00.xsd +215 -56
  16. package/packages/nfe/schemas/PL_010_V1.21/nfe_v4.00.xsd +10 -10
  17. package/packages/nfe/schemas/PL_010_V1.21/tiposBasico_v4.00.xsd +17 -7
  18. package/packages/nfe/schemas/PL_010_V1.21/xmldsig-core-schema_v1.01.xsd +97 -97
  19. package/packages/nfe/schemas/PL_010_V1.30/DFeTiposBasicos_v1.00.xsd +352 -45
  20. package/packages/nfe/schemas/PL_010_V1.30/leiauteNFe_v4.00.xsd +186 -48
  21. package/packages/nfe/schemas/PL_010_V1.30/nfe_v4.00.xsd +10 -10
  22. package/packages/nfe/schemas/PL_010_V1.30/tiposBasico_v4.00.xsd +17 -7
  23. package/packages/nfe/schemas/PL_010_V1.30/xmldsig-core-schema_v1.01.xsd +97 -97
@@ -19,13 +19,13 @@ Minimum version required to store current data is: `+n+`.
19
19
  `;return typeof i=="function"&&i(null,g),g},"render")});var H0=N(Ru=>{"use strict";var ZF=Mm();Ru.render=ZF.render;Ru.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">'+Ru.render(o,i);n.writeFile(e,c,r)},"renderToFile")});var G0=N(wu=>{"use strict";var Lm=zp();function XF(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(XF,"clearCanvas");function JF(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}a(JF,"getCanvasElement");wu.render=a(function(e,o,i){let r=i,n=o;typeof r>"u"&&(!o||!o.getContext)&&(r=o,o=void 0),o||(n=JF()),r=Lm.getOptions(r);let s=Lm.getImageWidth(e.modules.size,r),c=n.getContext("2d"),p=c.createImageData(s,s);return Lm.qrToImageData(p.data,e,r),XF(c,n,s),c.putImageData(p,0,0),n},"render");wu.renderToDataURL=a(function(e,o,i){let r=i;typeof r>"u"&&(!o||!o.getContext)&&(r=o,o=void 0),r||(r={});let n=wu.render(e,o,r),s=r.type||"image/png",c=r.rendererOpts||{};return n.toDataURL(s,c.quality)},"renderToDataURL")});var Y0=N(jp=>{"use strict";var WF=Kf(),Vm=gm(),Q0=G0(),KF=Mm();function _m(t,e,o,i,r){let n=[].slice.call(arguments,1),s=n.length,c=typeof n[s-1]=="function";if(!c&&!WF())throw new Error("Callback required as last argument");if(c){if(s<2)throw new Error("Too few arguments provided");s===2?(r=o,o=e,e=i=void 0):s===3&&(e.getContext&&typeof r>"u"?(r=i,i=void 0):(r=i,i=o,o=e,e=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(o=e,e=i=void 0):s===2&&!e.getContext&&(i=o,o=e,e=void 0),new Promise(function(p,u){try{let l=Vm.create(o,i);p(t(l,e,i))}catch(l){u(l)}})}try{let p=Vm.create(o,i);r(null,t(p,e,i))}catch(p){r(p)}}a(_m,"renderCanvas");jp.create=Vm.create;jp.toCanvas=_m.bind(null,Q0.render);jp.toDataURL=_m.bind(null,Q0.renderToDataURL);jp.toString=_m.bind(null,function(t,e,o){return KF.render(t,o)})});var W0=N($r=>{"use strict";var Z0=Kf(),qm=gm(),$F=E0(),X0=z0(),eO=q0(),J0=H0();function Tp(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(Z0())e=o||{},o=null;else throw new Error("Callback required as last argument");return{opts:e,cb:o}}a(Tp,"checkParams");function tO(t){return t.slice((t.lastIndexOf(".")-1>>>0)+2).toLowerCase()}a(tO,"getTypeFromFilename");function Iu(t){switch(t){case"svg":return J0;case"txt":case"utf8":return X0;case"png":case"image/png":default:return $F}}a(Iu,"getRendererFromType");function oO(t){switch(t){case"svg":return J0;case"terminal":return eO;case"utf8":default:return X0}}a(oO,"getStringRendererFromType");function Bp(t,e,o){if(!o.cb)return new Promise(function(i,r){try{let n=qm.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=qm.create(e,o.opts);return t(i,o.opts,o.cb)}catch(i){o.cb(i)}}a(Bp,"render");$r.create=qm.create;$r.toCanvas=Y0().toCanvas;$r.toString=a(function(e,o,i){let r=Tp(e,o,i),n=r.opts?r.opts.type:void 0,s=oO(n);return Bp(s.render,e,r)},"toString");$r.toDataURL=a(function(e,o,i){let r=Tp(e,o,i),n=Iu(r.opts.type);return Bp(n.renderToDataURL,e,r)},"toDataURL");$r.toBuffer=a(function(e,o,i){let r=Tp(e,o,i),n=Iu(r.opts.type);return Bp(n.renderToBuffer,e,r)},"toBuffer");$r.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&&!Z0())throw new Error("Too few arguments provided");let n=Tp(o,i,r),s=n.opts.type||tO(e),p=Iu(s).renderToFile.bind(null,e);return Bp(p,o,n)},"toFile");$r.toFileStream=a(function(e,o,i){if(arguments.length<2)throw new Error("Too few arguments provided");let r=Tp(o,i,e.emit.bind(e,"error")),s=Iu("png").renderToFileStream.bind(null,e);Bp(s,o,r)},"toFileStream")});var $0=N((uq,K0)=>{"use strict";K0.exports=W0()});var nO={};Qm(nO,{AccessKeyBuilder:()=>mc,DanfceDefaultPdfDocument:()=>km,DanfceReducedPdfDocument:()=>Hm,DefaultDetBuilderAggregator:()=>hc,DefaultTotalBuilderAggregator:()=>vc,EventoCstatToCancelRegister:()=>Tu,EventoCstatToProtocol:()=>ju,InutCstatToProtocol:()=>Bu,NFCeDto:()=>Sn,NFeDto:()=>sr,NfceAuthorizerPipeline:()=>Gc,NfceCancelPipeline:()=>sf,NfceConsultProtocoloPipeline:()=>uf,NfceConsultStatusPipeline:()=>lf,NfceContingencyXmlAuthorizerPipeline:()=>cf,NfceQrcode:()=>Lt,NfceRemoteTransmitter:()=>It,NfceVoidRangePipeline:()=>pf,NfceXmlBuilder:()=>Rp,NfceXmlBuilderPipeline:()=>Wf,NfeAuthorizationResponsePipeline:()=>of,NfeAuthorizerPipeline:()=>Uc,NfeCancelPipeline:()=>_c,NfeComplements:()=>Lu,NfeConsultProtocoloPipeline:()=>Hc,NfeConsultStatusPipeline:()=>kc,NfeDetXmlBuilder:()=>ht,NfeRemoteTransmitter:()=>Oo,NfeVoidRangePipeline:()=>rs,NfeXmlBuilder:()=>Se,NfeXmlBuilderPipeline:()=>Np,TpEmis:()=>bt,TpEvent:()=>Co,XmlValidationError:()=>dc,schemas:()=>fc});module.exports=pS(nO);var Zm=require("nfets/core");var dc=class extends Zm.NFeTsError{static{a(this,"XmlValidationError")}xml;name="XmlValidationError";constructor(e,o,i){super(e,i),this.xml=o}};var bt=(function(t){return t.Normal="1",t.EPEC="4",t.SVCAN="6",t.SVCRS="7",t.OFFLINE="9",t})({});var Co=(function(t){return t.Cancelamento="110111",t.CancelamentoSubstituicao="110112",t})({});var ju=(function(t){return t.RegistradoEVinculado="135",t})({}),Tu=(function(t){return t.RegistradoEVinculado="135",t.RegistradoNaoVinculado="136",t.CancelamentoHomologadoForaPrazo="155",t})({});var Bu=(function(t){return t.InutilizacaoHomologada="102",t})({});var Mu=require("nfets/core");var lS={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"},fc=a(()=>{if(process.env.NFETS_NFE_SCHEMAS_DIR)return process.env.NFETS_NFE_SCHEMAS_DIR;try{return(0,Mu.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,Mu.search)("nfe/schemas",{onFound:a(t=>t,"onFound"),onNotFound:a(()=>{throw new Error("Schemas not found on nfe/schemas")},"onNotFound")})}},"schemas"),Zo=lS;var mc=class{static{a(this,"AccessKeyBuilder")}compile(e){let o=e.cUF.toString().padStart(2,"0"),i=e.year.toString().padStart(2,"0"),r=e.month.toString().padStart(2,"0"),n=(e.identification??"").padStart(14,"0"),s=e.mod.toString().padStart(2,"0"),c=e.serie.toString().padStart(3,"0"),p=e.nNF.toString().padStart(9,"0"),u=e.tpEmis.toString().padStart(1,"0"),l=(e.cNF??this.code()).toString().padStart(8,"0"),f=`${o}${i}${r}${n}${s}${c}${p}${u}${l}`;return`${f}${this.verifyingDigit(f)}`}decompile(e){if(e.length!==44)return;let i=/^([0-9]{2})([0-9]{2})([0-9]{2})([A-Z0-9]{14})([0-9]{2})([0-9]{3})([0-9]{9})([0-9]{1})([0-9]{8})([0-9]{1})$/.exec(e);if(!i)return;let[r,n,s,c,p,u,l,f,g,y,x]=i;return{cUF:n,year:s,month:c,identification:p,mod:u,serie:l,nNF:f,tpEmis:g,cNF:y,vd:x}}code(){let e=Math.floor(Math.random()*1e8).toString().padStart(8,"0");return this.isCodeValid(e)?e:this.code()}isCodeValid(e){return!~["00000000","11111111","22222222","33333333","44444444","55555555","66666666","77777777","88888888","99999999","12345678","23456789","34567890","45678901","56789012","67890123","78901234","89012345","90123456","01234567"].indexOf(e)}verifyingDigit(e){let o=[4,3,2,9,8,7,6,5,4,3,2,9,8,7,6,5,4,3,2,9,8,7,6,5,4,3,2,9,8,7,6,5,4,3,2,9,8,7,6,5,4,3,2],i=48,r=43,n=0;for(let c=0;c<r;c++){let p=e.charCodeAt(c)-i;n+=p*o[c]}return n%11<2?0:11-n%11}};var Xm=require("nfets/core");var mi=require("nfets/core");var uS=new Set([Co.Cancelamento,Co.CancelamentoSubstituicao]),Lu=class{static{a(this,"NfeComplements")}toolkit;constructor(e=new Xm.Xml2JsToolkit){this.toolkit=e}cancelRegister(e,o){if(!e.trim())return(0,mi.left)(new mi.NFeTsError("Please provide a valid authorized NFe xml"));let i=this.toolkit.getNode(e,"protNFe");if(!i)return(0,mi.left)(new mi.NFeTsError("NFe not protocoladed"));let r=this.toolkit.getNodeValue(i,"chNFe");if(!r)return(0,mi.left)(new mi.NFeTsError("Access key not found in protNFe"));let n=this.findMatchingRetEvento(o,r);return n?(0,mi.right)(this.toolkit.appendNode(e,n)):(0,mi.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(Tu).includes(r)&&n&&uS.has(n)&&s===o)return i}return null}};var Vu=require("nfets/core");var hc=class{static{a(this,"DefaultDetBuilderAggregator")}builder;zero=Vu.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){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 Vu.Decimal.newOrZero(e).add(o??this.zero).toFixed(i)}};var Lp=require("nfets/core");var vc=class{static{a(this,"DefaultTotalBuilderAggregator")}builder;constructor(e){this.builder=e}aggregate(){let e=Lp.Decimal.from(0),o=this.builder.schema===Zo.PL_010_V1_30;this.builder.increment(({ICMSTot:i,ISSQNtot:r},n)=>{let s=this.resolveDeductibleVICMSDeson(n);return{vNFTot:o?n.reduce((c,p)=>c.add(p?.vItem??"0.00"),e).toFixed(2):void 0,ICMSTot:{vNF:Lp.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=Lp.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 vr=require("nfets/core");var Vp={[Co.Cancelamento]:{method:"envEventoCancNFe",version:"1.00",descEvento:"Cancelamento"},[Co.CancelamentoSubstituicao]:{method:"envEventoCancSubstNFe",version:"1.00",descEvento:"Cancelamento por substituicao"}};function gc(t,e){return a(function(){return t.apply(e,arguments)},"wrap")}a(gc,"bind");var{toString:dS}=Object.prototype,{getPrototypeOf:qp}=Object,{iterator:Up,toStringTag:$m}=Symbol,kp=(t=>e=>{let o=dS.call(e);return t[o]||(t[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),hi=a(t=>(t=t.toLowerCase(),e=>kp(e)===t),"kindOfTest"),Hp=a(t=>e=>typeof e===t,"typeOfTest"),{isArray:qa}=Array,_a=Hp("undefined");function yc(t){return t!==null&&!_a(t)&&t.constructor!==null&&!_a(t.constructor)&&No(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}a(yc,"isBuffer");var eh=hi("ArrayBuffer");function fS(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&eh(t.buffer),e}a(fS,"isArrayBufferView");var mS=Hp("string"),No=Hp("function"),th=Hp("number"),xc=a(t=>t!==null&&typeof t=="object","isObject"),hS=a(t=>t===!0||t===!1,"isBoolean"),_p=a(t=>{if(kp(t)!=="object")return!1;let e=qp(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!($m in t)&&!(Up in t)},"isPlainObject"),vS=a(t=>{if(!xc(t)||yc(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},"isEmptyObject"),gS=hi("Date"),yS=hi("File"),xS=a(t=>!!(t&&typeof t.uri<"u"),"isReactNativeBlob"),bS=a(t=>t&&typeof t.getParts<"u","isReactNative"),SS=hi("Blob"),CS=hi("FileList"),NS=a(t=>xc(t)&&No(t.pipe),"isStream");function RS(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}a(RS,"getGlobal");var Jm=RS(),Wm=typeof Jm.FormData<"u"?Jm.FormData:void 0,wS=a(t=>{if(!t)return!1;if(Wm&&t instanceof Wm)return!0;let e=qp(t);if(!e||e===Object.prototype||!No(t.append))return!1;let o=kp(t);return o==="formdata"||o==="object"&&No(t.toString)&&t.toString()==="[object FormData]"},"isFormData"),IS=hi("URLSearchParams"),[FS,OS,AS,DS]=["ReadableStream","Request","Response","Headers"].map(hi),PS=a(t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),"trim");function bc(t,e,{allOwnKeys:o=!1}={}){if(t===null||typeof t>"u")return;let i,r;if(typeof t!="object"&&(t=[t]),qa(t))for(i=0,r=t.length;i<r;i++)e.call(null,t[i],i,t);else{if(yc(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(bc,"forEach");function oh(t,e){if(yc(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(oh,"findKey");var ta=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ih=a(t=>!_a(t)&&t!==ta,"isContextDefined");function _u(){let{caseless:t,skipUndefined:e}=ih(this)&&this||{},o={},i=a((r,n)=>{if(n==="__proto__"||n==="constructor"||n==="prototype")return;let s=t&&oh(o,n)||n;_p(o[s])&&_p(r)?o[s]=_u(o[s],r):_p(r)?o[s]=_u({},r):qa(r)?o[s]=r.slice():(!e||!_a(r))&&(o[s]=r)},"assignValue");for(let r=0,n=arguments.length;r<n;r++)arguments[r]&&bc(arguments[r],i);return o}a(_u,"merge");var ES=a((t,e,o,{allOwnKeys:i}={})=>(bc(e,(r,n)=>{o&&No(r)?Object.defineProperty(t,n,{value:gc(r,o),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,n,{value:r,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:i}),t),"extend"),zS=a(t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),"stripBOM"),jS=a((t,e,o,i)=>{t.prototype=Object.create(e.prototype,i),Object.defineProperty(t.prototype,"constructor",{value:t,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(t,"super",{value:e.prototype}),o&&Object.assign(t.prototype,o)},"inherits"),TS=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&&qp(t)}while(t&&(!o||o(t,e))&&t!==Object.prototype);return e},"toFlatObject"),BS=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"),MS=a(t=>{if(!t)return null;if(qa(t))return t;let e=t.length;if(!th(e))return null;let o=new Array(e);for(;e-- >0;)o[e]=t[e];return o},"toArray"),LS=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&qp(Uint8Array)),VS=a((t,e)=>{let i=(t&&t[Up]).call(t),r;for(;(r=i.next())&&!r.done;){let n=r.value;e.call(t,n[0],n[1])}},"forEachEntry"),_S=a((t,e)=>{let o,i=[];for(;(o=t.exec(e))!==null;)i.push(o);return i},"matchAll"),qS=hi("HTMLFormElement"),US=a(t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,a(function(o,i,r){return i.toUpperCase()+r},"replacer")),"toCamelCase"),Km=(({hasOwnProperty:t})=>(e,o)=>t.call(e,o))(Object.prototype),kS=hi("RegExp"),nh=a((t,e)=>{let o=Object.getOwnPropertyDescriptors(t),i={};bc(o,(r,n)=>{let s;(s=e(r,n,t))!==!1&&(i[n]=s||r)}),Object.defineProperties(t,i)},"reduceDescriptors"),HS=a(t=>{nh(t,(e,o)=>{if(No(t)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;let i=t[o];if(No(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"),GS=a((t,e)=>{let o={},i=a(r=>{r.forEach(n=>{o[n]=!0})},"define");return qa(t)?i(t):i(String(t).split(e)),o},"toObjectSet"),QS=a(()=>{},"noop"),YS=a((t,e)=>t!=null&&Number.isFinite(t=+t)?t:e,"toFiniteNumber");function ZS(t){return!!(t&&No(t.append)&&t[$m]==="FormData"&&t[Up])}a(ZS,"isSpecCompliantForm");var XS=a(t=>{let e=new Array(10),o=a((i,r)=>{if(xc(i)){if(e.indexOf(i)>=0)return;if(yc(i))return i;if(!("toJSON"in i)){e[r]=i;let n=qa(i)?[]:{};return bc(i,(s,c)=>{let p=o(s,r+1);!_a(p)&&(n[c]=p)}),e[r]=void 0,n}}return i},"visit");return o(t,0)},"toJSONObject"),JS=hi("AsyncFunction"),WS=a(t=>t&&(xc(t)||No(t))&&No(t.then)&&No(t.catch),"isThenable"),rh=((t,e)=>t?setImmediate:e?((o,i)=>(ta.addEventListener("message",({source:r,data:n})=>{r===ta&&n===o&&i.length&&i.shift()()},!1),r=>{i.push(r),ta.postMessage(o,"*")}))(`axios@${Math.random()}`,[]):o=>setTimeout(o))(typeof setImmediate=="function",No(ta.postMessage)),KS=typeof queueMicrotask<"u"?queueMicrotask.bind(ta):typeof process<"u"&&process.nextTick||rh,$S=a(t=>t!=null&&No(t[Up]),"isIterable"),v={isArray:qa,isArrayBuffer:eh,isBuffer:yc,isFormData:wS,isArrayBufferView:fS,isString:mS,isNumber:th,isBoolean:hS,isObject:xc,isPlainObject:_p,isEmptyObject:vS,isReadableStream:FS,isRequest:OS,isResponse:AS,isHeaders:DS,isUndefined:_a,isDate:gS,isFile:yS,isReactNativeBlob:xS,isReactNative:bS,isBlob:SS,isRegExp:kS,isFunction:No,isStream:NS,isURLSearchParams:IS,isTypedArray:LS,isFileList:CS,forEach:bc,merge:_u,extend:ES,trim:PS,stripBOM:zS,inherits:jS,toFlatObject:TS,kindOf:kp,kindOfTest:hi,endsWith:BS,toArray:MS,forEachEntry:VS,matchAll:_S,isHTMLForm:qS,hasOwnProperty:Km,hasOwnProp:Km,reduceDescriptors:nh,freezeMethods:HS,toObjectSet:GS,toCamelCase:US,noop:QS,toFiniteNumber:YS,findKey:oh,global:ta,isContextDefined:ih,isSpecCompliantForm:ZS,toJSONObject:XS,isAsyncFn:JS,isThenable:WS,setImmediate:rh,asap:KS,isIterable:$S};var Ro=class ah extends Error{static{a(this,"AxiosError")}static from(e,o,i,r,n,s){let c=new ah(e.message,o||e.code,i,r,n);return c.cause=e,c.name=e.name,e.status!=null&&c.status==null&&(c.status=e.status),s&&Object.assign(c,s),c}constructor(e,o,i,r,n){super(e),Object.defineProperty(this,"message",{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(){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:v.toJSONObject(this.config),code:this.code,status:this.status}}};Ro.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Ro.ERR_BAD_OPTION="ERR_BAD_OPTION";Ro.ECONNABORTED="ECONNABORTED";Ro.ETIMEDOUT="ETIMEDOUT";Ro.ERR_NETWORK="ERR_NETWORK";Ro.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Ro.ERR_DEPRECATED="ERR_DEPRECATED";Ro.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Ro.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Ro.ERR_CANCELED="ERR_CANCELED";Ro.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Ro.ERR_INVALID_URL="ERR_INVALID_URL";Ro.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var w=Ro;var lg=Tt(pg(),1),tl=lg.default;function sd(t){return v.isPlainObject(t)||v.isArray(t)}a(sd,"isVisitable");function ug(t){return v.endsWith(t,"[]")?t.slice(0,-2):t}a(ug,"removeBrackets");function ad(t,e,o){return t?t.concat(e).map(a(function(r,n){return r=ug(r),!o&&n?"["+r+"]":r},"each")).join(o?".":""):e}a(ad,"renderKey");function LN(t){return v.isArray(t)&&!t.some(sd)}a(LN,"isFlatArray");var VN=v.toFlatObject(v,{},null,a(function(e){return/^is[A-Z]/.test(e)},"filter"));function _N(t,e,o){if(!v.isObject(t))throw new TypeError("target must be an object");e=e||new(tl||FormData),o=v.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,a(function(S,R){return!v.isUndefined(R[S])},"defined"));let i=o.metaTokens,r=o.visitor||f,n=o.dots,s=o.indexes,c=o.Blob||typeof Blob<"u"&&Blob,p=o.maxDepth===void 0?100:o.maxDepth,u=c&&v.isSpecCompliantForm(e);if(!v.isFunction(r))throw new TypeError("visitor must be a function");function l(C){if(C===null)return"";if(v.isDate(C))return C.toISOString();if(v.isBoolean(C))return C.toString();if(!u&&v.isBlob(C))throw new w("Blob is not supported. Use a Buffer instead.");return v.isArrayBuffer(C)||v.isTypedArray(C)?u&&typeof Blob=="function"?new Blob([C]):Buffer.from(C):C}a(l,"convertValue");function f(C,S,R){let X=C;if(v.isReactNative(e)&&v.isReactNativeBlob(C))return e.append(ad(R,S,n),l(C)),!1;if(C&&!R&&typeof C=="object"){if(v.endsWith(S,"{}"))S=i?S:S.slice(0,-2),C=JSON.stringify(C);else if(v.isArray(C)&&LN(C)||(v.isFileList(C)||v.endsWith(S,"[]"))&&(X=v.toArray(C)))return S=ug(S),X.forEach(a(function(P,K){!(v.isUndefined(P)||P===null)&&e.append(s===!0?ad([S],K,n):s===null?S:S+"[]",l(P))},"each")),!1}return sd(C)?!0:(e.append(ad(R,S,n),l(C)),!1)}a(f,"defaultVisitor");let g=[],y=Object.assign(VN,{defaultVisitor:f,convertValue:l,isVisitable:sd});function x(C,S,R=0){if(!v.isUndefined(C)){if(R>p)throw new w("Object is too deeply nested ("+R+" levels). Max depth: "+p,w.ERR_FORM_DATA_DEPTH_EXCEEDED);if(g.indexOf(C)!==-1)throw Error("Circular reference detected in "+S.join("."));g.push(C),v.forEach(C,a(function(q,P){(!(v.isUndefined(q)||q===null)&&r.call(e,q,v.isString(P)?P.trim():P,S,y))===!0&&x(q,S?S.concat(P):[P],R+1)},"each")),g.pop()}}if(a(x,"build"),!v.isObject(t))throw new TypeError("data must be an object");return x(t),e}a(_N,"toFormData");var ur=_N;function dg(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(t).replace(/[!'()~]|%20/g,a(function(i){return e[i]},"replacer"))}a(dg,"encode");function fg(t,e){this._pairs=[],t&&ur(t,this,e)}a(fg,"AxiosURLSearchParams");var mg=fg.prototype;mg.append=a(function(e,o){this._pairs.push([e,o])},"append");mg.toString=a(function(e){let o=e?function(i){return e.call(this,i,dg)}:dg;return this._pairs.map(a(function(r){return o(r[0])+"="+o(r[1])},"each"),"").join("&")},"toString");var hg=fg;function qN(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}a(qN,"encode");function ia(t,e,o){if(!e)return t;let i=o&&o.encode||qN,r=v.isFunction(o)?{serialize:o}:o,n=r&&r.serialize,s;if(n?s=n(e,r):s=v.isURLSearchParams(e)?e.toString():new hg(e,r).toString(i),s){let c=t.indexOf("#");c!==-1&&(t=t.slice(0,c)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}a(ia,"buildURL");var UN=class{static{a(this,"InterceptorManager")}constructor(){this.handlers=[]}use(e,o,i){return this.handlers.push({fulfilled:e,rejected:o,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){v.forEach(this.handlers,a(function(i){i!==null&&e(i)},"forEachHandler"))}},cd=UN;var dr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0};var xg=Tt(require("crypto"),1);var vg=Tt(require("url"),1),gg=vg.default.URLSearchParams;var pd="abcdefghijklmnopqrstuvwxyz",yg="0123456789",bg={DIGIT:yg,ALPHA:pd,ALPHA_DIGIT:pd+pd.toUpperCase()+yg},kN=a((t=16,e=bg.ALPHA_DIGIT)=>{let o="",{length:i}=e,r=new Uint32Array(t);xg.default.randomFillSync(r);for(let n=0;n<t;n++)o+=e[r[n]%i];return o},"generateString"),Sg={isNode:!0,classes:{URLSearchParams:gg,FormData:tl,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:bg,generateString:kN,protocols:["http","https","file","data"]};var dd={};Qm(dd,{hasBrowserEnv:()=>ud,hasStandardBrowserEnv:()=>HN,hasStandardBrowserWebWorkerEnv:()=>GN,navigator:()=>ld,origin:()=>QN});var ud=typeof window<"u"&&typeof document<"u",ld=typeof navigator=="object"&&navigator||void 0,HN=ud&&(!ld||["ReactNative","NativeScript","NS"].indexOf(ld.product)<0),GN=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",QN=ud&&window.location.href||"http://localhost";var $={...dd,...Sg};function fd(t,e){return ur(t,new $.classes.URLSearchParams,{visitor:a(function(o,i,r,n){return $.isNode&&v.isBuffer(o)?(this.append(i,o.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},"visitor"),...e})}a(fd,"toURLEncodedForm");function YN(t){return v.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}a(YN,"parsePropPath");function ZN(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(ZN,"arrayToObject");function XN(t){function e(o,i,r,n){let s=o[n++];if(s==="__proto__")return!0;let c=Number.isFinite(+s),p=n>=o.length;return s=!s&&v.isArray(r)?r.length:s,p?(v.hasOwnProp(r,s)?r[s]=v.isArray(r[s])?r[s].concat(i):[r[s],i]:r[s]=i,!c):((!r[s]||!v.isObject(r[s]))&&(r[s]=[]),e(o,i,r[s],n)&&v.isArray(r[s])&&(r[s]=ZN(r[s])),!c)}if(a(e,"buildPath"),v.isFormData(t)&&v.isFunction(t.entries)){let o={};return v.forEachEntry(t,(i,r)=>{e(YN(i),r,o,0)}),o}return null}a(XN,"formDataToJSON");var ol=XN;var Qa=a((t,e)=>t!=null&&v.hasOwnProp(t,e)?t[e]:void 0,"own");function JN(t,e,o){if(v.isString(t))try{return(e||JSON.parse)(t),v.trim(t)}catch(i){if(i.name!=="SyntaxError")throw i}return(o||JSON.stringify)(t)}a(JN,"stringifySafely");var md={transitional:dr,adapter:["xhr","http","fetch"],transformRequest:[a(function(e,o){let i=o.getContentType()||"",r=i.indexOf("application/json")>-1,n=v.isObject(e);if(n&&v.isHTMLForm(e)&&(e=new FormData(e)),v.isFormData(e))return r?JSON.stringify(ol(e)):e;if(v.isArrayBuffer(e)||v.isBuffer(e)||v.isStream(e)||v.isFile(e)||v.isBlob(e)||v.isReadableStream(e))return e;if(v.isArrayBufferView(e))return e.buffer;if(v.isURLSearchParams(e))return o.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let c;if(n){let p=Qa(this,"formSerializer");if(i.indexOf("application/x-www-form-urlencoded")>-1)return fd(e,p).toString();if((c=v.isFileList(e))||i.indexOf("multipart/form-data")>-1){let u=Qa(this,"env"),l=u&&u.FormData;return ur(c?{"files[]":e}:e,l&&new l,p)}}return n||r?(o.setContentType("application/json",!1),JN(e)):e},"transformRequest")],transformResponse:[a(function(e){let o=Qa(this,"transitional")||md.transitional,i=o&&o.forcedJSONParsing,r=Qa(this,"responseType"),n=r==="json";if(v.isResponse(e)||v.isReadableStream(e))return e;if(e&&v.isString(e)&&(i&&!r||n)){let c=!(o&&o.silentJSONParsing)&&n;try{return JSON.parse(e,Qa(this,"parseReviver"))}catch(p){if(c)throw p.name==="SyntaxError"?w.from(p,w.ERR_BAD_RESPONSE,this,null,Qa(this,"response")):p}}return e},"transformResponse")],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:$.classes.FormData,Blob:$.classes.Blob},validateStatus:a(function(e){return e>=200&&e<300},"validateStatus"),headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};v.forEach(["delete","get","head","post","put","patch"],t=>{md.headers[t]={}});var Ya=md;var WN=v.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"]),Cg=a((t=>{let e={},o,i,r;return t&&t.split(`
20
20
  `).forEach(a(function(s){r=s.indexOf(":"),o=s.substring(0,r).trim().toLowerCase(),i=s.substring(r+1).trim(),!(!o||e[o]&&WN[o])&&(o==="set-cookie"?e[o]?e[o].push(i):e[o]=[i]:e[o]=e[o]?e[o]+", "+i:i)},"parser")),e}),"default");var Ng=Symbol("internals"),KN=/[^\x09\x20-\x7E\x80-\xFF]/g;function $N(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($N,"trimSPorHTAB");function wc(t){return t&&String(t).trim().toLowerCase()}a(wc,"normalizeHeader");function eR(t){return $N(t.replace(KN,""))}a(eR,"sanitizeHeaderValue");function il(t){return t===!1||t==null?t:v.isArray(t)?t.map(il):eR(String(t))}a(il,"normalizeValue");function tR(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(tR,"parseTokens");var oR=a(t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()),"isValidHeaderName");function hd(t,e,o,i,r){if(v.isFunction(i))return i.call(this,e,o);if(r&&(e=o),!!v.isString(e)){if(v.isString(i))return e.indexOf(i)!==-1;if(v.isRegExp(i))return i.test(e)}}a(hd,"matchHeaderValue");function iR(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,o,i)=>o.toUpperCase()+i)}a(iR,"formatHeader");function nR(t,e){let o=v.toCamelCase(" "+e);["get","set","has"].forEach(i=>{Object.defineProperty(t,i+o,{value:a(function(r,n,s){return this[i].call(this,e,r,n,s)},"value"),configurable:!0})})}a(nR,"buildAccessors");var nl=class{static{a(this,"AxiosHeaders")}constructor(e){e&&this.set(e)}set(e,o,i){let r=this;function n(c,p,u){let l=wc(p);if(!l)throw new Error("header name must be a non-empty string");let f=v.findKey(r,l);(!f||r[f]===void 0||u===!0||u===void 0&&r[f]!==!1)&&(r[f||p]=il(c))}a(n,"setHeader");let s=a((c,p)=>v.forEach(c,(u,l)=>n(u,l,p)),"setHeaders");if(v.isPlainObject(e)||e instanceof this.constructor)s(e,o);else if(v.isString(e)&&(e=e.trim())&&!oR(e))s(Cg(e),o);else if(v.isObject(e)&&v.isIterable(e)){let c={},p,u;for(let l of e){if(!v.isArray(l))throw TypeError("Object iterator must return a key-value pair");c[u=l[0]]=(p=c[u])?v.isArray(p)?[...p,l[1]]:[p,l[1]]:l[1]}s(c,o)}else e!=null&&n(o,e,i);return this}get(e,o){if(e=wc(e),e){let i=v.findKey(this,e);if(i){let r=this[i];if(!o)return r;if(o===!0)return tR(r);if(v.isFunction(o))return o.call(this,r,i);if(v.isRegExp(o))return o.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,o){if(e=wc(e),e){let i=v.findKey(this,e);return!!(i&&this[i]!==void 0&&(!o||hd(this,this[i],i,o)))}return!1}delete(e,o){let i=this,r=!1;function n(s){if(s=wc(s),s){let c=v.findKey(i,s);c&&(!o||hd(i,i[c],c,o))&&(delete i[c],r=!0)}}return a(n,"deleteHeader"),v.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||hd(this,this[n],n,e,!0))&&(delete this[n],r=!0)}return r}normalize(e){let o=this,i={};return v.forEach(this,(r,n)=>{let s=v.findKey(i,n);if(s){o[s]=il(r),delete o[n];return}let c=e?iR(n):String(n).trim();c!==n&&delete o[n],o[c]=il(r),i[c]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let o=Object.create(null);return v.forEach(this,(i,r)=>{i!=null&&i!==!1&&(o[r]=e&&v.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(`
21
21
  `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...o){let i=new this(e);return o.forEach(r=>i.set(r)),i}static accessor(e){let i=(this[Ng]=this[Ng]={accessors:{}}).accessors,r=this.prototype;function n(s){let c=wc(s);i[c]||(nR(r,s),i[c]=!0)}return a(n,"defineAccessor"),v.isArray(e)?e.forEach(n):n(e),this}};nl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);v.reduceDescriptors(nl.prototype,({value:t},e)=>{let o=e[0].toUpperCase()+e.slice(1);return{get:a(()=>t,"get"),set(i){this[o]=i}}});v.freezeMethods(nl);var _e=nl;function Ic(t,e){let o=this||Ya,i=e||o,r=_e.from(i.headers),n=i.data;return v.forEach(t,a(function(c){n=c.call(o,n,r.normalize(),e?e.status:void 0)},"transform")),r.normalize(),n}a(Ic,"transformData");function Fc(t){return!!(t&&t.__CANCEL__)}a(Fc,"isCancel");var rR=class extends w{static{a(this,"CanceledError")}constructor(e,o,i){super(e??"canceled",w.ERR_CANCELED,o,i),this.name="CanceledError",this.__CANCEL__=!0}},To=rR;function Ji(t,e,o){let i=o.config.validateStatus;!o.status||!i||i(o.status)?t(o):e(new w("Request failed with status code "+o.status,[w.ERR_BAD_REQUEST,w.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))}a(Ji,"settle");function vd(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}a(vd,"isAbsoluteURL");function gd(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}a(gd,"combineURLs");function na(t,e,o){let i=!vd(e);return t&&(i||o===!1)?gd(t,e):e}a(na,"buildFullPath");var aR={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};function sR(t){try{return new URL(t)}catch{return null}}a(sR,"parseUrl");function Rg(t){var e=(typeof t=="string"?sR(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)||aR[o]||0,!cR(i,r)))return"";var n=yd(o+"_proxy")||yd("all_proxy");return n&&n.indexOf("://")===-1&&(n=o+"://"+n),n}a(Rg,"getProxyForUrl");function cR(t,e){var o=yd("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(cR,"shouldProxy");function yd(t){return process.env[t.toLowerCase()]||process.env[t.toUpperCase()]||""}a(yd,"getEnv");var py=Tt(require("http"),1),ly=Tt(require("https"),1),qd=Tt(require("http2"),1),Ud=Tt(require("util"),1),_d=require("path"),uy=Tt(kg(),1),Fn=Tt(require("zlib"),1);var ca="1.15.2";function Ec(t){let e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}a(Ec,"parseProtocol");var GR=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function Td(t,e,o){let i=o&&o.Blob||$.classes.Blob,r=Ec(t);if(e===void 0&&i&&(e=!0),r==="data"){t=r.length?t.slice(r.length+1):t;let n=GR.exec(t);if(!n)throw new w("Invalid URL",w.ERR_INVALID_URL);let s=n[1],c=n[2],p=n[3],u=Buffer.from(decodeURIComponent(p),c?"base64":"utf8");if(e){if(!i)throw new w("Blob is not supported",w.ERR_NOT_SUPPORT);return new i([u],{type:s})}return u}throw new w("Unsupported protocol "+r,w.ERR_NOT_SUPPORT)}a(Td,"fromDataURI");var Jo=Tt(require("stream"),1);var Hg=Tt(require("stream"),1);var Bd=Symbol("internals"),QR=class extends Hg.default.Transform{static{a(this,"AxiosTransformStream")}constructor(e){e=v.toFlatObject(e,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(i,r)=>!v.isUndefined(r[i])),super({readableHighWaterMark:e.chunkSize});let o=this[Bd]={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[Bd];return o.onReadCallback&&o.onReadCallback(),super._read(e)}_transform(e,o,i){let r=this[Bd],n=r.maxRate,s=this.readableHighWaterMark,c=r.timeWindow,p=1e3/c,u=n/p,l=r.minChunkSize!==!1?Math.max(r.minChunkSize,u*.01):0,f=a((y,x)=>{let C=Buffer.byteLength(y);r.bytesSeen+=C,r.bytes+=C,r.isCaptured&&this.emit("progress",r.bytesSeen),this.push(y)?process.nextTick(x):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(x)}},"pushChunk"),g=a((y,x)=>{let C=Buffer.byteLength(y),S=null,R=s,X,q=0;if(n){let P=Date.now();(!r.ts||(q=P-r.ts)>=c)&&(r.ts=P,X=u-r.bytes,r.bytes=X<0?-X:0,q=0),X=u-r.bytes}if(n){if(X<=0)return setTimeout(()=>{x(null,y)},c-q);X<R&&(R=X)}R&&C>R&&C-R>l&&(S=y.subarray(R),y=y.subarray(0,R)),f(y,S?()=>{process.nextTick(x,null,S)}:x)},"transformChunk");g(e,a(function y(x,C){if(x)return i(x);C?g(C,y):i(null)},"transformNextChunk"))}},Md=QR;var dy=require("events");var Qg=Tt(require("util"),1),Yg=require("stream");var{asyncIterator:Gg}=Symbol,YR=a(async function*(t){t.stream?yield*t.stream():t.arrayBuffer?yield await t.arrayBuffer():t[Gg]?yield*t[Gg]():yield t},"readBlob"),pl=YR;var ZR=$.ALPHABET.ALPHA_DIGIT+"-_",zc=typeof TextEncoder=="function"?new TextEncoder:new Qg.default.TextEncoder,pa=`\r
22
- `,XR=zc.encode(pa),JR=2,WR=class{static{a(this,"FormDataPart")}constructor(e,o){let{escapeName:i}=this.constructor,r=v.isString(o),n=`Content-Disposition: form-data; name="${i(e)}"${!r&&o.name?`; filename="${i(o.name)}"`:""}${pa}`;if(r)o=zc.encode(String(o).replace(/\r?\n|\r\n?/g,pa));else{let s=String(o.type||"application/octet-stream").replace(/[\r\n]/g,"");n+=`Content-Type: ${s}${pa}`}this.headers=zc.encode(n+pa),this.contentLength=r?o.byteLength:o.size,this.size=this.headers.byteLength+this.contentLength+JR,this.name=e,this.value=o}async*encode(){yield this.headers;let{value:e}=this;v.isTypedArray(e)?yield e:yield*pl(e),yield XR}static escapeName(e){return String(e).replace(/[\r\n"]/g,o=>({"\r":"%0D","\n":"%0A",'"':"%22"})[o])}},KR=a((t,e,o)=>{let{tag:i="form-data-boundary",size:r=25,boundary:n=i+"-"+$.generateString(r,ZR)}=o||{};if(!v.isFormData(t))throw TypeError("FormData instance required");if(n.length<1||n.length>70)throw Error("boundary must be 10-70 characters long");let s=zc.encode("--"+n+pa),c=zc.encode("--"+n+"--"+pa),p=c.byteLength,u=Array.from(t.entries()).map(([f,g])=>{let y=new WR(f,g);return p+=y.size,y});p+=s.byteLength*u.length,p=v.toFiniteNumber(p);let l={"Content-Type":`multipart/form-data; boundary=${n}`};return Number.isFinite(p)&&(l["Content-Length"]=p),e&&e(l),Yg.Readable.from((async function*(){for(let f of u)yield s,yield*f.encode();yield c})())},"formDataToStream"),Zg=KR;var Xg=Tt(require("stream"),1);var $R=class extends Xg.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)}},Jg=$R;var ew=a((t,e)=>v.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"),Wg=ew;var tw=new Set(["localhost"]),ey=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"),ow=a(t=>{if(t==="::1")return!0;let e=t.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(e)return ey(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"),Kg=a(t=>t?tw.has(t)||ey(t)?!0:ow(t):!1,"isLoopback"),iw={http:80,https:443,ws:80,wss:443,ftp:21},nw=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"),$g=a(t=>t&&(t.charAt(0)==="["&&t.charAt(t.length-1)==="]"&&(t=t.slice(1,-1)),t.replace(/\.+$/,"")),"normalizeNoProxyHost");function Ld(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)||iw[e.protocol.split(":",1)[0]]||0,r=$g(e.hostname.toLowerCase());return o.split(/[\s,]+/).some(n=>{if(!n)return!1;let[s,c]=nw(n);return s=$g(s),!s||c&&c!==i?!1:(s.charAt(0)==="*"&&(s=s.slice(1)),s.charAt(0)==="."?r.endsWith(s):r===s||Kg(r)&&Kg(s))})}a(Ld,"shouldBypassProxy");function rw(t,e){t=t||10;let o=new Array(t),i=new Array(t),r=0,n=0,s;return e=e!==void 0?e:1e3,a(function(p){let u=Date.now(),l=i[n];s||(s=u),o[r]=p,i[r]=u;let f=n,g=0;for(;f!==r;)g+=o[f++],f=f%t;if(r=(r+1)%t,r===n&&(n=(n+1)%t),u-s<e)return;let y=l&&u-l;return y?Math.round(g*1e3/y):void 0},"push")}a(rw,"speedometer");var ty=rw;function aw(t,e){let o=0,i=1e3/e,r,n,s=a((u,l=Date.now())=>{o=l,r=null,n&&(clearTimeout(n),n=null),t(...u)},"invoke");return[a((...u)=>{let l=Date.now(),f=l-o;f>=i?s(u,l):(r=u,n||(n=setTimeout(()=>{n=null,s(r)},i-f)))},"throttled"),a(()=>r&&s(r),"flush")]}a(aw,"throttle");var oy=aw;var In=a((t,e,o=3)=>{let i=0,r=ty(50,250);return oy(n=>{let s=n.loaded,c=n.lengthComputable?n.total:void 0,p=c!=null?Math.min(s,c):s,u=Math.max(0,p-i),l=r(u);i=Math.max(i,p);let f={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(f)},o)},"progressEventReducer"),Wa=a((t,e)=>{let o=t!=null;return[i=>e[0]({lengthComputable:o,total:t,loaded:i}),e[1]]},"progressEventDecorator"),Ka=a(t=>(...e)=>v.asap(()=>t(...e)),"asyncDecorator");function Vd(t){if(!t||typeof t!="string"||!t.startsWith("data:"))return 0;let e=t.indexOf(",");if(e<0)return 0;let o=t.slice(5,e),i=t.slice(e+1);if(/;base64/i.test(o)){let n=i.length,s=i.length;for(let g=0;g<s;g++)if(i.charCodeAt(g)===37&&g+2<s){let y=i.charCodeAt(g+1),x=i.charCodeAt(g+2);(y>=48&&y<=57||y>=65&&y<=70||y>=97&&y<=102)&&(x>=48&&x<=57||x>=65&&x<=70||x>=97&&x<=102)&&(n-=2,g+=2)}let c=0,p=s-1,u=a(g=>g>=2&&i.charCodeAt(g-2)===37&&i.charCodeAt(g-1)===51&&(i.charCodeAt(g)===68||i.charCodeAt(g)===100),"tailIsPct3D");p>=0&&(i.charCodeAt(p)===61?(c++,p--):u(p)&&(c++,p-=3)),c===1&&p>=0&&(i.charCodeAt(p)===61||u(p))&&c++;let f=Math.floor(n/4)*3-(c||0);return f>0?f:0}return Buffer.byteLength(i,"utf8")}a(Vd,"estimateDataURLDecodedBytes");var iy={flush:Fn.default.constants.Z_SYNC_FLUSH,finishFlush:Fn.default.constants.Z_SYNC_FLUSH},sw={flush:Fn.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:Fn.default.constants.BROTLI_OPERATION_FLUSH},ny=v.isFunction(Fn.default.createBrotliDecompress),{http:cw,https:pw}=uy.default,lw=/https:?/,ry=Symbol("axios.http.socketListener"),ll=Symbol("axios.http.currentReq"),ay=$.protocols.map(t=>t+":"),sy=a((t,[e,o])=>(t.on("end",o).on("error",o),e),"flushOnFinish"),uw=class{static{a(this,"Http2Sessions")}constructor(){this.sessions=Object.create(null)}getSession(e,o){o=Object.assign({sessionTimeout:1e3},o);let i=this.sessions[e];if(i){let l=i.length;for(let f=0;f<l;f++){let[g,y]=i[f];if(!g.destroyed&&!g.closed&&Ud.default.isDeepStrictEqual(y,o))return g}}let r=qd.default.connect(e,o),n,s=a(()=>{if(n)return;n=!0;let l=i,f=l.length,g=f;for(;g--;)if(l[g][0]===r){f===1?delete this.sessions[e]:l.splice(g,1),r.closed||r.close();return}},"removeSession"),c=r.request,{sessionTimeout:p}=o;if(p!=null){let l,f=0;r.request=function(){let g=c.apply(this,arguments);return f++,l&&(clearTimeout(l),l=null),g.once("close",()=>{--f||(l=setTimeout(()=>{l=null,s()},p))}),g}}r.once("close",s);let u=[r,o];return i?i.push(u):i=this.sessions[e]=[u],r}},dw=new uw;function fw(t,e){t.beforeRedirects.proxy&&t.beforeRedirects.proxy(t),t.beforeRedirects.config&&t.beforeRedirects.config(t,e)}a(fw,"dispatchBeforeRedirect");function fy(t,e,o){let i=e;if(!i&&i!==!1){let r=Rg(o);r&&(Ld(o)||(i=new URL(r)))}if(i){if(i.username&&(i.auth=(i.username||"")+":"+(i.password||"")),i.auth){if(!!(i.auth.username||i.auth.password))i.auth=(i.auth.username||"")+":"+(i.auth.password||"");else if(typeof i.auth=="object")throw new w("Invalid proxy authorization",w.ERR_BAD_OPTION,{proxy:i});let s=Buffer.from(i.auth,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+s}t.headers.host=t.hostname+(t.port?":"+t.port:"");let r=i.hostname||i.host;t.hostname=r,t.host=r,t.port=i.port,t.path=o,i.protocol&&(t.protocol=i.protocol.includes(":")?i.protocol:`${i.protocol}:`)}t.beforeRedirects.proxy=a(function(n){fy(n,e,n.href)},"beforeRedirect")}a(fy,"setProxy");var mw=typeof process<"u"&&v.kindOf(process)==="process",hw=a(t=>new Promise((e,o)=>{let i,r,n=a((p,u)=>{r||(r=!0,i&&i(p,u))},"done"),s=a(p=>{n(p),e(p)},"_resolve"),c=a(p=>{n(p,!0),o(p)},"_reject");t(s,c,p=>i=p).catch(c)}),"wrapAsync"),vw=a(({address:t,family:e})=>{if(!v.isString(t))throw TypeError("address must be a string");return{address:t,family:e||(t.indexOf(".")<0?6:4)}},"resolveFamily"),cy=a((t,e)=>vw(v.isObject(t)?t:{address:t,family:e}),"buildAddressEntry"),gw={request(t,e){let o=t.protocol+"//"+t.hostname+":"+(t.port||(t.protocol==="https:"?443:80)),{http2Options:i,headers:r}=t,n=dw.getSession(o,i),{HTTP2_HEADER_SCHEME:s,HTTP2_HEADER_METHOD:c,HTTP2_HEADER_PATH:p,HTTP2_HEADER_STATUS:u}=qd.default.constants,l={[s]:t.protocol.replace(":",""),[c]:t.method,[p]:t.path};v.forEach(r,(g,y)=>{y.charAt(0)!==":"&&(l[y]=g)});let f=n.request(l);return f.once("response",g=>{let y=f;g=Object.assign({},g);let x=g[u];delete g[u],y.headers=g,y.statusCode=+x,e(y)}),f}},my=mw&&a(function(e){return hw(a(async function(i,r,n){let s=a(z=>v.hasOwnProp(e,z)?e[z]:void 0,"own"),c=s("data"),p=s("lookup"),u=s("family"),l=s("httpVersion");l===void 0&&(l=1);let f=s("http2Options"),g=s("responseType"),y=s("responseEncoding"),x=e.method.toUpperCase(),C,S=!1,R;if(l=+l,Number.isNaN(l))throw TypeError(`Invalid protocol version: '${e.httpVersion}' is not a number`);if(l!==1&&l!==2)throw TypeError(`Unsupported protocol version '${l}'`);let X=l===2;if(p){let z=Wg(p,O=>v.isArray(O)?O:[O]);p=a((O,ee,Xe)=>{z(O,ee,(Ne,So,wn)=>{if(Ne)return Xe(Ne);let nt=v.isArray(So)?So.map(Va=>cy(Va)):[cy(So,wn)];ee.all?Xe(Ne,nt):Xe(Ne,nt[0].address,nt[0].family)})},"lookup")}let q=new dy.EventEmitter;function P(z){try{q.emit("abort",!z||z.type?new To(null,e,R):z)}catch(O){console.warn("emit error",O)}}a(P,"abort"),q.once("abort",r);let K=a(()=>{e.cancelToken&&e.cancelToken.unsubscribe(P),e.signal&&e.signal.removeEventListener("abort",P),q.removeAllListeners()},"onFinished");(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(P),e.signal&&(e.signal.aborted?P():e.signal.addEventListener("abort",P))),n((z,O)=>{if(C=!0,O){S=!0,K();return}let{data:ee}=z;if(ee instanceof Jo.default.Readable||ee instanceof Jo.default.Duplex){let Xe=Jo.default.finished(ee,()=>{Xe(),K()})}else K()});let Fe=na(e.baseURL,e.url,e.allowAbsoluteUrls),Z=new URL(Fe,$.hasBrowserEnv?$.origin:void 0),yt=Z.protocol||ay[0];if(yt==="data:"){if(e.maxContentLength>-1){let O=String(e.url||Fe||"");if(Vd(O)>e.maxContentLength)return r(new w("maxContentLength size of "+e.maxContentLength+" exceeded",w.ERR_BAD_RESPONSE,e))}let z;if(x!=="GET")return Ji(i,r,{status:405,statusText:"method not allowed",headers:{},config:e});try{z=Td(e.url,g==="blob",{Blob:e.env&&e.env.Blob})}catch(O){throw w.from(O,w.ERR_BAD_REQUEST,e)}return g==="text"?(z=z.toString(y),(!y||y==="utf8")&&(z=v.stripBOM(z))):g==="stream"&&(z=Jo.default.Readable.from(z)),Ji(i,r,{data:z,status:200,statusText:"OK",headers:new _e,config:e})}if(ay.indexOf(yt)===-1)return r(new w("Unsupported protocol "+yt,w.ERR_BAD_REQUEST,e));let ot=_e.from(e.headers).normalize();ot.set("User-Agent","axios/"+ca,!1);let{onUploadProgress:Ba,onDownloadProgress:Ma}=e,Rn=e.maxRate,Xi,Yo;if(v.isSpecCompliantForm(c)){let z=ot.getContentType(/boundary=([-_\w\d]{10,70})/i);c=Zg(c,O=>{ot.set(O)},{tag:`axios-${ca}-boundary`,boundary:z&&z[1]||void 0})}else if(v.isFormData(c)&&v.isFunction(c.getHeaders)&&c.getHeaders!==Object.prototype.getHeaders){if(ot.set(c.getHeaders()),!ot.hasContentLength())try{let z=await Ud.default.promisify(c.getLength).call(c);Number.isFinite(z)&&z>=0&&ot.setContentLength(z)}catch{}}else if(v.isBlob(c)||v.isFile(c))c.size&&ot.setContentType(c.type||"application/octet-stream"),ot.setContentLength(c.size||0),c=Jo.default.Readable.from(pl(c));else if(c&&!v.isStream(c)){if(!Buffer.isBuffer(c))if(v.isArrayBuffer(c))c=Buffer.from(new Uint8Array(c));else if(v.isString(c))c=Buffer.from(c,"utf-8");else return r(new w("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",w.ERR_BAD_REQUEST,e));if(ot.setContentLength(c.length,!1),e.maxBodyLength>-1&&c.length>e.maxBodyLength)return r(new w("Request body larger than maxBodyLength limit",w.ERR_BAD_REQUEST,e))}let Mp=v.toFiniteNumber(ot.getContentLength());v.isArray(Rn)?(Xi=Rn[0],Yo=Rn[1]):Xi=Yo=Rn,c&&(Ba||Xi)&&(v.isStream(c)||(c=Jo.default.Readable.from(c,{objectMode:!1})),c=Jo.default.pipeline([c,new Md({maxRate:v.toFiniteNumber(Xi)})],v.noop),Ba&&c.on("progress",sy(c,Wa(Mp,In(Ka(Ba),!1,3)))));let it,La=s("auth");if(La){let z=La.username||"",O=La.password||"";it=z+":"+O}if(!it&&Z.username){let z=Z.username,O=Z.password;it=z+":"+O}it&&ot.delete("authorization");let fi;try{fi=ia(Z.pathname+Z.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(z){let O=new Error(z.message);return O.config=e,O.url=e.url,O.exists=!0,r(O)}ot.set("Accept-Encoding","gzip, compress, deflate"+(ny?", br":""),!1);let jt=Object.assign(Object.create(null),{path:fi,method:x,headers:ot.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:it,protocol:yt,family:u,beforeRedirect:fw,beforeRedirects:Object.create(null),http2Options:f});if(!v.isUndefined(p)&&(jt.lookup=p),e.socketPath){if(typeof e.socketPath!="string")return r(new w("socketPath must be a string",w.ERR_BAD_OPTION_VALUE,e));if(e.allowedSocketPaths!=null){let z=Array.isArray(e.allowedSocketPaths)?e.allowedSocketPaths:[e.allowedSocketPaths],O=(0,_d.resolve)(e.socketPath);if(!z.some(Xe=>typeof Xe=="string"&&(0,_d.resolve)(Xe)===O))return r(new w(`socketPath "${e.socketPath}" is not permitted by allowedSocketPaths`,w.ERR_BAD_OPTION_VALUE,e))}jt.socketPath=e.socketPath}else jt.hostname=Z.hostname.startsWith("[")?Z.hostname.slice(1,-1):Z.hostname,jt.port=Z.port,fy(jt,e.proxy,yt+"//"+Z.hostname+(Z.port?":"+Z.port:"")+jt.path);let ea,Zt=lw.test(jt.protocol);if(jt.agent=Zt?e.httpsAgent:e.httpAgent,X)ea=gw;else{let z=s("transport");if(z)ea=z;else if(e.maxRedirects===0)ea=Zt?ly.default:py.default;else{e.maxRedirects&&(jt.maxRedirects=e.maxRedirects);let O=s("beforeRedirect");O&&(jt.beforeRedirects.config=O),ea=Zt?pw:cw}}if(e.maxBodyLength>-1?jt.maxBodyLength=e.maxBodyLength:jt.maxBodyLength=1/0,jt.insecureHTTPParser=!!s("insecureHTTPParser"),R=ea.request(jt,a(function(O){if(R.destroyed)return;let ee=[O],Xe=v.toFiniteNumber(O.headers["content-length"]);if(Ma||Yo){let nt=new Md({maxRate:v.toFiniteNumber(Yo)});Ma&&nt.on("progress",sy(nt,Wa(Xe,In(Ka(Ma),!0,3)))),ee.push(nt)}let Ne=O,So=O.req||R;if(e.decompress!==!1&&O.headers["content-encoding"])switch((x==="HEAD"||O.statusCode===204)&&delete O.headers["content-encoding"],(O.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":ee.push(Fn.default.createUnzip(iy)),delete O.headers["content-encoding"];break;case"deflate":ee.push(new Jg),ee.push(Fn.default.createUnzip(iy)),delete O.headers["content-encoding"];break;case"br":ny&&(ee.push(Fn.default.createBrotliDecompress(sw)),delete O.headers["content-encoding"])}Ne=ee.length>1?Jo.default.pipeline(ee,v.noop):ee[0];let wn={status:O.statusCode,statusText:O.statusMessage,headers:new _e(O.headers),config:e,request:So};if(g==="stream"){if(e.maxContentLength>-1){let nt=e.maxContentLength,Va=Ne;async function*lc(){let xt=0;for await(let Gm of Va){if(xt+=Gm.length,xt>nt)throw new w("maxContentLength size of "+nt+" exceeded",w.ERR_BAD_RESPONSE,e,So);yield Gm}}a(lc,"enforceMaxContentLength"),Ne=Jo.default.Readable.from(lc(),{objectMode:!1})}wn.data=Ne,Ji(i,r,wn)}else{let nt=[],Va=0;Ne.on("data",a(function(xt){nt.push(xt),Va+=xt.length,e.maxContentLength>-1&&Va>e.maxContentLength&&(S=!0,Ne.destroy(),P(new w("maxContentLength size of "+e.maxContentLength+" exceeded",w.ERR_BAD_RESPONSE,e,So)))},"handleStreamData")),Ne.on("aborted",a(function(){if(S)return;let xt=new w("stream has been aborted",w.ERR_BAD_RESPONSE,e,So);Ne.destroy(xt),r(xt)},"handlerStreamAborted")),Ne.on("error",a(function(xt){R.destroyed||r(w.from(xt,null,e,So))},"handleStreamError")),Ne.on("end",a(function(){try{let xt=nt.length===1?nt[0]:Buffer.concat(nt);g!=="arraybuffer"&&(xt=xt.toString(y),(!y||y==="utf8")&&(xt=v.stripBOM(xt))),wn.data=xt}catch(xt){return r(w.from(xt,null,e,wn.request,wn))}Ji(i,r,wn)},"handleStreamEnd"))}q.once("abort",nt=>{Ne.destroyed||(Ne.emit("error",nt),Ne.destroy())})},"handleResponse")),q.once("abort",z=>{R.close?R.close():R.destroy(z)}),R.on("error",a(function(O){r(w.from(O,null,e,R))},"handleRequestError")),R.on("socket",a(function(O){O.setKeepAlive(!0,1e3*60),O[ry]||(O.on("error",a(function(Xe){let Ne=O[ll];Ne&&!Ne.destroyed&&Ne.destroy(Xe)},"handleSocketError")),O[ry]=!0),O[ll]=R,R.once("close",a(function(){O[ll]===R&&(O[ll]=null)},"clearCurrentReq"))},"handleRequestSocket")),e.timeout){let z=parseInt(e.timeout,10);if(Number.isNaN(z)){P(new w("error trying to parse `config.timeout` to int",w.ERR_BAD_OPTION_VALUE,e,R));return}R.setTimeout(z,a(function(){if(C)return;let ee=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",Xe=e.transitional||dr;e.timeoutErrorMessage&&(ee=e.timeoutErrorMessage),P(new w(ee,Xe.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,e,R))},"handleRequestTimeout"))}else R.setTimeout(0);if(v.isStream(c)){let z=!1,O=!1;c.on("end",()=>{z=!0}),c.once("error",Xe=>{O=!0,R.destroy(Xe)}),c.on("close",()=>{!z&&!O&&P(new To("Request stream has been aborted",e,R))});let ee=c;if(e.maxBodyLength>-1&&e.maxRedirects===0){let Xe=e.maxBodyLength,Ne=0;ee=Jo.default.pipeline([c,new Jo.default.Transform({transform(So,wn,nt){if(Ne+=So.length,Ne>Xe)return nt(new w("Request body larger than maxBodyLength limit",w.ERR_BAD_REQUEST,e,R));nt(null,So)}})],v.noop),ee.on("error",So=>{R.destroyed||R.destroy(So)})}ee.pipe(R)}else c&&R.write(c),R.end()},"dispatchHttpRequest"))},"httpAdapter");var hy=$.hasStandardBrowserEnv?((t,e)=>o=>(o=new URL(o,$.origin),t.protocol===o.protocol&&t.host===o.host&&(e||t.port===o.port)))(new URL($.origin),$.navigator&&/(msie|trident)/i.test($.navigator.userAgent)):()=>!0;var vy=$.hasStandardBrowserEnv?{write(t,e,o,i,r,n,s){if(typeof document>"u")return;let c=[`${t}=${encodeURIComponent(e)}`];v.isNumber(o)&&c.push(`expires=${new Date(o).toUTCString()}`),v.isString(i)&&c.push(`path=${i}`),v.isString(r)&&c.push(`domain=${r}`),n===!0&&c.push("secure"),v.isString(s)&&c.push(`SameSite=${s}`),document.cookie=c.join("; ")},read(t){if(typeof document>"u")return null;let e=document.cookie.match(new RegExp("(?:^|; )"+t+"=([^;]*)"));return e?decodeURIComponent(e[1]):null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};var gy=a(t=>t instanceof _e?{...t}:t,"headersToObject");function gi(t,e){e=e||{};let o=Object.create(null);Object.defineProperty(o,"hasOwnProperty",{value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function i(u,l,f,g){return v.isPlainObject(u)&&v.isPlainObject(l)?v.merge.call({caseless:g},u,l):v.isPlainObject(l)?v.merge({},l):v.isArray(l)?l.slice():l}a(i,"getMergedValue");function r(u,l,f,g){if(v.isUndefined(l)){if(!v.isUndefined(u))return i(void 0,u,f,g)}else return i(u,l,f,g)}a(r,"mergeDeepProperties");function n(u,l){if(!v.isUndefined(l))return i(void 0,l)}a(n,"valueFromConfig2");function s(u,l){if(v.isUndefined(l)){if(!v.isUndefined(u))return i(void 0,u)}else return i(void 0,l)}a(s,"defaultToConfig2");function c(u,l,f){if(v.hasOwnProp(e,f))return i(u,l);if(v.hasOwnProp(t,f))return i(void 0,u)}a(c,"mergeDirectKeys");let p={url:n,method:n,data:n,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,allowedSocketPaths:s,responseEncoding:s,validateStatus:c,headers:a((u,l,f)=>r(gy(u),gy(l),f,!0),"headers")};return v.forEach(Object.keys({...t,...e}),a(function(l){if(l==="__proto__"||l==="constructor"||l==="prototype")return;let f=v.hasOwnProp(p,l)?p[l]:r,g=v.hasOwnProp(t,l)?t[l]:void 0,y=v.hasOwnProp(e,l)?e[l]:void 0,x=f(g,y,l);v.isUndefined(x)&&f!==c||(o[l]=x)},"computeConfigValue")),o}a(gi,"mergeConfig");var ul=a((t=>{let e=gi({},t),o=a(g=>v.hasOwnProp(e,g)?e[g]:void 0,"own"),i=o("data"),r=o("withXSRFToken"),n=o("xsrfHeaderName"),s=o("xsrfCookieName"),c=o("headers"),p=o("auth"),u=o("baseURL"),l=o("allowAbsoluteUrls"),f=o("url");if(e.headers=c=_e.from(c),e.url=ia(na(u,f,l),t.params,t.paramsSerializer),p&&c.set("Authorization","Basic "+btoa((p.username||"")+":"+(p.password?unescape(encodeURIComponent(p.password)):""))),v.isFormData(i)){if($.hasStandardBrowserEnv||$.hasStandardBrowserWebWorkerEnv)c.setContentType(void 0);else if(v.isFunction(i.getHeaders)){let g=i.getHeaders(),y=["content-type","content-length"];Object.entries(g).forEach(([x,C])=>{y.includes(x.toLowerCase())&&c.set(x,C)})}}if($.hasStandardBrowserEnv&&(v.isFunction(r)&&(r=r(e)),r===!0||r==null&&hy(e.url))){let y=n&&s&&vy.read(s);y&&c.set(n,y)}return e}),"default");var yw=typeof XMLHttpRequest<"u",yy=yw&&function(t){return new Promise(a(function(o,i){let r=ul(t),n=r.data,s=_e.from(r.headers).normalize(),{responseType:c,onUploadProgress:p,onDownloadProgress:u}=r,l,f,g,y,x;function C(){y&&y(),x&&x(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener("abort",l)}a(C,"done");let S=new XMLHttpRequest;S.open(r.method.toUpperCase(),r.url,!0),S.timeout=r.timeout;function R(){if(!S)return;let q=_e.from("getAllResponseHeaders"in S&&S.getAllResponseHeaders()),K={data:!c||c==="text"||c==="json"?S.responseText:S.response,status:S.status,statusText:S.statusText,headers:q,config:t,request:S};Ji(a(function(Z){o(Z),C()},"_resolve"),a(function(Z){i(Z),C()},"_reject"),K),S=null}a(R,"onloadend"),"onloadend"in S?S.onloadend=R:S.onreadystatechange=a(function(){!S||S.readyState!==4||S.status===0&&!(S.responseURL&&S.responseURL.indexOf("file:")===0)||setTimeout(R)},"handleLoad"),S.onabort=a(function(){S&&(i(new w("Request aborted",w.ECONNABORTED,t,S)),S=null)},"handleAbort"),S.onerror=a(function(P){let K=P&&P.message?P.message:"Network Error",Fe=new w(K,w.ERR_NETWORK,t,S);Fe.event=P||null,i(Fe),S=null},"handleError"),S.ontimeout=a(function(){let P=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded",K=r.transitional||dr;r.timeoutErrorMessage&&(P=r.timeoutErrorMessage),i(new w(P,K.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,t,S)),S=null},"handleTimeout"),n===void 0&&s.setContentType(null),"setRequestHeader"in S&&v.forEach(s.toJSON(),a(function(P,K){S.setRequestHeader(K,P)},"setRequestHeader")),v.isUndefined(r.withCredentials)||(S.withCredentials=!!r.withCredentials),c&&c!=="json"&&(S.responseType=r.responseType),u&&([g,x]=In(u,!0),S.addEventListener("progress",g)),p&&S.upload&&([f,y]=In(p),S.upload.addEventListener("progress",f),S.upload.addEventListener("loadend",y)),(r.cancelToken||r.signal)&&(l=a(q=>{S&&(i(!q||q.type?new To(null,t,S):q),S.abort(),S=null)},"onCanceled"),r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));let X=Ec(r.url);if(X&&$.protocols.indexOf(X)===-1){i(new w("Unsupported protocol "+X+":",w.ERR_BAD_REQUEST,t));return}S.send(n||null)},"dispatchXhrRequest"))};var xw=a((t,e)=>{let{length:o}=t=t?t.filter(Boolean):[];if(e||o){let i=new AbortController,r,n=a(function(u){if(!r){r=!0,c();let l=u instanceof Error?u:this.reason;i.abort(l instanceof w?l:new To(l instanceof Error?l.message:l))}},"onabort"),s=e&&setTimeout(()=>{s=null,n(new w(`timeout of ${e}ms exceeded`,w.ETIMEDOUT))},e),c=a(()=>{t&&(s&&clearTimeout(s),s=null,t.forEach(u=>{u.unsubscribe?u.unsubscribe(n):u.removeEventListener("abort",n)}),t=null)},"unsubscribe");t.forEach(u=>u.addEventListener("abort",n));let{signal:p}=i;return p.unsubscribe=()=>v.asap(c),p}},"composeSignals"),xy=xw;var bw=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"),Sw=a(async function*(t,e){for await(let o of Cw(t))yield*bw(o,e)},"readBytes"),Cw=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"),kd=a((t,e,o,i)=>{let r=Sw(t,e),n=0,s,c=a(p=>{s||(s=!0,i&&i(p))},"_onFinish");return new ReadableStream({async pull(p){try{let{done:u,value:l}=await r.next();if(u){c(),p.close();return}let f=l.byteLength;if(o){let g=n+=f;o(g)}p.enqueue(new Uint8Array(l))}catch(u){throw c(u),u}},cancel(p){return c(p),r.return()}},{highWaterMark:2})},"trackStream");var by=64*1024,{isFunction:dl}=v,Nw=(({Request:t,Response:e})=>({Request:t,Response:e}))(v.global),{ReadableStream:Sy,TextEncoder:Cy}=v.global,Ny=a((t,...e)=>{try{return!!t(...e)}catch{return!1}},"test"),Rw=a(t=>{t=v.merge.call({skipUndefined:!0},Nw,t);let{fetch:e,Request:o,Response:i}=t,r=e?dl(e):typeof fetch=="function",n=dl(o),s=dl(i);if(!r)return!1;let c=r&&dl(Sy),p=r&&(typeof Cy=="function"?(x=>C=>x.encode(C))(new Cy):async x=>new Uint8Array(await new o(x).arrayBuffer())),u=n&&c&&Ny(()=>{let x=!1,C=new o($.origin,{body:new Sy,method:"POST",get duplex(){return x=!0,"half"}}),S=C.headers.has("Content-Type");return C.body!=null&&C.body.cancel(),x&&!S}),l=s&&c&&Ny(()=>v.isReadableStream(new i("").body)),f={stream:l&&(x=>x.body)};r&&["text","arrayBuffer","blob","formData","stream"].forEach(x=>{!f[x]&&(f[x]=(C,S)=>{let R=C&&C[x];if(R)return R.call(C);throw new w(`Response type '${x}' is not supported`,w.ERR_NOT_SUPPORT,S)})});let g=a(async x=>{if(x==null)return 0;if(v.isBlob(x))return x.size;if(v.isSpecCompliantForm(x))return(await new o($.origin,{method:"POST",body:x}).arrayBuffer()).byteLength;if(v.isArrayBufferView(x)||v.isArrayBuffer(x))return x.byteLength;if(v.isURLSearchParams(x)&&(x=x+""),v.isString(x))return(await p(x)).byteLength},"getBodyLength"),y=a(async(x,C)=>{let S=v.toFiniteNumber(x.getContentLength());return S??g(C)},"resolveBodyLength");return async x=>{let{url:C,method:S,data:R,signal:X,cancelToken:q,timeout:P,onDownloadProgress:K,onUploadProgress:Fe,responseType:Z,headers:yt,withCredentials:ot="same-origin",fetchOptions:Ba}=ul(x),Ma=e||fetch;Z=Z?(Z+"").toLowerCase():"text";let Rn=xy([X,q&&q.toAbortSignal()],P),Xi=null,Yo=Rn&&Rn.unsubscribe&&(()=>{Rn.unsubscribe()}),Mp;try{if(Fe&&u&&S!=="get"&&S!=="head"&&(Mp=await y(yt,R))!==0){let Zt=new o(C,{method:"POST",body:R,duplex:"half"}),z;if(v.isFormData(R)&&(z=Zt.headers.get("content-type"))&&yt.setContentType(z),Zt.body){let[O,ee]=Wa(Mp,In(Ka(Fe)));R=kd(Zt.body,by,O,ee)}}v.isString(ot)||(ot=ot?"include":"omit");let it=n&&"credentials"in o.prototype;if(v.isFormData(R)){let Zt=yt.getContentType();Zt&&/^multipart\/form-data/i.test(Zt)&&!/boundary=/i.test(Zt)&&yt.delete("content-type")}let La={...Ba,signal:Rn,method:S.toUpperCase(),headers:yt.normalize().toJSON(),body:R,duplex:"half",credentials:it?ot:void 0};Xi=n&&new o(C,La);let fi=await(n?Ma(Xi,Ba):Ma(C,La)),jt=l&&(Z==="stream"||Z==="response");if(l&&(K||jt&&Yo)){let Zt={};["status","statusText","headers"].forEach(Xe=>{Zt[Xe]=fi[Xe]});let z=v.toFiniteNumber(fi.headers.get("content-length")),[O,ee]=K&&Wa(z,In(Ka(K),!0))||[];fi=new i(kd(fi.body,by,O,()=>{ee&&ee(),Yo&&Yo()}),Zt)}Z=Z||"text";let ea=await f[v.findKey(f,Z)||"text"](fi,x);return!jt&&Yo&&Yo(),await new Promise((Zt,z)=>{Ji(Zt,z,{data:ea,headers:_e.from(fi.headers),status:fi.status,statusText:fi.statusText,config:x,request:Xi})})}catch(it){throw Yo&&Yo(),it&&it.name==="TypeError"&&/Load failed|fetch/i.test(it.message)?Object.assign(new w("Network Error",w.ERR_NETWORK,x,Xi,it&&it.response),{cause:it.cause||it}):w.from(it,it&&it.code,x,Xi,it&&it.response)}}},"factory"),ww=new Map,Hd=a(t=>{let e=t&&t.env||{},{fetch:o,Request:i,Response:r}=e,n=[i,r,o],s=n.length,c=s,p,u,l=ww;for(;c--;)p=n[c],u=l.get(p),u===void 0&&l.set(p,u=c?new Map:Rw(e)),l=u;return u},"getFetch"),ZE=Hd();var Gd={http:my,xhr:yy,fetch:{get:Hd}};v.forEach(Gd,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});var Ry=a(t=>`- ${t}`,"renderReason"),Fw=a(t=>v.isFunction(t)||t===null||t===!1,"isResolvedHandle");function Ow(t,e){t=v.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,!Fw(i)&&(r=Gd[(c=String(i)).toLowerCase()],r===void 0))throw new w(`Unknown adapter '${c}'`);if(r&&(v.isFunction(r)||(r=r.get(e))))break;n[c||"#"+s]=r}if(!r){let s=Object.entries(n).map(([p,u])=>`adapter ${p} `+(u===!1?"is not supported by the environment":"is not available in the build")),c=o?s.length>1?`since :
22
+ `,XR=zc.encode(pa),JR=2,WR=class{static{a(this,"FormDataPart")}constructor(e,o){let{escapeName:i}=this.constructor,r=v.isString(o),n=`Content-Disposition: form-data; name="${i(e)}"${!r&&o.name?`; filename="${i(o.name)}"`:""}${pa}`;if(r)o=zc.encode(String(o).replace(/\r?\n|\r\n?/g,pa));else{let s=String(o.type||"application/octet-stream").replace(/[\r\n]/g,"");n+=`Content-Type: ${s}${pa}`}this.headers=zc.encode(n+pa),this.contentLength=r?o.byteLength:o.size,this.size=this.headers.byteLength+this.contentLength+JR,this.name=e,this.value=o}async*encode(){yield this.headers;let{value:e}=this;v.isTypedArray(e)?yield e:yield*pl(e),yield XR}static escapeName(e){return String(e).replace(/[\r\n"]/g,o=>({"\r":"%0D","\n":"%0A",'"':"%22"})[o])}},KR=a((t,e,o)=>{let{tag:i="form-data-boundary",size:r=25,boundary:n=i+"-"+$.generateString(r,ZR)}=o||{};if(!v.isFormData(t))throw TypeError("FormData instance required");if(n.length<1||n.length>70)throw Error("boundary must be 10-70 characters long");let s=zc.encode("--"+n+pa),c=zc.encode("--"+n+"--"+pa),p=c.byteLength,u=Array.from(t.entries()).map(([f,g])=>{let y=new WR(f,g);return p+=y.size,y});p+=s.byteLength*u.length,p=v.toFiniteNumber(p);let l={"Content-Type":`multipart/form-data; boundary=${n}`};return Number.isFinite(p)&&(l["Content-Length"]=p),e&&e(l),Yg.Readable.from((async function*(){for(let f of u)yield s,yield*f.encode();yield c})())},"formDataToStream"),Zg=KR;var Xg=Tt(require("stream"),1);var $R=class extends Xg.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)}},Jg=$R;var ew=a((t,e)=>v.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"),Wg=ew;var tw=new Set(["localhost"]),ey=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"),ow=a(t=>{if(t==="::1")return!0;let e=t.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(e)return ey(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"),Kg=a(t=>t?tw.has(t)||ey(t)?!0:ow(t):!1,"isLoopback"),iw={http:80,https:443,ws:80,wss:443,ftp:21},nw=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"),$g=a(t=>t&&(t.charAt(0)==="["&&t.charAt(t.length-1)==="]"&&(t=t.slice(1,-1)),t.replace(/\.+$/,"")),"normalizeNoProxyHost");function Ld(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)||iw[e.protocol.split(":",1)[0]]||0,r=$g(e.hostname.toLowerCase());return o.split(/[\s,]+/).some(n=>{if(!n)return!1;let[s,c]=nw(n);return s=$g(s),!s||c&&c!==i?!1:(s.charAt(0)==="*"&&(s=s.slice(1)),s.charAt(0)==="."?r.endsWith(s):r===s||Kg(r)&&Kg(s))})}a(Ld,"shouldBypassProxy");function rw(t,e){t=t||10;let o=new Array(t),i=new Array(t),r=0,n=0,s;return e=e!==void 0?e:1e3,a(function(p){let u=Date.now(),l=i[n];s||(s=u),o[r]=p,i[r]=u;let f=n,g=0;for(;f!==r;)g+=o[f++],f=f%t;if(r=(r+1)%t,r===n&&(n=(n+1)%t),u-s<e)return;let y=l&&u-l;return y?Math.round(g*1e3/y):void 0},"push")}a(rw,"speedometer");var ty=rw;function aw(t,e){let o=0,i=1e3/e,r,n,s=a((u,l=Date.now())=>{o=l,r=null,n&&(clearTimeout(n),n=null),t(...u)},"invoke");return[a((...u)=>{let l=Date.now(),f=l-o;f>=i?s(u,l):(r=u,n||(n=setTimeout(()=>{n=null,s(r)},i-f)))},"throttled"),a(()=>r&&s(r),"flush")]}a(aw,"throttle");var oy=aw;var In=a((t,e,o=3)=>{let i=0,r=ty(50,250);return oy(n=>{let s=n.loaded,c=n.lengthComputable?n.total:void 0,p=c!=null?Math.min(s,c):s,u=Math.max(0,p-i),l=r(u);i=Math.max(i,p);let f={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(f)},o)},"progressEventReducer"),Wa=a((t,e)=>{let o=t!=null;return[i=>e[0]({lengthComputable:o,total:t,loaded:i}),e[1]]},"progressEventDecorator"),Ka=a(t=>(...e)=>v.asap(()=>t(...e)),"asyncDecorator");function Vd(t){if(!t||typeof t!="string"||!t.startsWith("data:"))return 0;let e=t.indexOf(",");if(e<0)return 0;let o=t.slice(5,e),i=t.slice(e+1);if(/;base64/i.test(o)){let n=i.length,s=i.length;for(let g=0;g<s;g++)if(i.charCodeAt(g)===37&&g+2<s){let y=i.charCodeAt(g+1),x=i.charCodeAt(g+2);(y>=48&&y<=57||y>=65&&y<=70||y>=97&&y<=102)&&(x>=48&&x<=57||x>=65&&x<=70||x>=97&&x<=102)&&(n-=2,g+=2)}let c=0,p=s-1,u=a(g=>g>=2&&i.charCodeAt(g-2)===37&&i.charCodeAt(g-1)===51&&(i.charCodeAt(g)===68||i.charCodeAt(g)===100),"tailIsPct3D");p>=0&&(i.charCodeAt(p)===61?(c++,p--):u(p)&&(c++,p-=3)),c===1&&p>=0&&(i.charCodeAt(p)===61||u(p))&&c++;let f=Math.floor(n/4)*3-(c||0);return f>0?f:0}return Buffer.byteLength(i,"utf8")}a(Vd,"estimateDataURLDecodedBytes");var iy={flush:Fn.default.constants.Z_SYNC_FLUSH,finishFlush:Fn.default.constants.Z_SYNC_FLUSH},sw={flush:Fn.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:Fn.default.constants.BROTLI_OPERATION_FLUSH},ny=v.isFunction(Fn.default.createBrotliDecompress),{http:cw,https:pw}=uy.default,lw=/https:?/,ry=Symbol("axios.http.socketListener"),ll=Symbol("axios.http.currentReq"),ay=$.protocols.map(t=>t+":"),sy=a((t,[e,o])=>(t.on("end",o).on("error",o),e),"flushOnFinish"),uw=class{static{a(this,"Http2Sessions")}constructor(){this.sessions=Object.create(null)}getSession(e,o){o=Object.assign({sessionTimeout:1e3},o);let i=this.sessions[e];if(i){let l=i.length;for(let f=0;f<l;f++){let[g,y]=i[f];if(!g.destroyed&&!g.closed&&Ud.default.isDeepStrictEqual(y,o))return g}}let r=qd.default.connect(e,o),n,s=a(()=>{if(n)return;n=!0;let l=i,f=l.length,g=f;for(;g--;)if(l[g][0]===r){f===1?delete this.sessions[e]:l.splice(g,1),r.closed||r.close();return}},"removeSession"),c=r.request,{sessionTimeout:p}=o;if(p!=null){let l,f=0;r.request=function(){let g=c.apply(this,arguments);return f++,l&&(clearTimeout(l),l=null),g.once("close",()=>{--f||(l=setTimeout(()=>{l=null,s()},p))}),g}}r.once("close",s);let u=[r,o];return i?i.push(u):i=this.sessions[e]=[u],r}},dw=new uw;function fw(t,e){t.beforeRedirects.proxy&&t.beforeRedirects.proxy(t),t.beforeRedirects.config&&t.beforeRedirects.config(t,e)}a(fw,"dispatchBeforeRedirect");function fy(t,e,o){let i=e;if(!i&&i!==!1){let r=Rg(o);r&&(Ld(o)||(i=new URL(r)))}if(i){if(i.username&&(i.auth=(i.username||"")+":"+(i.password||"")),i.auth){if(!!(i.auth.username||i.auth.password))i.auth=(i.auth.username||"")+":"+(i.auth.password||"");else if(typeof i.auth=="object")throw new w("Invalid proxy authorization",w.ERR_BAD_OPTION,{proxy:i});let s=Buffer.from(i.auth,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+s}t.headers.host=t.hostname+(t.port?":"+t.port:"");let r=i.hostname||i.host;t.hostname=r,t.host=r,t.port=i.port,t.path=o,i.protocol&&(t.protocol=i.protocol.includes(":")?i.protocol:`${i.protocol}:`)}t.beforeRedirects.proxy=a(function(n){fy(n,e,n.href)},"beforeRedirect")}a(fy,"setProxy");var mw=typeof process<"u"&&v.kindOf(process)==="process",hw=a(t=>new Promise((e,o)=>{let i,r,n=a((p,u)=>{r||(r=!0,i&&i(p,u))},"done"),s=a(p=>{n(p),e(p)},"_resolve"),c=a(p=>{n(p,!0),o(p)},"_reject");t(s,c,p=>i=p).catch(c)}),"wrapAsync"),vw=a(({address:t,family:e})=>{if(!v.isString(t))throw TypeError("address must be a string");return{address:t,family:e||(t.indexOf(".")<0?6:4)}},"resolveFamily"),cy=a((t,e)=>vw(v.isObject(t)?t:{address:t,family:e}),"buildAddressEntry"),gw={request(t,e){let o=t.protocol+"//"+t.hostname+":"+(t.port||(t.protocol==="https:"?443:80)),{http2Options:i,headers:r}=t,n=dw.getSession(o,i),{HTTP2_HEADER_SCHEME:s,HTTP2_HEADER_METHOD:c,HTTP2_HEADER_PATH:p,HTTP2_HEADER_STATUS:u}=qd.default.constants,l={[s]:t.protocol.replace(":",""),[c]:t.method,[p]:t.path};v.forEach(r,(g,y)=>{y.charAt(0)!==":"&&(l[y]=g)});let f=n.request(l);return f.once("response",g=>{let y=f;g=Object.assign({},g);let x=g[u];delete g[u],y.headers=g,y.statusCode=+x,e(y)}),f}},my=mw&&a(function(e){return hw(a(async function(i,r,n){let s=a(z=>v.hasOwnProp(e,z)?e[z]:void 0,"own"),c=s("data"),p=s("lookup"),u=s("family"),l=s("httpVersion");l===void 0&&(l=1);let f=s("http2Options"),g=s("responseType"),y=s("responseEncoding"),x=e.method.toUpperCase(),C,S=!1,R;if(l=+l,Number.isNaN(l))throw TypeError(`Invalid protocol version: '${e.httpVersion}' is not a number`);if(l!==1&&l!==2)throw TypeError(`Unsupported protocol version '${l}'`);let X=l===2;if(p){let z=Wg(p,O=>v.isArray(O)?O:[O]);p=a((O,te,Xe)=>{z(O,te,(Ne,So,wn)=>{if(Ne)return Xe(Ne);let nt=v.isArray(So)?So.map(Va=>cy(Va)):[cy(So,wn)];te.all?Xe(Ne,nt):Xe(Ne,nt[0].address,nt[0].family)})},"lookup")}let q=new dy.EventEmitter;function P(z){try{q.emit("abort",!z||z.type?new To(null,e,R):z)}catch(O){console.warn("emit error",O)}}a(P,"abort"),q.once("abort",r);let K=a(()=>{e.cancelToken&&e.cancelToken.unsubscribe(P),e.signal&&e.signal.removeEventListener("abort",P),q.removeAllListeners()},"onFinished");(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(P),e.signal&&(e.signal.aborted?P():e.signal.addEventListener("abort",P))),n((z,O)=>{if(C=!0,O){S=!0,K();return}let{data:te}=z;if(te instanceof Jo.default.Readable||te instanceof Jo.default.Duplex){let Xe=Jo.default.finished(te,()=>{Xe(),K()})}else K()});let Fe=na(e.baseURL,e.url,e.allowAbsoluteUrls),Z=new URL(Fe,$.hasBrowserEnv?$.origin:void 0),yt=Z.protocol||ay[0];if(yt==="data:"){if(e.maxContentLength>-1){let O=String(e.url||Fe||"");if(Vd(O)>e.maxContentLength)return r(new w("maxContentLength size of "+e.maxContentLength+" exceeded",w.ERR_BAD_RESPONSE,e))}let z;if(x!=="GET")return Ji(i,r,{status:405,statusText:"method not allowed",headers:{},config:e});try{z=Td(e.url,g==="blob",{Blob:e.env&&e.env.Blob})}catch(O){throw w.from(O,w.ERR_BAD_REQUEST,e)}return g==="text"?(z=z.toString(y),(!y||y==="utf8")&&(z=v.stripBOM(z))):g==="stream"&&(z=Jo.default.Readable.from(z)),Ji(i,r,{data:z,status:200,statusText:"OK",headers:new _e,config:e})}if(ay.indexOf(yt)===-1)return r(new w("Unsupported protocol "+yt,w.ERR_BAD_REQUEST,e));let ot=_e.from(e.headers).normalize();ot.set("User-Agent","axios/"+ca,!1);let{onUploadProgress:Ba,onDownloadProgress:Ma}=e,Rn=e.maxRate,Xi,Yo;if(v.isSpecCompliantForm(c)){let z=ot.getContentType(/boundary=([-_\w\d]{10,70})/i);c=Zg(c,O=>{ot.set(O)},{tag:`axios-${ca}-boundary`,boundary:z&&z[1]||void 0})}else if(v.isFormData(c)&&v.isFunction(c.getHeaders)&&c.getHeaders!==Object.prototype.getHeaders){if(ot.set(c.getHeaders()),!ot.hasContentLength())try{let z=await Ud.default.promisify(c.getLength).call(c);Number.isFinite(z)&&z>=0&&ot.setContentLength(z)}catch{}}else if(v.isBlob(c)||v.isFile(c))c.size&&ot.setContentType(c.type||"application/octet-stream"),ot.setContentLength(c.size||0),c=Jo.default.Readable.from(pl(c));else if(c&&!v.isStream(c)){if(!Buffer.isBuffer(c))if(v.isArrayBuffer(c))c=Buffer.from(new Uint8Array(c));else if(v.isString(c))c=Buffer.from(c,"utf-8");else return r(new w("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",w.ERR_BAD_REQUEST,e));if(ot.setContentLength(c.length,!1),e.maxBodyLength>-1&&c.length>e.maxBodyLength)return r(new w("Request body larger than maxBodyLength limit",w.ERR_BAD_REQUEST,e))}let Mp=v.toFiniteNumber(ot.getContentLength());v.isArray(Rn)?(Xi=Rn[0],Yo=Rn[1]):Xi=Yo=Rn,c&&(Ba||Xi)&&(v.isStream(c)||(c=Jo.default.Readable.from(c,{objectMode:!1})),c=Jo.default.pipeline([c,new Md({maxRate:v.toFiniteNumber(Xi)})],v.noop),Ba&&c.on("progress",sy(c,Wa(Mp,In(Ka(Ba),!1,3)))));let it,La=s("auth");if(La){let z=La.username||"",O=La.password||"";it=z+":"+O}if(!it&&Z.username){let z=Z.username,O=Z.password;it=z+":"+O}it&&ot.delete("authorization");let fi;try{fi=ia(Z.pathname+Z.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(z){let O=new Error(z.message);return O.config=e,O.url=e.url,O.exists=!0,r(O)}ot.set("Accept-Encoding","gzip, compress, deflate"+(ny?", br":""),!1);let jt=Object.assign(Object.create(null),{path:fi,method:x,headers:ot.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:it,protocol:yt,family:u,beforeRedirect:fw,beforeRedirects:Object.create(null),http2Options:f});if(!v.isUndefined(p)&&(jt.lookup=p),e.socketPath){if(typeof e.socketPath!="string")return r(new w("socketPath must be a string",w.ERR_BAD_OPTION_VALUE,e));if(e.allowedSocketPaths!=null){let z=Array.isArray(e.allowedSocketPaths)?e.allowedSocketPaths:[e.allowedSocketPaths],O=(0,_d.resolve)(e.socketPath);if(!z.some(Xe=>typeof Xe=="string"&&(0,_d.resolve)(Xe)===O))return r(new w(`socketPath "${e.socketPath}" is not permitted by allowedSocketPaths`,w.ERR_BAD_OPTION_VALUE,e))}jt.socketPath=e.socketPath}else jt.hostname=Z.hostname.startsWith("[")?Z.hostname.slice(1,-1):Z.hostname,jt.port=Z.port,fy(jt,e.proxy,yt+"//"+Z.hostname+(Z.port?":"+Z.port:"")+jt.path);let ea,Zt=lw.test(jt.protocol);if(jt.agent=Zt?e.httpsAgent:e.httpAgent,X)ea=gw;else{let z=s("transport");if(z)ea=z;else if(e.maxRedirects===0)ea=Zt?ly.default:py.default;else{e.maxRedirects&&(jt.maxRedirects=e.maxRedirects);let O=s("beforeRedirect");O&&(jt.beforeRedirects.config=O),ea=Zt?pw:cw}}if(e.maxBodyLength>-1?jt.maxBodyLength=e.maxBodyLength:jt.maxBodyLength=1/0,jt.insecureHTTPParser=!!s("insecureHTTPParser"),R=ea.request(jt,a(function(O){if(R.destroyed)return;let te=[O],Xe=v.toFiniteNumber(O.headers["content-length"]);if(Ma||Yo){let nt=new Md({maxRate:v.toFiniteNumber(Yo)});Ma&&nt.on("progress",sy(nt,Wa(Xe,In(Ka(Ma),!0,3)))),te.push(nt)}let Ne=O,So=O.req||R;if(e.decompress!==!1&&O.headers["content-encoding"])switch((x==="HEAD"||O.statusCode===204)&&delete O.headers["content-encoding"],(O.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":te.push(Fn.default.createUnzip(iy)),delete O.headers["content-encoding"];break;case"deflate":te.push(new Jg),te.push(Fn.default.createUnzip(iy)),delete O.headers["content-encoding"];break;case"br":ny&&(te.push(Fn.default.createBrotliDecompress(sw)),delete O.headers["content-encoding"])}Ne=te.length>1?Jo.default.pipeline(te,v.noop):te[0];let wn={status:O.statusCode,statusText:O.statusMessage,headers:new _e(O.headers),config:e,request:So};if(g==="stream"){if(e.maxContentLength>-1){let nt=e.maxContentLength,Va=Ne;async function*lc(){let xt=0;for await(let Gm of Va){if(xt+=Gm.length,xt>nt)throw new w("maxContentLength size of "+nt+" exceeded",w.ERR_BAD_RESPONSE,e,So);yield Gm}}a(lc,"enforceMaxContentLength"),Ne=Jo.default.Readable.from(lc(),{objectMode:!1})}wn.data=Ne,Ji(i,r,wn)}else{let nt=[],Va=0;Ne.on("data",a(function(xt){nt.push(xt),Va+=xt.length,e.maxContentLength>-1&&Va>e.maxContentLength&&(S=!0,Ne.destroy(),P(new w("maxContentLength size of "+e.maxContentLength+" exceeded",w.ERR_BAD_RESPONSE,e,So)))},"handleStreamData")),Ne.on("aborted",a(function(){if(S)return;let xt=new w("stream has been aborted",w.ERR_BAD_RESPONSE,e,So);Ne.destroy(xt),r(xt)},"handlerStreamAborted")),Ne.on("error",a(function(xt){R.destroyed||r(w.from(xt,null,e,So))},"handleStreamError")),Ne.on("end",a(function(){try{let xt=nt.length===1?nt[0]:Buffer.concat(nt);g!=="arraybuffer"&&(xt=xt.toString(y),(!y||y==="utf8")&&(xt=v.stripBOM(xt))),wn.data=xt}catch(xt){return r(w.from(xt,null,e,wn.request,wn))}Ji(i,r,wn)},"handleStreamEnd"))}q.once("abort",nt=>{Ne.destroyed||(Ne.emit("error",nt),Ne.destroy())})},"handleResponse")),q.once("abort",z=>{R.close?R.close():R.destroy(z)}),R.on("error",a(function(O){r(w.from(O,null,e,R))},"handleRequestError")),R.on("socket",a(function(O){O.setKeepAlive(!0,1e3*60),O[ry]||(O.on("error",a(function(Xe){let Ne=O[ll];Ne&&!Ne.destroyed&&Ne.destroy(Xe)},"handleSocketError")),O[ry]=!0),O[ll]=R,R.once("close",a(function(){O[ll]===R&&(O[ll]=null)},"clearCurrentReq"))},"handleRequestSocket")),e.timeout){let z=parseInt(e.timeout,10);if(Number.isNaN(z)){P(new w("error trying to parse `config.timeout` to int",w.ERR_BAD_OPTION_VALUE,e,R));return}R.setTimeout(z,a(function(){if(C)return;let te=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",Xe=e.transitional||dr;e.timeoutErrorMessage&&(te=e.timeoutErrorMessage),P(new w(te,Xe.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,e,R))},"handleRequestTimeout"))}else R.setTimeout(0);if(v.isStream(c)){let z=!1,O=!1;c.on("end",()=>{z=!0}),c.once("error",Xe=>{O=!0,R.destroy(Xe)}),c.on("close",()=>{!z&&!O&&P(new To("Request stream has been aborted",e,R))});let te=c;if(e.maxBodyLength>-1&&e.maxRedirects===0){let Xe=e.maxBodyLength,Ne=0;te=Jo.default.pipeline([c,new Jo.default.Transform({transform(So,wn,nt){if(Ne+=So.length,Ne>Xe)return nt(new w("Request body larger than maxBodyLength limit",w.ERR_BAD_REQUEST,e,R));nt(null,So)}})],v.noop),te.on("error",So=>{R.destroyed||R.destroy(So)})}te.pipe(R)}else c&&R.write(c),R.end()},"dispatchHttpRequest"))},"httpAdapter");var hy=$.hasStandardBrowserEnv?((t,e)=>o=>(o=new URL(o,$.origin),t.protocol===o.protocol&&t.host===o.host&&(e||t.port===o.port)))(new URL($.origin),$.navigator&&/(msie|trident)/i.test($.navigator.userAgent)):()=>!0;var vy=$.hasStandardBrowserEnv?{write(t,e,o,i,r,n,s){if(typeof document>"u")return;let c=[`${t}=${encodeURIComponent(e)}`];v.isNumber(o)&&c.push(`expires=${new Date(o).toUTCString()}`),v.isString(i)&&c.push(`path=${i}`),v.isString(r)&&c.push(`domain=${r}`),n===!0&&c.push("secure"),v.isString(s)&&c.push(`SameSite=${s}`),document.cookie=c.join("; ")},read(t){if(typeof document>"u")return null;let e=document.cookie.match(new RegExp("(?:^|; )"+t+"=([^;]*)"));return e?decodeURIComponent(e[1]):null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};var gy=a(t=>t instanceof _e?{...t}:t,"headersToObject");function gi(t,e){e=e||{};let o=Object.create(null);Object.defineProperty(o,"hasOwnProperty",{value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function i(u,l,f,g){return v.isPlainObject(u)&&v.isPlainObject(l)?v.merge.call({caseless:g},u,l):v.isPlainObject(l)?v.merge({},l):v.isArray(l)?l.slice():l}a(i,"getMergedValue");function r(u,l,f,g){if(v.isUndefined(l)){if(!v.isUndefined(u))return i(void 0,u,f,g)}else return i(u,l,f,g)}a(r,"mergeDeepProperties");function n(u,l){if(!v.isUndefined(l))return i(void 0,l)}a(n,"valueFromConfig2");function s(u,l){if(v.isUndefined(l)){if(!v.isUndefined(u))return i(void 0,u)}else return i(void 0,l)}a(s,"defaultToConfig2");function c(u,l,f){if(v.hasOwnProp(e,f))return i(u,l);if(v.hasOwnProp(t,f))return i(void 0,u)}a(c,"mergeDirectKeys");let p={url:n,method:n,data:n,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,allowedSocketPaths:s,responseEncoding:s,validateStatus:c,headers:a((u,l,f)=>r(gy(u),gy(l),f,!0),"headers")};return v.forEach(Object.keys({...t,...e}),a(function(l){if(l==="__proto__"||l==="constructor"||l==="prototype")return;let f=v.hasOwnProp(p,l)?p[l]:r,g=v.hasOwnProp(t,l)?t[l]:void 0,y=v.hasOwnProp(e,l)?e[l]:void 0,x=f(g,y,l);v.isUndefined(x)&&f!==c||(o[l]=x)},"computeConfigValue")),o}a(gi,"mergeConfig");var ul=a((t=>{let e=gi({},t),o=a(g=>v.hasOwnProp(e,g)?e[g]:void 0,"own"),i=o("data"),r=o("withXSRFToken"),n=o("xsrfHeaderName"),s=o("xsrfCookieName"),c=o("headers"),p=o("auth"),u=o("baseURL"),l=o("allowAbsoluteUrls"),f=o("url");if(e.headers=c=_e.from(c),e.url=ia(na(u,f,l),t.params,t.paramsSerializer),p&&c.set("Authorization","Basic "+btoa((p.username||"")+":"+(p.password?unescape(encodeURIComponent(p.password)):""))),v.isFormData(i)){if($.hasStandardBrowserEnv||$.hasStandardBrowserWebWorkerEnv)c.setContentType(void 0);else if(v.isFunction(i.getHeaders)){let g=i.getHeaders(),y=["content-type","content-length"];Object.entries(g).forEach(([x,C])=>{y.includes(x.toLowerCase())&&c.set(x,C)})}}if($.hasStandardBrowserEnv&&(v.isFunction(r)&&(r=r(e)),r===!0||r==null&&hy(e.url))){let y=n&&s&&vy.read(s);y&&c.set(n,y)}return e}),"default");var yw=typeof XMLHttpRequest<"u",yy=yw&&function(t){return new Promise(a(function(o,i){let r=ul(t),n=r.data,s=_e.from(r.headers).normalize(),{responseType:c,onUploadProgress:p,onDownloadProgress:u}=r,l,f,g,y,x;function C(){y&&y(),x&&x(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener("abort",l)}a(C,"done");let S=new XMLHttpRequest;S.open(r.method.toUpperCase(),r.url,!0),S.timeout=r.timeout;function R(){if(!S)return;let q=_e.from("getAllResponseHeaders"in S&&S.getAllResponseHeaders()),K={data:!c||c==="text"||c==="json"?S.responseText:S.response,status:S.status,statusText:S.statusText,headers:q,config:t,request:S};Ji(a(function(Z){o(Z),C()},"_resolve"),a(function(Z){i(Z),C()},"_reject"),K),S=null}a(R,"onloadend"),"onloadend"in S?S.onloadend=R:S.onreadystatechange=a(function(){!S||S.readyState!==4||S.status===0&&!(S.responseURL&&S.responseURL.indexOf("file:")===0)||setTimeout(R)},"handleLoad"),S.onabort=a(function(){S&&(i(new w("Request aborted",w.ECONNABORTED,t,S)),S=null)},"handleAbort"),S.onerror=a(function(P){let K=P&&P.message?P.message:"Network Error",Fe=new w(K,w.ERR_NETWORK,t,S);Fe.event=P||null,i(Fe),S=null},"handleError"),S.ontimeout=a(function(){let P=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded",K=r.transitional||dr;r.timeoutErrorMessage&&(P=r.timeoutErrorMessage),i(new w(P,K.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,t,S)),S=null},"handleTimeout"),n===void 0&&s.setContentType(null),"setRequestHeader"in S&&v.forEach(s.toJSON(),a(function(P,K){S.setRequestHeader(K,P)},"setRequestHeader")),v.isUndefined(r.withCredentials)||(S.withCredentials=!!r.withCredentials),c&&c!=="json"&&(S.responseType=r.responseType),u&&([g,x]=In(u,!0),S.addEventListener("progress",g)),p&&S.upload&&([f,y]=In(p),S.upload.addEventListener("progress",f),S.upload.addEventListener("loadend",y)),(r.cancelToken||r.signal)&&(l=a(q=>{S&&(i(!q||q.type?new To(null,t,S):q),S.abort(),S=null)},"onCanceled"),r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));let X=Ec(r.url);if(X&&$.protocols.indexOf(X)===-1){i(new w("Unsupported protocol "+X+":",w.ERR_BAD_REQUEST,t));return}S.send(n||null)},"dispatchXhrRequest"))};var xw=a((t,e)=>{let{length:o}=t=t?t.filter(Boolean):[];if(e||o){let i=new AbortController,r,n=a(function(u){if(!r){r=!0,c();let l=u instanceof Error?u:this.reason;i.abort(l instanceof w?l:new To(l instanceof Error?l.message:l))}},"onabort"),s=e&&setTimeout(()=>{s=null,n(new w(`timeout of ${e}ms exceeded`,w.ETIMEDOUT))},e),c=a(()=>{t&&(s&&clearTimeout(s),s=null,t.forEach(u=>{u.unsubscribe?u.unsubscribe(n):u.removeEventListener("abort",n)}),t=null)},"unsubscribe");t.forEach(u=>u.addEventListener("abort",n));let{signal:p}=i;return p.unsubscribe=()=>v.asap(c),p}},"composeSignals"),xy=xw;var bw=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"),Sw=a(async function*(t,e){for await(let o of Cw(t))yield*bw(o,e)},"readBytes"),Cw=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"),kd=a((t,e,o,i)=>{let r=Sw(t,e),n=0,s,c=a(p=>{s||(s=!0,i&&i(p))},"_onFinish");return new ReadableStream({async pull(p){try{let{done:u,value:l}=await r.next();if(u){c(),p.close();return}let f=l.byteLength;if(o){let g=n+=f;o(g)}p.enqueue(new Uint8Array(l))}catch(u){throw c(u),u}},cancel(p){return c(p),r.return()}},{highWaterMark:2})},"trackStream");var by=64*1024,{isFunction:dl}=v,Nw=(({Request:t,Response:e})=>({Request:t,Response:e}))(v.global),{ReadableStream:Sy,TextEncoder:Cy}=v.global,Ny=a((t,...e)=>{try{return!!t(...e)}catch{return!1}},"test"),Rw=a(t=>{t=v.merge.call({skipUndefined:!0},Nw,t);let{fetch:e,Request:o,Response:i}=t,r=e?dl(e):typeof fetch=="function",n=dl(o),s=dl(i);if(!r)return!1;let c=r&&dl(Sy),p=r&&(typeof Cy=="function"?(x=>C=>x.encode(C))(new Cy):async x=>new Uint8Array(await new o(x).arrayBuffer())),u=n&&c&&Ny(()=>{let x=!1,C=new o($.origin,{body:new Sy,method:"POST",get duplex(){return x=!0,"half"}}),S=C.headers.has("Content-Type");return C.body!=null&&C.body.cancel(),x&&!S}),l=s&&c&&Ny(()=>v.isReadableStream(new i("").body)),f={stream:l&&(x=>x.body)};r&&["text","arrayBuffer","blob","formData","stream"].forEach(x=>{!f[x]&&(f[x]=(C,S)=>{let R=C&&C[x];if(R)return R.call(C);throw new w(`Response type '${x}' is not supported`,w.ERR_NOT_SUPPORT,S)})});let g=a(async x=>{if(x==null)return 0;if(v.isBlob(x))return x.size;if(v.isSpecCompliantForm(x))return(await new o($.origin,{method:"POST",body:x}).arrayBuffer()).byteLength;if(v.isArrayBufferView(x)||v.isArrayBuffer(x))return x.byteLength;if(v.isURLSearchParams(x)&&(x=x+""),v.isString(x))return(await p(x)).byteLength},"getBodyLength"),y=a(async(x,C)=>{let S=v.toFiniteNumber(x.getContentLength());return S??g(C)},"resolveBodyLength");return async x=>{let{url:C,method:S,data:R,signal:X,cancelToken:q,timeout:P,onDownloadProgress:K,onUploadProgress:Fe,responseType:Z,headers:yt,withCredentials:ot="same-origin",fetchOptions:Ba}=ul(x),Ma=e||fetch;Z=Z?(Z+"").toLowerCase():"text";let Rn=xy([X,q&&q.toAbortSignal()],P),Xi=null,Yo=Rn&&Rn.unsubscribe&&(()=>{Rn.unsubscribe()}),Mp;try{if(Fe&&u&&S!=="get"&&S!=="head"&&(Mp=await y(yt,R))!==0){let Zt=new o(C,{method:"POST",body:R,duplex:"half"}),z;if(v.isFormData(R)&&(z=Zt.headers.get("content-type"))&&yt.setContentType(z),Zt.body){let[O,te]=Wa(Mp,In(Ka(Fe)));R=kd(Zt.body,by,O,te)}}v.isString(ot)||(ot=ot?"include":"omit");let it=n&&"credentials"in o.prototype;if(v.isFormData(R)){let Zt=yt.getContentType();Zt&&/^multipart\/form-data/i.test(Zt)&&!/boundary=/i.test(Zt)&&yt.delete("content-type")}let La={...Ba,signal:Rn,method:S.toUpperCase(),headers:yt.normalize().toJSON(),body:R,duplex:"half",credentials:it?ot:void 0};Xi=n&&new o(C,La);let fi=await(n?Ma(Xi,Ba):Ma(C,La)),jt=l&&(Z==="stream"||Z==="response");if(l&&(K||jt&&Yo)){let Zt={};["status","statusText","headers"].forEach(Xe=>{Zt[Xe]=fi[Xe]});let z=v.toFiniteNumber(fi.headers.get("content-length")),[O,te]=K&&Wa(z,In(Ka(K),!0))||[];fi=new i(kd(fi.body,by,O,()=>{te&&te(),Yo&&Yo()}),Zt)}Z=Z||"text";let ea=await f[v.findKey(f,Z)||"text"](fi,x);return!jt&&Yo&&Yo(),await new Promise((Zt,z)=>{Ji(Zt,z,{data:ea,headers:_e.from(fi.headers),status:fi.status,statusText:fi.statusText,config:x,request:Xi})})}catch(it){throw Yo&&Yo(),it&&it.name==="TypeError"&&/Load failed|fetch/i.test(it.message)?Object.assign(new w("Network Error",w.ERR_NETWORK,x,Xi,it&&it.response),{cause:it.cause||it}):w.from(it,it&&it.code,x,Xi,it&&it.response)}}},"factory"),ww=new Map,Hd=a(t=>{let e=t&&t.env||{},{fetch:o,Request:i,Response:r}=e,n=[i,r,o],s=n.length,c=s,p,u,l=ww;for(;c--;)p=n[c],u=l.get(p),u===void 0&&l.set(p,u=c?new Map:Rw(e)),l=u;return u},"getFetch"),ZE=Hd();var Gd={http:my,xhr:yy,fetch:{get:Hd}};v.forEach(Gd,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});var Ry=a(t=>`- ${t}`,"renderReason"),Fw=a(t=>v.isFunction(t)||t===null||t===!1,"isResolvedHandle");function Ow(t,e){t=v.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,!Fw(i)&&(r=Gd[(c=String(i)).toLowerCase()],r===void 0))throw new w(`Unknown adapter '${c}'`);if(r&&(v.isFunction(r)||(r=r.get(e))))break;n[c||"#"+s]=r}if(!r){let s=Object.entries(n).map(([p,u])=>`adapter ${p} `+(u===!1?"is not supported by the environment":"is not available in the build")),c=o?s.length>1?`since :
23
23
  `+s.map(Ry).join(`
24
24
  `):" "+Ry(s[0]):"as no adapter specified";throw new w("There is no suitable adapter to dispatch the request "+c,"ERR_NOT_SUPPORT")}return r}a(Ow,"getAdapter");var fl={getAdapter:Ow,adapters:Gd};function Qd(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new To(null,t)}a(Qd,"throwIfCancellationRequested");function ml(t){return Qd(t),t.headers=_e.from(t.headers),t.data=Ic.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),fl.getAdapter(t.adapter||Ya.adapter,t)(t).then(a(function(i){return Qd(t),i.data=Ic.call(t,t.transformResponse,i),i.headers=_e.from(i.headers),i},"onAdapterResolution"),a(function(i){return Fc(i)||(Qd(t),i&&i.response&&(i.response.data=Ic.call(t,t.transformResponse,i.response),i.response.headers=_e.from(i.response.headers))),Promise.reject(i)},"onAdapterRejection"))}a(ml,"dispatchRequest");var hl={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{hl[t]=a(function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t},"validator")});var wy={};hl.transitional=a(function(e,o,i){function r(n,s){return"[Axios v"+ca+"] Transitional option '"+n+"'"+s+(i?". "+i:"")}return a(r,"formatMessage"),(n,s,c)=>{if(e===!1)throw new w(r(s," has been removed"+(o?" in "+o:"")),w.ERR_DEPRECATED);return o&&!wy[s]&&(wy[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");hl.spelling=a(function(e){return(o,i)=>(console.warn(`${i} is likely a misspelling of ${e}`),!0)},"spelling");function Aw(t,e,o){if(typeof t!="object")throw new w("options must be an object",w.ERR_BAD_OPTION_VALUE);let i=Object.keys(t),r=i.length;for(;r-- >0;){let n=i[r],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 w("option "+n+" must be "+p,w.ERR_BAD_OPTION_VALUE);continue}if(o!==!0)throw new w("Unknown option "+n,w.ERR_BAD_OPTION)}}a(Aw,"assertOptions");var jc={assertOptions:Aw,validators:hl};var Wo=jc.validators,vl=class{static{a(this,"Axios")}constructor(e){this.defaults=e||{},this.interceptors={request:new cd,response:new cd}}async request(e,o){try{return await this._request(e,o)}catch(i){if(i instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;let n=(()=>{if(!r.stack)return"";let s=r.stack.indexOf(`
25
25
  `);return s===-1?"":r.stack.slice(s+1)})();try{if(!i.stack)i.stack=n;else if(n){let s=n.indexOf(`
26
26
  `),c=s===-1?-1:n.indexOf(`
27
27
  `,s+1),p=c===-1?"":n.slice(c+1);String(i.stack).endsWith(p)||(i.stack+=`
28
- `+n)}}catch{}}throw i}}_request(e,o){typeof e=="string"?(o=o||{},o.url=e):o=e||{},o=gi(this.defaults,o);let{transitional:i,paramsSerializer:r,headers:n}=o;i!==void 0&&jc.assertOptions(i,{silentJSONParsing:Wo.transitional(Wo.boolean),forcedJSONParsing:Wo.transitional(Wo.boolean),clarifyTimeoutError:Wo.transitional(Wo.boolean),legacyInterceptorReqResOrdering:Wo.transitional(Wo.boolean)},!1),r!=null&&(v.isFunction(r)?o.paramsSerializer={serialize:r}:jc.assertOptions(r,{encode:Wo.function,serialize:Wo.function},!0)),o.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?o.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:o.allowAbsoluteUrls=!0),jc.assertOptions(o,{baseUrl:Wo.spelling("baseURL"),withXsrfToken:Wo.spelling("withXSRFToken")},!0),o.method=(o.method||this.defaults.method||"get").toLowerCase();let s=n&&v.merge(n.common,n[o.method]);n&&v.forEach(["delete","get","head","post","put","patch","common"],x=>{delete n[x]}),o.headers=_e.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 S=o.transitional||dr;S&&S.legacyInterceptorReqResOrdering?c.unshift(C.fulfilled,C.rejected):c.push(C.fulfilled,C.rejected)},"unshiftRequestInterceptors"));let u=[];this.interceptors.response.forEach(a(function(C){u.push(C.fulfilled,C.rejected)},"pushResponseInterceptors"));let l,f=0,g;if(!p){let x=[ml.bind(this),void 0];for(x.unshift(...c),x.push(...u),g=x.length,l=Promise.resolve(o);f<g;)l=l.then(x[f++],x[f++]);return l}g=c.length;let y=o;for(;f<g;){let x=c[f++],C=c[f++];try{y=x(y)}catch(S){C.call(this,S);break}}try{l=ml.call(this,y)}catch(x){return Promise.reject(x)}for(f=0,g=u.length;f<g;)l=l.then(u[f++],u[f++]);return l}getUri(e){e=gi(this.defaults,e);let o=na(e.baseURL,e.url,e.allowAbsoluteUrls);return ia(o,e.params,e.paramsSerializer)}};v.forEach(["delete","get","head","options"],a(function(e){vl.prototype[e]=function(o,i){return this.request(gi(i||{},{method:e,url:o,data:(i||{}).data}))}},"forEachMethodNoData"));v.forEach(["post","put","patch"],a(function(e){function o(i){return a(function(n,s,c){return this.request(gi(c||{},{method:e,headers:i?{"Content-Type":"multipart/form-data"}:{},url:n,data:s}))},"httpMethod")}a(o,"generateHTTPMethod"),vl.prototype[e]=o(),vl.prototype[e+"Form"]=o(!0)},"forEachMethodWithData"));var Tc=vl;var Dw=class Iy{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 To(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 Iy(a(function(r){e=r},"executor")),cancel:e}}},Fy=Dw;function Yd(t){return a(function(o){return t.apply(null,o)},"wrap")}a(Yd,"spread");function Zd(t){return v.isObject(t)&&t.isAxiosError===!0}a(Zd,"isAxiosError");var Xd={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Xd).forEach(([t,e])=>{Xd[e]=t});var Oy=Xd;function Ay(t){let e=new Tc(t),o=gc(Tc.prototype.request,e);return v.extend(o,Tc.prototype,e,{allOwnKeys:!0}),v.extend(o,e,null,{allOwnKeys:!0}),o.create=a(function(r){return Ay(gi(t,r))},"create"),o}a(Ay,"createInstance");var rt=Ay(Ya);rt.Axios=Tc;rt.CanceledError=To;rt.CancelToken=Fy;rt.isCancel=Fc;rt.VERSION=ca;rt.toFormData=ur;rt.AxiosError=w;rt.Cancel=rt.CanceledError;rt.all=a(function(e){return Promise.all(e)},"all");rt.spread=Yd;rt.isAxiosError=Zd;rt.mergeConfig=gi;rt.AxiosHeaders=_e;rt.formToJSON=t=>ol(v.isHTMLForm(t)?new FormData(t):t);rt.getAdapter=fl.getAdapter;rt.HttpStatusCode=Oy;rt.default=rt;var gl=rt;var{Axios:tj,AxiosError:oj,CanceledError:ij,isCancel:nj,CancelToken:rj,VERSION:aj,all:sj,Cancel:cj,isAxiosError:pj,spread:lj,toFormData:uj,AxiosHeaders:dj,HttpStatusCode:fj,formToJSON:mj,getAdapter:hj,mergeConfig:vj}=gl;var mr=require("nfets/core"),es=require("nfets/core");var $a=class{static{a(this,"Pipeline")}certificate;xmlns="http://www.portalfiscal.inf.br/nfe";http=gl.create();toolkit=new mr.Xml2JsToolkit;caching=new mr.MemoryCacheAdapter;certificates=new mr.NativeCertificateRepository(this.http,this.caching);soap=new mr.SoapRemoteTransmissionRepository(this.toolkit,this.certificates);signer=new es.EntitySigner(this.toolkit,this.certificates);xmlSigner=new es.XmlSigner(this.toolkit,this.certificates);constructor(e){this.certificate=e}errors(){return Reflect.getMetadata(es.ValidateErrorsMetadata,this)}};var qy=Tt(require("path"),1),Pl=require("nfets/core"),Si=require("nfets/core"),El=require("nfets/core");var xl=require("nfets/core"),Dy=require("class-transformer"),yi=require("class-validator");function yl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(yl,"_ts_decorate");function Wd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Wd,"_ts_metadata");var hr=class{static{a(this,"ConsultStatusPayload")}tpAmb;cUF;xServ="STATUS"};yl([(0,yi.IsEnum)(xl.Environment),Wd("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],hr.prototype,"tpAmb",void 0);yl([(0,yi.IsEnum)(xl.StateCodes),Wd("design:type",typeof StateCode>"u"?Object:StateCode)],hr.prototype,"cUF",void 0);yl([(0,yi.IsOptional)()],hr.prototype,"xServ",void 0);var Jd=class{static{a(this,"ConsultStatusRequest")}consStatServ};yl([(0,yi.IsNotEmptyObject)(),(0,yi.IsObject)(),(0,yi.ValidateNested)(),(0,Dy.Type)(()=>hr),Wd("design:type",typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload)],Jd.prototype,"consStatServ",void 0);var Py=require("nfets/core"),Sl=require("nfets/core"),Cl=require("class-transformer"),U=require("class-validator");function lt(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(lt,"_ts_decorate");function Mt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Mt,"_ts_metadata");var bl=class{static{a(this,"InfInutAttributes")}Id};lt([(0,U.IsString)(),Mt("design:type",String)],bl.prototype,"Id",void 0);var Bc=class{static{a(this,"InutNFeAttributes")}xmlns;versao};lt([(0,U.IsString)(),Mt("design:type",String)],Bc.prototype,"xmlns",void 0);lt([(0,U.IsString)(),(0,U.IsOptional)(),Mt("design:type",String)],Bc.prototype,"versao",void 0);var Bt=class{static{a(this,"InfInut")}$;tpAmb;xServ="INUTILIZAR";cUF;ano;CNPJ;CPF;mod;serie;nNFIni;nNFFin;xJust};lt([(0,U.ValidateNested)(),(0,Cl.Type)(()=>bl),Mt("design:type",typeof IInfInutAttributes>"u"?Object:IInfInutAttributes)],Bt.prototype,"$",void 0);lt([(0,U.IsEnum)(Sl.Environment),Mt("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Bt.prototype,"tpAmb",void 0);lt([(0,U.IsOptional)()],Bt.prototype,"xServ",void 0);lt([(0,U.IsEnum)(Sl.StateCodes),Mt("design:type",typeof StateCode>"u"?Object:StateCode)],Bt.prototype,"cUF",void 0);lt([(0,U.IsString)(),(0,U.Length)(2,2),(0,U.Matches)(/^[0-9]{2}$/),Mt("design:type",String)],Bt.prototype,"ano",void 0);lt([(0,U.IsString)(),(0,U.IsOptional)(),Mt("design:type",String)],Bt.prototype,"CNPJ",void 0);lt([(0,U.IsString)(),(0,U.IsOptional)(),Mt("design:type",String)],Bt.prototype,"CPF",void 0);lt([(0,U.IsString)(),(0,U.Length)(2,2),(0,U.Matches)(/^(55|65)$/),Mt("design:type",String)],Bt.prototype,"mod",void 0);lt([(0,U.IsString)(),(0,U.Matches)(/^[0-9]{1,3}$/),Mt("design:type",String)],Bt.prototype,"serie",void 0);lt([(0,U.IsString)(),(0,U.Matches)(/^[0-9]{1,9}$/),Mt("design:type",String)],Bt.prototype,"nNFIni",void 0);lt([(0,U.IsString)(),(0,U.Matches)(/^[0-9]{1,9}$/),Mt("design:type",String)],Bt.prototype,"nNFFin",void 0);lt([(0,U.IsString)(),(0,U.MinLength)(15),(0,U.MaxLength)(255),Mt("design:type",String)],Bt.prototype,"xJust",void 0);Bt=lt([(0,Py.Choice)({properties:["CNPJ","CPF"],required:!0})],Bt);var On=class{static{a(this,"InutilizacaoPayload")}$;infInut;Signature};lt([(0,U.IsObject)(),(0,U.ValidateNested)(),(0,Cl.Type)(()=>Bc),Mt("design:type",typeof IInutNFeAttributes>"u"?Object:IInutNFeAttributes)],On.prototype,"$",void 0);lt([(0,U.IsObject)(),(0,U.ValidateNested)(),(0,Cl.Type)(()=>Bt),Mt("design:type",typeof IInfInut>"u"?Object:IInfInut)],On.prototype,"infInut",void 0);lt([(0,U.Allow)(),Mt("design:type",typeof Signature>"u"?Object:Signature)],On.prototype,"Signature",void 0);var zy=require("nfets/core"),Wi=require("class-validator");function Kd(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(Kd,"_ts_decorate");function Ey(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ey,"_ts_metadata");var la=class{static{a(this,"ConsultaProtocoloPayload")}tpAmb;xServ="CONSULTAR";chNFe};Kd([(0,Wi.IsEnum)(zy.Environment),Ey("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],la.prototype,"tpAmb",void 0);Kd([(0,Wi.IsOptional)()],la.prototype,"xServ",void 0);Kd([(0,Wi.IsString)(),(0,Wi.Length)(44,44),(0,Wi.Matches)(/^[A-Z0-9]{44}$/),Ey("design:type",String)],la.prototype,"chNFe",void 0);var Rl=require("nfets/core"),Bo=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 Nl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Nl,"_ts_metadata");var xi=class{static{a(this,"NfeAutorizacaoPayload")}tpAmb;cUF;idLote;indSinc="1";NFe};Mc([(0,Bo.IsEnum)(Rl.Environment),(0,Bo.IsOptional)(),Nl("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],xi.prototype,"tpAmb",void 0);Mc([(0,Bo.IsEnum)(Rl.StateCodes),(0,Bo.IsOptional)(),Nl("design:type",typeof StateCode>"u"?Object:StateCode)],xi.prototype,"cUF",void 0);Mc([(0,Bo.IsString)(),(0,Bo.IsOptional)(),Nl("design:type",String)],xi.prototype,"idLote",void 0);Mc([(0,Bo.IsOptional)(),(0,Bo.IsEnum)(["0","1"])],xi.prototype,"indSinc",void 0);Mc([(0,Bo.IsNotEmpty)(),Nl("design:type",typeof T>"u"?Object:T)],xi.prototype,"NFe",void 0);var By=require("nfets/core"),wl=require("class-validator");function jy(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(jy,"_ts_decorate");function Ty(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ty,"_ts_metadata");var ts=class{static{a(this,"RetAutorizacaoPayload")}tpAmb;nRec};jy([(0,wl.IsEnum)(By.Environment),Ty("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],ts.prototype,"tpAmb",void 0);jy([(0,wl.IsString)(),Ty("design:type",String)],ts.prototype,"nRec",void 0);var te=require("class-validator"),Lc=require("class-transformer"),Ol=require("nfets/core");function ut(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,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(ut,"_ts_decorate");function wt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(wt,"_ts_metadata");var Il=class{static{a(this,"InfEventoAttributes")}Id};ut([(0,te.IsString)(),wt("design:type",String)],Il.prototype,"Id",void 0);var Rt=class{static{a(this,"InfEvento")}$;cOrgao;tpAmb;CNPJ;CPF;chNFe;dhEvento;tpEvento;nSeqEvento;verEvento;detEvento};ut([(0,te.IsObject)(),(0,te.ValidateNested)(),(0,Lc.Type)(()=>Il),wt("design:type",typeof IInfEventoAttributes>"u"?Object:IInfEventoAttributes)],Rt.prototype,"$",void 0);ut([(0,te.IsString)(),wt("design:type",typeof StateCode>"u"?Object:StateCode)],Rt.prototype,"cOrgao",void 0);ut([(0,te.IsString)(),wt("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Rt.prototype,"tpAmb",void 0);ut([(0,te.IsString)(),(0,te.IsOptional)(),wt("design:type",String)],Rt.prototype,"CNPJ",void 0);ut([(0,te.IsString)(),(0,te.IsOptional)(),wt("design:type",String)],Rt.prototype,"CPF",void 0);ut([(0,te.IsString)(),wt("design:type",String)],Rt.prototype,"chNFe",void 0);ut([(0,Ol.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),wt("design:type",String)],Rt.prototype,"dhEvento",void 0);ut([(0,te.IsEnum)(Co),wt("design:type",typeof Co>"u"?Object:Co)],Rt.prototype,"tpEvento",void 0);ut([(0,te.IsNumber)(),wt("design:type",Number)],Rt.prototype,"nSeqEvento",void 0);ut([(0,te.IsString)(),wt("design:type",String)],Rt.prototype,"verEvento",void 0);ut([(0,te.IsObject)(),wt("design:type",typeof T>"u"?Object:T)],Rt.prototype,"detEvento",void 0);Rt=ut([(0,Ol.Choice)({properties:["CNPJ","CPF"],required:!0})],Rt);var Fl=class{static{a(this,"EventoItemAttributes")}xmlns};ut([(0,te.IsString)(),wt("design:type",String)],Fl.prototype,"xmlns",void 0);var Ki=class{static{a(this,"EventoItem")}$;infEvento;Signature};ut([(0,te.IsObject)(),(0,te.ValidateNested)(),(0,Lc.Type)(()=>Fl),wt("design:type",typeof IEventoItemAttributes>"u"?Object:IEventoItemAttributes)],Ki.prototype,"$",void 0);ut([(0,te.IsObject)(),(0,te.ValidateNested)(),(0,Lc.Type)(()=>Rt),wt("design:type",typeof Rt>"u"?Object:Rt)],Ki.prototype,"infEvento",void 0);ut([(0,te.Allow)(),wt("design:type",typeof Signature>"u"?Object:Signature)],Ki.prototype,"Signature",void 0);var os=class{static{a(this,"EventoPayload")}idLote;evento};ut([(0,te.IsString)(),wt("design:type",String)],os.prototype,"idLote",void 0);ut([(0,te.IsNotEmpty)(),(0,te.ValidateNested)(),(0,Lc.Type)(()=>Ki),wt("design:type",typeof Ki>"u"?Object:Ki)],os.prototype,"evento",void 0);var My=require("nfets/core"),Ly=require("nfets/core"),Ko=require("class-validator");function is(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(is,"_ts_decorate");function Al(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Al,"_ts_metadata");var bi=class{static{a(this,"ConsultaCadastroPayload")}xServ="CONS-CAD";UF;IE="";CNPJ="";CPF=""};is([(0,Ko.IsOptional)()],bi.prototype,"xServ",void 0);is([(0,Ko.IsString)(),(0,Ko.IsIn)(Object.values(My.StateAcronyms)),Al("design:type",typeof StateAcronym>"u"?Object:StateAcronym)],bi.prototype,"UF",void 0);is([(0,Ko.IsOptional)(),(0,Ko.IsString)(),Al("design:type",String)],bi.prototype,"IE",void 0);is([(0,Ko.IsOptional)(),(0,Ko.IsString)(),Al("design:type",String)],bi.prototype,"CNPJ",void 0);is([(0,Ko.IsOptional)(),(0,Ko.IsString)(),Al("design:type",String)],bi.prototype,"CPF",void 0);bi=is([(0,Ly.Choice)({properties:["IE","CNPJ","CPF"],required:!0})],bi);var oe=require("nfets/core"),Vy={AM:{[oe.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"}},[oe.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:{[oe.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"}},[oe.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:{[oe.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"}},[oe.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:{[oe.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"}},[oe.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:{[oe.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"}},[oe.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:{[oe.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"}},[oe.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:{[oe.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"}},[oe.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:{[oe.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"}},[oe.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:{[oe.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"}},[oe.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:{[oe.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"}},[oe.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:{[oe.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"}},[oe.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:{[oe.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"}},[oe.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:{[oe.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"}},[oe.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:{[oe.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"}},[oe.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:{[oe.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"}},[oe.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 ue=require("nfets/core"),Pw={[ue.StateCodes.AC]:"SVRS",[ue.StateCodes.AL]:"SVRS",[ue.StateCodes.AM]:"AM",[ue.StateCodes.AP]:"SVRS",[ue.StateCodes.BA]:"BA",[ue.StateCodes.CE]:"SVRS",[ue.StateCodes.DF]:"SVRS",[ue.StateCodes.ES]:"SVRS",[ue.StateCodes.GO]:"GO",[ue.StateCodes.MA]:"SVAN",[ue.StateCodes.MG]:"MG",[ue.StateCodes.MS]:"MS",[ue.StateCodes.MT]:"MT",[ue.StateCodes.PA]:"SVRS",[ue.StateCodes.PB]:"SVRS",[ue.StateCodes.PE]:"PE",[ue.StateCodes.PI]:"SVRS",[ue.StateCodes.PR]:"PR",[ue.StateCodes.RJ]:"SVRS",[ue.StateCodes.RN]:"SVRS",[ue.StateCodes.RO]:"SVRS",[ue.StateCodes.RR]:"SVRS",[ue.StateCodes.RS]:"RS",[ue.StateCodes.SC]:"SVRS",[ue.StateCodes.SE]:"SVRS",[ue.StateCodes.SP]:"SP",[ue.StateCodes.TO]:"SVRS",AN:"AN",SVAN:"SVAN",SVRS:"SVRS",SVCAN:"SVCAN",SVCRS:"SVCRS"},_y=Pw;var de=require("nfets/core"),Dl={[de.StateCodes.AC]:"SVCAN",[de.StateCodes.AL]:"SVCAN",[de.StateCodes.AM]:"SVCRS",[de.StateCodes.AP]:"SVCAN",[de.StateCodes.BA]:"SVCRS",[de.StateCodes.CE]:"SVCAN",[de.StateCodes.DF]:"SVCAN",[de.StateCodes.ES]:"SVCAN",[de.StateCodes.GO]:"SVCRS",[de.StateCodes.MA]:"SVCRS",[de.StateCodes.MG]:"SVCAN",[de.StateCodes.MS]:"SVCRS",[de.StateCodes.MT]:"SVCRS",[de.StateCodes.PA]:"SVCAN",[de.StateCodes.PB]:"SVCAN",[de.StateCodes.PE]:"SVCRS",[de.StateCodes.PI]:"SVCAN",[de.StateCodes.PR]:"SVCRS",[de.StateCodes.RJ]:"SVCAN",[de.StateCodes.RN]:"SVCAN",[de.StateCodes.RO]:"SVCAN",[de.StateCodes.RR]:"SVCAN",[de.StateCodes.RS]:"SVCAN",[de.StateCodes.SC]:"SVCAN",[de.StateCodes.SE]:"SVCAN",[de.StateCodes.SP]:"SVCAN",[de.StateCodes.TO]:"SVCAN"};function ua(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(ua,"_ts_decorate");function Je(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Je,"_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??=Zo.PL_009_V4,this}service(e){let o=e.cUF??this.options.cUF,i=e.tpAmb??this.options.tpAmb,r=this.options.contingency?Dl[o]:_y[o];return Vy[r][i][e.service]}errors(){return Reflect.getMetadata(Si.ValidateErrorsMetadata,this)}validate(e){try{let o=this.errors();return o?(0,El.left)(new Pl.NFeTsError(o.join(", "))):("cUF"in e&&(e.cUF??=this.options.cUF),"tpAmb"in e&&(e.tpAmb??=this.options.tpAmb),(0,El.right)(e))}finally{Reflect.deleteMetadata(Si.ValidateErrorsMetadata,this)}}ns(e,o){let i=e.$??{};return i.xmlns=this.xmlns,i.versao=o,{...e,$:i}}xsd(e){return qy.default.resolve(fc(),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:Pl.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})}};ua([(0,Si.Validates)(hr),Je("design:type",Function),Je("design:paramtypes",[typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload]),Je("design:returntype",Promise)],Oo.prototype,"consultStatus",null);ua([(0,Si.Validates)(On),Je("design:type",Function),Je("design:paramtypes",[typeof IInutilizacaoPayload>"u"?Object:IInutilizacaoPayload]),Je("design:returntype",Promise)],Oo.prototype,"inutilizacao",null);ua([(0,Si.Validates)(la),Je("design:type",Function),Je("design:paramtypes",[typeof IConsultaProtocoloPayload>"u"?Object:IConsultaProtocoloPayload]),Je("design:returntype",Promise)],Oo.prototype,"consultaProtocolo",null);ua([(0,Si.Validates)(xi),Je("design:type",Function),Je("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),Je("design:returntype",Promise)],Oo.prototype,"autorizacao",null);ua([(0,Si.Validates)(ts),Je("design:type",Function),Je("design:paramtypes",[typeof IRetAutorizacaoPayload>"u"?Object:IRetAutorizacaoPayload]),Je("design:returntype",Promise)],Oo.prototype,"retAutorizacao",null);ua([(0,Si.Validates)(os),Je("design:type",Function),Je("design:paramtypes",[Object]),Je("design:returntype",Promise)],Oo.prototype,"recepcaoEvento",null);ua([(0,Si.Validates)(bi),Je("design:type",Function),Je("design:paramtypes",[typeof IConsultaCadastroPayload>"u"?Object:IConsultaCadastroPayload]),Je("design:returntype",Promise)],Oo.prototype,"consultaCadastro",null);var Ao=class extends $a{static{a(this,"TransmissionPipeline")}certificate;transmitter=new Oo(this.soap);constructor(e){super(e),this.certificate=e}};function Ew(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(Ew,"_ts_decorate");function $d(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a($d,"_ts_metadata");var Vc=class extends Ao{static{a(this,"EventPipeline")}async event(e,o,i){let r=await this.certificates.read(this.certificate);if(r.isLeft())return r;let n=o.chNFe.slice(0,2);this.transmitter.configure({cUF:n,...i,certificate:r.value});let s=Vp[e],c=this.certificates.getCertificateInfo(r.value.certificate),{nSeqEvento:p,dhEvento:u,chNFe:l}=o,f=["ID",e,l,p.toString().padStart(2,"0")].join(""),g={$:{xmlns:this.xmlns},infEvento:{$:{Id:f},cOrgao:n,tpAmb:i.tpAmb,CNPJ:c.CNPJ,CPF:c.CPF,chNFe:l,dhEvento:u,tpEvento:e,nSeqEvento:p,verEvento:s.version,detEvento:{$:{versao:s.version},descEvento:s.descEvento,...o.detEvento}}},y=this.validated(g);return y.isLeft()?y:await this.signer.sign(y.value,{tag:"infEvento",mark:"Id"},r.value)}versionedEvent(e,o){let i=e.$;return{...e,$:{...i,xmlns:this.xmlns,versao:o}}}async protocol(e,o,i){let{cStat:r}=o.infEvento;if(!Object.values(ju).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,vr.left)(new vr.NFeTsError(o.join(", "))):(0,vr.right)(e)}};Ew([(0,vr.Validates)(Ki),$d("design:type",Function),$d("design:paramtypes",[typeof IEventoItem>"u"?Object:IEventoItem]),$d("design:returntype",void 0)],Vc.prototype,"validated",null);var ns=require("nfets/core");var _c=class extends Vc{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},r=await this.event(Co.Cancelamento,i,o);if(r.isLeft())return r;let n=r.value,s=Vp[Co.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,ns.left)(new ns.NFeTsError("Evento de cancelamento n\xE3o retornado"));let l=await this.protocol(this.versionedEvent(n,s),u,s);return(0,ns.right)({xml:l,response:p})}};var da=(function(t){return t.Asynchronous="0",t.Synchronous="1",t})({});var ef=(function(t){return t.LotReceived="103",t.ProcessedBatch="104",t})({});var Uy=require("nfets/core");var qc=class extends Uy.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 Mo=require("nfets/core");var ky=(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 Uc=class extends Ao{static{a(this,"NfeAuthorizerPipeline")}async execute(e,o){e.indSinc??=da.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,Mo.right)(await this.handleLotNotProcessed(r.value,c)):e.indSinc===da.Synchronous&&this.isSyncResponse(c)?(0,Mo.right)(await this.response(r.value,c)):e.indSinc===da.Asynchronous&&this.hasReceipt(c)?await this.handleAsyncResponse(r.value,c):(0,Mo.left)(new qc)}async protocol(e,o){let{cStat:i}=o.infProt;if(!Object.values(ky).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,Mo.left)(n.value):(0,Mo.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,Mo.left)(new Mo.NFeTsError("Failed to sign a NFe in batch")):(0,Mo.right)(i.filter(r=>r.isRight()).map(r=>r.value))}isLotNotProcessed(e,o){let{cStat:i}=e.retEnviNFe,r=o.indSinc??da.Synchronous;return r===da.Asynchronous&&i!==ef.LotReceived.toString()||r===da.Synchronous&&i!==ef.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,s=1;for(;s<=3;)try{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)continue;return(0,Mo.right)(await this.response(e,{retEnviNFe:{...c.value.retConsReciNFe,protNFe:p}}))}finally{s++}return(0,Mo.left)(new qc)}contingency(e){let{dhCont:o,xJust:i,tpEmis:r}=e.infNFe.ide;if(!(!o||!i||r===bt.Normal))return{dhCont:o,xJust:i}}};var Ci=require("nfets/core");function zw(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(zw,"_ts_decorate");function tf(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(tf,"_ts_metadata");var rs=class extends Ao{static{a(this,"NfeVoidRangePipeline")}async execute(e,o){let i=await this.certificates.read(this.certificate);if(i.isLeft())return i;let r=this.certificates.getCertificateInfo(i.value.certificate);this.transmitter.configure({...o,certificate:i.value});let n=e.ano??new Date().getFullYear().toString().slice(2),s=["ID",o.cUF,n,r.CNPJ?.padStart(14,"0")??"",e.mod,e.serie.padStart(3,"0"),e.nNFIni.padStart(9,"0"),e.nNFFin.padStart(9,"0")].join(""),c={$:{xmlns:this.xmlns},infInut:{$:{Id:s},tpAmb:e.tpAmb??o.tpAmb,cUF:o.cUF,ano:n,CNPJ:r.CNPJ,CPF:r.CPF,mod:e.mod,serie:e.serie,nNFIni:e.nNFIni,nNFFin:e.nNFFin,xJust:e.xJust}},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 f=l.value,g=f.retInutNFe;if(!g)return(0,Ci.left)(new Ci.NFeTsError("Retorno de inutiliza\xE7\xE3o n\xE3o retornado"));let y=g.$.versao,x=await this.protocol(this.versionedInutNFe(u.value,y),g,y);return(0,Ci.right)({xml:x,response:f})}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(Bu).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,Ci.left)(new Ci.NFeTsError(o.join(", "))):(0,Ci.right)(e)}};zw([(0,Ci.Validates)(On),tf("design:type",Function),tf("design:paramtypes",[typeof IIInutilizacaoPayload>"u"?Object:IIInutilizacaoPayload]),tf("design:returntype",void 0)],rs.prototype,"validated",null);var kc=class extends Ao{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 Hc=class extends Ao{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 of=class extends Ao{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 Hy=Tt(require("crypto"),1),An=require("nfets/core");var Lt=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,An.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,An.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!==bt.OFFLINE)return`${c}|${p}|${n}|${s}`;let l=e.Signature.SignedInfo.Reference.DigestValue.split("").map(y=>y.charCodeAt(0).toString(16).padStart(2,"0")).join(""),f=new Date(e.infNFe.ide.dhEmi).getDate(),g=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2);return`${c}|${p}|${n}|${f}|${g}|${l}|${s}`}async execute200(e,o){let{urlService:i,CSC:r}=o,n=this.getSequence(e,o),s=Hy.default.createHash("sha1").update(`${n}${r}`).digest("hex").toUpperCase(),c=`${i}?p=`;return Promise.resolve((0,An.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!==bt.OFFLINE)return(0,An.right)(`${r}${s}|${c}|${n}`);let p=this.emissionDayOfMonthFormatted(e.infNFe.ide.dhEmi),u=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2),{tipo:l,documento:f}=this.getQrcodeV300OfflineIdentification(e.infNFe.dest),g=`${s}|${c}|${n}|${p}|${u}|${l}|${f}`,y=await this.certificateRepository.sign(g,o.certificate,An.SignatureAlgorithm.SHA1);return y.isLeft()?y:(0,An.right)(`${r}${g}|${y.value}`)}};var af=require("nfets/core");var A=require("nfets/core"),nf={AC:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hml.sefaznet.ac.gov.br/nfce/qrcode"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaznet.ac.gov.br/nfce/qrcode"}}},AL:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}}},AM:{[A.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"}},[A.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:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.sefaz.ap.gov.br/nfcehml/nfce.php"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.ap.gov.br/nfce/nfcep.php"}}},BA:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hnfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}}},CE:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfceh.sefaz.ce.gov.br/pages/ShowNFCe.html"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.ce.gov.br/pages/ShowNFCe.html"}}},DF:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://dec.fazenda.df.gov.br/ConsultarNFCe.aspx"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.fazenda.df.gov.br/nfce/qrcode"}}},ES:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://app.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}}},GO:{[A.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"}},[A.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:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}}},MG:{[A.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"}},[A.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:{[A.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"}},[A.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:{[A.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"}},[A.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:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://appnfc.sefa.pa.gov.br/portal-homologacao/view/consultas/nfce/nfceForm.seam"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://appnfc.sefa.pa.gov.br/portal/view/consultas/nfce/nfceForm.seam"}}},PB:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pb.gov.br/nfcehom"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pb.gov.br/nfce"}}},PE:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfcehomolog.sefaz.pe.gov.br/nfce/consulta"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.pe.gov.br/nfce/consulta"}}},PI:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}}},PR:{[A.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"}},[A.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:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www4.fazenda.rj.gov.br/consultaNFCe/QRCode"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://consultadfe.fazenda.rj.gov.br/consultaNFCe/QRCode"}}},RN:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hom.nfce.set.rn.gov.br/consultarNFCe.aspx"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.set.rn.gov.br/consultarNFCe.aspx"}}},RO:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}}},RR:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://200.174.88.103:8080/nfce/servlet/qrcode"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.rr.gov.br/servlet/qrcode"}}},RS:{[A.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"}},[A.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:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://hom.sat.sef.sc.gov.br/nfce/consulta"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://sat.sef.sc.gov.br/nfce/consulta"}}},SE:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfe.se.gov.br/nfce/qrcode"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.se.gov.br/nfce/qrcode"}}},SP:{[A.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"}},[A.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:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.to.gov.br/nfce/qrcode"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.to.gov.br/nfce/qrcode"}}},SVRS:{[A.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"}},[A.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:{[A.Environment.Homolog]:{},[A.Environment.Production]:{}}};var D=require("nfets/core"),Gy={[D.Environment.Homolog]:{[D.StateCodes.AC]:"www.sefaznet.ac.gov.br/nfce/consulta",[D.StateCodes.AL]:"www.sefaz.al.gov.br/nfce/consulta",[D.StateCodes.AP]:"www.sefaz.ap.gov.br/nfce/consulta",[D.StateCodes.AM]:"www.sefaz.am.gov.br/nfce/consulta",[D.StateCodes.BA]:"http://hinternet.sefaz.ba.gov.br/nfce/consulta",[D.StateCodes.CE]:"www.sefaz.ce.gov.br/nfce/consulta",[D.StateCodes.DF]:"www.fazenda.df.gov.br/nfce/consulta",[D.StateCodes.ES]:"www.sefaz.es.gov.br/nfce/consulta",[D.StateCodes.GO]:"www.nfce.go.gov.br/post/ver/214413/consulta-nfc-e-homologacao",[D.StateCodes.MA]:"www.sefaz.ma.gov.br/nfce/consulta",[D.StateCodes.MG]:"https://hportalsped.fazenda.mg.gov.br/portalnfce",[D.StateCodes.MS]:"http://www.dfe.ms.gov.br/nfce/consulta",[D.StateCodes.MT]:"http://homologacao.sefaz.mt.gov.br/nfce/consultanfce",[D.StateCodes.PA]:"www.sefa.pa.gov.br/nfce/consulta",[D.StateCodes.PB]:"www.sefaz.pb.gov.br/nfcehom",[D.StateCodes.PE]:"nfce.sefaz.pe.gov.br/nfce/consulta",[D.StateCodes.PR]:"http://www.fazenda.pr.gov.br/nfce/consulta",[D.StateCodes.PI]:"www.sefaz.pi.gov.br/nfce/consulta",[D.StateCodes.RJ]:"www.fazenda.rj.gov.br/nfce/consulta",[D.StateCodes.RN]:"www.set.rn.gov.br/nfce/consulta",[D.StateCodes.RO]:"www.sefin.ro.gov.br/nfce/consulta",[D.StateCodes.RR]:"www.sefaz.rr.gov.br/nfce/consulta",[D.StateCodes.RS]:"www.sefaz.rs.gov.br/nfce/consulta",[D.StateCodes.SE]:"http://www.hom.nfe.se.gov.br/nfce/consulta",[D.StateCodes.SC]:"https://hom.sat.sef.sc.gov.br/nfce/consulta",[D.StateCodes.SP]:"https://www.homologacao.nfce.fazenda.sp.gov.br/NFCeConsultaPublica",[D.StateCodes.TO]:"http://homologacao.sefaz.to.gov.br/nfce/consulta.jsf"},[D.Environment.Production]:{[D.StateCodes.AC]:"www.sefaznet.ac.gov.br/nfce/consulta",[D.StateCodes.AL]:"www.sefaz.al.gov.br/nfce/consulta",[D.StateCodes.AP]:"www.sefaz.ap.gov.br/nfce/consulta",[D.StateCodes.AM]:"www.sefaz.am.gov.br/nfce/consulta",[D.StateCodes.BA]:"http://www.sefaz.ba.gov.br/nfce/consulta",[D.StateCodes.CE]:"www.sefaz.ce.gov.br/nfce/consulta",[D.StateCodes.DF]:"www.fazenda.df.gov.br/nfce/consulta",[D.StateCodes.ES]:"www.sefaz.es.gov.br/nfce/consulta",[D.StateCodes.GO]:"www.sefaz.go.gov.br/nfce/consulta",[D.StateCodes.MA]:"www.sefaz.ma.gov.br/nfce/consulta",[D.StateCodes.MG]:"https://portalsped.fazenda.mg.gov.br/portalnfce",[D.StateCodes.MS]:"http://www.dfe.ms.gov.br/nfce/consulta",[D.StateCodes.MT]:"http://www.sefaz.mt.gov.br/nfce/consultanfce",[D.StateCodes.PA]:"www.sefa.pa.gov.br/nfce/consulta",[D.StateCodes.PE]:"nfce.sefaz.pe.gov.br/nfce/consulta",[D.StateCodes.PR]:"http://www.fazenda.pr.gov.br/nfce/consulta",[D.StateCodes.PI]:"www.sefaz.pi.gov.br/nfce/consulta",[D.StateCodes.RJ]:"www.fazenda.rj.gov.br/nfce/consulta",[D.StateCodes.RN]:"www.set.rn.gov.br/nfce/consulta",[D.StateCodes.RO]:"www.sefin.ro.gov.br/nfce/consulta",[D.StateCodes.RR]:"www.sefaz.rr.gov.br/nfce/consulta",[D.StateCodes.RS]:"www.sefaz.rs.gov.br/nfce/consulta",[D.StateCodes.SC]:"https://sat.sef.sc.gov.br/nfce/consulta",[D.StateCodes.SE]:"http://www.nfce.se.gov.br/nfce/consulta",[D.StateCodes.SP]:"https://www.nfce.fazenda.sp.gov.br/NFCeConsultaPublica",[D.StateCodes.TO]:"www.sefaz.to.gov.br/nfce/consulta",[D.StateCodes.PB]:"www.sefaz.pb.gov.br/nfce/consulta"}};var fe=require("nfets/core"),jw={[fe.StateCodes.AC]:"SVRS",[fe.StateCodes.AL]:"SVRS",[fe.StateCodes.AM]:"AM",[fe.StateCodes.AP]:"SVRS",[fe.StateCodes.BA]:"SVRS",[fe.StateCodes.CE]:"SVRS",[fe.StateCodes.DF]:"SVRS",[fe.StateCodes.ES]:"SVRS",[fe.StateCodes.GO]:"GO",[fe.StateCodes.MA]:"SVRS",[fe.StateCodes.MG]:"MG",[fe.StateCodes.MS]:"MS",[fe.StateCodes.MT]:"MT",[fe.StateCodes.PA]:"SVRS",[fe.StateCodes.PB]:"SVRS",[fe.StateCodes.PE]:"SVRS",[fe.StateCodes.PI]:"SVRS",[fe.StateCodes.PR]:"PR",[fe.StateCodes.RJ]:"SVRS",[fe.StateCodes.RN]:"SVRS",[fe.StateCodes.RO]:"SVRS",[fe.StateCodes.RR]:"SVRS",[fe.StateCodes.RS]:"RS",[fe.StateCodes.SC]:"SVRS",[fe.StateCodes.SE]:"SVRS",[fe.StateCodes.SP]:"SP",[fe.StateCodes.TO]:"SVRS",SVRS:"SVRS"},Qy=jw;var zl=class extends xi{static{a(this,"NfceAutorizacaoPayload")}};var Yy=require("nfets/core");function Tw(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(Tw,"_ts_decorate");function rf(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(rf,"_ts_metadata");var It=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=Qy[o],c=nf[r][i][e.service];if(c)return c;let p=Object.keys(af.StateCodes).find(u=>af.StateCodes[u]===o);return nf[p][i][e.service]}getUrlConsult(e){let o=e.infNFe.ide.cUF,i=e.infNFe.ide.tpAmb;return Gy[i][o]}async autorizacao(e){return super.autorizacao(e)}};Tw([(0,Yy.Validates)(zl),rf("design:type",Function),rf("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),rf("design:returntype",Promise)],It.prototype,"autorizacao",null);var sf=class extends _c{static{a(this,"NfceCancelPipeline")}qrCode=new Lt(this.certificates);transmitter=new It(this.soap,this.qrCode)};var Gc=class extends Uc{static{a(this,"NfceAuthorizerPipeline")}certificate;qrCode=new Lt(this.certificates);transmitter=new It(this.soap,this.qrCode);constructor(e){super(e),this.certificate=e}};var Ft=require("nfets/core");var cf=class extends Gc{static{a(this,"NfceContingencyXmlAuthorizerPipeline")}certificate;qrCode=new Lt(this.certificates);transmitter=new It(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,Ft.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,Ft.left)(r?.value??new Ft.NFeTsError("NFC-e XML must be signed"))}return(0,Ft.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,Ft.left)(new Ft.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,Ft.left)(new Ft.NFeTsError("NFC-e XML signature digest mismatch")):(0,Ft.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,Ft.right)(n)}signatureAlgorithm(e){return e.Signature?.SignedInfo?.Reference?.DigestMethod?.$?.Algorithm===Ft.DigestAlgorithm.SHA256?Ft.SignatureAlgorithm.SHA256:Ft.SignatureAlgorithm.SHA1}};var pf=class extends rs{static{a(this,"NfceVoidRangePipeline")}qrCode=new Lt(this.certificates);transmitter=new It(this.soap,this.qrCode)};var lf=class extends kc{static{a(this,"NfceConsultStatusPipeline")}qrCode=new Lt(this.certificates);transmitter=new It(this.soap,this.qrCode)};var uf=class extends Hc{static{a(this,"NfceConsultProtocoloPipeline")}qrCode=new Lt(this.certificates);transmitter=new It(this.soap,this.qrCode)};var Bx=Tt(require("path"),1),Ys=require("nfets/core");var yo=require("class-validator");var j=require("class-validator"),tt=require("class-transformer");var F=require("class-validator"),Qc=require("class-transformer"),ss=require("nfets/core"),Zy=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 M(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(M,"_ts_metadata");var Dn=class{static{a(this,"RefNF")}cUF;AAMM;CNPJ;mod;serie;nNF};B([(0,F.IsString)(),M("design:type",String)],Dn.prototype,"cUF",void 0);B([(0,F.IsString)(),M("design:type",String)],Dn.prototype,"AAMM",void 0);B([(0,F.IsString)(),M("design:type",String)],Dn.prototype,"CNPJ",void 0);B([(0,F.IsString)(),M("design:type",String)],Dn.prototype,"mod",void 0);B([(0,F.IsString)(),M("design:type",String)],Dn.prototype,"serie",void 0);B([(0,F.IsString)(),M("design:type",String)],Dn.prototype,"nNF",void 0);var Lo=class{static{a(this,"RefNFP")}cUF;AAMM;CNPJ="";CPF="";IE;mod;serie;nNF};B([(0,F.IsString)(),M("design:type",String)],Lo.prototype,"cUF",void 0);B([(0,F.IsString)(),M("design:type",String)],Lo.prototype,"AAMM",void 0);B([(0,F.IsOptional)(),(0,F.IsString)(),M("design:type",String)],Lo.prototype,"CNPJ",void 0);B([(0,F.IsOptional)(),(0,F.IsString)(),M("design:type",String)],Lo.prototype,"CPF",void 0);B([(0,F.IsString)(),M("design:type",String)],Lo.prototype,"IE",void 0);B([(0,F.IsString)(),M("design:type",String)],Lo.prototype,"mod",void 0);B([(0,F.IsString)(),M("design:type",String)],Lo.prototype,"serie",void 0);B([(0,F.IsString)(),M("design:type",String)],Lo.prototype,"nNF",void 0);Lo=B([(0,ss.Choice)({properties:["CNPJ","CPF"],required:!0})],Lo);var as=class{static{a(this,"RefECF")}mod;nECF;nCOO};B([(0,F.IsString)(),M("design:type",String)],as.prototype,"mod",void 0);B([(0,F.IsString)(),M("design:type",String)],as.prototype,"nECF",void 0);B([(0,F.IsString)(),M("design:type",String)],as.prototype,"nCOO",void 0);var Pn=class{static{a(this,"NFref")}refNFe;refNFeSig;refNF;refNFP;refCTe;refECF};B([(0,F.IsOptional)(),(0,F.IsString)(),M("design:type",String)],Pn.prototype,"refNFe",void 0);B([(0,F.IsOptional)(),(0,F.IsString)(),M("design:type",String)],Pn.prototype,"refNFeSig",void 0);B([(0,F.IsOptional)(),(0,F.ValidateNested)(),(0,Qc.Type)(()=>Dn),M("design:type",typeof IRefNF>"u"?Object:IRefNF)],Pn.prototype,"refNF",void 0);B([(0,F.IsOptional)(),(0,F.ValidateNested)(),(0,Qc.Type)(()=>Lo),M("design:type",typeof IRefNFP>"u"?Object:IRefNFP)],Pn.prototype,"refNFP",void 0);B([(0,F.IsOptional)(),(0,F.IsString)(),M("design:type",String)],Pn.prototype,"refCTe",void 0);B([(0,F.IsOptional)(),(0,F.ValidateNested)(),(0,Qc.Type)(()=>as),M("design:type",typeof IRefECF>"u"?Object:IRefECF)],Pn.prototype,"refECF",void 0);var ne=class{static{a(this,"Ide")}cUF;cNF;natOp;mod;serie;nNF;dhEmi;dhSaiEnt;tpNF;idDest;cMunFG;tpImp;tpEmis;cDV="";tpAmb;finNFe;indFinal;indPres;indIntermed;procEmi;verProc;dhCont;xJust;NFref};B([(0,F.IsEnum)(Zy.StateCodes),M("design:type",typeof StateCode>"u"?Object:StateCode)],ne.prototype,"cUF",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"cNF",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"natOp",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"mod",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"serie",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"nNF",void 0);B([(0,ss.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),M("design:type",String)],ne.prototype,"dhEmi",void 0);B([(0,F.IsOptional)(),(0,ss.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),M("design:type",String)],ne.prototype,"dhSaiEnt",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"tpNF",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"idDest",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"cMunFG",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"tpImp",void 0);B([(0,F.IsString)(),M("design:type",typeof TpEmis>"u"?Object:TpEmis)],ne.prototype,"tpEmis",void 0);B([(0,F.IsString)(),(0,F.IsOptional)(),M("design:type",String)],ne.prototype,"cDV",void 0);B([(0,F.IsString)(),M("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],ne.prototype,"tpAmb",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"finNFe",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"indFinal",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"indPres",void 0);B([(0,F.IsOptional)(),(0,F.IsString)(),M("design:type",String)],ne.prototype,"indIntermed",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"procEmi",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"verProc",void 0);B([(0,F.IsOptional)(),(0,F.IsString)(),(0,ss.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),M("design:type",String)],ne.prototype,"dhCont",void 0);B([(0,F.IsOptional)(),(0,F.IsString)(),M("design:type",String)],ne.prototype,"xJust",void 0);B([(0,F.IsOptional)(),(0,F.IsArray)(),(0,F.ArrayMaxSize)(999),(0,F.ValidateNested)({each:!0}),(0,Qc.Type)(()=>Pn),M("design:type",Array)],ne.prototype,"NFref",void 0);var dt=require("class-validator"),Xy=require("nfets/core"),Jy=require("class-transformer");var _t=require("class-validator");function Ni(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(Ni,"_ts_decorate");function Ri(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ri,"_ts_metadata");var Vt=class{static{a(this,"EnderEmit")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};Ni([(0,_t.IsString)(),Ri("design:type",String)],Vt.prototype,"xLgr",void 0);Ni([(0,_t.IsString)(),Ri("design:type",String)],Vt.prototype,"nro",void 0);Ni([(0,_t.IsOptional)(),(0,_t.IsString)(),Ri("design:type",String)],Vt.prototype,"xCpl",void 0);Ni([(0,_t.IsString)(),Ri("design:type",String)],Vt.prototype,"xBairro",void 0);Ni([(0,_t.IsString)(),Ri("design:type",String)],Vt.prototype,"cMun",void 0);Ni([(0,_t.IsString)(),Ri("design:type",String)],Vt.prototype,"xMun",void 0);Ni([(0,_t.IsString)(),Ri("design:type",String)],Vt.prototype,"UF",void 0);Ni([(0,_t.IsString)(),Ri("design:type",String)],Vt.prototype,"CEP",void 0);Ni([(0,_t.IsOptional)(),(0,_t.IsString)(),Ri("design:type",String)],Vt.prototype,"cPais",void 0);Ni([(0,_t.IsOptional)(),(0,_t.IsString)(),Ri("design:type",String)],Vt.prototype,"xPais",void 0);Ni([(0,_t.IsOptional)(),(0,_t.IsString)(),Ri("design:type",String)],Vt.prototype,"fone",void 0);function wi(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(wi,"_ts_decorate");function $i(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a($i,"_ts_metadata");var Ot=class{static{a(this,"Emit")}CNPJ="";CPF="";xNome;xFant;enderEmit;IE;IEST;IM;CNAE;CRT};wi([(0,dt.IsOptional)(),(0,dt.IsString)(),$i("design:type",String)],Ot.prototype,"CNPJ",void 0);wi([(0,dt.IsOptional)(),(0,dt.IsString)(),$i("design:type",String)],Ot.prototype,"CPF",void 0);wi([(0,dt.IsString)(),$i("design:type",String)],Ot.prototype,"xNome",void 0);wi([(0,dt.IsOptional)(),(0,dt.IsString)(),$i("design:type",String)],Ot.prototype,"xFant",void 0);wi([(0,dt.ValidateNested)(),(0,Jy.Type)(()=>Vt),$i("design:type",typeof Vt>"u"?Object:Vt)],Ot.prototype,"enderEmit",void 0);wi([(0,dt.IsString)(),$i("design:type",String)],Ot.prototype,"IE",void 0);wi([(0,dt.IsOptional)(),(0,dt.IsString)(),$i("design:type",String)],Ot.prototype,"IEST",void 0);wi([(0,dt.IsOptional)(),(0,dt.IsString)(),$i("design:type",String)],Ot.prototype,"IM",void 0);wi([(0,dt.IsOptional)(),(0,dt.IsString)(),$i("design:type",String)],Ot.prototype,"CNAE",void 0);wi([(0,dt.IsString)(),$i("design:type",String)],Ot.prototype,"CRT",void 0);Ot=wi([(0,Xy.Choice)({properties:["CNPJ","CPF"],required:!0})],Ot);var He=require("class-validator"),Wy=require("class-transformer");var Oe=require("class-validator");function Ii(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Ii,"_ts_decorate");function Fi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Fi,"_ts_metadata");var po=class{static{a(this,"EnderDest")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};Ii([(0,Oe.IsOptional)(),(0,Oe.IsString)(),Fi("design:type",String)],po.prototype,"xLgr",void 0);Ii([(0,Oe.IsOptional)(),(0,Oe.IsString)(),Fi("design:type",String)],po.prototype,"nro",void 0);Ii([(0,Oe.IsOptional)(),(0,Oe.IsString)(),Fi("design:type",String)],po.prototype,"xCpl",void 0);Ii([(0,Oe.IsOptional)(),(0,Oe.IsString)(),Fi("design:type",String)],po.prototype,"xBairro",void 0);Ii([(0,Oe.IsOptional)(),(0,Oe.IsString)(),Fi("design:type",String)],po.prototype,"cMun",void 0);Ii([(0,Oe.IsOptional)(),(0,Oe.IsString)(),Fi("design:type",String)],po.prototype,"xMun",void 0);Ii([(0,Oe.IsOptional)(),(0,Oe.IsString)(),Fi("design:type",String)],po.prototype,"UF",void 0);Ii([(0,Oe.IsOptional)(),(0,Oe.IsString)(),Fi("design:type",String)],po.prototype,"CEP",void 0);Ii([(0,Oe.IsOptional)(),(0,Oe.IsString)(),Fi("design:type",String)],po.prototype,"cPais",void 0);Ii([(0,Oe.IsOptional)(),(0,Oe.IsString)(),Fi("design:type",String)],po.prototype,"xPais",void 0);Ii([(0,Oe.IsOptional)(),(0,Oe.IsString)(),Fi("design:type",String)],po.prototype,"fone",void 0);var Ky=require("nfets/core");function Oi(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(Oi,"_ts_decorate");function en(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(en,"_ts_metadata");var At=class{static{a(this,"Dest")}CNPJ="";CPF="";idEstrangeiro;xNome;enderDest;indIEDest;IE;ISUF;IM;email};Oi([(0,He.IsOptional)(),(0,He.IsString)(),en("design:type",String)],At.prototype,"CNPJ",void 0);Oi([(0,He.IsOptional)(),(0,He.IsString)(),en("design:type",String)],At.prototype,"CPF",void 0);Oi([(0,He.IsOptional)(),(0,He.IsString)(),en("design:type",String)],At.prototype,"idEstrangeiro",void 0);Oi([(0,He.IsOptional)(),(0,He.IsString)(),en("design:type",String)],At.prototype,"xNome",void 0);Oi([(0,He.IsOptional)(),(0,He.ValidateNested)(),(0,Wy.Type)(()=>po),en("design:type",typeof IEnderDest>"u"?Object:IEnderDest)],At.prototype,"enderDest",void 0);Oi([(0,He.IsString)(),en("design:type",String)],At.prototype,"indIEDest",void 0);Oi([(0,He.IsOptional)(),(0,He.IsString)(),en("design:type",String)],At.prototype,"IE",void 0);Oi([(0,He.IsOptional)(),(0,He.IsString)(),en("design:type",String)],At.prototype,"ISUF",void 0);Oi([(0,He.IsOptional)(),(0,He.IsString)(),en("design:type",String)],At.prototype,"IM",void 0);Oi([(0,He.IsOptional)(),(0,He.IsString)(),en("design:type",String)],At.prototype,"email",void 0);At=Oi([(0,Ky.Choice)({properties:["CNPJ","CPF"],required:!0})],At);var me=require("class-validator"),$y=require("nfets/core");function qt(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(qt,"_ts_decorate");function Xt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Xt,"_ts_metadata");var ye=class{static{a(this,"Local")}CNPJ;CPF;xNome;xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone;email;IE};qt([(0,me.IsOptional)(),(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"CNPJ",void 0);qt([(0,me.IsOptional)(),(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"CPF",void 0);qt([(0,me.IsOptional)(),(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"xNome",void 0);qt([(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"xLgr",void 0);qt([(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"nro",void 0);qt([(0,me.IsOptional)(),(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"xCpl",void 0);qt([(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"xBairro",void 0);qt([(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"cMun",void 0);qt([(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"xMun",void 0);qt([(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"UF",void 0);qt([(0,me.IsOptional)(),(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"CEP",void 0);qt([(0,me.IsOptional)(),(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"cPais",void 0);qt([(0,me.IsOptional)(),(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"xPais",void 0);qt([(0,me.IsOptional)(),(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"fone",void 0);qt([(0,me.IsOptional)(),(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"email",void 0);qt([(0,me.IsOptional)(),(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"IE",void 0);ye=qt([(0,$y.Choice)({properties:["CNPJ","CPF"]})],ye);var cs=require("class-validator"),tx=require("nfets/core");function df(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(df,"_ts_decorate");function ex(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ex,"_ts_metadata");var tn=class{static{a(this,"AutXML")}CNPJ;CPF};df([(0,cs.IsOptional)(),(0,cs.IsString)(),ex("design:type",String)],tn.prototype,"CNPJ",void 0);df([(0,cs.IsOptional)(),(0,cs.IsString)(),ex("design:type",String)],tn.prototype,"CPF",void 0);tn=df([(0,tx.Choice)({properties:["CNPJ","CPF"]})],tn);var Yc=require("class-validator");function ox(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(ox,"_ts_decorate");function ix(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ix,"_ts_metadata");var gr=class{static{a(this,"InfIntermed")}CNPJ;idCadIntTran};ox([(0,Yc.IsString)(),ix("design:type",String)],gr.prototype,"CNPJ",void 0);ox([(0,Yc.IsOptional)(),(0,Yc.IsString)(),ix("design:type",String)],gr.prototype,"idCadIntTran",void 0);var fa=require("class-validator");function ff(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(ff,"_ts_decorate");function mf(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(mf,"_ts_metadata");var En=class{static{a(this,"Exporta")}UFSaidaPais;xLocExporta;xLocDespacho};ff([(0,fa.IsString)(),mf("design:type",String)],En.prototype,"UFSaidaPais",void 0);ff([(0,fa.IsOptional)(),(0,fa.IsString)(),mf("design:type",String)],En.prototype,"xLocExporta",void 0);ff([(0,fa.IsOptional)(),(0,fa.IsString)(),mf("design:type",String)],En.prototype,"xLocDespacho",void 0);var yr=require("class-validator");function hf(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(hf,"_ts_decorate");function vf(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(vf,"_ts_metadata");var zn=class{static{a(this,"Compra")}xNEmp;xPed;xCont};hf([(0,yr.IsOptional)(),(0,yr.IsString)(),vf("design:type",String)],zn.prototype,"xNEmp",void 0);hf([(0,yr.IsOptional)(),(0,yr.IsString)(),vf("design:type",String)],zn.prototype,"xPed",void 0);hf([(0,yr.IsOptional)(),(0,yr.IsString)(),vf("design:type",String)],zn.prototype,"xCont",void 0);var on=require("class-validator");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 ls(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ls,"_ts_metadata");var $o=class{static{a(this,"InfRespTec")}CNPJ;xContato;email;fone;idCSRT;hashCSRT};ps([(0,on.IsString)(),ls("design:type",String)],$o.prototype,"CNPJ",void 0);ps([(0,on.IsString)(),ls("design:type",String)],$o.prototype,"xContato",void 0);ps([(0,on.IsString)(),ls("design:type",String)],$o.prototype,"email",void 0);ps([(0,on.IsString)(),ls("design:type",String)],$o.prototype,"fone",void 0);ps([(0,on.IsOptional)(),(0,on.IsString)(),ls("design:type",String)],$o.prototype,"idCSRT",void 0);ps([(0,on.IsOptional)(),(0,on.IsString)(),ls("design:type",String)],$o.prototype,"hashCSRT",void 0);var ii=require("class-validator"),gs=require("class-transformer");var Ai=require("class-validator"),re=require("nfets/core");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 ce(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ce,"_ts_metadata");var W=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};se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vBC",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vICMS",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vICMSDeson",void 0);se([(0,Ai.IsOptional)(),(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vFCPUFDest",void 0);se([(0,Ai.IsOptional)(),(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vICMSUFDest",void 0);se([(0,Ai.IsOptional)(),(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vICMSUFRemet",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vFCP",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vBCST",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vST",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vFCPST",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vFCPSTRet",void 0);se([(0,Ai.IsOptional)(),(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"qBCMono",void 0);se([(0,Ai.IsOptional)(),(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vICMSMono",void 0);se([(0,Ai.IsOptional)(),(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"qBCMonoReten",void 0);se([(0,Ai.IsOptional)(),(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vICMSMonoReten",void 0);se([(0,Ai.IsOptional)(),(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"qBCMonoRet",void 0);se([(0,Ai.IsOptional)(),(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vICMSMonoRet",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vProd",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vFrete",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vSeg",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vDesc",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vII",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vIPI",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vIPIDevol",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vPIS",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vCOFINS",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vOutro",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vNF",void 0);se([(0,Ai.IsOptional)(),(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vTotTrib",void 0);var lo=require("class-validator"),Di=require("nfets/core");function ei(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(ei,"_ts_decorate");function ti(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ti,"_ts_metadata");var Jt=class{static{a(this,"ISSQNtot")}vServ;vBC;vISS;vPIS;vCOFINS;dCompet;vDeducao;vOutro;vDescIncond;vDescCond;vISSRet;cRegTrib};ei([(0,lo.IsOptional)(),(0,Di.TransformDecimal)({fixed:2}),ti("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"vServ",void 0);ei([(0,lo.IsOptional)(),(0,Di.TransformDecimal)({fixed:2}),ti("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"vBC",void 0);ei([(0,lo.IsOptional)(),(0,Di.TransformDecimal)({fixed:2}),ti("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"vISS",void 0);ei([(0,lo.IsOptional)(),(0,Di.TransformDecimal)({fixed:2}),ti("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"vPIS",void 0);ei([(0,lo.IsOptional)(),(0,Di.TransformDecimal)({fixed:2}),ti("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"vCOFINS",void 0);ei([(0,lo.IsString)(),ti("design:type",String)],Jt.prototype,"dCompet",void 0);ei([(0,lo.IsOptional)(),(0,Di.TransformDecimal)({fixed:2}),ti("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"vDeducao",void 0);ei([(0,lo.IsOptional)(),(0,Di.TransformDecimal)({fixed:2}),ti("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"vOutro",void 0);ei([(0,lo.IsOptional)(),(0,Di.TransformDecimal)({fixed:2}),ti("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"vDescIncond",void 0);ei([(0,lo.IsOptional)(),(0,Di.TransformDecimal)({fixed:2}),ti("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"vDescCond",void 0);ei([(0,lo.IsOptional)(),(0,Di.TransformDecimal)({fixed:2}),ti("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"vISSRet",void 0);ei([(0,lo.IsOptional)(),(0,lo.IsString)(),ti("design:type",String)],Jt.prototype,"cRegTrib",void 0);var xr=require("class-validator"),br=require("nfets/core");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 ha(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ha,"_ts_metadata");var Pi=class{static{a(this,"RetTrib")}vRetPIS;vRetCOFINS;vRetCSLL;vBCIRRF;vIRRF;vBCRetPrev;vRetPrev};ma([(0,xr.IsOptional)(),(0,br.TransformDecimal)({fixed:2}),ha("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pi.prototype,"vRetPIS",void 0);ma([(0,xr.IsOptional)(),(0,br.TransformDecimal)({fixed:2}),ha("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pi.prototype,"vRetCOFINS",void 0);ma([(0,xr.IsOptional)(),(0,br.TransformDecimal)({fixed:2}),ha("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pi.prototype,"vRetCSLL",void 0);ma([(0,xr.IsOptional)(),(0,br.TransformDecimal)({fixed:2}),ha("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pi.prototype,"vBCIRRF",void 0);ma([(0,xr.IsOptional)(),(0,br.TransformDecimal)({fixed:2}),ha("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pi.prototype,"vIRRF",void 0);ma([(0,xr.IsOptional)(),(0,br.TransformDecimal)({fixed:2}),ha("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pi.prototype,"vBCRetPrev",void 0);ma([(0,xr.IsOptional)(),(0,br.TransformDecimal)({fixed:2}),ha("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pi.prototype,"vRetPrev",void 0);var Mn=require("class-validator");var Tn=require("class-validator");var jl=require("nfets/core");function gf(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(gf,"_ts_decorate");function yf(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(yf,"_ts_metadata");var va=class{static{a(this,"IBSMunTot")}vDif="0.00";vDevTrib="0.00";vIBSMun="0.00"};gf([(0,jl.TransformDecimal)({fixed:2}),yf("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],va.prototype,"vDif",void 0);gf([(0,jl.TransformDecimal)({fixed:2}),yf("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],va.prototype,"vDevTrib",void 0);gf([(0,jl.TransformDecimal)({fixed:2}),yf("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],va.prototype,"vIBSMun",void 0);var Sf=require("class-transformer");var Tl=require("nfets/core");function xf(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(xf,"_ts_decorate");function bf(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(bf,"_ts_metadata");var ga=class{static{a(this,"IBSUFTot")}vDif="0.00";vDevTrib="0.00";vIBSUF="0.00"};xf([(0,Tl.TransformDecimal)({fixed:2}),bf("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ga.prototype,"vDif",void 0);xf([(0,Tl.TransformDecimal)({fixed:2}),bf("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ga.prototype,"vDevTrib",void 0);xf([(0,Tl.TransformDecimal)({fixed:2}),bf("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ga.prototype,"vIBSUF",void 0);var Bl=require("nfets/core");function Zc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,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 Xc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Xc,"_ts_metadata");var jn=class{static{a(this,"IBSTot")}gIBSUF;gIBSMun;vIBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};Zc([(0,Tn.IsOptional)(),(0,Tn.ValidateNested)(),(0,Sf.Type)(()=>ga),Xc("design:type",typeof IIBSUFTot>"u"?Object:IIBSUFTot)],jn.prototype,"gIBSUF",void 0);Zc([(0,Tn.IsOptional)(),(0,Tn.ValidateNested)(),(0,Sf.Type)(()=>va),Xc("design:type",typeof IIBSMunTot>"u"?Object:IIBSMunTot)],jn.prototype,"gIBSMun",void 0);Zc([(0,Tn.IsOptional)(),(0,Bl.TransformDecimal)({fixed:2}),Xc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],jn.prototype,"vIBS",void 0);Zc([(0,Tn.IsOptional)(),(0,Bl.TransformDecimal)({fixed:2}),Xc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],jn.prototype,"vCredPres",void 0);Zc([(0,Tn.IsOptional)(),(0,Bl.TransformDecimal)({fixed:2}),Xc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],jn.prototype,"vCredPresCondSus",void 0);var nx=require("nfets/core"),Vl=require("class-transformer");var us=require("nfets/core"),ds=require("class-validator");function Jc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Jc,"_ts_decorate");function Wc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Wc,"_ts_metadata");var Bn=class{static{a(this,"CBSTot")}vDif="0.00";vDevTrib="0.00";vCBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};Jc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Wc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"vDif",void 0);Jc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Wc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"vDevTrib",void 0);Jc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Wc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"vCBS",void 0);Jc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Wc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"vCredPres",void 0);Jc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Wc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"vCredPresCondSus",void 0);var ya=require("nfets/core"),xa=require("class-validator");function fs(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(fs,"_ts_decorate");function ms(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ms,"_ts_metadata");var nn=class{static{a(this,"IBSMonoTot")}vIBSMono="0.00";vCBSMono="0.00";vIBSMonoReten="0.00";vCBSMonoReten="0.00";vIBSMonoRet="0.00";vCBSMonoRet="0.00"};fs([(0,xa.IsOptional)(),(0,ya.TransformDecimal)({fixed:2}),ms("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],nn.prototype,"vIBSMono",void 0);fs([(0,xa.IsOptional)(),(0,ya.TransformDecimal)({fixed:2}),ms("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],nn.prototype,"vCBSMono",void 0);fs([(0,xa.IsOptional)(),(0,ya.TransformDecimal)({fixed:2}),ms("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],nn.prototype,"vIBSMonoReten",void 0);fs([(0,xa.IsOptional)(),(0,ya.TransformDecimal)({fixed:2}),ms("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],nn.prototype,"vCBSMonoReten",void 0);fs([(0,xa.IsOptional)(),(0,ya.TransformDecimal)({fixed:2}),ms("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],nn.prototype,"vIBSMonoRet",void 0);fs([(0,xa.IsOptional)(),(0,ya.TransformDecimal)({fixed:2}),ms("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],nn.prototype,"vCBSMonoRet",void 0);function Ml(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(Ml,"_ts_decorate");function Ll(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ll,"_ts_metadata");var Sr=class{static{a(this,"IBSCBSTot")}vBCIBSCBS="0.00";gIBS;gCBS;gMono};Ml([(0,Mn.IsOptional)(),(0,nx.TransformDecimal)({fixed:2}),Ll("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sr.prototype,"vBCIBSCBS",void 0);Ml([(0,Mn.IsOptional)(),(0,Mn.ValidateNested)(),(0,Vl.Type)(()=>jn),Ll("design:type",typeof IIBSTot>"u"?Object:IIBSTot)],Sr.prototype,"gIBS",void 0);Ml([(0,Mn.IsOptional)(),(0,Mn.ValidateNested)(),(0,Vl.Type)(()=>Bn),Ll("design:type",typeof ICBSTot>"u"?Object:ICBSTot)],Sr.prototype,"gCBS",void 0);Ml([(0,Mn.IsOptional)(),(0,Mn.ValidateNested)(),(0,Vl.Type)(()=>nn),Ll("design:type",typeof IIBSMonoTot>"u"?Object:IIBSMonoTot)],Sr.prototype,"gMono",void 0);var rx=require("nfets/core"),ax=require("class-validator");function Bw(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(Bw,"_ts_decorate");function Mw(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Mw,"_ts_metadata");var Kc=class{static{a(this,"ISTot")}vIS="0.00"};Bw([(0,ax.IsOptional)(),(0,rx.TransformDecimal)({fixed:2}),Mw("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Kc.prototype,"vIS",void 0);var sx=require("nfets/core");function hs(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(hs,"_ts_decorate");function vs(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(vs,"_ts_metadata");var oi=class{static{a(this,"Total")}ICMSTot;ISSQNtot;retTrib;ISTot;IBSCBSTot;vNFTot};hs([(0,ii.ValidateNested)(),(0,gs.Type)(()=>W),vs("design:type",typeof IICMSTot>"u"?Object:IICMSTot)],oi.prototype,"ICMSTot",void 0);hs([(0,ii.IsOptional)(),(0,ii.ValidateNested)(),(0,gs.Type)(()=>Jt),vs("design:type",typeof IISSQNTot>"u"?Object:IISSQNTot)],oi.prototype,"ISSQNtot",void 0);hs([(0,ii.IsOptional)(),(0,ii.ValidateNested)(),(0,gs.Type)(()=>Pi),vs("design:type",typeof IRetTrib>"u"?Object:IRetTrib)],oi.prototype,"retTrib",void 0);hs([(0,ii.IsOptional)(),(0,ii.ValidateNested)(),(0,gs.Type)(()=>Kc),vs("design:type",typeof IISTot>"u"?Object:IISTot)],oi.prototype,"ISTot",void 0);hs([(0,ii.IsOptional)(),(0,ii.ValidateNested)(),(0,gs.Type)(()=>Sr),vs("design:type",typeof IIBSCBSTot>"u"?Object:IIBSCBSTot)],oi.prototype,"IBSCBSTot",void 0);hs([(0,ii.IsOptional)(),(0,sx.TransformDecimal)({fixed:2}),vs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oi.prototype,"vNFTot",void 0);var We=require("class-validator"),Rs=require("class-transformer");var Kt=require("class-validator"),cx=require("nfets/core");function Cr(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(Cr,"_ts_decorate");function ba(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ba,"_ts_metadata");var Wt=class{static{a(this,"Transporta")}CNPJ;CPF;xNome;IE;xEnder;xMun;UF};Cr([(0,Kt.IsOptional)(),(0,Kt.IsString)(),ba("design:type",String)],Wt.prototype,"CNPJ",void 0);Cr([(0,Kt.IsOptional)(),(0,Kt.IsString)(),ba("design:type",String)],Wt.prototype,"CPF",void 0);Cr([(0,Kt.IsOptional)(),(0,Kt.IsString)(),ba("design:type",String)],Wt.prototype,"xNome",void 0);Cr([(0,Kt.IsOptional)(),(0,Kt.IsString)(),ba("design:type",String)],Wt.prototype,"IE",void 0);Cr([(0,Kt.IsOptional)(),(0,Kt.IsString)(),ba("design:type",String)],Wt.prototype,"xEnder",void 0);Cr([(0,Kt.IsOptional)(),(0,Kt.IsString)(),ba("design:type",String)],Wt.prototype,"xMun",void 0);Cr([(0,Kt.IsOptional)(),(0,Kt.IsString)(),ba("design:type",String)],Wt.prototype,"UF",void 0);Wt=Cr([(0,cx.Choice)({properties:["CNPJ","CPF"]})],Wt);var rn=require("class-validator"),$c=require("nfets/core");function ys(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(ys,"_ts_decorate");function xs(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(xs,"_ts_metadata");var Vo=class{static{a(this,"RetTransp")}vServ;vBCRet;pICMSRet;vICMSRet;CFOP;cMunFG};ys([(0,rn.IsOptional)(),(0,$c.TransformDecimal)({fixed:2}),xs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vo.prototype,"vServ",void 0);ys([(0,rn.IsOptional)(),(0,$c.TransformDecimal)({fixed:2}),xs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vo.prototype,"vBCRet",void 0);ys([(0,rn.IsOptional)(),(0,$c.TransformDecimal)({fixed:4}),xs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vo.prototype,"pICMSRet",void 0);ys([(0,rn.IsOptional)(),(0,$c.TransformDecimal)({fixed:2}),xs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vo.prototype,"vICMSRet",void 0);ys([(0,rn.IsOptional)(),(0,rn.IsString)(),xs("design:type",String)],Vo.prototype,"CFOP",void 0);ys([(0,rn.IsOptional)(),(0,rn.IsString)(),xs("design:type",String)],Vo.prototype,"cMunFG",void 0);var Do=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 Ss(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ss,"_ts_metadata");var an=class{static{a(this,"VeicTransp")}placa;UF;RNTC};bs([(0,Do.IsOptional)(),(0,Do.IsString)(),Ss("design:type",String)],an.prototype,"placa",void 0);bs([(0,Do.IsOptional)(),(0,Do.IsString)(),Ss("design:type",String)],an.prototype,"UF",void 0);bs([(0,Do.IsOptional)(),(0,Do.IsString)(),Ss("design:type",String)],an.prototype,"RNTC",void 0);var Sa=class{static{a(this,"Reboque")}placa;UF;RNTC};bs([(0,Do.IsOptional)(),(0,Do.IsString)(),Ss("design:type",String)],Sa.prototype,"placa",void 0);bs([(0,Do.IsOptional)(),(0,Do.IsString)(),Ss("design:type",String)],Sa.prototype,"UF",void 0);bs([(0,Do.IsOptional)(),(0,Do.IsString)(),Ss("design:type",String)],Sa.prototype,"RNTC",void 0);var ni=require("class-validator"),Cf=require("nfets/core");function Cs(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Cs,"_ts_decorate");function Ns(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ns,"_ts_metadata");var sn=class{static{a(this,"Vol")}qVol;esp;marca;nVol;pesoL;pesoB};Cs([(0,ni.IsOptional)(),(0,ni.IsString)(),Ns("design:type",String)],sn.prototype,"qVol",void 0);Cs([(0,ni.IsOptional)(),(0,ni.IsString)(),Ns("design:type",String)],sn.prototype,"esp",void 0);Cs([(0,ni.IsOptional)(),(0,ni.IsString)(),Ns("design:type",String)],sn.prototype,"marca",void 0);Cs([(0,ni.IsOptional)(),(0,ni.IsString)(),Ns("design:type",String)],sn.prototype,"nVol",void 0);Cs([(0,ni.IsOptional)(),(0,Cf.TransformDecimal)({fixed:3}),Ns("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],sn.prototype,"pesoL",void 0);Cs([(0,ni.IsOptional)(),(0,Cf.TransformDecimal)({fixed:3}),Ns("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],sn.prototype,"pesoB",void 0);var Nf=require("nfets/core");function Ln(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(Ln,"_ts_decorate");function Nr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Nr,"_ts_metadata");var $t=class{static{a(this,"Transp")}modFrete;transporta;retTransp;veicTransp;reboque;vagao;balsa;vol};Ln([(0,We.IsString)(),Nr("design:type",String)],$t.prototype,"modFrete",void 0);Ln([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,Rs.Type)(()=>Wt),Nr("design:type",typeof Wt>"u"?Object:Wt)],$t.prototype,"transporta",void 0);Ln([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,Rs.Type)(()=>Vo),Nr("design:type",typeof Vo>"u"?Object:Vo)],$t.prototype,"retTransp",void 0);Ln([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,Rs.Type)(()=>an),Nr("design:type",typeof an>"u"?Object:an)],$t.prototype,"veicTransp",void 0);Ln([(0,We.IsOptional)(),(0,We.ValidateNested)({each:!0}),(0,Rs.Type)(()=>Sa),(0,We.ArrayMaxSize)(5),Nr("design:type",Array)],$t.prototype,"reboque",void 0);Ln([(0,We.IsOptional)(),(0,We.IsString)(),Nr("design:type",String)],$t.prototype,"vagao",void 0);Ln([(0,We.IsOptional)(),(0,We.IsString)(),Nr("design:type",String)],$t.prototype,"balsa",void 0);Ln([(0,We.IsOptional)(),(0,We.ValidateNested)({each:!0}),(0,Rs.Type)(()=>sn),(0,We.ArrayMaxSize)(5e3),Nr("design:type",Array)],$t.prototype,"vol",void 0);$t=Ln([(0,Nf.Choice)({properties:["veicTransp","reboque"]}),(0,Nf.Choice)({properties:["vagao","balsa"]})],$t);var ft=require("class-validator"),Rf=require("class-transformer"),ep=require("nfets/core");function _n(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(_n,"_ts_decorate");function qn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(qn,"_ts_metadata");var Vn=class{static{a(this,"Fat")}nFat;vOrig;vDesc;vLiq};_n([(0,ft.IsOptional)(),(0,ft.IsString)(),qn("design:type",String)],Vn.prototype,"nFat",void 0);_n([(0,ft.IsOptional)(),(0,ep.TransformDecimal)({fixed:2}),qn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vn.prototype,"vOrig",void 0);_n([(0,ft.IsOptional)(),(0,ep.TransformDecimal)({fixed:2}),qn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vn.prototype,"vDesc",void 0);_n([(0,ft.IsOptional)(),(0,ep.TransformDecimal)({fixed:2}),qn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vn.prototype,"vLiq",void 0);var ws=class{static{a(this,"Dup")}nDup;dVenc;vDup};_n([(0,ft.IsOptional)(),(0,ft.IsString)(),qn("design:type",String)],ws.prototype,"nDup",void 0);_n([(0,ft.IsOptional)(),(0,ft.IsString)(),qn("design:type",String)],ws.prototype,"dVenc",void 0);_n([(0,ft.IsOptional)(),(0,ep.TransformDecimal)({fixed:2}),qn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ws.prototype,"vDup",void 0);var Rr=class{static{a(this,"Cobr")}fat;dup};_n([(0,ft.IsOptional)(),(0,ft.ValidateNested)(),(0,Rf.Type)(()=>Vn),qn("design:type",typeof Vn>"u"?Object:Vn)],Rr.prototype,"fat",void 0);_n([(0,ft.IsOptional)(),(0,ft.ValidateNested)({each:!0}),(0,ft.ArrayMaxSize)(120),(0,Rf.Type)(()=>ws),qn("design:type",Array)],Rr.prototype,"dup",void 0);var Ir=require("class-validator"),fx=require("class-transformer");var cn=require("class-validator"),px=require("class-transformer");var Po=require("class-validator");function Is(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(Is,"_ts_decorate");function Fs(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Fs,"_ts_metadata");var _o=class{static{a(this,"Card")}tpIntegra;CNPJ;tBand;cAut;CNPJReceb;idTermPag};Is([(0,Po.IsOptional)(),(0,Po.IsString)(),Fs("design:type",String)],_o.prototype,"tpIntegra",void 0);Is([(0,Po.IsOptional)(),(0,Po.IsString)(),Fs("design:type",String)],_o.prototype,"CNPJ",void 0);Is([(0,Po.IsOptional)(),(0,Po.IsString)(),Fs("design:type",String)],_o.prototype,"tBand",void 0);Is([(0,Po.IsOptional)(),(0,Po.IsString)(),Fs("design:type",String)],_o.prototype,"cAut",void 0);Is([(0,Po.IsOptional)(),(0,Po.IsString)(),Fs("design:type",String)],_o.prototype,"CNPJReceb",void 0);Is([(0,Po.IsOptional)(),(0,Po.IsString)(),Fs("design:type",String)],_o.prototype,"idTermPag",void 0);var lx=require("nfets/core");function tp(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(tp,"_ts_decorate");function op(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(op,"_ts_metadata");var Un=class{static{a(this,"DetPag")}indPag;tPag;vPag;card;xPag};tp([(0,cn.IsOptional)(),(0,cn.IsString)(),op("design:type",String)],Un.prototype,"indPag",void 0);tp([(0,cn.IsString)(),op("design:type",typeof TPag>"u"?Object:TPag)],Un.prototype,"tPag",void 0);tp([(0,lx.TransformDecimal)({fixed:2}),op("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Un.prototype,"vPag",void 0);tp([(0,cn.IsOptional)(),(0,cn.ValidateNested)(),(0,px.Type)(()=>_o),op("design:type",typeof _o>"u"?Object:_o)],Un.prototype,"card",void 0);tp([(0,cn.IsOptional)(),(0,cn.IsString)(),op("design:type",String)],Un.prototype,"xPag",void 0);var mx=require("nfets/core");function ux(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(ux,"_ts_decorate");function dx(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(dx,"_ts_metadata");var wr=class{static{a(this,"Pag")}detPag;vTroco};ux([(0,Ir.ValidateNested)({each:!0}),(0,Ir.ArrayMinSize)(1),(0,Ir.ArrayMaxSize)(100),(0,fx.Type)(()=>Un),dx("design:type",Array)],wr.prototype,"detPag",void 0);ux([(0,Ir.IsOptional)(),(0,mx.TransformDecimal)({fixed:2}),dx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wr.prototype,"vTroco",void 0);var qe=require("class-validator"),_l=require("class-transformer");function kn(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(kn,"_ts_decorate");function Hn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Hn,"_ts_metadata");var Os=class{static{a(this,"InfAdicObs")}xCampo;xTexto};kn([(0,qe.IsString)(),Hn("design:type",String)],Os.prototype,"xCampo",void 0);kn([(0,qe.IsString)(),Hn("design:type",String)],Os.prototype,"xTexto",void 0);var ip=class{static{a(this,"ProcRef")}nProc;indProc};kn([(0,qe.IsOptional)(),(0,qe.IsString)(),Hn("design:type",String)],ip.prototype,"nProc",void 0);kn([(0,qe.IsOptional)(),(0,qe.IsString)(),Hn("design:type",String)],ip.prototype,"indProc",void 0);var Ei=class{static{a(this,"InfAdic")}infAdFisco;infCpl;obsCont;obsFisco;procRef};kn([(0,qe.IsOptional)(),(0,qe.IsString)(),Hn("design:type",String)],Ei.prototype,"infAdFisco",void 0);kn([(0,qe.IsOptional)(),(0,qe.IsString)(),Hn("design:type",String)],Ei.prototype,"infCpl",void 0);kn([(0,qe.IsOptional)(),(0,qe.ValidateNested)({each:!0}),(0,_l.Type)(()=>Os),(0,qe.ArrayMaxSize)(10),Hn("design:type",Array)],Ei.prototype,"obsCont",void 0);kn([(0,qe.IsOptional)(),(0,qe.ValidateNested)({each:!0}),(0,_l.Type)(()=>Os),(0,qe.ArrayMaxSize)(10),Hn("design:type",Array)],Ei.prototype,"obsFisco",void 0);kn([(0,qe.IsOptional)(),(0,qe.ValidateNested)({each:!0}),(0,_l.Type)(()=>ip),(0,qe.ArrayMaxSize)(100),Hn("design:type",Array)],Ei.prototype,"procRef",void 0);var ve=require("class-validator"),Ul=require("class-transformer"),ap=require("nfets/core");function uo(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(uo,"_ts_decorate");function fo(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(fo,"_ts_metadata");var ql=class{static{a(this,"ForDiaAttributes")}dia};uo([(0,ve.IsString)(),fo("design:type",String)],ql.prototype,"dia",void 0);var np=class{static{a(this,"ForDia")}$;qtde};uo([(0,ve.IsObject)(),(0,ve.IsNotEmptyObject)(),(0,Ul.Type)(()=>ql),fo("design:type",typeof IForDiaAttributes>"u"?Object:IForDiaAttributes)],np.prototype,"$",void 0);uo([(0,ve.IsString)(),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],np.prototype,"qtde",void 0);var rp=class{static{a(this,"Deduc")}xDed;vDed};uo([(0,ve.IsString)(),fo("design:type",String)],rp.prototype,"xDed",void 0);uo([(0,ap.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rp.prototype,"vDed",void 0);var eo=class{static{a(this,"Cana")}safra;ref;forDia;qTotMes;qTotAnt;qTotGer;deduc;vFor;vTotDed;vLiqFor};uo([(0,ve.IsString)(),fo("design:type",String)],eo.prototype,"safra",void 0);uo([(0,ve.IsString)(),fo("design:type",String)],eo.prototype,"ref",void 0);uo([(0,ve.ValidateNested)({each:!0}),(0,ve.ArrayMaxSize)(31),(0,Ul.Type)(()=>np),fo("design:type",Array)],eo.prototype,"forDia",void 0);uo([(0,ve.IsOptional)(),(0,ve.IsString)(),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"qTotMes",void 0);uo([(0,ve.IsOptional)(),(0,ve.IsString)(),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"qTotAnt",void 0);uo([(0,ve.IsOptional)(),(0,ve.IsString)(),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"qTotGer",void 0);uo([(0,ve.IsOptional)(),(0,ve.ValidateNested)({each:!0}),(0,ve.ArrayMaxSize)(10),(0,Ul.Type)(()=>rp),fo("design:type",Array)],eo.prototype,"deduc",void 0);uo([(0,ve.IsOptional)(),(0,ap.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"vFor",void 0);uo([(0,ve.IsOptional)(),(0,ap.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"vTotDed",void 0);uo([(0,ve.IsOptional)(),(0,ap.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"vLiqFor",void 0);var Gt=require("class-validator"),Hs=require("class-transformer");var I=require("class-validator"),pn=require("nfets/core"),ln=require("class-transformer");var zi=require("class-validator");function sp(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(sp,"_ts_decorate");function cp(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(cp,"_ts_metadata");var Gn=class{static{a(this,"Rastro")}nLote;qLote;dFab;dVal;cAgreg};sp([(0,zi.IsString)(),cp("design:type",String)],Gn.prototype,"nLote",void 0);sp([(0,zi.IsOptional)(),(0,zi.IsString)(),cp("design:type",String)],Gn.prototype,"qLote",void 0);sp([(0,zi.IsOptional)(),(0,zi.IsString)(),cp("design:type",String)],Gn.prototype,"dFab",void 0);sp([(0,zi.IsOptional)(),(0,zi.IsString)(),cp("design:type",String)],Gn.prototype,"dVal",void 0);sp([(0,zi.IsOptional)(),(0,zi.IsString)(),cp("design:type",String)],Gn.prototype,"cAgreg",void 0);var Cx=require("nfets/core");var pe=require("class-validator"),hx=require("class-transformer"),pp=require("nfets/core");function Pt(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(Pt,"_ts_decorate");function Ut(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ut,"_ts_metadata");var Fr=class{static{a(this,"Adi")}nAdicao;nSeqAdic;cFabricante;vDescDI;nDraw};Pt([(0,pe.IsString)(),Ut("design:type",String)],Fr.prototype,"nAdicao",void 0);Pt([(0,pe.IsString)(),Ut("design:type",String)],Fr.prototype,"nSeqAdic",void 0);Pt([(0,pe.IsString)(),Ut("design:type",String)],Fr.prototype,"cFabricante",void 0);Pt([(0,pp.TransformDecimal)({fixed:2}),Ut("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fr.prototype,"vDescDI",void 0);Pt([(0,pe.IsOptional)(),(0,pe.IsString)(),Ut("design:type",String)],Fr.prototype,"nDraw",void 0);var Dt=class{static{a(this,"DI")}nDI;dDI;xLocDesemb;UFDesemb;dDesemb;tpViaTransp;vAFRMM;tpIntermedio;CNPJ="";CPF="";UFTerceiro;adi};Pt([(0,pe.IsString)(),Ut("design:type",String)],Dt.prototype,"nDI",void 0);Pt([(0,pe.IsString)(),Ut("design:type",String)],Dt.prototype,"dDI",void 0);Pt([(0,pe.IsString)(),Ut("design:type",String)],Dt.prototype,"xLocDesemb",void 0);Pt([(0,pe.IsString)(),Ut("design:type",String)],Dt.prototype,"UFDesemb",void 0);Pt([(0,pe.IsString)(),Ut("design:type",String)],Dt.prototype,"dDesemb",void 0);Pt([(0,pe.IsString)(),Ut("design:type",String)],Dt.prototype,"tpViaTransp",void 0);Pt([(0,pe.IsOptional)(),(0,pp.TransformDecimal)({fixed:2}),Ut("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Dt.prototype,"vAFRMM",void 0);Pt([(0,pe.IsString)(),Ut("design:type",String)],Dt.prototype,"tpIntermedio",void 0);Pt([(0,pe.IsString)(),(0,pe.IsOptional)(),Ut("design:type",String)],Dt.prototype,"CNPJ",void 0);Pt([(0,pe.IsString)(),(0,pe.IsOptional)(),Ut("design:type",String)],Dt.prototype,"CPF",void 0);Pt([(0,pe.IsString)(),(0,pe.IsOptional)(),Ut("design:type",String)],Dt.prototype,"UFTerceiro",void 0);Pt([(0,pe.IsArray)(),(0,pe.ValidateNested)({each:!0}),(0,hx.Type)(()=>Fr),(0,pe.ArrayMaxSize)(999),(0,pe.ArrayMinSize)(1),Ut("design:type",Array)],Dt.prototype,"adi",void 0);Dt=Pt([(0,pp.Choice)({properties:["CNPJ","CPF"],required:!0})],Dt);var vx=require("class-transformer"),Qn=require("class-validator"),gx=require("nfets/core");function lp(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(lp,"_ts_decorate");function up(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(up,"_ts_metadata");var As=class{static{a(this,"ExportInd")}nRE;chNFe;qExport};lp([(0,Qn.IsString)(),up("design:type",String)],As.prototype,"nRE",void 0);lp([(0,Qn.IsString)(),up("design:type",String)],As.prototype,"chNFe",void 0);lp([(0,gx.TransformDecimal)({fixed:4}),up("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],As.prototype,"qExport",void 0);var Ds=class{static{a(this,"DetExport")}nDraw;exportInd};lp([(0,Qn.IsOptional)(),(0,Qn.IsString)(),up("design:type",String)],Ds.prototype,"nDraw",void 0);lp([(0,Qn.IsOptional)(),(0,Qn.ValidateNested)(),(0,vx.Type)(()=>As),up("design:type",typeof IExportInd>"u"?Object:IExportInd)],Ds.prototype,"exportInd",void 0);var wf=require("class-validator");function yx(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(yx,"_ts_decorate");function xx(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(xx,"_ts_metadata");var Ps=class{static{a(this,"InfProdNFF")}cProdFisco;cOperNFF};yx([(0,wf.IsString)(),xx("design:type",String)],Ps.prototype,"cProdFisco",void 0);yx([(0,wf.IsString)(),xx("design:type",String)],Ps.prototype,"cOperNFF",void 0);var Of=require("class-validator"),bx=require("nfets/core");function If(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(If,"_ts_decorate");function Ff(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ff,"_ts_metadata");var Ca=class{static{a(this,"InfProdEmb")}xEmb;qVolEmb;uEmb};If([(0,Of.IsString)(),Ff("design:type",String)],Ca.prototype,"xEmb",void 0);If([(0,bx.TransformDecimal)({fixed:3}),Ff("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ca.prototype,"qVolEmb",void 0);If([(0,Of.IsString)(),Ff("design:type",String)],Ca.prototype,"uEmb",void 0);var Re=require("class-validator");function Ae(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Ae,"_ts_decorate");function De(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(De,"_ts_metadata");var he=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};Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"tpOp",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"chassi",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"cCor",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"xCor",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"pot",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"cilin",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"pesoL",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"pesoB",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"nSerie",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"tpComb",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"nMotor",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"CMT",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"dist",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"anoMod",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"anoFab",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"tpPint",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"tpVeic",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"espVeic",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"VIN",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"condVeic",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"cMod",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"cCorDENATRAN",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"lota",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"tpRest",void 0);var Pf=require("class-validator"),Sx=require("nfets/core");function Af(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(Af,"_ts_decorate");function Df(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Df,"_ts_metadata");var Na=class{static{a(this,"Med")}cProdANVISA;xMotivoIsencao;vPMC};Af([(0,Pf.IsString)(),Df("design:type",String)],Na.prototype,"cProdANVISA",void 0);Af([(0,Pf.IsString)(),Df("design:type",String)],Na.prototype,"xMotivoIsencao",void 0);Af([(0,Sx.TransformDecimal)({fixed:2}),Df("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Na.prototype,"vPMC",void 0);var dp=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 Hl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Hl,"_ts_metadata");var Or=class{static{a(this,"Arma")}tpArma;nSerie;nCano;descr};kl([(0,dp.IsString)(),Hl("design:type",String)],Or.prototype,"tpArma",void 0);kl([(0,dp.IsString)(),Hl("design:type",String)],Or.prototype,"nSerie",void 0);kl([(0,dp.IsString)(),Hl("design:type",String)],Or.prototype,"nCano",void 0);kl([(0,dp.IsString)(),Hl("design:type",String)],Or.prototype,"descr",void 0);var ie=require("class-validator"),Gl=require("class-transformer"),qo=require("nfets/core");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 Ee(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ee,"_ts_metadata");var Es=class{static{a(this,"OrigComb")}indImport;cUFOrig;pOrig};Pe([(0,ie.IsString)(),Ee("design:type",String)],Es.prototype,"indImport",void 0);Pe([(0,ie.IsString)(),Ee("design:type",String)],Es.prototype,"cUFOrig",void 0);Pe([(0,qo.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Es.prototype,"pOrig",void 0);var zs=class{static{a(this,"CIDE")}qBCProd;vAliqProd;vCIDE};Pe([(0,qo.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zs.prototype,"qBCProd",void 0);Pe([(0,qo.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zs.prototype,"vAliqProd",void 0);Pe([(0,qo.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zs.prototype,"vCIDE",void 0);var Ar=class{static{a(this,"Encerrante")}nBico;nBomba;nTanque;vEncIni;vEncFin};Pe([(0,ie.IsString)(),Ee("design:type",String)],Ar.prototype,"nBico",void 0);Pe([(0,ie.IsString)(),Ee("design:type",String)],Ar.prototype,"nBomba",void 0);Pe([(0,ie.IsString)(),Ee("design:type",String)],Ar.prototype,"nTanque",void 0);Pe([(0,qo.TransformDecimal)({fixed:3}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ar.prototype,"vEncIni",void 0);Pe([(0,qo.TransformDecimal)({fixed:3}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ar.prototype,"vEncFin",void 0);var kt=class{static{a(this,"Comb")}cProdANP;descANP;pGLP;pGNn;pGNi;vPart;CODIF;qTemp;UFCons;CIDE;encerrante;pBio;origComb};Pe([(0,ie.IsString)(),Ee("design:type",String)],kt.prototype,"cProdANP",void 0);Pe([(0,ie.IsString)(),Ee("design:type",String)],kt.prototype,"descANP",void 0);Pe([(0,ie.IsOptional)(),(0,qo.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],kt.prototype,"pGLP",void 0);Pe([(0,ie.IsOptional)(),(0,qo.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],kt.prototype,"pGNn",void 0);Pe([(0,ie.IsOptional)(),(0,qo.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],kt.prototype,"pGNi",void 0);Pe([(0,ie.IsOptional)(),(0,qo.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],kt.prototype,"vPart",void 0);Pe([(0,ie.IsString)(),(0,ie.IsOptional)(),Ee("design:type",String)],kt.prototype,"CODIF",void 0);Pe([(0,ie.IsOptional)(),(0,qo.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],kt.prototype,"qTemp",void 0);Pe([(0,ie.IsString)(),Ee("design:type",String)],kt.prototype,"UFCons",void 0);Pe([(0,ie.IsOptional)(),(0,ie.IsObject)(),(0,ie.ValidateNested)(),(0,Gl.Type)(()=>zs),Ee("design:type",typeof ICIDE>"u"?Object:ICIDE)],kt.prototype,"CIDE",void 0);Pe([(0,ie.IsOptional)(),(0,ie.IsObject)(),(0,ie.ValidateNested)(),(0,Gl.Type)(()=>Ar),Ee("design:type",typeof IEncerrante>"u"?Object:IEncerrante)],kt.prototype,"encerrante",void 0);Pe([(0,ie.IsOptional)(),(0,qo.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],kt.prototype,"pBio",void 0);Pe([(0,ie.IsObject)(),(0,ie.ValidateNested)({each:!0}),(0,Gl.Type)(()=>Es),(0,ie.ArrayMaxSize)(30),(0,ie.IsOptional)(),Ee("design:type",Array)],kt.prototype,"origComb",void 0);function H(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(H,"_ts_decorate");function G(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(G,"_ts_metadata");var L=class{static{a(this,"Prod")}cProd;cEAN;cBarra;xProd;NCM;NVE;CEST;indEscala;CNPJFab;cBenef;gCred;EXTIPI;CFOP;uCom;qCom;vUnCom;vProd;cEANTrib;uTrib;qTrib;vUnTrib;vFrete;vSeg;vDesc;vOutro;indTot;DI;detExport;xPed;nItemPed;nFCI;rastro;infProdNFF;infProdEmb;veicProd;med;arma;comb;nRECOPI};H([(0,I.IsString)(),G("design:type",String)],L.prototype,"cProd",void 0);H([(0,I.IsString)(),G("design:type",String)],L.prototype,"cEAN",void 0);H([(0,I.IsOptional)(),(0,I.IsString)(),G("design:type",String)],L.prototype,"cBarra",void 0);H([(0,I.IsString)(),G("design:type",String)],L.prototype,"xProd",void 0);H([(0,I.IsString)(),G("design:type",String)],L.prototype,"NCM",void 0);H([(0,I.IsOptional)(),(0,I.IsArray)(),(0,I.ArrayMaxSize)(8),(0,I.IsString)({each:!0}),G("design:type",Array)],L.prototype,"NVE",void 0);H([(0,I.IsOptional)(),(0,I.IsString)(),G("design:type",String)],L.prototype,"CEST",void 0);H([(0,I.IsOptional)(),(0,I.IsString)(),G("design:type",String)],L.prototype,"indEscala",void 0);H([(0,I.IsOptional)(),(0,I.IsString)(),G("design:type",String)],L.prototype,"CNPJFab",void 0);H([(0,I.IsOptional)(),(0,I.IsString)(),G("design:type",String)],L.prototype,"cBenef",void 0);H([(0,I.IsOptional)(),(0,I.IsObject)(),G("design:type",Object)],L.prototype,"gCred",void 0);H([(0,I.IsOptional)(),(0,I.IsString)(),G("design:type",String)],L.prototype,"EXTIPI",void 0);H([(0,I.IsString)(),G("design:type",String)],L.prototype,"CFOP",void 0);H([(0,I.IsString)(),G("design:type",String)],L.prototype,"uCom",void 0);H([(0,pn.TransformDecimal)({fixed:4}),G("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],L.prototype,"qCom",void 0);H([(0,pn.TransformDecimal)({fixed:10}),G("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],L.prototype,"vUnCom",void 0);H([(0,pn.TransformDecimal)({fixed:2}),G("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],L.prototype,"vProd",void 0);H([(0,I.IsString)(),G("design:type",String)],L.prototype,"cEANTrib",void 0);H([(0,I.IsString)(),G("design:type",String)],L.prototype,"uTrib",void 0);H([(0,pn.TransformDecimal)({fixed:4}),G("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],L.prototype,"qTrib",void 0);H([(0,pn.TransformDecimal)({fixed:10}),G("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],L.prototype,"vUnTrib",void 0);H([(0,I.IsOptional)(),(0,pn.TransformDecimal)({fixed:2}),G("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],L.prototype,"vFrete",void 0);H([(0,I.IsOptional)(),(0,pn.TransformDecimal)({fixed:2}),G("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],L.prototype,"vSeg",void 0);H([(0,I.IsOptional)(),(0,pn.TransformDecimal)({fixed:2}),G("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],L.prototype,"vDesc",void 0);H([(0,I.IsOptional)(),(0,pn.TransformDecimal)({fixed:2}),G("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],L.prototype,"vOutro",void 0);H([(0,I.IsString)(),G("design:type",String)],L.prototype,"indTot",void 0);H([(0,I.IsOptional)(),(0,I.IsArray)(),(0,I.ValidateNested)({each:!0}),(0,I.ArrayMaxSize)(100),(0,ln.Type)(()=>Dt),G("design:type",Array)],L.prototype,"DI",void 0);H([(0,I.IsOptional)(),(0,I.IsArray)(),(0,I.ValidateNested)({each:!0}),(0,I.ArrayMaxSize)(500),(0,ln.Type)(()=>Ds),G("design:type",Array)],L.prototype,"detExport",void 0);H([(0,I.IsOptional)(),(0,I.IsString)(),G("design:type",String)],L.prototype,"xPed",void 0);H([(0,I.IsOptional)(),(0,I.IsString)(),G("design:type",String)],L.prototype,"nItemPed",void 0);H([(0,I.IsOptional)(),(0,I.IsString)(),G("design:type",String)],L.prototype,"nFCI",void 0);H([(0,I.IsOptional)(),(0,I.IsArray)(),(0,I.ValidateNested)({each:!0}),(0,I.ArrayMaxSize)(500),(0,ln.Type)(()=>Gn),G("design:type",Array)],L.prototype,"rastro",void 0);H([(0,I.IsOptional)(),(0,I.IsObject)(),(0,I.ValidateNested)(),(0,ln.Type)(()=>Ps),G("design:type",typeof IInfProdNFF>"u"?Object:IInfProdNFF)],L.prototype,"infProdNFF",void 0);H([(0,I.IsOptional)(),(0,I.IsObject)(),(0,I.ValidateNested)(),(0,ln.Type)(()=>Ca),G("design:type",typeof IInfProdEmb>"u"?Object:IInfProdEmb)],L.prototype,"infProdEmb",void 0);H([(0,I.IsOptional)(),(0,I.IsObject)(),(0,I.ValidateNested)(),(0,ln.Type)(()=>he),G("design:type",typeof IVeicProd>"u"?Object:IVeicProd)],L.prototype,"veicProd",void 0);H([(0,I.IsOptional)(),(0,I.IsObject)(),(0,I.ValidateNested)(),(0,ln.Type)(()=>Na),G("design:type",typeof IMed>"u"?Object:IMed)],L.prototype,"med",void 0);H([(0,I.IsOptional)(),(0,I.IsObject)(),(0,I.ValidateNested)({each:!0}),(0,ln.Type)(()=>Or),(0,I.ArrayMaxSize)(500),G("design:type",Array)],L.prototype,"arma",void 0);H([(0,I.IsOptional)(),(0,I.IsObject)(),(0,I.ValidateNested)(),(0,ln.Type)(()=>kt),G("design:type",typeof IComb>"u"?Object:IComb)],L.prototype,"comb",void 0);H([(0,I.IsOptional)(),(0,I.IsString)(),G("design:type",String)],L.prototype,"nRECOPI",void 0);L=H([(0,Cx.Choice)({properties:["veicProd","med","arma","comb"]})],L);var li=require("class-transformer"),we=require("class-validator");var d=require("class-validator"),Ge=require("class-transformer"),b=require("nfets/core");function m(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(m,"_ts_decorate");function h(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(h,"_ts_metadata");var ri=class{static{a(this,"ICMS00")}orig;CST;modBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP};m([(0,d.IsString)(),h("design:type",String)],ri.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],ri.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],ri.prototype,"modBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"vBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"pICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"vICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"vBCFCP",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"pFCP",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"vFCP",void 0);var Dr=class{static{a(this,"ICMS02")}orig;CST;qBCMono;adRemICMS;vICMSMono};m([(0,d.IsString)(),h("design:type",String)],Dr.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],Dr.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Dr.prototype,"qBCMono",void 0);m([(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Dr.prototype,"adRemICMS",void 0);m([(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Dr.prototype,"vICMSMono",void 0);var Ke=class{static{a(this,"ICMS10")}orig;CST;modBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST};m([(0,d.IsString)(),h("design:type",String)],Ke.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],Ke.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],Ke.prototype,"modBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"vBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"pICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"vICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"vBCFCP",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"pFCP",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"vFCP",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],Ke.prototype,"modBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"pMVAST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"pRedBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"vBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"pICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"vICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"vBCFCPST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"pFCPST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"vFCPST",void 0);var Uo=class{static{a(this,"ICMS15")}orig;CST;qBCMono;adRemICMS;vICMSMono;qBCMonoReten;adRemICMSReten;vICMSMonoReten;pRedAdRem;motRedAdRem};m([(0,d.IsString)(),h("design:type",String)],Uo.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],Uo.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"qBCMono",void 0);m([(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"adRemICMS",void 0);m([(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"vICMSMono",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"qBCMonoReten",void 0);m([(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"adRemICMSReten",void 0);m([(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"vICMSMonoReten",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),(0,d.Max)(100),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"pRedAdRem",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],Uo.prototype,"motRedAdRem",void 0);var mo=class{static{a(this,"ICMS20")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;vICMSDeson;motDesICMS};m([(0,d.IsString)(),h("design:type",String)],mo.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],mo.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],mo.prototype,"modBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pRedBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vBCFCP",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pFCP",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vFCP",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vICMSDeson",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],mo.prototype,"motDesICMS",void 0);var to=class{static{a(this,"ICMS30")}orig;CST;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST;vICMSDeson;motDesICMS};m([(0,d.IsString)(),h("design:type",String)],to.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],to.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],to.prototype,"modBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],to.prototype,"pMVAST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],to.prototype,"pRedBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],to.prototype,"vBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],to.prototype,"pICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],to.prototype,"vICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],to.prototype,"vBCFCPST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],to.prototype,"pFCPST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],to.prototype,"vFCPST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],to.prototype,"vICMSDeson",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],to.prototype,"motDesICMS",void 0);var Ra=class{static{a(this,"ICMS40")}orig;CST;vICMSDeson;motDesICMS};m([(0,d.IsString)(),h("design:type",String)],Ra.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],Ra.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ra.prototype,"vICMSDeson",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],Ra.prototype,"motDesICMS",void 0);var ai=class{static{a(this,"ICMS51")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;pDif;vICMSDif};m([(0,d.IsString)(),h("design:type",String)],ai.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],ai.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],ai.prototype,"modBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.prototype,"pRedBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.prototype,"vBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.prototype,"pICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.prototype,"vICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),(0,d.Max)(100),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.prototype,"pDif",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.prototype,"vICMSDif",void 0);var ko=class{static{a(this,"ICMS53")}orig;CST;qBCMono;adRemICMS;vICMSMonoOp;pDif;vICMSMonoDif;vICMSMono;qBCMonoDif;adRemICMSDif};m([(0,d.IsString)(),h("design:type",String)],ko.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],ko.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"qBCMono",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"adRemICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"vICMSMonoOp",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),(0,d.Max)(100),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"pDif",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"vICMSMonoDif",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"vICMSMono",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"qBCMonoDif",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"adRemICMSDif",void 0);var oo=class{static{a(this,"ICMS60")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet;vBCFCPSTRet;pFCPSTRet;vFCPSTRet;pRedBCEfet;vBCEfet;pICMSEfet;vICMSEfet};m([(0,d.IsString)(),h("design:type",String)],oo.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],oo.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vBCSTRet",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"pST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vICMSSubstituto",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vICMSSTRet",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vBCFCPSTRet",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"pFCPSTRet",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vFCPSTRet",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"pRedBCEfet",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vBCEfet",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"pICMSEfet",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vICMSEfet",void 0);var Pr=class{static{a(this,"ICMS61")}orig;CST;qBCMonoRet;adRemICMSRet;vICMSMonoRet};m([(0,d.IsString)(),h("design:type",String)],Pr.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],Pr.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pr.prototype,"qBCMonoRet",void 0);m([(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pr.prototype,"adRemICMSRet",void 0);m([(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pr.prototype,"vICMSMonoRet",void 0);var ze=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};m([(0,d.IsString)(),h("design:type",String)],ze.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],ze.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],ze.prototype,"modBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"pRedBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"vBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"pICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"vICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"vBCFCP",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"pFCP",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"vFCP",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"vICMSDeson",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],ze.prototype,"motDesICMS",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],ze.prototype,"modBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"pMVAST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"pRedBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"vBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"pICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"vICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"vBCFCPST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"pFCPST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"vFCPST",void 0);var je=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};m([(0,d.IsString)(),h("design:type",String)],je.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],je.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],je.prototype,"modBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"pRedBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"vBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"pICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"vICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"vBCFCP",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"pFCP",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"vFCP",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"vICMSDeson",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],je.prototype,"motDesICMS",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],je.prototype,"modBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"pMVAST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"pRedBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"vBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"pICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"vICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"vBCFCPST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"pFCPST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"vFCPST",void 0);var Et=class{static{a(this,"ICMSPart")}orig;CST;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;pBCOp;UFST};m([(0,d.IsString)(),h("design:type",String)],Et.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],Et.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],Et.prototype,"modBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Et.prototype,"vBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Et.prototype,"pRedBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Et.prototype,"pICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Et.prototype,"vICMS",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],Et.prototype,"modBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Et.prototype,"pMVAST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Et.prototype,"pRedBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Et.prototype,"vBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Et.prototype,"pICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Et.prototype,"vICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Et.prototype,"pBCOp",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],Et.prototype,"UFST",void 0);var Yn=class{static{a(this,"ICMSST")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};m([(0,d.IsString)(),h("design:type",String)],Yn.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],Yn.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yn.prototype,"vBCSTRet",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yn.prototype,"pST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yn.prototype,"vICMSSubstituto",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yn.prototype,"vICMSSTRet",void 0);var wa=class{static{a(this,"ICMSSN101")}orig;CSOSN;pCredSN;vCredICMSSN};m([(0,d.IsString)(),h("design:type",String)],wa.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],wa.prototype,"CSOSN",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wa.prototype,"pCredSN",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wa.prototype,"vCredICMSSN",void 0);var fp=class{static{a(this,"ICMSSN102")}orig;CSOSN};m([(0,d.IsString)(),h("design:type",String)],fp.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],fp.prototype,"CSOSN",void 0);var ji=class{static{a(this,"ICMSSN201")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};m([(0,d.IsString)(),h("design:type",String)],ji.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],ji.prototype,"CSOSN",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],ji.prototype,"modBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ji.prototype,"vBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ji.prototype,"pICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ji.prototype,"vICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ji.prototype,"pCredSN",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ji.prototype,"vCredICMSSN",void 0);var Zn=class{static{a(this,"ICMSSN202")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST};m([(0,d.IsString)(),h("design:type",String)],Zn.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],Zn.prototype,"CSOSN",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],Zn.prototype,"modBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Zn.prototype,"vBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Zn.prototype,"pICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Zn.prototype,"vICMSST",void 0);var Xn=class{static{a(this,"ICMSSN500")}orig;CSOSN;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};m([(0,d.IsString)(),h("design:type",String)],Xn.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],Xn.prototype,"CSOSN",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xn.prototype,"vBCSTRet",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xn.prototype,"pST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xn.prototype,"vICMSSubstituto",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xn.prototype,"vICMSSTRet",void 0);var io=class{static{a(this,"ICMSSN900")}orig;CSOSN;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};m([(0,d.IsString)(),h("design:type",String)],io.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],io.prototype,"CSOSN",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],io.prototype,"modBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],io.prototype,"vBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],io.prototype,"pRedBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],io.prototype,"pICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],io.prototype,"vICMS",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],io.prototype,"modBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],io.prototype,"vBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],io.prototype,"pICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],io.prototype,"vICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],io.prototype,"pCredSN",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],io.prototype,"vCredICMSSN",void 0);var le=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};m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>ri),h("design:type",typeof IICMS00>"u"?Object:IICMS00)],le.prototype,"ICMS00",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>Dr),h("design:type",typeof IICMS02>"u"?Object:IICMS02)],le.prototype,"ICMS02",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>Ke),h("design:type",typeof IICMS10>"u"?Object:IICMS10)],le.prototype,"ICMS10",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>Uo),h("design:type",typeof IICMS15>"u"?Object:IICMS15)],le.prototype,"ICMS15",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>mo),h("design:type",typeof IICMS20>"u"?Object:IICMS20)],le.prototype,"ICMS20",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>to),h("design:type",typeof IICMS30>"u"?Object:IICMS30)],le.prototype,"ICMS30",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>Ra),h("design:type",typeof IICMS40>"u"?Object:IICMS40)],le.prototype,"ICMS40",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>ai),h("design:type",typeof IICMS51>"u"?Object:IICMS51)],le.prototype,"ICMS51",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>ko),h("design:type",typeof IICMS53>"u"?Object:IICMS53)],le.prototype,"ICMS53",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>oo),h("design:type",typeof IICMS60>"u"?Object:IICMS60)],le.prototype,"ICMS60",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>Pr),h("design:type",typeof IICMS61>"u"?Object:IICMS61)],le.prototype,"ICMS61",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>ze),h("design:type",typeof IICMS70>"u"?Object:IICMS70)],le.prototype,"ICMS70",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>je),h("design:type",typeof IICMS90>"u"?Object:IICMS90)],le.prototype,"ICMS90",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>Et),h("design:type",typeof IICMSPart>"u"?Object:IICMSPart)],le.prototype,"ICMSPart",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>Yn),h("design:type",typeof IICMSST>"u"?Object:IICMSST)],le.prototype,"ICMSST",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>wa),h("design:type",typeof IICMSSN101>"u"?Object:IICMSSN101)],le.prototype,"ICMSSN101",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>fp),h("design:type",typeof IICMSSN102>"u"?Object:IICMSSN102)],le.prototype,"ICMSSN102",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>ji),h("design:type",typeof IICMSSN201>"u"?Object:IICMSSN201)],le.prototype,"ICMSSN201",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>Zn),h("design:type",typeof IICMSSN202>"u"?Object:IICMSSN202)],le.prototype,"ICMSSN202",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>Xn),h("design:type",typeof IICMSSN500>"u"?Object:IICMSSN500)],le.prototype,"ICMSSN500",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>io),h("design:type",typeof IICMSSN900>"u"?Object:IICMSSN900)],le.prototype,"ICMSSN900",void 0);le=m([(0,b.Choice)({properties:["ICMS00","ICMS02","ICMS10","ICMS15","ICMS20","ICMS30","ICMS40","ICMS51","ICMS53","ICMS60","ICMS61","ICMS70","ICMS90","ICMSPart","ICMSST","ICMSSN101","ICMSSN102","ICMSSN201","ICMSSN202","ICMSSN500","ICMSSN900"]})],le);var xe=require("class-validator"),Ef=require("class-transformer");function Ho(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(Ho,"_ts_decorate");function Go(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Go,"_ts_metadata");var Jn=class{static{a(this,"IPITrib")}CST;vBC;pIPI;qUnid;vUnid;vIPI};Ho([(0,xe.IsString)(),Go("design:type",String)],Jn.prototype,"CST",void 0);Ho([(0,xe.IsOptional)(),(0,xe.IsString)(),Go("design:type",String)],Jn.prototype,"vBC",void 0);Ho([(0,xe.IsOptional)(),(0,xe.IsString)(),Go("design:type",String)],Jn.prototype,"pIPI",void 0);Ho([(0,xe.IsOptional)(),(0,xe.IsString)(),Go("design:type",String)],Jn.prototype,"qUnid",void 0);Ho([(0,xe.IsOptional)(),(0,xe.IsString)(),Go("design:type",String)],Jn.prototype,"vUnid",void 0);Ho([(0,xe.IsOptional)(),(0,xe.IsString)(),Go("design:type",String)],Jn.prototype,"vIPI",void 0);var Ql=class{static{a(this,"IPINT")}CST};Ho([(0,xe.IsString)(),Go("design:type",String)],Ql.prototype,"CST",void 0);var si=class{static{a(this,"IPI")}CNPJProd;cSelo;qSelo;cEnq;IPITrib;IPINT};Ho([(0,xe.IsOptional)(),(0,xe.IsString)(),Go("design:type",String)],si.prototype,"CNPJProd",void 0);Ho([(0,xe.IsOptional)(),(0,xe.IsString)(),Go("design:type",String)],si.prototype,"cSelo",void 0);Ho([(0,xe.IsOptional)(),(0,xe.IsString)(),Go("design:type",String)],si.prototype,"qSelo",void 0);Ho([(0,xe.IsString)(),Go("design:type",String)],si.prototype,"cEnq",void 0);Ho([(0,xe.IsOptional)(),(0,xe.ValidateNested)(),(0,Ef.Type)(()=>Jn),Go("design:type",typeof IIPITrib>"u"?Object:IIPITrib)],si.prototype,"IPITrib",void 0);Ho([(0,xe.IsOptional)(),(0,xe.ValidateNested)(),(0,Ef.Type)(()=>Ql),Go("design:type",typeof IIPINT>"u"?Object:IIPINT)],si.prototype,"IPINT",void 0);var dn=require("class-validator");function Yl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Yl,"_ts_decorate");function Zl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Zl,"_ts_metadata");var un=class{static{a(this,"II")}vBC;vDespAdu;vII;vIOF};Yl([(0,dn.IsOptional)(),(0,dn.IsString)(),Zl("design:type",String)],un.prototype,"vBC",void 0);Yl([(0,dn.IsOptional)(),(0,dn.IsString)(),Zl("design:type",String)],un.prototype,"vDespAdu",void 0);Yl([(0,dn.IsOptional)(),(0,dn.IsString)(),Zl("design:type",String)],un.prototype,"vII",void 0);Yl([(0,dn.IsOptional)(),(0,dn.IsString)(),Zl("design:type",String)],un.prototype,"vIOF",void 0);var V=require("class-validator"),mp=require("class-transformer"),Mi=require("nfets/core");function Te(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(Te,"_ts_decorate");function Be(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Be,"_ts_metadata");var Wn=class{static{a(this,"PISAliq")}CST;vBC;pPIS;vPIS};Te([(0,V.IsString)(),Be("design:type",String)],Wn.prototype,"CST",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),(0,Mi.TransformDecimal)({fixed:2}),Be("design:type",String)],Wn.prototype,"vBC",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),(0,Mi.TransformDecimal)({fixed:4}),Be("design:type",String)],Wn.prototype,"pPIS",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),(0,Mi.TransformDecimal)({fixed:2}),Be("design:type",String)],Wn.prototype,"vPIS",void 0);var Kn=class{static{a(this,"PISQtde")}CST;qBCProd;vAliqProd;vPIS};Te([(0,V.IsString)(),Be("design:type",String)],Kn.prototype,"CST",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),Be("design:type",String)],Kn.prototype,"qBCProd",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),Be("design:type",String)],Kn.prototype,"vAliqProd",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),(0,Mi.TransformDecimal)({fixed:2}),Be("design:type",String)],Kn.prototype,"vPIS",void 0);var js=class{static{a(this,"PISNT")}CST};Te([(0,V.IsString)(),Be("design:type",String)],js.prototype,"CST",void 0);var Ti=class{static{a(this,"PISOutr")}CST;vBC;pPIS;qBCProd;vAliqProd;vPIS};Te([(0,V.IsString)(),Be("design:type",String)],Ti.prototype,"CST",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),(0,Mi.TransformDecimal)({fixed:2}),Be("design:type",String)],Ti.prototype,"vBC",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),(0,Mi.TransformDecimal)({fixed:4}),Be("design:type",String)],Ti.prototype,"pPIS",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),Be("design:type",String)],Ti.prototype,"qBCProd",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),Be("design:type",String)],Ti.prototype,"vAliqProd",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),(0,Mi.TransformDecimal)({fixed:2}),Be("design:type",String)],Ti.prototype,"vPIS",void 0);var fn=class{static{a(this,"PIS")}PISAliq;PISQtde;PISNT;PISOutr};Te([(0,V.IsOptional)(),(0,V.ValidateNested)(),(0,mp.Type)(()=>Wn),Be("design:type",typeof Wn>"u"?Object:Wn)],fn.prototype,"PISAliq",void 0);Te([(0,V.IsOptional)(),(0,V.ValidateNested)(),(0,mp.Type)(()=>Kn),Be("design:type",typeof Kn>"u"?Object:Kn)],fn.prototype,"PISQtde",void 0);Te([(0,V.IsOptional)(),(0,V.ValidateNested)(),(0,mp.Type)(()=>js),Be("design:type",typeof js>"u"?Object:js)],fn.prototype,"PISNT",void 0);Te([(0,V.IsOptional)(),(0,V.ValidateNested)(),(0,mp.Type)(()=>Ti),Be("design:type",typeof Ti>"u"?Object:Ti)],fn.prototype,"PISOutr",void 0);var Bi=class{static{a(this,"PISST")}vBC;pPIS;qBCProd;vAliqProd;vPIS};Te([(0,V.IsOptional)(),(0,V.IsString)(),(0,Mi.TransformDecimal)({fixed:2}),Be("design:type",String)],Bi.prototype,"vBC",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),(0,Mi.TransformDecimal)({fixed:4}),Be("design:type",String)],Bi.prototype,"pPIS",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),Be("design:type",String)],Bi.prototype,"qBCProd",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),Be("design:type",String)],Bi.prototype,"vAliqProd",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),(0,Mi.TransformDecimal)({fixed:2}),Be("design:type",String)],Bi.prototype,"vPIS",void 0);var _=require("class-validator"),hp=require("class-transformer"),_i=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 Le(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Le,"_ts_metadata");var $n=class{static{a(this,"COFINSAliq")}CST;vBC;pCOFINS;vCOFINS};Me([(0,_.IsString)(),Le("design:type",String)],$n.prototype,"CST",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),(0,_i.TransformDecimal)({fixed:2}),Le("design:type",String)],$n.prototype,"vBC",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),(0,_i.TransformDecimal)({fixed:4}),Le("design:type",String)],$n.prototype,"pCOFINS",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),(0,_i.TransformDecimal)({fixed:2}),Le("design:type",String)],$n.prototype,"vCOFINS",void 0);var er=class{static{a(this,"COFINSQtde")}CST;qBCProd;vAliqProd;vCOFINS};Me([(0,_.IsString)(),Le("design:type",String)],er.prototype,"CST",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),Le("design:type",String)],er.prototype,"qBCProd",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),Le("design:type",String)],er.prototype,"vAliqProd",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),(0,_i.TransformDecimal)({fixed:2}),Le("design:type",String)],er.prototype,"vCOFINS",void 0);var Ts=class{static{a(this,"COFINSNT")}CST};Me([(0,_.IsString)(),Le("design:type",String)],Ts.prototype,"CST",void 0);var Li=class{static{a(this,"COFINSOutr")}CST;vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};Me([(0,_.IsString)(),Le("design:type",String)],Li.prototype,"CST",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),(0,_i.TransformDecimal)({fixed:2}),Le("design:type",String)],Li.prototype,"vBC",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),(0,_i.TransformDecimal)({fixed:4}),Le("design:type",String)],Li.prototype,"pCOFINS",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),Le("design:type",String)],Li.prototype,"qBCProd",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),Le("design:type",String)],Li.prototype,"vAliqProd",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),(0,_i.TransformDecimal)({fixed:2}),Le("design:type",String)],Li.prototype,"vCOFINS",void 0);var mn=class{static{a(this,"COFINS")}COFINSAliq;COFINSQtde;COFINSNT;COFINSOutr};Me([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,hp.Type)(()=>$n),Le("design:type",typeof $n>"u"?Object:$n)],mn.prototype,"COFINSAliq",void 0);Me([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,hp.Type)(()=>er),Le("design:type",typeof er>"u"?Object:er)],mn.prototype,"COFINSQtde",void 0);Me([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,hp.Type)(()=>Ts),Le("design:type",typeof Ts>"u"?Object:Ts)],mn.prototype,"COFINSNT",void 0);Me([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,hp.Type)(()=>Li),Le("design:type",typeof Li>"u"?Object:Li)],mn.prototype,"COFINSOutr",void 0);var Vi=class{static{a(this,"COFINSST")}vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};Me([(0,_.IsOptional)(),(0,_.IsString)(),(0,_i.TransformDecimal)({fixed:2}),Le("design:type",String)],Vi.prototype,"vBC",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),(0,_i.TransformDecimal)({fixed:4}),Le("design:type",String)],Vi.prototype,"pCOFINS",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),Le("design:type",String)],Vi.prototype,"qBCProd",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),Le("design:type",String)],Vi.prototype,"vAliqProd",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),(0,_i.TransformDecimal)({fixed:2}),Le("design:type",String)],Vi.prototype,"vCOFINS",void 0);var Ve=require("class-validator"),tr=require("nfets/core");function no(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(no,"_ts_decorate");function ro(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ro,"_ts_metadata");var Qe=class{static{a(this,"ISSQN")}vBC;vAliq;vISSQN;cMunFG;cListServ;vDeducao;vOutro;vDescIncond;vDescCond;vISSRet;indISS;indIncentivo;cServico;cMun;cPais;nProcesso};no([(0,Ve.IsOptional)(),(0,tr.TransformDecimal)({fixed:2}),ro("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qe.prototype,"vBC",void 0);no([(0,Ve.IsOptional)(),(0,tr.TransformDecimal)({fixed:4}),ro("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qe.prototype,"vAliq",void 0);no([(0,Ve.IsOptional)(),(0,tr.TransformDecimal)({fixed:2}),ro("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qe.prototype,"vISSQN",void 0);no([(0,Ve.IsOptional)(),(0,Ve.IsString)(),ro("design:type",String)],Qe.prototype,"cMunFG",void 0);no([(0,Ve.IsOptional)(),(0,Ve.IsString)(),ro("design:type",String)],Qe.prototype,"cListServ",void 0);no([(0,Ve.IsOptional)(),(0,tr.TransformDecimal)({fixed:2}),ro("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qe.prototype,"vDeducao",void 0);no([(0,Ve.IsOptional)(),(0,tr.TransformDecimal)({fixed:2}),ro("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qe.prototype,"vOutro",void 0);no([(0,Ve.IsOptional)(),(0,tr.TransformDecimal)({fixed:2}),ro("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qe.prototype,"vDescIncond",void 0);no([(0,Ve.IsOptional)(),(0,tr.TransformDecimal)({fixed:2}),ro("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qe.prototype,"vDescCond",void 0);no([(0,Ve.IsOptional)(),(0,tr.TransformDecimal)({fixed:2}),ro("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qe.prototype,"vISSRet",void 0);no([(0,Ve.IsString)(),ro("design:type",String)],Qe.prototype,"indISS",void 0);no([(0,Ve.IsString)(),ro("design:type",String)],Qe.prototype,"indIncentivo",void 0);no([(0,Ve.IsOptional)(),(0,Ve.IsString)(),ro("design:type",String)],Qe.prototype,"cServico",void 0);no([(0,Ve.IsOptional)(),(0,Ve.IsString)(),ro("design:type",String)],Qe.prototype,"cMun",void 0);no([(0,Ve.IsOptional)(),(0,Ve.IsString)(),ro("design:type",String)],Qe.prototype,"cPais",void 0);no([(0,Ve.IsOptional)(),(0,Ve.IsString)(),ro("design:type",String)],Qe.prototype,"nProcesso",void 0);var at=require("class-validator");function or(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(or,"_ts_decorate");function ir(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ir,"_ts_metadata");var ho=class{static{a(this,"ICMSUFDest")}vBCUFDest;vBCFCPUFDest;pFCPUFDest;pICMSUFDest;pICMSInter;pICMSInterPart;vFCPUFDest;vICMSUFDest;vICMSUFRemet};or([(0,at.IsOptional)(),(0,at.IsString)(),ir("design:type",String)],ho.prototype,"vBCUFDest",void 0);or([(0,at.IsOptional)(),(0,at.IsString)(),ir("design:type",String)],ho.prototype,"vBCFCPUFDest",void 0);or([(0,at.IsOptional)(),(0,at.IsString)(),ir("design:type",String)],ho.prototype,"pFCPUFDest",void 0);or([(0,at.IsOptional)(),(0,at.IsString)(),ir("design:type",String)],ho.prototype,"pICMSUFDest",void 0);or([(0,at.IsOptional)(),(0,at.IsString)(),ir("design:type",String)],ho.prototype,"pICMSInter",void 0);or([(0,at.IsOptional)(),(0,at.IsString)(),ir("design:type",String)],ho.prototype,"pICMSInterPart",void 0);or([(0,at.IsOptional)(),(0,at.IsString)(),ir("design:type",String)],ho.prototype,"vFCPUFDest",void 0);or([(0,at.IsOptional)(),(0,at.IsString)(),ir("design:type",String)],ho.prototype,"vICMSUFDest",void 0);or([(0,at.IsOptional)(),(0,at.IsString)(),ir("design:type",String)],ho.prototype,"vICMSUFRemet",void 0);var Ue=require("class-validator");var Bs=require("class-validator");function Nx(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(Nx,"_ts_decorate");function Rx(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Rx,"_ts_metadata");var Er=class{static{a(this,"TransferenciaCredito")}vIBS;vCBS};Nx([(0,Bs.IsOptional)(),(0,Bs.IsString)(),Rx("design:type",String)],Er.prototype,"vIBS",void 0);Nx([(0,Bs.IsOptional)(),(0,Bs.IsString)(),Rx("design:type",String)],Er.prototype,"vCBS",void 0);var Xl=require("class-validator");function zf(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(zf,"_ts_decorate");function jf(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(jf,"_ts_metadata");var nr=class{static{a(this,"CredPresIBSZFM")}tpCredPresIBSZFM;vCredPresIBSZFM;competApur};zf([(0,Xl.IsString)(),jf("design:type",String)],nr.prototype,"tpCredPresIBSZFM",void 0);zf([(0,Xl.IsString)(),jf("design:type",String)],nr.prototype,"vCredPresIBSZFM",void 0);zf([(0,Xl.IsString)(),jf("design:type",String)],nr.prototype,"competApur",void 0);var vo=require("class-validator"),Tf=require("class-transformer");function vn(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(vn,"_ts_decorate");function gn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(gn,"_ts_metadata");var zr=class{static{a(this,"IBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};vn([(0,vo.IsString)(),gn("design:type",String)],zr.prototype,"vCredPresCondSus",void 0);vn([(0,vo.IsString)(),gn("design:type",String)],zr.prototype,"pCredPres",void 0);vn([(0,vo.IsString)(),gn("design:type",String)],zr.prototype,"vCredPres",void 0);var jr=class{static{a(this,"CBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};vn([(0,vo.IsString)(),gn("design:type",String)],jr.prototype,"vCredPresCondSus",void 0);vn([(0,vo.IsString)(),gn("design:type",String)],jr.prototype,"pCredPres",void 0);vn([(0,vo.IsString)(),gn("design:type",String)],jr.prototype,"vCredPres",void 0);var hn=class{static{a(this,"CredPresOper")}gIBSCredPres;gCBSCredPres;vBCCredPres;cCredPres};vn([(0,vo.IsOptional)(),(0,vo.ValidateNested)(),(0,Tf.Type)(()=>zr),gn("design:type",typeof zr>"u"?Object:zr)],hn.prototype,"gIBSCredPres",void 0);vn([(0,vo.IsOptional)(),(0,vo.ValidateNested)(),(0,Tf.Type)(()=>jr),gn("design:type",typeof jr>"u"?Object:jr)],hn.prototype,"gCBSCredPres",void 0);vn([(0,vo.IsString)(),gn("design:type",String)],hn.prototype,"vBCCredPres",void 0);vn([(0,vo.IsString)(),gn("design:type",String)],hn.prototype,"cCredPres",void 0);var Bf=require("class-validator");function wx(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(wx,"_ts_decorate");function Ix(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ix,"_ts_metadata");var Tr=class{static{a(this,"EstornoCred")}vIBSEstCred;vCBSEstCred};wx([(0,Bf.IsString)(),Ix("design:type",String)],Tr.prototype,"vIBSEstCred",void 0);wx([(0,Bf.IsString)(),Ix("design:type",String)],Tr.prototype,"vCBSEstCred",void 0);var Jl=require("class-validator");function Mf(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(Mf,"_ts_decorate");function Lf(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Lf,"_ts_metadata");var rr=class{static{a(this,"AjusteCompet")}competApur;vCBS;vIBS};Mf([(0,Jl.IsString)(),Lf("design:type",String)],rr.prototype,"competApur",void 0);Mf([(0,Jl.IsString)(),Lf("design:type",String)],rr.prototype,"vCBS",void 0);Mf([(0,Jl.IsString)(),Lf("design:type",String)],rr.prototype,"vIBS",void 0);var Y=require("class-validator");function $e(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a($e,"_ts_decorate");function et(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(et,"_ts_metadata");var ge=class{static{a(this,"IBSCBSMono")}vTotIBSMonoItem;vTotCBSMonoItem;adRemIBS;adRemCBS;vIBSMono;vCBSMono;qBCMono;adRemIBSReten;vIBSMonoReten;adRemCBSReten;vCBSMonoReten;qBCMonoReten;adRemIBSRet;vIBSMonoRet;adRemCBSRet;vCBSMonoRet;qBCMonoRet;vIBSMonoDif;vCBSMonoDif;pDifIBS;pDifCBS};$e([(0,Y.IsString)(),et("design:type",String)],ge.prototype,"vTotIBSMonoItem",void 0);$e([(0,Y.IsString)(),et("design:type",String)],ge.prototype,"vTotCBSMonoItem",void 0);$e([(0,Y.IsString)(),et("design:type",String)],ge.prototype,"adRemIBS",void 0);$e([(0,Y.IsString)(),et("design:type",String)],ge.prototype,"adRemCBS",void 0);$e([(0,Y.IsString)(),et("design:type",String)],ge.prototype,"vIBSMono",void 0);$e([(0,Y.IsString)(),et("design:type",String)],ge.prototype,"vCBSMono",void 0);$e([(0,Y.IsString)(),et("design:type",String)],ge.prototype,"qBCMono",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"adRemIBSReten",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"vIBSMonoReten",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"adRemCBSReten",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"vCBSMonoReten",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"qBCMonoReten",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"adRemIBSRet",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"vIBSMonoRet",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"adRemCBSRet",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"vCBSMonoRet",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"qBCMonoRet",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"vIBSMonoDif",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"vCBSMonoDif",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"pDifIBS",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"pDifCBS",void 0);var yn=require("class-validator"),Gf=require("nfets/core");var Ia=require("nfets/core"),Vf=require("class-validator");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 Mr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Mr,"_ts_metadata");var Eo=class{static{a(this,"TribRegular")}CSTReg;cClassTribReg;pAliqEfetRegIBSUF;vTribRegIBSUF;pAliqEfetRegIBSMun;vTribRegIBSMun;pAliqEfetRegCBS;vTribRegCBS};Br([(0,Vf.IsString)(),Mr("design:type",String)],Eo.prototype,"CSTReg",void 0);Br([(0,Vf.IsString)(),Mr("design:type",String)],Eo.prototype,"cClassTribReg",void 0);Br([(0,Ia.TransformDecimal)({fixed:4}),Mr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Eo.prototype,"pAliqEfetRegIBSUF",void 0);Br([(0,Ia.TransformDecimal)({fixed:2}),Mr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Eo.prototype,"vTribRegIBSUF",void 0);Br([(0,Ia.TransformDecimal)({fixed:4}),Mr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Eo.prototype,"pAliqEfetRegIBSMun",void 0);Br([(0,Ia.TransformDecimal)({fixed:2}),Mr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Eo.prototype,"vTribRegIBSMun",void 0);Br([(0,Ia.TransformDecimal)({fixed:4}),Mr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Eo.prototype,"pAliqEfetRegCBS",void 0);Br([(0,Ia.TransformDecimal)({fixed:2}),Mr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Eo.prototype,"vTribRegCBS",void 0);var Cp=require("class-transformer");var Lr=require("class-validator"),Uf=require("nfets/core"),Wl=require("class-transformer");var Fx=require("nfets/core");function Lw(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(Lw,"_ts_decorate");function Vw(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Vw,"_ts_metadata");var go=class{static{a(this,"DevTrib")}vDevTrib};Lw([(0,Fx.TransformDecimal)({fixed:2}),Vw("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],go.prototype,"vDevTrib",void 0);var _f=require("nfets/core");function Ox(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(Ox,"_ts_decorate");function Ax(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ax,"_ts_metadata");var ao=class{static{a(this,"Dif")}pDif;vDif};Ox([(0,_f.TransformDecimal)({fixed:4}),Ax("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"pDif",void 0);Ox([(0,_f.TransformDecimal)({fixed:2}),Ax("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"vDif",void 0);var qf=require("nfets/core");function Dx(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(Dx,"_ts_decorate");function Px(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Px,"_ts_metadata");var so=class{static{a(this,"Red")}pRedAliq;pAliqEfet};Dx([(0,qf.TransformDecimal)({fixed:4}),Px("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"pRedAliq",void 0);Dx([(0,qf.TransformDecimal)({fixed:4}),Px("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"pAliqEfet",void 0);function vp(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(vp,"_ts_decorate");function gp(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(gp,"_ts_metadata");var qi=class{static{a(this,"IBSMun")}pIBSMun;gDif;gDevTrib;gRed;vIBSMun};vp([(0,Uf.TransformDecimal)({fixed:4}),gp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qi.prototype,"pIBSMun",void 0);vp([(0,Lr.IsOptional)(),(0,Lr.ValidateNested)(),(0,Wl.Type)(()=>ao),gp("design:type",typeof ao>"u"?Object:ao)],qi.prototype,"gDif",void 0);vp([(0,Lr.IsOptional)(),(0,Lr.ValidateNested)(),(0,Wl.Type)(()=>go),gp("design:type",typeof go>"u"?Object:go)],qi.prototype,"gDevTrib",void 0);vp([(0,Lr.IsOptional)(),(0,Lr.ValidateNested)(),(0,Wl.Type)(()=>so),gp("design:type",typeof so>"u"?Object:so)],qi.prototype,"gRed",void 0);vp([(0,Uf.TransformDecimal)({fixed:2}),gp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qi.prototype,"vIBSMun",void 0);var Vr=require("class-validator"),kf=require("nfets/core"),Kl=require("class-transformer");function yp(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(yp,"_ts_decorate");function xp(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(xp,"_ts_metadata");var Ui=class{static{a(this,"IBSUF")}pIBSUF;gDif;gDevTrib;gRed;vIBSUF};yp([(0,kf.TransformDecimal)({fixed:4}),xp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ui.prototype,"pIBSUF",void 0);yp([(0,Vr.IsOptional)(),(0,Vr.ValidateNested)(),(0,Kl.Type)(()=>ao),xp("design:type",typeof ao>"u"?Object:ao)],Ui.prototype,"gDif",void 0);yp([(0,Vr.IsOptional)(),(0,Vr.ValidateNested)(),(0,Kl.Type)(()=>go),xp("design:type",typeof go>"u"?Object:go)],Ui.prototype,"gDevTrib",void 0);yp([(0,Vr.IsOptional)(),(0,Vr.ValidateNested)(),(0,Kl.Type)(()=>so),xp("design:type",typeof so>"u"?Object:so)],Ui.prototype,"gRed",void 0);yp([(0,kf.TransformDecimal)({fixed:2}),xp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ui.prototype,"vIBSUF",void 0);var _r=require("class-validator"),Hf=require("nfets/core"),$l=require("class-transformer");function bp(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(bp,"_ts_decorate");function Sp(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Sp,"_ts_metadata");var ki=class{static{a(this,"CBS")}pCBS;gDif;gDevTrib;gRed;vCBS};bp([(0,Hf.TransformDecimal)({fixed:4}),Sp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ki.prototype,"pCBS",void 0);bp([(0,_r.IsOptional)(),(0,_r.ValidateNested)(),(0,$l.Type)(()=>ao),Sp("design:type",typeof ao>"u"?Object:ao)],ki.prototype,"gDif",void 0);bp([(0,_r.IsOptional)(),(0,_r.ValidateNested)(),(0,$l.Type)(()=>go),Sp("design:type",typeof go>"u"?Object:go)],ki.prototype,"gDevTrib",void 0);bp([(0,_r.IsOptional)(),(0,_r.ValidateNested)(),(0,$l.Type)(()=>so),Sp("design:type",typeof so>"u"?Object:so)],ki.prototype,"gRed",void 0);bp([(0,Hf.TransformDecimal)({fixed:2}),Sp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ki.prototype,"vCBS",void 0);function Ms(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(Ms,"_ts_decorate");function Ls(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ls,"_ts_metadata");var ci=class{static{a(this,"GIBSCBS")}vBC;gIBSUF;gIBSMun;vIBS;gCBS;gTribRegular};Ms([(0,Gf.TransformDecimal)({fixed:2}),Ls("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ci.prototype,"vBC",void 0);Ms([(0,yn.IsOptional)(),(0,yn.ValidateNested)(),(0,Cp.Type)(()=>Ui),Ls("design:type",typeof Ui>"u"?Object:Ui)],ci.prototype,"gIBSUF",void 0);Ms([(0,yn.IsOptional)(),(0,yn.ValidateNested)(),(0,Cp.Type)(()=>qi),Ls("design:type",typeof qi>"u"?Object:qi)],ci.prototype,"gIBSMun",void 0);Ms([(0,Gf.TransformDecimal)({fixed:2}),Ls("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ci.prototype,"vIBS",void 0);Ms([(0,yn.IsOptional)(),(0,yn.ValidateNested)(),(0,Cp.Type)(()=>ki),Ls("design:type",typeof ki>"u"?Object:ki)],ci.prototype,"gCBS",void 0);Ms([(0,yn.IsOptional)(),(0,yn.ValidateNested)(),(0,Cp.Type)(()=>Eo),Ls("design:type",typeof Eo>"u"?Object:Eo)],ci.prototype,"gTribRegular",void 0);var qr=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 bn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(bn,"_ts_metadata");var mt=class{static{a(this,"IBSCBS")}CST;cClassTrib;indDoacao;gTransfCred;gCredPresIBSZFM;gCredPresOper;gAjusteCompet;gEstornoCred;gIBSCBSMono;gIBSCBS};xn([(0,Ue.IsOptional)(),(0,Ue.IsString)(),bn("design:type",String)],mt.prototype,"CST",void 0);xn([(0,Ue.IsOptional)(),(0,Ue.IsString)(),bn("design:type",String)],mt.prototype,"cClassTrib",void 0);xn([(0,Ue.IsOptional)(),(0,Ue.IsString)(),bn("design:type",String)],mt.prototype,"indDoacao",void 0);xn([(0,Ue.IsOptional)(),(0,Ue.ValidateNested)(),(0,qr.Type)(()=>Er),bn("design:type",typeof Er>"u"?Object:Er)],mt.prototype,"gTransfCred",void 0);xn([(0,Ue.IsOptional)(),(0,Ue.ValidateNested)(),(0,qr.Type)(()=>nr),bn("design:type",typeof nr>"u"?Object:nr)],mt.prototype,"gCredPresIBSZFM",void 0);xn([(0,Ue.IsOptional)(),(0,Ue.ValidateNested)(),(0,qr.Type)(()=>hn),bn("design:type",typeof hn>"u"?Object:hn)],mt.prototype,"gCredPresOper",void 0);xn([(0,Ue.IsOptional)(),(0,Ue.ValidateNested)(),(0,qr.Type)(()=>rr),bn("design:type",typeof rr>"u"?Object:rr)],mt.prototype,"gAjusteCompet",void 0);xn([(0,Ue.IsOptional)(),(0,Ue.ValidateNested)(),(0,qr.Type)(()=>Tr),bn("design:type",typeof Tr>"u"?Object:Tr)],mt.prototype,"gEstornoCred",void 0);xn([(0,Ue.IsOptional)(),(0,Ue.ValidateNested)(),(0,qr.Type)(()=>ge),bn("design:type",typeof ge>"u"?Object:ge)],mt.prototype,"gIBSCBSMono",void 0);xn([(0,Ue.IsOptional)(),(0,Ue.ValidateNested)(),(0,qr.Type)(()=>ci),bn("design:type",typeof ci>"u"?Object:ci)],mt.prototype,"gIBSCBS",void 0);var Vs=require("nfets/core"),Hi=require("class-validator");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 kr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(kr,"_ts_metadata");var Ht=class{static{a(this,"IS")}CSTIS;cClassTribIS;vBCIS;pIS;pISEspec;uTrib;qTrib;vIS};Ur([(0,Hi.IsString)(),kr("design:type",String)],Ht.prototype,"CSTIS",void 0);Ur([(0,Hi.IsString)(),kr("design:type",String)],Ht.prototype,"cClassTribIS",void 0);Ur([(0,Hi.IsOptional)(),(0,Vs.TransformDecimal)({fixed:2}),kr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ht.prototype,"vBCIS",void 0);Ur([(0,Hi.IsOptional)(),(0,Vs.TransformDecimal)({fixed:4}),kr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ht.prototype,"pIS",void 0);Ur([(0,Hi.IsOptional)(),(0,Vs.TransformDecimal)({fixed:4}),kr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ht.prototype,"pISEspec",void 0);Ur([(0,Hi.IsOptional)(),(0,Hi.IsString)(),kr("design:type",String)],Ht.prototype,"uTrib",void 0);Ur([(0,Hi.IsOptional)(),(0,Vs.TransformDecimal)({fixed:4}),kr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ht.prototype,"qTrib",void 0);Ur([(0,Hi.IsOptional)(),(0,Vs.TransformDecimal)({fixed:2}),kr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ht.prototype,"vIS",void 0);var eu=require("nfets/core");function Qo(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(Qo,"_ts_decorate");function pi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(pi,"_ts_metadata");var st=class{static{a(this,"Imposto")}vTotTrib;ICMS;IPI;ISSQN;II;PIS;PISST;COFINS;COFINSST;ICMSUFDest;IS;IBSCBS};Qo([(0,we.IsOptional)(),(0,eu.TransformDecimal)({fixed:2}),pi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],st.prototype,"vTotTrib",void 0);Qo([(0,we.IsOptional)(),(0,we.ValidateNested)(),(0,li.Type)(()=>le),pi("design:type",typeof IICMS>"u"?Object:IICMS)],st.prototype,"ICMS",void 0);Qo([(0,we.IsOptional)(),(0,we.ValidateNested)(),(0,li.Type)(()=>si),pi("design:type",typeof IIPI>"u"?Object:IIPI)],st.prototype,"IPI",void 0);Qo([(0,we.IsOptional)(),(0,we.ValidateNested)(),(0,li.Type)(()=>Qe),pi("design:type",typeof IISSQN>"u"?Object:IISSQN)],st.prototype,"ISSQN",void 0);Qo([(0,we.IsOptional)(),(0,we.ValidateNested)(),(0,li.Type)(()=>un),pi("design:type",typeof III>"u"?Object:III)],st.prototype,"II",void 0);Qo([(0,we.IsOptional)(),(0,we.ValidateNested)(),(0,li.Type)(()=>fn),pi("design:type",typeof IPIS>"u"?Object:IPIS)],st.prototype,"PIS",void 0);Qo([(0,we.IsOptional)(),(0,we.ValidateNested)(),(0,li.Type)(()=>Bi),pi("design:type",typeof IPISST>"u"?Object:IPISST)],st.prototype,"PISST",void 0);Qo([(0,we.IsOptional)(),(0,we.ValidateNested)(),(0,li.Type)(()=>mn),pi("design:type",typeof ICOFINS>"u"?Object:ICOFINS)],st.prototype,"COFINS",void 0);Qo([(0,we.IsOptional)(),(0,we.ValidateNested)(),(0,li.Type)(()=>Vi),pi("design:type",typeof ICOFINSST>"u"?Object:ICOFINSST)],st.prototype,"COFINSST",void 0);Qo([(0,we.IsOptional)(),(0,we.ValidateNested)(),(0,li.Type)(()=>ho),pi("design:type",typeof IICMSUFDest>"u"?Object:IICMSUFDest)],st.prototype,"ICMSUFDest",void 0);Qo([(0,we.IsOptional)(),(0,we.ValidateNested)(),(0,li.Type)(()=>Ht),pi("design:type",typeof IIS>"u"?Object:IIS)],st.prototype,"IS",void 0);Qo([(0,we.IsOptional)(),(0,we.ValidateNested)(),(0,li.Type)(()=>mt),pi("design:type",typeof IIBSCBS>"u"?Object:IIBSCBS)],st.prototype,"IBSCBS",void 0);st=Qo([(0,eu.Choice)({properties:["ICMS","ISSQN"]})],st);var Fa=require("class-validator"),Ex=require("class-transformer");function Qf(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(Qf,"_ts_decorate");function Yf(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Yf,"_ts_metadata");var tu=class{static{a(this,"IpiDevol")}vIPIDevol};Qf([(0,Fa.IsString)(),Yf("design:type",String)],tu.prototype,"vIPIDevol",void 0);var _s=class{static{a(this,"Devol")}pDevol;IPI};Qf([(0,Fa.IsString)(),Yf("design:type",String)],_s.prototype,"pDevol",void 0);Qf([(0,Fa.IsOptional)(),(0,Fa.ValidateNested)(),(0,Ex.Type)(()=>tu),Yf("design:type",typeof IIpiDevol>"u"?Object:IIpiDevol)],_s.prototype,"IPI",void 0);var ar=require("class-validator"),Zf=require("class-transformer");function ou(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(ou,"_ts_decorate");function iu(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(iu,"_ts_metadata");var qs=class{static{a(this,"Observation")}xCampo;xTexto};ou([(0,ar.IsString)(),iu("design:type",String)],qs.prototype,"xCampo",void 0);ou([(0,ar.IsString)(),iu("design:type",String)],qs.prototype,"xTexto",void 0);var Us=class{static{a(this,"ObsItem")}obsCont;obsFisco};ou([(0,ar.IsOptional)(),(0,ar.ValidateNested)(),(0,Zf.Type)(()=>qs),iu("design:type",typeof IObservation>"u"?Object:IObservation)],Us.prototype,"obsCont",void 0);ou([(0,ar.IsOptional)(),(0,ar.ValidateNested)(),(0,Zf.Type)(()=>qs),iu("design:type",typeof IObservation>"u"?Object:IObservation)],Us.prototype,"obsFisco",void 0);var zx=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 Gr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Gr,"_ts_metadata");var ks=class{static{a(this,"DetAttributes")}nItem};Hr([(0,Gt.IsString)(),Gr("design:type",String)],ks.prototype,"nItem",void 0);var Gi=class{static{a(this,"Det")}prod;imposto;impostoDevol;infAdProd;obsItem;vItem};Hr([(0,Gt.IsObject)(),(0,Gt.ValidateNested)(),(0,Hs.Type)(()=>ks),Gr("design:type",typeof IDetAttributes>"u"?Object:IDetAttributes)],Gi.prototype,"$",void 0);Hr([(0,Gt.ValidateNested)(),(0,Hs.Type)(()=>L),Gr("design:type",typeof IProd>"u"?Object:IProd)],Gi.prototype,"prod",void 0);Hr([(0,Gt.IsOptional)(),(0,Gt.ValidateNested)(),(0,Hs.Type)(()=>st),Gr("design:type",typeof IImposto>"u"?Object:IImposto)],Gi.prototype,"imposto",void 0);Hr([(0,Gt.IsOptional)(),(0,Gt.ValidateNested)(),(0,Hs.Type)(()=>_s),Gr("design:type",typeof IDevol>"u"?Object:IDevol)],Gi.prototype,"impostoDevol",void 0);Hr([(0,Gt.IsOptional)(),(0,Gt.IsString)(),Gr("design:type",String)],Gi.prototype,"infAdProd",void 0);Hr([(0,Gt.IsOptional)(),(0,Gt.ValidateNested)(),(0,Hs.Type)(()=>Us),Gr("design:type",typeof IObsItem>"u"?Object:IObsItem)],Gi.prototype,"obsItem",void 0);Hr([(0,Gt.IsOptional)(),(0,zx.TransformDecimal)({fixed:2}),Gr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gi.prototype,"vItem",void 0);var Yt=require("class-validator"),nu=require("nfets/core");function Qi(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(Qi,"_ts_decorate");function Yi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Yi,"_ts_metadata");var Qt=class{static{a(this,"Avulsa")}CNPJ;xOrgao;matr;xAgente;fone;UF;nDAR;dEmi;vDAR;repEmi;dPag};Qi([(0,Yt.IsString)(),Yi("design:type",String)],Qt.prototype,"CNPJ",void 0);Qi([(0,Yt.IsString)(),Yi("design:type",String)],Qt.prototype,"xOrgao",void 0);Qi([(0,Yt.IsString)(),Yi("design:type",String)],Qt.prototype,"matr",void 0);Qi([(0,Yt.IsString)(),Yi("design:type",String)],Qt.prototype,"xAgente",void 0);Qi([(0,Yt.IsOptional)(),(0,Yt.IsString)(),Yi("design:type",String)],Qt.prototype,"fone",void 0);Qi([(0,Yt.IsString)(),Yi("design:type",String)],Qt.prototype,"UF",void 0);Qi([(0,Yt.IsOptional)(),(0,Yt.IsString)(),Yi("design:type",String)],Qt.prototype,"nDAR",void 0);Qi([(0,Yt.IsOptional)(),(0,nu.TransformDateString)({format:"YYYY-MM-DD"}),Yi("design:type",typeof Date>"u"?Object:Date)],Qt.prototype,"dEmi",void 0);Qi([(0,Yt.IsOptional)(),(0,nu.TransformDecimal)({fixed:2}),Yi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qt.prototype,"vDAR",void 0);Qi([(0,Yt.IsString)(),Yi("design:type",String)],Qt.prototype,"repEmi",void 0);Qi([(0,Yt.IsOptional)(),(0,Yt.IsDate)(),Yi("design:type",typeof Date>"u"?Object:Date)],Qt.prototype,"dPag",void 0);var jx=require("class-validator");function _w(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(_w,"_ts_decorate");function qw(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(qw,"_ts_metadata");var Oa=class{static{a(this,"InfSolicNFF")}xSolic};_w([(0,jx.IsString)(),qw("design:type",String)],Oa.prototype,"xSolic",void 0);function Ye(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(Ye,"_ts_decorate");function Ze(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ze,"_ts_metadata");var Aa=class{static{a(this,"InfNFeAttributes")}Id;versao};Ye([(0,j.IsOptional)(),(0,j.IsString)(),Ze("design:type",String)],Aa.prototype,"Id",void 0);Ye([(0,j.IsOptional)(),(0,j.IsString)(),Ze("design:type",String)],Aa.prototype,"versao",void 0);var be=class{static{a(this,"InfNFe")}ide;emit;avulsa;dest;retirada;entrega;autXML;det;total;transp;cobr;pag;infIntermed;infAdic;exporta;compra;cana;infRespTec;infSolicNFF};Ye([(0,j.IsObject)(),(0,j.IsNotEmptyObject)(),(0,tt.Type)(()=>Aa),(0,j.ValidateNested)(),Ze("design:type",typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes)],be.prototype,"$",void 0);Ye([(0,j.IsObject)(),(0,j.IsNotEmptyObject)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>ne),Ze("design:type",typeof IIde>"u"?Object:IIde)],be.prototype,"ide",void 0);Ye([(0,j.IsObject)(),(0,j.IsNotEmptyObject)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>Ot),Ze("design:type",typeof IEmit>"u"?Object:IEmit)],be.prototype,"emit",void 0);Ye([(0,j.IsOptional)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>Qt),Ze("design:type",typeof IAvulsa>"u"?Object:IAvulsa)],be.prototype,"avulsa",void 0);Ye([(0,j.IsOptional)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>At),Ze("design:type",typeof IDest>"u"?Object:IDest)],be.prototype,"dest",void 0);Ye([(0,j.IsOptional)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>ye),Ze("design:type",typeof ILocal>"u"?Object:ILocal)],be.prototype,"retirada",void 0);Ye([(0,j.IsOptional)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>ye),Ze("design:type",typeof ILocal>"u"?Object:ILocal)],be.prototype,"entrega",void 0);Ye([(0,j.IsOptional)(),(0,j.ValidateNested)({each:!0}),(0,j.ArrayMaxSize)(10),(0,tt.Type)(()=>tn),Ze("design:type",Array)],be.prototype,"autXML",void 0);Ye([(0,j.ValidateNested)({each:!0}),(0,j.ArrayMaxSize)(990),(0,j.ArrayMinSize)(1),(0,tt.Type)(()=>Gi),Ze("design:type",Array)],be.prototype,"det",void 0);Ye([(0,j.ValidateNested)(),(0,tt.Type)(()=>oi),Ze("design:type",typeof ITotal>"u"?Object:ITotal)],be.prototype,"total",void 0);Ye([(0,j.ValidateNested)(),(0,tt.Type)(()=>$t),Ze("design:type",typeof ITransp>"u"?Object:ITransp)],be.prototype,"transp",void 0);Ye([(0,j.IsOptional)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>Rr),Ze("design:type",typeof ICobr>"u"?Object:ICobr)],be.prototype,"cobr",void 0);Ye([(0,j.ValidateNested)(),(0,tt.Type)(()=>wr),Ze("design:type",typeof IPag>"u"?Object:IPag)],be.prototype,"pag",void 0);Ye([(0,j.IsOptional)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>gr),Ze("design:type",typeof IInfIntermed>"u"?Object:IInfIntermed)],be.prototype,"infIntermed",void 0);Ye([(0,j.IsOptional)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>Ei),Ze("design:type",typeof IInfAdic>"u"?Object:IInfAdic)],be.prototype,"infAdic",void 0);Ye([(0,j.IsOptional)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>En),Ze("design:type",typeof IExporta>"u"?Object:IExporta)],be.prototype,"exporta",void 0);Ye([(0,j.IsOptional)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>zn),Ze("design:type",typeof ICompra>"u"?Object:ICompra)],be.prototype,"compra",void 0);Ye([(0,j.IsOptional)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>eo),Ze("design:type",typeof ICana>"u"?Object:ICana)],be.prototype,"cana",void 0);Ye([(0,j.IsOptional)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>$o),Ze("design:type",typeof IInfRespTec>"u"?Object:IInfRespTec)],be.prototype,"infRespTec",void 0);Ye([(0,j.IsOptional)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>Oa),Ze("design:type",typeof ISolicNFF>"u"?Object:ISolicNFF)],be.prototype,"infSolicNFF",void 0);var Xf=require("class-transformer");function ru(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(ru,"_ts_decorate");function au(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(au,"_ts_metadata");var Gs=class{static{a(this,"NFeAttributes")}xmlns};ru([(0,yo.IsString)(),(0,yo.IsNotEmpty)(),au("design:type",String)],Gs.prototype,"xmlns",void 0);var sr=class{static{a(this,"NFe")}$;infNFe;Signature};ru([(0,yo.IsObject)(),(0,yo.IsNotEmptyObject)(),(0,Xf.Type)(()=>Gs),(0,yo.ValidateNested)(),au("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],sr.prototype,"$",void 0);ru([(0,yo.IsObject)(),(0,yo.IsNotEmptyObject)(),(0,Xf.Type)(()=>be),(0,yo.ValidateNested)(),au("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],sr.prototype,"infNFe",void 0);ru([(0,yo.Allow)(),au("design:type",typeof Signature>"u"?Object:Signature)],sr.prototype,"Signature",void 0);var Tx=require("nfets/core");var xo=require("nfets/core");function zo(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(zo,"_ts_decorate");function k(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(k,"_ts_metadata");var ht=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}setImposto(e){return this.data.imposto=e,e}imposto(e){return this.listener?.imposto(this.setImposto(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 this.data.imposto??={},this.data.imposto.II=e,this.listener?.ii(e),this}ipi(e){return this.data.imposto??={},this.data.imposto.IPI=e,this.listener?.ipi(e),this}pis(e){return this.data.imposto??={},this.data.imposto.PIS=e,this.listener?.pis(e),this}pisst(e){return this.data.imposto??={},this.data.imposto.PISST=e,this}cofins(e){return this.data.imposto??={},this.data.imposto.COFINS=e,this.listener?.cofins(e),this}cofinsst(e){return this.data.imposto??={},this.data.imposto.COFINSST=e,this}icmsufdest(e){return this.data.imposto??={},this.data.imposto.ICMSUFDest=e,this}is(e){return e==null?this:this.schema===Zo.PL_009_V4?this:(this.data.imposto??={},this.data.imposto.IS=e,this)}ibscbs(e){return e==null?this:this.schema===Zo.PL_009_V4?this:(this.data.imposto??={},this.data.imposto.IBSCBS=e,this)}vItem(e){return this.schema===Zo.PL_009_V4?this:(this.data.vItem=e.vItem,this)}assemble(){this.data.imposto&&this.setImposto(this.data.imposto);let e={...this.data};return this.data={},e}};zo([(0,xo.Validates)(ks),k("design:type",Function),k("design:paramtypes",[typeof IDetAttributes>"u"?Object:IDetAttributes]),k("design:returntype",void 0)],ht.prototype,"det",null);zo([(0,xo.Validates)(L),k("design:type",Function),k("design:paramtypes",[typeof IProd>"u"?Object:IProd]),k("design:returntype",void 0)],ht.prototype,"prod",null);zo([(0,xo.Validates)(st),k("design:type",Function),k("design:paramtypes",[typeof IImposto>"u"?Object:IImposto]),k("design:returntype",typeof IImposto>"u"?Object:IImposto)],ht.prototype,"setImposto",null);zo([(0,xo.Validates)(le),k("design:type",Function),k("design:paramtypes",[typeof IICMS>"u"?Object:IICMS]),k("design:returntype",void 0)],ht.prototype,"icms",null);zo([(0,xo.Validates)(Qe),k("design:type",Function),k("design:paramtypes",[typeof IISSQN>"u"?Object:IISSQN]),k("design:returntype",void 0)],ht.prototype,"issqn",null);zo([(0,xo.Validates)(un),k("design:type",Function),k("design:paramtypes",[typeof III>"u"?Object:III]),k("design:returntype",void 0)],ht.prototype,"ii",null);zo([(0,xo.Validates)(si),k("design:type",Function),k("design:paramtypes",[typeof IIPI>"u"?Object:IIPI]),k("design:returntype",void 0)],ht.prototype,"ipi",null);zo([(0,xo.Validates)(fn),k("design:type",Function),k("design:paramtypes",[typeof IPIS>"u"?Object:IPIS]),k("design:returntype",void 0)],ht.prototype,"pis",null);zo([(0,xo.Validates)(Bi),k("design:type",Function),k("design:paramtypes",[typeof IPISST>"u"?Object:IPISST]),k("design:returntype",void 0)],ht.prototype,"pisst",null);zo([(0,xo.Validates)(mn),k("design:type",Function),k("design:paramtypes",[typeof ICOFINS>"u"?Object:ICOFINS]),k("design:returntype",void 0)],ht.prototype,"cofins",null);zo([(0,xo.Validates)(Vi),k("design:type",Function),k("design:paramtypes",[typeof ICOFINSST>"u"?Object:ICOFINSST]),k("design:returntype",void 0)],ht.prototype,"cofinsst",null);zo([(0,xo.Validates)(ho),k("design:type",Function),k("design:paramtypes",[typeof IICMSUFDest>"u"?Object:IICMSUFDest]),k("design:returntype",void 0)],ht.prototype,"icmsufdest",null);zo([(0,xo.Validates)(Ht),k("design:type",Function),k("design:paramtypes",[typeof Ht>"u"?Object:Ht]),k("design:returntype",void 0)],ht.prototype,"is",null);zo([(0,xo.Validates)(mt),k("design:type",Function),k("design:paramtypes",[typeof mt>"u"?Object:mt]),k("design:returntype",void 0)],ht.prototype,"ibscbs",null);var Qs=require("nfets/core"),Ie=require("nfets/core"),su=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 E(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(E,"_ts_metadata");var Se=class{static{a(this,"NfeXmlBuilder")}builder;contingency;schema;data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}}};$data=void 0;get entity(){return sr}root="NFe";$det=new hc(this);$total=new vc(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=ht.create(this.$det,this.schema)}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==null?this:(this.data.infNFe.autXML??=[],this.data.infNFe.autXML.push(e),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){if(e==null)return this;if(this.schema===Zo.PL_009_V4)return this;let o=this.data.infNFe.total.IBSCBSTot;return this.data.infNFe.total.IBSCBSTot={...o,...e,gIBS:{...o?.gIBS,...e.gIBS,gIBSUF:{...o?.gIBS?.gIBSUF,...e.gIBS?.gIBSUF},gIBSMun:{...o?.gIBS?.gIBSMun,...e.gIBS?.gIBSMun}},gCBS:{...o?.gCBS,...e.gCBS},...e.gMono!=null||o?.gMono!=null?{gMono:{...o?.gMono,...e.gMono}}:{}},this}ISTot(e){return e==null?this:this.schema===Zo.PL_009_V4?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},this.schema!==Zo.PL_009_V4&&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}}:{}},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)}quiet(){return Reflect.deleteMetadata(Ie.ValidateErrorsMetadata,this),this}toObject(){if(this.$data!==void 0)return(0,Qs.right)(this.$data);let e=this.errors();return e?(0,Qs.left)(new su.NFeTsError(e.join(", "))):(this.$total?.aggregate(),this.assertHomologValidations(),this.assertContingencyModes(),this.fillAccessKeyIfEmpty(),this.$data=(0,Tx.plainToInstance)(this.data,this.entity,{clearEmptyValues:!0}),(0,Qs.right)(this.$data))}async assemble(){let e=this.toObject();return e.isLeft()?e:(0,Qs.right)(await this.builder.build(e.value,{rootName:this.root}))}assertHomologValidations(){return this.data.infNFe.ide.tpAmb!==su.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!==bt.Normal)return;switch(Dl[e]){case"SVCAN":return this.data.infNFe.ide.tpEmis=bt.SVCAN,void 0;case"SVCRS":return this.data.infNFe.ide.tpEmis=bt.SVCRS,void 0}}automaticallyInferContingencyMode(){let{xJust:e,dhCont:o,tpEmis:i}=this.data.infNFe.ide;if(!(!e&&!o&&i===bt.Normal))return this.contingency={xJust:e??"SEFAZ fora do Ar",dhCont:o??new Date().toISOString()},this.assertContingencyModes()}errors(){return Reflect.getMetadata(Ie.ValidateErrorsMetadata,this)}collect(e){let o=Reflect.getMetadata(Ie.ValidateErrorsMetadata,e);if(!o)return;let i=this.errors();Reflect.defineMetadata(Ie.ValidateErrorsMetadata,(i??[]).concat(o),this)}fillAccessKeyIfEmpty(){if(this.data.infNFe.$.Id)return;let e=new mc().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}}};vt([(0,Ie.Validates)(Aa),E("design:type",Function),E("design:paramtypes",[typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes]),E("design:returntype",void 0)],Se.prototype,"infNFe",null);vt([(0,Ie.Validates)(ne),E("design:type",Function),E("design:paramtypes",[typeof IIde>"u"?Object:IIde]),E("design:returntype",void 0)],Se.prototype,"ide",null);vt([(0,Ie.Validates)(Ot),E("design:type",Function),E("design:paramtypes",[typeof IEmit>"u"?Object:IEmit]),E("design:returntype",void 0)],Se.prototype,"emit",null);vt([(0,Ie.Validates)(Qt),E("design:type",Function),E("design:paramtypes",[typeof IAvulsa>"u"?Object:IAvulsa]),E("design:returntype",void 0)],Se.prototype,"avulsa",null);vt([(0,Ie.Validates)(At),E("design:type",Function),E("design:paramtypes",[typeof IDest>"u"?Object:IDest]),E("design:returntype",void 0)],Se.prototype,"dest",null);vt([(0,Ie.Validates)(ye),E("design:type",Function),E("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),E("design:returntype",void 0)],Se.prototype,"retirada",null);vt([(0,Ie.Validates)(ye),E("design:type",Function),E("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),E("design:returntype",void 0)],Se.prototype,"entrega",null);vt([(0,Ie.Validates)(tn),E("design:type",Function),E("design:paramtypes",[typeof IAutXML>"u"?Object:IAutXML]),E("design:returntype",void 0)],Se.prototype,"autXML",null);vt([(0,Ie.Validates)(oi),E("design:type",Function),E("design:paramtypes",[typeof ITotal>"u"?Object:ITotal]),E("design:returntype",void 0)],Se.prototype,"total",null);vt([(0,Ie.Validates)($t),E("design:type",Function),E("design:paramtypes",[typeof ITransp>"u"?Object:ITransp]),E("design:returntype",void 0)],Se.prototype,"transp",null);vt([(0,Ie.Validates)(Rr),E("design:type",Function),E("design:paramtypes",[typeof ICobr>"u"?Object:ICobr]),E("design:returntype",void 0)],Se.prototype,"cobr",null);vt([(0,Ie.Validates)(wr),E("design:type",Function),E("design:paramtypes",[typeof IPag>"u"?Object:IPag]),E("design:returntype",void 0)],Se.prototype,"pag",null);vt([(0,Ie.Validates)(gr),E("design:type",Function),E("design:paramtypes",[typeof IInfIntermed>"u"?Object:IInfIntermed]),E("design:returntype",void 0)],Se.prototype,"infIntermed",null);vt([(0,Ie.Validates)(Ei),E("design:type",Function),E("design:paramtypes",[typeof IInfAdic>"u"?Object:IInfAdic]),E("design:returntype",void 0)],Se.prototype,"infAdic",null);vt([(0,Ie.Validates)(En),E("design:type",Function),E("design:paramtypes",[typeof IExporta>"u"?Object:IExporta]),E("design:returntype",void 0)],Se.prototype,"exporta",null);vt([(0,Ie.Validates)(zn),E("design:type",Function),E("design:paramtypes",[typeof ICompra>"u"?Object:ICompra]),E("design:returntype",void 0)],Se.prototype,"compra",null);vt([(0,Ie.Validates)(eo),E("design:type",Function),E("design:paramtypes",[typeof ICana>"u"?Object:ICana]),E("design:returntype",void 0)],Se.prototype,"cana",null);vt([(0,Ie.Validates)($o),E("design:type",Function),E("design:paramtypes",[typeof IInfRespTec>"u"?Object:IInfRespTec]),E("design:returntype",void 0)],Se.prototype,"infRespTec",null);vt([(0,Ie.Validates)(Oa),E("design:type",Function),E("design:paramtypes",[typeof ISolicNFF>"u"?Object:ISolicNFF]),E("design:returntype",void 0)],Se.prototype,"infSolicNFF",null);var Np=class extends $a{static{a(this,"NfeXmlBuilderPipeline")}certificate;schema;builder=Se.create(this.toolkit);constructor(e,o="PL_009_V4"){super(e),this.certificate=e,this.schema=o}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 Bx.default.resolve(fc(),this.schema,"nfe_v4.00.xsd")}async assertXmlSignedAndValidated(e){if(!this.certificate)return(0,Ys.right)(e);let o=await this.signXmlString(e);return o.isLeft()?o:this.validateXmlString(o.value)}async signXmlString(e){if(!this.certificate)return(0,Ys.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,Ys.left)(new dc(o.value.message,e,{cause:o.value.cause})):(0,Ys.right)(e)}};var Vx=require("nfets/core");var uu=require("nfets/core"),_x=require("nfets/core");var lu=require("class-transformer"),jo=require("class-validator");var Jf=require("class-validator");function Mx(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(Mx,"_ts_decorate");function Lx(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Lx,"_ts_metadata");var Zs=class{static{a(this,"InfNFeSupl")}qrCode;urlChave};Mx([(0,Jf.IsString)(),Lx("design:type",String)],Zs.prototype,"qrCode",void 0);Mx([(0,Jf.IsString)(),Lx("design:type",String)],Zs.prototype,"urlChave",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 Sn=class{static{a(this,"NFCe")}$;infNFe;infNFeSupl;Signature};cu([(0,jo.IsObject)(),(0,jo.IsNotEmptyObject)(),(0,lu.Type)(()=>Gs),(0,jo.ValidateNested)(),pu("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],Sn.prototype,"$",void 0);cu([(0,jo.IsObject)(),(0,jo.IsNotEmptyObject)(),(0,lu.Type)(()=>be),(0,jo.ValidateNested)(),pu("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],Sn.prototype,"infNFe",void 0);cu([(0,jo.IsObject)(),(0,jo.IsNotEmptyObject)(),(0,lu.Type)(()=>Zs),(0,jo.ValidateNested)(),pu("design:type",typeof IInfNFeSupl>"u"?Object:IInfNFeSupl)],Sn.prototype,"infNFeSupl",void 0);cu([(0,jo.Allow)(),pu("design:type",typeof Signature>"u"?Object:Signature)],Sn.prototype,"Signature",void 0);var Rp=class extends Se{static{a(this,"NfceXmlBuilder")}data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}}};get entity(){return Sn}static create(e,o,i="PL_009_V4"){return new this(e,o,i)}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===bt.Normal)return this.data.infNFe.ide.tpEmis=bt.OFFLINE,void 0}};var Wf=class extends Np{static{a(this,"NfceXmlBuilderPipeline")}options;nfceQrcode=new Lt(this.certificates);transmitter=new It(this.soap,this.nfceQrcode);constructor(e,o="PL_009_V4",i){super(e,o),this.options=i}builder=Rp.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,uu.left)(new Vx.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,uu.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,_x.unreachable)(n.version)}}};var qx="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+W7xv4peLRX5nyHa5WZ8uHd4f99AV8dYhXnV1Fyx55Z2jOWGrZB0CvBfDZabsUxiCbDYYLGweaSdK6K+IELItS2ZjDmMHgKC0xAIBJqK4DQ0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QNfkbytfAUDIvRrX3jyoD6F3TvlXQDn4gmhMdAg8LhgTbiYMli/nsD4AbgF0yI+ARSQdsFww3Aa9F75GD0hA4aQlRPYETiu7+lZlp/PaD0zK/XXvhm1+Z0ZQZKedkiG31OOW+qJIlJynStSeSCL5jI3sZuPjchccju2Q9cUzBImCGYb+grmZEg3vmGBbFpw521paOHv+z+wAtxixCHgQNFPPZceeOmCpyhdJ024skTbfZK7GrtvJlrlCajjnfcrPQ1mI++9po7QUCJxtBaQickPz0lbefPeuU//gi6NKythBT8YFHP5VD6Vw5eRGh8rVTL9MQ+J3nLtw8ocJIgUAg8HoiuCcCJyQXn/XPLxv9AfhD0dE5V05M1JyySGRlV0X56GSSuOkYyPDtRkFhCAQCb2iCpSFwwjOwfeksSR+2uVFicdo9keBylsho558uglR2YUyNbMTwOcynliw6XtUyA4FA4NgQlIbA64YtO1pnAVfbvklwPlJLteOiQvJ6tStj0mWv2r4T8dCShZuDwhAIBN7wBKUh8LpjYEdrk+xzkN4PdNheDKpJmxxZI5L4yEmUHTC8LLvH8NiSRZtDkFwgEDhpCEpD4HXNwI6lGaGzsLNIFwMXAfNsWiQyaftA5SsNXquR2SNIh8AHQVsxLyB+CmwCdh6rSpiBQCBwIhGUhsAbii07WrGZI/lsw2JgIWa+pDnALOyoaFEcq2AzIrEPOIC9B9iN9H+AndjbLe1asjDEKgQCgQDA/wf59f5AwcXxcQAAAABJRU5ErkJggg==";var Xs=class t{static{a(this,"Header")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}emit(e){let{left:o,right:i}=this.builder.pageMargins(),r=e?.x??o,n=this.context.data.infNFe.emit,{enderEmit:s}=n,{xNome:c}=n,p=this.context.defaults.font,u=`${p}-Bold`,l="center";this.builder.row({left:r,right:i},f=>this.builder.text(this.identification(n),{...f,align:l})).row({left:r,right:i},f=>this.builder.font(u).text(c,{...f,align:l}).font(p)).row({left:r,right:i},f=>this.builder.text(`${this.addressLine1(s)}${this.addressLine2(s)}${this.addressLine3(s)}`,{...f,align:l})).row({left:r,right:i},f=>this.builder.text(this.addressLine4(s),{...f,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 qx}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 Qr=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}
28
+ `+n)}}catch{}}throw i}}_request(e,o){typeof e=="string"?(o=o||{},o.url=e):o=e||{},o=gi(this.defaults,o);let{transitional:i,paramsSerializer:r,headers:n}=o;i!==void 0&&jc.assertOptions(i,{silentJSONParsing:Wo.transitional(Wo.boolean),forcedJSONParsing:Wo.transitional(Wo.boolean),clarifyTimeoutError:Wo.transitional(Wo.boolean),legacyInterceptorReqResOrdering:Wo.transitional(Wo.boolean)},!1),r!=null&&(v.isFunction(r)?o.paramsSerializer={serialize:r}:jc.assertOptions(r,{encode:Wo.function,serialize:Wo.function},!0)),o.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?o.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:o.allowAbsoluteUrls=!0),jc.assertOptions(o,{baseUrl:Wo.spelling("baseURL"),withXsrfToken:Wo.spelling("withXSRFToken")},!0),o.method=(o.method||this.defaults.method||"get").toLowerCase();let s=n&&v.merge(n.common,n[o.method]);n&&v.forEach(["delete","get","head","post","put","patch","common"],x=>{delete n[x]}),o.headers=_e.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 S=o.transitional||dr;S&&S.legacyInterceptorReqResOrdering?c.unshift(C.fulfilled,C.rejected):c.push(C.fulfilled,C.rejected)},"unshiftRequestInterceptors"));let u=[];this.interceptors.response.forEach(a(function(C){u.push(C.fulfilled,C.rejected)},"pushResponseInterceptors"));let l,f=0,g;if(!p){let x=[ml.bind(this),void 0];for(x.unshift(...c),x.push(...u),g=x.length,l=Promise.resolve(o);f<g;)l=l.then(x[f++],x[f++]);return l}g=c.length;let y=o;for(;f<g;){let x=c[f++],C=c[f++];try{y=x(y)}catch(S){C.call(this,S);break}}try{l=ml.call(this,y)}catch(x){return Promise.reject(x)}for(f=0,g=u.length;f<g;)l=l.then(u[f++],u[f++]);return l}getUri(e){e=gi(this.defaults,e);let o=na(e.baseURL,e.url,e.allowAbsoluteUrls);return ia(o,e.params,e.paramsSerializer)}};v.forEach(["delete","get","head","options"],a(function(e){vl.prototype[e]=function(o,i){return this.request(gi(i||{},{method:e,url:o,data:(i||{}).data}))}},"forEachMethodNoData"));v.forEach(["post","put","patch"],a(function(e){function o(i){return a(function(n,s,c){return this.request(gi(c||{},{method:e,headers:i?{"Content-Type":"multipart/form-data"}:{},url:n,data:s}))},"httpMethod")}a(o,"generateHTTPMethod"),vl.prototype[e]=o(),vl.prototype[e+"Form"]=o(!0)},"forEachMethodWithData"));var Tc=vl;var Dw=class Iy{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 To(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 Iy(a(function(r){e=r},"executor")),cancel:e}}},Fy=Dw;function Yd(t){return a(function(o){return t.apply(null,o)},"wrap")}a(Yd,"spread");function Zd(t){return v.isObject(t)&&t.isAxiosError===!0}a(Zd,"isAxiosError");var Xd={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Xd).forEach(([t,e])=>{Xd[e]=t});var Oy=Xd;function Ay(t){let e=new Tc(t),o=gc(Tc.prototype.request,e);return v.extend(o,Tc.prototype,e,{allOwnKeys:!0}),v.extend(o,e,null,{allOwnKeys:!0}),o.create=a(function(r){return Ay(gi(t,r))},"create"),o}a(Ay,"createInstance");var rt=Ay(Ya);rt.Axios=Tc;rt.CanceledError=To;rt.CancelToken=Fy;rt.isCancel=Fc;rt.VERSION=ca;rt.toFormData=ur;rt.AxiosError=w;rt.Cancel=rt.CanceledError;rt.all=a(function(e){return Promise.all(e)},"all");rt.spread=Yd;rt.isAxiosError=Zd;rt.mergeConfig=gi;rt.AxiosHeaders=_e;rt.formToJSON=t=>ol(v.isHTMLForm(t)?new FormData(t):t);rt.getAdapter=fl.getAdapter;rt.HttpStatusCode=Oy;rt.default=rt;var gl=rt;var{Axios:tj,AxiosError:oj,CanceledError:ij,isCancel:nj,CancelToken:rj,VERSION:aj,all:sj,Cancel:cj,isAxiosError:pj,spread:lj,toFormData:uj,AxiosHeaders:dj,HttpStatusCode:fj,formToJSON:mj,getAdapter:hj,mergeConfig:vj}=gl;var mr=require("nfets/core"),es=require("nfets/core");var $a=class{static{a(this,"Pipeline")}certificate;xmlns="http://www.portalfiscal.inf.br/nfe";http=gl.create();toolkit=new mr.Xml2JsToolkit;caching=new mr.MemoryCacheAdapter;certificates=new mr.NativeCertificateRepository(this.http,this.caching);soap=new mr.SoapRemoteTransmissionRepository(this.toolkit,this.certificates);signer=new es.EntitySigner(this.toolkit,this.certificates);xmlSigner=new es.XmlSigner(this.toolkit,this.certificates);constructor(e){this.certificate=e}errors(){return Reflect.getMetadata(es.ValidateErrorsMetadata,this)}};var qy=Tt(require("path"),1),Pl=require("nfets/core"),Si=require("nfets/core"),El=require("nfets/core");var xl=require("nfets/core"),Dy=require("class-transformer"),yi=require("class-validator");function yl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(yl,"_ts_decorate");function Wd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Wd,"_ts_metadata");var hr=class{static{a(this,"ConsultStatusPayload")}tpAmb;cUF;xServ="STATUS"};yl([(0,yi.IsEnum)(xl.Environment),Wd("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],hr.prototype,"tpAmb",void 0);yl([(0,yi.IsEnum)(xl.StateCodes),Wd("design:type",typeof StateCode>"u"?Object:StateCode)],hr.prototype,"cUF",void 0);yl([(0,yi.IsOptional)()],hr.prototype,"xServ",void 0);var Jd=class{static{a(this,"ConsultStatusRequest")}consStatServ};yl([(0,yi.IsNotEmptyObject)(),(0,yi.IsObject)(),(0,yi.ValidateNested)(),(0,Dy.Type)(()=>hr),Wd("design:type",typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload)],Jd.prototype,"consStatServ",void 0);var Py=require("nfets/core"),Sl=require("nfets/core"),Cl=require("class-transformer"),U=require("class-validator");function lt(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(lt,"_ts_decorate");function Mt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Mt,"_ts_metadata");var bl=class{static{a(this,"InfInutAttributes")}Id};lt([(0,U.IsString)(),Mt("design:type",String)],bl.prototype,"Id",void 0);var Bc=class{static{a(this,"InutNFeAttributes")}xmlns;versao};lt([(0,U.IsString)(),Mt("design:type",String)],Bc.prototype,"xmlns",void 0);lt([(0,U.IsString)(),(0,U.IsOptional)(),Mt("design:type",String)],Bc.prototype,"versao",void 0);var Bt=class{static{a(this,"InfInut")}$;tpAmb;xServ="INUTILIZAR";cUF;ano;CNPJ;CPF;mod;serie;nNFIni;nNFFin;xJust};lt([(0,U.ValidateNested)(),(0,Cl.Type)(()=>bl),Mt("design:type",typeof IInfInutAttributes>"u"?Object:IInfInutAttributes)],Bt.prototype,"$",void 0);lt([(0,U.IsEnum)(Sl.Environment),Mt("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Bt.prototype,"tpAmb",void 0);lt([(0,U.IsOptional)()],Bt.prototype,"xServ",void 0);lt([(0,U.IsEnum)(Sl.StateCodes),Mt("design:type",typeof StateCode>"u"?Object:StateCode)],Bt.prototype,"cUF",void 0);lt([(0,U.IsString)(),(0,U.Length)(2,2),(0,U.Matches)(/^[0-9]{2}$/),Mt("design:type",String)],Bt.prototype,"ano",void 0);lt([(0,U.IsString)(),(0,U.IsOptional)(),Mt("design:type",String)],Bt.prototype,"CNPJ",void 0);lt([(0,U.IsString)(),(0,U.IsOptional)(),Mt("design:type",String)],Bt.prototype,"CPF",void 0);lt([(0,U.IsString)(),(0,U.Length)(2,2),(0,U.Matches)(/^(55|65)$/),Mt("design:type",String)],Bt.prototype,"mod",void 0);lt([(0,U.IsString)(),(0,U.Matches)(/^[0-9]{1,3}$/),Mt("design:type",String)],Bt.prototype,"serie",void 0);lt([(0,U.IsString)(),(0,U.Matches)(/^[0-9]{1,9}$/),Mt("design:type",String)],Bt.prototype,"nNFIni",void 0);lt([(0,U.IsString)(),(0,U.Matches)(/^[0-9]{1,9}$/),Mt("design:type",String)],Bt.prototype,"nNFFin",void 0);lt([(0,U.IsString)(),(0,U.MinLength)(15),(0,U.MaxLength)(255),Mt("design:type",String)],Bt.prototype,"xJust",void 0);Bt=lt([(0,Py.Choice)({properties:["CNPJ","CPF"],required:!0})],Bt);var On=class{static{a(this,"InutilizacaoPayload")}$;infInut;Signature};lt([(0,U.IsObject)(),(0,U.ValidateNested)(),(0,Cl.Type)(()=>Bc),Mt("design:type",typeof IInutNFeAttributes>"u"?Object:IInutNFeAttributes)],On.prototype,"$",void 0);lt([(0,U.IsObject)(),(0,U.ValidateNested)(),(0,Cl.Type)(()=>Bt),Mt("design:type",typeof IInfInut>"u"?Object:IInfInut)],On.prototype,"infInut",void 0);lt([(0,U.Allow)(),Mt("design:type",typeof Signature>"u"?Object:Signature)],On.prototype,"Signature",void 0);var zy=require("nfets/core"),Wi=require("class-validator");function Kd(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(Kd,"_ts_decorate");function Ey(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ey,"_ts_metadata");var la=class{static{a(this,"ConsultaProtocoloPayload")}tpAmb;xServ="CONSULTAR";chNFe};Kd([(0,Wi.IsEnum)(zy.Environment),Ey("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],la.prototype,"tpAmb",void 0);Kd([(0,Wi.IsOptional)()],la.prototype,"xServ",void 0);Kd([(0,Wi.IsString)(),(0,Wi.Length)(44,44),(0,Wi.Matches)(/^[A-Z0-9]{44}$/),Ey("design:type",String)],la.prototype,"chNFe",void 0);var Rl=require("nfets/core"),Bo=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 Nl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Nl,"_ts_metadata");var xi=class{static{a(this,"NfeAutorizacaoPayload")}tpAmb;cUF;idLote;indSinc="1";NFe};Mc([(0,Bo.IsEnum)(Rl.Environment),(0,Bo.IsOptional)(),Nl("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],xi.prototype,"tpAmb",void 0);Mc([(0,Bo.IsEnum)(Rl.StateCodes),(0,Bo.IsOptional)(),Nl("design:type",typeof StateCode>"u"?Object:StateCode)],xi.prototype,"cUF",void 0);Mc([(0,Bo.IsString)(),(0,Bo.IsOptional)(),Nl("design:type",String)],xi.prototype,"idLote",void 0);Mc([(0,Bo.IsOptional)(),(0,Bo.IsEnum)(["0","1"])],xi.prototype,"indSinc",void 0);Mc([(0,Bo.IsNotEmpty)(),Nl("design:type",typeof T>"u"?Object:T)],xi.prototype,"NFe",void 0);var By=require("nfets/core"),wl=require("class-validator");function jy(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(jy,"_ts_decorate");function Ty(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ty,"_ts_metadata");var ts=class{static{a(this,"RetAutorizacaoPayload")}tpAmb;nRec};jy([(0,wl.IsEnum)(By.Environment),Ty("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],ts.prototype,"tpAmb",void 0);jy([(0,wl.IsString)(),Ty("design:type",String)],ts.prototype,"nRec",void 0);var oe=require("class-validator"),Lc=require("class-transformer"),Ol=require("nfets/core");function ut(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,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(ut,"_ts_decorate");function wt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(wt,"_ts_metadata");var Il=class{static{a(this,"InfEventoAttributes")}Id};ut([(0,oe.IsString)(),wt("design:type",String)],Il.prototype,"Id",void 0);var Rt=class{static{a(this,"InfEvento")}$;cOrgao;tpAmb;CNPJ;CPF;chNFe;dhEvento;tpEvento;nSeqEvento;verEvento;detEvento};ut([(0,oe.IsObject)(),(0,oe.ValidateNested)(),(0,Lc.Type)(()=>Il),wt("design:type",typeof IInfEventoAttributes>"u"?Object:IInfEventoAttributes)],Rt.prototype,"$",void 0);ut([(0,oe.IsString)(),wt("design:type",typeof StateCode>"u"?Object:StateCode)],Rt.prototype,"cOrgao",void 0);ut([(0,oe.IsString)(),wt("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Rt.prototype,"tpAmb",void 0);ut([(0,oe.IsString)(),(0,oe.IsOptional)(),wt("design:type",String)],Rt.prototype,"CNPJ",void 0);ut([(0,oe.IsString)(),(0,oe.IsOptional)(),wt("design:type",String)],Rt.prototype,"CPF",void 0);ut([(0,oe.IsString)(),wt("design:type",String)],Rt.prototype,"chNFe",void 0);ut([(0,Ol.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),wt("design:type",String)],Rt.prototype,"dhEvento",void 0);ut([(0,oe.IsEnum)(Co),wt("design:type",typeof Co>"u"?Object:Co)],Rt.prototype,"tpEvento",void 0);ut([(0,oe.IsNumber)(),wt("design:type",Number)],Rt.prototype,"nSeqEvento",void 0);ut([(0,oe.IsString)(),wt("design:type",String)],Rt.prototype,"verEvento",void 0);ut([(0,oe.IsObject)(),wt("design:type",typeof T>"u"?Object:T)],Rt.prototype,"detEvento",void 0);Rt=ut([(0,Ol.Choice)({properties:["CNPJ","CPF"],required:!0})],Rt);var Fl=class{static{a(this,"EventoItemAttributes")}xmlns};ut([(0,oe.IsString)(),wt("design:type",String)],Fl.prototype,"xmlns",void 0);var Ki=class{static{a(this,"EventoItem")}$;infEvento;Signature};ut([(0,oe.IsObject)(),(0,oe.ValidateNested)(),(0,Lc.Type)(()=>Fl),wt("design:type",typeof IEventoItemAttributes>"u"?Object:IEventoItemAttributes)],Ki.prototype,"$",void 0);ut([(0,oe.IsObject)(),(0,oe.ValidateNested)(),(0,Lc.Type)(()=>Rt),wt("design:type",typeof Rt>"u"?Object:Rt)],Ki.prototype,"infEvento",void 0);ut([(0,oe.Allow)(),wt("design:type",typeof Signature>"u"?Object:Signature)],Ki.prototype,"Signature",void 0);var os=class{static{a(this,"EventoPayload")}idLote;evento};ut([(0,oe.IsString)(),wt("design:type",String)],os.prototype,"idLote",void 0);ut([(0,oe.IsNotEmpty)(),(0,oe.ValidateNested)(),(0,Lc.Type)(()=>Ki),wt("design:type",typeof Ki>"u"?Object:Ki)],os.prototype,"evento",void 0);var My=require("nfets/core"),Ly=require("nfets/core"),Ko=require("class-validator");function is(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(is,"_ts_decorate");function Al(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Al,"_ts_metadata");var bi=class{static{a(this,"ConsultaCadastroPayload")}xServ="CONS-CAD";UF;IE="";CNPJ="";CPF=""};is([(0,Ko.IsOptional)()],bi.prototype,"xServ",void 0);is([(0,Ko.IsString)(),(0,Ko.IsIn)(Object.values(My.StateAcronyms)),Al("design:type",typeof StateAcronym>"u"?Object:StateAcronym)],bi.prototype,"UF",void 0);is([(0,Ko.IsOptional)(),(0,Ko.IsString)(),Al("design:type",String)],bi.prototype,"IE",void 0);is([(0,Ko.IsOptional)(),(0,Ko.IsString)(),Al("design:type",String)],bi.prototype,"CNPJ",void 0);is([(0,Ko.IsOptional)(),(0,Ko.IsString)(),Al("design:type",String)],bi.prototype,"CPF",void 0);bi=is([(0,Ly.Choice)({properties:["IE","CNPJ","CPF"],required:!0})],bi);var ie=require("nfets/core"),Vy={AM:{[ie.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"}},[ie.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:{[ie.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"}},[ie.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:{[ie.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"}},[ie.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:{[ie.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"}},[ie.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:{[ie.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"}},[ie.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:{[ie.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"}},[ie.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:{[ie.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"}},[ie.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:{[ie.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"}},[ie.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:{[ie.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"}},[ie.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:{[ie.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"}},[ie.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:{[ie.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"}},[ie.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:{[ie.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"}},[ie.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:{[ie.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"}},[ie.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:{[ie.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"}},[ie.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:{[ie.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"}},[ie.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 ue=require("nfets/core"),Pw={[ue.StateCodes.AC]:"SVRS",[ue.StateCodes.AL]:"SVRS",[ue.StateCodes.AM]:"AM",[ue.StateCodes.AP]:"SVRS",[ue.StateCodes.BA]:"BA",[ue.StateCodes.CE]:"SVRS",[ue.StateCodes.DF]:"SVRS",[ue.StateCodes.ES]:"SVRS",[ue.StateCodes.GO]:"GO",[ue.StateCodes.MA]:"SVAN",[ue.StateCodes.MG]:"MG",[ue.StateCodes.MS]:"MS",[ue.StateCodes.MT]:"MT",[ue.StateCodes.PA]:"SVRS",[ue.StateCodes.PB]:"SVRS",[ue.StateCodes.PE]:"PE",[ue.StateCodes.PI]:"SVRS",[ue.StateCodes.PR]:"PR",[ue.StateCodes.RJ]:"SVRS",[ue.StateCodes.RN]:"SVRS",[ue.StateCodes.RO]:"SVRS",[ue.StateCodes.RR]:"SVRS",[ue.StateCodes.RS]:"RS",[ue.StateCodes.SC]:"SVRS",[ue.StateCodes.SE]:"SVRS",[ue.StateCodes.SP]:"SP",[ue.StateCodes.TO]:"SVRS",AN:"AN",SVAN:"SVAN",SVRS:"SVRS",SVCAN:"SVCAN",SVCRS:"SVCRS"},_y=Pw;var de=require("nfets/core"),Dl={[de.StateCodes.AC]:"SVCAN",[de.StateCodes.AL]:"SVCAN",[de.StateCodes.AM]:"SVCRS",[de.StateCodes.AP]:"SVCAN",[de.StateCodes.BA]:"SVCRS",[de.StateCodes.CE]:"SVCAN",[de.StateCodes.DF]:"SVCAN",[de.StateCodes.ES]:"SVCAN",[de.StateCodes.GO]:"SVCRS",[de.StateCodes.MA]:"SVCRS",[de.StateCodes.MG]:"SVCAN",[de.StateCodes.MS]:"SVCRS",[de.StateCodes.MT]:"SVCRS",[de.StateCodes.PA]:"SVCAN",[de.StateCodes.PB]:"SVCAN",[de.StateCodes.PE]:"SVCRS",[de.StateCodes.PI]:"SVCAN",[de.StateCodes.PR]:"SVCRS",[de.StateCodes.RJ]:"SVCAN",[de.StateCodes.RN]:"SVCAN",[de.StateCodes.RO]:"SVCAN",[de.StateCodes.RR]:"SVCAN",[de.StateCodes.RS]:"SVCAN",[de.StateCodes.SC]:"SVCAN",[de.StateCodes.SE]:"SVCAN",[de.StateCodes.SP]:"SVCAN",[de.StateCodes.TO]:"SVCAN"};function ua(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(ua,"_ts_decorate");function Je(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Je,"_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??=Zo.PL_009_V4,this}service(e){let o=e.cUF??this.options.cUF,i=e.tpAmb??this.options.tpAmb,r=this.options.contingency?Dl[o]:_y[o];return Vy[r][i][e.service]}errors(){return Reflect.getMetadata(Si.ValidateErrorsMetadata,this)}validate(e){try{let o=this.errors();return o?(0,El.left)(new Pl.NFeTsError(o.join(", "))):("cUF"in e&&(e.cUF??=this.options.cUF),"tpAmb"in e&&(e.tpAmb??=this.options.tpAmb),(0,El.right)(e))}finally{Reflect.deleteMetadata(Si.ValidateErrorsMetadata,this)}}ns(e,o){let i=e.$??{};return i.xmlns=this.xmlns,i.versao=o,{...e,$:i}}xsd(e){return qy.default.resolve(fc(),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:Pl.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})}};ua([(0,Si.Validates)(hr),Je("design:type",Function),Je("design:paramtypes",[typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload]),Je("design:returntype",Promise)],Oo.prototype,"consultStatus",null);ua([(0,Si.Validates)(On),Je("design:type",Function),Je("design:paramtypes",[typeof IInutilizacaoPayload>"u"?Object:IInutilizacaoPayload]),Je("design:returntype",Promise)],Oo.prototype,"inutilizacao",null);ua([(0,Si.Validates)(la),Je("design:type",Function),Je("design:paramtypes",[typeof IConsultaProtocoloPayload>"u"?Object:IConsultaProtocoloPayload]),Je("design:returntype",Promise)],Oo.prototype,"consultaProtocolo",null);ua([(0,Si.Validates)(xi),Je("design:type",Function),Je("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),Je("design:returntype",Promise)],Oo.prototype,"autorizacao",null);ua([(0,Si.Validates)(ts),Je("design:type",Function),Je("design:paramtypes",[typeof IRetAutorizacaoPayload>"u"?Object:IRetAutorizacaoPayload]),Je("design:returntype",Promise)],Oo.prototype,"retAutorizacao",null);ua([(0,Si.Validates)(os),Je("design:type",Function),Je("design:paramtypes",[Object]),Je("design:returntype",Promise)],Oo.prototype,"recepcaoEvento",null);ua([(0,Si.Validates)(bi),Je("design:type",Function),Je("design:paramtypes",[typeof IConsultaCadastroPayload>"u"?Object:IConsultaCadastroPayload]),Je("design:returntype",Promise)],Oo.prototype,"consultaCadastro",null);var Ao=class extends $a{static{a(this,"TransmissionPipeline")}certificate;transmitter=new Oo(this.soap);constructor(e){super(e),this.certificate=e}};function Ew(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(Ew,"_ts_decorate");function $d(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a($d,"_ts_metadata");var Vc=class extends Ao{static{a(this,"EventPipeline")}async event(e,o,i){let r=await this.certificates.read(this.certificate);if(r.isLeft())return r;let n=o.chNFe.slice(0,2);this.transmitter.configure({cUF:n,...i,certificate:r.value});let s=Vp[e],c=this.certificates.getCertificateInfo(r.value.certificate),{nSeqEvento:p,dhEvento:u,chNFe:l}=o,f=["ID",e,l,p.toString().padStart(2,"0")].join(""),g={$:{xmlns:this.xmlns},infEvento:{$:{Id:f},cOrgao:n,tpAmb:i.tpAmb,CNPJ:c.CNPJ,CPF:c.CPF,chNFe:l,dhEvento:u,tpEvento:e,nSeqEvento:p,verEvento:s.version,detEvento:{$:{versao:s.version},descEvento:s.descEvento,...o.detEvento}}},y=this.validated(g);return y.isLeft()?y:await this.signer.sign(y.value,{tag:"infEvento",mark:"Id"},r.value)}versionedEvent(e,o){let i=e.$;return{...e,$:{...i,xmlns:this.xmlns,versao:o}}}async protocol(e,o,i){let{cStat:r}=o.infEvento;if(!Object.values(ju).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,vr.left)(new vr.NFeTsError(o.join(", "))):(0,vr.right)(e)}};Ew([(0,vr.Validates)(Ki),$d("design:type",Function),$d("design:paramtypes",[typeof IEventoItem>"u"?Object:IEventoItem]),$d("design:returntype",void 0)],Vc.prototype,"validated",null);var ns=require("nfets/core");var _c=class extends Vc{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},r=await this.event(Co.Cancelamento,i,o);if(r.isLeft())return r;let n=r.value,s=Vp[Co.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,ns.left)(new ns.NFeTsError("Evento de cancelamento n\xE3o retornado"));let l=await this.protocol(this.versionedEvent(n,s),u,s);return(0,ns.right)({xml:l,response:p})}};var da=(function(t){return t.Asynchronous="0",t.Synchronous="1",t})({});var ef=(function(t){return t.LotReceived="103",t.ProcessedBatch="104",t})({});var Uy=require("nfets/core");var qc=class extends Uy.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 Mo=require("nfets/core");var ky=(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 Uc=class extends Ao{static{a(this,"NfeAuthorizerPipeline")}async execute(e,o){e.indSinc??=da.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,Mo.right)(await this.handleLotNotProcessed(r.value,c)):e.indSinc===da.Synchronous&&this.isSyncResponse(c)?(0,Mo.right)(await this.response(r.value,c)):e.indSinc===da.Asynchronous&&this.hasReceipt(c)?await this.handleAsyncResponse(r.value,c):(0,Mo.left)(new qc)}async protocol(e,o){let{cStat:i}=o.infProt;if(!Object.values(ky).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,Mo.left)(n.value):(0,Mo.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,Mo.left)(new Mo.NFeTsError("Failed to sign a NFe in batch")):(0,Mo.right)(i.filter(r=>r.isRight()).map(r=>r.value))}isLotNotProcessed(e,o){let{cStat:i}=e.retEnviNFe,r=o.indSinc??da.Synchronous;return r===da.Asynchronous&&i!==ef.LotReceived.toString()||r===da.Synchronous&&i!==ef.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,s=1;for(;s<=3;)try{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)continue;return(0,Mo.right)(await this.response(e,{retEnviNFe:{...c.value.retConsReciNFe,protNFe:p}}))}finally{s++}return(0,Mo.left)(new qc)}contingency(e){let{dhCont:o,xJust:i,tpEmis:r}=e.infNFe.ide;if(!(!o||!i||r===bt.Normal))return{dhCont:o,xJust:i}}};var Ci=require("nfets/core");function zw(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(zw,"_ts_decorate");function tf(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(tf,"_ts_metadata");var rs=class extends Ao{static{a(this,"NfeVoidRangePipeline")}async execute(e,o){let i=await this.certificates.read(this.certificate);if(i.isLeft())return i;let r=this.certificates.getCertificateInfo(i.value.certificate);this.transmitter.configure({...o,certificate:i.value});let n=e.ano??new Date().getFullYear().toString().slice(2),s=["ID",o.cUF,n,r.CNPJ?.padStart(14,"0")??"",e.mod,e.serie.padStart(3,"0"),e.nNFIni.padStart(9,"0"),e.nNFFin.padStart(9,"0")].join(""),c={$:{xmlns:this.xmlns},infInut:{$:{Id:s},tpAmb:e.tpAmb??o.tpAmb,cUF:o.cUF,ano:n,CNPJ:r.CNPJ,CPF:r.CPF,mod:e.mod,serie:e.serie,nNFIni:e.nNFIni,nNFFin:e.nNFFin,xJust:e.xJust}},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 f=l.value,g=f.retInutNFe;if(!g)return(0,Ci.left)(new Ci.NFeTsError("Retorno de inutiliza\xE7\xE3o n\xE3o retornado"));let y=g.$.versao,x=await this.protocol(this.versionedInutNFe(u.value,y),g,y);return(0,Ci.right)({xml:x,response:f})}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(Bu).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,Ci.left)(new Ci.NFeTsError(o.join(", "))):(0,Ci.right)(e)}};zw([(0,Ci.Validates)(On),tf("design:type",Function),tf("design:paramtypes",[typeof IIInutilizacaoPayload>"u"?Object:IIInutilizacaoPayload]),tf("design:returntype",void 0)],rs.prototype,"validated",null);var kc=class extends Ao{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 Hc=class extends Ao{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 of=class extends Ao{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 Hy=Tt(require("crypto"),1),An=require("nfets/core");var Lt=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,An.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,An.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!==bt.OFFLINE)return`${c}|${p}|${n}|${s}`;let l=e.Signature.SignedInfo.Reference.DigestValue.split("").map(y=>y.charCodeAt(0).toString(16).padStart(2,"0")).join(""),f=new Date(e.infNFe.ide.dhEmi).getDate(),g=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2);return`${c}|${p}|${n}|${f}|${g}|${l}|${s}`}async execute200(e,o){let{urlService:i,CSC:r}=o,n=this.getSequence(e,o),s=Hy.default.createHash("sha1").update(`${n}${r}`).digest("hex").toUpperCase(),c=`${i}?p=`;return Promise.resolve((0,An.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!==bt.OFFLINE)return(0,An.right)(`${r}${s}|${c}|${n}`);let p=this.emissionDayOfMonthFormatted(e.infNFe.ide.dhEmi),u=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2),{tipo:l,documento:f}=this.getQrcodeV300OfflineIdentification(e.infNFe.dest),g=`${s}|${c}|${n}|${p}|${u}|${l}|${f}`,y=await this.certificateRepository.sign(g,o.certificate,An.SignatureAlgorithm.SHA1);return y.isLeft()?y:(0,An.right)(`${r}${g}|${y.value}`)}};var af=require("nfets/core");var A=require("nfets/core"),nf={AC:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hml.sefaznet.ac.gov.br/nfce/qrcode"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaznet.ac.gov.br/nfce/qrcode"}}},AL:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}}},AM:{[A.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"}},[A.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:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.sefaz.ap.gov.br/nfcehml/nfce.php"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.ap.gov.br/nfce/nfcep.php"}}},BA:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hnfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}}},CE:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfceh.sefaz.ce.gov.br/pages/ShowNFCe.html"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.ce.gov.br/pages/ShowNFCe.html"}}},DF:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://dec.fazenda.df.gov.br/ConsultarNFCe.aspx"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.fazenda.df.gov.br/nfce/qrcode"}}},ES:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://app.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}}},GO:{[A.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"}},[A.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:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}}},MG:{[A.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"}},[A.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:{[A.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"}},[A.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:{[A.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"}},[A.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:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://appnfc.sefa.pa.gov.br/portal-homologacao/view/consultas/nfce/nfceForm.seam"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://appnfc.sefa.pa.gov.br/portal/view/consultas/nfce/nfceForm.seam"}}},PB:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pb.gov.br/nfcehom"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pb.gov.br/nfce"}}},PE:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfcehomolog.sefaz.pe.gov.br/nfce/consulta"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.pe.gov.br/nfce/consulta"}}},PI:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}}},PR:{[A.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"}},[A.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:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www4.fazenda.rj.gov.br/consultaNFCe/QRCode"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://consultadfe.fazenda.rj.gov.br/consultaNFCe/QRCode"}}},RN:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hom.nfce.set.rn.gov.br/consultarNFCe.aspx"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.set.rn.gov.br/consultarNFCe.aspx"}}},RO:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}}},RR:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://200.174.88.103:8080/nfce/servlet/qrcode"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.rr.gov.br/servlet/qrcode"}}},RS:{[A.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"}},[A.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:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://hom.sat.sef.sc.gov.br/nfce/consulta"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://sat.sef.sc.gov.br/nfce/consulta"}}},SE:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfe.se.gov.br/nfce/qrcode"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.se.gov.br/nfce/qrcode"}}},SP:{[A.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"}},[A.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:{[A.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.to.gov.br/nfce/qrcode"}},[A.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.to.gov.br/nfce/qrcode"}}},SVRS:{[A.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"}},[A.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:{[A.Environment.Homolog]:{},[A.Environment.Production]:{}}};var D=require("nfets/core"),Gy={[D.Environment.Homolog]:{[D.StateCodes.AC]:"www.sefaznet.ac.gov.br/nfce/consulta",[D.StateCodes.AL]:"www.sefaz.al.gov.br/nfce/consulta",[D.StateCodes.AP]:"www.sefaz.ap.gov.br/nfce/consulta",[D.StateCodes.AM]:"www.sefaz.am.gov.br/nfce/consulta",[D.StateCodes.BA]:"http://hinternet.sefaz.ba.gov.br/nfce/consulta",[D.StateCodes.CE]:"www.sefaz.ce.gov.br/nfce/consulta",[D.StateCodes.DF]:"www.fazenda.df.gov.br/nfce/consulta",[D.StateCodes.ES]:"www.sefaz.es.gov.br/nfce/consulta",[D.StateCodes.GO]:"www.nfce.go.gov.br/post/ver/214413/consulta-nfc-e-homologacao",[D.StateCodes.MA]:"www.sefaz.ma.gov.br/nfce/consulta",[D.StateCodes.MG]:"https://hportalsped.fazenda.mg.gov.br/portalnfce",[D.StateCodes.MS]:"http://www.dfe.ms.gov.br/nfce/consulta",[D.StateCodes.MT]:"http://homologacao.sefaz.mt.gov.br/nfce/consultanfce",[D.StateCodes.PA]:"www.sefa.pa.gov.br/nfce/consulta",[D.StateCodes.PB]:"www.sefaz.pb.gov.br/nfcehom",[D.StateCodes.PE]:"nfce.sefaz.pe.gov.br/nfce/consulta",[D.StateCodes.PR]:"http://www.fazenda.pr.gov.br/nfce/consulta",[D.StateCodes.PI]:"www.sefaz.pi.gov.br/nfce/consulta",[D.StateCodes.RJ]:"www.fazenda.rj.gov.br/nfce/consulta",[D.StateCodes.RN]:"www.set.rn.gov.br/nfce/consulta",[D.StateCodes.RO]:"www.sefin.ro.gov.br/nfce/consulta",[D.StateCodes.RR]:"www.sefaz.rr.gov.br/nfce/consulta",[D.StateCodes.RS]:"www.sefaz.rs.gov.br/nfce/consulta",[D.StateCodes.SE]:"http://www.hom.nfe.se.gov.br/nfce/consulta",[D.StateCodes.SC]:"https://hom.sat.sef.sc.gov.br/nfce/consulta",[D.StateCodes.SP]:"https://www.homologacao.nfce.fazenda.sp.gov.br/NFCeConsultaPublica",[D.StateCodes.TO]:"http://homologacao.sefaz.to.gov.br/nfce/consulta.jsf"},[D.Environment.Production]:{[D.StateCodes.AC]:"www.sefaznet.ac.gov.br/nfce/consulta",[D.StateCodes.AL]:"www.sefaz.al.gov.br/nfce/consulta",[D.StateCodes.AP]:"www.sefaz.ap.gov.br/nfce/consulta",[D.StateCodes.AM]:"www.sefaz.am.gov.br/nfce/consulta",[D.StateCodes.BA]:"http://www.sefaz.ba.gov.br/nfce/consulta",[D.StateCodes.CE]:"www.sefaz.ce.gov.br/nfce/consulta",[D.StateCodes.DF]:"www.fazenda.df.gov.br/nfce/consulta",[D.StateCodes.ES]:"www.sefaz.es.gov.br/nfce/consulta",[D.StateCodes.GO]:"www.sefaz.go.gov.br/nfce/consulta",[D.StateCodes.MA]:"www.sefaz.ma.gov.br/nfce/consulta",[D.StateCodes.MG]:"https://portalsped.fazenda.mg.gov.br/portalnfce",[D.StateCodes.MS]:"http://www.dfe.ms.gov.br/nfce/consulta",[D.StateCodes.MT]:"http://www.sefaz.mt.gov.br/nfce/consultanfce",[D.StateCodes.PA]:"www.sefa.pa.gov.br/nfce/consulta",[D.StateCodes.PE]:"nfce.sefaz.pe.gov.br/nfce/consulta",[D.StateCodes.PR]:"http://www.fazenda.pr.gov.br/nfce/consulta",[D.StateCodes.PI]:"www.sefaz.pi.gov.br/nfce/consulta",[D.StateCodes.RJ]:"www.fazenda.rj.gov.br/nfce/consulta",[D.StateCodes.RN]:"www.set.rn.gov.br/nfce/consulta",[D.StateCodes.RO]:"www.sefin.ro.gov.br/nfce/consulta",[D.StateCodes.RR]:"www.sefaz.rr.gov.br/nfce/consulta",[D.StateCodes.RS]:"www.sefaz.rs.gov.br/nfce/consulta",[D.StateCodes.SC]:"https://sat.sef.sc.gov.br/nfce/consulta",[D.StateCodes.SE]:"http://www.nfce.se.gov.br/nfce/consulta",[D.StateCodes.SP]:"https://www.nfce.fazenda.sp.gov.br/NFCeConsultaPublica",[D.StateCodes.TO]:"www.sefaz.to.gov.br/nfce/consulta",[D.StateCodes.PB]:"www.sefaz.pb.gov.br/nfce/consulta"}};var fe=require("nfets/core"),jw={[fe.StateCodes.AC]:"SVRS",[fe.StateCodes.AL]:"SVRS",[fe.StateCodes.AM]:"AM",[fe.StateCodes.AP]:"SVRS",[fe.StateCodes.BA]:"SVRS",[fe.StateCodes.CE]:"SVRS",[fe.StateCodes.DF]:"SVRS",[fe.StateCodes.ES]:"SVRS",[fe.StateCodes.GO]:"GO",[fe.StateCodes.MA]:"SVRS",[fe.StateCodes.MG]:"MG",[fe.StateCodes.MS]:"MS",[fe.StateCodes.MT]:"MT",[fe.StateCodes.PA]:"SVRS",[fe.StateCodes.PB]:"SVRS",[fe.StateCodes.PE]:"SVRS",[fe.StateCodes.PI]:"SVRS",[fe.StateCodes.PR]:"PR",[fe.StateCodes.RJ]:"SVRS",[fe.StateCodes.RN]:"SVRS",[fe.StateCodes.RO]:"SVRS",[fe.StateCodes.RR]:"SVRS",[fe.StateCodes.RS]:"RS",[fe.StateCodes.SC]:"SVRS",[fe.StateCodes.SE]:"SVRS",[fe.StateCodes.SP]:"SP",[fe.StateCodes.TO]:"SVRS",SVRS:"SVRS"},Qy=jw;var zl=class extends xi{static{a(this,"NfceAutorizacaoPayload")}};var Yy=require("nfets/core");function Tw(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(Tw,"_ts_decorate");function rf(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(rf,"_ts_metadata");var It=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=Qy[o],c=nf[r][i][e.service];if(c)return c;let p=Object.keys(af.StateCodes).find(u=>af.StateCodes[u]===o);return nf[p][i][e.service]}getUrlConsult(e){let o=e.infNFe.ide.cUF,i=e.infNFe.ide.tpAmb;return Gy[i][o]}async autorizacao(e){return super.autorizacao(e)}};Tw([(0,Yy.Validates)(zl),rf("design:type",Function),rf("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),rf("design:returntype",Promise)],It.prototype,"autorizacao",null);var sf=class extends _c{static{a(this,"NfceCancelPipeline")}qrCode=new Lt(this.certificates);transmitter=new It(this.soap,this.qrCode)};var Gc=class extends Uc{static{a(this,"NfceAuthorizerPipeline")}certificate;qrCode=new Lt(this.certificates);transmitter=new It(this.soap,this.qrCode);constructor(e){super(e),this.certificate=e}};var Ft=require("nfets/core");var cf=class extends Gc{static{a(this,"NfceContingencyXmlAuthorizerPipeline")}certificate;qrCode=new Lt(this.certificates);transmitter=new It(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,Ft.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,Ft.left)(r?.value??new Ft.NFeTsError("NFC-e XML must be signed"))}return(0,Ft.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,Ft.left)(new Ft.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,Ft.left)(new Ft.NFeTsError("NFC-e XML signature digest mismatch")):(0,Ft.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,Ft.right)(n)}signatureAlgorithm(e){return e.Signature?.SignedInfo?.Reference?.DigestMethod?.$?.Algorithm===Ft.DigestAlgorithm.SHA256?Ft.SignatureAlgorithm.SHA256:Ft.SignatureAlgorithm.SHA1}};var pf=class extends rs{static{a(this,"NfceVoidRangePipeline")}qrCode=new Lt(this.certificates);transmitter=new It(this.soap,this.qrCode)};var lf=class extends kc{static{a(this,"NfceConsultStatusPipeline")}qrCode=new Lt(this.certificates);transmitter=new It(this.soap,this.qrCode)};var uf=class extends Hc{static{a(this,"NfceConsultProtocoloPipeline")}qrCode=new Lt(this.certificates);transmitter=new It(this.soap,this.qrCode)};var Bx=Tt(require("path"),1),Ys=require("nfets/core");var yo=require("class-validator");var j=require("class-validator"),tt=require("class-transformer");var F=require("class-validator"),Qc=require("class-transformer"),ss=require("nfets/core"),Zy=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 M(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(M,"_ts_metadata");var Dn=class{static{a(this,"RefNF")}cUF;AAMM;CNPJ;mod;serie;nNF};B([(0,F.IsString)(),M("design:type",String)],Dn.prototype,"cUF",void 0);B([(0,F.IsString)(),M("design:type",String)],Dn.prototype,"AAMM",void 0);B([(0,F.IsString)(),M("design:type",String)],Dn.prototype,"CNPJ",void 0);B([(0,F.IsString)(),M("design:type",String)],Dn.prototype,"mod",void 0);B([(0,F.IsString)(),M("design:type",String)],Dn.prototype,"serie",void 0);B([(0,F.IsString)(),M("design:type",String)],Dn.prototype,"nNF",void 0);var Lo=class{static{a(this,"RefNFP")}cUF;AAMM;CNPJ="";CPF="";IE;mod;serie;nNF};B([(0,F.IsString)(),M("design:type",String)],Lo.prototype,"cUF",void 0);B([(0,F.IsString)(),M("design:type",String)],Lo.prototype,"AAMM",void 0);B([(0,F.IsOptional)(),(0,F.IsString)(),M("design:type",String)],Lo.prototype,"CNPJ",void 0);B([(0,F.IsOptional)(),(0,F.IsString)(),M("design:type",String)],Lo.prototype,"CPF",void 0);B([(0,F.IsString)(),M("design:type",String)],Lo.prototype,"IE",void 0);B([(0,F.IsString)(),M("design:type",String)],Lo.prototype,"mod",void 0);B([(0,F.IsString)(),M("design:type",String)],Lo.prototype,"serie",void 0);B([(0,F.IsString)(),M("design:type",String)],Lo.prototype,"nNF",void 0);Lo=B([(0,ss.Choice)({properties:["CNPJ","CPF"],required:!0})],Lo);var as=class{static{a(this,"RefECF")}mod;nECF;nCOO};B([(0,F.IsString)(),M("design:type",String)],as.prototype,"mod",void 0);B([(0,F.IsString)(),M("design:type",String)],as.prototype,"nECF",void 0);B([(0,F.IsString)(),M("design:type",String)],as.prototype,"nCOO",void 0);var Pn=class{static{a(this,"NFref")}refNFe;refNFeSig;refNF;refNFP;refCTe;refECF};B([(0,F.IsOptional)(),(0,F.IsString)(),M("design:type",String)],Pn.prototype,"refNFe",void 0);B([(0,F.IsOptional)(),(0,F.IsString)(),M("design:type",String)],Pn.prototype,"refNFeSig",void 0);B([(0,F.IsOptional)(),(0,F.ValidateNested)(),(0,Qc.Type)(()=>Dn),M("design:type",typeof IRefNF>"u"?Object:IRefNF)],Pn.prototype,"refNF",void 0);B([(0,F.IsOptional)(),(0,F.ValidateNested)(),(0,Qc.Type)(()=>Lo),M("design:type",typeof IRefNFP>"u"?Object:IRefNFP)],Pn.prototype,"refNFP",void 0);B([(0,F.IsOptional)(),(0,F.IsString)(),M("design:type",String)],Pn.prototype,"refCTe",void 0);B([(0,F.IsOptional)(),(0,F.ValidateNested)(),(0,Qc.Type)(()=>as),M("design:type",typeof IRefECF>"u"?Object:IRefECF)],Pn.prototype,"refECF",void 0);var ne=class{static{a(this,"Ide")}cUF;cNF;natOp;mod;serie;nNF;dhEmi;dhSaiEnt;tpNF;idDest;cMunFG;tpImp;tpEmis;cDV="";tpAmb;finNFe;indFinal;indPres;indIntermed;procEmi;verProc;dhCont;xJust;NFref};B([(0,F.IsEnum)(Zy.StateCodes),M("design:type",typeof StateCode>"u"?Object:StateCode)],ne.prototype,"cUF",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"cNF",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"natOp",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"mod",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"serie",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"nNF",void 0);B([(0,ss.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),M("design:type",String)],ne.prototype,"dhEmi",void 0);B([(0,F.IsOptional)(),(0,ss.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),M("design:type",String)],ne.prototype,"dhSaiEnt",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"tpNF",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"idDest",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"cMunFG",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"tpImp",void 0);B([(0,F.IsString)(),M("design:type",typeof TpEmis>"u"?Object:TpEmis)],ne.prototype,"tpEmis",void 0);B([(0,F.IsString)(),(0,F.IsOptional)(),M("design:type",String)],ne.prototype,"cDV",void 0);B([(0,F.IsString)(),M("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],ne.prototype,"tpAmb",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"finNFe",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"indFinal",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"indPres",void 0);B([(0,F.IsOptional)(),(0,F.IsString)(),M("design:type",String)],ne.prototype,"indIntermed",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"procEmi",void 0);B([(0,F.IsString)(),M("design:type",String)],ne.prototype,"verProc",void 0);B([(0,F.IsOptional)(),(0,F.IsString)(),(0,ss.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),M("design:type",String)],ne.prototype,"dhCont",void 0);B([(0,F.IsOptional)(),(0,F.IsString)(),M("design:type",String)],ne.prototype,"xJust",void 0);B([(0,F.IsOptional)(),(0,F.IsArray)(),(0,F.ArrayMaxSize)(999),(0,F.ValidateNested)({each:!0}),(0,Qc.Type)(()=>Pn),M("design:type",Array)],ne.prototype,"NFref",void 0);var dt=require("class-validator"),Xy=require("nfets/core"),Jy=require("class-transformer");var _t=require("class-validator");function Ni(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(Ni,"_ts_decorate");function Ri(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ri,"_ts_metadata");var Vt=class{static{a(this,"EnderEmit")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};Ni([(0,_t.IsString)(),Ri("design:type",String)],Vt.prototype,"xLgr",void 0);Ni([(0,_t.IsString)(),Ri("design:type",String)],Vt.prototype,"nro",void 0);Ni([(0,_t.IsOptional)(),(0,_t.IsString)(),Ri("design:type",String)],Vt.prototype,"xCpl",void 0);Ni([(0,_t.IsString)(),Ri("design:type",String)],Vt.prototype,"xBairro",void 0);Ni([(0,_t.IsString)(),Ri("design:type",String)],Vt.prototype,"cMun",void 0);Ni([(0,_t.IsString)(),Ri("design:type",String)],Vt.prototype,"xMun",void 0);Ni([(0,_t.IsString)(),Ri("design:type",String)],Vt.prototype,"UF",void 0);Ni([(0,_t.IsString)(),Ri("design:type",String)],Vt.prototype,"CEP",void 0);Ni([(0,_t.IsOptional)(),(0,_t.IsString)(),Ri("design:type",String)],Vt.prototype,"cPais",void 0);Ni([(0,_t.IsOptional)(),(0,_t.IsString)(),Ri("design:type",String)],Vt.prototype,"xPais",void 0);Ni([(0,_t.IsOptional)(),(0,_t.IsString)(),Ri("design:type",String)],Vt.prototype,"fone",void 0);function wi(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(wi,"_ts_decorate");function $i(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a($i,"_ts_metadata");var Ot=class{static{a(this,"Emit")}CNPJ="";CPF="";xNome;xFant;enderEmit;IE;IEST;IM;CNAE;CRT};wi([(0,dt.IsOptional)(),(0,dt.IsString)(),$i("design:type",String)],Ot.prototype,"CNPJ",void 0);wi([(0,dt.IsOptional)(),(0,dt.IsString)(),$i("design:type",String)],Ot.prototype,"CPF",void 0);wi([(0,dt.IsString)(),$i("design:type",String)],Ot.prototype,"xNome",void 0);wi([(0,dt.IsOptional)(),(0,dt.IsString)(),$i("design:type",String)],Ot.prototype,"xFant",void 0);wi([(0,dt.ValidateNested)(),(0,Jy.Type)(()=>Vt),$i("design:type",typeof Vt>"u"?Object:Vt)],Ot.prototype,"enderEmit",void 0);wi([(0,dt.IsString)(),$i("design:type",String)],Ot.prototype,"IE",void 0);wi([(0,dt.IsOptional)(),(0,dt.IsString)(),$i("design:type",String)],Ot.prototype,"IEST",void 0);wi([(0,dt.IsOptional)(),(0,dt.IsString)(),$i("design:type",String)],Ot.prototype,"IM",void 0);wi([(0,dt.IsOptional)(),(0,dt.IsString)(),$i("design:type",String)],Ot.prototype,"CNAE",void 0);wi([(0,dt.IsString)(),$i("design:type",String)],Ot.prototype,"CRT",void 0);Ot=wi([(0,Xy.Choice)({properties:["CNPJ","CPF"],required:!0})],Ot);var He=require("class-validator"),Wy=require("class-transformer");var Oe=require("class-validator");function Ii(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Ii,"_ts_decorate");function Fi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Fi,"_ts_metadata");var po=class{static{a(this,"EnderDest")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};Ii([(0,Oe.IsOptional)(),(0,Oe.IsString)(),Fi("design:type",String)],po.prototype,"xLgr",void 0);Ii([(0,Oe.IsOptional)(),(0,Oe.IsString)(),Fi("design:type",String)],po.prototype,"nro",void 0);Ii([(0,Oe.IsOptional)(),(0,Oe.IsString)(),Fi("design:type",String)],po.prototype,"xCpl",void 0);Ii([(0,Oe.IsOptional)(),(0,Oe.IsString)(),Fi("design:type",String)],po.prototype,"xBairro",void 0);Ii([(0,Oe.IsOptional)(),(0,Oe.IsString)(),Fi("design:type",String)],po.prototype,"cMun",void 0);Ii([(0,Oe.IsOptional)(),(0,Oe.IsString)(),Fi("design:type",String)],po.prototype,"xMun",void 0);Ii([(0,Oe.IsOptional)(),(0,Oe.IsString)(),Fi("design:type",String)],po.prototype,"UF",void 0);Ii([(0,Oe.IsOptional)(),(0,Oe.IsString)(),Fi("design:type",String)],po.prototype,"CEP",void 0);Ii([(0,Oe.IsOptional)(),(0,Oe.IsString)(),Fi("design:type",String)],po.prototype,"cPais",void 0);Ii([(0,Oe.IsOptional)(),(0,Oe.IsString)(),Fi("design:type",String)],po.prototype,"xPais",void 0);Ii([(0,Oe.IsOptional)(),(0,Oe.IsString)(),Fi("design:type",String)],po.prototype,"fone",void 0);var Ky=require("nfets/core");function Oi(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(Oi,"_ts_decorate");function en(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(en,"_ts_metadata");var At=class{static{a(this,"Dest")}CNPJ="";CPF="";idEstrangeiro;xNome;enderDest;indIEDest;IE;ISUF;IM;email};Oi([(0,He.IsOptional)(),(0,He.IsString)(),en("design:type",String)],At.prototype,"CNPJ",void 0);Oi([(0,He.IsOptional)(),(0,He.IsString)(),en("design:type",String)],At.prototype,"CPF",void 0);Oi([(0,He.IsOptional)(),(0,He.IsString)(),en("design:type",String)],At.prototype,"idEstrangeiro",void 0);Oi([(0,He.IsOptional)(),(0,He.IsString)(),en("design:type",String)],At.prototype,"xNome",void 0);Oi([(0,He.IsOptional)(),(0,He.ValidateNested)(),(0,Wy.Type)(()=>po),en("design:type",typeof IEnderDest>"u"?Object:IEnderDest)],At.prototype,"enderDest",void 0);Oi([(0,He.IsString)(),en("design:type",String)],At.prototype,"indIEDest",void 0);Oi([(0,He.IsOptional)(),(0,He.IsString)(),en("design:type",String)],At.prototype,"IE",void 0);Oi([(0,He.IsOptional)(),(0,He.IsString)(),en("design:type",String)],At.prototype,"ISUF",void 0);Oi([(0,He.IsOptional)(),(0,He.IsString)(),en("design:type",String)],At.prototype,"IM",void 0);Oi([(0,He.IsOptional)(),(0,He.IsString)(),en("design:type",String)],At.prototype,"email",void 0);At=Oi([(0,Ky.Choice)({properties:["CNPJ","CPF"],required:!0})],At);var me=require("class-validator"),$y=require("nfets/core");function qt(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(qt,"_ts_decorate");function Xt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Xt,"_ts_metadata");var ye=class{static{a(this,"Local")}CNPJ;CPF;xNome;xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone;email;IE};qt([(0,me.IsOptional)(),(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"CNPJ",void 0);qt([(0,me.IsOptional)(),(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"CPF",void 0);qt([(0,me.IsOptional)(),(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"xNome",void 0);qt([(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"xLgr",void 0);qt([(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"nro",void 0);qt([(0,me.IsOptional)(),(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"xCpl",void 0);qt([(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"xBairro",void 0);qt([(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"cMun",void 0);qt([(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"xMun",void 0);qt([(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"UF",void 0);qt([(0,me.IsOptional)(),(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"CEP",void 0);qt([(0,me.IsOptional)(),(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"cPais",void 0);qt([(0,me.IsOptional)(),(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"xPais",void 0);qt([(0,me.IsOptional)(),(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"fone",void 0);qt([(0,me.IsOptional)(),(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"email",void 0);qt([(0,me.IsOptional)(),(0,me.IsString)(),Xt("design:type",String)],ye.prototype,"IE",void 0);ye=qt([(0,$y.Choice)({properties:["CNPJ","CPF"]})],ye);var cs=require("class-validator"),tx=require("nfets/core");function df(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(df,"_ts_decorate");function ex(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ex,"_ts_metadata");var tn=class{static{a(this,"AutXML")}CNPJ;CPF};df([(0,cs.IsOptional)(),(0,cs.IsString)(),ex("design:type",String)],tn.prototype,"CNPJ",void 0);df([(0,cs.IsOptional)(),(0,cs.IsString)(),ex("design:type",String)],tn.prototype,"CPF",void 0);tn=df([(0,tx.Choice)({properties:["CNPJ","CPF"]})],tn);var Yc=require("class-validator");function ox(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(ox,"_ts_decorate");function ix(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ix,"_ts_metadata");var gr=class{static{a(this,"InfIntermed")}CNPJ;idCadIntTran};ox([(0,Yc.IsString)(),ix("design:type",String)],gr.prototype,"CNPJ",void 0);ox([(0,Yc.IsOptional)(),(0,Yc.IsString)(),ix("design:type",String)],gr.prototype,"idCadIntTran",void 0);var fa=require("class-validator");function ff(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(ff,"_ts_decorate");function mf(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(mf,"_ts_metadata");var En=class{static{a(this,"Exporta")}UFSaidaPais;xLocExporta;xLocDespacho};ff([(0,fa.IsString)(),mf("design:type",String)],En.prototype,"UFSaidaPais",void 0);ff([(0,fa.IsOptional)(),(0,fa.IsString)(),mf("design:type",String)],En.prototype,"xLocExporta",void 0);ff([(0,fa.IsOptional)(),(0,fa.IsString)(),mf("design:type",String)],En.prototype,"xLocDespacho",void 0);var yr=require("class-validator");function hf(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(hf,"_ts_decorate");function vf(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(vf,"_ts_metadata");var zn=class{static{a(this,"Compra")}xNEmp;xPed;xCont};hf([(0,yr.IsOptional)(),(0,yr.IsString)(),vf("design:type",String)],zn.prototype,"xNEmp",void 0);hf([(0,yr.IsOptional)(),(0,yr.IsString)(),vf("design:type",String)],zn.prototype,"xPed",void 0);hf([(0,yr.IsOptional)(),(0,yr.IsString)(),vf("design:type",String)],zn.prototype,"xCont",void 0);var on=require("class-validator");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 ls(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ls,"_ts_metadata");var $o=class{static{a(this,"InfRespTec")}CNPJ;xContato;email;fone;idCSRT;hashCSRT};ps([(0,on.IsString)(),ls("design:type",String)],$o.prototype,"CNPJ",void 0);ps([(0,on.IsString)(),ls("design:type",String)],$o.prototype,"xContato",void 0);ps([(0,on.IsString)(),ls("design:type",String)],$o.prototype,"email",void 0);ps([(0,on.IsString)(),ls("design:type",String)],$o.prototype,"fone",void 0);ps([(0,on.IsOptional)(),(0,on.IsString)(),ls("design:type",String)],$o.prototype,"idCSRT",void 0);ps([(0,on.IsOptional)(),(0,on.IsString)(),ls("design:type",String)],$o.prototype,"hashCSRT",void 0);var ii=require("class-validator"),gs=require("class-transformer");var Ai=require("class-validator"),re=require("nfets/core");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 ce(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ce,"_ts_metadata");var W=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};se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vBC",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vICMS",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vICMSDeson",void 0);se([(0,Ai.IsOptional)(),(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vFCPUFDest",void 0);se([(0,Ai.IsOptional)(),(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vICMSUFDest",void 0);se([(0,Ai.IsOptional)(),(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vICMSUFRemet",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vFCP",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vBCST",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vST",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vFCPST",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vFCPSTRet",void 0);se([(0,Ai.IsOptional)(),(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"qBCMono",void 0);se([(0,Ai.IsOptional)(),(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vICMSMono",void 0);se([(0,Ai.IsOptional)(),(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"qBCMonoReten",void 0);se([(0,Ai.IsOptional)(),(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vICMSMonoReten",void 0);se([(0,Ai.IsOptional)(),(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"qBCMonoRet",void 0);se([(0,Ai.IsOptional)(),(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vICMSMonoRet",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vProd",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vFrete",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vSeg",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vDesc",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vII",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vIPI",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vIPIDevol",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vPIS",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vCOFINS",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vOutro",void 0);se([(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vNF",void 0);se([(0,Ai.IsOptional)(),(0,re.TransformDecimal)({fixed:2}),ce("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],W.prototype,"vTotTrib",void 0);var lo=require("class-validator"),Di=require("nfets/core");function ei(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(ei,"_ts_decorate");function ti(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ti,"_ts_metadata");var Jt=class{static{a(this,"ISSQNtot")}vServ;vBC;vISS;vPIS;vCOFINS;dCompet;vDeducao;vOutro;vDescIncond;vDescCond;vISSRet;cRegTrib};ei([(0,lo.IsOptional)(),(0,Di.TransformDecimal)({fixed:2}),ti("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"vServ",void 0);ei([(0,lo.IsOptional)(),(0,Di.TransformDecimal)({fixed:2}),ti("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"vBC",void 0);ei([(0,lo.IsOptional)(),(0,Di.TransformDecimal)({fixed:2}),ti("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"vISS",void 0);ei([(0,lo.IsOptional)(),(0,Di.TransformDecimal)({fixed:2}),ti("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"vPIS",void 0);ei([(0,lo.IsOptional)(),(0,Di.TransformDecimal)({fixed:2}),ti("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"vCOFINS",void 0);ei([(0,lo.IsString)(),ti("design:type",String)],Jt.prototype,"dCompet",void 0);ei([(0,lo.IsOptional)(),(0,Di.TransformDecimal)({fixed:2}),ti("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"vDeducao",void 0);ei([(0,lo.IsOptional)(),(0,Di.TransformDecimal)({fixed:2}),ti("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"vOutro",void 0);ei([(0,lo.IsOptional)(),(0,Di.TransformDecimal)({fixed:2}),ti("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"vDescIncond",void 0);ei([(0,lo.IsOptional)(),(0,Di.TransformDecimal)({fixed:2}),ti("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"vDescCond",void 0);ei([(0,lo.IsOptional)(),(0,Di.TransformDecimal)({fixed:2}),ti("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"vISSRet",void 0);ei([(0,lo.IsOptional)(),(0,lo.IsString)(),ti("design:type",String)],Jt.prototype,"cRegTrib",void 0);var xr=require("class-validator"),br=require("nfets/core");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 ha(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ha,"_ts_metadata");var Pi=class{static{a(this,"RetTrib")}vRetPIS;vRetCOFINS;vRetCSLL;vBCIRRF;vIRRF;vBCRetPrev;vRetPrev};ma([(0,xr.IsOptional)(),(0,br.TransformDecimal)({fixed:2}),ha("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pi.prototype,"vRetPIS",void 0);ma([(0,xr.IsOptional)(),(0,br.TransformDecimal)({fixed:2}),ha("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pi.prototype,"vRetCOFINS",void 0);ma([(0,xr.IsOptional)(),(0,br.TransformDecimal)({fixed:2}),ha("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pi.prototype,"vRetCSLL",void 0);ma([(0,xr.IsOptional)(),(0,br.TransformDecimal)({fixed:2}),ha("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pi.prototype,"vBCIRRF",void 0);ma([(0,xr.IsOptional)(),(0,br.TransformDecimal)({fixed:2}),ha("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pi.prototype,"vIRRF",void 0);ma([(0,xr.IsOptional)(),(0,br.TransformDecimal)({fixed:2}),ha("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pi.prototype,"vBCRetPrev",void 0);ma([(0,xr.IsOptional)(),(0,br.TransformDecimal)({fixed:2}),ha("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pi.prototype,"vRetPrev",void 0);var Mn=require("class-validator");var Tn=require("class-validator");var jl=require("nfets/core");function gf(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(gf,"_ts_decorate");function yf(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(yf,"_ts_metadata");var va=class{static{a(this,"IBSMunTot")}vDif="0.00";vDevTrib="0.00";vIBSMun="0.00"};gf([(0,jl.TransformDecimal)({fixed:2}),yf("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],va.prototype,"vDif",void 0);gf([(0,jl.TransformDecimal)({fixed:2}),yf("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],va.prototype,"vDevTrib",void 0);gf([(0,jl.TransformDecimal)({fixed:2}),yf("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],va.prototype,"vIBSMun",void 0);var Sf=require("class-transformer");var Tl=require("nfets/core");function xf(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(xf,"_ts_decorate");function bf(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(bf,"_ts_metadata");var ga=class{static{a(this,"IBSUFTot")}vDif="0.00";vDevTrib="0.00";vIBSUF="0.00"};xf([(0,Tl.TransformDecimal)({fixed:2}),bf("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ga.prototype,"vDif",void 0);xf([(0,Tl.TransformDecimal)({fixed:2}),bf("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ga.prototype,"vDevTrib",void 0);xf([(0,Tl.TransformDecimal)({fixed:2}),bf("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ga.prototype,"vIBSUF",void 0);var Bl=require("nfets/core");function Zc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,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 Xc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Xc,"_ts_metadata");var jn=class{static{a(this,"IBSTot")}gIBSUF;gIBSMun;vIBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};Zc([(0,Tn.IsOptional)(),(0,Tn.ValidateNested)(),(0,Sf.Type)(()=>ga),Xc("design:type",typeof IIBSUFTot>"u"?Object:IIBSUFTot)],jn.prototype,"gIBSUF",void 0);Zc([(0,Tn.IsOptional)(),(0,Tn.ValidateNested)(),(0,Sf.Type)(()=>va),Xc("design:type",typeof IIBSMunTot>"u"?Object:IIBSMunTot)],jn.prototype,"gIBSMun",void 0);Zc([(0,Tn.IsOptional)(),(0,Bl.TransformDecimal)({fixed:2}),Xc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],jn.prototype,"vIBS",void 0);Zc([(0,Tn.IsOptional)(),(0,Bl.TransformDecimal)({fixed:2}),Xc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],jn.prototype,"vCredPres",void 0);Zc([(0,Tn.IsOptional)(),(0,Bl.TransformDecimal)({fixed:2}),Xc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],jn.prototype,"vCredPresCondSus",void 0);var nx=require("nfets/core"),Vl=require("class-transformer");var us=require("nfets/core"),ds=require("class-validator");function Jc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Jc,"_ts_decorate");function Wc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Wc,"_ts_metadata");var Bn=class{static{a(this,"CBSTot")}vDif="0.00";vDevTrib="0.00";vCBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};Jc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Wc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"vDif",void 0);Jc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Wc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"vDevTrib",void 0);Jc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Wc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"vCBS",void 0);Jc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Wc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"vCredPres",void 0);Jc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Wc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"vCredPresCondSus",void 0);var ya=require("nfets/core"),xa=require("class-validator");function fs(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(fs,"_ts_decorate");function ms(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ms,"_ts_metadata");var nn=class{static{a(this,"IBSMonoTot")}vIBSMono="0.00";vCBSMono="0.00";vIBSMonoReten="0.00";vCBSMonoReten="0.00";vIBSMonoRet="0.00";vCBSMonoRet="0.00"};fs([(0,xa.IsOptional)(),(0,ya.TransformDecimal)({fixed:2}),ms("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],nn.prototype,"vIBSMono",void 0);fs([(0,xa.IsOptional)(),(0,ya.TransformDecimal)({fixed:2}),ms("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],nn.prototype,"vCBSMono",void 0);fs([(0,xa.IsOptional)(),(0,ya.TransformDecimal)({fixed:2}),ms("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],nn.prototype,"vIBSMonoReten",void 0);fs([(0,xa.IsOptional)(),(0,ya.TransformDecimal)({fixed:2}),ms("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],nn.prototype,"vCBSMonoReten",void 0);fs([(0,xa.IsOptional)(),(0,ya.TransformDecimal)({fixed:2}),ms("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],nn.prototype,"vIBSMonoRet",void 0);fs([(0,xa.IsOptional)(),(0,ya.TransformDecimal)({fixed:2}),ms("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],nn.prototype,"vCBSMonoRet",void 0);function Ml(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(Ml,"_ts_decorate");function Ll(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ll,"_ts_metadata");var Sr=class{static{a(this,"IBSCBSTot")}vBCIBSCBS="0.00";gIBS;gCBS;gMono};Ml([(0,Mn.IsOptional)(),(0,nx.TransformDecimal)({fixed:2}),Ll("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sr.prototype,"vBCIBSCBS",void 0);Ml([(0,Mn.IsOptional)(),(0,Mn.ValidateNested)(),(0,Vl.Type)(()=>jn),Ll("design:type",typeof IIBSTot>"u"?Object:IIBSTot)],Sr.prototype,"gIBS",void 0);Ml([(0,Mn.IsOptional)(),(0,Mn.ValidateNested)(),(0,Vl.Type)(()=>Bn),Ll("design:type",typeof ICBSTot>"u"?Object:ICBSTot)],Sr.prototype,"gCBS",void 0);Ml([(0,Mn.IsOptional)(),(0,Mn.ValidateNested)(),(0,Vl.Type)(()=>nn),Ll("design:type",typeof IIBSMonoTot>"u"?Object:IIBSMonoTot)],Sr.prototype,"gMono",void 0);var rx=require("nfets/core"),ax=require("class-validator");function Bw(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(Bw,"_ts_decorate");function Mw(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Mw,"_ts_metadata");var Kc=class{static{a(this,"ISTot")}vIS="0.00"};Bw([(0,ax.IsOptional)(),(0,rx.TransformDecimal)({fixed:2}),Mw("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Kc.prototype,"vIS",void 0);var sx=require("nfets/core");function hs(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(hs,"_ts_decorate");function vs(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(vs,"_ts_metadata");var oi=class{static{a(this,"Total")}ICMSTot;ISSQNtot;retTrib;ISTot;IBSCBSTot;vNFTot};hs([(0,ii.ValidateNested)(),(0,gs.Type)(()=>W),vs("design:type",typeof IICMSTot>"u"?Object:IICMSTot)],oi.prototype,"ICMSTot",void 0);hs([(0,ii.IsOptional)(),(0,ii.ValidateNested)(),(0,gs.Type)(()=>Jt),vs("design:type",typeof IISSQNTot>"u"?Object:IISSQNTot)],oi.prototype,"ISSQNtot",void 0);hs([(0,ii.IsOptional)(),(0,ii.ValidateNested)(),(0,gs.Type)(()=>Pi),vs("design:type",typeof IRetTrib>"u"?Object:IRetTrib)],oi.prototype,"retTrib",void 0);hs([(0,ii.IsOptional)(),(0,ii.ValidateNested)(),(0,gs.Type)(()=>Kc),vs("design:type",typeof IISTot>"u"?Object:IISTot)],oi.prototype,"ISTot",void 0);hs([(0,ii.IsOptional)(),(0,ii.ValidateNested)(),(0,gs.Type)(()=>Sr),vs("design:type",typeof IIBSCBSTot>"u"?Object:IIBSCBSTot)],oi.prototype,"IBSCBSTot",void 0);hs([(0,ii.IsOptional)(),(0,sx.TransformDecimal)({fixed:2}),vs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oi.prototype,"vNFTot",void 0);var We=require("class-validator"),Rs=require("class-transformer");var Kt=require("class-validator"),cx=require("nfets/core");function Cr(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(Cr,"_ts_decorate");function ba(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ba,"_ts_metadata");var Wt=class{static{a(this,"Transporta")}CNPJ;CPF;xNome;IE;xEnder;xMun;UF};Cr([(0,Kt.IsOptional)(),(0,Kt.IsString)(),ba("design:type",String)],Wt.prototype,"CNPJ",void 0);Cr([(0,Kt.IsOptional)(),(0,Kt.IsString)(),ba("design:type",String)],Wt.prototype,"CPF",void 0);Cr([(0,Kt.IsOptional)(),(0,Kt.IsString)(),ba("design:type",String)],Wt.prototype,"xNome",void 0);Cr([(0,Kt.IsOptional)(),(0,Kt.IsString)(),ba("design:type",String)],Wt.prototype,"IE",void 0);Cr([(0,Kt.IsOptional)(),(0,Kt.IsString)(),ba("design:type",String)],Wt.prototype,"xEnder",void 0);Cr([(0,Kt.IsOptional)(),(0,Kt.IsString)(),ba("design:type",String)],Wt.prototype,"xMun",void 0);Cr([(0,Kt.IsOptional)(),(0,Kt.IsString)(),ba("design:type",String)],Wt.prototype,"UF",void 0);Wt=Cr([(0,cx.Choice)({properties:["CNPJ","CPF"]})],Wt);var rn=require("class-validator"),$c=require("nfets/core");function ys(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(ys,"_ts_decorate");function xs(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(xs,"_ts_metadata");var Vo=class{static{a(this,"RetTransp")}vServ;vBCRet;pICMSRet;vICMSRet;CFOP;cMunFG};ys([(0,rn.IsOptional)(),(0,$c.TransformDecimal)({fixed:2}),xs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vo.prototype,"vServ",void 0);ys([(0,rn.IsOptional)(),(0,$c.TransformDecimal)({fixed:2}),xs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vo.prototype,"vBCRet",void 0);ys([(0,rn.IsOptional)(),(0,$c.TransformDecimal)({fixed:4}),xs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vo.prototype,"pICMSRet",void 0);ys([(0,rn.IsOptional)(),(0,$c.TransformDecimal)({fixed:2}),xs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vo.prototype,"vICMSRet",void 0);ys([(0,rn.IsOptional)(),(0,rn.IsString)(),xs("design:type",String)],Vo.prototype,"CFOP",void 0);ys([(0,rn.IsOptional)(),(0,rn.IsString)(),xs("design:type",String)],Vo.prototype,"cMunFG",void 0);var Do=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 Ss(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ss,"_ts_metadata");var an=class{static{a(this,"VeicTransp")}placa;UF;RNTC};bs([(0,Do.IsOptional)(),(0,Do.IsString)(),Ss("design:type",String)],an.prototype,"placa",void 0);bs([(0,Do.IsOptional)(),(0,Do.IsString)(),Ss("design:type",String)],an.prototype,"UF",void 0);bs([(0,Do.IsOptional)(),(0,Do.IsString)(),Ss("design:type",String)],an.prototype,"RNTC",void 0);var Sa=class{static{a(this,"Reboque")}placa;UF;RNTC};bs([(0,Do.IsOptional)(),(0,Do.IsString)(),Ss("design:type",String)],Sa.prototype,"placa",void 0);bs([(0,Do.IsOptional)(),(0,Do.IsString)(),Ss("design:type",String)],Sa.prototype,"UF",void 0);bs([(0,Do.IsOptional)(),(0,Do.IsString)(),Ss("design:type",String)],Sa.prototype,"RNTC",void 0);var ni=require("class-validator"),Cf=require("nfets/core");function Cs(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Cs,"_ts_decorate");function Ns(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ns,"_ts_metadata");var sn=class{static{a(this,"Vol")}qVol;esp;marca;nVol;pesoL;pesoB};Cs([(0,ni.IsOptional)(),(0,ni.IsString)(),Ns("design:type",String)],sn.prototype,"qVol",void 0);Cs([(0,ni.IsOptional)(),(0,ni.IsString)(),Ns("design:type",String)],sn.prototype,"esp",void 0);Cs([(0,ni.IsOptional)(),(0,ni.IsString)(),Ns("design:type",String)],sn.prototype,"marca",void 0);Cs([(0,ni.IsOptional)(),(0,ni.IsString)(),Ns("design:type",String)],sn.prototype,"nVol",void 0);Cs([(0,ni.IsOptional)(),(0,Cf.TransformDecimal)({fixed:3}),Ns("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],sn.prototype,"pesoL",void 0);Cs([(0,ni.IsOptional)(),(0,Cf.TransformDecimal)({fixed:3}),Ns("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],sn.prototype,"pesoB",void 0);var Nf=require("nfets/core");function Ln(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(Ln,"_ts_decorate");function Nr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Nr,"_ts_metadata");var $t=class{static{a(this,"Transp")}modFrete;transporta;retTransp;veicTransp;reboque;vagao;balsa;vol};Ln([(0,We.IsString)(),Nr("design:type",String)],$t.prototype,"modFrete",void 0);Ln([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,Rs.Type)(()=>Wt),Nr("design:type",typeof Wt>"u"?Object:Wt)],$t.prototype,"transporta",void 0);Ln([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,Rs.Type)(()=>Vo),Nr("design:type",typeof Vo>"u"?Object:Vo)],$t.prototype,"retTransp",void 0);Ln([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,Rs.Type)(()=>an),Nr("design:type",typeof an>"u"?Object:an)],$t.prototype,"veicTransp",void 0);Ln([(0,We.IsOptional)(),(0,We.ValidateNested)({each:!0}),(0,Rs.Type)(()=>Sa),(0,We.ArrayMaxSize)(5),Nr("design:type",Array)],$t.prototype,"reboque",void 0);Ln([(0,We.IsOptional)(),(0,We.IsString)(),Nr("design:type",String)],$t.prototype,"vagao",void 0);Ln([(0,We.IsOptional)(),(0,We.IsString)(),Nr("design:type",String)],$t.prototype,"balsa",void 0);Ln([(0,We.IsOptional)(),(0,We.ValidateNested)({each:!0}),(0,Rs.Type)(()=>sn),(0,We.ArrayMaxSize)(5e3),Nr("design:type",Array)],$t.prototype,"vol",void 0);$t=Ln([(0,Nf.Choice)({properties:["veicTransp","reboque"]}),(0,Nf.Choice)({properties:["vagao","balsa"]})],$t);var ft=require("class-validator"),Rf=require("class-transformer"),ep=require("nfets/core");function _n(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(_n,"_ts_decorate");function qn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(qn,"_ts_metadata");var Vn=class{static{a(this,"Fat")}nFat;vOrig;vDesc;vLiq};_n([(0,ft.IsOptional)(),(0,ft.IsString)(),qn("design:type",String)],Vn.prototype,"nFat",void 0);_n([(0,ft.IsOptional)(),(0,ep.TransformDecimal)({fixed:2}),qn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vn.prototype,"vOrig",void 0);_n([(0,ft.IsOptional)(),(0,ep.TransformDecimal)({fixed:2}),qn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vn.prototype,"vDesc",void 0);_n([(0,ft.IsOptional)(),(0,ep.TransformDecimal)({fixed:2}),qn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vn.prototype,"vLiq",void 0);var ws=class{static{a(this,"Dup")}nDup;dVenc;vDup};_n([(0,ft.IsOptional)(),(0,ft.IsString)(),qn("design:type",String)],ws.prototype,"nDup",void 0);_n([(0,ft.IsOptional)(),(0,ft.IsString)(),qn("design:type",String)],ws.prototype,"dVenc",void 0);_n([(0,ft.IsOptional)(),(0,ep.TransformDecimal)({fixed:2}),qn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ws.prototype,"vDup",void 0);var Rr=class{static{a(this,"Cobr")}fat;dup};_n([(0,ft.IsOptional)(),(0,ft.ValidateNested)(),(0,Rf.Type)(()=>Vn),qn("design:type",typeof Vn>"u"?Object:Vn)],Rr.prototype,"fat",void 0);_n([(0,ft.IsOptional)(),(0,ft.ValidateNested)({each:!0}),(0,ft.ArrayMaxSize)(120),(0,Rf.Type)(()=>ws),qn("design:type",Array)],Rr.prototype,"dup",void 0);var Ir=require("class-validator"),fx=require("class-transformer");var cn=require("class-validator"),px=require("class-transformer");var Po=require("class-validator");function Is(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(Is,"_ts_decorate");function Fs(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Fs,"_ts_metadata");var _o=class{static{a(this,"Card")}tpIntegra;CNPJ;tBand;cAut;CNPJReceb;idTermPag};Is([(0,Po.IsOptional)(),(0,Po.IsString)(),Fs("design:type",String)],_o.prototype,"tpIntegra",void 0);Is([(0,Po.IsOptional)(),(0,Po.IsString)(),Fs("design:type",String)],_o.prototype,"CNPJ",void 0);Is([(0,Po.IsOptional)(),(0,Po.IsString)(),Fs("design:type",String)],_o.prototype,"tBand",void 0);Is([(0,Po.IsOptional)(),(0,Po.IsString)(),Fs("design:type",String)],_o.prototype,"cAut",void 0);Is([(0,Po.IsOptional)(),(0,Po.IsString)(),Fs("design:type",String)],_o.prototype,"CNPJReceb",void 0);Is([(0,Po.IsOptional)(),(0,Po.IsString)(),Fs("design:type",String)],_o.prototype,"idTermPag",void 0);var lx=require("nfets/core");function tp(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(tp,"_ts_decorate");function op(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(op,"_ts_metadata");var Un=class{static{a(this,"DetPag")}indPag;tPag;vPag;card;xPag};tp([(0,cn.IsOptional)(),(0,cn.IsString)(),op("design:type",String)],Un.prototype,"indPag",void 0);tp([(0,cn.IsString)(),op("design:type",typeof TPag>"u"?Object:TPag)],Un.prototype,"tPag",void 0);tp([(0,lx.TransformDecimal)({fixed:2}),op("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Un.prototype,"vPag",void 0);tp([(0,cn.IsOptional)(),(0,cn.ValidateNested)(),(0,px.Type)(()=>_o),op("design:type",typeof _o>"u"?Object:_o)],Un.prototype,"card",void 0);tp([(0,cn.IsOptional)(),(0,cn.IsString)(),op("design:type",String)],Un.prototype,"xPag",void 0);var mx=require("nfets/core");function ux(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(ux,"_ts_decorate");function dx(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(dx,"_ts_metadata");var wr=class{static{a(this,"Pag")}detPag;vTroco};ux([(0,Ir.ValidateNested)({each:!0}),(0,Ir.ArrayMinSize)(1),(0,Ir.ArrayMaxSize)(100),(0,fx.Type)(()=>Un),dx("design:type",Array)],wr.prototype,"detPag",void 0);ux([(0,Ir.IsOptional)(),(0,mx.TransformDecimal)({fixed:2}),dx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wr.prototype,"vTroco",void 0);var qe=require("class-validator"),_l=require("class-transformer");function kn(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(kn,"_ts_decorate");function Hn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Hn,"_ts_metadata");var Os=class{static{a(this,"InfAdicObs")}xCampo;xTexto};kn([(0,qe.IsString)(),Hn("design:type",String)],Os.prototype,"xCampo",void 0);kn([(0,qe.IsString)(),Hn("design:type",String)],Os.prototype,"xTexto",void 0);var ip=class{static{a(this,"ProcRef")}nProc;indProc};kn([(0,qe.IsOptional)(),(0,qe.IsString)(),Hn("design:type",String)],ip.prototype,"nProc",void 0);kn([(0,qe.IsOptional)(),(0,qe.IsString)(),Hn("design:type",String)],ip.prototype,"indProc",void 0);var Ei=class{static{a(this,"InfAdic")}infAdFisco;infCpl;obsCont;obsFisco;procRef};kn([(0,qe.IsOptional)(),(0,qe.IsString)(),Hn("design:type",String)],Ei.prototype,"infAdFisco",void 0);kn([(0,qe.IsOptional)(),(0,qe.IsString)(),Hn("design:type",String)],Ei.prototype,"infCpl",void 0);kn([(0,qe.IsOptional)(),(0,qe.ValidateNested)({each:!0}),(0,_l.Type)(()=>Os),(0,qe.ArrayMaxSize)(10),Hn("design:type",Array)],Ei.prototype,"obsCont",void 0);kn([(0,qe.IsOptional)(),(0,qe.ValidateNested)({each:!0}),(0,_l.Type)(()=>Os),(0,qe.ArrayMaxSize)(10),Hn("design:type",Array)],Ei.prototype,"obsFisco",void 0);kn([(0,qe.IsOptional)(),(0,qe.ValidateNested)({each:!0}),(0,_l.Type)(()=>ip),(0,qe.ArrayMaxSize)(100),Hn("design:type",Array)],Ei.prototype,"procRef",void 0);var ve=require("class-validator"),Ul=require("class-transformer"),ap=require("nfets/core");function uo(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(uo,"_ts_decorate");function fo(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(fo,"_ts_metadata");var ql=class{static{a(this,"ForDiaAttributes")}dia};uo([(0,ve.IsString)(),fo("design:type",String)],ql.prototype,"dia",void 0);var np=class{static{a(this,"ForDia")}$;qtde};uo([(0,ve.IsObject)(),(0,ve.IsNotEmptyObject)(),(0,Ul.Type)(()=>ql),fo("design:type",typeof IForDiaAttributes>"u"?Object:IForDiaAttributes)],np.prototype,"$",void 0);uo([(0,ve.IsString)(),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],np.prototype,"qtde",void 0);var rp=class{static{a(this,"Deduc")}xDed;vDed};uo([(0,ve.IsString)(),fo("design:type",String)],rp.prototype,"xDed",void 0);uo([(0,ap.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rp.prototype,"vDed",void 0);var eo=class{static{a(this,"Cana")}safra;ref;forDia;qTotMes;qTotAnt;qTotGer;deduc;vFor;vTotDed;vLiqFor};uo([(0,ve.IsString)(),fo("design:type",String)],eo.prototype,"safra",void 0);uo([(0,ve.IsString)(),fo("design:type",String)],eo.prototype,"ref",void 0);uo([(0,ve.ValidateNested)({each:!0}),(0,ve.ArrayMaxSize)(31),(0,Ul.Type)(()=>np),fo("design:type",Array)],eo.prototype,"forDia",void 0);uo([(0,ve.IsOptional)(),(0,ve.IsString)(),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"qTotMes",void 0);uo([(0,ve.IsOptional)(),(0,ve.IsString)(),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"qTotAnt",void 0);uo([(0,ve.IsOptional)(),(0,ve.IsString)(),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"qTotGer",void 0);uo([(0,ve.IsOptional)(),(0,ve.ValidateNested)({each:!0}),(0,ve.ArrayMaxSize)(10),(0,Ul.Type)(()=>rp),fo("design:type",Array)],eo.prototype,"deduc",void 0);uo([(0,ve.IsOptional)(),(0,ap.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"vFor",void 0);uo([(0,ve.IsOptional)(),(0,ap.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"vTotDed",void 0);uo([(0,ve.IsOptional)(),(0,ap.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"vLiqFor",void 0);var Gt=require("class-validator"),Hs=require("class-transformer");var I=require("class-validator"),pn=require("nfets/core"),ln=require("class-transformer");var zi=require("class-validator");function sp(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(sp,"_ts_decorate");function cp(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(cp,"_ts_metadata");var Gn=class{static{a(this,"Rastro")}nLote;qLote;dFab;dVal;cAgreg};sp([(0,zi.IsString)(),cp("design:type",String)],Gn.prototype,"nLote",void 0);sp([(0,zi.IsOptional)(),(0,zi.IsString)(),cp("design:type",String)],Gn.prototype,"qLote",void 0);sp([(0,zi.IsOptional)(),(0,zi.IsString)(),cp("design:type",String)],Gn.prototype,"dFab",void 0);sp([(0,zi.IsOptional)(),(0,zi.IsString)(),cp("design:type",String)],Gn.prototype,"dVal",void 0);sp([(0,zi.IsOptional)(),(0,zi.IsString)(),cp("design:type",String)],Gn.prototype,"cAgreg",void 0);var Cx=require("nfets/core");var pe=require("class-validator"),hx=require("class-transformer"),pp=require("nfets/core");function Pt(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(Pt,"_ts_decorate");function Ut(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ut,"_ts_metadata");var Fr=class{static{a(this,"Adi")}nAdicao;nSeqAdic;cFabricante;vDescDI;nDraw};Pt([(0,pe.IsString)(),Ut("design:type",String)],Fr.prototype,"nAdicao",void 0);Pt([(0,pe.IsString)(),Ut("design:type",String)],Fr.prototype,"nSeqAdic",void 0);Pt([(0,pe.IsString)(),Ut("design:type",String)],Fr.prototype,"cFabricante",void 0);Pt([(0,pp.TransformDecimal)({fixed:2}),Ut("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fr.prototype,"vDescDI",void 0);Pt([(0,pe.IsOptional)(),(0,pe.IsString)(),Ut("design:type",String)],Fr.prototype,"nDraw",void 0);var Dt=class{static{a(this,"DI")}nDI;dDI;xLocDesemb;UFDesemb;dDesemb;tpViaTransp;vAFRMM;tpIntermedio;CNPJ="";CPF="";UFTerceiro;adi};Pt([(0,pe.IsString)(),Ut("design:type",String)],Dt.prototype,"nDI",void 0);Pt([(0,pe.IsString)(),Ut("design:type",String)],Dt.prototype,"dDI",void 0);Pt([(0,pe.IsString)(),Ut("design:type",String)],Dt.prototype,"xLocDesemb",void 0);Pt([(0,pe.IsString)(),Ut("design:type",String)],Dt.prototype,"UFDesemb",void 0);Pt([(0,pe.IsString)(),Ut("design:type",String)],Dt.prototype,"dDesemb",void 0);Pt([(0,pe.IsString)(),Ut("design:type",String)],Dt.prototype,"tpViaTransp",void 0);Pt([(0,pe.IsOptional)(),(0,pp.TransformDecimal)({fixed:2}),Ut("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Dt.prototype,"vAFRMM",void 0);Pt([(0,pe.IsString)(),Ut("design:type",String)],Dt.prototype,"tpIntermedio",void 0);Pt([(0,pe.IsString)(),(0,pe.IsOptional)(),Ut("design:type",String)],Dt.prototype,"CNPJ",void 0);Pt([(0,pe.IsString)(),(0,pe.IsOptional)(),Ut("design:type",String)],Dt.prototype,"CPF",void 0);Pt([(0,pe.IsString)(),(0,pe.IsOptional)(),Ut("design:type",String)],Dt.prototype,"UFTerceiro",void 0);Pt([(0,pe.IsArray)(),(0,pe.ValidateNested)({each:!0}),(0,hx.Type)(()=>Fr),(0,pe.ArrayMaxSize)(999),(0,pe.ArrayMinSize)(1),Ut("design:type",Array)],Dt.prototype,"adi",void 0);Dt=Pt([(0,pp.Choice)({properties:["CNPJ","CPF"],required:!0})],Dt);var vx=require("class-transformer"),Qn=require("class-validator"),gx=require("nfets/core");function lp(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(lp,"_ts_decorate");function up(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(up,"_ts_metadata");var As=class{static{a(this,"ExportInd")}nRE;chNFe;qExport};lp([(0,Qn.IsString)(),up("design:type",String)],As.prototype,"nRE",void 0);lp([(0,Qn.IsString)(),up("design:type",String)],As.prototype,"chNFe",void 0);lp([(0,gx.TransformDecimal)({fixed:4}),up("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],As.prototype,"qExport",void 0);var Ds=class{static{a(this,"DetExport")}nDraw;exportInd};lp([(0,Qn.IsOptional)(),(0,Qn.IsString)(),up("design:type",String)],Ds.prototype,"nDraw",void 0);lp([(0,Qn.IsOptional)(),(0,Qn.ValidateNested)(),(0,vx.Type)(()=>As),up("design:type",typeof IExportInd>"u"?Object:IExportInd)],Ds.prototype,"exportInd",void 0);var wf=require("class-validator");function yx(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(yx,"_ts_decorate");function xx(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(xx,"_ts_metadata");var Ps=class{static{a(this,"InfProdNFF")}cProdFisco;cOperNFF};yx([(0,wf.IsString)(),xx("design:type",String)],Ps.prototype,"cProdFisco",void 0);yx([(0,wf.IsString)(),xx("design:type",String)],Ps.prototype,"cOperNFF",void 0);var Of=require("class-validator"),bx=require("nfets/core");function If(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(If,"_ts_decorate");function Ff(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ff,"_ts_metadata");var Ca=class{static{a(this,"InfProdEmb")}xEmb;qVolEmb;uEmb};If([(0,Of.IsString)(),Ff("design:type",String)],Ca.prototype,"xEmb",void 0);If([(0,bx.TransformDecimal)({fixed:3}),Ff("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ca.prototype,"qVolEmb",void 0);If([(0,Of.IsString)(),Ff("design:type",String)],Ca.prototype,"uEmb",void 0);var Re=require("class-validator");function Ae(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Ae,"_ts_decorate");function De(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(De,"_ts_metadata");var he=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};Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"tpOp",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"chassi",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"cCor",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"xCor",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"pot",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"cilin",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"pesoL",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"pesoB",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"nSerie",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"tpComb",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"nMotor",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"CMT",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"dist",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"anoMod",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"anoFab",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"tpPint",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"tpVeic",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"espVeic",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"VIN",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"condVeic",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"cMod",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"cCorDENATRAN",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"lota",void 0);Ae([(0,Re.IsString)(),De("design:type",String)],he.prototype,"tpRest",void 0);var Pf=require("class-validator"),Sx=require("nfets/core");function Af(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(Af,"_ts_decorate");function Df(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Df,"_ts_metadata");var Na=class{static{a(this,"Med")}cProdANVISA;xMotivoIsencao;vPMC};Af([(0,Pf.IsString)(),Df("design:type",String)],Na.prototype,"cProdANVISA",void 0);Af([(0,Pf.IsString)(),Df("design:type",String)],Na.prototype,"xMotivoIsencao",void 0);Af([(0,Sx.TransformDecimal)({fixed:2}),Df("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Na.prototype,"vPMC",void 0);var dp=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 Hl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Hl,"_ts_metadata");var Or=class{static{a(this,"Arma")}tpArma;nSerie;nCano;descr};kl([(0,dp.IsString)(),Hl("design:type",String)],Or.prototype,"tpArma",void 0);kl([(0,dp.IsString)(),Hl("design:type",String)],Or.prototype,"nSerie",void 0);kl([(0,dp.IsString)(),Hl("design:type",String)],Or.prototype,"nCano",void 0);kl([(0,dp.IsString)(),Hl("design:type",String)],Or.prototype,"descr",void 0);var ee=require("class-validator"),Gl=require("class-transformer"),qo=require("nfets/core");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 Ee(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ee,"_ts_metadata");var Es=class{static{a(this,"OrigComb")}indImport;cUFOrig;pOrig};Pe([(0,ee.IsString)(),Ee("design:type",String)],Es.prototype,"indImport",void 0);Pe([(0,ee.IsString)(),Ee("design:type",String)],Es.prototype,"cUFOrig",void 0);Pe([(0,qo.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Es.prototype,"pOrig",void 0);var zs=class{static{a(this,"CIDE")}qBCProd;vAliqProd;vCIDE};Pe([(0,qo.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zs.prototype,"qBCProd",void 0);Pe([(0,qo.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zs.prototype,"vAliqProd",void 0);Pe([(0,qo.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zs.prototype,"vCIDE",void 0);var Ar=class{static{a(this,"Encerrante")}nBico;nBomba;nTanque;vEncIni;vEncFin};Pe([(0,ee.IsString)(),Ee("design:type",String)],Ar.prototype,"nBico",void 0);Pe([(0,ee.IsString)(),Ee("design:type",String)],Ar.prototype,"nBomba",void 0);Pe([(0,ee.IsString)(),Ee("design:type",String)],Ar.prototype,"nTanque",void 0);Pe([(0,qo.TransformDecimal)({fixed:3}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ar.prototype,"vEncIni",void 0);Pe([(0,qo.TransformDecimal)({fixed:3}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ar.prototype,"vEncFin",void 0);var kt=class{static{a(this,"Comb")}cProdANP;descANP;pGLP;pGNn;pGNi;vPart;CODIF;qTemp;UFCons;CIDE;encerrante;pBio;origComb};Pe([(0,ee.IsString)(),Ee("design:type",String)],kt.prototype,"cProdANP",void 0);Pe([(0,ee.IsString)(),Ee("design:type",String)],kt.prototype,"descANP",void 0);Pe([(0,ee.IsOptional)(),(0,qo.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],kt.prototype,"pGLP",void 0);Pe([(0,ee.IsOptional)(),(0,qo.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],kt.prototype,"pGNn",void 0);Pe([(0,ee.IsOptional)(),(0,qo.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],kt.prototype,"pGNi",void 0);Pe([(0,ee.IsOptional)(),(0,qo.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],kt.prototype,"vPart",void 0);Pe([(0,ee.IsString)(),(0,ee.IsOptional)(),Ee("design:type",String)],kt.prototype,"CODIF",void 0);Pe([(0,ee.IsOptional)(),(0,qo.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],kt.prototype,"qTemp",void 0);Pe([(0,ee.IsString)(),Ee("design:type",String)],kt.prototype,"UFCons",void 0);Pe([(0,ee.IsOptional)(),(0,ee.IsObject)(),(0,ee.ValidateNested)(),(0,Gl.Type)(()=>zs),Ee("design:type",typeof ICIDE>"u"?Object:ICIDE)],kt.prototype,"CIDE",void 0);Pe([(0,ee.IsOptional)(),(0,ee.IsObject)(),(0,ee.ValidateNested)(),(0,Gl.Type)(()=>Ar),Ee("design:type",typeof IEncerrante>"u"?Object:IEncerrante)],kt.prototype,"encerrante",void 0);Pe([(0,ee.IsOptional)(),(0,qo.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],kt.prototype,"pBio",void 0);Pe([(0,ee.IsArray)(),(0,ee.ValidateNested)({each:!0}),(0,Gl.Type)(()=>Es),(0,ee.ArrayMaxSize)(30),(0,ee.IsOptional)(),Ee("design:type",Array)],kt.prototype,"origComb",void 0);function H(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(H,"_ts_decorate");function G(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(G,"_ts_metadata");var L=class{static{a(this,"Prod")}cProd;cEAN;cBarra;xProd;NCM;NVE;CEST;indEscala;CNPJFab;cBenef;gCred;EXTIPI;CFOP;uCom;qCom;vUnCom;vProd;cEANTrib;uTrib;qTrib;vUnTrib;vFrete;vSeg;vDesc;vOutro;indTot;DI;detExport;xPed;nItemPed;nFCI;rastro;infProdNFF;infProdEmb;veicProd;med;arma;comb;nRECOPI};H([(0,I.IsString)(),G("design:type",String)],L.prototype,"cProd",void 0);H([(0,I.IsString)(),G("design:type",String)],L.prototype,"cEAN",void 0);H([(0,I.IsOptional)(),(0,I.IsString)(),G("design:type",String)],L.prototype,"cBarra",void 0);H([(0,I.IsString)(),G("design:type",String)],L.prototype,"xProd",void 0);H([(0,I.IsString)(),G("design:type",String)],L.prototype,"NCM",void 0);H([(0,I.IsOptional)(),(0,I.IsArray)(),(0,I.ArrayMaxSize)(8),(0,I.IsString)({each:!0}),G("design:type",Array)],L.prototype,"NVE",void 0);H([(0,I.IsOptional)(),(0,I.IsString)(),G("design:type",String)],L.prototype,"CEST",void 0);H([(0,I.IsOptional)(),(0,I.IsString)(),G("design:type",String)],L.prototype,"indEscala",void 0);H([(0,I.IsOptional)(),(0,I.IsString)(),G("design:type",String)],L.prototype,"CNPJFab",void 0);H([(0,I.IsOptional)(),(0,I.IsString)(),G("design:type",String)],L.prototype,"cBenef",void 0);H([(0,I.IsOptional)(),(0,I.IsObject)(),G("design:type",Object)],L.prototype,"gCred",void 0);H([(0,I.IsOptional)(),(0,I.IsString)(),G("design:type",String)],L.prototype,"EXTIPI",void 0);H([(0,I.IsString)(),G("design:type",String)],L.prototype,"CFOP",void 0);H([(0,I.IsString)(),G("design:type",String)],L.prototype,"uCom",void 0);H([(0,pn.TransformDecimal)({fixed:4}),G("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],L.prototype,"qCom",void 0);H([(0,pn.TransformDecimal)({fixed:10}),G("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],L.prototype,"vUnCom",void 0);H([(0,pn.TransformDecimal)({fixed:2}),G("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],L.prototype,"vProd",void 0);H([(0,I.IsString)(),G("design:type",String)],L.prototype,"cEANTrib",void 0);H([(0,I.IsString)(),G("design:type",String)],L.prototype,"uTrib",void 0);H([(0,pn.TransformDecimal)({fixed:4}),G("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],L.prototype,"qTrib",void 0);H([(0,pn.TransformDecimal)({fixed:10}),G("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],L.prototype,"vUnTrib",void 0);H([(0,I.IsOptional)(),(0,pn.TransformDecimal)({fixed:2}),G("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],L.prototype,"vFrete",void 0);H([(0,I.IsOptional)(),(0,pn.TransformDecimal)({fixed:2}),G("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],L.prototype,"vSeg",void 0);H([(0,I.IsOptional)(),(0,pn.TransformDecimal)({fixed:2}),G("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],L.prototype,"vDesc",void 0);H([(0,I.IsOptional)(),(0,pn.TransformDecimal)({fixed:2}),G("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],L.prototype,"vOutro",void 0);H([(0,I.IsString)(),G("design:type",String)],L.prototype,"indTot",void 0);H([(0,I.IsOptional)(),(0,I.IsArray)(),(0,I.ValidateNested)({each:!0}),(0,I.ArrayMaxSize)(100),(0,ln.Type)(()=>Dt),G("design:type",Array)],L.prototype,"DI",void 0);H([(0,I.IsOptional)(),(0,I.IsArray)(),(0,I.ValidateNested)({each:!0}),(0,I.ArrayMaxSize)(500),(0,ln.Type)(()=>Ds),G("design:type",Array)],L.prototype,"detExport",void 0);H([(0,I.IsOptional)(),(0,I.IsString)(),G("design:type",String)],L.prototype,"xPed",void 0);H([(0,I.IsOptional)(),(0,I.IsString)(),G("design:type",String)],L.prototype,"nItemPed",void 0);H([(0,I.IsOptional)(),(0,I.IsString)(),G("design:type",String)],L.prototype,"nFCI",void 0);H([(0,I.IsOptional)(),(0,I.IsArray)(),(0,I.ValidateNested)({each:!0}),(0,I.ArrayMaxSize)(500),(0,ln.Type)(()=>Gn),G("design:type",Array)],L.prototype,"rastro",void 0);H([(0,I.IsOptional)(),(0,I.IsObject)(),(0,I.ValidateNested)(),(0,ln.Type)(()=>Ps),G("design:type",typeof IInfProdNFF>"u"?Object:IInfProdNFF)],L.prototype,"infProdNFF",void 0);H([(0,I.IsOptional)(),(0,I.IsObject)(),(0,I.ValidateNested)(),(0,ln.Type)(()=>Ca),G("design:type",typeof IInfProdEmb>"u"?Object:IInfProdEmb)],L.prototype,"infProdEmb",void 0);H([(0,I.IsOptional)(),(0,I.IsObject)(),(0,I.ValidateNested)(),(0,ln.Type)(()=>he),G("design:type",typeof IVeicProd>"u"?Object:IVeicProd)],L.prototype,"veicProd",void 0);H([(0,I.IsOptional)(),(0,I.IsObject)(),(0,I.ValidateNested)(),(0,ln.Type)(()=>Na),G("design:type",typeof IMed>"u"?Object:IMed)],L.prototype,"med",void 0);H([(0,I.IsOptional)(),(0,I.IsObject)(),(0,I.ValidateNested)({each:!0}),(0,ln.Type)(()=>Or),(0,I.ArrayMaxSize)(500),G("design:type",Array)],L.prototype,"arma",void 0);H([(0,I.IsOptional)(),(0,I.IsObject)(),(0,I.ValidateNested)(),(0,ln.Type)(()=>kt),G("design:type",typeof IComb>"u"?Object:IComb)],L.prototype,"comb",void 0);H([(0,I.IsOptional)(),(0,I.IsString)(),G("design:type",String)],L.prototype,"nRECOPI",void 0);L=H([(0,Cx.Choice)({properties:["veicProd","med","arma","comb"]})],L);var li=require("class-transformer"),we=require("class-validator");var d=require("class-validator"),Ge=require("class-transformer"),b=require("nfets/core");function m(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(m,"_ts_decorate");function h(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(h,"_ts_metadata");var ri=class{static{a(this,"ICMS00")}orig;CST;modBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP};m([(0,d.IsString)(),h("design:type",String)],ri.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],ri.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],ri.prototype,"modBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"vBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"pICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"vICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"vBCFCP",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"pFCP",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"vFCP",void 0);var Dr=class{static{a(this,"ICMS02")}orig;CST;qBCMono;adRemICMS;vICMSMono};m([(0,d.IsString)(),h("design:type",String)],Dr.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],Dr.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Dr.prototype,"qBCMono",void 0);m([(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Dr.prototype,"adRemICMS",void 0);m([(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Dr.prototype,"vICMSMono",void 0);var Ke=class{static{a(this,"ICMS10")}orig;CST;modBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST};m([(0,d.IsString)(),h("design:type",String)],Ke.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],Ke.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],Ke.prototype,"modBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"vBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"pICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"vICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"vBCFCP",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"pFCP",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"vFCP",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],Ke.prototype,"modBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"pMVAST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"pRedBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"vBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"pICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"vICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"vBCFCPST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"pFCPST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ke.prototype,"vFCPST",void 0);var Uo=class{static{a(this,"ICMS15")}orig;CST;qBCMono;adRemICMS;vICMSMono;qBCMonoReten;adRemICMSReten;vICMSMonoReten;pRedAdRem;motRedAdRem};m([(0,d.IsString)(),h("design:type",String)],Uo.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],Uo.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"qBCMono",void 0);m([(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"adRemICMS",void 0);m([(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"vICMSMono",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"qBCMonoReten",void 0);m([(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"adRemICMSReten",void 0);m([(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"vICMSMonoReten",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),(0,d.Max)(100),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"pRedAdRem",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],Uo.prototype,"motRedAdRem",void 0);var mo=class{static{a(this,"ICMS20")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;vICMSDeson;motDesICMS};m([(0,d.IsString)(),h("design:type",String)],mo.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],mo.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],mo.prototype,"modBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pRedBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vBCFCP",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pFCP",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vFCP",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vICMSDeson",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],mo.prototype,"motDesICMS",void 0);var to=class{static{a(this,"ICMS30")}orig;CST;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST;vICMSDeson;motDesICMS};m([(0,d.IsString)(),h("design:type",String)],to.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],to.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],to.prototype,"modBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],to.prototype,"pMVAST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],to.prototype,"pRedBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],to.prototype,"vBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],to.prototype,"pICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],to.prototype,"vICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],to.prototype,"vBCFCPST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],to.prototype,"pFCPST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],to.prototype,"vFCPST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],to.prototype,"vICMSDeson",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],to.prototype,"motDesICMS",void 0);var Ra=class{static{a(this,"ICMS40")}orig;CST;vICMSDeson;motDesICMS};m([(0,d.IsString)(),h("design:type",String)],Ra.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],Ra.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ra.prototype,"vICMSDeson",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],Ra.prototype,"motDesICMS",void 0);var ai=class{static{a(this,"ICMS51")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;pDif;vICMSDif};m([(0,d.IsString)(),h("design:type",String)],ai.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],ai.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],ai.prototype,"modBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.prototype,"pRedBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.prototype,"vBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.prototype,"pICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.prototype,"vICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),(0,d.Max)(100),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.prototype,"pDif",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.prototype,"vICMSDif",void 0);var ko=class{static{a(this,"ICMS53")}orig;CST;qBCMono;adRemICMS;vICMSMonoOp;pDif;vICMSMonoDif;vICMSMono;qBCMonoDif;adRemICMSDif};m([(0,d.IsString)(),h("design:type",String)],ko.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],ko.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"qBCMono",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"adRemICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"vICMSMonoOp",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),(0,d.Max)(100),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"pDif",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"vICMSMonoDif",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"vICMSMono",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"qBCMonoDif",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"adRemICMSDif",void 0);var oo=class{static{a(this,"ICMS60")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet;vBCFCPSTRet;pFCPSTRet;vFCPSTRet;pRedBCEfet;vBCEfet;pICMSEfet;vICMSEfet};m([(0,d.IsString)(),h("design:type",String)],oo.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],oo.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vBCSTRet",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"pST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vICMSSubstituto",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vICMSSTRet",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vBCFCPSTRet",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"pFCPSTRet",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vFCPSTRet",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"pRedBCEfet",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vBCEfet",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"pICMSEfet",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vICMSEfet",void 0);var Pr=class{static{a(this,"ICMS61")}orig;CST;qBCMonoRet;adRemICMSRet;vICMSMonoRet};m([(0,d.IsString)(),h("design:type",String)],Pr.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],Pr.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pr.prototype,"qBCMonoRet",void 0);m([(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pr.prototype,"adRemICMSRet",void 0);m([(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pr.prototype,"vICMSMonoRet",void 0);var ze=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};m([(0,d.IsString)(),h("design:type",String)],ze.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],ze.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],ze.prototype,"modBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"pRedBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"vBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"pICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"vICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"vBCFCP",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"pFCP",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"vFCP",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"vICMSDeson",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],ze.prototype,"motDesICMS",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],ze.prototype,"modBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"pMVAST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"pRedBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"vBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"pICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"vICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"vBCFCPST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"pFCPST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ze.prototype,"vFCPST",void 0);var je=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};m([(0,d.IsString)(),h("design:type",String)],je.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],je.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],je.prototype,"modBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"pRedBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"vBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"pICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"vICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"vBCFCP",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"pFCP",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"vFCP",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"vICMSDeson",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],je.prototype,"motDesICMS",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],je.prototype,"modBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"pMVAST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"pRedBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"vBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"pICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"vICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"vBCFCPST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"pFCPST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],je.prototype,"vFCPST",void 0);var Et=class{static{a(this,"ICMSPart")}orig;CST;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;pBCOp;UFST};m([(0,d.IsString)(),h("design:type",String)],Et.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],Et.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],Et.prototype,"modBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Et.prototype,"vBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Et.prototype,"pRedBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Et.prototype,"pICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Et.prototype,"vICMS",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],Et.prototype,"modBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Et.prototype,"pMVAST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Et.prototype,"pRedBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Et.prototype,"vBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Et.prototype,"pICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Et.prototype,"vICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Et.prototype,"pBCOp",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],Et.prototype,"UFST",void 0);var Yn=class{static{a(this,"ICMSST")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};m([(0,d.IsString)(),h("design:type",String)],Yn.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],Yn.prototype,"CST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yn.prototype,"vBCSTRet",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yn.prototype,"pST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yn.prototype,"vICMSSubstituto",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yn.prototype,"vICMSSTRet",void 0);var wa=class{static{a(this,"ICMSSN101")}orig;CSOSN;pCredSN;vCredICMSSN};m([(0,d.IsString)(),h("design:type",String)],wa.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],wa.prototype,"CSOSN",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wa.prototype,"pCredSN",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wa.prototype,"vCredICMSSN",void 0);var fp=class{static{a(this,"ICMSSN102")}orig;CSOSN};m([(0,d.IsString)(),h("design:type",String)],fp.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],fp.prototype,"CSOSN",void 0);var ji=class{static{a(this,"ICMSSN201")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};m([(0,d.IsString)(),h("design:type",String)],ji.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],ji.prototype,"CSOSN",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],ji.prototype,"modBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ji.prototype,"vBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ji.prototype,"pICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ji.prototype,"vICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ji.prototype,"pCredSN",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ji.prototype,"vCredICMSSN",void 0);var Zn=class{static{a(this,"ICMSSN202")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST};m([(0,d.IsString)(),h("design:type",String)],Zn.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],Zn.prototype,"CSOSN",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],Zn.prototype,"modBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Zn.prototype,"vBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Zn.prototype,"pICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Zn.prototype,"vICMSST",void 0);var Xn=class{static{a(this,"ICMSSN500")}orig;CSOSN;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};m([(0,d.IsString)(),h("design:type",String)],Xn.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],Xn.prototype,"CSOSN",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xn.prototype,"vBCSTRet",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xn.prototype,"pST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xn.prototype,"vICMSSubstituto",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xn.prototype,"vICMSSTRet",void 0);var io=class{static{a(this,"ICMSSN900")}orig;CSOSN;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};m([(0,d.IsString)(),h("design:type",String)],io.prototype,"orig",void 0);m([(0,d.IsString)(),h("design:type",String)],io.prototype,"CSOSN",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],io.prototype,"modBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],io.prototype,"vBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],io.prototype,"pRedBC",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],io.prototype,"pICMS",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],io.prototype,"vICMS",void 0);m([(0,d.IsOptional)(),(0,d.IsString)(),h("design:type",String)],io.prototype,"modBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],io.prototype,"vBCST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],io.prototype,"pICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],io.prototype,"vICMSST",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],io.prototype,"pCredSN",void 0);m([(0,d.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),h("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],io.prototype,"vCredICMSSN",void 0);var le=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};m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>ri),h("design:type",typeof IICMS00>"u"?Object:IICMS00)],le.prototype,"ICMS00",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>Dr),h("design:type",typeof IICMS02>"u"?Object:IICMS02)],le.prototype,"ICMS02",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>Ke),h("design:type",typeof IICMS10>"u"?Object:IICMS10)],le.prototype,"ICMS10",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>Uo),h("design:type",typeof IICMS15>"u"?Object:IICMS15)],le.prototype,"ICMS15",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>mo),h("design:type",typeof IICMS20>"u"?Object:IICMS20)],le.prototype,"ICMS20",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>to),h("design:type",typeof IICMS30>"u"?Object:IICMS30)],le.prototype,"ICMS30",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>Ra),h("design:type",typeof IICMS40>"u"?Object:IICMS40)],le.prototype,"ICMS40",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>ai),h("design:type",typeof IICMS51>"u"?Object:IICMS51)],le.prototype,"ICMS51",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>ko),h("design:type",typeof IICMS53>"u"?Object:IICMS53)],le.prototype,"ICMS53",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>oo),h("design:type",typeof IICMS60>"u"?Object:IICMS60)],le.prototype,"ICMS60",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>Pr),h("design:type",typeof IICMS61>"u"?Object:IICMS61)],le.prototype,"ICMS61",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>ze),h("design:type",typeof IICMS70>"u"?Object:IICMS70)],le.prototype,"ICMS70",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>je),h("design:type",typeof IICMS90>"u"?Object:IICMS90)],le.prototype,"ICMS90",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>Et),h("design:type",typeof IICMSPart>"u"?Object:IICMSPart)],le.prototype,"ICMSPart",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>Yn),h("design:type",typeof IICMSST>"u"?Object:IICMSST)],le.prototype,"ICMSST",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>wa),h("design:type",typeof IICMSSN101>"u"?Object:IICMSSN101)],le.prototype,"ICMSSN101",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>fp),h("design:type",typeof IICMSSN102>"u"?Object:IICMSSN102)],le.prototype,"ICMSSN102",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>ji),h("design:type",typeof IICMSSN201>"u"?Object:IICMSSN201)],le.prototype,"ICMSSN201",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>Zn),h("design:type",typeof IICMSSN202>"u"?Object:IICMSSN202)],le.prototype,"ICMSSN202",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>Xn),h("design:type",typeof IICMSSN500>"u"?Object:IICMSSN500)],le.prototype,"ICMSSN500",void 0);m([(0,d.IsOptional)(),(0,d.ValidateNested)(),(0,Ge.Type)(()=>io),h("design:type",typeof IICMSSN900>"u"?Object:IICMSSN900)],le.prototype,"ICMSSN900",void 0);le=m([(0,b.Choice)({properties:["ICMS00","ICMS02","ICMS10","ICMS15","ICMS20","ICMS30","ICMS40","ICMS51","ICMS53","ICMS60","ICMS61","ICMS70","ICMS90","ICMSPart","ICMSST","ICMSSN101","ICMSSN102","ICMSSN201","ICMSSN202","ICMSSN500","ICMSSN900"]})],le);var xe=require("class-validator"),Ef=require("class-transformer");function Ho(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(Ho,"_ts_decorate");function Go(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Go,"_ts_metadata");var Jn=class{static{a(this,"IPITrib")}CST;vBC;pIPI;qUnid;vUnid;vIPI};Ho([(0,xe.IsString)(),Go("design:type",String)],Jn.prototype,"CST",void 0);Ho([(0,xe.IsOptional)(),(0,xe.IsString)(),Go("design:type",String)],Jn.prototype,"vBC",void 0);Ho([(0,xe.IsOptional)(),(0,xe.IsString)(),Go("design:type",String)],Jn.prototype,"pIPI",void 0);Ho([(0,xe.IsOptional)(),(0,xe.IsString)(),Go("design:type",String)],Jn.prototype,"qUnid",void 0);Ho([(0,xe.IsOptional)(),(0,xe.IsString)(),Go("design:type",String)],Jn.prototype,"vUnid",void 0);Ho([(0,xe.IsOptional)(),(0,xe.IsString)(),Go("design:type",String)],Jn.prototype,"vIPI",void 0);var Ql=class{static{a(this,"IPINT")}CST};Ho([(0,xe.IsString)(),Go("design:type",String)],Ql.prototype,"CST",void 0);var si=class{static{a(this,"IPI")}CNPJProd;cSelo;qSelo;cEnq;IPITrib;IPINT};Ho([(0,xe.IsOptional)(),(0,xe.IsString)(),Go("design:type",String)],si.prototype,"CNPJProd",void 0);Ho([(0,xe.IsOptional)(),(0,xe.IsString)(),Go("design:type",String)],si.prototype,"cSelo",void 0);Ho([(0,xe.IsOptional)(),(0,xe.IsString)(),Go("design:type",String)],si.prototype,"qSelo",void 0);Ho([(0,xe.IsString)(),Go("design:type",String)],si.prototype,"cEnq",void 0);Ho([(0,xe.IsOptional)(),(0,xe.ValidateNested)(),(0,Ef.Type)(()=>Jn),Go("design:type",typeof IIPITrib>"u"?Object:IIPITrib)],si.prototype,"IPITrib",void 0);Ho([(0,xe.IsOptional)(),(0,xe.ValidateNested)(),(0,Ef.Type)(()=>Ql),Go("design:type",typeof IIPINT>"u"?Object:IIPINT)],si.prototype,"IPINT",void 0);var dn=require("class-validator");function Yl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Yl,"_ts_decorate");function Zl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Zl,"_ts_metadata");var un=class{static{a(this,"II")}vBC;vDespAdu;vII;vIOF};Yl([(0,dn.IsOptional)(),(0,dn.IsString)(),Zl("design:type",String)],un.prototype,"vBC",void 0);Yl([(0,dn.IsOptional)(),(0,dn.IsString)(),Zl("design:type",String)],un.prototype,"vDespAdu",void 0);Yl([(0,dn.IsOptional)(),(0,dn.IsString)(),Zl("design:type",String)],un.prototype,"vII",void 0);Yl([(0,dn.IsOptional)(),(0,dn.IsString)(),Zl("design:type",String)],un.prototype,"vIOF",void 0);var V=require("class-validator"),mp=require("class-transformer"),Mi=require("nfets/core");function Te(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(Te,"_ts_decorate");function Be(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Be,"_ts_metadata");var Wn=class{static{a(this,"PISAliq")}CST;vBC;pPIS;vPIS};Te([(0,V.IsString)(),Be("design:type",String)],Wn.prototype,"CST",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),(0,Mi.TransformDecimal)({fixed:2}),Be("design:type",String)],Wn.prototype,"vBC",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),(0,Mi.TransformDecimal)({fixed:4}),Be("design:type",String)],Wn.prototype,"pPIS",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),(0,Mi.TransformDecimal)({fixed:2}),Be("design:type",String)],Wn.prototype,"vPIS",void 0);var Kn=class{static{a(this,"PISQtde")}CST;qBCProd;vAliqProd;vPIS};Te([(0,V.IsString)(),Be("design:type",String)],Kn.prototype,"CST",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),Be("design:type",String)],Kn.prototype,"qBCProd",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),Be("design:type",String)],Kn.prototype,"vAliqProd",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),(0,Mi.TransformDecimal)({fixed:2}),Be("design:type",String)],Kn.prototype,"vPIS",void 0);var js=class{static{a(this,"PISNT")}CST};Te([(0,V.IsString)(),Be("design:type",String)],js.prototype,"CST",void 0);var Ti=class{static{a(this,"PISOutr")}CST;vBC;pPIS;qBCProd;vAliqProd;vPIS};Te([(0,V.IsString)(),Be("design:type",String)],Ti.prototype,"CST",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),(0,Mi.TransformDecimal)({fixed:2}),Be("design:type",String)],Ti.prototype,"vBC",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),(0,Mi.TransformDecimal)({fixed:4}),Be("design:type",String)],Ti.prototype,"pPIS",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),Be("design:type",String)],Ti.prototype,"qBCProd",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),Be("design:type",String)],Ti.prototype,"vAliqProd",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),(0,Mi.TransformDecimal)({fixed:2}),Be("design:type",String)],Ti.prototype,"vPIS",void 0);var fn=class{static{a(this,"PIS")}PISAliq;PISQtde;PISNT;PISOutr};Te([(0,V.IsOptional)(),(0,V.ValidateNested)(),(0,mp.Type)(()=>Wn),Be("design:type",typeof Wn>"u"?Object:Wn)],fn.prototype,"PISAliq",void 0);Te([(0,V.IsOptional)(),(0,V.ValidateNested)(),(0,mp.Type)(()=>Kn),Be("design:type",typeof Kn>"u"?Object:Kn)],fn.prototype,"PISQtde",void 0);Te([(0,V.IsOptional)(),(0,V.ValidateNested)(),(0,mp.Type)(()=>js),Be("design:type",typeof js>"u"?Object:js)],fn.prototype,"PISNT",void 0);Te([(0,V.IsOptional)(),(0,V.ValidateNested)(),(0,mp.Type)(()=>Ti),Be("design:type",typeof Ti>"u"?Object:Ti)],fn.prototype,"PISOutr",void 0);var Bi=class{static{a(this,"PISST")}vBC;pPIS;qBCProd;vAliqProd;vPIS};Te([(0,V.IsOptional)(),(0,V.IsString)(),(0,Mi.TransformDecimal)({fixed:2}),Be("design:type",String)],Bi.prototype,"vBC",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),(0,Mi.TransformDecimal)({fixed:4}),Be("design:type",String)],Bi.prototype,"pPIS",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),Be("design:type",String)],Bi.prototype,"qBCProd",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),Be("design:type",String)],Bi.prototype,"vAliqProd",void 0);Te([(0,V.IsOptional)(),(0,V.IsString)(),(0,Mi.TransformDecimal)({fixed:2}),Be("design:type",String)],Bi.prototype,"vPIS",void 0);var _=require("class-validator"),hp=require("class-transformer"),_i=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 Le(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Le,"_ts_metadata");var $n=class{static{a(this,"COFINSAliq")}CST;vBC;pCOFINS;vCOFINS};Me([(0,_.IsString)(),Le("design:type",String)],$n.prototype,"CST",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),(0,_i.TransformDecimal)({fixed:2}),Le("design:type",String)],$n.prototype,"vBC",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),(0,_i.TransformDecimal)({fixed:4}),Le("design:type",String)],$n.prototype,"pCOFINS",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),(0,_i.TransformDecimal)({fixed:2}),Le("design:type",String)],$n.prototype,"vCOFINS",void 0);var er=class{static{a(this,"COFINSQtde")}CST;qBCProd;vAliqProd;vCOFINS};Me([(0,_.IsString)(),Le("design:type",String)],er.prototype,"CST",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),Le("design:type",String)],er.prototype,"qBCProd",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),Le("design:type",String)],er.prototype,"vAliqProd",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),(0,_i.TransformDecimal)({fixed:2}),Le("design:type",String)],er.prototype,"vCOFINS",void 0);var Ts=class{static{a(this,"COFINSNT")}CST};Me([(0,_.IsString)(),Le("design:type",String)],Ts.prototype,"CST",void 0);var Li=class{static{a(this,"COFINSOutr")}CST;vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};Me([(0,_.IsString)(),Le("design:type",String)],Li.prototype,"CST",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),(0,_i.TransformDecimal)({fixed:2}),Le("design:type",String)],Li.prototype,"vBC",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),(0,_i.TransformDecimal)({fixed:4}),Le("design:type",String)],Li.prototype,"pCOFINS",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),Le("design:type",String)],Li.prototype,"qBCProd",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),Le("design:type",String)],Li.prototype,"vAliqProd",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),(0,_i.TransformDecimal)({fixed:2}),Le("design:type",String)],Li.prototype,"vCOFINS",void 0);var mn=class{static{a(this,"COFINS")}COFINSAliq;COFINSQtde;COFINSNT;COFINSOutr};Me([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,hp.Type)(()=>$n),Le("design:type",typeof $n>"u"?Object:$n)],mn.prototype,"COFINSAliq",void 0);Me([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,hp.Type)(()=>er),Le("design:type",typeof er>"u"?Object:er)],mn.prototype,"COFINSQtde",void 0);Me([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,hp.Type)(()=>Ts),Le("design:type",typeof Ts>"u"?Object:Ts)],mn.prototype,"COFINSNT",void 0);Me([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,hp.Type)(()=>Li),Le("design:type",typeof Li>"u"?Object:Li)],mn.prototype,"COFINSOutr",void 0);var Vi=class{static{a(this,"COFINSST")}vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};Me([(0,_.IsOptional)(),(0,_.IsString)(),(0,_i.TransformDecimal)({fixed:2}),Le("design:type",String)],Vi.prototype,"vBC",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),(0,_i.TransformDecimal)({fixed:4}),Le("design:type",String)],Vi.prototype,"pCOFINS",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),Le("design:type",String)],Vi.prototype,"qBCProd",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),Le("design:type",String)],Vi.prototype,"vAliqProd",void 0);Me([(0,_.IsOptional)(),(0,_.IsString)(),(0,_i.TransformDecimal)({fixed:2}),Le("design:type",String)],Vi.prototype,"vCOFINS",void 0);var Ve=require("class-validator"),tr=require("nfets/core");function no(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(no,"_ts_decorate");function ro(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ro,"_ts_metadata");var Qe=class{static{a(this,"ISSQN")}vBC;vAliq;vISSQN;cMunFG;cListServ;vDeducao;vOutro;vDescIncond;vDescCond;vISSRet;indISS;indIncentivo;cServico;cMun;cPais;nProcesso};no([(0,Ve.IsOptional)(),(0,tr.TransformDecimal)({fixed:2}),ro("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qe.prototype,"vBC",void 0);no([(0,Ve.IsOptional)(),(0,tr.TransformDecimal)({fixed:4}),ro("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qe.prototype,"vAliq",void 0);no([(0,Ve.IsOptional)(),(0,tr.TransformDecimal)({fixed:2}),ro("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qe.prototype,"vISSQN",void 0);no([(0,Ve.IsOptional)(),(0,Ve.IsString)(),ro("design:type",String)],Qe.prototype,"cMunFG",void 0);no([(0,Ve.IsOptional)(),(0,Ve.IsString)(),ro("design:type",String)],Qe.prototype,"cListServ",void 0);no([(0,Ve.IsOptional)(),(0,tr.TransformDecimal)({fixed:2}),ro("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qe.prototype,"vDeducao",void 0);no([(0,Ve.IsOptional)(),(0,tr.TransformDecimal)({fixed:2}),ro("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qe.prototype,"vOutro",void 0);no([(0,Ve.IsOptional)(),(0,tr.TransformDecimal)({fixed:2}),ro("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qe.prototype,"vDescIncond",void 0);no([(0,Ve.IsOptional)(),(0,tr.TransformDecimal)({fixed:2}),ro("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qe.prototype,"vDescCond",void 0);no([(0,Ve.IsOptional)(),(0,tr.TransformDecimal)({fixed:2}),ro("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qe.prototype,"vISSRet",void 0);no([(0,Ve.IsString)(),ro("design:type",String)],Qe.prototype,"indISS",void 0);no([(0,Ve.IsString)(),ro("design:type",String)],Qe.prototype,"indIncentivo",void 0);no([(0,Ve.IsOptional)(),(0,Ve.IsString)(),ro("design:type",String)],Qe.prototype,"cServico",void 0);no([(0,Ve.IsOptional)(),(0,Ve.IsString)(),ro("design:type",String)],Qe.prototype,"cMun",void 0);no([(0,Ve.IsOptional)(),(0,Ve.IsString)(),ro("design:type",String)],Qe.prototype,"cPais",void 0);no([(0,Ve.IsOptional)(),(0,Ve.IsString)(),ro("design:type",String)],Qe.prototype,"nProcesso",void 0);var at=require("class-validator");function or(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(or,"_ts_decorate");function ir(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ir,"_ts_metadata");var ho=class{static{a(this,"ICMSUFDest")}vBCUFDest;vBCFCPUFDest;pFCPUFDest;pICMSUFDest;pICMSInter;pICMSInterPart;vFCPUFDest;vICMSUFDest;vICMSUFRemet};or([(0,at.IsOptional)(),(0,at.IsString)(),ir("design:type",String)],ho.prototype,"vBCUFDest",void 0);or([(0,at.IsOptional)(),(0,at.IsString)(),ir("design:type",String)],ho.prototype,"vBCFCPUFDest",void 0);or([(0,at.IsOptional)(),(0,at.IsString)(),ir("design:type",String)],ho.prototype,"pFCPUFDest",void 0);or([(0,at.IsOptional)(),(0,at.IsString)(),ir("design:type",String)],ho.prototype,"pICMSUFDest",void 0);or([(0,at.IsOptional)(),(0,at.IsString)(),ir("design:type",String)],ho.prototype,"pICMSInter",void 0);or([(0,at.IsOptional)(),(0,at.IsString)(),ir("design:type",String)],ho.prototype,"pICMSInterPart",void 0);or([(0,at.IsOptional)(),(0,at.IsString)(),ir("design:type",String)],ho.prototype,"vFCPUFDest",void 0);or([(0,at.IsOptional)(),(0,at.IsString)(),ir("design:type",String)],ho.prototype,"vICMSUFDest",void 0);or([(0,at.IsOptional)(),(0,at.IsString)(),ir("design:type",String)],ho.prototype,"vICMSUFRemet",void 0);var Ue=require("class-validator");var Bs=require("class-validator");function Nx(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(Nx,"_ts_decorate");function Rx(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Rx,"_ts_metadata");var Er=class{static{a(this,"TransferenciaCredito")}vIBS;vCBS};Nx([(0,Bs.IsOptional)(),(0,Bs.IsString)(),Rx("design:type",String)],Er.prototype,"vIBS",void 0);Nx([(0,Bs.IsOptional)(),(0,Bs.IsString)(),Rx("design:type",String)],Er.prototype,"vCBS",void 0);var Xl=require("class-validator");function zf(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(zf,"_ts_decorate");function jf(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(jf,"_ts_metadata");var nr=class{static{a(this,"CredPresIBSZFM")}tpCredPresIBSZFM;vCredPresIBSZFM;competApur};zf([(0,Xl.IsString)(),jf("design:type",String)],nr.prototype,"tpCredPresIBSZFM",void 0);zf([(0,Xl.IsString)(),jf("design:type",String)],nr.prototype,"vCredPresIBSZFM",void 0);zf([(0,Xl.IsString)(),jf("design:type",String)],nr.prototype,"competApur",void 0);var vo=require("class-validator"),Tf=require("class-transformer");function vn(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(vn,"_ts_decorate");function gn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(gn,"_ts_metadata");var zr=class{static{a(this,"IBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};vn([(0,vo.IsString)(),gn("design:type",String)],zr.prototype,"vCredPresCondSus",void 0);vn([(0,vo.IsString)(),gn("design:type",String)],zr.prototype,"pCredPres",void 0);vn([(0,vo.IsString)(),gn("design:type",String)],zr.prototype,"vCredPres",void 0);var jr=class{static{a(this,"CBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};vn([(0,vo.IsString)(),gn("design:type",String)],jr.prototype,"vCredPresCondSus",void 0);vn([(0,vo.IsString)(),gn("design:type",String)],jr.prototype,"pCredPres",void 0);vn([(0,vo.IsString)(),gn("design:type",String)],jr.prototype,"vCredPres",void 0);var hn=class{static{a(this,"CredPresOper")}gIBSCredPres;gCBSCredPres;vBCCredPres;cCredPres};vn([(0,vo.IsOptional)(),(0,vo.ValidateNested)(),(0,Tf.Type)(()=>zr),gn("design:type",typeof zr>"u"?Object:zr)],hn.prototype,"gIBSCredPres",void 0);vn([(0,vo.IsOptional)(),(0,vo.ValidateNested)(),(0,Tf.Type)(()=>jr),gn("design:type",typeof jr>"u"?Object:jr)],hn.prototype,"gCBSCredPres",void 0);vn([(0,vo.IsString)(),gn("design:type",String)],hn.prototype,"vBCCredPres",void 0);vn([(0,vo.IsString)(),gn("design:type",String)],hn.prototype,"cCredPres",void 0);var Bf=require("class-validator");function wx(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(wx,"_ts_decorate");function Ix(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ix,"_ts_metadata");var Tr=class{static{a(this,"EstornoCred")}vIBSEstCred;vCBSEstCred};wx([(0,Bf.IsString)(),Ix("design:type",String)],Tr.prototype,"vIBSEstCred",void 0);wx([(0,Bf.IsString)(),Ix("design:type",String)],Tr.prototype,"vCBSEstCred",void 0);var Jl=require("class-validator");function Mf(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(Mf,"_ts_decorate");function Lf(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Lf,"_ts_metadata");var rr=class{static{a(this,"AjusteCompet")}competApur;vCBS;vIBS};Mf([(0,Jl.IsString)(),Lf("design:type",String)],rr.prototype,"competApur",void 0);Mf([(0,Jl.IsString)(),Lf("design:type",String)],rr.prototype,"vCBS",void 0);Mf([(0,Jl.IsString)(),Lf("design:type",String)],rr.prototype,"vIBS",void 0);var Y=require("class-validator");function $e(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a($e,"_ts_decorate");function et(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(et,"_ts_metadata");var ge=class{static{a(this,"IBSCBSMono")}vTotIBSMonoItem;vTotCBSMonoItem;adRemIBS;adRemCBS;vIBSMono;vCBSMono;qBCMono;adRemIBSReten;vIBSMonoReten;adRemCBSReten;vCBSMonoReten;qBCMonoReten;adRemIBSRet;vIBSMonoRet;adRemCBSRet;vCBSMonoRet;qBCMonoRet;vIBSMonoDif;vCBSMonoDif;pDifIBS;pDifCBS};$e([(0,Y.IsString)(),et("design:type",String)],ge.prototype,"vTotIBSMonoItem",void 0);$e([(0,Y.IsString)(),et("design:type",String)],ge.prototype,"vTotCBSMonoItem",void 0);$e([(0,Y.IsString)(),et("design:type",String)],ge.prototype,"adRemIBS",void 0);$e([(0,Y.IsString)(),et("design:type",String)],ge.prototype,"adRemCBS",void 0);$e([(0,Y.IsString)(),et("design:type",String)],ge.prototype,"vIBSMono",void 0);$e([(0,Y.IsString)(),et("design:type",String)],ge.prototype,"vCBSMono",void 0);$e([(0,Y.IsString)(),et("design:type",String)],ge.prototype,"qBCMono",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"adRemIBSReten",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"vIBSMonoReten",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"adRemCBSReten",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"vCBSMonoReten",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"qBCMonoReten",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"adRemIBSRet",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"vIBSMonoRet",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"adRemCBSRet",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"vCBSMonoRet",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"qBCMonoRet",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"vIBSMonoDif",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"vCBSMonoDif",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"pDifIBS",void 0);$e([(0,Y.IsOptional)(),(0,Y.IsString)(),et("design:type",String)],ge.prototype,"pDifCBS",void 0);var yn=require("class-validator"),Gf=require("nfets/core");var Ia=require("nfets/core"),Vf=require("class-validator");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 Mr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Mr,"_ts_metadata");var Eo=class{static{a(this,"TribRegular")}CSTReg;cClassTribReg;pAliqEfetRegIBSUF;vTribRegIBSUF;pAliqEfetRegIBSMun;vTribRegIBSMun;pAliqEfetRegCBS;vTribRegCBS};Br([(0,Vf.IsString)(),Mr("design:type",String)],Eo.prototype,"CSTReg",void 0);Br([(0,Vf.IsString)(),Mr("design:type",String)],Eo.prototype,"cClassTribReg",void 0);Br([(0,Ia.TransformDecimal)({fixed:4}),Mr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Eo.prototype,"pAliqEfetRegIBSUF",void 0);Br([(0,Ia.TransformDecimal)({fixed:2}),Mr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Eo.prototype,"vTribRegIBSUF",void 0);Br([(0,Ia.TransformDecimal)({fixed:4}),Mr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Eo.prototype,"pAliqEfetRegIBSMun",void 0);Br([(0,Ia.TransformDecimal)({fixed:2}),Mr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Eo.prototype,"vTribRegIBSMun",void 0);Br([(0,Ia.TransformDecimal)({fixed:4}),Mr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Eo.prototype,"pAliqEfetRegCBS",void 0);Br([(0,Ia.TransformDecimal)({fixed:2}),Mr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Eo.prototype,"vTribRegCBS",void 0);var Cp=require("class-transformer");var Lr=require("class-validator"),Uf=require("nfets/core"),Wl=require("class-transformer");var Fx=require("nfets/core");function Lw(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(Lw,"_ts_decorate");function Vw(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Vw,"_ts_metadata");var go=class{static{a(this,"DevTrib")}vDevTrib};Lw([(0,Fx.TransformDecimal)({fixed:2}),Vw("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],go.prototype,"vDevTrib",void 0);var _f=require("nfets/core");function Ox(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(Ox,"_ts_decorate");function Ax(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ax,"_ts_metadata");var ao=class{static{a(this,"Dif")}pDif;vDif};Ox([(0,_f.TransformDecimal)({fixed:4}),Ax("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"pDif",void 0);Ox([(0,_f.TransformDecimal)({fixed:2}),Ax("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"vDif",void 0);var qf=require("nfets/core");function Dx(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(Dx,"_ts_decorate");function Px(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Px,"_ts_metadata");var so=class{static{a(this,"Red")}pRedAliq;pAliqEfet};Dx([(0,qf.TransformDecimal)({fixed:4}),Px("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"pRedAliq",void 0);Dx([(0,qf.TransformDecimal)({fixed:4}),Px("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"pAliqEfet",void 0);function vp(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(vp,"_ts_decorate");function gp(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(gp,"_ts_metadata");var qi=class{static{a(this,"IBSMun")}pIBSMun;gDif;gDevTrib;gRed;vIBSMun};vp([(0,Uf.TransformDecimal)({fixed:4}),gp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qi.prototype,"pIBSMun",void 0);vp([(0,Lr.IsOptional)(),(0,Lr.ValidateNested)(),(0,Wl.Type)(()=>ao),gp("design:type",typeof ao>"u"?Object:ao)],qi.prototype,"gDif",void 0);vp([(0,Lr.IsOptional)(),(0,Lr.ValidateNested)(),(0,Wl.Type)(()=>go),gp("design:type",typeof go>"u"?Object:go)],qi.prototype,"gDevTrib",void 0);vp([(0,Lr.IsOptional)(),(0,Lr.ValidateNested)(),(0,Wl.Type)(()=>so),gp("design:type",typeof so>"u"?Object:so)],qi.prototype,"gRed",void 0);vp([(0,Uf.TransformDecimal)({fixed:2}),gp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qi.prototype,"vIBSMun",void 0);var Vr=require("class-validator"),kf=require("nfets/core"),Kl=require("class-transformer");function yp(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(yp,"_ts_decorate");function xp(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(xp,"_ts_metadata");var Ui=class{static{a(this,"IBSUF")}pIBSUF;gDif;gDevTrib;gRed;vIBSUF};yp([(0,kf.TransformDecimal)({fixed:4}),xp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ui.prototype,"pIBSUF",void 0);yp([(0,Vr.IsOptional)(),(0,Vr.ValidateNested)(),(0,Kl.Type)(()=>ao),xp("design:type",typeof ao>"u"?Object:ao)],Ui.prototype,"gDif",void 0);yp([(0,Vr.IsOptional)(),(0,Vr.ValidateNested)(),(0,Kl.Type)(()=>go),xp("design:type",typeof go>"u"?Object:go)],Ui.prototype,"gDevTrib",void 0);yp([(0,Vr.IsOptional)(),(0,Vr.ValidateNested)(),(0,Kl.Type)(()=>so),xp("design:type",typeof so>"u"?Object:so)],Ui.prototype,"gRed",void 0);yp([(0,kf.TransformDecimal)({fixed:2}),xp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ui.prototype,"vIBSUF",void 0);var _r=require("class-validator"),Hf=require("nfets/core"),$l=require("class-transformer");function bp(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(bp,"_ts_decorate");function Sp(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Sp,"_ts_metadata");var ki=class{static{a(this,"CBS")}pCBS;gDif;gDevTrib;gRed;vCBS};bp([(0,Hf.TransformDecimal)({fixed:4}),Sp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ki.prototype,"pCBS",void 0);bp([(0,_r.IsOptional)(),(0,_r.ValidateNested)(),(0,$l.Type)(()=>ao),Sp("design:type",typeof ao>"u"?Object:ao)],ki.prototype,"gDif",void 0);bp([(0,_r.IsOptional)(),(0,_r.ValidateNested)(),(0,$l.Type)(()=>go),Sp("design:type",typeof go>"u"?Object:go)],ki.prototype,"gDevTrib",void 0);bp([(0,_r.IsOptional)(),(0,_r.ValidateNested)(),(0,$l.Type)(()=>so),Sp("design:type",typeof so>"u"?Object:so)],ki.prototype,"gRed",void 0);bp([(0,Hf.TransformDecimal)({fixed:2}),Sp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ki.prototype,"vCBS",void 0);function Ms(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(Ms,"_ts_decorate");function Ls(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ls,"_ts_metadata");var ci=class{static{a(this,"GIBSCBS")}vBC;gIBSUF;gIBSMun;vIBS;gCBS;gTribRegular};Ms([(0,Gf.TransformDecimal)({fixed:2}),Ls("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ci.prototype,"vBC",void 0);Ms([(0,yn.IsOptional)(),(0,yn.ValidateNested)(),(0,Cp.Type)(()=>Ui),Ls("design:type",typeof Ui>"u"?Object:Ui)],ci.prototype,"gIBSUF",void 0);Ms([(0,yn.IsOptional)(),(0,yn.ValidateNested)(),(0,Cp.Type)(()=>qi),Ls("design:type",typeof qi>"u"?Object:qi)],ci.prototype,"gIBSMun",void 0);Ms([(0,Gf.TransformDecimal)({fixed:2}),Ls("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ci.prototype,"vIBS",void 0);Ms([(0,yn.IsOptional)(),(0,yn.ValidateNested)(),(0,Cp.Type)(()=>ki),Ls("design:type",typeof ki>"u"?Object:ki)],ci.prototype,"gCBS",void 0);Ms([(0,yn.IsOptional)(),(0,yn.ValidateNested)(),(0,Cp.Type)(()=>Eo),Ls("design:type",typeof Eo>"u"?Object:Eo)],ci.prototype,"gTribRegular",void 0);var qr=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 bn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(bn,"_ts_metadata");var mt=class{static{a(this,"IBSCBS")}CST;cClassTrib;indDoacao;gTransfCred;gCredPresIBSZFM;gCredPresOper;gAjusteCompet;gEstornoCred;gIBSCBSMono;gIBSCBS};xn([(0,Ue.IsOptional)(),(0,Ue.IsString)(),bn("design:type",String)],mt.prototype,"CST",void 0);xn([(0,Ue.IsOptional)(),(0,Ue.IsString)(),bn("design:type",String)],mt.prototype,"cClassTrib",void 0);xn([(0,Ue.IsOptional)(),(0,Ue.IsString)(),bn("design:type",String)],mt.prototype,"indDoacao",void 0);xn([(0,Ue.IsOptional)(),(0,Ue.ValidateNested)(),(0,qr.Type)(()=>Er),bn("design:type",typeof Er>"u"?Object:Er)],mt.prototype,"gTransfCred",void 0);xn([(0,Ue.IsOptional)(),(0,Ue.ValidateNested)(),(0,qr.Type)(()=>nr),bn("design:type",typeof nr>"u"?Object:nr)],mt.prototype,"gCredPresIBSZFM",void 0);xn([(0,Ue.IsOptional)(),(0,Ue.ValidateNested)(),(0,qr.Type)(()=>hn),bn("design:type",typeof hn>"u"?Object:hn)],mt.prototype,"gCredPresOper",void 0);xn([(0,Ue.IsOptional)(),(0,Ue.ValidateNested)(),(0,qr.Type)(()=>rr),bn("design:type",typeof rr>"u"?Object:rr)],mt.prototype,"gAjusteCompet",void 0);xn([(0,Ue.IsOptional)(),(0,Ue.ValidateNested)(),(0,qr.Type)(()=>Tr),bn("design:type",typeof Tr>"u"?Object:Tr)],mt.prototype,"gEstornoCred",void 0);xn([(0,Ue.IsOptional)(),(0,Ue.ValidateNested)(),(0,qr.Type)(()=>ge),bn("design:type",typeof ge>"u"?Object:ge)],mt.prototype,"gIBSCBSMono",void 0);xn([(0,Ue.IsOptional)(),(0,Ue.ValidateNested)(),(0,qr.Type)(()=>ci),bn("design:type",typeof ci>"u"?Object:ci)],mt.prototype,"gIBSCBS",void 0);var Vs=require("nfets/core"),Hi=require("class-validator");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 kr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(kr,"_ts_metadata");var Ht=class{static{a(this,"IS")}CSTIS;cClassTribIS;vBCIS;pIS;pISEspec;uTrib;qTrib;vIS};Ur([(0,Hi.IsString)(),kr("design:type",String)],Ht.prototype,"CSTIS",void 0);Ur([(0,Hi.IsString)(),kr("design:type",String)],Ht.prototype,"cClassTribIS",void 0);Ur([(0,Hi.IsOptional)(),(0,Vs.TransformDecimal)({fixed:2}),kr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ht.prototype,"vBCIS",void 0);Ur([(0,Hi.IsOptional)(),(0,Vs.TransformDecimal)({fixed:4}),kr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ht.prototype,"pIS",void 0);Ur([(0,Hi.IsOptional)(),(0,Vs.TransformDecimal)({fixed:4}),kr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ht.prototype,"pISEspec",void 0);Ur([(0,Hi.IsOptional)(),(0,Hi.IsString)(),kr("design:type",String)],Ht.prototype,"uTrib",void 0);Ur([(0,Hi.IsOptional)(),(0,Vs.TransformDecimal)({fixed:4}),kr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ht.prototype,"qTrib",void 0);Ur([(0,Hi.IsOptional)(),(0,Vs.TransformDecimal)({fixed:2}),kr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ht.prototype,"vIS",void 0);var eu=require("nfets/core");function Qo(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(Qo,"_ts_decorate");function pi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(pi,"_ts_metadata");var st=class{static{a(this,"Imposto")}vTotTrib;ICMS;IPI;ISSQN;II;PIS;PISST;COFINS;COFINSST;ICMSUFDest;IS;IBSCBS};Qo([(0,we.IsOptional)(),(0,eu.TransformDecimal)({fixed:2}),pi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],st.prototype,"vTotTrib",void 0);Qo([(0,we.IsOptional)(),(0,we.ValidateNested)(),(0,li.Type)(()=>le),pi("design:type",typeof IICMS>"u"?Object:IICMS)],st.prototype,"ICMS",void 0);Qo([(0,we.IsOptional)(),(0,we.ValidateNested)(),(0,li.Type)(()=>si),pi("design:type",typeof IIPI>"u"?Object:IIPI)],st.prototype,"IPI",void 0);Qo([(0,we.IsOptional)(),(0,we.ValidateNested)(),(0,li.Type)(()=>Qe),pi("design:type",typeof IISSQN>"u"?Object:IISSQN)],st.prototype,"ISSQN",void 0);Qo([(0,we.IsOptional)(),(0,we.ValidateNested)(),(0,li.Type)(()=>un),pi("design:type",typeof III>"u"?Object:III)],st.prototype,"II",void 0);Qo([(0,we.IsOptional)(),(0,we.ValidateNested)(),(0,li.Type)(()=>fn),pi("design:type",typeof IPIS>"u"?Object:IPIS)],st.prototype,"PIS",void 0);Qo([(0,we.IsOptional)(),(0,we.ValidateNested)(),(0,li.Type)(()=>Bi),pi("design:type",typeof IPISST>"u"?Object:IPISST)],st.prototype,"PISST",void 0);Qo([(0,we.IsOptional)(),(0,we.ValidateNested)(),(0,li.Type)(()=>mn),pi("design:type",typeof ICOFINS>"u"?Object:ICOFINS)],st.prototype,"COFINS",void 0);Qo([(0,we.IsOptional)(),(0,we.ValidateNested)(),(0,li.Type)(()=>Vi),pi("design:type",typeof ICOFINSST>"u"?Object:ICOFINSST)],st.prototype,"COFINSST",void 0);Qo([(0,we.IsOptional)(),(0,we.ValidateNested)(),(0,li.Type)(()=>ho),pi("design:type",typeof IICMSUFDest>"u"?Object:IICMSUFDest)],st.prototype,"ICMSUFDest",void 0);Qo([(0,we.IsOptional)(),(0,we.ValidateNested)(),(0,li.Type)(()=>Ht),pi("design:type",typeof IIS>"u"?Object:IIS)],st.prototype,"IS",void 0);Qo([(0,we.IsOptional)(),(0,we.ValidateNested)(),(0,li.Type)(()=>mt),pi("design:type",typeof IIBSCBS>"u"?Object:IIBSCBS)],st.prototype,"IBSCBS",void 0);st=Qo([(0,eu.Choice)({properties:["ICMS","ISSQN"]})],st);var Fa=require("class-validator"),Ex=require("class-transformer");function Qf(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(Qf,"_ts_decorate");function Yf(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Yf,"_ts_metadata");var tu=class{static{a(this,"IpiDevol")}vIPIDevol};Qf([(0,Fa.IsString)(),Yf("design:type",String)],tu.prototype,"vIPIDevol",void 0);var _s=class{static{a(this,"Devol")}pDevol;IPI};Qf([(0,Fa.IsString)(),Yf("design:type",String)],_s.prototype,"pDevol",void 0);Qf([(0,Fa.IsOptional)(),(0,Fa.ValidateNested)(),(0,Ex.Type)(()=>tu),Yf("design:type",typeof IIpiDevol>"u"?Object:IIpiDevol)],_s.prototype,"IPI",void 0);var ar=require("class-validator"),Zf=require("class-transformer");function ou(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(ou,"_ts_decorate");function iu(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(iu,"_ts_metadata");var qs=class{static{a(this,"Observation")}xCampo;xTexto};ou([(0,ar.IsString)(),iu("design:type",String)],qs.prototype,"xCampo",void 0);ou([(0,ar.IsString)(),iu("design:type",String)],qs.prototype,"xTexto",void 0);var Us=class{static{a(this,"ObsItem")}obsCont;obsFisco};ou([(0,ar.IsOptional)(),(0,ar.ValidateNested)(),(0,Zf.Type)(()=>qs),iu("design:type",typeof IObservation>"u"?Object:IObservation)],Us.prototype,"obsCont",void 0);ou([(0,ar.IsOptional)(),(0,ar.ValidateNested)(),(0,Zf.Type)(()=>qs),iu("design:type",typeof IObservation>"u"?Object:IObservation)],Us.prototype,"obsFisco",void 0);var zx=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 Gr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Gr,"_ts_metadata");var ks=class{static{a(this,"DetAttributes")}nItem};Hr([(0,Gt.IsString)(),Gr("design:type",String)],ks.prototype,"nItem",void 0);var Gi=class{static{a(this,"Det")}prod;imposto;impostoDevol;infAdProd;obsItem;vItem};Hr([(0,Gt.IsObject)(),(0,Gt.ValidateNested)(),(0,Hs.Type)(()=>ks),Gr("design:type",typeof IDetAttributes>"u"?Object:IDetAttributes)],Gi.prototype,"$",void 0);Hr([(0,Gt.ValidateNested)(),(0,Hs.Type)(()=>L),Gr("design:type",typeof IProd>"u"?Object:IProd)],Gi.prototype,"prod",void 0);Hr([(0,Gt.IsOptional)(),(0,Gt.ValidateNested)(),(0,Hs.Type)(()=>st),Gr("design:type",typeof IImposto>"u"?Object:IImposto)],Gi.prototype,"imposto",void 0);Hr([(0,Gt.IsOptional)(),(0,Gt.ValidateNested)(),(0,Hs.Type)(()=>_s),Gr("design:type",typeof IDevol>"u"?Object:IDevol)],Gi.prototype,"impostoDevol",void 0);Hr([(0,Gt.IsOptional)(),(0,Gt.IsString)(),Gr("design:type",String)],Gi.prototype,"infAdProd",void 0);Hr([(0,Gt.IsOptional)(),(0,Gt.ValidateNested)(),(0,Hs.Type)(()=>Us),Gr("design:type",typeof IObsItem>"u"?Object:IObsItem)],Gi.prototype,"obsItem",void 0);Hr([(0,Gt.IsOptional)(),(0,zx.TransformDecimal)({fixed:2}),Gr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gi.prototype,"vItem",void 0);var Yt=require("class-validator"),nu=require("nfets/core");function Qi(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(Qi,"_ts_decorate");function Yi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Yi,"_ts_metadata");var Qt=class{static{a(this,"Avulsa")}CNPJ;xOrgao;matr;xAgente;fone;UF;nDAR;dEmi;vDAR;repEmi;dPag};Qi([(0,Yt.IsString)(),Yi("design:type",String)],Qt.prototype,"CNPJ",void 0);Qi([(0,Yt.IsString)(),Yi("design:type",String)],Qt.prototype,"xOrgao",void 0);Qi([(0,Yt.IsString)(),Yi("design:type",String)],Qt.prototype,"matr",void 0);Qi([(0,Yt.IsString)(),Yi("design:type",String)],Qt.prototype,"xAgente",void 0);Qi([(0,Yt.IsOptional)(),(0,Yt.IsString)(),Yi("design:type",String)],Qt.prototype,"fone",void 0);Qi([(0,Yt.IsString)(),Yi("design:type",String)],Qt.prototype,"UF",void 0);Qi([(0,Yt.IsOptional)(),(0,Yt.IsString)(),Yi("design:type",String)],Qt.prototype,"nDAR",void 0);Qi([(0,Yt.IsOptional)(),(0,nu.TransformDateString)({format:"YYYY-MM-DD"}),Yi("design:type",typeof Date>"u"?Object:Date)],Qt.prototype,"dEmi",void 0);Qi([(0,Yt.IsOptional)(),(0,nu.TransformDecimal)({fixed:2}),Yi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qt.prototype,"vDAR",void 0);Qi([(0,Yt.IsString)(),Yi("design:type",String)],Qt.prototype,"repEmi",void 0);Qi([(0,Yt.IsOptional)(),(0,Yt.IsDate)(),Yi("design:type",typeof Date>"u"?Object:Date)],Qt.prototype,"dPag",void 0);var jx=require("class-validator");function _w(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(_w,"_ts_decorate");function qw(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(qw,"_ts_metadata");var Oa=class{static{a(this,"InfSolicNFF")}xSolic};_w([(0,jx.IsString)(),qw("design:type",String)],Oa.prototype,"xSolic",void 0);function Ye(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(Ye,"_ts_decorate");function Ze(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ze,"_ts_metadata");var Aa=class{static{a(this,"InfNFeAttributes")}Id;versao};Ye([(0,j.IsOptional)(),(0,j.IsString)(),Ze("design:type",String)],Aa.prototype,"Id",void 0);Ye([(0,j.IsOptional)(),(0,j.IsString)(),Ze("design:type",String)],Aa.prototype,"versao",void 0);var be=class{static{a(this,"InfNFe")}ide;emit;avulsa;dest;retirada;entrega;autXML;det;total;transp;cobr;pag;infIntermed;infAdic;exporta;compra;cana;infRespTec;infSolicNFF};Ye([(0,j.IsObject)(),(0,j.IsNotEmptyObject)(),(0,tt.Type)(()=>Aa),(0,j.ValidateNested)(),Ze("design:type",typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes)],be.prototype,"$",void 0);Ye([(0,j.IsObject)(),(0,j.IsNotEmptyObject)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>ne),Ze("design:type",typeof IIde>"u"?Object:IIde)],be.prototype,"ide",void 0);Ye([(0,j.IsObject)(),(0,j.IsNotEmptyObject)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>Ot),Ze("design:type",typeof IEmit>"u"?Object:IEmit)],be.prototype,"emit",void 0);Ye([(0,j.IsOptional)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>Qt),Ze("design:type",typeof IAvulsa>"u"?Object:IAvulsa)],be.prototype,"avulsa",void 0);Ye([(0,j.IsOptional)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>At),Ze("design:type",typeof IDest>"u"?Object:IDest)],be.prototype,"dest",void 0);Ye([(0,j.IsOptional)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>ye),Ze("design:type",typeof ILocal>"u"?Object:ILocal)],be.prototype,"retirada",void 0);Ye([(0,j.IsOptional)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>ye),Ze("design:type",typeof ILocal>"u"?Object:ILocal)],be.prototype,"entrega",void 0);Ye([(0,j.IsOptional)(),(0,j.ValidateNested)({each:!0}),(0,j.ArrayMaxSize)(10),(0,tt.Type)(()=>tn),Ze("design:type",Array)],be.prototype,"autXML",void 0);Ye([(0,j.ValidateNested)({each:!0}),(0,j.ArrayMaxSize)(990),(0,j.ArrayMinSize)(1),(0,tt.Type)(()=>Gi),Ze("design:type",Array)],be.prototype,"det",void 0);Ye([(0,j.ValidateNested)(),(0,tt.Type)(()=>oi),Ze("design:type",typeof ITotal>"u"?Object:ITotal)],be.prototype,"total",void 0);Ye([(0,j.ValidateNested)(),(0,tt.Type)(()=>$t),Ze("design:type",typeof ITransp>"u"?Object:ITransp)],be.prototype,"transp",void 0);Ye([(0,j.IsOptional)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>Rr),Ze("design:type",typeof ICobr>"u"?Object:ICobr)],be.prototype,"cobr",void 0);Ye([(0,j.ValidateNested)(),(0,tt.Type)(()=>wr),Ze("design:type",typeof IPag>"u"?Object:IPag)],be.prototype,"pag",void 0);Ye([(0,j.IsOptional)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>gr),Ze("design:type",typeof IInfIntermed>"u"?Object:IInfIntermed)],be.prototype,"infIntermed",void 0);Ye([(0,j.IsOptional)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>Ei),Ze("design:type",typeof IInfAdic>"u"?Object:IInfAdic)],be.prototype,"infAdic",void 0);Ye([(0,j.IsOptional)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>En),Ze("design:type",typeof IExporta>"u"?Object:IExporta)],be.prototype,"exporta",void 0);Ye([(0,j.IsOptional)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>zn),Ze("design:type",typeof ICompra>"u"?Object:ICompra)],be.prototype,"compra",void 0);Ye([(0,j.IsOptional)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>eo),Ze("design:type",typeof ICana>"u"?Object:ICana)],be.prototype,"cana",void 0);Ye([(0,j.IsOptional)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>$o),Ze("design:type",typeof IInfRespTec>"u"?Object:IInfRespTec)],be.prototype,"infRespTec",void 0);Ye([(0,j.IsOptional)(),(0,j.ValidateNested)(),(0,tt.Type)(()=>Oa),Ze("design:type",typeof ISolicNFF>"u"?Object:ISolicNFF)],be.prototype,"infSolicNFF",void 0);var Xf=require("class-transformer");function ru(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(ru,"_ts_decorate");function au(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(au,"_ts_metadata");var Gs=class{static{a(this,"NFeAttributes")}xmlns};ru([(0,yo.IsString)(),(0,yo.IsNotEmpty)(),au("design:type",String)],Gs.prototype,"xmlns",void 0);var sr=class{static{a(this,"NFe")}$;infNFe;Signature};ru([(0,yo.IsObject)(),(0,yo.IsNotEmptyObject)(),(0,Xf.Type)(()=>Gs),(0,yo.ValidateNested)(),au("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],sr.prototype,"$",void 0);ru([(0,yo.IsObject)(),(0,yo.IsNotEmptyObject)(),(0,Xf.Type)(()=>be),(0,yo.ValidateNested)(),au("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],sr.prototype,"infNFe",void 0);ru([(0,yo.Allow)(),au("design:type",typeof Signature>"u"?Object:Signature)],sr.prototype,"Signature",void 0);var Tx=require("nfets/core");var xo=require("nfets/core");function zo(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(zo,"_ts_decorate");function k(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(k,"_ts_metadata");var ht=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}setImposto(e){return this.data.imposto=e,e}imposto(e){return this.listener?.imposto(this.setImposto(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 this.data.imposto??={},this.data.imposto.II=e,this.listener?.ii(e),this}ipi(e){return this.data.imposto??={},this.data.imposto.IPI=e,this.listener?.ipi(e),this}pis(e){return this.data.imposto??={},this.data.imposto.PIS=e,this.listener?.pis(e),this}pisst(e){return this.data.imposto??={},this.data.imposto.PISST=e,this}cofins(e){return this.data.imposto??={},this.data.imposto.COFINS=e,this.listener?.cofins(e),this}cofinsst(e){return this.data.imposto??={},this.data.imposto.COFINSST=e,this}icmsufdest(e){return this.data.imposto??={},this.data.imposto.ICMSUFDest=e,this}is(e){return e==null?this:this.schema===Zo.PL_009_V4?this:(this.data.imposto??={},this.data.imposto.IS=e,this)}ibscbs(e){return e==null?this:this.schema===Zo.PL_009_V4?this:(this.data.imposto??={},this.data.imposto.IBSCBS=e,this)}vItem(e){return this.schema===Zo.PL_009_V4?this:(this.data.vItem=e.vItem,this)}assemble(){this.data.imposto&&this.setImposto(this.data.imposto);let e={...this.data};return this.data={},e}};zo([(0,xo.Validates)(ks),k("design:type",Function),k("design:paramtypes",[typeof IDetAttributes>"u"?Object:IDetAttributes]),k("design:returntype",void 0)],ht.prototype,"det",null);zo([(0,xo.Validates)(L),k("design:type",Function),k("design:paramtypes",[typeof IProd>"u"?Object:IProd]),k("design:returntype",void 0)],ht.prototype,"prod",null);zo([(0,xo.Validates)(st),k("design:type",Function),k("design:paramtypes",[typeof IImposto>"u"?Object:IImposto]),k("design:returntype",typeof IImposto>"u"?Object:IImposto)],ht.prototype,"setImposto",null);zo([(0,xo.Validates)(le),k("design:type",Function),k("design:paramtypes",[typeof IICMS>"u"?Object:IICMS]),k("design:returntype",void 0)],ht.prototype,"icms",null);zo([(0,xo.Validates)(Qe),k("design:type",Function),k("design:paramtypes",[typeof IISSQN>"u"?Object:IISSQN]),k("design:returntype",void 0)],ht.prototype,"issqn",null);zo([(0,xo.Validates)(un),k("design:type",Function),k("design:paramtypes",[typeof III>"u"?Object:III]),k("design:returntype",void 0)],ht.prototype,"ii",null);zo([(0,xo.Validates)(si),k("design:type",Function),k("design:paramtypes",[typeof IIPI>"u"?Object:IIPI]),k("design:returntype",void 0)],ht.prototype,"ipi",null);zo([(0,xo.Validates)(fn),k("design:type",Function),k("design:paramtypes",[typeof IPIS>"u"?Object:IPIS]),k("design:returntype",void 0)],ht.prototype,"pis",null);zo([(0,xo.Validates)(Bi),k("design:type",Function),k("design:paramtypes",[typeof IPISST>"u"?Object:IPISST]),k("design:returntype",void 0)],ht.prototype,"pisst",null);zo([(0,xo.Validates)(mn),k("design:type",Function),k("design:paramtypes",[typeof ICOFINS>"u"?Object:ICOFINS]),k("design:returntype",void 0)],ht.prototype,"cofins",null);zo([(0,xo.Validates)(Vi),k("design:type",Function),k("design:paramtypes",[typeof ICOFINSST>"u"?Object:ICOFINSST]),k("design:returntype",void 0)],ht.prototype,"cofinsst",null);zo([(0,xo.Validates)(ho),k("design:type",Function),k("design:paramtypes",[typeof IICMSUFDest>"u"?Object:IICMSUFDest]),k("design:returntype",void 0)],ht.prototype,"icmsufdest",null);zo([(0,xo.Validates)(Ht),k("design:type",Function),k("design:paramtypes",[typeof Ht>"u"?Object:Ht]),k("design:returntype",void 0)],ht.prototype,"is",null);zo([(0,xo.Validates)(mt),k("design:type",Function),k("design:paramtypes",[typeof mt>"u"?Object:mt]),k("design:returntype",void 0)],ht.prototype,"ibscbs",null);var Qs=require("nfets/core"),Ie=require("nfets/core"),su=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 E(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(E,"_ts_metadata");var Se=class{static{a(this,"NfeXmlBuilder")}builder;contingency;schema;data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}}};$data=void 0;get entity(){return sr}root="NFe";$det=new hc(this);$total=new vc(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=ht.create(this.$det,this.schema)}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==null?this:(this.data.infNFe.autXML??=[],this.data.infNFe.autXML.push(e),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){if(e==null)return this;if(this.schema===Zo.PL_009_V4)return this;let o=this.data.infNFe.total.IBSCBSTot;return this.data.infNFe.total.IBSCBSTot={...o,...e,gIBS:{...o?.gIBS,...e.gIBS,gIBSUF:{...o?.gIBS?.gIBSUF,...e.gIBS?.gIBSUF},gIBSMun:{...o?.gIBS?.gIBSMun,...e.gIBS?.gIBSMun}},gCBS:{...o?.gCBS,...e.gCBS},...e.gMono!=null||o?.gMono!=null?{gMono:{...o?.gMono,...e.gMono}}:{}},this}ISTot(e){return e==null?this:this.schema===Zo.PL_009_V4?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},this.schema!==Zo.PL_009_V4&&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}}:{}},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)}quiet(){return Reflect.deleteMetadata(Ie.ValidateErrorsMetadata,this),this}toObject(){if(this.$data!==void 0)return(0,Qs.right)(this.$data);let e=this.errors();return e?(0,Qs.left)(new su.NFeTsError(e.join(", "))):(this.$total?.aggregate(),this.assertHomologValidations(),this.assertContingencyModes(),this.fillAccessKeyIfEmpty(),this.$data=(0,Tx.plainToInstance)(this.data,this.entity,{clearEmptyValues:!0}),(0,Qs.right)(this.$data))}async assemble(){let e=this.toObject();return e.isLeft()?e:(0,Qs.right)(await this.builder.build(e.value,{rootName:this.root}))}assertHomologValidations(){return this.data.infNFe.ide.tpAmb!==su.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!==bt.Normal)return;switch(Dl[e]){case"SVCAN":return this.data.infNFe.ide.tpEmis=bt.SVCAN,void 0;case"SVCRS":return this.data.infNFe.ide.tpEmis=bt.SVCRS,void 0}}automaticallyInferContingencyMode(){let{xJust:e,dhCont:o,tpEmis:i}=this.data.infNFe.ide;if(!(!e&&!o&&i===bt.Normal))return this.contingency={xJust:e??"SEFAZ fora do Ar",dhCont:o??new Date().toISOString()},this.assertContingencyModes()}errors(){return Reflect.getMetadata(Ie.ValidateErrorsMetadata,this)}collect(e){let o=Reflect.getMetadata(Ie.ValidateErrorsMetadata,e);if(!o)return;let i=this.errors();Reflect.defineMetadata(Ie.ValidateErrorsMetadata,(i??[]).concat(o),this)}fillAccessKeyIfEmpty(){if(this.data.infNFe.$.Id)return;let e=new mc().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}}};vt([(0,Ie.Validates)(Aa),E("design:type",Function),E("design:paramtypes",[typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes]),E("design:returntype",void 0)],Se.prototype,"infNFe",null);vt([(0,Ie.Validates)(ne),E("design:type",Function),E("design:paramtypes",[typeof IIde>"u"?Object:IIde]),E("design:returntype",void 0)],Se.prototype,"ide",null);vt([(0,Ie.Validates)(Ot),E("design:type",Function),E("design:paramtypes",[typeof IEmit>"u"?Object:IEmit]),E("design:returntype",void 0)],Se.prototype,"emit",null);vt([(0,Ie.Validates)(Qt),E("design:type",Function),E("design:paramtypes",[typeof IAvulsa>"u"?Object:IAvulsa]),E("design:returntype",void 0)],Se.prototype,"avulsa",null);vt([(0,Ie.Validates)(At),E("design:type",Function),E("design:paramtypes",[typeof IDest>"u"?Object:IDest]),E("design:returntype",void 0)],Se.prototype,"dest",null);vt([(0,Ie.Validates)(ye),E("design:type",Function),E("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),E("design:returntype",void 0)],Se.prototype,"retirada",null);vt([(0,Ie.Validates)(ye),E("design:type",Function),E("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),E("design:returntype",void 0)],Se.prototype,"entrega",null);vt([(0,Ie.Validates)(tn),E("design:type",Function),E("design:paramtypes",[typeof IAutXML>"u"?Object:IAutXML]),E("design:returntype",void 0)],Se.prototype,"autXML",null);vt([(0,Ie.Validates)(oi),E("design:type",Function),E("design:paramtypes",[typeof ITotal>"u"?Object:ITotal]),E("design:returntype",void 0)],Se.prototype,"total",null);vt([(0,Ie.Validates)($t),E("design:type",Function),E("design:paramtypes",[typeof ITransp>"u"?Object:ITransp]),E("design:returntype",void 0)],Se.prototype,"transp",null);vt([(0,Ie.Validates)(Rr),E("design:type",Function),E("design:paramtypes",[typeof ICobr>"u"?Object:ICobr]),E("design:returntype",void 0)],Se.prototype,"cobr",null);vt([(0,Ie.Validates)(wr),E("design:type",Function),E("design:paramtypes",[typeof IPag>"u"?Object:IPag]),E("design:returntype",void 0)],Se.prototype,"pag",null);vt([(0,Ie.Validates)(gr),E("design:type",Function),E("design:paramtypes",[typeof IInfIntermed>"u"?Object:IInfIntermed]),E("design:returntype",void 0)],Se.prototype,"infIntermed",null);vt([(0,Ie.Validates)(Ei),E("design:type",Function),E("design:paramtypes",[typeof IInfAdic>"u"?Object:IInfAdic]),E("design:returntype",void 0)],Se.prototype,"infAdic",null);vt([(0,Ie.Validates)(En),E("design:type",Function),E("design:paramtypes",[typeof IExporta>"u"?Object:IExporta]),E("design:returntype",void 0)],Se.prototype,"exporta",null);vt([(0,Ie.Validates)(zn),E("design:type",Function),E("design:paramtypes",[typeof ICompra>"u"?Object:ICompra]),E("design:returntype",void 0)],Se.prototype,"compra",null);vt([(0,Ie.Validates)(eo),E("design:type",Function),E("design:paramtypes",[typeof ICana>"u"?Object:ICana]),E("design:returntype",void 0)],Se.prototype,"cana",null);vt([(0,Ie.Validates)($o),E("design:type",Function),E("design:paramtypes",[typeof IInfRespTec>"u"?Object:IInfRespTec]),E("design:returntype",void 0)],Se.prototype,"infRespTec",null);vt([(0,Ie.Validates)(Oa),E("design:type",Function),E("design:paramtypes",[typeof ISolicNFF>"u"?Object:ISolicNFF]),E("design:returntype",void 0)],Se.prototype,"infSolicNFF",null);var Np=class extends $a{static{a(this,"NfeXmlBuilderPipeline")}certificate;schema;builder=Se.create(this.toolkit);constructor(e,o="PL_009_V4"){super(e),this.certificate=e,this.schema=o}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 Bx.default.resolve(fc(),this.schema,"nfe_v4.00.xsd")}async assertXmlSignedAndValidated(e){if(!this.certificate)return(0,Ys.right)(e);let o=await this.signXmlString(e);return o.isLeft()?o:this.validateXmlString(o.value)}async signXmlString(e){if(!this.certificate)return(0,Ys.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,Ys.left)(new dc(o.value.message,e,{cause:o.value.cause})):(0,Ys.right)(e)}};var Vx=require("nfets/core");var uu=require("nfets/core"),_x=require("nfets/core");var lu=require("class-transformer"),jo=require("class-validator");var Jf=require("class-validator");function Mx(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(Mx,"_ts_decorate");function Lx(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Lx,"_ts_metadata");var Zs=class{static{a(this,"InfNFeSupl")}qrCode;urlChave};Mx([(0,Jf.IsString)(),Lx("design:type",String)],Zs.prototype,"qrCode",void 0);Mx([(0,Jf.IsString)(),Lx("design:type",String)],Zs.prototype,"urlChave",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 Sn=class{static{a(this,"NFCe")}$;infNFe;infNFeSupl;Signature};cu([(0,jo.IsObject)(),(0,jo.IsNotEmptyObject)(),(0,lu.Type)(()=>Gs),(0,jo.ValidateNested)(),pu("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],Sn.prototype,"$",void 0);cu([(0,jo.IsObject)(),(0,jo.IsNotEmptyObject)(),(0,lu.Type)(()=>be),(0,jo.ValidateNested)(),pu("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],Sn.prototype,"infNFe",void 0);cu([(0,jo.IsObject)(),(0,jo.IsNotEmptyObject)(),(0,lu.Type)(()=>Zs),(0,jo.ValidateNested)(),pu("design:type",typeof IInfNFeSupl>"u"?Object:IInfNFeSupl)],Sn.prototype,"infNFeSupl",void 0);cu([(0,jo.Allow)(),pu("design:type",typeof Signature>"u"?Object:Signature)],Sn.prototype,"Signature",void 0);var Rp=class extends Se{static{a(this,"NfceXmlBuilder")}data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}}};get entity(){return Sn}static create(e,o,i="PL_009_V4"){return new this(e,o,i)}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===bt.Normal)return this.data.infNFe.ide.tpEmis=bt.OFFLINE,void 0}};var Wf=class extends Np{static{a(this,"NfceXmlBuilderPipeline")}options;nfceQrcode=new Lt(this.certificates);transmitter=new It(this.soap,this.nfceQrcode);constructor(e,o="PL_009_V4",i){super(e,o),this.options=i}builder=Rp.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,uu.left)(new Vx.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,uu.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,_x.unreachable)(n.version)}}};var qx="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAg0AAAFXCAYAAAAh5X2YAAAgAElEQVR4nOy9e5xdZX3v//7sDENMY0zTNCcnJ+XQlEORw0TkRzkUYSCZaKkSBrwEa8XLD5tgBtA2M6HUenxZj1Umk1pJhpLUS71Uy2gp4WK9ZAJM1HootZpYDz9+/CylkQaIiCHEECbz/f2xnmettffc9mWtfZl53jDZa6/P2mt/n2evtZ7v831uIhCokN7d+9qRFgAL3d98jIWGLUJaLOOXEEsMu31r18qvNtjcQCAQCGSEGm1AoP5sGt7fJmw+aIGZzZc032C+YDGwEGMhspeBFgGLgIWGLRBaDCwyrF2oALQBBaBgUPAXk2EACB017O1bu1Z+uQHJDAQCgUDGBKehhekd3t8OzPMFPzCfqJBfDCzG7JeAhSYtBluEsRixEDQfrA2jHdEOtGG0ASCBK/Rj/NvqtMOS1g50dYxkkeZAIBAINI7gNDQZm3bvL4DNkzTfzOYDy4SWIZYB/wlYitlipKVEUYG5iLkY89zrxL+qOaEx2hNmtmrrmpWPTJf+QCAQCDQvwWloML3D+xaYcaGkc4D/DpwKLImaCFhIFP6fCXzP4NVbuzoONdqQQCAQCFRHcBoaSO/w/vlm3Ad2rqS4LwAmkMXR/hmk3SV01UBXx7Hac681uGLPxwH5vh9twDyMRSjqKwLMI2pSwmChoN3l2didXTd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Ud2GQUmDiYx4IYt9KgcSGaLuaGgx375V4mLQlxRlbjwkM4w5hLQP+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 Xs=class t{static{a(this,"Header")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}emit(e){let{left:o,right:i}=this.builder.pageMargins(),r=e?.x??o,n=this.context.data.infNFe.emit,{enderEmit:s}=n,{xNome:c}=n,p=this.context.defaults.font,u=`${p}-Bold`,l="center";this.builder.row({left:r,right:i},f=>this.builder.text(this.identification(n),{...f,align:l})).row({left:r,right:i},f=>this.builder.font(u).text(c,{...f,align:l}).font(p)).row({left:r,right:i},f=>this.builder.text(`${this.addressLine1(s)}${this.addressLine2(s)}${this.addressLine3(s)}`,{...f,align:l})).row({left:r,right:i},f=>this.builder.text(this.addressLine4(s),{...f,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 qx}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 Qr=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}
29
29
  ${this.constants.pendingOfAuthorization}`}get hasContingency(){let{tpEmis:e}=this.context.data.infNFe.ide;return e!==bt.Normal}get hasNotProtocoledInNormalEmission(){return!this.hasContingency&&!this.context.protNFe}contingency(e){if(!this.hasContingency)return;let o=e?.x??0;this.builder.row({left:o},i=>this.builder.text(this.contingencyBannerText,{...i,align:"center"}))}notProtocoledInNormalEmission(e){if(!this.hasNotProtocoledInNormalEmission)return;let o=e?.x??0;this.builder.row({left:o},i=>this.builder.text(this.constants.notProtocoledInNormalEmission,{...i,align:"center"}))}build(e){return this.setup(),this.builder.moveDown(.5),this.contingency(e),this.notProtocoledInNormalEmission(e),this.builder}setup(){let e=this.context.defaults.font,o=`${e}-Bold`;this.builder.font(o,this.context.options.titleFontSize)}end(){t._instance=void 0}height(){this.setup();let e=[.5],{left:o,right:i}=this.builder.pageMargins(),r=this.builder.pageWidth()-o-i;return this.hasContingency&&e.push(this.builder.heightOfString(this.contingencyBannerText,{width:r,align:"center"})),this.hasNotProtocoledInNormalEmission&&e.push(this.builder.heightOfString(this.constants.notProtocoledInNormalEmission,{width:r,align:"center"})),e.reduce((n,s)=>n+s,0)}};var Ux=require("nfets/core");var Js=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!==Ux.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 du=class t{static{a(this,"Items")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get columnStyles(){return[15,32,60,"*","*","*","*"]}get rowStyles(){return{border:!1}}get defaultStyle(){return{padding:{top:1,bottom:1,left:0,right:0}}}get headers(){let e={src:`${this.context.defaults.font}-Bold`};return[{font:e,text:"#"},{font:e,text:"cod."},{font:e,text:"descri\xE7\xE3o"},{font:e,align:{x:"right"},text:"qtde"},{font:e,align:{x:"right"},text:"unit."},{font:e,align:{x:"right"},text:"desc."},{font:e,align:{x:"right"},text:"total"}]}item(e){let{prod:o,$:{nItem:i}}=e,{cProd:r,xProd:n,qCom:s,uCom:c,vUnCom:p,vDesc:u,vProd:l}=o,f={size:this.context.options.textFontSize},g={font:f,text:i.padStart(3,"0")},y={font:f,text:r},x=[{font:f,align:{x:"right"},text:`${this.context.currency(s,4)} ${c}`},{font:f,align:{x:"right"},text:this.context.currency(p,10)},{font:f,align:{x:"right"},text:this.context.currency(u??0)},{font:f,align:{x:"right"},text:this.context.currency(l)}],C=this.builder.widthOfString(r),S=this.columnStyles[1];if(C>=S)return[[g,{colSpan:6,font:f,text:`${r} ${n}`}],[{colSpan:3},...x]];let R=this.builder.widthOfString(n),X=this.columnStyles[2];if(R>=X)return[[g,y,{colSpan:5,font:f,text:n}],[{colSpan:3},...x]];let q=this.getFirstLineWidth();return this.builder.widthOfString(`${r} ${n}`)<=q?[[g,y,{font:f,text:n},...x]]:[[g,y,{colSpan:5,font:f,text:n}],[{colSpan:3},...x]]}items(){let{det:e}=this.context.data.infNFe,o=Array.isArray(e)?e:[e],{left:i}=this.builder.pageMargins();this.builder.table({position:{x:i},defaultStyle:this.defaultStyle,columnStyles:this.columnStyles,rowStyles:this.rowStyles,data:[this.headers,...o.reduce((r,n)=>r.concat(this.item(n)),[])]})}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.builder.moveDown(.5),this.items(),this.builder}end(){t._instance=void 0}getFirstLineWidth(){return this.columnStyles.slice(1,3).reduce((o,i)=>o+i,0)}getProportionalWidth(){let{left:e,right:o}=this.builder.pageMargins(),i=this.builder.pageWidth()-e-o,r=this.columnStyles.reduce((s,c)=>typeof c=="number"?s+c:s,0),n=this.columnStyles.filter(s=>s==="*").length;return(i-r)/n}getAvailableWidth(e,o){if(e.colSpan){let n=o.indexOf(e),s=this.columnStyles.slice(0,n).reduce((p,u)=>typeof u=="number"?p+u:p,0),c=this.getProportionalWidth()*e.colSpan;return s+c}let i=o.indexOf(e),r=this.columnStyles[i];return typeof r=="number"?r:this.getProportionalWidth()}calculateRowHeight(e,o){let i=o;for(let r of e){if(!r.text)continue;let n=r.text,s=this.builder.widthOfString(n),c=this.getAvailableWidth(r,e),p=s<=c?o:this.builder.heightOfString(n,{width:c});i=Math.max(i,p)}return i}height(){this.setup();let{det:e}=this.context.data.infNFe,o=Array.isArray(e)?e:[e],i=this.builder.currentLineHeight(),r=i*1.2,n=i*.5,s=i*.5,c=o.reduce((u,l)=>{let f=this.item(l),[g]=f,y=this.calculateRowHeight(g,i),x=0;if(f.length>1){let q=this.calculateRowHeight(f[1],i);x=Math.max(i,q)}let{top:C,bottom:S}=this.defaultStyle.padding,R=C+S,X=f.length>1?i*.2:0;return u+y+x+f.length*R+X},0),p=i*2;return n+r+s+c+p}};var kx=require("nfets/core");var Ws=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 kx.Decimal(e).add(s??0).toNumber()),this.conditionalRowValue("Desconto total R$",o,"-"),this.conditionalRowValue("Frete total R$",i),this.conditionalRowValue("Seguro total R$",r),this.conditionalRowValue("Outras despesas total R$",n)}total(){let{vNF:e}=this.context.data.infNFe.total.ICMSTot,o=this.context.defaults.font,i=`${o}-Bold`,{left:r,right:n}=this.builder.pageMargins();this.builder.font(i).fontSize(this.context.options.titleFontSize).row({columns:2,left:r,right:n},s=>this.builder.text("Valor a Pagar R$",{...s,align:"left"}),s=>this.builder.text(this.context.currency(e),{...s,align:"right"})).font(o)}conditionalRowValue(e,o,i=""){if(!o||!Number.parseFloat(o.toString()))return;o=this.context.currency(o);let{left:r,right:n}=this.builder.pageMargins();this.builder.row({columns:2,left:r,right:n},s=>this.builder.text(e,{...s,align:"left"}),s=>this.builder.text(`${i}${o}`,{...s,align:"right"}))}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.builder.moveDown(.5),this.count(),this.totalizers(),this.total(),this.builder}end(){t._instance=void 0}};var ct={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"},Hx={[ct.Dinheiro]:"Dinheiro",[ct.Cheque]:"Cheque",[ct.CartaoDeCredito]:"Cart\xE3o de Cr\xE9dito",[ct.CartaoDeDebito]:"Cart\xE3o de D\xE9bito",[ct.CartaoDaLoja]:"Cart\xE3o da Loja/Outros Credi\xE1rios",[ct.ValeAlimentacao]:"Vale Alimenta\xE7\xE3o",[ct.ValeRefeicao]:"Vale Refei\xE7\xE3o",[ct.ValePresente]:"Vale Presente",[ct.ValeCombustivel]:"Vale Combust\xEDvel",[ct.BoletoBancario]:"Boleto Banc\xE1rio",[ct.DepositoBancario]:"Dep\xF3sito Banc\xE1rio",[ct.PIXDinamico]:"Pagamento Instant\xE2neo (PIX) - Din\xE2mico",[ct.TransferenciaBancaria]:"Transfer\xEAncia banc\xE1ria, Carteira Digital",[ct.ProgramaFidelidade]:"Programa fidelidade, Cashback, Cr\xE9d Virt",[ct.PIXEstatico]:"Pagamento Instant\xE2neo (PIX) - Est\xE1tico",[ct.CreditoEmLoja]:"Cr\xE9dito em Loja",[ct.PagamentoNaoInformado]:"Pagamento Eletr\xF4nico n\xE3o Informado - falha de hardware do sistema emissor",[ct.SemPagamento]:"Sem pagamento",[ct.PagamentoPosterior]:"Pagamento Posterior",[ct.Outros]:"Outros"};var Ks=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(Hx[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 $s=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 eS=Tt($0(),1);var Fu=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!==bt.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 eS.toString(e,{margin:0,type:"svg",errorCorrectionLevel:"M",color:{dark:"#000000",light:"#FFFFFF"}})}catch(o){return console.error("Error generating QR code:",o),""}}drawQrCode(){if(!this.qrCodeSvg)return;let e=this.qrCodeSvg.$.viewBox,[,,o,i]=e.split(" ").map(Number),r=this.qrSize,n=r/o,s=r/i,c=Array.isArray(this.qrCodeSvg.path)?this.qrCodeSvg.path:[this.qrCodeSvg.path],{left:p,right:u}=this.builder.pageMargins(),l=this.builder.pageWidth()-p-u,f=p+(l-r)/2,g=this.builder.y();this.builder.save().translate(f,g).scale(n,s),c.forEach(y=>{this.builder.path(y.$.d),y.$.fill&&this.builder.fill(y.$.fill),y.$.stroke&&this.builder.stroke(y.$.stroke)}),this.builder.restore(),this.builder.text("",{y:g+r})}async make(){let{qrCode:e}=this.context.data.infNFeSupl??{};if(!e)return this.builder;let o=await this.getQrSvgString(e);this.qrCodeSvg=await this.context.toolkit.parse(o)}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}async build(){return await this.make(),this.qrCodeSvg?(this.setup(),this.builder.moveDown(.5),this.drawQrCode(),this.builder):this.builder}end(){t._instance=void 0}height(){let{qrCode:e}=this.context.data.infNFeSupl??{};return e?(this.setup(),this.qrSize+.5):0}};var Ou=class t{static{a(this,"Recipient")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}unknown(e){let{left:o,right:i}=this.builder.pageMargins(),r=this.context.defaults.font,n=`${r}-Bold`;this.builder.row({left:e?.x??o,right:i},s=>this.builder.font(n).text("CONSUMIDOR N\xC3O IDENTIFICADO",{...s,align:"center"}).font(r))}identification(e){let{CNPJ:o,CPF:i,idEstrangeiro:r}=e;return o?.length===14?`CNPJ: ${o.replace(/([A-Z0-9]{2})([A-Z0-9]{3})([A-Z0-9]{3})([A-Z0-9]{4})([A-Z0-9]{2})/,"$1.$2.$3/$4-$5")}`:i?.length===11?`CPF: ${i.replace(/(\d{3})(\d{3})(\d{3})(\d{2})/,"$1.$2.$3-$4")}`:r?.length?`Id. Estrangeiro: ${r}`:""}dest(e){let{dest:o}=this.context.data.infNFe;if(!o)return this.unknown(e);let{left:i,right:r}=this.builder.pageMargins(),n=this.identification(o),{xNome:s,enderDest:c}=o,p=this.addressLine(c),u=this.context.defaults.font,l=`${u}-Bold`;this.builder.row({left:e?.x??i,right:r},f=>this.builder.font(l).text(`CONSUMIDOR - ${n}`,{...f,align:"center"}).font(u)).row({left:e?.x??i,right:r},f=>this.builder.text(`${s}${p}`,{...f,align:"center"}))}addressLine(e){if(!e)return"";let{xLgr:o,nro:i,xBairro:r,xCpl:n,xMun:s,UF:c,CEP:p}=e;if(!o||!p)return"";let u=n?`, ${n}`:"";return` - Rua ${o}, ${i}, ${r}${u}, ${s} - ${c}`}addressLine2(e){let{xBairro:o,xCpl:i}=e,r=i?` - ${i}`:"";return`${o}${r}`}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(e){return this.setup(),this.builder.moveDown(.5),this.dest(e),this.builder}end(){t._instance=void 0}height(){this.setup();let{left:e,right:o}=this.builder.pageMargins(),i=this.builder.pageWidth()-e-o,r=[this.builder.currentLineHeight()*.5],{dest:n}=this.context.data.infNFe;if(!n)return r.push(this.builder.heightOfString("CONSUMIDOR N\xC3O IDENTIFICADO",{width:i,align:"center"})),r.reduce((l,f)=>l+f,0);let s=this.identification(n),{xNome:c,enderDest:p}=n,u=this.addressLine(p);return r.push(this.builder.heightOfString(`CONSUMIDOR - ${s}`,{width:i,align:"center"}),this.builder.heightOfString(`${c}${u}`,{width:i,align:"center"})),r.reduce((l,f)=>l+f,0)}};var pr=require("nfets/core");var Au=class t{static{a(this,"Protocols")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}isProtocoled(e){return!!e}protocol(e){let o=this.context.protNFe;return this.isProtocoled(o)?this.protocoled(o.infProt,e):this.unprotocoled()}unprotocoled(){}metadata(e){let{nNF:o,serie:i,dhEmi:r}=this.context.data.infNFe.ide,n=o.padStart(9,"0"),s=i.padStart(3,"0"),{left:c,right:p}=this.builder.pageMargins(),{cUF:u}=this.context.data.infNFe.ide,l=pr.timezones[u],f=(0,pr.dateToolkit)(r).tz(l).format("DD/MM/YYYY HH:mm:ss"),g=this.context.defaults.font,y=`${g}-Bold`;this.builder.row({left:e?.x??c,right:p},x=>this.builder.font(y).text(`NFC-e n\xBA ${n} - s\xE9rie ${s} emitida em: ${f}`,{...x,align:"center"}).font(g))}protocoled(e,o){let{dhRecbto:i,nProt:r}=e,{left:n,right:s}=this.builder.pageMargins(),{cUF:c}=this.context.data.infNFe.ide,p=pr.timezones[c],u=r.replace(/([0-9]{3})([0-9]{10})(.*)/g,"$1 $2 $3"),l=(0,pr.dateToolkit)(i).tz(p).format("DD/MM/YYYY HH:mm:ss");this.builder.row({left:o?.x??n,right:s},f=>this.builder.text(`Protocolo de autoriza\xE7\xE3o: ${u}
30
30
  Data de autoriza\xE7\xE3o: ${l}`,{...f,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"),u=s.padStart(3,"0"),{cUF:l}=this.context.data.infNFe.ide,f=pr.timezones[l],g=(0,pr.dateToolkit)(c).tz(f).format("DD/MM/YYYY HH:mm:ss");e.push(this.builder.heightOfString(`NFC-e n\xBA ${p} - s\xE9rie ${u} emitida em: ${g}`,{width:r,align:"center"}));let{cMsg:y,xMsg:x}=this.context.protNFe?.infProt??{};x&&e.push(this.builder.heightOfString(`$(${y}) ${x}`,{width:r,align:"left"}));let C=this.context.protNFe;if(C){let{dhRecbto:S,nProt:R}=C.infProt,X=R.replace(/([0-9]{3})([0-9]{10})(.*)/g,"$1 $2 $3"),q=(0,pr.dateToolkit)(S).tz(f).format("DD/MM/YYYY HH:mm:ss");e.push(this.builder.heightOfString(`Protocolo de autoriza\xE7\xE3o: ${X}
31
31
  Data de autoriza\xE7\xE3o: ${q}`,{width:r,align:"center"}))}return e.reduce((S,R)=>S+R,0)}};var Du=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[Ou.instance(this.context),Au.instance(this.context),Qr.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 iO=.35277777777777775,Um=.75,tS={"80mm":80/iO},Pu="gerado por github.com/nfets/nfets";var Eu=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,`