1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6231],{14548:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useRazorpay=void 0;let u=i(r(2265)),s=a(r(8924)),f=(e,...t)=>{};t.useRazorpay=()=>{let[e,t]=u.useState(!1),[r,n]=u.useState(),o="undefined"!=typeof window,i=()=>!!(o&&"Razorpay"in window);return u.useEffect(()=>{if(f("init... (Logs won't appear in production env)"),!o){f("server detected! Skipping script loading...");return}if(t(!0),!i()){var e;f("loading script: https://checkout.razorpay.com/v1/checkout.js"),(e="https://checkout.razorpay.com/v1/checkout.js",new Promise((t,r)=>{let n=window.document.createElement("script");n.src=e,n.onload=function(){t()},n.onerror=function(e){r(e.toString())},document.body.appendChild(n)})).then(()=>{f("script loaded success.."),n(void 0)}).catch(e=>{f("script loading error",e),e instanceof Error?n(e.message):n("Unknown Error")}).finally(()=>t(!1))}},[]),{error:r,isLoading:e,Razorpay:s.default}}},8924:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{constructor(e){this.instance=void 0,this.options=e,"undefined"!=typeof window&&(this.instance=new window.Razorpay(this.options))}on(e,t){if(!this.instance)throw Error("Razorpay Instance in not ready");this.instance.on(e,t)}open(){if(!this.instance)throw Error("Razorpay Instance in not ready");this.instance.open()}}t.default=r},60583:function(e,t){"use strict";function r(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=function e(t){var r,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t)){var i=t.length;for(r=0;r<i;r++)t[r]&&(n=e(t[r]))&&(o&&(o+=" "),o+=n)}else for(n in t)t[n]&&(o&&(o+=" "),o+=n)}return o}(e))&&(n&&(n+=" "),n+=t);return n}Object.defineProperty(t,"__esModule",{value:!0}),t.clsx=r,t.default=r},77168:function(e,t){"use strict";var r=Object.prototype.hasOwnProperty;function n(e,t,r){for(r of e.keys())if(o(r,t))return r}function o(e,t){var i,a,u;if(e===t)return!0;if(e&&t&&(i=e.constructor)===t.constructor){if(i===Date)return e.getTime()===t.getTime();if(i===RegExp)return e.toString()===t.toString();if(i===Array){if((a=e.length)===t.length)for(;a--&&o(e[a],t[a]););return -1===a}if(i===Set){if(e.size!==t.size)return!1;for(a of e)if((u=a)&&"object"==typeof u&&!(u=n(t,u))||!t.has(u))return!1;return!0}if(i===Map){if(e.size!==t.size)return!1;for(a of e)if((u=a[0])&&"object"==typeof u&&!(u=n(t,u))||!o(a[1],t.get(u)))return!1;return!0}if(i===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(i===DataView){if((a=e.byteLength)===t.byteLength)for(;a--&&e.getInt8(a)===t.getInt8(a););return -1===a}if(ArrayBuffer.isView(e)){if((a=e.byteLength)===t.byteLength)for(;a--&&e[a]===t[a];);return -1===a}if(!i||"object"==typeof e){for(i in a=0,e)if(r.call(e,i)&&++a&&!r.call(t,i)||!(i in t)||!o(e[i],t[i]))return!1;return Object.keys(t).length===a}}return e!=e&&t!=t}t.dequal=o},95180:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=!1;return{promise:new Promise(function(r,n){e.then(function(e){return!t&&r(e)}).catch(function(e){return!t&&n(e)})}),cancel:function(){t=!0}}}},40614:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,r){if(r||2==arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))},n=["onCopy","onCut","onPaste"],o=["onCompositionEnd","onCompositionStart","onCompositionUpdate"],i=["onFocus","onBlur"],a=["onInput","onInvalid","onReset","onSubmit"],u=["onLoad","onError"],s=["onKeyDown","onKeyPress","onKeyUp"],f=["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],l=["onClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp"],c=["onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop"],d=["onSelect"],p=["onTouchCancel","onTouchEnd","onTouchMove","onTouchStart"],h=["onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onGotPointerCapture","onLostPointerCapture","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut"],g=["onScroll"],y=["onWheel"],v=["onAnimationStart","onAnimationEnd","onAnimationIteration"],b=["onTransitionEnd"],m=["onToggle"],E=["onChange"],w=r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r([],n,!0),o,!0),i,!0),a,!0),u,!0),s,!0),f,!0),l,!0),c,!0),d,!0),p,!0),h,!0),g,!0),y,!0),v,!0),b,!0),E,!0),m,!0);t.allEvents=w,t.animationEvents=v,t.changeEvents=E,t.clipboardEvents=n,t.compositionEvents=o,t.default=function(e,t){var r={};
1return w.forEach(function(n){var o=e[n];o&&(t?r[n]=function(e){return o(e,t(n))}:r[n]=o)}),r},t.dragEvents=c,t.focusEvents=i,t.formEvents=a,t.imageEvents=u,t.keyboardEvents=s,t.mediaEvents=f,t.mouseEvents=l,t.otherEvents=m,t.pointerEvents=h,t.selectionEvents=d,t.touchEvents=p,t.transitionEvents=b,t.uiEvents=g,t.wheelEvents=y},60525:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e.filter(Boolean);return r.length<=1?r[0]||null:function(e){r.forEach(function(t){"function"==typeof t?t(e):t&&(t.current=e)})}}},41261:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(57437),o=r(2265),i=r(40614),a=r(95180),u=r(60583),s=r(81145),f=r(25954),l=r(77168),c=r(50619),d=r(75503),p=r(98486),h=r(92968),g=r(62073),y=r(70079),v=r(47368),b=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let{PDFDataRangeTransport:m}=c,E=(e,t)=>{switch(t){case g.default.NEED_PASSWORD:e(prompt("Enter the password to open this PDF file."));break;case g.default.INCORRECT_PASSWORD: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 O=o.forwardRef(function(e,t){var{children:r,className:g,error:O="Failed to load PDF file.",externalLinkRel:P,externalLinkTarget:R,file:S,inputRef:T,imageResourcesPath:A,loading:x="Loading PDFâ¦",noData:j="No PDF file specified.",onItemClick:_,onLoadError:L,onLoadProgress:C,onLoadSuccess:k,onPassword:M=E,onSourceError:B,onSourceSuccess:D,options:U,renderMode:I,rotate:N}=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[V,W]=v.default(),{value:z,error:G}=V,[$,H]=v.default(),{value:q,error:J}=$,Y=o.useRef(new h.default),K=o.useRef([]),Z=o.useRef(void 0),Q=o.useRef(void 0);S&&S!==Z.current&&w(S)&&(f.default(!l.dequal(S,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=S),U&&U!==Q.current&&(f.default(!l.dequal(U,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=U);let X=o.useRef({scrollPageIntoView:e=>{let{dest:t,pageNumber:r,pageIndex:n=r-1}=e;if(_){_({dest:t,pageIndex:n,pageNumber:r});return}let o=K.current[n];if(o){o.scrollIntoView();return}f.default(!1,`An internal link leading to page ${r} 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>.`)}});o.useImperativeHandle(t,()=>({linkService:Y,pages:K,viewer:X}),[]),o.useEffect(function(){W({type:"RESET"})},[S,W]);let ee=o.useCallback(()=>{var e,t,r,n;return e=this,t=void 0,r=void 0,n=function*(){if(!S)return null;if("string"==typeof S)return y.isDataURI(S)?{data:y.dataURItoByteString(S)}:(y.displayCORSWarning(),{url:S});if(S instanceof m)return{range:S};if(y.isArrayBuffer(S))return{data:S};if(y.isBrowser&&y.isBlob(S))return{data:yield y.loadFromFile(S)};if(s.default("object"==typeof S,"Invalid parameter in file, need either Uint8Array, string or a parameter object"),s.default(w(S),"Invalid parameter object: need either .data, .range or .url"),"url"in S&&"string"==typeof S.url){if(y.isDataURI(S.url)){let{url:e}=S,t=b(S,["url"]);return Object.assign({data:y.dataURItoByteString(e)},t)}y.displayCORSWarning()}return S},new(r||(r=Promise))(function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,u)}s((n=n.apply(e,t||[])).next())})},[S]);o.useEffect(()=>{let e=a.default(ee());return e.promise.then(e=>{W({type:"RESOLVE",value:e})}).catch(e=>{W({type:"REJECT",error:e})}),()=>{y.cancelRunningTask(e)}},[ee,W]),o.useEffect(()=>{if(void 0!==z){if(!1===z){G&&(f.default(!1,G.toString()),B&&B(G));return}D&&D()}},[z]),o.useEffect(function(){H({type:"RESET"})},[H,z]),o.useEffect(function(){if(!z)return;let e=U?Object.assign(Object.assign({},z),U):z,t=c.getDocument(e);C&&(t.onProgress=C),M&&(t.onPassword=M);let r=t.promise.then(e=>{H({type:"RESOLVE",value:e})}).catch(e=>{t.destroyed||H({type:"REJECT",error:e})});return()=>{r.finally(()=>t.destroy())}},[U,H,z]),o.useEffect(()=>{if(void 0!==q){if(!1===q){J&&(f.default(!1,J.toString()),L&&L(J));return}q&&(k&&k(q),K.current=Array(q.numPages),Y.current.setDocument(q))}},[q]),o.useEffect(function(){Y.current.setViewer(X.current),Y.current.setExternalLinkRel(P),Y.current.setExternalLinkTarget(R)},[P,R]);let et=o.useCallback((e,t)=>{K.current[e]=t},[]),er=o.useCallback(e=>{delete K.current[e]},[]),en=o.useMemo(()=>({imageResourcesPath:A,linkService:Y.current,onItemClick:_,pdf:q,registerPage:et,renderMode:I,rotate:N,unregisterPage:er}),[A,_,q,et,I,N,er]),eo=o.useMemo(()=>i.default(F,()=>q),[F,q]);return n.jsx("div",Object.assign({className:u.clsx("react-pdf__Document",g),ref:T,style:{"--scale-factor":"1"}},eo,{children:S?null==q?n.jsx(p.default,{type:"loading",children:"function"==typeof x?x():x}):!1===q?n.jsx(p.default,{type:"error",children:"function"==typeof O?O():O}):n.jsx(d.default.Provider,{value:en,children:r}):n.jsx(p.default,{type:"no-data",children:"function"==typeof j?j():j})}))});t.default=O},75503:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});let n=r(2265).createContext(null);t.default=n},92968:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(81145);class o{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 n.default(this.pdfViewer,"PDF viewer is not initialized."),this.pdfViewer.currentPageNumber||0}set page(e){n.default(this.pdfViewer,"PDF viewer is not initialized."),this.pdfViewer.currentPageNumber=e}get rotation(){return 0}set rotation(e){}goToDestination(e){return new Promise(t=>{n.default(this.pdfDocument,"PDF document not loaded."),n.default(e,"Destination is not specified."),"string"==typeof e?this.pdfDocument.getDestination(e).then(t):Array.isArray(e)?t(e):e.then(t)}).then(e=>{n.default(Array.isArray(e),`"${e}" is not a valid destination array.`);let t=e[0];new Promise(e=>{n.default(this.pdfDocument,"PDF document not loaded."),t instanceof Object?this.pdfDocument.getPageIndex(t).then(t=>{e(t)}).catch(()=>{n.default(!1,`"${t}" is not a valid page reference.`)}):"number"==typeof t?e(t):n.default(!1,`"${t}" is not a valid destination reference.`)}).then(t=>{let r=t+1;n.default(this.pdfViewer,"PDF viewer is not initialized."),n.default(r>=1&&r<=this.pagesCount,`"${r}" is not a valid page number.`),this.pdfViewer.scrollPageIntoView({dest:e,pageIndex:t,pageNumber:r})})})}navigateTo(e){this.goToDestination(e)}goToPage(e){n.default(this.pdfViewer,"PDF viewer is not initialized."),n.default(e>=1&&e<=this.pagesCount,`"${e}" is not a valid page number.`),this.pdfViewer.scrollPageIntoView({pageIndex:e-1,pageNumber:e})}addLinkAttributes(e,t,r){e.href=t,e.rel=this.externalLinkRel||"noopener noreferrer nofollow",e.target=r?"_blank":this.externalLinkTarget||""}getDestinationHash(){return"#"}getAnchorUrl(){return"#"}setHash(){}executeNamedAction(){}cachePageRef(){}isPageVisible(){return!0}isPageCached(){return!0}executeSetOCGState(){}}t.default=o},98486:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(57437);t.default=function({children:e,type:t}){return n.jsx("div",{className:`react-pdf__message react-pdf__message--${t}`,children:e})}},60365:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(57437),o=r(2265),i=r(95180),a=r(40614),u=r(60583),s=r(81145),f=r(25954),l=r(91256),c=r(53425),d=r(70079),p=r(18543),h=r(47368),g=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};t.default=function(e){let t=Object.assign(Object.assign({},p.default()),e),{className:r,inputRef:y,onItemClick:v,onLoadError:b,onLoadSuccess:m,pdf:E}=t,w=g(t,["className","inputRef","onItemClick","onLoadError","onLoadSuccess","pdf"]);s.default(E,"Attempted to load an outline, but no document was specified. Wrap <Outline /> in a <Document /> or pass explicit `pdf` prop.");let[O,P]=h.default(),{value:R,error:S}=O;o.useEffect(function(){P({type:"RESET"})},[P,E]),o.useEffect(function(){if(!E)return;let e=i.default(E.getOutline());return e.promise.then(e=>{P({type:"RESOLVE",value:e})}).catch(e=>{P({type:"REJECT",error:e})}),()=>d.cancelRunningTask(e)},[P,E]),o.useEffect(()=>{if(void 0!==R){if(!1===R){S&&(f.default(!1,S.toString()),b&&b(S));return}void 0!==R&&!1!==R&&m&&m(R)}},[R]);let T=o.useMemo(()=>({onItemClick:v}),[v]),A=o.useMemo(()=>a.default(w,()=>R),[w,R]);return R?n.jsx("div",Object.assign({className:u.clsx("react-pdf__Outline",r),ref:y},A,{children:n.jsx(l.default.Provider,{value:T,children:R?n.jsx("ul",{children:R.map((e,t)=>n.jsx(c.default,{item:e,pdf:E},"string"==typeof e.dest?e.dest:t))}):null})})):null}},91256:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});let n=r(2265).createContext(null);t.default=n},53425:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(57437),o=r(81145),i=r(65128),a=r(12116),u=r(18543),s=r(96415),f=function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,u)}s((n=n.apply(e,t||[])).next())})},l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};t.default=function e(t){let r=u.default(),c=s.default();o.default(c,"Unable to find Outline context.");let d=Object.assign(Object.assign(Object.assign({},r),c),t),{item:p,linkService:h,onItemClick:g,pdf:y}=d,v=l(d,["item","linkService","onItemClick","pdf"]);o.default(y,"Attempted to load an outline, but no document was specified. Wrap <Outline /> in a <Document /> or pass explicit `pdf` prop.");let b=a.default(()=>"string"==typeof p.dest?y.getDestination(p.dest):p.dest),m=a.default(()=>f(this,void 0,void 0,function*(){let e=yield b();if(!e)throw Error("Destination not found.");let[t]=e;return y.getPageIndex(new i.default(t))})),E=a.default(()=>f(this,void 0,void 0,function*(){return(yield m())+1}));return n.jsxs("li",{children:[n.jsx("a",{href:"#",onClick:function(e){e.preventDefault(),o.default(g||h,"Either onItemClick callback or linkService must be defined in order to navigate to an outline item."),g?Promise.all([b(),m(),E()]).then(([e,t,r])=>{g({dest:e,pageIndex:t,pageNumber:r})}):h&&h.goToDestination(p.dest)},children:p.title}),function(){if(!p.items||!p.items.length)return null;let{items:t}=p;return n.jsx("ul",{children:t.map((t,r)=>n.jsx(e,Object.assign({item:t,pdf:y},v),"string"==typeof t.dest?t.dest:r))})}()]})}},81073:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(57437),o=r(2265),i=r(95180),a=r(40614),u=r(60583),s=r(60525),f=r(81145),l=r(25954),c=r(18378),d=r(98486),p=r(36976),h=r(34187),g=r(92117),y=r(70079),v=r(18543),b=r(47368),m=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};t.default=function(e){let t=Object.assign(Object.assign({},v.default()),e),{_className:r="react-pdf__Page",_enableRegisterUnregisterPage:E=!0,canvasBackground:w,canvasRef:O,children:P,className:R,customRenderer:S,customTextRenderer:T,devicePixelRatio:A,error:x="Failed to load the page.",height:j,inputRef:_,loading:L="Loading pageâ¦",noData:C="No page specified.",onGetAnnotationsError:k,onGetAnnotationsSuccess:M,onGetStructTreeError:B,onGetStructTreeSuccess:D,onGetTextError:U,onGetTextSuccess:I,onLoadError:N,onLoadSuccess:F,onRenderAnnotationLayerError:V,onRenderAnnotationLayerSuccess:W,onRenderError:z,onRenderSuccess:G,onRenderTextLayerError:$,onRenderTextLayerSuccess:H,pageIndex:q,pageNumber:J,pdf:Y,registerPage:K,renderAnnotationLayer:Z=!0,renderForms:Q=!1,renderMode:X="canvas",renderTextLayer:ee=!0,rotate:et,scale:er=1,unregisterPage:en,width:eo}=t,ei=m(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,eu]=b.default(),{value:es,error:ef}=ea,el=o.useRef(null);f.default(Y,"Attempted to load a page, but no document was specified. Wrap <Page /> in a <Document /> or pass explicit `pdf` prop.");let ec=y.isProvided(J)?J-1:null!=q?q:null,ed=null!=J?J:y.isProvided(q)?q
1+1:null,ep=null!=et?et:es?es.rotate:null,eh=o.useMemo(()=>{if(!es)return null;let e=1,t=null!=er?er:1;if(eo||j){let t=es.getViewport({scale:1,rotation:ep});eo?e=eo/t.width:j&&(e=j/t.height)}return t*e},[j,es,ep,er,eo]);o.useEffect(function(){return()=>{y.isProvided(ec)&&E&&en&&en(ec)}},[E,Y,ec,en]),o.useEffect(function(){eu({type:"RESET"})},[eu,Y,ec]),o.useEffect(function(){if(!Y||!ed)return;let e=i.default(Y.getPage(ed));return e.promise.then(e=>{eu({type:"RESOLVE",value:e})}).catch(e=>{eu({type:"REJECT",error:e})}),()=>y.cancelRunningTask(e)},[eu,Y,ed]),o.useEffect(()=>{if(void 0!==es){if(!1===es){ef&&(l.default(!1,ef.toString()),N&&N(ef));return}!function(){if(F){if(!es||!eh)return;F(y.makePageCallback(es,eh))}if(E&&K){if(!y.isProvided(ec)||!el.current)return;K(ec,el.current)}}()}},[es,eh]);let eg=o.useMemo(()=>es&&y.isProvided(ec)&&ed&&y.isProvided(ep)&&y.isProvided(eh)?{_className:r,canvasBackground:w,customTextRenderer:T,devicePixelRatio:A,onGetAnnotationsError:k,onGetAnnotationsSuccess:M,onGetStructTreeError:B,onGetStructTreeSuccess:D,onGetTextError:U,onGetTextSuccess:I,onRenderAnnotationLayerError:V,onRenderAnnotationLayerSuccess:W,onRenderError:z,onRenderSuccess:G,onRenderTextLayerError:$,onRenderTextLayerSuccess:H,page:es,pageIndex:ec,pageNumber:ed,renderForms:Q,renderTextLayer:ee,rotate:ep,scale:eh}:null,[r,w,T,A,k,M,B,D,U,I,V,W,z,G,$,H,es,ec,ed,Q,ee,ep,eh]),ey=o.useMemo(()=>a.default(ei,()=>es?eh?y.makePageCallback(es,eh):void 0:es),[ei,es,eh]),ev=`${ec}@${eh}/${ep}`;return n.jsx("div",Object.assign({className:u.clsx(r,R),"data-page-number":ed,ref:s.default(_,el),style:{"--scale-factor":`${eh}`,backgroundColor:w||"white",position:"relative",minWidth:"min-content",minHeight:"min-content"}},ey,{children:ed?null===Y||null==es?n.jsx(d.default,{type:"loading",children:"function"==typeof L?L():L}):!1===Y||!1===es?n.jsx(d.default,{type:"error",children:"function"==typeof x?x():x}):n.jsxs(c.default.Provider,{value:eg,children:[function(){switch(X){case"custom":return f.default(S,'renderMode was set to "custom", but no customRenderer was passed.'),n.jsx(S,{},`${ev}_custom`);case"none":return null;default:return n.jsx(p.default,{canvasRef:O},`${ev}_canvas`)}}(),ee?n.jsx(h.default,{},`${ev}_text`):null,Z?n.jsx(g.default,{},`${ev}_annotations`):null,P]}):n.jsx(d.default,{type:"no-data",children:"function"==typeof C?C():C})}))}},92117:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(57437),o=r(2265),i=r(95180),a=r(60583),u=r(81145),s=r(25954),f=r(50619),l=r(18543),c=r(8150),d=r(47368),p=r(70079);t.default=function(){let e=l.default(),t=c.default();u.default(t,"Unable to find Page context.");let{imageResourcesPath:r,linkService:h,onGetAnnotationsError:g,onGetAnnotationsSuccess:y,onRenderAnnotationLayerError:v,onRenderAnnotationLayerSuccess:b,page:m,pdf:E,renderForms:w,rotate:O,scale:P=1}=Object.assign(Object.assign({},e),t);u.default(E,"Attempted to load page annotations, but no document was specified. Wrap <Page /> in a <Document /> or pass explicit `pdf` prop."),u.default(m,"Attempted to load page annotations, but no page was specified."),u.default(h,"Attempted to load page annotations, but no linkService was specified.");let[R,S]=d.default(),{value:T,error:A}=R,x=o.useRef(null);s.default(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"),o.useEffect(function(){S({type:"RESET"})},[S,m]),o.useEffect(function(){if(!m)return;let e=i.default(m.getAnnotations());return e.promise.then(e=>{S({type:"RESOLVE",value:e})}).catch(e=>{S({type:"REJECT",error:e})}),()=>{p.cancelRunningTask(e)}},[S,m]),o.useEffect(()=>{if(void 0!==T){if(!1===T){A&&(s.default(!1,A.toString()),g&&g(A));return}T&&y&&y(T)}},[T]);let j=o.useMemo(()=>m.getViewport({scale:P,rotation:O}),[m,O,P]);return o.useEffect(function(){if(!E||!m||!h||!T)return;let{current:e}=x;if(!e)return;let t=j.clone({dontFlip:!0}),n={annotations:T,annotationStorage:E.annotationStorage,div:e,imageResourcesPath:r,linkService:h,page:m,renderForms:w,viewport:t};e.innerHTML="";try{new f.AnnotationLayer({accessibilityManager:null,annotationCanvasMap:null,annotationEditorUIManager:null,div:e,l10n:null,page:m,structTreeLayer:null,viewport:t}).render(n),b&&b()}catch(e){s.default(!1,`${e}`),v&&v(e)}return()=>{}},[T,r,h,m,E,w,j]),n.jsx("div",{className:a.clsx("react-pdf__Page__annotations","annotationLayer"),ref:x})}},36976:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var n=r(57437),o=r(2265),i=r(60525),a=r(81145),u=r(25954),s=r(50619),f=r(61194),l=r(8150),c=r(70079);let d=s.AnnotationMode;t.default=function(e){let t=l.default();a.default(t,"Unable to find Page context.");let{_className:r,canvasBackground:s,devicePixelRatio:p=c.getDevicePixelRatio(),onRenderError:h,onRenderSuccess:g,page:y,renderForms:v,renderTextLayer:b,rotate:m,scale:E}=Object.assign(Object.assign({},t),e),{canvasRef:w}=e;a.default(y,"Attempted to render page canvas, but no page was specified.");let O=o.useRef(null);function P(e){!c.isCancelException(e)&&(u.default(!1,e.toString()),h&&h(e))}let R=o.useMemo(()=>y.getViewport({scale:E*p,rotation:m}),[p,y,m,E]),S=o.useMemo(()=>y.getViewport({scale:E,rotation:m}),[y,m,E]);o.useEffect(function(){if(!y)return;y.cleanup();let{current:e}=O;if(!e)return;e.width=R.width,e.height=R.height,e.style.width=`${Math.floor(S.width)}px`,e.style.height=`${Math.floor(S.height)}px`,e.style.visibility="hidden";let t={annotationMode:v?d.ENABLE_FORMS:d.ENABLE,canvasContext:e.getContext("2d",{alpha:!1}),viewport:R};s&&(t.background=s);let r=y.render(t);return r.promise.then(()=>{e.style.visibility="",y&&g&&g(c.makePageCallback(y,E))}).catch(P),()=>c.cancelRunningTask(r)},[s,y,v,R,S]);let T=o.useCallback(()=>{let{current:e}=O;e&&(e.width=0,e.height=0)},[]);return o.useEffect(()=>T,[T]),n.jsx("canvas",{className:`${r}__canvas`,dir:"ltr",ref:i.default(w,O),style:{display:"block",userSelect:"none"},children:b?n.jsx(f.default,{}):null})}},34187:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(57437),o=r(2265),i=r(95180),a=r(60583),u=r(81145),s=r(25954),f=r(50619),l=r(8150),c=r(47368),d=r(70079);t.default=function(){let e=l.default();u.default(e,"Unable to find Page context.");let{customTextRenderer:t,onGetTextError:r,onGetTextSuccess:p,onRenderTextLayerError:h,onRenderTextLayerSuccess:g,page:y,pageIndex:v,pageNumber:b,rotate:m,scale:E}=e;u.default(y,"Attempted to load page text content, but no page was specified.");let[w,O]=c.default(),{value:P,error:R}=w,S=o.useRef(null);s.default(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"),o.useEffect(function(){O({type:"RESET"})},[y,O]),o.useEffect(function(){if(!y)return;let e=i.default(y.getTextContent());return e.promise.then(e=>{O({type:"RESOLVE",value:e})}).catch(e=>{O({type:"REJECT",error:e})}),()=>d.cancelRunningTask(e)},[y,O]),o.useEffect(()=>{if(void 0!==P){if(!1===P){R&&(s.default(!1,R.toString()),r&&r(R));return}P&&p&&p(P)}},[P]);let T=o.useCallback(()=>{g&&g()},[g]),A=o.useCallback(e=>{s.default(!1,e.toString()),h&&h(e)},[h]),x=o.useMemo(()=>y.getViewport({scale:E,rotation:m}),[y,m,E]);return o.useLayoutEffect(function(){if(!y||!P)return;let{current:e}=S;if(!e)return;e.innerHTML="";let r=y.streamTextContent({includeMarkedContent:!0}),n=new f.TextLayer({container:e,textContentSource:r,viewport:x});return n.render().then(()=>{let r=document.createElement("div");r.className="endOfContent",e.append(r);let n=e.querySelectorAll('[role="presentation"]');if(t){let e=0;P.items.forEach((r,o)=>{if(!("str"in r))return;let i=n[e];if(!i)return;let a=t(Object.assign({pageIndex:v,pageNumber:b,itemIndex:o},r));i.innerHTML=a,e+=r.str&&r.hasEOL?2:1})}T()}).catch(A),()=>d.cancelRunningTask(n)},[t,A,T,y,v,b,P,x]),n.jsx("div",{className:a.clsx("react-pdf__Page__textContent","textLayer"),onMouseUp:function(){let e=S.current;e&&e.classList.remove("selecting")},onMouseDown:function(){let e=S.current;e&&e.classList.add("selecting")},ref:S})}},18378:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(2265).createContext(null);t.default=n},62073:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={NEED_PASSWORD:1,INCORRECT_PASSWORD:2}},65128:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{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}}t.default=r},61194:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var n=r(57437),o=r(2265),i=r(95180),a=r(81145),u=r(25954),s=r(12180),f=r(8150),l=r(47368),c=r(70079);t.default=function(){let e=f.default();a.default(e,"Unable to find Page context.");let{onGetStructTreeError:t,onGetStructTreeSuccess:r}=e,[d,p]=l.default(),{value:h,error:g}=d,{customTextRenderer:y,page:v}=e;return(o.useEffect(function(){p({type:"RESET"})},[p,v]),o.useEffect(function(){if(y||!v)return;let e=i.default(v.getStructTree());return e.promise.then(e=>{p({type:"RESOLVE",value:e})}).catch(e=>{p({type:"REJECT",error:e})}),()=>c.cancelRunningTask(e)},[y,v,p]),o.useEffect(()=>{if(void 0!==h){if(!1===h){g&&(u.default(!1,g.toString()),t&&t(g));return}h&&r&&r(h)}},[h]),h)?n.jsx(s.default,{className:"react-pdf__Page__structTree structTree",node:h}):null}},12180:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(57437),o=r(2265),i=r(16888);t.default=function e({className:t,node:r}){let a=o.useMemo(()=>i.getAttributes(r),[r]),u=o.useMemo(()=>!i.isStructTreeNode(r)||i.isStructTreeNodeWithOnlyContentChild(r)?null:r.children.map((t,r)=>n.jsx(e,{node:t},r)),[r]);return n.jsx("span",Object.assign({className:t},a,{children:u}))}},4451:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(57437),o=r(60583),i=r(81145),a=r(81073),u=r(70079),s=r(18543),f=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};t.default=function(e){let{className:t,linkService:r,onItemClick:l,pageIndex:c,pageNumber:d,pdf:p}=Object.assign(Object.assign({},s.default()),e);i.default(p,"Attempted to load a thumbnail, but no document was specified. Wrap <Thumbnail /> in a <Document /> or pass explicit `pdf` prop.");let h=u.isProvided(d)?d-1:null!=c?c:null,g=null!=d?d:u.isProvided(c)?c+1:null,{className:y,onItemClick:v}=e,b=f(e,["className","onItemClick"]);return n.jsx("a",{className:o.clsx("react-pdf__Thumbnail",t),href:g?"#":void 0,onClick:function(e){e.preventDefault(),u.isProvided(h)&&g&&(i.default(l||r,"Either onItemClick callback or linkService must be defined in order to navigate to an outline item."),l?l({pageIndex:h,pageNumber:g}):r&&r.goToPage(g))},children:n.jsx(a.default,Object.assign({},b,{_className:"react-pdf__Thumbnail__page",_enableRegisterUnregisterPage:!1,renderAnnotationLayer:!1,renderTextLayer:!1}))})}},2132:function(e,t,r){"use strict";var n=r(50619),o=r(41261),i=r(60365),a=r(81073),u=r(4451),s=r(18543),f=r(96415),l=r(8150),c=r(62073);r(70079).displayWorkerWarning(),n.GlobalWorkerOptions.workerSrc="pdf.worker.mjs",t.pdfjs=n,t.Document=o.default,t.Outline=i.default,t.Page=a.default,t.Thumbnail=u.default,t.useDocumentContext=s.default,t.useOutlineContext=f.default,t.usePageContext=l.default,t.PasswordResponses=c.default},37264:function(e,t){"use strict";t.HEADING_PATTERN=/^H(\d+)$/,t.PDF_ROLE_TO_HTML_ROLE={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}},12116:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2265),o=r(70079);t.default=function(e){let t=n.useRef(void 0),r=t.current;return o.isDefined(r)?()=>r:()=>{let r=e();return t.current=r,r}}},18543:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2265),o=r(75503);t.default=function(){return n.useContext(o.default)}},96415:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2265),o=r(91256);t.default=function(){return n.useContext(o.default)}},8150:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var n=r(2265),o=r(18378);t.default=function(){return n.useContext(o.default)}},47368:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(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}}t.default=function(){return n.useReducer(o,{value:void 0,error:void 0})}},16888:function(e,t,r){"use strict";var n=r(37264);function o(e){return e in n.PDF_ROLE_TO_HTML_ROLE}function i(e){return"children"in e}function a(e){return!!i(e)&&1===e.children.length&&0 in e.children&&"id"in e.children[0]}function u(e){let t={};if(i(e)){let{role:r}=e,i=r.match(n.HEADING_PATTERN);if(i)t.role="heading",t["aria-level"]=Number(i[1]);else if(o(r)){let e=n.PDF_ROLE_TO_HTML_ROLE[r];e&&(t.role=e)}}return t}function s(e){let t={};if(i(e)){if(void 0!==e.alt&&(t["aria-label"]=e.alt),void 0!==e.lang&&(t.lang=e.lang),a(e)){let[r]=e.children;if(r){let e=s(r);return Object.assign(Object.assign({},t),e)}}}else"id"in e&&(t["aria-owns"]=e.id);return t}t.getAttributes=function(e){return e?Object.assign(Object.assign({},u(e)),s(e)):null},t.getBaseAttributes=s,t.getRoleAttributes=u,t.isPdfRole=o,t.isStructTreeNode=i,t.isStructTreeNodeWithOnlyContentChild=a},70079:function(e,t,r){"use strict";var n=r(81145),o=r(25954);let i="undefined"!=typeof window,a=i&&"file:"===window.location.protocol;function u(e){return void 0!==e}function s(e){return"string"==typeof e}function f(e){return s(e)&&/^data:/.test(e)}let l="On Chromium based browsers, you can use --allow-file-access-from-files flag for debugging purposes.";t.cancelRunningTask=function(e){(null==e?void 0:e.cancel)&&e.cancel()},t.dataURItoByteString=function(e){n.default(f(e),"Invalid data URI.");let[t="",r=""]=e.split(",");return -1!==t.split(";").indexOf("base64")?atob(r):unescape(r)},t.displayCORSWarning=function(){o.default(!a,`Loading PDF as base64 strings/URLs may not work on protocols other than HTTP/HTTPS. ${l}`)},t.displayWorkerWarning=function(){o.default(!a,`Loading PDF.js worker may not work on protocols other than HTTP/HTTPS. ${l}`)},t.getDevicePixelRatio=function(){return i&&window.devicePixelRatio||1},t.isArrayBuffer=function(e){return e instanceof ArrayBuffer},t.isBlob=function(e){return n.default(i,"isBlob can only be used in a browser environment"),e instanceof Blob}
1,t.isBrowser=i,t.isCancelException=function(e){return"RenderingCancelledException"===e.name},t.isDataURI=f,t.isDefined=u,t.isLocalFileSystem=a,t.isProvided=function(e){return u(e)&&null!==e},t.isString=s,t.loadFromFile=function(e){return new Promise((t,r)=>{let n=new FileReader;n.onload=()=>{if(!n.result)return r(Error("Error while reading a file."));t(n.result)},n.onerror=e=>{if(!e.target)return r(Error("Error while reading a file."));let{error:t}=e.target;if(!t)return r(Error("Error while reading a file."));switch(t.code){case t.NOT_FOUND_ERR:return r(Error("Error while reading a file: File not found."));case t.SECURITY_ERR:return r(Error("Error while reading a file: Security error."));case t.ABORT_ERR:return r(Error("Error while reading a file: Aborted."));default:return r(Error("Error while reading a file."))}},n.readAsArrayBuffer(e)})},t.makePageCallback=function(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}},81145:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e)throw Error("Invariant failed")}},25954:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(75213).getDefaultExportFromCjs(function(){});t.default=n},8284:function(e,t,r){"use strict";var n=r(33861),o=r(11664),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return l(e)}return s(e,t,r)}function s(e,t,r){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!u.isEncoding(t))throw TypeError("Unknown encoding: "+t);var r=0|h(e,t),n=a(r),o=n.write(e,t);return o!==r&&(n=n.slice(0,o)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(j(e,Uint8Array)){var t=new Uint8Array(e);return d(t.buffer,t.byteOffset,t.byteLength)}return c(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(j(e,ArrayBuffer)||e&&j(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(j(e,SharedArrayBuffer)||e&&j(e.buffer,SharedArrayBuffer)))return d(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return u.from(n,t,r);var o=function(e){if(u.isBuffer(e)){var t,r=0|p(e.length),n=a(r);return 0===n.length||e.copy(n,0,0,r),n}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?a(0):c(e):"Buffer"===e.type&&Array.isArray(e.data)?c(e.data):void 0}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function f(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function l(e){return f(e),a(e<0?0:0|p(e))}function c(e){for(var t=e.length<0?0:0|p(e.length),r=a(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function d(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),u.prototype),n}function p(e){if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function h(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||j(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return T(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return A(e).length;default:if(o)return n?-1:T(e).length;t=(""+t).toLowerCase(),o=!0}}function g(e,t,r){var o,i,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=_[e[i]];return o}(this,t,r);case"utf8":case"utf-8":return m(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}(this,t,r);case"base64":return o=t,i=r,0===o&&i===this.length?n.fromByteArray(this):n.fromByteArray(this.slice(o,i));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length-1;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}(this,t,r);default:if(a)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function y(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function v(e,t,r,n,o){var i;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(i=r=+r)!=i&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return -1;r=e.length-1}
vendor: 14,466 bytes, line 1
1else if(r<0){if(!o)return -1;r=0}if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,o);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):b(e,[t],r,n,o);throw TypeError("val must be string, number or Buffer")}function b(e,t,r,n,o){var i,a=1,u=e.length,s=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;a=2,u/=2,s/=2,r/=2}function f(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var l=-1;for(i=r;i<u;i++)if(f(e,i)===f(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===s)return l*a}else -1!==l&&(i-=i-l),l=-1}else for(r+s>u&&(r=u-s),i=r;i>=0;i--){for(var c=!0,d=0;d<s;d++)if(f(e,i+d)!==f(t,d)){c=!1;break}if(c)return i}return -1}function m(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,a,u,s,f=e[o],l=null,c=f>239?4:f>223?3:f>191?2:1;if(o+c<=r)switch(c){case 1:f<128&&(l=f);break;case 2:(192&(i=e[o+1]))==128&&(s=(31&f)<<6|63&i)>127&&(l=s);break;case 3:i=e[o+1],a=e[o+2],(192&i)==128&&(192&a)==128&&(s=(15&f)<<12|(63&i)<<6|63&a)>2047&&(s<55296||s>57343)&&(l=s);break;case 4:i=e[o+1],a=e[o+2],u=e[o+3],(192&i)==128&&(192&a)==128&&(192&u)==128&&(s=(15&f)<<18|(63&i)<<12|(63&a)<<6|63&u)>65535&&s<1114112&&(l=s)}null===l?(l=65533,c=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=c}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}function E(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function w(e,t,r,n,o,i){if(!u.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function O(e,t,r,n,o,i){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function P(e,t,r,n,i){return t=+t,r>>>=0,i||O(e,t,r,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,r,n,23,4),r+4}function R(e,t,r,n,i){return t=+t,r>>>=0,i||O(e,t,r,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,r,n,52,8),r+8}t.lW=u,t.h2=50,u.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),u.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,r){return s(e,t,r)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,r){return(f(e),e<=0)?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)},u.allocUnsafe=function(e){return l(e)},u.allocUnsafeSlow=function(e){return l(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(j(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),j(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=u.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(j(i,Uint8Array))o+i.length>n.length?u.from(i).copy(n,o):Uint8Array.prototype.set.call(n,i,o);else if(u.isBuffer(i))i.copy(n,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=i.length}return n},u.byteLength=h,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)y(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},u.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?m(this,0,e):g.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(e){if(!u.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",r=t.h2;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},i&&(u.prototype[i]=u.prototype.inspect),u.prototype.compare=function(e,t,r,n,o){if(j(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var i=o-n,a=r-t,s=Math.min(i,a),f=this.slice(n,o),l=e.slice(t,r),c=0;c<s;++c)if(f[c]!==l[c]){i=f[c],a=l[c];break}return i<a?-1:a<i?1:0},u.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return v(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return v(this,e,t,r,!1)},u.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,a,u,s,f,l,c,d=this.length-t;if((void 0===r||r>d)&&(r=d),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;n>i/2&&(n=i/2);for(var a=0;a<n;++a){var u=parseInt(t.substr(2*a,2),16);if(u!=u)break;e[r+a]=u}return a}(this,e,t,r);case"utf8":case"utf-8":return o=t,i=r,x(T(e,this.length-o),this,o,i);case"ascii":case"latin1":case"binary":return a=t,u=r,x(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,a,u);case"base64":return s=t,f=r,x(A(e),this,s,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l=t,c=r,x(function(e,t){for(var r,n,o=[],i=0;i<e.length&&!((t-=2)<0);++i)n=(r=e.charCodeAt(i))>>8,o.push(r%256),o.push(n);return o}(e,this.length-l),this,l,c);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},u.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,u.prototype),n},u.prototype.readUintLE=u.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||E(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},u.prototype.readUintBE=u.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||E(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||E(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||E(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||E(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||E(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||E(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||E(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||E(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},u.prototype.readInt8=function(e,t){return(e>>>=0,t||E(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||E(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){e>>>=0,t||E(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||E(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||E(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return e>>>=0,t||E(e,4,this.length),o.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||E(e,4,this.length),o.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||E(e,8,this.length),o.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||E(e,8,this.length),o.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;w(this,e,t,r,o,0)}var i=1,a=0;for(this[t]=255&e;++a<r&&(i*=256);)this[t+a]=e/i&255;return t+r},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;w(this,e,t,r,o,0)}var i=r-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+r},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);w(this,e,t,r,o-1,-o)}var i=0,a=1,u=0;for(this[t]=255&e;++i<r&&(a*=256);)e<0&&0===u&&0!==this[t+i-1]&&(u=1),this[t+i]=(e/a>>0)-u&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);w(this,e,t,r,o-1,-o)}var i=r-1,a=1,u=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===u&&0!==this[t+i+1]&&(u=1),this[t+i]=(e/a>>0)-u&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeFloatLE=function(e,t,r){return P(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return P(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return R(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return R(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(!u.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),o},u.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var o,i=e.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var a=u.isBuffer(e)?e:u.from(e,n),s=a.length;
1if(0===s)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-t;++o)this[o+t]=a[o%s]}return this};var S=/[^+/0-9A-Za-z-_]/g;function T(e,t){t=t||1/0;for(var r,n=e.length,o=null,i=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319||a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function A(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(S,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function x(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length)&&!(o>=e.length);++o)t[o+r]=e[o];return o}function j(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var _=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)t[n+o]=e[r]+e[o];return t}()},33861:function(e,t){"use strict";t.byteLength=function(e){var t=s(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,i=s(e),a=i[0],u=i[1],f=new o((a+u)*3/4-u),l=0,c=u>0?a-4:a;for(r=0;r<c;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],f[l++]=t>>16&255,f[l++]=t>>8&255,f[l++]=255&t;return 2===u&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,f[l++]=255&t),1===u&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,f[l++]=t>>8&255,f[l++]=255&t),f},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=0,u=n-o;a<u;a+=16383)i.push(function(e,t,n){for(var o,i=[],a=t;a<n;a+=3)i.push(r[(o=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]))>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return i.join("")}(e,a,a+16383>u?u:a+16383));return 1===o?i.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===o&&i.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=i.length;a<u;++a)r[a]=i[a],n[i.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},11664:function(e,t){t.read=function(e,t,r,n,o){var i,a,u=8*o-n-1,s=(1<<u)-1,f=s>>1,l=-7,c=r?o-1:0,d=r?-1:1,p=e[t+c];for(c+=d,i=p&(1<<-l)-1,p>>=-l,l+=u;l>0;i=256*i+e[t+c],c+=d,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;l>0;a=256*a+e[t+c],c+=d,l-=8);if(0===i)i=1-f;else{if(i===s)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),i-=f}return(p?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,u,s,f=8*i-o-1,l=(1<<f)-1,c=l>>1,d=23===o?5960464477539062e-23:0,p=n?0:i-1,h=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(u=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),a+c>=1?t+=d/s:t+=d*Math.pow(2,1-c),t*s>=2&&(a++,s/=2),a+c>=l?(u=0,a=l):a+c>=1?(u=(t*s-1)*Math.pow(2,o),a+=c):(u=t*Math.pow(2,c-1)*Math.pow(2,o),a=0));o>=8;e[r+p]=255&u,p+=h,u/=256,o-=8);for(a=a<<o|u,f+=o;f>0;e[r+p]=255&a,p+=h,a/=256,f-=8);e[r+p-h]|=128*g}}}]);
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.