Buckets:
| import{s as Lt,n as Qt,o as _t}from"../chunks/scheduler.505acc25.js";import{S as Pt,i as Dt,e as i,s as l,c as m,h as Ot,a as r,d as o,b as s,f as Et,g as c,j as n,k as b,l as At,m as a,n as d,t as u,o as p,p as M}from"../chunks/index.1238bded.js";import{C as Kt,H as ce,E as eo}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.b683ce7b.js";import{Y as to}from"../chunks/Youtube.2fb63721.js";import{C as mt}from"../chunks/CodeBlock.eaa4b6ea.js";import{C as oo}from"../chunks/CourseFloatingBanner.2e302d0f.js";function ao(ct){let h,pe,de,Me,j,he,U,be,G,ye,B,fe,I,dt='Os <a href="https://discuss.huggingface.co" rel="nofollow">fóruns do Hugging Face</a> são um ótimo lugar para obter ajuda da equipe de código aberto e da comunidade Hugging Face. Aqui está a aparência da página principal em um determinado dia:',Te,y,ut='<img src="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter8/forums.png" alt="The Hugging Face forums." width="100%"/>',we,Z,pt='No lado esquerdo você pode ver todas as categorias em que os vários tópicos estão agrupados, enquanto o lado direito mostra os tópicos mais recentes. Um tópico é uma postagem que contém um título, categoria e descrição; é bastante semelhante ao formato de problemas do GitHub que vimos ao criar nosso próprio conjunto de dados no <a href="/course/chapter5">Capítulo 5</a>. Como o nome sugere, a categoria <a href="https://discuss.huggingface.co/c/beginners/5" rel="nofollow">Beginners</a> destina-se principalmente a pessoas que estão começando com as bibliotecas e o ecossistema Hugging Face. Qualquer dúvida sobre qualquer uma das bibliotecas é bem-vinda, seja para depurar algum código ou pedir ajuda sobre como fazer algo. (Dito isso, se sua pergunta diz respeito a uma biblioteca em particular, você provavelmente deve ir para a categoria de biblioteca correspondente no fórum.)',ve,W,Mt='Da mesma forma, as categorias <a href="https://discuss.huggingface.co/c/intermediate/6" rel="nofollow">Intermediário</a> e <a href="https://discuss.huggingface.co/c/research/7" rel="nofollow">Pesquisa</a> são para perguntas mais avançadas, por exemplo, sobre as bibliotecas ou alguma nova pesquisa interessante sobre PNL que você gostaria de discutir.',ge,x,ht='E, naturalmente, também devemos mencionar a categoria <a href="https://discuss.huggingface.co/c/course/20" rel="nofollow">Curso</a>, onde você pode tirar todas as suas dúvidas relacionadas ao curso Hugging Face!',Je,C,bt='Depois de selecionar uma categoria, você estará pronto para escrever seu primeiro tópico. Você pode encontrar algumas <a href="https://discuss.huggingface.co/t/how-to-request-support/3128" rel="nofollow">diretrizes</a> no fórum sobre como fazer isso, e nesta seção veremos algumas características que compõem um bom tópico.',je,V,Ue,H,yt="Como exemplo de execução, vamos supor que estamos tentando gerar embeddings de artigos da Wikipedia para criar um mecanismo de pesquisa personalizado. Como de costume, carregamos o tokenizer e o model da seguinte forma:",Ge,k,Be,Y,ft='Agora suponha que tentamos incorporar uma seção inteira do <a href="https://en.wikipedia.org/wiki/Transformers" rel="nofollow">artigo da Wikipédia</a> em Transformers (a franquia, não a biblioteca!):',Ie,$,Ze,z,We,F,Tt='Uh-oh, encontramos um problema — e a mensagem de erro é muito mais enigmática do que as que vimos na <a href="/curso/chapter8/section2">seção 2</a>! Não podemos fazer cara ou coroa do traceback completo, então decidimos recorrer aos fóruns do Hugging Face para obter ajuda. Como podemos elaborar o tema?',xe,S,wt="Para começar, precisamos clicar no botão “Novo Tópico” (em inglês, <strong>new topic</strong>) no canto superior direito (observe que para criar um tópico, precisamos estar logados):",Ce,f,vt='<img src="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter8/forums-new-topic.png" alt="Creating a new forum topic." width="100%"/>',Ve,q,gt="Isso traz uma interface de escrita onde podemos inserir o título do nosso tópico, selecionar uma categoria e redigir o conteúdo:",He,T,Jt='<img src="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter8/forum-topic01.png" alt="The interface for creating a forum topic." width="100%"/>',ke,N,jt="Como o erro parece ser exclusivamente sobre 🤗 Transformers, selecionaremos isso para a categoria. Nossa primeira tentativa de explicar o problema pode ser algo assim:",Ye,w,Ut='<img src="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter8/forum-topic02.png" alt="Drafting the content for a new forum topic." width="100%"/>',$e,R,Gt="Embora este tópico contenha a mensagem de erro para a qual precisamos de ajuda, há alguns problemas com a forma como ela está escrita:",ze,X,Bt="<li>O título não é muito descritivo, então quem estiver navegando no fórum não poderá dizer do que se trata o tópico sem ler também o corpo.</li> <li>O corpo não fornece informações suficientes sobre <em>onde</em> o erro está vindo e <em>como</em> reproduzi-lo.</li> <li>O tópico marca algumas pessoas diretamente com um tom um tanto exigente.</li>",Fe,E,It="Tópicos como este provavelmente não terão uma resposta rápida (se conseguirem), então vamos ver como podemos melhorá-lo. Vamos começar com a primeira questão de escolher um bom título.",Se,L,qe,Q,Zt="Se você estiver tentando obter ajuda com um bug em seu código, uma boa regra geral é incluir informações suficientes no título para que outras pessoas possam determinar rapidamente se acham que podem responder à sua pergunta ou não. Em nosso exemplo em execução, sabemos o nome da exceção que está sendo levantada e temos algumas dicas de que ela é acionada na passagem direta do modelo, onde chamamos <code>model(**inputs)</code>. Para comunicar isso, um título possível poderia ser:",Ne,_,Wt="<p>Source of IndexError in the AutoModel forward pass?</p>",Re,P,xt="Este título diz ao leitor <em>onde</em> você acha que o bug está vindo, e se eles encontraram um <code>IndexError</code> antes, há uma boa chance de que eles saibam como depurá-lo. Claro, o título pode ser o que você quiser, e outras variações como:",Xe,D,Ct="<p>Why does my model produce an IndexError?</p>",Ee,O,Vt="também pode ficar bem. Agora que temos um título descritivo, vamos dar uma olhada em como melhorar o corpo.",Le,A,Qe,K,Ht="Ler o código-fonte é bastante difícil em um IDE, mas é ainda mais difícil quando o código é copiado e colado como texto simples! Felizmente, os fóruns do Hugging Face suportam o uso de Markdown, então você deve sempre colocar seus blocos de código com três acentos graves (```) para que seja mais fácil de ler. Vamos fazer isso para embelezar a mensagem de erro - e enquanto estaomos nisso, vamos tornar o corpo um pouco mais educado do que a nossa versão original:",_e,v,kt='<img src="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter8/forum-topic03.png" alt="Our revised forum topic, with proper code formatting." width="100%"/>',Pe,ee,Yt="Como você pode ver na captura de tela, colocar os blocos de código em acentos graves converte o texto bruto em código formatado, completo com estilo de cores! Observe também que backticks simples podem ser usados para formatar variáveis inline, como fizemos para <code>distilbert-base-uncased</code>. Este tópico parece muito melhor e, com um pouco de sorte, podemos encontrar alguém na comunidade que possa adivinhar do que se trata o erro. No entanto, em vez de confiar na sorte, vamos facilitar a vida incluindo o rastreamento em todos os seus detalhes sangrentos!",De,te,Oe,oe,$t="Como a última linha do traceback geralmente é suficiente para depurar seu próprio código, pode ser tentador apenas fornecer isso em seu tópico para “economizar espaço”. Embora bem intencionado, isso na verdade torna <em>mais difícil</em> para outros depurar o problema, já que as informações que estão mais acima no traceback também podem ser muito úteis. Portanto, uma boa prática é copiar e colar o traceback <em>inteiro</em>, certificando-se de que está bem formatado. Como esses rastreamentos podem ser bastante longos, algumas pessoas preferem mostrá-los depois de explicar o código-fonte. Vamos fazer isso. Agora, nosso tópico do fórum se parece com o seguinte:",Ae,g,zt='<img src="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter8/forum-topic04.png" alt="Our example forum topic, with the complete traceback." width="100%"/>',Ke,ae,Ft="Isso é muito mais informativo, e um leitor cuidadoso pode apontar que o problema parece ser devido à passagem de uma entrada longa por causa desta linha no traceback:",et,le,St="<p>Token indices sequence length is longer than the specified maximum sequence length for this model (583 > 512).</p>",tt,se,qt="No entanto, podemos tornar as coisas ainda mais fáceis para eles fornecendo o código real que acionou o erro. Vamos fazer isso agora.",ot,ie,at,re,Nt="Se você já tentou depurar o código de outra pessoa, provavelmente tentou primeiro recriar o problema relatado para poder começar a trabalhar no rastreamento para identificar o erro. Não é diferente quando se trata de obter (ou dar) assistência nos fóruns, então realmente ajuda se você puder fornecer um pequeno exemplo que reproduza o erro. Na metade do tempo, simplesmente fazer este exercício o ajudará a descobrir o que está acontecendo de errado. De qualquer forma, a parte que falta em nosso exemplo é mostrar as <em>inputs</em> que fornecemos ao modelo. Fazer isso nos dá algo como o seguinte exemplo concluído:",lt,J,Rt='<img src="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter8/forum-topic05.png" alt="The final version of our forum topic." width="100%"/>',st,ne,Xt="Este tópico agora contém muitas informações e foi escrito de uma forma que é muito mais provável de atrair a atenção da comunidade e obter uma resposta útil. Com essas diretrizes básicas, agora você pode criar ótimos tópicos para encontrar as respostas para suas dúvidas sobre 🤗 Transformers!",it,me,rt,ue,nt;return j=new Kt({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),U=new ce({props:{title:"Pedindo ajuda nos fóruns",local:"pedindo-ajuda-nos-fóruns",headingTag:"h1"}}),G=new oo({props:{chapter:8,classNames:"absolute z-10 right-0 top-0",notebooks:[{label:"Google Colab",value:"https://colab.research.google.com/github/huggingface/notebooks/blob/master/course/pt/chapter8/section3.ipynb"},{label:"Aws Studio",value:"https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/master/course/pt/chapter8/section3.ipynb"}]}}),B=new to({props:{id:"S2EEG3JIt2A"}}),V=new ce({props:{title:"Escrevendo uma boa postagem no fórum",local:"escrevendo-uma-boa-postagem-no-fórum",headingTag:"h2"}}),k=new mt({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9Ub2tlbml6ZXIlMkMlMjBBdXRvTW9kZWwlMEElMEFtb2RlbF9jaGVja3BvaW50JTIwJTNEJTIwJTIyZGlzdGlsYmVydC1iYXNlLXVuY2FzZWQlMjIlMEF0b2tlbml6ZXIlMjAlM0QlMjBBdXRvVG9rZW5pemVyLmZyb21fcHJldHJhaW5lZChtb2RlbF9jaGVja3BvaW50KSUwQW1vZGVsJTIwJTNEJTIwQXV0b01vZGVsLmZyb21fcHJldHJhaW5lZChtb2RlbF9jaGVja3BvaW50KQ==",highlighted:`<span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoTokenizer, AutoModel | |
| model_checkpoint = <span class="hljs-string">"distilbert-base-uncased"</span> | |
| tokenizer = AutoTokenizer.from_pretrained(model_checkpoint) | |
| model = AutoModel.from_pretrained(model_checkpoint)`,wrap:!1}}),$=new mt({props:{code:"dGV4dCUyMCUzRCUyMCUyMiUyMiUyMiUwQUdlbmVyYXRpb24lMjBPbmUlMjBpcyUyMGElMjByZXRyb2FjdGl2ZSUyMHRlcm0lMjBmb3IlMjB0aGUlMjBUcmFuc2Zvcm1lcnMlMjBjaGFyYWN0ZXJzJTIwdGhhdCUwQWFwcGVhcmVkJTIwYmV0d2VlbiUyMDE5ODQlMjBhbmQlMjAxOTkzLiUyMFRoZSUyMFRyYW5zZm9ybWVycyUyMGJlZ2FuJTIwd2l0aCUyMHRoZSUyMDE5ODBzJTIwSmFwYW5lc2UlMEF0b3klMjBsaW5lcyUyME1pY3JvJTIwQ2hhbmdlJTIwYW5kJTIwRGlhY2xvbmUuJTIwVGhleSUyMHByZXNlbnRlZCUyMHJvYm90cyUyMGFibGUlMjB0byUyMHRyYW5zZm9ybSUwQWludG8lMjBldmVyeWRheSUyMHZlaGljbGVzJTJDJTIwZWxlY3Ryb25pYyUyMGl0ZW1zJTIwb3IlMjB3ZWFwb25zLiUyMEhhc2JybyUyMGJvdWdodCUyMHRoZSUyME1pY3JvJTBBQ2hhbmdlJTIwYW5kJTIwRGlhY2xvbmUlMjB0b3lzJTJDJTIwYW5kJTIwcGFydG5lcmVkJTIwd2l0aCUyMFRha2FyYS4lMjBNYXJ2ZWwlMjBDb21pY3MlMjB3YXMlMjBoaXJlZCUyMGJ5JTBBSGFzYnJvJTIwdG8lMjBjcmVhdGUlMjB0aGUlMjBiYWNrc3RvcnklM0IlMjBlZGl0b3ItaW4tY2hpZWYlMjBKaW0lMjBTaG9vdGVyJTIwd3JvdGUlMjBhbiUyMG92ZXJhbGwlMEFzdG9yeSUyQyUyMGFuZCUyMGdhdmUlMjB0aGUlMjB0YX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mV0ZmlyZSUwQShrbm93biUyMGFzJTIwU2t5ZmlyZSUyMG9uJTIwVFYpJTJDJTIwdGhlJTIwQ29uc3RydWN0aWNvbnMlMjAod2hvJTIwY29tYmluZSUyMHRvJTIwZm9ybSUwQURldmFzdGF0b3IpJTJDJTVCMTklNUQlNUIyMCU1RCUyMGFuZCUyME9tZWdhJTIwU3VwcmVtZS4lMjBUaGUlMjBNYXJ2ZWwlMjBjb21pYyUyMGVzdGFibGlzaGVzJTIwZWFybHklMjBvbiUwQXRoYXQlMjBQcmltZSUyMHdpZWxkcyUyMHRoZSUyMENyZWF0aW9uJTIwTWF0cml4JTJDJTIwd2hpY2glMjBnaXZlcyUyMGxpZmUlMjB0byUyMG1hY2hpbmVzLiUyMEluJTIwdGhlJTBBc2Vjb25kJTIwc2Vhc29uJTJDJTIwdGhlJTIwdHdvLXBhcnQlMjBlcGlzb2RlJTIwVGhlJTIwS2V5JTIwdG8lMjBWZWN0b3IlMjBTaWdtYSUyMGludHJvZHVjZWQlMjB0aGUlMEFhbmNpZW50JTIwVmVjdG9yJTIwU2lnbWElMjBjb21wdXRlciUyQyUyMHdoaWNoJTIwc2VydmVkJTIwdGhlJTIwc2FtZSUyMG9yaWdpbmFsJTIwcHVycG9zZSUyMGFzJTIwdGhlJTBBQ3JlYXRpb24lMjBNYXRyaXglMjAoZ2l2aW5nJTIwbGlmZSUyMHRvJTIwVHJhbnNmb3JtZXJzKSUyQyUyMGFuZCUyMGl0cyUyMGd1YXJkaWFuJTIwQWxwaGElMjBUcmlvbi4lMEElMjIlMjIlMjIlMEElMEFpbnB1dHMlMjAlM0QlMjB0b2tlbml6ZXIodGV4dCUyQyUyMHJldHVybl90ZW5zb3JzJTNEJTIycHQlMjIpJTBBbG9naXRzJTIwJTNEJTIwbW9kZWwoKippbnB1dHMpLmxvZ2l0cw==",highlighted:`text = <span class="hljs-string">""" | |
| Generation One is a retroactive term for the Transformers characters that | |
| appeared between 1984 and 1993. The Transformers began with the 1980s Japanese | |
| toy lines Micro Change and Diaclone. They presented robots able to transform | |
| into everyday vehicles, electronic items or weapons. Hasbro bought the Micro | |
| Change and Diaclone toys, and partnered with Takara. Marvel Comics was hired by | |
| Hasbro to create the backstory; editor-in-chief Jim Shooter wrote an overall | |
| story, and gave the task of creating the characthers to writer Dennis O'Neil. | |
| Unhappy with O'Neil's work (although O'Neil created the name "Optimus Prime"), | |
| Shooter chose Bob Budiansky to create the characters. | |
| The Transformers mecha were largely designed by Shōji Kawamori, the creator of | |
| the Japanese mecha anime franchise Macross (which was adapted into the Robotech | |
| franchise in North America). Kawamori came up with the idea of transforming | |
| mechs while working on the Diaclone and Macross franchises in the early 1980s | |
| (such as the VF-1 Valkyrie in Macross and Robotech), with his Diaclone mechs | |
| later providing the basis for Transformers. | |
| The primary concept of Generation One is that the heroic Optimus Prime, the | |
| villainous Megatron, and their finest soldiers crash land on pre-historic Earth | |
| in the Ark and the Nemesis before awakening in 1985, Cybertron hurtling through | |
| the Neutral zone as an effect of the war. The Marvel comic was originally part | |
| of the main Marvel Universe, with appearances from Spider-Man and Nick Fury, | |
| plus some cameos, as well as a visit to the Savage Land. | |
| The Transformers TV series began around the same time. Produced by Sunbow | |
| Productions and Marvel Productions, later Hasbro Productions, from the start it | |
| contradicted Budiansky's backstories. The TV series shows the Autobots looking | |
| for new energy sources, and crash landing as the Decepticons attack. Marvel | |
| interpreted the Autobots as destroying a rogue asteroid approaching Cybertron. | |
| Shockwave is loyal to Megatron in the TV series, keeping Cybertron in a | |
| stalemate during his absence, but in the comic book he attempts to take command | |
| of the Decepticons. The TV series would also differ wildly from the origins | |
| Budiansky had created for the Dinobots, the Decepticon turned Autobot Jetfire | |
| (known as Skyfire on TV), the Constructicons (who combine to form | |
| Devastator),[19][20] and Omega Supreme. The Marvel comic establishes early on | |
| that Prime wields the Creation Matrix, which gives life to machines. In the | |
| second season, the two-part episode The Key to Vector Sigma introduced the | |
| ancient Vector Sigma computer, which served the same original purpose as the | |
| Creation Matrix (giving life to Transformers), and its guardian Alpha Trion. | |
| """</span> | |
| inputs = tokenizer(text, return_tensors=<span class="hljs-string">"pt"</span>) | |
| logits = model(**inputs).logits`,wrap:!1}}),z=new mt({props:{code:"SW5kZXhFcnJvciUzQSUyMGluZGV4JTIwb3V0JTIwb2YlMjByYW5nZSUyMGluJTIwc2VsZg==",highlighted:'IndexError: index out of <span class="hljs-built_in">range</span> <span class="hljs-keyword">in</span> self',wrap:!1}}),L=new ce({props:{title:"Escolhendo um título descritivo",local:"escolhendo-um-título-descritivo",headingTag:"h3"}}),A=new ce({props:{title:"Formatando seus trechos de código",local:"formatando-seus-trechos-de-código",headingTag:"h3"}}),te=new ce({props:{title:"Incluindo o rastreamento completo",local:"incluindo-o-rastreamento-completo",headingTag:"h3"}}),ie=new ce({props:{title:"Fornecendo um exemplo reproduzível",local:"fornecendo-um-exemplo-reproduzível",headingTag:"h3"}}),me=new eo({props:{source:"https://github.com/huggingface/course/blob/main/chapters/pt/chapter8/3.mdx"}}),{c(){h=i("meta"),pe=l(),de=i("p"),Me=l(),m(j.$$.fragment),he=l(),m(U.$$.fragment),be=l(),m(G.$$.fragment),ye=l(),m(B.$$.fragment),fe=l(),I=i("p"),I.innerHTML=dt,Te=l(),y=i("div"),y.innerHTML=ut,we=l(),Z=i("p"),Z.innerHTML=pt,ve=l(),W=i("p"),W.innerHTML=Mt,ge=l(),x=i("p"),x.innerHTML=ht,Je=l(),C=i("p"),C.innerHTML=bt,je=l(),m(V.$$.fragment),Ue=l(),H=i("p"),H.textContent=yt,Ge=l(),m(k.$$.fragment),Be=l(),Y=i("p"),Y.innerHTML=ft,Ie=l(),m($.$$.fragment),Ze=l(),m(z.$$.fragment),We=l(),F=i("p"),F.innerHTML=Tt,xe=l(),S=i("p"),S.innerHTML=wt,Ce=l(),f=i("div"),f.innerHTML=vt,Ve=l(),q=i("p"),q.textContent=gt,He=l(),T=i("div"),T.innerHTML=Jt,ke=l(),N=i("p"),N.textContent=jt,Ye=l(),w=i("div"),w.innerHTML=Ut,$e=l(),R=i("p"),R.textContent=Gt,ze=l(),X=i("ol"),X.innerHTML=Bt,Fe=l(),E=i("p"),E.textContent=It,Se=l(),m(L.$$.fragment),qe=l(),Q=i("p"),Q.innerHTML=Zt,Ne=l(),_=i("blockquote"),_.innerHTML=Wt,Re=l(),P=i("p"),P.innerHTML=xt,Xe=l(),D=i("blockquote"),D.innerHTML=Ct,Ee=l(),O=i("p"),O.textContent=Vt,Le=l(),m(A.$$.fragment),Qe=l(),K=i("p"),K.textContent=Ht,_e=l(),v=i("div"),v.innerHTML=kt,Pe=l(),ee=i("p"),ee.innerHTML=Yt,De=l(),m(te.$$.fragment),Oe=l(),oe=i("p"),oe.innerHTML=$t,Ae=l(),g=i("div"),g.innerHTML=zt,Ke=l(),ae=i("p"),ae.textContent=Ft,et=l(),le=i("blockquote"),le.innerHTML=St,tt=l(),se=i("p"),se.textContent=qt,ot=l(),m(ie.$$.fragment),at=l(),re=i("p"),re.innerHTML=Nt,lt=l(),J=i("div"),J.innerHTML=Rt,st=l(),ne=i("p"),ne.textContent=Xt,it=l(),m(me.$$.fragment),rt=l(),ue=i("p"),this.h()},l(e){const t=Ot("svelte-u9bgzb",document.head);h=r(t,"META",{name:!0,content:!0}),t.forEach(o),pe=s(e),de=r(e,"P",{}),Et(de).forEach(o),Me=s(e),c(j.$$.fragment,e),he=s(e),c(U.$$.fragment,e),be=s(e),c(G.$$.fragment,e),ye=s(e),c(B.$$.fragment,e),fe=s(e),I=r(e,"P",{"data-svelte-h":!0}),n(I)!=="svelte-1ol19v9"&&(I.innerHTML=dt),Te=s(e),y=r(e,"DIV",{class:!0,"data-svelte-h":!0}),n(y)!=="svelte-14n1ttz"&&(y.innerHTML=ut),we=s(e),Z=r(e,"P",{"data-svelte-h":!0}),n(Z)!=="svelte-jcns4a"&&(Z.innerHTML=pt),ve=s(e),W=r(e,"P",{"data-svelte-h":!0}),n(W)!=="svelte-1oq83ga"&&(W.innerHTML=Mt),ge=s(e),x=r(e,"P",{"data-svelte-h":!0}),n(x)!=="svelte-1x9qdv4"&&(x.innerHTML=ht),Je=s(e),C=r(e,"P",{"data-svelte-h":!0}),n(C)!=="svelte-1psw8ry"&&(C.innerHTML=bt),je=s(e),c(V.$$.fragment,e),Ue=s(e),H=r(e,"P",{"data-svelte-h":!0}),n(H)!=="svelte-1bmuf68"&&(H.textContent=yt),Ge=s(e),c(k.$$.fragment,e),Be=s(e),Y=r(e,"P",{"data-svelte-h":!0}),n(Y)!=="svelte-1qsz6rp"&&(Y.innerHTML=ft),Ie=s(e),c($.$$.fragment,e),Ze=s(e),c(z.$$.fragment,e),We=s(e),F=r(e,"P",{"data-svelte-h":!0}),n(F)!=="svelte-1lyarbj"&&(F.innerHTML=Tt),xe=s(e),S=r(e,"P",{"data-svelte-h":!0}),n(S)!=="svelte-1p5nkpn"&&(S.innerHTML=wt),Ce=s(e),f=r(e,"DIV",{class:!0,"data-svelte-h":!0}),n(f)!=="svelte-1guiktj"&&(f.innerHTML=vt),Ve=s(e),q=r(e,"P",{"data-svelte-h":!0}),n(q)!=="svelte-7tc72"&&(q.textContent=gt),He=s(e),T=r(e,"DIV",{class:!0,"data-svelte-h":!0}),n(T)!=="svelte-xij8sp"&&(T.innerHTML=Jt),ke=s(e),N=r(e,"P",{"data-svelte-h":!0}),n(N)!=="svelte-vf5fwe"&&(N.textContent=jt),Ye=s(e),w=r(e,"DIV",{class:!0,"data-svelte-h":!0}),n(w)!=="svelte-3f05is"&&(w.innerHTML=Ut),$e=s(e),R=r(e,"P",{"data-svelte-h":!0}),n(R)!=="svelte-q78c7d"&&(R.textContent=Gt),ze=s(e),X=r(e,"OL",{"data-svelte-h":!0}),n(X)!=="svelte-x4wjg5"&&(X.innerHTML=Bt),Fe=s(e),E=r(e,"P",{"data-svelte-h":!0}),n(E)!=="svelte-1hmgnvf"&&(E.textContent=It),Se=s(e),c(L.$$.fragment,e),qe=s(e),Q=r(e,"P",{"data-svelte-h":!0}),n(Q)!=="svelte-20ed90"&&(Q.innerHTML=Zt),Ne=s(e),_=r(e,"BLOCKQUOTE",{"data-svelte-h":!0}),n(_)!=="svelte-qp1hky"&&(_.innerHTML=Wt),Re=s(e),P=r(e,"P",{"data-svelte-h":!0}),n(P)!=="svelte-1rgz74s"&&(P.innerHTML=xt),Xe=s(e),D=r(e,"BLOCKQUOTE",{"data-svelte-h":!0}),n(D)!=="svelte-15dhjoh"&&(D.innerHTML=Ct),Ee=s(e),O=r(e,"P",{"data-svelte-h":!0}),n(O)!=="svelte-xp3ukc"&&(O.textContent=Vt),Le=s(e),c(A.$$.fragment,e),Qe=s(e),K=r(e,"P",{"data-svelte-h":!0}),n(K)!=="svelte-184tgqj"&&(K.textContent=Ht),_e=s(e),v=r(e,"DIV",{class:!0,"data-svelte-h":!0}),n(v)!=="svelte-pol4zs"&&(v.innerHTML=kt),Pe=s(e),ee=r(e,"P",{"data-svelte-h":!0}),n(ee)!=="svelte-1l0elsb"&&(ee.innerHTML=Yt),De=s(e),c(te.$$.fragment,e),Oe=s(e),oe=r(e,"P",{"data-svelte-h":!0}),n(oe)!=="svelte-1hqbket"&&(oe.innerHTML=$t),Ae=s(e),g=r(e,"DIV",{class:!0,"data-svelte-h":!0}),n(g)!=="svelte-1oxns09"&&(g.innerHTML=zt),Ke=s(e),ae=r(e,"P",{"data-svelte-h":!0}),n(ae)!=="svelte-d614x3"&&(ae.textContent=Ft),et=s(e),le=r(e,"BLOCKQUOTE",{"data-svelte-h":!0}),n(le)!=="svelte-1cf7hkp"&&(le.innerHTML=St),tt=s(e),se=r(e,"P",{"data-svelte-h":!0}),n(se)!=="svelte-5c5vnj"&&(se.textContent=qt),ot=s(e),c(ie.$$.fragment,e),at=s(e),re=r(e,"P",{"data-svelte-h":!0}),n(re)!=="svelte-1hefz2j"&&(re.innerHTML=Nt),lt=s(e),J=r(e,"DIV",{class:!0,"data-svelte-h":!0}),n(J)!=="svelte-1ckd2c8"&&(J.innerHTML=Rt),st=s(e),ne=r(e,"P",{"data-svelte-h":!0}),n(ne)!=="svelte-1hj3992"&&(ne.textContent=Xt),it=s(e),c(me.$$.fragment,e),rt=s(e),ue=r(e,"P",{}),Et(ue).forEach(o),this.h()},h(){b(h,"name","hf:doc:metadata"),b(h,"content",lo),b(y,"class","flex justify-center"),b(f,"class","flex justify-center"),b(T,"class","flex justify-center"),b(w,"class","flex justify-center"),b(v,"class","flex justify-center"),b(g,"class","flex justify-center"),b(J,"class","flex justify-center")},m(e,t){At(document.head,h),a(e,pe,t),a(e,de,t),a(e,Me,t),d(j,e,t),a(e,he,t),d(U,e,t),a(e,be,t),d(G,e,t),a(e,ye,t),d(B,e,t),a(e,fe,t),a(e,I,t),a(e,Te,t),a(e,y,t),a(e,we,t),a(e,Z,t),a(e,ve,t),a(e,W,t),a(e,ge,t),a(e,x,t),a(e,Je,t),a(e,C,t),a(e,je,t),d(V,e,t),a(e,Ue,t),a(e,H,t),a(e,Ge,t),d(k,e,t),a(e,Be,t),a(e,Y,t),a(e,Ie,t),d($,e,t),a(e,Ze,t),d(z,e,t),a(e,We,t),a(e,F,t),a(e,xe,t),a(e,S,t),a(e,Ce,t),a(e,f,t),a(e,Ve,t),a(e,q,t),a(e,He,t),a(e,T,t),a(e,ke,t),a(e,N,t),a(e,Ye,t),a(e,w,t),a(e,$e,t),a(e,R,t),a(e,ze,t),a(e,X,t),a(e,Fe,t),a(e,E,t),a(e,Se,t),d(L,e,t),a(e,qe,t),a(e,Q,t),a(e,Ne,t),a(e,_,t),a(e,Re,t),a(e,P,t),a(e,Xe,t),a(e,D,t),a(e,Ee,t),a(e,O,t),a(e,Le,t),d(A,e,t),a(e,Qe,t),a(e,K,t),a(e,_e,t),a(e,v,t),a(e,Pe,t),a(e,ee,t),a(e,De,t),d(te,e,t),a(e,Oe,t),a(e,oe,t),a(e,Ae,t),a(e,g,t),a(e,Ke,t),a(e,ae,t),a(e,et,t),a(e,le,t),a(e,tt,t),a(e,se,t),a(e,ot,t),d(ie,e,t),a(e,at,t),a(e,re,t),a(e,lt,t),a(e,J,t),a(e,st,t),a(e,ne,t),a(e,it,t),d(me,e,t),a(e,rt,t),a(e,ue,t),nt=!0},p:Qt,i(e){nt||(u(j.$$.fragment,e),u(U.$$.fragment,e),u(G.$$.fragment,e),u(B.$$.fragment,e),u(V.$$.fragment,e),u(k.$$.fragment,e),u($.$$.fragment,e),u(z.$$.fragment,e),u(L.$$.fragment,e),u(A.$$.fragment,e),u(te.$$.fragment,e),u(ie.$$.fragment,e),u(me.$$.fragment,e),nt=!0)},o(e){p(j.$$.fragment,e),p(U.$$.fragment,e),p(G.$$.fragment,e),p(B.$$.fragment,e),p(V.$$.fragment,e),p(k.$$.fragment,e),p($.$$.fragment,e),p(z.$$.fragment,e),p(L.$$.fragment,e),p(A.$$.fragment,e),p(te.$$.fragment,e),p(ie.$$.fragment,e),p(me.$$.fragment,e),nt=!1},d(e){e&&(o(pe),o(de),o(Me),o(he),o(be),o(ye),o(fe),o(I),o(Te),o(y),o(we),o(Z),o(ve),o(W),o(ge),o(x),o(Je),o(C),o(je),o(Ue),o(H),o(Ge),o(Be),o(Y),o(Ie),o(Ze),o(We),o(F),o(xe),o(S),o(Ce),o(f),o(Ve),o(q),o(He),o(T),o(ke),o(N),o(Ye),o(w),o($e),o(R),o(ze),o(X),o(Fe),o(E),o(Se),o(qe),o(Q),o(Ne),o(_),o(Re),o(P),o(Xe),o(D),o(Ee),o(O),o(Le),o(Qe),o(K),o(_e),o(v),o(Pe),o(ee),o(De),o(Oe),o(oe),o(Ae),o(g),o(Ke),o(ae),o(et),o(le),o(tt),o(se),o(ot),o(at),o(re),o(lt),o(J),o(st),o(ne),o(it),o(rt),o(ue)),o(h),M(j,e),M(U,e),M(G,e),M(B,e),M(V,e),M(k,e),M($,e),M(z,e),M(L,e),M(A,e),M(te,e),M(ie,e),M(me,e)}}}const lo='{"title":"Pedindo ajuda nos fóruns","local":"pedindo-ajuda-nos-fóruns","sections":[{"title":"Escrevendo uma boa postagem no fórum","local":"escrevendo-uma-boa-postagem-no-fórum","sections":[{"title":"Escolhendo um título descritivo","local":"escolhendo-um-título-descritivo","sections":[],"depth":3},{"title":"Formatando seus trechos de código","local":"formatando-seus-trechos-de-código","sections":[],"depth":3},{"title":"Incluindo o rastreamento completo","local":"incluindo-o-rastreamento-completo","sections":[],"depth":3},{"title":"Fornecendo um exemplo reproduzível","local":"fornecendo-um-exemplo-reproduzível","sections":[],"depth":3}],"depth":2}],"depth":1}';function so(ct){return _t(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class po extends Pt{constructor(h){super(),Dt(this,h,so,ao,Lt,{})}}export{po as component}; | |
Xet Storage Details
- Size:
- 28.9 kB
- Xet hash:
- 335166d0f14cc5a683dd436a55522022779fe29b5ad860a0b997246000f5bd0b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.