PageSourceSearch

https://www.presencing.org/_next/static/chunks/38264.b7864bb479cb3e36.js

js presencing.org collected 2026-10-02 03:59:47 UTC 2,815 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[38264],{38264:(e,s,r)=>{"use strict";r.r(s),r.d(s,{default:()=>g,propDefaults:()=>x});var t=r(95155);r(12115);var i=r(87606),a=r(40455),n=r(76144),o=r(60444),u=r(78196),l=r.n(u),d=r(82722),m=r(20197),c=r(71269),p=r(76282),b=r(93470);function h(e){var s,r,u,h;let{formKey:f,meta:v,readOnly:x,submitText:g,approvedText:y,hideFormOnSubmit:_}=e,j=(0,d.A)(),{isAdmin:w}=(0,c.Ay)(),{data:T,isLoading:N,isError:k,mutate:O}=(0,m.default)("/forms/".concat(f,"/submission"),{rtype:v.related_type,rid:v.related_id,context:v.context});if(N)return(0,t.jsx)(n.A,{});if(k)return(0,t.jsx)(o.default,{error:k,showMinimal:!0});let S=async e=>{let s={...e,_meta:v};return(0,p.ce)("/forms/".concat(f,"/submission"),s,{method:"POST"}).then(e=>{j({type:"success",title:"Success",message:e.message||"Your submission was successful"}),O()}).catch(e=>{(0,b.vV)(e,{subtype:"form_submit_error",level:2,props:{formKey:f,meta:v}}),j({title:"Error",type:"error",message:e.message||"There was an error submitting"})})};if((null==T?void 0:T.status)==="notfound")return null;let A=(null==T||null==(s=T.submission)?void 0:s.status)==="submitted",E=(null==T||null==(u=T.submission)||null==(r=u.review)?void 0:r.status)==="approved",C=!!_&&A;return(0,t.jsxs)("div",{children:[w&&(null==T?void 0:T.status)==="draft"&&(0,t.jsxs)("div",{className:"px-3 mb-3 pi-bg-pumpkin pi-fnt-white",children:["NOTE: This is an admin ",(0,t.jsx)("strong",{children:"draft"})," preview."]}),A&&(0,t.jsx)(i.default,{variant:"success",className:"text-center mb-4",children:(0,t.jsx)("div",{className:"user-richtext-output ".concat(l().message),dangerouslySetInnerHTML:{__html:E&&y||g||"Thank you for your submission!"}})}),T&&!C&&(0,t.jsx)(a.Ay,{form:T,values:null==T||null==(h=T.submission)?void 0:h.data,readOnly:x||A,onSave:S,className:"row"})]})}var f=r(75913),v=r(78542);let x={marginTop:0,marginBottom:2,paddingY:0,paddingX:0,submitText:"Thank you for your submission!",approvedText:"Your submission has been approved!",hideFormOnSubmit:!1,readOnly:!1,showBorder:!1,bgColor:"no-bg",bgGradient:!1},g=e=>{let s=(0,f.A)(e,x),{formKey:r,context:i,submitText:a,approvedText:n,hideFormOnSubmit:o,readOnly:u,bgColor:l,bgGradient:d,showBorder:m,anchor:c,pageData:p}=s,b={context:i||"",related_type:"offering",related_id:(null==p?void 0:p.id)||0},g=["pi-widget","pi-form-selector",(0,v.oc)(s)];return l&&g.push(l),d&&g.push("pi-widget-gradient"),m&&g.push("border"),(0,t.jsxs)("div",{className:g.join(" "),children:[c&&""!==c&&(0,t.jsx)("a",{id:c,className:"anchor",children:c}),(0,t.jsx)("div",{className:l&&"no-bg"!==l||m?"px-4 py-3":"",children:r&&i&&(0,t.jsx)(h,{formKey:r,meta:b,readOnly:u,submitText:a,approvedText:n,hideFormOnSubmit:o})})]})}},78196:e=>{e.exports={message:"FormSubmission_message__CsfEa"}}}]);

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.