rnfse 0.3.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +7 -6
- data/lib/provedores.yml +8 -0
- data/lib/rnfse.rb +5 -1
- data/lib/rnfse/api.rb +44 -22
- data/lib/rnfse/api/abrasf_1_0.rb +100 -17
- data/lib/rnfse/api/abrasf_1_0/#definitions.json# +413 -0
- data/lib/rnfse/api/abrasf_1_0/cancelar_nfse.json +13 -0
- data/lib/rnfse/api/abrasf_1_0/consultar_nfse.json +17 -0
- data/lib/rnfse/api/abrasf_1_0/consultar_nfse_por_rps.json +13 -0
- data/lib/rnfse/api/abrasf_1_0/definitions.json +27 -3
- data/lib/rnfse/api/abrasf_1_0/recepcionar_lote_rps.json +1 -1
- data/lib/rnfse/api/iss_net_1_0.rb +46 -2
- data/lib/rnfse/api/speed_gov_1_0.rb +115 -0
- data/lib/rnfse/call_chain.rb +4 -4
- data/lib/rnfse/error.rb +15 -0
- data/lib/rnfse/hash.rb +24 -11
- data/lib/rnfse/string.rb +16 -2
- data/lib/rnfse/version.rb +1 -1
- data/lib/rnfse/xml_builder/abrasf_1_0.rb +103 -13
- data/lib/rnfse/xml_builder/iss_net_1_0.rb +34 -4
- data/lib/rnfse/xml_builder/speed_gov_1_0.rb +158 -0
- data/spec/api/abrasf_1_0/cancelar_nfse_json_spec.rb +25 -0
- data/spec/api/abrasf_1_0/consultar_lote_rps_json_spec.rb +23 -0
- data/spec/api/abrasf_1_0/consultar_nfse_json_spec.rb +45 -0
- data/spec/api/abrasf_1_0/consultar_nfse_por_rps_json_spec.rb +23 -0
- data/spec/api/abrasf_1_0/consultar_situacao_lote_rps_json_spec.rb +23 -0
- data/spec/api/abrasf_1_0_spec.rb +185 -6
- data/spec/api/iss_net_1_0_spec.rb +89 -9
- data/spec/api/speed_gov_1_0_spec.rb +243 -0
- data/spec/api_spec.rb +43 -28
- data/spec/error_spec.rb +10 -0
- data/spec/fixtures/abrasf_1_0/cancelar_nfse_envio.xml +16 -0
- data/spec/fixtures/abrasf_1_0/consultar_nfse.xml +23 -0
- data/spec/fixtures/abrasf_1_0/consultar_nfse_por_rps.xml +14 -0
- data/spec/fixtures/iss_net_1_0/cancelar_nfse_envio.xml +17 -0
- data/spec/fixtures/iss_net_1_0/consultar_nfse.xml +29 -0
- data/spec/fixtures/iss_net_1_0/consultar_nfse_por_rps.xml +17 -0
- data/spec/fixtures/speed_gov_1_0/consultar_nfse_envio.xml +29 -0
- data/spec/fixtures/speed_gov_1_0/consultar_nfse_rps_envio.xml +16 -0
- data/spec/fixtures/speed_gov_1_0/consultar_situacao_lote_rps_envio.xml +12 -0
- data/spec/fixtures/speed_gov_1_0/enviar_lote_rps_envio.xml +82 -0
- data/spec/fixtures/speed_gov_1_0/header.xml +9 -0
- data/spec/fixtures/vcr_cassettes/iss_net_1_0_cancelar_nfse.yml +107 -0
- data/spec/fixtures/vcr_cassettes/iss_net_1_0_consultar_nfse.yml +7937 -0
- data/spec/fixtures/vcr_cassettes/iss_net_1_0_consultar_nfse_por_rps.yml +242 -0
- data/spec/fixtures/vcr_cassettes/speed_gov_1_0_consultar_nfse.yml +60 -0
- data/spec/fixtures/vcr_cassettes/speed_gov_1_0_consultar_nfse_por_rps.yml +80 -0
- data/spec/fixtures/vcr_cassettes/speed_gov_1_0_consultar_situacao_lote_rps.yml +77 -0
- data/spec/fixtures/vcr_cassettes/speed_gov_1_0_recepcionar_lote_rps.yml +171 -0
- data/spec/fixtures/vcr_cassettes/speed_gov_1_0_recepcionar_lote_rps_ascii.yml +171 -0
- data/spec/hash_spec.rb +21 -0
- data/spec/spec_helper.rb +2 -0
- data/spec/string_spec.rb +31 -5
- data/spec/xml_builder/abrasf_1_0_spec.rb +110 -43
- data/spec/xml_builder/iss_net_1_0_spec.rb +111 -44
- data/spec/xml_builder/speed_gov_1_0_spec.rb +173 -0
- metadata +86 -37
- data/.gitignore +0 -25
- data/.rspec +0 -1
- data/.travis.yml +0 -14
- data/Gemfile +0 -3
- data/Guardfile +0 -15
- data/Procfile +0 -1
- data/Rakefile +0 -12
- data/rnfse.gemspec +0 -61
- data/spec/fixtures/abrasf_1_0/teste.xml +0 -8
- data/spec/support/.keep +0 -0
@@ -0,0 +1,242 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://www.issnetonline.com.br/webserviceabrasf/homologacao/servicos.asmx
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |-
|
9
|
+
<?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.issnetonline.com.br/webservice/nfd" xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Body><ConsultarNFSePorRPS><xml><![CDATA[<?xml version="1.0" encoding="utf-8"?>
|
10
|
+
<ConsultarNfseRpsEnvio xmlns="http://www.issnetonline.com.br/webserviceabrasf/vsd/servico_consultar_nfse_rps_envio.xsd" xmlns:tc="http://www.issnetonline.com.br/webserviceabrasf/vsd/tipos_complexos.xsd" xmlns:ts="http://www.issnetonline.com.br/webserviceabrasf/vsd/tipos_simples.xsd">
|
11
|
+
<IdentificacaoRps>
|
12
|
+
<tc:Numero>15</tc:Numero>
|
13
|
+
<tc:Serie>8</tc:Serie>
|
14
|
+
<tc:Tipo>1</tc:Tipo>
|
15
|
+
</IdentificacaoRps>
|
16
|
+
<Prestador>
|
17
|
+
<tc:CpfCnpj>
|
18
|
+
<tc:Cnpj>14576582000163</tc:Cnpj>
|
19
|
+
</tc:CpfCnpj>
|
20
|
+
<tc:InscricaoMunicipal>124762</tc:InscricaoMunicipal>
|
21
|
+
</Prestador>
|
22
|
+
</ConsultarNfseRpsEnvio>
|
23
|
+
]]></xml></ConsultarNFSePorRPS></soap:Body></soap:Envelope>
|
24
|
+
headers:
|
25
|
+
Soapaction:
|
26
|
+
- '"ConsultarNFSePorRPS"'
|
27
|
+
Content-Type:
|
28
|
+
- application/soap+xml;charset=UTF-8
|
29
|
+
Content-Length:
|
30
|
+
- '1000'
|
31
|
+
Accept-Encoding:
|
32
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
33
|
+
Accept:
|
34
|
+
- "*/*"
|
35
|
+
User-Agent:
|
36
|
+
- Ruby
|
37
|
+
response:
|
38
|
+
status:
|
39
|
+
code: 200
|
40
|
+
message: OK
|
41
|
+
headers:
|
42
|
+
Date:
|
43
|
+
- Mon, 17 Nov 2014 16:49:15 GMT
|
44
|
+
Server:
|
45
|
+
- Microsoft-IIS/6.0
|
46
|
+
X-Powered-By:
|
47
|
+
- ASP.NET
|
48
|
+
X-Aspnet-Version:
|
49
|
+
- 2.0.50727
|
50
|
+
Cache-Control:
|
51
|
+
- private, max-age=0
|
52
|
+
Content-Type:
|
53
|
+
- application/soap+xml; charset=utf-8
|
54
|
+
Content-Length:
|
55
|
+
- '8106'
|
56
|
+
body:
|
57
|
+
encoding: ASCII-8BIT
|
58
|
+
string: !binary |-
|
59
|
+
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c29hcDpF
|
60
|
+
bnZlbG9wZSB4bWxuczpzb2FwPSJodHRwOi8vd3d3LnczLm9yZy8yMDAzLzA1
|
61
|
+
L3NvYXAtZW52ZWxvcGUiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcv
|
62
|
+
MjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zOnhzZD0iaHR0cDovL3d3
|
63
|
+
dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiPjxzb2FwOkJvZHk+PENvbnN1bHRh
|
64
|
+
ck5GU2VQb3JSUFNSZXNwb25zZSB4bWxucz0iaHR0cDovL3d3dy5pc3NuZXRv
|
65
|
+
bmxpbmUuY29tLmJyL3dlYnNlcnZpY2UvbmZkIj48Q29uc3VsdGFyTkZTZVBv
|
66
|
+
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sNCiAg
|
235
|
+
ICAgICZsdDsvU2lnbmF0dXJlJmd0Ow0KICAgICZsdDsvdGM6TmZzZSZndDsN
|
236
|
+
CiAgJmx0Oy9Db21wTmZzZSZndDsNCiZsdDsvQ29uc3VsdGFyTmZzZVJwc1Jl
|
237
|
+
c3Bvc3RhJmd0OzwvQ29uc3VsdGFyTkZTZVBvclJQU1Jlc3VsdD48L0NvbnN1
|
238
|
+
bHRhck5GU2VQb3JSUFNSZXNwb25zZT48L3NvYXA6Qm9keT48L3NvYXA6RW52
|
239
|
+
ZWxvcGU+
|
240
|
+
http_version:
|
241
|
+
recorded_at: Mon, 17 Nov 2014 16:49:15 GMT
|
242
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,60 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://speedgov.com.br/wsmod/Nfes
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |-
|
9
|
+
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:nfse="http://www.abrasf.org.br/ABRASF/arquivos/nfse.xsd"><soapenv:Body><nfse:ConsultarNfse><header><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
|
10
|
+
<p:cabecalho xmlns:p="http://ws.speedgov.com.br/cabecalho_v1.xsd" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:p1="http://ws.speedgov.com.br/tipos_v1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" versao="1" xsi:schemaLocation="http://ws.speedgov.com.br/cabecalho_v1.xsd">
|
11
|
+
<versaoDados>1</versaoDados>
|
12
|
+
</p:cabecalho>
|
13
|
+
]]></header><parameters><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
|
14
|
+
<p:ConsultarNfseEnvio xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:p="http://ws.speedgov.com.br/consultar_nfse_envio_v1.xsd" xmlns:p1="http://ws.speedgov.com.br/tipos_v1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://ws.speedgov.com.br/consultar_nfse_envio_v1.xsd">
|
15
|
+
<p:Prestador>
|
16
|
+
<p1:Cnpj>12552510000150</p1:Cnpj>
|
17
|
+
<p1:InscricaoMunicipal>68</p1:InscricaoMunicipal>
|
18
|
+
</p:Prestador>
|
19
|
+
</p:ConsultarNfseEnvio>
|
20
|
+
]]></parameters></nfse:ConsultarNfse></soapenv:Body></soapenv:Envelope>
|
21
|
+
headers:
|
22
|
+
Soapaction:
|
23
|
+
- '"ConsultarNfse"'
|
24
|
+
Content-Type:
|
25
|
+
- text/xml;charset=UTF-8
|
26
|
+
Content-Length:
|
27
|
+
- '1317'
|
28
|
+
Accept-Encoding:
|
29
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
30
|
+
Accept:
|
31
|
+
- "*/*"
|
32
|
+
User-Agent:
|
33
|
+
- Ruby
|
34
|
+
response:
|
35
|
+
status:
|
36
|
+
code: 200
|
37
|
+
message: OK
|
38
|
+
headers:
|
39
|
+
Cache-Control:
|
40
|
+
- no-cache="set-cookie"
|
41
|
+
Content-Type:
|
42
|
+
- text/xml;charset=utf-8
|
43
|
+
Date:
|
44
|
+
- Mon, 04 Aug 2014 04:20:19 GMT
|
45
|
+
Server:
|
46
|
+
- Apache-Coyote/1.1
|
47
|
+
Set-Cookie:
|
48
|
+
- AWSELB=33FDC97B088EC7D48E554EA7951916335FCF4DD3338A5133DE2F99ECD0CC50DABF47D0FD5FEB763BE94E88FB686B54FCAA6F84372BE7A0FA21188F78CC6FE9E7F20CBFCD5D;PATH=/
|
49
|
+
Content-Length:
|
50
|
+
- '408'
|
51
|
+
Connection:
|
52
|
+
- keep-alive
|
53
|
+
body:
|
54
|
+
encoding: UTF-8
|
55
|
+
string: |-
|
56
|
+
<?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><ns2:ConsultarNfseResponse xmlns:ns2="http://www.abrasf.org.br/ABRASF/arquivos/nfse.xsd"><return><?xml version="1.0" encoding="UTF-8"?>
|
57
|
+
<ConsultarNfseResposta><ListaNfse/></ConsultarNfseResposta></return></ns2:ConsultarNfseResponse></S:Body></S:Envelope>
|
58
|
+
http_version:
|
59
|
+
recorded_at: Mon, 04 Aug 2014 04:20:21 GMT
|
60
|
+
recorded_with: VCR 2.9.2
|
@@ -0,0 +1,80 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://speedgov.com.br/wsmod/Nfes
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |-
|
9
|
+
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:nfse="http://www.abrasf.org.br/ABRASF/arquivos/nfse.xsd"><soapenv:Body><nfse:ConsultarNfsePorRps><header><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
|
10
|
+
<p:cabecalho xmlns:p="http://ws.speedgov.com.br/cabecalho_v1.xsd" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:p1="http://ws.speedgov.com.br/tipos_v1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" versao="1" xsi:schemaLocation="http://ws.speedgov.com.br/cabecalho_v1.xsd">
|
11
|
+
<versaoDados>1</versaoDados>
|
12
|
+
</p:cabecalho>
|
13
|
+
]]></header><parameters><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
|
14
|
+
<p:ConsultarNfseRpsEnvio xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:p1="http://ws.speedgov.com.br/tipos_v1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://ws.speedgov.com.br/consultar_nfse_rps_envio_v1.xsd" xsi:schemaLocation="http://ws.speedgov.com.br/consultar_nfse_rps_envio_v1.xsd">
|
15
|
+
<p:IdentificacaoRps>
|
16
|
+
<p1:Numero>1</p1:Numero>
|
17
|
+
<p1:Serie>00000</p1:Serie>
|
18
|
+
<p1:Tipo>1</p1:Tipo>
|
19
|
+
</p:IdentificacaoRps>
|
20
|
+
<p:Prestador>
|
21
|
+
<p1:Cnpj>12552510000150</p1:Cnpj>
|
22
|
+
<p1:InscricaoMunicipal>68</p1:InscricaoMunicipal>
|
23
|
+
</p:Prestador>
|
24
|
+
</p:ConsultarNfseRpsEnvio>
|
25
|
+
]]></parameters></nfse:ConsultarNfsePorRps></soapenv:Body></soapenv:Envelope>
|
26
|
+
headers:
|
27
|
+
Soapaction:
|
28
|
+
- '"ConsultarNfsePorRps"'
|
29
|
+
Content-Type:
|
30
|
+
- text/xml;charset=UTF-8
|
31
|
+
Content-Length:
|
32
|
+
- '1475'
|
33
|
+
Accept-Encoding:
|
34
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
35
|
+
Accept:
|
36
|
+
- "*/*"
|
37
|
+
User-Agent:
|
38
|
+
- Ruby
|
39
|
+
response:
|
40
|
+
status:
|
41
|
+
code: 200
|
42
|
+
message: OK
|
43
|
+
headers:
|
44
|
+
Cache-Control:
|
45
|
+
- no-cache="set-cookie"
|
46
|
+
Content-Type:
|
47
|
+
- text/xml;charset=utf-8
|
48
|
+
Date:
|
49
|
+
- Thu, 14 Aug 2014 06:53:05 GMT
|
50
|
+
Server:
|
51
|
+
- Apache-Coyote/1.1
|
52
|
+
Set-Cookie:
|
53
|
+
- AWSELB=33FDC97B088EC7D48E554EA7951916335FCF4DD33354B9B00E5F1779243F06793B26A496916FB9C4F76E82B464490FEDD2D190D63C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ZG8gc2VydmnDp28g
|
74
|
+
YSBlbWlzc8OjbyBkYSBORlMtZS4mbHQ7L0NvcnJlY2FvJmd0OyZsdDsvTWVu
|
75
|
+
c2FnZW1SZXRvcm5vJmd0OyZsdDsvQ29uc3VsdGFyTmZzZVJwc1Jlc3Bvc3Rh
|
76
|
+
Jmd0OzwvcmV0dXJuPjwvbnMyOkNvbnN1bHRhck5mc2VQb3JScHNSZXNwb25z
|
77
|
+
ZT48L1M6Qm9keT48L1M6RW52ZWxvcGU+
|
78
|
+
http_version:
|
79
|
+
recorded_at: Thu, 14 Aug 2014 06:53:06 GMT
|
80
|
+
recorded_with: VCR 2.9.2
|
@@ -0,0 +1,77 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://speedgov.com.br/wsmod/Nfes
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |-
|
9
|
+
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:nfse="http://www.abrasf.org.br/ABRASF/arquivos/nfse.xsd"><soapenv:Body><nfse:ConsultarSituacaoLoteRps><header><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
|
10
|
+
<p:cabecalho xmlns:p="http://ws.speedgov.com.br/cabecalho_v1.xsd" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:p1="http://ws.speedgov.com.br/tipos_v1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" versao="1" xsi:schemaLocation="http://ws.speedgov.com.br/cabecalho_v1.xsd">
|
11
|
+
<versaoDados>1</versaoDados>
|
12
|
+
</p:cabecalho>
|
13
|
+
]]></header><parameters><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
|
14
|
+
<p:ConsultarSituacaoLoteRpsEnvio xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:p1="http://ws.speedgov.com.br/tipos_v1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://ws.speedgov.com.br/consultar_situacao_lote_rps_envio_v1.xsd" xsi:schemaLocation="http://ws.speedgov.com.br/consultar_situacao_lote_rps_envio_v1.xsd">
|
15
|
+
<p:Prestador>
|
16
|
+
<p1:Cnpj>07792435000912</p1:Cnpj>
|
17
|
+
<p1:InscricaoMunicipal>59274734</p1:InscricaoMunicipal>
|
18
|
+
</p:Prestador>
|
19
|
+
<p:Protocolo>717293e4-3601-4955-865c-5a022c2b5ff5</p:Protocolo>
|
20
|
+
</p:ConsultarSituacaoLoteRpsEnvio>
|
21
|
+
]]></parameters></nfse:ConsultarSituacaoLoteRps></soapenv:Body></soapenv:Envelope>
|
22
|
+
headers:
|
23
|
+
Soapaction:
|
24
|
+
- '"ConsultarSituacaoLoteRps"'
|
25
|
+
Content-Type:
|
26
|
+
- text/xml;charset=UTF-8
|
27
|
+
Content-Length:
|
28
|
+
- '1459'
|
29
|
+
Accept-Encoding:
|
30
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
31
|
+
Accept:
|
32
|
+
- "*/*"
|
33
|
+
User-Agent:
|
34
|
+
- Ruby
|
35
|
+
response:
|
36
|
+
status:
|
37
|
+
code: 200
|
38
|
+
message: OK
|
39
|
+
headers:
|
40
|
+
Cache-Control:
|
41
|
+
- no-cache="set-cookie"
|
42
|
+
Content-Type:
|
43
|
+
- text/xml;charset=utf-8
|
44
|
+
Date:
|
45
|
+
- Tue, 26 Aug 2014 23:08:19 GMT
|
46
|
+
Server:
|
47
|
+
- Apache-Coyote/1.1
|
48
|
+
Set-Cookie:
|
49
|
+
- AWSELB=33FDC97B088EC7D48E554EA7951916335FCF4DD33354B9B00E5F1779243F06793B26A49691A6E3300925177F1FEC0FFBE981FDDAACE7A0FA21188F78CC6FE9E7F20CBFCD5D;PATH=/
|
50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