PageSourceSearch

https://panel.whogohost.com/_nuxt/OikDaqb6.js

js whogohost.com collected 2026-10-03 22:43:49 UTC 3,798 bytes, 1 lines download raw bytes

1import{_ as F}from"./gCsm2vqS.js";import{_ as E}from"./CM2C2V57.js";import{_ as I}from"./CY0xYNXU.js";import{b9 as N,e as z,b as C,a2 as R,o as B,f as n,g as c,k as a,h as u,s as w,j as g,w as i,m as V,v as j,p as L,q as S,n as e,z as $,F as D,D as k,t as b,L as h,M as A,T as H}from"./BsIkG1OG.js";import{V as M,a as Y,b as q,c as G}from"./CyE212cX.js";import{V as U}from"./BkCORoIH.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new o.Error().stack;m&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[m]="49801a59-9e77-471b-a969-e5cad4a378b6",o._sentryDebugIdIdentifier="sentry-dbid-49801a59-9e77-471b-a969-e5cad4a378b6")}catch{}})();const W={key:0,class:"d-flex justify-center align-center py-16"},J={class:"d-flex align-center justify-space-between w-100 pr-4"},K={class:"text-subtitle-1 font-weight-medium"},O={class:"mx-n6 mt-n2 mb-n4"},Q={class:"font-weight-medium"},X={class:"text-right"},Z={class:"text-right"},ee={class:"text-right"},oe=N({__name:"pricing",setup(o){z({title:"Domain Reseller - Domain Pricing"});const{$apiFetch:m}=C();R();const p=h([]),_=h(null),r=h(!0),v=h(null),y=A(()=>_.value?.data?.pricing||[]),P=async()=>{const t=H("reseller-domain-pricing");if(t.data.value?.lastFetched&&Date.now()-new Date(t.data.value.lastFetched).getTime()<3e5){_.value=t.data.value,r.value=!1;return}r.value=!0,v.value=null;try{const s=await m("/api/resellers/domain/pricing",{method:"GET"});if(s?.result==="success"){const f={...s,lastFetched:new Date};_.value=f,t.data.value=f}else throw new Error(s?.message||"Failed to fetch pricing")}catch(s){console.error("Failed to fetch pricing:",s),v.value=s}finally{r.value=!1}};return B(async()=>{await P()}),(T,t)=>{const s=F,f=E,x=I;return n(),c("div",null,[a(s,{title:"Domain Pricing",subtitle:"View wholesale pricing for domain registration, transfer, and renewal","show-divider":!1}),u(r)?(n(),c("div",W,[a(f,{name:"loader",width:"240px"})])):w("",!0),u(r)?w("",!0):(n(),g(V,{key:1,"min-height":"400px"},{default:i(()=>[a(V,{class:"border-thin rounded-lg my-8"},{default:i(()=>[u(y).length===0&&!u(r)?(n(),g(j,{key:0,"min-height":"320px",class:"text-center py-16 border-none"},{default:i(()=>[a(L,{size:"64",color:"grey-lighten-1"},{default:i(()=>[...t[1]||(t[1]=[S(" $currencyIcon ",-1)])]),_:1}),t[2]||(t[2]=e("p",{class:"text-h6 mt-4"},"No pricing available",-1)),t[3]||(t[3]=e("p",{class:"text-body-2 text-medium-emphasis"},"Domain pricing information is not available at this time.",-1))]),_:1})):(n(),g(M,{key:1,modelValue:u(p),"onUpdate:modelValue":t[0]||(t[0]=l=>$(p)?p.value=l:null),variant:"accordion"},{default:i(()=>[(n(!0),c(D,null,k(u(y),l=>(n(),g(Y,{key:l.tld},{default:i(()=>[a(q,null,{default:i(()=>[e("div",J,[e("span",K,b(l.tld),1)])]),_:2},1024),a(G,{class:"px-0 bg-grey-lighten-5 border-t-thin"},{default:i(()=>[e("div",O,[a(U,{density:"comfortable",class:"bg-transparent"},{default:i(()=>[t[4]||(t[4]=e("thead",null,[e("tr",null,[e("th",{class:"text-left text-subtitle-2 text-medium-emphasis"},"Period"),e("th",{class:"text-right text-subtitle-2 text-medium-emphasis"},"Register"),e("th",{class:"text-right text-subtitle-2 text-medium-emphasis"},"Transfer"),e("th",{class:"text-right text-subtitle-2 text-medium-emphasis"},"Renew")])],-1)),e("tbody",null,[(n(!0),c(D,null,k(l.years,d=>(n(),c("tr",{key:d},[e("td",Q,b(d)+" "+b(d===1?"Year":"Years"),1),e("td",X,[a(x,{value:l.registrationPrice*d,size:"subtitle-2"},null,8,["value"])]),e("td",Z,[a(x,{value:l.transferPrice*d,size:"subtitle-2"},null,8,["value"])]),e("td",ee,[a(x,{value:l.renewalPrice*d,size:"subtitle-2"},null,8,["value"])])]))),128))])]),_:2},1024)])]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["modelValue"]))]),_:1})]),_:1}))])}}});export{oe as default};

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.