PageSourceSearch

https://forestryimages.org/_next/static/chunks/4680-8f55b79a52696791.js

js forestryimages.org collected 2026-10-02 03:43:39 UTC 17,290 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="19ae4c56-ca53-4382-84d1-de7119bcdcd8",e._sentryDebugIdIdentifier="sentry-dbid-19ae4c56-ca53-4382-84d1-de7119bcdcd8")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4680],{11452:function(e,t,r){let a,o;r.d(t,{_:function(){return Z}});let n=new TextEncoder,i=new TextDecoder,s=e=>{let t=atob(e),r=new Uint8Array(t.length);for(let e=0;e<t.length;e++)r[e]=t.charCodeAt(e);return r},c=e=>{let t=e;t instanceof Uint8Array&&(t=i.decode(t)),t=t.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"");try{return s(t)}catch{throw TypeError("The input to be decoded is not correctly encoded.")}};class d extends Error{static get code(){return"ERR_JOSE_GENERIC"}constructor(e){super(e),this.code="ERR_JOSE_GENERIC",this.name=this.constructor.name,Error.captureStackTrace?.(this,this.constructor)}}class l extends d{static get code(){return"ERR_JWT_CLAIM_VALIDATION_FAILED"}constructor(e,t,r="unspecified",a="unspecified"){super(e),this.code="ERR_JWT_CLAIM_VALIDATION_FAILED",this.claim=r,this.reason=a,this.payload=t}}class u extends d{static get code(){return"ERR_JWT_EXPIRED"}constructor(e,t,r="unspecified",a="unspecified"){super(e),this.code="ERR_JWT_EXPIRED",this.claim=r,this.reason=a,this.payload=t}}class p extends d{constructor(){super(...arguments),this.code="ERR_JOSE_ALG_NOT_ALLOWED"}static get code(){return"ERR_JOSE_ALG_NOT_ALLOWED"}}class f extends d{constructor(){super(...arguments),this.code="ERR_JOSE_NOT_SUPPORTED"}static get code(){return"ERR_JOSE_NOT_SUPPORTED"}}class h extends d{constructor(){super(...arguments),this.code="ERR_JWS_INVALID"}static get code(){return"ERR_JWS_INVALID"}}class y extends d{constructor(){super(...arguments),this.code="ERR_JWT_INVALID"}static get code(){return"ERR_JWT_INVALID"}}class m extends d{constructor(){super(...arguments),this.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED",this.message="signature verification failed"}static get code(){return"ERR_JWS_SIGNATURE_VERIFICATION_FAILED"}}var w=crypto;let g=e=>e instanceof CryptoKey;var S=(e,t)=>{if(e.startsWith("RS")||e.startsWith("PS")){let{modulusLength:r}=t.algorithm;if("number"!=typeof r||r<2048)throw TypeError(`${e} requires key modulusLength to be 2048 bits or larger`)}};function b(e,t="algorithm.name"){return TypeError(`CryptoKey does not support this operation, its ${t} must be ${e}`)}function E(e,t){return e.name===t}function v(e){return parseInt(e.name.slice(4),10)}function A(e,t,...r){if(r.length>2){let t=r.pop();e+=`one of type ${r.join(", ")}, or ${t}.`}else 2===r.length?e+=`one of type ${r[0]} or ${r[1]}.`:e+=`of type ${r[0]}.`;return null==t?e+=` Received ${t}`:"function"==typeof t&&t.name?e+=` Received function ${t.name}`:"object"==typeof t&&null!=t&&t.constructor?.name&&(e+=` Received an instance of ${t.constructor.name}`),e}var R=(e,...t)=>A("Key must be ",e,...t);function k(e,t,...r){return A(`Key for the ${e} algorithm must be `,t,...r)}var _=e=>!!g(e)||e?.[Symbol.toStringTag]==="KeyObject";let C=["CryptoKey"],P=async e=>{if(!e.alg)throw TypeError('"alg" argument is required when "jwk.alg" is not present');let{algorithm:t,keyUsages:r}=function(e){let t,r;switch(e.kty){case"RSA":switch(e.alg){case"PS256":case"PS384":case"PS512":t={name:"RSA-PSS",hash:`SHA-${e.alg.slice(-3)}`},r=e.d?["sign"]:["verify"];break;case"RS256":case"RS384":case"RS512":t={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.alg.slice(-3)}`},r=e.d?["sign"]:["verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":t={name:"RSA-OAEP",hash:`SHA-${parseInt(e.alg.slice(-3),10)||1}`},r=e.d?["decrypt","unwrapKey"]:["encrypt","wrapKey"];break;default:throw new f('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"EC":switch(e.alg){case"ES256":t={name:"ECDSA",namedCurve:"P-256"},r=e.d?["sign"]:["verify"];break;case"ES384":t={name:"ECDSA",namedCurve:"P-384"},r=e.d?["sign"]:["verify"];break;case"ES512":t={name:"ECDSA",namedCurve:"P-521"},r=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":t={name:"ECDH",namedCurve:e.crv},r=e.d?["deriveBits"]:[];break;default:throw new f('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"OKP":switch(e.alg){case"EdDSA":t={name:e.crv},r=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":t={name:e.crv},r=e.d?["deriveBits"]:[];break;default:throw new f('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;default:throw new f('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}return{algorithm:t,keyUsages:r}}(e),a=[t,e.ext??!1,e.key_ops??r],o={...e};return delete o.alg,delete o.use,w.subtle.importKey("jwk",o,...a)},T=e=>c(e),I=e=>e?.[Symbol.toStringTag]==="KeyObject",H=async(e,t,r,a)=>{let o=e.get(t);if(o?.[a])return o[a];let n=await P({...r,alg:a});return o?o[a]=n:e.set(t,{[a]:n}),n};var W={normalizePublicKey:(e,t)=>{if(I(e)){let r=e.export({format:"jwk"});return(delete r.d,delete r.dp,delete r.dq,delete r.p,delete r.q,delete r.qi,r.k)?T(r.k):(o||(o=new WeakMap),H(o,e,r,t))}return e},normalizePrivateKey:(e,t)=>{if(I(e)){let r=e.export({format:"jwk"});return r.k?T(r.k):(a||(a=new WeakMap),H(a,e,r,t))}return e}};async function O(e,t,r){if("sign"===r&&(t=await W.normalizePrivateKey(t,e)),"verify"===r&&(t=await W.normalizePublicKey(t,e)),g(t))return!function(e,t,...r){switch(t){case"HS256":case"HS384"
1:case"HS512":{if(!E(e.algorithm,"HMAC"))throw b("HMAC");let r=parseInt(t.slice(2),10);if(v(e.algorithm.hash)!==r)throw b(`SHA-${r}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!E(e.algorithm,"RSASSA-PKCS1-v1_5"))throw b("RSASSA-PKCS1-v1_5");let r=parseInt(t.slice(2),10);if(v(e.algorithm.hash)!==r)throw b(`SHA-${r}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!E(e.algorithm,"RSA-PSS"))throw b("RSA-PSS");let r=parseInt(t.slice(2),10);if(v(e.algorithm.hash)!==r)throw b(`SHA-${r}`,"algorithm.hash");break}case"EdDSA":if("Ed25519"!==e.algorithm.name&&"Ed448"!==e.algorithm.name)throw b("Ed25519 or Ed448");break;case"ES256":case"ES384":case"ES512":{if(!E(e.algorithm,"ECDSA"))throw b("ECDSA");let r=function(e){switch(e){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw Error("unreachable")}}(t);if(e.algorithm.namedCurve!==r)throw b(r,"algorithm.namedCurve");break}default:throw TypeError("CryptoKey does not support this operation")}!function(e,t){if(t.length&&!t.some(t=>e.usages.includes(t))){let e="CryptoKey does not support this operation, its usages must include ";if(t.length>2){let r=t.pop();e+=`one of ${t.join(", ")}, or ${r}.`}else 2===t.length?e+=`one of ${t[0]} or ${t[1]}.`:e+=`${t[0]}.`;throw TypeError(e)}}(e,r)}(t,e,r),t;if(t instanceof Uint8Array){if(!e.startsWith("HS"))throw TypeError(R(t,...C));return w.subtle.importKey("raw",t,{hash:`SHA-${e.slice(-3)}`,name:"HMAC"},!1,[r])}throw TypeError(R(t,...C,"Uint8Array"))}let D=async(e,t,r,a)=>{let o=await O(e,t,"verify");S(e,o);let n=function(e,t){let r=`SHA-${e.slice(-3)}`;switch(e){case"HS256":case"HS384":case"HS512":return{hash:r,name:"HMAC"};case"PS256":case"PS384":case"PS512":return{hash:r,name:"RSA-PSS",saltLength:e.slice(-3)>>3};case"RS256":case"RS384":case"RS512":return{hash:r,name:"RSASSA-PKCS1-v1_5"};case"ES256":case"ES384":case"ES512":return{hash:r,name:"ECDSA",namedCurve:t.namedCurve};case"EdDSA":return{name:t.name};default:throw new f(`alg ${e} is not supported either by JOSE or your javascript runtime`)}}(e,o.algorithm);try{return await w.subtle.verify(n,o,r,a)}catch{return!1}};var J=(...e)=>{let t;let r=e.filter(Boolean);if(0===r.length||1===r.length)return!0;for(let e of r){let r=Object.keys(e);if(!t||0===t.size){t=new Set(r);continue}for(let e of r){if(t.has(e))return!1;t.add(e)}}return!0};function $(e){if(!("object"==typeof e&&null!==e)||"[object Object]"!==Object.prototype.toString.call(e))return!1;if(null===Object.getPrototypeOf(e))return!0;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}let x=e=>e?.[Symbol.toStringTag],K=(e,t)=>{if(!(t instanceof Uint8Array)){if(!_(t))throw TypeError(k(e,t,...C,"Uint8Array"));if("secret"!==t.type)throw TypeError(`${x(t)} instances for symmetric algorithms must be of type "secret"`)}},U=(e,t,r)=>{if(!_(t))throw TypeError(k(e,t,...C));if("secret"===t.type)throw TypeError(`${x(t)} instances for asymmetric algorithms must not be of type "secret"`);if("sign"===r&&"public"===t.type)throw TypeError(`${x(t)} instances for asymmetric algorithm signing must be of type "private"`);if("decrypt"===r&&"public"===t.type)throw TypeError(`${x(t)} instances for asymmetric algorithm decryption must be of type "private"`);if(t.algorithm&&"verify"===r&&"private"===t.type)throw TypeError(`${x(t)} instances for asymmetric algorithm verifying must be of type "public"`);if(t.algorithm&&"encrypt"===r&&"private"===t.type)throw TypeError(`${x(t)} instances for asymmetric algorithm encryption must be of type "public"`)};var j=(e,t,r)=>{e.startsWith("HS")||"dir"===e||e.startsWith("PBES2")||/^A\d{3}(?:GCM)?KW$/.test(e)?K(e,t):U(e,t,r)},L=function(e,t,r,a,o){let n;if(void 0!==o.crit&&a?.crit===void 0)throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');if(!a||void 0===a.crit)return new Set;if(!Array.isArray(a.crit)||0===a.crit.length||a.crit.some(e=>"string"!=typeof e||0===e.length))throw new e('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');for(let i of(n=void 0!==r?new Map([...Object.entries(r),...t.entries()]):t,a.crit)){if(!n.has(i))throw new f(`Extension Header Parameter "${i}" is not recognized`);if(void 0===o[i])throw new e(`Extension Header Parameter "${i}" is missing`);if(n.get(i)&&void 0===a[i])throw new e(`Extension Header Parameter "${i}" MUST be integrity protected`)}return new Set(a.crit)},M=(e,t)=>{if(void 0!==t&&(!Array.isArray(t)||t.some(e=>"string"!=typeof e)))throw TypeError(`"${e}
1" option must be an array of strings`);if(t)return new Set(t)};async function N(e,t,r){let a,o;if(!$(e))throw new h("Flattened JWS must be an object");if(void 0===e.protected&&void 0===e.header)throw new h('Flattened JWS must have either of the "protected" or "header" members');if(void 0!==e.protected&&"string"!=typeof e.protected)throw new h("JWS Protected Header incorrect type");if(void 0===e.payload)throw new h("JWS Payload missing");if("string"!=typeof e.signature)throw new h("JWS Signature missing or incorrect type");if(void 0!==e.header&&!$(e.header))throw new h("JWS Unprotected Header incorrect type");let s={};if(e.protected)try{let t=c(e.protected);s=JSON.parse(i.decode(t))}catch{throw new h("JWS Protected Header is invalid")}if(!J(s,e.header))throw new h("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let d={...s,...e.header},l=L(h,new Map([["b64",!0]]),r?.crit,s,d),u=!0;if(l.has("b64")&&"boolean"!=typeof(u=s.b64))throw new h('The "b64" (base64url-encode payload) Header Parameter must be a boolean');let{alg:f}=d;if("string"!=typeof f||!f)throw new h('JWS "alg" (Algorithm) Header Parameter missing or invalid');let y=r&&M("algorithms",r.algorithms);if(y&&!y.has(f))throw new p('"alg" (Algorithm) Header Parameter value not allowed');if(u){if("string"!=typeof e.payload)throw new h("JWS Payload must be a string")}else if("string"!=typeof e.payload&&!(e.payload instanceof Uint8Array))throw new h("JWS Payload must be a string or an Uint8Array instance");let w=!1;"function"==typeof t&&(t=await t(s,e),w=!0),j(f,t,"verify");let g=function(...e){let t=new Uint8Array(e.reduce((e,{length:t})=>e+t,0)),r=0;for(let a of e)t.set(a,r),r+=a.length;return t}(n.encode(e.protected??""),n.encode("."),"string"==typeof e.payload?n.encode(e.payload):e.payload);try{a=c(e.signature)}catch{throw new h("Failed to base64url decode the signature")}if(!await D(f,t,a,g))throw new m;if(u)try{o=c(e.payload)}catch{throw new h("Failed to base64url decode the payload")}else o="string"==typeof e.payload?n.encode(e.payload):e.payload;let S={payload:o};return(void 0!==e.protected&&(S.protectedHeader=s),void 0!==e.header&&(S.unprotectedHeader=e.header),w)?{...S,key:t}:S}async function F(e,t,r){if(e instanceof Uint8Array&&(e=i.decode(e)),"string"!=typeof e)throw new h("Compact JWS must be a string or Uint8Array");let{0:a,1:o,2:n,length:s}=e.split(".");if(3!==s)throw new h("Invalid Compact JWS");let c=await N({payload:o,protected:a,signature:n},t,r),d={payload:c.payload,protectedHeader:c.protectedHeader};return"function"==typeof t?{...d,key:c.key}:d}var z=e=>Math.floor(e.getTime()/1e3);let B=/^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i;var V=e=>{let t;let r=B.exec(e);if(!r||r[4]&&r[1])throw TypeError("Invalid time period format");let a=parseFloat(r[2]);switch(r[3].toLowerCase()){case"sec":case"secs":case"second":case"seconds":case"s":t=Math.round(a);break;case"minute":case"minutes":case"min":case"mins":case"m":t=Math.round(60*a);break;case"hour":case"hours":case"hr":case"hrs":case"h":t=Math.round(3600*a);break;case"day":case"days":case"d":t=Math.round(86400*a);break;case"week":case"weeks":case"w":t=Math.round(604800*a);break;default:t=Math.round(31557600*a)}return"-"===r[1]||"ago"===r[4]?-t:t};let G=e=>e.toLowerCase().replace(/^application\//,""),q=(e,t)=>"string"==typeof e?t.includes(e):!!Array.isArray(e)&&t.some(Set.prototype.has.bind(new Set(e)));var X=(e,t,r={})=>{let a,o;try{a=JSON.parse(i.decode(t))}catch{}if(!$(a))throw new y("JWT Claims Set must be a top-level JSON object");let{typ:n}=r;if(n&&("string"!=typeof e.typ||G(e.typ)!==G(n)))throw new l('unexpected "typ" JWT header value',a,"typ","check_failed");let{requiredClaims:s=[],issuer:c,subject:d,audience:p,maxTokenAge:f}=r,h=[...s];for(let e of(void 0!==f&&h.push("iat"),void 0!==p&&h.push("aud"),void 0!==d&&h.push("sub"),void 0!==c&&h.push("iss"),new Set(h.reverse())))if(!(e in a))throw new l(`missing required "${e}" claim`,a,e,"missing");if(c&&!(Array.isArray(c)?c:[c]).includes(a.iss))throw new l('unexpected "iss" claim value',a,"iss","check_failed");if(d&&a.sub!==d)throw new l('unexpected "sub" claim value',a,"sub","check_failed");if(p&&!q(a.aud,"string"==typeof p?[p]:p))throw new l('unexpected "aud" claim value',a,"aud","check_failed");switch(typeof r.clockTolerance){case"string":o=V(r.clockTolerance);break;case"number":o=r.clockTolerance;break;case"undefined":o=0;break;default:throw TypeError("Invalid clockTolerance option type")}let{currentDate:m}=r,w=z(m||new Date);if((void 0!==a.iat||f)&&"number"!=typeof a.iat)throw new l('"iat" claim must be a number',a,"iat","invali
1d");if(void 0!==a.nbf){if("number"!=typeof a.nbf)throw new l('"nbf" claim must be a number',a,"nbf","invalid");if(a.nbf>w+o)throw new l('"nbf" claim timestamp check failed',a,"nbf","check_failed")}if(void 0!==a.exp){if("number"!=typeof a.exp)throw new l('"exp" claim must be a number',a,"exp","invalid");if(a.exp<=w-o)throw new u('"exp" claim timestamp check failed',a,"exp","check_failed")}if(f){let e=w-a.iat;if(e-o>("number"==typeof f?f:V(f)))throw new u('"iat" claim timestamp check failed (too far in the past)',a,"iat","check_failed");if(e<0-o)throw new l('"iat" claim timestamp check failed (it should be in the past)',a,"iat","check_failed")}return a};async function Z(e,t,r){let a=await F(e,t,r);if(a.protectedHeader.crit?.includes("b64")&&!1===a.protectedHeader.b64)throw new y("JWTs MUST NOT use unencoded payload");let o={payload:X(a.protectedHeader,a.payload,r),protectedHeader:a.protectedHeader};return"function"==typeof t?{...o,key:a.key}:o}},64131:function(e,t,r){/*! js-cookie v3.0.5 | MIT */function a(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)e[a]=r[a]}return e}r.d(t,{Z:function(){return o}});var o=function e(t,r){function o(e,o,n){if("undefined"!=typeof document){"number"==typeof(n=a({},r,n)).expires&&(n.expires=new Date(Date.now()+864e5*n.expires)),n.expires&&(n.expires=n.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var s in n)n[s]&&(i+="; "+s,!0!==n[s]&&(i+="="+n[s].split(";")[0]));return document.cookie=e+"="+t.write(o,e)+i}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],a={},o=0;o<r.length;o++){var n=r[o].split("="),i=n.slice(1).join("=");try{var s=decodeURIComponent(n[0]);if(a[s]=t.read(i,s),e===s)break}catch(e){}}return e?a[e]:a}},remove:function(e,t){o(e,"",a({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,a({},this.attributes,t))},withConverter:function(t){return e(a({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}}]);

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.