1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3116],{3820:(e,t,n)=>{var r=0/0,a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,l=/^0o[0-7]+$/i,o=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,u="object"==typeof self&&self&&self.Object===Object&&self,d=c||u||Function("return this")(),m=Object.prototype.toString,f=Math.max,g=Math.min,p=function(){return d.Date.now()};function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function x(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==m.call(t))return r;if(h(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=h(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var c=i.test(e);return c||l.test(e)?o(e.slice(2),c?2:8):s.test(e)?r:+e}e.exports=function(e,t,n){var r,a,s,i,l,o,c=0,u=!1,d=!1,m=!0;if("function"!=typeof e)throw TypeError("Expected a function");function v(t){var n=r,s=a;return r=a=void 0,c=t,i=e.apply(s,n)}function b(e){var n=e-o,r=e-c;return void 0===o||n>=t||n<0||d&&r>=s}function y(){var e,n,r,a=p();if(b(a))return w(a);l=setTimeout(y,(e=a-o,n=a-c,r=t-e,d?g(r,s-n):r))}function w(e){return(l=void 0,m&&r)?v(e):(r=a=void 0,i)}function S(){var e,n=p(),s=b(n);if(r=arguments,a=this,o=n,s){if(void 0===l)return c=e=o,l=setTimeout(y,t),u?v(e):i;if(d)return l=setTimeout(y,t),v(o)}return void 0===l&&(l=setTimeout(y,t)),i}return t=x(t)||0,h(n)&&(u=!!n.leading,s=(d="maxWait"in n)?f(x(n.maxWait)||0,t):s,m="trailing"in n?!!n.trailing:m),S.cancel=function(){void 0!==l&&clearTimeout(l),c=0,r=o=a=l=void 0},S.flush=function(){return void 0===l?i:w(p())},S}},4667:(e,t,n)=>{"use strict";n.d(t,{default:()=>i});var r=n(9372),a=n(5257);let s=[{title:"A Fast, 1 Second Update Interval",description:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{className:"text-neutral-400 text-subheading text-center lg:text-left mb-4",children:"The Price Stream is our fastest and most powerful price feed system to date."}),(0,r.jsx)("p",{className:"text-neutral-400 text-subheading text-center lg:text-left",children:"Prices get updated continuously on BandChain and sent to smart contracts via leading on-chain messaging protocols."})]}),img:"/static/img/price-stream/img-1s_update_interval.png",alt:"img-1s_update_interval"},{title:"Secured Through Staking",description:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{className:"text-neutral-400 text-subheading text-center lg:text-left mb-4",children:"Like Ethereum and leading L1s and L2s, Band Data Feed is secured via staking."}),(0,r.jsx)("p",{className:"text-neutral-400 text-subheading text-center lg:text-left",children:"Only community-elected validators have right to aggregate and report the data, ensuring maximum feeds accuracy."})]}),img:"/static/img/price-stream/img-secured_staking.png",alt:"img-secured_staking"},{title:(0,r.jsxs)(r.Fragment,{children:["Fully Open ",(0,r.jsx)("br",{})," and Permissionless"]}),description:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{className:"text-neutral-400 text-subheading text-center lg:text-left mb-4",children:"Gone were the days where you need to âContact usâ for data feed integrations."}),(0,r.jsx)("p",{className:"text-neutral-400 text-subheading text-center lg:text-left",children:"Band Price Stream is fully self-serviced and compatible with most smart contract ecosystems. All source codes are open."})]}),img:"/static/img/price-stream/img-permissionless.png",alt:"img-permissionless"}],i=()=>(0,r.jsx)("section",{className:"relative z-20 overflow-hidden px-0 lg:px-10",children:(0,r.jsx)("div",{className:"bg-neutral-900 rounded-nav py-[120px] px-10 xxl:px-0",children:(0,r.jsx)("div",{className:"container max-w-6xl mx-auto ",children:(0,r.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-16 xl:gap-32",children:s.map((e,t)=>(0,r.jsxs)("div",{className:"item",children:[(0,r.jsx)(a.default,{src:e.img,width:"120",height:"120",alt:e.alt,className:"mb-10 mx-auto lg:mx-0"}),(0,r.jsx)("h3",{className:"text-white text-xl lg:text-heading4 mb-4 text-center lg:text-left font-bold",children:e.title}),e.description]},t))})})})})},5257:(e,t,n)=>{"use strict";n.d(t,{default:()=>a.a});var r=n(5918),a=n.n(r)},5918:(e,t,n)=>{"use strict";
1Object.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 o},getImageProps:function(){return l}});let r=n(395),a=n(3878),s=n(166),i=r._(n(5422));function l(e){let{props:t}=(0,a.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:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let o=s.Image},6527:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(9372),a=n(1920);let s=e=>{let{src:t,size:n,width:s,height:i,className:l="",fill:o,stroke:c,strokeWidth:u,alt:d="",applyColorToAll:m=!0}=e,[f,g]=(0,a.useState)(""),[p,h]=(0,a.useState)(!0),[x,v]=(0,a.useState)(null),b=n||s||"24px",y=n||i||"24px";if((0,a.useEffect)(()=>{(async()=>{if(!t){v("No SVG source provided"),h(!1);return}try{h(!0);let e=await fetch(t);e.ok||console.log("Failed to load SVG: ".concat(e.statusText));let n=await e.text();n.trim().startsWith("<svg")||n.includes("<svg")||console.log("Invalid SVG content"),g(n),v(null)}catch(e){console.error("Error loading SVG:",e),v(e instanceof Error?e.message:"Failed to load SVG")}finally{h(!1)}})()},[t]),p)return null;if(x)return console.warn("SVG Error (".concat(t,"):"),x),null;if(!f)return null;let w=f;return w=w.replace(/<svg([^>]*)>/,(e,t)=>{let n=t.replace(/\s+width\s*=\s*["'][^"']*["']/g,"").replace(/\s+height\s*=\s*["'][^"']*["']/g,"");return"<svg".concat(n,' width="').concat("number"==typeof b?"".concat(b,"px"):b,'" height="').concat("number"==typeof y?"".concat(y,"px"):y,'" role="img" aria-label="').concat(d,'">')}),m&&(o||c||u)&&(w=w.replace(/<svg([^>]*)>/,(e,t)=>{let n=' style="'+(o?"fill: ".concat(o,";"):"")+(c?"stroke: ".concat(c,";"):"")+(u?"stroke-width: ".concat(u,";"):"")+'"';return"<svg".concat(t).concat(n,">")})),w=w.replace(/<svg([^>]*)>/,(e,t)=>{let n=t.match(/\s+class\s*=\s*["']([^"']*)["']/),r=n?n[1]:"",a=r?"".concat(r," ").concat(l).trim():l;return n?e.replace(/\s+class\s*=\s*["'][^"']*["']/,' class="'.concat(a,'"')):"<svg".concat(t,' class="').concat(a,'">')}),(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:w}})}},7519:(e,t,n)=>{"use strict";n.d(t,{default:()=>u});var r=n(9372),a=n(1920),s=n(1801),i=n(3820);let l=[],o={width:"100%",height:"100%"},c=(0,a.forwardRef)(function(e,t){var n;let{className:s,children:c,debounceTime:u=300,ignoreDimensions:d=l,parentSizeStyles:m,enableDebounceLeadingCall:f=!0,resizeObserverPolyfill:g,...p}=e,h=(0,a.useRef)(null),x=(0,a.useRef)(0),[v,b]=(0,a.useState)({width:0,height:0,top:0,left:0}),y=(0,a.useMemo)(()=>{let e=Array.isArray(d)?d:[d];return i(t=>{b(n=>Object.keys(n).filter(e=>n[e]!==t[e]).every(t=>e.includes(t))?n:t)},u,{leading:f})},[u,f,d]);return(0,a.useEffect)(()=>{let e=new(g||window.ResizeObserver)(e=>{e.forEach(e=>{var t;let{left:n,top:r,width:a,height:s}=null!=(t=null==e?void 0:e.contentRect)?t:{};x.current=window.requestAnimationFrame(()=>{y({width:a,height:s,top:r,left:n})})})});return h.current&&e.observe(h.current),()=>{window.cancelAnimationFrame(x.current),e.disconnect(),y.cancel()}},[y,g]),(0,r.jsx)("div",{style:{...o,...m},ref:(n=[t,h],e=>{n.forEach(t=>{"function"==typeof t?t(e):null!=t&&(t.current=e)})}),className:s,...p,children:c({...v,ref:h.current,resize:y})})}),u=(0,a.forwardRef)((e,t)=>{let{scene:n,style:i,onSplineMouseDown:l,onSplineMouseUp:o,onSplineMouseHover:u,onSplineKeyDown:d,onSplineKeyUp:m,onSplineStart:f,onSplineLookAt:g,onSplineFollow:p,onSplineScroll:h,onLoad:x,renderOnDemand:v=!0,wasmPath:b,children:y,...w}=e,S=(0,a.useRef)(null),[j,N]=(0,a.useState)(!0),[O,k]=(0,a.useState)();if(O)throw O;return(0,a.useEffect)(()=>{let e;N(!0);let t=[{name:"mouseDown",cb:l},{name:"mouseUp",cb:o},{name:"mouseHover",cb:u}
1,{name:"keyDown",cb:d},{name:"keyUp",cb:m},{name:"start",cb:f},{name:"lookAt",cb:g},{name:"follow",cb:p},{name:"scroll",cb:h}];return S.current&&(e=new s.l(S.current,{renderOnDemand:v,wasmPath:b}),(async function(){for(let r of(await e.load(n),t))r.cb&&e.addEventListener(r.name,r.cb);N(!1),null==x||x(e)})().catch(e=>{k(e)})),()=>{for(let n of t)n.cb&&e.removeEventListener(n.name,n.cb);e.dispose()}},[n]),(0,r.jsx)(c,{ref:t,parentSizeStyles:{overflow:"hidden",...i},debounceTime:50,...w,children:()=>(0,r.jsxs)(r.Fragment,{children:[j&&y,(0,r.jsx)("canvas",{ref:S,style:{display:j?"none":"block"}})]})})})},9914:(e,t,n)=>{Promise.resolve().then(n.bind(n,7519)),Promise.resolve().then(n.t.bind(n,5353,23)),Promise.resolve().then(n.t.bind(n,166,23)),Promise.resolve().then(n.bind(n,6527)),Promise.resolve().then(n.bind(n,4667))}},e=>{e.O(0,[7563,8926,3838,4103,2398,7358],()=>e(e.s=9914)),_N_E=e.O()}]);
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.