PageSourceSearch

https://geotoolhub.com/_next/static/chunks/6543-a705af6262a6da28.js

js geotoolhub.com collected 2026-10-07 20:36:15 UTC 14,492 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6543],{52460:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(26613).Z)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},28945:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(26613).Z)("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]])},26653:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(26613).Z)("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]])},83424:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(26613).Z)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},36431:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(26613).Z)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},94360:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(26613).Z)("Ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]])},11344:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(26613).Z)("Hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]])},30662:function(e,t,n){n.d(t,{default:function(){return o.a}});var r=n(83055),o=n.n(r)},83055:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return a},getImageProps:function(){return l}});let r=n(23344),o=n(88824),u=n(20356),i=r._(n(39403));function l(e){let{props:t}=(0,o.getImgProps)(e,{defaultLoader:i.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!0,unoptimized:!0}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let a=u.Image},69131:function(e,t,n){n.d(t,{Bk:function(){return u},Uw:function(){return l},Y5:function(){return a},id:function(){return c},re:function(){return f}});let r=new Set,o="checking";function u(e){if(o!==e)for(let t of(o=e,r))t()}let i=new Set;function l(e){for(let e of i)e()}let a=new Set,c=null;function f(e){for(let t of(c=e,a))t()}},58848:function(e,t,n){n.d(t,{default:function(){return u}});var r=n(30382);let o=(0,n(40401).default)(()=>n.e(8939).then(n.bind(n,78939)),{loadableGenerated:{webpack:()=>[require.resolveWeak("../_chunks-es/SanityLiveStream.js")]},ssr:!1});function u(e){return(0,r.jsx)(o,{...e})}},78665:function(e,t,n){n.d(t,{default:function(){return b}});var r=n(30382),o=n(53947),u=n(82336),i=n(40401),l=n(23451),a=n(39638),c=n(85927),f=n(69131);let s=(0,i.default)(()=>Promise.all([n.e(2458),n.e(3029),n.e(2961)]).then(n.bind(n,12961)),{loadableGenerated:{webpack:()=>[require.resolveWeak("../_chunks-es/PresentationComlink.js")]},ssr:!1}),d=(0,i.default)(()=>n.e(355).then(n.bind(n,60355)),{loadableGenerated:{webpack:()=>[require.resolveWeak("../_chunks-es/RefreshOnMount.js")]},ssr:!1}),p=(0,i.default)(()=>n.e(3740).then(n.bind(n,63740)),{loadableGenerated:{webpack:()=>[require.resolveWeak("../_chunks-es/RefreshOnFocus.js")]},ssr:!1}),h=(0,i.default)(()=>n.e(2172).then(n.bind(n,92172)),{loadableGenerated:{webpack:()=>[require.resolveWeak("../_chunks-es/RefreshOnReconnect.js")]},ssr:!1}),m=()=>window!==window.parent,y=()=>!!window.opener,v=()=>m()||y();function b(e){let{projectId:t,dataset:n,apiHost:i,apiVersion:m,useProjectHostname:b,token:g,requestTagPrefix:k,draftModeEnabled:w,draftModePerspective:x,refreshOnMount:j=!1,refreshOnFocus:P=typeof window>"u"||window.self===window.top,refreshOnReconnect:R=!0,tag:E}=e,[S,Z]=(0,a.useState)(null);if(S)throw S;(0,a.useEffect)(()=>{},[w,g]);let A=(0,a.useMemo)(()=>(0,o.eI)({projectId:t,dataset:n,apiHost:i,apiVersion:m,useProjectHostname:b,ignoreBrowserTokenWarning:!0,token:g,useCdn:!1,requestTagPrefix:k}),[i,m,n,t,k,g,b]);(0,a.useEffect)(()=>{let e=A.getDataUrl("live/events"),t=new URL(A.getUrl(e,!1)),n=[k,E,"cors-preflight"].filter(
1Boolean).join(".");n&&t.searchParams.set("tag",n),g&&t.searchParams.set("includeDrafts","true");let r=new AbortController;return(async function(e){var n;let o=await fetch(t,{signal:e,headers:g?{authorization:"Bearer ".concat(g)}:void 0});if(!o.ok)throw 401===o.status&&g?Error("Failed to connect to '".concat(t,"', invalid browser token"),{cause:o.statusText}):Error("Failed to connect to '".concat(t,"': ").concat(o.status),{cause:o.statusText});let u=null===(n=o.body)||void 0===n?void 0:n.getReader();if(!u)throw Error("Failed to get stream reader");try{let{done:e,value:t}=await u.read();if(e||!t)throw Error("Stream ended without data")}finally{u.cancel(),r.abort()}})(r.signal).catch(e=>{(null==e?void 0:e.name)!=="AbortError"&&(console.error("Error validating EventSource URL:",e),Z(e))}),()=>r.abort()},[E,A,k,g]);let C=(0,l.useRouter)(),L=(0,c.i)(e=>{"message"===e.type?(0,u.n)(e.tags):"restart"===e.type&&C.refresh()});(0,a.useEffect)(()=>{let e=A.live.events({includeDrafts:!!g,tag:E}).subscribe({next:e=>{("message"===e.type||"restart"===e.type)&&L(e)},error:Z});return()=>e.unsubscribe()},[A.live,L,E,g]),(0,a.useEffect)(()=>{w&&x?(0,f.Bk)(x):(0,f.Bk)("unknown")},[w,x]);let[U,_]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if(!v()){if(w&&g){(0,f.Uw)("live");return}if(w){(0,f.Uw)("static");return}(0,f.Uw)("unknown")}},[w,g]),(0,a.useEffect)(()=>{if(!v())return;let e=new AbortController,t=setTimeout(()=>(0,f.Uw)("live"),3e3);return window.addEventListener("message",n=>{let{data:r}=n;r&&"object"==typeof r&&"domain"in r&&"sanity/channels"===r.domain&&"from"in r&&"presentation"===r.from&&(clearTimeout(t),(0,f.Uw)(y()?"presentation-window":"presentation-iframe"),_(!0),e.abort())},{signal:e.signal}),()=>{clearTimeout(t),e.abort()}},[]);let T=(0,a.useRef)(void 0);return(0,a.useEffect)(()=>{if(w)return clearTimeout(T.current),()=>{T.current=setTimeout(()=>{})}},[w]),(0,r.jsxs)(r.Fragment,{children:[w&&U&&(0,r.jsx)(s,{draftModeEnabled:w,draftModePerspective:x}),!w&&j&&(0,r.jsx)(d,{}),!w&&P&&(0,r.jsx)(p,{}),!w&&R&&(0,r.jsx)(h,{})]})}b.displayName="SanityLive"},82336:function(e,t,n){n.d(t,{N:function(){return o},n:function(){return u}}),n(81853);var r=n(66643),o=(0,r.$)("679376dcf235dc68a25a00bf5bff777e89162118"),u=(0,r.$)("5c6228fee63ac4a8bc1b652232cc55243b5d8d15")},78531:function(e,t,n){n.d(t,{j:function(){return u}});let r=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,o=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,r,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(o&&(o+=" "),o+=r);else for(n in t)t[n]&&(o&&(o+=" "),o+=n)}return o}(e))&&(r&&(r+=" "),r+=t);return r},u=(e,t)=>n=>{var u;if((null==t?void 0:t.variants)==null)return o(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:i,defaultVariants:l}=t,a=Object.keys(i).map(e=>{let t=null==n?void 0:n[e],o=null==l?void 0:l[e];if(null===t)return null;let u=r(t)||r(o);return i[e][u]}),c=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return o(e,a,null==t?void 0:null===(u=t.compoundVariants)||void 0===u?void 0:u.reduce((e,t)=>{let{class:n,className:r,...o}=t;return Object.entries(o).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...l,...c}[t]):({...l,...c})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}},6949:function(e,t,n){n.d(t,{Z:function(){return p}});var r=n(23451),o=n(39638),u=n.t(o,2),i=n(42987),l=u["use".trim()],a=n(94740),c=n(44903),f=n(28488),s=n(30382),d=n(7676);function p(e){let{Link:t,config:n,getPathname:u,...p}=function(e,t){var n,u,i;let d={...n=t||{},localePrefix:"object"==typeof(i=n.localePrefix)?i:{mode:i||"always"},localeCookie:!!((u=n.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof u&&u},localeDetection:n.localeDetection??!0,alternateLinks:n.alternateLinks??!0},p=d.pathnames,h=(0,o.forwardRef)(function({href:t,locale:n,...r},o){let u,i;"object"==typeof t?(u=t.pathname,i=t.params):u=t;let f=(0,a.t3)(t),h=e(),y=(0,a.tI)(h)?l(h):h,v=f?m({locale:n||y,href:null==p?u:{pathname:u,params:i},forcePrefix:null!=n||void 0}):u;return(0,s.jsx)(c.default,{ref:o,href:"object"==typeof t?{...t,pathname:v}:v,locale:n,localeCookie:d.localeCookie,...r})});function m(e){let t;let{forcePrefix:n,href:r,locale:o}=e;return null==p?"object"==typeof r?(t=r.pathname,r.query&&(t+=(0,f.Ci)(r.query))):t=r:t=(0,f.cT)({locale:o,...(0,f.hm)(r),pathnames:d.pathnames}),(0,f.r6)(t,o,d,n)}function y(e){return function(t,...n){return e(m(t),...n)}}return{config:d,Link:h,redirect:y(r.redirect),permanentRedirect:y(r.permanentRedirect),getPathname:m}}(i.bU,e);return{...p,Link:t,usePathname:function(){let e=function(e){let t=(0,r.usePathname)(),n=(0,i.bU)();return(0,o.useMemo)(()=>
1{if(!t)return t;let r=t,o=(0,a.Af)(n,e.localePrefix);if((0,a.Tp)(o,t))r=(0,a.vz)(t,o);else if("never"!==e.localePrefix.mode&&e.localePrefix.prefixes){let e=(0,a.Sk)(n);(0,a.Tp)(e,t)&&(r=(0,a.vz)(t,e))}return r},[e.localePrefix,n,t])}(n),t=(0,i.bU)();return(0,o.useMemo)(()=>e&&n.pathnames?(0,f.Bv)(t,e,n.pathnames):e,[t,e])},useRouter:function(){let e=(0,r.useRouter)(),t=(0,i.bU)(),l=(0,r.usePathname)();return(0,o.useMemo)(()=>{function r(e){return function(r,o){let{locale:i,...a}=o||{},c=[u({href:r,locale:i||t,forcePrefix:null!=i||void 0})];Object.keys(a).length>0&&c.push(a),(0,d.Z)(n.localeCookie,l,t,i),e(...c)}}return{...e,push:r(e.push),replace:r(e.replace),prefetch:r(e.prefetch)}},[t,l,e])},getPathname:u}}},44903:function(e,t,n){n.d(t,{default:function(){return c}});var r=n(61195),o=n(23451),u=n(39638),i=n(42987),l=n(7676),a=n(30382),c=(0,u.forwardRef)(function(e,t){let{href:n,locale:u,localeCookie:c,onClick:f,prefetch:s,...d}=e,p=(0,i.bU)(),h=null!=u&&u!==p,m=(0,o.usePathname)();return h&&(s=!1),(0,a.jsx)(r.default,{ref:t,href:n,hrefLang:h?u:void 0,onClick:function(e){(0,l.Z)(c,m,p,u),f&&f(e)},prefetch:s,...d})})},7676:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(28488);function o(e,t,n,o){if(!e||!(o!==n&&null!=o)||!t)return;let u=(0,r.bv)(t),{name:i,...l}=e;l.path||(l.path=""!==u?u:"/");let a=`${i}=${o};`;for(let[e,t]of Object.entries(l))a+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(a+="="+t),a+=";";document.cookie=a}},28488:function(e,t,n){n.d(t,{Bv:function(){return l},Ci:function(){return u},bv:function(){return a},cT:function(){return i},hm:function(){return o},r6:function(){return c}});var r=n(94740);function o(e){return"string"==typeof e?{pathname:e}:e}function u(e){let t=new URLSearchParams;for(let[n,r]of Object.entries(e))Array.isArray(r)?r.forEach(e=>{t.append(n,String(e))}):t.set(n,String(r));return"?"+t.toString()}function i({pathname:e,locale:t,params:n,pathnames:o,query:i}){function l(e){let l;let a=o[e];return a?(l=(0,r.lB)(a,t,e),n&&Object.entries(n).forEach(([e,t])=>{let n,r;Array.isArray(t)?(n=`(\\[)?\\[...${e}\\](\\])?`,r=t.map(e=>String(e)).join("/")):(n=`\\[${e}\\]`,r=String(t)),l=l.replace(RegExp(n,"g"),r)}),l=new URL(l=l.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):l=e,l=(0,r.RZ)(l),i&&(l+=u(i)),l}if("string"==typeof e)return l(e);{let{pathname:t,...n}=e;return{...n,pathname:l(t)}}}function l(e,t,n){let o=(0,r.kp)(Object.keys(n)),u=decodeURI(t);for(let t of o){let o=n[t];if("string"==typeof o){if((0,r.wl)(o,u))return t}else if((0,r.wl)((0,r.lB)(o,e,t),u))return t}return t}function a(e,t=window.location.pathname){return"/"===e?t:t.replace(e,"")}function c(e,t,n,o){let u;let{mode:i}=n.localePrefix;if(void 0!==o)u=o;else if((0,r.t3)(e)){let e=n.domains?.find(e=>e.locales.includes(t)),r=e?.localePrefix||i;"always"===r?u=!0:"as-needed"===r&&(u=e?t!==e.defaultLocale:t!==n.defaultLocale)}return u?(0,r.R3)((0,r.Af)(t,n.localePrefix),e):e}},12417:function(e,t,n){n.d(t,{T:function(){return u}});var r=n(42987);function o(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let u=o(0,r.T_);o(0,r.Gb)},68944:function(e,t,n){n.d(t,{Z:function(){return r}});function r(e){return e}},94740:function(e,t,n){n.d(t,{Af:function(){return s},R3:function(){return i},RZ:function(){return c},Sk:function(){return d},Tp:function(){return l},kp:function(){return v},lB:function(){return a},t3:function(){return o},tI:function(){return b},vz:function(){return u},wl:function(){return f}});var r=n(28070);function o(e){return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&!function(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}(e)}function u(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}function i(e,t){let n=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),n+=t}function l(e,t){return t===e||t.startsWith(`${e}/`)}function a(e,t,n){return"string"==typeof e?e:e[t]||n}function c(e){let t=function(){try{return"true"===r.env._next_intl_trailing_slash}catch{return!1}}(),[n,...o]=e.split("#"),u=o.join("#"),i=n;if("/"!==i){let e=i.endsWith("/");t&&!e?i+="/":!t&&e&&(i=i.slice(0,-1))}return u&&(i+="#"+u),i}function f(e,t){let n=c(e),r=c(t);return(function(e){let t=e.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)");return RegExp(`^${t}$`)})(n).test(r)}function s(e,t){return"never"!==t.mode&&t.prefixes?.[e]||d(e)}function d(e){return"/"+e}function p(e){return e.includes("[[...")}function h(e){return e.includes("[...")}function m(e){return e.includes("[")}function y(e,t){let n=e.split("/"),r=t.split("/"),o=Math.max(n.length,r.length);for(let e=0;e<o;e++){let t=n[e],o=r[e];if(!t&&o)return -1;if(t&&!o)return 1;if(t||o){if(!m(t)&&m(o))return -1;if(m(t)&&!m(o))return 1;if(!h(t)&&h(o))return -1;if(h(t)&&!h(o))return 1;if(!p(t)&&p(o))return -1;if(p(t)&&!p(o))return 1}}return 0}function v(e){return e.sort(y)}function b(e){return"function"==typeof e.then}},80053:function(e,t,n){n.d(t,{default:function(){return i}});var r=n(30382),o=n(39638);let u=(0,o.lazy)(()=>Promise.all([n.e(7233),n.e(5503),n.e(2458),n.e(3029),n.e(5526),n.e(6605)]).then(n.bind(n,30617)));function i(e){return(0,r.jsx)(o.Suspense,{fallback:null,children:(0,r.jsx)(u,{...e})})}}}]);

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.