PageSourceSearch

https://klinic.com/_next/static/chunks/pages/membership/post-submit-a9aa5a6f0b560c14.js

js klinic.com collected 2026-09-29 13:17:17 UTC 7,095 bytes, 28 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1777],{12682:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/membership/post-submit",function(){return r(47010)}])},3823:function(e,t,r){"use strict";var n=r(20218),i=r(66139),a=r(86234);t.Z=e=>{let{content:t}=e;return(0,n.BX)(i.Z,{height:"calc(100vh - 100px)",justifyContent:"center",alignItems:"center",display:"flex",flexDirection:"column",textAlign:"center",children:[(0,n.tZ)(a.Z,{size:60,color:"primary"}),t]})}},43856:function(e,t,r){"use strict";r.d(t,{K1:function(){return a},Q6:function(){return l},RT:function(){return s},le:function(){return i},xd:function(){return c}});var n=r(82523);let i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={};e.treatmentAlias&&(t.treatment_alias=e.treatmentAlias),e.stateCode&&(t.state=e.stateCode),e.paymentType&&(t.payment_type=e.paymentType),e.klinicPatientId&&(t.klinic_patient_id=e.klinicPatientId),t.source=window.location.pathname;let r=(0,n.qc)();return r&&(t.membership_flow_id=r),t},a=e=>e?{...e.startDate?{slot_datetime:e.startDate}:{},...e.endDate?{slot_end:e.endDate}:{},...e.practitionerId?{slot_practitioner_id:e.practitionerId}:{}}:{},o="membershipTerminalFired",s=()=>{try{return"1"===window.sessionStorage.getItem(o)}catch{return!1}},c=()=>{try{window.sessionStorage.setItem(o,"1")}catch{}},l=()=>{try{window.sessionStorage.removeItem(o)}catch{}}},47010:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return g}});var n=r(20218),i=r(52983),a=r(98919),o=r.n(a),s=r(8586),c=r(82523),l=r(89415),u=r(53346),d=r(3823),m=r(43856),p=r(34834),f=r(71418);let h=()=>{let[e,,t]=(0,p.Ok)(),[r,,a]=(0,p.Yt)(),[f,,h]=(0,p.NH)(),[g,,v]=(0,p.SO)(),[k,,Z]=(0,p.Jj)(),[x,,y]=(0,p.Jl)(),[_,,w]=(0,p.Uo)(),[b,,P]=(0,p.YC)(),S=(0,s.useRouter)(),C=(0,c.A4)(),D=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{if(t||a||h||v||Z||y||w||P||D.current)return;D.current=!0;let n=f&&"string"==typeof r,i=()=>{if(n){let e=""===r?`https://klinic.com/membership/complete/${g}`:r;window.parent.postMessage({event:"klinicWidgetRedirectTo",to:e},"*");return}if(e){S.replace({pathname:"/membership/scheduled"});return}S.replace({pathname:"/membership/complete",query:f?{embed:!0}:{}})};if((0,m.RT)()){i();return}(0,m.xd)();let o=(0,m.le)({klinicPatientId:k,treatmentAlias:x?.alias,stateCode:(0,u.Y8)(_)?_:(0,u.K8)(_),paymentType:b}),s=e?"Membership Appointment Confirmed":"Membership Booking Deferred",c=e?{...o,...(0,m.K1)(e)}:o;n?C.track(s,c,i):(C.track(s,c),i())},[t,a,h,f,r,e,S,v,g,Z,y,w,P,k,x,_,b,C]),(0,n.BX)(n.HY,{children:[(0,n.tZ)(o(),{children:(0,n.tZ)("title",{children:"Processing | Klinic.care"})}),(0,n.tZ)(l.Z,{withMarginBottom:!0,children:(0,n.tZ)(d.Z,{})})]})};h.getLayout=function(e,t){return(0,n.tZ)(f.Z,{footer:"none",pageProps:e,children:t})};var g=!0;t.default=h},89415:function(e,t,r){"use strict";var n=r(20218),i=r(49362),a=r(66139),o=r(50241);t.Z=e=>{let{children:t,withMarginTop:r,withMarginBottom:s,disableBottomGutter:c,disableTopGutter:l,positionRelative:u,backgroundColor:d,verticalPadding:m,...p}=e,f=(0,i.Z)();return(0,n.tZ)(a.Z,{...p,sx:{padding:f.spacing(l?0:2,0,c?0:3),marginTop:r&&(0,o._N)(f)||void 0,marginBottom:s&&(0,o._N)(f)||void 0,position:u&&"relative"||void 0,...m&&{paddingTop:l?0:{xs:f.spacing(2),md:f.spacing(12.5)},paddingBottom:{xs:f.spacing(2),md:f.spacing(12.5)}},...d&&{"&:before":{content:'""',position:"absolute",top:0,background:d,left:"50%",transform:"translateX( -50%)",height:"100%",width:"100vw",zIndex:-1}}},children:t})}},50241:function(e,t,r){"use strict";r.d(t,{BZ:function(){return a},Gf:function(){return o},LI:function(){return c},VG:function(){return n},_N:function(){return i},gB:function(){return s}});let n={xs:8,lg:12.5},i=e=>({xs:e.spacing(8),md:e.spacing(18.75)}),a={xs:3,md:4},o={xs:8,lg:12.5},s={xs:4,md:6,lg:8,xl:12.5},c={xs:1.5,md:2}},86234:function(e,t,r){"use strict";r.d(t,{Z:function(){return D}});var n=r(84846),i=r(38404),a=r(52983),o=r(14517),s=r(96591),c=r(98732),l=r(26222),u=r(42443),d=r(41682),m=r(68446),p=r(92819);function f(e){return(0,p.ZP)("MuiCircularProgress",e)}(0,m.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var h=r(97458);let g=["className","color","disableShrink","size","style","thickness","value","variant"],v=e=>e,k,Z,x,y,_=(0,c.F4)(k||(k=v`
2  0% {
3    transform: rotate(0deg);
4  }
5
6  100% {
7    transform: rotate(360deg);
8  }
9`)),w=(0,c.F4)(Z||(Z=v`
10  0% {
11    stroke-dasharray: 1px, 200px;
12    stroke-dashoffset: 0;
13  }
14
15  50% {
16    stroke-dasharray: 100px, 200px;
17    stroke-dashoffset: -15px;
18  }
19
20  100% {
21    stroke-dasharray: 100px, 200px;
22    stroke-dashoffset: -125px;
23  }
24`)),b=e=>{let{classes:t,variant:r,color:n,disableShrink:i}=e,a={root:["root",r,`color${(0,l.Z)(n)}
24`],svg:["svg"],circle:["circle",`circle${(0,l.Z)(r)}`,i&&"circleDisableShrink"]};return(0,s.Z)(a,f,t)},P=(0,d.ZP)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],t[`color${(0,l.Z)(r.color)}`]]}})(e=>{let{ownerState:t,theme:r}=e;return(0,i.Z)({display:"inline-block"},"determinate"===t.variant&&{transition:r.transitions.create("transform")},"inherit"!==t.color&&{color:(r.vars||r).palette[t.color].main})},e=>{let{ownerState:t}=e;return"indeterminate"===t.variant&&(0,c.iv)(x||(x=v`
25      animation: ${0} 1.4s linear infinite;
26    `),_)}),S=(0,d.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),C=(0,d.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.circle,t[`circle${(0,l.Z)(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(e=>{let{ownerState:t,theme:r}=e;return(0,i.Z)({stroke:"currentColor"},"determinate"===t.variant&&{transition:r.transitions.create("stroke-dashoffset")},"indeterminate"===t.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})},e=>{let{ownerState:t}=e;return"indeterminate"===t.variant&&!t.disableShrink&&(0,c.iv)(y||(y=v`
27      animation: ${0} 1.4s ease-in-out infinite;
28    `),w)});var D=a.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"MuiCircularProgress"}),{className:a,color:s="primary",disableShrink:c=!1,size:l=40,style:d,thickness:m=3.6,value:p=0,variant:f="indeterminate"}=r,v=(0,n.Z)(r,g),k=(0,i.Z)({},r,{color:s,disableShrink:c,size:l,thickness:m,value:p,variant:f}),Z=b(k),x={},y={},_={};if("determinate"===f){let e=2*Math.PI*((44-m)/2);x.strokeDasharray=e.toFixed(3),_["aria-valuenow"]=Math.round(p),x.strokeDashoffset=`${((100-p)/100*e).toFixed(3)}px`,y.transform="rotate(-90deg)"}return(0,h.jsx)(P,(0,i.Z)({className:(0,o.Z)(Z.root,a),style:(0,i.Z)({width:l,height:l},y,d),ownerState:k,ref:t,role:"progressbar"},_,v,{children:(0,h.jsx)(S,{className:Z.svg,ownerState:k,viewBox:"22 22 44 44",children:(0,h.jsx)(C,{className:Z.circle,style:x,ownerState:k,cx:44,cy:44,r:(44-m)/2,fill:"none",strokeWidth:m})})}))})}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=12682)}),_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.