PageSourceSearch

https://www.spatial.io/_next/static/chunks/3863-ac59efcd7f8f0c44.js

js spatial.io collected 2026-09-24 08:31:19 UTC 10,176 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3863,1416],{50381:function(e,t,r){"use strict";var n=r(91706),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var r,i,u,c,a,s,l,f,p=!1;t||(t={}),u=t.debug||!1;try{if(a=n(),s=document.createRange(),l=document.getSelection(),(f=document.createElement("span")).textContent=e,f.style.all="unset",f.style.position="fixed",f.style.top=0,f.style.clip="rect(0, 0, 0, 0)",f.style.whiteSpace="pre",f.style.webkitUserSelect="text",f.style.MozUserSelect="text",f.style.msUserSelect="text",f.style.userSelect="text",f.addEventListener("copy",function(r){if(r.stopPropagation(),t.format){if(r.preventDefault(),void 0===r.clipboardData){u&&console.warn("unable to use e.clipboardData"),u&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var n=o[t.format]||o.default;window.clipboardData.setData(n,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e)}t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))}),document.body.appendChild(f),s.selectNodeContents(f),l.addRange(s),!document.execCommand("copy"))throw Error("copy command was unsuccessful");p=!0}catch(n){u&&console.error("unable to copy using execCommand: ",n),u&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),p=!0}catch(n){u&&console.error("unable to copy using clipboardData: ",n),u&&console.error("falling back to prompt"),r="message"in t?t.message:"Copy to clipboard: #{key}, Enter",i=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",c=r.replace(/#{\s*key\s*}/g,i),window.prompt(c,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),f&&document.body.removeChild(f),a()}return p}},67320:function(e,t,r){var n=r(37772),o=r(38101),i=r(7642),u=r(66188),c=n.isFinite,a=Math.min;e.exports=function(e){var t=Math[e];return function(e,r){if(e=i(e),(r=null==r?0:a(o(r),292))&&c(e)){var n=(u(e)+"e").split("e");return+((n=(u(t(n[0]+"e"+(+n[1]+r)))+"e").split("e"))[0]+"e"+(+n[1]-r))}return t(e)}}},1868:function(e,t,r){var n=r(67320)("ceil");e.exports=n},21842:function(e,t,r){var n=r(67320)("floor");e.exports=n},42101:function(e,t,r){"use strict";r.d(t,{S1:function(){return i},ZT:function(){return n},jU:function(){return u},on:function(){return o}});var n=function(){};function o(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&e.addEventListener&&e.addEventListener.apply(e,t)}function i(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)}var u=!0},44478:function(e,t,r){"use strict";var n=r(2784),o=r(42101);t.Z=function(e,t){void 0===t&&(t=!0);var r=(0,n.useState)(!1),i=r[0],u=r[1];return(0,n.useEffect)(function(){var r=function(){return u(!0)},n=function(){return u(!1)};t&&e&&e.current&&((0,o.on)(e.current,"mouseover",r),(0,o.on)(e.current,"mouseout",n));var i=e.current;return function(){t&&i&&((0,o.S1)(i,"mouseover",r),(0,o.S1)(i,"mouseout",n))}},[t,e]),i}},71339:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(2784),o=r(42101),i=o.jU?n.useLayoutEffect:n.useEffect,u={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0},c=o.jU&&void 0!==window.ResizeObserver?function(){var e=(0,n.useState)(null),t=e[0],r=e[1],o=(0,n.useState)(u),c=o[0],a=o[1],s=(0,n.useMemo)(function(){return new window.ResizeObserver(function(e){if(e[0]){var t=e[0].contentRect;a({x:t.x,y:t.y,width:t.width,height:t.height,top:t.top,left:t.left,bottom:t.bottom,right:t.right})}})},[]);return i(function(){if(t)return s.observe(t),function(){s.disconnect()}},[t]),[r,c]}:function(){return[o.ZT,u]}},28827:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(2784);function o(e){var t=(0,n.useRef)();return(0,n.useEffect)(function(){t.current=e}),t.current}},37291:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(2784);function o(e,t){void 0===t&&(t=0);var r=(0,n.useRef)(!1),o=(0,n.useRef)(),i=(0,n.useRef)(e),u=(0,n.useCallback)(function(){return r.current},[]),c=(0,n.useCallback)(function(){r.current=!1,o.current&&clearTimeout(o.current),o.current=setTimeout(function(){r.current=!0,i.current()},t)},[t]),a=(0,n.useCallback)(function(){r.current=null,o.current&&clearTimeout(o.current)},[]);return(0,n.useEffect)(function(){i.current=e},[e]),(0,n.useEffect)(function(){return c(),a},[t]),[u,a,c]}},36794:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
1Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var o=c(r(2784)),i=c(r(50381)),u=["text","onCopy","options","children"];function c(e){return e&&e.__esModule?e:{default:e}}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(a,e);var t,r,c=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=p(a);return e=t?Reflect.construct(r,arguments,p(this).constructor):r.apply(this,arguments),function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return f(e)}(this,e)});function a(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return d(f(e=c.call.apply(c,[this].concat(r))),"onClick",function(t){var r=e.props,n=r.text,u=r.onCopy,c=r.children,a=r.options,s=o.default.Children.only(c),l=(0,i.default)(n,a);u&&u(n,l),s&&s.props&&"function"==typeof s.props.onClick&&s.props.onClick(t)}),e}return r=[{key:"render",value:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),r=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,u),n=o.default.Children.only(t);return o.default.cloneElement(n,s(s({},r),{},{onClick:this.onClick}))}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(a.prototype,r),Object.defineProperty(a,"prototype",{writable:!1}),a}(o.default.PureComponent);t.CopyToClipboard=y,d(y,"defaultProps",{onCopy:void 0,options:void 0})},72282:function(e,t,r){"use strict";var n=r(36794).CopyToClipboard;n.CopyToClipboard=n,e.exports=n},32955:function(e,t,r){"use strict";r.d(t,{SV:function(){return u}});var n=r(2784);let o=(0,n.createContext)(null),i={didCatch:!1,error:null};class u extends n.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=i}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){let{error:e}=this.state;if(null!==e){for(var t,r,n=arguments.length,o=Array(n),u=0;u<n;u++)o[u]=arguments[u];null===(t=(r=this.props).onReset)||void 0===t||t.call(r,{args:o,reason:"imperative-api"}),this.setState(i)}}componentDidCatch(e,t){var r,n;null===(r=(n=this.props).onError)||void 0===r||r.call(n,e,t)}componentDidUpdate(e,t){let{didCatch:r}=this.state,{resetKeys:n}=this.props;if(r&&null!==t.error&&function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length!==t.length||e.some((e,r)=>!Object.is(e,t[r]))}(e.resetKeys,n)){var o,u;null===(o=(u=this.props).onReset)||void 0===o||o.call(u,{next:n,prev:e.resetKeys,reason:"keys"}),this.setState(i)}}render(){let{children:e,fallbackRender:t,FallbackComponent:r,fallback:i}=this.props,{didCatch:u,error:c}=this.state,a=e;if(u){let e={error:c,resetErrorBoundary:this.resetErrorBoundary};if((0,n.isValidElement)(i))a=i;else if("function"==typeof t)a=t(e);else if(r)a=(0,n.createElement)(r,e);else throw c}return(0,n.createElement)(o.Provider,{value:{didCatch:u,error:c,resetErrorBoundary:this.resetErrorBoundary}},a)}}},91706:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||r.forEach(function(t){e.addRange(t)}
1),t&&t.focus()}}}}]);

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.