1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9298],{7915:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(78340).A)("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},11007:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(12115);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})}},15411:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(78340).A)("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]])},15831:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>o});let r=["onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onBlur","onInput","onInvalid","onReset","onSubmit","onLoad","onError","onKeyDown","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onGotPointerCapture","onLostPointerCapture","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd","onChange","onToggle"];function o(e,t){let n={};for(let o of r){let r=e[o];r&&(t?n[o]=e=>r(e,t(o)):n[o]=r)}return n}},16950:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(78340).A)("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},20256:(e,t,n)=>{"use strict";function r(e){let t=!1;return{promise:new Promise((n,r)=>{e.then(e=>!t&&n(e)).catch(e=>!t&&r(e))}),cancel(){t=!0}}}n.d(t,{A:()=>r})},21576:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(78340).A)("AlignRight",[["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M21 18H7",key:"1ygte8"}],["path",{d:"M21 6H3",key:"1jwq7v"}]])},23770:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(78340).A)("Italic",[["line",{x1:"19",x2:"10",y1:"4",y2:"4",key:"15jd3p"}],["line",{x1:"14",x2:"5",y1:"20",y2:"20",key:"bu0au3"}],["line",{x1:"15",x2:"9",y1:"4",y2:"20",key:"uljnxc"}]])},33941:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(12115).createContext)(null)},36201:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(78340).A)("Square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]])},37263:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(78340).A)("AlignCenter",[["path",{d:"M17 12H7",key:"16if0g"}],["path",{d:"M19 18H5",key:"18s9l3"}],["path",{d:"M21 6H3",key:"1jwq7v"}]])},41484:(e,t,n)=>{"use strict";n.d(t,{Bd:()=>i,O9:()=>u,UT:()=>m,ci:()=>l,h1:()=>A,jA:()=>f,mZ:()=>p,mw:()=>s,qC:()=>h,qf:()=>c,vS:()=>y,xL:()=>g,zL:()=>d});var r=n(67645),o=n(52172);let i="u">typeof window,a=i&&"file:"===window.location.protocol;function u(e){return void 0!==e}function l(e){return u(e)&&null!==e}function s(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 d(e){return"string"==typeof e&&/^data:/.test(e)}function f(e){(0,r.A)(d(e),"Invalid data URI.");let[t="",n=""]=e.split(",");return -1!==t.split(";").indexOf("base64")?atob(n):unescape(n)}function p(){return i&&window.devicePixelRatio||1}function h(){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){(null==e?void 0:e.cancel)&&e.cancel()}function y(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 m(e){return"RenderingCancelledException"===e.name}function A(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)})}},41762:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(78340).A)("Bookmark",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]])},44529:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(78340).A)("Redo2",[["path",{d:"m15 14 5-5-5-5",key:"12vg1m"}],["path",{d:"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13",key:"6uklza"}]])},46545:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(78340).A)("Highlighter",[["path",{d:"m9 11-6 6v3h9l3-3",key:"1a3l36"}],["path",{d:"m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4",key:"14a9rk"}]])},49409:()=>{},50839:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(95155),o=n(12115),i=n(29722),a=n(20256),u=n(15831),l=n(67645),s=n(52172);let c=(0,o.createContext)(null);class d{constructor({num:e,gen:t}){this.num=e,this.gen=t}toString(){let e=`${this.num}R`;return 0!==this.gen&&(e+=this.gen),e}}var f=n(41484);function p(e){let t=(0,o.useRef)(void 0),n=t.current;return(0,f.O9)(n)?()=>n:()=>{let n=e();return t.current=n,n}}var h=n(90840);function g(e){let t=(0,h.A)(),n=(0,o.useContext)(c);(0,l.A)(n,"Unable to find Outline context.");let{item:i,linkService:a,onItemClick:u,pdf:s,...f}={...t,...n,...e};(0,l.A)(s,"Attempted to load an outline, but no document was specified. Wrap <Outline /> in a <Document /> or pass explicit `pdf` prop.");let y=p(()=>"string"==typeof i.dest?s.getDestination(i.dest):i.dest),m=p(async()=>{let e=await y();if(!e)throw Error("Destination not found.");let[t]=e;return s.getPageIndex(new d(t))}),A=p(async()=>await m()+1);return(0,r.jsxs)("li",{children:[(0,r.jsx)("a",{href:"#",onClick:function(e){e.preventDefault(),(0,l.A)(u||a,"Either onItemClick callback or linkService must be defined in order to navigate to an outline item."),u?Promise.all([y(),m(),A()]).then(([e,t,n])=>{u({dest:e,pageIndex:t,pageNumber:n})}):a&&a.goToDestination(i.dest)},children:i.title}),function(){if(!i.items||!i.items.length)return null;let{items:e}=i;return(0,r.jsx)("ul",{children:e.map((e,t)=>(0,r.jsx)(g,{item:e,pdf:s,...f},"string"==typeof e.dest?e.dest:t))})}()]})}var y=n(11007);function m(e){let{className:t,inputRef:n,onItemClick:d,onLoadError:p,onLoadSuccess:m,pdf:A,...v}={...(0,h.A)(),...e};(0,l.A)(A,"Attempted to load an outline, but no document was specified. Wrap <Outline /> in a <Document /> or pass explicit `pdf` prop.");let[E,w]=(0,y.A)(),{value:x,error:b}=E;(0,o.useEffect)(function(){w({type:"RESET"})},[w,A]),(0,o.useEffect)(function(){if(!A)return;let e=(0,a.A)(A.getOutline());return e.promise.then(e=>{w({type:"RESOLVE",value:e})}).catch(e=>{w({type:"REJECT",error:e})}),()=>(0,f.xL)(e)},[w,A]),(0,o.useEffect)(()=>{if(void 0!==x){if(!1===x)return void(b&&(s(!1,b.toString()),p&&p(b)));void 0!==x&&!1!==x&&m&&m(x)}},[x]);let S=(0,o.useMemo)(()=>({onItemClick:d}),[d]),k=(0,o.useMemo)(()=>(0,u.Ay)(v,()=>x),[v,x]);return x?(0,r.jsx)("div",{className:(0,i.A)("react-pdf__Outline",t),ref:n,...k,children:(0,r.jsx)(c.Provider,{value:S,children:x?(0,r.jsx)("ul",{children:x.map((e,t)=>(0,r.jsx)(g,{item:e,pdf:A},"string"==typeof e.dest?e.dest:t))}):null})}):null}},50858:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(78340).A)("MousePointer2",[["path",{d:"M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z",key:"edeuup"}]])},52172:e=>{"use strict";e.exports=function(){}},55711:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(78340).A)("Undo2",[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]])},55923:()=>{},61742:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(78340).A)("Underline",[["path",{d:"M6 4v6a6 6 0 0 0 12 0V4",ke
1y:"9kb039"}],["line",{x1:"4",x2:"20",y1:"20",y2:"20",key:"nun2al"}]])},67370:(e,t,n)=>{"use strict";n.d(t,{A:()=>T});var r=n(95155),o=n(12115),i=n(29722),a=n(20256),u=n(15831);function l(){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){for(var t=0;t<n.length;t++){var r=n[t];"function"==typeof r?r(e):r&&(r.current=e)}}}var s=n(67645),c=n(52172),d=n(79130),f=n(66898),p=n(90840);let h=(0,o.createContext)(null);function g(){return(0,o.useContext)(h)}var y=n(11007),m=n(41484);function A(){let e=(0,p.A)(),t=g();(0,s.A)(t,"Unable to find Page context.");let{imageResourcesPath:n,linkService:u,onGetAnnotationsError:l,onGetAnnotationsSuccess:d,onRenderAnnotationLayerError:h,onRenderAnnotationLayerSuccess:A,page:v,pdf:E,renderForms:w,rotate:x,scale:b=1}={...e,...t};(0,s.A)(E,"Attempted to load page annotations, but no document was specified. Wrap <Page /> in a <Document /> or pass explicit `pdf` prop."),(0,s.A)(v,"Attempted to load page annotations, but no page was specified."),(0,s.A)(u,"Attempted to load page annotations, but no linkService was specified.");let[S,k]=(0,y.A)(),{value:L,error:R}=S,T=(0,o.useRef)(null);c(1===Number.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(){k({type:"RESET"})},[k,v]),(0,o.useEffect)(function(){if(!v)return;let e=(0,a.A)(v.getAnnotations());return e.promise.then(e=>{k({type:"RESOLVE",value:e})}).catch(e=>{k({type:"REJECT",error:e})}),()=>{(0,m.xL)(e)}},[k,v]),(0,o.useEffect)(()=>{if(void 0!==L){if(!1===L)return void(R&&(c(!1,R.toString()),l&&l(R)));L&&d&&d(L)}},[L]);let P=(0,o.useMemo)(()=>v.getViewport({scale:b,rotation:x}),[v,x,b]);return(0,o.useEffect)(function(){if(!E||!v||!u||!L)return;let{current:e}=T;if(!e)return;let t=P.clone({dontFlip:!0}),r={annotations:L,annotationStorage:E.annotationStorage,div:e,imageResourcesPath:n,linkService:u,page:v,renderForms:w,viewport:t};e.innerHTML="";try{new f.AnnotationLayer({accessibilityManager:null,annotationCanvasMap:null,annotationEditorUIManager:null,div:e,l10n:null,page:v,structTreeLayer:null,viewport:t}).render(r),A&&A()}catch(e){c(!1,`${e}`),h&&h(e)}return()=>{}},[L,n,u,v,E,w,P]),(0,r.jsx)("div",{className:(0,i.A)("react-pdf__Page__annotations","annotationLayer"),ref:T})}let v={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},E=/^H(\d+)$/;function w(e){return"children"in e}function x(e){return!!w(e)&&1===e.children.length&&0 in e.children&&"id"in e.children[0]}function b({className:e,node:t}){let n=(0,o.useMemo)(()=>t?{...function(e){let t={};if(w(e)){let{role:n}=e,r=n.match(E);if(r)t.role="heading",t["aria-level"]=Number(r[1]);else if(n in v){let e=v[n];e&&(t.role=e)}}return t}(t),...function e(t){let n={};if(w(t)){if(void 0!==t.alt&&(n["aria-label"]=t.alt),void 0!==t.lang&&(n.lang=t.lang),x(t)){let[r]=t.children;if(r){let t=e(r);return{...n,...t}}}}else"id"in t&&(n["aria-owns"]=t.id);return n}(t)}:null,[t]),i=(0,o.useMemo)(()=>!w(t)||x(t)?null:t.children.map((e,t)=>(0,r.jsx)(b,{node:e},t)),[t]);return(0,r.jsx)("span",{className:e,...n,children:i})}function S(){let e=g();(0,s.A)(e,"Unable to find Page context.");let{onGetStructTreeError:t,onGetStructTreeSuccess:n}=e,[i,u]=(0,y.A)(),{value:l,error:d}=i,{customTextRenderer:f,page:p}=e;return((0,o.useEffect)(function(){u({type:"RESET"})},[u,p]),(0,o.useEffect)(function(){if(f||!p)return;let e=(0,a.A)(p.getStructTree());return e.promise.then(e=>{u({type:"RESOLVE",value:e})}).catch(e=>{u({type:"REJECT",error:e})}),()=>(0,m.xL)(e)},[f,p,u]),(0,o.useEffect)(()=>
1{if(void 0!==l){if(!1===l)return void(d&&(c(!1,d.toString()),t&&t(d)));l&&n&&n(l)}},[l]),l)?(0,r.jsx)(b,{className:"react-pdf__Page__structTree structTree",node:l}):null}let k=f.AnnotationMode;function L(e){let t=g();(0,s.A)(t,"Unable to find Page context.");let{_className:n,canvasBackground:i,devicePixelRatio:a=(0,m.mZ)(),onRenderError:u,onRenderSuccess:d,page:f,renderForms:p,renderTextLayer:h,rotate:y,scale:A}={...t,...e},{canvasRef:v}=e;(0,s.A)(f,"Attempted to render page canvas, but no page was specified.");let E=(0,o.useRef)(null);function w(e){!(0,m.UT)(e)&&(c(!1,e.toString()),u&&u(e))}let x=(0,o.useMemo)(()=>f.getViewport({scale:A*a,rotation:y}),[a,f,y,A]),b=(0,o.useMemo)(()=>f.getViewport({scale:A,rotation:y}),[f,y,A]);(0,o.useEffect)(function(){if(!f)return;f.cleanup();let{current:e}=E;if(!e)return;e.width=x.width,e.height=x.height,e.style.width=`${Math.floor(b.width)}px`,e.style.height=`${Math.floor(b.height)}px`,e.style.visibility="hidden";let t={annotationMode:p?k.ENABLE_FORMS:k.ENABLE,canvasContext:e.getContext("2d",{alpha:!1}),viewport:x};i&&(t.background=i);let n=f.render(t);return n.promise.then(()=>{e.style.visibility="",f&&d&&d((0,m.vS)(f,A))}).catch(w),()=>(0,m.xL)(n)},[i,f,p,x,b]);let L=(0,o.useCallback)(()=>{let{current:e}=E;e&&(e.width=0,e.height=0)},[]);return(0,o.useEffect)(()=>L,[L]),(0,r.jsx)("canvas",{className:`${n}__canvas`,dir:"ltr",ref:l(v,E),style:{display:"block",userSelect:"none"},children:h?(0,r.jsx)(S,{}):null})}function R(){let e=g();(0,s.A)(e,"Unable to find Page context.");let{customTextRenderer:t,onGetTextError:n,onGetTextSuccess:u,onRenderTextLayerError:l,onRenderTextLayerSuccess:d,page:p,pageIndex:h,pageNumber:A,rotate:v,scale:E}=e;(0,s.A)(p,"Attempted to load page text content, but no page was specified.");let[w,x]=(0,y.A)(),{value:b,error:S}=w,k=(0,o.useRef)(null);c(1===Number.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(){x({type:"RESET"})},[p,x]),(0,o.useEffect)(function(){if(!p)return;let e=(0,a.A)(p.getTextContent());return e.promise.then(e=>{x({type:"RESOLVE",value:e})}).catch(e=>{x({type:"REJECT",error:e})}),()=>(0,m.xL)(e)},[p,x]),(0,o.useEffect)(()=>{if(void 0!==b){if(!1===b)return void(S&&(c(!1,S.toString()),n&&n(S)));b&&u&&u(b)}},[b]);let L=(0,o.useCallback)(()=>{d&&d()},[d]),R=(0,o.useCallback)(e=>{c(!1,e.toString()),l&&l(e)},[l]),T=(0,o.useMemo)(()=>p.getViewport({scale:E,rotation:v}),[p,v,E]);return(0,o.useLayoutEffect)(function(){if(!p||!b)return;let{current:e}=k;if(!e)return;e.innerHTML="";let n=p.streamTextContent({includeMarkedContent:!0}),r=new f.TextLayer({container:e,textContentSource:n,viewport:T});return r.render().then(()=>{let n=document.createElement("div");n.className="endOfContent",e.append(n);let r=e.querySelectorAll('[role="presentation"]');if(t){let e=0;b.items.forEach((n,o)=>{if(!("str"in n))return;let i=r[e];i&&(i.innerHTML=t({pageIndex:h,pageNumber:A,itemIndex:o,...n}),e+=n.str&&n.hasEOL?2:1)})}L()}).catch(R),()=>(0,m.xL)(r)},[t,R,L,p,h,A,b,T]),(0,r.jsx)("div",{className:(0,i.A)("react-pdf__Page__textContent","textLayer"),onMouseUp:function(){let e=k.current;e&&e.classList.remove("selecting")},onMouseDown:function(){let e=k.current;e&&e.classList.add("selecting")},ref:k})}function T(e){let{_className:t="react-pdf__Page",_enableRegisterUnregisterPage:n=!0,canvasBackground:f,canvasRef:g,children:v,className:E,customRenderer:w,customTextRenderer:x,devicePixelRatio:b,error:S="Failed to load the page.",height:k,inputRef:T,loading:P="Loading pageâ¦",noData:C="No page specified.",onGetAnnotationsError:M,onGetAnnotationsSuccess:D,onGetStructTreeError:j,onGetStructTreeSuccess:V,onGetTextError:O,onGetTextSuccess:_,onLoadError:H,onLoadSuccess:I,onRenderAnnotationLayerError:N,onRenderAnnotationLayerSuccess:F,onRenderError:U,onRenderSuccess:$,onRenderTextLayerError:z,onRenderTextLayerSuccess:B,pageIndex:G,pageNumber:q,pdf:W,registerPage:J,renderAnnotationLayer:K=!0,renderForms:Z=!1,renderMode:Y="canvas",renderTextLayer:Q=!0,rotate:X,scale:ee=1,unregisterPage:et,width:en,...er}={...(0,p.A)(),...e},[eo,ei]=(0,y.A)(),{value:ea,error:eu}=eo,el=(0,o.useRef)(null);(0,s.A)(W,"Attempted to load a page, but no document was specified. Wrap <Page /> in a <Document /> or pass explicit `pdf` prop.");let es=(0,m.ci)(q)?q-1:null!=G?G:null,ec=null!=q?q:(0,m.ci)(G)?G+1:null,ed=null!=X?X:ea?ea.rotate:null,ef=(0,o.useMemo)(()=>
1{if(!ea)return null;let e=1,t=null!=ee?ee:1;if(en||k){let t=ea.getViewport({scale:1,rotation:ed});en?e=en/t.width:k&&(e=k/t.height)}return t*e},[k,ea,ed,ee,en]);(0,o.useEffect)(function(){return()=>{(0,m.ci)(es)&&n&&et&&et(es)}},[n,W,es,et]),(0,o.useEffect)(function(){ei({type:"RESET"})},[ei,W,es]),(0,o.useEffect)(function(){if(!W||!ec)return;let e=(0,a.A)(W.getPage(ec));return e.promise.then(e=>{ei({type:"RESOLVE",value:e})}).catch(e=>{ei({type:"REJECT",error:e})}),()=>(0,m.xL)(e)},[ei,W,ec]),(0,o.useEffect)(()=>{if(void 0!==ea){if(!1===ea)return void(eu&&(c(!1,eu.toString()),H&&H(eu)));!function(){if(I){if(!ea||!ef)return;I((0,m.vS)(ea,ef))}if(n&&J){if(!(0,m.ci)(es)||!el.current)return;J(es,el.current)}}()}},[ea,ef]);let ep=(0,o.useMemo)(()=>(0,m.ci)(es)&&ec&&(0,m.ci)(ed)&&(0,m.ci)(ef)?{_className:t,canvasBackground:f,customTextRenderer:x,devicePixelRatio:b,onGetAnnotationsError:M,onGetAnnotationsSuccess:D,onGetStructTreeError:j,onGetStructTreeSuccess:V,onGetTextError:O,onGetTextSuccess:_,onRenderAnnotationLayerError:N,onRenderAnnotationLayerSuccess:F,onRenderError:U,onRenderSuccess:$,onRenderTextLayerError:z,onRenderTextLayerSuccess:B,page:ea,pageIndex:es,pageNumber:ec,renderForms:Z,renderTextLayer:Q,rotate:ed,scale:ef}:null,[t,f,x,b,M,D,j,V,O,_,N,F,U,$,z,B,ea,es,ec,Z,Q,ed,ef]),eh=(0,o.useMemo)(()=>(0,u.Ay)(er,()=>ea?ef?(0,m.vS)(ea,ef):void 0:ea),[er,ea,ef]),eg=`${es}@${ef}/${ed}`;return(0,r.jsx)("div",{className:(0,i.A)(t,E),"data-page-number":ec,ref:l(T,el),style:{"--scale-round-x":"1px","--scale-round-y":"1px","--scale-factor":"1","--user-unit":`${ef}`,"--total-scale-factor":"calc(var(--scale-factor) * var(--user-unit))",backgroundColor:f||"white",position:"relative",minWidth:"min-content",minHeight:"min-content"},...eh,children:function(){if(!ec)return(0,r.jsx)(d.A,{type:"no-data",children:"function"==typeof C?C():C});if(null===W||null==ea)return(0,r.jsx)(d.A,{type:"loading",children:"function"==typeof P?P():P});if(!1===W||!1===ea)return(0,r.jsx)(d.A,{type:"error",children:"function"==typeof S?S():S});if(!(null==ep?void 0:ep.page))throw Error("page is undefined");let e="function"==typeof v?v(ep):v;return(0,r.jsxs)(h.Provider,{value:ep,children:[function(){switch(Y){case"custom":return(0,s.A)(w,'renderMode was set to "custom", but no customRenderer was passed.'),(0,r.jsx)(w,{},`${eg}_custom`);case"none":return null;default:return(0,r.jsx)(L,{canvasRef:g},`${eg}_canvas`)}}(),Q?(0,r.jsx)(R,{},`${eg}_text`):null,K?(0,r.jsx)(A,{},`${eg}_annotations`):null,e]})}()})}},67645:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});function r(e,t){if(!e)throw Error("Invariant failed")}},76295:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(78340).A)("AlignLeft",[["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M17 18H3",key:"1amg6g"}],["path",{d:"M21 6H3",key:"1jwq7v"}]])},79130:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(95155);function o({children:e,type:t}){return(0,r.jsx)("div",{className:`react-pdf__message react-pdf__message--${t}`,children:e})}},82403:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(95155),o=n(12115),i=n(29722),a=Object.prototype.hasOwnProperty;function u(e,t,n){for(n of e.keys())if(l(n,t))return n}function l(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--&&l(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=u(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=u(t,o))||!l(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(a.call(e,n)&&++r&&!a.call(t,n)||!(n in t)||!l(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!=e&&t!=t}var s=n(20256),c=n(15831),d=n(66898),f=n(67645),p=n(52172),h=n(33941);class g{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,f.A)(this.pdfViewer,"PDF viewer is not initialized."),this.pdfViewer.currentPageNumber||0}set page(e){(0,f.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,f.A)(this.pdfDocument,"PDF document not loaded."),(0,f.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,f.A)(Array.isArray(e),`"${e}" is not a valid destination array.`);let t=e[0];new Promise(e=>{(0,f.A)(this.pdfDocument,"PDF document not loaded."),t instanceof Object?this.pdfDocument.getPageIndex(t).then(t=>{e(t)}).catch(()=>{(0,f.A)(!1,`"${t}" is not a valid page reference.`)}):"number"==typeof t?e(t):(0,f.A)(!1,`"${t}" is not a valid destination reference.`)}).then(t=>{let n=t+1;(0,f.A)(this.pdfViewer,"PDF viewer is not initialized."),(0,f.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,f.A)(this.pdfViewer,"PDF viewer is not initialized."),(0,f.A)(e>=1&&e<=this.pagesCount,`"${e}" is not a valid page number.`),this.pdfViewer.scrollPageIntoView({pageIndex:e-1,pageNumber:e})}
1addLinkAttributes(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(){}}var y=n(79130),m=n(11007),A=n(41484);let{PDFDataRangeTransport:v}=d,E=(e,t)=>{switch(t){case 1:e(prompt("Enter the password to open this PDF file."));break;case 2:e(prompt("Invalid password. Please try again."))}};function w(e){return"object"==typeof e&&null!==e&&("data"in e||"range"in e||"url"in e)}let x=(0,o.forwardRef)(function({children:e,className:t,error:n="Failed to load PDF file.",externalLinkRel:a,externalLinkTarget:u,file:x,inputRef:b,imageResourcesPath:S,loading:k="Loading PDFâ¦",noData:L="No PDF file specified.",onItemClick:R,onLoadError:T,onLoadProgress:P,onLoadSuccess:C,onPassword:M=E,onSourceError:D,onSourceSuccess:j,options:V,renderMode:O,rotate:_,scale:H,...I},N){let[F,U]=(0,m.A)(),{value:$,error:z}=F,[B,G]=(0,m.A)(),{value:q,error:W}=B,J=(0,o.useRef)(new g),K=(0,o.useRef)([]),Z=(0,o.useRef)(void 0),Y=(0,o.useRef)(void 0);x&&x!==Z.current&&w(x)&&(p(!l(x,Z.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.'),Z.current=x),V&&V!==Y.current&&(p(!l(V,Y.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.'),Y.current=V);let Q=(0,o.useRef)({scrollPageIntoView:e=>{let{dest:t,pageNumber:n,pageIndex:r=n-1}=e;if(R)return void R({dest:t,pageIndex:r,pageNumber:n});let o=K.current[r];o?o.scrollIntoView():p(!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> and handle navigating by yourself or ensure that all pages are rendered within <Document>.`)}});(0,o.useImperativeHandle)(N,()=>({linkService:J,pages:K,viewer:Q}),[]),(0,o.useEffect)(function(){U({type:"RESET"})},[x,U]);let X=(0,o.useCallback)(async()=>{if(!x)return null;if("string"==typeof x)return(0,A.zL)(x)?{data:(0,A.jA)(x)}:((0,A.qC)(),{url:x});if(x instanceof v)return{range:x};if((0,A.mw)(x))return{data:x};if(A.Bd&&(0,A.qf)(x))return{data:await (0,A.h1)(x)};if((0,f.A)("object"==typeof x,"Invalid parameter in file, need either Uint8Array, string or a parameter object"),(0,f.A)(w(x),"Invalid parameter object: need either .data, .range or .url"),"url"in x&&"string"==typeof x.url){if((0,A.zL)(x.url)){let{url:e,...t}=x;return{data:(0,A.jA)(e),...t}}(0,A.qC)()}return x},[x]);(0,o.useEffect)(()=>{let e=(0,s.A)(X());return e.promise.then(e=>{U({type:"RESOLVE",value:e})}).catch(e=>{U({type:"REJECT",error:e})}),()=>{(0,A.xL)(e)}},[X,U]),(0,o.useEffect)(()=>{if(void 0!==$){if(!1===$)return void(z&&(p(!1,z.toString()),D&&D(z)));j&&j()}},[$]),(0,o.useEffect)(function(){G({type:"RESET"})},[G,$]),(0,o.useEffect)(function(){if(!$)return;let e=V?{...$,...V}:$,t=d.getDocument(e);P&&(t.onProgress=P),M&&(t.onPassword=M);let n=t.promise.then(e=>{G({type:"RESOLVE",value:e})}).catch(e=>{t.destroyed||G({type:"REJECT",error:e})});return()=>{n.finally(()=>t.destroy())}},[V,G,$]),(0,o.useEffect)(()=>{if(void 0!==q){if(!1===q)return void(W&&(p(!1,W.toString()),T&&T(W)));q&&(C&&C(q),K.current=Array(q.numPages),J.current.setDocument(q))}},[q]),(0,o.useEffect)(function(){J.current.setViewer(Q.current),J.current.setExternalLinkRel(a),J.current.setExternalLinkTarget(u)},[a,u]);let ee=(0,o.useCallback)((e,t)=>{K.current[e]=t},[]),et=(0,o.useCallback)(e=>{delete K.current[e]},[]),en=(0,o.useMemo)(()=>({imageResourcesPath:S,linkService:J.current,onItemClick:R,pdf:q,registerPage:ee,renderMode:O,rotate:_,scale:H,unregisterPage:et}),[S,R,q,ee,O,_,H,et]),er=(0,o.useMemo)(()=>(0,c.Ay)(I,()=>q),[I,q]);return(0,r.jsx)("div",{className:(0,i.A)("react-pdf__Document",t),ref:b,...er,children:function(){if(!x)return(0,r.jsx)(y.A,{type:"no-data",children:"function"==typeof L?L():L});if(null==q)return(0,r.jsx)(y.A,{type:"loading",children:"function"==typeof k?k():k});if(!1===q)return(0,r.jsx)(y.A,{type:"error",children:"function"==typeof n?n():n});if(!(null==en?void 0:en.pdf))throw Error("pdf is undefined");let t="function"==typeof e?e(en):e;return(0,r.jsx)(h.A.Provider,{value:en,children:t})}()})})},83931:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(78340).A)("PanelsTopLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]])},90840:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(12115),o=n(33941);function i(){return(0,r.useContext)(o.A)}},92669:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(78340).A)("Bold",[["path",{d:"M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",key:"mg9rjx"}]])},96035:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(78340).A)("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]])}}]);
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.