PageSourceSearch

https://formed.org/_next/static/chunks/pages/embed/signup-f8feb83d0044c620.js

js formed.org collected 2026-09-24 09:16:57 UTC 11,097 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[54],{89920:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/embed/signup",function(){return n(8069)}])},35033:function(e,t,n){"use strict";var r=n(83454);n(91479);var i=n(67294),s=i&&"object"==typeof i&&"default"in i?i:{default:i};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var a=void 0!==r&&r.env&&!0,c=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,n=t.name,r=void 0===n?"stylesheet":n,i=t.optimizeForSpeed,s=void 0===i?a:i;u(c(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",u("boolean"==typeof s,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=s,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var o=document.querySelector('meta[property="csp-nonce"]');this._nonce=o?o.getAttribute("content"):null}var t,n=e.prototype;return n.setOptimizeForSpeed=function(e){u("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),u(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},n.isOptimizeForSpeed=function(){return this._optimizeForSpeed},n.inject=function(){var e=this;if(u(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(a||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"==typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},n.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},n.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},n.insertRule=function(e,t){if(u(c(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var n=this.getSheet();"number"!=typeof t&&(t=n.cssRules.length);try{n.insertRule(e,t)}catch(t){return a||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var r=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,r))}return this._rulesCount++},n.replaceRule=function(e,t){if(this._optimizeForSpeed){var n=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!n.cssRules[e])return e;n.deleteRule(e);try{n.insertRule(t,e)}catch(r){a||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),n.insertRule(this._deletedRulePlaceholder,e)}}else{var r=this._tags[e];u(r,"old rule at index `"+e+"` not found"),r.textContent=t}return e},n.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];u(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},n.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEac
1h(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},n.cssRules=function(){var e=this;return this._tags.reduce(function(t,n){return n?t=t.concat(Array.prototype.map.call(e.getSheetForTag(n).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},n.makeStyleTag=function(e,t,n){t&&u(c(t),"makeStyleTag accepts only strings as second parameter");var r=document.createElement("style");this._nonce&&r.setAttribute("nonce",this._nonce),r.type="text/css",r.setAttribute("data-"+e,""),t&&r.appendChild(document.createTextNode(t));var i=document.head||document.getElementsByTagName("head")[0];return n?i.insertBefore(r,n):i.appendChild(r),r},o(e.prototype,[{key:"length",get:function(){return this._rulesCount}}]),t&&o(e,t),e}();function u(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var d=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},h={};function m(e,t){if(!t)return"jsx-"+e;var n=String(t),r=e+n;return h[r]||(h[r]="jsx-"+d(e+"-"+n)),h[r]}function p(e,t){var n=e+t;return h[n]||(h[n]=t.replace(/__jsx-style-dynamic-selector/g,e)),h[n]}var f=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,r=void 0===n?null:n,i=t.optimizeForSpeed,s=void 0!==i&&i;this._sheet=r||new l({name:"styled-jsx",optimizeForSpeed:s}),this._sheet.inject(),r&&"boolean"==typeof s&&(this._sheet.setOptimizeForSpeed(s),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var n=this.getIdAndRules(e),r=n.styleId,i=n.rules;if(r in this._instancesCounts){this._instancesCounts[r]+=1;return}var s=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[r]=s,this._instancesCounts[r]=1},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var r=this._fromServer&&this._fromServer[n];r?(r.parentNode.removeChild(r),delete this._fromServer[n]):(this._indices[n].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return n[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,n;return t=this.cssRules(),void 0===(n=e)&&(n={}),t.map(function(e){var t=e[0],r=e[1];return s.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:n.nonce?n.nonce:void 0,dangerouslySetInnerHTML:{__html:r}})})},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,r=e.id;if(n){var i=m(r,n);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return p(i,e)}):[p(i,t)]}}return{styleId:m(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),_=i.createContext(null);_.displayName="StyleSheetContext";var y=s.default.useInsertionEffect||s.default.useLayoutEffect,g=new f;function v(e){var t=g||i.useContext(_);return t&&y(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}v.dynamic=function(e){return e.map(function(e){return m(e[0],e[1])}).join(" ")},t.style=v},69554:function(e,t,n){"use strict";e.exports=n(35033).style},8069:function(e,t,n){"use strict";n.r(t);var r=n(85893),i=n(69554),s=n.n(i),o=n(67294),a=n(11752),c=n.n(a),l=n(41664),u=n.n(l),d=n(11163),h=n(34051),m=n(31555),p=n(22793),f=n(83270),_=n(7812),y=n(81862),g=n(82473),v=n(54163),S=n(89678);let{publicRuntimeConfig:b}=c()(),{FORMED_APP_ORIGIN:x}=b;t.default=()=>{var e,t;let n=()=>i&&i.query&&i.query.clientName&&"string"==typeof i.query.clientName?"usccb"===i.query.clientName.toLowerCase()?"USCCB":i.query.clientName:"",i=(0,d.useRouter)(),[a,c]=(0,o.useState)({clientName:"",validating:!0}),l=i&&i.query&&i.query.logoUrl?"".concat(i.query.logoUrl):void 0,b=i&&i.query&&i.query.sign
1InUrl?"".concat(i.query.signInUrl):"".concat(x,"/login"),j=i&&i.query&&i.query.redirectUrl?"".concat(i.query.redirectUrl):void 0,C=i&&i.query&&i.query.brandingColor?"".concat(i.query.brandingColor):"4391fc",F=i&&i.query&&i.query.errorMessage?"".concat(i.query.errorMessage):"",R=async()=>{let e=n();if(e||c(e=>({...e,clientName:"",validating:!1})),"formed"===e||"espanol"===e||"USCCB"===e){c({clientName:e,validating:!1});return}let t=(await p.x.get("/registration/validate/client/".concat(e))).data;c(n=>({...n,...t&&{clientName:e},validating:!1}))};!a.clientName&&a.validating&&R();let w=e=>{window.top&&(window.top.location.href=e)};return(0,r.jsxs)(f.Z,{children:[(0,r.jsx)(s(),{id:"50eaa25940fc24b9",dynamic:[C,C,C,C,C],children:".cannot-find{display:none}a{color:#".concat(C,"!important}.primary-color,#email-info-row .user-email{color:#").concat(C,"!important}.primary-background-color,.btn.btn-primary:not(.btn-standard){background-color:#").concat(C,"!important}.dropdown-item:hover:not(.free-trial-item){background-color:#").concat(C,'!important;color:white!important}.primary-border-color,.btn.btn-primary:not(.btn-standard),.form-control:focus,.input-group input:focus~[class*="input-group-"],.input-group input:focus~[class*="input-group-"] .input-group-text{border-color:#').concat(C,"!important}")}),(0,r.jsxs)(h.Z,{style:{paddingTop:"50px"},children:[l&&(0,r.jsx)(m.Z,{xs:4,children:(0,r.jsx)("img",{src:l,style:{height:"30px !important"},className:s().dynamic([["50eaa25940fc24b9",[C,C,C,C,C]]])+" formed-icon"})}),!l&&"espanol"===a.clientName&&(0,r.jsx)(m.Z,{xs:4,children:(0,r.jsx)("img",{src:"/static/images/icons/formed-espanol-logo.png",style:{height:"30px !important"},className:s().dynamic([["50eaa25940fc24b9",[C,C,C,C,C]]])+" formed-espanol-icon"})}),(0,r.jsx)(m.Z,{xs:8,id:"sign-in-header",children:"espanol"===a.clientName?(0,r.jsxs)(r.Fragment,{children:["\xbfYa eres miembro?"," ",(0,r.jsx)(u(),{href:window.location.href,onClick:()=>w("https://ver.formed.lat/login"),children:"Iniciar sesi\xf3n"})]}):(0,r.jsxs)(r.Fragment,{children:["Are you a member?"," ",(0,r.jsx)(u(),{href:window.location.href,onClick:()=>w(b),children:"Sign In"})]})})]}),(0,r.jsx)(h.Z,{id:"create-new-user-row",className:"embedded-signup",children:(0,r.jsxs)(m.Z,{children:[a.validating&&(0,r.jsx)(S.Z,{}),a.clientName&&!a.validating&&(e=a.clientName,t=a.validating,e&&!t?"espanol"===e?(0,r.jsx)(g.Z,{embed:!0,clientName:e,validating:t,redirectUrl:j,errorMessage:F}):"USCCB"===e?(0,r.jsx)(v.Z,{embed:!0,clientName:e,validating:t,redirectUrl:j,errorMessage:F}):(0,r.jsx)(_.Z,{embed:!0,clientName:e,validating:t,redirectUrl:j,errorMessage:F}):null),!a.clientName&&!a.validating&&(0,r.jsx)(y.Z,{type:"clientValidationEmbed",message:F})]})})]})}},91479:function(){}},function(e){e.O(0,[99,664,150,641,617,888,774,179],function(){return e(e.s=89920)}),_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.