1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1385],{9612:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6029);function o({children:e,type:t}){return(0,r.jsx)("div",{className:`react-pdf__message react-pdf__message--${t}`,children:e})}},10922:(e,t,n)=>{"use strict";n.d(t,{Bd:()=>i,UT:()=>m,ci:()=>s,h1:()=>y,jA:()=>d,mZ:()=>f,mw:()=>u,qC:()=>p,qf:()=>c,vS:()=>h,xL:()=>g,zL:()=>l});var r=n(73403),o=n(16558);let i="undefined"!=typeof window,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){(null==e?void 0: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 m(e){return"RenderingCancelledException"===e.name}function y(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)})}},11040:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(6029),o=n(55729),i=n(59837),a=n(26446),s=n(50212),u=n(73403),c=n(16558),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(53624),g=n(47859),h=n(9612);class m{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 y={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};var v=n(10922),E=n(16237),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{Tm:b}=p,w=(e,t)=>{switch(t){case y.NEED_PASSWORD:e(prompt("Enter the password to open this PDF file."));break;case y.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 x=(0,o.forwardRef)(function(e,t){var{children:n,className:l,error:d="Failed to load PDF file.",externalLinkRel:y,externalLinkTarget:x,file:R,inputRef:P,imageResourcesPath:L,loading:T="Loading PDFâ¦",noData:C="No PDF file specified.",onItemClick:D,onLoadError:j,onLoadProgress:k,onLoadSuccess:O,onPassword:M=w,onSourceError:_,onSourceSuccess:N,options:I,renderMode:V,rotate:F}=e,G=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,E.A)(),{value:B,error:H}=U,[z,W]=(0,E.A)(),{value:q,error:J}=z,K=(0,o.useRef)(new m),Y=(0,o.useRef)([]),Z=(0,o.useRef)(void 0),Q=(0,o.useRef)(void 0);R&&R!==Z.current&&S(R)&&(c(!f(R,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=R),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(D)return void D({dest:t,pageIndex:r,pageNumber:n});let o=Y.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:Y,viewer:X}),[]),(0,o.useEffect)(function(){$({type:"RESET"})},[R,$]);let ee=(0,o.useCallback)(()=>{var e,t,n,r;return e=this,t=void 0,n=void 0,r=function*(){if(!R)return null;if("string"==typeof R)return(0,v.zL)(R)?{data:(0,v.jA)(R)}:((0,v.qC)(),{url:R});if(R instanceof b)return{range:R};if((0,v.mw)(R))return{data:R};if(v.Bd&&(0,v.qf)(R))return{data:yield(0,v.h1)(R)};if((0,u.A)("object"==typeof R,"Invalid parameter in file, need either Uint8Array, string or a parameter object"),(0,u.A)(S(R),"Invalid parameter object: need either .data, .range or .url"),"url"in R&&"string"==typeof R.url){if((0,v.zL)(R.url)){let{url:e}=R,t=A(R,["url"]);return Object.assign({data:(0,v.jA)(e)},t)}(0,v.qC)()}return R},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())})},[R]);(0,o.useEffect)(()=>{let e=(0,a.A)(ee());return e.promise.then(e=>{$({type:"RESOLVE",value:e})}).catch(e=>{$({type:"REJECT",error:e})}),()=>{(0,v.xL)(e)}},[ee,$]),(0,o.useEffect)(()=>{if(void 0!==B){if(!1===B)return void(H&&(c(!1,H.toString()),_&&_(H)));N&&N()}},[B]),(0,o.useEffect)(function(){W({type:"RESET"})},[W,B]),(0,o.useEffect)(function(){if(!B)return;let e=I?Object.assign(Object.assign({},B),I):B,t=p.YE(e);k&&(t.onProgress=k),M&&(t.onPassword=M);let n=t.promise.then(e=>{W({type:"RESOLVE",value:e})}).catch(e=>{t.destroyed||W({type:"REJECT",error:e})});return()=>{n.finally(()=>t.destroy())}},[I,W,B]),(0,o.useEffect)(()=>{if(void 0!==q){if(!1===q)return void(J&&(c(!1,J.toString()),j&&j(J)));q&&(O&&O(q),Y.current=Array(q.numPages),K.current.setDocument(q))}},[q]),(0,o.useEffect)(function(){K.current.setViewer(X.current),K.current.setExternalLinkRel(y),K.current.setExternalLinkTarget(x)},[y,x]);let et=(0,o.useCallback)((e,t)=>{Y.current[e]=t},[]),en=(0,o.useCallback)(e=>{delete Y.current[e]},[]),er=(0,o.useMemo)(()=>({imageResourcesPath:L,linkService:K.current,onItemClick:D,pdf:q,registerPage:et,renderMode:V,rotate:F,unregisterPage:en}),[L,D,q,et,V,F,en]),eo=(0,o.useMemo)(()=>(0,i.Ay)(G,()=>q),[G,q]);return(0,r.jsx)("div",Object.assign({className:(0,s.A)("react-pdf__Document",l),ref:P,style:{"--scale-factor":"1"}},eo,{children:R?null==q?(0,r.jsx)(h.A,{type:"loading",children:"function"==typeof T?T():T}):!1===q?(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 C?C():C})}))})},15286:(e,t,n)=>{"use strict";n.d(t,{A:()=>D});var r=n(6029),o=n(55729),i=n(26446),a=n(59837),s=n(50212);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(73403),l=n(16558);let d=(0,o.createContext)(null);var f=n(9612),p=n(53624);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 m(e){return"children"in e}function y(e){return!!m(e)&&1===e.children.length&&0 in e.children&&"id"in e.children[0]}function v({className:e,node:t}){let n=(0,o.useMemo)(()=>t?Object.assign(Object.assign({},function(e){let t={};if(m(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(m(t)){if(void 0!==t.alt&&(n["aria-label"]=t.alt),void 0!==t.lang&&(n.lang=t.lang),y(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)(()=>!m(t)||y(t)?null:t.children.map((e,t)=>(0,r.jsx)(v,{node:e},t)),[t]);return(0,r.jsx)("span",Object.assign({className:e},n,{children:i}))}function E(){return(0,o.useContext)(d)}var A=n(16237),b=n(10922);function w(){let e=E();(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)(v,{className:"react-pdf__Page__structTree structTree",node:u}):null}let S=p.ng;function x(e){let t=E();(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:m}=Object.assign(Object.assign({},t),e),{canvasRef:y}=e;(0,c.A)(f,"Attempted to render page canvas, but no page was specified.");let v=(0,o.useRef)(null);function A(e){!(0,b.UT)(e)&&(l(!1,e.toString()),s&&s(e))}let x=(0,o.useMemo)(()=>f.getViewport({scale:m*a,rotation:h}),[a,f,h,m]),R=(0,o.useMemo)(()=>f.getViewport({scale:m,rotation:h}),[f,h,m]);(0,o.useEffect)(function(){if(!f)return;f.cleanup();let{current:e}=v;if(!e)return;e.width=x.width,e.height=x.height,e.style.width=`${Math.floor(R.width)}px`,e.style.height=`${Math.floor(R.height)}px`,e.style.visibility="hidden";let t={annotationMode:p?S.ENABLE_FORMS:S.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,b.vS)(f,m))}).catch(A),()=>(0,b.xL)(n)},[i,f,p,x,R]);let P=(0,o.useCallback)(()=>{let{current:e}=v;e&&(e.width=0,e.height=0)},[]);return(0,o.useEffect)(()=>P,[P]),(0,r.jsx)("canvas",{className:`${n}__canvas`,dir:"ltr",ref:u(y,v),style:{display:"block",userSelect:"none"},children:g?(0,r.jsx)(w,{}):null})}function R(){let e=E();(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:m,scale:y}=e;(0,c.A)(f,"Attempted to load page text content, but no page was specified.");let[v,w]=(0,A.A)(),{value:S,error:x}=v,R=(0,o.useRef)(null);l(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(){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(x&&(l(!1,x.toString()),n&&n(x)));S&&a&&a(S)}},[S]);let P=(0,o.useCallback)(()=>{d&&d()},[d]),L=(0,o.useCallback)(e=>{l(!1,e.toString()),u&&u(e)},[u]),T=(0,o.useMemo)(()=>f.getViewport({scale:y,rotation:m}),[f,m,y]);return(0,o.useLayoutEffect)(function(){if(!f||!S)return;let{current:e}=R;if(!e)return;e.innerHTML="";let n=f.streamTextContent({includeMarkedContent:!0}),r=new p.D6({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;S.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)})}P()}).catch(L),()=>(0,b.xL)(r)},[t,L,P,f,g,h,S,T]),(0,r.jsx)("div",{className:(0,s.A)("react-pdf__Page__textContent","textLayer"),onMouseUp:function(){let e=R.current;e&&e.classList.remove("selecting")},onMouseDown:function(){let e=R.current;e&&e.classList.add("selecting")},ref:R})}var P=n(47859);function L(){return(0,o.useContext)(P.A)}function T(){let e=L(),t=E();(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:m,renderForms:y,rotate:v,scale:w=1}=Object.assign(Object.assign({},e),t);(0,c.A)(m,"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,x]=(0,A.A)(),{value:R,error:P}=S,T=(0,o.useRef)(null);l(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(){x({type:"RESET"})},[x,h]),(0,o.useEffect)(function(){if(!h)return;let e=(0,i.A)(h.getAnnotations());return e.promise.then(e=>{x({type:"RESOLVE",value:e})}).catch(e=>{x({type:"REJECT",error:e})}),()=>{(0,b.xL)(e)}},[x,h]),(0,o.useEffect)(()=>
1{if(void 0!==R){if(!1===R)return void(P&&(l(!1,P.toString()),u&&u(P)));R&&d&&d(R)}},[R]);let C=(0,o.useMemo)(()=>h.getViewport({scale:w,rotation:v}),[h,v,w]);return(0,o.useEffect)(function(){if(!m||!h||!a||!R)return;let{current:e}=T;if(!e)return;let t=C.clone({dontFlip:!0}),r={annotations:R,annotationStorage:m.annotationStorage,div:e,imageResourcesPath:n,linkService:a,page:h,renderForms:y,viewport:t};e.innerHTML="";try{new p.dU({accessibilityManager:null,annotationCanvasMap:null,annotationEditorUIManager:null,div:e,l10n:null,page:h,structTreeLayer:null,viewport:t}).render(r),g&&g()}catch(e){l(!1,`${e}`),f&&f(e)}return()=>{}},[R,n,a,h,m,y,C]),(0,r.jsx)("div",{className:(0,s.A)("react-pdf__Page__annotations","annotationLayer"),ref:T})}var C=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 D(e){let t=Object.assign(Object.assign({},L()),e),{_className:n="react-pdf__Page",_enableRegisterUnregisterPage:p=!0,canvasBackground:g,canvasRef:h,children:m,className:y,customRenderer:v,customTextRenderer:E,devicePixelRatio:w,error:S="Failed to load the page.",height:P,inputRef:D,loading:j="Loading pageâ¦",noData:k="No page specified.",onGetAnnotationsError:O,onGetAnnotationsSuccess:M,onGetStructTreeError:_,onGetStructTreeSuccess:N,onGetTextError:I,onGetTextSuccess:V,onLoadError:F,onLoadSuccess:G,onRenderAnnotationLayerError:U,onRenderAnnotationLayerSuccess:$,onRenderError:B,onRenderSuccess:H,onRenderTextLayerError:z,onRenderTextLayerSuccess:W,pageIndex:q,pageNumber:J,pdf:K,registerPage:Y,renderAnnotationLayer:Z=!0,renderForms:Q=!1,renderMode:X="canvas",renderTextLayer:ee=!0,rotate:et,scale:en=1,unregisterPage:er,width:eo}=t,ei=C(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"]),[ea,es]=(0,A.A)(),{value:eu,error:ec}=ea,el=(0,o.useRef)(null);(0,c.A)(K,"Attempted to load a page, but no document was specified. Wrap <Page /> in a <Document /> or pass explicit `pdf` prop.");let ed=(0,b.ci)(J)?J-1:null!=q?q:null,ef=null!=J?J:(0,b.ci)(q)?q+1:null,ep=null!=et?et:eu?eu.rotate:null,eg=(0,o.useMemo)(()=>{if(!eu)return null;let e=1,t=null!=en?en:1;if(eo||P){let t=eu.getViewport({scale:1,rotation:ep});eo?e=eo/t.width:P&&(e=P/t.height)}return t*e},[P,eu,ep,en,eo]);(0,o.useEffect)(function(){return()=>{(0,b.ci)(ed)&&p&&er&&er(ed)}},[p,K,ed,er]),(0,o.useEffect)(function(){es({type:"RESET"})},[es,K,ed]),(0,o.useEffect)(function(){if(!K||!ef)return;let e=(0,i.A)(K.getPage(ef));return e.promise.then(e=>{es({type:"RESOLVE",value:e})}).catch(e=>{es({type:"REJECT",error:e})}),()=>(0,b.xL)(e)},[es,K,ef]),(0,o.useEffect)(()=>{if(void 0!==eu){if(!1===eu)return void(ec&&(l(!1,ec.toString()),F&&F(ec)));!function(){if(G){if(!eu||!eg)return;G((0,b.vS)(eu,eg))}if(p&&Y){if(!(0,b.ci)(ed)||!el.current)return;Y(ed,el.current)}}()}},[eu,eg]);let eh=(0,o.useMemo)(()=>eu&&(0,b.ci)(ed)&&ef&&(0,b.ci)(ep)&&(0,b.ci)(eg)?{_className:n,canvasBackground:g,customTextRenderer:E,devicePixelRatio:w,onGetAnnotationsError:O,onGetAnnotationsSuccess:M,onGetStructTreeError:_,onGetStructTreeSuccess:N,onGetTextError:I,onGetTextSuccess:V,onRenderAnnotationLayerError:U,onRenderAnnotationLayerSuccess:$,onRenderError:B,onRenderSuccess:H,onRenderTextLayerError:z,onRenderTextLayerSuccess:W,page:eu,pageIndex:ed,pageNumber:ef,renderForms:Q,renderTextLayer:ee,rotate:ep,scale:eg}:null,[n,g,E,w,O,M,_,N,I,V,U,$,B,H,z,W,eu,ed,ef,Q,ee,ep,eg]),em=(0,o.useMemo)(()=>(0,a.Ay)(ei,()=>eu?eg?(0,b.vS)(eu,eg):void 0:eu),[ei,eu,eg]),ey=`${ed}@${eg}/${ep}`;return(0,r.jsx)("div",Object.assign({className:(0,s.A)(n,y),"data-page-number":ef,ref:u(D,el),style:{"--scale-factor":`${eg}`,backgroundColor:g||"white",position:"relative",minWidth:"min-content",minHeight:"min-content"}},em,{children:ef?null===K||null==eu?(0,r.jsx)(f.A,{type:"loading",children:"function"==typeof j?j():j}):!1===K||!1===eu?(0,r.jsx)(f.A,{type:"error",children:"function"==typeof S?S():S}):(0,r.jsxs)(d.Provider,{value:eh,children:[function(){switch(X){case"custom"
1:return(0,c.A)(v,'renderMode was set to "custom", but no customRenderer was passed.'),(0,r.jsx)(v,{},`${ey}_custom`);case"none":return null;default:return(0,r.jsx)(x,{canvasRef:h},`${ey}_canvas`)}}(),ee?(0,r.jsx)(R,{},`${ey}_text`):null,Z?(0,r.jsx)(T,{},`${ey}_annotations`):null,m]}):(0,r.jsx)(f.A,{type:"no-data",children:"function"==typeof k?k():k})}))}},16237:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(55729);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})}},16558:e=>{"use strict";e.exports=function(){}},26446:(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})},38659:()=>{},47859:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(55729).createContext)(null)},59837:(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}},72517:(e,t,n)=>{"use strict";let r,o,i,a;n.d(t,{A:()=>j});var s=n(85966),u=n(1983),c=n(99410),l=n(55729),d=n(50212),f=n(17582),p=n(83004),g=n(22266),h=n(49467),m=n(1686),y=n(16492),v=n(46720);function E(e){return(0,v.Ay)("MuiCircularProgress",e)}(0,y.A)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var A=n(6029);function b(){let e=(0,s._)(["\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n"]);return b=function(){return e},e}function w(){let e=(0,s._)(["\n 0% {\n stroke-dasharray: 1px, 200px;\n stroke-dashoffset: 0;\n }\n\n 50% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -15px;\n }\n\n 100% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -125px;\n }\n"]);return w=function(){return e},e}function S(){let e=(0,s._)(["\n animation: "," 1.4s linear infinite;\n "]);return S=function(){return e},e}function x(){let e=(0,s._)(["\n animation: "," 1.4s ease-in-out infinite;\n "]);return x=function(){return e},e}let R=["className","color","disableShrink","size","style","thickness","value","variant"],P=(0,p.i7)(r||(r=b())),L=(0,p.i7)(o||(o=w())),T=(0,m.Ay)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t["color".concat((0,g.A)(n.color))]]}})(e=>{let{ownerState:t,theme:n}=e;
1return(0,c.A)({display:"inline-block"},"determinate"===t.variant&&{transition:n.transitions.create("transform")},"inherit"!==t.color&&{color:(n.vars||n).palette[t.color].main})},e=>{let{ownerState:t}=e;return"indeterminate"===t.variant&&(0,p.AH)(i||(i=S()),P)}),C=(0,m.Ay)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),D=(0,m.Ay)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.circle,t["circle".concat((0,g.A)(n.variant))],n.disableShrink&&t.circleDisableShrink]}})(e=>{let{ownerState:t,theme:n}=e;return(0,c.A)({stroke:"currentColor"},"determinate"===t.variant&&{transition:n.transitions.create("stroke-dashoffset")},"indeterminate"===t.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})},e=>{let{ownerState:t}=e;return"indeterminate"===t.variant&&!t.disableShrink&&(0,p.AH)(a||(a=x()),L)}),j=l.forwardRef(function(e,t){let n=(0,h.b)({props:e,name:"MuiCircularProgress"}),{className:r,color:o="primary",disableShrink:i=!1,size:a=40,style:s,thickness:l=3.6,value:p=0,variant:m="indeterminate"}=n,y=(0,u.A)(n,R),v=(0,c.A)({},n,{color:o,disableShrink:i,size:a,thickness:l,value:p,variant:m}),b=(e=>{let{classes:t,variant:n,color:r,disableShrink:o}=e,i={root:["root",n,"color".concat((0,g.A)(r))],svg:["svg"],circle:["circle","circle".concat((0,g.A)(n)),o&&"circleDisableShrink"]};return(0,f.A)(i,E,t)})(v),w={},S={},x={};if("determinate"===m){let e=2*Math.PI*((44-l)/2);w.strokeDasharray=e.toFixed(3),x["aria-valuenow"]=Math.round(p),w.strokeDashoffset="".concat(((100-p)/100*e).toFixed(3),"px"),S.transform="rotate(-90deg)"}return(0,A.jsx)(T,(0,c.A)({className:(0,d.A)(b.root,r),style:(0,c.A)({width:a,height:a},S,s),ownerState:v,ref:t,role:"progressbar"},x,y,{children:(0,A.jsx)(C,{className:b.svg,ownerState:v,viewBox:"".concat(22," ").concat(22," ").concat(44," ").concat(44),children:(0,A.jsx)(D,{className:b.circle,style:w,ownerState:v,cx:44,cy:44,r:(44-l)/2,fill:"none",strokeWidth:l})})}))})},73403:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});function r(e,t){if(!e)throw Error("Invariant failed")}},76357:()=>{}}]); 2//# sourceMappingURL=1385.f83838e463e7696c.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.