PageSourceSearch

https://www.syfe.com/_next/static/chunks/6684-77ab39ed48effcf8.js

js syfe.com collected 2026-09-24 09:41:40 UTC 27,108 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="24465c90-e869-43e7-9756-a5f441d7e86d",e._sentryDebugIdIdentifier="sentry-dbid-24465c90-e869-43e7-9756-a5f441d7e86d")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6684],{4839:(e,t,n)=>{"use strict";n.d(t,{Bd:()=>i,UT:()=>y,ci:()=>s,h1:()=>m,jA:()=>d,mZ:()=>f,mw:()=>u,qC:()=>p,qf:()=>c,vS:()=>h,xL:()=>g,zL:()=>l});var r=n(28752),o=n(68547);let i="undefined"!=typeof document,a=i&&"file:"===window.location.protocol;function s(e){return null!=e}function u(e){return e instanceof ArrayBuffer}function c(e){return(0,r.A)(i,"isBlob can only be used in a browser environment"),e instanceof Blob}function l(e){return"string"==typeof e&&/^data:/.test(e)}function d(e){(0,r.A)(l(e),"Invalid data URI.");let[t="",n=""]=e.split(",");return -1!==t.split(";").indexOf("base64")?atob(n):unescape(n)}function f(){return i&&window.devicePixelRatio||1}function p(){o(!a,"Loading PDF as base64 strings/URLs may not work on protocols other than HTTP/HTTPS. On Chromium based browsers, you can use --allow-file-access-from-files flag for debugging purposes.")}function g(e){e&&e.cancel&&e.cancel()}function h(e,t){return Object.defineProperty(e,"width",{get(){return this.view[2]*t},configurable:!0}),Object.defineProperty(e,"height",{get(){return this.view[3]*t},configurable:!0}),Object.defineProperty(e,"originalWidth",{get(){return this.view[2]},configurable:!0}),Object.defineProperty(e,"originalHeight",{get(){return this.view[3]},configurable:!0}),e}
1function y(e){return"RenderingCancelledException"===e.name}function m(e){return new Promise((t,n)=>{let r=new FileReader;r.onload=()=>{if(!r.result)return n(Error("Error while reading a file."));t(r.result)},r.onerror=e=>{if(!e.target)return n(Error("Error while reading a file."));let{error:t}=e.target;if(!t)return n(Error("Error while reading a file."));switch(t.code){case t.NOT_FOUND_ERR:return n(Error("Error while reading a file: File not found."));case t.SECURITY_ERR:return n(Error("Error while reading a file: Security error."));case t.ABORT_ERR:return n(Error("Error while reading a file: Aborted."));default:return n(Error("Error while reading a file."))}},r.readAsArrayBuffer(e)})}},19699:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(37876);function o({children:e,type:t}){return(0,r.jsx)("div",{className:`react-pdf__message react-pdf__message--${t}`,children:e})}},19811:(e,t,n)=>{"use strict";n.d(t,{A:()=>R});var r=n(37876),o=n(14232),i=n(52280),a=n(77039),s=n(92977),u=n(28752),c=n(68547),l=Object.prototype.hasOwnProperty;function d(e,t,n){for(n of e.keys())if(f(n,t))return n}function f(e,t){var n,r,o;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&f(e[r],t[r]););return -1===r}if(n===Set){if(e.size!==t.size)return!1;for(r of e)if((o=r)&&"object"==typeof o&&!(o=d(t,o))||!t.has(o))return!1;return!0}if(n===Map){if(e.size!==t.size)return!1;for(r of e)if((o=r[0])&&"object"==typeof o&&!(o=d(t,o))||!f(r[1],t.get(o)))return!1;return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return -1===r}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return -1===r}if(!n||"object"==typeof e){for(n in r=0,e)if(l.call(e,n)&&++r&&!l.call(t,n)||!(n in t)||!f(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!=e&&t!=t}var p=n(53553),g=n(78304),h=n(19699);class y{constructor(){this.externalLinkEnabled=!0,this.externalLinkRel=void 0,this.externalLinkTarget=void 0,this.isInPresentationMode=!1,this.pdfDocument=void 0,this.pdfViewer=void 0}setDocument(e){this.pdfDocument=e}setViewer(e){this.pdfViewer=e}setExternalLinkRel(e){this.externalLinkRel=e}setExternalLinkTarget(e){this.externalLinkTarget=e}setHistory(){}get pagesCount(){return this.pdfDocument?this.pdfDocument.numPages:0}get page(){return(0,u.A)(this.pdfViewer,"PDF viewer is not initialized."),this.pdfViewer.currentPageNumber||0}set page(e){(0,u.A)(this.pdfViewer,"PDF viewer is not initialized."),this.pdfViewer.currentPageNumber=e}get rotation(){return 0}set rotation(e){}goToDestination(e){return new Promise(t=>{(0,u.A)(this.pdfDocument,"PDF document not loaded."),(0,u.A)(e,"Destination is not specified."),"string"==typeof e?this.pdfDocument.getDestination(e).then(t):Array.isArray(e)?t(e):e.then(t)}).then(e=>{(0,u.A)(Array.isArray(e),`"${e}" is not a valid destination array.`);let t=e[0];new Promise(e=>{(0,u.A)(this.pdfDocument,"PDF document not loaded."),t instanceof Object?this.pdfDocument.getPageIndex(t).then(t=>{e(t)}).catch(()=>{(0,u.A)(!1,`"${t}" is not a valid page reference.`)}):"number"==typeof t?e(t):(0,u.A)(!1,`"${t}" is not a valid destination reference.`)}).then(t=>{let n=t+1;(0,u.A)(this.pdfViewer,"PDF viewer is not initialized."),(0,u.A)(n>=1&&n<=this.pagesCount,`"${n}" is not a valid page number.`),this.pdfViewer.scrollPageIntoView({dest:e,pageIndex:t,pageNumber:n})})})}navigateTo(e){this.goToDestination(e)}goToPage(e){(0,u.A)(this.pdfViewer,"PDF viewer is not initialized."),(0,u.A)(e>=1&&e<=this.pagesCount,`"${e}" is not a valid page number.`),this.pdfViewer.scrollPageIntoView({pageIndex:e-1,pageNumber:e})}addLinkAttributes(e,t,n){e.href=t,e.rel=this.externalLinkRel||"noopener noreferrer nofollow",e.target=n?"_blank":this.externalLinkTarget||""}getDestinationHash(){return"#"}getAnchorUrl(){return"#"}setHash(){}executeNamedAction(){}cachePageRef(){}isPageVisible(){return!0}isPageCached(){return!0}executeSetOCGState(){}}let m={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};var E=n(4839),v=n(31332),A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let{PDFDataRangeTransport:b}=p.A,w=(e,t)=>{switch(t){case m.NEED_PASSWORD:e(prompt("Enter the password to open this PDF file."));break;case m.INCORRECT_PASSWORD:e(prompt("Invalid password. Please try again."))}};function S(e){return"object"==typeof e&&null!==e&&("data"in e||"range"in e||"url"in e)}let R=(0,o.forwardRef)(function(e,t){var{children:n,className:l,error:d="Failed to load PDF file.",externalLinkRel:m,externalLinkTarget:R,file:x,inputRef:L,imageResourcesPath:T,loading:P="Loading PDF…",noData:O="No PDF file specified.",onItemClick:j,onLoadError:C,onLoadProgress:D,onLoadSuccess:k,onPassword:_=w,onSourceError:M,onSourceSuccess:V,options:I,renderMode:N,rotate:G}=e,F=A(e,["children","className","error","externalLinkRel","externalLinkTarget","file","inputRef","imageResourcesPath","loading","noData","onItemClick","onLoadError","onLoadProgress","onLoadSuccess","onPassword","onSourceError","onSourceSuccess","options","renderMode","rotate"]);let[$,U]=(0,v.A)(),{value:B,error:H}=$,[z,W]=(0,v.A)(),{value:J,error:q}=z,K=(0,o.useRef)(new y),Z=(0,o.useRef)([]),Y=(0,o.useRef)(void 0),Q=(0,o.useRef)(void 0);x&&x!==Y.current&&S(x)&&(c(!f(x,Y.current),'File prop passed to <Document /> changed, but it\'s equal to previous one. This might result in unnecessary reloads. Consider memoizing the value passed to "file" prop.'),Y.current=x),I&&I!==Q.current&&(c(!f(I,Q.current),'Options prop passed to <Document /> changed, but it\'s equal to previous one. This might result in unnecessary reloads. Consider memoizing the value passed to "options" prop.'),Q.current=I);let X=(0,o.useRef)({scrollPageIntoView:e=>{let{dest:t,pageNumber:n,pageIndex:r=n-1}=e;if(j)return void j({dest:t,pageIndex:r,pageNumber:n});let o=Z.current[r];if(o)return void o.scrollIntoView();c(!1,`An internal link leading to page ${n} was clicked, but neither <Document> was provided with onItemClick nor it was able to find the page within itself. Either provide onItemClick to <Document>
1 and handle navigating by yourself or ensure that all pages are rendered within <Document>.`)}});(0,o.useImperativeHandle)(t,()=>({linkService:K,pages:Z,viewer:X}),[]),(0,o.useEffect)(function(){U({type:"RESET"})},[x,U]);let ee=(0,o.useCallback)(()=>{var e,t,n,r;return e=this,t=void 0,n=void 0,r=function*(){if(!x)return null;if("string"==typeof x)return(0,E.zL)(x)?{data:(0,E.jA)(x)}:((0,E.qC)(),{url:x});if(x instanceof b)return{range:x};if((0,E.mw)(x))return{data:x};if(E.Bd&&(0,E.qf)(x))return{data:yield(0,E.h1)(x)};if((0,u.A)("object"==typeof x,"Invalid parameter in file, need either Uint8Array, string or a parameter object"),(0,u.A)(S(x),"Invalid parameter object: need either .data, .range or .url"),"url"in x&&"string"==typeof x.url){if((0,E.zL)(x.url)){let{url:e}=x,t=A(x,["url"]);return Object.assign({data:(0,E.jA)(e)},t)}(0,E.qC)()}return x},new(n||(n=Promise))(function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},[x]);function et(e,t){Z.current[e]=t}function en(e){delete Z.current[e]}(0,o.useEffect)(()=>{let e=(0,a.A)(ee());return e.promise.then(e=>{U({type:"RESOLVE",value:e})}).catch(e=>{U({type:"REJECT",error:e})}),()=>{(0,E.xL)(e)}},[ee,U]),(0,o.useEffect)(()=>{if(void 0!==B){if(!1===B)return void(H&&(c(!1,H.toString()),M&&M(H)));V&&V()}},[B]),(0,o.useEffect)(function(){W({type:"RESET"})},[W,B]),(0,o.useEffect)(function(){if(!B)return;let e=Object.assign(Object.assign({},I),{isEvalSupported:!1}),t=Object.assign(Object.assign({},B),e),n=p.A.getDocument(t);return D&&(n.onProgress=D),_&&(n.onPassword=_),n.promise.then(e=>{W({type:"RESOLVE",value:e})}).catch(e=>{n.destroyed||W({type:"REJECT",error:e})}),()=>{n.destroy()}},[I,W,B]),(0,o.useEffect)(()=>{if(void 0!==J){if(!1===J)return void(q&&(c(!1,q.toString()),C&&C(q)));J&&(k&&k(J),Z.current=Array(J.numPages),K.current.setDocument(J))}},[J]),(0,o.useEffect)(function(){K.current.setViewer(X.current),K.current.setExternalLinkRel(m),K.current.setExternalLinkTarget(R)},[m,R]);let er=(0,o.useMemo)(()=>({imageResourcesPath:T,linkService:K.current,onItemClick:j,pdf:J,registerPage:et,renderMode:N,rotate:G,unregisterPage:en}),[T,j,J,N,G]),eo=(0,o.useMemo)(()=>(0,i.Ay)(F,()=>J),[F,J]);return(0,r.jsx)("div",Object.assign({className:(0,s.A)("react-pdf__Document",l),ref:L,style:{"--scale-factor":"1"}},eo,{children:x?null==J?(0,r.jsx)(h.A,{type:"loading",children:"function"==typeof P?P():P}):!1===J?(0,r.jsx)(h.A,{type:"error",children:"function"==typeof d?d():d}):(0,r.jsx)(g.A.Provider,{value:er,children:n}):(0,r.jsx)(h.A,{type:"no-data",children:"function"==typeof O?O():O})}))})},31332:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(14232);function o(e,t){switch(t.type){case"RESOLVE":return{value:t.value,error:void 0};case"REJECT":return{value:!1,error:t.error};case"RESET":return{value:void 0,error:void 0};default:return e}}function i(){return(0,r.useReducer)(o,{value:void 0,error:void 0})}},50050:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var r=n(37876),o=n(14232),i=n(77039),a=n(52280),s=n(92977);function u(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.filter(Boolean);return n.length<=1?n[0]||null:function(e){n.forEach(function(t){"function"==typeof t?t(e):t&&(t.current=e)})}}var c=n(28752),l=n(68547);let d=(0,o.createContext)(null);var f=n(19699),p=n(53553);let g={Document:null,DocumentFragment:null,Part:"group",Sect:"group",Div:"group",Aside:"note",NonStruct:"none",P:null,H:"heading",Title:null,FENote:"note",Sub:"group",Lbl:null,Span:null,Em:null,Strong:null,Link:"link",Annot:"note",Form:"form",Ruby:null,RB:null,RT:null,RP:null,Warichu:null,WT:null,WP:null,L:"list",LI:"listitem",LBody:null,Table:"table",TR:"row",TH:"columnheader",TD:"cell",THead:"columnheader",TBody:null,TFoot:null,Caption:null,Figure:"figure",Formula:null,Artifact:null},h=/^H(\d+)$/;function y(e){return"children"in e}function m(e){return!!y(e)&&1===e.children.length&&0 in e.children&&"id"in e.children[0]}function E({className:e,node:t}){let n=(0,o.useMemo)(()=>t?Object.assign(Object.assign({},function(e){let t={};if(y(e)){let{role:n}=e,r=n.match(h);if(r)t.role="heading",t["aria-level"]=Number(r[1]);else if(n in g){let e=g[n];e&&(t.role=e)}}return t}(t)),function e(t){let n={};if(y(t)){if(void 0!==t.alt&&(n["aria-label"]=t.alt),void 0!==t.lang&&(n.lang=t.lang),m(t)){let[r]=t.children;if(r){let t=e(r);return Object.assign(Object.assign({},n),t)}}}else"id"in t&&(n["aria-owns"]=t.id);return n}(t)):null,[t]),i=(0,o.useMemo)(()=>!y(t)||m(t)?null:t.children.map((e,t)=>(0,r.jsx)(E,{node:e},t)),[t]);return(0,r.jsx)("span",Object.assign({className:e},n,{children:i}))}function v(){return(0,o.useContext)(d)}var A=n(31332),b=n(4839);function w(){let e=v();(0,c.A)(e,"Unable to find Page context.");let{onGetStructTreeError:t,onGetStructTreeSuccess:n}=e,[a,s]=(0,A.A)(),{value:u,error:d}=a,{customTextRenderer:f,page:p}=e;return((0,o.useEffect)(function(){s({type:"RESET"})},[s,p]),(0,o.useEffect)(function(){if(f||!p)return;let e=(0,i.A)(p.getStructTree());return e.promise.then(e=>{s({type:"RESOLVE",value:e})}).catch(e=>{s({type:"REJECT",error:e})}),()=>(0,b.xL)(e)},[f,p,s]),(0,o.useEffect)(()=>
1{if(void 0!==u){if(!1===u)return void(d&&(l(!1,d.toString()),t&&t(d)));u&&n&&n(u)}},[u]),u)?(0,r.jsx)(E,{className:"react-pdf__Page__structTree structTree",node:u}):null}let S=p.A.AnnotationMode;function R(e){let t=v();(0,c.A)(t,"Unable to find Page context.");let{_className:n,canvasBackground:i,devicePixelRatio:a=(0,b.mZ)(),onRenderError:s,onRenderSuccess:d,page:f,renderForms:p,renderTextLayer:g,rotate:h,scale:y}=Object.assign(Object.assign({},t),e),{canvasRef:m}=e;(0,c.A)(f,"Attempted to render page canvas, but no page was specified.");let E=(0,o.useRef)(null);function A(e){!(0,b.UT)(e)&&(l(!1,e.toString()),s&&s(e))}let R=(0,o.useMemo)(()=>f.getViewport({scale:y*a,rotation:h}),[a,f,h,y]),x=(0,o.useMemo)(()=>f.getViewport({scale:y,rotation:h}),[f,h,y]);(0,o.useEffect)(function(){if(!f)return;f.cleanup();let{current:e}=E;if(!e)return;e.width=R.width,e.height=R.height,e.style.width=`${Math.floor(x.width)}px`,e.style.height=`${Math.floor(x.height)}px`,e.style.visibility="hidden";let t={annotationMode:p?S.ENABLE_FORMS:S.ENABLE,canvasContext:e.getContext("2d",{alpha:!1}),viewport:R};i&&(t.background=i);let n=f.render(t);return n.promise.then(()=>{e.style.visibility="",f&&d&&d((0,b.vS)(f,y))}).catch(A),()=>(0,b.xL)(n)},[i,E,a,f,p,R,x]);let L=(0,o.useCallback)(()=>{let{current:e}=E;e&&(e.width=0,e.height=0)},[E]);return(0,o.useEffect)(()=>L,[L]),(0,r.jsx)("canvas",{className:`${n}__canvas`,dir:"ltr",ref:u(m,E),style:{display:"block",userSelect:"none"},children:g?(0,r.jsx)(w,{}):null})}function x(){let e=v();(0,c.A)(e,"Unable to find Page context.");let{_className:t,onRenderSuccess:n,onRenderError:a,page:s,rotate:u,scale:d}=e;(0,c.A)(s,"Attempted to render page SVG, but no page was specified.");let[f,g]=(0,A.A)(),{value:h,error:y}=f,m=(0,o.useMemo)(()=>s.getViewport({scale:d,rotation:u}),[s,u,d]);(0,o.useEffect)(function(){g({type:"RESET"})},[s,g,m]),(0,o.useEffect)(function(){if(!s)return;let e=(0,i.A)(s.getOperatorList());return e.promise.then(e=>{new p.A.SVGGraphics(s.commonObjs,s.objs).getSVG(e,m).then(e=>{if(!(e instanceof SVGElement))throw Error("getSVG returned unexpected result.");g({type:"RESOLVE",value:e})}).catch(e=>{g({type:"REJECT",error:e})})}).catch(e=>{g({type:"REJECT",error:e})}),()=>(0,b.xL)(e)},[s,g,m]),(0,o.useEffect)(()=>{if(void 0!==h){if(!1===h)return void(y&&!(0,b.UT)(y)&&(l(!1,y.toString()),a&&a(y)));s&&n&&n((0,b.vS)(s,d))}},[h]);let{width:E,height:w}=m;return(0,r.jsx)("div",{className:`${t}__svg`,ref:e=>(function(e){if(!e||!h)return;e.firstElementChild||e.appendChild(h);let{width:t,height:n}=m;h.setAttribute("width",`${t}`),h.setAttribute("height",`${n}`)})(e),style:{display:"block",backgroundColor:"white",overflow:"hidden",width:E,height:w,userSelect:"none"}})}function L(){let e=v();(0,c.A)(e,"Unable to find Page context.");let{customTextRenderer:t,onGetTextError:n,onGetTextSuccess:a,onRenderTextLayerError:u,onRenderTextLayerSuccess:d,page:f,pageIndex:g,pageNumber:h,rotate:y,scale:m}=e;(0,c.A)(f,"Attempted to load page text content, but no page was specified.");let[E,w]=(0,A.A)(),{value:S,error:R}=E,x=(0,o.useRef)(null),L=(0,o.useRef)(void 0);l(1===parseInt(window.getComputedStyle(document.body).getPropertyValue("--react-pdf-text-layer"),10),"TextLayer styles not found. Read more: https://github.com/wojtekmaj/react-pdf#support-for-text-layer"),(0,o.useEffect)(function(){w({type:"RESET"})},[f,w]),(0,o.useEffect)(function(){if(!f)return;let e=(0,i.A)(f.getTextContent());return e.promise.then(e=>{w({type:"RESOLVE",value:e})}).catch(e=>{w({type:"REJECT",error:e})}),()=>(0,b.xL)(e)},[f,w]),(0,o.useEffect)(()=>{if(void 0!==S){if(!1===S)return void(R&&(l(!1,R.toString()),n&&n(R)));S&&a&&a(S)}},[S]);let T=(0,o.useCallback)(()=>{d&&d()},[d]),P=(0,o.useCallback)(e=>{l(!1,e.toString()),u&&u(e)},[u]),O=(0,o.useMemo)(()=>f.getViewport({scale:m,rotation:y}),[f,y,m]);return(0,o.useLayoutEffect)(function(){if(!f||!S)return;let{current:e}=x;if(!e)return;e.innerHTML="";let n=f.streamTextContent({includeMarkedContent:!0}),r=p.A.renderTextLayer({container:e,textContentSource:n,viewport:O});return r.promise.then(()=>{let n=document.createElement("div");n.className="endOfContent",e.append(n),L.current=n;let r=e.querySelectorAll('[role="presentation"]');if(t){let e=0;
1S.items.forEach((n,o)=>{if(!("str"in n))return;let i=r[e];i&&(i.innerHTML=t(Object.assign({pageIndex:g,pageNumber:h,itemIndex:o},n)),e+=n.str&&n.hasEOL?2:1)})}T()}).catch(P),()=>(0,b.xL)(r)},[t,P,T,f,g,h,S,O]),(0,r.jsx)("div",{className:(0,s.A)("react-pdf__Page__textContent","textLayer"),onMouseUp:function(){let e=L.current;e&&e.classList.remove("active")},onMouseDown:function(){let e=L.current;e&&e.classList.add("active")},ref:x})}var T=n(78304);function P(){return(0,o.useContext)(T.A)}function O(){let e=P(),t=v();(0,c.A)(t,"Unable to find Page context.");let{imageResourcesPath:n,linkService:a,onGetAnnotationsError:u,onGetAnnotationsSuccess:d,onRenderAnnotationLayerError:f,onRenderAnnotationLayerSuccess:g,page:h,pdf:y,renderForms:m,rotate:E,scale:w=1}=Object.assign(Object.assign({},e),t);(0,c.A)(y,"Attempted to load page annotations, but no document was specified. Wrap <Page /> in a <Document /> or pass explicit `pdf` prop."),(0,c.A)(h,"Attempted to load page annotations, but no page was specified."),(0,c.A)(a,"Attempted to load page annotations, but no linkService was specified.");let[S,R]=(0,A.A)(),{value:x,error:L}=S,T=(0,o.useRef)(null);l(1===parseInt(window.getComputedStyle(document.body).getPropertyValue("--react-pdf-annotation-layer"),10),"AnnotationLayer styles not found. Read more: https://github.com/wojtekmaj/react-pdf#support-for-annotations"),(0,o.useEffect)(function(){R({type:"RESET"})},[R,h]),(0,o.useEffect)(function(){if(!h)return;let e=(0,i.A)(h.getAnnotations());return e.promise.then(e=>{R({type:"RESOLVE",value:e})}).catch(e=>{R({type:"REJECT",error:e})}),()=>{(0,b.xL)(e)}},[R,h,m]),(0,o.useEffect)(()=>{if(void 0!==x){if(!1===x)return void(L&&(l(!1,L.toString()),u&&u(L)));x&&d&&d(x)}},[x]);let O=(0,o.useMemo)(()=>h.getViewport({scale:w,rotation:E}),[h,E,w]);return(0,o.useEffect)(function(){if(!y||!h||!a||!x)return;let{current:e}=T;if(!e)return;let t=O.clone({dontFlip:!0}),r={annotations:x,annotationStorage:y.annotationStorage,div:e,downloadManager:null,imageResourcesPath:n,linkService:a,page:h,renderForms:m,viewport:t};e.innerHTML="";try{new p.A.AnnotationLayer({accessibilityManager:null,annotationCanvasMap:null,div:e,l10n:null,page:h,viewport:t}).render(r),g&&g()}catch(e){l(!1,`${e}`),f&&f(e)}return()=>{}},[x,n,a,h,m,O]),(0,r.jsx)("div",{className:(0,s.A)("react-pdf__Page__annotations","annotationLayer"),ref:T})}var j=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function C(e){let t=Object.assign(Object.assign({},P()),e),{_className:n="react-pdf__Page",_enableRegisterUnregisterPage:p=!0,canvasBackground:g,canvasRef:h,children:y,className:m,customRenderer:E,customTextRenderer:v,devicePixelRatio:w,error:S="Failed to load the page.",height:T,inputRef:C,loading:D="Loading page…",noData:k="No page specified.",onGetAnnotationsError:_,onGetAnnotationsSuccess:M,onGetStructTreeError:V,onGetStructTreeSuccess:I,onGetTextError:N,onGetTextSuccess:G,onLoadError:F,onLoadSuccess:$,onRenderAnnotationLayerError:U,onRenderAnnotationLayerSuccess:B,onRenderError:H,onRenderSuccess:z,onRenderTextLayerError:W,onRenderTextLayerSuccess:J,pageIndex:q,pageNumber:K,pdf:Z,registerPage:Y,renderAnnotationLayer:Q=!0,renderForms:X=!1,renderMode:ee="canvas",renderTextLayer:et=!0,rotate:en,scale:er=1,unregisterPage:eo,width:ei}=t,ea=j(t,["_className","_enableRegisterUnregisterPage","canvasBackground","canvasRef","children","className","customRenderer","customTextRenderer","devicePixelRatio","error","height","inputRef","loading","noData","onGetAnnotationsError","onGetAnnotationsSuccess","onGetStructTreeError","onGetStructTreeSuccess","onGetTextError","onGetTextSuccess","onLoadError","onLoadSuccess","onRenderAnnotationLayerError","onRenderAnnotationLayerSuccess","onRenderError","onRenderSuccess","onRenderTextLayerError","onRenderTextLayerSuccess","pageIndex","pageNumber","pdf","registerPage","renderAnnotationLayer","renderForms","renderMode","renderTextLayer","rotate","scale","unregisterPage","width"]),[es,eu]=(0,A.A)(),{value:ec,error:el}=es,ed=(0,o.useRef)(null);(0,c.A)(Z,"Attempted to load a page, but no document was specified. Wrap <Page /> in a <Document /> or pass explicit `pdf` prop.");let ef=(0,b.ci)(K)?K-1:null!=q?q:null,ep=null!=K?K:(0,b.ci)(q)?q+1:null,eg=null!=en?en:ec?ec.rotate:null,eh=(0,o.useMemo)(()=>
1{if(!ec)return null;let e=1,t=null!=er?er:1;if(ei||T){let t=ec.getViewport({scale:1,rotation:eg});ei?e=ei/t.width:T&&(e=T/t.height)}return t*e},[T,ec,eg,er,ei]);(0,o.useEffect)(function(){return()=>{(0,b.ci)(ef)&&p&&eo&&eo(ef)}},[p,Z,ef,eo]),(0,o.useEffect)(function(){eu({type:"RESET"})},[eu,Z,ef]),(0,o.useEffect)(function(){if(!Z||!ep)return;let e=(0,i.A)(Z.getPage(ep));return e.promise.then(e=>{eu({type:"RESOLVE",value:e})}).catch(e=>{eu({type:"REJECT",error:e})}),()=>(0,b.xL)(e)},[eu,Z,ef,ep,Y]),(0,o.useEffect)(()=>{if(void 0!==ec){if(!1===ec)return void(el&&(l(!1,el.toString()),F&&F(el)));!function(){if($){if(!ec||!eh)return;$((0,b.vS)(ec,eh))}if(p&&Y){if(!(0,b.ci)(ef)||!ed.current)return;Y(ef,ed.current)}}()}},[ec,eh]);let ey=(0,o.useMemo)(()=>ec&&(0,b.ci)(ef)&&ep&&(0,b.ci)(eg)&&(0,b.ci)(eh)?{_className:n,canvasBackground:g,customTextRenderer:v,devicePixelRatio:w,onGetAnnotationsError:_,onGetAnnotationsSuccess:M,onGetStructTreeError:V,onGetStructTreeSuccess:I,onGetTextError:N,onGetTextSuccess:G,onRenderAnnotationLayerError:U,onRenderAnnotationLayerSuccess:B,onRenderError:H,onRenderSuccess:z,onRenderTextLayerError:W,onRenderTextLayerSuccess:J,page:ec,pageIndex:ef,pageNumber:ep,renderForms:X,renderTextLayer:et,rotate:eg,scale:eh}:null,[n,g,v,w,_,M,V,I,N,G,U,B,H,z,W,J,ec,ef,ep,X,et,eg,eh]),em=(0,o.useMemo)(()=>(0,a.Ay)(ea,()=>ec?eh?(0,b.vS)(ec,eh):void 0:ec),[ea,ec,eh]),eE=`${ef}@${eh}/${eg}`,ev=`${ef}/${eg}`;return(0,r.jsx)("div",Object.assign({className:(0,s.A)(n,m),"data-page-number":ep,ref:u(C,ed),style:{"--scale-factor":`${eh}`,backgroundColor:g||"white",position:"relative",minWidth:"min-content",minHeight:"min-content"}},em,{children:ep?null===Z||null==ec?(0,r.jsx)(f.A,{type:"loading",children:"function"==typeof D?D():D}):!1===Z||!1===ec?(0,r.jsx)(f.A,{type:"error",children:"function"==typeof S?S():S}):(0,r.jsxs)(d.Provider,{value:ey,children:[function(){switch(ee){case"custom":return(0,c.A)(E,'renderMode was set to "custom", but no customRenderer was passed.'),(0,r.jsx)(E,{},`${eE}_custom`);case"none":return null;case"svg":return(0,r.jsx)(x,{},`${ev}_svg`);default:return(0,r.jsx)(R,{canvasRef:h},`${eE}_canvas`)}}(),et?(0,r.jsx)(L,{},`${eE}_text`):null,Q?(0,r.jsx)(O,{},`${eE}_annotations`):null,y]}):(0,r.jsx)(f.A,{type:"no-data",children:"function"==typeof k?k():k})}))}},52280:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>i});var r=function(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},o=r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r([],["onCopy","onCut","onPaste"],!0),["onCompositionEnd","onCompositionStart","onCompositionUpdate"],!0),["onFocus","onBlur"],!0),["onInput","onInvalid","onReset","onSubmit"],!0),["onLoad","onError"],!0),["onKeyDown","onKeyPress","onKeyUp"],!0),["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],!0),["onClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp"],!0),["onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop"],!0),["onSelect"],!0),["onTouchCancel","onTouchEnd","onTouchMove","onTouchStart"],!0),["onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onGotPointerCapture","onLostPointerCapture","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut"],!0),["onScroll"],!0),["onWheel"],!0),["onAnimationStart","onAnimationEnd","onAnimationIteration"],!0),["onTransitionEnd"],!0),["onChange"],!0),["onToggle"],!0);function i(e,t){var n={};return o.forEach(function(r){var o=e[r];o&&(t?n[r]=function(e){return o(e,t(r))}:n[r]=o)}),n}},53553:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=n(2098)},68547:e=>{"use strict";e.exports=function(){}},74750:()=>{},77039:(e,t,n)=>{"use strict";function r(e){var t=!1;return{promise:new Promise(function(n,r){e.then(function(e){return!t&&n(e)}).catch(function(e){return!t&&r(e)})}),cancel:function(){t=!0}}}n.d(t,{A:()=>r})}
1,78304:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(14232).createContext)(null)},92977:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=function e(t){var n,r,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(n=0;n<i;n++)t[n]&&(r=e(t[n]))&&(o&&(o+=" "),o+=r)}else for(r in t)t[r]&&(o&&(o+=" "),o+=r);return o}(e))&&(r&&(r+=" "),r+=t);return r}},95532:()=>{}}]);

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.