PageSourceSearch

https://paperpal.com/_next/static/chunks/7375.bc1b74e4d53740cb.js

js paperpal.com collected 2026-09-24 08:47:22 UTC 27,132 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6731,7375],{20695:()=>{},22034:(e,n,t)=>{"use strict";t.r(n),t.d(n,{Header:()=>eN,getComponentByStrapiId:()=>em});var r=t(80263),i=t(11059),l=t(44227),o=t(90597),a=t(16679),s=t(67106),d=t(18696),c=t(25378),u=t(76141),h=t(66008),p=t(98414),x=t(53239),g=t(50363),m=t(76370),f=t(57940),b=t(20016),v=t(71187),j=t(96025);let y=(0,a.I4)("div",{zIndex:10,overflow:"hidden",backgroundImage:"linear-gradient(to right, ".concat(a.w4.colors.blue12,", ").concat(a.w4.colors.blue12,")"),transition:"max-height 10s ease-out",variants:{hasBanner:{true:{position:"sticky",top:"0"}},isAnimation:{true:{maxHeight:"0px"},false:{minHeight:"60px"}}}}),w=(0,a.I4)("div",{width:"100%",display:"flex",margin:"0px auto",gap:"20px",alignItems:"center",justifyContent:"center",flexDirection:"row",padding:"10px 20px","@sm":{flexDirection:"column",gap:"10px"}}),I=(0,a.I4)("div",{display:"flex",alignItems:"center",gap:"20px",variants:{size:{small:{gap:"10px"}}}}),k=(0,a.I4)("div",{color:a.w4.colors.white,fontSize:"20px",lineHeight:"26px",fontWeight:"600",variants:{size:{small:{fontSize:"16px",lineHeight:"21px"}},color:{light:{color:a.w4.colors.white},dark:{color:a.w4.colors.blue12}}},mark:{background:"transparent"}}),C=(0,a.I4)("div",{display:"flex","& > a":{"@sm":{padding:"4px 9px"}}}),D=e=>{var n,t,i;let{data:l}=(0,f.Yq)({}),o=(0,x.useMemo)(()=>{var e;return null!=(e=null==l?void 0:l.Packs)?e:{}},[l]),a=(0,x.useRef)(null),{isSticky:c=!1}=e,u=Object.values(o),[h,p]=(0,x.useState)(!1);(0,x.useEffect)(()=>{let e=()=>{p(window.innerWidth<=767)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let{campaignName:g,expiryDate:D,highestDiscountPercentage:S}=(0,x.useMemo)(()=>{let e,n,t=0;return o&&u.forEach(r=>{let{offer:i,differentialPricingDiscountPercent:l=0}=r,o=0;if(i){var a;let t=null==i?void 0:i.offer_details;e=null==i||null==(a=i.data)?void 0:a.campaign_name,n=(0,j.iC)(null==i?void 0:i.end_at),t&&(o=Number(t.discount_value)||0)}let s=(0,b.h)(o,l);t=Math.max(t,s)}),{campaignName:e,expiryDate:n,highestDiscountPercentage:Math.round(t).toString()}},[o,u]),z=(0,x.useMemo)(()=>!!(l&&Object.values(null==l?void 0:l.Packs).some(e=>e.offer))||!1,[l]),F=(0,x.useMemo)(()=>!!e.title&&e.title&&(e.title.includes("{{OFFER_PERCENT}}")||e.title.includes("{{EXPIRY_DATE}}")||e.title.includes("{{OFFER_CAMPAIGN_NAME}}")),[e.title]);return((0,x.useEffect)(()=>{e.isAnimation&&(z||!F)&&setTimeout(()=>{a.current&&(a.current.style.maxHeight="500px")},500)},[F,z,e.isAnimation]),z||e.title&&!F)?(0,r.jsx)(y,{ref:a,hasBanner:c,isAnimation:e.isAnimation,css:{backgroundImage:"linear-gradient(to right, ".concat(null==e?void 0:e.bgStartColor,", ").concat(null==e?void 0:e.bgEndColor,")")},children:(0,r.jsxs)(w,{children:[(0,r.jsxs)(I,{size:{"@sm":"small"},children:[e.iconURL&&(0,r.jsx)(m.p,{src:e.iconURL,alt:null!=(i=e.altText)?i:"top banner icon",width:32,height:32,style:{width:"auto"}}),e.title&&(0,r.jsx)(k,{css:{mark:{color:e.titleMarkColor}},dangerouslySetInnerHTML:(0,v.Y)(e.title.replace("{{OFFER_CAMPAIGN_NAME}}",null!=g?g:"").replace("{{OFFER_PERCENT}}",null!=S?S:"").replace("{{EXPIRY_DATE}}",null!=D?D:"")),color:e.textColor,size:{"@sm":"small"}}),(null==(n=e.button)?void 0:n.text)&&h&&(0,r.jsx)(C,{children:(0,r.jsx)(d.$,{...e.button,color:"secondary","aria-label":e.button.text,children:(0,r.jsx)(s.I,{name:"ChevronRight",variant:"solid"})})})]}),(null==(t=e.button)?void 0:t.text)&&!h&&(0,r.jsx)(C,{children:(0,r.jsx)(d.$,{...e.button,children:e.button.text})})]})}):null},S=(0,a.I4)("div",{paddingTop:"20px",display:"flex",flexDirection:"column"}),z=(0,a.I4)("div",{padding:"0 10px","& > div":{"&:hover":{backgroundColor:"#EFF2FB",borderRadius:4}},variants:{paperpal:{true:{borderInlineStart:"4px solid #113DCD"}}}}),F=(0,a.I4)("div",{padding:"12px",width:"100%",lineHeight:"10px",cursor:"pointer"}),R=(0,a.I4)(d.$,{padding:"14px",textDecoration:"none",fontSize:"14px",fontWeight:"500",textAlign:"left"}),L=(0,a.I4)("p",{all:"unset",color:a.w4.colors.gray10,lineHeight:"20px",fontSize:"12px","> b":{fontWeight:600,lineHeight:"20px",color:a.w4.colors.gray12,fontSize:"14px",display:"block",textAlign:"left",marginBottom:"6px"}}),H=(0,a.I4)("div",{fontSize:"14px",maxWidth:"250px",paddingBottom:"25px",color:"#4B5563",lineHeight:"22px"}),B=(0,a.I4)(d.$,{borderRadius:"50px",padding:"10px 20px",justifyContent:"center",margin:"0 auto"}),E=(0,a.I4)("div",{padding:"20px 20px 30px 20px",marginTop:"10px"}),M=e=>{let{data:n}=e;return(0,r.jsxs)(S,{children:[n.links&&n.links.length>0&&n.links.map((e,n)=>(0,r.jsx)(R,{...e,children:(0,r.jsx)(z,{paperpal:null==e?void 0:e.text.includes("Paperpal"),children:(0,r.jsx)(F,{children:(0,r.jsx)(L,{dangerouslySetInnerHTML:(0,v.Y)(e.text)})})})},n)),n.description&&(0,r.jsxs)(E,{style:{backgroundColor:n.bgColor},children:[(0,r.jsx)(H,{dangerouslySetInnerHTML:(0,v.Y)(n.description)}),n.button&&(0,r.jsx)(B,{...n.button,children:n.button.text})]})]})},N=(0,a.I4)("div",{paddingRight:"20px",display:"flex",justifyContent:"flex-end",backgroundColor:"#EFF2FB",variants:{size:{small:{display:"none"}}}}),T=(0,a.I4)("div",{color:"#1F2937",fontSize:"13px",fontWeight:"600",lineHeight:"20px"}),_=(0,a.I4)("div",{color:"#374151"}),A=(0,a.I4)(d.$,{display:"flex",gap:"4px","&:hover":{"& > div":{color:"#113DCD"}}}),U=e=>{let n=e.links.length>0&&e.links.map((e,n)=>{var t;let{modal:i,...d}=e,c=null==i?void 0:i.data,u=(0,r.jsx)(l.o,{sectionName:"global header - ".concat(e.trackingName),children:(0,r.jsx)(A,{...d,children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(T,{children:[" ",e.text," "]}),c&&(0,r.jsx)(_,{children:(0,r.jsx)(s.I,{name:"caretDown",variant:"solid",width:14,height:14})})]})})}),h=null==c||null==(t=c.attributes)?void 0:t.content[0],p=em(null==h?void 0:h.__component);return(0,r.jsx)(x.Fragment,{children:c?(0,r.jsx)(o.Bc,{delayDuration:0,skipDelayDuration:0,
1children:(0,r.jsxs)(o.sb,{children:[(0,r.jsx)(o.k$,{asChild:!0,children:(0,r.jsx)("div",{onClick:e=>{e.preventDefault()},children:u})}),(0,r.jsx)(o.ZI,{onPointerDownOutside:e=>{e.preventDefault()},css:{backgroundColor:a.w4.colors.white,padding:0,boxShadow:"0px 6px 15px 2px rgba(31, 41, 55, 0.15)"},children:(0,r.jsx)(l.o,{sectionName:"global header - ".concat(e.trackingName),children:(0,r.jsx)(p,{data:h})})})]})}):u},n)});return(0,r.jsx)(N,{size:{"@sm":"small"},children:n&&n})};var W=t(16852),P=t(29525);let O=(0,a.I4)(W.Root,{position:"relative",justifyContent:"end",zIndex:1}),$=(0,a.I4)("ul",{display:"flex",margin:0,listStyle:"none",marginLeft:"-40px",variants:{mobile:{yes:{flexDirection:"column",padding:0,marginLeft:"0"}}}}),Y=(0,a.I4)("li",{padding:"20px 10px 10px 10px",variants:{backgroundColor:{blue1:{"& > div":{backgroundColor:a.w4.colors.blue4,borderRadius:"10px"}}},mobile:{yes:{borderRadius:20,padding:"10px 0px 0px 14px",width:"auto"}},size:{large:{width:"310px"}}}}),X=(0,a.I4)(P.P,{fontWeight:500,fontSize:"12px",lineHeight:"16px",textTransform:"uppercase",color:a.w4.colors.blue12,variants:{mobile:{yes:{paddingLeft:"10px"}}}}),q=(0,a.I4)("div",{padding:"15px 10px",lineHeight:"10px",cursor:"pointer",display:"flex",alignItems:"center",gap:"10px","&:hover":{backgroundColor:a.w4.colors.blue4,borderRadius:5},variants:{mobile:{yes:{padding:"10px"}}}}),G=(0,a.I4)(d.$,{textDecoration:"none",fontSize:"14px",lineHeight:"22px",fontWeight:"500",textAlign:"left"}),Z=(0,a.I4)("a",{textDecoration:"none",fontSize:"14px",lineHeight:"22px",fontWeight:"500",textAlign:"left"}),V=(0,a.I4)("p",{all:"unset",fontWeight:500,lineHeight:"21px",color:a.w4.colors.gray12,flex:"1",display:"flex",alignItems:"center",gap:"10px"}),K=(0,a.I4)("div",{padding:"10px","& > a":{color:a.w4.colors.blue12},"& > a > img":{height:"auto",width:"auto",maxWidth:"100%",borderRadius:"10px"}}),J=(0,a.I4)(P.P,{fontWeight:700,fontSize:"12px",lineHeight:"16px",textTransform:"uppercase",color:a.w4.colors.gray12,"@sm":{paddingLeft:"10px",paddingBottom:"14px"}}),Q=(0,a.I4)(m.p,{width:"100%"}),ee=(0,a.I4)(P.P,{fontSize:14,lineHeight:"22px",color:a.w4.colors.gray11,fontWeight:500}),en=(0,a.I4)(W.Root,{position:"relative",justifyContent:"end",zIndex:1}),et=(0,a.I4)("div",{height:"1px",background:a.w4.colors.gray6,width:"95%",margin:"10px auto"}),er=(0,a.I4)("div",{background:a.w4.colors.blue4,borderRadius:"4px",color:a.w4.colors.blue12,width:"32px",height:"32px",padding:"8px"}),ei=e=>{let n=e.data;return e.isMobile?(0,r.jsx)(en,{children:(0,r.jsx)($,{mobile:"yes",children:n.columns.map((e,n)=>{var t,i,l,o,a;return(0,r.jsxs)(x.Fragment,{children:[n>=1&&(0,r.jsx)(et,{}),(0,r.jsxs)(Y,{size:{"@lg":"large"},backgroundColor:e.banner&&"blue1",mobile:"yes",children:[!e.banner&&(0,r.jsxs)(r.Fragment,{children:[(null==e?void 0:e.title)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(X,{mobile:"yes",children:e.title}),(0,r.jsx)(h.h,{height:10})]}),(null==e||null==(t=e.columnLinks)?void 0:t.length)>0&&e.columnLinks.map((e,n)=>{var t;return(0,r.jsx)(Z,{href:null==e||null==(t=e.linkData)?void 0:t.href,children:(0,r.jsxs)(q,{mobile:"yes",children:[(null==e?void 0:e.leftIcon)&&(0,r.jsx)(er,{children:(0,r.jsx)(s.I,{name:null==e?void 0:e.leftIcon,variant:"regular"})}),(0,r.jsx)(V,{dangerouslySetInnerHTML:(0,v.Y)(e.linkData.text)})]})},n)})]}),e.banner&&(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(K,{children:[(null==e||null==(i=e.banner)?void 0:i.title)&&(0,r.jsx)(J,{children:e.banner.title}),e.banner.bannerImageUrl&&(e.banner.bannerImageHref?(0,r.jsx)(c.S,{href:e.banner.bannerImageHref,trackingName:e.banner.bannerImageTrackingName,children:(0,r.jsx)(Q,{src:e.banner.bannerImageUrl,alt:"sale banner image",width:250,height:220})}):(0,r.jsx)(Q,{src:e.banner.bannerImageUrl,alt:"sale banner image",width:250,height:220})),(0,r.jsx)("br",{}),(null==e||null==(l=e.banner)?void 0:l.description)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("br",{}),(0,r.jsx)(ee,{children:e.banner.description})]}),(null==(o=e.banner)?void 0:o.link)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(h.h,{height:10}),(0,r.jsx)(G,{...e.banner.link,children:null==(a=e.banner.link)?void 0:a.text})]})]})})]},n)]},n)})})}):(0,r.jsx)(O,{children:(0,r.jsx)($,{children:n.columns.map((e,n)=>{var t,i,l,o,a;return(0,r.jsxs)(Y,{size:{"@lg":"large"},backgroundColor:e.banner&&"blue1",children:[!e.banner&&(0,r.jsxs)(r.Fragment,{children:[(null==e?void 0:e.title)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(X,{children:e.title}),(0,r.jsx)(h.h,{height:10})]}),(null==e||null==(t=e.columnLinks)?void 0:t.length)>0&&e.columnLinks.map((e,n)=>{var t,i;return(0,r.jsx)(Z,{href:null==e||null==(t=e.linkData)?void 0:t.href,target:null==e||null==(i=e.linkData)?void 0:i.target,children:(0,r.jsxs)(q,{children:[(null==e?void 0:e.leftIcon)&&(0,r.jsx)(er,{children:(0,r.jsx)(s.I,{name:null==e?void 0:e.leftIcon,variant:"regular"})}),(0,r.jsx)(V,{dangerouslySetInnerHTML:(0,v.Y)(e.linkData.text)})]})},n)})]}),e.banner&&(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(K,{children:[(null==e||null==(i=e.banner)?void 0:i.title)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(J,{children:e.banner.title}),(0,r.jsx)(h.h,{height:7})]}),e.banner.bannerImageUrl&&(e.banner.bannerImageHref?(0,r.jsx)(c.S,{href:e.banner.bannerImageHref,trackingName:e.banner.bannerImageTrackingName,children:(0,r.jsx)(Q,{src:e.banner.bannerImageUrl,alt:"sale banner image",width:270,height:200,style:{height:"auto"}})}):(0,r.jsx)(Q,{src:e.banner.bannerImageUrl,alt:"sale banner image",width:270,height:200,style:{height:"auto"}})),(0,r.jsx)(h.h,{height:12}),(null==e||null==(l=e.banner)?void 0:l.description)&&(0,r.jsx)(ee,{children:e.banner.description}),(null==(o=e.banner)?void 0:o.link)&&(0,r.jsx)(G,{...e.banner.link,children:null==(a=e.banner.link)?void 0:a.text})]})})]},n)})})})};var el=t(73991);let eo={offscreen:{right:"-100%",width:"100%"},onscreen:{right:0,width:"100%"}},ea=(0,a.I4)(el.P.div,{position:"sticky",right:0,top:50,paddingRight:10,paddingBottom:40,width:"100%",height:"calc(100vh - 50px)",overflow:"scroll",background:a.w4.colors.gray1,zIndex:10,variants:{hasBanner:{true:{top:135}}}}),es=e=>(0,r.jsx)(p.N,{children:e.open&&(0,r.jsx)(ea,{transition:{default:{ease:"linear"}},variants:eo,initial:"offscreen",animate:"onscreen",exit:"offscreen",hasBanner:e.hasBanner,children:e.children},"slider")}),ed=(0,a.I4)("div",{padding:"20px",display:"flex",flexDirection:"column"}),ec=(0,a.I4)("div",{padding:"5px 10px",width:"100%",lineHeight:"10px",cursor:"pointer","&:hover":{backgroundColor:"#EFF2FB",borderRadius:4}}),eu=(0,a.I4)(d.$,{textDecoration:"none",textAlign:"left"}),eh=(0,a.I4)("p",{color:"#1F2937",lineHeight:"20px",fontWeight:500,fontSize:12,textAlign:"left"}),ep=e=>{let{data:n}=e;return(0,r.jsx)(ed,{children:n.links&&n.links.length>0&&n.links.map((e,n)=>(0,r.jsx)(eu,{...e,children:(0,r.jsx)(ec,{children:(0,r.jsx)(eh,{dangerouslySetInnerHTML:(0,v.Y)(e.text)})})},n))})}
1,ex=["modal-form.modal-form-section"],eg=e=>{var n;let{linkData:t}=e,{modal:l,...s}=t,d=null==l?void 0:l.data,[c,u]=(0,x.useState)(!1);(0,x.useEffect)(()=>{let e=()=>u(!1);return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]);let h=(0,x.useMemo)(()=>d&&ex.find(e=>{var n,t;return(null==d||null==(t=d.attributes)||null==(n=t.content[0])?void 0:n.__component)===e}),[d]),{isMobileView:p}=(0,i.m)(),m=h?(0,r.jsx)(g.y,{buttonData:t}):(0,r.jsxs)(eD,{...s,...d&&!p?{onMouseEnter:()=>u(!0),onMouseLeave:()=>u(!1)}:{},onClick:d&&p?e=>{e.preventDefault(),u(e=>!e)}:void 0,wide:"primary"===s.color||"secondary"===s.color,children:[t.text,d&&(0,r.jsx)(eI,{name:c?"chevronUp":"chevronDown",variant:"regular",width:14,height:14})]}),f=null==d||null==(n=d.attributes)?void 0:n.content[0],b=em(null==f?void 0:f.__component);return(0,r.jsx)(x.Fragment,{children:d?(0,r.jsx)(o.Bc,{delayDuration:0,skipDelayDuration:0,children:(0,r.jsxs)(o.sb,{children:[(0,r.jsx)(o.k$,{asChild:!0,children:(0,r.jsx)("div",{onClick:e=>{e.preventDefault()},children:m})}),(0,r.jsx)(o.ZI,{onPointerDownOutside:e=>{e.preventDefault()},css:{backgroundColor:a.w4.colors.white,padding:0,margin:"10px",borderRadius:"10px",filter:"drop-shadow(0px 4px 24px rgba(0, 0, 0, 0.20))"},onMouseEnter:()=>u(!0),onMouseLeave:()=>u(!1),children:(0,r.jsx)(b,{data:f})})]})}):m})},em=e=>{switch(e){case"header-footer.header-dropdown":return ei;case"header-footer.all-solutions-dropdown":return M;case"header-footer.support-dropdown":return ep;default:return()=>null}},ef=(0,a.I4)("div",{boxSizing:"borderBox",padding:"8px 16px",width:"100%",display:"flex",justifyContent:"space-between",flexDirection:"row",alignItems:"center",position:"sticky",zIndex:100,backgroundColor:a.w4.colors.gray1,borderBottom:"1px solid ".concat(a.w4.colors.gray5),top:"0px",variants:{hasBanner:{true:{top:60,"@media screen and (max-width: 767px)":{top:"118px"}}}}}),eb=(0,a.I4)("div",{display:"flex",justifyContent:"flex-end",flexGrow:1,gap:"12px",overflowX:"auto"}),ev=(0,a.I4)(m.p,{cursor:"pointer",height:"45px",width:"auto",display:"flex"}),ej=(0,a.I4)(m.p,{cursor:"pointer",height:"44px",width:"auto",display:"flex"}),ey=(0,a.I4)("div",{display:"contents","@media (max-height: 400px)":{display:"none"}}),ew=(0,a.I4)("div",{display:"none","@media (max-height: 400px)":{display:"contents"}}),eI=(0,a.I4)(s.I,{top:"2px",position:"relative"}),ek=(0,a.I4)("div",{display:"none",justifyContent:"start",alignItems:"center",gap:"12px",variants:{size:{large:{display:"flex",overflowX:"auto"}}}}),eC=(0,a.I4)("span",{float:"right"}),eD=(0,a.I4)(d.$,{"@sm":{height:"40px",padding:"8px 16px"},variants:{wide:{true:{paddingLeft:"50px",paddingRight:"50px","@sm":{paddingLeft:"16px",paddingRight:"16px"}}}}}),eS=(0,a.I4)(d.$,{paddingLeft:"50px",paddingRight:"50px"}),ez=(0,a.I4)("div",{margin:"auto",width:"90%",marginTop:"20px",marginBottom:"20px"}),eF=(0,a.I4)("div",{zIndex:2,color:"white",display:"flex",alignItems:"center",gap:"8px",variants:{size:{large:{display:"none"}}}}),eR=(0,a.I4)(d.$,{display:"block",fontWeight:500,fontSize:"1rem",color:a.w4.colors.gray11,padding:"9px",textDecoration:"none",cursor:"pointer",textAlign:"left",width:"100%","@sm":{padding:"9px 14px 9px 24px"},"&:hover":{background:"rgba(255,255,255,0.1)"},"&:active":{background:"rgba(255,255,255,0.2)"}}),eL=(0,a.I4)("div",{width:"180px",height:"47px",backgroundColor:a.w4.colors.gray14,borderRadius:"8px",overflow:"hidden",position:"relative"}),eH=(0,a.I4)("div",{margin:"auto",width:"90%",marginTop:"20px",marginBottom:"20px",height:"47px",backgroundColor:a.w4.colors.gray14,borderRadius:"8px",overflow:"hidden",position:"relative"}),eB=(0,a.i7)({"0%":{transform:"translateX(-100%)"},"100%":{transform:"translateX(100%)"}}),eE=(0,a.I4)("div",{width:"100%",height:"100%",background:"linear-gradient(to right, ".concat(a.w4.colors.gray14," 0%, ").concat(a.w4.colors.gray14," 50%, ").concat(a.w4.colors.gray14," 100%)"),position:"absolute",transform:"translateX(-100%)",animation:"".concat(eB," 2s infinite")}),eM=(0,a.I4)(d.$,{variants:{showOnlyOnShortHeight:{true:{display:"none","@media screen and (max-height: 400px
1)":{display:"inline-flex",fontWeight:500,minHeight:"36px",alignItems:"center",paddingInline:"12px"}},false:{}}}}),eN=e=>{var n,t,o,s,d,g,m,f,b,v;let[j,y]=(0,x.useState)(null),[w,I]=(0,x.useState)(!1),{authStateData:k}=e;function C(){I(!1),document.body.style.overflowY="scroll"}let S=[...e.links,...(null==k?void 0:k.authState)==="logged in"?[{text:k.text,color:"primary",size:"medium",href:k.link}]:[]],z=S.length<=2,{isMobileView:F}=(0,i.m)();return(0,r.jsxs)(r.Fragment,{children:[e.topBanner&&(0,r.jsx)(D,{...e.topBanner}),e.globalNavigation&&(0,r.jsx)(U,{...e.globalNavigation}),(0,r.jsx)(l.o,{sectionName:"Header",children:(0,r.jsxs)(ef,{hasBanner:null!=(b=null==e||null==(n=e.topBanner)?void 0:n.isSticky)&&b,id:"app-header",style:{...e.bgColor&&{backgroundColor:e.bgColor,borderBottom:"none"}},children:[F?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ey,{children:(0,r.jsx)(c.S,{trackingName:null==e||null==(t=e.mobileLogo)?void 0:t.trackingName,href:(null==e||null==(o=e.mobileLogo)?void 0:o.href)||e.logo.href,children:(0,r.jsx)(ej,{src:(null==e||null==(s=e.mobileLogo)?void 0:s.logoUrl)||"https://cdn.paperpal.com/assets/images/icons/favicon-paperpal.svg",alt:(null==e||null==(d=e.mobileLogo)?void 0:d.altText)||"Paperpal Logo",width:32,height:44})})}),e.logo&&(0,r.jsx)(ew,{children:(0,r.jsx)(c.S,{trackingName:e.logo.trackingName,href:e.logo.href,children:(0,r.jsx)(ev,{src:e.logo.logoUrl,alt:e.logo.altText||"Paperpal Logo",width:177,height:45})})})]}):e.logo&&(0,r.jsx)(c.S,{trackingName:e.logo.trackingName,href:e.logo.href,children:(0,r.jsx)(ev,{src:e.logo.logoUrl,alt:e.logo.altText||"Paperpal Logo",width:177,height:45})}),(0,r.jsx)(eb,{children:(0,r.jsxs)(ek,{size:{"@lg":"large"},children:[e.links.length>0&&e.links.map((e,n)=>(0,r.jsx)(eg,{linkData:e},n)),(null==k?void 0:k.authState)==="checking if logged in"||(null==k?void 0:k.authState)==="logging in"?(0,r.jsx)(eL,{children:(0,r.jsx)(eE,{})}):(null==k?void 0:k.authState)==="logged in"&&(0,r.jsx)(eg,{linkData:{text:k.text,color:"primary",size:"medium",href:k.link}})]})}),(0,r.jsxs)(eF,{size:{"@lg":"large"},css:{color:a.w4.colors.gray12},children:[(null==(g=e.buttonSmallHeight)?void 0:g.text)&&(0,r.jsx)(eM,{...e.buttonSmallHeight,showOnlyOnShortHeight:!0,children:null==(m=e.buttonSmallHeight)?void 0:m.text}),(0,r.jsx)(ey,{children:z?S.map((e,n)=>(0,r.jsx)(eg,{linkData:e},n)):(0,r.jsx)(eM,{size:"medium",color:"tertiary",onClick:w?C:function(){I(!0)},leftIcon:(0,r.jsx)(u.x7,{color:"dark",width:24,state:w?"close":"burger"}),children:w?"Close":"Menu"})})]})]})}),(0,r.jsx)(l.o,{sectionName:"Header Mobile",children:(0,r.jsx)(p.N,{children:(0,r.jsxs)(es,{hasBanner:null!=(v=null==e||null==(f=e.topBanner)?void 0:f.isSticky)&&v,open:w,children:[(0,r.jsx)(h.h,{height:24}),e.links.length>0&&e.links.map((e,n)=>{let{modal:t,...i}=e,l=null==t?void 0:t.data;if(l){var o;let t=null==l||null==(o=l.attributes)?void 0:o.content[0],a=em(null==t?void 0:t.__component),s=j===n;return(0,r.jsxs)(x.Fragment,{children:[(0,r.jsxs)(eR,{...i,onClick:()=>{y(s?null:n)},children:[e.text,(0,r.jsx)(eC,{children:(0,r.jsx)(eI,{name:s?"chevronUp":"chevronDown",variant:"regular",width:14,height:14,css:{float:"right"}})})]}),s&&(0,r.jsx)("div",{id:"forMobile",children:(0,r.jsx)(a,{data:t,isMobile:!0})})]},n)}return"primary"===e.color||"secondary"===e.color?(0,r.jsx)(x.Fragment,{children:(0,r.jsx)(ez,{children:(0,r.jsx)(eS,{fullWidth:!0,...i,children:e.text})})},n):(0,r.jsx)(eR,{...i,onClick:C,children:e.text},n)}),(null==k?void 0:k.authState)==="checking if logged in"||(null==k?void 0:k.authState)==="logging in"?(0,r.jsx)(x.Fragment,{children:(0,r.jsx)(eH,{children:(0,r.jsx)(eE,{})})}):(null==k?void 0:k.authState)==="logged in"&&(0,r.jsx)(x.Fragment,{children:(0,r.jsx)(ez,{children:(0,r.jsx)(eS,{fullWidth:!0,color:"primary",href:k.link,children:k.text})})})]})})})]})}},50363:(e,n,t)=>{"use strict";t.d(n,{y:()=>x});var r=t(80263),i=t(71187),l=t(16679),o=t(18696),a=t(53239),s=t(81215),d=t.n(s);let c=d()(()=>Promise.all([t.e(8016),t.e(2743),t.e(18)]).then(t.bind(t,50018)).then(e=>e.WhitepaperForm),{loadableGenerated:{webpack:()=>[50018]}}),u=d()(()=>
1Promise.all([t.e(8016),t.e(2743),t.e(9702)]).then(t.bind(t,99702)).then(e=>e.ModalFormSection),{loadableGenerated:{webpack:()=>[99702]}}),h=e=>{switch(e){case"preflight-form.whitepaper-form":return c;case"modal-form.modal-form-section":return u;default:return()=>null}},p=(0,l.I4)("p",{display:"inline-block",margin:"0"}),x=e=>{var n,t;let{buttonData:l,onClick:s=()=>{}}=e,[d,c]=(0,a.useState)(!1),u=(0,a.useCallback)(()=>{c(!0)},[c]),x=l&&(null==l?void 0:l.modal)&&(null==l||null==(n=l.modal)?void 0:n.data),g=x&&(null==x?void 0:x.attributes)&&(null==x||null==(t=x.attributes)?void 0:t.content[0]),m=h(null==g?void 0:g.__component),f=e=>{var n;l&&(null==l?void 0:l.modal)&&(null==l||null==(n=l.modal)?void 0:n.data)&&(e.preventDefault(),u(),s())};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.$,{...l.onClick?l:{...l,onClick:e=>{f(e)}},children:(0,r.jsx)(p,{dangerouslySetInnerHTML:(0,i.Y)(null==l?void 0:l.text)})}),d&&g&&(0,r.jsx)(m,{data:g,isOpen:d,setOpen:c})]})}},58148:()=>{},71187:(e,n,t)=>{"use strict";t.d(n,{Y:()=>l});var r=t(63520),i=t.n(r);function l(e){return{__html:i()(e,{allowedTags:["a","b","mark","img","span","br","ul","li","ol","h5","i","u","table","tbody","tr","th","td"],allowedAttributes:{a:["href","target","style"],img:["src","width","height","loading","alt","style"],span:["style"],b:["style"],table:["style"],tbody:["style"],tr:["style"],th:["style"],td:["style"]}})}}},72655:(e,n,t)=>{"use strict";let r;t.d(n,{A:()=>a});let i={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},l=new Uint8Array(16),o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).slice(1));let a=function(e,n,t){if(i.randomUUID&&!n&&!e)return i.randomUUID();let a=(e=e||{}).random||(e.rng||function(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(l)})();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,n){t=t||0;for(let e=0;e<16;++e)n[t+e]=a[e];return n}return function(e,n=0){return(o[e[n+0]]+o[e[n+1]]+o[e[n+2]]+o[e[n+3]]+"-"+o[e[n+4]]+o[e[n+5]]+"-"+o[e[n+6]]+o[e[n+7]]+"-"+o[e[n+8]]+o[e[n+9]]+"-"+o[e[n+10]]+o[e[n+11]]+o[e[n+12]]+o[e[n+13]]+o[e[n+14]]+o[e[n+15]]).toLowerCase()}(a)}},74781:()=>{},76370:(e,n,t)=>{"use strict";t.d(n,{p:()=>o});var r=t(80263),i=t(83931),l=t.n(i);t(53239);let o=e=>{let n=l();return"default"in n&&(n=n.default),(0,r.jsx)(n,{...e})}},77274:(e,n,t)=>{"use strict";t.d(n,{M:()=>r});let r=()=>{let e=Array.from(document.querySelectorAll('[id^="pp-"][id$="extension-root"]')).find(e=>e.shadowRoot);if(!(null==e?void 0:e.shadowRoot))return null;let n=e.shadowRoot.querySelector("#pp-radix-portal-container");if(!n){(n=document.createElement("div")).id="pp-radix-portal-container",n.style.position="relative",n.style.pointerEvents="none",n.style.zIndex="2147483647",n.style.isolation="isolate";let t=e.shadowRoot.querySelector("#plasmo-overlay-0");t?t.appendChild(n):e.shadowRoot.appendChild(n)}return n}},82260:()=>{},85858:(e,n,t)=>{"use strict";t.d(n,{s:()=>o});var r=t(11445);let i=r.z.object({featureName:r.z.string(),featureLimit:r.z.number(),usedFeatureLimit:r.z.number()}),l=r.z.object({freeCreditsName:r.z.string(),featuresAndLimits:r.z.array(i)}),o=r.z.object({usedBalance:r.z.number(),totalBalance:r.z.number(),daysForRefill:r.z.union([r.z.number(),r.z.undefined()]),freeCreditsBalanceDtoList:r.z.array(l).optional(),paidUser:r.z.boolean().optional(),reloadDate:r.z.string().optional(),isUnlimited:r.z.boolean().optional()})},90597:(e,n,t)=>{"use strict";t.d(n,{Bc:()=>h,KL:()=>b,PR:()=>v,ZI:()=>f,dF:()=>c,k$:()=>x,sb:()=>p});var r=t(80263),i=t(28248),l=t(77274),o=t(53239),a=t(36840),s=t(16679),d=t(70077);let c=o.createContext({open:!1,setOpen:a.l,supportMobileTap:!0});function u(){try{return matchMedia("(hover: hover)").matches}catch(e){return window.innerWidth>=768}}let h=i.Kq,p=e=>{var n;let{children:t,supportMobileTap:l=!0,...a}
1=e,[s,d]=o.useState(null!=(n=a.defaultOpen)&&n);return u()||!l?(0,r.jsx)(i.bL,{...a,children:(0,r.jsx)(c.Provider,{value:{open:s,setOpen:d,supportMobileTap:l},children:t})}):(0,r.jsx)(i.bL,{...a,delayDuration:0,onOpenChange:d,open:s,children:(0,r.jsx)(c.Provider,{value:{open:s,setOpen:d,supportMobileTap:l},children:t})})},x=o.forwardRef((e,n)=>{let{children:t,...i}=e,l=u(),{open:a,setOpen:s,supportMobileTap:d}=o.useContext(c);return l||!d?(0,r.jsx)(g,{ref:n,...i,children:t}):(0,r.jsx)(g,{ref:n,...i,onClick:e=>{if(e.currentTarget.hasAttribute("href")||e.currentTarget.querySelector("a[href]")){i.onClick&&i.onClick(e);return}e.preventDefault(),a?s(!1):i.onClick||s(!0)},onFocus:e=>{e.preventDefault(),setTimeout(()=>s(!0),0)},onBlur:e=>{e.preventDefault(),s(!1)},children:t})}),g=(0,s.I4)(i.l9),m=(0,s.I4)(i.UC,{position:"relative",zIndex:0x7fffffff,backgroundColor:s.w4.colors.blue12,color:s.w4.colors.gray1,padding:(0,d.D)(4),fontSize:(0,d.D)(14),lineHeight:(0,d.D)(16),borderRadius:(0,d.D)(4),variants:{size:{big:{padding:(0,d.D)(8),fontSize:(0,d.D)(16),fontWeight:s.w4.fontWeights.medium}},customStyled:{true:{borderRadius:(0,d.D)(10),border:"none",backgroundColor:s.w4.colors.gray11,color:s.w4.colors.gray1,fontSize:(0,d.D)(14),lineHeight:(0,d.D)(20),fontWeight:500,padding:(0,d.D)(8),maxWidth:(0,d.D)(300),wordBreak:"break-word"}},theme:{"gray-card":{backgroundColor:s.w4.colors.gray1,borderRadius:"10px",color:s.w4.colors.blue12,lineHeight:"17px",fontWeight:s.w4.fontWeights.normal,padding:"10px",width:"100%",maxWidth:"320px",filter:"drop-shadow(rgba(0, 0, 0, 0.2) 0px 4px 24px)"}}}}),f=o.forwardRef((e,n)=>{let{children:t,...i}=e,l=u(),{setOpen:a}=o.useContext(c);return l?(0,r.jsx)(m,{ref:n,...i,children:t}):(0,r.jsx)(m,{ref:n,...i,onClick:e=>{e.stopPropagation(),a(!1)},children:t})}),b=e=>{let{...n}=e,[t,a]=(0,o.useState)(null);return(0,o.useLayoutEffect)(()=>{let e=(0,l.M)();e&&a(e)},[]),(0,r.jsx)(i.ZL,{...n,container:t||void 0})},v=(0,s.I4)(i.i3,{fill:s.w4.colors.blue12,variants:{customStyled:{true:{fill:s.w4.colors.gray11}}}})}}]);

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.