PageSourceSearch

https://booking.healthtracka.com/_next/static/chunks/3448.222e74c7bf7a9b36.js

js healthtracka.com collected 2026-10-01 15:12:55 UTC 25,480 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3448],{35556:function(e){"use strict";e.exports=function(){}},95152:function(){},381:function(){},53109:function(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,{Z:function(){return r}})},54317:function(e,t,n){"use strict";n.d(t,{ZP:function(){return 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}},67245:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var r=n(57437),o=n(2265),i=n(54317),a=n(53109),u=n(44839),c=n(59811),s=n(35556),l=Object.prototype.hasOwnProperty;function f(e,t,n){for(n of e.keys())if(d(n,t))return n}function d(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--&&d(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=f(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=f(t,o))||!d(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)||!d(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!=e&&t!=t}var p=n(90971),g=n(28852),h=n(66921);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,c.Z)(this.pdfViewer,"PDF viewer is not initialized."),this.pdfViewer.currentPageNumber||0}set page(e){(0,c.Z)(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,c.Z)(this.pdfDocument,"PDF document not loaded."),(0,c.Z)(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,c.Z)(Array.isArray(e),`"${e}" is not a valid destination array.`);let t=e[0];new Promise(e=>{(0,c.Z)(this.pdfDocument,"PDF document not loaded."),t instanceof Object?this.pdfDocument.getPageIndex(t).then(t=>{e(t)}).catch(()=>{(0,c.Z)(!1,`"${t}" is not a valid page reference.`)}):"number"==typeof t?e(t):(0,c.Z)(!1,`"${t}" is not a valid destination reference.`)}).then(t=>{let n=t+1;(0,c.Z)(this.pdfViewer,"PDF viewer is not initialized."),(0,c.Z)(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,c.Z)(this.pdfViewer,"PDF viewer is not initialized."),(0,c.Z)(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 E={NEED_PASSWORD:1,INCORRECT_PASSWORD:2},m=n(47790),v=n(31906),b=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:w}=p,S=(e,t)=>{switch(t){case E.NEED_PASSWORD:e(prompt("Enter the password to open this PDF file."));break;case E.INCORRECT_PASSWORD:e(prompt("Invalid password. Please try again."))}};function R(e){return"object"==typeof e&&null!==e&&("data"in e||"range"in e||"url"in e)}var P=(0,o.forwardRef)(function(e,t){var{children:n,className:l,error:f="Failed to load PDF file.",externalLinkRel:E,externalLinkTarget:P,file:T,inputRef:x,imageResourcesPath:L,loading:O="Loading PDF…",noData:j="No PDF file specified.",onItemClick:C,onLoadError:D,onLoadProgress:Z,onLoadSuccess:A,onPassword:k=S,onSourceError:_,onSourceSuccess:M,options:N,renderMode:V,rotate:I}=e,F=b(e,["children","className","error","externalLinkRel","externalLinkTarget","file","inputRef","imageResourcesPath","loading","noData","onItemClick","onLoadError","onLoadProgress","onLoadSuccess","onPassword","onSourceError","onSourceSuccess","options","renderMode","rotate"]);let[G,U]=(0,v.Z)(),{value:J,error:B}=G,[H,W]=(0,v.Z)(),{value:z,error:$}=H,X=(0,o.useRef)(new y),q=(0,o.useRef)([]),K=(0,o.useRef)(void 0),Y=(0,o.useRef)(void 0);T&&T!==K.current&&R(T)&&(s(!d(T,K.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.'),K.current=T),N&&N!==Y.current&&(s(!d(N,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=N);let Q=(0,o.useRef)({scrollPageIntoView:e=>{let{dest:t,pageNumber:n,pageIndex:r=n-1}=e;if(C){C({dest:t,pageIndex:r,pageNumber:n});return}let o=q.current[r];if(o){o.scrollIntoView();return}s(!1,"An internal link leading to page ".concat(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)(t,()=>({linkService:X,pages:q,viewer:Q}),[]),(0,o.useEffect)(function(){U({type:"RESET"})},[T,U]);let ee=(0,o.useCallback)(()=>{var e,t,n,r;return e=this,t=void 0,n=void 0,r=function*(){if(!T)return null;if("string"==typeof T)return(0,m.gJ)(T)?{data:(0,m.us)(T)}:((0,m.tN)(),{url:T});if(T instanceof w)return{range:T};if((0,m.eP)(T))return{data:T};if(m.jU&&(0,m.Lj)(T))return{data:yield(0,m.eR)(T)};if((0,c.Z)("object"==typeof T,"Invalid parameter in file, need either Uint8Array, string or a parameter object"),(0,c.Z)(R(T),"Invalid parameter object: need either .data, .range or .url"),"url"in T&&"string"==typeof T.url){if((0,m.gJ)(T.url)){let{url:e}=T,t=b(T,["url"]);return Object.assign({data:(0,m.us)(e)},t)}(0,m.tN)()}return T},new(n||(n=Promise))(function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function u(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,u)}c((r=r.apply(e,t||[])).next())})},[T]);(0,o.useEffect)(()=>{let e=(0,a.Z)(ee());return e.promise.then(e=>{U({type:"RESOLVE",value:e})}).catch(e=>{U({type:"REJECT",error:e})}),()=>{(0,m.LJ)(e)}},[ee,U]),(0,o.useEffect)(()=>{if(void 0!==J){if(!1===J){B&&(s(!1,B.toString()),_&&_(B));return}M&&M()}},[J]),(0,o.useEffect)(function(){W({type:"RESET"})},[W,J]),(0,o.useEffect)(function(){if(!J)return;let e=N?Object.assign(Object.assign({},J),N):J,t=p.Me(e);Z&&(t.onProgress=Z),k&&(t.onPassword=k);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())}},[N,W,J]),(0,o.useEffect)(()=>
1{if(void 0!==z){if(!1===z){$&&(s(!1,$.toString()),D&&D($));return}z&&(A&&A(z),q.current=Array(z.numPages),X.current.setDocument(z))}},[z]),(0,o.useEffect)(function(){X.current.setViewer(Q.current),X.current.setExternalLinkRel(E),X.current.setExternalLinkTarget(P)},[E,P]);let et=(0,o.useCallback)((e,t)=>{q.current[e]=t},[]),en=(0,o.useCallback)(e=>{delete q.current[e]},[]),er=(0,o.useMemo)(()=>({imageResourcesPath:L,linkService:X.current,onItemClick:C,pdf:z,registerPage:et,renderMode:V,rotate:I,unregisterPage:en}),[L,C,z,et,V,I,en]),eo=(0,o.useMemo)(()=>(0,i.ZP)(F,()=>z),[F,z]);return(0,r.jsx)("div",Object.assign({className:(0,u.Z)("react-pdf__Document",l),ref:x,style:{"--scale-factor":"1"}},eo,{children:T?null==z?(0,r.jsx)(h.Z,{type:"loading",children:"function"==typeof O?O():O}):!1===z?(0,r.jsx)(h.Z,{type:"error",children:"function"==typeof f?f():f}):(0,r.jsx)(g.Z.Provider,{value:er,children:n}):(0,r.jsx)(h.Z,{type:"no-data",children:"function"==typeof j?j():j})}))})},28852:function(e,t,n){"use strict";let r=(0,n(2265).createContext)(null);t.Z=r},66921:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(57437);function o({children:e,type:t}){return(0,r.jsx)("div",{className:`react-pdf__message react-pdf__message--${t}`,children:e})}},82067:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r=n(57437),o=n(2265),i=n(53109),a=n(54317),u=n(44839);function c(){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 s=n(59811),l=n(35556);let f=(0,o.createContext)(null);var d=n(66921),p=n(90971);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 E(e){return!!y(e)&&1===e.children.length&&0 in e.children&&"id"in e.children[0]}function m({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),E(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)||E(t)?null:t.children.map((e,t)=>(0,r.jsx)(m,{node:e},t)),[t]);return(0,r.jsx)("span",Object.assign({className:e},n,{children:i}))}function v(){return(0,o.useContext)(f)}var b=n(31906),w=n(47790);function S(){let e=v();(0,s.Z)(e,"Unable to find Page context.");let{onGetStructTreeError:t,onGetStructTreeSuccess:n}=e,[a,u]=(0,b.Z)(),{value:c,error:f}=a,{customTextRenderer:d,page:p}=e;return((0,o.useEffect)(function(){u({type:"RESET"})},[u,p]),(0,o.useEffect)(function(){if(d||!p)return;let e=(0,i.Z)(p.getStructTree());return e.promise.then(e=>{u({type:"RESOLVE",value:e})}).catch(e=>{u({type:"REJECT",error:e})}),()=>(0,w.LJ)(e)},[d,p,u]),(0,o.useEffect)(()=>{if(void 0!==c){if(!1===c){f&&(l(!1,f.toString()),t&&t(f));return}c&&n&&n(c)}},[c]),c)?(0,r.jsx)(m,{className:"react-pdf__Page__structTree structTree",node:c}):null}let R=p.bM;function P(e){let t=v();(0,s.Z)(t,"Unable to find Page context.");let{_className:n,canvasBackground:i,devicePixelRatio:a=(0,w.x_)(),onRenderError:u,onRenderSuccess:f,page:d,renderForms:p,renderTextLayer:g,rotate:h,scale:y}=Object.assign(Object.assign({},t),e),{canvasRef:E}=e;(0,s.Z)(d,"Attempted to render page canvas, but no page was specified.");let m=(0,o.useRef)(null);function b(e){!(0,w.DE)(e)&&(l(!1,e.toString()),u&&u(e))}let P=(0,o.useMemo)(()=>d.getViewport({scale:y*a,rotation:h}),[a,d,h,y]),T=(0,o.useMemo)(()=>d.getViewport({scale:y,rotation:h}),[d,h,y]);(0,o.useEffect)(function(){if(!d)return;d.cleanup();let{current:e}=m;if(!e)return;e.width=P.width,e.height=P.height,e.style.width="".concat(Math.floor(T.width),"px"),e.style.height="".concat(Math.floor(T.height),"px"),e.style.visibility="hidden";let t={annotationMode:p?R.ENABLE_FORMS:R.ENABLE,canvasContext:e.getContext("2d",{alpha:!1}),viewport:P};i&&(t.background=i);let n=d.render(t);return n.promise.then(()=>{e.style.visibility="",d&&f&&f((0,w.XZ)(d,y))}).catch(b),()=>(0,w.LJ)(n)},[i,d,p,P,T]);let x=(0,o.useCallback)(()=>{let{current:e}=m;e&&(e.width=0,e.height=0)},[]);return(0,o.useEffect)(()=>x,[x]),(0,r.jsx)("canvas",{className:"".concat(n,"__canvas"),dir:"ltr",ref:c(E,m),style:{display:"block",userSelect:"none"},children:g?(0,r.jsx)(S,{}):null})}function T(){let e=v();(0,s.Z)(e,"Unable to find Page context.");let{customTextRenderer:t,onGetTextError:n,onGetTextSuccess:a,onRenderTextLayerError:c,onRenderTextLayerSuccess:f,page:d,pageIndex:g,pageNumber:h,rotate:y,scale:E}=e;(0,s.Z)(d,"Attempted to load page text content, but no page was specified.");let[m,S]=(0,b.Z)(),{value:R,error:P}=m,T=(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(){S({type:"RESET"})},[d,S]),(0,o.useEffect)(function(){if(!d)return;let e=(0,i.Z)(d.getTextContent());return e.promise.then(e=>{S({type:"RESOLVE",value:e})}).catch(e=>{S({type:"REJECT",error:e})}),()=>(0,w.LJ)(e)},[d,S]),(0,o.useEffect)(()=>
1{if(void 0!==R){if(!1===R){P&&(l(!1,P.toString()),n&&n(P));return}R&&a&&a(R)}},[R]);let x=(0,o.useCallback)(()=>{f&&f()},[f]),L=(0,o.useCallback)(e=>{l(!1,e.toString()),c&&c(e)},[c]),O=(0,o.useMemo)(()=>d.getViewport({scale:E,rotation:y}),[d,y,E]);return(0,o.useLayoutEffect)(function(){if(!d||!R)return;let{current:e}=T;if(!e)return;e.innerHTML="";let n=d.streamTextContent({includeMarkedContent:!0}),r=new p.AB({container:e,textContentSource:n,viewport:O});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;R.items.forEach((n,o)=>{if(!("str"in n))return;let i=r[e];if(!i)return;let a=t(Object.assign({pageIndex:g,pageNumber:h,itemIndex:o},n));i.innerHTML=a,e+=n.str&&n.hasEOL?2:1})}x()}).catch(L),()=>(0,w.LJ)(r)},[t,L,x,d,g,h,R,O]),(0,r.jsx)("div",{className:(0,u.Z)("react-pdf__Page__textContent","textLayer"),onMouseUp:function(){let e=T.current;e&&e.classList.remove("selecting")},onMouseDown:function(){let e=T.current;e&&e.classList.add("selecting")},ref:T})}var x=n(28852);function L(){return(0,o.useContext)(x.Z)}function O(){let e=L(),t=v();(0,s.Z)(t,"Unable to find Page context.");let{imageResourcesPath:n,linkService:a,onGetAnnotationsError:c,onGetAnnotationsSuccess:f,onRenderAnnotationLayerError:d,onRenderAnnotationLayerSuccess:g,page:h,pdf:y,renderForms:E,rotate:m,scale:S=1}=Object.assign(Object.assign({},e),t);(0,s.Z)(y,"Attempted to load page annotations, but no document was specified. Wrap <Page /> in a <Document /> or pass explicit `pdf` prop."),(0,s.Z)(h,"Attempted to load page annotations, but no page was specified."),(0,s.Z)(a,"Attempted to load page annotations, but no linkService was specified.");let[R,P]=(0,b.Z)(),{value:T,error:x}=R,O=(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(){P({type:"RESET"})},[P,h]),(0,o.useEffect)(function(){if(!h)return;let e=(0,i.Z)(h.getAnnotations());return e.promise.then(e=>{P({type:"RESOLVE",value:e})}).catch(e=>{P({type:"REJECT",error:e})}),()=>{(0,w.LJ)(e)}},[P,h]),(0,o.useEffect)(()=>{if(void 0!==T){if(!1===T){x&&(l(!1,x.toString()),c&&c(x));return}T&&f&&f(T)}},[T]);let j=(0,o.useMemo)(()=>h.getViewport({scale:S,rotation:m}),[h,m,S]);return(0,o.useEffect)(function(){if(!y||!h||!a||!T)return;let{current:e}=O;if(!e)return;let t=j.clone({dontFlip:!0}),r={annotations:T,annotationStorage:y.annotationStorage,div:e,imageResourcesPath:n,linkService:a,page:h,renderForms:E,viewport:t};e.innerHTML="";try{new p.sO({accessibilityManager:null,annotationCanvasMap:null,annotationEditorUIManager:null,div:e,l10n:null,page:h,structTreeLayer:null,viewport:t}).render(r),g&&g()}catch(e){l(!1,"".concat(e)),d&&d(e)}return()=>{}},[T,n,a,h,y,E,j]),(0,r.jsx)("div",{className:(0,u.Z)("react-pdf__Page__annotations","annotationLayer"),ref:O})}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({},L()),e),{_className:n="react-pdf__Page",_enableRegisterUnregisterPage:p=!0,canvasBackground:g,canvasRef:h,children:y,className:E,customRenderer:m,customTextRenderer:v,devicePixelRatio:S,error:R="Failed to load the page.",height:x,inputRef:C,loading:D="Loading page…",noData:Z="No page specified.",onGetAnnotationsError:A,onGetAnnotationsSuccess:k,onGetStructTreeError:_,onGetStructTreeSuccess:M,onGetTextError:N,onGetTextSuccess:V,onLoadError:I,onLoadSuccess:F,onRenderAnnotationLayerError:G,onRenderAnnotationLayerSuccess:U,onRenderError:J,onRenderSuccess:B,onRenderTextLayerError:H,onRenderTextLayerSuccess:W,pageIndex:z,pageNumber:$,pdf:X,registerPage:q,renderAnnotationLayer:K=!0,renderForms:Y=!1,renderMode:Q="canvas",renderTextLayer:ee=!0,rotate:et,scale:en=1,unregisterPage:er,width:eo}=t,ei=j(t,["_className","_enableRegisterUnregisterPage","canvasBackgroun
1d","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,eu]=(0,b.Z)(),{value:ec,error:es}=ea,el=(0,o.useRef)(null);(0,s.Z)(X,"Attempted to load a page, but no document was specified. Wrap <Page /> in a <Document /> or pass explicit `pdf` prop.");let ef=(0,w.T8)($)?$-1:null!=z?z:null,ed=null!=$?$:(0,w.T8)(z)?z+1:null,ep=null!=et?et:ec?ec.rotate:null,eg=(0,o.useMemo)(()=>{if(!ec)return null;let e=1,t=null!=en?en:1;if(eo||x){let t=ec.getViewport({scale:1,rotation:ep});eo?e=eo/t.width:x&&(e=x/t.height)}return t*e},[x,ec,ep,en,eo]);(0,o.useEffect)(function(){return()=>{(0,w.T8)(ef)&&p&&er&&er(ef)}},[p,X,ef,er]),(0,o.useEffect)(function(){eu({type:"RESET"})},[eu,X,ef]),(0,o.useEffect)(function(){if(!X||!ed)return;let e=(0,i.Z)(X.getPage(ed));return e.promise.then(e=>{eu({type:"RESOLVE",value:e})}).catch(e=>{eu({type:"REJECT",error:e})}),()=>(0,w.LJ)(e)},[eu,X,ed]),(0,o.useEffect)(()=>{if(void 0!==ec){if(!1===ec){es&&(l(!1,es.toString()),I&&I(es));return}!function(){if(F){if(!ec||!eg)return;F((0,w.XZ)(ec,eg))}if(p&&q){if(!(0,w.T8)(ef)||!el.current)return;q(ef,el.current)}}()}},[ec,eg]);let eh=(0,o.useMemo)(()=>ec&&(0,w.T8)(ef)&&ed&&(0,w.T8)(ep)&&(0,w.T8)(eg)?{_className:n,canvasBackground:g,customTextRenderer:v,devicePixelRatio:S,onGetAnnotationsError:A,onGetAnnotationsSuccess:k,onGetStructTreeError:_,onGetStructTreeSuccess:M,onGetTextError:N,onGetTextSuccess:V,onRenderAnnotationLayerError:G,onRenderAnnotationLayerSuccess:U,onRenderError:J,onRenderSuccess:B,onRenderTextLayerError:H,onRenderTextLayerSuccess:W,page:ec,pageIndex:ef,pageNumber:ed,renderForms:Y,renderTextLayer:ee,rotate:ep,scale:eg}:null,[n,g,v,S,A,k,_,M,N,V,G,U,J,B,H,W,ec,ef,ed,Y,ee,ep,eg]),ey=(0,o.useMemo)(()=>(0,a.ZP)(ei,()=>ec?eg?(0,w.XZ)(ec,eg):void 0:ec),[ei,ec,eg]),eE="".concat(ef,"@").concat(eg,"/").concat(ep);return(0,r.jsx)("div",Object.assign({className:(0,u.Z)(n,E),"data-page-number":ed,ref:c(C,el),style:{"--scale-factor":"".concat(eg),backgroundColor:g||"white",position:"relative",minWidth:"min-content",minHeight:"min-content"}},ey,{children:ed?null===X||null==ec?(0,r.jsx)(d.Z,{type:"loading",children:"function"==typeof D?D():D}):!1===X||!1===ec?(0,r.jsx)(d.Z,{type:"error",children:"function"==typeof R?R():R}):(0,r.jsxs)(f.Provider,{value:eh,children:[function(){switch(Q){case"custom":return(0,s.Z)(m,'renderMode was set to "custom", but no customRenderer was passed.'),(0,r.jsx)(m,{},"".concat(eE,"_custom"));case"none":return null;default:return(0,r.jsx)(P,{canvasRef:h},"".concat(eE,"_canvas"))}}(),ee?(0,r.jsx)(T,{},"".concat(eE,"_text")):null,K?(0,r.jsx)(O,{},"".concat(eE,"_annotations")):null,y]}):(0,r.jsx)(d.Z,{type:"no-data",children:"function"==typeof Z?Z():Z})}))}},31906:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2265);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})}},47790:function(e,t,n){"use strict";n.d(t,{DE:function(){return y},LJ:function(){return g},Lj:function(){return s},T8:function(){return u},XZ:function(){return h},eP:function(){return c},eR:function(){return E},gJ:function(){return l},jU:function(){return i},tN:function(){return p},us:function(){return f},x_:function(){return d}});var r=n(59811),o=n(35556);let i="undefined"!=typeof window,a=i&&"file:"===window.location.protocol;function u(e){return null!=e}function c(e){return e instanceof ArrayBuffer}function s(e){return(0,r.Z)(i,"isBlob can only be used in a browser environment"),e instanceof Blob}function l(e){return"string"==typeof e&&/^data:/.test(e)}function f(e){(0,r.Z)(l(e),"Invalid data URI.");let[t="",n=""]=e.split(",");return -1!==t.split(";").indexOf("base64")?atob(n):unescape(n)}function d(){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 y(e){return"RenderingCancelledException"===e.name}function E(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)})}},59811:function(e,t,n){"use strict";function r(e,t){if(!e)throw Error("Invariant failed")}n.d(t,{Z:function(){return r}})}}]);

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.