(self.webpackChunk_genesislcap_foundation_forms=self.webpackChunk_genesislcap_foundation_forms||[]).push([[173],{173:(e,t,o)=>{"use strict";o.r(t),o.d(t,{Form:()=>G,genesisErrorTranslator:()=>h,logger:()=>U,mustMatch:()=>J});var r=o(779),a=o(9013),s=o(3147),n=o(5951),i=o(2193),l=o(8775);const d=s.css`
  ${(0,n.display)("block")}
  :host {
    border: calc(${i.H} * 1px) solid transparent;
    margin: 0;
    border-radius: calc(${i.UW} * 1px);
    padding: calc(${i._5} * 1px);
    min-width: 64px;
  }

  .form-controls {
    display: grid;
    grid-gap: calc(${i._5} * 1px);
    grid-column-gap: calc(${i._5} * 7px);
    grid-template-columns: repeat(2, 1fr);
  }

  .form-group {
    display: flex;
    flex-direction: column;
  }

  .required::after {
    content: ' *';
    color: #f00;
  }

  .label {
    font-size: calc(${i._5} * 1px + 0.7vmin);
  }

  .actions {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(${i._5} * 2px);
  }

  .error {
    border-bottom: 2px solid red;
  }

  .errors {
    color: #f00;
    font-size: 11px;
    width: calc(100% - 70px);
  }

  .submit-button {
    width: 70px;
  }
`.withBehaviors((0,n.forcedColorsStylesheetBehavior)(s.css`
    :host {
      background: ${l.H.Canvas};
      border-color: ${l.H.CanvasText};
    }
  `));var c=o(3554);const p={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"},h=(e,t,o)=>{var r;return"pattern"===(null==e?void 0:e.keyword)?null!==(r=p[e.params.pattern])&&void 0!==r?r:"Invalid pattern.":(0,c.defaultErrorTranslator)(e,t,o)},m=s.html`
  <template>
    ${(0,s.when)((e=>e.jsonforms&&e.dispatch&&e.props),s.html`
        <dispatch-renderer
          :jsonforms=${e=>e.jsonforms}
          :dispatch=${e=>e.dispatch}
          :props=${e=>e.props}
          ?submitted=${e=>e.submitted}
        />
      `)}
  </template>
`,u=s.css``,v=(e,t,o)=>{var r,a,s,n;return null!==(n=null===(s=null===(a=null===(r=null==o?void 0:o.options)||void 0===r?void 0:r.i18n)||void 0===a?void 0:a.error)||void 0===s?void 0:s[e.keyword])&&void 0!==n?n:h(e,t,o)};let b=class extends s.FASTElement{constructor(){super(...arguments),this.dispatch=e=>{this.jsonforms=Object.assign(Object.assign({},this.jsonforms),{core:(0,c.coreReducer)(this.jsonforms.core,e)}),this.$emit("data-change",{data:this.jsonforms.core.data,errors:this.jsonforms.core.errors})},this.validate=e=>{var t,o,r;const a=null===(o=null===(t=this.jsonforms)||void 0===t?void 0:t.core)||void 0===o?void 0:o.data;if(!a)return[];const s=[];return null===(r=null==e?void 0:e.elements)||void 0===r||r.forEach((e=>{var t,o,r,n;const i=null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.validateFn;if("function"!=typeof i)return;const l=null===(r=null===(o=null==e?void 0:e.scope)||void 0===o?void 0:o.split("/"))||void 0===r?void 0:r.pop(),d=null==e?void 0:e.label;let c=null!==(n=i(a,l,d))&&void 0!==n?n:[];Array.isArray(c)||(c=[c]),s.push(...c)})),s}}schemaChanged(){var e,t,o,r;if(!this.schema)return;const a=null!==(e=this.uischema)&&void 0!==e?e:c.Generate.uiSchema(this.schema);this.uischema||console.log("UI schema not provided. Auto generated schema:",a);const s=this.validate(a);this.jsonforms={core:(()=>{const e={data:this.data,schema:this.schema,uischema:a};return(0,c.coreReducer)(e,c.Actions.init(this.data,this.schema,a,{validationMode:this.validationMode||"ValidateAndShow",ajv:this.ajv,additionalErrors:s}))})(),config:(0,c.configReducer)(void 0,c.Actions.setConfig(this.config)),i18n:(0,c.i18nReducer)(this.i18n,c.Actions.updateI18n(null===(t=this.i18n)||void 0===t?void 0:t.locale,null===(o=this.i18n)||void 0===o?void 0:o.translate,(null===(r=this.i18n)||void 0===r?void 0:r.translateError)||v)),renderers:this.renderers,readonly:this.readonly},this.$emit("data-change",{data:this.jsonforms.core.data,errors:this.jsonforms.core.errors})}uischemaChanged(){this.schemaChanged()}dataChanged(){this.schemaChanged()}renderersChanged(){this.schemaChanged()}validationModeChanged(){this.schemaChanged()}ajvChanged(){this.schemaChanged()}readonlyChanged(){this.schemaChanged()}configChanged(){this.schemaChanged()}get props(){var e;if(!this.schema&&!this.uischema)return;return{uischema:null!==(e=this.uischema)&&void 0!==e?e:c.Generate.uiSchema(this.schema),schema:this.schema,path:"",enabled:!0,visible:!0}}};(0,r.__decorate)([(0,s.attr)({mode:"boolean"})],b.prototype,"submitted",void 0),(0,r.__decorate)([s.observable],b.prototype,"jsonforms",void 0),(0,r.__decorate)([s.observable],b.prototype,"i18n",void 0),(0,r.__decorate)([s.observable],b.prototype,"schema",void 0),(0,r.__decorate)([s.observable],b.prototype,"uischema",void 0),(0,r.__decorate)([s.observable],b.prototype,"data",void 0),(0,r.__decorate)([s.observable],b.prototype,"renderers",void 0),(0,r.__decorate)([s.observable],b.prototype,"validationMode",void 0),(0,r.__decorate)([s.observable],b.prototype,"ajv",void 0),(0,r.__decorate)([(0,s.attr)({mode:"boolean"})],b.prototype,"readonly",void 0),(0,r.__decorate)([s.observable],b.prototype,"config",void 0),b=(0,r.__decorate)([(0,s.customElement)({name:"json-forms",template:m,styles:u})],b);const f=s.html`
  <template>
    ${(0,s.when)((e=>{var t;return null===(t=e.control)||void 0===t?void 0:t.visible}),s.html`
        <div class="wrapperRoot" id=${e=>e.control.id+e.control.uischema.scope}>
          <div for="${e=>e.control.id+"-input"}" class="label">${e=>e.computedLabel}</div>
          <div class="wrapper">
            <slot></slot>
          </div>
          <div class="${e=>e.control.errors&&e.touched?"error":"description"}">
            ${e=>e.control.errors&&e.touched?e.control.errors:e.showDescription?e.control.description:""}
          </div>
        </div>
      `)}
  </template>
`,$=s.css`
  .wrapperRoot {
    margin-bottom: 20px;
  }

  .label {
    color: rgb(135, 155, 166);
    font-family: Roboto-Medium, sans-serif;
    font-style: normal;
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
  }

  .error {
    font-size: 12px;
    color: #f9644d;
    margin-left: 10px;
  }

  .wrapper {
    display: flex;
    width: 100%;
  }
`;let g=class extends s.FASTElement{get showDescription(){return!(0,c.isDescriptionHidden)(this.control.visible,this.control.description,this.control.isFocused,!!this.control.config.showUnfocusedDescription)}get computedLabel(){return(0,c.computeLabel)(this.control.label,this.control.required,!!this.control.config.hideRequiredAsterisk)}};(0,r.__decorate)([s.observable],g.prototype,"control",void 0),(0,r.__decorate)([s.observable],g.prototype,"touched",void 0),(0,r.__decorate)([s.volatile],g.prototype,"showDescription",null),(0,r.__decorate)([s.volatile],g.prototype,"computedLabel",null),g=(0,r.__decorate)([(0,s.customElement)({name:"control-wrapper",styles:$,template:f})],g);var y=o(340),_=o.n(y);const w=s.html`
  <template>${e=>e.determinedRenderer.renderer}</template>
`,C=s.css``;let j=class extends s.FASTElement{constructor(){super(...arguments),this.createRenderer=()=>{if(!this.jsonforms||!this.dispatch||!this.props)return;const e=(0,c.mapStateToJsonFormsRendererProps)({jsonforms:this.jsonforms},this.props),{rootSchema:t}=e,o=(0,r.__rest)(e,["rootSchema"]);this.renderer=o,this.control=((e,t,o,r)=>{const a=Object.assign({},r({jsonforms:t},e)),s=null===c.mapDispatchToControlProps||void 0===c.mapDispatchToControlProps?void 0:(0,c.mapDispatchToControlProps)(o);return Object.assign(Object.assign({},a),s)})(this.props,this.jsonforms,this.dispatch,this.determinedRenderer.mapper)}}jsonformsChanged(){this.createRenderer()}propsChanged(){this.createRenderer()}submittedChanged(){this.touched=!!this.submitted}onBlur(){this.touched=!0}get determinedRenderer(){const e=_()(this.renderer.renderers,(e=>e.tester(this.renderer.uischema,this.renderer.schema)));return void 0===e||-1===e.tester(this.renderer.uischema,this.renderer.schema)?(console.error("UnknownRenderer this.renderer.uischema",this.renderer.uischema),{renderer:"UnknownRenderer"}):e}disconnectedCallback(){super.disconnectedCallback(),this.touched=!1,this.submitted=!1}};(0,r.__decorate)([s.observable],j.prototype,"jsonforms",void 0),(0,r.__decorate)([s.observable],j.prototype,"props",void 0),(0,r.__decorate)([s.observable],j.prototype,"touched",void 0),(0,r.__decorate)([(0,s.attr)({mode:"boolean"})],j.prototype,"submitted",void 0),(0,r.__decorate)([s.observable],j.prototype,"dispatch",void 0),(0,r.__decorate)([s.observable],j.prototype,"control",void 0),(0,r.__decorate)([s.observable],j.prototype,"renderer",void 0),j=(0,r.__decorate)([(0,s.customElement)({name:"dispatch-renderer",template:w,styles:C})],j);const x=s.html`
  <template>
    <json-forms
      ?readonly=${e=>e.readonly}
      ?submitted=${e=>e.submitted}
      :renderers=${e=>e.renderers}
      :uischema=${e=>e.uischema}
      :schema=${e=>e.jsonSchema}
      :data=${e=>e.data}
      @data-change=${(e,t)=>e.onChange(t.event)}
    ></json-forms>
    ${(0,s.when)((e=>!e.readonly),s.html`
        <div class="actions">
          <div class="errors">${e=>e.submissionErrors}</div>
          <fast-button
            @click="${e=>e._submit()}"
            ?disable=${e=>!e.submitting}
            class="submit-button"
            appearance="accent"
          >
            Submit
          </fast-button>
        </div>
      `)}
  </template>
`;var O=o(50);const T=(0,c.or)(c.isBooleanControl,(0,c.schemaMatches)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,c.hasType)(e,"boolean")))))),k={renderer:s.html`
  <template>
    <control-wrapper
      :control=${e=>e.control}
      :touched=${e=>e.touched}
      ?submitted=${e=>e.submitted}
    >
      <zero-checkbox
        :checked=${e=>e.control.data}
        ?disabled=${e=>!e.control.enabled}
        :autofocus=${e=>e.control.config.focus}
        :placeholder=${e=>e.control.config.placeholder}
        @change=${(e,t)=>{e.control.handleChange(e.control.path,t.event.target.checked),e.onBlur()}}
      ></zero-checkbox>
    </control-wrapper>
  </template>
`,tester:(0,c.rankWith)(3,T),mapper:c.mapStateToControlProps},S=e=>t=>{if(!t||!(0,c.isControl)(t))return!1;const o=t.options;return!(!o||!o[e])},R=(0,c.and)(S("allOptionsResourceName"),(0,c.or)((0,c.schemaMatches)((e=>(0,c.hasType)(e,"array"))),(0,c.schemaMatches)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,c.hasType)(e,"array"))))))),E={renderer:s.html`
  <template>
    <control-wrapper
      :control=${e=>e.control}
      :touched=${e=>e.touched}
      ?submitted=${e=>e.submitted}
    >
      <zero-multiselect
        style="width: 100%"
        :selectedOptions=${e=>e.control.data||[]}
        @selectionChange=${(e,t)=>{e.control.handleChange(e.control.path,t.event.detail),e.onBlur()}}
      >
        <multiselect-datasource
          resourceName=${e=>{var t;return null===(t=e.control.uischema.options)||void 0===t?void 0:t.allOptionsResourceName}}
          value-field=${e=>{var t;return null===(t=e.control.uischema.options)||void 0===t?void 0:t.valueField}}
          label-field=${e=>{var t;return null===(t=e.control.uischema.options)||void 0===t?void 0:t.labelField}}
        ></multiselect-datasource>
      </zero-multiselect>
    </control-wrapper>
  </template>
`,tester:(0,c.rankWith)(4,R),mapper:c.mapStateToControlProps},P={renderer:s.html`
  <template>
    <control-wrapper
      :control=${e=>e.control}
      :touched=${e=>e.touched}
      ?submitted=${e=>e.submitted}
    >
      <zero-combobox
        style="width: 100%"
        placeholder=${e=>e.control.label}
        ?disabled=${e=>!e.control.enabled}
        :value=${e=>e.control.data||""}
        @value-change=${(e,t)=>{var o;const r=null===(o=t.event.detail)||void 0===o?void 0:o.value;e.control.handleChange(e.control.path,r),e.onBlur()}}
      >
        <options-datasource
          resourceName=${e=>{var t;return null===(t=e.control.uischema.options)||void 0===t?void 0:t.allOptionsResourceName}}
          value-field=${e=>{var t;return null===(t=e.control.uischema.options)||void 0===t?void 0:t.valueField}}
          label-field=${e=>{var t;return null===(t=e.control.uischema.options)||void 0===t?void 0:t.labelField}}
          :data=${e=>{var t;return null===(t=e.control.uischema.options)||void 0===t?void 0:t.data}}
          :initialSelectedValue=${e=>e.control.data}
        ></options-datasource>
      </zero-combobox>
    </control-wrapper>
  </template>
`,tester:(0,c.rankWith)(4,(0,c.or)(S("allOptionsResourceName"),S("data"))),mapper:c.mapStateToControlProps},N=(0,c.schemaMatches)((e=>"org.joda.time.DateTime"===e.description)),z={renderer:s.html`
  <template>
    <control-wrapper
      :control=${e=>e.control}
      :touched=${e=>e.touched}
      ?submitted=${e=>e.submitted}
    >
      <zero-text-field
        :value=${e=>void 0===e.control.data||null===e.control.data?"":new Intl.DateTimeFormat("fr-CA",{year:"numeric",month:"2-digit",day:"2-digit"}).format(e.control.data)}
        @change="${(e,t)=>e.control.handleChange(e.control.path,t.event.target.control.valueAsNumber)}}"
        id=${e=>e.control.path}
        type="date"
        data-test-id=${e=>e.control.path}
        ?required=${e=>e.control.required}
        ?disabled=${e=>!e.control.enabled}
        @blur=${e=>e.onBlur()}
        style="width: 100%"
      ></zero-text-field>
    </control-wrapper>
  </template>
`,tester:(0,c.rankWith)(4,N),mapper:c.mapStateToControlProps},D=(0,c.or)(c.isEnumControl,(0,c.schemaMatches)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>e.hasOwnProperty("enum")))))),A={renderer:s.html`
  <template>
    <control-wrapper
      :control=${e=>e.control}
      :touched=${e=>e.touched}
      ?submitted=${e=>e.submitted}
    >
      <zero-combobox
        style="width: 100%"
        ?disabled=${e=>!e.control.enabled}
        :value=${e=>{var t;return(null===(t=e.control.options.find((t=>t.value===e.control.data)))||void 0===t?void 0:t.label)||""}}
        @change=${(e,t)=>{var o;e.control.handleChange(e.control.path,null===(o=e.control.options.find((e=>e.label===t.event.target.value)))||void 0===o?void 0:o.value),e.onBlur()}}
      >
        ${(0,s.repeat)((e=>e.control.options),s.html`
            <zero-option>${e=>e.label}</zero-option>
          `)}
      </zero-combobox>
    </control-wrapper>
  </template>
`,tester:(0,c.rankWith)(3,D),mapper:(e,t)=>{const o=(0,c.mapStateToControlProps)(e,t),r=t.options||(o.schema.enum||o.schema.oneOf.find((e=>e.hasOwnProperty("enum"))).enum).map((t=>(0,c.enumToEnumOptionMapper)(t,(0,c.getTranslator)()(e),(0,c.getI18nKeyPrefix)(o.schema,o.uischema,o.path))))||o.schema.const&&[(0,c.enumToEnumOptionMapper)(o.schema.const,(0,c.getTranslator)()(e),(0,c.getI18nKeyPrefix)(o.schema,o.uischema,o.path))];return Object.assign(Object.assign({},o),{options:r})}},M={renderer:s.html`
  <template>
    <pre
      :value=${e=>e.control.data||""}
      id=${e=>e.control.path}
      data-test-id=${e=>e.control.path}
      style="display: none"
    ></pre>
  </template>
`,tester:(0,c.rankWith)(5,((e,t,o)=>{var r,a;return null!==(a=null===(r=null==e?void 0:e.options)||void 0===r?void 0:r.hidden)&&void 0!==a&&a})),mapper:c.mapStateToControlProps},F={renderer:s.html`
  <template>
    <div>
      ${(0,s.repeat)((e=>e.control.uischema.elements),s.html`
          <dispatch-renderer
            ?submitted=${(e,t)=>t.parent.submitted}
            :dispatch=${(e,t)=>t.parent.dispatch}
            :jsonforms=${(e,t)=>t.parent.jsonforms}
            :props=${(e,t)=>({uischema:e,schema:t.parent.control.schema,renderers:t.parent.control.renderers,path:t.parent.control.path,enabled:t.parent.control.enabled})}
          ></dispatch-renderer>
        `)}
    </div>
  </template>
`,tester:(0,c.rankWith)(2,c.isLayout),mapper:c.mapStateToLayoutProps},B={renderer:s.html`
  <template>
    <div
      style="max-width:600px;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: space-between;"
    >
      ${(0,s.repeat)((e=>e.control.uischema.elements),s.html`
          <div style="width: 49%">
            <dispatch-renderer
              ?submitted=${(e,t)=>t.parent.submitted}
              :dispatch=${(e,t)=>t.parent.dispatch}
              :jsonforms=${(e,t)=>t.parent.jsonforms}
              :props=${(e,t)=>({uischema:e,schema:t.parent.control.schema,renderers:t.parent.control.renderers,path:t.parent.control.path,enabled:t.parent.control.enabled})}
            ></dispatch-renderer>
          </div>
        `)}
    </div>
  </template>
`,tester:(0,c.rankWith)(2,(e=>"LayoutVertical2Columns"===e.type)),mapper:c.mapStateToLayoutProps},W=e=>(0,c.hasType)(e,"number")||(0,c.hasType)(e,"integer"),L=(0,c.schemaMatches)((e=>W(e)||e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>W(e))))),I={renderer:s.html`
  <template>
    <control-wrapper
      :control=${e=>e.control}
      :touched=${e=>e.touched}
      ?submitted=${e=>e.submitted}
    >
      <zero-text-field
        :value=${e=>void 0===e.control.data?"":e.control.data}
        @change=${(e,t)=>{const o=parseFloat(t.event.target.value);return e.control.handleChange(e.control.path,isNaN(o)?void 0:o)}}
        placeholder=${e=>e.control.label}
        id=${e=>e.control.path}
        data-test-id=${e=>e.control.path}
        ?required=${e=>e.control.required}
        ?disabled=${e=>!e.control.enabled}
        @blur=${e=>e.onBlur()}
        style="width: 100%"
      ></zero-text-field>
    </control-wrapper>
  </template>
`,tester:(0,c.rankWith)(3,L),mapper:c.mapStateToControlProps},q=s.html`
  <template>
    <control-wrapper
      :control=${e=>e.control}
      :touched=${e=>e.touched}
      ?submitted=${e=>e.submitted}
    >
      <zero-text-field
        type=${e=>{var t,o;return(null===(o=null===(t=e.control.uischema)||void 0===t?void 0:t.options)||void 0===o?void 0:o.isPassword)?"password":"text"}}
        :value=${e=>e.control.data||""}
        @change=${(e,t)=>e.control.handleChange(e.control.path,t.event.target.value)}
        placeholder=${e=>e.control.label}
        id=${e=>e.control.path}
        data-test-id=${e=>e.control.path}
        ?required=${e=>e.control.required}
        ?disabled=${e=>!e.control.enabled}
        style="width: 100%"
        @blur=${e=>e.onBlur()}
      ></zero-text-field>
    </control-wrapper>
  </template>
`,U=(0,O.createLogger)("foundation-form"),H={renderer:q,tester:(0,c.rankWith)(2,c.isStringControl),mapper:c.mapStateToControlProps},V=[{renderer:q,tester:(0,c.rankWith)(1,c.isControl),mapper:c.mapStateToControlProps},H,k,B,F,I,E,A,P,z,M];let G=class extends n.FoundationElement{constructor(){super(...arguments),this.renderers=V,this.errors=[],this.data={}}resourceNameChanged(){var e,t;return(0,r.__awaiter)(this,void 0,void 0,(function*(){if(this.resourceName){const o=yield this.connect.getJSONSchema(this.resourceName);this.jsonSchema=null===(t=null===(e=null==o?void 0:o.INBOUND)||void 0===e?void 0:e.properties)||void 0===t?void 0:t.DETAILS}this.removeDataProperties()}))}removeDataProperties(){if(!this.jsonSchema||!this.data)return;const e=Object.keys(this.jsonSchema.properties);Object.keys(this.data).forEach((t=>{e.includes(t)||(delete this.data[t],U.debug("Removing key ",t,"from provided data because it is not part of the payload"))}))}_submit(){return(0,r.__awaiter)(this,void 0,void 0,(function*(){const e=Object.assign({},this.data);if(this.submissionErrors="",this.submitted=!0,U.debug({payload:e,errors:this.errors}),this.$emit("submit",{payload:e,errors:this.errors}),0!==Object.entries(e).length&&!this.errors.length&&this.resourceName){this.submitting=!0;const t=yield this.connect.commitEvent(this.resourceName,{DETAILS:e});this.submitting=!1,t.ERROR?(this.$emit("submit-failure",{payload:e,errors:t.ERROR}),this.submissionErrors=t.ERROR.map((e=>e.CODE+": "+e.TEXT)).toString()):this.$emit("submit-success",{payload:e})}}))}onChange(e){U.debug({event:e}),e.detail&&(this.data=e.detail.data,this.errors=e.detail.errors)}disconnectedCallback(){super.disconnectedCallback(),this.submitted=!1,this.submissionErrors="",this.jsonSchema=void 0,this.resourceName=void 0,this.data={}}};(0,r.__decorate)([s.attr],G.prototype,"resourceName",void 0),(0,r.__decorate)([s.observable],G.prototype,"uischema",void 0),(0,r.__decorate)([s.observable],G.prototype,"renderers",void 0),(0,r.__decorate)([s.observable],G.prototype,"jsonSchema",void 0),(0,r.__decorate)([a.Connect],G.prototype,"connect",void 0),(0,r.__decorate)([s.observable],G.prototype,"data",void 0),(0,r.__decorate)([s.observable],G.prototype,"submitting",void 0),(0,r.__decorate)([s.observable],G.prototype,"submitted",void 0),(0,r.__decorate)([s.observable],G.prototype,"submissionErrors",void 0),(0,r.__decorate)([(0,s.attr)({mode:"boolean"})],G.prototype,"readonly",void 0),G=(0,r.__decorate)([(0,s.customElement)({name:"foundation-form",template:x,styles:d})],G);const J=e=>(t,o,r)=>{if(!(null==o?void 0:o.length)||!(null==e?void 0:e.length)||!t)return[];const a=null==t?void 0:t[e],s=null==t?void 0:t[o];return(null==a?void 0:a.length)&&(null==s?void 0:s.length)&&a!==s?[{instancePath:`/${o}`,message:`Needs to match ${e}`,schemaPath:"",keyword:"",params:{}}]:[]}}}]);
//# sourceMappingURL=173.08431a9cc6e4ea92330e504a71c27e8a.js.map