PageSourceSearch

https://capti.com.au/site-ui/20260915T155703Z/_next/static/chunks/pages/modem/track-4bffb31b0d33f257.js

js capti.com.au collected 2026-10-06 20:46:29 UTC 5,103 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8466],{99252:function(e,t,n){let a=n(9475),i=a.forwardRef(function({title:e,titleId:t,...n},i){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"}))});e.exports=i},45998:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/modem/track",function(){return n(61150)}])},61150:function(e,t,n){"use strict";n.r(t);var a=n(66442),i=n(9475),r=n(63011),o=n.n(r),l=n(70505),c=n(4004),s=n(43415),d=n(92944),m=n(44167),x=n.n(m),u=n(63628),h=n(99252),p=n(60598);let g={title:"Capti | Service activation",description:"Complete your service activation",sitename:"Capti",icon:"/favicon.ico",url:"https://capti.com.au/modem/track",fbProfile:"https://www.facebook.com/captibroadband",image:"https://capti.com.au/images/body-corporate-header.jpeg"},f=()=>{let[e,t]=(0,i.useState)(null),[n,r]=(0,i.useState)(null),m=(0,s.useRouter)(),[f,b]=(0,i.useState)(!1),{order:v}=m.query,j=async()=>{var e;b(!0);let n="/api/modem/confirmation?id=".concat(encodeURIComponent(v)),a=(0,u.gX)(n),i=await x().get("".concat("https://capti.com.au").concat(n,"&token=").concat(a));(null==i?void 0:null===(e=i.data)||void 0===e?void 0:e.data)==!0?(r("Congratulations!"),t("We have successfully received your modem delivery confirmation. We'll activate your service shortly.")):(r("We're sorry"),t("Something went wrong at our end. Please try again or call us at 1800 022 784."))};return(0,a.jsxs)("div",{className:"relative bg-white overflow-hidden",children:[(0,a.jsxs)(o(),{children:[(0,a.jsx)("title",{children:g.title}),(0,a.jsx)("meta",{name:"viewport",content:"initial-scale=1.0, width=device-width"}),(0,a.jsx)("meta",{name:"description",content:g.description}),(0,a.jsx)("link",{rel:"shortcut icon",href:g.icon}),(0,a.jsx)("link",{rel:"apple-touch-icon",href:g.icon}),(0,a.jsx)("link",{rel:"canonical",href:g.url}),(0,a.jsx)("meta",{property:"og:type",content:"website"}),(0,a.jsx)("meta",{property:"og:title",content:g.title}),(0,a.jsx)("meta",{property:"og:description",content:g.description}),(0,a.jsx)("meta",{property:"og:url",content:g.icon}),(0,a.jsx)("meta",{property:"og:image",content:g.image}),(0,a.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,a.jsx)("meta",{property:"og:site_name",content:g.sitename}),(0,a.jsx)("meta",{property:"article:publisher",content:g.fbProfile}),(0,a.jsx)("meta",{property:"article:modified_time",content:"2024-06-27T11:42:51+00:00"})]}),(0,a.jsx)(c.default,{}),(0,a.jsx)("div",{className:"text-center mt-48 max-w-3xl m-auto min-h-[70vh]",children:e&&n?(0,a.jsxs)("div",{className:"bg-white max-w-lg mx-auto rounded-2xl relative shadow-md",children:[(0,a.jsx)("div",{className:"absolute -mt-10 mx-auto w-full",children:(e=>{switch(e){case"We're sorry":return(0,a.jsx)("div",{className:"text-center",children:(0,a.jsx)("div",{className:"w-20 h-20 inline-flex items-center justify-center rounded-full bg-red-50 flex-shrink-0",children:(0,a.jsx)(h,{className:"w-10 h-10 text-red-600"})})});case"Congratulations!":return(0,a.jsx)("div",{className:"text-center",children:(0,a.jsx)("div",{className:"w-20 h-20 inline-flex items-center justify-center rounded-full bg-green-50 flex-shrink-0",children:(0,a.jsx)(p,{className:"w-10 h-10 text-green-600"})})})}})(n)}),(0,a.jsxs)("div",{className:"text-center mt-5 py-10",children:[(0,a.jsx)("h1",{className:"text-xl md:text-4xl font-semibold tracking-tight text-brandColorAccent leading-9 md:leading-12 px-5 mb-2 md:mb-0",children:n}),(0,a.jsx)("h3",{className:"text-xl md:text-xl font-normal tracking-tight text-gray-600 leading-7 md:leading-10 px-5 mt-2 mb-2 md:mb-0",children:e})]})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h1",{className:"text-xl md:text-4xl font-semibold tracking-tight text-brandColorAccent leading-9 md:leading-12 px-5 mb-2 md:mb-0",children:"Confirmation Required"}),(0,a.jsx)("h3",{className:"text-xl md:text-xl font-normal tracking-tight text-gray-600 leading-7 md:leading-10 px-5 mt-2 mb-2 md:mb-0",children:'To start the service activation process, please click the "Confirm" button below.'}),(0,a.jsx)("button",{type:"button",className:"text-lg md:text-2xl mt-8 uppercase rounded-full col-span-2 px-3.5 md:px-8 py-1.5 md:py-3 font-medium leading-7 border border-brandColor text-white shadow-sm hover:bg-white  ".concat(f?"bg-brandColorDisabled hover:bg-brandColorDisabled":"bg-brandColor hover:bg-brandColor"),onClick:()=>j(),children:f?(0,a.jsx)(d.Z,{}):"Confirm"})]})}),(0,a.jsx)(l.default,{landingPage:!0})]})};t.default=f}},function(e){e.O(0,[1160,9813,8705,123,4193,3288,311,1217,5554,9319,8070,4071,9676,6094,4652,9406,765,2420,4004,8846,9774,2888,179],function(){return e(e.s=45998)}),_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.