PageSourceSearch

https://www.blogsites.ai/_next/static/chunks/pages/domain-sale-ff9128febf783a4e.js

js blogsites.ai collected 2026-10-05 13:48:33 UTC 6,857 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[902],{9285:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/domain-sale",function(){return n(6316)}])},6316:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return y}});var r=n(5893),i=n(7294),a=n(8498),o=n.n(a);n(2489);let s=e=>{var t;let{domain:n}=e,[a,o]=(0,i.useState)(n.domainName),[s,l]=(0,i.useState)(n.domainPrice),[c,d]=(0,i.useState)(n.domainBuyLink);return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("a",{href:(t=c,/^https?:\/\//i.test(t)||(t="http://"+t),t),target:"_blank",rel:"noopener noreferrer",onClick:e=>e.stopPropagation(),children:(0,r.jsx)("div",{className:"group relative bg-gray-800 transition hover:z-[1] hover:shadow-2xl  hover:shadow-gray-600/10",children:(0,r.jsx)("div",{className:"relative space-y-8 py-8 p-8 border-b border-gray-700",children:(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)("h5",{className:"text-2xl font-semibold text-white transition",children:a}),(0,r.jsxs)("p",{className:"text-gray-300 group-hover:text-secondary",children:["Buy for "," $"+s]})]})})})})})};var l=n(3726),c=n(7202),d=n(157),u=n(754),f=n(7255),m=n(5660),h=n(1664),v=n.n(h);let p=()=>{let{isAuthenticated:e,isLoading:t}=(0,m.A2)(),[n,a]=(0,i.useState)([]),[h,p]=(0,i.useState)(!0),[y,g]=(0,i.useState)(void 0),[x,b]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let n=async()=>{if(e){p(!0);try{let e=await (0,f.F)({type:"getAllDomains"});a(e.domains),g(e.lastEvaluatedKey)}catch(e){console.error("Error fetching domains:",e)}finally{p(!1)}}};t||n()},[e,t]),(0,i.useEffect)(()=>{let t=async()=>{if(x&&!h&&y&&e){p(!0);try{let e=await (0,f.F)({lastEvaluatedKey:y,type:"getAllDomains"});a(t=>[...t,...e.domains]),g(e.lastEvaluatedKey)}catch(e){console.error("Error fetching more domains:",e)}finally{p(!1),b(!1)}}};x&&t()},[x,h,y,e]),(0,i.useEffect)(()=>{var t;let n;let r=(t=()=>{window.innerHeight+window.scrollY>=document.documentElement.offsetHeight-50&&b(!0)},function(){clearTimeout(n),n=setTimeout(()=>t.apply(this,arguments),500)});if(e)return window.addEventListener("scroll",r),()=>window.removeEventListener("scroll",r)},[e]),(0,r.jsxs)(c.Z,{children:[(0,r.jsx)(l.Z,{title:"BlogSites.ai - Domain Marketplace",description:"Checkout wide range of domains for Sale"}),(0,r.jsx)(u.Z,{children:(0,r.jsxs)("div",{className:"relative flex flex-col h-screen",children:[(0,r.jsx)(d.Z,{showActionButton:!1,from:"domain-sale",navLinkEnable:!0}),(0,r.jsx)("div",{className:"relative flex-grow mt-8",children:t?(0,r.jsx)("div",{className:"flex justify-center items-center h-full",children:(0,r.jsx)(o(),{color:"#123abc",loading:!0,size:30})}):e?(0,r.jsxs)(r.Fragment,{children:[h&&(0,r.jsx)("div",{className:"flex justify-center mt-4",children:(0,r.jsx)(o(),{color:"#123abc",loading:h,size:30})}),(0,r.jsx)("div",{className:"mt-16 grid divide-x divide-y divide-gray-700 overflow-hidden  rounded-3xl border text-gray-600 border-gray-700 sm:grid-cols-2 lg:grid-cols-4  lg:divide-y-0 xl:grid-cols-4",children:n.map((e,t)=>(0,r.jsx)(s,{domain:e},t))})]}):(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center h-full",children:[(0,r.jsx)("h2",{className:"text-2xl font-bold text-white mb-4",children:"Please sign in to view available domains"}),(0,r.jsx)(v(),{href:"/api/auth/login",className:"px-6 py-2 text-white bg-blue-600 rounded-md hover:bg-blue-700 transition-colors",children:"Sign In"})]})})]})})]})};var y=p},8498:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}
1),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return a(t,e),t},s=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0});var l=o(n(7294)),c=n(6657),d=(0,n(10).createAnimation)("BeatLoader","50% {transform: scale(0.75);opacity: 0.2} 100% {transform: scale(1);opacity: 1}","beat");t.default=function(e){var t=e.loading,n=e.color,i=void 0===n?"#000000":n,a=e.speedMultiplier,o=void 0===a?1:a,u=e.cssOverride,f=e.size,m=void 0===f?15:f,h=e.margin,v=void 0===h?2:h,p=s(e,["loading","color","speedMultiplier","cssOverride","size","margin"]),y=r({display:"inherit"},void 0===u?{}:u),g=function(e){return{display:"inline-block",backgroundColor:i,width:(0,c.cssValue)(m),height:(0,c.cssValue)(m),margin:(0,c.cssValue)(v),borderRadius:"100%",animation:"".concat(d," ").concat(.7/o,"s ").concat(e%2?"0s":"".concat(.35/o,"s")," infinite linear"),animationFillMode:"both"}};return void 0===t||t?l.createElement("span",r({style:y},p),l.createElement("span",{style:g(1)}),l.createElement("span",{style:g(2)}),l.createElement("span",{style:g(3)})):null}},10:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAnimation=void 0,t.createAnimation=function(e,t,n){var r="react-spinners-".concat(e,"-").concat(n);if("undefined"==typeof window||!window.document)return r;var i=document.createElement("style");document.head.appendChild(i);var a=i.sheet,o="\n    @keyframes ".concat(r," {\n      ").concat(t,"\n    }\n  ");return a&&a.insertRule(o,0),r}},6657:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cssValue=t.parseLengthAndUnit=void 0;var n={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function r(e){if("number"==typeof e)return{value:e,unit:"px"};var t,r=(e.match(/^[0-9.]*/)||"").toString();t=r.includes(".")?parseFloat(r):parseInt(r,10);var i=(e.match(/[^0-9]*$/)||"").toString();return n[i]?{value:t,unit:i}:(console.warn("React Spinners: ".concat(e," is not a valid css value. Defaulting to ").concat(t,"px.")),{value:t,unit:"px"})}t.parseLengthAndUnit=r,t.cssValue=function(e){var t=r(e);return"".concat(t.value).concat(t.unit)}}},function(e){e.O(0,[976,512,664,157,774,888,179],function(){return e(e.s=9285)}),_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.