1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8047],{39515:function(e,t,n){n.d(t,{H:function(){return r},u:function(){return i}});var i=function(e){return e.ARTIST="artist",e.ADAPTER="adapter",e.AUTHOR="author",e.EDITOR="editor",e.COMPILER="compiler",e.CREATOR="creator",e.DIRECTOR="director",e.INTERVIEWER="interviewer",e.INTERVIEWEE="interviewee",e.PERFORMER="performer",e.PRODUCER="producer",e.REVIEWER="reviewer",e.REVIEWED="reviewed",e.SCREENWRITER="screenwriter",e.TRANSLATOR="translator",e.WRITER="writer",e.SECTION_AUTHOR="section_author",e.SECTION_EDITOR="section_editor",e.SECTION_COMPILER="section_compiler",e.SECTION_TRANSLATOR="section_translator",e.SINGER="singer",e.CONDUCTOR="conductor",e.ORCHESTRATOR="orchestrator",e.EMAIL_TO="to",e.EMAIL_FROM="from",e.CHOREOGRAPHER="choreographer",e.NARRATOR="narrator",e}({});function r(e){return{function:(t=e,"object"===typeof t[0]?t[0].value:t[0]),firstName:"",middleName:"",lastName:"",data:{suffix:""}};var t}},80164:function(e,t,n){n.d(t,{d:function(){return N}});var i=n(52322),r=n(2784),o=n(87788),u=function(e){return e.CONTRIBUTOR_SECTION="contributor-section",e.DELETE_CONTRIBUTOR_BUTTON="delete-annotation-icon-button",e.ADD_CONTRIBUTOR_LINK="annotation-link",e}({}),c=n(8242),a=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(e){return e.FUNCTION="Role",e.FIRST="First Name",e.MIDDLE="Middle Name",e.LAST="Last Name",e.SUFFIX="Suffix",e}({});var p=n(3072);const m=({index:e,functionOptions:t,removeContributor:n})=>(0,i.jsxs)(f,{"data-test":"contributor",className:"wf-contributors",children:[(0,i.jsx)(p.L,{name:`contributors[${e}].function`,labelText:T.FUNCTION,options:t,className:"function"}),(0,i.jsx)(o.II,{name:`contributors[${e}].firstName`,labelText:T.FIRST,className:"first",isRecommended:!0}),(0,i.jsx)(o.II,{name:`contributors[${e}].middleName`,labelText:T.MIDDLE,className:"middle"}),(0,i.jsx)(o.II,{name:`contributors[${e}].lastName`,labelText:T.LAST,className:"last",isRecommended:!0}),(0,i.jsx)(o.II,{name:`contributors[${e}].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)(a.Z,{size:"small",svgColor:c.Z.dark})})]});var E=n(63397),b=n(39515);const N=({functionOptions:e})=>{const{values:t,setFieldValue:n}=(0,E.u6)();(0,r.useEffect)((()=>{(!t.contributors||Array.isArray(t.contributors)&&0===t.contributors.length)&&n("contributors",[(0,b.H)(e)])}),[n,e,t]);return(0,i.jsxs)(o.$0,{sectionId:"contributor-section",title:"Contributors",ariaLabelledby:"contributor-section-label",dataTestId:u.CONTRIBUTOR_SECTION,children:[function(){if(t.contributors)return t.contributors.map(((r,o)=>(0,i.jsx)(m,{index:o,functionOptions:e,removeContributor:()=>(i=>{if(1===t.contributors?.length)n("contributors",[(0,b.H)(e)]);else{const e=t.contributors??[];n("contributors",[...e.slice(0,i),...e.slice(i+1)])}})(o)},o)))}(),(0,i.jsx)(o.Sw,{"data-test":u.ADD_CONTRIBUTOR_LINK,label:"Add another contributor",onClick:()=>{const i=t.contributors??[];n("contributors",[...i,(0,b.H)(e)])}})]})}},85215:function(e,t,n){n.d(t,{$$:function(){return p},A8:function(){return D},BD:function(){return N},BO:function(){return ue},BS:function(){return z},BU:function(){return R},BW:function(){return K},Bk:function(){return d},Cx:function(){return W},D$:function(){return F},Eg:function(){return Z},FA:function(){return Fe},FE:function(){return o},FO:function(){return je},FP:function(){return ee},Fb:function(){return ce},Fc:function(){return Pe},GM:function(){return H},H0:function(){return m},ID:function(){return B},JC:function(){return se},Jg:function(){return Ee},KY:function(){return u},Lv:function(){return y},Mf:function(){return ye},N8:function(){return Ae},Nt:function(){return _e},OZ:function(){return _},Os:function(){return A},P2:function(){return I},Pd:function(){return Ce},Q_:function(){return Q},Qj:function(){return U},R:function(){return q},RJ:function(){return M},Rp:function(){return Y},Rr:function(){return c},SL:function(){return le},SU:function(){return k},Sz:function(){return Te},Tm:function(){return de},Up:function(){return g},Uv:function(){return L},V:function(){return Re},Vh:function(){return ie},Vo:function(){return De},Wh:function(){return i},Wu:function(){return E},XQ:function(){return s},ZQ:function(){return Ne},aK:function(){return x},ab:function(){return ve},bO:function(){return fe},bQ:function(){return C},bd:function(){return v},cF:function(){return O},cR:function(){return r},ds:function(){return Be},du:function(){return xe},fM:function(){return l},f_:function(){return oe},gx:function(){return pe},hh:function(){return j},iD:function(){return me},id:function(){return Oe},j4:function(){return We},jj:function(){return f},k2:function(){return P},kY:function(){return T},kq:function(){return Ie},lW:function(){return G},n9:function(){return ae},nN:function(){return a},nX:function(){return h},nw:function(){return Le},or:function(){return be},q4:function(){return Se},qD:function(){return ge},qX:function(){return we},qb:function(){return X},r:function(){return ne},rV:function(){return te},rf:function(){return S},s5:function(){return w},sg:function(){return he},t6:function(){return J},tB:function(){return V},vM:function(){return Ue},wD:function(){return b},yo:function(){return re},zA:function(){return $}});const i="What I'm citing",r="federal-bill-citing-section",o="federal-bill-citing-section-test-id",u="federal-bill-title-test-id",c="federal-bill-number-field-test-id",a="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",p="federal-report-number-field-test-id",m="Type-radio-input-test-id",E="Number",b="Type",N="From",O="federal-rule-citing-section",x="federal-rule-citing-section-test-id",I="federal-rule-title-field-test-id",S="federal-rule-section-field-test-id",R="federal-rule-multiple-sections-field-test-id",y="federal-rule-multiple-sections-field-checkbox-test-id",g="Multiple sections",_="Citing more than one section?",C="Section",P="mailing-list-citing-section",h="mailing-list-title-input-test-id",A="mailing-list-description-input-test-id",D="Title of post",U="E
1x: Online posting, Mailing List, Email distribution",w="Description",j="federal-testimony-citing-section",B="federal-testimony-citing-section-test-id",v="federal-testimony-title-test-id",L="federal-testimony-who-testified-test-id",F="Who testified",W="federal-statute-citing-section",M="federal-statute-citing-section-test-id",X="federal-statute-title-field-test-id",k="federal-statute-chapter-field-test-id",z="federal-statute-law-number-field-test-id",Z="federal-statute-section-start-field-test-id",V="federal-statute-section-end-field-test-id",H="federal-statute-other-sections-field-test-id",Y="federal-statute-other-sections-field-checkbox-test-id",G="Other sections",$="Citing other nonconsecutive sections?",K="Codified: section of source; Uncodified, section of law",Q="Status",q="Title",J="Chapter",ee="Law number",te="Section start",ne="Section end",ie="patent-citing-section",re="patent-citing-section-test-id",oe="patent-title-test-id",ue="patent-assignee-test-id",ce="patent-number-test-id",ae="Patent title",se="Assignee",le="Patent number",fe="Source was",de="Map title",Te="write-paste-citing-section-test-id",pe="write-paste-title-test-id",me="Work type",Ee="Script type",be="Stage",Ne="University/location",Oe="Number (if applicable)",xe="Collection",Ie="Software title",Se="Version",Re="Article title",ye="Original article title",ge="Only fill this in if different from article title.",_e="Source was",Ce="Entry name",Pe="Definition number",he="Performance title",Ae="Newsletter title\t",De="Date published",Ue="Volume",we="Page",je="Ex: 5; 10-15",Be="Dissertation title",ve="University",Le="Year given",Fe="UMI number\t",We="Article / section title"},78047:function(e,t,n){n.r(t),n.d(t,{CARTOON_FORM_TAB_ID:function(){return j},CARTOON_FORM_TAB_TEST_ID:function(){return B},default:function(){return v}});var i=n(52322),r=n(2784),o=n(39515),u=function(e){return e.Website="Website",e.Book="Book",e.Magazine="Magazine",e.Newspaper="Newspaper",e}({});const c=[{key:"cartoon",value:"Cartoon"},{key:"comic strip",value:"Comic Strip"}],a=[o.u.AUTHOR,o.u.EDITOR,o.u.COMPILER,o.u.TRANSLATOR],s={CARTOON_INPRINT_PUB_INFO_SECTION:"cartoon-form-inprint-pub-info-sec-test-id",CARTOON_WEBSITE_PUB_INFO_SECTION:"cartoon-form-website-pub-info-sec-test-id",CARTOON_MAGAZINE_PUB_INFO_SECTION:"cartoon-form-magazine-pub-info-sec-test-id",CARTOON_NEWSPAPER_PUB_INFO_SECTION:"cartoon-form-newspaper-pub-info-sec-test-id"};var l=n(80164),f=n(63388),d=n(37205),T=n(63397),p=n(87788),m=n(85215);const E="cartoon-citing-section",b=({selectedTab:e})=>{const{setFieldValue:t}=(0,T.u6)();return(0,i.jsxs)(p.$0,{sectionId:E,title:m.Wh,ariaLabelledby:"cartoon-citing-section-label",dataTestId:"cartoon-citing-section-test-id",children:[(0,i.jsx)(p.II,{type:"text",name:"cartoon.title",labelText:"Cartoon title","data-test":"cartoon-title-test-id"}),(0,i.jsx)(p.Ee,{options:c,legend:"Type",name:`${e}.cartoon.type`,formikFieldName:"cartoon.type",align:"vertical","data-test":"cartoon-type-radio-input-test-id",onChange:e=>{t("cartoon.type",e.key)}})]})};var N=n(37513),O=n(96328);const x=[{type:O.fS.TEXT,labelText:"Website title",recommended:!0,field:O.iD.TITLE},{type:O.fS.TEXT,labelText:"Publisher/sponsor",recommended:!1,field:O.iD.PUBLISHER},{type:O.fS.TEXT,labelText:"URL",recommended:!0,field:O.iD.URL},{type:O.fS.RADIO,labelText:N.N5,options:[{key:"yes",value:"Yes"},{key:"no",value:"No"}],defaultSelectedIndex:N.$Y,field:O.iD.DISPLAY_URL,alignment:"horizontal",dataTestId:"showurl"},{type:O.fS.PUBDATE,labelText:"Electronically published",field:O.iD.ELEC_PUB_DATE,formikFieldNames:["day","month","year"]},{type:O.fS.PUBDATE,labelText:"Date accessed",field:O.iD.DATE_ACCESSED,formikFieldNames:["dayaccessed","monthaccessed","yearaccessed"]}];var I=({})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(p.CQ,{}),(0,i.jsx)(b,{selectedTab:u.Website}),(0,i.jsx)(l.d,{functionOptions:a}),(0,i.jsx)(f.ZP,{fieldList:x,sectionTitle:"Website publication info",name:"pubonline","data-test":s.CARTOON_WEBSITE_PUB_INFO_SECTION,selectedTab:u.Website}),(0,i.jsx)(d.m4,{})]});const S=[{field:f.Z5.TITLE,labelText:"Source title",recommended:!0,type:f.fS.TEXT},{rowtype:f.aC.SM_TWO_ROW,fields:[{field:f.Z5.VOLUME,labelText:"Vol",recommended:!1,type:f.fS.TEXT,flex:"2"},{field:f.Z5.EDITION,labelText:"Edition",recommended:!1,type:f.fS.TEXT},{field:f.Z5.SERIES,labelText:"Series",recommended:!1,type:f.fS.TEXT,flex:"2"}]},{fields:[{field:f.Z5.PUBLISHER,labelText:"Publisher",recommended:!0,type:f.fS.TEXT},{field:f.Z5.CITY,labelText:"City",recommended:!0,type:f.fS.TEXT},{field:f.Z5.STATE,labelText:"State",recommended:!0,type:f.fS.TEXT},{field:f.Z5.YEAR,labelText:"Year",recommended:!0,type:f.fS.TEXT}]},{fields:[{field:f.Z5.START_PAGE,labelText:N.f0,recommended:!0,type:f.fS.TEXT},{field:f.Z5.END_PAGE,labelText:N.uR,recommended:!0,type:f.fS.TEXT}]},{field:f.Z5.NON_CONSECUTIVE,labelText:"Pages are nonconsecutive",type:f.fS.CHECKBOX}];var R=({})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(p.CQ,{}),(0,i.jsx)(b,{selectedTab:u.Book}),(0,i.jsx)(l.d,{functionOptions:a}),(0,i.jsx)(f.ZP,{fieldList:S,name:"pubnonperiodical",sectionTitle:"In print publication info",selectedTab:u.Book,"data-test":s.CARTOON_INPRINT_PUB_INFO_SECTION}),(0,i.jsx)(d.m4,{})]});var y=[{field:f.gz.TITLE,labelText:"Magazine title",recommended:!1,type:f.fS.TEXT},{rowtype:f.aC.SM_TWO_ROW,fields:[{field:f.gz.VOLUME,labelText:"Volume",recommended:!1,type:f.fS.TEXT,flex:"2"},{field:f.gz.ISSUE,labelText:"Issue",recommended:!1,type:f.fS.TEXT,flex:"2"}]},{field:f.gz.PUBLISHED_DATE,type:f.fS.PUBDATE,labelText:"Date published",formikFieldNames:["day","month","year"]},{fields:[{field:f.gz.START_PAGE,labelText:N.f0,type:f.fS.TEXT},{field:f.gz.END_PAGE,labelText:N.uR,type:f.fS.TEXT}]}];var g=({})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(p.CQ,{}),(0,i.jsx)(b,{selectedTab:u.Magazine}),(0,i.jsx)(l.d,{functionOptions:a}),(0,i.jsx)(f.ZP,{name:"pubmagazine",sectionTitle:"Magazine publication info",fieldList:y,"data-test":s.CARTOON_MAGAZINE_PUB_INFO_SECTION,selectedTab:u.Magazine}),(0,i.jsx)(d.m4,{})]});const _=[{type:f.fS.TEXT,labelText:"Newspaper title",recommended:!1,field:f.gz.TITLE},{field:f.gz.CITY,labelText:"City",recommended:!1,type:f.fS.TEXT,helperText:"Only include if city is not in newspaper name"},{rowtype:f.aC.SM_TWO_ROW,fields:[{field:f.gz.EDITION,labelText:"Edition",recommended:!1,type:f.fS.TEXT},{field:f.gz.SECTION,labelText:"Section",recommended:!1,type:f.fS.TEXT}]},{field:f.gz.PUBLISHED_DATE,type:f.fS.PUBDATE,labelText:"Date published",formikFieldNames:["day","month","year"]},{fields:[{field:f.gz.START_PAGE,labelText:N.f0,type:f.fS.TEXT},{field:f.gz.END_PAGE,labelText:N.uR,type:f.fS.TEXT}]}];
1var C=({})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(p.CQ,{}),(0,i.jsx)(b,{selectedTab:u.Newspaper}),(0,i.jsx)(l.d,{functionOptions:a}),(0,i.jsx)(f.ZP,{name:"pubnewspaper",sectionTitle:"Newspaper publication info",fieldList:_,"data-test":s.CARTOON_NEWSPAPER_PUB_INFO_SECTION,selectedTab:u.Newspaper}),(0,i.jsx)(d.m4,{})]});function P(e){return[{header:u.Book,panel:0===e?(0,i.jsx)(R,{}):(0,i.jsx)(i.Fragment,{})},{header:u.Website,panel:1===e?(0,i.jsx)(I,{}):(0,i.jsx)(i.Fragment,{})},{header:u.Magazine,panel:2===e?(0,i.jsx)(g,{}):(0,i.jsx)(i.Fragment,{})},{header:u.Newspaper,panel:3===e?(0,i.jsx)(C,{}):(0,i.jsx)(i.Fragment,{})}]}var h=n(69161),A=n(90023);const D=e=>{if(e&&e.suffix==A.KD.PUB_NONE)switch(e.main){case A.PW.PUB_ONLINE:return 1;case A.PW.PUB_MAGAZINE:return 2;case A.PW.PUB_NEWSPAPER:return 3;default:return 0}return 0},U=e=>{switch(e){case 1:return A.PW.PUB_ONLINE;case 2:return A.PW.PUB_MAGAZINE;case 3:return A.PW.PUB_NEWSPAPER;default:return A.PW.PUB_NONPERIODICAL}};var w=({intialPubtypeState:e})=>{const{setFieldValue:t,values:n}=(0,T.u6)(),i=D(e),[o,u]=(0,r.useState)(i),[c,a]=(0,r.useState)([]);(0,r.useEffect)((()=>{e||t("pubtype",{main:U(0),suffix:A.KD.PUB_NONE}),a([]),u(D(e))}),[e,t]);return{activeTabIndex:o,handleTabChange:e=>{const i=o,r=n.pubtype.suffix,s=n.pubtype.main;u(e);const l=c[e]||null;t("pubtype",l??{main:U(e),suffix:A.KD.PUB_NONE}),a((e=>(e[i]={main:s,suffix:r},e)))}}};const j="cartoon-form-tab",B="cartoon-form-tab-test";var v=({citation:e})=>{const{activeTabIndex:t,handleTabChange:n}=w({intialPubtypeState:e?.data.pubtype});return(0,i.jsx)(h.mQ,{tabs:P(t),activeTabIndex:t,id:j,onChangeIndex:n,"aria-label":N.Xw,"data-test":B})}},37513:function(e,t,n){n.d(t,{$Y:function(){return r},Bt:function(){return ee},Ct:function(){return Y},DN:function(){return oe},Eu:function(){return x},F0:function(){return K},F7:function(){return F},Fh:function(){return a},G:function(){return j},G$:function(){return M},HP:function(){return o},Hx:function(){return Z},JP:function(){return _},JX:function(){return s},Jx:function(){return T},Ko:function(){return ue},Lh:function(){return z},N5:function(){return c},NX:function(){return S},OY:function(){return d},Or:function(){return R},PE:function(){return H},PN:function(){return ie},Tn:function(){return D},UK:function(){return U},VN:function(){return l},VO:function(){return W},Vo:function(){return $},W$:function(){return te},WN:function(){return q},XI:function(){return h},XV:function(){return b},Xw:function(){return u},Y3:function(){return v},Ye:function(){return N},Ys:function(){return m},ZR:function(){return p},ag:function(){return i},ay:function(){return k},bQ:function(){return ne},eV:function(){return J},ed:function(){return y},f0:function(){return E},f4:function(){return G},j_:function(){return A},je:function(){return I},ky:function(){return B},oP:function(){return g},po:function(){return Q},q5:function(){return f},sD:function(){return O},tj:function(){return L},tq:function(){return re},u1:function(){return C},uR:function(){return P},vM:function(){return V},wE:function(){return w},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",c="Display URL?",a="Year published",s="Advanced info",l="Publication info",f="Pages",d="Website title",T="URL",p="Date accessed",m="Congress",E="Start page",b="Publisher",N="Site / Mailing list title",O="Site / Newsgroup title",x="Publisher / sponsor",I="Electronically published",S="Source title",R="City",y="State",g="Year",_="Is this source well known?",C="Well Known?",P="End page",h="Vol.",A="Total vols.",D="Edition",U="Pages are nonconsecutive",w="Publisher/sponsor",j="Electronically published",B="Site / Dissertationabstract title",v="Library",L="Database",F="Service",W="Search type",M="Series",X="Pages are nonconsecutive",k="Collection source",z="Collection title\t",Z="Source",V="Volume",H="Pages are nonconsecutive",Y="Location",G="Company / org.",$="Date published",K="Only include if city is not in newspaper name",Q="Journ
1al title",q="Issue",J="Every issue restarts page numbering",ee="Magazine title",te="Newspaper title",ne="Section",ie="Date viewed",re="Microform title",oe="Identifier",ue="Ex: fiche 4, grids 5-6"}}]);
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.