PageSourceSearch

https://www.interfaithphiladelphia.org/wp-content/plugins/wpforms/…/frontend/fields/address.min.js?ver=2.0.0.5

js interfaithphiladelphia.org collected 2026-09-24 10:24:39 UTC 1,826 bytes, 1 lines download raw bytes

1window.WPForms=window.WPForms||{},((e,r)=>{let t={noStateCountries:[],init(){r(e).on("load",t.onLoad),r(document).on("wpformsRepeaterFieldCloneCreated",t.setChangeHandlers)},onLoad(){t.noStateCountries=wpforms_settings?.address_field?.list_countries_without_states||[],t.noStateCountries.length&&t.setChangeHandlers()},setChangeHandlers(){r(".wpforms-field-address").each(function(){var e=r(this).find("select.wpforms-field-address-country");e.length&&(t.handleCountryChange(e),e.off("change").on("change",function(){t.handleCountryChange(this)}))})},handleCountryChange(e){var e=r(e),s=e.closest(".wpforms-field").find(".wpforms-field-address-state"),d=s.closest(".wpforms-field-row");d.length&&(e=e.val(),t.handleStateInput(s,d,e))},handleStateInput(e,s,d){t.noStateCountries.includes(d)?(e.val("").prop("disabled",!0).prop("required",!1).on("change",function(){r(this).val("")}),s.addClass("wpforms-without-state")):(e.prop("disabled",!1).prop("required",s.find(".wpforms-first input").prop("required")).off("change"),s.removeClass("wpforms-without-state"))}},d={requiredAddressFields:["addressLine1","adminArea2","countryCode","postalCode"],getFieldValue(e){var s,d;return e.hasClass("wpforms-field-address")?(s=e.data("field-id"),e=e.closest(".wpforms-form").data("formid"),d=r(`#wpforms-${e}-field_${s}-country`),{addressLine1:r(`#wpforms-${e}-field_`+s).val(),addressLine2:r(`#wpforms-${e}-field_${s}-address2`).val(),adminArea2:r(`#wpforms-${e}-field_${s}-city`).val(),adminArea1:r(`#wpforms-${e}-field_${s}-state`).val(),countryCode:d.length?d.val():"US",postalCode:r(`#wpforms-${e}-field_${s}-postal`).val()}):{}},isValidAddress(e){let s=e||{};return!(!d.requiredAddressFields.every(e=>!!s?.[e])||(e=s.countryCode||"")&&!t.noStateCountries.includes(e)&&!s.adminArea1)}};t.init(),e.WPForms.Address=d})(window,jQuery);

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.