1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5997],{88620:function(e,t,n){"use strict";var i=n(67294),a=n(6308),s=n(37258),o=n(41664),r=n(38340),l=n.n(r),c=n(58046),d=n(40887),u=n(11163),p=n(85893);n(34155).env.API_URL;t.Z=function(e){var t,n,r,h,m=e.menu,f=e.mainLogo,g=e.mainLogoMobile,v=e.handleCollapse,x=m,_=(0,i.useState)(""),b=(_[0],_[1],(0,i.useState)(!1)),y=b[0],j=b[1],C=(0,c.Z)(),w=(0,d.Z)(40),N=(0,u.useRouter)(),k=function(e){return"string"===typeof e&&e?/^(?:[a-z][a-z0-9+.-]*:|\/\/|#)/i.test(e)||e.endsWith("/")?e:"".concat(e,"/"):"/"};return(0,p.jsx)("div",{className:l()["nav-container"],children:C.width<768?(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)("nav",{className:"".concat(l()["nav-mobile"]," ").concat(w?l()["nav-mobile--scrolled"]:""),children:[(0,p.jsx)("div",{className:l().nav__logo,children:(0,p.jsx)("a",{href:"/responsible-ai-movement/",children:(0,p.jsx)(s.Z,{src:"".concat((0,a.Z)(null!==g&&void 0!==g&&g.url?null===g||void 0===g?void 0:g.url:"/uploads/responsible_ai_movement_0319caee3a.svg")),alt:null===g||void 0===g?void 0:g.alternativeText,width:"140px",height:"50px"})})}),(0,p.jsx)("div",{onClick:function(){return j(!0)},children:(0,p.jsx)("img",{src:"/pwa-img/enago-one-hamburger.svg"})}),y?(0,p.jsxs)("div",{className:l()["nav-mobile__items"],children:[(0,p.jsx)("div",{onClick:function(){return j(!1)},className:l()["nav-mobile__items--close"],children:(0,p.jsx)("img",{src:"/pwa-img/close_icon.svg",height:30,width:30})}),(0,p.jsx)("div",{className:l()["nav-mobile__items--ul"],children:(0,p.jsx)("ul",{children:null===x||void 0===x||null===(t=x.slice(0,(null===x||void 0===x?void 0:x.length)-1))||void 0===t?void 0:t.map((function(e,t){var n;return(0,p.jsx)("li",{className:N.pathname==(null===e||void 0===e?void 0:e.url)||null!==N&&void 0!==N&&N.pathname.includes("[publishers]")&&"/responsible-ai-movement/publisher-ai-guidelines"==(null===e||void 0===e?void 0:e.url)||null!==N&&void 0!==N&&null!==(n=N.pathname)&&void 0!==n&&n.includes("[guideline]")&&"/responsible-ai-movement/resources"==(null===e||void 0===e?void 0:e.url)?l().nav__active:"",children:(0,p.jsx)(o.default,{href:k(null===e||void 0===e?void 0:e.url),children:(0,p.jsx)("a",{href:k(null===e||void 0===e?void 0:e.url),children:null===e||void 0===e?void 0:e.title})})})}))})}),(0,p.jsx)("div",{className:l().nav__cta,children:(0,p.jsx)("button",{className:l()["nav__cta--button"],onClick:function(){v("mobile-navigation"),j(!1)},children:null!==x&&void 0!==x&&x.length?null===(n=x[(null===x||void 0===x?void 0:x.length)-1])||void 0===n?void 0:n.title:"JOIN THE MOVEMENT"})})]}):null]})}):(0,p.jsx)("div",{className:"container",children:(0,p.jsxs)("nav",{className:"".concat(l().nav," ").concat(w?l()["nav--scrolled"]:""),style:{height:w?60:80},children:[(0,p.jsx)("div",{className:l().nav__logo,children:(0,p.jsx)("a",{href:"/responsible-ai-movement/",children:(0,p.jsx)(s.Z,{src:"".concat((0,a.Z)(null!==f&&void 0!==f&&f.url?null===f||void 0===f?void 0:f.url:"/uploads/responsible_ai_movement_0319caee3a.svg")),alt:null===f||void 0===f?void 0:f.alternativeText,width:"193px",height:"48px"})})}),(0,p.jsx)("div",{className:l().nav__ul,children:(0,p.jsx)("ul",{children:null===x||void 0===x||null===(r=x.slice(0,(null===x||void 0===x?void 0:x.length)-1))||void 0===r?void 0:r.map((function(e,t){var n;return(0,p.jsx)("li",{className:N.pathname==(null===e||void 0===e?void 0:e.url)||null!==N&&void 0!==N&&N.pathname.includes("[publishers]")&&"/responsible-ai-movement/publisher-ai-guidelines"==(null===e||void 0===e?void 0:e.url)||null!==N&&void 0!==N&&null!==(n=N.pathname)&&void 0!==n&&n.includes("[guideline]")&&"/responsible-ai-movement/resources"==(null===e||void 0===e?void 0:e.url)?l().nav__active:"",children:(0,p.jsx)(o.default,{href:k(null===e||void 0===e?void 0:e.url),children:(0,p.jsx)("a",{href:k(null===e||void 0===e?void 0:e.url),children:null===e||void 0===e?void 0:e.title})})})}))})}),(0,p.jsx)("div",{className:l().nav__cta,children:(0,p.jsx)("button",{className:l()["nav__cta--button"],onClick:function(){return v("navigation")},children:null!==x&&void 0!==x&&x.length?null===(h=x[(null===x||void 0===x?void 0:x.length)-1])||void 0===h?void 0:h.title:"JOIN THE MOVEMENT"})})]})})})}},78231:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(6308),a=n(85755),s=n.n(a),o=n(25935),r=n(85893),l=(n(34155).env.API_URL,(0,i.Z)("/uploads/hero_bg_96b146c83e_14c1a2510d.webp"));function c(e){var t,n=e.pagedata,a=null!==n&&void 0!==n&&null!==(t=n.background)&&void 0!==t&&t.url?"".concat((0,i.Z)(n.background.url)):l;return(0,r.jsx)("section",{className:s().hero,style:{backgroundImage:"url(".concat(a,")")}
1,children:(0,r.jsxs)("div",{className:s().container,children:[(0,r.jsx)("span",{className:s().subtitle,"data-aos":"fade-up","data-aos-delay":"100",children:null===n||void 0===n?void 0:n.subheading}),(0,r.jsx)("h1",{"data-aos":"fade-up","data-aos-delay":"200",children:null!==n&&void 0!==n&&n.heading&&"string"===typeof n.heading?(0,o.ZP)(n.heading):(null===n||void 0===n?void 0:n.title)+" AI Guidelines"}),(null===n||void 0===n?void 0:n.lastUpdated)&&(0,r.jsxs)("p",{className:s().lastUpdated,"data-aos":"fade-up","data-aos-delay":"250",children:["Last updated: ",n.lastUpdated]}),(0,r.jsx)("div",{className:s().content,"data-aos":"fade-up","data-aos-delay":"300",children:null!==n&&void 0!==n&&n.description&&"string"===typeof n.description?(0,o.ZP)(n.description):""})]})})}},58356:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return O}});var i=n(92809),a=n(79056),s=n(30266),o=n(97131),r=n(809),l=n.n(r),c=n(67294),d=n(65706),u=n(53637),p=n(39886),h=n(46660),m=n(29801),f=n(12174),g=n.n(f),v=(n(88620),n(45984),n(25935)),x=n(78231),_=n(24728),b=n(86703),y=n(85893);function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function w(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return N(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,r=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){r=!0,s=e},f:function(){try{o||null==n.return||n.return()}finally{if(r)throw s}}}}function N(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var k=function(e){var t=e.title,n=e.items,i=e.isOpen,a=e.onToggle,s=e.selectedItems,r=e.onSelectionChange,l=e.allowCustom,u=void 0!==l&&l,p=e.customItems,h=void 0===p?[]:p,m=e.onAddCustom,f=(0,c.useState)(""),v=f[0],x=f[1],_=(0,c.useState)(!1),b=_[0],j=_[1],C=function(e){s.includes(e)?r(s.filter((function(t){return t!==e}))):r([].concat((0,o.Z)(s),[e]))},w=s.length===n.length+h.length&&n.length+h.length>0,N=function(){var e=v.trim();if(!e)return x(""),void j(!1);if(m){var t=[].concat((0,o.Z)(n),(0,o.Z)(h)).map((function(e){return e.toLowerCase()})),i=e.toLowerCase();if(t.includes(i))return alert('"'.concat(e,'" already exists. Please enter a different section name.')),void x("");m(e),r&&!s.includes(e)&&r([].concat((0,o.Z)(s),[e])),x(""),j(!1)}};return(0,y.jsxs)("div",{className:g().accordionSection,children:[(0,y.jsxs)("div",{className:"".concat(g().accordionHeader," ").concat(i?g().open:""),onClick:a,children:[(0,y.jsxs)("div",{style:{display:"flex",alignItems:"flex-start",gap:"10px"},children:[(0,y.jsx)("input",{type:"checkbox",checked:w,onChange:function(e){e.stopPropagation();var t=[].concat((0,o.Z)(n),(0,o.Z)(h));s.length===t.length?r([]):r(t)},onClick:function(e){return e.stopPropagation()},style:{width:"18px",height:"18px",cursor:"pointer",marginTop:"2px",flexShrink:0}}),(0,y.jsxs)("span",{style:{display:"flex",alignItems:"baseline",flexWrap:"wrap",gap:"6px",lineHeight:"1.4"},children:[t,(0,y.jsxs)("small",{style:{color:"#1d1d1d",fontSize:"10px",fontWeight:"400",whiteSpace:"nowrap"},children:["(",s.length,"/",n.length+h.length," Selected)"]})]})]}),(0,y.jsx)("div",{style:{transform:i?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.2s",display:"flex"},children:(0,y.jsx)("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,y.jsx)("path",{d:"M1 1L5 5L9 1",stroke:"#333333",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),(0,y.jsx)(d.Z,{isOpen:i,children:(0,y.jsx)("div",{className:g().accordionContent,children:(0,y.jsxs)("div",{className:g().checkboxGrid,children:[n.map((function(e,t){return(0,y.jsxs)("div",{className:g().checkboxItem,onClick:function(){return C(e)},children:[(0,y.jsx)("input",{type:"checkbox",checked:s.includes(e),readOnly:!0}),(0,y.jsx)("label",{style:{marginBottom:"-2px",cursor:"pointer"},children:e})]},t)})),h.map((function(e,t){return(0,y.jsxs)("div",{className:g().checkboxItem,onClick:function(){return C(e)},children:[(0,y.jsx)("input",{type:"checkbox",checked:s.includes(e),readOnly:!0}),(0,y.jsx)("label",{style:{marginBottom:"-2px",cursor:"pointer"},children:e})]},"custom-".concat(t))})),u&&b&&(0,y.jsxs)("div",{className:g().checkboxItem,style:{border:"none",padding:0},children:[(0,y.jsx)("input",{type:"checkbox",checked:!1,readOnly:!0,style:{cursor:"default"}}
1),(0,y.jsx)("input",{type:"text",value:v,onChange:function(e){return x(e.target.value)},onKeyPress:function(e){"Enter"===e.key&&N()},onBlur:N,placeholder:"start typing",autoFocus:!0,style:{border:"none",outline:"none",fontSize:"14px",color:"#1d1d1d",padding:0,flex:1,fontFamily:"Poppins",fontWeight:"400",lineHeight:"1.5",background:"transparent"},onClick:function(e){return e.stopPropagation()}})]}),u&&(0,y.jsx)("div",{className:g().checkboxItem,style:{border:"none",padding:0},children:(0,y.jsx)("button",{onClick:b?N:function(){j(!0)},style:{background:"none",border:"none",color:"#0000FF",fontSize:"12px",fontWeight:"400",cursor:"pointer",padding:0,fontFamily:"Poppins"},children:"+ Add More Section"})})]})})})]})},S=(0,c.forwardRef)((function(e,t){var n=e.predefinedTools,i=void 0===n?[]:n,a=e.selectedTools,s=void 0===a?[]:a,r=e.onSelectionChange,l=e.maxSelections,d=(e.placeholder,e.className),u=void 0===d?"":d,p=e.showHeader,h=void 0===p||p,m=e.style,f=void 0===m?{}:m,v=(0,c.useState)(s),x=v[0],_=v[1],b=(0,c.useState)([]),j=b[0],C=b[1],w=(0,c.useState)(!1),N=w[0],k=w[1],S=(0,c.useState)(""),T=S[0],I=S[1],A=(0,c.useRef)(!1);(0,c.useEffect)((function(){Array.isArray(s)&&_(s)}),[s]);var P=(0,c.useCallback)((function(e){if(r&&"function"===typeof r){var t=[];Array.isArray(e)&&(t=e.filter((function(e){return e&&"string"===typeof e})).map((function(e){return e.trim()})).filter((function(e){return e.length>0}))),r(t)}}),[r]),B=(0,c.useCallback)((function(e){_(e),P(e)}),[P]),O=(0,c.useCallback)((function(){return x.filter((function(e){return e&&"string"===typeof e})).map((function(e){return e.trim()})).filter((function(e){return e.length>0}))}),[x]),E=(0,c.useCallback)((function(e){Array.isArray(e)&&B(e)}),[B]),F=(0,c.useCallback)((function(){B([])}),[B]),D=(0,c.useCallback)((function(e){return x.includes(e)}),[x]);(0,c.useImperativeHandle)(t,(function(){return{getCurrentSelection:O,setSelection:E,clearSelection:F,isToolSelected:D,getCustomTools:function(){return(0,o.Z)(j)},getAllTools:function(){return[].concat((0,o.Z)(i),(0,o.Z)(j))}}}),[O,E,F,D,j,i]);var Z=(0,c.useCallback)((function(e){C(e)}),[]),L=(0,c.useCallback)((function(e){var t;if(x.includes(e))t=x.filter((function(t){return t!==e}));else{if(l&&x.length>=l)return;t=[].concat((0,o.Z)(x),[e])}B(t)}),[x,l,B]),H=(0,c.useCallback)((function(){if(!A.current){var e=T.trim();if(!e)return I(""),void k(!1);if(A.current=!0,i.map((function(e){return e.toLowerCase()})).includes(e.toLowerCase()))return alert('"'.concat(e,'" already exists. Please enter a different tool name.')),I(""),void(A.current=!1);if(j.map((function(e){return e.toLowerCase()})).includes(e.toLowerCase()))return alert('"'.concat(e,'" already exists. Please enter a different tool name.')),I(""),void(A.current=!1);var t=[].concat((0,o.Z)(j),[e]);Z(t);var n=[].concat((0,o.Z)(x),[e]);B(n),I(""),k(!1),setTimeout((function(){A.current=!1}),200)}}),[T,i,j,Z,x,B]),M=(0,c.useCallback)((function(e){"Enter"===e.key?H():"Escape"===e.key&&(I(""),k(!1))}),[H]),R=(0,c.useCallback)((function(e,t){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),L(t))}),[L]),z=(0,c.useCallback)((function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),k(!0))}),[]);return(0,y.jsxs)("div",{className:"".concat(g().ait_container," ").concat(u),style:f,role:"group","aria-labelledby":"ai-tools-question","aria-describedby":"ai-tools-instructions",children:[h&&(0,y.jsxs)("div",{className:g().ait_headerSection,children:[(0,y.jsx)("h3",{id:"ai-tools-question",className:g().ait_questionText,children:"Which AI tools did you use?"}),(0,y.jsxs)("p",{id:"ai-tools-instructions",className:g().ait_instructionText,children:["Select all AI tools utilized in your research process. Click ",(0,y.jsx)("strong",{children:'"+ Add Other"'})," if your tool is not listed. Use Tab to navigate between tools, Enter or Space to select/deselect."]})]}),(0,y.jsxs)("div",{className:g().ait_grid,role:"group","aria-label":"AI tools selection",children:[i.map((function(e,t){return(0,y.jsx)("button",{className:"".concat(g().ait_toolChip," ").concat(x.includes(e)?g().ait_selected:""),onMouseDown:function(t){if(N&&T.trim()){var n=T.trim(),a=i.map((function(e){return e.toLowerCase()})),s=j.map((function(e){return e.toLowerCase()}));if(a.includes(n.toLowerCase())||s.includes(n.toLowerCase()))L(e);
1else{var r=[].concat((0,o.Z)(j),[n]);Z(r);var l=(0,o.Z)(x);l.includes(n)||l.push(n),l.includes(e)||l.push(e),B(l),I(""),k(!1)}}else L(e)},onClick:function(e){return e.preventDefault()},onKeyDown:function(t){return R(t,e)},"aria-pressed":x.includes(e),"aria-label":"".concat(e).concat(x.includes(e)?", selected":", not selected"),type:"button",tabIndex:0,children:(0,y.jsx)("span",{className:g().ait_toolName,children:e})},t)})),j.map((function(e,t){return(0,y.jsx)("button",{className:"".concat(g().ait_toolChip," ").concat(x.includes(e)?g().ait_selected:""),onMouseDown:function(t){if(N&&T.trim()){var n=T.trim(),a=i.map((function(e){return e.toLowerCase()})),s=j.map((function(e){return e.toLowerCase()}));if(a.includes(n.toLowerCase())||s.includes(n.toLowerCase()))L(e);else{var r=[].concat((0,o.Z)(j),[n]);Z(r);var l=(0,o.Z)(x);l.includes(n)||l.push(n),l.includes(e)||l.push(e),B(l),I(""),k(!1)}}else L(e)},onClick:function(e){return e.preventDefault()},onKeyDown:function(t){return R(t,e)},"aria-pressed":x.includes(e),"aria-label":"".concat(e,", custom tool").concat(x.includes(e)?", selected":", not selected"),type:"button",tabIndex:0,children:(0,y.jsx)("span",{className:g().ait_toolName,children:e})},"custom-".concat(t))})),N&&(0,y.jsx)("input",{type:"text",className:g().ait_customInput,placeholder:"start typing",value:T,onChange:function(e){return I(e.target.value)},onKeyDown:M,onBlur:H,"aria-label":"Enter name of custom AI tool","aria-describedby":"custom-input-help",autoFocus:!0,tabIndex:0}),(0,y.jsxs)("button",{className:g().ait_addOtherButton,onClick:function(){k(!0)},onKeyDown:z,"aria-label":"Add custom AI tool not listed",type:"button",tabIndex:0,children:[(0,y.jsx)("span",{style:{fontSize:"1.2rem",marginRight:"4px",lineHeight:.8},children:"+"})," Add Other Tools"]}),N&&(0,y.jsx)("div",{id:"custom-input-help",className:g().ait_srOnly,"aria-live":"polite",children:"Press Enter to add the custom tool, or Escape to cancel"})]}),(0,y.jsx)("div",{className:g().ait_srOnly,"aria-live":"polite","aria-atomic":"true",role:"status",children:x.length>0?"".concat(x.length," AI tool").concat(1===x.length?"":"s"," selected: ").concat(x.join(", ")):"No AI tools selected"})]})})),T=["GPT-5.2","GPT-5.1","GPT-5","GPT-4o","o3","o3-mini","GPT-4o mini","Claude Sonnet 4.5","Claude Opus 4.1","Claude Sonnet 4","Claude Haiku 4.5","Gemini 3 Pro","Gemini 3 Deep Think","Gemini 2.5 Pro","Gemini 2.5 Flash","Grok 3","Grok Mini","Perplexity Pro","Microsoft Copilot","Llama 4","DeepSeek R1","DeepSeek V3","Mistral Large","Qwen"],I={"GPT-5.2":"OpenAI","GPT-5.1":"OpenAI","GPT-5":"OpenAI","GPT-4o":"OpenAI",o3:"OpenAI","o3-mini":"OpenAI","GPT-4o mini":"OpenAI","Claude Sonnet 4.5":"Anthropic","Claude Opus 4.1":"Anthropic","Claude Sonnet 4":"Anthropic","Claude Haiku 4.5":"Anthropic","Gemini 3 Pro":"Google","Gemini 3 Deep Think":"Google","Gemini 2.5 Pro":"Google","Gemini 2.5 Flash":"Google","Grok 3":"xAI","Grok Mini":"xAI","Perplexity Pro":"Perplexity AI","Microsoft Copilot":"Microsoft","Llama 4":"Meta","DeepSeek R1":"DeepSeek","DeepSeek V3":"DeepSeek","Mistral Large":"Mistral AI",Qwen:"Alibaba"},A={"Language & Writing":{tasks:["Improving grammar and language","Paraphrasing and rewording","Writing manuscript sections","Writing abstracts","Summarizing content","Adjusting tone and style","Translating text","Formatting citations and references"]},"Research & Literature":{tasks:["Searching for relevant papers","Summarizing research articles","Organizing and categorizing literature","Identifying research gaps","Writing literature review sections"]},"Data & Visualization":{tasks:["Cleaning and preparing data","Analyzing data","Interpreting statistical results","Creating figures and charts","Preparing tables","Checking data for errors"]},"Research Planning & Methods":{tasks:["Generating research ideas","Formulating research questions","Designing research methodology","Assessing feasibility","Selecting analytical approaches"]},"Code & Automation":{tasks:["Writing or generating code","Debugging and improving code","Automating repetitive tasks","Creating analysis scripts"]},"Review & Compliance":{tasks:["Checking manuscript quality","Responding to reviewer comments","Checking for potential bias","Ensuring ethical compliance","Preparing submission materials"]}},P={"Front Matter":["Title Page","Abstract","Keywords"],"Main Text":["Introduction","Methods","Results","Discussion","Conclusion","Literature Review"],"Other Sections":["Acknowledgments","References","Appendices","Supplementary Materials","Cover Letter","Response to Reviewers"]},B=function(e){var t,r,h,f,j,N,B,O,E,F,D=e.aidsData,Z=e.layoutFooter,L=(0,c.useState)(null),H=L[0],M=L[1],R=(0,c.useState)(!1),z=R[0],G=R[1],W=(0,c.useState)([]),U=W[0],V=W[1],q=(0,c.useState)(!1),Y=q[0],X=q[1],J=(0,c.useState)(!1),K=J[0],Q=J[1],$=(0,c.useState)(!1),ee=$[0],te=$[1],ne=(0,c.useState)(!1),ie=ne[0],ae=ne[1],se=(0,c.useState)(""),oe=se[0],re=se[1],le=(0,c.useState)(""),ce=le[0],de=le[1],ue=(0,c.useState)(!1),pe=ue[0],he=ue[1],me=(0,c.useState)(!1),fe=(me[0],me[1]),ge=(0,c.useState)({authorName:"",manuscriptTitle:"",behalfName:"",behalfEmail:"",behalfRole:"Co-Author",selectedCategories:{},selectedSections:{}}),ve=ge[0],xe=ge[1],_e=""!==ve.authorName.trim()&&""!==ve.manuscriptTitle.trim()&&U.length>0&&Object.values(ve.selectedCategories||{}).some((function(e){return e&&e.length>0}
1))&&!0,be=(0,c.useState)({confirm1:!1,confirm2:!1}),ye=be[0],je=be[1],Ce=(0,c.useState)({authorName:!1,manuscriptTitle:!1,selectedTools:!1,selectedCategories:!1,confirm1:!1,confirm2:!1}),we=Ce[0],Ne=Ce[1],ke=(0,c.useState)(!1),Se=ke[0],Te=ke[1],Ie=_e&&ye.confirm1&&ye.confirm2,Ae=(0,c.useState)("Language & Writing"),Pe=Ae[0],Be=Ae[1],Oe=(0,c.useState)("Frontmatter"),Ee=Oe[0],Fe=Oe[1],De=(0,c.useState)([]),Ze=De[0],Le=De[1],He=(0,c.useState)(""),Me=(He[0],He[1],(0,c.useState)(null));Me[0],Me[1],(0,c.useState)(b)[0];(0,c.useEffect)((function(){Se&&Ie&&Te(!1)}),[Ie,Se]);var Re=D,ze=function(){xe({authorName:"",manuscriptTitle:"",behalfName:"",behalfEmail:"",behalfRole:"Co-Author",selectedCategories:{},selectedSections:{}}),M(null),V([]),je({confirm1:!1,confirm2:!1}),de(""),G(!1),Le([]),Be("Language & Writing"),Fe("Frontmatter")},Ge=function(){U.length>0&&U.join(", ");var e=Object.keys(ve.selectedCategories).filter((function(e){var t;return(null===(t=ve.selectedCategories[e])||void 0===t?void 0:t.length)>0})).map((function(e){var t=ve.selectedCategories[e]||[];return"".concat(e," (").concat(t.join(", "),")")})),t="single"===H?{subject:"I",subjectLower:"I"}:{subject:"We",subjectLower:"we"},n="";if(n+="single"===H?"I, ".concat(ve.authorName||"[Author Name]",", confirm that "):"We, on behalf of all authors, confirm that ",1===U.length)n+="".concat(U[0]," was");else if(2===U.length)n+="".concat(U[0]," and ").concat(U[1]," were");else if(U.length>2){var i=U[U.length-1],a=U.slice(0,-1).join(", ");n+="".concat(a,", and ").concat(i," were")}else n+="AI tools were";return n+=" used to assist with research and manuscript preparation.\n\n",e.length>0&&(n+="These tools were used for assistance in ".concat(e.join("; "),".\n\n")),n+="".concat(t.subject," confirm that ").concat(t.subjectLower," had full oversight of all assisted work and confirm the validity of the related sections in the submission. ").concat(t.subject," confirm that AI tools are not listed as authors.\n\n"),z&&ve.behalfName?n+="Submitted by: ".concat(ve.behalfName):n+="Submitted by: ".concat(ve.authorName||"[Author Name]"),n},We=function(){var e=(0,s.Z)(l().mark((function e(){var t,i,r,c,d,u,p,h,m,f,g,v,x,_,b,y,j,C,N,k,S,T,A,P,B,O,E,F,D,Z,L,M,R,G,W,V,q,Y,J,K,Q,$,ee,te,ne,ie,se,oe,le,de,ue,pe,me,ge,xe,_e,be,ye,je,Ce,we,Ne,ke,Se,Te,Ie;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=ce.split(",").map((function(e){return e.trim()})).filter((function(e){return e})),i=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,r=t.filter((function(e){return!i.test(e)})),0!==t.length){e.next=6;break}return alert("Please enter at least one valid email address"),e.abrupt("return");case 6:if(!(r.length>0)){e.next=9;break}return alert("Invalid email address(es): ".concat(r.join(", "))),e.abrupt("return");case 9:if(ve.authorName&&ve.manuscriptTitle){e.next=12;break}return alert("Please fill in Author Name and Manuscript Title before sending the report"),e.abrupt("return");case 12:return he(!0),e.prev=13,e.next=16,Promise.all([n.e(7847),n.e(3412)]).then(n.bind(n,91819));case 16:return c=e.sent.default,d=new c({orientation:"p",unit:"mm",format:"a4",compress:!0}),u=210,p=297,m=h="helvetica",f=function(){var e=(0,s.Z)(l().mark((function e(t){var n,i,a,s,r;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(t);case 2:if((n=e.sent).ok){e.next=5;break}throw new Error("Failed to load PDF font: ".concat(t));case 5:return e.next=7,n.arrayBuffer();case 7:for(i=e.sent,a="",s=new Uint8Array(i),32768,r=0;r<s.length;r+=32768)a+=String.fromCharCode.apply(String,(0,o.Z)(s.subarray(r,r+32768)));return e.abrupt("return",btoa(a));case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),e.prev=23,e.next=26,Promise.all([f("/pwa-fonts/Poppins-Regular.ttf"),f("/pwa-fonts/Poppins-SemiBold.ttf")]);case 26:g=e.sent,v=(0,a.Z)(g,2),x=v[0],_=v[1],d.addFileToVFS("Poppins-Regular.ttf",x),d.addFont("Poppins-Regular.ttf","Poppins","normal"),d.addFileToVFS("Poppins-SemiBold.ttf",_),d.addFont("Poppins-SemiBold.ttf","Poppins","bold"),m="Poppins",e.next=40;break;case 37:e.prev=37,e.t0=e.catch(23),m=h;case 40:b=null,y=4.4;
1try{(j=document.querySelector('img[alt="enago"]'))&&j.naturalWidth>0&&(4,(C=document.createElement("canvas")).width=4*j.naturalWidth,C.height=4*j.naturalHeight,(N=C.getContext("2d")).scale(4,4),N.drawImage(j,0,0),b=C.toDataURL("image/png"),y=j.naturalWidth/j.naturalHeight)}catch(Ae){}if(k=function(e,t){var n=u,i=10.6,a=p-i;e.setFontSize(10),e.setTextColor(0,0,0),e.setLineHeightFactor(1.3);var s="Disclaimer: ",o=u/595*434,r=a-3.7,l=e.splitTextToSize("Disclaimer: This document has been generated using Enago's technology, based on inputs from the author. Enago is not responsible for the authenticity of this declaration made by the author.",o),c=4.5864,d=r-(l.length-1)*c;l.forEach((function(t,i){var a=d+i*c,o=10*e.getStringUnitWidth(t)/e.internal.scaleFactor,r=(n-o)/2;if(0===i&&t.startsWith("Disclaimer:")){e.setFont(void 0,"bold"),e.text(s,r,a);var l=10*e.getStringUnitWidth(s)/e.internal.scaleFactor,u=t.substring(s.length);e.setFont(void 0,"normal"),e.text(u,r+l,a)}else e.setFont(void 0,"normal"),e.text(t,r,a)})),e.setFillColor(255,245,245),e.rect(0,a,n,i,"F"),e.setFontSize(9),e.setTextColor(0,0,0);var h=a+6.8,m=b?5*y:22,f="Powered by",g="Supporting Research Integrity Worldwide",v=9*e.getStringUnitWidth(f)/e.internal.scaleFactor,x=m,_=9*e.getStringUnitWidth("|")/e.internal.scaleFactor,j=9*e.getStringUnitWidth(g)/e.internal.scaleFactor,C=(n-(v+3+x+3+_+3+j))/2;e.text(f,C,h),C+=v+3,b?e.addImage(b,"PNG",C,a+4.1,m,5):e.text(":enago",C,h),C+=x+3,e.text("|",C,h-.2),C+=_+3,e.text(g,C,h);var w=a+2.0999999999999996;e.setFillColor(209,0,0),e.rect(n-7.8-7,w,7.8,8.5,"F"),e.setTextColor(255,255,255),e.setFontSize(12),e.text(String(t),n-7-3.9,h,{align:"center"})},S=Object.keys(ve.selectedCategories).filter((function(e){var t;return(null===(t=ve.selectedCategories[e])||void 0===t?void 0:t.length)>0})),T=S.map((function(e){var t=ve.selectedCategories[e]||[];return"".concat(e," (").concat(t.join(", "),")")})),A=U.length>0?U.join(", "):"No tools selected",P=new Date,B=P.getDate(),O=P.toLocaleString("default",{month:"long"}),E=P.getFullYear(),F="".concat(function(e){var t=["th","st","nd","rd"],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])}(B)," ").concat(O,", ").concat(E),495,15,D=function(e){return e*(u/495)},L=u-2*(Z=u/495*15),M=p-31,8,R=1,G=8,W=function(e){G+e<=M||(k(d,R),d.addPage(),R+=1,G=8)},V=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"normal",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:11.5,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[17,17,17];d.setFont(m,e),d.setFontSize(t),d.setTextColor.apply(d,(0,o.Z)(n))},q=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:11.5,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5;return V("normal",n),d.splitTextToSize(e||"-",t).length*i},Y=function(e,t,n,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},s=a.fontSize,o=void 0===s?11.5:s,r=a.lineHeight,l=void 0===r?5:r,c=a.style,u=void 0===c?"normal":c,p=a.color,h=void 0===p?[17,17,17]:p,m=a.maxY,f=void 0===m?M:m,g=a.allowPageBreak,v=void 0===g||g;V(u,o,h);
1var x,_=d.splitTextToSize(e||"-",i),b=n,y=w(_);try{for(y.s();!(x=y.n()).done;){var j=x.value;if(b+l>f){if(!v)return G=b,b;k(d,R),d.addPage(),R+=1,b=15}d.text(j,t,b),b+=l}}catch(C){y.e(C)}finally{y.f()}return G=b,b},J=function(e,t,n,i){var a,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=s.fontSize,r=void 0===o?11.5:o,l=s.lineHeight,c=void 0===l?5:l,u=s.color,p=void 0===u?[17,17,17]:u,h=s.maxY,m=void 0===h?M:h,f=s.allowPageBreak,g=void 0===f||f,v=(V("normal",r,p),d.getTextWidth(" ")),x=t,_=n,b=function(){if(x=t,(_+=c)+c>m){if(!g)return!1;k(d,R),d.addPage(),R+=1,_=15}return!0},y=w(e);try{for(y.s();!(a=y.n()).done;){var j,C=a.value,N=C.text,S=C.style,T=void 0===S?"normal":S,I=String(N||"").split(/(\s+)/).filter(Boolean),A=w(I);try{for(A.s();!(j=A.n()).done;){var P=j.value;V(T,r,p);var B=/^\s+$/.test(P)?v:d.getTextWidth(P);if(!/^\s+$/.test(P)&&x>t&&x+B>t+i&&!b())return G=_;if(_+c>m&&!g)return G=_;/^\s+$/.test(P)||d.text(P,x,_),x+=B}}catch(O){A.e(O)}finally{A.f()}}}catch(O){y.e(O)}finally{y.f()}return G=_+c},K=function(e,t,n,i){d.setFillColor(246,243,255),d.rect(t,n,i,15,"F"),d.setDrawColor(235,235,235),d.rect(t,n,i,15,"S"),V("bold",16),d.text(e,t+6,n+9.8)},Q=function(){var e=[{text:"I, "},{text:ve.authorName||"[Author Name]",style:"bold"},{text:", confirm that ".concat(A," ").concat(1===U.length?"was":"were"," used with research and preparation of this manuscript.")}],t=(e.map((function(e){return e.text})).join(""),D(11.5*1.6)),n=D(9),i=D(11.5*1.6),a=D(9),s=[T.length>0?"These AI tools were used for assistance in ".concat(T.join("; "),"."):"Tool usage categories were not specified.","I had full oversight of all assisted work, and have personally checked the validity of all content. I can also confirm that AI tools have not been listed as authors.","Digitally signed by\n".concat(ve.authorName||"[Author Name]")],o=L-12,r=D(330);W(r);var l=G,c=l+r-D(18);d.setFillColor(249,249,249),d.roundedRect(Z,l,L,r,1.4,1.4,"F");var u=l+9;u=J(e,Z+6,u,o,{fontSize:11.5,lineHeight:t,color:[17,17,17],maxY:c,allowPageBreak:!1})+n,s.forEach((function(e){u=Y(e,Z+6,u,o,{fontSize:11.5,lineHeight:i,color:[17,17,17],maxY:c,allowPageBreak:!1})+a})),G=l+r+D(10)},$=function(){var e=[["Paper Title",ve.manuscriptTitle||"-"],["Primary Author",ve.authorName||"-"]],t=55,n=e.map((function(e){var n=(0,a.Z)(e,2)[1];return Math.max(15,q(n,L-t-12,12,5)+8)})),i=15+n.reduce((function(e,t){return e+t}),0);W(i+5),K("Manuscript Details",Z,G,L),G+=15,e.forEach((function(e,i){var s=(0,a.Z)(e,2),o=s[0],r=s[1],l=n[i],c=G;d.setDrawColor(235,235,235),d.rect(Z,c,t,l,"S"),d.rect(Z+t,c,L-t,l,"S"),V("bold",11.5),d.text(o,Z+6,c+9),Y(r,Z+t+6,c+9,L-t-12,{fontSize:12,lineHeight:5,color:[51,51,51]}),G=c+l})),G+=5},ee=function(){W(40),K("AI Tools Used",Z,G,L),G+=15;var e=60,t=L-e,n=S.length>0?S:["No categories specified."],i=n.map((function(e){var n="No categories specified."===e?e:"Used for ".concat(e," (").concat((ve.selectedCategories[e]||[]).join(", "),")");return Math.max(18,q(n,t-12,12,5)+8)})),a=q(A,48,12,5)+8,s=G,o=Math.max(a,i.reduce((function(e,t){return e+t}),0));W(Math.min(o,M-G)),d.setDrawColor(235,235,235),d.rect(Z,s,e,o,"S"),Y(A,Z+6,s+9,48,{fontSize:12,lineHeight:5,style:"bold"}),G=s,n.forEach((function(n,a){var s="No categories specified."===n?[{text:n}]:[{text:"Used for "},{text:n,style:"bold"},{text:" (".concat((ve.selectedCategories[n]||[]).join(", "),")")}],o=i[a];W(o);var r=G;d.setDrawColor(235,235,235),d.rect(Z+e,r,t,o,"S"),J(s,Z+e+6,r+9,t-12,{fontSize:12,lineHeight:5,color:[51,51,51]}),G=r+o}))},function(){for(var e=[243,232,255],t=[252,231,243],n=D(10),i=function(n){var i=n/63,a=e.map((function(e,n){return Math.round(e+(t[n]-e)*i)})),s=Z+L/64*n;d.setFillColor.apply(d,(0,o.Z)(a)),d.rect(s,G,L/64+.2,42,"F")},a=0;a<64;a+=1)i(a);d.setDrawColor(243,232,255),d.roundedRect(Z,G,L,42,n,n,"S"),V("bold",28),d.text("AI Assistance Disclosure Report",u/2,G+18,{align:"center"}),V("normal",14,[0,0,0]),d.text("Generated on ".concat(F),u/2,G+29,{align:"center"}),G+=48}(),Q(),$(),k(d,R),d.addPage(),R+=1,G=8,ee(),k(d,R),te=d.output("datauristring").split(",")[1],ne=(te.length/1024/1024).toFixed(2),!(te.length>20971520)){e.next=85;break}throw new Error("PDF is too large (".concat(ne," MB). Please reduce the number of tools or sections selected."));case 85:return ie=Ge(),e.next=88,fetch("/api/ai-disclosure/send-report",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({userEmail:t,pdfData:te,formData:{authorName:ve.authorName,manuscriptTitle:ve.manuscriptTitle,authorship:"single"===H?"Single Author":"multiple"===H?"Multiple Authors":"Not specified",tools:U,behalfName:ve.behalfName,behalfEmail:ve.behalfEmail,behalfRole:ve.behalfRole,disclosureStatement:ie,selectedCategories:ve.selectedCategories}})});case 88:return se=e.sent,e.prev=89,e.next=92,se.json();case 92:oe=e.sent,e.next=98;break;case 95:throw e.prev=95,e.t1=e.catch(89),new Error("Server returned an invali
1d response. Please try again or contact support.");case 98:if(!se.ok){e.next=121;break}return X(!1),re(t.join(", ")),ae(!0),he(!1),fe(!1),e.prev=104,Ce=ve.selectedCategories||{},we=ve.selectedSections||{},Ne={input:{data:{primary_authour_name:ve.authorName,manuscript_title:ve.manuscriptTitle,authorship_type:"single"===H?"SingleAuthor":"multiple"===H?"MultipleAuthor":null,ai_tools:U.join(", "),provider:U.map((function(e){return I[e]||"Unknown"})).join(", "),language_writing:(null===(le=Ce["Language & Writing"])||void 0===le?void 0:le.join(", "))||null,research_literature:(null===(de=Ce["Research & Literature"])||void 0===de?void 0:de.join(", "))||null,data_visualization:(null===(ue=Ce["Data & Visualization"])||void 0===ue?void 0:ue.join(", "))||null,research_planning_methods:(null===(pe=Ce["Research Planning & Methods"])||void 0===pe?void 0:pe.join(", "))||null,code_automation:(null===(me=Ce["Code & Automation"])||void 0===me?void 0:me.join(", "))||null,review_compliance:(null===(ge=Ce["Review & Compliance"])||void 0===ge?void 0:ge.join(", "))||null,fronmatter_section:(null===(xe=we.Frontmatter)||void 0===xe?void 0:xe.join(", "))||null,main_text_sections:(null===(_e=we["Main Text"])||void 0===_e?void 0:_e.join(", "))||null,other_sections:(null===(be=we["Other Sections"])||void 0===be?void 0:be.join(", "))||null,generating_on_behalf:!!z,representative_name:ve.behalfName||null,representative_email:ve.behalfEmail||null,representative_role:ve.behalfRole||null,client_email:t.join(", ")||null}}},e.next=110,fetch("/api/forms/ai-disclosure",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(Ne)});case 110:return ke=e.sent,e.next=113,ke.json();case 113:Se=e.sent,null!==(ye=Se.createAiDisclosure)&&void 0!==ye&&null!==(je=ye.aiDisclosure)&&void 0!==je&&je.id,e.next=119;break;case 117:e.prev=117,e.t2=e.catch(104);case 119:e.next=123;break;case 121:throw Te=oe.details||oe.error||"Failed to send email",new Error(Te);case 123:e.next=130;break;case 125:e.prev=125,e.t3=e.catch(13),Ie=(Ie=e.t3.message).includes("PDF is too large")?"".concat(Ie,"\n\nTip: Try selecting fewer AI tools or reducing the report content."):Ie.includes("Server returned an invalid response")?"".concat(Ie,"\n\nThe server may be experiencing issues."):"Failed to send report: ".concat(Ie,"\n\nPlease try again or contact support."),alert(Ie);case 130:return e.prev=130,he(!1),e.finish(130);case 133:case"end":return e.stop()}}),e,null,[[13,125,130,133],[23,37],[89,95],[104,117]])})));return function(){return e.apply(this,arguments)}}();return(0,y.jsx)("main",{className:g().homePage,children:(0,y.jsxs)("div",{className:g().pageContainer,children:[(0,y.jsx)(m.default,{title:(null===Re||void 0===Re||null===(t=Re.seo)||void 0===t?void 0:t.metatitle)||"AI Disclosure Statement Generator - Responsible AI",description:(null===Re||void 0===Re||null===(r=Re.seo)||void 0===r?void 0:r.metadescription)||"AI disclosure statement generator helps you create clear and compliant AI disclosure statements instantly, ensuring transparency, trust, and responsible AI use",keyword:(null===Re||void 0===Re||null===(h=Re.seo)||void 0===h?void 0:h.metakeyword)||"AI Disclosure",noIndex:void 0===(null===Re||void 0===Re||null===(f=Re.seo)||void 0===f?void 0:f.noindex)||Re.seo.noindex,noFollow:void 0===(null===Re||void 0===Re||null===(j=Re.seo)||void 0===j?void 0:j.nofollow)||Re.seo.nofollow,seoSchema:null===Re||void 0===Re||null===(N=Re.seo)||void 0===N?void 0:N.schemaentry,seo:null===Re||void 0===Re?void 0:Re.seo,ogImageAlt:null===Re||void 0===Re||null===(B=Re.seo)||void 0===B||null===(O=B.ogimage)||void 0===O?void 0:O.alternativeText}),(0,y.jsx)(x.Z,{pagedata:null===Re||void 0===Re?void 0:Re.banner}),(0,y.jsxs)(u.Z,{children:[(0,y.jsx)(p.Z,{className:g().mainCard,children:(0,y.jsxs)("div",{className:g().innerCard,children:[null!==Re&&void 0!==Re&&Re.alert1?(0,y.jsxs)("div",{className:g().alertBox,style:{borderRadius:0},children:[(0,y.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,y.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM13 17H11V11H13V17ZM13 9H11V7H13V9Z",fill:"#C64747"})}),(0,v.ZP)(Re.alert1)]}):(0,y.jsxs)("div",{className:g().alertBox,style:{borderRadius:0},children:[(0,y.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,y.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM13 17H11V11H13V17ZM13 9H11V7H13V9Z",fill:"#C64747"})}),"The accuracy of your disclosure depends on the information you provide. Please be thorough and honest in your responses."]}),(0,y.jsxs)("div",{children:[(0,y.jsx)("div",{className:g().sectionHeader,style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:(0,y.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"15p
1x"},children:[(0,y.jsx)("div",{className:g().stepNumber,children:"1"}),(0,y.jsx)("h2",{children:"Author Details"})]})}),(0,y.jsx)(d.Z,{isOpen:!0,children:(0,y.jsxs)("div",{style:{padding:0},children:[(0,y.jsxs)("div",{className:g().gridRow,children:[(0,y.jsxs)("div",{className:"".concat(g().gridLabelCol," ").concat(g().noBorderMobile),children:[(0,y.jsxs)("h3",{children:["Primary Author",(0,y.jsx)("span",{className:g().required,children:"*"})]}),(0,y.jsx)("div",{className:g().description,children:"The person submitting the manuscript"})]}),(0,y.jsxs)("div",{className:g().gridInputCol,children:[(0,y.jsx)("div",{className:g().inputGroup,children:(0,y.jsx)("input",{id:"authorName-input",type:"text",placeholder:"Hiraku Tanaka",value:ve.authorName,onChange:function(e){xe(C(C({},ve),{},{authorName:e.target.value})),""!==e.target.value.trim()&&Ne((function(e){return C(C({},e),{},{authorName:!1})}))},className:we.authorName?g().inputError:""})}),we.authorName&&(0,y.jsx)("div",{className:g().errorText,children:"Please enter this required field"})]})]}),(0,y.jsxs)("div",{className:g().gridRow,children:[(0,y.jsx)("div",{className:"".concat(g().gridLabelCol," ").concat(g().noBorderMobile),children:(0,y.jsx)("h3",{children:"Authorship"})}),(0,y.jsx)("div",{className:g().gridInputCol,children:(0,y.jsxs)("div",{className:g().toggleButtons,children:[(0,y.jsxs)("div",{className:"".concat(g().toggleBtn," ").concat("single"===H?g().active:""),onClick:function(){return M("single")},children:[(0,y.jsx)("input",{type:"radio",checked:"single"===H,onChange:function(){return M("single")},style:{width:"16px",height:"16px",cursor:"pointer"}}),(0,y.jsxs)("span",{children:["Single ",(0,y.jsx)("br",{className:g().responsiveBreak})," Author"]})]}),(0,y.jsxs)("div",{className:"".concat(g().toggleBtn," ").concat("multiple"===H?g().active:""),onClick:function(){return M("multiple")},children:[(0,y.jsx)("input",{type:"radio",checked:"multiple"===H,onChange:function(){return M("multiple")},style:{width:"16px",height:"16px",cursor:"pointer"}}),(0,y.jsxs)("span",{children:["Multiple ",(0,y.jsx)("br",{className:g().responsiveBreak})," Authors"]})]})]})})]}),(0,y.jsxs)("div",{className:g().gridRow,children:[(0,y.jsx)("div",{className:"".concat(g().gridLabelCol," ").concat(g().noBorderMobile),children:(0,y.jsxs)("h3",{children:["Manuscript Title",(0,y.jsx)("span",{className:g().required,children:"*"})]})}),(0,y.jsxs)("div",{className:g().gridInputCol,children:[(0,y.jsx)("div",{className:g().inputGroup,children:(0,y.jsx)("input",{id:"manuscriptTitle-input",type:"text",placeholder:"Original Article Title",value:ve.manuscriptTitle,onChange:function(e){xe(C(C({},ve),{},{manuscriptTitle:e.target.value})),""!==e.target.value.trim()&&Ne((function(e){return C(C({},e),{},{manuscriptTitle:!1})}))},className:we.manuscriptTitle?g().inputError:""})}),we.manuscriptTitle&&(0,y.jsx)("div",{className:g().errorText,children:"Please enter this required field"})]})]})]})})]}),(0,y.jsxs)("div",{children:[(0,y.jsx)("div",{className:g().sectionHeader,style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:(0,y.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"15px"},children:[(0,y.jsx)("div",{className:g().stepNumber,children:"2"}),(0,y.jsx)("h2",{children:"Which AI tools did you use?"})]})}),(0,y.jsx)(d.Z,{isOpen:!0,children:(0,y.jsx)("div",{style:{padding:0},children:(0,y.jsxs)("div",{className:g().gridRow,children:[(0,y.jsxs)("div",{className:g().gridLabelCol,children:[(0,y.jsxs)("h3",{children:["AI Tools",(0,y.jsx)("span",{className:g().required,children:"*"})]}),(0,y.jsxs)("div",{className:g().description,children:["Select all the AI tools you used.",(0,y.jsx)("br",{}),'Add unlisted tools using "+ Add Other Tool".']})]}),(0,y.jsx)("div",{className:g().gridInputCol,children:(0,y.jsxs)("div",{id:"aiTools-section",className:"".concat(g().aiToolsWrapper," ").concat(we.selectedTools?g().sectionError:""),children:[(0,y.jsx)(S,{predefinedTools:T,selectedTools:U,onSelectionChange:function(e){V(e),e.length>0&&Ne((function(e){return C(C({},e),{},{selectedTools:!1})}))},showHeader:!1,style:{padding:0,border:"none",marginBottom:0}}),we.selectedTools&&(0,y.jsx)("div",{className:g().errorText,style:{marginTop:"10px"},children:"Please select at least one AI tool"})]})})]})})})]}),(0,y.jsxs)("div",{children:[(0,y.jsx)("div",{className:g().sectionHeader,style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:(0,y.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"15p
1x"},children:[(0,y.jsx)("div",{className:g().stepNumber,children:"3"}),(0,y.jsx)("h2",{children:"What did AI help you with?"})]})}),(0,y.jsx)(d.Z,{isOpen:!0,children:(0,y.jsx)("div",{style:{padding:0},children:(0,y.jsxs)("div",{className:g().gridRow,children:[(0,y.jsxs)("div",{className:g().gridLabelCol,children:[(0,y.jsxs)("h3",{children:["Categories",(0,y.jsx)("span",{className:g().required,children:"*"})]}),(0,y.jsx)("div",{className:g().description,children:"Click any category to expand and choose specific tasks."})]}),(0,y.jsx)("div",{className:g().gridInputCol,children:(0,y.jsxs)("div",{id:"categories-section",className:"".concat(we.selectedCategories?g().sectionError:""),children:[Object.entries(A).map((function(e){var t=(0,a.Z)(e,2),n=t[0],s=t[1];return(0,y.jsx)(k,{title:n,items:s.tasks,isOpen:Pe===n,onToggle:function(){return Be(Pe===n?null:n)},selectedItems:ve.selectedCategories[n]||[],onSelectionChange:function(e){xe((function(t){var a=C(C({},t.selectedCategories),{},(0,i.Z)({},n,e));return Object.values(a).some((function(e){return e&&e.length>0}))&&Ne((function(e){return C(C({},e),{},{selectedCategories:!1})})),C(C({},t),{},{selectedCategories:a})}))}},n)})),we.selectedCategories&&(0,y.jsx)("div",{className:g().errorText,style:{marginTop:"10px"},children:"Please select at least one category"})]})})]})})})]}),(0,y.jsxs)("div",{children:[(0,y.jsx)("div",{className:g().sectionHeader,style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:(0,y.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"15px"},children:[(0,y.jsx)("div",{className:g().stepNumber,children:"4"}),(0,y.jsx)("h2",{children:"Which parts of your manuscript?"})]})}),(0,y.jsx)(d.Z,{isOpen:!0,children:(0,y.jsx)("div",{style:{padding:0},children:(0,y.jsxs)("div",{className:g().gridRow,children:[(0,y.jsxs)("div",{className:g().gridLabelCol,children:[(0,y.jsx)("h3",{children:"Specify Manuscript Sections"}),(0,y.jsxs)("div",{className:g().description,children:["Select all sections where AI was used.",(0,y.jsx)("br",{})," This is optional but provides additional clarity."]})]}),(0,y.jsx)("div",{className:g().gridInputCol,children:Object.entries(P).map((function(e){var t=(0,a.Z)(e,2),n=t[0],s=t[1];return(0,y.jsx)(k,{title:n,items:s,isOpen:Ee===n,onToggle:function(){return Fe(Ee===n?null:n)},selectedItems:ve.selectedSections[n]||[],onSelectionChange:function(e){return xe((function(t){return C(C({},t),{},{selectedSections:C(C({},t.selectedSections),{},(0,i.Z)({},n,e))})}))},allowCustom:"Other Sections"===n,customItems:"Other Sections"===n?Ze:[],onAddCustom:"Other Sections"===n?function(e){Le((function(t){return t.map((function(e){return e.toLowerCase()})).includes(e.toLowerCase())?t:[].concat((0,o.Z)(t),[e])}))}:void 0},"".concat(n,"-").concat("Other Sections"===n?Ze.length:""))}))})]})})})]}),(0,y.jsxs)("div",{children:[(0,y.jsx)("div",{className:g().sectionHeader,style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:(0,y.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"15px"},children:[(0,y.jsx)("div",{className:g().stepNumber,children:"5"}),(0,y.jsx)("h2",{children:"Statement of Responsibility"})]})}),(0,y.jsx)(d.Z,{isOpen:!0,children:(0,y.jsxs)("div",{style:{padding:0},children:[(null===Re||void 0===Re?void 0:Re.alert2)&&(0,y.jsxs)("div",{className:g().alertBox,style:{margin:"20px 10px 25px 10px",borderRadius:0},children:[(0,y.jsx)("svg",{width:"17",height:"17",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,y.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM13 17H11V11H13V17ZM13 9H11V7H13V9Z",fill:"#C64747"})}),(0,v.ZP)(Re.alert2)]}),(0,y.jsxs)("div",{className:"".concat(g().confirmationBox," ").concat(we.confirm1?g().sectionError:""),children:[(0,y.jsx)("input",{type:"checkbox",id:"confirm1-checkbox",checked:ye.confirm1,onChange:function(e){je((function(t){return C(C({},t),{},{confirm1:e.target.checked})})),e.target.checked&&Ne((function(e){return C(C({},e),{},{confirm1:!1})}))}}),(0,y.jsxs)("div",{style:{flex:1},children:[(0,y.jsxs)("label",{htmlFor:"confirm1-checkbox",children:[(null===Re||void 0===Re?void 0:Re.statement1)||"I confirm that the details provided for disclosure generation are accurate.",(0,y.jsx)("span",{className:g().required,
1children:"*"})]}),we.confirm1&&(0,y.jsx)("div",{className:g().errorText,style:{marginTop:"5px"},children:"Please confirm this required field"})]})]}),(0,y.jsxs)("div",{className:"".concat(g().confirmationBox," ").concat(we.confirm2?g().sectionError:""),children:[(0,y.jsx)("input",{type:"checkbox",id:"confirm2-checkbox",checked:ye.confirm2,onChange:function(e){je((function(t){return C(C({},t),{},{confirm2:e.target.checked})})),e.target.checked&&Ne((function(e){return C(C({},e),{},{confirm2:!1})}))}}),(0,y.jsxs)("div",{style:{flex:1},children:[(0,y.jsxs)("label",{htmlFor:"confirm2-checkbox",children:[(null===Re||void 0===Re?void 0:Re.statement2)||"The authors confirm that all AI assistance was performed under human supervision, take full responsibility for the content of the manuscript being submitted, and confirm that no AI tools are listed as authors.",(0,y.jsx)("span",{className:g().required,children:"*"})]}),we.confirm2&&(0,y.jsx)("div",{className:g().errorText,style:{marginTop:"5px"},children:"Please confirm this required field"})]})]})]})})]}),(0,y.jsxs)("div",{children:[(0,y.jsx)("div",{className:g().sectionHeader,style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:(0,y.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"15px"},children:[(0,y.jsx)("div",{className:g().stepNumber,children:"6"}),(0,y.jsx)("h2",{children:"Get Your AI Disclosure"})]})}),(0,y.jsx)(d.Z,{isOpen:!0,children:(0,y.jsx)("div",{className:g().formSection,children:(0,y.jsxs)("div",{className:g().finalActionSection,children:[(0,y.jsxs)("h2",{className:g().finalActionText,children:["Your AI Disclosure Statement will\xa0be sent to you"," ",(0,y.jsx)("br",{className:g().mobileHiddenBreak}),"via email and the report as an attached PDF."]}),Se&&(0,y.jsx)("div",{className:g().errorMessage,children:"Error! Some fields are not filled"}),(0,y.jsx)("button",{className:g().sendReportBtn,onClick:function(){var e=function(){var e={authorName:!1,manuscriptTitle:!1,selectedTools:!1,selectedCategories:!1,confirm1:!1,confirm2:!1},t=null;return""===ve.authorName.trim()&&(e.authorName=!0,t||(t="authorName-input")),""===ve.manuscriptTitle.trim()&&(e.manuscriptTitle=!0,t||(t="manuscriptTitle-input")),0===U.length&&(e.selectedTools=!0,t||(t="aiTools-section")),Object.values(ve.selectedCategories||{}).some((function(e){return e&&e.length>0}))||(e.selectedCategories=!0,t||(t="categories-section")),ye.confirm1||(e.confirm1=!0,t||(t="confirm1-checkbox")),ye.confirm2||(e.confirm2=!0,t||(t="confirm2-checkbox")),Ne(e),{isValid:!Object.values(e).some((function(e){return!0===e})),firstMissingField:t}}();e.isValid?(Te(!1),X(!0),fe(!1),he(!1)):(Te(!0),e.firstMissingField&&function(e){var t=document.getElementById(e);t&&(t.scrollIntoView({behavior:"smooth",block:"center"}),"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName||setTimeout((function(){return t.focus()}),300))}(e.firstMissingField))},title:Ie?"":"Please fill in all mandatory fields (Author, Manuscript, AI Tools, Categories, Confirmations) to proceed.",children:"Get Report"}),(0,y.jsxs)("div",{className:g().sampleLinks,children:[(0,y.jsx)("a",{href:"#",onClick:function(e){e.preventDefault(),Q(!0)},style:{cursor:"pointer"},children:"View a sample AI disclosure statement"}),(0,y.jsx)("a",{href:"#",onClick:function(e){e.preventDefault(),te(!0)},children:"View a sample report"})]})]})})})]})]})}),Y&&(0,y.jsx)("div",{className:g().modalOverlay,onClick:function(){X(!1),fe(!1),he(!1),de("")},children:(0,y.jsxs)("div",{className:g().modalContent,onClick:function(e){return e.stopPropagation()},children:[(0,y.jsxs)("div",{className:g().modalHeaderWhite,children:[(0,y.jsx)("h2",{className:g().modalTitleDark,children:"Enter Your Email"}),(0,y.jsx)("button",{className:g().modalCloseBtnDark,onClick:function(){X(!1),fe(!1),he(!1),de("")},"aria-label":"Close",children:"\u2715"})]}),(0,y.jsxs)("div",{className:g().modalBody,children:[(0,y.jsx)("p",{className:g().modalDe
1scription,children:"Your AI Disclosure Statement report will be sent to you via email as a PDF."}),(0,y.jsxs)("div",{className:g().emailInputGroup,children:[(0,y.jsxs)("label",{htmlFor:"reportEmail",className:g().emailLabel,children:["Email Address",(0,y.jsx)("span",{className:g().required,children:"*"})]}),(0,y.jsx)("input",{type:"email",id:"reportEmail",className:g().emailInput,placeholder:"e.g. [email protected], [email protected]",value:ce,onChange:function(e){return de(e.target.value)},onKeyPress:function(e){return"Enter"===e.key&&We()}})]})]}),(0,y.jsxs)("div",{className:g().modalFooter,children:[(0,y.jsx)("button",{className:g().modalCancelBtn,onClick:function(){X(!1),fe(!1),he(!1),de("")},children:"Cancel"}),(0,y.jsx)("button",{className:g().modalSendBtn,onClick:We,disabled:pe,children:pe?"Sending...":"Send Report"})]})]})}),ie&&(0,y.jsx)("div",{className:g().modalOverlay,onClick:function(){ae(!1),ze()},children:(0,y.jsxs)("div",{className:g().modalContent,style:{maxWidth:"364px",width:"90%"},onClick:function(e){return e.stopPropagation()},children:[(0,y.jsxs)("div",{className:g().modalHeader,style:{background:"#fafafa"},children:[(0,y.jsx)("h2",{className:g().modalTitleDark,children:"Email Sent"}),(0,y.jsx)("button",{className:g().modalCloseBtnDark,onClick:function(){ae(!1),ze()},"aria-label":"Close",children:"\u2715"})]}),(0,y.jsxs)("div",{className:g().modalBody,children:[(0,y.jsx)("p",{style:{color:"#666",fontSize:"12px",lineHeight:"20px",margin:"0",fontFamily:"Poppins, sans-serif",fontWeight:"400"},children:"Your AI Disclosure report has been sent to"}),(0,y.jsx)("p",{style:{fontWeight:"600",color:"#333",fontSize:"12px",lineHeight:"20px",margin:"0 0 15px 0",fontFamily:"Poppins, sans-serif",wordBreak:"break-word"},children:oe}),(0,y.jsx)("p",{style:{color:"#666",fontSize:"12px",lineHeight:"20px",margin:"0",fontFamily:"Poppins, sans-serif",fontWeight:"400"},children:"If you don't see it in your inbox, please check your spam or promotions folder."})]})]})}),K&&(0,y.jsx)("div",{className:g().modalOverlay,onClick:function(){return Q(!1)},children:(0,y.jsxs)("div",{className:g().modalContent,onClick:function(e){return e.stopPropagation()},children:[(0,y.jsxs)("div",{className:g().modalHeaderLight,children:[(0,y.jsx)("h2",{className:g().modalTitleDark,children:"Sample AI Declaration"}),(0,y.jsx)("button",{className:g().modalCloseBtnDark,onClick:function(){return Q(!1)},"aria-label":"Close",children:"\u2715"})]}),(0,y.jsxs)("div",{className:g().modalBody,children:[(0,y.jsx)("p",{style:{fontSize:"15px",color:"#333",fontFamily:"Poppins, sans-serif",marginBottom:"20px"},children:"Here's an example of what your AI Assistance Disclosure statement will look like:"}),(0,y.jsxs)("div",{style:{border:"1px solid #dfe1e5",borderRadius:"8px",padding:"24px",backgroundColor:"#fff",color:"#333"},children:[(0,y.jsx)("p",{className:g().sampleText,style:{marginBottom:"20px"},children:"I, Dr. Haruki Tanaka, confirm that Claude Sonnet 4.5 and Perplexity Pro were used to assist with research and manuscript preparation."}),(0,y.jsx)("p",{className:g().sampleText,style:{marginBottom:"20px"},children:"These tools were used for assistance in Research & Literature (searching for relevant papers, organizing and categorizing literature); Language & Writing (improving grammar and language, adjusting tone and style); Data & Visualization (creating figures and charts)."}),(0,y.jsx)("p",{className:g().sampleText,style:{marginBottom:"20px"},children:"I confirm that I had full oversight of all assisted work and confirm the validity of the related sections in the submission. I confirm that AI tools are not listed as authors."}),(0,y.jsx)("p",{className:g().sampleText,style:{marginBottom:0},children:"Submitted by: Dr. Haruki Tanaka"})]})]})]})}),ee&&(0,y.jsx)("div",{className:g().modalOverlay,onClick:function(){return te(!1)},children:(0,y.jsxs)("div",{className:g().modalContent,onClick:function(e){return e.stopPropagation()},style:{maxWidth:"650px",width:"95%",maxHeight:"calc(100vh - 40px)",display:"flex",flexDirection:"column",overflow:"hidden"},children:[(0,y.jsxs)("div",{className:g().modalHeader,children:[(0,y.jsx)("h2",{className:g().modalTitle,children:"Sample Report Preview"}),(0,y.jsx)("button",{className:g().modalCloseBtn,onClick:function(){return te(!1)},"aria-label":"Close",children:"\u2715"})]}),(0,y.jsx)("div",{className:g().modalBody,style:{padding:"20px",overflowY:"auto",overflowX:"hidden",flex:1,WebkitOverflowScrolling:"touch",backgroundColor:"#ffffff"},children:(0,y.jsx)("div",{dangerouslySetInnerHTML:{__html:function(){var e="John Doe",t={"Language & Writing":["Improving grammar and language","Paraphrasing and rewording"],"Research & Literature":["Searching for relevant papers","Summarizing research articles"]},n=["GPT-4","Claude"].join(", "),i=Object.keys(t),a=i.map((function(e){var n=t[e]||[];return"".concat(e," (").concat(n.join(", "),")")}
1)),s=new Date,o=s.getDate(),r=s.toLocaleString("default",{month:"long"}),l=s.getFullYear(),c="".concat(function(e){var t=["th","st","nd","rd"],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])}(o)," ").concat(r,", ").concat(l),d='\n \x3c!-- Header --\x3e\n <div class="report-header page-section" style="background: linear-gradient(90deg, #F3E8FF 0%, #FCE7F3 100%); border-radius: 4px; padding: 20px 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;">\n <h1 style="margin: 0 0 10px 0; font-family: \'Poppins\', sans-serif; font-weight: 500; font-size: 28px; line-height: 1.2; color: #111;">AI Assistance Disclosure Report</h1>\n <div style="font-size: 14px; color: #000; font-family: \'Poppins\', sans-serif;">Generated on '.concat(c,'</div>\n </div>\n\n \x3c!-- AI Assistance Disclosure Section --\x3e\n <div class="page-section" style="background: #F9F9F9; border-radius: 4px; overflow: hidden; padding: 18px; display: flex; flex-direction: column;">\n <p style="font-family: \'Poppins\', sans-serif; font-weight: 400; font-size: 11.5px; line-height: 18px; letter-spacing: 0; color: #111; margin-top: 0; margin-bottom: 9px;">\n I, <span style="font-weight: 500;">').concat(e,"</span>, confirm that ").concat(n," were used with\n research and preparation of this manuscript.\n </p>\n\n <p style=\"font-family: 'Poppins', sans-serif; font-weight: 400; font-size: 11.5px; line-height: 18px; letter-spacing: 0; color: #111; margin-bottom: 9px;\">\n These AI tools were used for assistance in ").concat(a.join("; "),".\n </p>\n\n <p style=\"font-family: 'Poppins', sans-serif; font-weight: 400; font-size: 11.5px; line-height: 18px; letter-spacing: 0; color: #111; margin-bottom: 9px;\">\n I had full oversight of all assisted work, and have personally checked the validity of all content. I can also confirm that AI tools have not been listed as authors.\n </p>\n\n <div style=\"font-family: 'Poppins', sans-serif; font-weight: 400; font-size: 11.5px; line-height: 18px; letter-spacing: 0; color: #111;\">\n Digitally signed by<br/>\n ").concat(e,'\n </div>\n </div>\n\n \x3c!-- Manuscript Details Section --\x3e\n <div class="page-section" style="background: #ffffff; border-radius: 4px; border: 1px solid #EBEBEB; overflow: hidden; display: flex; flex-direction: column;">\n <div style="background: #F6F3FF; padding: 12px 18px; border-bottom: 1px solid #EBEBEB; min-height: 42px; box-sizing: border-box; display: flex; align-items: center;">\n <h2 style="color: #111; font-size: 16px; margin: 0; font-weight: 500; font-family: \'Poppins\', sans-serif; line-height: 1;">Manuscript Details</h2>\n </div>\n <div class="manuscript-row" style="display: flex; min-height: 42px; border-bottom: 1px solid #EBEBEB; box-sizing: border-box;">\n <div class="manuscript-label" style="width: 170px; flex-shrink: 0; background: #ffffff; padding: 12px 18px; border-right: 1px solid #EBEBEB; display: flex; align-items: flex-start; color: #111; font-weight: 500; font-size: 11.5px; line-height: 18px;">Paper Title</div>\n <div class="manuscript-value" style="flex-grow: 1; background: #ffffff; padding: 12px 18px; display: flex; align-items: center; color: #333; font-weight: 400; font-size: 12px; line-height: 18px;">').concat("Exploring the Impact of AI on Scientific Research",'</div>\n </div>\n <div class="manuscript-row" style="display: flex; min-height: 42px; box-sizing: border-box;">\n <div class="manuscript-label" style="width: 170px; flex-shrink: 0; background: #ffffff; padding: 12px 18px; border-right: 1px solid #EBEBEB; display: flex; align-items: flex-start; color: #111; font-weight: 500; font-size: 11.5px; line-height: 18px;">
1Primary Author</div>\n <div class="manuscript-value" style="flex-grow: 1; background: #ffffff; padding: 12px 18px; display: flex; align-items: center; color: #333; font-weight: 400; font-size: 12px; line-height: 18px;">').concat(e,"</div>\n </div>\n </div>\n "),u='\n \x3c!-- AI Tools Used Section (Page 2) --\x3e\n <div class="page-section" style="background: #ffffff; border-radius: 4px; border: 1px solid #EBEBEB; overflow: hidden; display: flex; flex-direction: column;">\n <div style="background: #F6F3FF; padding: 12px 18px; border-bottom: 1px solid #EBEBEB; min-height: 42px; box-sizing: border-box; display: flex; align-items: center;">\n <h2 style="color: #111; font-size: 16px; margin: 0; font-weight: 500; font-family: \'Poppins\', sans-serif; line-height: 1;">AI Tools Used</h2>\n </div>\n <div class="tools-container" style="display: flex; flex-direction: row; box-sizing: border-box;">\n \x3c!-- Left Column: Tools List --\x3e\n <div class="tools-left-col" style="width: 170px; flex-shrink: 0; background: #ffffff; padding: 18px; border-right: 1px solid #EBEBEB; color: #111; font-weight: 500; font-size: 12px; line-height: 18px;">\n '.concat(n,'\n </div>\n \n \x3c!-- Right Column: Categories & Tasks --\x3e\n <div class="tools-right-col" style="flex-grow: 1; display: flex; flex-direction: column;">\n ').concat(i.map((function(e,n){var a=t[e]||[],s=n===i.length-1;return'\n <div style="padding: 18px; border-bottom: '.concat(s?"none":"1px solid #EBEBEB",'; color: #333; font-size: 12px; line-height: 18px;">\n Used for <span style="font-weight: 500;">').concat(e,"</span> (").concat(a.join(", "),")\n </div>\n ")})).join(""),"\n </div>\n </div>\n </div>\n ");return'\n <div class="report-preview-bg">\n '.concat("\n <style>\n @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');\n * { font-family: 'Poppins', sans-serif !important; }\n \n .report-preview-bg {\n background-color: #525659;\n padding: 30px;\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 30px;\n }\n\n .report-page {\n background: white;\n width: 100%;\n max-width: 555px;\n padding: 40px;\n box-shadow: 0 4px 15px rgba(0,0,0,0.2);\n box-sizing: border-box;\n position: relative;\n min-height: 785px;\n display: flex;\n flex-direction: column;\n }\n \n .page-content {\n flex: 1;\n }\n\n .page-section {\n width: 100%; \n box-sizing: border-box; \n margin-bottom: 15px;\n }\n \n /* Responsive Styles */\n @media only screen and (max-width: 768px) {\n .report-preview-bg {\n padding: 10px;\n gap: 15px;\n }\n \n .report-page {\n padding: 15px !important;\n min-height: auto !important;\n max-width: 100% !important;\n }\n \n .page-section {\n margin-bottom: 20px !important;\n }\n \n .report-header {\n padding: 20px 10px !important;\n }\n .report-header h1 {\n font-size: 22px !important;\n }\n \n .manuscript-row {\n flex-direction: column !important;\n min-height: auto !important;\n }\n .manuscript-label {\n width: 100% !important;
1\n border-right: none !important;\n border-bottom: 1px solid #EBEBEB !important;\n background: #FAFAFA !important;\n padding: 10px 15px !important;\n }\n .manuscript-value {\n padding: 10px 15px !important;\n }\n \n .tools-container {\n flex-direction: column !important;\n }\n .tools-left-col {\n width: 100% !important;\n border-right: none !important;\n border-bottom: 1px solid #EBEBEB !important;\n padding: 15px !important;\n }\n .tools-right-col {\n padding: 0 !important;\n }\n\n .footer-bar {\n flex-direction: column !important;\n height: auto !important;\n padding: 10px !important;\n gap: 5px !important;\n }\n .footer-line-1 {\n margin-bottom: 2px;\n }\n .footer-pipe {\n display: none !important;\n }\n }\n </style>\n ",'\n \n \x3c!-- Page 1 --\x3e\n <div class="report-page">\n <div class="page-content">\n ').concat(d,"\n </div>\n ").concat("",'\n </div>\n\n \x3c!-- Page 2 --\x3e\n <div class="report-page">\n <div class="page-content">\n ').concat(u,"\n </div>\n ").concat("","\n </div>\n </div>\n ")}()},style:{width:"100%",maxWidth:"100%",transform:"scale(1)",transformOrigin:"top center",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",textRendering:"optimizeLegibility",backfaceVisibility:"hidden"}})})]})})]}),(null===Re||void 0===Re||null===(E=Re.responsiblefooter)||void 0===E?void 0:E.show)&&(0,y.jsx)(_.Z,{pagedata:null===Re||void 0===Re?void 0:Re.responsiblefooter,footerLinks:null===Z||void 0===Z||null===(F=Z.footer)||void 0===F?void 0:F.footer_column1})]})})};B.getLayout=function(e){return(0,y.jsx)(h.Z,{hideDefaultHeader:!1,children:e})};var O=!0;t.default=B},48653:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/ai-disclosure-statement-generator",function(){return n(58356)}])},38340:function(e){e.exports={"nav-container":"nav_nav-container__2nDEZ",nav:"nav_nav__3JwV9","nav--scrolled":"nav_nav--scrolled__1MweA","nav__cta--button":"nav_nav__cta--button__3q7iA",nav__logo:"nav_nav__logo__3FDtl",nav__ul:"nav_nav__ul__cOyeX",nav__cta:"nav_nav__cta__HH8e-","nav-mobile":"nav_nav-mobile__RvoDB","nav-mobile--scrolled":"nav_nav-mobile--scrolled__2xed7","nav-mobile__items":"nav_nav-mobile__items__1CtWh","nav-mobile__items--ul":"nav_nav-mobile__items--ul__33E03","nav-mobile__items--close":"nav_nav-mobile__items--close__3Ftlk",nav__active:"nav_nav__active__3Zcss"}},85755:function(e){e.exports={hero:"Hero2_hero__3BqxT",container:"Hero2_container__3EFUB",lastUpdated:"Hero2_lastUpdated__3cDaj",subtitle:"Hero2_subtitle__2_z58",content:"Hero2_content__18OXt"}},12174:function(e){e.exports={pageContainer:"ai-assistance-disclosure_pageContainer__3eOmO",headerSectionWrapper:"ai-assistance-disclosure_headerSectionWrapper__q0olc",headerSection:"ai-assistance-disclosure_headerSection__2L33u",titleGroup:"ai-assistance-disclosure_titleGroup__2cSjn",highlight:"ai-assistance-disclosure_highlight__15gDs",subtitle:"ai-assistance-disclosure_subtitle__2mCXd",infoGroup:"ai-assistance-disclosure_infoGroup__3Z_30",infoText:"ai-assistance-disclosure_infoText__2QCjw",statsGroup:"ai-assistance-disclosure_statsGroup__UPidW",statItem:"ai-assistance-disclosure_statItem__oHEAD",mainCard:"ai-assistance-disclosure_mainCard__dtCJB",innerCard:"ai-assistance-disclosure_innerCard__32Cjv",alertBox:"ai-assistance-disclosure_alertBox__2svWB",sectionHeader:"ai-assistance-disclosure_sectionHeader__M7pIF",stepNumber:"ai-assistance-disclosure_stepNumber__252Gu",closed:"ai-assistance-disclosure_closed__2heCB",formSection:"ai-assistance-disclosure_formSection__3qjNK",formRow:"ai-assistance-disclosure_formRow__3vizZ",gridRow:"ai-assistance-disclosure_gridRow__3SP6z",gridLabelCol:"ai-assistance-disclosure_gridLabelCol__3tIFG",noBorderMobile:"ai-assistance-disclosure_noBorderMobile__UL94_",description:"ai-assistance-disclosure_description__bqE-G",required:"ai-assistance-disclosure_required__3BAHL",gridInputCol:"ai-assistance-disclosure_gridInputCol__4OSi-",inputGroup:"ai-assistance-disclosure_inputGroup__3yRFA",inputLabel:"ai-assistance-disclosure_inputLabel__1adVv",fieldContent:"ai-assistance-disclosure_fieldContent__1JJG2",helperText:"ai-assistance-disclosure_helperText__1g72O",responsiveBreak:"ai-assistance-disclosure_responsiveBreak__3XAnO",mobileHiddenBreak:"ai-assistance-disclosure_mobileHiddenBreak__2nEOV",toggleButtons:"ai-assistance-disclosure_toggleButtons__2j2dH",toggleBtn:"ai-assistance-disclosure_toggleBtn__38BvQ",active:"ai-assistance-disclosure_active__2_osy",checkboxSquare:"ai-assistance-disclosure_checkboxSquare__1R_We",checked:"ai-assistance-disclosure_checked__B7wVI",expandableSection:"ai-assistance-disclosure_expandableSection__pSSdL",expandHeader:"ai-assistance-disclosure_expandHeader__2wtao",aiToolsGrid:"ai-assistance-disclosure_aiToolsGrid__2wh4D",aiToolChip:"ai-assistance-disclosure_aiToolChip__3ua9i",selected:"ai-assistance-disclosure_selected__3Czda",accordionSection:"ai-assistance-disclosure_accordionSection__4Ay-G",accordionHeader:"ai-assistance-disclosure_accordionHeader__2vTrC",open:"ai-assistance-disclosure_open__1X90j",accordionContent:"ai-assistance-disclosure_accordionContent__hq9G3",checkboxGrid:"ai-assistance-disclosure_checkboxGrid__26Nxy",checkboxItem:"ai-assistance-disclosure_checkboxItem__3nVId",sectionSplit:"ai-assistance-disclosure_sectionSplit__2Qt9z",leftSidebar:"ai-assistance-disclosure_leftSidebar__OF3Mc",rightContent:"ai-assistance-disclosure_rightContent__3ld3Z",confirmationBox:"ai-assistance-disclosure_confirmationBox__9wbXR",finalActionSection:"ai-assistance-disclosure_finalActionSection__3aB7w",finalActionTitle:"ai-assistance-disclosure_finalActionTitle__2ilCr",finalActionText:"ai-assistance-disclosure_finalActionText__3lROp",sampleLinks:"ai-assistance-disclosure_sampleLinks__VN-NL",sendReportBtn:"ai-assistance-disclosure_sendReportBtn__1t4y0",formFooter:"ai-assistance-disclosure_formFooter__2MHJX",modalOverlay:"ai-assistance-disclosure_modalOverlay__1Zryj",fadeIn:"ai-assistance-disclosure_fadeIn__RP5R5",modalContent:"ai-assistance-disclosure_modalContent__3ZSuE",slideUp:"ai-assistance-disclosure_slideUp__3ZsDo",modalHeader:"ai-assistance-disclosure_modalHeader__keZUL",modalTitle:"ai-assistance-disclosure_modalTitle__37sFX",modalCloseBtn:"ai-assistance-disclosure_modalCloseBtn__AG137",modalCloseBtnPink:"ai-assistance-disclosure_modalCloseBtnPink__1hf4C",modalBody:"ai-assistance-disclosure_modalBody__3eOy_",modalDescription:"ai-assistance-disclosure_modalDe
1scription__tU649",emailInputGroup:"ai-assistance-disclosure_emailInputGroup__2ABSY",emailLabel:"ai-assistance-disclosure_emailLabel__1fzGt",emailInput:"ai-assistance-disclosure_emailInput__dbr6h",modalFooter:"ai-assistance-disclosure_modalFooter__15inU",modalCancelBtn:"ai-assistance-disclosure_modalCancelBtn__1XvL9",modalSendBtn:"ai-assistance-disclosure_modalSendBtn__1Jy_h",modalHeaderLight:"ai-assistance-disclosure_modalHeaderLight__39Es4",modalTitleDark:"ai-assistance-disclosure_modalTitleDark__qzm_9",modalCloseBtnDark:"ai-assistance-disclosure_modalCloseBtnDark__dM1zn",modalHeaderWhite:"ai-assistance-disclosure_modalHeaderWhite__2OcOg",sampleText:"ai-assistance-disclosure_sampleText__2yhtv",ait_container:"ai-assistance-disclosure_ait_container__3GxTI",ait_headerSection:"ai-assistance-disclosure_ait_headerSection__1v13K",ait_questionText:"ai-assistance-disclosure_ait_questionText__1dlQL",ait_instructionText:"ai-assistance-disclosure_ait_instructionText__1EnA-",ait_grid:"ai-assistance-disclosure_ait_grid__1V7HK",ait_toolChip:"ai-assistance-disclosure_ait_toolChip__311UO",ait_selected:"ai-assistance-disclosure_ait_selected__Jhyek",ait_checkmark:"ai-assistance-disclosure_ait_checkmark__1KErW",ait_toolName:"ai-assistance-disclosure_ait_toolName__XoENY",ait_addOtherButton:"ai-assistance-disclosure_ait_addOtherButton__3ICXq",ait_customInput:"ai-assistance-disclosure_ait_customInput__f2pRy",ait_srOnly:"ai-assistance-disclosure_ait_srOnly__1x77C",buttonContainer:"ai-assistance-disclosure_buttonContainer__3wLZd",proceedBtn:"ai-assistance-disclosure_proceedBtn__1YGZL",footerContainer:"ai-assistance-disclosure_footerContainer__106sD",footerContent:"ai-assistance-disclosure_footerContent__1wcE1",poweredByGroup:"ai-assistance-disclosure_poweredByGroup__1DSY_",footerPipe:"ai-assistance-disclosure_footerPipe__2Zagu",supportingText:"ai-assistance-disclosure_supportingText__2mCG3",footerText:"ai-assistance-disclosure_footerText__2HWnl",errorMessage:"ai-assistance-disclosure_errorMessage__2z0c_",inputError:"ai-assistance-disclosure_inputError__3D4Uu",sectionError:"ai-assistance-disclosure_sectionError__Mm1wG",errorText:"ai-assistance-disclosure_errorText__3eJQL"}},39886:function(e,t,n){"use strict";var i=n(67294),a=n(45697),s=n.n(a),o=n(94184),r=n.n(o),l=n(22040),c=["className","cssModule","color","body","inverse","outline","tag","innerRef"];function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function u(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n,i,a={},s=Object.keys(e);for(i=0;i<s.length;i++)n=s[i],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)n=s[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var p={body:s().bool,className:s().string,color:s().string,cssModule:s().object,innerRef:s().oneOfType([s().object,s().string,s().func]),inverse:s().bool,outline:s().bool,tag:l.iC};function h(e){var t=e.className,n=e.cssModule,a=e.color,s=e.body,o=e.inverse,p=e.outline,h=e.tag,m=void 0===h?"div":h,f=e.innerRef,g=u(e,c),v=(0,l.mx)(r()(t,"card",!!o&&"text-white",!!s&&"card-body",!!a&&"".concat(p?"border":"bg","-").concat(a)),n);return i.createElement(m,d({},g,{className:v,ref:f}))}h.propTypes=p,t.Z=h},53637:function(e,t,n){"use strict";var i=n(67294),a=n(45697),s=n.n(a),o=n(94184),r=n.n(o),l=n(22040),c=["className","cssModule","fluid","tag"];function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function u(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n,i,a={},s=Object.keys(e);for(i=0;i<s.length;i++)n=s[i],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)n=s[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var p={tag:l.iC,fluid:s().oneOfType([s().bool,s().string]),className:s().string,cssModule:s().object};function h(e){var t=e.className,n=e.cssModule,a=e.fluid,s=e.tag,o=void 0===s?"div":s,p=u(e,c),h="container";!0===a?h="container-fluid":a&&(h="container-".concat(a));
1var m=(0,l.mx)(r()(t,h),n);return i.createElement(o,d({},p,{className:m}))}h.propTypes=p,t.Z=h},56586:function(e,t,n){"use strict";function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}n.d(t,{Z:function(){return i}})},32296:function(e,t,n){"use strict";function i(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return i}})},99846:function(e,t,n){"use strict";function i(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return i}})},95243:function(e,t,n){"use strict";function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return i}})},79056:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(32296);var a=n(16988),s=n(95243);function o(e,t){return(0,i.Z)(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,a,s=[],o=!0,r=!1;try{for(n=n.call(e);!(o=(i=n.next()).done)&&(s.push(i.value),!t||s.length!==t);o=!0);}catch(l){r=!0,a=l}finally{try{o||null==n.return||n.return()}finally{if(r)throw a}}return s}}(e,t)||(0,a.Z)(e,t)||(0,s.Z)()}},97131:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(56586);var a=n(99846),s=n(16988);function o(e){return function(e){if(Array.isArray(e))return(0,i.Z)(e)}(e)||(0,a.Z)(e)||(0,s.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},16988:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(56586);function a(e,t){if(e){if("string"===typeof e)return(0,i.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,i.Z)(e,t):void 0}}}},function(e){e.O(0,[6526,9669,4e3,2464,2715,36,9774,2888,179],(function(){return t=48653,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.