/* COPYRIGHT Esri - https://js.arcgis.com/1.2/LICENSE.txt */
import{a as s}from"./RQFHSMWM.js";import"./TBHFGSW5.js";import"./YPYVBSI2.js";import"./7ETQT3G4.js";import"./QNRKUIIZ.js";import"./GQCZRU3J.js";import"./REIYPTAV.js";import"./2OU4FEWW.js";import"./VV7FJXQ5.js";import"./DSY5AB5O.js";import"./GN3QLDHM.js";import"./44A5XEM4.js";import"./TTLT7RGV.js";import"./ZMQIXHQT.js";import"./ON4BNIHV.js";import"./7HFNWEO7.js";import"./U3ZSY3PW.js";import"./S63WKB2G.js";import"./CWR7ZYKZ.js";import"./2WOAXFRU.js";import"./5WGXAZJH.js";import"./S2YYP65L.js";import"./TS3CE2TS.js";import"./3QPJ2JCA.js";var c=async(e,l,n)=>{let{isSharedUpdate:i,leavingDisallowed:t}=l;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[t]}],[{effect:s.DISABLE,conditions:[t]},{effect:s.DISABLE,conditions:[i]}]]},rules:[{effect:s.RESET,conditions:[t]},{effect:s.RESET,conditions:[i,{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}};export{c as buildUiSchema};
