nfets 0.0.136 → 0.0.138

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.
@@ -23,7 +23,7 @@ Minimum version required to store current data is: `+n+`.
23
23
  `}return c+=p+`
24
24
  `,typeof o=="function"&&o(null,c),c}});var uN=N(lN=>{"use strict";var CP="\x1B[47m",NP="\x1B[40m",gv="\x1B[37m",yv="\x1B[30m",ws="\x1B[0m",RP=CP+yv,wP=NP+gv,IP=a(function(t,e,o){return{"00":ws+" "+t,"01":ws+e+"\u2584"+t,"02":ws+o+"\u2584"+t,10:ws+e+"\u2580"+t,11:" ",12:"\u2584",20:ws+o+"\u2580"+t,21:"\u2580",22:"\u2588"}},"createPalette"),cN=a(function(t,e,o,i){let r=e+1;if(o>=r||i>=r||i<-1||o<-1)return"0";if(o>=e||i>=e||i<0||o<0)return"1";let n=i*e+o;return t[n]?"2":"1"},"mkCodePixel"),pN=a(function(t,e,o,i){return cN(t,e,o,i)+cN(t,e,o,i+1)},"mkCode");lN.render=function(t,e,o){let i=t.modules.size,r=t.modules.data,n=!!(e&&e.inverse),s=e&&e.inverse?wP:RP,u=IP(s,n?yv:gv,n?gv:yv),l=ws+`
25
25
  `+s,d=s;for(let g=-1;g<i+1;g+=2){for(let y=-1;y<i;y++)d+=u[pN(r,i,y,g)];d+=u[pN(r,i,i,g)]+l}return d+=ws,typeof o=="function"&&o(null,d),d}});var fN=N(dN=>{"use strict";var OP=sN(),FP=uN();dN.render=function(t,e,o){return e&&e.small?FP.render(t,e,o):OP.render(t,e,o)}});var bv=N(hN=>{"use strict";var AP=Gl();function mN(t,e){let o=t.a/255,i=e+'="'+t.hex+'"';return o<1?i+" "+e+'-opacity="'+o.toFixed(2).slice(1)+'"':i}a(mN,"getColorAttrib");function xv(t,e,o){let i=t+e;return typeof o<"u"&&(i+=" "+o),i}a(xv,"svgCmd");function DP(t,e,o){let i="",r=0,n=!1,s=0;for(let c=0;c<t.length;c++){let p=Math.floor(c%e),u=Math.floor(c/e);!p&&!n&&(n=!0),t[c]?(s++,c>0&&p>0&&t[c-1]||(i+=n?xv("M",p+o,.5+u+o):xv("m",r,0),r=0,n=!1),p+1<e&&t[c+1]||(i+=xv("h",s),s=0)):r++}return i}a(DP,"qrToPath");hN.render=a(function(e,o,i){let r=AP.getOptions(o),n=e.modules.size,s=e.modules.data,c=n+r.margin*2,p=r.color.light.a?"<path "+mN(r.color.light,"fill")+' d="M0 0h'+c+"v"+c+'H0z"/>':"",u="<path "+mN(r.color.dark,"stroke")+' d="'+DP(s,n,r.margin)+'"/>',l='viewBox="0 0 '+c+" "+c+'"',g='<svg xmlns="http://www.w3.org/2000/svg" '+(r.width?'width="'+r.width+'" height="'+r.width+'" ':"")+l+' shape-rendering="crispEdges">'+p+u+`</svg>
26
- `;return typeof i=="function"&&i(null,g),g},"render")});var vN=N(Td=>{"use strict";var PP=bv();Td.render=PP.render;Td.renderToFile=a(function(e,o,i,r){typeof r>"u"&&(r=i,i=void 0);let n=require("fs"),c='<?xml version="1.0" encoding="utf-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">'+Td.render(o,i);n.writeFile(e,c,r)},"renderToFile")});var gN=N(Bd=>{"use strict";var Sv=Gl();function EP(t,e,o){t.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=o,e.width=o,e.style.height=o+"px",e.style.width=o+"px"}a(EP,"clearCanvas");function jP(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}a(jP,"getCanvasElement");Bd.render=a(function(e,o,i){let r=i,n=o;typeof r>"u"&&(!o||!o.getContext)&&(r=o,o=void 0),o||(n=jP()),r=Sv.getOptions(r);let s=Sv.getImageWidth(e.modules.size,r),c=n.getContext("2d"),p=c.createImageData(s,s);return Sv.qrToImageData(p.data,e,r),EP(c,n,s),c.putImageData(p,0,0),n},"render");Bd.renderToDataURL=a(function(e,o,i){let r=i;typeof r>"u"&&(!o||!o.getContext)&&(r=o,o=void 0),r||(r={});let n=Bd.render(e,o,r),s=r.type||"image/png",c=r.rendererOpts||{};return n.toDataURL(s,c.quality)},"renderToDataURL")});var xN=N(Ql=>{"use strict";var zP=Th(),Cv=ev(),yN=gN(),TP=bv();function Nv(t,e,o,i,r){let n=[].slice.call(arguments,1),s=n.length,c=typeof n[s-1]=="function";if(!c&&!zP())throw new Error("Callback required as last argument");if(c){if(s<2)throw new Error("Too few arguments provided");s===2?(r=o,o=e,e=i=void 0):s===3&&(e.getContext&&typeof r>"u"?(r=i,i=void 0):(r=i,i=o,o=e,e=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(o=e,e=i=void 0):s===2&&!e.getContext&&(i=o,o=e,e=void 0),new Promise(function(p,u){try{let l=Cv.create(o,i);p(t(l,e,i))}catch(l){u(l)}})}try{let p=Cv.create(o,i);r(null,t(p,e,i))}catch(p){r(p)}}a(Nv,"renderCanvas");Ql.create=Cv.create;Ql.toCanvas=Nv.bind(null,yN.render);Ql.toDataURL=Nv.bind(null,yN.renderToDataURL);Ql.toString=Nv.bind(null,function(t,e,o){return TP.render(t,o)})});var NN=N(Da=>{"use strict";var bN=Th(),Rv=ev(),BP=nN(),SN=rN(),MP=fN(),CN=vN();function Zl(t,e,o){if(typeof t>"u")throw new Error("String required as first argument");if(typeof o>"u"&&(o=e,e={}),typeof o!="function")if(bN())e=o||{},o=null;else throw new Error("Callback required as last argument");return{opts:e,cb:o}}a(Zl,"checkParams");function VP(t){return t.slice((t.lastIndexOf(".")-1>>>0)+2).toLowerCase()}a(VP,"getTypeFromFilename");function Md(t){switch(t){case"svg":return CN;case"txt":case"utf8":return SN;case"png":case"image/png":default:return BP}}a(Md,"getRendererFromType");function LP(t){switch(t){case"svg":return CN;case"terminal":return MP;case"utf8":default:return SN}}a(LP,"getStringRendererFromType");function Yl(t,e,o){if(!o.cb)return new Promise(function(i,r){try{let n=Rv.create(e,o.opts);return t(n,o.opts,function(s,c){return s?r(s):i(c)})}catch(n){r(n)}});try{let i=Rv.create(e,o.opts);return t(i,o.opts,o.cb)}catch(i){o.cb(i)}}a(Yl,"render");Da.create=Rv.create;Da.toCanvas=xN().toCanvas;Da.toString=a(function(e,o,i){let r=Zl(e,o,i),n=r.opts?r.opts.type:void 0,s=LP(n);return Yl(s.render,e,r)},"toString");Da.toDataURL=a(function(e,o,i){let r=Zl(e,o,i),n=Md(r.opts.type);return Yl(n.renderToDataURL,e,r)},"toDataURL");Da.toBuffer=a(function(e,o,i){let r=Zl(e,o,i),n=Md(r.opts.type);return Yl(n.renderToBuffer,e,r)},"toBuffer");Da.toFile=a(function(e,o,i,r){if(typeof e!="string"||!(typeof o=="string"||typeof o=="object"))throw new Error("Invalid argument");if(arguments.length<3&&!bN())throw new Error("Too few arguments provided");let n=Zl(o,i,r),s=n.opts.type||VP(e),p=Md(s).renderToFile.bind(null,e);return Yl(p,o,n)},"toFile");Da.toFileStream=a(function(e,o,i){if(arguments.length<2)throw new Error("Too few arguments provided");let r=Zl(o,i,e.emit.bind(e,"error")),s=Md("png").renderToFileStream.bind(null,e);Yl(s,o,r)},"toFileStream")});var wN=N((uH,RN)=>{"use strict";RN.exports=NN()});var qP={};Av(qP,{AccessKeyBuilder:()=>vp,DanfceDefaultPdfDocument:()=>Iv,DanfceReducedPdfDocument:()=>Ov,DefaultDetBuilderAggregator:()=>gp,DefaultSchema:()=>Xd,DefaultTotalBuilderAggregator:()=>yp,EventoCstatToCancelRegister:()=>Qd,EventoCstatToProtocol:()=>Gd,InutCstatToProtocol:()=>Zd,NFCeDto:()=>Gn,NFeDto:()=>zr,NfceAuthorizerPipeline:()=>el,NfceCancelPipeline:()=>Tm,NfceConsultProtocoloPipeline:()=>Lm,NfceConsultStatusPipeline:()=>Vm,NfceContingencyXmlAuthorizerPipeline:()=>Bm,NfceQrcode:()=>Gt,NfceRemoteTransmitter:()=>jt,NfceVoidRangePipeline:()=>Mm,NfceXmlBuilder:()=>Bl,NfceXmlBuilderPipeline:()=>zh,NfeAuthorizationResponsePipeline:()=>Pm,NfeAuthorizerPipeline:()=>Wp,NfeCancelPipeline:()=>Xp,NfeComplements:()=>Jd,NfeConsultProtocoloPipeline:()=>$p,NfeConsultStatusPipeline:()=>Kp,NfeDetXmlBuilder:()=>lt,NfeRemoteTransmitter:()=>Vo,NfeVoidRangePipeline:()=>tc,NfeXmlBuilder:()=>ce,NfeXmlBuilderPipeline:()=>Tl,PL_009:()=>BN,PL_010:()=>So,TpEmis:()=>Ot,TpEvent:()=>jo,XmlValidationError:()=>mp,schemas:()=>hp});module.exports=TN(qP);var Pv=require("nfets/core");var mp=class extends Pv.NFeTsError{static{a(this,"XmlValidationError")}xml;name="XmlValidationError";constructor(e,o,i){super(e,i),this.xml=o}};var Ot=(function(t){return t.Normal="1",t.EPEC="4",t.SVCAN="6",t.SVCRS="7",t.OFFLINE="9",t})({});var jo=(function(t){return t.Cancelamento="110111",t.CancelamentoSubstituicao="110112",t})({});var Gd=(function(t){return t.RegistradoEVinculado="135",t})({}),Qd=(function(t){return t.RegistradoEVinculado="135",t.RegistradoNaoVinculado="136",t.CancelamentoHomologadoForaPrazo="155",t})({});var Zd=(function(t){return t.InutilizacaoHomologada="102",t})({});var Yd=require("nfets/core");var Ds={PL_009_V4:"PL_009_V4",PL_010_V1:"PL_010_V1",PL_010_V1_21:"PL_010_V1.21",PL_010_V1_30:"PL_010_V1.30"},BN=[Ds.PL_009_V4],So=[Ds.PL_010_V1,Ds.PL_010_V1_21,Ds.PL_010_V1_30],Xd=Ds.PL_009_V4,hp=a(()=>{if(process.env.NFETS_NFE_SCHEMAS_DIR)return process.env.NFETS_NFE_SCHEMAS_DIR;try{return(0,Yd.search)("packages/nfe/schemas",{onFound:a(t=>t,"onFound"),onNotFound:a(()=>{throw new Error("Schemas not found on packages/nfe/schemas")},"onNotFound")})}catch{return(0,Yd.search)("nfe/schemas",{onFound:a(t=>t,"onFound"),onNotFound:a(()=>{throw new Error("Schemas not found on nfe/schemas")},"onNotFound")})}},"schemas"),Ev=Ds;var vp=class{static{a(this,"AccessKeyBuilder")}compile(e){let o=e.cUF.toString().padStart(2,"0"),i=e.year.toString().padStart(2,"0"),r=e.month.toString().padStart(2,"0"),n=(e.identification??"").padStart(14,"0"),s=e.mod.toString().padStart(2,"0"),c=e.serie.toString().padStart(3,"0"),p=e.nNF.toString().padStart(9,"0"),u=e.tpEmis.toString().padStart(1,"0"),l=(e.cNF??this.code()).toString().padStart(8,"0"),d=`${o}${i}${r}${n}${s}${c}${p}${u}${l}`;return`${d}${this.verifyingDigit(d)}`}decompile(e){if(e=e.trim().replace(/^NFe/,""),e.length!==44)return;let i=/^([0-9]{2})([0-9]{2})([0-9]{2})([A-Z0-9]{14})([0-9]{2})([0-9]{3})([0-9]{9})([0-9]{1})([0-9]{8})([0-9]{1})$/.exec(e);if(!i)return;let[r,n,s,c,p,u,l,d,g,y,C]=i;return{cUF:n,year:s,month:c,identification:p,mod:u,serie:l,nNF:d,tpEmis:g,cNF:y,vd:C}}code(){let e=Math.floor(Math.random()*1e8).toString().padStart(8,"0");return this.isCodeValid(e)?e:this.code()}isCodeValid(e){return!~["00000000","11111111","22222222","33333333","44444444","55555555","66666666","77777777","88888888","99999999","12345678","23456789","34567890","45678901","56789012","67890123","78901234","89012345","90123456","01234567"].indexOf(e)}verifyingDigit(e){let o=[4,3,2,9,8,7,6,5,4,3,2,9,8,7,6,5,4,3,2,9,8,7,6,5,4,3,2,9,8,7,6,5,4,3,2,9,8,7,6,5,4,3,2],i=48,r=43,n=0;for(let c=0;c<r;c++){let p=e.charCodeAt(c)-i;n+=p*o[c]}return n%11<2?0:11-n%11}};var jv=require("nfets/core");var Ei=require("nfets/core");var MN=new Set([jo.Cancelamento,jo.CancelamentoSubstituicao]),Jd=class{static{a(this,"NfeComplements")}toolkit;constructor(e=new jv.Xml2JsToolkit){this.toolkit=e}cancelRegister(e,o){if(!e.trim())return(0,Ei.left)(new Ei.NFeTsError("Please provide a valid authorized NFe xml"));let i=this.toolkit.getNode(e,"protNFe");if(!i)return(0,Ei.left)(new Ei.NFeTsError("NFe not protocoladed"));let r=this.toolkit.getNodeValue(i,"chNFe");if(!r)return(0,Ei.left)(new Ei.NFeTsError("Access key not found in protNFe"));let n=this.findMatchingRetEvento(o,r);return n?(0,Ei.right)(this.toolkit.appendNode(e,n)):(0,Ei.right)(e)}findMatchingRetEvento(e,o){for(let i of this.toolkit.getNodes(e,"retEvento")){let r=this.toolkit.getNodeValue(i,"cStat"),n=this.toolkit.getNodeValue(i,"tpEvento"),s=this.toolkit.getNodeValue(i,"chNFe");if(r&&Object.values(Qd).includes(r)&&n&&MN.has(n)&&s===o)return i}return null}};var Wd=require("nfets/core");var gp=class{static{a(this,"DefaultDetBuilderAggregator")}builder;zero=Wd.Decimal.from(0);constructor(e){this.builder=e}prod(e){this.builder.increment(({ICMSTot:o})=>({ICMSTot:{vProd:this.sum(o?.vProd,e.vProd),vFrete:this.sum(o?.vFrete,e.vFrete),vSeg:this.sum(o?.vSeg,e.vSeg),vDesc:this.sum(o?.vDesc,e.vDesc),vOutro:this.sum(o?.vOutro,e.vOutro)}}))}issqn(e){this.builder.increment(({ISSQNtot:o})=>({ISSQNtot:{vISS:this.sum(o?.vISS,e.vISSQN)}}))}cofins(e){this.builder.increment(({ICMSTot:o})=>({ICMSTot:{vCOFINS:this.sum(o?.vCOFINS,e.COFINSAliq?.vCOFINS??e.COFINSOutr?.vCOFINS??e.COFINSQtde?.vCOFINS)}}))}pis(e){this.builder.increment(({ICMSTot:o})=>({ICMSTot:{vPIS:this.sum(o?.vPIS,e.PISAliq?.vPIS??e.PISOutr?.vPIS??e.PISQtde?.vPIS)}}))}icms(e){let[o]=Object.keys(e),i=e[o];this.builder.increment(({ICMSTot:r})=>({ICMSTot:{vBC:this.sum(r?.vBC,i.vBC),vICMS:this.sum(r?.vICMS,i.vICMS),vICMSDeson:this.sum(r?.vICMSDeson,i.vICMSDeson),vBCST:this.sum(r?.vBCST,i.vBCST),vST:this.sum(r?.vST,i.vICMSST),vFCP:this.sum(r?.vFCP,i.vFCP),vFCPST:this.sum(r?.vFCPST,i.vFCPST),vFCPSTRet:this.sum(r?.vFCPSTRet,i.vFCPSTRet),qBCMono:this.sum(r?.qBCMono,i.qBCMono),vICMSMono:this.sum(r?.vICMSMono,i.vICMSMono),qBCMonoReten:this.sum(r?.qBCMonoReten,i.qBCMonoReten),vICMSMonoReten:this.sum(r?.vICMSMonoReten,i.vICMSMonoReten),qBCMonoRet:this.sum(r?.qBCMonoRet,i.qBCMonoRet),vICMSMonoRet:this.sum(r?.vICMSMonoRet,i.vICMSMonoRet)}}))}imposto(e){e.vTotTrib!=null&&this.builder.increment(({ICMSTot:o})=>({ICMSTot:{vTotTrib:this.sum(o?.vTotTrib,e.vTotTrib)}}))}ii(e){this.builder.increment(({ICMSTot:o})=>({ICMSTot:{vII:this.sum(o?.vII,e.vII)}}))}ipi(e){let o=e.IPITrib?.vIPI;o&&this.builder.increment(({ICMSTot:i})=>({ICMSTot:{vIPI:this.sum(i?.vIPI,o)}}))}impostoDevol(e){let o=e.IPI?.vIPIDevol;o&&this.builder.increment(({ICMSTot:i})=>({ICMSTot:{vIPIDevol:this.sum(i?.vIPIDevol,o)}}))}sum(e,o,i=2){return Wd.Decimal.newOrZero(e).add(o??this.zero).toFixed(i)}};var Wl=require("nfets/core");var yp=class{static{a(this,"DefaultTotalBuilderAggregator")}builder;constructor(e){this.builder=e}aggregate(){let e=Wl.Decimal.from(0),o=So.includes(this.builder.schema??"");this.builder.increment(({ICMSTot:i,ISSQNtot:r},n)=>{let s=this.resolveDeductibleVICMSDeson(n);return{...o?{vNFTot:n.reduce((c,p)=>c.add(p?.vItem??e),e).toFixed(2)}:{},ICMSTot:{vNF:Wl.Decimal.newOrZero(i?.vProd).sub(i?.vDesc??e).sub(s).add(i?.vST??e).add(i?.vFCPST??e).add(i?.vICMSMonoReten??e).add(i?.vFrete??e).add(i?.vSeg??e).add(i?.vOutro??e).add(i?.vII??e).add(i?.vIPI??e).add(i?.vIPIDevol??e).add(r?.vServ??e).toFixed(2)}}})}resolveDeductibleVICMSDeson(e){let o=Wl.Decimal.from(0);return e.length?e.reduce((i,r)=>{let n=r?.imposto?.ICMS;if(!n)return i;let[s]=Object.keys(n),c=n[s];return c?.indDeduzDeson!=="1"||c.vICMSDeson==null?i:i.add(c.vICMSDeson)},o).toFixed(2):o.toFixed(2)}};var Gr=require("nfets/core");var Kl={[jo.Cancelamento]:{method:"envEventoCancNFe",version:"1.00",descEvento:"Cancelamento"},[jo.CancelamentoSubstituicao]:{method:"envEventoCancSubstNFe",version:"1.00",descEvento:"Cancelamento por substituicao"}};var $n=require("nfets/core");function xp(t,e){return a(function(){return t.apply(e,arguments)},"wrap")}a(xp,"bind");var{toString:VN}=Object.prototype,{getPrototypeOf:Ps}=Object,{iterator:Sp,toStringTag:Bv}=Symbol,eu=(({hasOwnProperty:t})=>(e,o)=>t.call(e,o))(Object.prototype),bp=a((t,e)=>{let o=t,i=[];for(;o!=null&&o!==Object.prototype;){if(i.indexOf(o)!==-1)return!1;if(i.push(o),eu(o,e))return!0;o=Ps(o)}return!1},"hasOwnInPrototypeChain"),LN=a((t,e)=>t!=null&&bp(t,e)?t[e]:void 0,"getSafeProp"),$d=(t=>e=>{let o=VN.call(e);return t[o]||(t[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),ci=a(t=>(t=t.toLowerCase(),e=>$d(e)===t),"kindOfTest"),tu=a(t=>e=>typeof e===t,"typeOfTest"),{isArray:Ta}=Array,Ba=tu("undefined");function Es(t){return t!==null&&!Ba(t)&&t.constructor!==null&&!Ba(t.constructor)&&zo(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}a(Es,"isBuffer");var Mv=ci("ArrayBuffer");function _N(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Mv(t.buffer),e}a(_N,"isArrayBufferView");var qN=tu("string"),zo=tu("function"),Vv=tu("number"),js=a(t=>t!==null&&typeof t=="object","isObject"),UN=a(t=>t===!0||t===!1,"isBoolean"),$l=a(t=>{if(!js(t))return!1;let e=Ps(t);return(e===null||e===Object.prototype||Ps(e)===null)&&!bp(t,Bv)&&!bp(t,Sp)},"isPlainObject"),kN=a(t=>{if(!js(t)||Es(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},"isEmptyObject"),HN=ci("Date"),GN=ci("File"),QN=a(t=>!!(t&&typeof t.uri<"u"),"isReactNativeBlob"),ZN=a(t=>t&&typeof t.getParts<"u","isReactNative"),YN=ci("Blob"),XN=ci("FileList"),JN=ci("Set"),WN=a(t=>js(t)&&zo(t.pipe),"isStream");function KN(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}a(KN,"getGlobal");var zv=KN(),Tv=typeof zv.FormData<"u"?zv.FormData:void 0,$N=a(t=>{if(!t)return!1;if(Tv&&t instanceof Tv)return!0;let e=Ps(t);if(!e||e===Object.prototype||!zo(t.append))return!1;let o=$d(t);return o==="formdata"||o==="object"&&zo(t.toString)&&t.toString()==="[object FormData]"},"isFormData"),eR=ci("URLSearchParams"),[tR,oR,iR,nR]=["ReadableStream","Request","Response","Headers"].map(ci),rR=a(t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),"trim");function Cp(t,e,{allOwnKeys:o=!1}={}){if(t===null||typeof t>"u")return;let i,r;if(typeof t!="object"&&(t=[t]),Ta(t))for(i=0,r=t.length;i<r;i++)e.call(null,t[i],i,t);else{if(Es(t))return;let n=o?Object.getOwnPropertyNames(t):Object.keys(t),s=n.length,c;for(i=0;i<s;i++)c=n[i],e.call(null,t[c],c,t)}}a(Cp,"forEach");function Lv(t,e){if(Es(t))return null;e=e.toLowerCase();let o=Object.keys(t),i=o.length,r;for(;i-- >0;)if(r=o[i],e===r.toLowerCase())return r;return null}a(Lv,"findKey");var za=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,_v=a(t=>!Ba(t)&&t!==za,"isContextDefined");function Kd(...t){let{caseless:e,skipUndefined:o}=_v(this)&&this||{},i={},r=a((n,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;let c=e&&typeof s=="string"&&Lv(i,s)||s,p=eu(i,c)?i[c]:void 0;$l(p)&&$l(n)?i[c]=Kd(p,n):$l(n)?i[c]=Kd({},n):Ta(n)?i[c]=n.slice():(!o||!Ba(n))&&(i[c]=n)},"assignValue");for(let n=0,s=t.length;n<s;n++){let c=t[n];if(!c||Es(c)||(Cp(c,r),typeof c!="object"||Ta(c)))continue;let p=Object.getOwnPropertySymbols(c);for(let u=0;u<p.length;u++){let l=p[u];gR.call(c,l)&&r(c[l],l)}}return i}a(Kd,"merge");var aR=a((t,e,o,{allOwnKeys:i}={})=>(Cp(e,(r,n)=>{o&&zo(r)?Object.defineProperty(t,n,{__proto__:null,value:xp(r,o),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,n,{__proto__:null,value:r,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:i}),t),"extend"),sR=a(t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),"stripBOM"),cR=a((t,e,o,i)=>{t.prototype=Object.create(e.prototype,i),Object.defineProperty(t.prototype,"constructor",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(t,"super",{__proto__:null,value:e.prototype}),o&&Object.assign(t.prototype,o)},"inherits"),pR=a((t,e,o,i)=>{let r,n,s,c={};if(e=e||{},t==null)return e;do{for(r=Object.getOwnPropertyNames(t),n=r.length;n-- >0;)s=r[n],(!i||i(s,t,e))&&!c[s]&&(e[s]=t[s],c[s]=!0);t=o!==!1&&Ps(t)}while(t&&(!o||o(t,e))&&t!==Object.prototype);return e},"toFlatObject"),lR=a((t,e,o)=>{t=String(t),(o===void 0||o>t.length)&&(o=t.length),o-=e.length;let i=t.indexOf(e,o);return i!==-1&&i===o},"endsWith"),uR=a(t=>{if(!t)return null;if(Ta(t))return t;let e=t.length;if(!Vv(e))return null;let o=new Array(e);for(;e-- >0;)o[e]=t[e];return o},"toArray"),dR=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Ps(Uint8Array)),fR=a((t,e)=>{let i=(t&&t[Sp]).call(t),r;for(;(r=i.next())&&!r.done;){let n=r.value;e.call(t,n[0],n[1])}},"forEachEntry"),mR=a((t,e)=>{let o,i=[];for(;(o=t.exec(e))!==null;)i.push(o);return i},"matchAll"),hR=ci("HTMLFormElement"),vR=a(t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,a(function(o,i,r){return i.toUpperCase()+r},"replacer")),"toCamelCase"),{propertyIsEnumerable:gR}=Object.prototype,yR=ci("RegExp"),qv=a((t,e)=>{let o=Object.getOwnPropertyDescriptors(t),i={};Cp(o,(r,n)=>{let s;(s=e(r,n,t))!==!1&&(i[n]=s||r)}),Object.defineProperties(t,i)},"reduceDescriptors"),xR=a(t=>{qv(t,(e,o)=>{if(zo(t)&&["arguments","caller","callee"].includes(o))return!1;let i=t[o];if(zo(i)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},"freezeMethods"),bR=a((t,e)=>{let o={},i=a(r=>{r.forEach(n=>{o[n]=!0})},"define");return Ta(t)?i(t):i(String(t).split(e)),o},"toObjectSet"),SR=a(()=>{},"noop"),CR=a((t,e)=>t!=null&&Number.isFinite(t=+t)?t:e,"toFiniteNumber");function NR(t){return!!(t&&zo(t.append)&&t[Bv]==="FormData"&&t[Sp])}a(NR,"isSpecCompliantForm");var RR=a(t=>{let e=new WeakSet,o=a(i=>{if(js(i)){if(e.has(i))return;if(Es(i))return i;if(!("toJSON"in i)){e.add(i);let r;if(JN(i)){r=[];for(let n of i){let s=o(n);!Ba(s)&&r.push(s)}}else r=Ta(i)?[]:{},Cp(i,(n,s)=>{let c=o(n);!Ba(c)&&(r[s]=c)});return e.delete(i),r}}return i},"visit");return o(t)},"toJSONObject"),wR=ci("AsyncFunction"),IR=a(t=>t&&(js(t)||zo(t))&&zo(t.then)&&zo(t.catch),"isThenable"),Uv=((t,e)=>t?setImmediate:e?((o,i)=>(za.addEventListener("message",({source:r,data:n})=>{r===za&&n===o&&i.length&&i.shift()()},!1),r=>{i.push(r),za.postMessage(o,"*")}))(`axios@${Math.random()}`,[]):o=>setTimeout(o))(typeof setImmediate=="function",zo(za.postMessage)),OR=typeof queueMicrotask<"u"?queueMicrotask.bind(za):typeof process<"u"&&process.nextTick||Uv,kv=a(t=>t!=null&&zo(t[Sp]),"isIterable"),FR=a(t=>t!=null&&bp(t,Sp)&&kv(t),"isSafeIterable"),m={isArray:Ta,isArrayBuffer:Mv,isBuffer:Es,isFormData:$N,isArrayBufferView:_N,isString:qN,isNumber:Vv,isBoolean:UN,isObject:js,isPlainObject:$l,isEmptyObject:kN,isReadableStream:tR,isRequest:oR,isResponse:iR,isHeaders:nR,isUndefined:Ba,isDate:HN,isFile:GN,isReactNativeBlob:QN,isReactNative:ZN,isBlob:YN,isRegExp:yR,isFunction:zo,isStream:WN,isURLSearchParams:eR,isTypedArray:dR,isFileList:XN,forEach:Cp,merge:Kd,extend:aR,trim:rR,stripBOM:sR,inherits:cR,toFlatObject:pR,kindOf:$d,kindOfTest:ci,endsWith:lR,toArray:uR,forEachEntry:fR,matchAll:mR,isHTMLForm:hR,hasOwnProperty:eu,hasOwnProp:eu,hasOwnInPrototypeChain:bp,getSafeProp:LN,reduceDescriptors:qv,freezeMethods:xR,toObjectSet:bR,toCamelCase:vR,noop:SR,toFiniteNumber:CR,findKey:Lv,global:za,isContextDefined:_v,isSpecCompliantForm:NR,toJSONObject:RR,isAsyncFn:wR,isThenable:IR,setImmediate:Uv,asap:OR,isIterable:kv,isSafeIterable:FR};var AR=m.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Hv=a((t=>{let e={},o,i,r;return t&&t.split(`
26
+ `;return typeof i=="function"&&i(null,g),g},"render")});var vN=N(Td=>{"use strict";var PP=bv();Td.render=PP.render;Td.renderToFile=a(function(e,o,i,r){typeof r>"u"&&(r=i,i=void 0);let n=require("fs"),c='<?xml version="1.0" encoding="utf-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">'+Td.render(o,i);n.writeFile(e,c,r)},"renderToFile")});var gN=N(Bd=>{"use strict";var Sv=Gl();function EP(t,e,o){t.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=o,e.width=o,e.style.height=o+"px",e.style.width=o+"px"}a(EP,"clearCanvas");function jP(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}a(jP,"getCanvasElement");Bd.render=a(function(e,o,i){let r=i,n=o;typeof r>"u"&&(!o||!o.getContext)&&(r=o,o=void 0),o||(n=jP()),r=Sv.getOptions(r);let s=Sv.getImageWidth(e.modules.size,r),c=n.getContext("2d"),p=c.createImageData(s,s);return Sv.qrToImageData(p.data,e,r),EP(c,n,s),c.putImageData(p,0,0),n},"render");Bd.renderToDataURL=a(function(e,o,i){let r=i;typeof r>"u"&&(!o||!o.getContext)&&(r=o,o=void 0),r||(r={});let n=Bd.render(e,o,r),s=r.type||"image/png",c=r.rendererOpts||{};return n.toDataURL(s,c.quality)},"renderToDataURL")});var xN=N(Ql=>{"use strict";var zP=Th(),Cv=ev(),yN=gN(),TP=bv();function Nv(t,e,o,i,r){let n=[].slice.call(arguments,1),s=n.length,c=typeof n[s-1]=="function";if(!c&&!zP())throw new Error("Callback required as last argument");if(c){if(s<2)throw new Error("Too few arguments provided");s===2?(r=o,o=e,e=i=void 0):s===3&&(e.getContext&&typeof r>"u"?(r=i,i=void 0):(r=i,i=o,o=e,e=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(o=e,e=i=void 0):s===2&&!e.getContext&&(i=o,o=e,e=void 0),new Promise(function(p,u){try{let l=Cv.create(o,i);p(t(l,e,i))}catch(l){u(l)}})}try{let p=Cv.create(o,i);r(null,t(p,e,i))}catch(p){r(p)}}a(Nv,"renderCanvas");Ql.create=Cv.create;Ql.toCanvas=Nv.bind(null,yN.render);Ql.toDataURL=Nv.bind(null,yN.renderToDataURL);Ql.toString=Nv.bind(null,function(t,e,o){return TP.render(t,o)})});var NN=N(Da=>{"use strict";var bN=Th(),Rv=ev(),BP=nN(),SN=rN(),MP=fN(),CN=vN();function Zl(t,e,o){if(typeof t>"u")throw new Error("String required as first argument");if(typeof o>"u"&&(o=e,e={}),typeof o!="function")if(bN())e=o||{},o=null;else throw new Error("Callback required as last argument");return{opts:e,cb:o}}a(Zl,"checkParams");function VP(t){return t.slice((t.lastIndexOf(".")-1>>>0)+2).toLowerCase()}a(VP,"getTypeFromFilename");function Md(t){switch(t){case"svg":return CN;case"txt":case"utf8":return SN;case"png":case"image/png":default:return BP}}a(Md,"getRendererFromType");function LP(t){switch(t){case"svg":return CN;case"terminal":return MP;case"utf8":default:return SN}}a(LP,"getStringRendererFromType");function Yl(t,e,o){if(!o.cb)return new Promise(function(i,r){try{let n=Rv.create(e,o.opts);return t(n,o.opts,function(s,c){return s?r(s):i(c)})}catch(n){r(n)}});try{let i=Rv.create(e,o.opts);return t(i,o.opts,o.cb)}catch(i){o.cb(i)}}a(Yl,"render");Da.create=Rv.create;Da.toCanvas=xN().toCanvas;Da.toString=a(function(e,o,i){let r=Zl(e,o,i),n=r.opts?r.opts.type:void 0,s=LP(n);return Yl(s.render,e,r)},"toString");Da.toDataURL=a(function(e,o,i){let r=Zl(e,o,i),n=Md(r.opts.type);return Yl(n.renderToDataURL,e,r)},"toDataURL");Da.toBuffer=a(function(e,o,i){let r=Zl(e,o,i),n=Md(r.opts.type);return Yl(n.renderToBuffer,e,r)},"toBuffer");Da.toFile=a(function(e,o,i,r){if(typeof e!="string"||!(typeof o=="string"||typeof o=="object"))throw new Error("Invalid argument");if(arguments.length<3&&!bN())throw new Error("Too few arguments provided");let n=Zl(o,i,r),s=n.opts.type||VP(e),p=Md(s).renderToFile.bind(null,e);return Yl(p,o,n)},"toFile");Da.toFileStream=a(function(e,o,i){if(arguments.length<2)throw new Error("Too few arguments provided");let r=Zl(o,i,e.emit.bind(e,"error")),s=Md("png").renderToFileStream.bind(null,e);Yl(s,o,r)},"toFileStream")});var wN=N((uH,RN)=>{"use strict";RN.exports=NN()});var qP={};Av(qP,{AccessKeyBuilder:()=>vp,DanfceDefaultPdfDocument:()=>Iv,DanfceReducedPdfDocument:()=>Ov,DefaultDetBuilderAggregator:()=>gp,DefaultSchema:()=>Xd,DefaultTotalBuilderAggregator:()=>yp,EventoCstatToCancelRegister:()=>Qd,EventoCstatToProtocol:()=>Gd,InutCstatToProtocol:()=>Zd,NFCeDto:()=>Gn,NFeDto:()=>zr,NfceAuthorizerPipeline:()=>el,NfceCancelPipeline:()=>Tm,NfceConsultProtocoloPipeline:()=>Lm,NfceConsultStatusPipeline:()=>Vm,NfceContingencyXmlAuthorizerPipeline:()=>Bm,NfceQrcode:()=>Gt,NfceRemoteTransmitter:()=>jt,NfceVoidRangePipeline:()=>Mm,NfceXmlBuilder:()=>Bl,NfceXmlBuilderPipeline:()=>zh,NfeAuthorizationResponsePipeline:()=>Pm,NfeAuthorizerPipeline:()=>Wp,NfeCancelPipeline:()=>Xp,NfeComplements:()=>Jd,NfeConsultProtocoloPipeline:()=>$p,NfeConsultStatusPipeline:()=>Kp,NfeDetXmlBuilder:()=>lt,NfeRemoteTransmitter:()=>Vo,NfeVoidRangePipeline:()=>tc,NfeXmlBuilder:()=>ce,NfeXmlBuilderPipeline:()=>Tl,PL_009:()=>BN,PL_010:()=>So,TpEmis:()=>Ot,TpEvent:()=>jo,XmlValidationError:()=>mp,schemas:()=>hp});module.exports=TN(qP);var Pv=require("nfets/core");var mp=class extends Pv.NFeTsError{static{a(this,"XmlValidationError")}xml;name="XmlValidationError";constructor(e,o,i){super(e,i),this.xml=o}};var Ot=(function(t){return t.Normal="1",t.EPEC="4",t.SVCAN="6",t.SVCRS="7",t.OFFLINE="9",t})({});var jo=(function(t){return t.Cancelamento="110111",t.CancelamentoSubstituicao="110112",t})({});var Gd=(function(t){return t.RegistradoEVinculado="135",t})({}),Qd=(function(t){return t.RegistradoEVinculado="135",t.RegistradoNaoVinculado="136",t.CancelamentoHomologadoForaPrazo="155",t})({});var Zd=(function(t){return t.InutilizacaoHomologada="102",t})({});var Yd=require("nfets/core");var Ds={PL_009_V4:"PL_009_V4",PL_010_V1:"PL_010_V1",PL_010_V1_21:"PL_010_V1.21",PL_010_V1_30:"PL_010_V1.30"},BN=[Ds.PL_009_V4],So=[Ds.PL_010_V1,Ds.PL_010_V1_21,Ds.PL_010_V1_30],Xd=Ds.PL_009_V4,hp=a(()=>{if(process.env.NFETS_NFE_SCHEMAS_DIR)return process.env.NFETS_NFE_SCHEMAS_DIR;try{return(0,Yd.search)("packages/nfe/schemas",{onFound:a(t=>t,"onFound"),onNotFound:a(()=>{throw new Error("Schemas not found on packages/nfe/schemas")},"onNotFound")})}catch{return(0,Yd.search)("nfe/schemas",{onFound:a(t=>t,"onFound"),onNotFound:a(()=>{throw new Error("Schemas not found on nfe/schemas")},"onNotFound")})}},"schemas"),Ev=Ds;var vp=class{static{a(this,"AccessKeyBuilder")}compile(e){let o=e.cUF.toString().padStart(2,"0"),i=e.year.toString().padStart(2,"0"),r=e.month.toString().padStart(2,"0"),n=(e.identification??"").padStart(14,"0"),s=e.mod.toString().padStart(2,"0"),c=e.serie.toString().padStart(3,"0"),p=e.nNF.toString().padStart(9,"0"),u=e.tpEmis.toString().padStart(1,"0"),l=(e.cNF??this.code()).toString().padStart(8,"0"),d=`${o}${i}${r}${n}${s}${c}${p}${u}${l}`;return`${d}${this.verifyingDigit(d)}`}decompile(e){if(e=e.trim().replace(/^NFe/,""),e.length!==44)return;let i=/^([0-9]{2})([0-9]{2})([0-9]{2})([A-Z0-9]{14})([0-9]{2})([0-9]{3})([0-9]{9})([0-9]{1})([0-9]{8})([0-9]{1})$/.exec(e);if(!i)return;let[r,n,s,c,p,u,l,d,g,y,C]=i;return{cUF:n,year:s,month:c,identification:p,mod:u,serie:l,nNF:d,tpEmis:g,cNF:y,vd:C}}code(){let e=Math.floor(Math.random()*1e8).toString().padStart(8,"0");return this.isCodeValid(e)?e:this.code()}isCodeValid(e){return!~["00000000","11111111","22222222","33333333","44444444","55555555","66666666","77777777","88888888","99999999","12345678","23456789","34567890","45678901","56789012","67890123","78901234","89012345","90123456","01234567"].indexOf(e)}verifyingDigit(e){let o=[4,3,2,9,8,7,6,5,4,3,2,9,8,7,6,5,4,3,2,9,8,7,6,5,4,3,2,9,8,7,6,5,4,3,2,9,8,7,6,5,4,3,2],i=48,r=43,n=0;for(let c=0;c<r;c++){let p=e.charCodeAt(c)-i;n+=p*o[c]}return n%11<2?0:11-n%11}};var jv=require("nfets/core");var Ei=require("nfets/core");var MN=new Set([jo.Cancelamento,jo.CancelamentoSubstituicao]),Jd=class{static{a(this,"NfeComplements")}toolkit;constructor(e=new jv.Xml2JsToolkit){this.toolkit=e}cancelRegister(e,o){if(!e.trim())return(0,Ei.left)(new Ei.NFeTsError("Please provide a valid authorized NFe xml"));let i=this.toolkit.getNode(e,"protNFe");if(!i)return(0,Ei.left)(new Ei.NFeTsError("NFe not protocoladed"));let r=this.toolkit.getNodeValue(i,"chNFe");if(!r)return(0,Ei.left)(new Ei.NFeTsError("Access key not found in protNFe"));let n=this.findMatchingRetEvento(o,r);return n?(0,Ei.right)(this.toolkit.appendNode(e,n)):(0,Ei.right)(e)}findMatchingRetEvento(e,o){for(let i of this.toolkit.getNodes(e,"retEvento")){let r=this.toolkit.getNodeValue(i,"cStat"),n=this.toolkit.getNodeValue(i,"tpEvento"),s=this.toolkit.getNodeValue(i,"chNFe");if(r&&Object.values(Qd).includes(r)&&n&&MN.has(n)&&s===o)return i}return null}};var Wd=require("nfets/core");var gp=class{static{a(this,"DefaultDetBuilderAggregator")}builder;zero=Wd.Decimal.from(0);constructor(e){this.builder=e}prod(e){this.builder.increment(({ICMSTot:o})=>({ICMSTot:{vProd:this.sum(o?.vProd,e.vProd),vFrete:this.sum(o?.vFrete,e.vFrete),vSeg:this.sum(o?.vSeg,e.vSeg),vDesc:this.sum(o?.vDesc,e.vDesc),vOutro:this.sum(o?.vOutro,e.vOutro)}}))}issqn(e){this.builder.increment(({ISSQNtot:o})=>({ISSQNtot:{vISS:this.sum(o?.vISS,e.vISSQN)}}))}cofins(e){this.builder.increment(({ICMSTot:o})=>({ICMSTot:{vCOFINS:this.sum(o?.vCOFINS,e.COFINSAliq?.vCOFINS??e.COFINSOutr?.vCOFINS??e.COFINSQtde?.vCOFINS)}}))}pis(e){this.builder.increment(({ICMSTot:o})=>({ICMSTot:{vPIS:this.sum(o?.vPIS,e.PISAliq?.vPIS??e.PISOutr?.vPIS??e.PISQtde?.vPIS)}}))}icms(e){let[o]=Object.keys(e),i=e[o];this.builder.increment(({ICMSTot:r})=>({ICMSTot:{vBC:this.sum(r?.vBC,i.vBC),vICMS:this.sum(r?.vICMS,i.vICMS),vICMSDeson:this.sum(r?.vICMSDeson,i.vICMSDeson),vBCST:this.sum(r?.vBCST,i.vBCST),vST:this.sum(r?.vST,i.vICMSST),vFCP:this.sum(r?.vFCP,i.vFCP),vFCPST:this.sum(r?.vFCPST,i.vFCPST),vFCPSTRet:this.sum(r?.vFCPSTRet,i.vFCPSTRet),qBCMono:this.sum(r?.qBCMono,i.qBCMono),vICMSMono:this.sum(r?.vICMSMono,i.vICMSMono),qBCMonoReten:this.sum(r?.qBCMonoReten,i.qBCMonoReten),vICMSMonoReten:this.sum(r?.vICMSMonoReten,i.vICMSMonoReten),qBCMonoRet:this.sum(r?.qBCMonoRet,i.qBCMonoRet),vICMSMonoRet:this.sum(r?.vICMSMonoRet,i.vICMSMonoRet)}}))}imposto(e){e.vTotTrib!=null&&this.builder.increment(({ICMSTot:o})=>({ICMSTot:{vTotTrib:this.sum(o?.vTotTrib,e.vTotTrib)}}))}ii(e){e.vII&&this.builder.increment(({ICMSTot:o})=>({ICMSTot:{vII:this.sum(o?.vII,e.vII)}}))}ipi(e){let o=e.IPITrib?.vIPI;o&&this.builder.increment(({ICMSTot:i})=>({ICMSTot:{vIPI:this.sum(i?.vIPI,o)}}))}impostoDevol(e){let o=e.IPI?.vIPIDevol;o&&this.builder.increment(({ICMSTot:i})=>({ICMSTot:{vIPIDevol:this.sum(i?.vIPIDevol,o)}}))}sum(e,o,i=2){return Wd.Decimal.newOrZero(e).add(o??this.zero).toFixed(i)}};var Wl=require("nfets/core");var yp=class{static{a(this,"DefaultTotalBuilderAggregator")}builder;constructor(e){this.builder=e}aggregate(){let e=Wl.Decimal.from(0),o=So.includes(this.builder.schema??"");this.builder.increment(({ICMSTot:i,ISSQNtot:r},n)=>{let s=this.resolveDeductibleVICMSDeson(n);return{...o?{vNFTot:n.reduce((c,p)=>c.add(p?.vItem??e),e).toFixed(2)}:{},ICMSTot:{vNF:Wl.Decimal.newOrZero(i?.vProd).sub(i?.vDesc??e).sub(s).add(i?.vST??e).add(i?.vFCPST??e).add(i?.vICMSMonoReten??e).add(i?.vFrete??e).add(i?.vSeg??e).add(i?.vOutro??e).add(i?.vII??e).add(i?.vIPI??e).add(i?.vIPIDevol??e).add(r?.vServ??e).toFixed(2)}}})}resolveDeductibleVICMSDeson(e){let o=Wl.Decimal.from(0);return e.length?e.reduce((i,r)=>{let n=r?.imposto?.ICMS;if(!n)return i;let[s]=Object.keys(n),c=n[s];return c?.indDeduzDeson!=="1"||c.vICMSDeson==null?i:i.add(c.vICMSDeson)},o).toFixed(2):o.toFixed(2)}};var Gr=require("nfets/core");var Kl={[jo.Cancelamento]:{method:"envEventoCancNFe",version:"1.00",descEvento:"Cancelamento"},[jo.CancelamentoSubstituicao]:{method:"envEventoCancSubstNFe",version:"1.00",descEvento:"Cancelamento por substituicao"}};var $n=require("nfets/core");function xp(t,e){return a(function(){return t.apply(e,arguments)},"wrap")}a(xp,"bind");var{toString:VN}=Object.prototype,{getPrototypeOf:Ps}=Object,{iterator:Sp,toStringTag:Bv}=Symbol,eu=(({hasOwnProperty:t})=>(e,o)=>t.call(e,o))(Object.prototype),bp=a((t,e)=>{let o=t,i=[];for(;o!=null&&o!==Object.prototype;){if(i.indexOf(o)!==-1)return!1;if(i.push(o),eu(o,e))return!0;o=Ps(o)}return!1},"hasOwnInPrototypeChain"),LN=a((t,e)=>t!=null&&bp(t,e)?t[e]:void 0,"getSafeProp"),$d=(t=>e=>{let o=VN.call(e);return t[o]||(t[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),ci=a(t=>(t=t.toLowerCase(),e=>$d(e)===t),"kindOfTest"),tu=a(t=>e=>typeof e===t,"typeOfTest"),{isArray:Ta}=Array,Ba=tu("undefined");function Es(t){return t!==null&&!Ba(t)&&t.constructor!==null&&!Ba(t.constructor)&&zo(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}a(Es,"isBuffer");var Mv=ci("ArrayBuffer");function _N(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Mv(t.buffer),e}a(_N,"isArrayBufferView");var qN=tu("string"),zo=tu("function"),Vv=tu("number"),js=a(t=>t!==null&&typeof t=="object","isObject"),UN=a(t=>t===!0||t===!1,"isBoolean"),$l=a(t=>{if(!js(t))return!1;let e=Ps(t);return(e===null||e===Object.prototype||Ps(e)===null)&&!bp(t,Bv)&&!bp(t,Sp)},"isPlainObject"),kN=a(t=>{if(!js(t)||Es(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},"isEmptyObject"),HN=ci("Date"),GN=ci("File"),QN=a(t=>!!(t&&typeof t.uri<"u"),"isReactNativeBlob"),ZN=a(t=>t&&typeof t.getParts<"u","isReactNative"),YN=ci("Blob"),XN=ci("FileList"),JN=ci("Set"),WN=a(t=>js(t)&&zo(t.pipe),"isStream");function KN(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}a(KN,"getGlobal");var zv=KN(),Tv=typeof zv.FormData<"u"?zv.FormData:void 0,$N=a(t=>{if(!t)return!1;if(Tv&&t instanceof Tv)return!0;let e=Ps(t);if(!e||e===Object.prototype||!zo(t.append))return!1;let o=$d(t);return o==="formdata"||o==="object"&&zo(t.toString)&&t.toString()==="[object FormData]"},"isFormData"),eR=ci("URLSearchParams"),[tR,oR,iR,nR]=["ReadableStream","Request","Response","Headers"].map(ci),rR=a(t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),"trim");function Cp(t,e,{allOwnKeys:o=!1}={}){if(t===null||typeof t>"u")return;let i,r;if(typeof t!="object"&&(t=[t]),Ta(t))for(i=0,r=t.length;i<r;i++)e.call(null,t[i],i,t);else{if(Es(t))return;let n=o?Object.getOwnPropertyNames(t):Object.keys(t),s=n.length,c;for(i=0;i<s;i++)c=n[i],e.call(null,t[c],c,t)}}a(Cp,"forEach");function Lv(t,e){if(Es(t))return null;e=e.toLowerCase();let o=Object.keys(t),i=o.length,r;for(;i-- >0;)if(r=o[i],e===r.toLowerCase())return r;return null}a(Lv,"findKey");var za=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,_v=a(t=>!Ba(t)&&t!==za,"isContextDefined");function Kd(...t){let{caseless:e,skipUndefined:o}=_v(this)&&this||{},i={},r=a((n,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;let c=e&&typeof s=="string"&&Lv(i,s)||s,p=eu(i,c)?i[c]:void 0;$l(p)&&$l(n)?i[c]=Kd(p,n):$l(n)?i[c]=Kd({},n):Ta(n)?i[c]=n.slice():(!o||!Ba(n))&&(i[c]=n)},"assignValue");for(let n=0,s=t.length;n<s;n++){let c=t[n];if(!c||Es(c)||(Cp(c,r),typeof c!="object"||Ta(c)))continue;let p=Object.getOwnPropertySymbols(c);for(let u=0;u<p.length;u++){let l=p[u];gR.call(c,l)&&r(c[l],l)}}return i}a(Kd,"merge");var aR=a((t,e,o,{allOwnKeys:i}={})=>(Cp(e,(r,n)=>{o&&zo(r)?Object.defineProperty(t,n,{__proto__:null,value:xp(r,o),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,n,{__proto__:null,value:r,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:i}),t),"extend"),sR=a(t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),"stripBOM"),cR=a((t,e,o,i)=>{t.prototype=Object.create(e.prototype,i),Object.defineProperty(t.prototype,"constructor",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(t,"super",{__proto__:null,value:e.prototype}),o&&Object.assign(t.prototype,o)},"inherits"),pR=a((t,e,o,i)=>{let r,n,s,c={};if(e=e||{},t==null)return e;do{for(r=Object.getOwnPropertyNames(t),n=r.length;n-- >0;)s=r[n],(!i||i(s,t,e))&&!c[s]&&(e[s]=t[s],c[s]=!0);t=o!==!1&&Ps(t)}while(t&&(!o||o(t,e))&&t!==Object.prototype);return e},"toFlatObject"),lR=a((t,e,o)=>{t=String(t),(o===void 0||o>t.length)&&(o=t.length),o-=e.length;let i=t.indexOf(e,o);return i!==-1&&i===o},"endsWith"),uR=a(t=>{if(!t)return null;if(Ta(t))return t;let e=t.length;if(!Vv(e))return null;let o=new Array(e);for(;e-- >0;)o[e]=t[e];return o},"toArray"),dR=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Ps(Uint8Array)),fR=a((t,e)=>{let i=(t&&t[Sp]).call(t),r;for(;(r=i.next())&&!r.done;){let n=r.value;e.call(t,n[0],n[1])}},"forEachEntry"),mR=a((t,e)=>{let o,i=[];for(;(o=t.exec(e))!==null;)i.push(o);return i},"matchAll"),hR=ci("HTMLFormElement"),vR=a(t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,a(function(o,i,r){return i.toUpperCase()+r},"replacer")),"toCamelCase"),{propertyIsEnumerable:gR}=Object.prototype,yR=ci("RegExp"),qv=a((t,e)=>{let o=Object.getOwnPropertyDescriptors(t),i={};Cp(o,(r,n)=>{let s;(s=e(r,n,t))!==!1&&(i[n]=s||r)}),Object.defineProperties(t,i)},"reduceDescriptors"),xR=a(t=>{qv(t,(e,o)=>{if(zo(t)&&["arguments","caller","callee"].includes(o))return!1;let i=t[o];if(zo(i)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},"freezeMethods"),bR=a((t,e)=>{let o={},i=a(r=>{r.forEach(n=>{o[n]=!0})},"define");return Ta(t)?i(t):i(String(t).split(e)),o},"toObjectSet"),SR=a(()=>{},"noop"),CR=a((t,e)=>t!=null&&Number.isFinite(t=+t)?t:e,"toFiniteNumber");function NR(t){return!!(t&&zo(t.append)&&t[Bv]==="FormData"&&t[Sp])}a(NR,"isSpecCompliantForm");var RR=a(t=>{let e=new WeakSet,o=a(i=>{if(js(i)){if(e.has(i))return;if(Es(i))return i;if(!("toJSON"in i)){e.add(i);let r;if(JN(i)){r=[];for(let n of i){let s=o(n);!Ba(s)&&r.push(s)}}else r=Ta(i)?[]:{},Cp(i,(n,s)=>{let c=o(n);!Ba(c)&&(r[s]=c)});return e.delete(i),r}}return i},"visit");return o(t)},"toJSONObject"),wR=ci("AsyncFunction"),IR=a(t=>t&&(js(t)||zo(t))&&zo(t.then)&&zo(t.catch),"isThenable"),Uv=((t,e)=>t?setImmediate:e?((o,i)=>(za.addEventListener("message",({source:r,data:n})=>{r===za&&n===o&&i.length&&i.shift()()},!1),r=>{i.push(r),za.postMessage(o,"*")}))(`axios@${Math.random()}`,[]):o=>setTimeout(o))(typeof setImmediate=="function",zo(za.postMessage)),OR=typeof queueMicrotask<"u"?queueMicrotask.bind(za):typeof process<"u"&&process.nextTick||Uv,kv=a(t=>t!=null&&zo(t[Sp]),"isIterable"),FR=a(t=>t!=null&&bp(t,Sp)&&kv(t),"isSafeIterable"),m={isArray:Ta,isArrayBuffer:Mv,isBuffer:Es,isFormData:$N,isArrayBufferView:_N,isString:qN,isNumber:Vv,isBoolean:UN,isObject:js,isPlainObject:$l,isEmptyObject:kN,isReadableStream:tR,isRequest:oR,isResponse:iR,isHeaders:nR,isUndefined:Ba,isDate:HN,isFile:GN,isReactNativeBlob:QN,isReactNative:ZN,isBlob:YN,isRegExp:yR,isFunction:zo,isStream:WN,isURLSearchParams:eR,isTypedArray:dR,isFileList:XN,forEach:Cp,merge:Kd,extend:aR,trim:rR,stripBOM:sR,inherits:cR,toFlatObject:pR,kindOf:$d,kindOfTest:ci,endsWith:lR,toArray:uR,forEachEntry:fR,matchAll:mR,isHTMLForm:hR,hasOwnProperty:eu,hasOwnProp:eu,hasOwnInPrototypeChain:bp,getSafeProp:LN,reduceDescriptors:qv,freezeMethods:xR,toObjectSet:bR,toCamelCase:vR,noop:SR,toFiniteNumber:CR,findKey:Lv,global:za,isContextDefined:_v,isSpecCompliantForm:NR,toJSONObject:RR,isAsyncFn:wR,isThenable:IR,setImmediate:Uv,asap:OR,isIterable:kv,isSafeIterable:FR};var AR=m.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Hv=a((t=>{let e={},o,i,r;return t&&t.split(`
27
27
  `).forEach(a(function(s){r=s.indexOf(":"),o=s.substring(0,r).trim().toLowerCase(),i=s.substring(r+1).trim();let c=m.hasOwnProp(e,o);!o||c&&m.hasOwnProp(AR,o)||(o==="set-cookie"?c?e[o].push(i):e[o]=[i]:e[o]=c?e[o]+", "+i:i)},"parser")),e}),"default");function DR(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(DR,"trimSPorHTAB");var PR=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),ER=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function ef(t,e){return m.isArray(t)?t.map(o=>ef(o,e)):DR(String(t).replace(e,""))}a(ef,"sanitizeValue");var Gv=a(t=>ef(t,PR),"sanitizeHeaderValue"),jR=a(t=>ef(t,ER),"sanitizeByteStringHeaderValue");function zs(t){let e=Object.create(null);return m.forEach(t.toJSON(),(o,i)=>{e[i]=jR(o)}),e}a(zs,"toByteStringHeaderObject");var Qv=Symbol("internals");function Np(t){return t&&String(t).trim().toLowerCase()}a(Np,"normalizeHeader");function ou(t){return t===!1||t==null?t:m.isArray(t)?t.map(ou):Gv(String(t))}a(ou,"normalizeValue");function zR(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(zR,"parseTokens");var TR=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function tf(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(tf,"trimOWS");function BR(t){let e=t.length-1;if(e<1||t.charCodeAt(0)!==34||t.charCodeAt(e)!==34)return t;let o="";for(let i=1;i<e;i++){let r=t.charCodeAt(i);if(r===34||r===92&&(i+=1,i>=e))return t;o+=t[i]}return o}a(BR,"decodeQuotedString");function MR(t){let e=Object.create(null),o=String(t),i=0,r=!1,n=!1;function s(c){let p=tf(o.slice(i,c)),u=p.indexOf("=");if(u<1)return;let l=tf(p.slice(0,u));if(!TR.test(l))return;let d=l.toLowerCase();if(d==="__proto__"||d==="constructor"||d==="prototype")return;let g=tf(p.slice(u+1));e[d]=BR(g)}a(s,"parseParameter");for(let c=0;c<o.length;c++){let p=o.charCodeAt(c);r?n?n=!1:p===92?n=!0:p===34&&(r=!1):p===34?r=!0:(p===44||p===59)&&(s(c),i=c+1)}return s(o.length),e}a(MR,"parseParameters");var VR=a(t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()),"isValidHeaderName");function of(t,e,o,i,r){if(m.isFunction(i))return i.call(this,e,o);if(r&&(e=o),!!m.isString(e)){if(m.isString(i))return e.indexOf(i)!==-1;if(m.isRegExp(i))return i.test(e)}}a(of,"matchHeaderValue");function LR(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,o,i)=>o.toUpperCase()+i)}a(LR,"formatHeader");function _R(t,e){let o=m.toCamelCase(" "+e);["get","set","has"].forEach(i=>{Object.defineProperty(t,i+o,{__proto__:null,value:a(function(r,n,s){return this[i].call(this,e,r,n,s)},"value"),configurable:!0})})}a(_R,"buildAccessors");var iu=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=Np(p);if(!l)return;let d=m.findKey(r,l);(!d||r[d]===void 0||u===!0||u===void 0&&r[d]!==!1)&&(r[d||p]=ou(c))}a(n,"setHeader");let s=a((c,p)=>m.forEach(c,(u,l)=>n(u,l,p)),"setHeaders");if(m.isPlainObject(e)||e instanceof this.constructor)s(e,o);else if(m.isString(e)&&(e=e.trim())&&!VR(e))s(Hv(e),o);else if(m.isObject(e)&&m.isSafeIterable(e)){let c=Object.create(null),p,u;for(let l of e){if(!m.isArray(l))throw new TypeError("Object iterator must return a key-value pair");u=l[0],m.hasOwnProp(c,u)?(p=c[u],c[u]=m.isArray(p)?[...p,l[1]]:[p,l[1]]):c[u]=l[1]}s(c,o)}else e!=null&&n(o,e,i);return this}get(e,o){if(e=Np(e),e){let i=m.findKey(this,e);if(i){let r=this[i];if(!o)return r;if(o===!0)return zR(r);if(m.isFunction(o))return o.call(this,r,i);if(m.isRegExp(o))return o.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,o){if(e=Np(e),e){let i=m.findKey(this,e);return!!(i&&this[i]!==void 0&&(!o||of(this,this[i],i,o)))}return!1}delete(e,o){let i=this,r=!1;function n(s){if(s=Np(s),s){let c=m.findKey(i,s);c&&(!o||of(i,i[c],c,o))&&(delete i[c],r=!0)}}return a(n,"deleteHeader"),m.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||of(this,this[n],n,e,!0))&&(delete this[n],r=!0)}return r}normalize(e){let o=this,i={};return m.forEach(this,(r,n)=>{let s=m.findKey(i,n);if(s){o[s]=ou(r),delete o[n];return}let c=e?LR(n):String(n).trim();c!==n&&delete o[n],o[c]=ou(r),i[c]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let o=Object.create(null);return m.forEach(this,(i,r)=>{i!=null&&i!==!1&&(o[r]=e&&m.isArray(i)?i.join(", "):i)}),o}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,o])=>e+": "+o).join(`
28
28
  `)}getSetCookie(){let e=this.get("set-cookie");return m.isArray(e)?e:e==null||e===!1?[]:[e]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static parseParameters(e){return MR(e)}static concat(e,...o){let i=new this(e);return o.forEach(r=>i.set(r)),i}static accessor(e){let i=(this[Qv]=this[Qv]={accessors:{}}).accessors,r=this.prototype;function n(s){let c=Np(s);i[c]||(_R(r,s),i[c]=!0)}return a(n,"defineAccessor"),m.isArray(e)?e.forEach(n):n(e),this}};iu.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);m.reduceDescriptors(iu.prototype,({value:t},e)=>{let o=e[0].toUpperCase()+e.slice(1);return{get:a(()=>t,"get"),set(i){this[o]=i}}});m.freezeMethods(iu);var Re=iu;var Rp="[REDACTED ****]";function qR(t){if(m.hasOwnProp(t,"toJSON"))return!0;let e=Object.getPrototypeOf(t);for(;e&&e!==Object.prototype;){if(m.hasOwnProp(e,"toJSON"))return!0;e=Object.getPrototypeOf(e)}return!1}a(qR,"hasOwnOrPrototypeToJSON");function UR(t,e){let o=new Set(e.map(n=>String(n).toLowerCase())),i=[],r=a(n=>{if(n===null||typeof n!="object"||m.isBuffer(n))return n;if(i.indexOf(n)!==-1)return;n instanceof Re&&(n=n.toJSON()),i.push(n);let s;if(m.isArray(n))s=[],n.forEach((c,p)=>{let u=r(c);m.isUndefined(u)||(s[p]=u)});else{if(!m.isPlainObject(n)&&qR(n))return i.pop(),n;s=Object.create(null);for(let[c,p]of Object.entries(n)){let u=o.has(c.toLowerCase())?Rp:r(p);m.isUndefined(u)||(s[c]=u)}}return i.pop(),s},"visit");return r(t)}a(UR,"redactConfig");function Zv(t){try{return String(t)}catch{return""}}a(Zv,"stringifySafely");function kR(t){return t.errors.map(o=>{try{return o&&o.message?Zv(o.message):Zv(o)}catch{return""}}).filter(Boolean).join("; ")||t.name||"AggregateError"}a(kR,"aggregateErrorMessage");var Co=class Yv extends Error{static{a(this,"AxiosError")}static from(e,o,i,r,n,s){let c=e.message;!c&&m.isArray(e.errors)&&e.errors.length&&(c=kR(e));let p=new Yv(c,o||e.code,i,r,n);return Object.defineProperty(p,"cause",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),p.name=e.name,e.status!=null&&p.status==null&&(p.status=e.status),s&&Object.assign(p,s),p}constructor(e,o,i,r,n){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,o&&(this.code=o),i&&(this.config=i),r&&(this.request=r),n&&(this.response=n,this.status=n.status)}toJSON(){let e=this.config,o=e&&m.hasOwnProp(e,"redact")?e.redact:void 0,i=m.isArray(o)&&o.length>0?UR(e,o):m.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:i,code:this.code,status:this.status}}};Co.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Co.ERR_BAD_OPTION="ERR_BAD_OPTION";Co.ECONNABORTED="ECONNABORTED";Co.ETIMEDOUT="ETIMEDOUT";Co.ECONNREFUSED="ECONNREFUSED";Co.ERR_NETWORK="ERR_NETWORK";Co.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Co.ERR_DEPRECATED="ERR_DEPRECATED";Co.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Co.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Co.ERR_CANCELED="ERR_CANCELED";Co.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Co.ERR_INVALID_URL="ERR_INVALID_URL";Co.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var R=Co;var tx=dt(ex(),1),fu=tx.default;var mu={isBufferAvailable(){return typeof Buffer<"u"},from(t){return Buffer.from(t)}};var If=100;function wf(t){return m.isPlainObject(t)||m.isArray(t)}a(wf,"isVisitable");function ox(t){return m.endsWith(t,"[]")?t.slice(0,-2):t}a(ox,"removeBrackets");function Rf(t,e,o){return t?t.concat(e).map(a(function(r,n){return r=ox(r),!o&&n?"["+r+"]":r},"each")).join(o?".":""):e}a(Rf,"renderKey");function PI(t){return m.isArray(t)&&!t.some(wf)}a(PI,"isFlatArray");var EI=m.toFlatObject(m,{},null,a(function(e){return/^is[A-Z]/.test(e)},"filter"));function jI(t,e,o){if(!m.isObject(t))throw new TypeError("target must be an object");e=e||new(fu||FormData),o=m.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,a(function(F,D){return!m.isUndefined(D[F])},"defined"));let i=o.metaTokens,r=o.visitor||C,n=o.dots,s=o.indexes,c=o.Blob||typeof Blob<"u"&&Blob,p=o.maxDepth===void 0?If:o.maxDepth,u=c&&m.isSpecCompliantForm(e),l=[];if(!m.isFunction(r))throw new TypeError("visitor must be a function");function d(x){if(x===null)return"";if(m.isDate(x))return x.toISOString();if(m.isBoolean(x))return x.toString();if(!u&&m.isBlob(x))throw new R("Blob is not supported. Use a Buffer instead.");if(m.isArrayBuffer(x)||m.isTypedArray(x)){if(u&&typeof c=="function")return new c([x]);if(mu&&mu.isBufferAvailable())return mu.from(x);throw new R("Blob is not supported. Use a Buffer instead.",R.ERR_NOT_SUPPORT)}return x}a(d,"convertValue");function g(x){if(x>p)throw new R("Object is too deeply nested ("+x+" levels). Max depth: "+p,R.ERR_FORM_DATA_DEPTH_EXCEEDED)}a(g,"throwIfMaxDepthExceeded");function y(x,F){if(p===1/0)return JSON.stringify(x);let D=[];return JSON.stringify(x,a(function(X,H){if(!m.isObject(H))return H;for(;D.length&&D[D.length-1]!==this;)D.pop();return D.push(H),g(F+D.length-1),H},"limitDepth"))}a(y,"stringifyWithDepthLimit");function C(x,F,D){let j=x;if(m.isReactNative(e)&&m.isReactNativeBlob(x))return e.append(Rf(D,F,n),d(x)),!1;if(x&&!D&&typeof x=="object"){if(m.endsWith(F,"{}"))F=i?F:F.slice(0,-2),x=y(x,1);else if(m.isArray(x)&&PI(x)||(m.isFileList(x)||m.endsWith(F,"[]"))&&(j=m.toArray(x)))return F=ox(F),j.forEach(a(function(H,yt){!(m.isUndefined(H)||H===null)&&e.append(s===!0?Rf([F],yt,n):s===null?F:F+"[]",d(H))},"each")),!1}return wf(x)?!0:(e.append(Rf(D,F,n),d(x)),!1)}a(C,"defaultVisitor");let w=Object.assign(EI,{defaultVisitor:C,convertValue:d,isVisitable:wf});function S(x,F,D=0){if(!m.isUndefined(x)){if(g(D),l.indexOf(x)!==-1)throw new Error("Circular reference detected in "+F.join("."));l.push(x),m.forEach(x,a(function(X,H){(!(m.isUndefined(X)||X===null)&&r.call(e,X,m.isString(H)?H.trim():H,F,w))===!0&&S(X,F?F.concat(H):[H],D+1)},"each")),l.pop()}}if(a(S,"build"),!m.isObject(t))throw new TypeError("data must be an object");return S(t),e}a(jI,"toFormData");var _r=jI;function ix(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(t).replace(/[!'()~]|%20/g,a(function(i){return e[i]},"replacer"))}a(ix,"encode");function nx(t,e){this._pairs=[],t&&_r(t,this,e)}a(nx,"AxiosURLSearchParams");var rx=nx.prototype;rx.append=a(function(e,o){this._pairs.push([e,o])},"append");rx.toString=a(function(e){let o=e?i=>e.call(this,i,ix):ix;return this._pairs.map(a(function(r){return o(r[0])+"="+o(r[1])},"each"),"").join("&")},"toString");var ax=nx;function zI(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}a(zI,"encode");function Va(t,e,o){if(!e)return t;t=t||"";let i=m.isFunction(o)?{serialize:o}:o,r=m.getSafeProp(i,"encode")||zI,n=m.getSafeProp(i,"serialize"),s;if(n?s=n(e,i):s=m.isURLSearchParams(e)?e.toString():new ax(e,i).toString(r),s){let c=t.indexOf("#");c!==-1&&(t=t.slice(0,c)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}a(Va,"buildURL");var TI=class{static{a(this,"InterceptorManager")}constructor(){this.handlers=[]}use(e,o,i){return this.handlers.push({fulfilled:e,rejected:o,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){m.forEach(this.handlers,a(function(i){i!==null&&e(i)},"forEachHandler"))}},Of=TI;var qr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0};var lx=dt(require("crypto"),1);var sx=dt(require("url"),1),cx=sx.default.URLSearchParams;var Ff="abcdefghijklmnopqrstuvwxyz",px="0123456789",ux={DIGIT:px,ALPHA:Ff,ALPHA_DIGIT:Ff+Ff.toUpperCase()+px},BI=a((t=16,e=ux.ALPHA_DIGIT)=>{let o="",{length:i}=e,r=new Uint32Array(t);lx.default.randomFillSync(r);for(let n=0;n<t;n++)o+=e[r[n]%i];return o},"generateString"),dx={isNode:!0,classes:{URLSearchParams:cx,FormData:fu,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:ux,generateString:BI,protocols:["http","https","file","data"]};var Pf={};Av(Pf,{hasBrowserEnv:()=>Df,hasStandardBrowserEnv:()=>MI,hasStandardBrowserWebWorkerEnv:()=>VI,navigator:()=>Af,origin:()=>LI});var Df=typeof window<"u"&&typeof document<"u",Af=typeof navigator=="object"&&navigator||void 0,MI=Df&&(!Af||["ReactNative","NativeScript","NS"].indexOf(Af.product)<0),VI=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",LI=Df&&window.location.href||"http://localhost";var ie={...Pf,...dx};function Ef(t,e){return _r(t,new ie.classes.URLSearchParams,{visitor:a(function(o,i,r,n){return ie.isNode&&m.isBuffer(o)?(this.append(i,o.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},"visitor"),...e})}a(Ef,"toURLEncodedForm");var fx=If;function mx(t){if(t>fx)throw new R("FormData field is too deeply nested ("+t+" levels). Max depth: "+fx,R.ERR_FORM_DATA_DEPTH_EXCEEDED)}a(mx,"throwIfDepthExceeded");function _I(t){let e=[],o=/[^.[\]]+|\[([^.[\]]*)]/g,i;for(;(i=o.exec(t))!==null;)mx(e.length),e.push(i[0]==="[]"?"":i[1]||i[0]);return e}a(_I,"parsePropPath");function qI(t){let e={},o=Object.keys(t),i,r=o.length,n;for(i=0;i<r;i++)n=o[i],e[n]=t[n];return e}a(qI,"arrayToObject");function UI(t){function e(o,i,r,n){mx(n);let s=o[n++];if(s==="__proto__")return!0;let c=Number.isFinite(+s),p=n>=o.length;return s=!s&&m.isArray(r)?r.length:s,p?(m.hasOwnProp(r,s)?r[s]=m.isArray(r[s])?r[s].concat(i):[r[s],i]:r[s]=i,!c):((!m.hasOwnProp(r,s)||!m.isObject(r[s]))&&(r[s]=[]),e(o,i,r[s],n)&&m.isArray(r[s])&&(r[s]=qI(r[s])),!c)}if(a(e,"buildPath"),m.isFormData(t)&&m.isFunction(t.entries)){let o={};return m.forEachEntry(t,(i,r)=>{e(_I(i),r,o,0)}),o}return null}a(UI,"formDataToJSON");var hu=UI;var _s=a((t,e)=>t!=null&&m.hasOwnProp(t,e)?t[e]:void 0,"own");function kI(t,e,o){if(m.isString(t))try{return(e||JSON.parse)(t),m.trim(t)}catch(i){if(i.name!=="SyntaxError")throw i}return(o||JSON.stringify)(t)}a(kI,"stringifySafely");var jf={transitional:qr,adapter:["xhr","http","fetch"],transformRequest:[a(function(e,o){let i=o.getContentType()||"",r=i.indexOf("application/json")>-1,n=m.isObject(e);if(n&&m.isHTMLForm(e)&&(e=new FormData(e)),m.isFormData(e))return r?JSON.stringify(hu(e)):e;if(m.isArrayBuffer(e)||m.isBuffer(e)||m.isStream(e)||m.isFile(e)||m.isBlob(e)||m.isReadableStream(e))return e;if(m.isArrayBufferView(e))return e.buffer;if(m.isURLSearchParams(e))return o.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let c;if(n){let p=_s(this,"formSerializer");if(i.indexOf("application/x-www-form-urlencoded")>-1)return Ef(e,p).toString();if((c=m.isFileList(e))||i.indexOf("multipart/form-data")>-1){let u=_s(this,"env"),l=u&&u.FormData;return _r(c?{"files[]":e}:e,l&&new l,p)}}return n||r?(o.setContentType("application/json",!1),kI(e)):e},"transformRequest")],transformResponse:[a(function(e){let o=_s(this,"transitional")||jf.transitional,i=o&&o.forcedJSONParsing,r=_s(this,"responseType"),n=r==="json";if(m.isResponse(e)||m.isReadableStream(e))return e;if(e&&m.isString(e)&&(i&&!r||n)){let c=!(o&&o.silentJSONParsing)&&n;try{return JSON.parse(e,_s(this,"parseReviver"))}catch(p){if(c)throw p.name==="SyntaxError"?R.from(p,R.ERR_BAD_RESPONSE,this,null,_s(this,"response")):p}}return e},"transformResponse")],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ie.classes.FormData,Blob:ie.classes.Blob},validateStatus:a(function(e){return e>=200&&e<300},"validateStatus"),headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};m.forEach(["delete","get","head","post","put","patch","query"],t=>{jf.headers[t]={}});var qs=jf;function Fp(t,e){let o=this||qs,i=e||o,r=Re.from(i.headers),n=i.data;return m.forEach(t,a(function(c){n=c.call(o,n,r.normalize(),e?e.status:void 0)},"transform")),r.normalize(),n}a(Fp,"transformData");function Ap(t){return!!(t&&t.__CANCEL__)}a(Ap,"isCancel");var HI=class extends R{static{a(this,"CanceledError")}constructor(e,o,i){super(e??"canceled",R.ERR_CANCELED,o,i),this.name="CanceledError",this.__CANCEL__=!0}},Zo=HI;function yn(t,e,o){let i=o.config.validateStatus;!o.status||!i||i(o.status)?t(o):e(new R("Request failed with status code "+o.status,o.status>=400&&o.status<500?R.ERR_BAD_REQUEST:R.ERR_BAD_RESPONSE,o.config,o.request,o))}a(yn,"settle");function zf(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}a(zf,"isAbsoluteURL");function Tf(t,e){if(!e)return t;let o=t.length;for(;o>0&&t.charCodeAt(o-1)===47;)o--;return t.slice(0,o)+"/"+e.replace(/^\/+/,"")}a(Tf,"combineURLs");var GI=/^https?:(?!\/\/)/i,QI=/[\t\n\r]/g;function ZI(t){let e=0;for(;e<t.length&&t.charCodeAt(e)<=32;)e++;return t.slice(e)}a(ZI,"stripLeadingC0ControlOrSpace");function YI(t){return ZI(t).replace(QI,"")}a(YI,"normalizeURLForProtocolCheck");function XI(t){return t&&t.replace(/(^|&)([^=&]*=)?[^&]+/g,(e,o,i="")=>`${o}${i}${Rp}`)}a(XI,"redactFragment");function JI(t){let e=t.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${Rp}@`),o=e.indexOf("#"),r=(o===-1?e:e.slice(0,o)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${Rp}`);return o===-1?r:`${r}#${XI(e.slice(o+1))}`}a(JI,"redactSensitiveURLParts");function hx(t,e){if(typeof t=="string"){let o=YI(t);if(GI.test(o))throw new R(`Invalid URL ${JSON.stringify(JI(o))}: missing "//" after protocol`,R.ERR_INVALID_URL,e)}}a(hx,"assertValidHttpProtocolURL");function La(t,e,o,i){hx(e,i);let r=!zf(e);return t&&(r||o===!1)?(hx(t,i),Tf(t,e)):e}a(La,"buildFullPath");var WI={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};function KI(t){try{return new URL(t)}catch{return null}}a(KI,"parseUrl");function vx(t){var e=(typeof t=="string"?KI(t):t)||{},o=e.protocol,i=e.host,r=e.port;if(typeof i!="string"||!i||typeof o!="string"||(o=o.split(":",1)[0],i=i.replace(/:\d*$/,""),r=parseInt(r)||WI[o]||0,!$I(i,r)))return"";var n=Bf(o+"_proxy")||Bf("all_proxy");return n&&n.indexOf("://")===-1&&(n=o+"://"+n),n}a(vx,"getProxyForUrl");function $I(t,e){var o=Bf("no_proxy").toLowerCase();return o?o==="*"?!1:o.split(/[,\s]/).every(function(i){if(!i)return!0;var r=i.match(/^(.+):(\d+)$/),n=r?r[1]:i,s=r?parseInt(r[2]):0;return s&&s!==e?!0:/^[.*]/.test(n)?(n.charAt(0)==="*"&&(n=n.slice(1)),!t.endsWith(n)):t!==n}):!0}a($I,"shouldProxy");function Bf(t){return process.env[t.toLowerCase()]||process.env[t.toUpperCase()]||""}a(Bf,"getEnv");var fm=dt(Mx(),1),mm=dt(require("http"),1),hm=dt(require("https"),1),Cb=dt(require("http2"),1),Nb=dt(require("util"),1),dm=require("path"),Rb=dt(Hx(),1),Yo=dt(require("zlib"),1);var Jn="1.19.0";function Lp(t){let e=/^([-+\w]{1,25}):(?:\/\/)?/.exec(t);return e&&e[1]||""}a(Lp,"parseProtocol");var oF=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;function rm(t,e,o){let i=o&&o.Blob||ie.classes.Blob,r=Lp(t);if(e===void 0&&i&&(e=!0),r==="data"){t=r.length?t.slice(r.length+1):t;let n=oF.exec(t);if(!n)throw new R("Invalid URL",R.ERR_INVALID_URL);let s=n[1],c=n[2],p=n[3]?"base64":"utf8",u=n[4],l="";s?l=c?s+c:s:c&&(l="text/plain"+c);let d=p==="base64"?Buffer.from(u,"base64"):Buffer.from(decodeURIComponent(u),p);if(e){if(!i)throw new R("Blob is not supported",R.ERR_NOT_SUPPORT);return new i([d],{type:l})}return d}throw new R("Unsupported protocol "+r,R.ERR_NOT_SUPPORT)}a(rm,"fromDataURI");var li=dt(require("stream"),1);var iF=["content-type","content-length"];function _p(t,e,o){if(o!=="content-only"){t.set(e);return}Object.entries(e||{}).forEach(([i,r])=>{iF.includes(i.toLowerCase())&&t.set(i,r)})}a(_p,"setFormDataHeaders");var Gx=dt(require("stream"),1);var am=Symbol("internals"),nF=class extends Gx.default.Transform{static{a(this,"AxiosTransformStream")}constructor(e){e=m.toFlatObject(e,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(i,r)=>!m.isUndefined(r[i])),super({readableHighWaterMark:e.chunkSize});let o=this[am]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",i=>{i==="progress"&&(o.isCaptured||(o.isCaptured=!0))})}_read(e){let o=this[am];return o.onReadCallback&&o.onReadCallback(),super._read(e)}_transform(e,o,i){let r=this[am],n=r.maxRate,s=this.readableHighWaterMark,c=r.timeWindow,p=1e3/c,u=n/p,l=r.minChunkSize!==!1?Math.max(r.minChunkSize,u*.01):0,d=a((y,C)=>{let w=Buffer.byteLength(y);r.bytesSeen+=w,r.bytes+=w,r.isCaptured&&this.emit("progress",r.bytesSeen),this.push(y)?process.nextTick(C):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(C)}},"pushChunk"),g=a((y,C)=>{let w=Buffer.byteLength(y),S=null,x=s,F,D=0;if(n){let j=Date.now();(!r.ts||(D=j-r.ts)>=c)&&(r.ts=j,F=u-r.bytes,r.bytes=F<0?-F:0,D=0),F=u-r.bytes}if(n){if(F<=0)return setTimeout(()=>{C(null,y)},c-D);F<x&&(x=F)}x&&w>x&&w-x>l&&(S=y.subarray(x),y=y.subarray(0,x)),d(y,S?()=>{process.nextTick(C,null,S)}:C)},"transformChunk");g(e,a(function y(C,w){if(C)return i(C);w?g(w,y):i(null)},"transformNextChunk"))}},sm=nF;var wb=require("events");var Zx=dt(require("util"),1),Yx=require("stream");var{asyncIterator:Qx}=Symbol,rF=a(async function*(t){t.stream?yield*t.stream():t.arrayBuffer?yield await t.arrayBuffer():t[Qx]?yield*t[Qx]():yield t},"readBlob"),Su=rF;var aF=ie.ALPHABET.ALPHA_DIGIT+"-_",qp=typeof TextEncoder=="function"?new TextEncoder:new Zx.default.TextEncoder,Ha=`\r
29
29
  `,sF=qp.encode(Ha),cF=2,pF=class{static{a(this,"FormDataPart")}constructor(e,o){let{escapeName:i}=this.constructor,r=m.isString(o),n=`Content-Disposition: form-data; name="${i(e)}"${!r&&o.name?`; filename="${i(o.name)}"`:""}${Ha}`;if(r)o=qp.encode(String(o).replace(/\r?\n|\r\n?/g,Ha));else{let s=String(o.type||"application/octet-stream").replace(/[\r\n]/g,"");n+=`Content-Type: ${s}${Ha}`}this.headers=qp.encode(n+Ha),this.contentLength=r?o.byteLength:o.size,this.size=this.headers.byteLength+this.contentLength+cF,this.name=e,this.value=o}async*encode(){yield this.headers;let{value:e}=this;m.isTypedArray(e)?yield e:yield*Su(e),yield sF}static escapeName(e){return String(e).replace(/[\r\n"]/g,o=>({"\r":"%0D","\n":"%0A",'"':"%22"})[o])}},lF=a((t,e,o)=>{let{tag:i="form-data-boundary",size:r=25,boundary:n=i+"-"+ie.generateString(r,aF)}=o||{};if(!m.isFormData(t))throw new TypeError("FormData instance required");if(n.length<1||n.length>70)throw new Error("boundary must be 1-70 characters long");let s=qp.encode("--"+n+Ha),c=qp.encode("--"+n+"--"+Ha),p=c.byteLength,u=Array.from(t.entries()).map(([d,g])=>{let y=new pF(d,g);return p+=y.size,y});p+=s.byteLength*u.length,p=m.toFiniteNumber(p);let l={"Content-Type":`multipart/form-data; boundary=${n}`};return Number.isFinite(p)&&(l["Content-Length"]=p),e&&e(l),Yx.Readable.from((async function*(){for(let d of u)yield s,yield*d.encode();yield c})())},"formDataToStream"),Xx=lF;var Jx=dt(require("stream"),1);var uF=class extends Jx.default.Transform{static{a(this,"ZlibHeaderTransformStream")}__transform(e,o,i){this.push(e),i()}_transform(e,o,i){if(e.length!==0&&(this._transform=this.__transform,e[0]!==120)){let r=Buffer.alloc(2);r[0]=120,r[1]=156,this.push(r,o)}this.__transform(e,o,i)}},Wx=uF;var Kx=dt(require("http2"),1),$x=dt(require("util"),1);var dF=class{static{a(this,"Http2Sessions")}constructor(){this.sessions=Object.create(null)}getSession(e,o){o=Object.assign({sessionTimeout:1e3},o);let i=this.sessions[e];if(i){let d=i.length;for(let g=0;g<d;g++){let[y,C]=i[g];if(!y.destroyed&&!y.closed&&$x.default.isDeepStrictEqual(C,o))return y}}let r=Kx.default.connect(e,o),n,s,c=a(()=>{if(n)return;n=!0,s&&(clearTimeout(s),s=null);let d=i,g=d.length,y=g;for(;y--;)if(d[y][0]===r){g===1?delete this.sessions[e]:d.splice(y,1),r.closed||r.close();return}},"removeSession"),p=r.request,{sessionTimeout:u}=o;if(u!=null){let d=0;r.request=function(){let g=p.apply(this,arguments);return d++,s&&(clearTimeout(s),s=null),g.once("close",()=>{--d||(s=setTimeout(()=>{s=null,c()},u))}),g}}r.once("close",c);let l=[r,o];return i?i.push(l):i=this.sessions[e]=[l],r}},eb=dF;var fF=a((t,e)=>m.isAsyncFn(t)?function(...o){let i=o.pop();t.apply(this,o).then(r=>{try{e?i(null,...e(r)):i(null,r)}catch(n){i(n)}},i)}:t,"callbackify"),tb=fF;var mF=new Set(["localhost","0.0.0.0"]),nb=a(t=>{let e=t.split(".");return e.length!==4||e[0]!=="127"?!1:e.every(o=>/^\d+$/.test(o)&&Number(o)>=0&&Number(o)<=255)},"isIPv4Loopback"),cm=a(t=>{if(/^0[xX][0-9a-fA-F]+$/.test(t)){let e=parseInt(t.slice(2),16);return Number.isFinite(e)?e:null}if(t.length>1&&/^0[0-7]+$/.test(t)){let e=parseInt(t,8);return Number.isFinite(e)?e:null}if(t.length>1&&/^0[0-9]+$/.test(t))return null;if(/^[0-9]+$/.test(t)){let e=parseInt(t,10);return Number.isFinite(e)?e:null}return null},"parseIPv4Octet"),hF=a(t=>{if(typeof t!="string"||!t||t.indexOf(":")!==-1)return t;let e=t;if(e.charAt(0)==="["&&e.charAt(e.length-1)==="]"&&(e=e.slice(1,-1)),e=e.replace(/\.+$/,""),!/^[0-9.xXa-fA-F]+$/.test(e))return t;let o=e.split(".");if(o.some(l=>l===""))return t;if(o.length===4){let l=o.map(cm);return l.some(d=>d===null||d<0||d>255)?t:l.join(".")}if(o.length>4||o.length===1)return t;let i=o.slice(0,-1),r=o[o.length-1],n=4-i.length,s=cm(r);if(s===null)return t;let c=(1<<8*n)-1;if(s<0||s>c)return t;let p=new Array(n).fill(0);for(let l=n-1,d=s;l>=0;l--,d>>=8)p[l]=d&255;let u=i.map(cm);return u.some(l=>l===null||l<0||l>255)?t:[...u,...p].join(".")},"normalizeIPAddress"),pm=a(t=>/^0{1,4}$/.test(t),"isIPv6ZeroGroup"),vF=a(t=>{if(t==="::")return!0;let e=t.indexOf("::");if(e!==-1){if(e!==t.lastIndexOf("::"))return!1;let i=t.slice(0,e),r=t.slice(e+2),n=i?i.split(":"):[],s=r?r.split(":"):[];return n.length+s.length<8&&n.every(pm)&&s.every(pm)}let o=t.split(":");return o.length===8&&o.every(pm)},"isIPv6Unspecified"),gF=a(t=>{if(t==="::1")return!0;let e=t.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(e)return nb(e[1]);let o=t.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(o){let r=parseInt(o[1],16);return r>=32512&&r<=32767}let i=t.split(":");if(i.length===8){for(let r=0;r<7;r++)if(!/^0+$/.test(i[r]))return!1;return/^0*1$/.test(i[7])}return!1},"isIPv6Loopback"),ob=a(t=>t?mF.has(t)||nb(t)||vF(t)?!0:gF(t):!1,"isLoopback"),yF={http:80,https:443,ws:80,wss:443,ftp:21},xF=a(t=>{let e=t,o=0;if(e.charAt(0)==="["){let n=e.indexOf("]");if(n!==-1){let s=e.slice(1,n),c=e.slice(n+1);return c.charAt(0)===":"&&/^\d+$/.test(c.slice(1))&&(o=Number.parseInt(c.slice(1),10)),[s,o]}}let i=e.indexOf(":"),r=e.lastIndexOf(":");return i!==-1&&i===r&&/^\d+$/.test(e.slice(r+1))&&(o=Number.parseInt(e.slice(r+1),10),e=e.slice(0,r)),[e,o]},"parseNoProxyEntry"),bF=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,SF=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i,CF=a(t=>{if(typeof t!="string"||t.indexOf(":")===-1)return t;let e=t.match(bF);if(e)return e[1];let o=t.match(SF);if(o){let i=parseInt(o[1],16),r=parseInt(o[2],16);return`${i>>8}.${i&255}.${r>>8}.${r&255}`}return t},"unmapIPv4MappedIPv6"),ib=a(t=>{if(!t)return t;t.charAt(0)==="["&&t.charAt(t.length-1)==="]"&&(t=t.slice(1,-1));let e=t.replace(/\.+$/,""),o=hF(e);return o!==e?o:CF(e)},"normalizeNoProxyHost");function lm(t){let e;try{e=new URL(t)}catch{return!1}let o=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!o)return!1;if(o==="*")return!0;let i=Number.parseInt(e.port,10)||yF[e.protocol.split(":",1)[0]]||0,r=ib(e.hostname.toLowerCase());return o.split(/[\s,]+/).some(n=>{if(!n)return!1;if(n==="*")return!0;let[s,c]=xF(n);return s=ib(s),!s||c&&c!==i?!1:(s.charAt(0)==="*"&&(s=s.slice(1)),s.charAt(0)==="."?r.endsWith(s):r===s||ob(r)&&ob(s))})}a(lm,"shouldBypassProxy");function NF(t,e){t=t||10;let o=new Array(t),i=new Array(t),r=0,n=0,s;return e=e!==void 0?e:1e3,a(function(p){let u=Date.now(),l=i[n];s||(s=u),o[r]=p,i[r]=u;let d=n,g=0;for(;d!==r;)g+=o[d++],d=d%t;if(r=(r+1)%t,r===n&&(n=(n+1)%t),u-s<e)return;let y=l&&u-l;return y?Math.round(g*1e3/y):void 0},"push")}a(NF,"speedometer");var rb=NF;function RF(t,e){let o=0,i=1e3/e,r,n,s=a((u,l=Date.now())=>{o=l,r=null,n&&(clearTimeout(n),n=null),t(...u)},"invoke");return[a((...u)=>{let l=Date.now(),d=l-o;d>=i?s(u,l):(r=u,n||(n=setTimeout(()=>{n=null,s(r)},i-d)))},"throttled"),a(()=>r&&s(r),"flush")]}a(RF,"throttle");var ab=RF;var Wn=a((t,e,o=3)=>{let i=0,r=rb(50,250);return ab(n=>{if(!n||typeof n.loaded!="number")return;let s=n.loaded,c=n.lengthComputable?n.total:void 0,p=Math.max(0,c!=null?Math.min(s,c):s),u=Math.max(0,p-i),l=r(u);i=Math.max(i,p);let d={loaded:p,total:c,progress:c?p/c:void 0,bytes:u,rate:l||void 0,estimated:l&&c?(c-p)/l:void 0,event:n,lengthComputable:c!=null,[e?"download":"upload"]:!0};t(d)},o)},"progressEventReducer"),Qs=a((t,e)=>{let o=t!=null;return[i=>e[0]({lengthComputable:o,total:t,loaded:i}),e[1]]},"progressEventDecorator"),Zs=a((t,e=m.asap)=>(...o)=>e(()=>t(...o)),"asyncDecorator");var sb=a(t=>t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102,"isHexDigit"),pb=a((t,e,o)=>e+2<o&&sb(t.charCodeAt(e+1))&&sb(t.charCodeAt(e+2)),"isPercentEncodedByte"),cb=a(t=>t<=57?t-48:(t&223)-55,"hexValue"),wF=a(t=>t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||t===43||t===47||t===45||t===95,"isBase64Char"),IF=a(t=>t===9||t===10||t===12||t===13||t===32,"isBase64Whitespace"),OF=a(t=>{let e=Math.floor(t/4),o=t%4;return e*3+(o===2?1:o===3?2:0)},"base64Bytes"),lb=a(t=>{let e=t.length,o=0;return e>0&&t.charCodeAt(e-1)===61&&(o++,e>1&&t.charCodeAt(e-2)===61&&o++),Math.floor((e-o)*3/4)},"estimateBase64BufferAllocation"),FF=a(t=>{let e=t.length,o=0,i=0,r=!1;for(let n=0;n<e;n++){let s=t.charCodeAt(n);if(s===37&&pb(t,n,e)&&(s=cb(t.charCodeAt(n+1))*16+cb(t.charCodeAt(n+2)),n+=2),!IF(s)){if(s===61){i++;continue}if(!wF(s)||i>0){r=!0;continue}o++}}return r||i>2||i>0&&(o+i)%4!==0||o%4===1?lb(t):OF(o)},"estimatePercentDecodedBase64Bytes"),ub=a((t,e)=>{if(!t||typeof t!="string"||!t.startsWith("data:"))return 0;let o=t.indexOf(",");if(o<0)return 0;let i=t.slice(5,o),r=t.slice(o+1);if(/;base64/i.test(i))return e(r);let s=0;for(let c=0,p=r.length;c<p;c++){let u=r.charCodeAt(c);if(u===37&&pb(r,c,p))s+=1,c+=2;else if(u<128)s+=1;else if(u<2048)s+=2;else if(u>=55296&&u<=56319&&c+1<p){let l=r.charCodeAt(c+1);l>=56320&&l<=57343?(s+=4,c++):s+=3}else s+=3}return s},"estimateDataURLBytes");function um(t){let e=typeof t=="string"?t.indexOf("#"):-1;return ub(e===-1?t:t.slice(0,e),FF)}a(um,"estimateDataURLDecodedBytes");function db(t){return ub(t,lb)}a(db,"estimateDataURLBufferAllocation");var fb={flush:Yo.default.constants.Z_SYNC_FLUSH,finishFlush:Yo.default.constants.Z_SYNC_FLUSH},AF={flush:Yo.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:Yo.default.constants.BROTLI_OPERATION_FLUSH},DF={flush:Yo.default.constants.ZSTD_e_flush,finishFlush:Yo.default.constants.ZSTD_e_flush},Ib=m.isFunction(Yo.default.createBrotliDecompress),Ob=m.isFunction(Yo.default.createZstdDecompress),Fb="gzip, compress, deflate"+(Ib?", br":""),PF=Fb+(Ob?", zstd":""),mb=typeof process<"u"&&process.nextTick?process.nextTick.bind(process):m.asap,{http:EF,https:jF}=Rb.default,vm=/https:?/,hb=Symbol("axios.http.socketListener"),Cu=Symbol("axios.http.currentReq"),Ab=Symbol("axios.http.installedTunnel"),zF=new Map,vb=new WeakMap,gb={22:21,24:5};function TF(t=process.versions&&process.versions.node){if(!t)return!1;let[e,o]=t.split(".").map(i=>Number(i));return!Number.isInteger(e)||!Number.isInteger(o)?!1:e>24?!0:gb[e]!=null&&o>=gb[e]}a(TF,"isNodeNativeEnvProxySupported");function BF(t,e=process.versions&&process.versions.node){if(!TF(e))return!1;let o=t&&t.options;return!!(o&&m.hasOwnProp(o,"proxyEnv")&&o.proxyEnv!=null)}a(BF,"isNodeEnvProxyEnabled");function MF(t,e,o){return vm.test(t.protocol)?o||hm.default.globalAgent:e||mm.default.globalAgent}a(MF,"getProxyEnvAgent");function VF(t,e){let o=t.protocol+"//"+t.hostname+":"+(t.port||"")+"#"+(t.auth||""),i=e?vb.get(e)||vb.set(e,new Map).get(e):zF,r=i.get(o);if(r)return r;let n=e&&e.options?{...e.options,...t}:t;if(r=new fm.default(n),e&&e.options){let s={...e.options},c=r.callback;r.callback=a(function(u,l){return c.call(this,u,{...s,...l})},"axiosTunnelingAgentCallback")}return r[Ab]=!0,i.set(o,r),r}a(VF,"getTunnelingAgent");var yb=ie.protocols.map(t=>t+":"),xb=a(t=>{if(!m.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},"decodeURIComponentSafe"),bb=a((t,[e,o])=>(t.on("end",o).on("error",o),e),"flushOnFinish"),LF=new eb;function _F(t,e,o){t.beforeRedirects.proxy&&t.beforeRedirects.proxy(t),t.beforeRedirects.auth&&t.beforeRedirects.auth(t),t.beforeRedirects.sensitiveHeaders&&t.beforeRedirects.sensitiveHeaders(t,o),t.beforeRedirects.config&&t.beforeRedirects.config(t,e,o)}a(_F,"dispatchBeforeRedirect");function qF(t,e){t&&Object.keys(t).forEach(o=>{e.has(o.toLowerCase())&&delete t[o]})}a(qF,"stripMatchingHeaders");function UF(t,e){if(!e)return!1;try{return new URL(e.url).origin===new URL(t.href).origin}catch{return!1}}a(UF,"isSameOriginRedirect");function Db(t,e,o,i,r,n){let s=e,c=MF(t,n,r);if(!s&&s!==!1&&!BF(c)){let p=vx(o);p&&(lm(o)||(s=new URL(p)))}if(i&&t.headers)for(let p of Object.keys(t.headers))p.toLowerCase()==="proxy-authorization"&&delete t.headers[p];if(i&&t.agent&&t.agent[Ab]&&(t.agent=void 0),s){let p=s instanceof URL,u=a(C=>p||m.hasOwnProp(s,C)?s[C]:void 0,"readProxyField"),l=u("username"),d=u("password"),g=m.hasOwnProp(s,"auth")?s.auth:void 0;if(l&&(g=(l||"")+":"+(d||"")),g){let C=typeof g=="object",w=C&&m.hasOwnProp(g,"username")?g.username:void 0,S=C&&m.hasOwnProp(g,"password")?g.password:void 0;if(!!(w||S))g=(w||"")+":"+(S||"");else if(C)throw new R("Invalid proxy authorization",R.ERR_BAD_OPTION,{proxy:s})}if(vm.test(t.protocol)){if(!(r instanceof fm.default)){let C=u("hostname")||u("host"),w=u("port"),S=u("protocol"),x=S?S.includes(":")?S:`${S}:`:"http:",F=C&&C.includes(":")&&!C.startsWith("[")?`[${C}]`:C,D=new URL(`${x}//${F}${w?":"+w:""}`),j={protocol:D.protocol,hostname:D.hostname.replace(/^\[|\]$/g,""),port:D.port,auth:g&&typeof g=="string"?g:void 0};D.protocol==="https:"&&(j.ALPNProtocols=["http/1.1"]);let X=VF(j,r);t.agent=X,t.agents&&(t.agents.https=X)}}else{if(g){let x=Buffer.from(g,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+x}let C=!1;for(let x of Object.keys(t.headers))if(x.toLowerCase()==="host"){C=!0;break}C||(t.headers.host=t.hostname+(t.port?":"+t.port:""));let w=u("hostname")||u("host");t.hostname=w,t.host=w,t.port=u("port"),t.path=o;let S=u("protocol");S&&(t.protocol=S.includes(":")?S:`${S}:`)}}t.beforeRedirects.proxy=a(function(u){Db(u,e,u.href,!0,r,n)},"beforeRedirect")}a(Db,"setProxy");var kF=typeof process<"u"&&m.kindOf(process)==="process",HF=a(t=>new Promise((e,o)=>{let i,r,n=a((p,u)=>{r||(r=!0,i&&i(p,u))},"done"),s=a(p=>{n(p),e(p)},"_resolve"),c=a(p=>{n(p,!0),o(p)},"_reject");t(s,c,p=>i=p).catch(c)}),"wrapAsync"),GF=a(({address:t,family:e})=>{if(!m.isString(t))throw TypeError("address must be a string");return{address:t,family:e||(t.indexOf(".")<0?6:4)}},"resolveFamily"),Sb=a((t,e)=>GF(m.isObject(t)?t:{address:t,family:e}),"buildAddressEntry"),QF={request(t,e){let o=t.protocol+"//"+t.hostname+":"+(t.port||(t.protocol==="https:"?443:80)),{http2Options:i,headers:r}=t,n=LF.getSession(o,i),{HTTP2_HEADER_SCHEME:s,HTTP2_HEADER_METHOD:c,HTTP2_HEADER_PATH:p,HTTP2_HEADER_STATUS:u}=Cb.default.constants,l={[s]:t.protocol.replace(":",""),[c]:t.method,[p]:t.path};m.forEach(r,(g,y)=>{y.charAt(0)!==":"&&(l[y]=g)});let d=n.request(l);return d.once("response",g=>{let y=d;g=Object.assign({},g);let C=g[u];delete g[u],y.headers=g,y.statusCode=+C,e(y)}),d}},Pb=kF&&a(function(e){return HF(a(async function(i,r,n){let s=a(E=>m.getSafeProp(e,E),"own"),c=s("transitional")||qr,p=s("data"),u=s("lookup"),l=s("family"),d=s("httpVersion");d===void 0&&(d=1);let g=s("http2Options"),y=s("httpAgent"),C=s("httpsAgent"),w=s("proxy"),S=s("responseType"),x=s("responseEncoding"),F=s("socketPath"),D=s("method").toUpperCase(),j=s("maxRedirects"),X=s("maxBodyLength"),H=s("maxContentLength"),yt=s("decompress"),Go,hn=!1,ee,Qo;if(d=+d,Number.isNaN(d))throw TypeError(`Invalid protocol version: '${e.httpVersion}' is not a number`);if(d!==1&&d!==2)throw TypeError(`Unsupported protocol version '${d}'`);let Is=d===2;if(u){let E=tb(u,P=>m.isArray(P)?P:[P]);u=a((P,$,Xe)=>{E(P,$,(J,wt,$t)=>{if(J)return Xe(J);let rt=m.isArray(wt)?wt.map(As=>Sb(As)):[Sb(wt,$t)];$.all?Xe(J,rt):Xe(J,rt[0].address,rt[0].family)})},"lookup")}let Mr=new wb.EventEmitter;function ut(E){try{Mr.emit("abort",!E||E.type?new Zo(null,e,ee):E)}catch{}}a(ut,"abort");function Yn(){Qo&&(clearTimeout(Qo),Qo=null)}a(Yn,"clearConnectPhaseTimer");function Pa(){let E=s("timeout"),P=E?"timeout of "+E+"ms exceeded":"timeout exceeded",$=s("timeoutErrorMessage");return $&&(P=$),new R(P,c.clarifyTimeoutError?R.ETIMEDOUT:R.ECONNABORTED,e,ee)}a(Pa,"createTimeoutError"),Mr.once("abort",r);let Ea=a(()=>{Yn(),e.cancelToken&&e.cancelToken.unsubscribe(ut),e.signal&&e.signal.removeEventListener("abort",ut),Mr.removeAllListeners()},"onFinished");(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(ut),e.signal&&(e.signal.aborted?ut():e.signal.addEventListener("abort",ut))),n((E,P)=>{if(Go=!0,Yn(),P){hn=!0,Ea();return}let{data:$}=E;if($ instanceof li.default.Readable||$ instanceof li.default.Duplex){let Xe=li.default.finished($,()=>{Xe(),Ea()})}else Ea()});let Xl=La(s("baseURL"),s("url"),s("allowAbsoluteUrls"),e),Jl=F?"http://localhost":ie.hasBrowserEnv?ie.origin:void 0,Ee=new URL(Xl,Jl),Ye=Ee.protocol||yb[0];if(Ye==="data:"){if(H>-1){let P=String(s("url")||Xl||"");if(db(P)>H)return r(new R("maxContentLength size of "+H+" exceeded",R.ERR_BAD_RESPONSE,e))}let E;if(D!=="GET")return yn(i,r,{status:405,statusText:"method not allowed",headers:{},config:e});try{E=rm(s("url"),S==="blob",{Blob:e.env&&e.env.Blob})}catch(P){throw R.from(P,R.ERR_BAD_REQUEST,e)}return S==="text"?(E=E.toString(x),(!x||x==="utf8")&&(E=m.stripBOM(E))):S==="stream"&&(E=li.default.Readable.from(E)),yn(i,r,{data:E,status:200,statusText:"OK",headers:new Re,config:e})}if(yb.indexOf(Ye)===-1)return r(new R("Unsupported protocol "+Ye,R.ERR_BAD_REQUEST,e));let nt=Re.from(e.headers).normalize();nt.set("User-Agent","axios/"+Jn,!1);let{onUploadProgress:vn,onDownloadProgress:Xn}=e,ja=e.maxRate,oe,qt;if(m.isSpecCompliantForm(p)){let E=nt.getContentType(/boundary=([-_\w\d]{10,70})/i);p=Xx(p,P=>{nt.set(P)},{tag:`axios-${Jn}-boundary`,boundary:E&&E[1]||void 0})}else if(m.isFormData(p)&&m.isFunction(p.getHeaders)&&p.getHeaders!==Object.prototype.getHeaders){if(_p(nt,p.getHeaders(),s("formDataHeaderPolicy")),!nt.hasContentLength())try{let E=await Nb.default.promisify(p.getLength).call(p);Number.isFinite(E)&&E>=0&&nt.setContentLength(E)}catch{}}else if(m.isBlob(p)||m.isFile(p))p.size&&nt.setContentType(p.type||"application/octet-stream"),nt.setContentLength(p.size||0),p=li.default.Readable.from(Su(p));else if(p&&!m.isStream(p)){if(!Buffer.isBuffer(p))if(m.isArrayBuffer(p))p=Buffer.from(new Uint8Array(p));else if(m.isString(p))p=Buffer.from(p,"utf-8");else return r(new R("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",R.ERR_BAD_REQUEST,e));if(nt.setContentLength(p.length,!1),X>-1&&p.length>X)return r(new R("Request body larger than maxBodyLength limit",R.ERR_BAD_REQUEST,e))}let Os=m.toFiniteNumber(nt.getContentLength());m.isArray(ja)?(oe=ja[0],qt=ja[1]):oe=qt=ja,p&&(vn||oe)&&(m.isStream(p)||(p=li.default.Readable.from(p,{objectMode:!1})),p=li.default.pipeline([p,new sm({maxRate:m.toFiniteNumber(oe)})],m.noop),vn&&p.on("progress",bb(p,Qs(Os,Wn(Zs(vn,mb),!1,3)))));let gn,lp=s("auth");if(lp){let E=m.getSafeProp(lp,"username")||"",P=m.getSafeProp(lp,"password")||"";gn=E+":"+P}if(!gn&&(Ee.username||Ee.password)){let E=xb(Ee.username),P=xb(Ee.password);gn=E+":"+P}gn&&nt.delete("authorization");let up;try{up=Va(Ee.pathname+Ee.search,s("params"),s("paramsSerializer")).replace(/^\?/,"")}catch(E){return r(R.from(E,R.ERR_BAD_REQUEST,e,null,null,{url:s("url"),exists:!0}))}nt.set("Accept-Encoding",m.hasOwnProp(c,"advertiseZstdAcceptEncoding")&&c.advertiseZstdAcceptEncoding===!0?PF:Fb,!1);let ue=Object.assign(Object.create(null),{path:up,method:D,headers:zs(nt),agents:{http:y,https:C},auth:gn,protocol:Ye,family:l,beforeRedirect:_F,beforeRedirects:Object.create(null),http2Options:g});if(!m.isUndefined(u)&&(ue.lookup=u),F){if(typeof F!="string")return r(new R("socketPath must be a string",R.ERR_BAD_OPTION_VALUE,e));let E=s("allowedSocketPaths");if(E!=null){let P=Array.isArray(E)?E:[E],$=(0,dm.resolve)(F);if(!P.some(J=>typeof J=="string"&&(0,dm.resolve)(J)===$))return r(new R(`socketPath "${F}" is not permitted by allowedSocketPaths`,R.ERR_BAD_OPTION_VALUE,e))}ue.socketPath=F}else ue.hostname=Ee.hostname.startsWith("[")?Ee.hostname.slice(1,-1):Ee.hostname,ue.port=Ee.port,Db(ue,w,Ye+"//"+Ee.hostname+(Ee.port?":"+Ee.port:"")+ue.path,!1,C,y);let Vr,Fs=!1,si=!1,G=vm.test(ue.protocol);if(ue.agent==null&&(ue.agent=G?C:y),Is)Vr=QF;else{let E=s("transport");if(E)Vr=E;else if(j===0)Vr=G?hm.default:mm.default,Fs=!0;else{si=!0,ue.sensitiveHeaders=[],j&&(ue.maxRedirects=j);let P=s("beforeRedirect");if(P&&(ue.beforeRedirects.config=P),gn){let Xe=Ee.origin,J=gn;ue.beforeRedirects.auth=a(function($t){try{new URL($t.href).origin===Xe&&($t.auth=J)}catch{}},"beforeRedirectAuth")}let $=s("sensitiveHeaders");if($!=null){if(!m.isArray($))return r(new R("sensitiveHeaders must be an array of strings",R.ERR_BAD_OPTION_VALUE,e));let Xe=new Set;for(let J of $){if(!m.isString(J))return r(new R("sensitiveHeaders must be an array of strings",R.ERR_BAD_OPTION_VALUE,e));Xe.add(J.toLowerCase())}Xe.size&&(ue.sensitiveHeaders=Array.from(Xe),ue.beforeRedirects.sensitiveHeaders=a(function(wt,$t){UF(wt,$t)||qF(wt.headers,Xe)},"beforeRedirectSensitiveHeaders"))}Vr=G?jF:EF}}X>-1?ue.maxBodyLength=X:ue.maxBodyLength=1/0,ue.insecureHTTPParser=!!s("insecureHTTPParser"),ee=Vr.request(ue,a(function(P){if(Yn(),ee.destroyed)return;let $=[P],Xe=m.toFiniteNumber(P.headers["content-length"]);if(Xn||qt){let rt=new sm({maxRate:m.toFiniteNumber(qt)});Xn&&rt.on("progress",bb(rt,Qs(Xe,Wn(Zs(Xn,mb),!0,3)))),$.push(rt)}let J=P,wt=P.req||ee;if(yt!==!1&&P.headers["content-encoding"])switch((D==="HEAD"||P.statusCode===204)&&delete P.headers["content-encoding"],(P.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":$.push(Yo.default.createUnzip(fb)),delete P.headers["content-encoding"];break;case"deflate":$.push(new Wx),$.push(Yo.default.createUnzip(fb)),delete P.headers["content-encoding"];break;case"br":Ib&&($.push(Yo.default.createBrotliDecompress(AF)),delete P.headers["content-encoding"]);break;case"zstd":Ob&&($.push(Yo.default.createZstdDecompress(DF)),delete P.headers["content-encoding"]);break}J=$.length>1?li.default.pipeline($,m.noop):$[0];let $t={status:P.statusCode,statusText:P.statusMessage,headers:new Re(P.headers),config:e,request:wt};if(S==="stream"){if(H>-1){let rt=H,As=J;async function*dp(){let It=0;for await(let Fv of As){if(It+=Fv.length,It>rt)throw new R("maxContentLength size of "+rt+" exceeded",R.ERR_BAD_RESPONSE,e,wt);yield Fv}}a(dp,"enforceMaxContentLength"),J=li.default.Readable.from(dp(),{objectMode:!1})}$t.data=J,yn(i,r,$t)}else{let rt=[],As=0;J.on("data",a(function(It){rt.push(It),As+=It.length,H>-1&&As>H&&(hn=!0,J.destroy(),ut(new R("maxContentLength size of "+H+" exceeded",R.ERR_BAD_RESPONSE,e,wt)))},"handleStreamData")),J.on("aborted",a(function(){if(hn)return;let It=new R("stream has been aborted",R.ERR_BAD_RESPONSE,e,wt,$t);J.destroy(It),r(It)},"handlerStreamAborted")),J.on("error",a(function(It){hn||r(R.from(It,null,e,wt,$t))},"handleStreamError")),J.on("end",a(function(){try{let It=rt.length===1?rt[0]:Buffer.concat(rt);S!=="arraybuffer"&&(It=It.toString(x),(!x||x==="utf8")&&(It=m.stripBOM(It))),$t.data=It}catch(It){return r(R.from(It,null,e,$t.request,$t))}yn(i,r,$t)},"handleStreamEnd"))}Mr.once("abort",rt=>{J.destroyed||(J.emit("error",rt),J.destroy())})},"handleResponse")),Mr.once("abort",E=>{ee.close?ee.close():ee.destroy(E)}),ee.on("error",a(function(P){r(R.from(P,null,e,ee))},"handleRequestError"));let Ut=new Set;if(ee.on("socket",a(function(P){typeof P.setKeepAlive=="function"&&P.setKeepAlive(!0,1e3*60),P[hb]||(P.on("error",a(function(Xe){let J=P[Cu];J&&!J.destroyed&&J.destroy(Xe)},"handleSocketError")),P[hb]=!0),P[Cu]=ee,Ut.add(P)},"handleRequestSocket")),ee.once("close",a(function(){Yn();for(let P of Ut)P[Cu]===ee&&(P[Cu]=null);Ut.clear()},"clearCurrentReq")),s("timeout")){let E=parseInt(s("timeout"),10);if(Number.isNaN(E)){ut(new R("error trying to parse `config.timeout` to int",R.ERR_BAD_OPTION_VALUE,e,ee));return}let P=a(function(){Go||ut(Pa())},"handleTimeout");Fs&&E>0&&(Qo=setTimeout(P,E)),ee.setTimeout(E,P)}else ee.setTimeout(0);if(m.isStream(p)){let E=!1,P=!1;p.on("end",()=>{E=!0}),p.once("error",Xe=>{P=!0,ee.destroy(Xe)}),p.on("close",()=>{!E&&!P&&ut(new Zo("Request stream has been aborted",e,ee))});let $=p;if(X>-1&&!si){let Xe=X,J=0;$=li.default.pipeline([p,new li.default.Transform({transform(wt,$t,rt){if(J+=wt.length,J>Xe)return rt(new R("Request body larger than maxBodyLength limit",R.ERR_BAD_REQUEST,e,ee));rt(null,wt)}})],m.noop),$.on("error",wt=>{ee.destroyed||ee.destroy(wt)})}$.pipe(ee)}else p&&ee.write(p),ee.end()},"dispatchHttpRequest"))},"httpAdapter");var Eb=ie.hasStandardBrowserEnv?((t,e)=>o=>(o=new URL(o,ie.origin),t.protocol===o.protocol&&t.host===o.host&&(e||t.port===o.port)))(new URL(ie.origin),ie.navigator&&/(msie|trident)/i.test(ie.navigator.userAgent)):()=>!0;var jb=ie.hasStandardBrowserEnv?{write(t,e,o,i,r,n,s){if(typeof document>"u")return;let c=[`${t}=${encodeURIComponent(e)}`];m.isNumber(o)&&c.push(`expires=${new Date(o).toUTCString()}`),m.isString(i)&&c.push(`path=${i}`),m.isString(r)&&c.push(`domain=${r}`),n===!0&&c.push("secure"),m.isString(s)&&c.push(`SameSite=${s}`),document.cookie=c.join("; ")},read(t){if(typeof document>"u")return null;let e=document.cookie.split(";");for(let o=0;o<e.length;o++){let i=e[o].replace(/^\s+/,""),r=i.indexOf("=");if(r!==-1&&i.slice(0,r)===t)try{return decodeURIComponent(i.slice(r+1))}catch{return i.slice(r+1)}}return null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};var zb=a(t=>t instanceof Re?{...t}:t,"headersToObject"),ZF=a(t=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(t).concat(Object.getOwnPropertySymbols(t).filter(e=>Object.getOwnPropertyDescriptor(t,e).enumerable)):Object.keys(t),"ownEnumerableKeys");function zi(t,e){t=t||{},e=e||{};let o=Object.create(null);Object.defineProperty(o,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function i(l,d,g,y){return m.isPlainObject(l)&&m.isPlainObject(d)?m.merge.call({caseless:y},l,d):m.isPlainObject(d)?m.merge({},d):m.isArray(d)?d.slice():d}a(i,"getMergedValue");function r(l,d,g,y){if(m.isUndefined(d)){if(!m.isUndefined(l))return i(void 0,l,g,y)}else return i(l,d,g,y)}a(r,"mergeDeepProperties");function n(l,d){if(!m.isUndefined(d))return i(void 0,d)}a(n,"valueFromConfig2");function s(l,d){if(m.isUndefined(d)){if(!m.isUndefined(l))return i(void 0,l)}else return i(void 0,d)}a(s,"defaultToConfig2");function c(l){let d=m.hasOwnProp(e,"transitional")?e.transitional:void 0;if(!m.isUndefined(d))if(m.isPlainObject(d)){if(m.hasOwnProp(d,l))return d[l]}else return;let g=m.hasOwnProp(t,"transitional")?t.transitional:void 0;if(m.isPlainObject(g)&&m.hasOwnProp(g,l))return g[l]}a(c,"getMergedTransitionalOption");function p(l,d,g){if(m.hasOwnProp(e,g))return i(l,d);if(m.hasOwnProp(t,g))return i(void 0,l)}a(p,"mergeDirectKeys");let u={url:n,method:n,data:n,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,allowedSocketPaths:s,responseEncoding:s,validateStatus:p,headers:a((l,d,g)=>r(zb(l),zb(d),g,!0),"headers")};return m.forEach(ZF({...t,...e}),a(function(d){if(d==="__proto__"||d==="constructor"||d==="prototype")return;let g=m.hasOwnProp(u,d)?u[d]:r,y=m.hasOwnProp(t,d)?t[d]:void 0,C=m.hasOwnProp(e,d)?e[d]:void 0,w=g(y,C,d);m.isUndefined(w)&&g!==p||(o[d]=w)},"computeConfigValue")),m.hasOwnProp(e,"validateStatus")&&m.isUndefined(e.validateStatus)&&c("validateStatusUndefinedResolves")===!1&&(m.hasOwnProp(t,"validateStatus")?o.validateStatus=i(void 0,t.validateStatus):delete o.validateStatus),o}a(zi,"mergeConfig");var YF=a(t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,o)=>String.fromCharCode(parseInt(o,16))),"encodeUTF8");function XF(t){let e=zi({},t),o=a(g=>m.hasOwnProp(e,g)?e[g]:void 0,"own"),i=o("data"),r=o("withXSRFToken"),n=o("xsrfHeaderName"),s=o("xsrfCookieName"),c=o("headers"),p=o("auth"),u=o("baseURL"),l=o("allowAbsoluteUrls"),d=o("url");if(e.headers=c=Re.from(c),e.url=Va(La(u,d,l,e),o("params"),o("paramsSerializer")),p){let g=m.getSafeProp(p,"username")||"",y=m.getSafeProp(p,"password")||"";try{c.set("Authorization","Basic "+btoa(g+":"+(y?YF(y):"")))}catch(C){throw R.from(C,R.ERR_BAD_OPTION_VALUE,t)}}if(m.isFormData(i)&&(ie.hasStandardBrowserEnv||ie.hasStandardBrowserWebWorkerEnv||m.isReactNative(i)?c.setContentType(void 0):m.isFunction(i.getHeaders)&&_p(c,i.getHeaders(),o("formDataHeaderPolicy"))),ie.hasStandardBrowserEnv&&(m.isFunction(r)&&(r=r(e)),r===!0||r==null&&Eb(e.url))){let y=n&&s&&jb.read(s);y&&c.set(n,y)}return e}a(XF,"resolveConfig");var Nu=XF;var JF=typeof XMLHttpRequest<"u",Tb=JF&&function(t){return new Promise(a(function(o,i){let r=Nu(t),n=r.data,s=Re.from(r.headers).normalize(),{responseType:c,onUploadProgress:p,onDownloadProgress:u}=r,l,d,g,y,C;function w(){y&&y(),C&&C(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener("abort",l)}a(w,"done");let S=new XMLHttpRequest;S.open(r.method.toUpperCase(),r.url,!0),S.timeout=r.timeout;function x(){if(!S)return;let D=Re.from("getAllResponseHeaders"in S&&S.getAllResponseHeaders()),X={data:!c||c==="text"||c==="json"?S.responseText:S.response,status:S.status,statusText:S.statusText,headers:D,config:t,request:S};yn(a(function(yt){o(yt),w()},"_resolve"),a(function(yt){i(yt),w()},"_reject"),X),S=null}a(x,"onloadend"),"onloadend"in S?S.onloadend=x:S.onreadystatechange=a(function(){!S||S.readyState!==4||S.status===0&&!(S.responseURL&&S.responseURL.startsWith("file:"))||setTimeout(x)},"handleLoad"),S.onabort=a(function(){S&&(i(new R("Request aborted",R.ECONNABORTED,t,S)),w(),S=null)},"handleAbort"),S.onerror=a(function(j){let X=j&&j.message?j.message:"Network Error",H=new R(X,R.ERR_NETWORK,t,S);H.event=j||null,i(H),w(),S=null},"handleError"),S.ontimeout=a(function(){let j=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded",X=r.transitional||qr;r.timeoutErrorMessage&&(j=r.timeoutErrorMessage),i(new R(j,X.clarifyTimeoutError?R.ETIMEDOUT:R.ECONNABORTED,t,S)),w(),S=null},"handleTimeout"),n===void 0&&s.setContentType(null),"setRequestHeader"in S&&m.forEach(zs(s),a(function(j,X){S.setRequestHeader(X,j)},"setRequestHeader")),m.isUndefined(r.withCredentials)||(S.withCredentials=!!r.withCredentials),c&&c!=="json"&&(S.responseType=r.responseType),u&&([g,C]=Wn(u,!0),S.addEventListener("progress",g)),p&&S.upload&&([d,y]=Wn(p),S.upload.addEventListener("progress",d),S.upload.addEventListener("loadend",y)),(r.cancelToken||r.signal)&&(l=a(D=>{S&&(i(!D||D.type?new Zo(null,t,S):D),S.abort(),w(),S=null)},"onCanceled"),r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));let F=Lp(r.url);if(F&&!ie.protocols.includes(F)){i(new R("Unsupported protocol "+F+":",R.ERR_BAD_REQUEST,t)),w();return}S.send(n||null)},"dispatchXhrRequest"))};var WF=a((t,e)=>{if(t=t?t.filter(Boolean):[],!e&&!t.length)return;let o=new AbortController,i=!1,r=a(function(p){if(!i){i=!0,s();let u=p instanceof Error?p:this.reason;o.abort(u instanceof R?u:new Zo(u instanceof Error?u.message:u))}},"onabort"),n=e&&setTimeout(()=>{n=null,r(new R(`timeout of ${e}ms exceeded`,R.ETIMEDOUT))},e),s=a(()=>{t&&(n&&clearTimeout(n),n=null,t.forEach(p=>{p.unsubscribe?p.unsubscribe(r):p.removeEventListener("abort",r)}),t=null)},"unsubscribe");t.forEach(p=>{if(!i){if(p.aborted){r.call(p);return}p.addEventListener("abort",r,{once:!0})}});let{signal:c}=o;return c.unsubscribe=()=>m.asap(s),c},"composeSignals"),Bb=WF;var KF=a(function*(t,e){let o=t.byteLength;if(!e||o<e){yield t;return}let i=0,r;for(;i<o;)r=i+e,yield t.slice(i,r),i=r},"streamChunk"),$F=a(async function*(t,e){for await(let o of eA(t))yield*KF(o,e)},"readBytes"),eA=a(async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}let e=t.getReader();try{for(;;){let{done:o,value:i}=await e.read();if(o)break;yield i}}finally{await e.cancel()}},"readStream"),gm=a((t,e,o,i)=>{let r=$F(t,e),n=0,s,c=a(p=>{s||(s=!0,i&&i(p))},"_onFinish");return new ReadableStream({async pull(p){try{let{done:u,value:l}=await r.next();if(u){c(),p.close();return}let d=l.byteLength;if(o){let g=n+=d;o(g)}p.enqueue(new Uint8Array(l))}catch(u){throw c(u),u}},cancel(p){return c(p),r.return()}},{highWaterMark:2})},"trackStream");var Mb=64*1024,{isFunction:Ru}=m,tA=a(t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,o)=>String.fromCharCode(parseInt(o,16))),"encodeUTF8"),Vb=a(t=>{if(!m.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},"decodeURIComponentSafe"),Lb=a((t,...e)=>{try{return!!t(...e)}catch{return!1}},"test"),oA=a(t=>{let e=t.indexOf("://"),o=t;return e!==-1&&(o=o.slice(e+3)),o.includes("@")||o.includes(":")},"maybeWithAuthCredentials"),iA=a(t=>{let e=m.global!==void 0&&m.global!==null?m.global:globalThis,{ReadableStream:o,TextEncoder:i}=e;t=m.merge.call({skipUndefined:!0},{Request:e.Request,Response:e.Response},t);let{fetch:r,Request:n,Response:s}=t,c=r?Ru(r):typeof fetch=="function",p=Ru(n),u=Ru(s);if(!c)return!1;let l=c&&Ru(o),d=c&&(typeof i=="function"?(x=>F=>x.encode(F))(new i):async x=>new Uint8Array(await new n(x).arrayBuffer())),g=p&&l&&Lb(()=>{let x=!1,F=new n(ie.origin,{body:new o,method:"POST",get duplex(){return x=!0,"half"}}),D=F.headers.has("Content-Type");return F.body!=null&&F.body.cancel(),x&&!D}),y=u&&l&&Lb(()=>m.isReadableStream(new s("").body)),C={stream:y&&(x=>x.body)};c&&["text","arrayBuffer","blob","formData","stream"].forEach(x=>{!C[x]&&(C[x]=(F,D)=>{let j=F&&F[x];if(j)return j.call(F);throw new R(`Response type '${x}' is not supported`,R.ERR_NOT_SUPPORT,D)})});let w=a(async x=>{if(x==null)return 0;if(m.isBlob(x))return x.size;if(m.isSpecCompliantForm(x))return(await new n(ie.origin,{method:"POST",body:x}).arrayBuffer()).byteLength;if(m.isArrayBufferView(x)||m.isArrayBuffer(x))return x.byteLength;if(m.isURLSearchParams(x)&&(x=x+""),m.isString(x))return(await d(x)).byteLength},"getBodyLength"),S=a(async(x,F)=>{let D=m.toFiniteNumber(x.getContentLength());return D??w(F)},"resolveBodyLength");return async x=>{let{url:F,method:D,data:j,signal:X,cancelToken:H,timeout:yt,onDownloadProgress:Go,onUploadProgress:hn,responseType:ee,headers:Qo,withCredentials:Is="same-origin",fetchOptions:Mr,maxContentLength:ut,maxBodyLength:Yn}=Nu(x),Pa=m.isNumber(ut)&&ut>-1,Ea=m.isNumber(Yn)&&Yn>-1,Xl=a(oe=>m.hasOwnProp(x,oe)?x[oe]:void 0,"own"),Jl=r||fetch;ee=ee?(ee+"").toLowerCase():"text";let Ee=Bb([X,H&&H.toAbortSignal()],yt),Ye=null,nt=Ee&&Ee.unsubscribe&&(()=>{Ee.unsubscribe()}),vn,Xn=null,ja=a(()=>new R("Request body larger than maxBodyLength limit",R.ERR_BAD_REQUEST,x,Ye),"maxBodyLengthError");try{let oe,qt=Xl("auth");if(qt){let G=m.getSafeProp(qt,"username")||"",Ut=m.getSafeProp(qt,"password")||"";oe={username:G,password:Ut}}if(oA(F)){let G=new URL(F,ie.origin);if(!oe&&(G.username||G.password)){let Ut=Vb(G.username),E=Vb(G.password);oe={username:Ut,password:E}}(G.username||G.password)&&(G.username="",G.password="",F=G.href)}if(oe&&(Qo.delete("authorization"),Qo.set("Authorization","Basic "+btoa(tA((oe.username||"")+":"+(oe.password||""))))),Pa&&typeof F=="string"&&F.startsWith("data:")&&um(F)>ut)throw new R("maxContentLength size of "+ut+" exceeded",R.ERR_BAD_RESPONSE,x,Ye);if(Ea&&D!=="get"&&D!=="head"){let G=await w(j);if(typeof G=="number"&&isFinite(G)&&(vn=G,G>Yn))throw ja()}let Os=Ea&&(m.isReadableStream(j)||m.isStream(j)),gn=a((G,Ut,E)=>gm(G,Mb,P=>{if(Ea&&P>Yn)throw Xn=ja();Ut&&Ut(P)},E),"trackRequestStream");if(g&&D!=="get"&&D!=="head"&&(hn||Os)){if(vn=vn??await S(Qo,j),vn!==0||Os){let G=new n(F,{method:"POST",body:j,duplex:"half"}),Ut;if(m.isFormData(j)&&(Ut=G.headers.get("content-type"))&&Qo.setContentType(Ut),G.body){let[E,P]=hn&&Qs(vn,Wn(Zs(hn)))||[];j=gn(G.body,E,P)}}}else if(Os&&!p&&l&&D!=="get"&&D!=="head")j=gn(j);else if(Os&&p&&!g&&D!=="get"&&D!=="head")throw new R("Stream request bodies are not supported by the current fetch implementation",R.ERR_NOT_SUPPORT,x,Ye);m.isString(Is)||(Is=Is?"include":"omit");let lp=p&&"credentials"in n.prototype;if(m.isFormData(j)){let G=Qo.getContentType();G&&/^multipart\/form-data/i.test(G)&&!/boundary=/i.test(G)&&Qo.delete("content-type")}Qo.set("User-Agent","axios/"+Jn,!1);let up={...Mr,signal:Ee,method:D.toUpperCase(),headers:zs(Qo.normalize()),body:j,duplex:"half",credentials:lp?Is:void 0};Ye=p&&new n(F,up);let ue=await(p?Jl(Ye,Mr):Jl(F,up)),Vr=Re.from(ue.headers);if(Pa){let G=m.toFiniteNumber(Vr.getContentLength());if(G!=null&&G>ut)throw new R("maxContentLength size of "+ut+" exceeded",R.ERR_BAD_RESPONSE,x,Ye)}let Fs=y&&(ee==="stream"||ee==="response");if(y&&ue.body&&(Go||Pa||Fs&&nt)){let G={};["status","statusText","headers"].forEach(J=>{G[J]=ue[J]});let Ut=m.toFiniteNumber(Vr.getContentLength()),[E,P]=Go&&Qs(Ut,Wn(Zs(Go),!0))||[],$=0,Xe=a(J=>{if(Pa&&($=J,$>ut))throw new R("maxContentLength size of "+ut+" exceeded",R.ERR_BAD_RESPONSE,x,Ye);E&&E(J)},"onChunkProgress");ue=new s(gm(ue.body,Mb,Xe,()=>{P&&P(),nt&&nt()}),G)}ee=ee||"text";let si=await C[m.findKey(C,ee)||"text"](ue,x);if(Pa&&!y&&!Fs){let G;if(si!=null&&(typeof si.byteLength=="number"?G=si.byteLength:typeof si.size=="number"?G=si.size:typeof si=="string"&&(G=typeof i=="function"?new i().encode(si).byteLength:si.length)),typeof G=="number"&&G>ut)throw new R("maxContentLength size of "+ut+" exceeded",R.ERR_BAD_RESPONSE,x,Ye)}return!Fs&&nt&&nt(),await new Promise((G,Ut)=>{yn(G,Ut,{data:si,headers:Re.from(ue.headers),status:ue.status,statusText:ue.statusText,config:x,request:Ye})})}catch(oe){if(nt&&nt(),Ee&&Ee.aborted&&Ee.reason instanceof R){let qt=Ee.reason;throw qt.config=x,Ye&&(qt.request=Ye),oe!==qt&&Object.defineProperty(qt,"cause",{__proto__:null,value:oe,writable:!0,enumerable:!1,configurable:!0}),qt}if(Xn)throw Ye&&!Xn.request&&(Xn.request=Ye),Xn;if(oe instanceof R)throw Ye&&!oe.request&&(oe.request=Ye),oe;if(oe&&oe.name==="TypeError"&&/Load failed|fetch/i.test(oe.message)){let qt=new R("Network Error",R.ERR_NETWORK,x,Ye,oe&&oe.response);throw Object.defineProperty(qt,"cause",{__proto__:null,value:oe.cause||oe,writable:!0,enumerable:!1,configurable:!0}),qt}throw R.from(oe,oe&&oe.code,x,Ye,oe&&oe.response)}}},"factory"),nA=new Map,ym=a(t=>{let e=t&&t.env||{},{fetch:o,Request:i,Response:r}=e,n=[i,r,o],s=n.length,c=s,p,u,l=nA;for(;c--;)p=n[c],u=l.get(p),u===void 0&&l.set(p,u=c?new Map:iA(e)),l=u;return u},"getFetch"),u2=ym();var xm={http:Pb,xhr:Tb,fetch:{get:ym}};m.forEach(xm,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{__proto__:null,value:e})}catch{}Object.defineProperty(t,"adapterName",{__proto__:null,value:e})}});var _b=a(t=>`- ${t}`,"renderReason"),aA=a(t=>m.isFunction(t)||t===null||t===!1,"isResolvedHandle");function sA(t,e){t=m.isArray(t)?t:[t];let{length:o}=t,i,r,n={};for(let s=0;s<o;s++){i=t[s];let c;if(r=i,!aA(i)&&(r=xm[(c=String(i)).toLowerCase()],r===void 0))throw new R(`Unknown adapter '${c}'`);if(r&&(m.isFunction(r)||(r=r.get(e))))break;n[c||"#"+s]=r}if(!r){let s=Object.entries(n).map(([p,u])=>`adapter ${p} `+(u===!1?"is not supported by the environment":"is not available in the build")),c=o?s.length>1?`since :
@@ -32,7 +32,7 @@ Minimum version required to store current data is: `+n+`.
32
32
  `);return s===-1?"":r.stack.slice(s+1)})();try{if(!i.stack)i.stack=n;else if(n){let s=n.indexOf(`
33
33
  `),c=s===-1?-1:n.indexOf(`
34
34
  `,s+1),p=c===-1?"":n.slice(c+1);String(i.stack).endsWith(p)||(i.stack+=`
35
- `+n)}}catch{}}throw i}}_request(e,o){typeof e=="string"?(o=o||{},o.url=e):o=e||{},o=zi(this.defaults,o);let{transitional:i,paramsSerializer:r,headers:n}=o;i!==void 0&&kp.assertOptions(i,{silentJSONParsing:eo.transitional(eo.boolean),forcedJSONParsing:eo.transitional(eo.boolean),clarifyTimeoutError:eo.transitional(eo.boolean),legacyInterceptorReqResOrdering:eo.transitional(eo.boolean),advertiseZstdAcceptEncoding:eo.transitional(eo.boolean),validateStatusUndefinedResolves:eo.transitional(eo.boolean)},!1),r!=null&&(m.isFunction(r)?o.paramsSerializer={serialize:r}:kp.assertOptions(r,{encode:eo.function,serialize:eo.function},!0)),o.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?o.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:o.allowAbsoluteUrls=!0),kp.assertOptions(o,{baseUrl:eo.spelling("baseURL"),withXsrfToken:eo.spelling("withXSRFToken")},!0),o.method=(o.method||this.defaults.method||"get").toLowerCase();let s=n&&m.merge(n.common,n[o.method]);n&&m.forEach(["delete","get","head","post","put","patch","query","common"],C=>{delete n[C]}),o.headers=Re.concat(s,n);let c=[],p=!0;this.interceptors.request.forEach(a(function(w){if(typeof w.runWhen=="function"&&w.runWhen(o)===!1)return;p=p&&w.synchronous;let S=o.transitional||qr;S&&S.legacyInterceptorReqResOrdering?c.unshift(w.fulfilled,w.rejected):c.push(w.fulfilled,w.rejected)},"unshiftRequestInterceptors"));let u=[];this.interceptors.response.forEach(a(function(w){u.push(w.fulfilled,w.rejected)},"pushResponseInterceptors"));let l,d=0,g;if(!p){let C=[Up.bind(this),void 0];for(C.unshift(...c),C.push(...u),g=C.length,l=Promise.resolve(o);d<g;)l=l.then(C[d++],C[d++]);return l}g=c.length;let y=o;for(;d<g;){let C=c[d++],w=c[d++];try{y=C?C(y):y}catch(S){if(!w){l=Promise.reject(S);break}try{let x=w.call(this,S);m.isThenable(x)&&(l=Promise.resolve(x).then(()=>Up.call(this,y)))}catch(x){l=Promise.reject(x)}break}}if(!l)try{l=Up.call(this,y)}catch(C){l=Promise.reject(C)}for(d=0,g=u.length;d<g;)l=l.then(u[d++],u[d++]);return l}getUri(e){e=zi(this.defaults,e);let o=La(e.baseURL,e.url,e.allowAbsoluteUrls,e);return Va(o,e.params,e.paramsSerializer)}};m.forEach(["delete","get","head","options"],a(function(e){Ou.prototype[e]=function(o,i){return this.request(zi(i||{},{method:e,url:o,data:i&&m.hasOwnProp(i,"data")?i.data:void 0}))}},"forEachMethodNoData"));m.forEach(["post","put","patch","query"],a(function(e){function o(i){return a(function(n,s,c){return this.request(zi(c||{},{method:e,headers:i?{"Content-Type":"multipart/form-data"}:{},url:n,data:s}))},"httpMethod")}a(o,"generateHTTPMethod"),Ou.prototype[e]=o(),e!=="query"&&(Ou.prototype[e+"Form"]=o(!0))},"forEachMethodWithData"));var Hp=Ou;var pA=class Ub{static{a(this,"CancelToken")}constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let o;this.promise=new Promise(a(function(n){o=n},"promiseExecutor"));let i=this;this.promise.then(r=>{if(!i._listeners)return;let n=i._listeners.length;for(;n-- >0;)i._listeners[n](r);i._listeners=null}),this.promise.then=r=>{let n,s=new Promise(c=>{i.subscribe(c),n=c}).then(r);return s.cancel=a(function(){i.unsubscribe(n)},"reject"),s},e(a(function(n,s,c){i.reason||(i.reason=new Zo(n,s,c),o(i.reason))},"cancel"))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let o=this._listeners.indexOf(e);o!==-1&&this._listeners.splice(o,1)}toAbortSignal(){let e=new AbortController,o=a(i=>{e.abort(i)},"abort");return this.subscribe(o),e.signal.unsubscribe=()=>this.unsubscribe(o),e.signal}static source(){let e;return{token:new Ub(a(function(r){e=r},"executor")),cancel:e}}},kb=pA;function Sm(t){return a(function(o){return t.apply(null,o)},"wrap")}a(Sm,"spread");function Cm(t){return m.isObject(t)&&t.isAxiosError===!0}a(Cm,"isAxiosError");var Nm={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Nm).forEach(([t,e])=>{Nm[e]=t});var Hb=Nm;function Gb(t){let e=new Hp(t),o=xp(Hp.prototype.request,e);return m.extend(o,Hp.prototype,e,{allOwnKeys:!0}),m.extend(o,e,null,{allOwnKeys:!0}),o.create=a(function(r){return Gb(zi(t,r))},"create"),o}a(Gb,"createInstance");var ft=Gb(qs);ft.Axios=Hp;ft.CanceledError=Zo;ft.CancelToken=kb;ft.isCancel=Ap;ft.VERSION=Jn;ft.toFormData=_r;ft.AxiosError=R;ft.Cancel=ft.CanceledError;ft.all=a(function(e){return Promise.all(e)},"all");ft.spread=Sm;ft.isAxiosError=Cm;ft.mergeConfig=zi;ft.AxiosHeaders=Re;ft.formToJSON=t=>hu(m.isHTMLForm(t)?new FormData(t):t);ft.getAdapter=wu.getAdapter;ft.HttpStatusCode=Hb;ft.default=ft;var Fu=ft;var{Axios:yB,AxiosError:xB,CanceledError:bB,isCancel:SB,CancelToken:CB,VERSION:NB,all:RB,Cancel:wB,isAxiosError:IB,spread:OB,toFormData:FB,AxiosHeaders:AB,HttpStatusCode:DB,formToJSON:PB,getAdapter:EB,mergeConfig:jB,create:zB}=Fu;var kr=require("nfets/core"),Xs=require("nfets/core");var Ys=class{static{a(this,"Pipeline")}certificate;xmlns="http://www.portalfiscal.inf.br/nfe";http=Fu.create();toolkit=new kr.Xml2JsToolkit;caching=new kr.MemoryCacheAdapter;certificates=new kr.NativeCertificateRepository(this.http,this.caching);soap=new kr.SoapRemoteTransmissionRepository(this.toolkit,this.certificates);signer=new Xs.EntitySigner(this.toolkit,this.certificates);xmlSigner=new Xs.XmlSigner(this.toolkit,this.certificates);constructor(e){this.certificate=e}errors(){return Reflect.getMetadata(Xs.ValidateErrorsMetadata,this)}};var i0=dt(require("path"),1),Uu=require("nfets/core"),Vi=require("nfets/core"),ku=require("nfets/core");var Du=require("nfets/core"),Qb=require("class-transformer"),Ti=require("class-validator");function Au(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Au,"_ts_decorate");function wm(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(wm,"_ts_metadata");var Hr=class{static{a(this,"ConsultStatusPayload")}tpAmb;cUF;xServ="STATUS"};Au([(0,Ti.IsEnum)(Du.Environment),wm("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Hr.prototype,"tpAmb",void 0);Au([(0,Ti.IsEnum)(Du.StateCodes),wm("design:type",typeof StateCode>"u"?Object:StateCode)],Hr.prototype,"cUF",void 0);Au([(0,Ti.IsOptional)()],Hr.prototype,"xServ",void 0);var Rm=class{static{a(this,"ConsultStatusRequest")}consStatServ};Au([(0,Ti.IsNotEmptyObject)(),(0,Ti.IsObject)(),(0,Ti.ValidateNested)(),(0,Qb.Type)(()=>Hr),wm("design:type",typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload)],Rm.prototype,"consStatServ",void 0);var Zb=require("nfets/core"),Eu=require("nfets/core"),ju=require("class-transformer"),Z=require("class-validator");function xt(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(xt,"_ts_decorate");function Ht(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ht,"_ts_metadata");var Pu=class{static{a(this,"InfInutAttributes")}Id};xt([(0,Z.IsString)(),Ht("design:type",String)],Pu.prototype,"Id",void 0);var Gp=class{static{a(this,"InutNFeAttributes")}xmlns;versao};xt([(0,Z.IsString)(),Ht("design:type",String)],Gp.prototype,"xmlns",void 0);xt([(0,Z.IsString)(),(0,Z.IsOptional)(),Ht("design:type",String)],Gp.prototype,"versao",void 0);var kt=class{static{a(this,"InfInut")}$;tpAmb;xServ="INUTILIZAR";cUF;ano;CNPJ;CPF;mod;serie;nNFIni;nNFFin;xJust};xt([(0,Z.ValidateNested)(),(0,ju.Type)(()=>Pu),Ht("design:type",typeof IInfInutAttributes>"u"?Object:IInfInutAttributes)],kt.prototype,"$",void 0);xt([(0,Z.IsEnum)(Eu.Environment),Ht("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],kt.prototype,"tpAmb",void 0);xt([(0,Z.IsOptional)()],kt.prototype,"xServ",void 0);xt([(0,Z.IsEnum)(Eu.StateCodes),Ht("design:type",typeof StateCode>"u"?Object:StateCode)],kt.prototype,"cUF",void 0);xt([(0,Z.IsString)(),(0,Z.Length)(2,2),(0,Z.Matches)(/^[0-9]{2}$/),Ht("design:type",String)],kt.prototype,"ano",void 0);xt([(0,Z.IsString)(),(0,Z.IsOptional)(),Ht("design:type",String)],kt.prototype,"CNPJ",void 0);xt([(0,Z.IsString)(),(0,Z.IsOptional)(),Ht("design:type",String)],kt.prototype,"CPF",void 0);xt([(0,Z.IsString)(),(0,Z.Length)(2,2),(0,Z.Matches)(/^(55|65)$/),Ht("design:type",String)],kt.prototype,"mod",void 0);xt([(0,Z.IsString)(),(0,Z.Matches)(/^[0-9]{1,3}$/),Ht("design:type",String)],kt.prototype,"serie",void 0);xt([(0,Z.IsString)(),(0,Z.Matches)(/^[0-9]{1,9}$/),Ht("design:type",String)],kt.prototype,"nNFIni",void 0);xt([(0,Z.IsString)(),(0,Z.Matches)(/^[0-9]{1,9}$/),Ht("design:type",String)],kt.prototype,"nNFFin",void 0);xt([(0,Z.IsString)(),(0,Z.MinLength)(15),(0,Z.MaxLength)(255),Ht("design:type",String)],kt.prototype,"xJust",void 0);kt=xt([(0,Zb.Choice)({properties:["CNPJ","CPF"],required:!0})],kt);var Kn=class{static{a(this,"InutilizacaoPayload")}$;infInut;Signature};xt([(0,Z.IsObject)(),(0,Z.ValidateNested)(),(0,ju.Type)(()=>Gp),Ht("design:type",typeof IInutNFeAttributes>"u"?Object:IInutNFeAttributes)],Kn.prototype,"$",void 0);xt([(0,Z.IsObject)(),(0,Z.ValidateNested)(),(0,ju.Type)(()=>kt),Ht("design:type",typeof IInfInut>"u"?Object:IInfInut)],Kn.prototype,"infInut",void 0);xt([(0,Z.Allow)(),Ht("design:type",typeof Signature>"u"?Object:Signature)],Kn.prototype,"Signature",void 0);var Xb=require("nfets/core"),xn=require("class-validator");function Im(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Im,"_ts_decorate");function Yb(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Yb,"_ts_metadata");var Ga=class{static{a(this,"ConsultaProtocoloPayload")}tpAmb;xServ="CONSULTAR";chNFe};Im([(0,xn.IsEnum)(Xb.Environment),Yb("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Ga.prototype,"tpAmb",void 0);Im([(0,xn.IsOptional)()],Ga.prototype,"xServ",void 0);Im([(0,xn.IsString)(),(0,xn.Length)(44,44),(0,xn.Matches)(/^[A-Z0-9]{44}$/),Yb("design:type",String)],Ga.prototype,"chNFe",void 0);var Tu=require("nfets/core"),Xo=require("class-validator");function Qp(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Qp,"_ts_decorate");function zu(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(zu,"_ts_metadata");var Bi=class{static{a(this,"NfeAutorizacaoPayload")}tpAmb;cUF;idLote;indSinc="1";NFe};Qp([(0,Xo.IsEnum)(Tu.Environment),(0,Xo.IsOptional)(),zu("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Bi.prototype,"tpAmb",void 0);Qp([(0,Xo.IsEnum)(Tu.StateCodes),(0,Xo.IsOptional)(),zu("design:type",typeof StateCode>"u"?Object:StateCode)],Bi.prototype,"cUF",void 0);Qp([(0,Xo.IsString)(),(0,Xo.IsOptional)(),zu("design:type",String)],Bi.prototype,"idLote",void 0);Qp([(0,Xo.IsOptional)(),(0,Xo.IsEnum)(["0","1"])],Bi.prototype,"indSinc",void 0);Qp([(0,Xo.IsNotEmpty)(),zu("design:type",typeof T>"u"?Object:T)],Bi.prototype,"NFe",void 0);var Kb=require("nfets/core"),Bu=require("class-validator");function Jb(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Jb,"_ts_decorate");function Wb(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Wb,"_ts_metadata");var Js=class{static{a(this,"RetAutorizacaoPayload")}tpAmb;nRec};Jb([(0,Bu.IsEnum)(Kb.Environment),Wb("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Js.prototype,"tpAmb",void 0);Jb([(0,Bu.IsString)(),Wb("design:type",String)],Js.prototype,"nRec",void 0);var ae=require("class-validator"),Zp=require("class-transformer"),Lu=require("nfets/core");function bt(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(bt,"_ts_decorate");function Et(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Et,"_ts_metadata");var Mu=class{static{a(this,"InfEventoAttributes")}Id};bt([(0,ae.IsString)(),Et("design:type",String)],Mu.prototype,"Id",void 0);var Pt=class{static{a(this,"InfEvento")}$;cOrgao;tpAmb;CNPJ;CPF;chNFe;dhEvento;tpEvento;nSeqEvento;verEvento;detEvento};bt([(0,ae.IsObject)(),(0,ae.ValidateNested)(),(0,Zp.Type)(()=>Mu),Et("design:type",typeof IInfEventoAttributes>"u"?Object:IInfEventoAttributes)],Pt.prototype,"$",void 0);bt([(0,ae.IsString)(),Et("design:type",typeof StateCode>"u"?Object:StateCode)],Pt.prototype,"cOrgao",void 0);bt([(0,ae.IsString)(),Et("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Pt.prototype,"tpAmb",void 0);bt([(0,ae.IsString)(),(0,ae.IsOptional)(),Et("design:type",String)],Pt.prototype,"CNPJ",void 0);bt([(0,ae.IsString)(),(0,ae.IsOptional)(),Et("design:type",String)],Pt.prototype,"CPF",void 0);bt([(0,ae.IsString)(),Et("design:type",String)],Pt.prototype,"chNFe",void 0);bt([(0,Lu.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),Et("design:type",String)],Pt.prototype,"dhEvento",void 0);bt([(0,ae.IsEnum)(jo),Et("design:type",typeof jo>"u"?Object:jo)],Pt.prototype,"tpEvento",void 0);bt([(0,ae.IsNumber)(),Et("design:type",Number)],Pt.prototype,"nSeqEvento",void 0);bt([(0,ae.IsString)(),Et("design:type",String)],Pt.prototype,"verEvento",void 0);bt([(0,ae.IsObject)(),Et("design:type",typeof T>"u"?Object:T)],Pt.prototype,"detEvento",void 0);Pt=bt([(0,Lu.Choice)({properties:["CNPJ","CPF"],required:!0})],Pt);var Vu=class{static{a(this,"EventoItemAttributes")}xmlns};bt([(0,ae.IsString)(),Et("design:type",String)],Vu.prototype,"xmlns",void 0);var bn=class{static{a(this,"EventoItem")}$;infEvento;Signature};bt([(0,ae.IsObject)(),(0,ae.ValidateNested)(),(0,Zp.Type)(()=>Vu),Et("design:type",typeof IEventoItemAttributes>"u"?Object:IEventoItemAttributes)],bn.prototype,"$",void 0);bt([(0,ae.IsObject)(),(0,ae.ValidateNested)(),(0,Zp.Type)(()=>Pt),Et("design:type",typeof Pt>"u"?Object:Pt)],bn.prototype,"infEvento",void 0);bt([(0,ae.Allow)(),Et("design:type",typeof Signature>"u"?Object:Signature)],bn.prototype,"Signature",void 0);var Ws=class{static{a(this,"EventoPayload")}idLote;evento};bt([(0,ae.IsString)(),Et("design:type",String)],Ws.prototype,"idLote",void 0);bt([(0,ae.IsNotEmpty)(),(0,ae.ValidateNested)(),(0,Zp.Type)(()=>bn),Et("design:type",typeof bn>"u"?Object:bn)],Ws.prototype,"evento",void 0);var $b=require("nfets/core"),e0=require("nfets/core"),ui=require("class-validator");function Ks(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Ks,"_ts_decorate");function _u(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(_u,"_ts_metadata");var Mi=class{static{a(this,"ConsultaCadastroPayload")}xServ="CONS-CAD";UF;IE="";CNPJ="";CPF=""};Ks([(0,ui.IsOptional)()],Mi.prototype,"xServ",void 0);Ks([(0,ui.IsString)(),(0,ui.IsIn)(Object.values($b.StateAcronyms)),_u("design:type",typeof StateAcronym>"u"?Object:StateAcronym)],Mi.prototype,"UF",void 0);Ks([(0,ui.IsOptional)(),(0,ui.IsString)(),_u("design:type",String)],Mi.prototype,"IE",void 0);Ks([(0,ui.IsOptional)(),(0,ui.IsString)(),_u("design:type",String)],Mi.prototype,"CNPJ",void 0);Ks([(0,ui.IsOptional)(),(0,ui.IsString)(),_u("design:type",String)],Mi.prototype,"CPF",void 0);Mi=Ks([(0,e0.Choice)({properties:["IE","CNPJ","CPF"],required:!0})],Mi);var se=require("nfets/core"),t0={AM:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.am.gov.br/services2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}}},AN:{[se.Environment.Homolog]:{RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom1.nfe.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeDistribuicaoDFe:{method:"nfeDistDFeInteresse",operation:"NFeDistribuicaoDFe",version:"1.01",url:"https://hom1.nfe.fazenda.gov.br/NFeDistribuicaoDFe/NFeDistribuicaoDFe.asmx"},NfeConsultaDest:{method:"nfeConsultaNFDest",operation:"NfeConsultaDest",version:"1.01",url:"https://hom.nfe.fazenda.gov.br/NFeConsultaDest/NFeConsultaDest.asmx"},NfeDownloadNF:{method:"nfeDownloadNF",operation:"NfeDownloadNF",version:"4.00",url:"https://hom.nfe.fazenda.gov.br/NfeDownloadNF/NfeDownloadNF.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://hom.nfe.fazenda.gov.br/RecepcaoEvento/RecepcaoEvento.asmx"}},[se.Environment.Production]:{RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://www.nfe.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeDistribuicaoDFe:{method:"nfeDistDFeInteresse",operation:"NFeDistribuicaoDFe",version:"1.01",url:"https://www1.nfe.fazenda.gov.br/NFeDistribuicaoDFe/NFeDistribuicaoDFe.asmx"},NfeConsultaDest:{method:"nfeConsultaNFDest",operation:"NfeConsultaDest",version:"1.01",url:"https://www.nfe.fazenda.gov.br/NFeConsultaDest/NFeConsultaDest.asmx"},NfeDownloadNF:{method:"nfeDownloadNF",operation:"NfeDownloadNF",version:"4.00",url:"https://www.nfe.fazenda.gov.br/NfeDownloadNF/NfeDownloadNF.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://www.nfe.fazenda.gov.br/RecepcaoEvento/RecepcaoEvento.asmx"}}},BA:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"NFeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"NFeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"NFeInutilizacao",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"NFeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"ConsultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/CadConsultaCadastro4/CadConsultaCadastro4.asmx"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"NFeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"NFeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"NFeInutilizacao",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"NFeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"ConsultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.ba.gov.br/webservices/CadConsultaCadastro4/CadConsultaCadastro4.asmx"}}},GO:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/CadConsultaCadastro4"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/CadConsultaCadastro4"}}},MG:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/CadConsultaCadastro4"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/CadConsultaCadastro4"}}},MS:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/CadConsultaCadastro4"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.ms.gov.br/ws/CadConsultaCadastro4"}}},MT:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/CadConsultaCadastro4"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/CadConsultaCadastro4"}}},PE:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/CadConsultaCadastro4"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/CadConsultaCadastro4"}}},PR:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/CadConsultaCadastro4"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefa.pr.gov.br/nfe/CadConsultaCadastro4"}}},RS:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}},SP:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfestatusservico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfeautorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfeconsultaprotocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nferetautorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nferecepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/cadconsultacadastro4.asmx"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfestatusservico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfeautorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfeconsultaprotocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nferetautorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.fazenda.sp.gov.br/ws/nferecepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.fazenda.sp.gov.br/ws/cadconsultacadastro4.asmx"}}},SVAN:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}}},SVRS:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}},SVCAN:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}}},SVCRS:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}}};var ge=require("nfets/core"),lA={[ge.StateCodes.AC]:"SVRS",[ge.StateCodes.AL]:"SVRS",[ge.StateCodes.AM]:"AM",[ge.StateCodes.AP]:"SVRS",[ge.StateCodes.BA]:"BA",[ge.StateCodes.CE]:"SVRS",[ge.StateCodes.DF]:"SVRS",[ge.StateCodes.ES]:"SVRS",[ge.StateCodes.GO]:"GO",[ge.StateCodes.MA]:"SVAN",[ge.StateCodes.MG]:"MG",[ge.StateCodes.MS]:"MS",[ge.StateCodes.MT]:"MT",[ge.StateCodes.PA]:"SVRS",[ge.StateCodes.PB]:"SVRS",[ge.StateCodes.PE]:"PE",[ge.StateCodes.PI]:"SVRS",[ge.StateCodes.PR]:"PR",[ge.StateCodes.RJ]:"SVRS",[ge.StateCodes.RN]:"SVRS",[ge.StateCodes.RO]:"SVRS",[ge.StateCodes.RR]:"SVRS",[ge.StateCodes.RS]:"RS",[ge.StateCodes.SC]:"SVRS",[ge.StateCodes.SE]:"SVRS",[ge.StateCodes.SP]:"SP",[ge.StateCodes.TO]:"SVRS",AN:"AN",SVAN:"SVAN",SVRS:"SVRS",SVCAN:"SVCAN",SVCRS:"SVCRS"},o0=lA;var ye=require("nfets/core"),qu={[ye.StateCodes.AC]:"SVCAN",[ye.StateCodes.AL]:"SVCAN",[ye.StateCodes.AM]:"SVCRS",[ye.StateCodes.AP]:"SVCAN",[ye.StateCodes.BA]:"SVCRS",[ye.StateCodes.CE]:"SVCAN",[ye.StateCodes.DF]:"SVCAN",[ye.StateCodes.ES]:"SVCAN",[ye.StateCodes.GO]:"SVCRS",[ye.StateCodes.MA]:"SVCRS",[ye.StateCodes.MG]:"SVCAN",[ye.StateCodes.MS]:"SVCRS",[ye.StateCodes.MT]:"SVCRS",[ye.StateCodes.PA]:"SVCAN",[ye.StateCodes.PB]:"SVCAN",[ye.StateCodes.PE]:"SVCRS",[ye.StateCodes.PI]:"SVCAN",[ye.StateCodes.PR]:"SVCRS",[ye.StateCodes.RJ]:"SVCAN",[ye.StateCodes.RN]:"SVCAN",[ye.StateCodes.RO]:"SVCAN",[ye.StateCodes.RR]:"SVCAN",[ye.StateCodes.RS]:"SVCAN",[ye.StateCodes.SC]:"SVCAN",[ye.StateCodes.SE]:"SVCAN",[ye.StateCodes.SP]:"SVCAN",[ye.StateCodes.TO]:"SVCAN"};function Qa(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Qa,"_ts_decorate");function at(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(at,"_ts_metadata");var Vo=class{static{a(this,"NfeRemoteTransmitter")}remoteTransmissionRepository;constructor(e){this.remoteTransmissionRepository=e}xmlns="http://www.portalfiscal.inf.br/nfe";options={timeout:6e4};configure(e){this.options={...this.options,...e};let{certificate:o}=this.options;return o&&this.remoteTransmissionRepository.setCertificate(o),this.options.schema??=Ev.PL_009_V4,this}service(e){let o=e.cUF??this.options.cUF,i=e.tpAmb??this.options.tpAmb,r=this.options.contingency?qu[o]:o0[o];return t0[r][i][e.service]}errors(){return Reflect.getMetadata(Vi.ValidateErrorsMetadata,this)}validate(e){try{let o=this.errors();return o?(0,ku.left)(new Uu.NFeTsError(o.join(", "))):("cUF"in e&&(e.cUF??=this.options.cUF),"tpAmb"in e&&(e.tpAmb??=this.options.tpAmb),(0,ku.right)(e))}finally{Reflect.deleteMetadata(Vi.ValidateErrorsMetadata,this)}}ns(e,o){let i=e.$??{};return i.xmlns=this.xmlns,i.versao=o,{...e,$:i}}xsd(e){return i0.default.resolve(hp(),this.options.schema,e)}async consultStatus(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({...i,service:"NfeStatusServico"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,xsd:this.xsd("consStatServ_v4.00.xsd"),payload:{consStatServ:this.ns(i,r.version)},method:r.method})}async inutilizacao(e){let o=this.validate(e);if(o.isLeft())return o;let{cUF:i,tpAmb:r}=o.value.infInut,n=o.value,s=this.service({cUF:i,tpAmb:r,service:"NfeInutilizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:s.url,xsd:this.xsd("inutNFe_v4.00.xsd"),payload:{inutNFe:this.ns(n,s.version)},method:s.method})}async consultaProtocolo(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({cUF:i.chNFe.substring(0,2),tpAmb:i.tpAmb,service:"NfeConsultaProtocolo"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,xsd:this.xsd("consSitNFe_v4.00.xsd"),payload:{consSitNFe:this.ns(i,r.version)},method:r.method})}async autorizacao(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({...i,service:"NfeAutorizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,timeout:this.options.timeout,xsd:this.xsd("enviNFe_v4.00.xsd"),payload:{enviNFe:this.ns(i,r.version)},method:r.method})}async retAutorizacao(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({...i,service:"NfeRetAutorizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,xsd:this.xsd("consReciNFe_v4.00.xsd"),payload:{consReciNFe:this.ns(i,r.version)},method:r.method})}async recepcaoEvento(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({service:"RecepcaoEvento"});return i.evento=this.ns(i.evento,r.version),this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,xsd:this.xsd("envEvento_v1.00.xsd"),payload:{envEvento:this.ns(i,r.version)},method:r.method})}async consultaCadastro(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({cUF:Uu.StateCodes[i.UF],service:"NfeConsultaCadastro"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,xsd:this.xsd("ConsCad_v4.00.xsd"),payload:{ConsCad:this.ns(i,r.version)},method:r.method})}};Qa([(0,Vi.Validates)(Hr),at("design:type",Function),at("design:paramtypes",[typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload]),at("design:returntype",Promise)],Vo.prototype,"consultStatus",null);Qa([(0,Vi.Validates)(Kn),at("design:type",Function),at("design:paramtypes",[typeof IInutilizacaoPayload>"u"?Object:IInutilizacaoPayload]),at("design:returntype",Promise)],Vo.prototype,"inutilizacao",null);Qa([(0,Vi.Validates)(Ga),at("design:type",Function),at("design:paramtypes",[typeof IConsultaProtocoloPayload>"u"?Object:IConsultaProtocoloPayload]),at("design:returntype",Promise)],Vo.prototype,"consultaProtocolo",null);Qa([(0,Vi.Validates)(Bi),at("design:type",Function),at("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),at("design:returntype",Promise)],Vo.prototype,"autorizacao",null);Qa([(0,Vi.Validates)(Js),at("design:type",Function),at("design:paramtypes",[typeof IRetAutorizacaoPayload>"u"?Object:IRetAutorizacaoPayload]),at("design:returntype",Promise)],Vo.prototype,"retAutorizacao",null);Qa([(0,Vi.Validates)(Ws),at("design:type",Function),at("design:paramtypes",[Object]),at("design:returntype",Promise)],Vo.prototype,"recepcaoEvento",null);Qa([(0,Vi.Validates)(Mi),at("design:type",Function),at("design:paramtypes",[typeof IConsultaCadastroPayload>"u"?Object:IConsultaCadastroPayload]),at("design:returntype",Promise)],Vo.prototype,"consultaCadastro",null);var Lo=class extends Ys{static{a(this,"TransmissionPipeline")}certificate;transmitter=new Vo(this.soap);constructor(e){super(e),this.certificate=e}issuerFromIdentification(e){let o=e.toUpperCase().replace(/[^A-Z0-9]/g,"");if(!o)return(0,$n.left)(new $n.NFeTsError("CNPJ/CPF do emitente \xE9 obrigat\xF3rio"));if(o.length===11)return(0,$n.right)({CPF:o,idDigits:o.padStart(14,"0")});let i=o.padStart(14,"0");return i.length!==14?(0,$n.left)(new $n.NFeTsError("CNPJ/CPF do emitente \xE9 inv\xE1lido")):(0,$n.right)({CNPJ:i,idDigits:i})}};var n0=require("nfets/core"),r0=require("nfets/core");var uA=["MT"],dA=[n0.StateCodes.MT],fA=[[/[áàâãªä]/g,"a"],[/[ÁÀÂÃÄ]/g,"A"],[/[ÍÌÎÏ]/g,"I"],[/[íìîï]/g,"i"],[/[éèêë]/g,"e"],[/[ÉÈÊË]/g,"E"],[/[óòôõºö]/g,"o"],[/[ÓÒÔÕÖ]/g,"O"],[/[úùûü]/g,"u"],[/[ÚÙÛÜ]/g,"U"],[/ç/g,"c"],[/Ç/g,"C"],[/ñ/g,"n"],[/Ñ/g,"N"]];function mA(t){if(!t)return!1;let e=t.toUpperCase();return uA.includes(e)||dA.includes(e)}a(mA,"shouldStripSefazAccents");function hA(t){return fA.reduce((e,[o,i])=>e.replace(o,i),t)}a(hA,"replaceSefazSpecialChars");function $s(t,e){return mA(e)?Om(t):t}a($s,"sanitizeSefazText");function vA(t){return t===null||typeof t!="object"||t instanceof Date||t instanceof r0.Decimal?!1:!ArrayBuffer.isView(t)}a(vA,"isWalkableObject");function Om(t){if(typeof t=="string")return hA(t);if(Array.isArray(t))return t.map(i=>Om(i));if(!vA(t))return t;let e={};for(let[o,i]of Object.entries(t))e[o]=Om(i);return e}a(Om,"walk");function gA(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(gA,"_ts_decorate");function Fm(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Fm,"_ts_metadata");var Yp=class extends Lo{static{a(this,"EventPipeline")}async event(e,o,i){let r=await this.certificates.read(this.certificate);if(r.isLeft())return r;let n=o.chNFe.slice(0,2);this.transmitter.configure({cUF:n,...i,certificate:r.value});let s=Kl[e],c=this.issuerFromIdentification(o.identification);if(c.isLeft())return c;let{nSeqEvento:p,dhEvento:u,chNFe:l}=o,d=["ID",e,l,p.toString().padStart(2,"0")].join(""),g=$s({$:{xmlns:this.xmlns},infEvento:{$:{Id:d},cOrgao:n,tpAmb:i.tpAmb,CNPJ:c.value.CNPJ,CPF:c.value.CPF,chNFe:l,dhEvento:u,tpEvento:e,nSeqEvento:p,verEvento:s.version,detEvento:{$:{versao:s.version},descEvento:s.descEvento,...o.detEvento}}},n),y=this.validated(g);return y.isLeft()?y:await this.signer.sign(y.value,{tag:"infEvento",mark:"Id"},r.value)}versionedEvent(e,o){let i=e.$;return{...e,$:{...i,xmlns:this.xmlns,versao:o}}}async protocol(e,o,i){let{cStat:r}=o.infEvento;if(!Object.values(Gd).includes(r))return await this.toolkit.build(e,{renderOpts:{pretty:!1},rootName:"evento"});let n={evento:e,retEvento:o,$:{xmlns:this.xmlns,versao:i}};return await this.toolkit.build(n,{renderOpts:{pretty:!1},rootName:"procEventoNFe"})}validated(e){let o=this.errors();return o?(0,Gr.left)(new Gr.NFeTsError(o.join(", "))):(0,Gr.right)(e)}};gA([(0,Gr.Validates)(bn),Fm("design:type",Function),Fm("design:paramtypes",[typeof IEventoItem>"u"?Object:IEventoItem]),Fm("design:returntype",void 0)],Yp.prototype,"validated",null);var ec=require("nfets/core");var Xp=class extends Yp{static{a(this,"NfeCancelPipeline")}async execute(e,o){let i={chNFe:e.chNFe,dhEvento:e.dhEvento??new Date().toISOString(),detEvento:{nProt:e.nProt,xJust:e.xJust},nSeqEvento:1,identification:e.identification},r=await this.event(jo.Cancelamento,i,o);if(r.isLeft())return r;let n=r.value,s=Kl[jo.Cancelamento].version,c=await this.transmitter.recepcaoEvento({idLote:e.idLote??new Date().getTime().toString().slice(0,15),evento:n});if(c.isLeft())return c;let p=c.value,u=p.retEnvEvento.retEvento;if(!u)return(0,ec.left)(new ec.NFeTsError("Evento de cancelamento n\xE3o retornado"));let l=await this.protocol(this.versionedEvent(n,s),u,s);return(0,ec.right)({xml:l,response:p})}};var Za=(function(t){return t.Asynchronous="0",t.Synchronous="1",t})({});var Am=(function(t){return t.LotReceived="103",t.ProcessedBatch="104",t})({});var a0=require("nfets/core");var Jp=class extends a0.NFeTsError{static{a(this,"CouldNotReceiveResponseError")}constructor(e="Falha ao consultar protocolo de autoriza\xE7\xE3o ap\xF3s 3 tentativas, tente novamente mais tarde."){super(e)}};var Jo=require("nfets/core");var s0=(function(t){return t.Autorizada="100",t.AutorizadaForaDoPrazo="150",t.UsoDenegado="110",t.NfeDenegada="205",t.DenegadaIrregularidadeEmissor="301",t.DenegadaIrregularidadeDestinatario="302",t.DenegadaNaoHabilitadaNaUf="303",t})({});var Wp=class extends Lo{static{a(this,"NfeAuthorizerPipeline")}async execute(e,o){e.indSinc??=Za.Synchronous;let i=await this.certificates.read(this.certificate);if(i.isLeft())return i;let r=await this.handleNfeBatch(i.value,e.xml);if(r.isLeft())return r;let[n]=r.value;this.transmitter.configure({cUF:n.infNFe.ide.cUF,tpAmb:n.infNFe.ide.tpAmb,...o,contingency:this.contingency(n),certificate:i.value}),e.idLote??=new Date().getTime().toString().slice(0,15);let s=await this.transmitter.autorizacao({...e,NFe:r.value});if(s.isLeft())return s;let c=s.value;return this.isLotNotProcessed(c,e)?(0,Jo.right)(await this.handleLotNotProcessed(r.value,c)):e.indSinc===Za.Synchronous&&this.isSyncResponse(c)?(0,Jo.right)(await this.response(r.value,c)):e.indSinc===Za.Asynchronous&&this.hasReceipt(c)?await this.handleAsyncResponse(r.value,c):(0,Jo.left)(new Jp)}async protocol(e,o){let{cStat:i}=o.infProt;if(!Object.values(s0).includes(i))return await this.toolkit.build(e,{renderOpts:{pretty:!1},rootName:"NFe"});let r={NFe:e,protNFe:o,$:{xmlns:this.xmlns,versao:o.$.versao}};return await this.toolkit.build(r,{renderOpts:{pretty:!1},rootName:"nfeProc"})}async response(e,o){let i=Array.isArray(o.retEnviNFe.protNFe)?o.retEnviNFe.protNFe:[o.retEnviNFe.protNFe],r=await Promise.all(e.map((n,s)=>this.protocol(n,i[s])));return r.length>1?{xml:r,response:o}:{xml:r[0],response:o}}async signNfe(e,o){return this.signer.sign(o,{tag:"infNFe",mark:"Id"},e)}async handleNfeBatch(e,o){if(!Array.isArray(o)){let r=await this.toolkit.parse(o),n=await this.signNfe(e,r);return n.isLeft()?(0,Jo.left)(n.value):(0,Jo.right)([n.value])}let i=await Promise.all(o.map(async r=>this.signNfe(e,await this.toolkit.parse(r))));return i.some(r=>r.isLeft())?(0,Jo.left)(new Jo.NFeTsError("Failed to sign a NFe in batch")):(0,Jo.right)(i.filter(r=>r.isRight()).map(r=>r.value))}isLotNotProcessed(e,o){let{cStat:i}=e.retEnviNFe,r=o.indSinc??Za.Synchronous;return r===Za.Asynchronous&&i!==Am.LotReceived.toString()||r===Za.Synchronous&&i!==Am.ProcessedBatch.toString()}async handleLotNotProcessed(e,o){return this.response(e,this.toRejectionSyncResponse(e,o))}toRejectionSyncResponse(e,o){let{retEnviNFe:i}=o,r=e.map(n=>this.buildRejectionProtNFe(n,i));return{retEnviNFe:{...i,protNFe:r.length===1?r[0]:r}}}buildRejectionProtNFe(e,o){return{$:{versao:o.$.versao},infProt:{tpAmb:o.tpAmb,verAplic:o.verAplic,chNFe:e.infNFe.$.Id?.substring(3)??"",dhRecbto:o.dhRecbto,nProt:"",digVal:"",cStat:o.cStat,xMotivo:o.xMotivo}}}isSyncResponse(e){return"protNFe"in e.retEnviNFe&&!!e.retEnviNFe.protNFe}hasReceipt(e){return"infRec"in e.retEnviNFe&&!!e.retEnviNFe.infRec.nRec}async handleAsyncResponse(e,o){let{tpAmb:i,infRec:r}=o.retEnviNFe,{nRec:n}=r;for(let s=1;s<=3;s++){await new Promise(u=>setTimeout(u,1e3));let c=await this.transmitter.retAutorizacao({nRec:n,tpAmb:i});if(c.isLeft())continue;let p=c.value.retConsReciNFe.protNFe;if(!(!p||Array.isArray(p)&&p.length===0))return(0,Jo.right)(await this.response(e,{retEnviNFe:{...c.value.retConsReciNFe,protNFe:p}}))}return(0,Jo.left)(new Jp)}contingency(e){let{dhCont:o,xJust:i,tpEmis:r}=e.infNFe.ide;if(!(!o||!i||r===Ot.Normal))return{dhCont:o,xJust:i}}};var Li=require("nfets/core");function yA(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(yA,"_ts_decorate");function Dm(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Dm,"_ts_metadata");var tc=class extends Lo{static{a(this,"NfeVoidRangePipeline")}async execute(e,o){let i=await this.certificates.read(this.certificate);if(i.isLeft())return i;let r=this.issuerFromIdentification(e.identification);if(r.isLeft())return r;this.transmitter.configure({...o,certificate:i.value});let n=e.ano??new Date().getFullYear().toString().slice(2),s=["ID",o.cUF,n,r.value.idDigits,e.mod,e.serie.padStart(3,"0"),e.nNFIni.padStart(9,"0"),e.nNFFin.padStart(9,"0")].join(""),c=$s({$:{xmlns:this.xmlns},infInut:{$:{Id:s},tpAmb:e.tpAmb??o.tpAmb,cUF:o.cUF,ano:n,CNPJ:r.value.CNPJ,CPF:r.value.CPF,mod:e.mod,serie:e.serie,nNFIni:e.nNFIni,nNFFin:e.nNFFin,xJust:e.xJust}},o.cUF),p=this.validated(c);if(p.isLeft())return p;let u=await this.signer.sign(p.value,{tag:"infInut",mark:"Id"},i.value);if(u.isLeft())return u;let l=await this.transmitter.inutilizacao(u.value);if(l.isLeft())return l;let d=l.value,g=d.retInutNFe;if(!g)return(0,Li.left)(new Li.NFeTsError("Retorno de inutiliza\xE7\xE3o n\xE3o retornado"));let y=g.$.versao,C=await this.protocol(this.versionedInutNFe(u.value,y),g,y);return(0,Li.right)({xml:C,response:d})}versionedInutNFe(e,o){let i=e.$;return{...e,$:{...i,xmlns:this.xmlns,versao:o}}}async protocol(e,o,i){let{cStat:r}=o.infInut;if(!Object.values(Zd).includes(r))return await this.toolkit.build(e,{renderOpts:{pretty:!1},rootName:"inutNFe"});let n={inutNFe:e,retInutNFe:o,$:{xmlns:this.xmlns,versao:i}};return await this.toolkit.build(n,{renderOpts:{pretty:!1},rootName:"procInutNFe"})}validated(e){let o=this.errors();return o?(0,Li.left)(new Li.NFeTsError(o.join(", "))):(0,Li.right)(e)}};yA([(0,Li.Validates)(Kn),Dm("design:type",Function),Dm("design:paramtypes",[typeof IIInutilizacaoPayload>"u"?Object:IIInutilizacaoPayload]),Dm("design:returntype",void 0)],tc.prototype,"validated",null);var Kp=class extends Lo{static{a(this,"NfeConsultStatusPipeline")}async execute(e){let o=await this.certificates.read(this.certificate);return o.isLeft()?o:(this.transmitter.configure({...e,certificate:o.value}),await this.transmitter.consultStatus(e))}};var $p=class extends Lo{static{a(this,"NfeConsultProtocoloPipeline")}async execute(e){let o=await this.certificates.read(this.certificate);return o.isLeft()?o:(this.transmitter.configure({tpAmb:e.tpAmb,cUF:e.chNFe.substring(0,2),certificate:o.value}),await this.transmitter.consultaProtocolo(e))}};var Pm=class extends Lo{static{a(this,"NfeAuthorizationResponsePipeline")}async execute(e){let o=await this.certificates.read(this.certificate);return o.isLeft()?o:(this.transmitter.configure({cUF:e.cUF,tpAmb:e.tpAmb,certificate:o.value}),this.transmitter.retAutorizacao(e))}};var c0=dt(require("crypto"),1),er=require("nfets/core");var Gt=class{static{a(this,"NfceQrcode")}certificateRepository;constructor(e){this.certificateRepository=e}async execute(e,o){let i=await this.content(e,o);return i.isLeft()?i:(0,er.right)(this.assemble(i.value,o))}async content(e,o){return this.isVersion200(o)?await this.execute200(e,o):this.isVersion300(o)?await this.execute300(e,o):(0,er.unreachable)(o)}isVersion200(e){return e.version==="200"}isVersion300(e){return e.version==="300"}assemble(e,o){return{qrCode:e,urlChave:o.urlConsult}}getSequence(e,o){let{version:i,CSCId:r}=o,n=e.infNFe.ide.tpAmb,s=Number.parseInt(r),c=e.infNFe.$.Id?.substring(3),p=Number.parseInt(i??"")/100;if(e.infNFe.ide.tpEmis!==Ot.OFFLINE)return`${c}|${p}|${n}|${s}`;let l=e.Signature.SignedInfo.Reference.DigestValue.split("").map(y=>y.charCodeAt(0).toString(16).padStart(2,"0")).join(""),d=this.emissionDayOfMonthFormatted(e.infNFe.ide.dhEmi),g=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2);return`${c}|${p}|${n}|${d}|${g}|${l}|${s}`}async execute200(e,o){let{urlService:i,CSC:r}=o,n=this.getSequence(e,o),s=c0.default.createHash("sha1").update(`${n}${r}`).digest("hex").toUpperCase(),c=`${i}?p=`;return Promise.resolve((0,er.right)(`${c}${n}|${s}`))}getQrcodeV300OfflineIdentification(e){if(!e)return{tipo:"",documento:""};let{CPF:o,CNPJ:i,idEstrangeiro:r}=e,n=o?o.replace(/\D/g,""):i?i.replace(/[^A-Z0-9]/g,""):r?.replace(/\D/g,"");return n?n.length===11?{tipo:"2",documento:n}:n.length===14?{tipo:"1",documento:n}:r&&n.length>=3&&n.length<=14?{tipo:"3",documento:n}:{tipo:"",documento:""}:{tipo:"",documento:""}}emissionDayOfMonthFormatted(e){return String(new Date(e).getDate()).padStart(2,"0")}async execute300(e,o){let{urlService:i}=o,r=`${i}?p=`,n=e.infNFe.ide.tpAmb,s=e.infNFe.$.Id?.substring(3),c=Number.parseInt(o.version)/100;if(e.infNFe.ide.tpEmis!==Ot.OFFLINE)return(0,er.right)(`${r}${s}|${c}|${n}`);let p=this.emissionDayOfMonthFormatted(e.infNFe.ide.dhEmi),u=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2),{tipo:l,documento:d}=this.getQrcodeV300OfflineIdentification(e.infNFe.dest),g=`${s}|${c}|${n}|${p}|${u}|${l}|${d}`,y=await this.certificateRepository.sign(g,o.certificate,er.SignatureAlgorithm.SHA1);return y.isLeft()?y:(0,er.right)(`${r}${g}|${y.value}`)}};var zm=require("nfets/core");var B=require("nfets/core"),Em={AC:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hml.sefaznet.ac.gov.br/nfce/qrcode"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaznet.ac.gov.br/nfce/qrcode"}}},AL:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}}},AM:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://sistemas.sefaz.am.gov.br/nfceweb-hom/consultarNFCe.jsp"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/CscNFCe"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://sistemas.sefaz.am.gov.br/nfceweb/consultarNFCe.jsp"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/CscNFCe"}}},AP:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.sefaz.ap.gov.br/nfcehml/nfce.php"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.ap.gov.br/nfce/nfcep.php"}}},BA:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hnfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}}},CE:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfceh.sefaz.ce.gov.br/pages/ShowNFCe.html"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.ce.gov.br/pages/ShowNFCe.html"}}},DF:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://dec.fazenda.df.gov.br/ConsultarNFCe.aspx"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.fazenda.df.gov.br/nfce/qrcode"}}},ES:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://app.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}}},GO:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/v2/CscNFCe"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://nfewebhomolog.sefaz.go.gov.br/nfeweb/sites/nfce/danfeNFCe"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/v2/CscNFCe"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://nfeweb.sefaz.go.gov.br/nfeweb/sites/nfce/danfeNFCe"}}},MA:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}}},MG:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://portalsped.fazenda.mg.gov.br/portalnfce/sistema/qrcode.xhtml"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://portalsped.fazenda.mg.gov.br/portalnfce/sistema/qrcode.xhtml"}}},MT:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.mt.gov.br/nfce/consultanfce"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.mt.gov.br/nfce/consultanfce"}}},MS:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.dfe.ms.gov.br/nfce/qrcode"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.dfe.ms.gov.br/nfce/qrcode"}}},PA:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://appnfc.sefa.pa.gov.br/portal-homologacao/view/consultas/nfce/nfceForm.seam"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://appnfc.sefa.pa.gov.br/portal/view/consultas/nfce/nfceForm.seam"}}},PB:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pb.gov.br/nfcehom"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pb.gov.br/nfce"}}},PE:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfcehomolog.sefaz.pe.gov.br/nfce/consulta"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.pe.gov.br/nfce/consulta"}}},PI:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}}},PR:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.fazenda.pr.gov.br/nfce/qrcode"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.fazenda.pr.gov.br/nfce/qrcode"}}},RJ:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www4.fazenda.rj.gov.br/consultaNFCe/QRCode"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://consultadfe.fazenda.rj.gov.br/consultaNFCe/QRCode"}}},RN:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hom.nfce.set.rn.gov.br/consultarNFCe.aspx"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.set.rn.gov.br/consultarNFCe.aspx"}}},RO:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}}},RR:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://200.174.88.103:8080/nfce/servlet/qrcode"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.rr.gov.br/servlet/qrcode"}}},RS:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx"}}},SC:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://hom.sat.sef.sc.gov.br/nfce/consulta"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://sat.sef.sc.gov.br/nfce/consulta"}}},SE:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfe.se.gov.br/nfce/qrcode"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.se.gov.br/nfce/qrcode"}}},SP:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeInutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeConsultaProtocolo4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeRecepcaoEvento4.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://homologacao.nfce.epec.fazenda.sp.gov.br/EPECws/RecepcaoEPEC.asmx"},EPECStatusServico:{method:"nfeStatusServicoNF2",operation:"NfeStatusServico2",version:"4.00",url:"https://homologacao.nfce.epec.fazenda.sp.gov.br/EPECws/EPECStatusServico.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.homologacao.nfce.fazenda.sp.gov.br/qrcode"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeInutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeConsultaProtocolo4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeRecepcaoEvento4.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"1.00",url:"https://nfce.epec.fazenda.sp.gov.br/EPECws/RecepcaoEPEC.asmx"},EPECStatusServico:{method:"nfeStatusServicoNF2",operation:"NfeStatusServico2",version:"4.00",url:"https://nfce.epec.fazenda.sp.gov.br/EPECws/EPECStatusServico.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.nfce.fazenda.sp.gov.br/qrcode"}}},TO:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.to.gov.br/nfce/qrcode"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.to.gov.br/nfce/qrcode"}}},SVRS:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"}}},SVAN:{[B.Environment.Homolog]:{},[B.Environment.Production]:{}}};var V=require("nfets/core"),p0={[V.Environment.Homolog]:{[V.StateCodes.AC]:"www.sefaznet.ac.gov.br/nfce/consulta",[V.StateCodes.AL]:"www.sefaz.al.gov.br/nfce/consulta",[V.StateCodes.AP]:"www.sefaz.ap.gov.br/nfce/consulta",[V.StateCodes.AM]:"www.sefaz.am.gov.br/nfce/consulta",[V.StateCodes.BA]:"http://hinternet.sefaz.ba.gov.br/nfce/consulta",[V.StateCodes.CE]:"www.sefaz.ce.gov.br/nfce/consulta",[V.StateCodes.DF]:"www.fazenda.df.gov.br/nfce/consulta",[V.StateCodes.ES]:"www.sefaz.es.gov.br/nfce/consulta",[V.StateCodes.GO]:"www.nfce.go.gov.br/post/ver/214413/consulta-nfc-e-homologacao",[V.StateCodes.MA]:"www.sefaz.ma.gov.br/nfce/consulta",[V.StateCodes.MG]:"https://hportalsped.fazenda.mg.gov.br/portalnfce",[V.StateCodes.MS]:"http://www.dfe.ms.gov.br/nfce/consulta",[V.StateCodes.MT]:"http://homologacao.sefaz.mt.gov.br/nfce/consultanfce",[V.StateCodes.PA]:"www.sefa.pa.gov.br/nfce/consulta",[V.StateCodes.PB]:"www.sefaz.pb.gov.br/nfcehom",[V.StateCodes.PE]:"nfce.sefaz.pe.gov.br/nfce/consulta",[V.StateCodes.PR]:"http://www.fazenda.pr.gov.br/nfce/consulta",[V.StateCodes.PI]:"www.sefaz.pi.gov.br/nfce/consulta",[V.StateCodes.RJ]:"www.fazenda.rj.gov.br/nfce/consulta",[V.StateCodes.RN]:"www.set.rn.gov.br/nfce/consulta",[V.StateCodes.RO]:"www.sefin.ro.gov.br/nfce/consulta",[V.StateCodes.RR]:"www.sefaz.rr.gov.br/nfce/consulta",[V.StateCodes.RS]:"www.sefaz.rs.gov.br/nfce/consulta",[V.StateCodes.SE]:"http://www.hom.nfe.se.gov.br/nfce/consulta",[V.StateCodes.SC]:"https://hom.sat.sef.sc.gov.br/nfce/consulta",[V.StateCodes.SP]:"https://www.homologacao.nfce.fazenda.sp.gov.br/NFCeConsultaPublica",[V.StateCodes.TO]:"http://homologacao.sefaz.to.gov.br/nfce/consulta.jsf"},[V.Environment.Production]:{[V.StateCodes.AC]:"www.sefaznet.ac.gov.br/nfce/consulta",[V.StateCodes.AL]:"www.sefaz.al.gov.br/nfce/consulta",[V.StateCodes.AP]:"www.sefaz.ap.gov.br/nfce/consulta",[V.StateCodes.AM]:"www.sefaz.am.gov.br/nfce/consulta",[V.StateCodes.BA]:"http://www.sefaz.ba.gov.br/nfce/consulta",[V.StateCodes.CE]:"www.sefaz.ce.gov.br/nfce/consulta",[V.StateCodes.DF]:"www.fazenda.df.gov.br/nfce/consulta",[V.StateCodes.ES]:"www.sefaz.es.gov.br/nfce/consulta",[V.StateCodes.GO]:"www.sefaz.go.gov.br/nfce/consulta",[V.StateCodes.MA]:"www.sefaz.ma.gov.br/nfce/consulta",[V.StateCodes.MG]:"https://portalsped.fazenda.mg.gov.br/portalnfce",[V.StateCodes.MS]:"http://www.dfe.ms.gov.br/nfce/consulta",[V.StateCodes.MT]:"http://www.sefaz.mt.gov.br/nfce/consultanfce",[V.StateCodes.PA]:"www.sefa.pa.gov.br/nfce/consulta",[V.StateCodes.PE]:"nfce.sefaz.pe.gov.br/nfce/consulta",[V.StateCodes.PR]:"http://www.fazenda.pr.gov.br/nfce/consulta",[V.StateCodes.PI]:"www.sefaz.pi.gov.br/nfce/consulta",[V.StateCodes.RJ]:"www.fazenda.rj.gov.br/nfce/consulta",[V.StateCodes.RN]:"www.set.rn.gov.br/nfce/consulta",[V.StateCodes.RO]:"www.sefin.ro.gov.br/nfce/consulta",[V.StateCodes.RR]:"www.sefaz.rr.gov.br/nfce/consulta",[V.StateCodes.RS]:"www.sefaz.rs.gov.br/nfce/consulta",[V.StateCodes.SC]:"https://sat.sef.sc.gov.br/nfce/consulta",[V.StateCodes.SE]:"http://www.nfce.se.gov.br/nfce/consulta",[V.StateCodes.SP]:"https://www.nfce.fazenda.sp.gov.br/NFCeConsultaPublica",[V.StateCodes.TO]:"www.sefaz.to.gov.br/nfce/consulta",[V.StateCodes.PB]:"www.sefaz.pb.gov.br/nfce/consulta"}};var xe=require("nfets/core"),xA={[xe.StateCodes.AC]:"SVRS",[xe.StateCodes.AL]:"SVRS",[xe.StateCodes.AM]:"AM",[xe.StateCodes.AP]:"SVRS",[xe.StateCodes.BA]:"SVRS",[xe.StateCodes.CE]:"SVRS",[xe.StateCodes.DF]:"SVRS",[xe.StateCodes.ES]:"SVRS",[xe.StateCodes.GO]:"GO",[xe.StateCodes.MA]:"SVRS",[xe.StateCodes.MG]:"MG",[xe.StateCodes.MS]:"MS",[xe.StateCodes.MT]:"MT",[xe.StateCodes.PA]:"SVRS",[xe.StateCodes.PB]:"SVRS",[xe.StateCodes.PE]:"SVRS",[xe.StateCodes.PI]:"SVRS",[xe.StateCodes.PR]:"PR",[xe.StateCodes.RJ]:"SVRS",[xe.StateCodes.RN]:"SVRS",[xe.StateCodes.RO]:"SVRS",[xe.StateCodes.RR]:"SVRS",[xe.StateCodes.RS]:"RS",[xe.StateCodes.SC]:"SVRS",[xe.StateCodes.SE]:"SVRS",[xe.StateCodes.SP]:"SP",[xe.StateCodes.TO]:"SVRS",SVRS:"SVRS"},l0=xA;var Hu=class extends Bi{static{a(this,"NfceAutorizacaoPayload")}};var u0=require("nfets/core");function bA(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(bA,"_ts_decorate");function jm(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(jm,"_ts_metadata");var jt=class extends Vo{static{a(this,"NfceRemoteTransmitter")}remoteTransmissionRepository;qrCode;options={timeout:6e4};constructor(e,o){super(e),this.remoteTransmissionRepository=e,this.qrCode=o}configure(e){return super.configure(e)}service(e){let o=e.cUF??this.options.cUF,i=e.tpAmb??this.options.tpAmb,r=l0[o],c=Em[r][i][e.service];if(c)return c;let p=Object.keys(zm.StateCodes).find(u=>zm.StateCodes[u]===o);return Em[p][i][e.service]}getUrlConsult(e){let o=e.infNFe.ide.cUF,i=e.infNFe.ide.tpAmb;return p0[i][o]}async autorizacao(e){return super.autorizacao(e)}};bA([(0,u0.Validates)(Hu),jm("design:type",Function),jm("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),jm("design:returntype",Promise)],jt.prototype,"autorizacao",null);var Tm=class extends Xp{static{a(this,"NfceCancelPipeline")}qrCode=new Gt(this.certificates);transmitter=new jt(this.soap,this.qrCode)};var el=class extends Wp{static{a(this,"NfceAuthorizerPipeline")}certificate;qrCode=new Gt(this.certificates);transmitter=new jt(this.soap,this.qrCode);constructor(e){super(e),this.certificate=e}};var zt=require("nfets/core");var Bm=class extends el{static{a(this,"NfceContingencyXmlAuthorizerPipeline")}certificate;qrCode=new Gt(this.certificates);transmitter=new jt(this.soap,this.qrCode);constructor(e){super(e),this.certificate=e}async handleNfeBatch(e,o){if(!Array.isArray(o))return this.parseContingencyXml(o).then(r=>r.isLeft()?r:(0,zt.right)([r.value]));let i=await Promise.all(o.map(r=>this.parseContingencyXml(r)));if(i.some(r=>r.isLeft())){let r=i.find(n=>n.isLeft());return(0,zt.left)(r?.value??new zt.NFeTsError("NFC-e XML must be signed"))}return(0,zt.right)(i.filter(r=>r.isRight()).map(r=>r.value))}async parseContingencyXml(e){let o=await this.toolkit.parse(e);return this.assertSignatureIntegrity(o)}async assertSignatureIntegrity(e){let o=e.Signature?.SignedInfo?.Reference?.DigestValue;if(!o)return(0,zt.left)(new zt.NFeTsError("NFC-e XML must be signed"));let i=await this.rebuildInfNFeNode(e);if(i.isLeft())return i;let r=this.signatureAlgorithm(e);return this.toolkit.digest(i.value,r)!==o?(0,zt.left)(new zt.NFeTsError("NFC-e XML signature digest mismatch")):(0,zt.right)(e)}async rebuildInfNFeNode(e){let o=e.$?.xmlns,{$:i,...r}=e.infNFe??{};delete i.xmlns;let n=await this.toolkit.build({$:{xmlns:o,...i},...r},{headless:!0,rootName:"infNFe",renderOpts:{pretty:!1}});return(0,zt.right)(n)}signatureAlgorithm(e){return e.Signature?.SignedInfo?.Reference?.DigestMethod?.$?.Algorithm===zt.DigestAlgorithm.SHA256?zt.SignatureAlgorithm.SHA256:zt.SignatureAlgorithm.SHA1}};var Mm=class extends tc{static{a(this,"NfceVoidRangePipeline")}qrCode=new Gt(this.certificates);transmitter=new jt(this.soap,this.qrCode)};var Vm=class extends Kp{static{a(this,"NfceConsultStatusPipeline")}qrCode=new Gt(this.certificates);transmitter=new jt(this.soap,this.qrCode)};var Lm=class extends $p{static{a(this,"NfceConsultProtocoloPipeline")}qrCode=new Gt(this.certificates);transmitter=new jt(this.soap,this.qrCode)};var sS=dt(require("path"),1),Zc=require("nfets/core");var Po=require("class-validator");var L=require("class-validator"),Ke=require("class-transformer");var I=require("class-validator"),Xa=require("class-transformer"),ir=require("nfets/core"),d0=require("nfets/core");function z(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(z,"_ts_decorate");function M(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(M,"_ts_metadata");var tr=class{static{a(this,"RefNF")}cUF;AAMM;CNPJ;mod;serie;nNF};z([(0,I.IsString)(),M("design:type",String)],tr.prototype,"cUF",void 0);z([(0,I.IsString)(),M("design:type",String)],tr.prototype,"AAMM",void 0);z([(0,I.IsString)(),M("design:type",String)],tr.prototype,"CNPJ",void 0);z([(0,I.IsString)(),M("design:type",String)],tr.prototype,"mod",void 0);z([(0,I.IsString)(),M("design:type",String)],tr.prototype,"serie",void 0);z([(0,I.IsString)(),M("design:type",String)],tr.prototype,"nNF",void 0);var Wo=class{static{a(this,"RefNFP")}cUF;AAMM;CNPJ="";CPF="";IE;mod;serie;nNF};z([(0,I.IsString)(),M("design:type",String)],Wo.prototype,"cUF",void 0);z([(0,I.IsString)(),M("design:type",String)],Wo.prototype,"AAMM",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],Wo.prototype,"CNPJ",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],Wo.prototype,"CPF",void 0);z([(0,I.IsString)(),M("design:type",String)],Wo.prototype,"IE",void 0);z([(0,I.IsString)(),M("design:type",String)],Wo.prototype,"mod",void 0);z([(0,I.IsString)(),M("design:type",String)],Wo.prototype,"serie",void 0);z([(0,I.IsString)(),M("design:type",String)],Wo.prototype,"nNF",void 0);Wo=z([(0,ir.Choice)({properties:["CNPJ","CPF"],required:!0})],Wo);var oc=class{static{a(this,"RefECF")}mod;nECF;nCOO};z([(0,I.IsString)(),M("design:type",String)],oc.prototype,"mod",void 0);z([(0,I.IsString)(),M("design:type",String)],oc.prototype,"nECF",void 0);z([(0,I.IsString)(),M("design:type",String)],oc.prototype,"nCOO",void 0);var or=class{static{a(this,"NFref")}refNFe;refNFeSig;refNF;refNFP;refCTe;refECF};z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],or.prototype,"refNFe",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],or.prototype,"refNFeSig",void 0);z([(0,I.IsOptional)(),(0,I.ValidateNested)(),(0,Xa.Type)(()=>tr),M("design:type",typeof IRefNF>"u"?Object:IRefNF)],or.prototype,"refNF",void 0);z([(0,I.IsOptional)(),(0,I.ValidateNested)(),(0,Xa.Type)(()=>Wo),M("design:type",typeof IRefNFP>"u"?Object:IRefNFP)],or.prototype,"refNFP",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],or.prototype,"refCTe",void 0);z([(0,I.IsOptional)(),(0,I.ValidateNested)(),(0,Xa.Type)(()=>oc),M("design:type",typeof IRefECF>"u"?Object:IRefECF)],or.prototype,"refECF",void 0);var Ya=class{static{a(this,"CompraGov")}tpEnteGov;pRedutor;tpOperGov;refDFeAnt};z([(0,I.IsString)(),M("design:type",String)],Ya.prototype,"tpEnteGov",void 0);z([(0,ir.TransformDecimal)({fixed:4}),M("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ya.prototype,"pRedutor",void 0);z([(0,I.IsString)(),M("design:type",String)],Ya.prototype,"tpOperGov",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],Ya.prototype,"refDFeAnt",void 0);var Gu=class{static{a(this,"PagAntecipado")}refNFe};z([(0,I.IsArray)(),(0,I.ArrayMaxSize)(99),(0,I.IsString)({each:!0}),M("design:type",Array)],Gu.prototype,"refNFe",void 0);var K=class{static{a(this,"Ide")}cUF;cNF;natOp;mod;serie;nNF;dhEmi;dhSaiEnt;dPrevEntrega;tpNF;idDest;cMunFG;cMunFGIBS;tpImp;tpEmis;cDV="";tpAmb;finNFe;tpNFDebito;tpNFCredito;indFinal;indPres;indIntermed;cIndOp;procEmi;verProc;dhCont;xJust;NFref;gCompraGov;gPagAntecipado};z([(0,I.IsEnum)(d0.StateCodes),M("design:type",typeof StateCode>"u"?Object:StateCode)],K.prototype,"cUF",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"cNF",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"natOp",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"mod",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"serie",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"nNF",void 0);z([(0,ir.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),M("design:type",String)],K.prototype,"dhEmi",void 0);z([(0,I.IsOptional)(),(0,ir.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),M("design:type",String)],K.prototype,"dhSaiEnt",void 0);z([(0,I.IsOptional)(),(0,ir.TransformDateString)({format:"YYYY-MM-DD"}),M("design:type",String)],K.prototype,"dPrevEntrega",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"tpNF",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"idDest",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"cMunFG",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],K.prototype,"cMunFGIBS",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"tpImp",void 0);z([(0,I.IsString)(),M("design:type",typeof TpEmis>"u"?Object:TpEmis)],K.prototype,"tpEmis",void 0);z([(0,I.IsString)(),(0,I.IsOptional)(),M("design:type",String)],K.prototype,"cDV",void 0);z([(0,I.IsString)(),M("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],K.prototype,"tpAmb",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"finNFe",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],K.prototype,"tpNFDebito",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],K.prototype,"tpNFCredito",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"indFinal",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"indPres",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],K.prototype,"indIntermed",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],K.prototype,"cIndOp",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"procEmi",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"verProc",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),(0,ir.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),M("design:type",String)],K.prototype,"dhCont",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],K.prototype,"xJust",void 0);z([(0,I.IsOptional)(),(0,I.IsArray)(),(0,I.ArrayMaxSize)(999),(0,I.ValidateNested)({each:!0}),(0,Xa.Type)(()=>or),M("design:type",Array)],K.prototype,"NFref",void 0);z([(0,I.IsOptional)(),(0,I.ValidateNested)(),(0,Xa.Type)(()=>Ya),M("design:type",typeof ICompraGov>"u"?Object:ICompraGov)],K.prototype,"gCompraGov",void 0);z([(0,I.IsOptional)(),(0,I.ValidateNested)(),(0,Xa.Type)(()=>Gu),M("design:type",typeof IPagAntecipado>"u"?Object:IPagAntecipado)],K.prototype,"gPagAntecipado",void 0);var st=require("class-validator"),f0=require("nfets/core"),m0=require("class-transformer");var Zt=require("class-validator");function _i(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(_i,"_ts_decorate");function qi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(qi,"_ts_metadata");var Qt=class{static{a(this,"EnderEmit")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};_i([(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"xLgr",void 0);_i([(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"nro",void 0);_i([(0,Zt.IsOptional)(),(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"xCpl",void 0);_i([(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"xBairro",void 0);_i([(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"cMun",void 0);_i([(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"xMun",void 0);_i([(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"UF",void 0);_i([(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"CEP",void 0);_i([(0,Zt.IsOptional)(),(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"cPais",void 0);_i([(0,Zt.IsOptional)(),(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"xPais",void 0);_i([(0,Zt.IsOptional)(),(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"fone",void 0);function di(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(di,"_ts_decorate");function Ui(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ui,"_ts_metadata");var St=class{static{a(this,"Emit")}CNPJ="";CPF="";xNome;xFant;enderEmit;IE;IEST;IM;CNAE;CRT;ISUFEmit};di([(0,st.IsOptional)(),(0,st.IsString)(),Ui("design:type",String)],St.prototype,"CNPJ",void 0);di([(0,st.IsOptional)(),(0,st.IsString)(),Ui("design:type",String)],St.prototype,"CPF",void 0);di([(0,st.IsString)(),Ui("design:type",String)],St.prototype,"xNome",void 0);di([(0,st.IsOptional)(),(0,st.IsString)(),Ui("design:type",String)],St.prototype,"xFant",void 0);di([(0,st.ValidateNested)(),(0,m0.Type)(()=>Qt),Ui("design:type",typeof Qt>"u"?Object:Qt)],St.prototype,"enderEmit",void 0);di([(0,st.IsString)(),Ui("design:type",String)],St.prototype,"IE",void 0);di([(0,st.IsOptional)(),(0,st.IsString)(),Ui("design:type",String)],St.prototype,"IEST",void 0);di([(0,st.IsOptional)(),(0,st.IsString)(),Ui("design:type",String)],St.prototype,"IM",void 0);di([(0,st.IsOptional)(),(0,st.IsString)(),Ui("design:type",String)],St.prototype,"CNAE",void 0);di([(0,st.IsString)(),Ui("design:type",String)],St.prototype,"CRT",void 0);di([(0,st.IsOptional)(),(0,st.IsString)(),Ui("design:type",String)],St.prototype,"ISUFEmit",void 0);St=di([(0,f0.Choice)({properties:["CNPJ","CPF"],required:!0})],St);var et=require("class-validator"),h0=require("class-transformer");var je=require("class-validator");function ki(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(ki,"_ts_decorate");function Hi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Hi,"_ts_metadata");var No=class{static{a(this,"EnderDest")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"xLgr",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"nro",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"xCpl",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"xBairro",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"cMun",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"xMun",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"UF",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"CEP",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"cPais",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"xPais",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"fone",void 0);var v0=require("nfets/core");function Gi(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Gi,"_ts_decorate");function Sn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Sn,"_ts_metadata");var Tt=class{static{a(this,"Dest")}CNPJ="";CPF="";idEstrangeiro;xNome;enderDest;indIEDest;IE;ISUF;IM;email};Gi([(0,et.IsOptional)(),(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"CNPJ",void 0);Gi([(0,et.IsOptional)(),(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"CPF",void 0);Gi([(0,et.IsOptional)(),(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"idEstrangeiro",void 0);Gi([(0,et.IsOptional)(),(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"xNome",void 0);Gi([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,h0.Type)(()=>No),Sn("design:type",typeof IEnderDest>"u"?Object:IEnderDest)],Tt.prototype,"enderDest",void 0);Gi([(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"indIEDest",void 0);Gi([(0,et.IsOptional)(),(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"IE",void 0);Gi([(0,et.IsOptional)(),(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"ISUF",void 0);Gi([(0,et.IsOptional)(),(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"IM",void 0);Gi([(0,et.IsOptional)(),(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"email",void 0);Tt=Gi([(0,v0.Choice)({properties:["CNPJ","CPF"],required:!0})],Tt);var be=require("class-validator"),g0=require("nfets/core");function Yt(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Yt,"_ts_decorate");function to(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(to,"_ts_metadata");var we=class{static{a(this,"Local")}CNPJ;CPF;xNome;xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone;email;IE};Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"CNPJ",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"CPF",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"xNome",void 0);Yt([(0,be.IsString)(),to("design:type",String)],we.prototype,"xLgr",void 0);Yt([(0,be.IsString)(),to("design:type",String)],we.prototype,"nro",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"xCpl",void 0);Yt([(0,be.IsString)(),to("design:type",String)],we.prototype,"xBairro",void 0);Yt([(0,be.IsString)(),to("design:type",String)],we.prototype,"cMun",void 0);Yt([(0,be.IsString)(),to("design:type",String)],we.prototype,"xMun",void 0);Yt([(0,be.IsString)(),to("design:type",String)],we.prototype,"UF",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"CEP",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"cPais",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"xPais",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"fone",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"email",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"IE",void 0);we=Yt([(0,g0.Choice)({properties:["CNPJ","CPF"]})],we);var ic=require("class-validator"),x0=require("nfets/core");function _m(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(_m,"_ts_decorate");function y0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(y0,"_ts_metadata");var Cn=class{static{a(this,"AutXML")}CNPJ;CPF};_m([(0,ic.IsOptional)(),(0,ic.IsString)(),y0("design:type",String)],Cn.prototype,"CNPJ",void 0);_m([(0,ic.IsOptional)(),(0,ic.IsString)(),y0("design:type",String)],Cn.prototype,"CPF",void 0);Cn=_m([(0,x0.Choice)({properties:["CNPJ","CPF"]})],Cn);var tl=require("class-validator");function b0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(b0,"_ts_decorate");function S0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(S0,"_ts_metadata");var Qr=class{static{a(this,"InfIntermed")}CNPJ;idCadIntTran};b0([(0,tl.IsString)(),S0("design:type",String)],Qr.prototype,"CNPJ",void 0);b0([(0,tl.IsOptional)(),(0,tl.IsString)(),S0("design:type",String)],Qr.prototype,"idCadIntTran",void 0);var Ja=require("class-validator");function qm(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(qm,"_ts_decorate");function Um(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Um,"_ts_metadata");var nr=class{static{a(this,"Exporta")}UFSaidaPais;xLocExporta;xLocDespacho};qm([(0,Ja.IsString)(),Um("design:type",String)],nr.prototype,"UFSaidaPais",void 0);qm([(0,Ja.IsOptional)(),(0,Ja.IsString)(),Um("design:type",String)],nr.prototype,"xLocExporta",void 0);qm([(0,Ja.IsOptional)(),(0,Ja.IsString)(),Um("design:type",String)],nr.prototype,"xLocDespacho",void 0);var Zr=require("class-validator");function km(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(km,"_ts_decorate");function Hm(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Hm,"_ts_metadata");var rr=class{static{a(this,"Compra")}xNEmp;xPed;xCont};km([(0,Zr.IsOptional)(),(0,Zr.IsString)(),Hm("design:type",String)],rr.prototype,"xNEmp",void 0);km([(0,Zr.IsOptional)(),(0,Zr.IsString)(),Hm("design:type",String)],rr.prototype,"xPed",void 0);km([(0,Zr.IsOptional)(),(0,Zr.IsString)(),Hm("design:type",String)],rr.prototype,"xCont",void 0);var Nn=require("class-validator");function nc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(nc,"_ts_decorate");function rc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(rc,"_ts_metadata");var fi=class{static{a(this,"InfRespTec")}CNPJ;xContato;email;fone;idCSRT;hashCSRT};nc([(0,Nn.IsString)(),rc("design:type",String)],fi.prototype,"CNPJ",void 0);nc([(0,Nn.IsString)(),rc("design:type",String)],fi.prototype,"xContato",void 0);nc([(0,Nn.IsString)(),rc("design:type",String)],fi.prototype,"email",void 0);nc([(0,Nn.IsString)(),rc("design:type",String)],fi.prototype,"fone",void 0);nc([(0,Nn.IsOptional)(),(0,Nn.IsString)(),rc("design:type",String)],fi.prototype,"idCSRT",void 0);nc([(0,Nn.IsOptional)(),(0,Nn.IsString)(),rc("design:type",String)],fi.prototype,"hashCSRT",void 0);var gi=require("class-validator"),fc=require("class-transformer");var Qi=require("class-validator"),pe=require("nfets/core");function de(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(de,"_ts_decorate");function fe(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(fe,"_ts_metadata");var ne=class{static{a(this,"ICMSTot")}vBC="0.00";vICMS="0.00";vICMSDeson="0.00";vFCPUFDest;vICMSUFDest;vICMSUFRemet;vFCP="0.00";vBCST="0.00";vST="0.00";vFCPST="0.00";vFCPSTRet="0.00";qBCMono;vICMSMono;qBCMonoReten;vICMSMonoReten;qBCMonoRet;vICMSMonoRet;vProd="0.00";vFrete="0.00";vSeg="0.00";vDesc="0.00";vII="0.00";vIPI="0.00";vIPIDevol="0.00";vPIS="0.00";vCOFINS="0.00";vOutro="0.00";vNF="0.00";vTotTrib};de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vBC",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMS",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSDeson",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vFCPUFDest",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSUFDest",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSUFRemet",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vFCP",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vBCST",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vST",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vFCPST",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vFCPSTRet",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"qBCMono",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSMono",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"qBCMonoReten",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSMonoReten",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"qBCMonoRet",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSMonoRet",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vProd",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vFrete",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vSeg",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vDesc",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vII",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vIPI",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vIPIDevol",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vPIS",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vCOFINS",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vOutro",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vNF",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vTotTrib",void 0);var Ro=require("class-validator"),Zi=require("nfets/core");function mi(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(mi,"_ts_decorate");function hi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(hi,"_ts_metadata");var oo=class{static{a(this,"ISSQNtot")}vServ;vBC;vISS;vPIS;vCOFINS;dCompet;vDeducao;vOutro;vDescIncond;vDescCond;vISSRet;cRegTrib};mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vServ",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vBC",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vISS",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vPIS",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vCOFINS",void 0);mi([(0,Ro.IsString)(),hi("design:type",String)],oo.prototype,"dCompet",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vDeducao",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vOutro",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vDescIncond",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vDescCond",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vISSRet",void 0);mi([(0,Ro.IsOptional)(),(0,Ro.IsString)(),hi("design:type",String)],oo.prototype,"cRegTrib",void 0);var Yr=require("class-validator"),Xr=require("nfets/core");function Wa(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Wa,"_ts_decorate");function Ka(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ka,"_ts_metadata");var Yi=class{static{a(this,"RetTrib")}vRetPIS;vRetCOFINS;vRetCSLL;vBCIRRF;vIRRF;vBCRetPrev;vRetPrev};Wa([(0,Yr.IsOptional)(),(0,Xr.TransformDecimal)({fixed:2}),Ka("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yi.prototype,"vRetPIS",void 0);Wa([(0,Yr.IsOptional)(),(0,Xr.TransformDecimal)({fixed:2}),Ka("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yi.prototype,"vRetCOFINS",void 0);Wa([(0,Yr.IsOptional)(),(0,Xr.TransformDecimal)({fixed:2}),Ka("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yi.prototype,"vRetCSLL",void 0);Wa([(0,Yr.IsOptional)(),(0,Xr.TransformDecimal)({fixed:2}),Ka("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yi.prototype,"vBCIRRF",void 0);Wa([(0,Yr.IsOptional)(),(0,Xr.TransformDecimal)({fixed:2}),Ka("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yi.prototype,"vIRRF",void 0);Wa([(0,Yr.IsOptional)(),(0,Xr.TransformDecimal)({fixed:2}),Ka("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yi.prototype,"vBCRetPrev",void 0);Wa([(0,Yr.IsOptional)(),(0,Xr.TransformDecimal)({fixed:2}),Ka("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yi.prototype,"vRetPrev",void 0);var Ji=require("class-validator");var sr=require("class-validator");var Qu=require("nfets/core");function Gm(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Gm,"_ts_decorate");function Qm(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Qm,"_ts_metadata");var $a=class{static{a(this,"IBSMunTot")}vDif="0.00";vDevTrib="0.00";vIBSMun="0.00"};Gm([(0,Qu.TransformDecimal)({fixed:2}),Qm("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$a.prototype,"vDif",void 0);Gm([(0,Qu.TransformDecimal)({fixed:2}),Qm("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$a.prototype,"vDevTrib",void 0);Gm([(0,Qu.TransformDecimal)({fixed:2}),Qm("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$a.prototype,"vIBSMun",void 0);var Xm=require("class-transformer");var Zu=require("nfets/core");function Zm(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Zm,"_ts_decorate");function Ym(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ym,"_ts_metadata");var es=class{static{a(this,"IBSUFTot")}vDif="0.00";vDevTrib="0.00";vIBSUF="0.00"};Zm([(0,Zu.TransformDecimal)({fixed:2}),Ym("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"vDif",void 0);Zm([(0,Zu.TransformDecimal)({fixed:2}),Ym("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"vDevTrib",void 0);Zm([(0,Zu.TransformDecimal)({fixed:2}),Ym("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"vIBSUF",void 0);var Yu=require("nfets/core");function ol(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(ol,"_ts_decorate");function il(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(il,"_ts_metadata");var ar=class{static{a(this,"IBSTot")}gIBSUF;gIBSMun;vIBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};ol([(0,sr.IsOptional)(),(0,sr.ValidateNested)(),(0,Xm.Type)(()=>es),il("design:type",typeof IIBSUFTot>"u"?Object:IIBSUFTot)],ar.prototype,"gIBSUF",void 0);ol([(0,sr.IsOptional)(),(0,sr.ValidateNested)(),(0,Xm.Type)(()=>$a),il("design:type",typeof IIBSMunTot>"u"?Object:IIBSMunTot)],ar.prototype,"gIBSMun",void 0);ol([(0,sr.IsOptional)(),(0,Yu.TransformDecimal)({fixed:2}),il("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ar.prototype,"vIBS",void 0);ol([(0,sr.IsOptional)(),(0,Yu.TransformDecimal)({fixed:2}),il("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ar.prototype,"vCredPres",void 0);ol([(0,sr.IsOptional)(),(0,Yu.TransformDecimal)({fixed:2}),il("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ar.prototype,"vCredPresCondSus",void 0);var R0=require("nfets/core"),cl=require("class-transformer");var ac=require("nfets/core"),sc=require("class-validator");function nl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(nl,"_ts_decorate");function rl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(rl,"_ts_metadata");var cr=class{static{a(this,"CBSTot")}vDif="0.00";vDevTrib="0.00";vCBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};nl([(0,sc.IsOptional)(),(0,ac.TransformDecimal)({fixed:2}),rl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cr.prototype,"vDif",void 0);nl([(0,sc.IsOptional)(),(0,ac.TransformDecimal)({fixed:2}),rl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cr.prototype,"vDevTrib",void 0);nl([(0,sc.IsOptional)(),(0,ac.TransformDecimal)({fixed:2}),rl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cr.prototype,"vCBS",void 0);nl([(0,sc.IsOptional)(),(0,ac.TransformDecimal)({fixed:2}),rl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cr.prototype,"vCredPres",void 0);nl([(0,sc.IsOptional)(),(0,ac.TransformDecimal)({fixed:2}),rl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cr.prototype,"vCredPresCondSus",void 0);var ts=require("nfets/core"),os=require("class-validator");function cc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(cc,"_ts_decorate");function pc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(pc,"_ts_metadata");var Rn=class{static{a(this,"IBSMonoTot")}vIBSMono="0.00";vCBSMono="0.00";vIBSMonoReten="0.00";vCBSMonoReten="0.00";vIBSMonoRet="0.00";vCBSMonoRet="0.00"};cc([(0,os.IsOptional)(),(0,ts.TransformDecimal)({fixed:2}),pc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rn.prototype,"vIBSMono",void 0);cc([(0,os.IsOptional)(),(0,ts.TransformDecimal)({fixed:2}),pc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rn.prototype,"vCBSMono",void 0);cc([(0,os.IsOptional)(),(0,ts.TransformDecimal)({fixed:2}),pc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rn.prototype,"vIBSMonoReten",void 0);cc([(0,os.IsOptional)(),(0,ts.TransformDecimal)({fixed:2}),pc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rn.prototype,"vCBSMonoReten",void 0);cc([(0,os.IsOptional)(),(0,ts.TransformDecimal)({fixed:2}),pc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rn.prototype,"vIBSMonoRet",void 0);cc([(0,os.IsOptional)(),(0,ts.TransformDecimal)({fixed:2}),pc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rn.prototype,"vCBSMonoRet",void 0);var Jm=require("class-validator"),Wm=require("nfets/core");function C0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(C0,"_ts_decorate");function N0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(N0,"_ts_metadata");var lc=class{static{a(this,"EstornoCredTot")}vIBSEstCred;vCBSEstCred};C0([(0,Jm.IsOptional)(),(0,Wm.TransformDecimal)({fixed:2}),N0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lc.prototype,"vIBSEstCred",void 0);C0([(0,Jm.IsOptional)(),(0,Wm.TransformDecimal)({fixed:2}),N0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lc.prototype,"vCBSEstCred",void 0);function al(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(al,"_ts_decorate");function sl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(sl,"_ts_metadata");var Xi=class{static{a(this,"IBSCBSTot")}vBCIBSCBS="0.00";gIBS;gCBS;gMono;gEstornoCred};al([(0,Ji.IsOptional)(),(0,R0.TransformDecimal)({fixed:2}),sl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xi.prototype,"vBCIBSCBS",void 0);al([(0,Ji.IsOptional)(),(0,Ji.ValidateNested)(),(0,cl.Type)(()=>ar),sl("design:type",typeof IIBSTot>"u"?Object:IIBSTot)],Xi.prototype,"gIBS",void 0);al([(0,Ji.IsOptional)(),(0,Ji.ValidateNested)(),(0,cl.Type)(()=>cr),sl("design:type",typeof ICBSTot>"u"?Object:ICBSTot)],Xi.prototype,"gCBS",void 0);al([(0,Ji.IsOptional)(),(0,Ji.ValidateNested)(),(0,cl.Type)(()=>Rn),sl("design:type",typeof IIBSMonoTot>"u"?Object:IIBSMonoTot)],Xi.prototype,"gMono",void 0);al([(0,Ji.IsOptional)(),(0,Ji.ValidateNested)(),(0,cl.Type)(()=>lc),sl("design:type",typeof IEstornoCredTot>"u"?Object:IEstornoCredTot)],Xi.prototype,"gEstornoCred",void 0);var w0=require("nfets/core"),I0=require("class-validator");function SA(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(SA,"_ts_decorate");function CA(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(CA,"_ts_metadata");var is=class{static{a(this,"ISTot")}vIS="0.00"};SA([(0,I0.IsOptional)(),(0,w0.TransformDecimal)({fixed:2}),CA("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],is.prototype,"vIS",void 0);var O0=require("nfets/core");function uc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(uc,"_ts_decorate");function dc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(dc,"_ts_metadata");var vi=class{static{a(this,"Total")}ICMSTot;ISSQNtot;retTrib;ISTot;IBSCBSTot;vNFTot};uc([(0,gi.ValidateNested)(),(0,fc.Type)(()=>ne),dc("design:type",typeof IICMSTot>"u"?Object:IICMSTot)],vi.prototype,"ICMSTot",void 0);uc([(0,gi.IsOptional)(),(0,gi.ValidateNested)(),(0,fc.Type)(()=>oo),dc("design:type",typeof IISSQNTot>"u"?Object:IISSQNTot)],vi.prototype,"ISSQNtot",void 0);uc([(0,gi.IsOptional)(),(0,gi.ValidateNested)(),(0,fc.Type)(()=>Yi),dc("design:type",typeof IRetTrib>"u"?Object:IRetTrib)],vi.prototype,"retTrib",void 0);uc([(0,gi.IsOptional)(),(0,gi.ValidateNested)(),(0,fc.Type)(()=>is),dc("design:type",typeof IISTot>"u"?Object:IISTot)],vi.prototype,"ISTot",void 0);uc([(0,gi.IsOptional)(),(0,gi.ValidateNested)(),(0,fc.Type)(()=>Xi),dc("design:type",typeof IIBSCBSTot>"u"?Object:IIBSCBSTot)],vi.prototype,"IBSCBSTot",void 0);uc([(0,gi.IsOptional)(),(0,O0.TransformDecimal)({fixed:2}),dc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vi.prototype,"vNFTot",void 0);var ct=require("class-validator"),bc=require("class-transformer");var no=require("class-validator"),F0=require("nfets/core");function Jr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Jr,"_ts_decorate");function ns(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ns,"_ts_metadata");var io=class{static{a(this,"Transporta")}CNPJ;CPF;xNome;IE;xEnder;xMun;UF};Jr([(0,no.IsOptional)(),(0,no.IsString)(),ns("design:type",String)],io.prototype,"CNPJ",void 0);Jr([(0,no.IsOptional)(),(0,no.IsString)(),ns("design:type",String)],io.prototype,"CPF",void 0);Jr([(0,no.IsOptional)(),(0,no.IsString)(),ns("design:type",String)],io.prototype,"xNome",void 0);Jr([(0,no.IsOptional)(),(0,no.IsString)(),ns("design:type",String)],io.prototype,"IE",void 0);Jr([(0,no.IsOptional)(),(0,no.IsString)(),ns("design:type",String)],io.prototype,"xEnder",void 0);Jr([(0,no.IsOptional)(),(0,no.IsString)(),ns("design:type",String)],io.prototype,"xMun",void 0);Jr([(0,no.IsOptional)(),(0,no.IsString)(),ns("design:type",String)],io.prototype,"UF",void 0);io=Jr([(0,F0.Choice)({properties:["CNPJ","CPF"]})],io);var wn=require("class-validator"),pl=require("nfets/core");function mc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(mc,"_ts_decorate");function hc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(hc,"_ts_metadata");var Ko=class{static{a(this,"RetTransp")}vServ;vBCRet;pICMSRet;vICMSRet;CFOP;cMunFG};mc([(0,wn.IsOptional)(),(0,pl.TransformDecimal)({fixed:2}),hc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ko.prototype,"vServ",void 0);mc([(0,wn.IsOptional)(),(0,pl.TransformDecimal)({fixed:2}),hc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ko.prototype,"vBCRet",void 0);mc([(0,wn.IsOptional)(),(0,pl.TransformDecimal)({fixed:4}),hc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ko.prototype,"pICMSRet",void 0);mc([(0,wn.IsOptional)(),(0,pl.TransformDecimal)({fixed:2}),hc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ko.prototype,"vICMSRet",void 0);mc([(0,wn.IsOptional)(),(0,wn.IsString)(),hc("design:type",String)],Ko.prototype,"CFOP",void 0);mc([(0,wn.IsOptional)(),(0,wn.IsString)(),hc("design:type",String)],Ko.prototype,"cMunFG",void 0);var _o=require("class-validator");function vc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(vc,"_ts_decorate");function gc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(gc,"_ts_metadata");var In=class{static{a(this,"VeicTransp")}placa;UF;RNTC};vc([(0,_o.IsOptional)(),(0,_o.IsString)(),gc("design:type",String)],In.prototype,"placa",void 0);vc([(0,_o.IsOptional)(),(0,_o.IsString)(),gc("design:type",String)],In.prototype,"UF",void 0);vc([(0,_o.IsOptional)(),(0,_o.IsString)(),gc("design:type",String)],In.prototype,"RNTC",void 0);var rs=class{static{a(this,"Reboque")}placa;UF;RNTC};vc([(0,_o.IsOptional)(),(0,_o.IsString)(),gc("design:type",String)],rs.prototype,"placa",void 0);vc([(0,_o.IsOptional)(),(0,_o.IsString)(),gc("design:type",String)],rs.prototype,"UF",void 0);vc([(0,_o.IsOptional)(),(0,_o.IsString)(),gc("design:type",String)],rs.prototype,"RNTC",void 0);var yi=require("class-validator"),Km=require("nfets/core");function yc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(yc,"_ts_decorate");function xc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(xc,"_ts_metadata");var On=class{static{a(this,"Vol")}qVol;esp;marca;nVol;pesoL;pesoB};yc([(0,yi.IsOptional)(),(0,yi.IsString)(),xc("design:type",String)],On.prototype,"qVol",void 0);yc([(0,yi.IsOptional)(),(0,yi.IsString)(),xc("design:type",String)],On.prototype,"esp",void 0);yc([(0,yi.IsOptional)(),(0,yi.IsString)(),xc("design:type",String)],On.prototype,"marca",void 0);yc([(0,yi.IsOptional)(),(0,yi.IsString)(),xc("design:type",String)],On.prototype,"nVol",void 0);yc([(0,yi.IsOptional)(),(0,Km.TransformDecimal)({fixed:3}),xc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],On.prototype,"pesoL",void 0);yc([(0,yi.IsOptional)(),(0,Km.TransformDecimal)({fixed:3}),xc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],On.prototype,"pesoB",void 0);var $m=require("nfets/core");function pr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(pr,"_ts_decorate");function Wr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Wr,"_ts_metadata");var ro=class{static{a(this,"Transp")}modFrete;transporta;retTransp;veicTransp;reboque;vagao;balsa;vol};pr([(0,ct.IsString)(),Wr("design:type",String)],ro.prototype,"modFrete",void 0);pr([(0,ct.IsOptional)(),(0,ct.ValidateNested)(),(0,bc.Type)(()=>io),Wr("design:type",typeof io>"u"?Object:io)],ro.prototype,"transporta",void 0);pr([(0,ct.IsOptional)(),(0,ct.ValidateNested)(),(0,bc.Type)(()=>Ko),Wr("design:type",typeof Ko>"u"?Object:Ko)],ro.prototype,"retTransp",void 0);pr([(0,ct.IsOptional)(),(0,ct.ValidateNested)(),(0,bc.Type)(()=>In),Wr("design:type",typeof In>"u"?Object:In)],ro.prototype,"veicTransp",void 0);pr([(0,ct.IsOptional)(),(0,ct.ValidateNested)({each:!0}),(0,bc.Type)(()=>rs),(0,ct.ArrayMaxSize)(5),Wr("design:type",Array)],ro.prototype,"reboque",void 0);pr([(0,ct.IsOptional)(),(0,ct.IsString)(),Wr("design:type",String)],ro.prototype,"vagao",void 0);pr([(0,ct.IsOptional)(),(0,ct.IsString)(),Wr("design:type",String)],ro.prototype,"balsa",void 0);pr([(0,ct.IsOptional)(),(0,ct.ValidateNested)({each:!0}),(0,bc.Type)(()=>On),(0,ct.ArrayMaxSize)(5e3),Wr("design:type",Array)],ro.prototype,"vol",void 0);ro=pr([(0,$m.Choice)({properties:["veicTransp","reboque"]}),(0,$m.Choice)({properties:["vagao","balsa"]})],ro);var Ct=require("class-validator"),eh=require("class-transformer"),ll=require("nfets/core");function ur(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(ur,"_ts_decorate");function dr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(dr,"_ts_metadata");var lr=class{static{a(this,"Fat")}nFat;vOrig;vDesc;vLiq};ur([(0,Ct.IsOptional)(),(0,Ct.IsString)(),dr("design:type",String)],lr.prototype,"nFat",void 0);ur([(0,Ct.IsOptional)(),(0,ll.TransformDecimal)({fixed:2}),dr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lr.prototype,"vOrig",void 0);ur([(0,Ct.IsOptional)(),(0,ll.TransformDecimal)({fixed:2}),dr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lr.prototype,"vDesc",void 0);ur([(0,Ct.IsOptional)(),(0,ll.TransformDecimal)({fixed:2}),dr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lr.prototype,"vLiq",void 0);var Sc=class{static{a(this,"Dup")}nDup;dVenc;vDup};ur([(0,Ct.IsOptional)(),(0,Ct.IsString)(),dr("design:type",String)],Sc.prototype,"nDup",void 0);ur([(0,Ct.IsOptional)(),(0,Ct.IsString)(),dr("design:type",String)],Sc.prototype,"dVenc",void 0);ur([(0,Ct.IsOptional)(),(0,ll.TransformDecimal)({fixed:2}),dr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sc.prototype,"vDup",void 0);var Kr=class{static{a(this,"Cobr")}fat;dup};ur([(0,Ct.IsOptional)(),(0,Ct.ValidateNested)(),(0,eh.Type)(()=>lr),dr("design:type",typeof lr>"u"?Object:lr)],Kr.prototype,"fat",void 0);ur([(0,Ct.IsOptional)(),(0,Ct.ValidateNested)({each:!0}),(0,Ct.ArrayMaxSize)(120),(0,eh.Type)(()=>Sc),dr("design:type",Array)],Kr.prototype,"dup",void 0);var oa=require("class-validator"),E0=require("class-transformer");var wo=require("class-validator"),A0=require("class-transformer");var qo=require("class-validator");function Cc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Cc,"_ts_decorate");function Nc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Nc,"_ts_metadata");var $o=class{static{a(this,"Card")}tpIntegra;CNPJ;tBand;cAut;CNPJReceb;idTermPag};Cc([(0,qo.IsOptional)(),(0,qo.IsString)(),Nc("design:type",String)],$o.prototype,"tpIntegra",void 0);Cc([(0,qo.IsOptional)(),(0,qo.IsString)(),Nc("design:type",String)],$o.prototype,"CNPJ",void 0);Cc([(0,qo.IsOptional)(),(0,qo.IsString)(),Nc("design:type",String)],$o.prototype,"tBand",void 0);Cc([(0,qo.IsOptional)(),(0,qo.IsString)(),Nc("design:type",String)],$o.prototype,"cAut",void 0);Cc([(0,qo.IsOptional)(),(0,qo.IsString)(),Nc("design:type",String)],$o.prototype,"CNPJReceb",void 0);Cc([(0,qo.IsOptional)(),(0,qo.IsString)(),Nc("design:type",String)],$o.prototype,"idTermPag",void 0);var Xu=require("nfets/core");function $r(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a($r,"_ts_decorate");function ea(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ea,"_ts_metadata");var xi=class{static{a(this,"DetPag")}indPag;tPag;xPag;vPag;dPag;CNPJPag;UFPag;card};$r([(0,wo.IsOptional)(),(0,wo.IsString)(),ea("design:type",String)],xi.prototype,"indPag",void 0);$r([(0,wo.IsString)(),ea("design:type",typeof TPag>"u"?Object:TPag)],xi.prototype,"tPag",void 0);$r([(0,wo.IsOptional)(),(0,wo.IsString)(),ea("design:type",String)],xi.prototype,"xPag",void 0);$r([(0,Xu.TransformDecimal)({fixed:2}),ea("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xi.prototype,"vPag",void 0);$r([(0,wo.IsOptional)(),(0,Xu.TransformDateString)({format:"YYYY-MM-DD"}),ea("design:type",String)],xi.prototype,"dPag",void 0);$r([(0,wo.IsOptional)(),(0,wo.IsString)(),ea("design:type",String)],xi.prototype,"CNPJPag",void 0);$r([(0,wo.IsOptional)(),(0,wo.IsString)(),ea("design:type",String)],xi.prototype,"UFPag",void 0);$r([(0,wo.IsOptional)(),(0,wo.ValidateNested)(),(0,A0.Type)(()=>$o),ea("design:type",typeof $o>"u"?Object:$o)],xi.prototype,"card",void 0);var j0=require("nfets/core");function D0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(D0,"_ts_decorate");function P0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(P0,"_ts_metadata");var ta=class{static{a(this,"Pag")}detPag;vTroco};D0([(0,oa.ValidateNested)({each:!0}),(0,oa.ArrayMinSize)(1),(0,oa.ArrayMaxSize)(100),(0,E0.Type)(()=>xi),P0("design:type",Array)],ta.prototype,"detPag",void 0);D0([(0,oa.IsOptional)(),(0,j0.TransformDecimal)({fixed:2}),P0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ta.prototype,"vTroco",void 0);var Je=require("class-validator"),Ju=require("class-transformer");function fr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(fr,"_ts_decorate");function mr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(mr,"_ts_metadata");var Rc=class{static{a(this,"InfAdicObs")}xCampo;xTexto};fr([(0,Je.IsString)(),mr("design:type",String)],Rc.prototype,"xCampo",void 0);fr([(0,Je.IsString)(),mr("design:type",String)],Rc.prototype,"xTexto",void 0);var ul=class{static{a(this,"ProcRef")}nProc;indProc};fr([(0,Je.IsOptional)(),(0,Je.IsString)(),mr("design:type",String)],ul.prototype,"nProc",void 0);fr([(0,Je.IsOptional)(),(0,Je.IsString)(),mr("design:type",String)],ul.prototype,"indProc",void 0);var Wi=class{static{a(this,"InfAdic")}infAdFisco;infCpl;obsCont;obsFisco;procRef};fr([(0,Je.IsOptional)(),(0,Je.IsString)(),mr("design:type",String)],Wi.prototype,"infAdFisco",void 0);fr([(0,Je.IsOptional)(),(0,Je.IsString)(),mr("design:type",String)],Wi.prototype,"infCpl",void 0);fr([(0,Je.IsOptional)(),(0,Je.ValidateNested)({each:!0}),(0,Ju.Type)(()=>Rc),(0,Je.ArrayMaxSize)(10),mr("design:type",Array)],Wi.prototype,"obsCont",void 0);fr([(0,Je.IsOptional)(),(0,Je.ValidateNested)({each:!0}),(0,Ju.Type)(()=>Rc),(0,Je.ArrayMaxSize)(10),mr("design:type",Array)],Wi.prototype,"obsFisco",void 0);fr([(0,Je.IsOptional)(),(0,Je.ValidateNested)({each:!0}),(0,Ju.Type)(()=>ul),(0,Je.ArrayMaxSize)(100),mr("design:type",Array)],Wi.prototype,"procRef",void 0);var Ne=require("class-validator"),Ku=require("class-transformer"),ml=require("nfets/core");function Io(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Io,"_ts_decorate");function Oo(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Oo,"_ts_metadata");var Wu=class{static{a(this,"ForDiaAttributes")}dia};Io([(0,Ne.IsString)(),Oo("design:type",String)],Wu.prototype,"dia",void 0);var dl=class{static{a(this,"ForDia")}$;qtde};Io([(0,Ne.IsObject)(),(0,Ne.IsNotEmptyObject)(),(0,Ku.Type)(()=>Wu),Oo("design:type",typeof IForDiaAttributes>"u"?Object:IForDiaAttributes)],dl.prototype,"$",void 0);Io([(0,Ne.IsString)(),Oo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dl.prototype,"qtde",void 0);var fl=class{static{a(this,"Deduc")}xDed;vDed};Io([(0,Ne.IsString)(),Oo("design:type",String)],fl.prototype,"xDed",void 0);Io([(0,ml.TransformDecimal)({fixed:2}),Oo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fl.prototype,"vDed",void 0);var ao=class{static{a(this,"Cana")}safra;ref;forDia;qTotMes;qTotAnt;qTotGer;deduc;vFor;vTotDed;vLiqFor};Io([(0,Ne.IsString)(),Oo("design:type",String)],ao.prototype,"safra",void 0);Io([(0,Ne.IsString)(),Oo("design:type",String)],ao.prototype,"ref",void 0);Io([(0,Ne.ValidateNested)({each:!0}),(0,Ne.ArrayMaxSize)(31),(0,Ku.Type)(()=>dl),Oo("design:type",Array)],ao.prototype,"forDia",void 0);Io([(0,Ne.IsOptional)(),(0,Ne.IsString)(),Oo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"qTotMes",void 0);Io([(0,Ne.IsOptional)(),(0,Ne.IsString)(),Oo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"qTotAnt",void 0);Io([(0,Ne.IsOptional)(),(0,Ne.IsString)(),Oo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"qTotGer",void 0);Io([(0,Ne.IsOptional)(),(0,Ne.ValidateNested)({each:!0}),(0,Ne.ArrayMaxSize)(10),(0,Ku.Type)(()=>fl),Oo("design:type",Array)],ao.prototype,"deduc",void 0);Io([(0,Ne.IsOptional)(),(0,ml.TransformDecimal)({fixed:2}),Oo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"vFor",void 0);Io([(0,Ne.IsOptional)(),(0,ml.TransformDecimal)({fixed:2}),Oo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"vTotDed",void 0);Io([(0,Ne.IsOptional)(),(0,ml.TransformDecimal)({fixed:2}),Oo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"vLiqFor",void 0);var Nt=require("class-validator"),vs=require("class-transformer");var O=require("class-validator"),Fn=require("nfets/core"),$i=require("class-transformer");var Ki=require("class-validator");function hl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(hl,"_ts_decorate");function vl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(vl,"_ts_metadata");var hr=class{static{a(this,"Rastro")}nLote;qLote;dFab;dVal;cAgreg};hl([(0,Ki.IsString)(),vl("design:type",String)],hr.prototype,"nLote",void 0);hl([(0,Ki.IsOptional)(),(0,Ki.IsString)(),vl("design:type",String)],hr.prototype,"qLote",void 0);hl([(0,Ki.IsOptional)(),(0,Ki.IsString)(),vl("design:type",String)],hr.prototype,"dFab",void 0);hl([(0,Ki.IsOptional)(),(0,Ki.IsString)(),vl("design:type",String)],hr.prototype,"dVal",void 0);hl([(0,Ki.IsOptional)(),(0,Ki.IsString)(),vl("design:type",String)],hr.prototype,"cAgreg",void 0);var U0=require("nfets/core");var me=require("class-validator"),z0=require("class-transformer"),gl=require("nfets/core");function Mt(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Mt,"_ts_decorate");function Xt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Xt,"_ts_metadata");var ia=class{static{a(this,"Adi")}nAdicao;nSeqAdic;cFabricante;vDescDI;nDraw};Mt([(0,me.IsString)(),Xt("design:type",String)],ia.prototype,"nAdicao",void 0);Mt([(0,me.IsString)(),Xt("design:type",String)],ia.prototype,"nSeqAdic",void 0);Mt([(0,me.IsString)(),Xt("design:type",String)],ia.prototype,"cFabricante",void 0);Mt([(0,gl.TransformDecimal)({fixed:2}),Xt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ia.prototype,"vDescDI",void 0);Mt([(0,me.IsOptional)(),(0,me.IsString)(),Xt("design:type",String)],ia.prototype,"nDraw",void 0);var Bt=class{static{a(this,"DI")}nDI;dDI;xLocDesemb;UFDesemb;dDesemb;tpViaTransp;vAFRMM;tpIntermedio;CNPJ="";CPF="";UFTerceiro;adi};Mt([(0,me.IsString)(),Xt("design:type",String)],Bt.prototype,"nDI",void 0);Mt([(0,me.IsString)(),Xt("design:type",String)],Bt.prototype,"dDI",void 0);Mt([(0,me.IsString)(),Xt("design:type",String)],Bt.prototype,"xLocDesemb",void 0);Mt([(0,me.IsString)(),Xt("design:type",String)],Bt.prototype,"UFDesemb",void 0);Mt([(0,me.IsString)(),Xt("design:type",String)],Bt.prototype,"dDesemb",void 0);Mt([(0,me.IsString)(),Xt("design:type",String)],Bt.prototype,"tpViaTransp",void 0);Mt([(0,me.IsOptional)(),(0,gl.TransformDecimal)({fixed:2}),Xt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bt.prototype,"vAFRMM",void 0);Mt([(0,me.IsString)(),Xt("design:type",String)],Bt.prototype,"tpIntermedio",void 0);Mt([(0,me.IsString)(),(0,me.IsOptional)(),Xt("design:type",String)],Bt.prototype,"CNPJ",void 0);Mt([(0,me.IsString)(),(0,me.IsOptional)(),Xt("design:type",String)],Bt.prototype,"CPF",void 0);Mt([(0,me.IsString)(),(0,me.IsOptional)(),Xt("design:type",String)],Bt.prototype,"UFTerceiro",void 0);Mt([(0,me.IsArray)(),(0,me.ValidateNested)({each:!0}),(0,z0.Type)(()=>ia),(0,me.ArrayMaxSize)(999),(0,me.ArrayMinSize)(1),Xt("design:type",Array)],Bt.prototype,"adi",void 0);Bt=Mt([(0,gl.Choice)({properties:["CNPJ","CPF"],required:!0})],Bt);var T0=require("class-transformer"),vr=require("class-validator"),B0=require("nfets/core");function yl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(yl,"_ts_decorate");function xl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(xl,"_ts_metadata");var wc=class{static{a(this,"ExportInd")}nRE;chNFe;qExport};yl([(0,vr.IsString)(),xl("design:type",String)],wc.prototype,"nRE",void 0);yl([(0,vr.IsString)(),xl("design:type",String)],wc.prototype,"chNFe",void 0);yl([(0,B0.TransformDecimal)({fixed:4}),xl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wc.prototype,"qExport",void 0);var Ic=class{static{a(this,"DetExport")}nDraw;exportInd};yl([(0,vr.IsOptional)(),(0,vr.IsString)(),xl("design:type",String)],Ic.prototype,"nDraw",void 0);yl([(0,vr.IsOptional)(),(0,vr.ValidateNested)(),(0,T0.Type)(()=>wc),xl("design:type",typeof IExportInd>"u"?Object:IExportInd)],Ic.prototype,"exportInd",void 0);var th=require("class-validator");function M0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(M0,"_ts_decorate");function V0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(V0,"_ts_metadata");var Oc=class{static{a(this,"InfProdNFF")}cProdFisco;cOperNFF};M0([(0,th.IsString)(),V0("design:type",String)],Oc.prototype,"cProdFisco",void 0);M0([(0,th.IsString)(),V0("design:type",String)],Oc.prototype,"cOperNFF",void 0);var nh=require("class-validator"),L0=require("nfets/core");function oh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(oh,"_ts_decorate");function ih(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ih,"_ts_metadata");var as=class{static{a(this,"InfProdEmb")}xEmb;qVolEmb;uEmb};oh([(0,nh.IsString)(),ih("design:type",String)],as.prototype,"xEmb",void 0);oh([(0,L0.TransformDecimal)({fixed:3}),ih("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],as.prototype,"qVolEmb",void 0);oh([(0,nh.IsString)(),ih("design:type",String)],as.prototype,"uEmb",void 0);var Fe=require("class-validator");function ze(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(ze,"_ts_decorate");function Te(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Te,"_ts_metadata");var Se=class{static{a(this,"VeicProd")}tpOp;chassi;cCor;xCor;pot;cilin;pesoL;pesoB;nSerie;tpComb;nMotor;CMT;dist;anoMod;anoFab;tpPint;tpVeic;espVeic;VIN;condVeic;cMod;cCorDENATRAN;lota;tpRest};ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"tpOp",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"chassi",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"cCor",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"xCor",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"pot",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"cilin",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"pesoL",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"pesoB",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"nSerie",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"tpComb",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"nMotor",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"CMT",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"dist",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"anoMod",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"anoFab",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"tpPint",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"tpVeic",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"espVeic",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"VIN",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"condVeic",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"cMod",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"cCorDENATRAN",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"lota",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"tpRest",void 0);var sh=require("class-validator"),_0=require("nfets/core");function rh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(rh,"_ts_decorate");function ah(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ah,"_ts_metadata");var ss=class{static{a(this,"Med")}cProdANVISA;xMotivoIsencao;vPMC};rh([(0,sh.IsString)(),ah("design:type",String)],ss.prototype,"cProdANVISA",void 0);rh([(0,sh.IsString)(),ah("design:type",String)],ss.prototype,"xMotivoIsencao",void 0);rh([(0,_0.TransformDecimal)({fixed:2}),ah("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ss.prototype,"vPMC",void 0);var bl=require("class-validator");function $u(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a($u,"_ts_decorate");function ed(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ed,"_ts_metadata");var na=class{static{a(this,"Arma")}tpArma;nSerie;nCano;descr};$u([(0,bl.IsString)(),ed("design:type",String)],na.prototype,"tpArma",void 0);$u([(0,bl.IsString)(),ed("design:type",String)],na.prototype,"nSerie",void 0);$u([(0,bl.IsString)(),ed("design:type",String)],na.prototype,"nCano",void 0);$u([(0,bl.IsString)(),ed("design:type",String)],na.prototype,"descr",void 0);var re=require("class-validator"),td=require("class-transformer"),ei=require("nfets/core");function Be(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Be,"_ts_decorate");function Me(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Me,"_ts_metadata");var Fc=class{static{a(this,"OrigComb")}indImport;cUFOrig;pOrig};Be([(0,re.IsString)(),Me("design:type",String)],Fc.prototype,"indImport",void 0);Be([(0,re.IsString)(),Me("design:type",String)],Fc.prototype,"cUFOrig",void 0);Be([(0,ei.TransformDecimal)({fixed:4}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fc.prototype,"pOrig",void 0);var Ac=class{static{a(this,"CIDE")}qBCProd;vAliqProd;vCIDE};Be([(0,ei.TransformDecimal)({fixed:4}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ac.prototype,"qBCProd",void 0);Be([(0,ei.TransformDecimal)({fixed:4}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ac.prototype,"vAliqProd",void 0);Be([(0,ei.TransformDecimal)({fixed:2}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ac.prototype,"vCIDE",void 0);var ra=class{static{a(this,"Encerrante")}nBico;nBomba;nTanque;vEncIni;vEncFin};Be([(0,re.IsString)(),Me("design:type",String)],ra.prototype,"nBico",void 0);Be([(0,re.IsString)(),Me("design:type",String)],ra.prototype,"nBomba",void 0);Be([(0,re.IsString)(),Me("design:type",String)],ra.prototype,"nTanque",void 0);Be([(0,ei.TransformDecimal)({fixed:3}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ra.prototype,"vEncIni",void 0);Be([(0,ei.TransformDecimal)({fixed:3}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ra.prototype,"vEncFin",void 0);var Jt=class{static{a(this,"Comb")}cProdANP;descANP;pGLP;pGNn;pGNi;vPart;CODIF;qTemp;UFCons;CIDE;encerrante;pBio;origComb};Be([(0,re.IsString)(),Me("design:type",String)],Jt.prototype,"cProdANP",void 0);Be([(0,re.IsString)(),Me("design:type",String)],Jt.prototype,"descANP",void 0);Be([(0,re.IsOptional)(),(0,ei.TransformDecimal)({fixed:4}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"pGLP",void 0);Be([(0,re.IsOptional)(),(0,ei.TransformDecimal)({fixed:4}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"pGNn",void 0);Be([(0,re.IsOptional)(),(0,ei.TransformDecimal)({fixed:4}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"pGNi",void 0);Be([(0,re.IsOptional)(),(0,ei.TransformDecimal)({fixed:2}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"vPart",void 0);Be([(0,re.IsString)(),(0,re.IsOptional)(),Me("design:type",String)],Jt.prototype,"CODIF",void 0);Be([(0,re.IsOptional)(),(0,ei.TransformDecimal)({fixed:4}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"qTemp",void 0);Be([(0,re.IsString)(),Me("design:type",String)],Jt.prototype,"UFCons",void 0);Be([(0,re.IsOptional)(),(0,re.IsObject)(),(0,re.ValidateNested)(),(0,td.Type)(()=>Ac),Me("design:type",typeof ICIDE>"u"?Object:ICIDE)],Jt.prototype,"CIDE",void 0);Be([(0,re.IsOptional)(),(0,re.IsObject)(),(0,re.ValidateNested)(),(0,td.Type)(()=>ra),Me("design:type",typeof IEncerrante>"u"?Object:IEncerrante)],Jt.prototype,"encerrante",void 0);Be([(0,re.IsOptional)(),(0,ei.TransformDecimal)({fixed:4}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"pBio",void 0);Be([(0,re.IsArray)(),(0,re.ValidateNested)({each:!0}),(0,td.Type)(()=>Fc),(0,re.ArrayMaxSize)(30),(0,re.IsOptional)(),Me("design:type",Array)],Jt.prototype,"origComb",void 0);var q0=require("class-validator"),lh=require("nfets/core");function ch(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(ch,"_ts_decorate");function ph(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ph,"_ts_metadata");var cs=class{static{a(this,"GCred")}cCredPresumido;pCredPresumido;vCredPresumido};ch([(0,q0.IsString)(),ph("design:type",String)],cs.prototype,"cCredPresumido",void 0);ch([(0,lh.TransformDecimal)({fixed:4}),ph("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cs.prototype,"pCredPresumido",void 0);ch([(0,lh.TransformDecimal)({fixed:2}),ph("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cs.prototype,"vCredPresumido",void 0);function Q(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Q,"_ts_decorate");function Y(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Y,"_ts_metadata");var _=class{static{a(this,"Prod")}cProd;cEAN;cBarra;xProd;NCM;NVE;CEST;indEscala;CNPJFab;cBenef;gCred;tpCredPresIBSZFM;EXTIPI;CFOP;uCom;qCom;vUnCom;vProd;cEANTrib;cBarraTrib;uTrib;qTrib;vUnTrib;vFrete;vSeg;vDesc;vOutro;indTot;indBemMovelUsado;DI;detExport;xPed;nItemPed;nFCI;rastro;infProdNFF;infProdEmb;veicProd;med;arma;comb;nRECOPI};Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"cProd",void 0);Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"cEAN",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"cBarra",void 0);Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"xProd",void 0);Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"NCM",void 0);Q([(0,O.IsOptional)(),(0,O.IsArray)(),(0,O.ArrayMaxSize)(8),(0,O.IsString)({each:!0}),Y("design:type",Array)],_.prototype,"NVE",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"CEST",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"indEscala",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"CNPJFab",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"cBenef",void 0);Q([(0,O.IsOptional)(),(0,O.IsArray)(),(0,O.ArrayMaxSize)(4),(0,O.ValidateNested)({each:!0}),(0,$i.Type)(()=>cs),Y("design:type",Array)],_.prototype,"gCred",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"tpCredPresIBSZFM",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"EXTIPI",void 0);Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"CFOP",void 0);Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"uCom",void 0);Q([(0,Fn.TransformDecimal)({fixed:4}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"qCom",void 0);Q([(0,Fn.TransformDecimal)({fixed:10}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"vUnCom",void 0);Q([(0,Fn.TransformDecimal)({fixed:2}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"vProd",void 0);Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"cEANTrib",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"cBarraTrib",void 0);Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"uTrib",void 0);Q([(0,Fn.TransformDecimal)({fixed:4}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"qTrib",void 0);Q([(0,Fn.TransformDecimal)({fixed:10}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"vUnTrib",void 0);Q([(0,O.IsOptional)(),(0,Fn.TransformDecimal)({fixed:2}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"vFrete",void 0);Q([(0,O.IsOptional)(),(0,Fn.TransformDecimal)({fixed:2}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"vSeg",void 0);Q([(0,O.IsOptional)(),(0,Fn.TransformDecimal)({fixed:2}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"vDesc",void 0);Q([(0,O.IsOptional)(),(0,Fn.TransformDecimal)({fixed:2}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"vOutro",void 0);Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"indTot",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"indBemMovelUsado",void 0);Q([(0,O.IsOptional)(),(0,O.IsArray)(),(0,O.ValidateNested)({each:!0}),(0,O.ArrayMaxSize)(100),(0,$i.Type)(()=>Bt),Y("design:type",Array)],_.prototype,"DI",void 0);Q([(0,O.IsOptional)(),(0,O.IsArray)(),(0,O.ValidateNested)({each:!0}),(0,O.ArrayMaxSize)(500),(0,$i.Type)(()=>Ic),Y("design:type",Array)],_.prototype,"detExport",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"xPed",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"nItemPed",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"nFCI",void 0);Q([(0,O.IsOptional)(),(0,O.IsArray)(),(0,O.ValidateNested)({each:!0}),(0,O.ArrayMaxSize)(500),(0,$i.Type)(()=>hr),Y("design:type",Array)],_.prototype,"rastro",void 0);Q([(0,O.IsOptional)(),(0,O.IsObject)(),(0,O.ValidateNested)(),(0,$i.Type)(()=>Oc),Y("design:type",typeof IInfProdNFF>"u"?Object:IInfProdNFF)],_.prototype,"infProdNFF",void 0);Q([(0,O.IsOptional)(),(0,O.IsObject)(),(0,O.ValidateNested)(),(0,$i.Type)(()=>as),Y("design:type",typeof IInfProdEmb>"u"?Object:IInfProdEmb)],_.prototype,"infProdEmb",void 0);Q([(0,O.IsOptional)(),(0,O.IsObject)(),(0,O.ValidateNested)(),(0,$i.Type)(()=>Se),Y("design:type",typeof IVeicProd>"u"?Object:IVeicProd)],_.prototype,"veicProd",void 0);Q([(0,O.IsOptional)(),(0,O.IsObject)(),(0,O.ValidateNested)(),(0,$i.Type)(()=>ss),Y("design:type",typeof IMed>"u"?Object:IMed)],_.prototype,"med",void 0);Q([(0,O.IsOptional)(),(0,O.IsObject)(),(0,O.ValidateNested)({each:!0}),(0,$i.Type)(()=>na),(0,O.ArrayMaxSize)(500),Y("design:type",Array)],_.prototype,"arma",void 0);Q([(0,O.IsOptional)(),(0,O.IsObject)(),(0,O.ValidateNested)(),(0,$i.Type)(()=>Jt),Y("design:type",typeof IComb>"u"?Object:IComb)],_.prototype,"comb",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"nRECOPI",void 0);_=Q([(0,U0.Choice)({properties:["veicProd","med","arma","comb"]})],_);var Fi=require("class-transformer"),Pe=require("class-validator");var f=require("class-validator"),tt=require("class-transformer"),b=require("nfets/core");function h(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(h,"_ts_decorate");function v(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(v,"_ts_metadata");var bi=class{static{a(this,"ICMS00")}orig;CST;modBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP};h([(0,f.IsString)(),v("design:type",String)],bi.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],bi.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],bi.prototype,"modBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bi.prototype,"vBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bi.prototype,"pICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bi.prototype,"vICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bi.prototype,"vBCFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bi.prototype,"pFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bi.prototype,"vFCP",void 0);var aa=class{static{a(this,"ICMS02")}orig;CST;qBCMono;adRemICMS;vICMSMono};h([(0,f.IsString)(),v("design:type",String)],aa.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],aa.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],aa.prototype,"qBCMono",void 0);h([(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],aa.prototype,"adRemICMS",void 0);h([(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],aa.prototype,"vICMSMono",void 0);var pt=class{static{a(this,"ICMS10")}orig;CST;modBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST};h([(0,f.IsString)(),v("design:type",String)],pt.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],pt.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],pt.prototype,"modBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"vBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"pICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"vICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"vBCFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"pFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"vFCP",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],pt.prototype,"modBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"pMVAST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"pRedBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"vBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"pICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"vICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"vBCFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"pFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"vFCPST",void 0);var ti=class{static{a(this,"ICMS15")}orig;CST;qBCMono;adRemICMS;vICMSMono;qBCMonoReten;adRemICMSReten;vICMSMonoReten;pRedAdRem;motRedAdRem};h([(0,f.IsString)(),v("design:type",String)],ti.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],ti.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"qBCMono",void 0);h([(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"adRemICMS",void 0);h([(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"vICMSMono",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"qBCMonoReten",void 0);h([(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"adRemICMSReten",void 0);h([(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"vICMSMonoReten",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),(0,f.Max)(100),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"pRedAdRem",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],ti.prototype,"motRedAdRem",void 0);var Fo=class{static{a(this,"ICMS20")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;vICMSDeson;motDesICMS};h([(0,f.IsString)(),v("design:type",String)],Fo.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],Fo.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Fo.prototype,"modBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"pRedBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"vBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"pICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"vICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"vBCFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"pFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"vFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"vICMSDeson",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Fo.prototype,"motDesICMS",void 0);var so=class{static{a(this,"ICMS30")}orig;CST;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST;vICMSDeson;motDesICMS};h([(0,f.IsString)(),v("design:type",String)],so.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],so.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],so.prototype,"modBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"pMVAST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"pRedBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"pICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vBCFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"pFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vICMSDeson",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],so.prototype,"motDesICMS",void 0);var ps=class{static{a(this,"ICMS40")}orig;CST;vICMSDeson;motDesICMS};h([(0,f.IsString)(),v("design:type",String)],ps.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],ps.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ps.prototype,"vICMSDeson",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],ps.prototype,"motDesICMS",void 0);var Si=class{static{a(this,"ICMS51")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;pDif;vICMSDif};h([(0,f.IsString)(),v("design:type",String)],Si.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],Si.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Si.prototype,"modBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Si.prototype,"pRedBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Si.prototype,"vBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Si.prototype,"pICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Si.prototype,"vICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),(0,f.Max)(100),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Si.prototype,"pDif",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Si.prototype,"vICMSDif",void 0);var oi=class{static{a(this,"ICMS53")}orig;CST;qBCMono;adRemICMS;vICMSMonoOp;pDif;vICMSMonoDif;vICMSMono;qBCMonoDif;adRemICMSDif};h([(0,f.IsString)(),v("design:type",String)],oi.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],oi.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oi.prototype,"qBCMono",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oi.prototype,"adRemICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oi.prototype,"vICMSMonoOp",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),(0,f.Max)(100),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oi.prototype,"pDif",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oi.prototype,"vICMSMonoDif",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oi.prototype,"vICMSMono",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oi.prototype,"qBCMonoDif",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oi.prototype,"adRemICMSDif",void 0);var co=class{static{a(this,"ICMS60")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet;vBCFCPSTRet;pFCPSTRet;vFCPSTRet;pRedBCEfet;vBCEfet;pICMSEfet;vICMSEfet};h([(0,f.IsString)(),v("design:type",String)],co.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],co.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"vBCSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"pST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"vICMSSubstituto",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"vICMSSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"vBCFCPSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"pFCPSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"vFCPSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"pRedBCEfet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"vBCEfet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"pICMSEfet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"vICMSEfet",void 0);var sa=class{static{a(this,"ICMS61")}orig;CST;qBCMonoRet;adRemICMSRet;vICMSMonoRet};h([(0,f.IsString)(),v("design:type",String)],sa.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],sa.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],sa.prototype,"qBCMonoRet",void 0);h([(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],sa.prototype,"adRemICMSRet",void 0);h([(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],sa.prototype,"vICMSMonoRet",void 0);var Ve=class{static{a(this,"ICMS70")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;vICMSDeson;motDesICMS;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST};h([(0,f.IsString)(),v("design:type",String)],Ve.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],Ve.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Ve.prototype,"modBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"pRedBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"pICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vBCFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"pFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vICMSDeson",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Ve.prototype,"motDesICMS",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Ve.prototype,"modBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"pMVAST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"pRedBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"pICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vBCFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"pFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vFCPST",void 0);var Le=class{static{a(this,"ICMS90")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;vICMSDeson;motDesICMS;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST};h([(0,f.IsString)(),v("design:type",String)],Le.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],Le.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Le.prototype,"modBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"pRedBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"pICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vBCFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"pFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vICMSDeson",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Le.prototype,"motDesICMS",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Le.prototype,"modBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"pMVAST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"pRedBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"pICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vBCFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"pFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vFCPST",void 0);var Vt=class{static{a(this,"ICMSPart")}orig;CST;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;pBCOp;UFST};h([(0,f.IsString)(),v("design:type",String)],Vt.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],Vt.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Vt.prototype,"modBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"vBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"pRedBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"pICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"vICMS",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Vt.prototype,"modBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"pMVAST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"pRedBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"vBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"pICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"vICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"pBCOp",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Vt.prototype,"UFST",void 0);var gr=class{static{a(this,"ICMSST")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};h([(0,f.IsString)(),v("design:type",String)],gr.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],gr.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gr.prototype,"vBCSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gr.prototype,"pST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gr.prototype,"vICMSSubstituto",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gr.prototype,"vICMSSTRet",void 0);var ls=class{static{a(this,"ICMSSN101")}orig;CSOSN;pCredSN;vCredICMSSN};h([(0,f.IsString)(),v("design:type",String)],ls.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],ls.prototype,"CSOSN",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ls.prototype,"pCredSN",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ls.prototype,"vCredICMSSN",void 0);var Sl=class{static{a(this,"ICMSSN102")}orig;CSOSN};h([(0,f.IsString)(),v("design:type",String)],Sl.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],Sl.prototype,"CSOSN",void 0);var en=class{static{a(this,"ICMSSN201")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};h([(0,f.IsString)(),v("design:type",String)],en.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],en.prototype,"CSOSN",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],en.prototype,"modBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],en.prototype,"vBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],en.prototype,"pICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],en.prototype,"vICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],en.prototype,"pCredSN",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],en.prototype,"vCredICMSSN",void 0);var yr=class{static{a(this,"ICMSSN202")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST};h([(0,f.IsString)(),v("design:type",String)],yr.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],yr.prototype,"CSOSN",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],yr.prototype,"modBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yr.prototype,"vBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yr.prototype,"pICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yr.prototype,"vICMSST",void 0);var po=class{static{a(this,"ICMSSN500")}orig;CSOSN;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet;vBCFCPSTRet;pFCPSTRet;vFCPSTRet;pRedBCEfet;vBCEfet;pICMSEfet;vICMSEfet};h([(0,f.IsString)(),v("design:type",String)],po.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],po.prototype,"CSOSN",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vBCSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"pST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vICMSSubstituto",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vICMSSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vBCFCPSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"pFCPSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vFCPSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"pRedBCEfet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vBCEfet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"pICMSEfet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vICMSEfet",void 0);var lo=class{static{a(this,"ICMSSN900")}orig;CSOSN;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};h([(0,f.IsString)(),v("design:type",String)],lo.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],lo.prototype,"CSOSN",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],lo.prototype,"modBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"pRedBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"pICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vICMS",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],lo.prototype,"modBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"pICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"pCredSN",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vCredICMSSN",void 0);var he=class{static{a(this,"ICMS")}ICMS00;ICMS02;ICMS10;ICMS15;ICMS20;ICMS30;ICMS40;ICMS51;ICMS53;ICMS60;ICMS61;ICMS70;ICMS90;ICMSPart;ICMSST;ICMSSN101;ICMSSN102;ICMSSN201;ICMSSN202;ICMSSN500;ICMSSN900};h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>bi),v("design:type",typeof IICMS00>"u"?Object:IICMS00)],he.prototype,"ICMS00",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>aa),v("design:type",typeof IICMS02>"u"?Object:IICMS02)],he.prototype,"ICMS02",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>pt),v("design:type",typeof IICMS10>"u"?Object:IICMS10)],he.prototype,"ICMS10",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>ti),v("design:type",typeof IICMS15>"u"?Object:IICMS15)],he.prototype,"ICMS15",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>Fo),v("design:type",typeof IICMS20>"u"?Object:IICMS20)],he.prototype,"ICMS20",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>so),v("design:type",typeof IICMS30>"u"?Object:IICMS30)],he.prototype,"ICMS30",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>ps),v("design:type",typeof IICMS40>"u"?Object:IICMS40)],he.prototype,"ICMS40",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>Si),v("design:type",typeof IICMS51>"u"?Object:IICMS51)],he.prototype,"ICMS51",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>oi),v("design:type",typeof IICMS53>"u"?Object:IICMS53)],he.prototype,"ICMS53",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>co),v("design:type",typeof IICMS60>"u"?Object:IICMS60)],he.prototype,"ICMS60",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>sa),v("design:type",typeof IICMS61>"u"?Object:IICMS61)],he.prototype,"ICMS61",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>Ve),v("design:type",typeof IICMS70>"u"?Object:IICMS70)],he.prototype,"ICMS70",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>Le),v("design:type",typeof IICMS90>"u"?Object:IICMS90)],he.prototype,"ICMS90",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>Vt),v("design:type",typeof IICMSPart>"u"?Object:IICMSPart)],he.prototype,"ICMSPart",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>gr),v("design:type",typeof IICMSST>"u"?Object:IICMSST)],he.prototype,"ICMSST",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>ls),v("design:type",typeof IICMSSN101>"u"?Object:IICMSSN101)],he.prototype,"ICMSSN101",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>Sl),v("design:type",typeof IICMSSN102>"u"?Object:IICMSSN102)],he.prototype,"ICMSSN102",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>en),v("design:type",typeof IICMSSN201>"u"?Object:IICMSSN201)],he.prototype,"ICMSSN201",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>yr),v("design:type",typeof IICMSSN202>"u"?Object:IICMSSN202)],he.prototype,"ICMSSN202",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>po),v("design:type",typeof IICMSSN500>"u"?Object:IICMSSN500)],he.prototype,"ICMSSN500",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>lo),v("design:type",typeof IICMSSN900>"u"?Object:IICMSSN900)],he.prototype,"ICMSSN900",void 0);he=h([(0,b.Choice)({properties:["ICMS00","ICMS02","ICMS10","ICMS15","ICMS20","ICMS30","ICMS40","ICMS51","ICMS53","ICMS60","ICMS61","ICMS70","ICMS90","ICMSPart","ICMSST","ICMSSN101","ICMSSN102","ICMSSN201","ICMSSN202","ICMSSN500","ICMSSN900"]})],he);var Ie=require("class-validator"),uh=require("class-transformer");function ii(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(ii,"_ts_decorate");function ni(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ni,"_ts_metadata");var xr=class{static{a(this,"IPITrib")}CST;vBC;pIPI;qUnid;vUnid;vIPI};ii([(0,Ie.IsString)(),ni("design:type",String)],xr.prototype,"CST",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.IsString)(),ni("design:type",String)],xr.prototype,"vBC",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.IsString)(),ni("design:type",String)],xr.prototype,"pIPI",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.IsString)(),ni("design:type",String)],xr.prototype,"qUnid",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.IsString)(),ni("design:type",String)],xr.prototype,"vUnid",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.IsString)(),ni("design:type",String)],xr.prototype,"vIPI",void 0);var od=class{static{a(this,"IPINT")}CST};ii([(0,Ie.IsString)(),ni("design:type",String)],od.prototype,"CST",void 0);var Ci=class{static{a(this,"IPI")}CNPJProd;cSelo;qSelo;cEnq;IPITrib;IPINT};ii([(0,Ie.IsOptional)(),(0,Ie.IsString)(),ni("design:type",String)],Ci.prototype,"CNPJProd",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.IsString)(),ni("design:type",String)],Ci.prototype,"cSelo",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.IsString)(),ni("design:type",String)],Ci.prototype,"qSelo",void 0);ii([(0,Ie.IsString)(),ni("design:type",String)],Ci.prototype,"cEnq",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.ValidateNested)(),(0,uh.Type)(()=>xr),ni("design:type",typeof IIPITrib>"u"?Object:IIPITrib)],Ci.prototype,"IPITrib",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.ValidateNested)(),(0,uh.Type)(()=>od),ni("design:type",typeof IIPINT>"u"?Object:IIPINT)],Ci.prototype,"IPINT",void 0);var Dn=require("class-validator");function id(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(id,"_ts_decorate");function nd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(nd,"_ts_metadata");var An=class{static{a(this,"II")}vBC;vDespAdu;vII;vIOF};id([(0,Dn.IsOptional)(),(0,Dn.IsString)(),nd("design:type",String)],An.prototype,"vBC",void 0);id([(0,Dn.IsOptional)(),(0,Dn.IsString)(),nd("design:type",String)],An.prototype,"vDespAdu",void 0);id([(0,Dn.IsOptional)(),(0,Dn.IsString)(),nd("design:type",String)],An.prototype,"vII",void 0);id([(0,Dn.IsOptional)(),(0,Dn.IsString)(),nd("design:type",String)],An.prototype,"vIOF",void 0);var U=require("class-validator"),Cl=require("class-transformer"),nn=require("nfets/core");function _e(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(_e,"_ts_decorate");function qe(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(qe,"_ts_metadata");var br=class{static{a(this,"PISAliq")}CST;vBC;pPIS;vPIS};_e([(0,U.IsString)(),qe("design:type",String)],br.prototype,"CST",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:2}),qe("design:type",String)],br.prototype,"vBC",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:4}),qe("design:type",String)],br.prototype,"pPIS",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:2}),qe("design:type",String)],br.prototype,"vPIS",void 0);var Sr=class{static{a(this,"PISQtde")}CST;qBCProd;vAliqProd;vPIS};_e([(0,U.IsString)(),qe("design:type",String)],Sr.prototype,"CST",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),qe("design:type",String)],Sr.prototype,"qBCProd",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),qe("design:type",String)],Sr.prototype,"vAliqProd",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:2}),qe("design:type",String)],Sr.prototype,"vPIS",void 0);var Dc=class{static{a(this,"PISNT")}CST};_e([(0,U.IsString)(),qe("design:type",String)],Dc.prototype,"CST",void 0);var tn=class{static{a(this,"PISOutr")}CST;vBC;pPIS;qBCProd;vAliqProd;vPIS};_e([(0,U.IsString)(),qe("design:type",String)],tn.prototype,"CST",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:2}),qe("design:type",String)],tn.prototype,"vBC",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:4}),qe("design:type",String)],tn.prototype,"pPIS",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),qe("design:type",String)],tn.prototype,"qBCProd",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),qe("design:type",String)],tn.prototype,"vAliqProd",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:2}),qe("design:type",String)],tn.prototype,"vPIS",void 0);var Pn=class{static{a(this,"PIS")}PISAliq;PISQtde;PISNT;PISOutr};_e([(0,U.IsOptional)(),(0,U.ValidateNested)(),(0,Cl.Type)(()=>br),qe("design:type",typeof br>"u"?Object:br)],Pn.prototype,"PISAliq",void 0);_e([(0,U.IsOptional)(),(0,U.ValidateNested)(),(0,Cl.Type)(()=>Sr),qe("design:type",typeof Sr>"u"?Object:Sr)],Pn.prototype,"PISQtde",void 0);_e([(0,U.IsOptional)(),(0,U.ValidateNested)(),(0,Cl.Type)(()=>Dc),qe("design:type",typeof Dc>"u"?Object:Dc)],Pn.prototype,"PISNT",void 0);_e([(0,U.IsOptional)(),(0,U.ValidateNested)(),(0,Cl.Type)(()=>tn),qe("design:type",typeof tn>"u"?Object:tn)],Pn.prototype,"PISOutr",void 0);var on=class{static{a(this,"PISST")}vBC;pPIS;qBCProd;vAliqProd;vPIS};_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:2}),qe("design:type",String)],on.prototype,"vBC",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:4}),qe("design:type",String)],on.prototype,"pPIS",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),qe("design:type",String)],on.prototype,"qBCProd",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),qe("design:type",String)],on.prototype,"vAliqProd",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:2}),qe("design:type",String)],on.prototype,"vPIS",void 0);var k=require("class-validator"),Nl=require("class-transformer"),sn=require("nfets/core");function Ue(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Ue,"_ts_decorate");function ke(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ke,"_ts_metadata");var Cr=class{static{a(this,"COFINSAliq")}CST;vBC;pCOFINS;vCOFINS};Ue([(0,k.IsString)(),ke("design:type",String)],Cr.prototype,"CST",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:2}),ke("design:type",String)],Cr.prototype,"vBC",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:4}),ke("design:type",String)],Cr.prototype,"pCOFINS",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:2}),ke("design:type",String)],Cr.prototype,"vCOFINS",void 0);var Nr=class{static{a(this,"COFINSQtde")}CST;qBCProd;vAliqProd;vCOFINS};Ue([(0,k.IsString)(),ke("design:type",String)],Nr.prototype,"CST",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),ke("design:type",String)],Nr.prototype,"qBCProd",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),ke("design:type",String)],Nr.prototype,"vAliqProd",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:2}),ke("design:type",String)],Nr.prototype,"vCOFINS",void 0);var Pc=class{static{a(this,"COFINSNT")}CST};Ue([(0,k.IsString)(),ke("design:type",String)],Pc.prototype,"CST",void 0);var rn=class{static{a(this,"COFINSOutr")}CST;vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};Ue([(0,k.IsString)(),ke("design:type",String)],rn.prototype,"CST",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:2}),ke("design:type",String)],rn.prototype,"vBC",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:4}),ke("design:type",String)],rn.prototype,"pCOFINS",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),ke("design:type",String)],rn.prototype,"qBCProd",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),ke("design:type",String)],rn.prototype,"vAliqProd",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:2}),ke("design:type",String)],rn.prototype,"vCOFINS",void 0);var En=class{static{a(this,"COFINS")}COFINSAliq;COFINSQtde;COFINSNT;COFINSOutr};Ue([(0,k.IsOptional)(),(0,k.ValidateNested)(),(0,Nl.Type)(()=>Cr),ke("design:type",typeof Cr>"u"?Object:Cr)],En.prototype,"COFINSAliq",void 0);Ue([(0,k.IsOptional)(),(0,k.ValidateNested)(),(0,Nl.Type)(()=>Nr),ke("design:type",typeof Nr>"u"?Object:Nr)],En.prototype,"COFINSQtde",void 0);Ue([(0,k.IsOptional)(),(0,k.ValidateNested)(),(0,Nl.Type)(()=>Pc),ke("design:type",typeof Pc>"u"?Object:Pc)],En.prototype,"COFINSNT",void 0);Ue([(0,k.IsOptional)(),(0,k.ValidateNested)(),(0,Nl.Type)(()=>rn),ke("design:type",typeof rn>"u"?Object:rn)],En.prototype,"COFINSOutr",void 0);var an=class{static{a(this,"COFINSST")}vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:2}),ke("design:type",String)],an.prototype,"vBC",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:4}),ke("design:type",String)],an.prototype,"pCOFINS",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),ke("design:type",String)],an.prototype,"qBCProd",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),ke("design:type",String)],an.prototype,"vAliqProd",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:2}),ke("design:type",String)],an.prototype,"vCOFINS",void 0);var He=require("class-validator"),Rr=require("nfets/core");function uo(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(uo,"_ts_decorate");function fo(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(fo,"_ts_metadata");var ot=class{static{a(this,"ISSQN")}vBC;vAliq;vISSQN;cMunFG;cListServ;vDeducao;vOutro;vDescIncond;vDescCond;vISSRet;indISS;indIncentivo;cServico;cMun;cPais;nProcesso};uo([(0,He.IsOptional)(),(0,Rr.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ot.prototype,"vBC",void 0);uo([(0,He.IsOptional)(),(0,Rr.TransformDecimal)({fixed:4}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ot.prototype,"vAliq",void 0);uo([(0,He.IsOptional)(),(0,Rr.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ot.prototype,"vISSQN",void 0);uo([(0,He.IsOptional)(),(0,He.IsString)(),fo("design:type",String)],ot.prototype,"cMunFG",void 0);uo([(0,He.IsOptional)(),(0,He.IsString)(),fo("design:type",String)],ot.prototype,"cListServ",void 0);uo([(0,He.IsOptional)(),(0,Rr.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ot.prototype,"vDeducao",void 0);uo([(0,He.IsOptional)(),(0,Rr.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ot.prototype,"vOutro",void 0);uo([(0,He.IsOptional)(),(0,Rr.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ot.prototype,"vDescIncond",void 0);uo([(0,He.IsOptional)(),(0,Rr.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ot.prototype,"vDescCond",void 0);uo([(0,He.IsOptional)(),(0,Rr.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ot.prototype,"vISSRet",void 0);uo([(0,He.IsString)(),fo("design:type",String)],ot.prototype,"indISS",void 0);uo([(0,He.IsString)(),fo("design:type",String)],ot.prototype,"indIncentivo",void 0);uo([(0,He.IsOptional)(),(0,He.IsString)(),fo("design:type",String)],ot.prototype,"cServico",void 0);uo([(0,He.IsOptional)(),(0,He.IsString)(),fo("design:type",String)],ot.prototype,"cMun",void 0);uo([(0,He.IsOptional)(),(0,He.IsString)(),fo("design:type",String)],ot.prototype,"cPais",void 0);uo([(0,He.IsOptional)(),(0,He.IsString)(),fo("design:type",String)],ot.prototype,"nProcesso",void 0);var mt=require("class-validator");function wr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(wr,"_ts_decorate");function Ir(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ir,"_ts_metadata");var Ao=class{static{a(this,"ICMSUFDest")}vBCUFDest;vBCFCPUFDest;pFCPUFDest;pICMSUFDest;pICMSInter;pICMSInterPart;vFCPUFDest;vICMSUFDest;vICMSUFRemet};wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"vBCUFDest",void 0);wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"vBCFCPUFDest",void 0);wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"pFCPUFDest",void 0);wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"pICMSUFDest",void 0);wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"pICMSInter",void 0);wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"pICMSInterPart",void 0);wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"vFCPUFDest",void 0);wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"vICMSUFDest",void 0);wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"vICMSUFRemet",void 0);var We=require("class-validator");var Ec=require("class-validator");function k0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(k0,"_ts_decorate");function H0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(H0,"_ts_metadata");var ca=class{static{a(this,"TransferenciaCredito")}vIBS;vCBS};k0([(0,Ec.IsOptional)(),(0,Ec.IsString)(),H0("design:type",String)],ca.prototype,"vIBS",void 0);k0([(0,Ec.IsOptional)(),(0,Ec.IsString)(),H0("design:type",String)],ca.prototype,"vCBS",void 0);var rd=require("class-validator");function dh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(dh,"_ts_decorate");function fh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(fh,"_ts_metadata");var Or=class{static{a(this,"CredPresIBSZFM")}tpCredPresIBSZFM;vCredPresIBSZFM;competApur};dh([(0,rd.IsString)(),fh("design:type",String)],Or.prototype,"tpCredPresIBSZFM",void 0);dh([(0,rd.IsString)(),fh("design:type",String)],Or.prototype,"vCredPresIBSZFM",void 0);dh([(0,rd.IsString)(),fh("design:type",String)],Or.prototype,"competApur",void 0);var Do=require("class-validator"),mh=require("class-transformer");function zn(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(zn,"_ts_decorate");function Tn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Tn,"_ts_metadata");var pa=class{static{a(this,"IBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};zn([(0,Do.IsString)(),Tn("design:type",String)],pa.prototype,"vCredPresCondSus",void 0);zn([(0,Do.IsString)(),Tn("design:type",String)],pa.prototype,"pCredPres",void 0);zn([(0,Do.IsString)(),Tn("design:type",String)],pa.prototype,"vCredPres",void 0);var la=class{static{a(this,"CBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};zn([(0,Do.IsString)(),Tn("design:type",String)],la.prototype,"vCredPresCondSus",void 0);zn([(0,Do.IsString)(),Tn("design:type",String)],la.prototype,"pCredPres",void 0);zn([(0,Do.IsString)(),Tn("design:type",String)],la.prototype,"vCredPres",void 0);var jn=class{static{a(this,"CredPresOper")}gIBSCredPres;gCBSCredPres;vBCCredPres;cCredPres};zn([(0,Do.IsOptional)(),(0,Do.ValidateNested)(),(0,mh.Type)(()=>pa),Tn("design:type",typeof pa>"u"?Object:pa)],jn.prototype,"gIBSCredPres",void 0);zn([(0,Do.IsOptional)(),(0,Do.ValidateNested)(),(0,mh.Type)(()=>la),Tn("design:type",typeof la>"u"?Object:la)],jn.prototype,"gCBSCredPres",void 0);zn([(0,Do.IsString)(),Tn("design:type",String)],jn.prototype,"vBCCredPres",void 0);zn([(0,Do.IsString)(),Tn("design:type",String)],jn.prototype,"cCredPres",void 0);var hh=require("class-validator");function G0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(G0,"_ts_decorate");function Q0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Q0,"_ts_metadata");var ua=class{static{a(this,"EstornoCred")}vIBSEstCred;vCBSEstCred};G0([(0,hh.IsString)(),Q0("design:type",String)],ua.prototype,"vIBSEstCred",void 0);G0([(0,hh.IsString)(),Q0("design:type",String)],ua.prototype,"vCBSEstCred",void 0);var ad=require("class-validator");function vh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(vh,"_ts_decorate");function gh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(gh,"_ts_metadata");var Fr=class{static{a(this,"AjusteCompet")}competApur;vCBS;vIBS};vh([(0,ad.IsString)(),gh("design:type",String)],Fr.prototype,"competApur",void 0);vh([(0,ad.IsString)(),gh("design:type",String)],Fr.prototype,"vCBS",void 0);vh([(0,ad.IsString)(),gh("design:type",String)],Fr.prototype,"vIBS",void 0);var Ln=require("class-validator"),it=require("nfets/core"),Rl=require("class-transformer");function Ae(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Ae,"_ts_decorate");function De(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(De,"_ts_metadata");var Bn=class{static{a(this,"MonoPadrao")}qBCMono;adRemIBS;adRemCBS;vIBSMono;vCBSMono};Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"qBCMono",void 0);Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"adRemIBS",void 0);Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"adRemCBS",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"vIBSMono",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"vCBSMono",void 0);var Mn=class{static{a(this,"MonoReten")}qBCMonoReten;adRemIBSReten;vIBSMonoReten;adRemCBSReten;vCBSMonoReten};Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Mn.prototype,"qBCMonoReten",void 0);Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Mn.prototype,"adRemIBSReten",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Mn.prototype,"vIBSMonoReten",void 0);Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Mn.prototype,"adRemCBSReten",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Mn.prototype,"vCBSMonoReten",void 0);var Vn=class{static{a(this,"MonoRet")}qBCMonoRet;adRemIBSRet;vIBSMonoRet;adRemCBSRet;vCBSMonoRet};Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vn.prototype,"qBCMonoRet",void 0);Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vn.prototype,"adRemIBSRet",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vn.prototype,"vIBSMonoRet",void 0);Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vn.prototype,"adRemCBSRet",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vn.prototype,"vCBSMonoRet",void 0);var Ar=class{static{a(this,"MonoDif")}pDifIBS;vIBSMonoDif;pDifCBS;vCBSMonoDif};Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ar.prototype,"pDifIBS",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ar.prototype,"vIBSMonoDif",void 0);Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ar.prototype,"pDifCBS",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ar.prototype,"vCBSMonoDif",void 0);var Ni=class{static{a(this,"IBSCBSMono")}gMonoPadrao;gMonoReten;gMonoRet;gMonoDif;vTotIBSMonoItem;vTotCBSMonoItem};Ae([(0,Ln.IsOptional)(),(0,Ln.ValidateNested)(),(0,Rl.Type)(()=>Bn),De("design:type",typeof Bn>"u"?Object:Bn)],Ni.prototype,"gMonoPadrao",void 0);Ae([(0,Ln.IsOptional)(),(0,Ln.ValidateNested)(),(0,Rl.Type)(()=>Mn),De("design:type",typeof Mn>"u"?Object:Mn)],Ni.prototype,"gMonoReten",void 0);Ae([(0,Ln.IsOptional)(),(0,Ln.ValidateNested)(),(0,Rl.Type)(()=>Vn),De("design:type",typeof Vn>"u"?Object:Vn)],Ni.prototype,"gMonoRet",void 0);Ae([(0,Ln.IsOptional)(),(0,Ln.ValidateNested)(),(0,Rl.Type)(()=>Ar),De("design:type",typeof Ar>"u"?Object:Ar)],Ni.prototype,"gMonoDif",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ni.prototype,"vTotIBSMonoItem",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ni.prototype,"vTotCBSMonoItem",void 0);var Ii=require("class-validator"),Ih=require("nfets/core");var us=require("nfets/core"),yh=require("class-validator");function da(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(da,"_ts_decorate");function fa(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(fa,"_ts_metadata");var Uo=class{static{a(this,"TribRegular")}CSTReg;cClassTribReg;pAliqEfetRegIBSUF;vTribRegIBSUF;pAliqEfetRegIBSMun;vTribRegIBSMun;pAliqEfetRegCBS;vTribRegCBS};da([(0,yh.IsString)(),fa("design:type",String)],Uo.prototype,"CSTReg",void 0);da([(0,yh.IsString)(),fa("design:type",String)],Uo.prototype,"cClassTribReg",void 0);da([(0,us.TransformDecimal)({fixed:4}),fa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"pAliqEfetRegIBSUF",void 0);da([(0,us.TransformDecimal)({fixed:2}),fa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"vTribRegIBSUF",void 0);da([(0,us.TransformDecimal)({fixed:4}),fa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"pAliqEfetRegIBSMun",void 0);da([(0,us.TransformDecimal)({fixed:2}),fa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"vTribRegIBSMun",void 0);da([(0,us.TransformDecimal)({fixed:4}),fa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"pAliqEfetRegCBS",void 0);da([(0,us.TransformDecimal)({fixed:2}),fa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"vTribRegCBS",void 0);var ds=require("nfets/core");function jc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(jc,"_ts_decorate");function zc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(zc,"_ts_metadata");var Ri=class{static{a(this,"TribCompraGov")}pAliqIBSUF;vTribIBSUF;pAliqIBSMun;vTribIBSMun;pAliqCBS;vTribCBS};jc([(0,ds.TransformDecimal)({fixed:4}),zc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"pAliqIBSUF",void 0);jc([(0,ds.TransformDecimal)({fixed:2}),zc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"vTribIBSUF",void 0);jc([(0,ds.TransformDecimal)({fixed:4}),zc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"pAliqIBSMun",void 0);jc([(0,ds.TransformDecimal)({fixed:2}),zc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"vTribIBSMun",void 0);jc([(0,ds.TransformDecimal)({fixed:4}),zc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"pAliqCBS",void 0);jc([(0,ds.TransformDecimal)({fixed:2}),zc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"vTribCBS",void 0);var Mc=require("class-transformer");var ma=require("class-validator"),Ch=require("nfets/core"),sd=require("class-transformer");var xh=require("nfets/core"),X0=require("class-validator");function Z0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Z0,"_ts_decorate");function Y0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Y0,"_ts_metadata");var mo=class{static{a(this,"DevTrib")}pDevTrib;vDevTrib};Z0([(0,X0.IsOptional)(),(0,xh.TransformDecimal)({fixed:4}),Y0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pDevTrib",void 0);Z0([(0,xh.TransformDecimal)({fixed:2}),Y0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vDevTrib",void 0);var bh=require("nfets/core");function J0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(J0,"_ts_decorate");function W0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(W0,"_ts_metadata");var ho=class{static{a(this,"Dif")}pDif;vDif};J0([(0,bh.TransformDecimal)({fixed:4}),W0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pDif",void 0);J0([(0,bh.TransformDecimal)({fixed:2}),W0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vDif",void 0);var Sh=require("nfets/core");function K0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(K0,"_ts_decorate");function $0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a($0,"_ts_metadata");var vo=class{static{a(this,"Red")}pRedAliq;pAliqEfet};K0([(0,Sh.TransformDecimal)({fixed:4}),$0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"pRedAliq",void 0);K0([(0,Sh.TransformDecimal)({fixed:4}),$0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"pAliqEfet",void 0);function wl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(wl,"_ts_decorate");function Il(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Il,"_ts_metadata");var cn=class{static{a(this,"IBSMun")}pIBSMun;gDif;gDevTrib;gRed;vIBSMun};wl([(0,Ch.TransformDecimal)({fixed:4}),Il("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cn.prototype,"pIBSMun",void 0);wl([(0,ma.IsOptional)(),(0,ma.ValidateNested)(),(0,sd.Type)(()=>ho),Il("design:type",typeof ho>"u"?Object:ho)],cn.prototype,"gDif",void 0);wl([(0,ma.IsOptional)(),(0,ma.ValidateNested)(),(0,sd.Type)(()=>mo),Il("design:type",typeof mo>"u"?Object:mo)],cn.prototype,"gDevTrib",void 0);wl([(0,ma.IsOptional)(),(0,ma.ValidateNested)(),(0,sd.Type)(()=>vo),Il("design:type",typeof vo>"u"?Object:vo)],cn.prototype,"gRed",void 0);wl([(0,Ch.TransformDecimal)({fixed:2}),Il("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cn.prototype,"vIBSMun",void 0);var ha=require("class-validator"),Nh=require("nfets/core"),cd=require("class-transformer");function Ol(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Ol,"_ts_decorate");function Fl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Fl,"_ts_metadata");var pn=class{static{a(this,"IBSUF")}pIBSUF;gDif;gDevTrib;gRed;vIBSUF};Ol([(0,Nh.TransformDecimal)({fixed:4}),Fl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pn.prototype,"pIBSUF",void 0);Ol([(0,ha.IsOptional)(),(0,ha.ValidateNested)(),(0,cd.Type)(()=>ho),Fl("design:type",typeof ho>"u"?Object:ho)],pn.prototype,"gDif",void 0);Ol([(0,ha.IsOptional)(),(0,ha.ValidateNested)(),(0,cd.Type)(()=>mo),Fl("design:type",typeof mo>"u"?Object:mo)],pn.prototype,"gDevTrib",void 0);Ol([(0,ha.IsOptional)(),(0,ha.ValidateNested)(),(0,cd.Type)(()=>vo),Fl("design:type",typeof vo>"u"?Object:vo)],pn.prototype,"gRed",void 0);Ol([(0,Nh.TransformDecimal)({fixed:2}),Fl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pn.prototype,"vIBSUF",void 0);var qn=require("class-validator"),wh=require("nfets/core"),Dl=require("class-transformer");var Rh=require("nfets/core"),Al=require("class-validator");function pd(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(pd,"_ts_decorate");function ld(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ld,"_ts_metadata");var _n=class{static{a(this,"ALCZFMCBS")}tpALCZFMCBS;nProcSuframa;pAliqEfetRegCBS;vTribRegCBS};pd([(0,Al.IsString)(),ld("design:type",String)],_n.prototype,"tpALCZFMCBS",void 0);pd([(0,Al.IsOptional)(),(0,Al.IsString)(),ld("design:type",String)],_n.prototype,"nProcSuframa",void 0);pd([(0,Rh.TransformDecimal)({fixed:4}),ld("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_n.prototype,"pAliqEfetRegCBS",void 0);pd([(0,Rh.TransformDecimal)({fixed:2}),ld("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_n.prototype,"vTribRegCBS",void 0);function Tc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Tc,"_ts_decorate");function Bc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Bc,"_ts_metadata");var wi=class{static{a(this,"CBS")}pCBS;gDif;gDevTrib;gRed;gALCZFMCBS;vCBS};Tc([(0,wh.TransformDecimal)({fixed:4}),Bc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"pCBS",void 0);Tc([(0,qn.IsOptional)(),(0,qn.ValidateNested)(),(0,Dl.Type)(()=>ho),Bc("design:type",typeof ho>"u"?Object:ho)],wi.prototype,"gDif",void 0);Tc([(0,qn.IsOptional)(),(0,qn.ValidateNested)(),(0,Dl.Type)(()=>mo),Bc("design:type",typeof mo>"u"?Object:mo)],wi.prototype,"gDevTrib",void 0);Tc([(0,qn.IsOptional)(),(0,qn.ValidateNested)(),(0,Dl.Type)(()=>vo),Bc("design:type",typeof vo>"u"?Object:vo)],wi.prototype,"gRed",void 0);Tc([(0,qn.IsOptional)(),(0,qn.ValidateNested)(),(0,Dl.Type)(()=>_n),Bc("design:type",typeof _n>"u"?Object:_n)],wi.prototype,"gALCZFMCBS",void 0);Tc([(0,wh.TransformDecimal)({fixed:2}),Bc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"vCBS",void 0);function fs(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(fs,"_ts_decorate");function ms(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ms,"_ts_metadata");var ri=class{static{a(this,"GIBSCBS")}vBC;gIBSUF;gIBSMun;vIBS;gCBS;gTribRegular;gTribCompraGov};fs([(0,Ih.TransformDecimal)({fixed:2}),ms("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"vBC",void 0);fs([(0,Ii.IsOptional)(),(0,Ii.ValidateNested)(),(0,Mc.Type)(()=>pn),ms("design:type",typeof pn>"u"?Object:pn)],ri.prototype,"gIBSUF",void 0);fs([(0,Ii.IsOptional)(),(0,Ii.ValidateNested)(),(0,Mc.Type)(()=>cn),ms("design:type",typeof cn>"u"?Object:cn)],ri.prototype,"gIBSMun",void 0);fs([(0,Ih.TransformDecimal)({fixed:2}),ms("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"vIBS",void 0);fs([(0,Ii.IsOptional)(),(0,Ii.ValidateNested)(),(0,Mc.Type)(()=>wi),ms("design:type",typeof wi>"u"?Object:wi)],ri.prototype,"gCBS",void 0);fs([(0,Ii.IsOptional)(),(0,Ii.ValidateNested)(),(0,Mc.Type)(()=>Uo),ms("design:type",typeof Uo>"u"?Object:Uo)],ri.prototype,"gTribRegular",void 0);fs([(0,Ii.IsOptional)(),(0,Ii.ValidateNested)(),(0,Mc.Type)(()=>Ri),ms("design:type",typeof Ri>"u"?Object:Ri)],ri.prototype,"gTribCompraGov",void 0);var va=require("class-transformer");function Un(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Un,"_ts_decorate");function kn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(kn,"_ts_metadata");var go=class{static{a(this,"IBSCBS")}CST;cClassTrib;indDoacao;gTransfCred;gCredPresIBSZFM;gCredPresOper;gAjusteCompet;gEstornoCred;gIBSCBSMono;gIBSCBS};Un([(0,We.IsOptional)(),(0,We.IsString)(),kn("design:type",String)],go.prototype,"CST",void 0);Un([(0,We.IsOptional)(),(0,We.IsString)(),kn("design:type",String)],go.prototype,"cClassTrib",void 0);Un([(0,We.IsOptional)(),(0,We.IsString)(),kn("design:type",String)],go.prototype,"indDoacao",void 0);Un([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,va.Type)(()=>ca),kn("design:type",typeof ca>"u"?Object:ca)],go.prototype,"gTransfCred",void 0);Un([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,va.Type)(()=>Or),kn("design:type",typeof Or>"u"?Object:Or)],go.prototype,"gCredPresIBSZFM",void 0);Un([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,va.Type)(()=>jn),kn("design:type",typeof jn>"u"?Object:jn)],go.prototype,"gCredPresOper",void 0);Un([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,va.Type)(()=>Fr),kn("design:type",typeof Fr>"u"?Object:Fr)],go.prototype,"gAjusteCompet",void 0);Un([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,va.Type)(()=>ua),kn("design:type",typeof ua>"u"?Object:ua)],go.prototype,"gEstornoCred",void 0);Un([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,va.Type)(()=>Ni),kn("design:type",typeof Ni>"u"?Object:Ni)],go.prototype,"gIBSCBSMono",void 0);Un([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,va.Type)(()=>ri),kn("design:type",typeof ri>"u"?Object:ri)],go.prototype,"gIBSCBS",void 0);var Vc=require("nfets/core"),ln=require("class-validator");function ga(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(ga,"_ts_decorate");function ya(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ya,"_ts_metadata");var ko=class{static{a(this,"IS")}CSTIS;cClassTribIS;vBCIS;pIS;adRemIS;uTrib;qTrib;vIS};ga([(0,ln.IsString)(),ya("design:type",String)],ko.prototype,"CSTIS",void 0);ga([(0,ln.IsString)(),ya("design:type",String)],ko.prototype,"cClassTribIS",void 0);ga([(0,ln.IsOptional)(),(0,Vc.TransformDecimal)({fixed:2}),ya("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"vBCIS",void 0);ga([(0,ln.IsOptional)(),(0,Vc.TransformDecimal)({fixed:4}),ya("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"pIS",void 0);ga([(0,ln.IsOptional)(),(0,Vc.TransformDecimal)({fixed:4}),ya("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"adRemIS",void 0);ga([(0,ln.IsOptional)(),(0,ln.IsString)(),ya("design:type",String)],ko.prototype,"uTrib",void 0);ga([(0,ln.IsOptional)(),(0,Vc.TransformDecimal)({fixed:4}),ya("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"qTrib",void 0);ga([(0,ln.IsOptional)(),(0,Vc.TransformDecimal)({fixed:2}),ya("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"vIS",void 0);var ud=require("nfets/core");function ai(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(ai,"_ts_decorate");function Oi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Oi,"_ts_metadata");var ht=class{static{a(this,"Imposto")}vTotTrib;ICMS;IPI;ISSQN;II;PIS;PISST;COFINS;COFINSST;ICMSUFDest;IS;IBSCBS};ai([(0,Pe.IsOptional)(),(0,ud.TransformDecimal)({fixed:2}),Oi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ht.prototype,"vTotTrib",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>he),Oi("design:type",typeof IICMS>"u"?Object:IICMS)],ht.prototype,"ICMS",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>Ci),Oi("design:type",typeof IIPI>"u"?Object:IIPI)],ht.prototype,"IPI",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>ot),Oi("design:type",typeof IISSQN>"u"?Object:IISSQN)],ht.prototype,"ISSQN",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>An),Oi("design:type",typeof III>"u"?Object:III)],ht.prototype,"II",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>Pn),Oi("design:type",typeof IPIS>"u"?Object:IPIS)],ht.prototype,"PIS",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>on),Oi("design:type",typeof IPISST>"u"?Object:IPISST)],ht.prototype,"PISST",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>En),Oi("design:type",typeof ICOFINS>"u"?Object:ICOFINS)],ht.prototype,"COFINS",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>an),Oi("design:type",typeof ICOFINSST>"u"?Object:ICOFINSST)],ht.prototype,"COFINSST",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>Ao),Oi("design:type",typeof IICMSUFDest>"u"?Object:IICMSUFDest)],ht.prototype,"ICMSUFDest",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>ko),Oi("design:type",typeof IIS>"u"?Object:IIS)],ht.prototype,"IS",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>go),Oi("design:type",typeof IIBSCBS>"u"?Object:IIBSCBS)],ht.prototype,"IBSCBS",void 0);ht=ai([(0,ud.Choice)({properties:["ICMS","ISSQN"]})],ht);var hs=require("class-validator"),eS=require("class-transformer");function Oh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Oh,"_ts_decorate");function Fh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Fh,"_ts_metadata");var dd=class{static{a(this,"IpiDevol")}vIPIDevol};Oh([(0,hs.IsString)(),Fh("design:type",String)],dd.prototype,"vIPIDevol",void 0);var Lc=class{static{a(this,"Devol")}pDevol;IPI};Oh([(0,hs.IsString)(),Fh("design:type",String)],Lc.prototype,"pDevol",void 0);Oh([(0,hs.IsOptional)(),(0,hs.ValidateNested)(),(0,eS.Type)(()=>dd),Fh("design:type",typeof IIpiDevol>"u"?Object:IIpiDevol)],Lc.prototype,"IPI",void 0);var Dr=require("class-validator"),Ah=require("class-transformer");function fd(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(fd,"_ts_decorate");function md(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(md,"_ts_metadata");var _c=class{static{a(this,"Observation")}xCampo;xTexto};fd([(0,Dr.IsString)(),md("design:type",String)],_c.prototype,"xCampo",void 0);fd([(0,Dr.IsString)(),md("design:type",String)],_c.prototype,"xTexto",void 0);var qc=class{static{a(this,"ObsItem")}obsCont;obsFisco};fd([(0,Dr.IsOptional)(),(0,Dr.ValidateNested)(),(0,Ah.Type)(()=>_c),md("design:type",typeof IObservation>"u"?Object:IObservation)],qc.prototype,"obsCont",void 0);fd([(0,Dr.IsOptional)(),(0,Dr.ValidateNested)(),(0,Ah.Type)(()=>_c),md("design:type",typeof IObservation>"u"?Object:IObservation)],qc.prototype,"obsFisco",void 0);var Pl=require("class-validator");function tS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(tS,"_ts_decorate");function oS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(oS,"_ts_metadata");var xa=class{static{a(this,"DFeReferenciado")}chaveAcesso;nItem};tS([(0,Pl.IsString)(),oS("design:type",String)],xa.prototype,"chaveAcesso",void 0);tS([(0,Pl.IsOptional)(),(0,Pl.IsString)(),oS("design:type",String)],xa.prototype,"nItem",void 0);var iS=require("nfets/core");function Pr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Pr,"_ts_decorate");function Er(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Er,"_ts_metadata");var Uc=class{static{a(this,"DetAttributes")}nItem};Pr([(0,Nt.IsString)(),Er("design:type",String)],Uc.prototype,"nItem",void 0);var Ai=class{static{a(this,"Det")}prod;imposto;impostoDevol;infAdProd;obsItem;vItem;DFeReferenciado};Pr([(0,Nt.IsObject)(),(0,Nt.ValidateNested)(),(0,vs.Type)(()=>Uc),Er("design:type",typeof IDetAttributes>"u"?Object:IDetAttributes)],Ai.prototype,"$",void 0);Pr([(0,Nt.ValidateNested)(),(0,vs.Type)(()=>_),Er("design:type",typeof IProd>"u"?Object:IProd)],Ai.prototype,"prod",void 0);Pr([(0,Nt.IsOptional)(),(0,Nt.ValidateNested)(),(0,vs.Type)(()=>ht),Er("design:type",typeof IImposto>"u"?Object:IImposto)],Ai.prototype,"imposto",void 0);Pr([(0,Nt.IsOptional)(),(0,Nt.ValidateNested)(),(0,vs.Type)(()=>Lc),Er("design:type",typeof IDevol>"u"?Object:IDevol)],Ai.prototype,"impostoDevol",void 0);Pr([(0,Nt.IsOptional)(),(0,Nt.IsString)(),Er("design:type",String)],Ai.prototype,"infAdProd",void 0);Pr([(0,Nt.IsOptional)(),(0,Nt.ValidateNested)(),(0,vs.Type)(()=>qc),Er("design:type",typeof IObsItem>"u"?Object:IObsItem)],Ai.prototype,"obsItem",void 0);Pr([(0,Nt.IsOptional)(),(0,iS.TransformDecimal)({fixed:2}),Er("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"vItem",void 0);Pr([(0,Nt.IsOptional)(),(0,Nt.ValidateNested)(),(0,vs.Type)(()=>xa),Er("design:type",typeof IDFeReferenciado>"u"?Object:IDFeReferenciado)],Ai.prototype,"DFeReferenciado",void 0);var Kt=require("class-validator"),hd=require("nfets/core");function un(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(un,"_ts_decorate");function dn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(dn,"_ts_metadata");var Wt=class{static{a(this,"Avulsa")}CNPJ;xOrgao;matr;xAgente;fone;UF;nDAR;dEmi;vDAR;repEmi;dPag};un([(0,Kt.IsString)(),dn("design:type",String)],Wt.prototype,"CNPJ",void 0);un([(0,Kt.IsString)(),dn("design:type",String)],Wt.prototype,"xOrgao",void 0);un([(0,Kt.IsString)(),dn("design:type",String)],Wt.prototype,"matr",void 0);un([(0,Kt.IsString)(),dn("design:type",String)],Wt.prototype,"xAgente",void 0);un([(0,Kt.IsOptional)(),(0,Kt.IsString)(),dn("design:type",String)],Wt.prototype,"fone",void 0);un([(0,Kt.IsString)(),dn("design:type",String)],Wt.prototype,"UF",void 0);un([(0,Kt.IsOptional)(),(0,Kt.IsString)(),dn("design:type",String)],Wt.prototype,"nDAR",void 0);un([(0,Kt.IsOptional)(),(0,hd.TransformDateString)({format:"YYYY-MM-DD"}),dn("design:type",typeof Date>"u"?Object:Date)],Wt.prototype,"dEmi",void 0);un([(0,Kt.IsOptional)(),(0,hd.TransformDecimal)({fixed:2}),dn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Wt.prototype,"vDAR",void 0);un([(0,Kt.IsString)(),dn("design:type",String)],Wt.prototype,"repEmi",void 0);un([(0,Kt.IsOptional)(),(0,Kt.IsDate)(),dn("design:type",typeof Date>"u"?Object:Date)],Wt.prototype,"dPag",void 0);var nS=require("class-validator");function NA(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(NA,"_ts_decorate");function RA(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(RA,"_ts_metadata");var gs=class{static{a(this,"InfSolicNFF")}xSolic};NA([(0,nS.IsString)(),RA("design:type",String)],gs.prototype,"xSolic",void 0);var Lt=require("class-validator"),Dh=require("class-transformer"),rS=require("nfets/core");function jr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(jr,"_ts_decorate");function ba(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ba,"_ts_metadata");var El=class{static{a(this,"Defensivo")}nReceituario;CPFRespTec};jr([(0,Lt.IsString)(),ba("design:type",String)],El.prototype,"nReceituario",void 0);jr([(0,Lt.IsString)(),ba("design:type",String)],El.prototype,"CPFRespTec",void 0);var ys=class{static{a(this,"GuiaTransito")}tpGuia;UFGuia;serieGuia;nGuia};jr([(0,Lt.IsString)(),ba("design:type",String)],ys.prototype,"tpGuia",void 0);jr([(0,Lt.IsString)(),ba("design:type",String)],ys.prototype,"UFGuia",void 0);jr([(0,Lt.IsOptional)(),(0,Lt.IsString)(),ba("design:type",String)],ys.prototype,"serieGuia",void 0);jr([(0,Lt.IsString)(),ba("design:type",String)],ys.prototype,"nGuia",void 0);var Hn=class{static{a(this,"Agropecuario")}defensivo;guiaTransito};jr([(0,Lt.IsOptional)(),(0,Lt.IsArray)(),(0,Lt.ArrayMaxSize)(20),(0,Lt.ValidateNested)({each:!0}),(0,Dh.Type)(()=>El),ba("design:type",Array)],Hn.prototype,"defensivo",void 0);jr([(0,Lt.IsOptional)(),(0,Lt.ValidateNested)(),(0,Dh.Type)(()=>ys),ba("design:type",typeof IGuiaTransito>"u"?Object:IGuiaTransito)],Hn.prototype,"guiaTransito",void 0);Hn=jr([(0,rS.Choice)({properties:["defensivo","guiaTransito"]})],Hn);var Ca=require("class-validator"),Ph=require("class-transformer");function kc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(kc,"_ts_decorate");function Hc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Hc,"_ts_metadata");var jl=class{static{a(this,"RSAKeyValue")}Modulus;Exponent};kc([(0,Ca.IsString)(),Hc("design:type",String)],jl.prototype,"Modulus",void 0);kc([(0,Ca.IsString)(),Hc("design:type",String)],jl.prototype,"Exponent",void 0);var zl=class{static{a(this,"PAASignature")}SignatureValue;RSAKeyValue};kc([(0,Ca.IsString)(),Hc("design:type",String)],zl.prototype,"SignatureValue",void 0);kc([(0,Ca.ValidateNested)(),(0,Ph.Type)(()=>jl),Hc("design:type",typeof IRSAKeyValue>"u"?Object:IRSAKeyValue)],zl.prototype,"RSAKeyValue",void 0);var Sa=class{static{a(this,"InfPAA")}CNPJPAA;PAASignature};kc([(0,Ca.IsString)(),Hc("design:type",String)],Sa.prototype,"CNPJPAA",void 0);kc([(0,Ca.ValidateNested)(),(0,Ph.Type)(()=>zl),Hc("design:type",typeof IPAASignature>"u"?Object:IPAASignature)],Sa.prototype,"PAASignature",void 0);function Ge(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Ge,"_ts_decorate");function Qe(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Qe,"_ts_metadata");var xs=class{static{a(this,"InfNFeAttributes")}Id;versao};Ge([(0,L.IsOptional)(),(0,L.IsString)(),Qe("design:type",String)],xs.prototype,"Id",void 0);Ge([(0,L.IsOptional)(),(0,L.IsString)(),Qe("design:type",String)],xs.prototype,"versao",void 0);var Ce=class{static{a(this,"InfNFe")}ide;emit;avulsa;dest;retirada;entrega;autXML;det;total;transp;cobr;pag;infIntermed;infAdic;exporta;compra;cana;infRespTec;infSolicNFF;agropecuario;infPAA};Ge([(0,L.IsObject)(),(0,L.IsNotEmptyObject)(),(0,Ke.Type)(()=>xs),(0,L.ValidateNested)(),Qe("design:type",typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes)],Ce.prototype,"$",void 0);Ge([(0,L.IsObject)(),(0,L.IsNotEmptyObject)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>K),Qe("design:type",typeof IIde>"u"?Object:IIde)],Ce.prototype,"ide",void 0);Ge([(0,L.IsObject)(),(0,L.IsNotEmptyObject)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>St),Qe("design:type",typeof IEmit>"u"?Object:IEmit)],Ce.prototype,"emit",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>Wt),Qe("design:type",typeof IAvulsa>"u"?Object:IAvulsa)],Ce.prototype,"avulsa",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>Tt),Qe("design:type",typeof IDest>"u"?Object:IDest)],Ce.prototype,"dest",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>we),Qe("design:type",typeof ILocal>"u"?Object:ILocal)],Ce.prototype,"retirada",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>we),Qe("design:type",typeof ILocal>"u"?Object:ILocal)],Ce.prototype,"entrega",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)({each:!0}),(0,L.ArrayMaxSize)(10),(0,Ke.Type)(()=>Cn),Qe("design:type",Array)],Ce.prototype,"autXML",void 0);Ge([(0,L.ValidateNested)({each:!0}),(0,L.ArrayMaxSize)(990),(0,L.ArrayMinSize)(1),(0,Ke.Type)(()=>Ai),Qe("design:type",Array)],Ce.prototype,"det",void 0);Ge([(0,L.ValidateNested)(),(0,Ke.Type)(()=>vi),Qe("design:type",typeof ITotal>"u"?Object:ITotal)],Ce.prototype,"total",void 0);Ge([(0,L.ValidateNested)(),(0,Ke.Type)(()=>ro),Qe("design:type",typeof ITransp>"u"?Object:ITransp)],Ce.prototype,"transp",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>Kr),Qe("design:type",typeof ICobr>"u"?Object:ICobr)],Ce.prototype,"cobr",void 0);Ge([(0,L.ValidateNested)(),(0,Ke.Type)(()=>ta),Qe("design:type",typeof IPag>"u"?Object:IPag)],Ce.prototype,"pag",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>Qr),Qe("design:type",typeof IInfIntermed>"u"?Object:IInfIntermed)],Ce.prototype,"infIntermed",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>Wi),Qe("design:type",typeof IInfAdic>"u"?Object:IInfAdic)],Ce.prototype,"infAdic",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>nr),Qe("design:type",typeof IExporta>"u"?Object:IExporta)],Ce.prototype,"exporta",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>rr),Qe("design:type",typeof ICompra>"u"?Object:ICompra)],Ce.prototype,"compra",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>ao),Qe("design:type",typeof ICana>"u"?Object:ICana)],Ce.prototype,"cana",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>fi),Qe("design:type",typeof IInfRespTec>"u"?Object:IInfRespTec)],Ce.prototype,"infRespTec",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>gs),Qe("design:type",typeof ISolicNFF>"u"?Object:ISolicNFF)],Ce.prototype,"infSolicNFF",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>Hn),Qe("design:type",typeof IAgropecuario>"u"?Object:IAgropecuario)],Ce.prototype,"agropecuario",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>Sa),Qe("design:type",typeof IInfPAA>"u"?Object:IInfPAA)],Ce.prototype,"infPAA",void 0);var Eh=require("class-transformer");function vd(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(vd,"_ts_decorate");function gd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(gd,"_ts_metadata");var Gc=class{static{a(this,"NFeAttributes")}xmlns};vd([(0,Po.IsString)(),(0,Po.IsNotEmpty)(),gd("design:type",String)],Gc.prototype,"xmlns",void 0);var zr=class{static{a(this,"NFe")}$;infNFe;Signature};vd([(0,Po.IsObject)(),(0,Po.IsNotEmptyObject)(),(0,Eh.Type)(()=>Gc),(0,Po.ValidateNested)(),gd("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],zr.prototype,"$",void 0);vd([(0,Po.IsObject)(),(0,Po.IsNotEmptyObject)(),(0,Eh.Type)(()=>Ce),(0,Po.ValidateNested)(),gd("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],zr.prototype,"infNFe",void 0);vd([(0,Po.Allow)(),gd("design:type",typeof Signature>"u"?Object:Signature)],zr.prototype,"Signature",void 0);var aS=require("nfets/core");var xo=require("nfets/core");var fn=a((t=[Xd])=>(e,o,i)=>{let r=i.value;r!=null&&(i.value=function(...n){return t.includes(this.schema)?r.apply(this,n):this})},"SchemaValidates");function yo(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(yo,"_ts_decorate");function q(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(q,"_ts_metadata");var lt=class{static{a(this,"NfeDetXmlBuilder")}listener;schema;data={};static create(e,o="PL_009_V4"){return new this(e,o)}constructor(e,o="PL_009_V4"){this.listener=e,this.schema=o}det(e){return this.data.$=e,this}prod(e){return this.data.prod=e,this.listener?.prod(e),this}imposto(e){return this.data.imposto=e,this.listener?.imposto(e),this}icms(e){return e?(this.data.imposto??={},this.data.imposto.ICMS=e,this.listener?.icms(e),this):this}issqn(e){return e?(this.data.imposto??={},this.data.imposto.ISSQN=e,this.listener?.issqn(e),this):this}ii(e){return 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.data.imposto??={},this.data.imposto.IS=e,this)}ibscbs(e){return e==null?this:(this.data.imposto??={},this.data.imposto.IBSCBS=e,this)}vItem(e){return this.data.vItem=e.vItem,this}dfeReferenciado(e){return this.data.DFeReferenciado=e,this}assemble(){let e={...this.data};return this.data={},e}};yo([(0,xo.Validates)(Uc),q("design:type",Function),q("design:paramtypes",[typeof IDetAttributes>"u"?Object:IDetAttributes]),q("design:returntype",void 0)],lt.prototype,"det",null);yo([(0,xo.Validates)(_),q("design:type",Function),q("design:paramtypes",[typeof IProd>"u"?Object:IProd]),q("design:returntype",void 0)],lt.prototype,"prod",null);yo([(0,xo.Validates)(ht),q("design:type",Function),q("design:paramtypes",[typeof IImposto>"u"?Object:IImposto]),q("design:returntype",void 0)],lt.prototype,"imposto",null);yo([(0,xo.Validates)(he),q("design:type",Function),q("design:paramtypes",[typeof IICMS>"u"?Object:IICMS]),q("design:returntype",void 0)],lt.prototype,"icms",null);yo([(0,xo.Validates)(ot),q("design:type",Function),q("design:paramtypes",[typeof IISSQN>"u"?Object:IISSQN]),q("design:returntype",void 0)],lt.prototype,"issqn",null);yo([(0,xo.Validates)(An),q("design:type",Function),q("design:paramtypes",[typeof III>"u"?Object:III]),q("design:returntype",void 0)],lt.prototype,"ii",null);yo([(0,xo.Validates)(Ci),q("design:type",Function),q("design:paramtypes",[typeof IIPI>"u"?Object:IIPI]),q("design:returntype",void 0)],lt.prototype,"ipi",null);yo([(0,xo.Validates)(Pn),q("design:type",Function),q("design:paramtypes",[typeof IPIS>"u"?Object:IPIS]),q("design:returntype",void 0)],lt.prototype,"pis",null);yo([(0,xo.Validates)(on),q("design:type",Function),q("design:paramtypes",[typeof IPISST>"u"?Object:IPISST]),q("design:returntype",void 0)],lt.prototype,"pisst",null);yo([(0,xo.Validates)(En),q("design:type",Function),q("design:paramtypes",[typeof ICOFINS>"u"?Object:ICOFINS]),q("design:returntype",void 0)],lt.prototype,"cofins",null);yo([(0,xo.Validates)(an),q("design:type",Function),q("design:paramtypes",[typeof ICOFINSST>"u"?Object:ICOFINSST]),q("design:returntype",void 0)],lt.prototype,"cofinsst",null);yo([(0,xo.Validates)(Ao),q("design:type",Function),q("design:paramtypes",[typeof IICMSUFDest>"u"?Object:IICMSUFDest]),q("design:returntype",void 0)],lt.prototype,"icmsufdest",null);yo([fn(So),(0,xo.Validates)(ko),q("design:type",Function),q("design:paramtypes",[typeof IIS>"u"?Object:IIS]),q("design:returntype",void 0)],lt.prototype,"is",null);yo([fn(So),(0,xo.Validates)(go),q("design:type",Function),q("design:paramtypes",[typeof IIBSCBS>"u"?Object:IIBSCBS]),q("design:returntype",void 0)],lt.prototype,"ibscbs",null);yo([fn(So),q("design:type",Function),q("design:paramtypes",[typeof IVItem>"u"?Object:IVItem]),q("design:returntype",void 0)],lt.prototype,"vItem",null);yo([fn(So),(0,xo.Validates)(xa),q("design:type",Function),q("design:paramtypes",[typeof IDFeReferenciado>"u"?Object:IDFeReferenciado]),q("design:returntype",void 0)],lt.prototype,"dfeReferenciado",null);var Qc=require("nfets/core"),ve=require("nfets/core"),yd=require("nfets/core");function Ze(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Ze,"_ts_decorate");function A(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(A,"_ts_metadata");var ce=class{static{a(this,"NfeXmlBuilder")}builder;contingency;schema;data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}}};$data=void 0;aggregators=[new yp(this)];root="NFe";$det=new gp(this);nfeDetXmlBuilder;static create(e,o,i="PL_009_V4"){return new this(e,o,i)}constructor(e,o,i="PL_009_V4"){this.builder=e,this.contingency=o,this.schema=i,this.nfeDetXmlBuilder=lt.create(this.$det,i)}infNFe(e){return this.data.infNFe.$=e,this}ide(e){return this.data.infNFe.ide=e,this}emit(e){return this.data.infNFe.emit=e,this}avulsa(e){return e==null?this:(this.data.infNFe.avulsa=e,this)}dest(e){return e==null?this:(this.data.infNFe.dest=e,this)}retirada(e){return e==null?this:(this.data.infNFe.retirada=e,this)}entrega(e){return e==null?this:(this.data.infNFe.entrega=e,this)}autXML(e){return e==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){return e==null?this:(this.data.infNFe.total.IBSCBSTot={...this.data.infNFe.total.IBSCBSTot,...e},this)}ISTot(e){return e==null?this:(this.data.infNFe.total.ISTot={...this.data.infNFe.total.ISTot,...e},this)}increment(e){let o=e(this.data.infNFe.total,this.data.infNFe.det);return this.data.infNFe.total={...this.data.infNFe.total,ICMSTot:{...this.data.infNFe.total.ICMSTot,...o.ICMSTot},ISSQNtot:o.ISSQNtot?{...this.data.infNFe.total.ISSQNtot,...o.ISSQNtot}:this.data.infNFe.total.ISSQNtot},So.includes(this.schema)&&this.buildTotalForPL_010(o),this}buildTotalForPL_010(e){let o=this.data.infNFe.total.IBSCBSTot,i=e.IBSCBSTot,r=this.data.infNFe.total.ISTot,n=e.ISTot;this.data.infNFe.total={...this.data.infNFe.total,IBSCBSTot:{...o,...i,gCBS:{...o?.gCBS,...i?.gCBS},gIBS:{...o?.gIBS,...i?.gIBS,gIBSMun:{...o?.gIBS?.gIBSMun,...i?.gIBS?.gIBSMun},gIBSUF:{...o?.gIBS?.gIBSUF,...i?.gIBS?.gIBSUF}},...i?.gMono!=null||o?.gMono!=null?{gMono:{...o?.gMono,...i?.gMono}}:{},...i?.gEstornoCred!=null||o?.gEstornoCred!=null?{gEstornoCred:{...o?.gEstornoCred,...i?.gEstornoCred}}:{}},ISTot:r||n?{...r,...n}:r,vNFTot:e.vNFTot??this.data.infNFe.total.vNFTot}}transp(e){return e==null?this:(this.data.infNFe.transp=e,this)}cobr(e){return e==null?this:(this.data.infNFe.cobr=e,this)}pag(e){return e==null?this:(this.data.infNFe.pag=e,this)}infIntermed(e){return e==null?this:(this.data.infNFe.infIntermed=e,this)}infAdic(e){return e==null?this:(this.data.infNFe.infAdic=e,this)}exporta(e){return e==null?this:(this.data.infNFe.exporta=e,this)}compra(e){return e==null?this:(this.data.infNFe.compra=e,this)}cana(e){return e==null?this:(this.data.infNFe.cana=e,this)}infRespTec(e){return e==null?this:(this.data.infNFe.infRespTec=e,this)}infSolicNFF(e){return e==null?this:(this.data.infNFe.infSolicNFF=e,this)}agropecuario(e){return e==null?this:(this.data.infNFe.agropecuario=e,this)}infPAA(e){return e==null?this:(this.data.infNFe.infPAA=e,this)}toInstance(){return(0,aS.plainToInstance)(this.data,zr,{clearEmptyValues:!0})}quiet(){return Reflect.deleteMetadata(ve.ValidateErrorsMetadata,this),this}toObject(){if(this.$data!==void 0)return(0,Qc.right)(this.$data);let e=this.errors();if(e)return(0,Qc.left)(new yd.NFeTsError(e.join(", ")));for(let o of this.aggregators)o.aggregate();return this.assertHomologValidations(),this.assertContingencyModes(),this.fillAccessKeyIfEmpty(),this.$data=$s(this.toInstance(),this.data.infNFe.emit.enderEmit.UF),(0,Qc.right)(this.$data)}async assemble(){let e=this.toObject();return e.isLeft()?e:(0,Qc.right)(await this.builder.build(e.value,{rootName:this.root}))}assertHomologValidations(){return this.data.infNFe.ide.tpAmb!==yd.Environment.Homolog?!1:(this.data.infNFe.dest&&(this.data.infNFe.dest.xNome="NF-E EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL"),!0)}assertContingencyModes(){if(this.contingency===void 0)return this.automaticallyInferContingencyMode();this.data.infNFe.ide.dhCont??=this.contingency.dhCont,this.data.infNFe.ide.xJust??=this.contingency.xJust;let{cUF:e,tpEmis:o}=this.data.infNFe.ide;if(o!==Ot.Normal)return;switch(qu[e]){case"SVCAN":return this.data.infNFe.ide.tpEmis=Ot.SVCAN,void 0;case"SVCRS":return this.data.infNFe.ide.tpEmis=Ot.SVCRS,void 0}}automaticallyInferContingencyMode(){let{xJust:e,dhCont:o,tpEmis:i}=this.data.infNFe.ide;if(!(!e&&!o&&i===Ot.Normal))return this.contingency={xJust:e??"SEFAZ fora do Ar",dhCont:o??new Date().toISOString()},this.assertContingencyModes()}errors(){return Reflect.getMetadata(ve.ValidateErrorsMetadata,this)}collect(e){let o=Reflect.getMetadata(ve.ValidateErrorsMetadata,e);if(!o)return;let i=this.errors();Reflect.defineMetadata(ve.ValidateErrorsMetadata,(i??[]).concat(o),this)}fillAccessKeyIfEmpty(){if(this.data.infNFe.$.Id)return;let e=new vp().compile({cUF:this.data.infNFe.ide.cUF,year:this.data.infNFe.ide.dhEmi.substring(2,4),month:this.data.infNFe.ide.dhEmi.substring(5,7),identification:this.data.infNFe.emit.CPF??this.data.infNFe.emit.CNPJ,mod:this.data.infNFe.ide.mod,serie:this.data.infNFe.ide.serie,nNF:this.data.infNFe.ide.nNF,tpEmis:this.data.infNFe.ide.tpEmis,cNF:this.data.infNFe.ide.cNF});this.data.infNFe.ide.cDV=e.slice(-1),this.data.infNFe.$={Id:`${this.root}${e}`,versao:this.data.infNFe.$.versao}}};Ze([(0,ve.Validates)(xs),A("design:type",Function),A("design:paramtypes",[typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes]),A("design:returntype",void 0)],ce.prototype,"infNFe",null);Ze([(0,ve.Validates)(K),A("design:type",Function),A("design:paramtypes",[typeof IIde>"u"?Object:IIde]),A("design:returntype",void 0)],ce.prototype,"ide",null);Ze([(0,ve.Validates)(St),A("design:type",Function),A("design:paramtypes",[typeof IEmit>"u"?Object:IEmit]),A("design:returntype",void 0)],ce.prototype,"emit",null);Ze([(0,ve.Validates)(Wt),A("design:type",Function),A("design:paramtypes",[typeof IAvulsa>"u"?Object:IAvulsa]),A("design:returntype",void 0)],ce.prototype,"avulsa",null);Ze([(0,ve.Validates)(Tt),A("design:type",Function),A("design:paramtypes",[typeof IDest>"u"?Object:IDest]),A("design:returntype",void 0)],ce.prototype,"dest",null);Ze([(0,ve.Validates)(we),A("design:type",Function),A("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),A("design:returntype",void 0)],ce.prototype,"retirada",null);Ze([(0,ve.Validates)(we),A("design:type",Function),A("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),A("design:returntype",void 0)],ce.prototype,"entrega",null);Ze([(0,ve.Validates)(Cn),A("design:type",Function),A("design:paramtypes",[typeof IAutXML>"u"?Object:IAutXML]),A("design:returntype",void 0)],ce.prototype,"autXML",null);Ze([(0,ve.Validates)(vi),A("design:type",Function),A("design:paramtypes",[typeof ITotal>"u"?Object:ITotal]),A("design:returntype",void 0)],ce.prototype,"total",null);Ze([fn(So),(0,ve.Validates)(Xi),A("design:type",Function),A("design:paramtypes",[typeof IIBSCBSTot>"u"?Object:IIBSCBSTot]),A("design:returntype",void 0)],ce.prototype,"IBSCBSTot",null);Ze([fn(So),(0,ve.Validates)(is),A("design:type",Function),A("design:paramtypes",[typeof IISTot>"u"?Object:IISTot]),A("design:returntype",void 0)],ce.prototype,"ISTot",null);Ze([fn(So),A("design:type",Function),A("design:paramtypes",[typeof ITotal>"u"?Object:ITotal]),A("design:returntype",void 0)],ce.prototype,"buildTotalForPL_010",null);Ze([(0,ve.Validates)(ro),A("design:type",Function),A("design:paramtypes",[typeof ITransp>"u"?Object:ITransp]),A("design:returntype",void 0)],ce.prototype,"transp",null);Ze([(0,ve.Validates)(Kr),A("design:type",Function),A("design:paramtypes",[typeof ICobr>"u"?Object:ICobr]),A("design:returntype",void 0)],ce.prototype,"cobr",null);Ze([(0,ve.Validates)(ta),A("design:type",Function),A("design:paramtypes",[typeof IPag>"u"?Object:IPag]),A("design:returntype",void 0)],ce.prototype,"pag",null);Ze([(0,ve.Validates)(Qr),A("design:type",Function),A("design:paramtypes",[typeof IInfIntermed>"u"?Object:IInfIntermed]),A("design:returntype",void 0)],ce.prototype,"infIntermed",null);Ze([(0,ve.Validates)(Wi),A("design:type",Function),A("design:paramtypes",[typeof IInfAdic>"u"?Object:IInfAdic]),A("design:returntype",void 0)],ce.prototype,"infAdic",null);Ze([(0,ve.Validates)(nr),A("design:type",Function),A("design:paramtypes",[typeof IExporta>"u"?Object:IExporta]),A("design:returntype",void 0)],ce.prototype,"exporta",null);Ze([(0,ve.Validates)(rr),A("design:type",Function),A("design:paramtypes",[typeof ICompra>"u"?Object:ICompra]),A("design:returntype",void 0)],ce.prototype,"compra",null);Ze([(0,ve.Validates)(ao),A("design:type",Function),A("design:paramtypes",[typeof ICana>"u"?Object:ICana]),A("design:returntype",void 0)],ce.prototype,"cana",null);Ze([(0,ve.Validates)(fi),A("design:type",Function),A("design:paramtypes",[typeof IInfRespTec>"u"?Object:IInfRespTec]),A("design:returntype",void 0)],ce.prototype,"infRespTec",null);Ze([(0,ve.Validates)(gs),A("design:type",Function),A("design:paramtypes",[typeof ISolicNFF>"u"?Object:ISolicNFF]),A("design:returntype",void 0)],ce.prototype,"infSolicNFF",null);Ze([fn(So),(0,ve.Validates)(Hn),A("design:type",Function),A("design:paramtypes",[typeof IAgropecuario>"u"?Object:IAgropecuario]),A("design:returntype",void 0)],ce.prototype,"agropecuario",null);Ze([fn(So),(0,ve.Validates)(Sa),A("design:type",Function),A("design:paramtypes",[typeof IInfPAA>"u"?Object:IInfPAA]),A("design:returntype",void 0)],ce.prototype,"infPAA",null);var Tl=class extends Ys{static{a(this,"NfeXmlBuilderPipeline")}certificate;schema;builder;constructor(e,o="PL_009_V4"){super(e),this.certificate=e,this.schema=o,this.builder=ce.create(this.toolkit,void 0,this.schema)}build(e){return e(this.builder),this}async assemble(){let e=await this.builder.assemble();return e.isLeft()?e:this.assertXmlSignedAndValidated(e.value)}get nfeXsdSchema(){return sS.default.resolve(hp(),this.schema,"nfe_v4.00.xsd")}async assertXmlSignedAndValidated(e){if(!this.certificate)return(0,Zc.right)(e);let o=await this.signXmlString(e);return o.isLeft()?o:this.validateXmlString(o.value)}async signXmlString(e){if(!this.certificate)return(0,Zc.right)(e);let o=await this.certificates.read(this.certificate);return o.isLeft()?o:this.xmlSigner.sign(e,{tag:"infNFe",mark:"Id"},o.value)}async validateXmlString(e){let o=await this.toolkit.validate(e,this.nfeXsdSchema);return o.isLeft()?(0,Zc.left)(new mp(o.value.message,e,{cause:o.value.cause})):(0,Zc.right)(e)}};var uS=require("nfets/core");var Cd=require("nfets/core"),dS=require("nfets/core");var lS=require("nfets/core");var Sd=require("class-transformer"),Ho=require("class-validator");var jh=require("class-validator");function cS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(cS,"_ts_decorate");function pS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(pS,"_ts_metadata");var Yc=class{static{a(this,"InfNFeSupl")}qrCode;urlChave};cS([(0,jh.IsString)(),pS("design:type",String)],Yc.prototype,"qrCode",void 0);cS([(0,jh.IsString)(),pS("design:type",String)],Yc.prototype,"urlChave",void 0);function xd(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(xd,"_ts_decorate");function bd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(bd,"_ts_metadata");var Gn=class{static{a(this,"NFCe")}$;infNFe;infNFeSupl;Signature};xd([(0,Ho.IsObject)(),(0,Ho.IsNotEmptyObject)(),(0,Sd.Type)(()=>Gc),(0,Ho.ValidateNested)(),bd("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],Gn.prototype,"$",void 0);xd([(0,Ho.IsObject)(),(0,Ho.IsNotEmptyObject)(),(0,Sd.Type)(()=>Ce),(0,Ho.ValidateNested)(),bd("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],Gn.prototype,"infNFe",void 0);xd([(0,Ho.IsObject)(),(0,Ho.IsNotEmptyObject)(),(0,Sd.Type)(()=>Yc),(0,Ho.ValidateNested)(),bd("design:type",typeof IInfNFeSupl>"u"?Object:IInfNFeSupl)],Gn.prototype,"infNFeSupl",void 0);xd([(0,Ho.Allow)(),bd("design:type",typeof Signature>"u"?Object:Signature)],Gn.prototype,"Signature",void 0);var Bl=class extends ce{static{a(this,"NfceXmlBuilder")}data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}}};static create(e,o,i="PL_009_V4"){return new this(e,o,i)}toInstance(){return(0,lS.plainToInstance)(this.data,Gn,{clearEmptyValues:!0})}assertHomologValidations(){return super.assertHomologValidations()?(this.data.infNFe.det[0].prod.xProd="NOTA FISCAL EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL",!0):!1}assertContingencyModes(){if(this.contingency===void 0)return this.automaticallyInferContingencyMode();this.data.infNFe.ide.dhCont??=this.contingency.dhCont,this.data.infNFe.ide.xJust??=this.contingency.xJust;let{tpEmis:e}=this.data.infNFe.ide;if(e===Ot.Normal)return this.data.infNFe.ide.tpEmis=Ot.OFFLINE,void 0}};var zh=class extends Tl{static{a(this,"NfceXmlBuilderPipeline")}options;nfceQrcode=new Gt(this.certificates);transmitter=new jt(this.soap,this.nfceQrcode);constructor(e,o="PL_009_V4",i){super(e,o),this.options=i}builder=Bl.create(this.toolkit,void 0,this.schema);async assertXmlSignedAndValidated(e){let o=await super.assertXmlSignedAndValidated(e);if(o.isLeft()||!this.options?.qrCode)return o;if(!this.certificate)return(0,Cd.left)(new uS.NFeTsError("Certificate is required to assemble NFCe XML with QR Code"));let i=o.value,r=await this.toolkit.parse(i),n=await this.generateQrCode(r,this.options,this.certificate);if(n.isLeft())return n;let s=await this.toolkit.build(n.value,{rootName:"infNFeSupl"}),c=this.toolkit.insertBefore(i,"Signature",s);return(0,Cd.right)(c)}async generateQrCode(e,o,i){let r=this.transmitter.service({cUF:e.infNFe.ide.cUF,tpAmb:e.infNFe.ide.tpAmb,service:"NfeConsultaQR"}),n={...o.qrCode};switch(n.version??=r.version,n.version){case"200":return await this.nfceQrcode.execute(e,{version:n.version,urlConsult:this.transmitter.getUrlConsult(e),urlService:r.url,CSC:n.CSC,CSCId:n.CSCId});case"300":{let s=await this.certificates.read(i);return s.isLeft()?s:await this.nfceQrcode.execute(e,{version:n.version,certificate:s.value,urlConsult:this.transmitter.getUrlConsult(e),urlService:r.url})}default:return(0,dS.unreachable)(n.version)}}};var fS="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAg0AAAFXCAYAAAAh5X2YAAAgAElEQVR4nOy9e5xdZX3v//7sDENMY0zTNCcnJ+XQlEORw0TkRzkUYSCZaKkSBrwEa8XLD5tgBtA2M6HUenxZj1Umk1pJhpLUS71Uy2gp4WK9ZAJM1HootZpYDz9+/CylkQaIiCHEECbz/f2xnmettffc9mWtfZl53jDZa6/P2mt/n2evtZ7v831uIhCokN7d+9qRFgAL3d98jIWGLUJaLOOXEEsMu31r18qvNtjcQCAQCGSEGm1AoP5sGt7fJmw+aIGZzZc032C+YDGwEGMhspeBFgGLgIWGLRBaDCwyrF2oALQBBaBgUPAXk2EACB017O1bu1Z+uQHJDAQCgUDGBKehhekd3t8OzPMFPzCfqJBfDCzG7JeAhSYtBluEsRixEDQfrA2jHdEOtGG0ASCBK/Rj/NvqtMOS1g50dYxkkeZAIBAINI7gNDQZm3bvL4DNkzTfzOYDy4SWIZYB/wlYitlipKVEUYG5iLkY89zrxL+qOaEx2hNmtmrrmpWPTJf+QCAQCDQvwWlo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}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}emit(e){let{left:o,right:i}=this.builder.pageMargins(),r=e?.x??o,n=this.context.data.infNFe.emit,{enderEmit:s}=n,{xNome:c}=n,p=this.context.defaults.font,u=`${p}-Bold`,l="center";this.builder.row({left:r,right:i},d=>this.builder.text(this.identification(n),{...d,align:l})).row({left:r,right:i},d=>this.builder.font(u).text(c,{...d,align:l}).font(p)).row({left:r,right:i},d=>this.builder.text(`${this.addressLine1(s)}${this.addressLine2(s)}${this.addressLine3(s)}`,{...d,align:l})).row({left:r,right:i},d=>this.builder.text(this.addressLine4(s),{...d,align:l}))}identification(e){let o=this.cpfOrCnpj(e),i=e.IE.length?` IE: ${e.IE}`:"";return`${o}${i}`}cpfOrCnpj(e){let{CNPJ:o,CPF:i}=e;return o?.length===14?`CNPJ ${o.replace(/([A-Z0-9]{2})([A-Z0-9]{3})([A-Z0-9]{3})([A-Z0-9]{4})([A-Z0-9]{2})/,"$1.$2.$3/$4-$5")}`:i?.length===11?`CPF ${i.replace(/(\d{3})(\d{3})(\d{3})(\d{2})/,"$1.$2.$3-$4")}`:""}addressLine1(e){let{xLgr:o,nro:i}=e;return`${o}, ${i}`}addressLine2(e){let{xBairro:o}=e;return`, ${o}`}addressLine3(e){let{xMun:o,UF:i}=e;return`, ${o} - ${i}`}addressLine4(e){let{fone:o}=e;return o?`Fone: ${o.replace(/(\d{2})(\d{4,5})(\d{4})/,"($1) $2-$3")}`:""}staticTexts(){let{left:e,right:o}=this.builder.pageMargins();this.builder.moveDown(.5).fontSize(this.context.options.titleFontSize).row({left:e,right:o},i=>this.builder.text("Documento Auxiliar da Nota Fiscal de Consumidor Eletr\xF4nica",{...i,align:"center"})).row({left:e,right:o},i=>this.builder.text("N\xE3o permite aproveitamento de cr\xE9dito de ICMS",{...i,align:"center"}))}get logo(){let{logo:e,ignoreDefaultLogo:o}=this.context.options;if(e)return e;if(!o)return fS}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.emit(),this.staticTexts(),this.builder}end(){t._instance=void 0}};var Na=class t{static{a(this,"FiscalMessages")}context;static _instance;constants={issuedInContingency:"EMITIDA EM CONTING\xCANCIA",pendingOfAuthorization:"Pendente de autoriza\xE7\xE3o",notProtocoledInNormalEmission:"PENDENTE DE AUTORIZA\xC7\xC3O - SEM VALOR FISCAL"};static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get contingencyBannerText(){return this.context.protNFe?.infProt?this.constants.issuedInContingency:`${this.constants.issuedInContingency}
35
+ `+n)}}catch{}}throw i}}_request(e,o){typeof e=="string"?(o=o||{},o.url=e):o=e||{},o=zi(this.defaults,o);let{transitional:i,paramsSerializer:r,headers:n}=o;i!==void 0&&kp.assertOptions(i,{silentJSONParsing:eo.transitional(eo.boolean),forcedJSONParsing:eo.transitional(eo.boolean),clarifyTimeoutError:eo.transitional(eo.boolean),legacyInterceptorReqResOrdering:eo.transitional(eo.boolean),advertiseZstdAcceptEncoding:eo.transitional(eo.boolean),validateStatusUndefinedResolves:eo.transitional(eo.boolean)},!1),r!=null&&(m.isFunction(r)?o.paramsSerializer={serialize:r}:kp.assertOptions(r,{encode:eo.function,serialize:eo.function},!0)),o.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?o.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:o.allowAbsoluteUrls=!0),kp.assertOptions(o,{baseUrl:eo.spelling("baseURL"),withXsrfToken:eo.spelling("withXSRFToken")},!0),o.method=(o.method||this.defaults.method||"get").toLowerCase();let s=n&&m.merge(n.common,n[o.method]);n&&m.forEach(["delete","get","head","post","put","patch","query","common"],C=>{delete n[C]}),o.headers=Re.concat(s,n);let c=[],p=!0;this.interceptors.request.forEach(a(function(w){if(typeof w.runWhen=="function"&&w.runWhen(o)===!1)return;p=p&&w.synchronous;let S=o.transitional||qr;S&&S.legacyInterceptorReqResOrdering?c.unshift(w.fulfilled,w.rejected):c.push(w.fulfilled,w.rejected)},"unshiftRequestInterceptors"));let u=[];this.interceptors.response.forEach(a(function(w){u.push(w.fulfilled,w.rejected)},"pushResponseInterceptors"));let l,d=0,g;if(!p){let C=[Up.bind(this),void 0];for(C.unshift(...c),C.push(...u),g=C.length,l=Promise.resolve(o);d<g;)l=l.then(C[d++],C[d++]);return l}g=c.length;let y=o;for(;d<g;){let C=c[d++],w=c[d++];try{y=C?C(y):y}catch(S){if(!w){l=Promise.reject(S);break}try{let x=w.call(this,S);m.isThenable(x)&&(l=Promise.resolve(x).then(()=>Up.call(this,y)))}catch(x){l=Promise.reject(x)}break}}if(!l)try{l=Up.call(this,y)}catch(C){l=Promise.reject(C)}for(d=0,g=u.length;d<g;)l=l.then(u[d++],u[d++]);return l}getUri(e){e=zi(this.defaults,e);let o=La(e.baseURL,e.url,e.allowAbsoluteUrls,e);return Va(o,e.params,e.paramsSerializer)}};m.forEach(["delete","get","head","options"],a(function(e){Ou.prototype[e]=function(o,i){return this.request(zi(i||{},{method:e,url:o,data:i&&m.hasOwnProp(i,"data")?i.data:void 0}))}},"forEachMethodNoData"));m.forEach(["post","put","patch","query"],a(function(e){function o(i){return a(function(n,s,c){return this.request(zi(c||{},{method:e,headers:i?{"Content-Type":"multipart/form-data"}:{},url:n,data:s}))},"httpMethod")}a(o,"generateHTTPMethod"),Ou.prototype[e]=o(),e!=="query"&&(Ou.prototype[e+"Form"]=o(!0))},"forEachMethodWithData"));var Hp=Ou;var pA=class Ub{static{a(this,"CancelToken")}constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let o;this.promise=new Promise(a(function(n){o=n},"promiseExecutor"));let i=this;this.promise.then(r=>{if(!i._listeners)return;let n=i._listeners.length;for(;n-- >0;)i._listeners[n](r);i._listeners=null}),this.promise.then=r=>{let n,s=new Promise(c=>{i.subscribe(c),n=c}).then(r);return s.cancel=a(function(){i.unsubscribe(n)},"reject"),s},e(a(function(n,s,c){i.reason||(i.reason=new Zo(n,s,c),o(i.reason))},"cancel"))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let o=this._listeners.indexOf(e);o!==-1&&this._listeners.splice(o,1)}toAbortSignal(){let e=new AbortController,o=a(i=>{e.abort(i)},"abort");return this.subscribe(o),e.signal.unsubscribe=()=>this.unsubscribe(o),e.signal}static source(){let e;return{token:new Ub(a(function(r){e=r},"executor")),cancel:e}}},kb=pA;function Sm(t){return a(function(o){return t.apply(null,o)},"wrap")}a(Sm,"spread");function Cm(t){return m.isObject(t)&&t.isAxiosError===!0}a(Cm,"isAxiosError");var Nm={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Nm).forEach(([t,e])=>{Nm[e]=t});var Hb=Nm;function Gb(t){let e=new Hp(t),o=xp(Hp.prototype.request,e);return m.extend(o,Hp.prototype,e,{allOwnKeys:!0}),m.extend(o,e,null,{allOwnKeys:!0}),o.create=a(function(r){return Gb(zi(t,r))},"create"),o}a(Gb,"createInstance");var ft=Gb(qs);ft.Axios=Hp;ft.CanceledError=Zo;ft.CancelToken=kb;ft.isCancel=Ap;ft.VERSION=Jn;ft.toFormData=_r;ft.AxiosError=R;ft.Cancel=ft.CanceledError;ft.all=a(function(e){return Promise.all(e)},"all");ft.spread=Sm;ft.isAxiosError=Cm;ft.mergeConfig=zi;ft.AxiosHeaders=Re;ft.formToJSON=t=>hu(m.isHTMLForm(t)?new FormData(t):t);ft.getAdapter=wu.getAdapter;ft.HttpStatusCode=Hb;ft.default=ft;var Fu=ft;var{Axios:yB,AxiosError:xB,CanceledError:bB,isCancel:SB,CancelToken:CB,VERSION:NB,all:RB,Cancel:wB,isAxiosError:IB,spread:OB,toFormData:FB,AxiosHeaders:AB,HttpStatusCode:DB,formToJSON:PB,getAdapter:EB,mergeConfig:jB,create:zB}=Fu;var kr=require("nfets/core"),Xs=require("nfets/core");var Ys=class{static{a(this,"Pipeline")}certificate;xmlns="http://www.portalfiscal.inf.br/nfe";http=Fu.create();toolkit=new kr.Xml2JsToolkit;caching=new kr.MemoryCacheAdapter;certificates=new kr.NativeCertificateRepository(this.http,this.caching);soap=new kr.SoapRemoteTransmissionRepository(this.toolkit,this.certificates);signer=new Xs.EntitySigner(this.toolkit,this.certificates);xmlSigner=new Xs.XmlSigner(this.toolkit,this.certificates);constructor(e){this.certificate=e}errors(){return Reflect.getMetadata(Xs.ValidateErrorsMetadata,this)}};var i0=dt(require("path"),1),Uu=require("nfets/core"),Vi=require("nfets/core"),ku=require("nfets/core");var Du=require("nfets/core"),Qb=require("class-transformer"),Ti=require("class-validator");function Au(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Au,"_ts_decorate");function wm(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(wm,"_ts_metadata");var Hr=class{static{a(this,"ConsultStatusPayload")}tpAmb;cUF;xServ="STATUS"};Au([(0,Ti.IsEnum)(Du.Environment),wm("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Hr.prototype,"tpAmb",void 0);Au([(0,Ti.IsEnum)(Du.StateCodes),wm("design:type",typeof StateCode>"u"?Object:StateCode)],Hr.prototype,"cUF",void 0);Au([(0,Ti.IsOptional)()],Hr.prototype,"xServ",void 0);var Rm=class{static{a(this,"ConsultStatusRequest")}consStatServ};Au([(0,Ti.IsNotEmptyObject)(),(0,Ti.IsObject)(),(0,Ti.ValidateNested)(),(0,Qb.Type)(()=>Hr),wm("design:type",typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload)],Rm.prototype,"consStatServ",void 0);var Zb=require("nfets/core"),Eu=require("nfets/core"),ju=require("class-transformer"),Z=require("class-validator");function xt(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(xt,"_ts_decorate");function Ht(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ht,"_ts_metadata");var Pu=class{static{a(this,"InfInutAttributes")}Id};xt([(0,Z.IsString)(),Ht("design:type",String)],Pu.prototype,"Id",void 0);var Gp=class{static{a(this,"InutNFeAttributes")}xmlns;versao};xt([(0,Z.IsString)(),Ht("design:type",String)],Gp.prototype,"xmlns",void 0);xt([(0,Z.IsString)(),(0,Z.IsOptional)(),Ht("design:type",String)],Gp.prototype,"versao",void 0);var kt=class{static{a(this,"InfInut")}$;tpAmb;xServ="INUTILIZAR";cUF;ano;CNPJ;CPF;mod;serie;nNFIni;nNFFin;xJust};xt([(0,Z.ValidateNested)(),(0,ju.Type)(()=>Pu),Ht("design:type",typeof IInfInutAttributes>"u"?Object:IInfInutAttributes)],kt.prototype,"$",void 0);xt([(0,Z.IsEnum)(Eu.Environment),Ht("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],kt.prototype,"tpAmb",void 0);xt([(0,Z.IsOptional)()],kt.prototype,"xServ",void 0);xt([(0,Z.IsEnum)(Eu.StateCodes),Ht("design:type",typeof StateCode>"u"?Object:StateCode)],kt.prototype,"cUF",void 0);xt([(0,Z.IsString)(),(0,Z.Length)(2,2),(0,Z.Matches)(/^[0-9]{2}$/),Ht("design:type",String)],kt.prototype,"ano",void 0);xt([(0,Z.IsString)(),(0,Z.IsOptional)(),Ht("design:type",String)],kt.prototype,"CNPJ",void 0);xt([(0,Z.IsString)(),(0,Z.IsOptional)(),Ht("design:type",String)],kt.prototype,"CPF",void 0);xt([(0,Z.IsString)(),(0,Z.Length)(2,2),(0,Z.Matches)(/^(55|65)$/),Ht("design:type",String)],kt.prototype,"mod",void 0);xt([(0,Z.IsString)(),(0,Z.Matches)(/^[0-9]{1,3}$/),Ht("design:type",String)],kt.prototype,"serie",void 0);xt([(0,Z.IsString)(),(0,Z.Matches)(/^[0-9]{1,9}$/),Ht("design:type",String)],kt.prototype,"nNFIni",void 0);xt([(0,Z.IsString)(),(0,Z.Matches)(/^[0-9]{1,9}$/),Ht("design:type",String)],kt.prototype,"nNFFin",void 0);xt([(0,Z.IsString)(),(0,Z.MinLength)(15),(0,Z.MaxLength)(255),Ht("design:type",String)],kt.prototype,"xJust",void 0);kt=xt([(0,Zb.Choice)({properties:["CNPJ","CPF"],required:!0})],kt);var Kn=class{static{a(this,"InutilizacaoPayload")}$;infInut;Signature};xt([(0,Z.IsObject)(),(0,Z.ValidateNested)(),(0,ju.Type)(()=>Gp),Ht("design:type",typeof IInutNFeAttributes>"u"?Object:IInutNFeAttributes)],Kn.prototype,"$",void 0);xt([(0,Z.IsObject)(),(0,Z.ValidateNested)(),(0,ju.Type)(()=>kt),Ht("design:type",typeof IInfInut>"u"?Object:IInfInut)],Kn.prototype,"infInut",void 0);xt([(0,Z.Allow)(),Ht("design:type",typeof Signature>"u"?Object:Signature)],Kn.prototype,"Signature",void 0);var Xb=require("nfets/core"),xn=require("class-validator");function Im(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Im,"_ts_decorate");function Yb(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Yb,"_ts_metadata");var Ga=class{static{a(this,"ConsultaProtocoloPayload")}tpAmb;xServ="CONSULTAR";chNFe};Im([(0,xn.IsEnum)(Xb.Environment),Yb("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Ga.prototype,"tpAmb",void 0);Im([(0,xn.IsOptional)()],Ga.prototype,"xServ",void 0);Im([(0,xn.IsString)(),(0,xn.Length)(44,44),(0,xn.Matches)(/^[A-Z0-9]{44}$/),Yb("design:type",String)],Ga.prototype,"chNFe",void 0);var Tu=require("nfets/core"),Xo=require("class-validator");function Qp(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Qp,"_ts_decorate");function zu(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(zu,"_ts_metadata");var Bi=class{static{a(this,"NfeAutorizacaoPayload")}tpAmb;cUF;idLote;indSinc="1";NFe};Qp([(0,Xo.IsEnum)(Tu.Environment),(0,Xo.IsOptional)(),zu("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Bi.prototype,"tpAmb",void 0);Qp([(0,Xo.IsEnum)(Tu.StateCodes),(0,Xo.IsOptional)(),zu("design:type",typeof StateCode>"u"?Object:StateCode)],Bi.prototype,"cUF",void 0);Qp([(0,Xo.IsString)(),(0,Xo.IsOptional)(),zu("design:type",String)],Bi.prototype,"idLote",void 0);Qp([(0,Xo.IsOptional)(),(0,Xo.IsEnum)(["0","1"])],Bi.prototype,"indSinc",void 0);Qp([(0,Xo.IsNotEmpty)(),zu("design:type",typeof T>"u"?Object:T)],Bi.prototype,"NFe",void 0);var Kb=require("nfets/core"),Bu=require("class-validator");function Jb(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Jb,"_ts_decorate");function Wb(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Wb,"_ts_metadata");var Js=class{static{a(this,"RetAutorizacaoPayload")}tpAmb;nRec};Jb([(0,Bu.IsEnum)(Kb.Environment),Wb("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Js.prototype,"tpAmb",void 0);Jb([(0,Bu.IsString)(),Wb("design:type",String)],Js.prototype,"nRec",void 0);var ae=require("class-validator"),Zp=require("class-transformer"),Lu=require("nfets/core");function bt(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(bt,"_ts_decorate");function Et(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Et,"_ts_metadata");var Mu=class{static{a(this,"InfEventoAttributes")}Id};bt([(0,ae.IsString)(),Et("design:type",String)],Mu.prototype,"Id",void 0);var Pt=class{static{a(this,"InfEvento")}$;cOrgao;tpAmb;CNPJ;CPF;chNFe;dhEvento;tpEvento;nSeqEvento;verEvento;detEvento};bt([(0,ae.IsObject)(),(0,ae.ValidateNested)(),(0,Zp.Type)(()=>Mu),Et("design:type",typeof IInfEventoAttributes>"u"?Object:IInfEventoAttributes)],Pt.prototype,"$",void 0);bt([(0,ae.IsString)(),Et("design:type",typeof StateCode>"u"?Object:StateCode)],Pt.prototype,"cOrgao",void 0);bt([(0,ae.IsString)(),Et("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Pt.prototype,"tpAmb",void 0);bt([(0,ae.IsString)(),(0,ae.IsOptional)(),Et("design:type",String)],Pt.prototype,"CNPJ",void 0);bt([(0,ae.IsString)(),(0,ae.IsOptional)(),Et("design:type",String)],Pt.prototype,"CPF",void 0);bt([(0,ae.IsString)(),Et("design:type",String)],Pt.prototype,"chNFe",void 0);bt([(0,Lu.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),Et("design:type",String)],Pt.prototype,"dhEvento",void 0);bt([(0,ae.IsEnum)(jo),Et("design:type",typeof jo>"u"?Object:jo)],Pt.prototype,"tpEvento",void 0);bt([(0,ae.IsNumber)(),Et("design:type",Number)],Pt.prototype,"nSeqEvento",void 0);bt([(0,ae.IsString)(),Et("design:type",String)],Pt.prototype,"verEvento",void 0);bt([(0,ae.IsObject)(),Et("design:type",typeof T>"u"?Object:T)],Pt.prototype,"detEvento",void 0);Pt=bt([(0,Lu.Choice)({properties:["CNPJ","CPF"],required:!0})],Pt);var Vu=class{static{a(this,"EventoItemAttributes")}xmlns};bt([(0,ae.IsString)(),Et("design:type",String)],Vu.prototype,"xmlns",void 0);var bn=class{static{a(this,"EventoItem")}$;infEvento;Signature};bt([(0,ae.IsObject)(),(0,ae.ValidateNested)(),(0,Zp.Type)(()=>Vu),Et("design:type",typeof IEventoItemAttributes>"u"?Object:IEventoItemAttributes)],bn.prototype,"$",void 0);bt([(0,ae.IsObject)(),(0,ae.ValidateNested)(),(0,Zp.Type)(()=>Pt),Et("design:type",typeof Pt>"u"?Object:Pt)],bn.prototype,"infEvento",void 0);bt([(0,ae.Allow)(),Et("design:type",typeof Signature>"u"?Object:Signature)],bn.prototype,"Signature",void 0);var Ws=class{static{a(this,"EventoPayload")}idLote;evento};bt([(0,ae.IsString)(),Et("design:type",String)],Ws.prototype,"idLote",void 0);bt([(0,ae.IsNotEmpty)(),(0,ae.ValidateNested)(),(0,Zp.Type)(()=>bn),Et("design:type",typeof bn>"u"?Object:bn)],Ws.prototype,"evento",void 0);var $b=require("nfets/core"),e0=require("nfets/core"),ui=require("class-validator");function Ks(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Ks,"_ts_decorate");function _u(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(_u,"_ts_metadata");var Mi=class{static{a(this,"ConsultaCadastroPayload")}xServ="CONS-CAD";UF;IE="";CNPJ="";CPF=""};Ks([(0,ui.IsOptional)()],Mi.prototype,"xServ",void 0);Ks([(0,ui.IsString)(),(0,ui.IsIn)(Object.values($b.StateAcronyms)),_u("design:type",typeof StateAcronym>"u"?Object:StateAcronym)],Mi.prototype,"UF",void 0);Ks([(0,ui.IsOptional)(),(0,ui.IsString)(),_u("design:type",String)],Mi.prototype,"IE",void 0);Ks([(0,ui.IsOptional)(),(0,ui.IsString)(),_u("design:type",String)],Mi.prototype,"CNPJ",void 0);Ks([(0,ui.IsOptional)(),(0,ui.IsString)(),_u("design:type",String)],Mi.prototype,"CPF",void 0);Mi=Ks([(0,e0.Choice)({properties:["IE","CNPJ","CPF"],required:!0})],Mi);var se=require("nfets/core"),t0={AM:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.am.gov.br/services2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}}},AN:{[se.Environment.Homolog]:{RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom1.nfe.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeDistribuicaoDFe:{method:"nfeDistDFeInteresse",operation:"NFeDistribuicaoDFe",version:"1.01",url:"https://hom1.nfe.fazenda.gov.br/NFeDistribuicaoDFe/NFeDistribuicaoDFe.asmx"},NfeConsultaDest:{method:"nfeConsultaNFDest",operation:"NfeConsultaDest",version:"1.01",url:"https://hom.nfe.fazenda.gov.br/NFeConsultaDest/NFeConsultaDest.asmx"},NfeDownloadNF:{method:"nfeDownloadNF",operation:"NfeDownloadNF",version:"4.00",url:"https://hom.nfe.fazenda.gov.br/NfeDownloadNF/NfeDownloadNF.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://hom.nfe.fazenda.gov.br/RecepcaoEvento/RecepcaoEvento.asmx"}},[se.Environment.Production]:{RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://www.nfe.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeDistribuicaoDFe:{method:"nfeDistDFeInteresse",operation:"NFeDistribuicaoDFe",version:"1.01",url:"https://www1.nfe.fazenda.gov.br/NFeDistribuicaoDFe/NFeDistribuicaoDFe.asmx"},NfeConsultaDest:{method:"nfeConsultaNFDest",operation:"NfeConsultaDest",version:"1.01",url:"https://www.nfe.fazenda.gov.br/NFeConsultaDest/NFeConsultaDest.asmx"},NfeDownloadNF:{method:"nfeDownloadNF",operation:"NfeDownloadNF",version:"4.00",url:"https://www.nfe.fazenda.gov.br/NfeDownloadNF/NfeDownloadNF.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://www.nfe.fazenda.gov.br/RecepcaoEvento/RecepcaoEvento.asmx"}}},BA:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"NFeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"NFeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"NFeInutilizacao",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"NFeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"ConsultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/CadConsultaCadastro4/CadConsultaCadastro4.asmx"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"NFeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"NFeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"NFeInutilizacao",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"NFeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"ConsultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.ba.gov.br/webservices/CadConsultaCadastro4/CadConsultaCadastro4.asmx"}}},GO:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/CadConsultaCadastro4"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/CadConsultaCadastro4"}}},MG:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/CadConsultaCadastro4"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/CadConsultaCadastro4"}}},MS:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/CadConsultaCadastro4"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.ms.gov.br/ws/CadConsultaCadastro4"}}},MT:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/CadConsultaCadastro4"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/CadConsultaCadastro4"}}},PE:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/CadConsultaCadastro4"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/CadConsultaCadastro4"}}},PR:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/CadConsultaCadastro4"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefa.pr.gov.br/nfe/CadConsultaCadastro4"}}},RS:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}},SP:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfestatusservico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfeautorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfeconsultaprotocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nferetautorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nferecepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/cadconsultacadastro4.asmx"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfestatusservico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfeautorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfeconsultaprotocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nferetautorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.fazenda.sp.gov.br/ws/nferecepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.fazenda.sp.gov.br/ws/cadconsultacadastro4.asmx"}}},SVAN:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}}},SVRS:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}},SVCAN:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}}},SVCRS:{[se.Environment.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[se.Environment.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}}};var ge=require("nfets/core"),lA={[ge.StateCodes.AC]:"SVRS",[ge.StateCodes.AL]:"SVRS",[ge.StateCodes.AM]:"AM",[ge.StateCodes.AP]:"SVRS",[ge.StateCodes.BA]:"BA",[ge.StateCodes.CE]:"SVRS",[ge.StateCodes.DF]:"SVRS",[ge.StateCodes.ES]:"SVRS",[ge.StateCodes.GO]:"GO",[ge.StateCodes.MA]:"SVAN",[ge.StateCodes.MG]:"MG",[ge.StateCodes.MS]:"MS",[ge.StateCodes.MT]:"MT",[ge.StateCodes.PA]:"SVRS",[ge.StateCodes.PB]:"SVRS",[ge.StateCodes.PE]:"PE",[ge.StateCodes.PI]:"SVRS",[ge.StateCodes.PR]:"PR",[ge.StateCodes.RJ]:"SVRS",[ge.StateCodes.RN]:"SVRS",[ge.StateCodes.RO]:"SVRS",[ge.StateCodes.RR]:"SVRS",[ge.StateCodes.RS]:"RS",[ge.StateCodes.SC]:"SVRS",[ge.StateCodes.SE]:"SVRS",[ge.StateCodes.SP]:"SP",[ge.StateCodes.TO]:"SVRS",AN:"AN",SVAN:"SVAN",SVRS:"SVRS",SVCAN:"SVCAN",SVCRS:"SVCRS"},o0=lA;var ye=require("nfets/core"),qu={[ye.StateCodes.AC]:"SVCAN",[ye.StateCodes.AL]:"SVCAN",[ye.StateCodes.AM]:"SVCRS",[ye.StateCodes.AP]:"SVCAN",[ye.StateCodes.BA]:"SVCRS",[ye.StateCodes.CE]:"SVCAN",[ye.StateCodes.DF]:"SVCAN",[ye.StateCodes.ES]:"SVCAN",[ye.StateCodes.GO]:"SVCRS",[ye.StateCodes.MA]:"SVCRS",[ye.StateCodes.MG]:"SVCAN",[ye.StateCodes.MS]:"SVCRS",[ye.StateCodes.MT]:"SVCRS",[ye.StateCodes.PA]:"SVCAN",[ye.StateCodes.PB]:"SVCAN",[ye.StateCodes.PE]:"SVCRS",[ye.StateCodes.PI]:"SVCAN",[ye.StateCodes.PR]:"SVCRS",[ye.StateCodes.RJ]:"SVCAN",[ye.StateCodes.RN]:"SVCAN",[ye.StateCodes.RO]:"SVCAN",[ye.StateCodes.RR]:"SVCAN",[ye.StateCodes.RS]:"SVCAN",[ye.StateCodes.SC]:"SVCAN",[ye.StateCodes.SE]:"SVCAN",[ye.StateCodes.SP]:"SVCAN",[ye.StateCodes.TO]:"SVCAN"};function Qa(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Qa,"_ts_decorate");function at(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(at,"_ts_metadata");var Vo=class{static{a(this,"NfeRemoteTransmitter")}remoteTransmissionRepository;constructor(e){this.remoteTransmissionRepository=e}xmlns="http://www.portalfiscal.inf.br/nfe";options={timeout:6e4};configure(e){this.options={...this.options,...e};let{certificate:o}=this.options;return o&&this.remoteTransmissionRepository.setCertificate(o),this.options.schema??=Ev.PL_009_V4,this}service(e){let o=e.cUF??this.options.cUF,i=e.tpAmb??this.options.tpAmb,r=this.options.contingency?qu[o]:o0[o];return t0[r][i][e.service]}errors(){return Reflect.getMetadata(Vi.ValidateErrorsMetadata,this)}validate(e){try{let o=this.errors();return o?(0,ku.left)(new Uu.NFeTsError(o.join(", "))):("cUF"in e&&(e.cUF??=this.options.cUF),"tpAmb"in e&&(e.tpAmb??=this.options.tpAmb),(0,ku.right)(e))}finally{Reflect.deleteMetadata(Vi.ValidateErrorsMetadata,this)}}ns(e,o){let i=e.$??{};return i.xmlns=this.xmlns,i.versao=o,{...e,$:i}}xsd(e){return i0.default.resolve(hp(),this.options.schema,e)}async consultStatus(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({...i,service:"NfeStatusServico"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,xsd:this.xsd("consStatServ_v4.00.xsd"),payload:{consStatServ:this.ns(i,r.version)},method:r.method})}async inutilizacao(e){let o=this.validate(e);if(o.isLeft())return o;let{cUF:i,tpAmb:r}=o.value.infInut,n=o.value,s=this.service({cUF:i,tpAmb:r,service:"NfeInutilizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:s.url,xsd:this.xsd("inutNFe_v4.00.xsd"),payload:{inutNFe:this.ns(n,s.version)},method:s.method})}async consultaProtocolo(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({cUF:i.chNFe.substring(0,2),tpAmb:i.tpAmb,service:"NfeConsultaProtocolo"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,xsd:this.xsd("consSitNFe_v4.00.xsd"),payload:{consSitNFe:this.ns(i,r.version)},method:r.method})}async autorizacao(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({...i,service:"NfeAutorizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,timeout:this.options.timeout,xsd:this.xsd("enviNFe_v4.00.xsd"),payload:{enviNFe:this.ns(i,r.version)},method:r.method})}async retAutorizacao(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({...i,service:"NfeRetAutorizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,xsd:this.xsd("consReciNFe_v4.00.xsd"),payload:{consReciNFe:this.ns(i,r.version)},method:r.method})}async recepcaoEvento(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({service:"RecepcaoEvento"});return i.evento=this.ns(i.evento,r.version),this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,xsd:this.xsd("envEvento_v1.00.xsd"),payload:{envEvento:this.ns(i,r.version)},method:r.method})}async consultaCadastro(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({cUF:Uu.StateCodes[i.UF],service:"NfeConsultaCadastro"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,xsd:this.xsd("ConsCad_v4.00.xsd"),payload:{ConsCad:this.ns(i,r.version)},method:r.method})}};Qa([(0,Vi.Validates)(Hr),at("design:type",Function),at("design:paramtypes",[typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload]),at("design:returntype",Promise)],Vo.prototype,"consultStatus",null);Qa([(0,Vi.Validates)(Kn),at("design:type",Function),at("design:paramtypes",[typeof IInutilizacaoPayload>"u"?Object:IInutilizacaoPayload]),at("design:returntype",Promise)],Vo.prototype,"inutilizacao",null);Qa([(0,Vi.Validates)(Ga),at("design:type",Function),at("design:paramtypes",[typeof IConsultaProtocoloPayload>"u"?Object:IConsultaProtocoloPayload]),at("design:returntype",Promise)],Vo.prototype,"consultaProtocolo",null);Qa([(0,Vi.Validates)(Bi),at("design:type",Function),at("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),at("design:returntype",Promise)],Vo.prototype,"autorizacao",null);Qa([(0,Vi.Validates)(Js),at("design:type",Function),at("design:paramtypes",[typeof IRetAutorizacaoPayload>"u"?Object:IRetAutorizacaoPayload]),at("design:returntype",Promise)],Vo.prototype,"retAutorizacao",null);Qa([(0,Vi.Validates)(Ws),at("design:type",Function),at("design:paramtypes",[Object]),at("design:returntype",Promise)],Vo.prototype,"recepcaoEvento",null);Qa([(0,Vi.Validates)(Mi),at("design:type",Function),at("design:paramtypes",[typeof IConsultaCadastroPayload>"u"?Object:IConsultaCadastroPayload]),at("design:returntype",Promise)],Vo.prototype,"consultaCadastro",null);var Lo=class extends Ys{static{a(this,"TransmissionPipeline")}certificate;transmitter=new Vo(this.soap);constructor(e){super(e),this.certificate=e}issuerFromIdentification(e){let o=e.toUpperCase().replace(/[^A-Z0-9]/g,"");if(!o)return(0,$n.left)(new $n.NFeTsError("CNPJ/CPF do emitente \xE9 obrigat\xF3rio"));if(o.length===11)return(0,$n.right)({CPF:o,idDigits:o.padStart(14,"0")});let i=o.padStart(14,"0");return i.length!==14?(0,$n.left)(new $n.NFeTsError("CNPJ/CPF do emitente \xE9 inv\xE1lido")):(0,$n.right)({CNPJ:i,idDigits:i})}};var n0=require("nfets/core"),r0=require("nfets/core");var uA=["MT"],dA=[n0.StateCodes.MT],fA=[[/[áàâãªä]/g,"a"],[/[ÁÀÂÃÄ]/g,"A"],[/[ÍÌÎÏ]/g,"I"],[/[íìîï]/g,"i"],[/[éèêë]/g,"e"],[/[ÉÈÊË]/g,"E"],[/[óòôõºö]/g,"o"],[/[ÓÒÔÕÖ]/g,"O"],[/[úùûü]/g,"u"],[/[ÚÙÛÜ]/g,"U"],[/ç/g,"c"],[/Ç/g,"C"],[/ñ/g,"n"],[/Ñ/g,"N"]];function mA(t){if(!t)return!1;let e=t.toUpperCase();return uA.includes(e)||dA.includes(e)}a(mA,"shouldStripSefazAccents");function hA(t){return fA.reduce((e,[o,i])=>e.replace(o,i),t)}a(hA,"replaceSefazSpecialChars");function $s(t,e){return mA(e)?Om(t):t}a($s,"sanitizeSefazText");function vA(t){return t===null||typeof t!="object"||t instanceof Date||t instanceof r0.Decimal?!1:!ArrayBuffer.isView(t)}a(vA,"isWalkableObject");function Om(t){if(typeof t=="string")return hA(t);if(Array.isArray(t))return t.map(i=>Om(i));if(!vA(t))return t;let e={};for(let[o,i]of Object.entries(t))e[o]=Om(i);return e}a(Om,"walk");function gA(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(gA,"_ts_decorate");function Fm(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Fm,"_ts_metadata");var Yp=class extends Lo{static{a(this,"EventPipeline")}async event(e,o,i){let r=await this.certificates.read(this.certificate);if(r.isLeft())return r;let n=o.chNFe.slice(0,2);this.transmitter.configure({cUF:n,...i,certificate:r.value});let s=Kl[e],c=this.issuerFromIdentification(o.identification);if(c.isLeft())return c;let{nSeqEvento:p,dhEvento:u,chNFe:l}=o,d=["ID",e,l,p.toString().padStart(2,"0")].join(""),g=$s({$:{xmlns:this.xmlns},infEvento:{$:{Id:d},cOrgao:n,tpAmb:i.tpAmb,CNPJ:c.value.CNPJ,CPF:c.value.CPF,chNFe:l,dhEvento:u,tpEvento:e,nSeqEvento:p,verEvento:s.version,detEvento:{$:{versao:s.version},descEvento:s.descEvento,...o.detEvento}}},n),y=this.validated(g);return y.isLeft()?y:await this.signer.sign(y.value,{tag:"infEvento",mark:"Id"},r.value)}versionedEvent(e,o){let i=e.$;return{...e,$:{...i,xmlns:this.xmlns,versao:o}}}async protocol(e,o,i){let{cStat:r}=o.infEvento;if(!Object.values(Gd).includes(r))return await this.toolkit.build(e,{renderOpts:{pretty:!1},rootName:"evento"});let n={evento:e,retEvento:o,$:{xmlns:this.xmlns,versao:i}};return await this.toolkit.build(n,{renderOpts:{pretty:!1},rootName:"procEventoNFe"})}validated(e){let o=this.errors();return o?(0,Gr.left)(new Gr.NFeTsError(o.join(", "))):(0,Gr.right)(e)}};gA([(0,Gr.Validates)(bn),Fm("design:type",Function),Fm("design:paramtypes",[typeof IEventoItem>"u"?Object:IEventoItem]),Fm("design:returntype",void 0)],Yp.prototype,"validated",null);var ec=require("nfets/core");var Xp=class extends Yp{static{a(this,"NfeCancelPipeline")}async execute(e,o){let i={chNFe:e.chNFe,dhEvento:e.dhEvento??new Date().toISOString(),detEvento:{nProt:e.nProt,xJust:e.xJust},nSeqEvento:1,identification:e.identification},r=await this.event(jo.Cancelamento,i,o);if(r.isLeft())return r;let n=r.value,s=Kl[jo.Cancelamento].version,c=await this.transmitter.recepcaoEvento({idLote:e.idLote??new Date().getTime().toString().slice(0,15),evento:n});if(c.isLeft())return c;let p=c.value,u=p.retEnvEvento.retEvento;if(!u)return(0,ec.left)(new ec.NFeTsError("Evento de cancelamento n\xE3o retornado"));let l=await this.protocol(this.versionedEvent(n,s),u,s);return(0,ec.right)({xml:l,response:p})}};var Za=(function(t){return t.Asynchronous="0",t.Synchronous="1",t})({});var Am=(function(t){return t.LotReceived="103",t.ProcessedBatch="104",t})({});var a0=require("nfets/core");var Jp=class extends a0.NFeTsError{static{a(this,"CouldNotReceiveResponseError")}constructor(e="Falha ao consultar protocolo de autoriza\xE7\xE3o ap\xF3s 3 tentativas, tente novamente mais tarde."){super(e)}};var Jo=require("nfets/core");var s0=(function(t){return t.Autorizada="100",t.AutorizadaForaDoPrazo="150",t.UsoDenegado="110",t.NfeDenegada="205",t.DenegadaIrregularidadeEmissor="301",t.DenegadaIrregularidadeDestinatario="302",t.DenegadaNaoHabilitadaNaUf="303",t})({});var Wp=class extends Lo{static{a(this,"NfeAuthorizerPipeline")}async execute(e,o){e.indSinc??=Za.Synchronous;let i=await this.certificates.read(this.certificate);if(i.isLeft())return i;let r=await this.handleNfeBatch(i.value,e.xml);if(r.isLeft())return r;let[n]=r.value;this.transmitter.configure({cUF:n.infNFe.ide.cUF,tpAmb:n.infNFe.ide.tpAmb,...o,contingency:this.contingency(n),certificate:i.value}),e.idLote??=new Date().getTime().toString().slice(0,15);let s=await this.transmitter.autorizacao({...e,NFe:r.value});if(s.isLeft())return s;let c=s.value;return this.isLotNotProcessed(c,e)?(0,Jo.right)(await this.handleLotNotProcessed(r.value,c)):e.indSinc===Za.Synchronous&&this.isSyncResponse(c)?(0,Jo.right)(await this.response(r.value,c)):e.indSinc===Za.Asynchronous&&this.hasReceipt(c)?await this.handleAsyncResponse(r.value,c):(0,Jo.left)(new Jp)}async protocol(e,o){let{cStat:i}=o.infProt;if(!Object.values(s0).includes(i))return await this.toolkit.build(e,{renderOpts:{pretty:!1},rootName:"NFe"});let r={NFe:e,protNFe:o,$:{xmlns:this.xmlns,versao:o.$.versao}};return await this.toolkit.build(r,{renderOpts:{pretty:!1},rootName:"nfeProc"})}async response(e,o){let i=Array.isArray(o.retEnviNFe.protNFe)?o.retEnviNFe.protNFe:[o.retEnviNFe.protNFe],r=await Promise.all(e.map((n,s)=>this.protocol(n,i[s])));return r.length>1?{xml:r,response:o}:{xml:r[0],response:o}}async signNfe(e,o){return this.signer.sign(o,{tag:"infNFe",mark:"Id"},e)}async handleNfeBatch(e,o){if(!Array.isArray(o)){let r=await this.toolkit.parse(o),n=await this.signNfe(e,r);return n.isLeft()?(0,Jo.left)(n.value):(0,Jo.right)([n.value])}let i=await Promise.all(o.map(async r=>this.signNfe(e,await this.toolkit.parse(r))));return i.some(r=>r.isLeft())?(0,Jo.left)(new Jo.NFeTsError("Failed to sign a NFe in batch")):(0,Jo.right)(i.filter(r=>r.isRight()).map(r=>r.value))}isLotNotProcessed(e,o){let{cStat:i}=e.retEnviNFe,r=o.indSinc??Za.Synchronous;return r===Za.Asynchronous&&i!==Am.LotReceived.toString()||r===Za.Synchronous&&i!==Am.ProcessedBatch.toString()}async handleLotNotProcessed(e,o){return this.response(e,this.toRejectionSyncResponse(e,o))}toRejectionSyncResponse(e,o){let{retEnviNFe:i}=o,r=e.map(n=>this.buildRejectionProtNFe(n,i));return{retEnviNFe:{...i,protNFe:r.length===1?r[0]:r}}}buildRejectionProtNFe(e,o){return{$:{versao:o.$.versao},infProt:{tpAmb:o.tpAmb,verAplic:o.verAplic,chNFe:e.infNFe.$.Id?.substring(3)??"",dhRecbto:o.dhRecbto,nProt:"",digVal:"",cStat:o.cStat,xMotivo:o.xMotivo}}}isSyncResponse(e){return"protNFe"in e.retEnviNFe&&!!e.retEnviNFe.protNFe}hasReceipt(e){return"infRec"in e.retEnviNFe&&!!e.retEnviNFe.infRec.nRec}async handleAsyncResponse(e,o){let{tpAmb:i,infRec:r}=o.retEnviNFe,{nRec:n}=r;for(let s=1;s<=3;s++){await new Promise(u=>setTimeout(u,1e3));let c=await this.transmitter.retAutorizacao({nRec:n,tpAmb:i});if(c.isLeft())continue;let p=c.value.retConsReciNFe.protNFe;if(!(!p||Array.isArray(p)&&p.length===0))return(0,Jo.right)(await this.response(e,{retEnviNFe:{...c.value.retConsReciNFe,protNFe:p}}))}return(0,Jo.left)(new Jp)}contingency(e){let{dhCont:o,xJust:i,tpEmis:r}=e.infNFe.ide;if(!(!o||!i||r===Ot.Normal))return{dhCont:o,xJust:i}}};var Li=require("nfets/core");function yA(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(yA,"_ts_decorate");function Dm(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Dm,"_ts_metadata");var tc=class extends Lo{static{a(this,"NfeVoidRangePipeline")}async execute(e,o){let i=await this.certificates.read(this.certificate);if(i.isLeft())return i;let r=this.issuerFromIdentification(e.identification);if(r.isLeft())return r;this.transmitter.configure({...o,certificate:i.value});let n=e.ano??new Date().getFullYear().toString().slice(2),s=["ID",o.cUF,n,r.value.idDigits,e.mod,e.serie.padStart(3,"0"),e.nNFIni.padStart(9,"0"),e.nNFFin.padStart(9,"0")].join(""),c=$s({$:{xmlns:this.xmlns},infInut:{$:{Id:s},tpAmb:e.tpAmb??o.tpAmb,cUF:o.cUF,ano:n,CNPJ:r.value.CNPJ,CPF:r.value.CPF,mod:e.mod,serie:e.serie,nNFIni:e.nNFIni,nNFFin:e.nNFFin,xJust:e.xJust}},o.cUF),p=this.validated(c);if(p.isLeft())return p;let u=await this.signer.sign(p.value,{tag:"infInut",mark:"Id"},i.value);if(u.isLeft())return u;let l=await this.transmitter.inutilizacao(u.value);if(l.isLeft())return l;let d=l.value,g=d.retInutNFe;if(!g)return(0,Li.left)(new Li.NFeTsError("Retorno de inutiliza\xE7\xE3o n\xE3o retornado"));let y=g.$.versao,C=await this.protocol(this.versionedInutNFe(u.value,y),g,y);return(0,Li.right)({xml:C,response:d})}versionedInutNFe(e,o){let i=e.$;return{...e,$:{...i,xmlns:this.xmlns,versao:o}}}async protocol(e,o,i){let{cStat:r}=o.infInut;if(!Object.values(Zd).includes(r))return await this.toolkit.build(e,{renderOpts:{pretty:!1},rootName:"inutNFe"});let n={inutNFe:e,retInutNFe:o,$:{xmlns:this.xmlns,versao:i}};return await this.toolkit.build(n,{renderOpts:{pretty:!1},rootName:"procInutNFe"})}validated(e){let o=this.errors();return o?(0,Li.left)(new Li.NFeTsError(o.join(", "))):(0,Li.right)(e)}};yA([(0,Li.Validates)(Kn),Dm("design:type",Function),Dm("design:paramtypes",[typeof IIInutilizacaoPayload>"u"?Object:IIInutilizacaoPayload]),Dm("design:returntype",void 0)],tc.prototype,"validated",null);var Kp=class extends Lo{static{a(this,"NfeConsultStatusPipeline")}async execute(e){let o=await this.certificates.read(this.certificate);return o.isLeft()?o:(this.transmitter.configure({...e,certificate:o.value}),await this.transmitter.consultStatus(e))}};var $p=class extends Lo{static{a(this,"NfeConsultProtocoloPipeline")}async execute(e){let o=await this.certificates.read(this.certificate);return o.isLeft()?o:(this.transmitter.configure({tpAmb:e.tpAmb,cUF:e.chNFe.substring(0,2),certificate:o.value}),await this.transmitter.consultaProtocolo(e))}};var Pm=class extends Lo{static{a(this,"NfeAuthorizationResponsePipeline")}async execute(e){let o=await this.certificates.read(this.certificate);return o.isLeft()?o:(this.transmitter.configure({cUF:e.cUF,tpAmb:e.tpAmb,certificate:o.value}),this.transmitter.retAutorizacao(e))}};var c0=dt(require("crypto"),1),er=require("nfets/core");var Gt=class{static{a(this,"NfceQrcode")}certificateRepository;constructor(e){this.certificateRepository=e}async execute(e,o){let i=await this.content(e,o);return i.isLeft()?i:(0,er.right)(this.assemble(i.value,o))}async content(e,o){return this.isVersion200(o)?await this.execute200(e,o):this.isVersion300(o)?await this.execute300(e,o):(0,er.unreachable)(o)}isVersion200(e){return e.version==="200"}isVersion300(e){return e.version==="300"}assemble(e,o){return{qrCode:e,urlChave:o.urlConsult}}getSequence(e,o){let{version:i,CSCId:r}=o,n=e.infNFe.ide.tpAmb,s=Number.parseInt(r),c=e.infNFe.$.Id?.substring(3),p=Number.parseInt(i??"")/100;if(e.infNFe.ide.tpEmis!==Ot.OFFLINE)return`${c}|${p}|${n}|${s}`;let l=e.Signature.SignedInfo.Reference.DigestValue.split("").map(y=>y.charCodeAt(0).toString(16).padStart(2,"0")).join(""),d=this.emissionDayOfMonthFormatted(e.infNFe.ide.dhEmi),g=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2);return`${c}|${p}|${n}|${d}|${g}|${l}|${s}`}async execute200(e,o){let{urlService:i,CSC:r}=o,n=this.getSequence(e,o),s=c0.default.createHash("sha1").update(`${n}${r}`).digest("hex").toUpperCase(),c=`${i}?p=`;return Promise.resolve((0,er.right)(`${c}${n}|${s}`))}getQrcodeV300OfflineIdentification(e){if(!e)return{tipo:"",documento:""};let{CPF:o,CNPJ:i,idEstrangeiro:r}=e,n=o?o.replace(/\D/g,""):i?i.replace(/[^A-Z0-9]/g,""):r?.replace(/\D/g,"");return n?n.length===11?{tipo:"2",documento:n}:n.length===14?{tipo:"1",documento:n}:r&&n.length>=3&&n.length<=14?{tipo:"3",documento:n}:{tipo:"",documento:""}:{tipo:"",documento:""}}emissionDayOfMonthFormatted(e){return String(new Date(e).getDate()).padStart(2,"0")}async execute300(e,o){let{urlService:i}=o,r=`${i}?p=`,n=e.infNFe.ide.tpAmb,s=e.infNFe.$.Id?.substring(3),c=Number.parseInt(o.version)/100;if(e.infNFe.ide.tpEmis!==Ot.OFFLINE)return(0,er.right)(`${r}${s}|${c}|${n}`);let p=this.emissionDayOfMonthFormatted(e.infNFe.ide.dhEmi),u=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2),{tipo:l,documento:d}=this.getQrcodeV300OfflineIdentification(e.infNFe.dest),g=`${s}|${c}|${n}|${p}|${u}|${l}|${d}`,y=await this.certificateRepository.sign(g,o.certificate,er.SignatureAlgorithm.SHA1);return y.isLeft()?y:(0,er.right)(`${r}${g}|${y.value}`)}};var zm=require("nfets/core");var B=require("nfets/core"),Em={AC:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hml.sefaznet.ac.gov.br/nfce/qrcode"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaznet.ac.gov.br/nfce/qrcode"}}},AL:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}}},AM:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://sistemas.sefaz.am.gov.br/nfceweb-hom/consultarNFCe.jsp"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/CscNFCe"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://sistemas.sefaz.am.gov.br/nfceweb/consultarNFCe.jsp"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/CscNFCe"}}},AP:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.sefaz.ap.gov.br/nfcehml/nfce.php"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.ap.gov.br/nfce/nfcep.php"}}},BA:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hnfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}}},CE:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfceh.sefaz.ce.gov.br/pages/ShowNFCe.html"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.ce.gov.br/pages/ShowNFCe.html"}}},DF:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://dec.fazenda.df.gov.br/ConsultarNFCe.aspx"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.fazenda.df.gov.br/nfce/qrcode"}}},ES:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://app.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}}},GO:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/v2/CscNFCe"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://nfewebhomolog.sefaz.go.gov.br/nfeweb/sites/nfce/danfeNFCe"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/v2/CscNFCe"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://nfeweb.sefaz.go.gov.br/nfeweb/sites/nfce/danfeNFCe"}}},MA:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}}},MG:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://portalsped.fazenda.mg.gov.br/portalnfce/sistema/qrcode.xhtml"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://portalsped.fazenda.mg.gov.br/portalnfce/sistema/qrcode.xhtml"}}},MT:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.mt.gov.br/nfce/consultanfce"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.mt.gov.br/nfce/consultanfce"}}},MS:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.dfe.ms.gov.br/nfce/qrcode"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.dfe.ms.gov.br/nfce/qrcode"}}},PA:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://appnfc.sefa.pa.gov.br/portal-homologacao/view/consultas/nfce/nfceForm.seam"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://appnfc.sefa.pa.gov.br/portal/view/consultas/nfce/nfceForm.seam"}}},PB:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pb.gov.br/nfcehom"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pb.gov.br/nfce"}}},PE:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfcehomolog.sefaz.pe.gov.br/nfce/consulta"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.pe.gov.br/nfce/consulta"}}},PI:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}}},PR:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.fazenda.pr.gov.br/nfce/qrcode"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.fazenda.pr.gov.br/nfce/qrcode"}}},RJ:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www4.fazenda.rj.gov.br/consultaNFCe/QRCode"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://consultadfe.fazenda.rj.gov.br/consultaNFCe/QRCode"}}},RN:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hom.nfce.set.rn.gov.br/consultarNFCe.aspx"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.set.rn.gov.br/consultarNFCe.aspx"}}},RO:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}}},RR:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://200.174.88.103:8080/nfce/servlet/qrcode"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.rr.gov.br/servlet/qrcode"}}},RS:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx"}}},SC:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://hom.sat.sef.sc.gov.br/nfce/consulta"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://sat.sef.sc.gov.br/nfce/consulta"}}},SE:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfe.se.gov.br/nfce/qrcode"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.se.gov.br/nfce/qrcode"}}},SP:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeInutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeConsultaProtocolo4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeRecepcaoEvento4.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://homologacao.nfce.epec.fazenda.sp.gov.br/EPECws/RecepcaoEPEC.asmx"},EPECStatusServico:{method:"nfeStatusServicoNF2",operation:"NfeStatusServico2",version:"4.00",url:"https://homologacao.nfce.epec.fazenda.sp.gov.br/EPECws/EPECStatusServico.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.homologacao.nfce.fazenda.sp.gov.br/qrcode"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeInutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeConsultaProtocolo4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeRecepcaoEvento4.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"1.00",url:"https://nfce.epec.fazenda.sp.gov.br/EPECws/RecepcaoEPEC.asmx"},EPECStatusServico:{method:"nfeStatusServicoNF2",operation:"NfeStatusServico2",version:"4.00",url:"https://nfce.epec.fazenda.sp.gov.br/EPECws/EPECStatusServico.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.nfce.fazenda.sp.gov.br/qrcode"}}},TO:{[B.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.to.gov.br/nfce/qrcode"}},[B.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.to.gov.br/nfce/qrcode"}}},SVRS:{[B.Environment.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"}},[B.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"}}},SVAN:{[B.Environment.Homolog]:{},[B.Environment.Production]:{}}};var V=require("nfets/core"),p0={[V.Environment.Homolog]:{[V.StateCodes.AC]:"www.sefaznet.ac.gov.br/nfce/consulta",[V.StateCodes.AL]:"www.sefaz.al.gov.br/nfce/consulta",[V.StateCodes.AP]:"www.sefaz.ap.gov.br/nfce/consulta",[V.StateCodes.AM]:"www.sefaz.am.gov.br/nfce/consulta",[V.StateCodes.BA]:"http://hinternet.sefaz.ba.gov.br/nfce/consulta",[V.StateCodes.CE]:"www.sefaz.ce.gov.br/nfce/consulta",[V.StateCodes.DF]:"www.fazenda.df.gov.br/nfce/consulta",[V.StateCodes.ES]:"www.sefaz.es.gov.br/nfce/consulta",[V.StateCodes.GO]:"www.nfce.go.gov.br/post/ver/214413/consulta-nfc-e-homologacao",[V.StateCodes.MA]:"www.sefaz.ma.gov.br/nfce/consulta",[V.StateCodes.MG]:"https://hportalsped.fazenda.mg.gov.br/portalnfce",[V.StateCodes.MS]:"http://www.dfe.ms.gov.br/nfce/consulta",[V.StateCodes.MT]:"http://homologacao.sefaz.mt.gov.br/nfce/consultanfce",[V.StateCodes.PA]:"www.sefa.pa.gov.br/nfce/consulta",[V.StateCodes.PB]:"www.sefaz.pb.gov.br/nfcehom",[V.StateCodes.PE]:"nfce.sefaz.pe.gov.br/nfce/consulta",[V.StateCodes.PR]:"http://www.fazenda.pr.gov.br/nfce/consulta",[V.StateCodes.PI]:"www.sefaz.pi.gov.br/nfce/consulta",[V.StateCodes.RJ]:"www.fazenda.rj.gov.br/nfce/consulta",[V.StateCodes.RN]:"www.set.rn.gov.br/nfce/consulta",[V.StateCodes.RO]:"www.sefin.ro.gov.br/nfce/consulta",[V.StateCodes.RR]:"www.sefaz.rr.gov.br/nfce/consulta",[V.StateCodes.RS]:"www.sefaz.rs.gov.br/nfce/consulta",[V.StateCodes.SE]:"http://www.hom.nfe.se.gov.br/nfce/consulta",[V.StateCodes.SC]:"https://hom.sat.sef.sc.gov.br/nfce/consulta",[V.StateCodes.SP]:"https://www.homologacao.nfce.fazenda.sp.gov.br/NFCeConsultaPublica",[V.StateCodes.TO]:"http://homologacao.sefaz.to.gov.br/nfce/consulta.jsf"},[V.Environment.Production]:{[V.StateCodes.AC]:"www.sefaznet.ac.gov.br/nfce/consulta",[V.StateCodes.AL]:"www.sefaz.al.gov.br/nfce/consulta",[V.StateCodes.AP]:"www.sefaz.ap.gov.br/nfce/consulta",[V.StateCodes.AM]:"www.sefaz.am.gov.br/nfce/consulta",[V.StateCodes.BA]:"http://www.sefaz.ba.gov.br/nfce/consulta",[V.StateCodes.CE]:"www.sefaz.ce.gov.br/nfce/consulta",[V.StateCodes.DF]:"www.fazenda.df.gov.br/nfce/consulta",[V.StateCodes.ES]:"www.sefaz.es.gov.br/nfce/consulta",[V.StateCodes.GO]:"www.sefaz.go.gov.br/nfce/consulta",[V.StateCodes.MA]:"www.sefaz.ma.gov.br/nfce/consulta",[V.StateCodes.MG]:"https://portalsped.fazenda.mg.gov.br/portalnfce",[V.StateCodes.MS]:"http://www.dfe.ms.gov.br/nfce/consulta",[V.StateCodes.MT]:"http://www.sefaz.mt.gov.br/nfce/consultanfce",[V.StateCodes.PA]:"www.sefa.pa.gov.br/nfce/consulta",[V.StateCodes.PE]:"nfce.sefaz.pe.gov.br/nfce/consulta",[V.StateCodes.PR]:"http://www.fazenda.pr.gov.br/nfce/consulta",[V.StateCodes.PI]:"www.sefaz.pi.gov.br/nfce/consulta",[V.StateCodes.RJ]:"www.fazenda.rj.gov.br/nfce/consulta",[V.StateCodes.RN]:"www.set.rn.gov.br/nfce/consulta",[V.StateCodes.RO]:"www.sefin.ro.gov.br/nfce/consulta",[V.StateCodes.RR]:"www.sefaz.rr.gov.br/nfce/consulta",[V.StateCodes.RS]:"www.sefaz.rs.gov.br/nfce/consulta",[V.StateCodes.SC]:"https://sat.sef.sc.gov.br/nfce/consulta",[V.StateCodes.SE]:"http://www.nfce.se.gov.br/nfce/consulta",[V.StateCodes.SP]:"https://www.nfce.fazenda.sp.gov.br/NFCeConsultaPublica",[V.StateCodes.TO]:"www.sefaz.to.gov.br/nfce/consulta",[V.StateCodes.PB]:"www.sefaz.pb.gov.br/nfce/consulta"}};var xe=require("nfets/core"),xA={[xe.StateCodes.AC]:"SVRS",[xe.StateCodes.AL]:"SVRS",[xe.StateCodes.AM]:"AM",[xe.StateCodes.AP]:"SVRS",[xe.StateCodes.BA]:"SVRS",[xe.StateCodes.CE]:"SVRS",[xe.StateCodes.DF]:"SVRS",[xe.StateCodes.ES]:"SVRS",[xe.StateCodes.GO]:"GO",[xe.StateCodes.MA]:"SVRS",[xe.StateCodes.MG]:"MG",[xe.StateCodes.MS]:"MS",[xe.StateCodes.MT]:"MT",[xe.StateCodes.PA]:"SVRS",[xe.StateCodes.PB]:"SVRS",[xe.StateCodes.PE]:"SVRS",[xe.StateCodes.PI]:"SVRS",[xe.StateCodes.PR]:"PR",[xe.StateCodes.RJ]:"SVRS",[xe.StateCodes.RN]:"SVRS",[xe.StateCodes.RO]:"SVRS",[xe.StateCodes.RR]:"SVRS",[xe.StateCodes.RS]:"RS",[xe.StateCodes.SC]:"SVRS",[xe.StateCodes.SE]:"SVRS",[xe.StateCodes.SP]:"SP",[xe.StateCodes.TO]:"SVRS",SVRS:"SVRS"},l0=xA;var Hu=class extends Bi{static{a(this,"NfceAutorizacaoPayload")}};var u0=require("nfets/core");function bA(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(bA,"_ts_decorate");function jm(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(jm,"_ts_metadata");var jt=class extends Vo{static{a(this,"NfceRemoteTransmitter")}remoteTransmissionRepository;qrCode;options={timeout:6e4};constructor(e,o){super(e),this.remoteTransmissionRepository=e,this.qrCode=o}configure(e){return super.configure(e)}service(e){let o=e.cUF??this.options.cUF,i=e.tpAmb??this.options.tpAmb,r=l0[o],c=Em[r][i][e.service];if(c)return c;let p=Object.keys(zm.StateCodes).find(u=>zm.StateCodes[u]===o);return Em[p][i][e.service]}getUrlConsult(e){let o=e.infNFe.ide.cUF,i=e.infNFe.ide.tpAmb;return p0[i][o]}async autorizacao(e){return super.autorizacao(e)}};bA([(0,u0.Validates)(Hu),jm("design:type",Function),jm("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),jm("design:returntype",Promise)],jt.prototype,"autorizacao",null);var Tm=class extends Xp{static{a(this,"NfceCancelPipeline")}qrCode=new Gt(this.certificates);transmitter=new jt(this.soap,this.qrCode)};var el=class extends Wp{static{a(this,"NfceAuthorizerPipeline")}certificate;qrCode=new Gt(this.certificates);transmitter=new jt(this.soap,this.qrCode);constructor(e){super(e),this.certificate=e}};var zt=require("nfets/core");var Bm=class extends el{static{a(this,"NfceContingencyXmlAuthorizerPipeline")}certificate;qrCode=new Gt(this.certificates);transmitter=new jt(this.soap,this.qrCode);constructor(e){super(e),this.certificate=e}async handleNfeBatch(e,o){if(!Array.isArray(o))return this.parseContingencyXml(o).then(r=>r.isLeft()?r:(0,zt.right)([r.value]));let i=await Promise.all(o.map(r=>this.parseContingencyXml(r)));if(i.some(r=>r.isLeft())){let r=i.find(n=>n.isLeft());return(0,zt.left)(r?.value??new zt.NFeTsError("NFC-e XML must be signed"))}return(0,zt.right)(i.filter(r=>r.isRight()).map(r=>r.value))}async parseContingencyXml(e){let o=await this.toolkit.parse(e);return this.assertSignatureIntegrity(o)}async assertSignatureIntegrity(e){let o=e.Signature?.SignedInfo?.Reference?.DigestValue;if(!o)return(0,zt.left)(new zt.NFeTsError("NFC-e XML must be signed"));let i=await this.rebuildInfNFeNode(e);if(i.isLeft())return i;let r=this.signatureAlgorithm(e);return this.toolkit.digest(i.value,r)!==o?(0,zt.left)(new zt.NFeTsError("NFC-e XML signature digest mismatch")):(0,zt.right)(e)}async rebuildInfNFeNode(e){let o=e.$?.xmlns,{$:i,...r}=e.infNFe??{};delete i.xmlns;let n=await this.toolkit.build({$:{xmlns:o,...i},...r},{headless:!0,rootName:"infNFe",renderOpts:{pretty:!1}});return(0,zt.right)(n)}signatureAlgorithm(e){return e.Signature?.SignedInfo?.Reference?.DigestMethod?.$?.Algorithm===zt.DigestAlgorithm.SHA256?zt.SignatureAlgorithm.SHA256:zt.SignatureAlgorithm.SHA1}};var Mm=class extends tc{static{a(this,"NfceVoidRangePipeline")}qrCode=new Gt(this.certificates);transmitter=new jt(this.soap,this.qrCode)};var Vm=class extends Kp{static{a(this,"NfceConsultStatusPipeline")}qrCode=new Gt(this.certificates);transmitter=new jt(this.soap,this.qrCode)};var Lm=class extends $p{static{a(this,"NfceConsultProtocoloPipeline")}qrCode=new Gt(this.certificates);transmitter=new jt(this.soap,this.qrCode)};var sS=dt(require("path"),1),Zc=require("nfets/core");var Po=require("class-validator");var L=require("class-validator"),Ke=require("class-transformer");var I=require("class-validator"),Xa=require("class-transformer"),ir=require("nfets/core"),d0=require("nfets/core");function z(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(z,"_ts_decorate");function M(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(M,"_ts_metadata");var tr=class{static{a(this,"RefNF")}cUF;AAMM;CNPJ;mod;serie;nNF};z([(0,I.IsString)(),M("design:type",String)],tr.prototype,"cUF",void 0);z([(0,I.IsString)(),M("design:type",String)],tr.prototype,"AAMM",void 0);z([(0,I.IsString)(),M("design:type",String)],tr.prototype,"CNPJ",void 0);z([(0,I.IsString)(),M("design:type",String)],tr.prototype,"mod",void 0);z([(0,I.IsString)(),M("design:type",String)],tr.prototype,"serie",void 0);z([(0,I.IsString)(),M("design:type",String)],tr.prototype,"nNF",void 0);var Wo=class{static{a(this,"RefNFP")}cUF;AAMM;CNPJ="";CPF="";IE;mod;serie;nNF};z([(0,I.IsString)(),M("design:type",String)],Wo.prototype,"cUF",void 0);z([(0,I.IsString)(),M("design:type",String)],Wo.prototype,"AAMM",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],Wo.prototype,"CNPJ",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],Wo.prototype,"CPF",void 0);z([(0,I.IsString)(),M("design:type",String)],Wo.prototype,"IE",void 0);z([(0,I.IsString)(),M("design:type",String)],Wo.prototype,"mod",void 0);z([(0,I.IsString)(),M("design:type",String)],Wo.prototype,"serie",void 0);z([(0,I.IsString)(),M("design:type",String)],Wo.prototype,"nNF",void 0);Wo=z([(0,ir.Choice)({properties:["CNPJ","CPF"],required:!0})],Wo);var oc=class{static{a(this,"RefECF")}mod;nECF;nCOO};z([(0,I.IsString)(),M("design:type",String)],oc.prototype,"mod",void 0);z([(0,I.IsString)(),M("design:type",String)],oc.prototype,"nECF",void 0);z([(0,I.IsString)(),M("design:type",String)],oc.prototype,"nCOO",void 0);var or=class{static{a(this,"NFref")}refNFe;refNFeSig;refNF;refNFP;refCTe;refECF};z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],or.prototype,"refNFe",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],or.prototype,"refNFeSig",void 0);z([(0,I.IsOptional)(),(0,I.ValidateNested)(),(0,Xa.Type)(()=>tr),M("design:type",typeof IRefNF>"u"?Object:IRefNF)],or.prototype,"refNF",void 0);z([(0,I.IsOptional)(),(0,I.ValidateNested)(),(0,Xa.Type)(()=>Wo),M("design:type",typeof IRefNFP>"u"?Object:IRefNFP)],or.prototype,"refNFP",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],or.prototype,"refCTe",void 0);z([(0,I.IsOptional)(),(0,I.ValidateNested)(),(0,Xa.Type)(()=>oc),M("design:type",typeof IRefECF>"u"?Object:IRefECF)],or.prototype,"refECF",void 0);var Ya=class{static{a(this,"CompraGov")}tpEnteGov;pRedutor;tpOperGov;refDFeAnt};z([(0,I.IsString)(),M("design:type",String)],Ya.prototype,"tpEnteGov",void 0);z([(0,ir.TransformDecimal)({fixed:4}),M("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ya.prototype,"pRedutor",void 0);z([(0,I.IsString)(),M("design:type",String)],Ya.prototype,"tpOperGov",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],Ya.prototype,"refDFeAnt",void 0);var Gu=class{static{a(this,"PagAntecipado")}refNFe};z([(0,I.IsArray)(),(0,I.ArrayMaxSize)(99),(0,I.IsString)({each:!0}),M("design:type",Array)],Gu.prototype,"refNFe",void 0);var K=class{static{a(this,"Ide")}cUF;cNF;natOp;mod;serie;nNF;dhEmi;dhSaiEnt;dPrevEntrega;tpNF;idDest;cMunFG;cMunFGIBS;tpImp;tpEmis;cDV="";tpAmb;finNFe;tpNFDebito;tpNFCredito;indFinal;indPres;indIntermed;cIndOp;procEmi;verProc;dhCont;xJust;NFref;gCompraGov;gPagAntecipado};z([(0,I.IsEnum)(d0.StateCodes),M("design:type",typeof StateCode>"u"?Object:StateCode)],K.prototype,"cUF",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"cNF",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"natOp",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"mod",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"serie",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"nNF",void 0);z([(0,ir.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),M("design:type",String)],K.prototype,"dhEmi",void 0);z([(0,I.IsOptional)(),(0,ir.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),M("design:type",String)],K.prototype,"dhSaiEnt",void 0);z([(0,I.IsOptional)(),(0,ir.TransformDateString)({format:"YYYY-MM-DD"}),M("design:type",String)],K.prototype,"dPrevEntrega",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"tpNF",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"idDest",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"cMunFG",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],K.prototype,"cMunFGIBS",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"tpImp",void 0);z([(0,I.IsString)(),M("design:type",typeof TpEmis>"u"?Object:TpEmis)],K.prototype,"tpEmis",void 0);z([(0,I.IsString)(),(0,I.IsOptional)(),M("design:type",String)],K.prototype,"cDV",void 0);z([(0,I.IsString)(),M("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],K.prototype,"tpAmb",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"finNFe",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],K.prototype,"tpNFDebito",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],K.prototype,"tpNFCredito",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"indFinal",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"indPres",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],K.prototype,"indIntermed",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],K.prototype,"cIndOp",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"procEmi",void 0);z([(0,I.IsString)(),M("design:type",String)],K.prototype,"verProc",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),(0,ir.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),M("design:type",String)],K.prototype,"dhCont",void 0);z([(0,I.IsOptional)(),(0,I.IsString)(),M("design:type",String)],K.prototype,"xJust",void 0);z([(0,I.IsOptional)(),(0,I.IsArray)(),(0,I.ArrayMaxSize)(999),(0,I.ValidateNested)({each:!0}),(0,Xa.Type)(()=>or),M("design:type",Array)],K.prototype,"NFref",void 0);z([(0,I.IsOptional)(),(0,I.ValidateNested)(),(0,Xa.Type)(()=>Ya),M("design:type",typeof ICompraGov>"u"?Object:ICompraGov)],K.prototype,"gCompraGov",void 0);z([(0,I.IsOptional)(),(0,I.ValidateNested)(),(0,Xa.Type)(()=>Gu),M("design:type",typeof IPagAntecipado>"u"?Object:IPagAntecipado)],K.prototype,"gPagAntecipado",void 0);var st=require("class-validator"),f0=require("nfets/core"),m0=require("class-transformer");var Zt=require("class-validator");function _i(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(_i,"_ts_decorate");function qi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(qi,"_ts_metadata");var Qt=class{static{a(this,"EnderEmit")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};_i([(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"xLgr",void 0);_i([(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"nro",void 0);_i([(0,Zt.IsOptional)(),(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"xCpl",void 0);_i([(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"xBairro",void 0);_i([(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"cMun",void 0);_i([(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"xMun",void 0);_i([(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"UF",void 0);_i([(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"CEP",void 0);_i([(0,Zt.IsOptional)(),(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"cPais",void 0);_i([(0,Zt.IsOptional)(),(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"xPais",void 0);_i([(0,Zt.IsOptional)(),(0,Zt.IsString)(),qi("design:type",String)],Qt.prototype,"fone",void 0);function di(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(di,"_ts_decorate");function Ui(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ui,"_ts_metadata");var St=class{static{a(this,"Emit")}CNPJ="";CPF="";xNome;xFant;enderEmit;IE;IEST;IM;CNAE;CRT;ISUFEmit};di([(0,st.IsOptional)(),(0,st.IsString)(),Ui("design:type",String)],St.prototype,"CNPJ",void 0);di([(0,st.IsOptional)(),(0,st.IsString)(),Ui("design:type",String)],St.prototype,"CPF",void 0);di([(0,st.IsString)(),Ui("design:type",String)],St.prototype,"xNome",void 0);di([(0,st.IsOptional)(),(0,st.IsString)(),Ui("design:type",String)],St.prototype,"xFant",void 0);di([(0,st.ValidateNested)(),(0,m0.Type)(()=>Qt),Ui("design:type",typeof Qt>"u"?Object:Qt)],St.prototype,"enderEmit",void 0);di([(0,st.IsString)(),Ui("design:type",String)],St.prototype,"IE",void 0);di([(0,st.IsOptional)(),(0,st.IsString)(),Ui("design:type",String)],St.prototype,"IEST",void 0);di([(0,st.IsOptional)(),(0,st.IsString)(),Ui("design:type",String)],St.prototype,"IM",void 0);di([(0,st.IsOptional)(),(0,st.IsString)(),Ui("design:type",String)],St.prototype,"CNAE",void 0);di([(0,st.IsString)(),Ui("design:type",String)],St.prototype,"CRT",void 0);di([(0,st.IsOptional)(),(0,st.IsString)(),Ui("design:type",String)],St.prototype,"ISUFEmit",void 0);St=di([(0,f0.Choice)({properties:["CNPJ","CPF"],required:!0})],St);var et=require("class-validator"),h0=require("class-transformer");var je=require("class-validator");function ki(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(ki,"_ts_decorate");function Hi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Hi,"_ts_metadata");var No=class{static{a(this,"EnderDest")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"xLgr",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"nro",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"xCpl",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"xBairro",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"cMun",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"xMun",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"UF",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"CEP",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"cPais",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"xPais",void 0);ki([(0,je.IsOptional)(),(0,je.IsString)(),Hi("design:type",String)],No.prototype,"fone",void 0);var v0=require("nfets/core");function Gi(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Gi,"_ts_decorate");function Sn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Sn,"_ts_metadata");var Tt=class{static{a(this,"Dest")}CNPJ="";CPF="";idEstrangeiro;xNome;enderDest;indIEDest;IE;ISUF;IM;email};Gi([(0,et.IsOptional)(),(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"CNPJ",void 0);Gi([(0,et.IsOptional)(),(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"CPF",void 0);Gi([(0,et.IsOptional)(),(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"idEstrangeiro",void 0);Gi([(0,et.IsOptional)(),(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"xNome",void 0);Gi([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,h0.Type)(()=>No),Sn("design:type",typeof IEnderDest>"u"?Object:IEnderDest)],Tt.prototype,"enderDest",void 0);Gi([(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"indIEDest",void 0);Gi([(0,et.IsOptional)(),(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"IE",void 0);Gi([(0,et.IsOptional)(),(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"ISUF",void 0);Gi([(0,et.IsOptional)(),(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"IM",void 0);Gi([(0,et.IsOptional)(),(0,et.IsString)(),Sn("design:type",String)],Tt.prototype,"email",void 0);Tt=Gi([(0,v0.Choice)({properties:["CNPJ","CPF"],required:!0})],Tt);var be=require("class-validator"),g0=require("nfets/core");function Yt(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Yt,"_ts_decorate");function to(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(to,"_ts_metadata");var we=class{static{a(this,"Local")}CNPJ;CPF;xNome;xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone;email;IE};Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"CNPJ",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"CPF",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"xNome",void 0);Yt([(0,be.IsString)(),to("design:type",String)],we.prototype,"xLgr",void 0);Yt([(0,be.IsString)(),to("design:type",String)],we.prototype,"nro",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"xCpl",void 0);Yt([(0,be.IsString)(),to("design:type",String)],we.prototype,"xBairro",void 0);Yt([(0,be.IsString)(),to("design:type",String)],we.prototype,"cMun",void 0);Yt([(0,be.IsString)(),to("design:type",String)],we.prototype,"xMun",void 0);Yt([(0,be.IsString)(),to("design:type",String)],we.prototype,"UF",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"CEP",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"cPais",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"xPais",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"fone",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"email",void 0);Yt([(0,be.IsOptional)(),(0,be.IsString)(),to("design:type",String)],we.prototype,"IE",void 0);we=Yt([(0,g0.Choice)({properties:["CNPJ","CPF"]})],we);var ic=require("class-validator"),x0=require("nfets/core");function _m(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(_m,"_ts_decorate");function y0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(y0,"_ts_metadata");var Cn=class{static{a(this,"AutXML")}CNPJ;CPF};_m([(0,ic.IsOptional)(),(0,ic.IsString)(),y0("design:type",String)],Cn.prototype,"CNPJ",void 0);_m([(0,ic.IsOptional)(),(0,ic.IsString)(),y0("design:type",String)],Cn.prototype,"CPF",void 0);Cn=_m([(0,x0.Choice)({properties:["CNPJ","CPF"]})],Cn);var tl=require("class-validator");function b0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(b0,"_ts_decorate");function S0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(S0,"_ts_metadata");var Qr=class{static{a(this,"InfIntermed")}CNPJ;idCadIntTran};b0([(0,tl.IsString)(),S0("design:type",String)],Qr.prototype,"CNPJ",void 0);b0([(0,tl.IsOptional)(),(0,tl.IsString)(),S0("design:type",String)],Qr.prototype,"idCadIntTran",void 0);var Ja=require("class-validator");function qm(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(qm,"_ts_decorate");function Um(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Um,"_ts_metadata");var nr=class{static{a(this,"Exporta")}UFSaidaPais;xLocExporta;xLocDespacho};qm([(0,Ja.IsString)(),Um("design:type",String)],nr.prototype,"UFSaidaPais",void 0);qm([(0,Ja.IsOptional)(),(0,Ja.IsString)(),Um("design:type",String)],nr.prototype,"xLocExporta",void 0);qm([(0,Ja.IsOptional)(),(0,Ja.IsString)(),Um("design:type",String)],nr.prototype,"xLocDespacho",void 0);var Zr=require("class-validator");function km(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(km,"_ts_decorate");function Hm(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Hm,"_ts_metadata");var rr=class{static{a(this,"Compra")}xNEmp;xPed;xCont};km([(0,Zr.IsOptional)(),(0,Zr.IsString)(),Hm("design:type",String)],rr.prototype,"xNEmp",void 0);km([(0,Zr.IsOptional)(),(0,Zr.IsString)(),Hm("design:type",String)],rr.prototype,"xPed",void 0);km([(0,Zr.IsOptional)(),(0,Zr.IsString)(),Hm("design:type",String)],rr.prototype,"xCont",void 0);var Nn=require("class-validator");function nc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(nc,"_ts_decorate");function rc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(rc,"_ts_metadata");var fi=class{static{a(this,"InfRespTec")}CNPJ;xContato;email;fone;idCSRT;hashCSRT};nc([(0,Nn.IsString)(),rc("design:type",String)],fi.prototype,"CNPJ",void 0);nc([(0,Nn.IsString)(),rc("design:type",String)],fi.prototype,"xContato",void 0);nc([(0,Nn.IsString)(),rc("design:type",String)],fi.prototype,"email",void 0);nc([(0,Nn.IsString)(),rc("design:type",String)],fi.prototype,"fone",void 0);nc([(0,Nn.IsOptional)(),(0,Nn.IsString)(),rc("design:type",String)],fi.prototype,"idCSRT",void 0);nc([(0,Nn.IsOptional)(),(0,Nn.IsString)(),rc("design:type",String)],fi.prototype,"hashCSRT",void 0);var gi=require("class-validator"),fc=require("class-transformer");var Qi=require("class-validator"),pe=require("nfets/core");function de(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(de,"_ts_decorate");function fe(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(fe,"_ts_metadata");var ne=class{static{a(this,"ICMSTot")}vBC="0.00";vICMS="0.00";vICMSDeson="0.00";vFCPUFDest;vICMSUFDest;vICMSUFRemet;vFCP="0.00";vBCST="0.00";vST="0.00";vFCPST="0.00";vFCPSTRet="0.00";qBCMono;vICMSMono;qBCMonoReten;vICMSMonoReten;qBCMonoRet;vICMSMonoRet;vProd="0.00";vFrete="0.00";vSeg="0.00";vDesc="0.00";vII="0.00";vIPI="0.00";vIPIDevol="0.00";vPIS="0.00";vCOFINS="0.00";vOutro="0.00";vNF="0.00";vTotTrib};de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vBC",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMS",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSDeson",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vFCPUFDest",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSUFDest",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSUFRemet",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vFCP",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vBCST",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vST",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vFCPST",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vFCPSTRet",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"qBCMono",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSMono",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"qBCMonoReten",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSMonoReten",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"qBCMonoRet",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vICMSMonoRet",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vProd",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vFrete",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vSeg",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vDesc",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vII",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vIPI",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vIPIDevol",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vPIS",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vCOFINS",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vOutro",void 0);de([(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vNF",void 0);de([(0,Qi.IsOptional)(),(0,pe.TransformDecimal)({fixed:2}),fe("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ne.prototype,"vTotTrib",void 0);var Ro=require("class-validator"),Zi=require("nfets/core");function mi(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(mi,"_ts_decorate");function hi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(hi,"_ts_metadata");var oo=class{static{a(this,"ISSQNtot")}vServ;vBC;vISS;vPIS;vCOFINS;dCompet;vDeducao;vOutro;vDescIncond;vDescCond;vISSRet;cRegTrib};mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vServ",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vBC",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vISS",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vPIS",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vCOFINS",void 0);mi([(0,Ro.IsString)(),hi("design:type",String)],oo.prototype,"dCompet",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vDeducao",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vOutro",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vDescIncond",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vDescCond",void 0);mi([(0,Ro.IsOptional)(),(0,Zi.TransformDecimal)({fixed:2}),hi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oo.prototype,"vISSRet",void 0);mi([(0,Ro.IsOptional)(),(0,Ro.IsString)(),hi("design:type",String)],oo.prototype,"cRegTrib",void 0);var Yr=require("class-validator"),Xr=require("nfets/core");function Wa(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Wa,"_ts_decorate");function Ka(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ka,"_ts_metadata");var Yi=class{static{a(this,"RetTrib")}vRetPIS;vRetCOFINS;vRetCSLL;vBCIRRF;vIRRF;vBCRetPrev;vRetPrev};Wa([(0,Yr.IsOptional)(),(0,Xr.TransformDecimal)({fixed:2}),Ka("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yi.prototype,"vRetPIS",void 0);Wa([(0,Yr.IsOptional)(),(0,Xr.TransformDecimal)({fixed:2}),Ka("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yi.prototype,"vRetCOFINS",void 0);Wa([(0,Yr.IsOptional)(),(0,Xr.TransformDecimal)({fixed:2}),Ka("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yi.prototype,"vRetCSLL",void 0);Wa([(0,Yr.IsOptional)(),(0,Xr.TransformDecimal)({fixed:2}),Ka("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yi.prototype,"vBCIRRF",void 0);Wa([(0,Yr.IsOptional)(),(0,Xr.TransformDecimal)({fixed:2}),Ka("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yi.prototype,"vIRRF",void 0);Wa([(0,Yr.IsOptional)(),(0,Xr.TransformDecimal)({fixed:2}),Ka("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yi.prototype,"vBCRetPrev",void 0);Wa([(0,Yr.IsOptional)(),(0,Xr.TransformDecimal)({fixed:2}),Ka("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Yi.prototype,"vRetPrev",void 0);var Ji=require("class-validator");var sr=require("class-validator");var Qu=require("nfets/core");function Gm(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Gm,"_ts_decorate");function Qm(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Qm,"_ts_metadata");var $a=class{static{a(this,"IBSMunTot")}vDif="0.00";vDevTrib="0.00";vIBSMun="0.00"};Gm([(0,Qu.TransformDecimal)({fixed:2}),Qm("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$a.prototype,"vDif",void 0);Gm([(0,Qu.TransformDecimal)({fixed:2}),Qm("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$a.prototype,"vDevTrib",void 0);Gm([(0,Qu.TransformDecimal)({fixed:2}),Qm("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$a.prototype,"vIBSMun",void 0);var Xm=require("class-transformer");var Zu=require("nfets/core");function Zm(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Zm,"_ts_decorate");function Ym(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ym,"_ts_metadata");var es=class{static{a(this,"IBSUFTot")}vDif="0.00";vDevTrib="0.00";vIBSUF="0.00"};Zm([(0,Zu.TransformDecimal)({fixed:2}),Ym("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"vDif",void 0);Zm([(0,Zu.TransformDecimal)({fixed:2}),Ym("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"vDevTrib",void 0);Zm([(0,Zu.TransformDecimal)({fixed:2}),Ym("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"vIBSUF",void 0);var Yu=require("nfets/core");function ol(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(ol,"_ts_decorate");function il(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(il,"_ts_metadata");var ar=class{static{a(this,"IBSTot")}gIBSUF;gIBSMun;vIBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};ol([(0,sr.IsOptional)(),(0,sr.ValidateNested)(),(0,Xm.Type)(()=>es),il("design:type",typeof IIBSUFTot>"u"?Object:IIBSUFTot)],ar.prototype,"gIBSUF",void 0);ol([(0,sr.IsOptional)(),(0,sr.ValidateNested)(),(0,Xm.Type)(()=>$a),il("design:type",typeof IIBSMunTot>"u"?Object:IIBSMunTot)],ar.prototype,"gIBSMun",void 0);ol([(0,sr.IsOptional)(),(0,Yu.TransformDecimal)({fixed:2}),il("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ar.prototype,"vIBS",void 0);ol([(0,sr.IsOptional)(),(0,Yu.TransformDecimal)({fixed:2}),il("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ar.prototype,"vCredPres",void 0);ol([(0,sr.IsOptional)(),(0,Yu.TransformDecimal)({fixed:2}),il("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ar.prototype,"vCredPresCondSus",void 0);var R0=require("nfets/core"),cl=require("class-transformer");var ac=require("nfets/core"),sc=require("class-validator");function nl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(nl,"_ts_decorate");function rl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(rl,"_ts_metadata");var cr=class{static{a(this,"CBSTot")}vDif="0.00";vDevTrib="0.00";vCBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};nl([(0,sc.IsOptional)(),(0,ac.TransformDecimal)({fixed:2}),rl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cr.prototype,"vDif",void 0);nl([(0,sc.IsOptional)(),(0,ac.TransformDecimal)({fixed:2}),rl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cr.prototype,"vDevTrib",void 0);nl([(0,sc.IsOptional)(),(0,ac.TransformDecimal)({fixed:2}),rl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cr.prototype,"vCBS",void 0);nl([(0,sc.IsOptional)(),(0,ac.TransformDecimal)({fixed:2}),rl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cr.prototype,"vCredPres",void 0);nl([(0,sc.IsOptional)(),(0,ac.TransformDecimal)({fixed:2}),rl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cr.prototype,"vCredPresCondSus",void 0);var ts=require("nfets/core"),os=require("class-validator");function cc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(cc,"_ts_decorate");function pc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(pc,"_ts_metadata");var Rn=class{static{a(this,"IBSMonoTot")}vIBSMono="0.00";vCBSMono="0.00";vIBSMonoReten="0.00";vCBSMonoReten="0.00";vIBSMonoRet="0.00";vCBSMonoRet="0.00"};cc([(0,os.IsOptional)(),(0,ts.TransformDecimal)({fixed:2}),pc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rn.prototype,"vIBSMono",void 0);cc([(0,os.IsOptional)(),(0,ts.TransformDecimal)({fixed:2}),pc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rn.prototype,"vCBSMono",void 0);cc([(0,os.IsOptional)(),(0,ts.TransformDecimal)({fixed:2}),pc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rn.prototype,"vIBSMonoReten",void 0);cc([(0,os.IsOptional)(),(0,ts.TransformDecimal)({fixed:2}),pc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rn.prototype,"vCBSMonoReten",void 0);cc([(0,os.IsOptional)(),(0,ts.TransformDecimal)({fixed:2}),pc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rn.prototype,"vIBSMonoRet",void 0);cc([(0,os.IsOptional)(),(0,ts.TransformDecimal)({fixed:2}),pc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rn.prototype,"vCBSMonoRet",void 0);var Jm=require("class-validator"),Wm=require("nfets/core");function C0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(C0,"_ts_decorate");function N0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(N0,"_ts_metadata");var lc=class{static{a(this,"EstornoCredTot")}vIBSEstCred;vCBSEstCred};C0([(0,Jm.IsOptional)(),(0,Wm.TransformDecimal)({fixed:2}),N0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lc.prototype,"vIBSEstCred",void 0);C0([(0,Jm.IsOptional)(),(0,Wm.TransformDecimal)({fixed:2}),N0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lc.prototype,"vCBSEstCred",void 0);function al(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(al,"_ts_decorate");function sl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(sl,"_ts_metadata");var Xi=class{static{a(this,"IBSCBSTot")}vBCIBSCBS="0.00";gIBS;gCBS;gMono;gEstornoCred};al([(0,Ji.IsOptional)(),(0,R0.TransformDecimal)({fixed:2}),sl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xi.prototype,"vBCIBSCBS",void 0);al([(0,Ji.IsOptional)(),(0,Ji.ValidateNested)(),(0,cl.Type)(()=>ar),sl("design:type",typeof IIBSTot>"u"?Object:IIBSTot)],Xi.prototype,"gIBS",void 0);al([(0,Ji.IsOptional)(),(0,Ji.ValidateNested)(),(0,cl.Type)(()=>cr),sl("design:type",typeof ICBSTot>"u"?Object:ICBSTot)],Xi.prototype,"gCBS",void 0);al([(0,Ji.IsOptional)(),(0,Ji.ValidateNested)(),(0,cl.Type)(()=>Rn),sl("design:type",typeof IIBSMonoTot>"u"?Object:IIBSMonoTot)],Xi.prototype,"gMono",void 0);al([(0,Ji.IsOptional)(),(0,Ji.ValidateNested)(),(0,cl.Type)(()=>lc),sl("design:type",typeof IEstornoCredTot>"u"?Object:IEstornoCredTot)],Xi.prototype,"gEstornoCred",void 0);var w0=require("nfets/core"),I0=require("class-validator");function SA(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(SA,"_ts_decorate");function CA(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(CA,"_ts_metadata");var is=class{static{a(this,"ISTot")}vIS="0.00"};SA([(0,I0.IsOptional)(),(0,w0.TransformDecimal)({fixed:2}),CA("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],is.prototype,"vIS",void 0);var O0=require("nfets/core");function uc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(uc,"_ts_decorate");function dc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(dc,"_ts_metadata");var vi=class{static{a(this,"Total")}ICMSTot;ISSQNtot;retTrib;ISTot;IBSCBSTot;vNFTot};uc([(0,gi.ValidateNested)(),(0,fc.Type)(()=>ne),dc("design:type",typeof IICMSTot>"u"?Object:IICMSTot)],vi.prototype,"ICMSTot",void 0);uc([(0,gi.IsOptional)(),(0,gi.ValidateNested)(),(0,fc.Type)(()=>oo),dc("design:type",typeof IISSQNTot>"u"?Object:IISSQNTot)],vi.prototype,"ISSQNtot",void 0);uc([(0,gi.IsOptional)(),(0,gi.ValidateNested)(),(0,fc.Type)(()=>Yi),dc("design:type",typeof IRetTrib>"u"?Object:IRetTrib)],vi.prototype,"retTrib",void 0);uc([(0,gi.IsOptional)(),(0,gi.ValidateNested)(),(0,fc.Type)(()=>is),dc("design:type",typeof IISTot>"u"?Object:IISTot)],vi.prototype,"ISTot",void 0);uc([(0,gi.IsOptional)(),(0,gi.ValidateNested)(),(0,fc.Type)(()=>Xi),dc("design:type",typeof IIBSCBSTot>"u"?Object:IIBSCBSTot)],vi.prototype,"IBSCBSTot",void 0);uc([(0,gi.IsOptional)(),(0,O0.TransformDecimal)({fixed:2}),dc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vi.prototype,"vNFTot",void 0);var ct=require("class-validator"),bc=require("class-transformer");var no=require("class-validator"),F0=require("nfets/core");function Jr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Jr,"_ts_decorate");function ns(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ns,"_ts_metadata");var io=class{static{a(this,"Transporta")}CNPJ;CPF;xNome;IE;xEnder;xMun;UF};Jr([(0,no.IsOptional)(),(0,no.IsString)(),ns("design:type",String)],io.prototype,"CNPJ",void 0);Jr([(0,no.IsOptional)(),(0,no.IsString)(),ns("design:type",String)],io.prototype,"CPF",void 0);Jr([(0,no.IsOptional)(),(0,no.IsString)(),ns("design:type",String)],io.prototype,"xNome",void 0);Jr([(0,no.IsOptional)(),(0,no.IsString)(),ns("design:type",String)],io.prototype,"IE",void 0);Jr([(0,no.IsOptional)(),(0,no.IsString)(),ns("design:type",String)],io.prototype,"xEnder",void 0);Jr([(0,no.IsOptional)(),(0,no.IsString)(),ns("design:type",String)],io.prototype,"xMun",void 0);Jr([(0,no.IsOptional)(),(0,no.IsString)(),ns("design:type",String)],io.prototype,"UF",void 0);io=Jr([(0,F0.Choice)({properties:["CNPJ","CPF"]})],io);var wn=require("class-validator"),pl=require("nfets/core");function mc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(mc,"_ts_decorate");function hc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(hc,"_ts_metadata");var Ko=class{static{a(this,"RetTransp")}vServ;vBCRet;pICMSRet;vICMSRet;CFOP;cMunFG};mc([(0,wn.IsOptional)(),(0,pl.TransformDecimal)({fixed:2}),hc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ko.prototype,"vServ",void 0);mc([(0,wn.IsOptional)(),(0,pl.TransformDecimal)({fixed:2}),hc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ko.prototype,"vBCRet",void 0);mc([(0,wn.IsOptional)(),(0,pl.TransformDecimal)({fixed:4}),hc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ko.prototype,"pICMSRet",void 0);mc([(0,wn.IsOptional)(),(0,pl.TransformDecimal)({fixed:2}),hc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ko.prototype,"vICMSRet",void 0);mc([(0,wn.IsOptional)(),(0,wn.IsString)(),hc("design:type",String)],Ko.prototype,"CFOP",void 0);mc([(0,wn.IsOptional)(),(0,wn.IsString)(),hc("design:type",String)],Ko.prototype,"cMunFG",void 0);var _o=require("class-validator");function vc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(vc,"_ts_decorate");function gc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(gc,"_ts_metadata");var In=class{static{a(this,"VeicTransp")}placa;UF;RNTC};vc([(0,_o.IsOptional)(),(0,_o.IsString)(),gc("design:type",String)],In.prototype,"placa",void 0);vc([(0,_o.IsOptional)(),(0,_o.IsString)(),gc("design:type",String)],In.prototype,"UF",void 0);vc([(0,_o.IsOptional)(),(0,_o.IsString)(),gc("design:type",String)],In.prototype,"RNTC",void 0);var rs=class{static{a(this,"Reboque")}placa;UF;RNTC};vc([(0,_o.IsOptional)(),(0,_o.IsString)(),gc("design:type",String)],rs.prototype,"placa",void 0);vc([(0,_o.IsOptional)(),(0,_o.IsString)(),gc("design:type",String)],rs.prototype,"UF",void 0);vc([(0,_o.IsOptional)(),(0,_o.IsString)(),gc("design:type",String)],rs.prototype,"RNTC",void 0);var yi=require("class-validator"),Km=require("nfets/core");function yc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(yc,"_ts_decorate");function xc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(xc,"_ts_metadata");var On=class{static{a(this,"Vol")}qVol;esp;marca;nVol;pesoL;pesoB};yc([(0,yi.IsOptional)(),(0,yi.IsString)(),xc("design:type",String)],On.prototype,"qVol",void 0);yc([(0,yi.IsOptional)(),(0,yi.IsString)(),xc("design:type",String)],On.prototype,"esp",void 0);yc([(0,yi.IsOptional)(),(0,yi.IsString)(),xc("design:type",String)],On.prototype,"marca",void 0);yc([(0,yi.IsOptional)(),(0,yi.IsString)(),xc("design:type",String)],On.prototype,"nVol",void 0);yc([(0,yi.IsOptional)(),(0,Km.TransformDecimal)({fixed:3}),xc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],On.prototype,"pesoL",void 0);yc([(0,yi.IsOptional)(),(0,Km.TransformDecimal)({fixed:3}),xc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],On.prototype,"pesoB",void 0);var $m=require("nfets/core");function pr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(pr,"_ts_decorate");function Wr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Wr,"_ts_metadata");var ro=class{static{a(this,"Transp")}modFrete;transporta;retTransp;veicTransp;reboque;vagao;balsa;vol};pr([(0,ct.IsString)(),Wr("design:type",String)],ro.prototype,"modFrete",void 0);pr([(0,ct.IsOptional)(),(0,ct.ValidateNested)(),(0,bc.Type)(()=>io),Wr("design:type",typeof io>"u"?Object:io)],ro.prototype,"transporta",void 0);pr([(0,ct.IsOptional)(),(0,ct.ValidateNested)(),(0,bc.Type)(()=>Ko),Wr("design:type",typeof Ko>"u"?Object:Ko)],ro.prototype,"retTransp",void 0);pr([(0,ct.IsOptional)(),(0,ct.ValidateNested)(),(0,bc.Type)(()=>In),Wr("design:type",typeof In>"u"?Object:In)],ro.prototype,"veicTransp",void 0);pr([(0,ct.IsOptional)(),(0,ct.ValidateNested)({each:!0}),(0,bc.Type)(()=>rs),(0,ct.ArrayMaxSize)(5),Wr("design:type",Array)],ro.prototype,"reboque",void 0);pr([(0,ct.IsOptional)(),(0,ct.IsString)(),Wr("design:type",String)],ro.prototype,"vagao",void 0);pr([(0,ct.IsOptional)(),(0,ct.IsString)(),Wr("design:type",String)],ro.prototype,"balsa",void 0);pr([(0,ct.IsOptional)(),(0,ct.ValidateNested)({each:!0}),(0,bc.Type)(()=>On),(0,ct.ArrayMaxSize)(5e3),Wr("design:type",Array)],ro.prototype,"vol",void 0);ro=pr([(0,$m.Choice)({properties:["veicTransp","reboque"]}),(0,$m.Choice)({properties:["vagao","balsa"]})],ro);var Ct=require("class-validator"),eh=require("class-transformer"),ll=require("nfets/core");function ur(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(ur,"_ts_decorate");function dr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(dr,"_ts_metadata");var lr=class{static{a(this,"Fat")}nFat;vOrig;vDesc;vLiq};ur([(0,Ct.IsOptional)(),(0,Ct.IsString)(),dr("design:type",String)],lr.prototype,"nFat",void 0);ur([(0,Ct.IsOptional)(),(0,ll.TransformDecimal)({fixed:2}),dr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lr.prototype,"vOrig",void 0);ur([(0,Ct.IsOptional)(),(0,ll.TransformDecimal)({fixed:2}),dr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lr.prototype,"vDesc",void 0);ur([(0,Ct.IsOptional)(),(0,ll.TransformDecimal)({fixed:2}),dr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lr.prototype,"vLiq",void 0);var Sc=class{static{a(this,"Dup")}nDup;dVenc;vDup};ur([(0,Ct.IsOptional)(),(0,Ct.IsString)(),dr("design:type",String)],Sc.prototype,"nDup",void 0);ur([(0,Ct.IsOptional)(),(0,Ct.IsString)(),dr("design:type",String)],Sc.prototype,"dVenc",void 0);ur([(0,Ct.IsOptional)(),(0,ll.TransformDecimal)({fixed:2}),dr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sc.prototype,"vDup",void 0);var Kr=class{static{a(this,"Cobr")}fat;dup};ur([(0,Ct.IsOptional)(),(0,Ct.ValidateNested)(),(0,eh.Type)(()=>lr),dr("design:type",typeof lr>"u"?Object:lr)],Kr.prototype,"fat",void 0);ur([(0,Ct.IsOptional)(),(0,Ct.ValidateNested)({each:!0}),(0,Ct.ArrayMaxSize)(120),(0,eh.Type)(()=>Sc),dr("design:type",Array)],Kr.prototype,"dup",void 0);var oa=require("class-validator"),E0=require("class-transformer");var wo=require("class-validator"),A0=require("class-transformer");var qo=require("class-validator");function Cc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Cc,"_ts_decorate");function Nc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Nc,"_ts_metadata");var $o=class{static{a(this,"Card")}tpIntegra;CNPJ;tBand;cAut;CNPJReceb;idTermPag};Cc([(0,qo.IsOptional)(),(0,qo.IsString)(),Nc("design:type",String)],$o.prototype,"tpIntegra",void 0);Cc([(0,qo.IsOptional)(),(0,qo.IsString)(),Nc("design:type",String)],$o.prototype,"CNPJ",void 0);Cc([(0,qo.IsOptional)(),(0,qo.IsString)(),Nc("design:type",String)],$o.prototype,"tBand",void 0);Cc([(0,qo.IsOptional)(),(0,qo.IsString)(),Nc("design:type",String)],$o.prototype,"cAut",void 0);Cc([(0,qo.IsOptional)(),(0,qo.IsString)(),Nc("design:type",String)],$o.prototype,"CNPJReceb",void 0);Cc([(0,qo.IsOptional)(),(0,qo.IsString)(),Nc("design:type",String)],$o.prototype,"idTermPag",void 0);var Xu=require("nfets/core");function $r(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a($r,"_ts_decorate");function ea(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ea,"_ts_metadata");var xi=class{static{a(this,"DetPag")}indPag;tPag;xPag;vPag;dPag;CNPJPag;UFPag;card};$r([(0,wo.IsOptional)(),(0,wo.IsString)(),ea("design:type",String)],xi.prototype,"indPag",void 0);$r([(0,wo.IsString)(),ea("design:type",typeof TPag>"u"?Object:TPag)],xi.prototype,"tPag",void 0);$r([(0,wo.IsOptional)(),(0,wo.IsString)(),ea("design:type",String)],xi.prototype,"xPag",void 0);$r([(0,Xu.TransformDecimal)({fixed:2}),ea("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xi.prototype,"vPag",void 0);$r([(0,wo.IsOptional)(),(0,Xu.TransformDateString)({format:"YYYY-MM-DD"}),ea("design:type",String)],xi.prototype,"dPag",void 0);$r([(0,wo.IsOptional)(),(0,wo.IsString)(),ea("design:type",String)],xi.prototype,"CNPJPag",void 0);$r([(0,wo.IsOptional)(),(0,wo.IsString)(),ea("design:type",String)],xi.prototype,"UFPag",void 0);$r([(0,wo.IsOptional)(),(0,wo.ValidateNested)(),(0,A0.Type)(()=>$o),ea("design:type",typeof $o>"u"?Object:$o)],xi.prototype,"card",void 0);var j0=require("nfets/core");function D0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(D0,"_ts_decorate");function P0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(P0,"_ts_metadata");var ta=class{static{a(this,"Pag")}detPag;vTroco};D0([(0,oa.ValidateNested)({each:!0}),(0,oa.ArrayMinSize)(1),(0,oa.ArrayMaxSize)(100),(0,E0.Type)(()=>xi),P0("design:type",Array)],ta.prototype,"detPag",void 0);D0([(0,oa.IsOptional)(),(0,j0.TransformDecimal)({fixed:2}),P0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ta.prototype,"vTroco",void 0);var Je=require("class-validator"),Ju=require("class-transformer");function fr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(fr,"_ts_decorate");function mr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(mr,"_ts_metadata");var Rc=class{static{a(this,"InfAdicObs")}xCampo;xTexto};fr([(0,Je.IsString)(),mr("design:type",String)],Rc.prototype,"xCampo",void 0);fr([(0,Je.IsString)(),mr("design:type",String)],Rc.prototype,"xTexto",void 0);var ul=class{static{a(this,"ProcRef")}nProc;indProc};fr([(0,Je.IsOptional)(),(0,Je.IsString)(),mr("design:type",String)],ul.prototype,"nProc",void 0);fr([(0,Je.IsOptional)(),(0,Je.IsString)(),mr("design:type",String)],ul.prototype,"indProc",void 0);var Wi=class{static{a(this,"InfAdic")}infAdFisco;infCpl;obsCont;obsFisco;procRef};fr([(0,Je.IsOptional)(),(0,Je.IsString)(),mr("design:type",String)],Wi.prototype,"infAdFisco",void 0);fr([(0,Je.IsOptional)(),(0,Je.IsString)(),mr("design:type",String)],Wi.prototype,"infCpl",void 0);fr([(0,Je.IsOptional)(),(0,Je.ValidateNested)({each:!0}),(0,Ju.Type)(()=>Rc),(0,Je.ArrayMaxSize)(10),mr("design:type",Array)],Wi.prototype,"obsCont",void 0);fr([(0,Je.IsOptional)(),(0,Je.ValidateNested)({each:!0}),(0,Ju.Type)(()=>Rc),(0,Je.ArrayMaxSize)(10),mr("design:type",Array)],Wi.prototype,"obsFisco",void 0);fr([(0,Je.IsOptional)(),(0,Je.ValidateNested)({each:!0}),(0,Ju.Type)(()=>ul),(0,Je.ArrayMaxSize)(100),mr("design:type",Array)],Wi.prototype,"procRef",void 0);var Ne=require("class-validator"),Ku=require("class-transformer"),ml=require("nfets/core");function Io(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Io,"_ts_decorate");function Oo(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Oo,"_ts_metadata");var Wu=class{static{a(this,"ForDiaAttributes")}dia};Io([(0,Ne.IsString)(),Oo("design:type",String)],Wu.prototype,"dia",void 0);var dl=class{static{a(this,"ForDia")}$;qtde};Io([(0,Ne.IsObject)(),(0,Ne.IsNotEmptyObject)(),(0,Ku.Type)(()=>Wu),Oo("design:type",typeof IForDiaAttributes>"u"?Object:IForDiaAttributes)],dl.prototype,"$",void 0);Io([(0,Ne.IsString)(),Oo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dl.prototype,"qtde",void 0);var fl=class{static{a(this,"Deduc")}xDed;vDed};Io([(0,Ne.IsString)(),Oo("design:type",String)],fl.prototype,"xDed",void 0);Io([(0,ml.TransformDecimal)({fixed:2}),Oo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fl.prototype,"vDed",void 0);var ao=class{static{a(this,"Cana")}safra;ref;forDia;qTotMes;qTotAnt;qTotGer;deduc;vFor;vTotDed;vLiqFor};Io([(0,Ne.IsString)(),Oo("design:type",String)],ao.prototype,"safra",void 0);Io([(0,Ne.IsString)(),Oo("design:type",String)],ao.prototype,"ref",void 0);Io([(0,Ne.ValidateNested)({each:!0}),(0,Ne.ArrayMaxSize)(31),(0,Ku.Type)(()=>dl),Oo("design:type",Array)],ao.prototype,"forDia",void 0);Io([(0,Ne.IsOptional)(),(0,Ne.IsString)(),Oo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"qTotMes",void 0);Io([(0,Ne.IsOptional)(),(0,Ne.IsString)(),Oo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"qTotAnt",void 0);Io([(0,Ne.IsOptional)(),(0,Ne.IsString)(),Oo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"qTotGer",void 0);Io([(0,Ne.IsOptional)(),(0,Ne.ValidateNested)({each:!0}),(0,Ne.ArrayMaxSize)(10),(0,Ku.Type)(()=>fl),Oo("design:type",Array)],ao.prototype,"deduc",void 0);Io([(0,Ne.IsOptional)(),(0,ml.TransformDecimal)({fixed:2}),Oo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"vFor",void 0);Io([(0,Ne.IsOptional)(),(0,ml.TransformDecimal)({fixed:2}),Oo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"vTotDed",void 0);Io([(0,Ne.IsOptional)(),(0,ml.TransformDecimal)({fixed:2}),Oo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ao.prototype,"vLiqFor",void 0);var Nt=require("class-validator"),vs=require("class-transformer");var O=require("class-validator"),Fn=require("nfets/core"),$i=require("class-transformer");var Ki=require("class-validator");function hl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(hl,"_ts_decorate");function vl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(vl,"_ts_metadata");var hr=class{static{a(this,"Rastro")}nLote;qLote;dFab;dVal;cAgreg};hl([(0,Ki.IsString)(),vl("design:type",String)],hr.prototype,"nLote",void 0);hl([(0,Ki.IsOptional)(),(0,Ki.IsString)(),vl("design:type",String)],hr.prototype,"qLote",void 0);hl([(0,Ki.IsOptional)(),(0,Ki.IsString)(),vl("design:type",String)],hr.prototype,"dFab",void 0);hl([(0,Ki.IsOptional)(),(0,Ki.IsString)(),vl("design:type",String)],hr.prototype,"dVal",void 0);hl([(0,Ki.IsOptional)(),(0,Ki.IsString)(),vl("design:type",String)],hr.prototype,"cAgreg",void 0);var U0=require("nfets/core");var me=require("class-validator"),z0=require("class-transformer"),gl=require("nfets/core");function Mt(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Mt,"_ts_decorate");function Xt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Xt,"_ts_metadata");var ia=class{static{a(this,"Adi")}nAdicao;nSeqAdic;cFabricante;vDescDI;nDraw};Mt([(0,me.IsString)(),Xt("design:type",String)],ia.prototype,"nAdicao",void 0);Mt([(0,me.IsString)(),Xt("design:type",String)],ia.prototype,"nSeqAdic",void 0);Mt([(0,me.IsString)(),Xt("design:type",String)],ia.prototype,"cFabricante",void 0);Mt([(0,gl.TransformDecimal)({fixed:2}),Xt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ia.prototype,"vDescDI",void 0);Mt([(0,me.IsOptional)(),(0,me.IsString)(),Xt("design:type",String)],ia.prototype,"nDraw",void 0);var Bt=class{static{a(this,"DI")}nDI;dDI;xLocDesemb;UFDesemb;dDesemb;tpViaTransp;vAFRMM;tpIntermedio;CNPJ="";CPF="";UFTerceiro;adi};Mt([(0,me.IsString)(),Xt("design:type",String)],Bt.prototype,"nDI",void 0);Mt([(0,me.IsString)(),Xt("design:type",String)],Bt.prototype,"dDI",void 0);Mt([(0,me.IsString)(),Xt("design:type",String)],Bt.prototype,"xLocDesemb",void 0);Mt([(0,me.IsString)(),Xt("design:type",String)],Bt.prototype,"UFDesemb",void 0);Mt([(0,me.IsString)(),Xt("design:type",String)],Bt.prototype,"dDesemb",void 0);Mt([(0,me.IsString)(),Xt("design:type",String)],Bt.prototype,"tpViaTransp",void 0);Mt([(0,me.IsOptional)(),(0,gl.TransformDecimal)({fixed:2}),Xt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bt.prototype,"vAFRMM",void 0);Mt([(0,me.IsString)(),Xt("design:type",String)],Bt.prototype,"tpIntermedio",void 0);Mt([(0,me.IsString)(),(0,me.IsOptional)(),Xt("design:type",String)],Bt.prototype,"CNPJ",void 0);Mt([(0,me.IsString)(),(0,me.IsOptional)(),Xt("design:type",String)],Bt.prototype,"CPF",void 0);Mt([(0,me.IsString)(),(0,me.IsOptional)(),Xt("design:type",String)],Bt.prototype,"UFTerceiro",void 0);Mt([(0,me.IsArray)(),(0,me.ValidateNested)({each:!0}),(0,z0.Type)(()=>ia),(0,me.ArrayMaxSize)(999),(0,me.ArrayMinSize)(1),Xt("design:type",Array)],Bt.prototype,"adi",void 0);Bt=Mt([(0,gl.Choice)({properties:["CNPJ","CPF"],required:!0})],Bt);var T0=require("class-transformer"),vr=require("class-validator"),B0=require("nfets/core");function yl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(yl,"_ts_decorate");function xl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(xl,"_ts_metadata");var wc=class{static{a(this,"ExportInd")}nRE;chNFe;qExport};yl([(0,vr.IsString)(),xl("design:type",String)],wc.prototype,"nRE",void 0);yl([(0,vr.IsString)(),xl("design:type",String)],wc.prototype,"chNFe",void 0);yl([(0,B0.TransformDecimal)({fixed:4}),xl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wc.prototype,"qExport",void 0);var Ic=class{static{a(this,"DetExport")}nDraw;exportInd};yl([(0,vr.IsOptional)(),(0,vr.IsString)(),xl("design:type",String)],Ic.prototype,"nDraw",void 0);yl([(0,vr.IsOptional)(),(0,vr.ValidateNested)(),(0,T0.Type)(()=>wc),xl("design:type",typeof IExportInd>"u"?Object:IExportInd)],Ic.prototype,"exportInd",void 0);var th=require("class-validator");function M0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(M0,"_ts_decorate");function V0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(V0,"_ts_metadata");var Oc=class{static{a(this,"InfProdNFF")}cProdFisco;cOperNFF};M0([(0,th.IsString)(),V0("design:type",String)],Oc.prototype,"cProdFisco",void 0);M0([(0,th.IsString)(),V0("design:type",String)],Oc.prototype,"cOperNFF",void 0);var nh=require("class-validator"),L0=require("nfets/core");function oh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(oh,"_ts_decorate");function ih(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ih,"_ts_metadata");var as=class{static{a(this,"InfProdEmb")}xEmb;qVolEmb;uEmb};oh([(0,nh.IsString)(),ih("design:type",String)],as.prototype,"xEmb",void 0);oh([(0,L0.TransformDecimal)({fixed:3}),ih("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],as.prototype,"qVolEmb",void 0);oh([(0,nh.IsString)(),ih("design:type",String)],as.prototype,"uEmb",void 0);var Fe=require("class-validator");function ze(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(ze,"_ts_decorate");function Te(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Te,"_ts_metadata");var Se=class{static{a(this,"VeicProd")}tpOp;chassi;cCor;xCor;pot;cilin;pesoL;pesoB;nSerie;tpComb;nMotor;CMT;dist;anoMod;anoFab;tpPint;tpVeic;espVeic;VIN;condVeic;cMod;cCorDENATRAN;lota;tpRest};ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"tpOp",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"chassi",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"cCor",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"xCor",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"pot",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"cilin",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"pesoL",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"pesoB",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"nSerie",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"tpComb",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"nMotor",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"CMT",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"dist",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"anoMod",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"anoFab",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"tpPint",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"tpVeic",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"espVeic",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"VIN",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"condVeic",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"cMod",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"cCorDENATRAN",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"lota",void 0);ze([(0,Fe.IsString)(),Te("design:type",String)],Se.prototype,"tpRest",void 0);var sh=require("class-validator"),_0=require("nfets/core");function rh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(rh,"_ts_decorate");function ah(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ah,"_ts_metadata");var ss=class{static{a(this,"Med")}cProdANVISA;xMotivoIsencao;vPMC};rh([(0,sh.IsString)(),ah("design:type",String)],ss.prototype,"cProdANVISA",void 0);rh([(0,sh.IsString)(),ah("design:type",String)],ss.prototype,"xMotivoIsencao",void 0);rh([(0,_0.TransformDecimal)({fixed:2}),ah("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ss.prototype,"vPMC",void 0);var bl=require("class-validator");function $u(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a($u,"_ts_decorate");function ed(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ed,"_ts_metadata");var na=class{static{a(this,"Arma")}tpArma;nSerie;nCano;descr};$u([(0,bl.IsString)(),ed("design:type",String)],na.prototype,"tpArma",void 0);$u([(0,bl.IsString)(),ed("design:type",String)],na.prototype,"nSerie",void 0);$u([(0,bl.IsString)(),ed("design:type",String)],na.prototype,"nCano",void 0);$u([(0,bl.IsString)(),ed("design:type",String)],na.prototype,"descr",void 0);var re=require("class-validator"),td=require("class-transformer"),ei=require("nfets/core");function Be(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Be,"_ts_decorate");function Me(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Me,"_ts_metadata");var Fc=class{static{a(this,"OrigComb")}indImport;cUFOrig;pOrig};Be([(0,re.IsString)(),Me("design:type",String)],Fc.prototype,"indImport",void 0);Be([(0,re.IsString)(),Me("design:type",String)],Fc.prototype,"cUFOrig",void 0);Be([(0,ei.TransformDecimal)({fixed:4}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fc.prototype,"pOrig",void 0);var Ac=class{static{a(this,"CIDE")}qBCProd;vAliqProd;vCIDE};Be([(0,ei.TransformDecimal)({fixed:4}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ac.prototype,"qBCProd",void 0);Be([(0,ei.TransformDecimal)({fixed:4}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ac.prototype,"vAliqProd",void 0);Be([(0,ei.TransformDecimal)({fixed:2}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ac.prototype,"vCIDE",void 0);var ra=class{static{a(this,"Encerrante")}nBico;nBomba;nTanque;vEncIni;vEncFin};Be([(0,re.IsString)(),Me("design:type",String)],ra.prototype,"nBico",void 0);Be([(0,re.IsString)(),Me("design:type",String)],ra.prototype,"nBomba",void 0);Be([(0,re.IsString)(),Me("design:type",String)],ra.prototype,"nTanque",void 0);Be([(0,ei.TransformDecimal)({fixed:3}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ra.prototype,"vEncIni",void 0);Be([(0,ei.TransformDecimal)({fixed:3}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ra.prototype,"vEncFin",void 0);var Jt=class{static{a(this,"Comb")}cProdANP;descANP;pGLP;pGNn;pGNi;vPart;CODIF;qTemp;UFCons;CIDE;encerrante;pBio;origComb};Be([(0,re.IsString)(),Me("design:type",String)],Jt.prototype,"cProdANP",void 0);Be([(0,re.IsString)(),Me("design:type",String)],Jt.prototype,"descANP",void 0);Be([(0,re.IsOptional)(),(0,ei.TransformDecimal)({fixed:4}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"pGLP",void 0);Be([(0,re.IsOptional)(),(0,ei.TransformDecimal)({fixed:4}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"pGNn",void 0);Be([(0,re.IsOptional)(),(0,ei.TransformDecimal)({fixed:4}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"pGNi",void 0);Be([(0,re.IsOptional)(),(0,ei.TransformDecimal)({fixed:2}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"vPart",void 0);Be([(0,re.IsString)(),(0,re.IsOptional)(),Me("design:type",String)],Jt.prototype,"CODIF",void 0);Be([(0,re.IsOptional)(),(0,ei.TransformDecimal)({fixed:4}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"qTemp",void 0);Be([(0,re.IsString)(),Me("design:type",String)],Jt.prototype,"UFCons",void 0);Be([(0,re.IsOptional)(),(0,re.IsObject)(),(0,re.ValidateNested)(),(0,td.Type)(()=>Ac),Me("design:type",typeof ICIDE>"u"?Object:ICIDE)],Jt.prototype,"CIDE",void 0);Be([(0,re.IsOptional)(),(0,re.IsObject)(),(0,re.ValidateNested)(),(0,td.Type)(()=>ra),Me("design:type",typeof IEncerrante>"u"?Object:IEncerrante)],Jt.prototype,"encerrante",void 0);Be([(0,re.IsOptional)(),(0,ei.TransformDecimal)({fixed:4}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jt.prototype,"pBio",void 0);Be([(0,re.IsArray)(),(0,re.ValidateNested)({each:!0}),(0,td.Type)(()=>Fc),(0,re.ArrayMaxSize)(30),(0,re.IsOptional)(),Me("design:type",Array)],Jt.prototype,"origComb",void 0);var q0=require("class-validator"),lh=require("nfets/core");function ch(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(ch,"_ts_decorate");function ph(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ph,"_ts_metadata");var cs=class{static{a(this,"GCred")}cCredPresumido;pCredPresumido;vCredPresumido};ch([(0,q0.IsString)(),ph("design:type",String)],cs.prototype,"cCredPresumido",void 0);ch([(0,lh.TransformDecimal)({fixed:4}),ph("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cs.prototype,"pCredPresumido",void 0);ch([(0,lh.TransformDecimal)({fixed:2}),ph("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cs.prototype,"vCredPresumido",void 0);function Q(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Q,"_ts_decorate");function Y(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Y,"_ts_metadata");var _=class{static{a(this,"Prod")}cProd;cEAN;cBarra;xProd;NCM;NVE;CEST;indEscala;CNPJFab;cBenef;gCred;tpCredPresIBSZFM;EXTIPI;CFOP;uCom;qCom;vUnCom;vProd;cEANTrib;cBarraTrib;uTrib;qTrib;vUnTrib;vFrete;vSeg;vDesc;vOutro;indTot;indBemMovelUsado;DI;detExport;xPed;nItemPed;nFCI;rastro;infProdNFF;infProdEmb;veicProd;med;arma;comb;nRECOPI};Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"cProd",void 0);Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"cEAN",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"cBarra",void 0);Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"xProd",void 0);Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"NCM",void 0);Q([(0,O.IsOptional)(),(0,O.IsArray)(),(0,O.ArrayMaxSize)(8),(0,O.IsString)({each:!0}),Y("design:type",Array)],_.prototype,"NVE",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"CEST",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"indEscala",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"CNPJFab",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"cBenef",void 0);Q([(0,O.IsOptional)(),(0,O.IsArray)(),(0,O.ArrayMaxSize)(4),(0,O.ValidateNested)({each:!0}),(0,$i.Type)(()=>cs),Y("design:type",Array)],_.prototype,"gCred",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"tpCredPresIBSZFM",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"EXTIPI",void 0);Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"CFOP",void 0);Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"uCom",void 0);Q([(0,Fn.TransformDecimal)({fixed:4}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"qCom",void 0);Q([(0,Fn.TransformDecimal)({fixed:10}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"vUnCom",void 0);Q([(0,Fn.TransformDecimal)({fixed:2}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"vProd",void 0);Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"cEANTrib",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"cBarraTrib",void 0);Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"uTrib",void 0);Q([(0,Fn.TransformDecimal)({fixed:4}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"qTrib",void 0);Q([(0,Fn.TransformDecimal)({fixed:10}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"vUnTrib",void 0);Q([(0,O.IsOptional)(),(0,Fn.TransformDecimal)({fixed:2}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"vFrete",void 0);Q([(0,O.IsOptional)(),(0,Fn.TransformDecimal)({fixed:2}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"vSeg",void 0);Q([(0,O.IsOptional)(),(0,Fn.TransformDecimal)({fixed:2}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"vDesc",void 0);Q([(0,O.IsOptional)(),(0,Fn.TransformDecimal)({fixed:2}),Y("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_.prototype,"vOutro",void 0);Q([(0,O.IsString)(),Y("design:type",String)],_.prototype,"indTot",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"indBemMovelUsado",void 0);Q([(0,O.IsOptional)(),(0,O.IsArray)(),(0,O.ValidateNested)({each:!0}),(0,O.ArrayMaxSize)(100),(0,$i.Type)(()=>Bt),Y("design:type",Array)],_.prototype,"DI",void 0);Q([(0,O.IsOptional)(),(0,O.IsArray)(),(0,O.ValidateNested)({each:!0}),(0,O.ArrayMaxSize)(500),(0,$i.Type)(()=>Ic),Y("design:type",Array)],_.prototype,"detExport",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"xPed",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"nItemPed",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"nFCI",void 0);Q([(0,O.IsOptional)(),(0,O.IsArray)(),(0,O.ValidateNested)({each:!0}),(0,O.ArrayMaxSize)(500),(0,$i.Type)(()=>hr),Y("design:type",Array)],_.prototype,"rastro",void 0);Q([(0,O.IsOptional)(),(0,O.IsObject)(),(0,O.ValidateNested)(),(0,$i.Type)(()=>Oc),Y("design:type",typeof IInfProdNFF>"u"?Object:IInfProdNFF)],_.prototype,"infProdNFF",void 0);Q([(0,O.IsOptional)(),(0,O.IsObject)(),(0,O.ValidateNested)(),(0,$i.Type)(()=>as),Y("design:type",typeof IInfProdEmb>"u"?Object:IInfProdEmb)],_.prototype,"infProdEmb",void 0);Q([(0,O.IsOptional)(),(0,O.IsObject)(),(0,O.ValidateNested)(),(0,$i.Type)(()=>Se),Y("design:type",typeof IVeicProd>"u"?Object:IVeicProd)],_.prototype,"veicProd",void 0);Q([(0,O.IsOptional)(),(0,O.IsObject)(),(0,O.ValidateNested)(),(0,$i.Type)(()=>ss),Y("design:type",typeof IMed>"u"?Object:IMed)],_.prototype,"med",void 0);Q([(0,O.IsOptional)(),(0,O.IsObject)(),(0,O.ValidateNested)({each:!0}),(0,$i.Type)(()=>na),(0,O.ArrayMaxSize)(500),Y("design:type",Array)],_.prototype,"arma",void 0);Q([(0,O.IsOptional)(),(0,O.IsObject)(),(0,O.ValidateNested)(),(0,$i.Type)(()=>Jt),Y("design:type",typeof IComb>"u"?Object:IComb)],_.prototype,"comb",void 0);Q([(0,O.IsOptional)(),(0,O.IsString)(),Y("design:type",String)],_.prototype,"nRECOPI",void 0);_=Q([(0,U0.Choice)({properties:["veicProd","med","arma","comb"]})],_);var Fi=require("class-transformer"),Pe=require("class-validator");var f=require("class-validator"),tt=require("class-transformer"),b=require("nfets/core");function h(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(h,"_ts_decorate");function v(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(v,"_ts_metadata");var bi=class{static{a(this,"ICMS00")}orig;CST;modBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP};h([(0,f.IsString)(),v("design:type",String)],bi.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],bi.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],bi.prototype,"modBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bi.prototype,"vBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bi.prototype,"pICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bi.prototype,"vICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bi.prototype,"vBCFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bi.prototype,"pFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bi.prototype,"vFCP",void 0);var aa=class{static{a(this,"ICMS02")}orig;CST;qBCMono;adRemICMS;vICMSMono};h([(0,f.IsString)(),v("design:type",String)],aa.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],aa.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],aa.prototype,"qBCMono",void 0);h([(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],aa.prototype,"adRemICMS",void 0);h([(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],aa.prototype,"vICMSMono",void 0);var pt=class{static{a(this,"ICMS10")}orig;CST;modBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST};h([(0,f.IsString)(),v("design:type",String)],pt.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],pt.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],pt.prototype,"modBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"vBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"pICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"vICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"vBCFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"pFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"vFCP",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],pt.prototype,"modBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"pMVAST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"pRedBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"vBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"pICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"vICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"vBCFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"pFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pt.prototype,"vFCPST",void 0);var ti=class{static{a(this,"ICMS15")}orig;CST;qBCMono;adRemICMS;vICMSMono;qBCMonoReten;adRemICMSReten;vICMSMonoReten;pRedAdRem;motRedAdRem};h([(0,f.IsString)(),v("design:type",String)],ti.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],ti.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"qBCMono",void 0);h([(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"adRemICMS",void 0);h([(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"vICMSMono",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"qBCMonoReten",void 0);h([(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"adRemICMSReten",void 0);h([(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"vICMSMonoReten",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),(0,f.Max)(100),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"pRedAdRem",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],ti.prototype,"motRedAdRem",void 0);var Fo=class{static{a(this,"ICMS20")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;vICMSDeson;motDesICMS};h([(0,f.IsString)(),v("design:type",String)],Fo.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],Fo.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Fo.prototype,"modBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"pRedBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"vBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"pICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"vICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"vBCFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"pFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"vFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"vICMSDeson",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Fo.prototype,"motDesICMS",void 0);var so=class{static{a(this,"ICMS30")}orig;CST;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST;vICMSDeson;motDesICMS};h([(0,f.IsString)(),v("design:type",String)],so.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],so.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],so.prototype,"modBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"pMVAST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"pRedBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"pICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vBCFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"pFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vICMSDeson",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],so.prototype,"motDesICMS",void 0);var ps=class{static{a(this,"ICMS40")}orig;CST;vICMSDeson;motDesICMS};h([(0,f.IsString)(),v("design:type",String)],ps.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],ps.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ps.prototype,"vICMSDeson",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],ps.prototype,"motDesICMS",void 0);var Si=class{static{a(this,"ICMS51")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;pDif;vICMSDif};h([(0,f.IsString)(),v("design:type",String)],Si.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],Si.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Si.prototype,"modBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Si.prototype,"pRedBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Si.prototype,"vBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Si.prototype,"pICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Si.prototype,"vICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),(0,f.Max)(100),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Si.prototype,"pDif",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Si.prototype,"vICMSDif",void 0);var oi=class{static{a(this,"ICMS53")}orig;CST;qBCMono;adRemICMS;vICMSMonoOp;pDif;vICMSMonoDif;vICMSMono;qBCMonoDif;adRemICMSDif};h([(0,f.IsString)(),v("design:type",String)],oi.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],oi.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oi.prototype,"qBCMono",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oi.prototype,"adRemICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oi.prototype,"vICMSMonoOp",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),(0,f.Max)(100),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oi.prototype,"pDif",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oi.prototype,"vICMSMonoDif",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oi.prototype,"vICMSMono",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oi.prototype,"qBCMonoDif",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oi.prototype,"adRemICMSDif",void 0);var co=class{static{a(this,"ICMS60")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet;vBCFCPSTRet;pFCPSTRet;vFCPSTRet;pRedBCEfet;vBCEfet;pICMSEfet;vICMSEfet};h([(0,f.IsString)(),v("design:type",String)],co.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],co.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"vBCSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"pST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"vICMSSubstituto",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"vICMSSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"vBCFCPSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"pFCPSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"vFCPSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"pRedBCEfet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"vBCEfet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"pICMSEfet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],co.prototype,"vICMSEfet",void 0);var sa=class{static{a(this,"ICMS61")}orig;CST;qBCMonoRet;adRemICMSRet;vICMSMonoRet};h([(0,f.IsString)(),v("design:type",String)],sa.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],sa.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],sa.prototype,"qBCMonoRet",void 0);h([(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],sa.prototype,"adRemICMSRet",void 0);h([(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],sa.prototype,"vICMSMonoRet",void 0);var Ve=class{static{a(this,"ICMS70")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;vICMSDeson;motDesICMS;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST};h([(0,f.IsString)(),v("design:type",String)],Ve.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],Ve.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Ve.prototype,"modBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"pRedBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"pICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vBCFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"pFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vICMSDeson",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Ve.prototype,"motDesICMS",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Ve.prototype,"modBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"pMVAST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"pRedBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"pICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vBCFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"pFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ve.prototype,"vFCPST",void 0);var Le=class{static{a(this,"ICMS90")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;vICMSDeson;motDesICMS;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST};h([(0,f.IsString)(),v("design:type",String)],Le.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],Le.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Le.prototype,"modBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"pRedBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"pICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vBCFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"pFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vFCP",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vICMSDeson",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Le.prototype,"motDesICMS",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Le.prototype,"modBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"pMVAST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"pRedBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"pICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vBCFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"pFCPST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Le.prototype,"vFCPST",void 0);var Vt=class{static{a(this,"ICMSPart")}orig;CST;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;pBCOp;UFST};h([(0,f.IsString)(),v("design:type",String)],Vt.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],Vt.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Vt.prototype,"modBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"vBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"pRedBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"pICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"vICMS",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Vt.prototype,"modBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"pMVAST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"pRedBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"vBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"pICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"vICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vt.prototype,"pBCOp",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],Vt.prototype,"UFST",void 0);var gr=class{static{a(this,"ICMSST")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};h([(0,f.IsString)(),v("design:type",String)],gr.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],gr.prototype,"CST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gr.prototype,"vBCSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gr.prototype,"pST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gr.prototype,"vICMSSubstituto",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gr.prototype,"vICMSSTRet",void 0);var ls=class{static{a(this,"ICMSSN101")}orig;CSOSN;pCredSN;vCredICMSSN};h([(0,f.IsString)(),v("design:type",String)],ls.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],ls.prototype,"CSOSN",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ls.prototype,"pCredSN",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ls.prototype,"vCredICMSSN",void 0);var Sl=class{static{a(this,"ICMSSN102")}orig;CSOSN};h([(0,f.IsString)(),v("design:type",String)],Sl.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],Sl.prototype,"CSOSN",void 0);var en=class{static{a(this,"ICMSSN201")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};h([(0,f.IsString)(),v("design:type",String)],en.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],en.prototype,"CSOSN",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],en.prototype,"modBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],en.prototype,"vBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],en.prototype,"pICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],en.prototype,"vICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],en.prototype,"pCredSN",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],en.prototype,"vCredICMSSN",void 0);var yr=class{static{a(this,"ICMSSN202")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST};h([(0,f.IsString)(),v("design:type",String)],yr.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],yr.prototype,"CSOSN",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],yr.prototype,"modBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yr.prototype,"vBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yr.prototype,"pICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yr.prototype,"vICMSST",void 0);var po=class{static{a(this,"ICMSSN500")}orig;CSOSN;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet;vBCFCPSTRet;pFCPSTRet;vFCPSTRet;pRedBCEfet;vBCEfet;pICMSEfet;vICMSEfet};h([(0,f.IsString)(),v("design:type",String)],po.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],po.prototype,"CSOSN",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vBCSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"pST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vICMSSubstituto",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vICMSSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vBCFCPSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"pFCPSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vFCPSTRet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"pRedBCEfet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vBCEfet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"pICMSEfet",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vICMSEfet",void 0);var lo=class{static{a(this,"ICMSSN900")}orig;CSOSN;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};h([(0,f.IsString)(),v("design:type",String)],lo.prototype,"orig",void 0);h([(0,f.IsString)(),v("design:type",String)],lo.prototype,"CSOSN",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],lo.prototype,"modBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"pRedBC",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"pICMS",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vICMS",void 0);h([(0,f.IsOptional)(),(0,f.IsString)(),v("design:type",String)],lo.prototype,"modBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vBCST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"pICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vICMSST",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:4}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"pCredSN",void 0);h([(0,f.IsOptional)(),(0,b.TransformDecimal)({fixed:2}),v("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vCredICMSSN",void 0);var he=class{static{a(this,"ICMS")}ICMS00;ICMS02;ICMS10;ICMS15;ICMS20;ICMS30;ICMS40;ICMS51;ICMS53;ICMS60;ICMS61;ICMS70;ICMS90;ICMSPart;ICMSST;ICMSSN101;ICMSSN102;ICMSSN201;ICMSSN202;ICMSSN500;ICMSSN900};h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>bi),v("design:type",typeof IICMS00>"u"?Object:IICMS00)],he.prototype,"ICMS00",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>aa),v("design:type",typeof IICMS02>"u"?Object:IICMS02)],he.prototype,"ICMS02",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>pt),v("design:type",typeof IICMS10>"u"?Object:IICMS10)],he.prototype,"ICMS10",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>ti),v("design:type",typeof IICMS15>"u"?Object:IICMS15)],he.prototype,"ICMS15",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>Fo),v("design:type",typeof IICMS20>"u"?Object:IICMS20)],he.prototype,"ICMS20",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>so),v("design:type",typeof IICMS30>"u"?Object:IICMS30)],he.prototype,"ICMS30",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>ps),v("design:type",typeof IICMS40>"u"?Object:IICMS40)],he.prototype,"ICMS40",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>Si),v("design:type",typeof IICMS51>"u"?Object:IICMS51)],he.prototype,"ICMS51",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>oi),v("design:type",typeof IICMS53>"u"?Object:IICMS53)],he.prototype,"ICMS53",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>co),v("design:type",typeof IICMS60>"u"?Object:IICMS60)],he.prototype,"ICMS60",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>sa),v("design:type",typeof IICMS61>"u"?Object:IICMS61)],he.prototype,"ICMS61",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>Ve),v("design:type",typeof IICMS70>"u"?Object:IICMS70)],he.prototype,"ICMS70",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>Le),v("design:type",typeof IICMS90>"u"?Object:IICMS90)],he.prototype,"ICMS90",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>Vt),v("design:type",typeof IICMSPart>"u"?Object:IICMSPart)],he.prototype,"ICMSPart",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>gr),v("design:type",typeof IICMSST>"u"?Object:IICMSST)],he.prototype,"ICMSST",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>ls),v("design:type",typeof IICMSSN101>"u"?Object:IICMSSN101)],he.prototype,"ICMSSN101",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>Sl),v("design:type",typeof IICMSSN102>"u"?Object:IICMSSN102)],he.prototype,"ICMSSN102",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>en),v("design:type",typeof IICMSSN201>"u"?Object:IICMSSN201)],he.prototype,"ICMSSN201",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>yr),v("design:type",typeof IICMSSN202>"u"?Object:IICMSSN202)],he.prototype,"ICMSSN202",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>po),v("design:type",typeof IICMSSN500>"u"?Object:IICMSSN500)],he.prototype,"ICMSSN500",void 0);h([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,tt.Type)(()=>lo),v("design:type",typeof IICMSSN900>"u"?Object:IICMSSN900)],he.prototype,"ICMSSN900",void 0);he=h([(0,b.Choice)({properties:["ICMS00","ICMS02","ICMS10","ICMS15","ICMS20","ICMS30","ICMS40","ICMS51","ICMS53","ICMS60","ICMS61","ICMS70","ICMS90","ICMSPart","ICMSST","ICMSSN101","ICMSSN102","ICMSSN201","ICMSSN202","ICMSSN500","ICMSSN900"]})],he);var Ie=require("class-validator"),uh=require("class-transformer");function ii(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(ii,"_ts_decorate");function ni(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ni,"_ts_metadata");var xr=class{static{a(this,"IPITrib")}CST;vBC;pIPI;qUnid;vUnid;vIPI};ii([(0,Ie.IsString)(),ni("design:type",String)],xr.prototype,"CST",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.IsString)(),ni("design:type",String)],xr.prototype,"vBC",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.IsString)(),ni("design:type",String)],xr.prototype,"pIPI",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.IsString)(),ni("design:type",String)],xr.prototype,"qUnid",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.IsString)(),ni("design:type",String)],xr.prototype,"vUnid",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.IsString)(),ni("design:type",String)],xr.prototype,"vIPI",void 0);var od=class{static{a(this,"IPINT")}CST};ii([(0,Ie.IsString)(),ni("design:type",String)],od.prototype,"CST",void 0);var Ci=class{static{a(this,"IPI")}CNPJProd;cSelo;qSelo;cEnq;IPITrib;IPINT};ii([(0,Ie.IsOptional)(),(0,Ie.IsString)(),ni("design:type",String)],Ci.prototype,"CNPJProd",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.IsString)(),ni("design:type",String)],Ci.prototype,"cSelo",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.IsString)(),ni("design:type",String)],Ci.prototype,"qSelo",void 0);ii([(0,Ie.IsString)(),ni("design:type",String)],Ci.prototype,"cEnq",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.ValidateNested)(),(0,uh.Type)(()=>xr),ni("design:type",typeof IIPITrib>"u"?Object:IIPITrib)],Ci.prototype,"IPITrib",void 0);ii([(0,Ie.IsOptional)(),(0,Ie.ValidateNested)(),(0,uh.Type)(()=>od),ni("design:type",typeof IIPINT>"u"?Object:IIPINT)],Ci.prototype,"IPINT",void 0);var Dn=require("class-validator");function id(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(id,"_ts_decorate");function nd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(nd,"_ts_metadata");var An=class{static{a(this,"II")}vBC;vDespAdu;vII;vIOF};id([(0,Dn.IsOptional)(),(0,Dn.IsString)(),nd("design:type",String)],An.prototype,"vBC",void 0);id([(0,Dn.IsOptional)(),(0,Dn.IsString)(),nd("design:type",String)],An.prototype,"vDespAdu",void 0);id([(0,Dn.IsOptional)(),(0,Dn.IsString)(),nd("design:type",String)],An.prototype,"vII",void 0);id([(0,Dn.IsOptional)(),(0,Dn.IsString)(),nd("design:type",String)],An.prototype,"vIOF",void 0);var U=require("class-validator"),Cl=require("class-transformer"),nn=require("nfets/core");function _e(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(_e,"_ts_decorate");function qe(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(qe,"_ts_metadata");var br=class{static{a(this,"PISAliq")}CST;vBC;pPIS;vPIS};_e([(0,U.IsString)(),qe("design:type",String)],br.prototype,"CST",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:2}),qe("design:type",String)],br.prototype,"vBC",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:4}),qe("design:type",String)],br.prototype,"pPIS",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:2}),qe("design:type",String)],br.prototype,"vPIS",void 0);var Sr=class{static{a(this,"PISQtde")}CST;qBCProd;vAliqProd;vPIS};_e([(0,U.IsString)(),qe("design:type",String)],Sr.prototype,"CST",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),qe("design:type",String)],Sr.prototype,"qBCProd",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),qe("design:type",String)],Sr.prototype,"vAliqProd",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:2}),qe("design:type",String)],Sr.prototype,"vPIS",void 0);var Dc=class{static{a(this,"PISNT")}CST};_e([(0,U.IsString)(),qe("design:type",String)],Dc.prototype,"CST",void 0);var tn=class{static{a(this,"PISOutr")}CST;vBC;pPIS;qBCProd;vAliqProd;vPIS};_e([(0,U.IsString)(),qe("design:type",String)],tn.prototype,"CST",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:2}),qe("design:type",String)],tn.prototype,"vBC",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:4}),qe("design:type",String)],tn.prototype,"pPIS",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),qe("design:type",String)],tn.prototype,"qBCProd",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),qe("design:type",String)],tn.prototype,"vAliqProd",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:2}),qe("design:type",String)],tn.prototype,"vPIS",void 0);var Pn=class{static{a(this,"PIS")}PISAliq;PISQtde;PISNT;PISOutr};_e([(0,U.IsOptional)(),(0,U.ValidateNested)(),(0,Cl.Type)(()=>br),qe("design:type",typeof br>"u"?Object:br)],Pn.prototype,"PISAliq",void 0);_e([(0,U.IsOptional)(),(0,U.ValidateNested)(),(0,Cl.Type)(()=>Sr),qe("design:type",typeof Sr>"u"?Object:Sr)],Pn.prototype,"PISQtde",void 0);_e([(0,U.IsOptional)(),(0,U.ValidateNested)(),(0,Cl.Type)(()=>Dc),qe("design:type",typeof Dc>"u"?Object:Dc)],Pn.prototype,"PISNT",void 0);_e([(0,U.IsOptional)(),(0,U.ValidateNested)(),(0,Cl.Type)(()=>tn),qe("design:type",typeof tn>"u"?Object:tn)],Pn.prototype,"PISOutr",void 0);var on=class{static{a(this,"PISST")}vBC;pPIS;qBCProd;vAliqProd;vPIS};_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:2}),qe("design:type",String)],on.prototype,"vBC",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:4}),qe("design:type",String)],on.prototype,"pPIS",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),qe("design:type",String)],on.prototype,"qBCProd",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),qe("design:type",String)],on.prototype,"vAliqProd",void 0);_e([(0,U.IsOptional)(),(0,U.IsString)(),(0,nn.TransformDecimal)({fixed:2}),qe("design:type",String)],on.prototype,"vPIS",void 0);var k=require("class-validator"),Nl=require("class-transformer"),sn=require("nfets/core");function Ue(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Ue,"_ts_decorate");function ke(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ke,"_ts_metadata");var Cr=class{static{a(this,"COFINSAliq")}CST;vBC;pCOFINS;vCOFINS};Ue([(0,k.IsString)(),ke("design:type",String)],Cr.prototype,"CST",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:2}),ke("design:type",String)],Cr.prototype,"vBC",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:4}),ke("design:type",String)],Cr.prototype,"pCOFINS",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:2}),ke("design:type",String)],Cr.prototype,"vCOFINS",void 0);var Nr=class{static{a(this,"COFINSQtde")}CST;qBCProd;vAliqProd;vCOFINS};Ue([(0,k.IsString)(),ke("design:type",String)],Nr.prototype,"CST",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),ke("design:type",String)],Nr.prototype,"qBCProd",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),ke("design:type",String)],Nr.prototype,"vAliqProd",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:2}),ke("design:type",String)],Nr.prototype,"vCOFINS",void 0);var Pc=class{static{a(this,"COFINSNT")}CST};Ue([(0,k.IsString)(),ke("design:type",String)],Pc.prototype,"CST",void 0);var rn=class{static{a(this,"COFINSOutr")}CST;vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};Ue([(0,k.IsString)(),ke("design:type",String)],rn.prototype,"CST",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:2}),ke("design:type",String)],rn.prototype,"vBC",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:4}),ke("design:type",String)],rn.prototype,"pCOFINS",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),ke("design:type",String)],rn.prototype,"qBCProd",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),ke("design:type",String)],rn.prototype,"vAliqProd",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:2}),ke("design:type",String)],rn.prototype,"vCOFINS",void 0);var En=class{static{a(this,"COFINS")}COFINSAliq;COFINSQtde;COFINSNT;COFINSOutr};Ue([(0,k.IsOptional)(),(0,k.ValidateNested)(),(0,Nl.Type)(()=>Cr),ke("design:type",typeof Cr>"u"?Object:Cr)],En.prototype,"COFINSAliq",void 0);Ue([(0,k.IsOptional)(),(0,k.ValidateNested)(),(0,Nl.Type)(()=>Nr),ke("design:type",typeof Nr>"u"?Object:Nr)],En.prototype,"COFINSQtde",void 0);Ue([(0,k.IsOptional)(),(0,k.ValidateNested)(),(0,Nl.Type)(()=>Pc),ke("design:type",typeof Pc>"u"?Object:Pc)],En.prototype,"COFINSNT",void 0);Ue([(0,k.IsOptional)(),(0,k.ValidateNested)(),(0,Nl.Type)(()=>rn),ke("design:type",typeof rn>"u"?Object:rn)],En.prototype,"COFINSOutr",void 0);var an=class{static{a(this,"COFINSST")}vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:2}),ke("design:type",String)],an.prototype,"vBC",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:4}),ke("design:type",String)],an.prototype,"pCOFINS",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),ke("design:type",String)],an.prototype,"qBCProd",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),ke("design:type",String)],an.prototype,"vAliqProd",void 0);Ue([(0,k.IsOptional)(),(0,k.IsString)(),(0,sn.TransformDecimal)({fixed:2}),ke("design:type",String)],an.prototype,"vCOFINS",void 0);var He=require("class-validator"),Rr=require("nfets/core");function uo(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(uo,"_ts_decorate");function fo(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(fo,"_ts_metadata");var ot=class{static{a(this,"ISSQN")}vBC;vAliq;vISSQN;cMunFG;cListServ;vDeducao;vOutro;vDescIncond;vDescCond;vISSRet;indISS;indIncentivo;cServico;cMun;cPais;nProcesso};uo([(0,He.IsOptional)(),(0,Rr.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ot.prototype,"vBC",void 0);uo([(0,He.IsOptional)(),(0,Rr.TransformDecimal)({fixed:4}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ot.prototype,"vAliq",void 0);uo([(0,He.IsOptional)(),(0,Rr.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ot.prototype,"vISSQN",void 0);uo([(0,He.IsOptional)(),(0,He.IsString)(),fo("design:type",String)],ot.prototype,"cMunFG",void 0);uo([(0,He.IsOptional)(),(0,He.IsString)(),fo("design:type",String)],ot.prototype,"cListServ",void 0);uo([(0,He.IsOptional)(),(0,Rr.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ot.prototype,"vDeducao",void 0);uo([(0,He.IsOptional)(),(0,Rr.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ot.prototype,"vOutro",void 0);uo([(0,He.IsOptional)(),(0,Rr.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ot.prototype,"vDescIncond",void 0);uo([(0,He.IsOptional)(),(0,Rr.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ot.prototype,"vDescCond",void 0);uo([(0,He.IsOptional)(),(0,Rr.TransformDecimal)({fixed:2}),fo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ot.prototype,"vISSRet",void 0);uo([(0,He.IsString)(),fo("design:type",String)],ot.prototype,"indISS",void 0);uo([(0,He.IsString)(),fo("design:type",String)],ot.prototype,"indIncentivo",void 0);uo([(0,He.IsOptional)(),(0,He.IsString)(),fo("design:type",String)],ot.prototype,"cServico",void 0);uo([(0,He.IsOptional)(),(0,He.IsString)(),fo("design:type",String)],ot.prototype,"cMun",void 0);uo([(0,He.IsOptional)(),(0,He.IsString)(),fo("design:type",String)],ot.prototype,"cPais",void 0);uo([(0,He.IsOptional)(),(0,He.IsString)(),fo("design:type",String)],ot.prototype,"nProcesso",void 0);var mt=require("class-validator");function wr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(wr,"_ts_decorate");function Ir(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ir,"_ts_metadata");var Ao=class{static{a(this,"ICMSUFDest")}vBCUFDest;vBCFCPUFDest;pFCPUFDest;pICMSUFDest;pICMSInter;pICMSInterPart;vFCPUFDest;vICMSUFDest;vICMSUFRemet};wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"vBCUFDest",void 0);wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"vBCFCPUFDest",void 0);wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"pFCPUFDest",void 0);wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"pICMSUFDest",void 0);wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"pICMSInter",void 0);wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"pICMSInterPart",void 0);wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"vFCPUFDest",void 0);wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"vICMSUFDest",void 0);wr([(0,mt.IsOptional)(),(0,mt.IsString)(),Ir("design:type",String)],Ao.prototype,"vICMSUFRemet",void 0);var We=require("class-validator");var Ec=require("class-validator");function k0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(k0,"_ts_decorate");function H0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(H0,"_ts_metadata");var ca=class{static{a(this,"TransferenciaCredito")}vIBS;vCBS};k0([(0,Ec.IsOptional)(),(0,Ec.IsString)(),H0("design:type",String)],ca.prototype,"vIBS",void 0);k0([(0,Ec.IsOptional)(),(0,Ec.IsString)(),H0("design:type",String)],ca.prototype,"vCBS",void 0);var rd=require("class-validator");function dh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(dh,"_ts_decorate");function fh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(fh,"_ts_metadata");var Or=class{static{a(this,"CredPresIBSZFM")}tpCredPresIBSZFM;vCredPresIBSZFM;competApur};dh([(0,rd.IsString)(),fh("design:type",String)],Or.prototype,"tpCredPresIBSZFM",void 0);dh([(0,rd.IsString)(),fh("design:type",String)],Or.prototype,"vCredPresIBSZFM",void 0);dh([(0,rd.IsString)(),fh("design:type",String)],Or.prototype,"competApur",void 0);var Do=require("class-validator"),mh=require("class-transformer");function zn(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(zn,"_ts_decorate");function Tn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Tn,"_ts_metadata");var pa=class{static{a(this,"IBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};zn([(0,Do.IsString)(),Tn("design:type",String)],pa.prototype,"vCredPresCondSus",void 0);zn([(0,Do.IsString)(),Tn("design:type",String)],pa.prototype,"pCredPres",void 0);zn([(0,Do.IsString)(),Tn("design:type",String)],pa.prototype,"vCredPres",void 0);var la=class{static{a(this,"CBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};zn([(0,Do.IsString)(),Tn("design:type",String)],la.prototype,"vCredPresCondSus",void 0);zn([(0,Do.IsString)(),Tn("design:type",String)],la.prototype,"pCredPres",void 0);zn([(0,Do.IsString)(),Tn("design:type",String)],la.prototype,"vCredPres",void 0);var jn=class{static{a(this,"CredPresOper")}gIBSCredPres;gCBSCredPres;vBCCredPres;cCredPres};zn([(0,Do.IsOptional)(),(0,Do.ValidateNested)(),(0,mh.Type)(()=>pa),Tn("design:type",typeof pa>"u"?Object:pa)],jn.prototype,"gIBSCredPres",void 0);zn([(0,Do.IsOptional)(),(0,Do.ValidateNested)(),(0,mh.Type)(()=>la),Tn("design:type",typeof la>"u"?Object:la)],jn.prototype,"gCBSCredPres",void 0);zn([(0,Do.IsString)(),Tn("design:type",String)],jn.prototype,"vBCCredPres",void 0);zn([(0,Do.IsString)(),Tn("design:type",String)],jn.prototype,"cCredPres",void 0);var hh=require("class-validator");function G0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(G0,"_ts_decorate");function Q0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Q0,"_ts_metadata");var ua=class{static{a(this,"EstornoCred")}vIBSEstCred;vCBSEstCred};G0([(0,hh.IsString)(),Q0("design:type",String)],ua.prototype,"vIBSEstCred",void 0);G0([(0,hh.IsString)(),Q0("design:type",String)],ua.prototype,"vCBSEstCred",void 0);var ad=require("class-validator");function vh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(vh,"_ts_decorate");function gh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(gh,"_ts_metadata");var Fr=class{static{a(this,"AjusteCompet")}competApur;vCBS;vIBS};vh([(0,ad.IsString)(),gh("design:type",String)],Fr.prototype,"competApur",void 0);vh([(0,ad.IsString)(),gh("design:type",String)],Fr.prototype,"vCBS",void 0);vh([(0,ad.IsString)(),gh("design:type",String)],Fr.prototype,"vIBS",void 0);var Ln=require("class-validator"),it=require("nfets/core"),Rl=require("class-transformer");function Ae(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Ae,"_ts_decorate");function De(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(De,"_ts_metadata");var Bn=class{static{a(this,"MonoPadrao")}qBCMono;adRemIBS;adRemCBS;vIBSMono;vCBSMono};Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"qBCMono",void 0);Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"adRemIBS",void 0);Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"adRemCBS",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"vIBSMono",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bn.prototype,"vCBSMono",void 0);var Mn=class{static{a(this,"MonoReten")}qBCMonoReten;adRemIBSReten;vIBSMonoReten;adRemCBSReten;vCBSMonoReten};Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Mn.prototype,"qBCMonoReten",void 0);Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Mn.prototype,"adRemIBSReten",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Mn.prototype,"vIBSMonoReten",void 0);Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Mn.prototype,"adRemCBSReten",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Mn.prototype,"vCBSMonoReten",void 0);var Vn=class{static{a(this,"MonoRet")}qBCMonoRet;adRemIBSRet;vIBSMonoRet;adRemCBSRet;vCBSMonoRet};Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vn.prototype,"qBCMonoRet",void 0);Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vn.prototype,"adRemIBSRet",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vn.prototype,"vIBSMonoRet",void 0);Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vn.prototype,"adRemCBSRet",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vn.prototype,"vCBSMonoRet",void 0);var Ar=class{static{a(this,"MonoDif")}pDifIBS;vIBSMonoDif;pDifCBS;vCBSMonoDif};Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ar.prototype,"pDifIBS",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ar.prototype,"vIBSMonoDif",void 0);Ae([(0,it.TransformDecimal)({fixed:4}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ar.prototype,"pDifCBS",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ar.prototype,"vCBSMonoDif",void 0);var Ni=class{static{a(this,"IBSCBSMono")}gMonoPadrao;gMonoReten;gMonoRet;gMonoDif;vTotIBSMonoItem;vTotCBSMonoItem};Ae([(0,Ln.IsOptional)(),(0,Ln.ValidateNested)(),(0,Rl.Type)(()=>Bn),De("design:type",typeof Bn>"u"?Object:Bn)],Ni.prototype,"gMonoPadrao",void 0);Ae([(0,Ln.IsOptional)(),(0,Ln.ValidateNested)(),(0,Rl.Type)(()=>Mn),De("design:type",typeof Mn>"u"?Object:Mn)],Ni.prototype,"gMonoReten",void 0);Ae([(0,Ln.IsOptional)(),(0,Ln.ValidateNested)(),(0,Rl.Type)(()=>Vn),De("design:type",typeof Vn>"u"?Object:Vn)],Ni.prototype,"gMonoRet",void 0);Ae([(0,Ln.IsOptional)(),(0,Ln.ValidateNested)(),(0,Rl.Type)(()=>Ar),De("design:type",typeof Ar>"u"?Object:Ar)],Ni.prototype,"gMonoDif",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ni.prototype,"vTotIBSMonoItem",void 0);Ae([(0,it.TransformDecimal)({fixed:2}),De("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ni.prototype,"vTotCBSMonoItem",void 0);var Ii=require("class-validator"),Ih=require("nfets/core");var us=require("nfets/core"),yh=require("class-validator");function da(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(da,"_ts_decorate");function fa(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(fa,"_ts_metadata");var Uo=class{static{a(this,"TribRegular")}CSTReg;cClassTribReg;pAliqEfetRegIBSUF;vTribRegIBSUF;pAliqEfetRegIBSMun;vTribRegIBSMun;pAliqEfetRegCBS;vTribRegCBS};da([(0,yh.IsString)(),fa("design:type",String)],Uo.prototype,"CSTReg",void 0);da([(0,yh.IsString)(),fa("design:type",String)],Uo.prototype,"cClassTribReg",void 0);da([(0,us.TransformDecimal)({fixed:4}),fa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"pAliqEfetRegIBSUF",void 0);da([(0,us.TransformDecimal)({fixed:2}),fa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"vTribRegIBSUF",void 0);da([(0,us.TransformDecimal)({fixed:4}),fa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"pAliqEfetRegIBSMun",void 0);da([(0,us.TransformDecimal)({fixed:2}),fa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"vTribRegIBSMun",void 0);da([(0,us.TransformDecimal)({fixed:4}),fa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"pAliqEfetRegCBS",void 0);da([(0,us.TransformDecimal)({fixed:2}),fa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"vTribRegCBS",void 0);var ds=require("nfets/core");function jc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(jc,"_ts_decorate");function zc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(zc,"_ts_metadata");var Ri=class{static{a(this,"TribCompraGov")}pAliqIBSUF;vTribIBSUF;pAliqIBSMun;vTribIBSMun;pAliqCBS;vTribCBS};jc([(0,ds.TransformDecimal)({fixed:4}),zc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"pAliqIBSUF",void 0);jc([(0,ds.TransformDecimal)({fixed:2}),zc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"vTribIBSUF",void 0);jc([(0,ds.TransformDecimal)({fixed:4}),zc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"pAliqIBSMun",void 0);jc([(0,ds.TransformDecimal)({fixed:2}),zc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"vTribIBSMun",void 0);jc([(0,ds.TransformDecimal)({fixed:4}),zc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"pAliqCBS",void 0);jc([(0,ds.TransformDecimal)({fixed:2}),zc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"vTribCBS",void 0);var Mc=require("class-transformer");var ma=require("class-validator"),Ch=require("nfets/core"),sd=require("class-transformer");var xh=require("nfets/core"),X0=require("class-validator");function Z0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Z0,"_ts_decorate");function Y0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Y0,"_ts_metadata");var mo=class{static{a(this,"DevTrib")}pDevTrib;vDevTrib};Z0([(0,X0.IsOptional)(),(0,xh.TransformDecimal)({fixed:4}),Y0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pDevTrib",void 0);Z0([(0,xh.TransformDecimal)({fixed:2}),Y0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vDevTrib",void 0);var bh=require("nfets/core");function J0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(J0,"_ts_decorate");function W0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(W0,"_ts_metadata");var ho=class{static{a(this,"Dif")}pDif;vDif};J0([(0,bh.TransformDecimal)({fixed:4}),W0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pDif",void 0);J0([(0,bh.TransformDecimal)({fixed:2}),W0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vDif",void 0);var Sh=require("nfets/core");function K0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(K0,"_ts_decorate");function $0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a($0,"_ts_metadata");var vo=class{static{a(this,"Red")}pRedAliq;pAliqEfet};K0([(0,Sh.TransformDecimal)({fixed:4}),$0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"pRedAliq",void 0);K0([(0,Sh.TransformDecimal)({fixed:4}),$0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"pAliqEfet",void 0);function wl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(wl,"_ts_decorate");function Il(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Il,"_ts_metadata");var cn=class{static{a(this,"IBSMun")}pIBSMun;gDif;gDevTrib;gRed;vIBSMun};wl([(0,Ch.TransformDecimal)({fixed:4}),Il("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cn.prototype,"pIBSMun",void 0);wl([(0,ma.IsOptional)(),(0,ma.ValidateNested)(),(0,sd.Type)(()=>ho),Il("design:type",typeof ho>"u"?Object:ho)],cn.prototype,"gDif",void 0);wl([(0,ma.IsOptional)(),(0,ma.ValidateNested)(),(0,sd.Type)(()=>mo),Il("design:type",typeof mo>"u"?Object:mo)],cn.prototype,"gDevTrib",void 0);wl([(0,ma.IsOptional)(),(0,ma.ValidateNested)(),(0,sd.Type)(()=>vo),Il("design:type",typeof vo>"u"?Object:vo)],cn.prototype,"gRed",void 0);wl([(0,Ch.TransformDecimal)({fixed:2}),Il("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],cn.prototype,"vIBSMun",void 0);var ha=require("class-validator"),Nh=require("nfets/core"),cd=require("class-transformer");function Ol(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Ol,"_ts_decorate");function Fl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Fl,"_ts_metadata");var pn=class{static{a(this,"IBSUF")}pIBSUF;gDif;gDevTrib;gRed;vIBSUF};Ol([(0,Nh.TransformDecimal)({fixed:4}),Fl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pn.prototype,"pIBSUF",void 0);Ol([(0,ha.IsOptional)(),(0,ha.ValidateNested)(),(0,cd.Type)(()=>ho),Fl("design:type",typeof ho>"u"?Object:ho)],pn.prototype,"gDif",void 0);Ol([(0,ha.IsOptional)(),(0,ha.ValidateNested)(),(0,cd.Type)(()=>mo),Fl("design:type",typeof mo>"u"?Object:mo)],pn.prototype,"gDevTrib",void 0);Ol([(0,ha.IsOptional)(),(0,ha.ValidateNested)(),(0,cd.Type)(()=>vo),Fl("design:type",typeof vo>"u"?Object:vo)],pn.prototype,"gRed",void 0);Ol([(0,Nh.TransformDecimal)({fixed:2}),Fl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pn.prototype,"vIBSUF",void 0);var qn=require("class-validator"),wh=require("nfets/core"),Dl=require("class-transformer");var Rh=require("nfets/core"),Al=require("class-validator");function pd(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(pd,"_ts_decorate");function ld(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ld,"_ts_metadata");var _n=class{static{a(this,"ALCZFMCBS")}tpALCZFMCBS;nProcSuframa;pAliqEfetRegCBS;vTribRegCBS};pd([(0,Al.IsString)(),ld("design:type",String)],_n.prototype,"tpALCZFMCBS",void 0);pd([(0,Al.IsOptional)(),(0,Al.IsString)(),ld("design:type",String)],_n.prototype,"nProcSuframa",void 0);pd([(0,Rh.TransformDecimal)({fixed:4}),ld("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_n.prototype,"pAliqEfetRegCBS",void 0);pd([(0,Rh.TransformDecimal)({fixed:2}),ld("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_n.prototype,"vTribRegCBS",void 0);function Tc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Tc,"_ts_decorate");function Bc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Bc,"_ts_metadata");var wi=class{static{a(this,"CBS")}pCBS;gDif;gDevTrib;gRed;gALCZFMCBS;vCBS};Tc([(0,wh.TransformDecimal)({fixed:4}),Bc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"pCBS",void 0);Tc([(0,qn.IsOptional)(),(0,qn.ValidateNested)(),(0,Dl.Type)(()=>ho),Bc("design:type",typeof ho>"u"?Object:ho)],wi.prototype,"gDif",void 0);Tc([(0,qn.IsOptional)(),(0,qn.ValidateNested)(),(0,Dl.Type)(()=>mo),Bc("design:type",typeof mo>"u"?Object:mo)],wi.prototype,"gDevTrib",void 0);Tc([(0,qn.IsOptional)(),(0,qn.ValidateNested)(),(0,Dl.Type)(()=>vo),Bc("design:type",typeof vo>"u"?Object:vo)],wi.prototype,"gRed",void 0);Tc([(0,qn.IsOptional)(),(0,qn.ValidateNested)(),(0,Dl.Type)(()=>_n),Bc("design:type",typeof _n>"u"?Object:_n)],wi.prototype,"gALCZFMCBS",void 0);Tc([(0,wh.TransformDecimal)({fixed:2}),Bc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"vCBS",void 0);function fs(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(fs,"_ts_decorate");function ms(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ms,"_ts_metadata");var ri=class{static{a(this,"GIBSCBS")}vBC;gIBSUF;gIBSMun;vIBS;gCBS;gTribRegular;gTribCompraGov};fs([(0,Ih.TransformDecimal)({fixed:2}),ms("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"vBC",void 0);fs([(0,Ii.IsOptional)(),(0,Ii.ValidateNested)(),(0,Mc.Type)(()=>pn),ms("design:type",typeof pn>"u"?Object:pn)],ri.prototype,"gIBSUF",void 0);fs([(0,Ii.IsOptional)(),(0,Ii.ValidateNested)(),(0,Mc.Type)(()=>cn),ms("design:type",typeof cn>"u"?Object:cn)],ri.prototype,"gIBSMun",void 0);fs([(0,Ih.TransformDecimal)({fixed:2}),ms("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"vIBS",void 0);fs([(0,Ii.IsOptional)(),(0,Ii.ValidateNested)(),(0,Mc.Type)(()=>wi),ms("design:type",typeof wi>"u"?Object:wi)],ri.prototype,"gCBS",void 0);fs([(0,Ii.IsOptional)(),(0,Ii.ValidateNested)(),(0,Mc.Type)(()=>Uo),ms("design:type",typeof Uo>"u"?Object:Uo)],ri.prototype,"gTribRegular",void 0);fs([(0,Ii.IsOptional)(),(0,Ii.ValidateNested)(),(0,Mc.Type)(()=>Ri),ms("design:type",typeof Ri>"u"?Object:Ri)],ri.prototype,"gTribCompraGov",void 0);var va=require("class-transformer");function Un(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Un,"_ts_decorate");function kn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(kn,"_ts_metadata");var go=class{static{a(this,"IBSCBS")}CST;cClassTrib;indDoacao;gTransfCred;gCredPresIBSZFM;gCredPresOper;gAjusteCompet;gEstornoCred;gIBSCBSMono;gIBSCBS};Un([(0,We.IsOptional)(),(0,We.IsString)(),kn("design:type",String)],go.prototype,"CST",void 0);Un([(0,We.IsOptional)(),(0,We.IsString)(),kn("design:type",String)],go.prototype,"cClassTrib",void 0);Un([(0,We.IsOptional)(),(0,We.IsString)(),kn("design:type",String)],go.prototype,"indDoacao",void 0);Un([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,va.Type)(()=>ca),kn("design:type",typeof ca>"u"?Object:ca)],go.prototype,"gTransfCred",void 0);Un([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,va.Type)(()=>Or),kn("design:type",typeof Or>"u"?Object:Or)],go.prototype,"gCredPresIBSZFM",void 0);Un([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,va.Type)(()=>jn),kn("design:type",typeof jn>"u"?Object:jn)],go.prototype,"gCredPresOper",void 0);Un([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,va.Type)(()=>Fr),kn("design:type",typeof Fr>"u"?Object:Fr)],go.prototype,"gAjusteCompet",void 0);Un([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,va.Type)(()=>ua),kn("design:type",typeof ua>"u"?Object:ua)],go.prototype,"gEstornoCred",void 0);Un([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,va.Type)(()=>Ni),kn("design:type",typeof Ni>"u"?Object:Ni)],go.prototype,"gIBSCBSMono",void 0);Un([(0,We.IsOptional)(),(0,We.ValidateNested)(),(0,va.Type)(()=>ri),kn("design:type",typeof ri>"u"?Object:ri)],go.prototype,"gIBSCBS",void 0);var Vc=require("nfets/core"),ln=require("class-validator");function ga(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(ga,"_ts_decorate");function ya(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ya,"_ts_metadata");var ko=class{static{a(this,"IS")}CSTIS;cClassTribIS;vBCIS;pIS;adRemIS;uTrib;qTrib;vIS};ga([(0,ln.IsString)(),ya("design:type",String)],ko.prototype,"CSTIS",void 0);ga([(0,ln.IsString)(),ya("design:type",String)],ko.prototype,"cClassTribIS",void 0);ga([(0,ln.IsOptional)(),(0,Vc.TransformDecimal)({fixed:2}),ya("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"vBCIS",void 0);ga([(0,ln.IsOptional)(),(0,Vc.TransformDecimal)({fixed:4}),ya("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"pIS",void 0);ga([(0,ln.IsOptional)(),(0,Vc.TransformDecimal)({fixed:4}),ya("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"adRemIS",void 0);ga([(0,ln.IsOptional)(),(0,ln.IsString)(),ya("design:type",String)],ko.prototype,"uTrib",void 0);ga([(0,ln.IsOptional)(),(0,Vc.TransformDecimal)({fixed:4}),ya("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"qTrib",void 0);ga([(0,ln.IsOptional)(),(0,Vc.TransformDecimal)({fixed:2}),ya("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ko.prototype,"vIS",void 0);var ud=require("nfets/core");function ai(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(ai,"_ts_decorate");function Oi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Oi,"_ts_metadata");var ht=class{static{a(this,"Imposto")}vTotTrib;ICMS;IPI;ISSQN;II;PIS;PISST;COFINS;COFINSST;ICMSUFDest;IS;IBSCBS};ai([(0,Pe.IsOptional)(),(0,ud.TransformDecimal)({fixed:2}),Oi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ht.prototype,"vTotTrib",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>he),Oi("design:type",typeof IICMS>"u"?Object:IICMS)],ht.prototype,"ICMS",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>Ci),Oi("design:type",typeof IIPI>"u"?Object:IIPI)],ht.prototype,"IPI",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>ot),Oi("design:type",typeof IISSQN>"u"?Object:IISSQN)],ht.prototype,"ISSQN",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>An),Oi("design:type",typeof III>"u"?Object:III)],ht.prototype,"II",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>Pn),Oi("design:type",typeof IPIS>"u"?Object:IPIS)],ht.prototype,"PIS",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>on),Oi("design:type",typeof IPISST>"u"?Object:IPISST)],ht.prototype,"PISST",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>En),Oi("design:type",typeof ICOFINS>"u"?Object:ICOFINS)],ht.prototype,"COFINS",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>an),Oi("design:type",typeof ICOFINSST>"u"?Object:ICOFINSST)],ht.prototype,"COFINSST",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>Ao),Oi("design:type",typeof IICMSUFDest>"u"?Object:IICMSUFDest)],ht.prototype,"ICMSUFDest",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>ko),Oi("design:type",typeof IIS>"u"?Object:IIS)],ht.prototype,"IS",void 0);ai([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Fi.Type)(()=>go),Oi("design:type",typeof IIBSCBS>"u"?Object:IIBSCBS)],ht.prototype,"IBSCBS",void 0);ht=ai([(0,ud.Choice)({properties:["ICMS","ISSQN"]})],ht);var hs=require("class-validator"),eS=require("class-transformer");function Oh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Oh,"_ts_decorate");function Fh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Fh,"_ts_metadata");var dd=class{static{a(this,"IpiDevol")}vIPIDevol};Oh([(0,hs.IsString)(),Fh("design:type",String)],dd.prototype,"vIPIDevol",void 0);var Lc=class{static{a(this,"Devol")}pDevol;IPI};Oh([(0,hs.IsString)(),Fh("design:type",String)],Lc.prototype,"pDevol",void 0);Oh([(0,hs.IsOptional)(),(0,hs.ValidateNested)(),(0,eS.Type)(()=>dd),Fh("design:type",typeof IIpiDevol>"u"?Object:IIpiDevol)],Lc.prototype,"IPI",void 0);var Dr=require("class-validator"),Ah=require("class-transformer");function fd(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(fd,"_ts_decorate");function md(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(md,"_ts_metadata");var _c=class{static{a(this,"Observation")}xCampo;xTexto};fd([(0,Dr.IsString)(),md("design:type",String)],_c.prototype,"xCampo",void 0);fd([(0,Dr.IsString)(),md("design:type",String)],_c.prototype,"xTexto",void 0);var qc=class{static{a(this,"ObsItem")}obsCont;obsFisco};fd([(0,Dr.IsOptional)(),(0,Dr.ValidateNested)(),(0,Ah.Type)(()=>_c),md("design:type",typeof IObservation>"u"?Object:IObservation)],qc.prototype,"obsCont",void 0);fd([(0,Dr.IsOptional)(),(0,Dr.ValidateNested)(),(0,Ah.Type)(()=>_c),md("design:type",typeof IObservation>"u"?Object:IObservation)],qc.prototype,"obsFisco",void 0);var Pl=require("class-validator");function tS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(tS,"_ts_decorate");function oS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(oS,"_ts_metadata");var xa=class{static{a(this,"DFeReferenciado")}chaveAcesso;nItem};tS([(0,Pl.IsString)(),oS("design:type",String)],xa.prototype,"chaveAcesso",void 0);tS([(0,Pl.IsOptional)(),(0,Pl.IsString)(),oS("design:type",String)],xa.prototype,"nItem",void 0);var iS=require("nfets/core");function Pr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Pr,"_ts_decorate");function Er(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Er,"_ts_metadata");var Uc=class{static{a(this,"DetAttributes")}nItem};Pr([(0,Nt.IsString)(),Er("design:type",String)],Uc.prototype,"nItem",void 0);var Ai=class{static{a(this,"Det")}prod;imposto;impostoDevol;infAdProd;obsItem;vItem;DFeReferenciado};Pr([(0,Nt.IsObject)(),(0,Nt.ValidateNested)(),(0,vs.Type)(()=>Uc),Er("design:type",typeof IDetAttributes>"u"?Object:IDetAttributes)],Ai.prototype,"$",void 0);Pr([(0,Nt.ValidateNested)(),(0,vs.Type)(()=>_),Er("design:type",typeof IProd>"u"?Object:IProd)],Ai.prototype,"prod",void 0);Pr([(0,Nt.IsOptional)(),(0,Nt.ValidateNested)(),(0,vs.Type)(()=>ht),Er("design:type",typeof IImposto>"u"?Object:IImposto)],Ai.prototype,"imposto",void 0);Pr([(0,Nt.IsOptional)(),(0,Nt.ValidateNested)(),(0,vs.Type)(()=>Lc),Er("design:type",typeof IDevol>"u"?Object:IDevol)],Ai.prototype,"impostoDevol",void 0);Pr([(0,Nt.IsOptional)(),(0,Nt.IsString)(),Er("design:type",String)],Ai.prototype,"infAdProd",void 0);Pr([(0,Nt.IsOptional)(),(0,Nt.ValidateNested)(),(0,vs.Type)(()=>qc),Er("design:type",typeof IObsItem>"u"?Object:IObsItem)],Ai.prototype,"obsItem",void 0);Pr([(0,Nt.IsOptional)(),(0,iS.TransformDecimal)({fixed:2}),Er("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"vItem",void 0);Pr([(0,Nt.IsOptional)(),(0,Nt.ValidateNested)(),(0,vs.Type)(()=>xa),Er("design:type",typeof IDFeReferenciado>"u"?Object:IDFeReferenciado)],Ai.prototype,"DFeReferenciado",void 0);var Kt=require("class-validator"),hd=require("nfets/core");function un(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(un,"_ts_decorate");function dn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(dn,"_ts_metadata");var Wt=class{static{a(this,"Avulsa")}CNPJ;xOrgao;matr;xAgente;fone;UF;nDAR;dEmi;vDAR;repEmi;dPag};un([(0,Kt.IsString)(),dn("design:type",String)],Wt.prototype,"CNPJ",void 0);un([(0,Kt.IsString)(),dn("design:type",String)],Wt.prototype,"xOrgao",void 0);un([(0,Kt.IsString)(),dn("design:type",String)],Wt.prototype,"matr",void 0);un([(0,Kt.IsString)(),dn("design:type",String)],Wt.prototype,"xAgente",void 0);un([(0,Kt.IsOptional)(),(0,Kt.IsString)(),dn("design:type",String)],Wt.prototype,"fone",void 0);un([(0,Kt.IsString)(),dn("design:type",String)],Wt.prototype,"UF",void 0);un([(0,Kt.IsOptional)(),(0,Kt.IsString)(),dn("design:type",String)],Wt.prototype,"nDAR",void 0);un([(0,Kt.IsOptional)(),(0,hd.TransformDateString)({format:"YYYY-MM-DD"}),dn("design:type",typeof Date>"u"?Object:Date)],Wt.prototype,"dEmi",void 0);un([(0,Kt.IsOptional)(),(0,hd.TransformDecimal)({fixed:2}),dn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Wt.prototype,"vDAR",void 0);un([(0,Kt.IsString)(),dn("design:type",String)],Wt.prototype,"repEmi",void 0);un([(0,Kt.IsOptional)(),(0,Kt.IsDate)(),dn("design:type",typeof Date>"u"?Object:Date)],Wt.prototype,"dPag",void 0);var nS=require("class-validator");function NA(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(NA,"_ts_decorate");function RA(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(RA,"_ts_metadata");var gs=class{static{a(this,"InfSolicNFF")}xSolic};NA([(0,nS.IsString)(),RA("design:type",String)],gs.prototype,"xSolic",void 0);var Lt=require("class-validator"),Dh=require("class-transformer"),rS=require("nfets/core");function jr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(jr,"_ts_decorate");function ba(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ba,"_ts_metadata");var El=class{static{a(this,"Defensivo")}nReceituario;CPFRespTec};jr([(0,Lt.IsString)(),ba("design:type",String)],El.prototype,"nReceituario",void 0);jr([(0,Lt.IsString)(),ba("design:type",String)],El.prototype,"CPFRespTec",void 0);var ys=class{static{a(this,"GuiaTransito")}tpGuia;UFGuia;serieGuia;nGuia};jr([(0,Lt.IsString)(),ba("design:type",String)],ys.prototype,"tpGuia",void 0);jr([(0,Lt.IsString)(),ba("design:type",String)],ys.prototype,"UFGuia",void 0);jr([(0,Lt.IsOptional)(),(0,Lt.IsString)(),ba("design:type",String)],ys.prototype,"serieGuia",void 0);jr([(0,Lt.IsString)(),ba("design:type",String)],ys.prototype,"nGuia",void 0);var Hn=class{static{a(this,"Agropecuario")}defensivo;guiaTransito};jr([(0,Lt.IsOptional)(),(0,Lt.IsArray)(),(0,Lt.ArrayMaxSize)(20),(0,Lt.ValidateNested)({each:!0}),(0,Dh.Type)(()=>El),ba("design:type",Array)],Hn.prototype,"defensivo",void 0);jr([(0,Lt.IsOptional)(),(0,Lt.ValidateNested)(),(0,Dh.Type)(()=>ys),ba("design:type",typeof IGuiaTransito>"u"?Object:IGuiaTransito)],Hn.prototype,"guiaTransito",void 0);Hn=jr([(0,rS.Choice)({properties:["defensivo","guiaTransito"]})],Hn);var Ca=require("class-validator"),Ph=require("class-transformer");function kc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(kc,"_ts_decorate");function Hc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Hc,"_ts_metadata");var jl=class{static{a(this,"RSAKeyValue")}Modulus;Exponent};kc([(0,Ca.IsString)(),Hc("design:type",String)],jl.prototype,"Modulus",void 0);kc([(0,Ca.IsString)(),Hc("design:type",String)],jl.prototype,"Exponent",void 0);var zl=class{static{a(this,"PAASignature")}SignatureValue;RSAKeyValue};kc([(0,Ca.IsString)(),Hc("design:type",String)],zl.prototype,"SignatureValue",void 0);kc([(0,Ca.ValidateNested)(),(0,Ph.Type)(()=>jl),Hc("design:type",typeof IRSAKeyValue>"u"?Object:IRSAKeyValue)],zl.prototype,"RSAKeyValue",void 0);var Sa=class{static{a(this,"InfPAA")}CNPJPAA;PAASignature};kc([(0,Ca.IsString)(),Hc("design:type",String)],Sa.prototype,"CNPJPAA",void 0);kc([(0,Ca.ValidateNested)(),(0,Ph.Type)(()=>zl),Hc("design:type",typeof IPAASignature>"u"?Object:IPAASignature)],Sa.prototype,"PAASignature",void 0);function Ge(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Ge,"_ts_decorate");function Qe(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Qe,"_ts_metadata");var xs=class{static{a(this,"InfNFeAttributes")}Id;versao};Ge([(0,L.IsOptional)(),(0,L.IsString)(),Qe("design:type",String)],xs.prototype,"Id",void 0);Ge([(0,L.IsOptional)(),(0,L.IsString)(),Qe("design:type",String)],xs.prototype,"versao",void 0);var Ce=class{static{a(this,"InfNFe")}ide;emit;avulsa;dest;retirada;entrega;autXML;det;total;transp;cobr;pag;infIntermed;infAdic;exporta;compra;cana;infRespTec;infSolicNFF;agropecuario;infPAA};Ge([(0,L.IsObject)(),(0,L.IsNotEmptyObject)(),(0,Ke.Type)(()=>xs),(0,L.ValidateNested)(),Qe("design:type",typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes)],Ce.prototype,"$",void 0);Ge([(0,L.IsObject)(),(0,L.IsNotEmptyObject)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>K),Qe("design:type",typeof IIde>"u"?Object:IIde)],Ce.prototype,"ide",void 0);Ge([(0,L.IsObject)(),(0,L.IsNotEmptyObject)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>St),Qe("design:type",typeof IEmit>"u"?Object:IEmit)],Ce.prototype,"emit",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>Wt),Qe("design:type",typeof IAvulsa>"u"?Object:IAvulsa)],Ce.prototype,"avulsa",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>Tt),Qe("design:type",typeof IDest>"u"?Object:IDest)],Ce.prototype,"dest",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>we),Qe("design:type",typeof ILocal>"u"?Object:ILocal)],Ce.prototype,"retirada",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>we),Qe("design:type",typeof ILocal>"u"?Object:ILocal)],Ce.prototype,"entrega",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)({each:!0}),(0,L.ArrayMaxSize)(10),(0,Ke.Type)(()=>Cn),Qe("design:type",Array)],Ce.prototype,"autXML",void 0);Ge([(0,L.ValidateNested)({each:!0}),(0,L.ArrayMaxSize)(990),(0,L.ArrayMinSize)(1),(0,Ke.Type)(()=>Ai),Qe("design:type",Array)],Ce.prototype,"det",void 0);Ge([(0,L.ValidateNested)(),(0,Ke.Type)(()=>vi),Qe("design:type",typeof ITotal>"u"?Object:ITotal)],Ce.prototype,"total",void 0);Ge([(0,L.ValidateNested)(),(0,Ke.Type)(()=>ro),Qe("design:type",typeof ITransp>"u"?Object:ITransp)],Ce.prototype,"transp",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>Kr),Qe("design:type",typeof ICobr>"u"?Object:ICobr)],Ce.prototype,"cobr",void 0);Ge([(0,L.ValidateNested)(),(0,Ke.Type)(()=>ta),Qe("design:type",typeof IPag>"u"?Object:IPag)],Ce.prototype,"pag",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>Qr),Qe("design:type",typeof IInfIntermed>"u"?Object:IInfIntermed)],Ce.prototype,"infIntermed",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>Wi),Qe("design:type",typeof IInfAdic>"u"?Object:IInfAdic)],Ce.prototype,"infAdic",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>nr),Qe("design:type",typeof IExporta>"u"?Object:IExporta)],Ce.prototype,"exporta",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>rr),Qe("design:type",typeof ICompra>"u"?Object:ICompra)],Ce.prototype,"compra",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>ao),Qe("design:type",typeof ICana>"u"?Object:ICana)],Ce.prototype,"cana",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>fi),Qe("design:type",typeof IInfRespTec>"u"?Object:IInfRespTec)],Ce.prototype,"infRespTec",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>gs),Qe("design:type",typeof ISolicNFF>"u"?Object:ISolicNFF)],Ce.prototype,"infSolicNFF",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>Hn),Qe("design:type",typeof IAgropecuario>"u"?Object:IAgropecuario)],Ce.prototype,"agropecuario",void 0);Ge([(0,L.IsOptional)(),(0,L.ValidateNested)(),(0,Ke.Type)(()=>Sa),Qe("design:type",typeof IInfPAA>"u"?Object:IInfPAA)],Ce.prototype,"infPAA",void 0);var Eh=require("class-transformer");function vd(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(vd,"_ts_decorate");function gd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(gd,"_ts_metadata");var Gc=class{static{a(this,"NFeAttributes")}xmlns};vd([(0,Po.IsString)(),(0,Po.IsNotEmpty)(),gd("design:type",String)],Gc.prototype,"xmlns",void 0);var zr=class{static{a(this,"NFe")}$;infNFe;Signature};vd([(0,Po.IsObject)(),(0,Po.IsNotEmptyObject)(),(0,Eh.Type)(()=>Gc),(0,Po.ValidateNested)(),gd("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],zr.prototype,"$",void 0);vd([(0,Po.IsObject)(),(0,Po.IsNotEmptyObject)(),(0,Eh.Type)(()=>Ce),(0,Po.ValidateNested)(),gd("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],zr.prototype,"infNFe",void 0);vd([(0,Po.Allow)(),gd("design:type",typeof Signature>"u"?Object:Signature)],zr.prototype,"Signature",void 0);var aS=require("nfets/core");var xo=require("nfets/core");var fn=a((t=[Xd])=>(e,o,i)=>{let r=i.value;r!=null&&(i.value=function(...n){return t.includes(this.schema)?r.apply(this,n):this})},"SchemaValidates");function yo(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(yo,"_ts_decorate");function q(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(q,"_ts_metadata");var lt=class{static{a(this,"NfeDetXmlBuilder")}listener;schema;data={};static create(e,o="PL_009_V4"){return new this(e,o)}constructor(e,o="PL_009_V4"){this.listener=e,this.schema=o}det(e){return this.data.$=e,this}prod(e){return this.data.prod=e,this.listener?.prod(e),this}imposto(e){return this.data.imposto=e,this.listener?.imposto(e),this}icms(e){return e?(this.data.imposto??={},this.data.imposto.ICMS=e,this.listener?.icms(e),this):this}issqn(e){return e?(this.data.imposto??={},this.data.imposto.ISSQN=e,this.listener?.issqn(e),this):this}ii(e){return e?(this.data.imposto??={},this.data.imposto.II=e,this.listener?.ii(e),this):this}ipi(e){return e?(this.data.imposto??={},this.data.imposto.IPI=e,this.listener?.ipi(e),this):this}pis(e){return e?(this.data.imposto??={},this.data.imposto.PIS=e,this.listener?.pis(e),this):this}pisst(e){return e?(this.data.imposto??={},this.data.imposto.PISST=e,this):this}cofins(e){return e?(this.data.imposto??={},this.data.imposto.COFINS=e,this.listener?.cofins(e),this):this}cofinsst(e){return e?(this.data.imposto??={},this.data.imposto.COFINSST=e,this):this}icmsufdest(e){return e?(this.data.imposto??={},this.data.imposto.ICMSUFDest=e,this):this}is(e){return e==null?this:(this.data.imposto??={},this.data.imposto.IS=e,this)}ibscbs(e){return e==null?this:(this.data.imposto??={},this.data.imposto.IBSCBS=e,this)}vItem(e){return e?(this.data.vItem=e.vItem,this):this}dfeReferenciado(e){return e?(this.data.DFeReferenciado=e,this):this}assemble(){let e={...this.data};return this.data={},e}};yo([(0,xo.Validates)(Uc),q("design:type",Function),q("design:paramtypes",[typeof IDetAttributes>"u"?Object:IDetAttributes]),q("design:returntype",void 0)],lt.prototype,"det",null);yo([(0,xo.Validates)(_),q("design:type",Function),q("design:paramtypes",[typeof IProd>"u"?Object:IProd]),q("design:returntype",void 0)],lt.prototype,"prod",null);yo([(0,xo.Validates)(ht),q("design:type",Function),q("design:paramtypes",[typeof IImposto>"u"?Object:IImposto]),q("design:returntype",void 0)],lt.prototype,"imposto",null);yo([(0,xo.Validates)(he),q("design:type",Function),q("design:paramtypes",[typeof IICMS>"u"?Object:IICMS]),q("design:returntype",void 0)],lt.prototype,"icms",null);yo([(0,xo.Validates)(ot),q("design:type",Function),q("design:paramtypes",[typeof IISSQN>"u"?Object:IISSQN]),q("design:returntype",void 0)],lt.prototype,"issqn",null);yo([(0,xo.Validates)(An),q("design:type",Function),q("design:paramtypes",[typeof III>"u"?Object:III]),q("design:returntype",void 0)],lt.prototype,"ii",null);yo([(0,xo.Validates)(Ci),q("design:type",Function),q("design:paramtypes",[typeof IIPI>"u"?Object:IIPI]),q("design:returntype",void 0)],lt.prototype,"ipi",null);yo([(0,xo.Validates)(Pn),q("design:type",Function),q("design:paramtypes",[typeof IPIS>"u"?Object:IPIS]),q("design:returntype",void 0)],lt.prototype,"pis",null);yo([(0,xo.Validates)(on),q("design:type",Function),q("design:paramtypes",[typeof IPISST>"u"?Object:IPISST]),q("design:returntype",void 0)],lt.prototype,"pisst",null);yo([(0,xo.Validates)(En),q("design:type",Function),q("design:paramtypes",[typeof ICOFINS>"u"?Object:ICOFINS]),q("design:returntype",void 0)],lt.prototype,"cofins",null);yo([(0,xo.Validates)(an),q("design:type",Function),q("design:paramtypes",[typeof ICOFINSST>"u"?Object:ICOFINSST]),q("design:returntype",void 0)],lt.prototype,"cofinsst",null);yo([(0,xo.Validates)(Ao),q("design:type",Function),q("design:paramtypes",[typeof IICMSUFDest>"u"?Object:IICMSUFDest]),q("design:returntype",void 0)],lt.prototype,"icmsufdest",null);yo([fn(So),(0,xo.Validates)(ko),q("design:type",Function),q("design:paramtypes",[typeof IIS>"u"?Object:IIS]),q("design:returntype",void 0)],lt.prototype,"is",null);yo([fn(So),(0,xo.Validates)(go),q("design:type",Function),q("design:paramtypes",[typeof IIBSCBS>"u"?Object:IIBSCBS]),q("design:returntype",void 0)],lt.prototype,"ibscbs",null);yo([fn(So),q("design:type",Function),q("design:paramtypes",[typeof IVItem>"u"?Object:IVItem]),q("design:returntype",void 0)],lt.prototype,"vItem",null);yo([fn(So),(0,xo.Validates)(xa),q("design:type",Function),q("design:paramtypes",[typeof IDFeReferenciado>"u"?Object:IDFeReferenciado]),q("design:returntype",void 0)],lt.prototype,"dfeReferenciado",null);var Qc=require("nfets/core"),ve=require("nfets/core"),yd=require("nfets/core");function Ze(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(Ze,"_ts_decorate");function A(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(A,"_ts_metadata");var ce=class{static{a(this,"NfeXmlBuilder")}builder;contingency;schema;data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}}};$data=void 0;aggregators=[new yp(this)];root="NFe";$det=new gp(this);nfeDetXmlBuilder;static create(e,o,i="PL_009_V4"){return new this(e,o,i)}constructor(e,o,i="PL_009_V4"){this.builder=e,this.contingency=o,this.schema=i,this.nfeDetXmlBuilder=lt.create(this.$det,i)}infNFe(e){return this.data.infNFe.$=e,this}ide(e){return this.data.infNFe.ide=e,this}emit(e){return this.data.infNFe.emit=e,this}avulsa(e){return e==null?this:(this.data.infNFe.avulsa=e,this)}dest(e){return e==null?this:(this.data.infNFe.dest=e,this)}retirada(e){return e==null?this:(this.data.infNFe.retirada=e,this)}entrega(e){return e==null?this:(this.data.infNFe.entrega=e,this)}autXML(e){return e?.length?(this.data.infNFe.autXML=e,this):this}det(e,o){return this.data.infNFe.det=e.map((i,r)=>{let n=o(this.nfeDetXmlBuilder.det({nItem:(r+1).toString()}),i);return this.collect(n),n.assemble()}),this}total(e){return e==null?this:(this.data.infNFe.total=e,this)}ISSQNtot(e){return e==null?this:(this.data.infNFe.total.ISSQNtot??={},this.data.infNFe.total.ISSQNtot={...this.data.infNFe.total.ISSQNtot,...e},this)}ICMSTot(e){return e==null?this:(this.data.infNFe.total.ICMSTot={...this.data.infNFe.total.ICMSTot,...e},this)}IBSCBSTot(e){return e==null?this:(this.data.infNFe.total.IBSCBSTot={...this.data.infNFe.total.IBSCBSTot,...e},this)}ISTot(e){return e==null?this:(this.data.infNFe.total.ISTot={...this.data.infNFe.total.ISTot,...e},this)}increment(e){let o=e(this.data.infNFe.total,this.data.infNFe.det);return this.data.infNFe.total={...this.data.infNFe.total,ICMSTot:{...this.data.infNFe.total.ICMSTot,...o.ICMSTot},ISSQNtot:o.ISSQNtot?{...this.data.infNFe.total.ISSQNtot,...o.ISSQNtot}:this.data.infNFe.total.ISSQNtot},So.includes(this.schema)&&this.buildTotalForPL_010(o),this}buildTotalForPL_010(e){let o=this.data.infNFe.total.IBSCBSTot,i=e.IBSCBSTot,r=this.data.infNFe.total.ISTot,n=e.ISTot;this.data.infNFe.total={...this.data.infNFe.total,IBSCBSTot:{...o,...i,gCBS:{...o?.gCBS,...i?.gCBS},gIBS:{...o?.gIBS,...i?.gIBS,gIBSMun:{...o?.gIBS?.gIBSMun,...i?.gIBS?.gIBSMun},gIBSUF:{...o?.gIBS?.gIBSUF,...i?.gIBS?.gIBSUF}},...i?.gMono!=null||o?.gMono!=null?{gMono:{...o?.gMono,...i?.gMono}}:{},...i?.gEstornoCred!=null||o?.gEstornoCred!=null?{gEstornoCred:{...o?.gEstornoCred,...i?.gEstornoCred}}:{}},ISTot:r||n?{...r,...n}:r,vNFTot:e.vNFTot??this.data.infNFe.total.vNFTot}}transp(e){return e==null?this:(this.data.infNFe.transp=e,this)}cobr(e){return e==null?this:(this.data.infNFe.cobr=e,this)}pag(e){return e==null?this:(this.data.infNFe.pag=e,this)}infIntermed(e){return e==null?this:(this.data.infNFe.infIntermed=e,this)}infAdic(e){return e==null?this:(this.data.infNFe.infAdic=e,this)}exporta(e){return e==null?this:(this.data.infNFe.exporta=e,this)}compra(e){return e==null?this:(this.data.infNFe.compra=e,this)}cana(e){return e==null?this:(this.data.infNFe.cana=e,this)}infRespTec(e){return e==null?this:(this.data.infNFe.infRespTec=e,this)}infSolicNFF(e){return e==null?this:(this.data.infNFe.infSolicNFF=e,this)}agropecuario(e){return e==null?this:(this.data.infNFe.agropecuario=e,this)}infPAA(e){return e==null?this:(this.data.infNFe.infPAA=e,this)}toInstance(){return(0,aS.plainToInstance)(this.data,zr,{clearEmptyValues:!0})}quiet(){return Reflect.deleteMetadata(ve.ValidateErrorsMetadata,this),this}toObject(){if(this.$data!==void 0)return(0,Qc.right)(this.$data);let e=this.errors();if(e)return(0,Qc.left)(new yd.NFeTsError(e.join(", ")));for(let o of this.aggregators)o.aggregate();return this.assertHomologValidations(),this.assertContingencyModes(),this.fillAccessKeyIfEmpty(),this.$data=$s(this.toInstance(),this.data.infNFe.emit.enderEmit.UF),(0,Qc.right)(this.$data)}async assemble(){let e=this.toObject();return e.isLeft()?e:(0,Qc.right)(await this.builder.build(e.value,{rootName:this.root}))}assertHomologValidations(){return this.data.infNFe.ide.tpAmb!==yd.Environment.Homolog?!1:(this.data.infNFe.dest&&(this.data.infNFe.dest.xNome="NF-E EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL"),!0)}assertContingencyModes(){if(this.contingency===void 0)return this.automaticallyInferContingencyMode();this.data.infNFe.ide.dhCont??=this.contingency.dhCont,this.data.infNFe.ide.xJust??=this.contingency.xJust;let{cUF:e,tpEmis:o}=this.data.infNFe.ide;if(o!==Ot.Normal)return;switch(qu[e]){case"SVCAN":return this.data.infNFe.ide.tpEmis=Ot.SVCAN,void 0;case"SVCRS":return this.data.infNFe.ide.tpEmis=Ot.SVCRS,void 0}}automaticallyInferContingencyMode(){let{xJust:e,dhCont:o,tpEmis:i}=this.data.infNFe.ide;if(!(!e&&!o&&i===Ot.Normal))return this.contingency={xJust:e??"SEFAZ fora do Ar",dhCont:o??new Date().toISOString()},this.assertContingencyModes()}errors(){return Reflect.getMetadata(ve.ValidateErrorsMetadata,this)}collect(e){let o=Reflect.getMetadata(ve.ValidateErrorsMetadata,e);if(!o)return;let i=this.errors();Reflect.defineMetadata(ve.ValidateErrorsMetadata,(i??[]).concat(o),this)}fillAccessKeyIfEmpty(){if(this.data.infNFe.$.Id)return;let e=new vp().compile({cUF:this.data.infNFe.ide.cUF,year:this.data.infNFe.ide.dhEmi.substring(2,4),month:this.data.infNFe.ide.dhEmi.substring(5,7),identification:this.data.infNFe.emit.CPF??this.data.infNFe.emit.CNPJ,mod:this.data.infNFe.ide.mod,serie:this.data.infNFe.ide.serie,nNF:this.data.infNFe.ide.nNF,tpEmis:this.data.infNFe.ide.tpEmis,cNF:this.data.infNFe.ide.cNF});this.data.infNFe.ide.cDV=e.slice(-1),this.data.infNFe.$={Id:`${this.root}${e}`,versao:this.data.infNFe.$.versao}}};Ze([(0,ve.Validates)(xs),A("design:type",Function),A("design:paramtypes",[typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes]),A("design:returntype",void 0)],ce.prototype,"infNFe",null);Ze([(0,ve.Validates)(K),A("design:type",Function),A("design:paramtypes",[typeof IIde>"u"?Object:IIde]),A("design:returntype",void 0)],ce.prototype,"ide",null);Ze([(0,ve.Validates)(St),A("design:type",Function),A("design:paramtypes",[typeof IEmit>"u"?Object:IEmit]),A("design:returntype",void 0)],ce.prototype,"emit",null);Ze([(0,ve.Validates)(Wt),A("design:type",Function),A("design:paramtypes",[typeof IAvulsa>"u"?Object:IAvulsa]),A("design:returntype",void 0)],ce.prototype,"avulsa",null);Ze([(0,ve.Validates)(Tt),A("design:type",Function),A("design:paramtypes",[typeof IDest>"u"?Object:IDest]),A("design:returntype",void 0)],ce.prototype,"dest",null);Ze([(0,ve.Validates)(we),A("design:type",Function),A("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),A("design:returntype",void 0)],ce.prototype,"retirada",null);Ze([(0,ve.Validates)(we),A("design:type",Function),A("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),A("design:returntype",void 0)],ce.prototype,"entrega",null);Ze([(0,ve.Validates)(Cn,{each:!0}),A("design:type",Function),A("design:paramtypes",[Array]),A("design:returntype",void 0)],ce.prototype,"autXML",null);Ze([(0,ve.Validates)(vi),A("design:type",Function),A("design:paramtypes",[typeof ITotal>"u"?Object:ITotal]),A("design:returntype",void 0)],ce.prototype,"total",null);Ze([fn(So),(0,ve.Validates)(Xi),A("design:type",Function),A("design:paramtypes",[typeof IIBSCBSTot>"u"?Object:IIBSCBSTot]),A("design:returntype",void 0)],ce.prototype,"IBSCBSTot",null);Ze([fn(So),(0,ve.Validates)(is),A("design:type",Function),A("design:paramtypes",[typeof IISTot>"u"?Object:IISTot]),A("design:returntype",void 0)],ce.prototype,"ISTot",null);Ze([fn(So),A("design:type",Function),A("design:paramtypes",[typeof ITotal>"u"?Object:ITotal]),A("design:returntype",void 0)],ce.prototype,"buildTotalForPL_010",null);Ze([(0,ve.Validates)(ro),A("design:type",Function),A("design:paramtypes",[typeof ITransp>"u"?Object:ITransp]),A("design:returntype",void 0)],ce.prototype,"transp",null);Ze([(0,ve.Validates)(Kr),A("design:type",Function),A("design:paramtypes",[typeof ICobr>"u"?Object:ICobr]),A("design:returntype",void 0)],ce.prototype,"cobr",null);Ze([(0,ve.Validates)(ta),A("design:type",Function),A("design:paramtypes",[typeof IPag>"u"?Object:IPag]),A("design:returntype",void 0)],ce.prototype,"pag",null);Ze([(0,ve.Validates)(Qr),A("design:type",Function),A("design:paramtypes",[typeof IInfIntermed>"u"?Object:IInfIntermed]),A("design:returntype",void 0)],ce.prototype,"infIntermed",null);Ze([(0,ve.Validates)(Wi),A("design:type",Function),A("design:paramtypes",[typeof IInfAdic>"u"?Object:IInfAdic]),A("design:returntype",void 0)],ce.prototype,"infAdic",null);Ze([(0,ve.Validates)(nr),A("design:type",Function),A("design:paramtypes",[typeof IExporta>"u"?Object:IExporta]),A("design:returntype",void 0)],ce.prototype,"exporta",null);Ze([(0,ve.Validates)(rr),A("design:type",Function),A("design:paramtypes",[typeof ICompra>"u"?Object:ICompra]),A("design:returntype",void 0)],ce.prototype,"compra",null);Ze([(0,ve.Validates)(ao),A("design:type",Function),A("design:paramtypes",[typeof ICana>"u"?Object:ICana]),A("design:returntype",void 0)],ce.prototype,"cana",null);Ze([(0,ve.Validates)(fi),A("design:type",Function),A("design:paramtypes",[typeof IInfRespTec>"u"?Object:IInfRespTec]),A("design:returntype",void 0)],ce.prototype,"infRespTec",null);Ze([(0,ve.Validates)(gs),A("design:type",Function),A("design:paramtypes",[typeof ISolicNFF>"u"?Object:ISolicNFF]),A("design:returntype",void 0)],ce.prototype,"infSolicNFF",null);Ze([fn(So),(0,ve.Validates)(Hn),A("design:type",Function),A("design:paramtypes",[typeof IAgropecuario>"u"?Object:IAgropecuario]),A("design:returntype",void 0)],ce.prototype,"agropecuario",null);Ze([fn(So),(0,ve.Validates)(Sa),A("design:type",Function),A("design:paramtypes",[typeof IInfPAA>"u"?Object:IInfPAA]),A("design:returntype",void 0)],ce.prototype,"infPAA",null);var Tl=class extends Ys{static{a(this,"NfeXmlBuilderPipeline")}certificate;schema;builder;constructor(e,o="PL_009_V4"){super(e),this.certificate=e,this.schema=o,this.builder=ce.create(this.toolkit,void 0,this.schema)}build(e){return e(this.builder),this}async assemble(){let e=await this.builder.assemble();return e.isLeft()?e:this.assertXmlSignedAndValidated(e.value)}get nfeXsdSchema(){return sS.default.resolve(hp(),this.schema,"nfe_v4.00.xsd")}async assertXmlSignedAndValidated(e){if(!this.certificate)return(0,Zc.right)(e);let o=await this.signXmlString(e);return o.isLeft()?o:this.validateXmlString(o.value)}async signXmlString(e){if(!this.certificate)return(0,Zc.right)(e);let o=await this.certificates.read(this.certificate);return o.isLeft()?o:this.xmlSigner.sign(e,{tag:"infNFe",mark:"Id"},o.value)}async validateXmlString(e){let o=await this.toolkit.validate(e,this.nfeXsdSchema);return o.isLeft()?(0,Zc.left)(new mp(o.value.message,e,{cause:o.value.cause})):(0,Zc.right)(e)}};var uS=require("nfets/core");var Cd=require("nfets/core"),dS=require("nfets/core");var lS=require("nfets/core");var Sd=require("class-transformer"),Ho=require("class-validator");var jh=require("class-validator");function cS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(cS,"_ts_decorate");function pS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(pS,"_ts_metadata");var Yc=class{static{a(this,"InfNFeSupl")}qrCode;urlChave};cS([(0,jh.IsString)(),pS("design:type",String)],Yc.prototype,"qrCode",void 0);cS([(0,jh.IsString)(),pS("design:type",String)],Yc.prototype,"urlChave",void 0);function xd(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(n=(r<3?s(n):r>3?s(e,o,n):s(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}a(xd,"_ts_decorate");function bd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(bd,"_ts_metadata");var Gn=class{static{a(this,"NFCe")}$;infNFe;infNFeSupl;Signature};xd([(0,Ho.IsObject)(),(0,Ho.IsNotEmptyObject)(),(0,Sd.Type)(()=>Gc),(0,Ho.ValidateNested)(),bd("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],Gn.prototype,"$",void 0);xd([(0,Ho.IsObject)(),(0,Ho.IsNotEmptyObject)(),(0,Sd.Type)(()=>Ce),(0,Ho.ValidateNested)(),bd("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],Gn.prototype,"infNFe",void 0);xd([(0,Ho.IsObject)(),(0,Ho.IsNotEmptyObject)(),(0,Sd.Type)(()=>Yc),(0,Ho.ValidateNested)(),bd("design:type",typeof IInfNFeSupl>"u"?Object:IInfNFeSupl)],Gn.prototype,"infNFeSupl",void 0);xd([(0,Ho.Allow)(),bd("design:type",typeof Signature>"u"?Object:Signature)],Gn.prototype,"Signature",void 0);var Bl=class extends ce{static{a(this,"NfceXmlBuilder")}data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}}};static create(e,o,i="PL_009_V4"){return new this(e,o,i)}toInstance(){return(0,lS.plainToInstance)(this.data,Gn,{clearEmptyValues:!0})}assertHomologValidations(){return super.assertHomologValidations()?(this.data.infNFe.det[0].prod.xProd="NOTA FISCAL EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL",!0):!1}assertContingencyModes(){if(this.contingency===void 0)return this.automaticallyInferContingencyMode();this.data.infNFe.ide.dhCont??=this.contingency.dhCont,this.data.infNFe.ide.xJust??=this.contingency.xJust;let{tpEmis:e}=this.data.infNFe.ide;if(e===Ot.Normal)return this.data.infNFe.ide.tpEmis=Ot.OFFLINE,void 0}};var zh=class extends Tl{static{a(this,"NfceXmlBuilderPipeline")}options;nfceQrcode=new Gt(this.certificates);transmitter=new jt(this.soap,this.nfceQrcode);constructor(e,o="PL_009_V4",i){super(e,o),this.options=i}builder=Bl.create(this.toolkit,void 0,this.schema);async assertXmlSignedAndValidated(e){let o=await super.assertXmlSignedAndValidated(e);if(o.isLeft()||!this.options?.qrCode)return o;if(!this.certificate)return(0,Cd.left)(new uS.NFeTsError("Certificate is required to assemble NFCe XML with QR Code"));let i=o.value,r=await this.toolkit.parse(i),n=await this.generateQrCode(r,this.options,this.certificate);if(n.isLeft())return n;let s=await this.toolkit.build(n.value,{rootName:"infNFeSupl"}),c=this.toolkit.insertBefore(i,"Signature",s);return(0,Cd.right)(c)}async generateQrCode(e,o,i){let r=this.transmitter.service({cUF:e.infNFe.ide.cUF,tpAmb:e.infNFe.ide.tpAmb,service:"NfeConsultaQR"}),n={...o.qrCode};switch(n.version??=r.version,n.version){case"200":return await this.nfceQrcode.execute(e,{version:n.version,urlConsult:this.transmitter.getUrlConsult(e),urlService:r.url,CSC:n.CSC,CSCId:n.CSCId});case"300":{let s=await this.certificates.read(i);return s.isLeft()?s:await this.nfceQrcode.execute(e,{version:n.version,certificate:s.value,urlConsult:this.transmitter.getUrlConsult(e),urlService:r.url})}default:return(0,dS.unreachable)(n.version)}}};var fS="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAg0AAAFXCAYAAAAh5X2YAAAgAElEQVR4nOy9e5xdZX3v//7sDENMY0zTNCcnJ+XQlEORw0TkRzkUYSCZaKkSBrwEa8XLD5tgBtA2M6HUenxZj1Umk1pJhpLUS71Uy2gp4WK9ZAJM1HootZpYDz9+/CylkQaIiCHEECbz/f2xnmettffc9mWtfZl53jDZa6/P2mt/n2evtZ7v831uIhCokN7d+9qRFgAL3d98jIWGLUJaLOOXEEsMu31r18qvNtjcQCAQCGSEGm1AoP5sGt7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KUh8LpjYEdrk+xzkN4PdNheDKpJmxxZI5L4yEmUHTC8LLvH8NiSRZtDkFwgEDhpCEpD4HXNwI6lGaGzsLNIFwMXAfNsWiQyaftA5SsNXquR2SNIh8AHQVsxLyB+CmwCdh6rSpiBQCBwIhGUhsAbii07WrGZI/lsw2JgIWa+pDnALOyoaFEcq2AzIrEPOIC9B9iN9H+AndjbLe1asjDEKgQCgQDA/wf59f5AwcXxcQAAAABJRU5ErkJggg==";var Xc=class t{static{a(this,"Header")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}emit(e){let{left:o,right:i}=this.builder.pageMargins(),r=e?.x??o,n=this.context.data.infNFe.emit,{enderEmit:s}=n,{xNome:c}=n,p=this.context.defaults.font,u=`${p}-Bold`,l="center";this.builder.row({left:r,right:i},d=>this.builder.text(this.identification(n),{...d,align:l})).row({left:r,right:i},d=>this.builder.font(u).text(c,{...d,align:l}).font(p)).row({left:r,right:i},d=>this.builder.text(`${this.addressLine1(s)}${this.addressLine2(s)}${this.addressLine3(s)}`,{...d,align:l})).row({left:r,right:i},d=>this.builder.text(this.addressLine4(s),{...d,align:l}))}identification(e){let o=this.cpfOrCnpj(e),i=e.IE.length?` IE: ${e.IE}`:"";return`${o}${i}`}cpfOrCnpj(e){let{CNPJ:o,CPF:i}=e;return o?.length===14?`CNPJ ${o.replace(/([A-Z0-9]{2})([A-Z0-9]{3})([A-Z0-9]{3})([A-Z0-9]{4})([A-Z0-9]{2})/,"$1.$2.$3/$4-$5")}`:i?.length===11?`CPF ${i.replace(/(\d{3})(\d{3})(\d{3})(\d{2})/,"$1.$2.$3-$4")}`:""}addressLine1(e){let{xLgr:o,nro:i}=e;return`${o}, ${i}`}addressLine2(e){let{xBairro:o}=e;return`, ${o}`}addressLine3(e){let{xMun:o,UF:i}=e;return`, ${o} - ${i}`}addressLine4(e){let{fone:o}=e;return o?`Fone: ${o.replace(/(\d{2})(\d{4,5})(\d{4})/,"($1) $2-$3")}`:""}staticTexts(){let{left:e,right:o}=this.builder.pageMargins();this.builder.moveDown(.5).fontSize(this.context.options.titleFontSize).row({left:e,right:o},i=>this.builder.text("Documento Auxiliar da Nota Fiscal de Consumidor Eletr\xF4nica",{...i,align:"center"})).row({left:e,right:o},i=>this.builder.text("N\xE3o permite aproveitamento de cr\xE9dito de ICMS",{...i,align:"center"}))}get logo(){let{logo:e,ignoreDefaultLogo:o}=this.context.options;if(e)return e;if(!o)return fS}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.emit(),this.staticTexts(),this.builder}end(){t._instance=void 0}};var Na=class t{static{a(this,"FiscalMessages")}context;static _instance;constants={issuedInContingency:"EMITIDA EM CONTING\xCANCIA",pendingOfAuthorization:"Pendente de autoriza\xE7\xE3o",notProtocoledInNormalEmission:"PENDENTE DE AUTORIZA\xC7\xC3O - SEM VALOR FISCAL"};static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get contingencyBannerText(){return this.context.protNFe?.infProt?this.constants.issuedInContingency:`${this.constants.issuedInContingency}
36
36
  ${this.constants.pendingOfAuthorization}`}get hasContingency(){let{tpEmis:e}=this.context.data.infNFe.ide;return e!==Ot.Normal}get hasNotProtocoledInNormalEmission(){return!this.hasContingency&&!this.context.protNFe}contingency(e){if(!this.hasContingency)return;let o=e?.x??0;this.builder.row({left:o},i=>this.builder.text(this.contingencyBannerText,{...i,align:"center"}))}notProtocoledInNormalEmission(e){if(!this.hasNotProtocoledInNormalEmission)return;let o=e?.x??0;this.builder.row({left:o},i=>this.builder.text(this.constants.notProtocoledInNormalEmission,{...i,align:"center"}))}build(e){return this.setup(),this.builder.moveDown(.5),this.contingency(e),this.notProtocoledInNormalEmission(e),this.builder}setup(){let e=this.context.defaults.font,o=`${e}-Bold`;this.builder.font(o,this.context.options.titleFontSize)}end(){t._instance=void 0}height(){this.setup();let e=[.5],{left:o,right:i}=this.builder.pageMargins(),r=this.builder.pageWidth()-o-i;return this.hasContingency&&e.push(this.builder.heightOfString(this.contingencyBannerText,{width:r,align:"center"})),this.hasNotProtocoledInNormalEmission&&e.push(this.builder.heightOfString(this.constants.notProtocoledInNormalEmission,{width:r,align:"center"})),e.reduce((n,s)=>n+s,0)}};var mS=require("nfets/core");var Jc=class t{static{a(this,"HomologMessage")}context;static _instance;constants={withoutFiscalValue:"EMITIDA EM AMBIENTE DE HOMOLOGA\xC7\xC3O \u2013 SEM VALOR FISCAL"};static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get hasHomologMessage(){let{tpAmb:e}=this.context.data.infNFe.ide;return e!==mS.Environment.Production}withHomologMessage(){if(!this.hasHomologMessage)return;let{left:e}=this.builder.pageMargins();this.builder.text(this.constants.withoutFiscalValue,{x:e,align:"center"})}build(){return this.setup(),this.builder.moveDown(.5),this.withHomologMessage(),this.builder.font(this.context.defaults.font),this.builder}setup(){let e=this.context.defaults.font,o=`${e}-Bold`;this.builder.font(o,this.context.options.titleFontSize)}end(){t._instance=void 0}height(){if(!this.hasHomologMessage)return 0;this.setup();let{left:e,right:o}=this.builder.pageMargins();return this.builder.heightOfString(this.constants.withoutFiscalValue,{width:this.builder.pageWidth()-e-o,align:"center"})}};var Nd=class t{static{a(this,"Items")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get columnStyles(){return[15,32,60,"*","*","*","*"]}get rowStyles(){return{border:!1}}get defaultStyle(){return{padding:{top:1,bottom:1,left:0,right:0}}}get headers(){let e={src:`${this.context.defaults.font}-Bold`};return[{font:e,text:"#"},{font:e,text:"cod."},{font:e,text:"descri\xE7\xE3o"},{font:e,align:{x:"right"},text:"qtde"},{font:e,align:{x:"right"},text:"unit."},{font:e,align:{x:"right"},text:"desc."},{font:e,align:{x:"right"},text:"total"}]}item(e){let{prod:o,$:{nItem:i}}=e,{cProd:r,xProd:n,qCom:s,uCom:c,vUnCom:p,vDesc:u,vProd:l}=o,d={size:this.context.options.textFontSize},g={font:d,text:i.padStart(3,"0")},y={font:d,text:r},C=[{font:d,align:{x:"right"},text:`${this.context.currency(s,4)} ${c}`},{font:d,align:{x:"right"},text:this.context.currency(p,10)},{font:d,align:{x:"right"},text:this.context.currency(u??0)},{font:d,align:{x:"right"},text:this.context.currency(l)}],w=this.builder.widthOfString(r),S=this.columnStyles[1];if(w>=S)return[[g,{colSpan:6,font:d,text:`${r} ${n}`}],[{colSpan:3},...C]];let x=this.builder.widthOfString(n),F=this.columnStyles[2];if(x>=F)return[[g,y,{colSpan:5,font:d,text:n}],[{colSpan:3},...C]];let D=this.getFirstLineWidth();return this.builder.widthOfString(`${r} ${n}`)<=D?[[g,y,{font:d,text:n},...C]]:[[g,y,{colSpan:5,font:d,text:n}],[{colSpan:3},...C]]}items(){let{det:e}=this.context.data.infNFe,o=Array.isArray(e)?e:[e],{left:i}=this.builder.pageMargins();this.builder.table({position:{x:i},defaultStyle:this.defaultStyle,columnStyles:this.columnStyles,rowStyles:this.rowStyles,data:[this.headers,...o.reduce((r,n)=>r.concat(this.item(n)),[])]})}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.builder.moveDown(.5),this.items(),this.builder}end(){t._instance=void 0}getFirstLineWidth(){return this.columnStyles.slice(1,3).reduce((o,i)=>o+i,0)}getProportionalWidth(){let{left:e,right:o}=this.builder.pageMargins(),i=this.builder.pageWidth()-e-o,r=this.columnStyles.reduce((s,c)=>typeof c=="number"?s+c:s,0),n=this.columnStyles.filter(s=>s==="*").length;return(i-r)/n}getAvailableWidth(e,o){if(e.colSpan){let n=o.indexOf(e),s=this.columnStyles.slice(0,n).reduce((p,u)=>typeof u=="number"?p+u:p,0),c=this.getProportionalWidth()*e.colSpan;return s+c}let i=o.indexOf(e),r=this.columnStyles[i];return typeof r=="number"?r:this.getProportionalWidth()}calculateRowHeight(e,o){let i=o;for(let r of e){if(!r.text)continue;let n=r.text,s=this.builder.widthOfString(n),c=this.getAvailableWidth(r,e),p=s<=c?o:this.builder.heightOfString(n,{width:c});i=Math.max(i,p)}return i}height(){this.setup();let{det:e}=this.context.data.infNFe,o=Array.isArray(e)?e:[e],i=this.builder.currentLineHeight(),r=i*1.2,n=i*.5,s=i*.5,c=o.reduce((u,l)=>{let d=this.item(l),[g]=d,y=this.calculateRowHeight(g,i),C=0;if(d.length>1){let D=this.calculateRowHeight(d[1],i);C=Math.max(i,D)}let{top:w,bottom:S}=this.defaultStyle.padding,x=w+S,F=d.length>1?i*.2:0;return u+y+C+d.length*x+F},0),p=i*2;return n+r+s+c+p}};var hS=require("nfets/core");var Wc=class t{static{a(this,"Totals")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}count(){let{det:e}=this.context.data.infNFe,o=Array.isArray(e)?e:[e],{left:i,right:r}=this.builder.pageMargins();this.builder.row({columns:2,left:i,right:r},n=>this.builder.text("Qtde. Total de Itens",{...n}),n=>this.builder.text(`${o.length}`,{...n,align:"right"}))}totalizers(){let{vProd:e,vDesc:o,vFrete:i,vSeg:r,vOutro:n}=this.context.data.infNFe.total.ICMSTot,{vServ:s}=this.context.data.infNFe.total.ISSQNtot??{};this.conditionalRowValue("Valor Total R$",new hS.Decimal(e).add(s??0).toNumber()),this.conditionalRowValue("Desconto total R$",o,"-"),this.conditionalRowValue("Frete total R$",i),this.conditionalRowValue("Seguro total R$",r),this.conditionalRowValue("Outras despesas total R$",n)}total(){let{vNF:e}=this.context.data.infNFe.total.ICMSTot,o=this.context.defaults.font,i=`${o}-Bold`,{left:r,right:n}=this.builder.pageMargins();this.builder.font(i).fontSize(this.context.options.titleFontSize).row({columns:2,left:r,right:n},s=>this.builder.text("Valor a Pagar R$",{...s,align:"left"}),s=>this.builder.text(this.context.currency(e),{...s,align:"right"})).font(o)}conditionalRowValue(e,o,i=""){if(!o||!Number.parseFloat(o.toString()))return;o=this.context.currency(o);let{left:r,right:n}=this.builder.pageMargins();this.builder.row({columns:2,left:r,right:n},s=>this.builder.text(e,{...s,align:"left"}),s=>this.builder.text(`${i}${o}`,{...s,align:"right"}))}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.builder.moveDown(.5),this.count(),this.totalizers(),this.total(),this.builder}end(){t._instance=void 0}};var vt={Dinheiro:"01",Cheque:"02",CartaoDeCredito:"03",CartaoDeDebito:"04",CartaoDaLoja:"05",ValeAlimentacao:"10",ValeRefeicao:"11",ValePresente:"12",ValeCombustivel:"13",BoletoBancario:"15",DepositoBancario:"16",PIXDinamico:"17",TransferenciaBancaria:"18",ProgramaFidelidade:"19",PIXEstatico:"20",CreditoEmLoja:"21",PagamentoNaoInformado:"22",SemPagamento:"90",PagamentoPosterior:"91",Outros:"99"},vS={[vt.Dinheiro]:"Dinheiro",[vt.Cheque]:"Cheque",[vt.CartaoDeCredito]:"Cart\xE3o de Cr\xE9dito",[vt.CartaoDeDebito]:"Cart\xE3o de D\xE9bito",[vt.CartaoDaLoja]:"Cart\xE3o da Loja/Outros Credi\xE1rios",[vt.ValeAlimentacao]:"Vale Alimenta\xE7\xE3o",[vt.ValeRefeicao]:"Vale Refei\xE7\xE3o",[vt.ValePresente]:"Vale Presente",[vt.ValeCombustivel]:"Vale Combust\xEDvel",[vt.BoletoBancario]:"Boleto Banc\xE1rio",[vt.DepositoBancario]:"Dep\xF3sito Banc\xE1rio",[vt.PIXDinamico]:"Pagamento Instant\xE2neo (PIX) - Din\xE2mico",[vt.TransferenciaBancaria]:"Transfer\xEAncia banc\xE1ria, Carteira Digital",[vt.ProgramaFidelidade]:"Programa fidelidade, Cashback, Cr\xE9d Virt",[vt.PIXEstatico]:"Pagamento Instant\xE2neo (PIX) - Est\xE1tico",[vt.CreditoEmLoja]:"Cr\xE9dito em Loja",[vt.PagamentoNaoInformado]:"Pagamento Eletr\xF4nico n\xE3o Informado - falha de hardware do sistema emissor",[vt.SemPagamento]:"Sem pagamento",[vt.PagamentoPosterior]:"Pagamento Posterior",[vt.Outros]:"Outros"};var Kc=class t{static{a(this,"Payments")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}payment(e){let{tPag:o,vPag:i}=e,{left:r,right:n}=this.builder.pageMargins();this.builder.row({columns:2,left:r,right:n},s=>this.builder.text(vS[o],{...s,align:"left"}),s=>this.builder.text(this.context.currency(i),{...s,align:"right"}))}payments(){let{pag:e}=this.context.data.infNFe,o=Array.isArray(e.detPag)?e.detPag:[e.detPag];if(o.length===0)return;let{left:i,right:r}=this.builder.pageMargins();this.builder.row({columns:2,left:i,right:r},n=>this.builder.text("Forma de Pagamento",{...n,align:"left"}),n=>this.builder.text("Valor pago R$",{...n,align:"right"})),o.forEach(n=>this.payment(n))}change(){let{vTroco:e}=this.context.data.infNFe.pag;if(!this.context.isValueNotEmpty(e))return;let{left:o,right:i}=this.builder.pageMargins();this.builder.moveDown(.5).row({columns:2,left:o,right:i},r=>this.builder.text("Troco R$",{...r,align:"left"}),r=>this.builder.text(this.context.currency(e),{...r,align:"right"}))}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.builder.moveDown(.5),this.payments(),this.change(),this.builder}end(){t._instance=void 0}height(){this.setup();let{pag:{vTroco:e,detPag:o}}=this.context.data.infNFe,i=Array.isArray(o)?o:[o],r=this.context.isValueNotEmpty(e)?this.builder.currentLineHeight()+.5:0;return this.builder.currentLineHeight()*i.length-1+r}};var $c=class t{static{a(this,"AccessKey")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}statics(){let{left:e,right:o}=this.builder.pageMargins(),i=this.context.defaults.font,r=`${i}-Bold`;this.builder.font(r).row({left:e,right:o},n=>this.builder.text("Consulte pela Chave de Acesso em",{...n,align:"center"})).font(i)}url(){let{urlChave:e}=this.context.data.infNFeSupl??{},{left:o,right:i}=this.builder.pageMargins();this.builder.row({left:o,right:i},r=>this.builder.text(e??"",{...r,link:e,align:"center"}))}accessKey(){let{Id:e}=this.context.data.infNFe.$;if(!e)return;this.builder.moveDown(.5);let o=e.substring(3).replace(/(.{4})/g,"$1 ").trim(),{left:i,right:r}=this.builder.pageMargins();this.builder.row({left:i,right:r},n=>this.builder.text(o,{...n,align:"center"}))}setup(){this.builder.font(this.context.defaults.font,this.context.options.titleFontSize)}build(){return this.builder.moveDown(.5),this.statics(),this.url(),this.accessKey(),this.builder}end(){t._instance=void 0}};var IN=dt(wN(),1);var Vd=class t{static{a(this,"QRCode")}context;static _instance;qrCodeSvg;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get hasContingency(){let{tpEmis:e}=this.context.data.infNFe.ide;return e!==Ot.Normal}get qrSize(){let{left:e,right:o}=this.builder.pageMargins(),i=this.builder.pageWidth()-e-o,r=this.hasContingency?.6:.4;return Math.floor(i*r)}async getQrSvgString(e){try{return await IN.toString(e,{margin:0,type:"svg",errorCorrectionLevel:"M",color:{dark:"#000000",light:"#FFFFFF"}})}catch(o){return console.error("Error generating QR code:",o),""}}drawQrCode(){if(!this.qrCodeSvg)return;let e=this.qrCodeSvg.$.viewBox,[,,o,i]=e.split(" ").map(Number),r=this.qrSize,n=r/o,s=r/i,c=Array.isArray(this.qrCodeSvg.path)?this.qrCodeSvg.path:[this.qrCodeSvg.path],{left:p,right:u}=this.builder.pageMargins(),l=this.builder.pageWidth()-p-u,d=p+(l-r)/2,g=this.builder.y();this.builder.save().translate(d,g).scale(n,s),c.forEach(y=>{this.builder.path(y.$.d),y.$.fill&&this.builder.fill(y.$.fill),y.$.stroke&&this.builder.stroke(y.$.stroke)}),this.builder.restore(),this.builder.text("",{y:g+r})}async make(){let{qrCode:e}=this.context.data.infNFeSupl??{};if(!e)return this.builder;let o=await this.getQrSvgString(e);this.qrCodeSvg=await this.context.toolkit.parse(o)}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}async build(){return await this.make(),this.qrCodeSvg?(this.setup(),this.builder.moveDown(.5),this.drawQrCode(),this.builder):this.builder}end(){t._instance=void 0}height(){let{qrCode:e}=this.context.data.infNFeSupl??{};return e?(this.setup(),this.qrSize+.5):0}};var Ld=class t{static{a(this,"Recipient")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}unknown(e){let{left:o,right:i}=this.builder.pageMargins(),r=this.context.defaults.font,n=`${r}-Bold`;this.builder.row({left:e?.x??o,right:i},s=>this.builder.font(n).text("CONSUMIDOR N\xC3O IDENTIFICADO",{...s,align:"center"}).font(r))}identification(e){let{CNPJ:o,CPF:i,idEstrangeiro:r}=e;return o?.length===14?`CNPJ: ${o.replace(/([A-Z0-9]{2})([A-Z0-9]{3})([A-Z0-9]{3})([A-Z0-9]{4})([A-Z0-9]{2})/,"$1.$2.$3/$4-$5")}`:i?.length===11?`CPF: ${i.replace(/(\d{3})(\d{3})(\d{3})(\d{2})/,"$1.$2.$3-$4")}`:r?.length?`Id. Estrangeiro: ${r}`:""}dest(e){let{dest:o}=this.context.data.infNFe;if(!o)return this.unknown(e);let{left:i,right:r}=this.builder.pageMargins(),n=this.identification(o),{xNome:s,enderDest:c}=o,p=this.addressLine(c),u=this.context.defaults.font,l=`${u}-Bold`;this.builder.row({left:e?.x??i,right:r},d=>this.builder.font(l).text(`CONSUMIDOR - ${n}`,{...d,align:"center"}).font(u)).row({left:e?.x??i,right:r},d=>this.builder.text(`${s}${p}`,{...d,align:"center"}))}addressLine(e){if(!e)return"";let{xLgr:o,nro:i,xBairro:r,xCpl:n,xMun:s,UF:c,CEP:p}=e;if(!o||!p)return"";let u=n?`, ${n}`:"";return` - Rua ${o}, ${i}, ${r}${u}, ${s} - ${c}`}addressLine2(e){let{xBairro:o,xCpl:i}=e,r=i?` - ${i}`:"";return`${o}${r}`}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(e){return this.setup(),this.builder.moveDown(.5),this.dest(e),this.builder}end(){t._instance=void 0}height(){this.setup();let{left:e,right:o}=this.builder.pageMargins(),i=this.builder.pageWidth()-e-o,r=[this.builder.currentLineHeight()*.5],{dest:n}=this.context.data.infNFe;if(!n)return r.push(this.builder.heightOfString("CONSUMIDOR N\xC3O IDENTIFICADO",{width:i,align:"center"})),r.reduce((l,d)=>l+d,0);let s=this.identification(n),{xNome:c,enderDest:p}=n,u=this.addressLine(p);return r.push(this.builder.heightOfString(`CONSUMIDOR - ${s}`,{width:i,align:"center"}),this.builder.heightOfString(`${c}${u}`,{width:i,align:"center"})),r.reduce((l,d)=>l+d,0)}};var Br=require("nfets/core");var _d=class t{static{a(this,"Protocols")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}isProtocoled(e){return!!e}protocol(e){let o=this.context.protNFe;return this.isProtocoled(o)?this.protocoled(o.infProt,e):this.unprotocoled()}unprotocoled(){}metadata(e){let{nNF:o,serie:i,dhEmi:r}=this.context.data.infNFe.ide,n=o.padStart(9,"0"),s=i.padStart(3,"0"),{left:c,right:p}=this.builder.pageMargins(),{cUF:u}=this.context.data.infNFe.ide,l=Br.timezones[u],d=(0,Br.dateToolkit)(r).tz(l).format("DD/MM/YYYY HH:mm:ss"),g=this.context.defaults.font,y=`${g}-Bold`;this.builder.row({left:e?.x??c,right:p},C=>this.builder.font(y).text(`NFC-e n\xBA ${n} - s\xE9rie ${s} emitida em: ${d}`,{...C,align:"center"}).font(g))}protocoled(e,o){let{dhRecbto:i,nProt:r}=e,{left:n,right:s}=this.builder.pageMargins(),{cUF:c}=this.context.data.infNFe.ide,p=Br.timezones[c],u=r.replace(/([0-9]{3})([0-9]{10})(.*)/g,"$1 $2 $3"),l=(0,Br.dateToolkit)(i).tz(p).format("DD/MM/YYYY HH:mm:ss");this.builder.row({left:o?.x??n,right:s},d=>this.builder.text(`Protocolo de autoriza\xE7\xE3o: ${u}
37
37
  Data de autoriza\xE7\xE3o: ${l}`,{...d,align:"center"}))}assemble(e){let{cMsg:o,xMsg:i}=this.context.protNFe?.infProt??{},{left:r,right:n}=this.builder.pageMargins();return i&&this.builder.row({left:e?.x??r,right:n},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,d=Br.timezones[l],g=(0,Br.dateToolkit)(c).tz(d).format("DD/MM/YYYY HH:mm:ss");e.push(this.builder.heightOfString(`NFC-e n\xBA ${p} - s\xE9rie ${u} emitida em: ${g}`,{width:r,align:"center"}));let{cMsg:y,xMsg:C}=this.context.protNFe?.infProt??{};C&&e.push(this.builder.heightOfString(`$(${y}) ${C}`,{width:r,align:"left"}));let w=this.context.protNFe;if(w){let{dhRecbto:S,nProt:x}=w.infProt,F=x.replace(/([0-9]{3})([0-9]{10})(.*)/g,"$1 $2 $3"),D=(0,Br.dateToolkit)(S).tz(d).format("DD/MM/YYYY HH:mm:ss");e.push(this.builder.heightOfString(`Protocolo de autoriza\xE7\xE3o: ${F}
38
38
  Data de autoriza\xE7\xE3o: ${D}`,{width:r,align:"center"}))}return e.reduce((S,x)=>S+x,0)}};var qd=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[Ld.instance(this.context),_d.instance(this.context),Na.instance(this.context)]}get builder(){return this.context.builder}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(e){return this.setup(),this.builders.forEach(o=>o.build(e)),this.builder}end(){t._instance=void 0,this.builders.forEach(e=>e.end())}height(){return this.setup(),this.builders.reduce((e,o)=>e+(o.height?.()??0),0)}};var _P=.35277777777777775,wv=.75,ON={"80mm":80/_P},Ud="gerado por github.com/nfets/nfets";var kd=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,`