text: var SLDS=SLDS||{};SLDS["__internal/chunked/showcase/ui/components/form-element/address/example.jsx.js"]=function(e){function t(t){for(var n,d,i=t[0],m=t[1],u=t[2],f=0,s=[];f<i.length;f++)d=i[f],a[d]&&s.push(a[d][0]),a[d]=0;for(n in m)Object.prototype.hasOwnProperty.call(m,n)&&(e[n]=m[n]);for(o&&o(t);s.length;)s.shift()();return r.push.apply(r,u||[]),l()}function l(){for(var e,t=0;t<r.length;t++){for(var l=r[t],n=!0,i=1;i<l.length;i++){var m=l[i];0!==a[m]&&(n=!1)}n&&(r.splice(t--,1),e=d(d.s=l[0]))}return e}var n={},a={48:0,7:0,8:0,15:0,16:0,22:0,32:0,38:0,42:0,45:0,54:0,58:0,59:0,63:0,64:0,67:0,71:0,75:0,77:0,80:0,84:0,87:0,88:0,93:0,99:0,100:0,104:0,106:0,114:0,117:0,118:0,122:0,124:0,125:0,126:0,127:0,128:0,129:0,133:0,138:0,144:0,152:0,163:0,167:0,170:0,171:0,178:0,181:0,182:0},r=[];function d(t){if(n[t])return n[t].exports;var l=n[t]={i:t,l:!1,exports:{}};return e[t].call(l.exports,l,l.exports,d),l.l=!0,l.exports}d.m=e,d.c=n,d.d=function(e,t,l){d.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:l})},d.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},d.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(t,"a",t),t},d.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},d.p="/assets/scripts/bundle/";var i=this.webpackJsonpSLDS___internal_chunked_showcase=this.webpackJsonpSLDS___internal_chunked_showcase||[],m=i.push.bind(i);i.push=t,i=i.slice();for(var u=0;u<i.length;u++)t(i[u]);var o=m;return r.push([114,0]),l()}({0:function(e,t){e.exports=React},114:function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.states=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(l(0)),a=l(44),r=l(7),d=l(9),i=l(31);t.default=n.default.createElement(a.CompoundFormElement,{labelContent:"Billing Address",isAddress:!0},n.default.createElement(a.CompoundFormRow,null,n.default.createElement("div",{className:"slds-size_1-of-1"},n.default.createElement(r.FormElement,{labelContent:"Billing Street",inputId:"form-element-id-04"},n.default.createElement(i.Textarea,{id:"form-element-id-04",defaultValue:"525 S. Lexington Ave",required:!0})))),n.default.createElement(a.CompoundFormRow,null,n.default.createElement("div",{className:"slds-size_4-of-6"},n.default.createElement(r.FormElement,{labelContent:"Billing City",inputId:"form-element-id-05"},n.default.createElement(d.Input,{id:"form-element-id-05",defaultValue:"Burlington",required:!0}))),n.default.createElement("div",{className:"slds-size_2-of-6"},n.default.createElement(r.FormElement,{labelContent:"Billing State/Province",inputId:"form-element-id-06"},n.default.createElement(d.Input,{id:"form-element-id-06",defaultValue:"NC",required:!0})))),n.default.createElement(a.CompoundFormRow,null,n.default.createElement("div",{className:"slds-size_4-of-6"},n.default.createElement(r.FormElement,{labelContent:"Billing Zip/Postal Code",inputId:"form-element-id-07"},n.default.createElement(d.Input,{id:"form-element-id-07",defaultValue:"27215",required:!0}))),n.default.createElement("div",{className:"slds-size_2-of-6"},n.default.createElement(r.FormElement,{labelContent:"Billing Country",inputId:"form-element-id-08"},n.default.createElement(d.Input,{id:"form-element-id-08",defaultValue:"USA",required:!0})))));t.states=[{id:"required",label:"Required",element:n.default.createElement(a.CompoundFormElement,{labelContent:"Billing Address",isAddress:!0,isRequired:!0},n.default.createElement(a.CompoundFormRow,null,n.default.createElement("div",{className:"slds-size_1-of-1"},n.default.createElement(r.FormElement,{labelContent:"Billing Street",inputId:"form-element-id-04"},n.default.createElement(i.Textarea,{id:"form-element-id-04",defaultValue:"525 S. Lexington Ave",required:!0})))),n.default.createElement(a.CompoundFormRow,null,n.default.createElement("div",{className:"slds-size_4-of-6"},n.default.createElement(r.FormElement,{labelContent:"Billing City",inputId:"form-element-id-05"},n.default.createElement(d.Input,{id:"form-element-id-05",defaultValue:"Burlington",required:!0}))),n.default.createElement("div",{className:"slds-size_2-of-6"},n.default.createElement(r.FormElement,{labelContent:"Billing State/Province",inputId:"form-element-id-06"},n.default.createElement(d.Input,{id:"form-element-id-06",defaultValue:"NC",required:!0})))),n.default.createElement(a.CompoundFormRow,null,n.default.createElement("div",{className:"slds-size_4-of-6"},n.default.createElement(r.FormElement,{labelContent:"Billing Zip/Postal Code",inputId:"form-element-id-07"},n.default.createElement(d.Input,{id:"form-element-id-07",defaultValue:"27215",required:!0}))),n.default.createElement("div",{className:"slds-size_2-of-6"},n.default.createElement(r.FormElement,{labelContent:"Billing Country",inputId:"form-element-id-08"},n.default.createElement(d.Input,{id:"form-element-id-08",defaultValue:"USA",required:!0})))))},{id:"help-text",label:"Has help text icon with tooltip",element:n.default.createElement(a.CompoundFormElement,{labelContent:"Billing Address",isAddress:!0,hasTooltip:!0},n.default.createElement(a.CompoundFormRow,null,n.default.createElement("div",{className:"slds-size_1-of-1"},n.default.createElement(r.FormElement,{labelContent:"Billing Street",inputId:"form-element-id-04"},n.default.createElement(i.Textarea,{id:"form-element-id-04",defaultValue:"525 S. Lexington Ave",required:!0})))),n.default.createElement(a.CompoundFormRow,null,n.default.createElement("div",{className:"slds-size_4-of-6"},n.default.createElement(r.FormElement,{labelContent:"Billing City",inputId:"form-element-id-05"},n.default.createElement(d.Input,{id:"form-element-id-05",defaultValue:"Burlington",required:!0}))),n.default.createElement("div",{className:"slds-size_2-of-6"},n.default.createElement(r.FormElement,{labelContent:"Billing State/Province",inputId:"form-element-id-06"},n.default.createElement(d.Input,{id:"form-element-id-06",defaultValue:"NC",required:!0})))),n.default.createElement(a.CompoundFormRow,null,n.default.createElement("div",{className:"slds-size_4-of-6"},n.default.createElement(r.FormElement,{labelContent:"Billing Zip/Postal Code",inputId:"form-element-id-07"},n.default.createElement(d.Input,{id:"form-element-id-07",defaultValue:"27215",required:!0}))),n.default.createElement("div",{className:"slds-size_2-of-6"},n.default.createElement(r.FormElement,{labelContent:"Billing Country",inputId:"form-element-id-08"},n.default.createElement(d.Input,{id:"form-element-id-08",defaultValue:"USA",required:!0})))))},{id:"has-error",label:"Has error",element:n.default.createElement(a.CompoundFormElement,{labelContent:"Billing Address",isAddress:!0,isRequired:!0,hasError:!0,errorId:"address-error-id-01",inlineMessage:"These fields are required"},n.default.createElement(a.CompoundFormRow,null,n.default.createElement("div",{className:"slds-size_1-of-1"},n.default.createElement(r.FormElement,{labelContent:"Billing Street",inputId:"form-element-id-04"},n.default.createElement(i.Textarea,{id:"form-element-id-04",defaultValue:"525 S. Lexington Ave",required:!0})))),n.default.createElement(a.CompoundFormRow,null,n.default.createElement("div",{className:"slds-size_4-of-6"},n.default.createElement(r.FormElement,{labelContent:"Billing City",inputId:"form-element-id-05"},n.default.createElement(d.Input,{id:"form-element-id-05",defaultValue:"Burlington",required:!0}))),n.default.createElement("div",{className:"slds-size_2-of-6"},n.default.createElement(r.FormElement,{labelContent:"Billing State/Province",inputId:"form-element-id-06"},n.default.createElement(d.Input,{id:"form-element-id-06",defaultValue:"NC",required:!0})))),n.default.createElement(a.CompoundFormRow,null,n.default.createElement("div",{className:"slds-size_4-of-6"},n.default.createElement(r.FormElement,{labelContent:"Billing Zip/Postal Code",inputId:"form-element-id-07"},n.default.createElement(d.Input,{id:"form-element-id-07",defaultValue:"27215",required:!0}))),n.default.createElement("div",{className:"slds-size_2-of-6"},n.default.createElement(r.FormElement,{labelContent:"Billing Country",inputId:"form-element-id-08"},n.default.createElement(d.Input,{id:"form-element-id-08",defaultValue:"USA",required:!0})))))}]}});