1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];if(null!=r)for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:cdn77-js-app":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3f15ac4f-7650-4abe-8575-b5c198fb1118",e._sentryDebugIdIdentifier="sentry-dbid-3f15ac4f-7650-4abe-8575-b5c198fb1118")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5788],{15471:e=>{e.exports={wrapper:"LayoutHeader_wrapper__3OcoH",content:"LayoutHeader_content__buQb9",start:"LayoutHeader_start__zSxnX",center:"LayoutHeader_center__cS_5d",withContent:"LayoutHeader_withContent__X33YR",description:"LayoutHeader_description__vKwPb"}},23039:e=>{e.exports={wrapper:"UnpaidPeriodMessages_wrapper__MOnwE",message:"UnpaidPeriodMessages_message__pikEV",button:"UnpaidPeriodMessages_button__xxpRc"}},27247:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n,a=r(14232);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let l=function(e){return a.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),n||(n=a.createElement("path",{d:"M7.747 1.464a.58.58 0 0 0-.292.302c-.037.088-.042.479-.042 3.433 0 1.834-.009 3.334-.02 3.334S6.845 8.004 6.2 7.357Q5.028 6.182 4.92 6.131a.63.63 0 0 0-.685.126.64.64 0 0 0-.114.644c.057.137 3.475 3.564 3.626 3.634a.67.67 0 0 0 .506 0c.151-.07 3.569-3.497 3.626-3.634a.64.64 0 0 0-.114-.644.63.63 0 0 0-.685-.126q-.107.051-1.28 1.226a50 50 0 0 1-1.193 1.176c-.011 0-.021-1.503-.021-3.34 0-3.194-.003-3.344-.05-3.446a.603.603 0 0 0-.789-.283m-6 8a.7.7 0 0 0-.179.126c-.153.163-.155.181-.155 1.33 0 1.341.043 1.74.231 2.168.176.398.525.808.903 1.059.368.245.697.356 1.219.412.355.038 8.113.038 8.468 0 .522-.056.851-.167 1.219-.412.378-.251.727-.661.903-1.059.188-.428.231-.827.231-2.168 0-1.149-.002-1.167-.155-1.33a.64.64 0 0 0-.686-.127.62.62 0 0 0-.301.328c-.015.05-.033.561-.042 1.169-.017 1.223-.041 1.449-.183 1.715a1.5 1.5 0 0 1-.546.545c-.1.054-.251.103-.41.133-.233.044-.53.047-4.264.047s-4.031-.003-4.264-.047a1.5 1.5 0 0 1-.41-.133 1.5 1.5 0 0 1-.546-.545c-.142-.267-.166-.492-.183-1.715-.009-.609-.027-1.119-.042-1.169a.62.62 0 0 0-.301-.328.7.7 0 0 0-.507.001"})))}},30687:e=>{e.exports={buttonsWrapper:"CustomPlanCard_buttonsWrapper__R7Gwd"}},57409:e=>{e.exports={wrapper:"UpcomingMonthlyPlanMessage_wrapper__RsWa_",message:"UpcomingMonthlyPlanMessage_message__elPVj"}},63451:(e,t,r)=>{"use strict";r.d(t,{mA:()=>n,zc:()=>a});var n={email:"[email protected]",telegram:"cdn77support",phone:{uk:"+44(0) 117 318 3976",us:"+1 828-338-9387"}},a={email:"[email protected]",telegram:"Katerina_CDN77",phone:{uk:"+44(0) 20 3808 5949",us:"+1 888-354-7133"},businessHours:"8-16 (GMT)"}},64835:(e,t,r)=>{"use strict";r.d(t,{E:()=>s});var n=r(37876),a=r(10515),i=r(25021);r(14232);var l=r(15140),o=r(27247),s=function(e){var t=e.ready,r=e.type,s=e.invoiceId,c=e.name,d=e.text;return(0,n.jsx)(a.m,{text:t?void 0:"Preparing",isInteractive:!1,children:(0,n.jsxs)(l.$,{color:{light:"grey-900",dark:"grey-50"},download:"".concat(c,".pdf"),href:"/api/download/".concat(r,"/").concat(s),size:"xs",theme:"link",disabled:!t,external:!0,children:[(0,n.jsx)(i.I,{className:"mr-6",color:"currentColor",size:16,children:(0,n.jsx)(o.A,{})}),void 0===d?"PDF":d]})})}},70755:e=>{e.exports={header:"AdditionalServiceCard_header__7n2Je",summary:"AdditionalServiceCard_summary__bSyk3"}},75788:(e,t,r)=>{"use strict";r.d(t,{W:()=>es});var n=r(46499),a=r(37876),i=r(45737),l=r(49218),o=r(56557),s=r.n(o),c=r(14232),d=r(14824),u=r(67024),m=r(19404),v=r(69893),p=r(58894),h=r(54423),g=r(15340),f=r(21158),x=r(34906),b=r.n(x),y=r(98584),_=r(70755),j=r.n(_),w=b().bind(j()),E=function(e){var t=e.id,r=e.title,n=e.rows;return(0,a.jsx)(y.P.div,{layoutId:t,children:(0,a.jsxs)(d.Z,{background:"transparent",padding:{x:20,y:15},children:[(0,a.jsxs)("div",{className:w("header","mb-16"),children:[(0,a.jsx)(p.E,{display:"block",size:18,tag:"h3",weight:"semibold",children:r}),(0,a.jsx)(h.E,{size:"sm",theme:"success",children:"Active"})]}),(0,a.jsx)(g.B,{className:j().summary,horizontalAlign:"right",children:n.map(function(e){var t=e.label,r=e.value;return(0,a.jsx)(f.x,{label:t,value:(0,a.jsx)(p.E,{align:"right",display:"block",tag:"strong",weight:"semibold",children:r})},t)})})]})})},N=r(91933),O=r(52411),k=r(16690),P=r(96573),B=r(84362),M=r(33919),z=function(e,t){var r=(0,P.tt)().format,a=(0,M.IT)({url:B.p8.clap.objectStorageUsage,proxy:!0,method:"POST",body:{from:null==e?void 0:e.unix(),to:null==t?void 0:t.unix(),aggregation:"1-d"},enabled:null!==e&&null!==t});return c.useMemo(function(){if(a.data){var e=Object.entries(a.data).reduce(function(e,t){var r=(0,n._)(t,2),a=r[0],i=r[1];return(0,k._)((0,O._)({},e),(0,N._)({},a,i.reduce(function(e,t){return(0,k._)((0,O._)({},e),(0,N._)({},t.type,t.value))}
1,{traffic:0,requests:0,"used-space":0,"object-count":0})))},{HDD:{traffic:0,requests:0,"used-space":0,"object-count":0},SSD:{traffic:0,requests:0,"used-space":0,"object-count":0}});if(!Object.values(e).every(function(e){return Object.values(e).every(function(e){return 0===e})}))return[{label:"Stored data (HDD)",value:r({value:e.HDD["used-space"],type:"bytes"})},{label:"Stored data (SSD)",value:r({value:e.SSD["used-space"],type:"bytes"})},{label:"Egress traffic",value:r({value:e.HDD.traffic+e.SSD.traffic,type:"bytes"})},{label:"Requests (API)",value:r({value:e.HDD.requests+e.SSD.requests,type:"count"})}]}},[a.data])},T=function(e,t){var r=(0,P.tt)().format,n=(0,M.IT)({url:B.p8.clap.rawLogsSum(null!=e?e:s()(),null!=t?t:s()()),proxy:!0,enabled:null!==e&&null!==t});return c.useMemo(function(){if(n.data&&0!==n.data.sum)return[{label:"Active resources",value:r({value:n.data.sum,type:"count"})}]},[n.data])},S=r(29095),I=function(e,t){var r=(0,P.tt)().format,n=(0,S.J)().user,a=(0,M.IT)({url:B.p8.clap.realtimeLogsSum(null!=e?e:s()(),null!=t?t:s()()),proxy:!0,enabled:null!==e&&null!==t&&n.configuration.isRealTimeLogEnabled});return c.useMemo(function(){if(a.data&&0!==a.data.requests_count)return[{label:"Logged requests",value:r({value:a.data.requests_count,type:"count",decimals:2,unitType:"short"})}]},[a.data])},C=function(e){var t,r,n,i,l,o,s=e.interval,c=e.className,p=I(null!=(t=null==s?void 0:s.from)?t:null,null!=(r=null==s?void 0:s.to)?r:null),h=T(null!=(n=null==s?void 0:s.from)?n:null,null!=(i=null==s?void 0:s.to)?i:null),g=z(null!=(l=null==s?void 0:s.from)?l:null,null!=(o=null==s?void 0:s.to)?o:null);return void 0===p&&void 0===h&&void 0===g?null:(0,a.jsxs)(d.Z,{className:c,children:[(0,a.jsx)(u.a,{className:"mb-40",title:"Additional Services"}),(0,a.jsxs)(m.x,{gap:{md:20,xl:32},children:[p&&p.length>0&&(0,a.jsx)(v.E,{size:{md:12,lg:24,xl:12,xxl:8},children:(0,a.jsx)(E,{id:"real-time-logs",rows:p,title:"Real-time logs"})}),h&&h.length>0&&(0,a.jsx)(v.E,{size:{md:12,lg:24,xl:12,xxl:8},children:(0,a.jsx)(E,{id:"raw-logs",rows:h,title:"Raw logs"})}),g&&g.length>0&&(0,a.jsx)(v.E,{size:{md:12,lg:24,xl:12,xxl:8},children:(0,a.jsx)(E,{id:"cdn77-object-storage",rows:g,title:"CDN77 Object Storage"})})]})]})},D=r(94932),A=r(68380),L=r(8040),q=r(39868),R=r(4373),H=r(89099),Y=r(15140),U=r(44384),F=r(29197),K=function(e){if(e)return s()().isAfter(e.from)&&s()().isBefore(e.to)?(0,a.jsx)(p.E,{color:{light:"grey-700",dark:"grey-400"},tag:"span",weight:"regular",children:"(current period)"}):void 0},W=function(e){var t=e.interval,r=e.onChange,n=(0,U.V)().getFormattedRange,i=(0,F.Y)(),l=(0,H.useRouter)(),o=(0,M.IT)({url:"".concat(B.p8.clap.customPlanInfo,"/overview"),proxy:!0,showErrorMessage:!1}),d=c.useMemo(function(){var e,t;return null!=(e=null==(t=o.data)?void 0:t.map(function(e){return{from:s().utc(e.service_period.active_from),to:s().utc(e.service_period.active_to)}}).sort(function(e,t){return t.from.diff(e.from)}))?e:[]},[o.data]);return(c.useEffect(function(){var e=d.find(function(e){return s()().isAfter(null==e?void 0:e.from)&&s()().isBefore(null==e?void 0:e.to)});if(l.query.from&&l.query.to&&"string"==typeof l.query.from&&"string"==typeof l.query.to){var t={from:s().utc(Number(l.query.from)),to:s().utc(Number(l.query.to))};d.some(function(e){return e.from.valueOf()===t.from.valueOf()&&e.to.valueOf()===t.to.valueOf()})?r(t):r(null!=e?e:d[0])}else d.length>0&&r(null!=e?e:d[0])},[d,l.query.from,l.query.to]),!t||d.length<=1)?null:(0,a.jsx)(A.F,{children:function(e){var o=e.isOpen,s=e.setIsOpen;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(L.g,{background:"primary",isOpen:o,size:"sm",width:"full",onClick:function(){s(!o)},children:(0,a.jsxs)(p.E,{size:"inherit",tag:"bdi",weight:"regular",children:[n(t,"month")," ",K(t)]})}),(0,a.jsx)(q.m,{isOpen:o,padding:"md",position:"end",width:"max-content",children:d.map(function(e){var o=e.from,c=e.to;return(0,a.jsx)(R.E,{children:(0,a.jsx)(Y.$,{color:{light:"grey-900",dark:"grey-50"},size:"sm",theme:"link",weight:(null==t?void 0:t.from.valueOf())===o.valueOf()&&t.to.valueOf()===c.valueOf()?"bold":"regular",withBackdrop:!1,onClick:function(){r({from:o,to:c}),s(!1),l.push("".concat(i.billing.overview.pathname,"?from=").concat(o.valueOf(),"&to=").concat(c.valueOf()))},children:(0,a.jsxs)("span",{children:[n({from:o,to:c},"month")," ",K({from:o,to:c})]})})},o.valueOf())})})]})}})},V=r(25021),$=r(75784),Q=r(23039),X=r.n(Q),Z=r(25573),G=b().bind(X()),J=function(e){var t=e.className,r=(0,F.Y)(),n=(0,U.V)().getFormattedRange,i=(0,M.IT)({url:"".concat(B.p8.clap.customPlanInfo,"/overview"),proxy:!0,showErrorMessage:!1}),o=c.useMemo(function(){var e,t=s().utc();return null==(e=i.data)?void 0:e.filter(function(e){return"unpaid"===e.details.state&&s()("prepaid"===e.payment_plan?e.service_period.active_from:e.service_period.active_to).isBefore(t)}).map(function(e){return(0,k._)((0,O._)({},e),{service_period:{from:s().utc(e.service_period.active_from),to:s().utc(e.service_period.active_to)},theme:s().utc(e.service_period.active_to).isBefore(t.subtract(1,"month"))?"error":"info"})})},[i.data]);return(0,a.jsx)($.N,{children:null==o?void 0:o.map(function(e){return(0,a.jsx)(y.P.div,{animate:{height:"auto",scaleY:1,marginBottom:20},className:G("wrapper",t),exit:{height:0,scaleY:0},initial:{height:0,scaleY:0},children:(0,a.jsxs)(l.Q,{className:X().message,color:e.theme,size:"lg",withBorder:!0,children:[(0,a.jsxs)(p.E,{size:15,tag:"p",children:["You have an unpaid period"," ",(0,a.jsx)(Y.$,{color:{light:"".concat(e.theme,"-700"),dark:"white"},href:"".concat(r.billing.overview.pathname,"?from=").concat(e.service_period.from.valueOf(),"&to=").concat(e.service_period.to.valueOf()),theme:"link",weight:"regular",underlined:!0,children:(0,a.jsx)("bdi",{children:n(e.service_period,"month")})}),". Please proceed to payment."]}),(0,a.jsxs)(Y.$,{className:X().button,color:{light:"".concat(e.theme,"-700"),dark:"".concat(e.theme,"-200")},href:r.billing.customPlan.getRoute(e.id),theme:"link",weight:"bold",children:["Proceed to payment",(0,a.jsx)(V.I,{className:"ml-4",color:"currentColor",size:12,children:(0,a.jsx)(Z.A,{})})]})]})},e.id)})})},ee=r(71626),et=r(35818),er=r(57409),en=r.n(er),ea=b().bind(en()),ei=function(e){var t,r,n,i=e.className,o=(0,S.J)().user,d=(0,M.IT)({url:"".concat(B.p8.clap.customPlanInfo,"/overview"),proxy:!0,showErrorMessage:!1}),u=(0,et.e)((null==(t=o.billing)?void 0:t.future_pricing_type)==="monthly_plan"&&!o.billing.external_billing),m=c.useMemo(function(){var e,t=void 0;
1return null==(e=d.data)||e.forEach(function(e){(!t||t.isBefore(s()(e.service_period.active_to)))&&(t=s()(e.service_period.active_to))}),t},[d.data]),v=s().utc(null==(r=u.data)?void 0:r.paid_until).isAfter(m),h=null==m?void 0:m.add(1,"second");return(null==(n=o.billing)?void 0:n.future_pricing_type)!=="monthly_plan"||!h||v?null:(0,a.jsx)($.N,{children:(0,a.jsx)(y.P.div,{animate:{height:"auto",scaleY:1,marginBottom:20},className:ea("wrapper",i),exit:{height:0,scaleY:0},initial:{height:0,scaleY:0},children:(0,a.jsx)(l.Q,{className:en().message,color:"info",size:"lg",withBorder:!0,children:(0,a.jsxs)(p.E,{size:15,tag:"p",children:["As of the next billing period (",(0,a.jsx)(ee.F,{date:h,format:{date:"medium"},withTimezoneTooltip:!1}),"), your account will be switched to the Enterprise Plan."]})})})})},el=r(86422),eo=r(63451),es=function(){var e=(0,n._)(c.useState(null),2),t=e[0],r=e[1],o=(0,M.IT)({url:"".concat(B.p8.clap.customPlanInfo,"/overview"),proxy:!0,showErrorMessage:!1}),d=c.useMemo(function(){var e;return null==(e=o.data)?void 0:e.find(function(e){return s()(e.service_period.active_from).valueOf()===(null==t?void 0:t.from.valueOf())&&s()(e.service_period.active_to).valueOf()===(null==t?void 0:t.to.valueOf())})},[o.data,t]);return o.data&&0===o.data.length?(0,a.jsxs)(i.m,{width:"xl",children:[(0,a.jsx)(el.K,{title:"Billing Overview"}),(0,a.jsxs)(l.Q,{color:"info",size:"lg",withBorder:!0,children:[(0,a.jsx)("strong",{children:"The credit balance is not available for your account as you are on the Custom Plan."})," ","Please let us know at"," ",(0,a.jsx)(Y.$,{color:{light:"info-700",dark:"white"},href:"mailto:".concat(eo.zc.email),theme:"link",weight:"regular",underlined:!0,children:eo.zc.email})," ","if you need more info."]})]}):(0,a.jsxs)(i.m,{width:"xl",children:[(0,a.jsx)(el.K,{content:(0,a.jsx)(W,{interval:t,onChange:r}),title:"Billing Overview"}),(0,a.jsx)(J,{}),(0,a.jsx)(ei,{}),(0,a.jsx)(D.X,{className:"mb-20",id:null==d?void 0:d.id,invoiceNumber:null==d?void 0:d.invoice_number,isLoading:o.isLoading||null===t,message:null==d?void 0:d.message,paymentMethod:null==d?void 0:d.payment_method,paymentPlan:null==d?void 0:d.payment_plan,period:(null==d?void 0:d.service_period)?{from:s().utc(d.service_period.active_from),to:s().utc(d.service_period.active_to)}:void 0,price:(null==d?void 0:d.details.price)?{amount:d.details.price,currency:d.details.currency}:void 0,state:null==d?void 0:d.details.state,unit:null==d?void 0:d.details.billing_unit,volume:null==d?void 0:d.details.volume}),(0,a.jsx)(C,{interval:t})]})}},80266:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n,a=r(14232);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let l=function(e){return a.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 17 17"},e),n||(n=a.createElement("path",{fillRule:"evenodd",d:"M14.728 3.702a1 1 0 0 1 0 1.414L7.394 12.45a1 1 0 0 1-1.414 0L2.647 9.116A1 1 0 1 1 4.06 7.702l2.626 2.626 6.626-6.626a1 1 0 0 1 1.415 0",clipRule:"evenodd"})))}},86422:(e,t,r)=>{"use strict";r.d(t,{K:()=>d});var n=r(37876),a=r(58894),i=r(34906),l=r.n(i);r(14232);var o=r(15471),s=r.n(o),c=l().bind(s()),d=function(e){var t=e.title,r=e.noTitleStyle,i=e.description,l=e.content,o=e.verticalAlign;return(0,n.jsx)("div",{children:(0,n.jsx)("div",{className:i?"mb-32":"mb-20",children:(0,n.jsxs)("div",{className:c("wrapper",void 0===o?"center":o,{withContent:void 0!==l}),children:[void 0!==r&&r?t:(0,n.jsx)(a.E,{color:{light:"grey-900",dark:"grey-50"},size:32,tag:"h1",weight:"regular",children:t}),l&&(0,n.jsx)("div",{className:s().content,children:l}),i&&(0,n.jsx)(a.E,{className:s().description,color:{light:"grey-700",dark:"grey-400"},display:"block",maxWidth:"string"==typeof i?860:void 0,size:15,tag:"string"==typeof i?"p":"div",children:i})]})})})}},94932:(e,t,r)=>{"use strict";r.d(t,{X:()=>A,O:()=>D});var n=r(37876),a=r(96573),i=r(14824),l=r(67024),o=r(25021),s=r(58894),c=r(40802),d=r(13319),u=r(15340),m=r(21158),v=r(10515),p=r(37420),h=r.n(p),g=r(56557),f=r.n(g),x=r(14232),b=r(54423),y=r(80266),_=r(67018),j=function(e,t){switch(e){case"card":return"Card";case"invoice":return"Bank Transfer";default:return t?"Paid":"Unpaid"}},w=function(e){var t=e.period,r=e.price,i=e.state,l=e.plan,c=e.method,d=(0,a.tt)().format;return void 0===i||void 0===r?null:t&&"postpaid"===l&&f()().isBefore(t.to)?(0,n.jsx)(s.E,{size:15,tag:"p",weight:"semibold",children:"You are on a postpaid plan"}):(0,n.jsxs)(s.E,{color:{light:"grey-700",dark:"grey-400"},tag:"span",children:[(0,n.jsx)(s.E,{className:"mr-6",tag:"strong",weight:"semibold",children:d({value:r.amount,type:"currency",unit:D(r.currency)})}),(0,n.jsxs)(b.E,{size:"sm",theme:"paid"===i?"success":"error",children:[(0,n.jsx)(o.I,{className:"mr-2",color:"currentColor",size:10,
1children:"paid"===i?(0,n.jsx)(y.A,{}):(0,n.jsx)(_.A,{})}),j(c,"paid"===i)]})]})},E=r(30159),N=r(84362),O=r(33919),k=f()(),P=function(e,t,r){var n=(0,O.IT)({url:"".concat(N.p8.clap.statsChart,"/").concat(e),body:{cdn_ids:null,location_ids:null,aggregation:"5-m",from:null==t?void 0:t.unix(),to:k.isBefore(r)?k.unix():null==r?void 0:r.unix()},method:"POST",proxy:!0,enabled:void 0!==t&&void 0!==r&&t.isBefore(f()())});return{data:x.useMemo(function(){return n.data?n.data.percentile?n.data.percentile:Object.values(n.data.series).reduce(function(e,t){return e+((0,E.D)(t)?t.total:0)},0):0},[n.data]),isLoading:n.isLoading}},B=r(15140),M=r(64835),z=r(44384),T=r(29197),S=r(30687),I=r.n(S),C=r(25573),D=function(e){switch(e){case"CZK":case"USD":case"EUR":case"GBP":return e;default:return}},A=function(e){var t,r=e.id,p=e.volume,g=e.unit,b=e.message,y=e.period,_=e.price,j=e.invoiceNumber,E=e.paymentPlan,N=e.paymentMethod,O=e.state,k=e.className,S=e.isLoading,D=(0,a.tt)(),A=D.format,L=D.getBytesNumericValue,q=(0,T.Y)(),R=(0,z.V)().getFormattedRange,H=P("TB"===g?"traffic":"bandwidth",null==y?void 0:y.from,null==y?void 0:y.to),Y=f()().isAfter(null==y?void 0:y.from)&&f()().isBefore(null==y?void 0:y.to),U=L(H.data,"TB");return(0,n.jsxs)(i.Z,{className:k,children:[(0,n.jsx)(l.a,{className:"mb-40",content:(0,n.jsxs)("div",{className:I().buttonsWrapper,children:[j&&(0,n.jsx)(M.E,{ready:!0,type:"invoice",name:j,invoiceId:j,text:"Download invoice"}),r&&"unpaid"===O?(0,n.jsxs)(B.$,{color:"secondary",href:q.billing.customPlan.getRoute(r),size:"xs",theme:"button",children:["Proceed to payment",(0,n.jsx)(o.I,{className:"ml-6",color:"currentColor",opacity:50,size:14,children:(0,n.jsx)(C.A,{})})]}):void 0]}),title:"Custom Plan"}),"prepaid"===E&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(s.E,{className:"mb-8",color:{light:"grey-700",dark:"grey-400"},tag:"strong",weight:"semibold",children:["Allocated ","TB"===g?"traffic":"bandwidth"]}),(0,n.jsx)(s.E,{className:"mb-16",display:"block",size:42,tag:"p",children:S?(0,n.jsx)(c.O,{width:100}):"".concat(p," ").concat(g)}),(0,n.jsx)(d.w,{className:"mb-24"})]}),(0,n.jsxs)(u.B,{className:b||S?"mb-24":void 0,isLoading:S,labelWidth:180,children:[(0,n.jsx)(m.x,{label:"Billing period",value:y?(0,n.jsxs)(s.E,{color:{light:"grey-700",dark:"grey-400"},tag:"span",children:[(0,n.jsx)(s.E,{tag:"bdi",weight:"semibold",children:R(y,"month")})," ",Y&&"(current period)"]}):void 0}),(null==y?void 0:y.from.isBefore(f()()))&&(0,n.jsx)(m.x,{isLoading:H.isLoading,label:g?"TB"===g?"Traffic used":"Bandwidth 95th percentile":"Usage",value:(0,n.jsxs)(s.E,{color:{light:"grey-700",dark:"grey-400"},tag:"span",children:[(0,n.jsx)(s.E,{tag:"strong",weight:"semibold",children:(0,n.jsx)(v.m,{text:"TB"===g?void 0:"Percentile is calculated based on data in the UTC+0 timezone.",children:A({value:null!=(t=H.data)?t:0,type:"TB"===g?"bytes":"bitrate"})})})," ","prepaid"===E&&U&&p&&p>0&&"TB"===g?"(".concat(A({value:U/p*100,type:"percentage"}),")"):null]})}),O&&(0,n.jsx)(m.x,{label:"Price",value:(0,n.jsx)(w,{method:N,period:y,plan:E,price:_,state:O})})]}),(b||S)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d.w,{className:"mb-16"}),S?(0,n.jsx)(c.O,{width:100}):null==b?void 0:b.split(/\r\n\r\n/).map(function(e,t,r){return(0,n.jsx)(s.E,{className:h()({"mb-10":t!==r.length-1}),display:"block",size:16,tag:"p",children:e.split(/\r\n/).map(function(e,t,r){return(0,n.jsxs)(x.Fragment,{children:[e,t!==r.length-1&&(0,n.jsx)("br",{})]},"".concat(e).concat(t))})},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.