1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6845],{39515:function(t,e,n){n.d(e,{H:function(){return r},u:function(){return i}});var i=function(t){return t.ARTIST="artist",t.ADAPTER="adapter",t.AUTHOR="author",t.EDITOR="editor",t.COMPILER="compiler",t.CREATOR="creator",t.DIRECTOR="director",t.INTERVIEWER="interviewer",t.INTERVIEWEE="interviewee",t.PERFORMER="performer",t.PRODUCER="producer",t.REVIEWER="reviewer",t.REVIEWED="reviewed",t.SCREENWRITER="screenwriter",t.TRANSLATOR="translator",t.WRITER="writer",t.SECTION_AUTHOR="section_author",t.SECTION_EDITOR="section_editor",t.SECTION_COMPILER="section_compiler",t.SECTION_TRANSLATOR="section_translator",t.SINGER="singer",t.CONDUCTOR="conductor",t.ORCHESTRATOR="orchestrator",t.EMAIL_TO="to",t.EMAIL_FROM="from",t.CHOREOGRAPHER="choreographer",t.NARRATOR="narrator",t}({});function r(t){return{function:(e=t,"object"===typeof e[0]?e[0].value:e[0]),firstName:"",middleName:"",lastName:"",data:{suffix:""}};var e}},80164:function(t,e,n){n.d(e,{d:function(){return N}});var i=n(52322),r=n(2784),o=n(87788),u=function(t){return t.CONTRIBUTOR_SECTION="contributor-section",t.DELETE_CONTRIBUTOR_BUTTON="delete-annotation-icon-button",t.ADD_CONTRIBUTOR_LINK="annotation-link",t}({}),a=n(8242),c=n(91744),s=n(3411),l=n(8266);const f=s.ZP.div.withConfig({componentId:"sc-29824dd7-0"})(["width:100%;display:flex;column-gap:10px;flex-wrap:wrap;.function{flex-basis:100%;& > div span{text-transform:capitalize;}& ul > li{text-transform:capitalize;}}.first,.middle,.last{flex:1 1 40%;}.suffix{flex:1 1 calc(40% - 34px);}"]),d=(0,s.ZP)(l.IconButton).withConfig({componentId:"sc-29824dd7-1"})(["padding:0px;"]);var T=function(t){return t.FUNCTION="Role",t.FIRST="First Name",t.MIDDLE="Middle Name",t.LAST="Last Name",t.SUFFIX="Suffix",t}({});var b=n(3072);const p=({index:t,functionOptions:e,removeContributor:n})=>(0,i.jsxs)(f,{"data-test":"contributor",className:"wf-contributors",children:[(0,i.jsx)(b.L,{name:`contributors[${t}].function`,labelText:T.FUNCTION,options:e,className:"function"}),(0,i.jsx)(o.II,{name:`contributors[${t}].firstName`,labelText:T.FIRST,className:"first",isRecommended:!0}),(0,i.jsx)(o.II,{name:`contributors[${t}].middleName`,labelText:T.MIDDLE,className:"middle"}),(0,i.jsx)(o.II,{name:`contributors[${t}].lastName`,labelText:T.LAST,className:"last",isRecommended:!0}),(0,i.jsx)(o.II,{name:`contributors[${t}].data.suffix`,labelText:T.SUFFIX,className:"suffix"}),(0,i.jsx)(d,{size:"small",onClick:n,screenReaderOnlyText:"delete contributor","data-test":u.DELETE_CONTRIBUTOR_BUTTON,children:(0,i.jsx)(c.Z,{size:"small",svgColor:a.Z.dark})})]});var I=n(63397),E=n(39515);const N=({functionOptions:t})=>{const{values:e,setFieldValue:n}=(0,I.u6)();(0,r.useEffect)((()=>{(!e.contributors||Array.isArray(e.contributors)&&0===e.contributors.length)&&n("contributors",[(0,E.H)(t)])}),[n,t,e]);return(0,i.jsxs)(o.$0,{sectionId:"contributor-section",title:"Contributors",ariaLabelledby:"contributor-section-label",dataTestId:u.CONTRIBUTOR_SECTION,children:[function(){if(e.contributors)return e.contributors.map(((r,o)=>(0,i.jsx)(p,{index:o,functionOptions:t,removeContributor:()=>(i=>{if(1===e.contributors?.length)n("contributors",[(0,E.H)(t)]);else{const t=e.contributors??[];n("contributors",[...t.slice(0,i),...t.slice(i+1)])}})(o)},o)))}(),(0,i.jsx)(o.Sw,{"data-test":u.ADD_CONTRIBUTOR_LINK,label:"Add another contributor",onClick:()=>{const i=e.contributors??[];n("contributors",[...i,(0,E.H)(t)])}})]})}},85215:function(t,e,n){n.d(e,{$$:function(){return b},A8:function(){return D},BD:function(){return N},BO:function(){return ut},BS:function(){return M},BU:function(){return _},BW:function(){return G},Bk:function(){return d},Cx:function(){return W},D$:function(){return w},Eg:function(){return Z},FA:function(){return wt},FE:function(){return o},FO:function(){return vt},FP:function(){return tt},Fb:function(){return at},Fc:function(){return gt},GM:function(){return H},H0:function(){return p},ID:function(){return L},JC:function(){return st},Jg:function(){return It},KY:function(){return u},Lv:function(){return R},Mf:function(){return Rt},N8:function(){return Ct},Nt:function(){return Pt},OZ:function(){return P},Os:function(){return C},P2:function(){return x},Pd:function(){return ht},Q_:function(){return Q},Qj:function(){return B},R:function(){return J},RJ:function(){return k},Rp:function(){return K},Rr:function(){return a},SL:function(){return lt},SU:function(){return V},Sz:function(){return Tt},Tm:function(){return dt},Up:function(){return y},Uv:function(){return j},V:function(){return _t},Vh:function(){return it},Vo:function(){return Dt},Wh:function(){return i},Wu:function(){return I},XQ:function(){return s},ZQ:function(){return Nt},aK:function(){return O},ab:function(){return Ft},bO:function(){return ft},bQ:function(){return h},bd:function(){return F},cF:function(){return m},cR:function(){return r},ds:function(){return Lt},du:function(){return Ot},fM:function(){return l},f_:function(){return ot},gx:function(){return bt},hh:function(){return v},iD:function(){return pt},id:function(){return mt},j4:function(){return Wt},jj:function(){return f},k2:function(){return g},kY:function(){return T},kq:function(){return xt},lW:function(){return $},n9:function(){return ct},nN:function(){return c},nX:function(){return A},nw:function(){return jt},or:function(){return Et},q4:function(){return St},qD:function(){return yt},qX:function(){return Ut},qb:function(){return X},r:function(){return nt},rV:function(){return et},rf:function(){return S},s5:function(){return U},sg:function(){return At},t6:function(){return q},tB:function(){return Y},vM:function(){return Bt},wD:function(){return E},yo:function(){return rt},zA:function(){return z}});const i="What I'm citing",r="federal-bill-citing-section",o="federal-bill-citing-section-test-id",u="federal-bill-title-test-id",a="federal-bill-number-field-test-id",c="federal-bill-which-congress-test-id",s="Status-radio-input-test-id",l="Bill-type-radio-input-test-id",f="From-radio-input-test-id",d="federal-report-citing-section",T="federal-report-citing-section-test-id",b="federal-report-number-field-test-id",p="Type-radio-input-test-id",I="Number",E="Type",N="From",m="federal-rule-citing-section",O="federal-rule-citing-section-test-id",x="federal-rule-title-field-test-id",S="federal-rule-section-field-test-id",_="federal-rule-multiple-sections-field-test-id",R="federal-rule-multiple-sections-field-checkbox-test-id",y="Multiple sections",P="Citing more than one section?",h="Section",g="mailing-list-citing-section",A="mailing-list-title-input-test-id",C="mailing-list-description-input-test-id",D="Title of post",B="Ex: Online posting, Mailing List, Email distribution",U="Description",v="federal-testimony-citing-section",L="federal-testimony-citing-section-test-id",F="federal-testimony-title-test-id",j="federal-testimony-who-testified-test-id",w="Who testified",W="federal-statute-citing-section",k="federal-statute-citing-section-test-id",X="federal-statute-title-field-test-id",V="federal-statute-chapter-field-test-id",M="federal-statute-law-number-field-test-id",Z="federal-statute-section-start-field-test-id",Y="federal-statute-section-end-field-test-id",H="federal-statute-other-sections-field-test-id",K="federal-statute-other-sections-field-checkbox-test-id",$="Other sections",z="Citing other nonconsecutive sections?",G="Codified: section of source; Uncodified, section of law",Q="Status",J="Title",q="Chapter",tt="Law number",et="Section start",nt="Section end",it="patent-citing-section",rt="patent-citing-section-test-id",ot="patent-title-test-id",ut="patent-assignee-test-id",at="patent-number-test-id",ct="Patent title",st="Assignee",lt="Patent number",ft="Source was",dt="Map title",Tt="write-paste-citing-section-test-id",bt="write-paste-title-test-id",pt="Work type",It="Script type",Et="Stage",Nt="University/location",mt="Number (if applicable)",Ot="Collection",xt="Software title",St="Version",_t="Article title",Rt="Original article title",yt="Only fill this in if different from article title.",Pt="Source was",ht="Entry name",gt="Definition number",At="Performance title",Ct="Newsletter title\t",Dt="Date published",Bt="Volume",Ut="Page",vt="Ex: 5; 10-15",Lt="Dissertation title",Ft="University",jt="Year given",wt="UMI number\t",Wt="Article / section title"},37513:function(t,e,n){n.d(e,{$Y:function(){return r},Bt:function(){return tt},Ct:function(){return K},DN:function(){return ot},Eu:function(){return O},F0:function(){return G},F7:function(){return w},Fh:function(){return c},G:function(){return v},G$:function(){return k},HP:function(){return o},Hx:function(){return Z},JP:function(){return P},JX:function(){return s},Jx:function(){return T},Ko:function(){return ut},Lh:function(){return M},N5:function(){return a},NX:function(){return S},OY:function(){return d},Or:function(){return _},PE:function(){return H},PN:function(){return it},Tn:function(){return D},UK:function(){return B},VN:function(){return l},VO:function(){return W},Vo:function(){return z},W$:function(){return et},WN:function(){return J},XI:function(){return A},XV:function(){return E},Xw:function(){return u},Y3:function(){return F},Ye:function(){return N},Ys:function(){return p},ZR:function(){return b},ag:function(){return i},ay:function(){return V},bQ:function(){return nt},eV:function(){return q},ed:function(){return R},f0:function(){return I},f4:function(){return $},j_:function(){return C},je:function(){return x},ky:function(){return L},oP:function(){return y},po:function(){return Q},q5:function(){return f},sD:function(){return m},tj:function(){return j},tq:function(){return rt},u1:function(){return h},uR:function(){return g},vM:function(){return Y},wE:function(){return U},xP:function(){return X}});const i="If your source was found online, the online publication information will be replaced by the DOI.",r=1,o=2,u="Format",a="Display URL?",c="Year published",s="Advanced info",l="Publication info",f="Pages",d="Website title",T="URL",b="Date accessed",p="Congress",I="Start page",E="Publisher",N="Site / Mailing list title",m="Site / Newsgroup title",O="Publisher / sponsor",x="Electronically published",S="Source title",_="City",R="State",y="Year",P="Is this source well known?",h="Well Known?",g="End page",A="Vol.",C="Total vols.",D="Edition",B="Pages are nonconsecutive",U="Publisher/sponsor",v="Electronically published",L="Site / Dissertationabstract title",F="Library",j="Database",w="Service",W="Search type",k="Series",X="Pages are nonconsecutive",V="Collection source",M="Collection title\t",Z="Source",Y="Volume",H="Pages are nonconsecutive",K="Location",$="Company / org.",z="Date published",G="Only include if city is not in newspaper name",Q="Journ
1al title",J="Issue",q="Every issue restarts page numbering",tt="Magazine title",et="Newspaper title",nt="Section",it="Date viewed",rt="Microform title",ot="Identifier",ut="Ex: fiche 4, grids 5-6"},36845:function(t,e,n){n.r(e),n.d(e,{GOVT_FORM_TAB_ID:function(){return j},GOVT_FORM_TAB_TEST_ID:function(){return F},default:function(){return w}});var i=n(52322),r=n(2784),o=n(37513),u=n(69161),a=n(63397),c=n(90023);const s=t=>{const e=t?.main==c.PW.PUB_ONLINE,n=t?.main==c.PW.PUB_NONPERIODICAL;if(e||n)switch(t.suffix){case c.KD.PUB_ONLINE:return 1;case c.KD.PUB_DATABASE:return 2;case c.KD.PUB_NONE:default:return e?1:0}return 0},l=t=>1===t?c.PW.PUB_ONLINE:c.PW.PUB_NONPERIODICAL,f=t=>2===t?c.KD.PUB_DATABASE:c.KD.PUB_NONE;var d=({intialPubtypeState:t})=>{const{values:e,setFieldValue:n}=(0,a.u6)(),i=s(t),[o,u]=(0,r.useState)(i),[c,d]=(0,r.useState)([]);(0,r.useEffect)((()=>{t||n("pubtype",{main:l(0),suffix:f(0)}),d([]),u(s(t))}),[t,n]);return{activeTabIndex:o,handleTabChange:t=>{const i=o,r=e.pubtype.suffix,a=e.pubtype.main;u(t),c[t]?n("pubtype",c[t]):n("pubtype",{main:l(t),suffix:f(t)}),d((t=>(t[i]={main:a,suffix:r},t)))}}},T=n(39515),b=function(t){return t.IN_PRINT_TAB="inprint-tab",t.WEBSITE_TAB="website-tab",t.ONLINE_DB_TAB="online-database-tab",t.IN_PRINT_PUB_INFO_SECTION="inprint-ppublication-info-section",t.WEBSITE_PUB_INFO_SECTION="website-pub-info-section",t.ONLINE_DATABASE_PUB_INFO_SECTION="online-database-pub-info-section",t}({}),p=function(t){return t.IN_PRINT_PUB_INFO="In print publication info",t.ONLINE_DATABASE_PUB_INFO="Online database publication info",t.WEBSITE_PUB_INFO="Website publication info",t}({});const I="In print",E="Website",N="Online database",m=[{key:c.KD.PUB_NONE,value:"Published directly online"},{key:c.KD.PUB_ONLINE,value:"Originally in print"}],O=[T.u.AUTHOR,T.u.EDITOR,T.u.COMPILER,T.u.TRANSLATOR];var x=n(80164),S=n(87788),_=n(85215);const R="govt-pub-what-im-citing",y=({selectedTab:t})=>{const{setFieldValue:e}=(0,a.u6)();return(0,i.jsxs)(S.$0,{sectionId:R,title:_.Wh,ariaLabelledby:`${R}-label`,dataTestId:R,children:[t===E&&(0,i.jsx)(S.Ee,{options:m,legend:"Source was",name:`${t}.pubtype.suffix`,formikFieldName:"pubtype.suffix","data-test":"source-was-field-test-id",align:"vertical",onChange:t=>{t.value===m[0].value?e("pubtype.main",c.PW.PUB_ONLINE):e("pubtype.main",c.PW.PUB_NONPERIODICAL)}}),(0,i.jsx)(S.II,{"data-test":"country-field-test-id",name:"govt.country",labelText:"Country"}),(0,i.jsx)(S.II,{"data-test":"agency-field-test-id",name:"govt.agency",labelText:"Agency"}),(0,i.jsx)(S.II,{"data-test":"office-field-test-id",name:"govt.office",labelText:"Office"})]})};var P=n(37205),h=n(63388),g=n(96328);const A=[{field:g.Z5.TITLE,labelText:"Journal title",type:g.fS.TEXT},{fields:[{field:g.Z5.VOLUME,labelText:"Vol.",recommended:!0,type:g.fS.TEXT},{field:g.Z5.EDITION,labelText:"Issue",type:g.fS.TEXT},{field:g.Z5.SERIES,labelText:"Series",type:g.fS.TEXT}]},{fields:[{field:g.Z5.PUBLISHER,labelText:"Publisher",recommended:!0,type:g.fS.TEXT},{field:g.Z5.CITY,labelText:"City",recommended:!0,type:g.fS.TEXT},{field:g.Z5.STATE,labelText:"State",recommended:!0,type:g.fS.TEXT},{field:g.Z5.YEAR,labelText:"Year",recommended:!0,type:g.fS.TEXT}]},{fields:[{field:g.Z5.START_PAGE,labelText:o.f0,type:g.fS.TEXT},{field:g.Z5.END_PAGE,labelText:o.uR,type:g.fS.TEXT}]},{field:g.Z5.NON_CONSECUTIVE,labelText:"Pages are nonconsecutive",type:g.fS.CHECKBOX}];var C=({})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(S.CQ,{}),(0,i.jsx)(y,{selectedTab:I}),(0,i.jsx)(x.d,{functionOptions:O}),(0,i.jsx)(h.ZP,{fieldList:A,name:"pubnonperiodical",sectionTitle:p.IN_PRINT_PUB_INFO,"data-test":b.IN_PRINT_PUB_INFO_SECTION,selectedTab:I}),(0,i.jsx)(P.m4,{})]});const D=[{fields:[{field:g.rt.LIBRARY,labelText:"Library",type:g.fS.TEXT},{field:g.rt.CITY,labelText:"City",type:g.fS.TEXT}]},{fields:[{field:g.rt.DATABASE,labelText:"Database",type:g.fS.TEXT},{field:g.rt.SERVICE,labelText:"Service",type:g.fS.TEXT}]},{type:g.fS.PUBDATE,labelText:"Date accessed",field:g.rt.DATE_ACCESSED,formikFieldNames:["dayaccessed","monthaccessed","yearaccessed"]},{field:g.rt.SEARCH_TYPE,type:g.fS.RADIO_GROUP_WITH_INPUT,radioName:"pubdatabase.searchtype",inputName:"pubdatabase.searchtext",defaultSelectedIndex:o.HP,options:[{key:"keyword",value:"Keyword",placeholderText:"Type keyword here"},{key:"path",value:"Path",placeholderText:"Ex: Science; Biology; Birds"},{key:"url",value:"URL",placeholderText:"http://"}],alignment:"horizontal",labelText:"Search type"},{type:g.fS.RADIO,labelText:o.N5,options:[{key:"yes",value:"Yes"},{key:"no",value:"No"}],field:g.rt.DISPLAY_URL,alignment:"horizontal"}];var B=({})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(S.CQ,{}),(0,i.jsx)(y,{selectedTab:N}),(0,i.jsx)(x.d,{functionOptions:O}),(0,i.jsx)(h.ZP,{fieldList:A,name:"pubnonperiodical",sectionTitle:p.IN_PRINT_PUB_INFO,"data-test":b.IN_PRINT_PUB_INFO_SECTION,selectedTab:N}),(0,i.jsx)(h.ZP,{fieldList:D,name:"pubdatabase",sectionTitle:p.ONLINE_DATABASE_PUB_INFO,"data-test":b.ONLINE_DATABASE_PUB_INFO_SECTION,selectedTab:N}),(0,i.jsx)(P.m4,{})]});const U=[{type:g.fS.TEXT,labelText:"Site/Publication title",field:g.
1iD.TITLE},{type:g.fS.TEXT,labelText:"Publisher/Sponsor",field:g.iD.PUBLISHER},{type:g.fS.TEXT,labelText:"URL",recommended:!0,field:g.iD.URL},{type:g.fS.RADIO,labelText:o.N5,options:[{key:"yes",value:"Yes"},{key:"no",value:"No"}],field:g.iD.DISPLAY_URL,alignment:"horizontal"},{type:g.fS.PUBDATE,labelText:"Electronically published",field:g.iD.ELEC_PUB_DATE,formikFieldNames:["day","month","year"]},{type:g.fS.PUBDATE,labelText:"Date accessed",field:g.iD.DATE_ACCESSED,formikFieldNames:["dayaccessed","monthaccessed","yearaccessed"]}];var v=({})=>{const{values:t}=(0,a.u6)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(S.CQ,{}),(0,i.jsx)(y,{selectedTab:E}),(0,i.jsx)(x.d,{functionOptions:O}),t?.pubtype?.main==c.PW.PUB_NONPERIODICAL&&(0,i.jsx)(h.ZP,{fieldList:A,name:"pubnonperiodical",sectionTitle:p.IN_PRINT_PUB_INFO,"data-test":b.IN_PRINT_PUB_INFO_SECTION,selectedTab:E}),(0,i.jsx)(h.ZP,{fieldList:U,name:"pubonline",sectionTitle:p.WEBSITE_PUB_INFO,"data-test":b.WEBSITE_PUB_INFO_SECTION,selectedTab:E}),(0,i.jsx)(P.m4,{})]})};function L(t){return[{header:I,panel:0===t?(0,i.jsx)(C,{}):(0,i.jsx)(i.Fragment,{})},{header:E,panel:1===t?(0,i.jsx)(v,{}):(0,i.jsx)(i.Fragment,{})},{header:N,panel:2===t?(0,i.jsx)(B,{}):(0,i.jsx)(i.Fragment,{})}]}const F="govt-form-tab",j="govt-tabs";var w=({citation:t})=>{const{activeTabIndex:e,handleTabChange:n}=d({intialPubtypeState:t?.data.pubtype});return(0,i.jsx)(u.mQ,{tabs:L(e),activeTabIndex:e,id:j,onChangeIndex:n,"aria-label":o.Xw,"data-test":F})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.