PageSourceSearch

https://www.phiclinic.com/_next/static/chunks/4178.bd5e34a5dac6d52d.js

js phiclinic.com collected 2026-10-04 21:01:00 UTC 5,715 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4178,6724,4014],{18872:function(e,r,n){n.d(r,{iv:function(){return f}});var t,a,s,l=n(48711),i=n(15953),c=n(70444);function o(e,r){if(void 0===e.inserted[r.name])return e.insert("",r,e.sheet,!0)}function d(e,r,n){var t=[],a=(0,c.fp)(e,t,n);return t.length<2?n:a+r(t)}var u=function e(r){for(var n="",t=0;t<r.length;t++){var a=r[t];if(null!=a){var s=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))s=e(a);else for(var l in s="",a)a[l]&&l&&(s&&(s+=" "),s+=l);break;default:s=a}s&&(n&&(n+=" "),n+=s)}}return n},h=(t={key:"css"},(a=(0,l.Z)(t)).sheet.speedy=function(e){this.isSpeedy=e},a.compat=!0,{css:s=function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];var t=(0,i.O)(r,a.registered,void 0);return(0,c.My)(a,t,!1),a.key+"-"+t.name},cx:function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return d(a.registered,s,u(r))},injectGlobal:function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];var t=(0,i.O)(r,a.registered);o(a,t)},keyframes:function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];var t=(0,i.O)(r,a.registered),s="animation-"+t.name;return o(a,{name:t.name,styles:"@keyframes "+s+"{"+t.styles+"}"}),s},hydrate:function(e){e.forEach(function(e){a.inserted[e]=!0})},flush:function(){a.registered={},a.inserted={},a.sheet.flush()},sheet:a.sheet,cache:a,getRegisteredStyles:c.fp.bind(null,a.registered),merge:d.bind(null,a.registered,s)}),f=(h.flush,h.hydrate,h.cx,h.merge,h.getRegisteredStyles,h.injectGlobal,h.keyframes,h.css);h.sheet,h.cache},98560:function(e,r,n){n.d(r,{Bc:function(){return l},K8:function(){return a}});var t,a,s=n(85893);n(67294),(t=a||(a={})).H1="h1",t.H2="h2",t.H3="h3",t.H4="h4",t.H5="h5",t.H6="h6";let l=e=>{let{headingChoice:r,children:n,...t}=e;switch(r){case"h1":return(0,s.jsx)("h1",{...t,children:n});case"h2":default:return(0,s.jsx)("h2",{...t,children:n});case"h3":return(0,s.jsx)("h3",{...t,children:n});case"h4":return(0,s.jsx)("h4",{...t,children:n});case"h5":return(0,s.jsx)("h5",{...t,children:n});case"h6":return(0,s.jsx)("h6",{...t,children:n})}};r.ZP=l},22705:function(e,r,n){var t=n(85893);n(67294),r.Z=e=>{let{children:r,title:n,description:a}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{}),(0,t.jsxs)("div",{className:"lg:col-span-1",children:[n?(0,t.jsx)("h3",{className:"mt-5 text-lg leading-6 text-gray-900",children:n}):null,a?(0,t.jsx)("p",{className:"mt-1 text-sm text-gray-500",children:a}):null]}),(0,t.jsx)("div",{className:"flex flex-wrap -mx-1 sm:-mx-6 gap-y-5 lg:gap-y-4",children:r})]})}},4178:function(e,r,n){n.r(r);var t=n(37340),a=n(85893);n(67294);var s=n(20512),l=n(19470),i=n.n(l),c=n(57517),o=n(98560),d=n(22705),u=n(51674),h=n(25112),f=n(54823),x=n(18872),m=n(33168);function g(){let e=(0,t._)(["\n    ","\n  "]);return g=function(){return e},e}r.default=e=>{var r,n,t;let{buttonText:l,formName:v,fields:y,bgColour:p,formBgColour:j,headingColour:b,textColour:k,disclaimerText:N,type:w,headingClass:C,customCss:S,ctaButton:O,backgroundImage:H,onSubmit:_,initialValues:A,error:E,validationSchema:P}=e,{headingClass:Z}=null!=C?C:{headingClass:o.K8.H3},z=k?(0,x.iv)("\n    * {\n      color: ".concat(k,"\n    }\n\n    *::placeholder {\n      color: ").concat(k,"\n    }\n  ")):"",R=(0,x.iv)(g(),S),{primaryBrand:B}=(0,m.YX)(),F={};return F.background=H?"url(".concat((0,c.$0)(null==H?void 0:null===(n=H.data)||void 0===n?void 0:null===(r=n.attributes)||void 0===r?void 0:r.url),"), ").concat(p||"transparent"):p||"white",F.backgroundSize="cover",F.backgroundRepeat="no-repeat",F.backgroundPosition="top",F.backgroundPositionY="calc(100%)",(0,a.jsx)("div",{className:R,children:(0,a.jsx)("div",{style:F,className:"py-8 flex justify-center form wrapper pb-16",children:(0,a.jsx)(i(),{children:(0,a.jsxs)("div",{style:{background:j,color:k,borderColor:b},className:"px-4 md:px-12 lg:px-24 py-16 self-center max-w-[1088px] ".concat(z," content border-b-4"),children:[(0,a.jsx)(o.Bc,{headingChoice:Z,style:{color:null!=b?b:B},className:"text-2xl tracking-widest mx-6 mb-4 text-center font-display uppercase heading",children:v}),""!==E?(0,a.jsx)("div",{className:"text-center py-2",children:(0,a.jsxs)("p",{className:"text-red-500 text-sm italic",children:["Error from Submit: ",E]})}):null,(0,a.jsxs)("div",{className:"grid gap-2 px-6",children:[(0,a.jsx)("div",{children:(0,a.jsx)("form",{id:null==v?void 0:null===(t=v.replace(/\s+/g,"-"))||void 0===t?void 0:t.toLowerCase(),className:"space-y-4 flex flex-col justify-center",children:(0,a.jsx)(s.J9,{validateOnChange:!0,validationSchema:P,initialValues:{...A,type:w},onSubmit:async e=>{await _(e)},enableReinitialize:!0,children:e=>{let{values:r,errors:n,handleChange:t,setFieldValue:s,handleSubmit:c,touched:o}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.Z,{children:(0,f.DE)({fields:y,values:r,errors:n,handleChange:t,setFieldValue:s,variant:h.SupportedVariants.Onyx,touched:o})}),(0,a.jsx)(i(),{delay:450,children:(0,a.jsx)("div",{className:"flex justify-center my-8 cta-button",children:(0,a.jsx)(u.ZP,{type:"submit",onClick:c,px:"px-24",className:"mt-4 w-full sm:w-auto",ctaConfig:O||{cta_button:{},href:"",target:"",label:null!=l?l:"Submit",shortLabel:null!=l?l:"Submit",bgColour:"",textColour:"",variant:"onyx"}})})})]})}})})}),(0,a.jsx)("hr",{className:"bg-gray-300 mt-16 ",style:{borderColor:b}}),N?(0,a.jsx)("p",{className:"text-sm mt-2 text-gray-300 disclaimer",children:N}):null]})]})})})})}},37340:function(e,r,n){n.d(r,{_:function(){return t}});function t(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}}}]);

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.