1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7774],{17774:(a,e,s)=>{s.r(e),s.d(e,{default:()=>p});var l=s(37876),n=s(14232),t=s(53553),d=s(19811),c=s(76165),i=s(34129),r=s(40133),o=s(5511);t.EA.workerSrc="//unpkg.com/pdfjs-dist@".concat(t.rE,"/legacy/build/pdf.worker.min.mjs");let p=a=>{let{src:e,className:s}=a,[t,p]=(0,n.useState)(1),[u,f]=(0,n.useState)(1);return(0,l.jsxs)("div",{className:"media-library-popup-pdf ".concat(s||""),children:[(0,l.jsx)("div",{className:"pdf-cont",children:(0,l.jsx)(d.A,{loading:(0,l.jsx)("div",{className:"lottie-box",children:(0,l.jsx)(r.default,{animData:o,autoplay:!0,isPlay:!0,loop:!0})}),file:e,onLoadSuccess:function(a){let{numPages:e}=a;p(e)},children:(0,l.jsx)(c.A,{loading:(0,l.jsx)("div",{className:"lottie-box",children:(0,l.jsx)(r.default,{animData:o,autoplay:!0,isPlay:!0,loop:!0})}),className:"pdf-view",renderMode:"canvas",renderTextLayer:!1,pageNumber:u})})}),(0,l.jsxs)("div",{className:"page-controls",children:[(0,l.jsx)("button",{className:"pdf-page-button ".concat(u<=1?"disable":""),onClick:()=>f(u-1),type:"button","aria-label":"Previous page",children:(0,l.jsx)(i.A,{name:"pdf-arrow",className:"pdf-previous pdf-arrow"})}),(0,l.jsxs)("div",{className:"page-counter font-ping-medium",children:[(0,l.jsx)("span",{children:u}),(0,l.jsx)("span",{children:"of"}),(0,l.jsx)("span",{children:t})]}),(0,l.jsx)("button",{className:"pdf-page-button ".concat(u>=t?"disable":""),onClick:()=>f(u+1),type:"button","aria-label":"Next page",children:(0,l.jsx)(i.A,{name:"pdf-arrow",className:"pdf-next pdf-arrow"})})]})]})}}}]); 2//# sourceMappingURL=7774.281705d84b0e2963.js.map
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.