@arcgis/portal-components 5.2.0-next.121 → 5.2.0-next.122

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a as W}from"./YVKSTDL6.js";import c from"./RBGARTND.js";import{a as L}from"./6H7CWMFE.js";import b from"./F3ODJVJC.js";import{a as J}from"./KYNL256E.js";import{a as x}from"./H4TRF2G7.js";import a from"./OUFIJDIW.js";import"./VMQIDO4Z.js";import"./QS3GXAIH.js";import{b as T}from"./2GBRZSEC.js";import{a as H}from"./NDHD5H3P.js";import"./5IEUHTZ7.js";import"./7NZ3RJFV.js";import{M as v,O as I,Q as O,T as _,j as d,k as C,w}from"./N5KMTTYL.js";import"./UZLQALHY.js";export default $arcgis.t(([m,{substitute:f},,,{f:K,g:M,h:N,i:E}])=>{var S=1260*1e3,D=2500;function P(o,t="_blank",i=582,e=670){let s=window.screenLeft??0,n=window.screenTop??0,a=window.innerWidth||document.documentElement.clientWidth||window.screen.width,r=window.innerHeight||document.documentElement.clientHeight||window.screen.height,c=a/2-i/2+s,u=r/2-e/2+n,l=window.open(o,t,`scrollbars=no, width=${i}, height=${e}, top=${u}, left=${c}`);return l?.focus(),l}function j(o){let t=m.findOAuthInfo(o.url),{locale:i="en",expiration:e=S}=t??{},s=new URLSearchParams({locale:i,client_id:"arcgisonline",response_type:"token",expiration:`${e}`,linkUserRequest:"true",showSocialLogins:"true",hideEnterpriseLogins:"false",force_login:"true",parent:window.location.origin,redirect_uri:`https://${o.portalHostname}/home/link_account_callback.html`,state:JSON.stringify({useMessage:!0})}),n=`https://${o.portalHostname}/sharing/oauth2/authorize?${s.toString()}`;P(n)}function $(o){let{config:t,token:i,clientId:e="arcgisonline",redirectToClientUri:s=!1,displaySignoutComplete:n=!1}=o,a=new URLSearchParams({display:"iframe",client_id:e,...i&&{token:i},parent:window.location.origin,redirect_uri:`${t.baseUrl}signout_callback.html`,state:JSON.stringify({signout:!0,origin:window.location.origin,redirectToClientUri:s,displaySignoutComplete:n})}),r=`${t.restBaseUrl}oauth2/signout?${a.toString()}`,c=document.createElement("iframe");c.src=r,c.style.display="none",document.body.appendChild(c)}function q(o,t,i){let e=g(o.orgUrlKey,t),s=m.findOAuthInfo(e),{appId:n,locale:a="en",expiration:r=S}=s??{},c=U(o.provider),u=new URLSearchParams({locale:a,client_id:i??n??"arcgisonline",response_type:"token",expiration:`${r}`,parent:window.location.origin,...c==="social"&&{socialLoginProviderName:o.provider},...c==="default"&&{prepopulatedusername:o.username},force_login:"true",redirect_uri:`${e}/home/sign_in_callback.html`,state:JSON.stringify({user:o.username,server:e,portalUrl:e,origin:window.location.origin})}),l=`${b(o,t)}?${u.toString()}`;P(l)}function z({accounts:o,clientId:t="arcgisonline",usersToFilter:i=[],accountsToFilter:e=""}){let s={};return o.reduce((n,a)=>{let r={disabled:a.disabled??!1,allowed:a.clientAppAccessAllowed??!0};return n[a.username]=r,(i.includes(a.username)||i.includes(a.username.toLowerCase())||e==="org"&&a.orgUrlKey||t==="esriapps"&&a.userType!=="both")&&(r.allowed=!1),n},s),s}function F({account:o,credential:t,client_id:i,portal:e}){let s=U(o.provider),n=b(o,e),a=B(o,e),r=new URLSearchParams({client_id:i,redirect_uri:a,parent:window.location.origin,response_type:"token",force_login:"false",...t.userId&&{prepopulatedusername:t.userId},...s==="social"&&{socialLoginProviderName:o.provider},expiration:`${(t?.expires??Date.now()+S)-Date.now()}`});return`${n}?${r.toString()}`}function U(o){return G(o)?"social":o==="enterprise"?"enterprise":o.includes("oidc")?"oidc":"default"}function G(o){return["apple","facebook","github","google"].includes(o)}function b(o,t){let i=g(o.orgUrlKey,t).toLowerCase(),e=U(o.provider),s="";switch(e){case"social":s="social/";break;case"enterprise":s="saml/";break;case"oidc":s=`oidc/${o.provider.split("_")[1]}/`;break}return`${i}/sharing/rest/oauth2/${s}authorize`}function g(o,t){return o?.startsWith("https://")?o:o&&t.customBaseUrl?`https://${o}.${t.customBaseUrl}`:`https://${t.portalHostname}`}function B(o,t){return`${g(o.orgUrlKey,t)}/home/accountswitcher-callback.html`}function Q(o,t){return m.findCredential(g(o.orgUrlKey,t),o.username)}function V(o,t){let i=Q(o,t);if(i)return i;let e=g(o.orgUrlKey,t),s=`${e}/home/check_sign_in_status.html#state=${JSON.stringify({origin:window.location.origin,server:e,orgKey:e})}`;Y(s,`iframe__for-${e}`)}function Y(o,t){let i=document.createElement("iframe");i.src=o,i.id=t,i.style.display="none",document.body.appendChild(i)}var A=100,y=class extends v{constructor(){super(),this.messages=H({blocking:!0}),this.targetUser="",this.targetToken="",this.accountAccess={},this.remainingSignouts=0,this.signoutHandle=0,this.linkedAccounts=[],this.loading=!1,this.signedInStatus={},this.showAssociatedAccountsWarning=!1,this.signedInAccounts=[],this.clientId="arcgisonline",this.signout=!1,this.signoutOptions={redirectToClientUri:!1,displaySignoutComplete:!1},this.arcgisAccountSwitch=w(),this.arcgisClose=w(),this.arcgisSignoutComplete=w(),this.listenOn(window,"message",this.handleMessageEvent)}static{this.properties={linkedAccounts:16,userAccounts:16,user:16,credential:16,alertOptions:16,loading:16,signedInStatus:16,showAssociatedAccountsWarning:16,signedInAccounts:16,portal:0,clientId:1,signout:5,signoutOptions:0}}static{this.styles=x}willUpdate(t){if(t.has("portal")&&(this.user=this.portal?.user),(t.has("portal")||t.has("user"))&&this.portal&&this.user){this.findLinkedUsers();return}if(t.has("linkedAccounts")||t.has("signedInStatus")){if(this.signout){let{signedInStatus:i,linkedAccounts:e,portal:s,signoutOptions:n,clientId:a}=this,r=Object.keys(i).filter(p=>i[p]!==null).map(p=>e.find(k=>k.username===p));this.remainingSignouts=r.length+1;let c=g(s.urlKey??"",s),u=`${c}/sharing/rest`,{displaySignoutComplete:l=!0,redirectToClientUri:h=!0}=n;r.length>0&&(l=!1,h=!1),this.loading=!0,$({displaySignoutComplete:l,redirectToClientUri:h,clientId:a,config:{baseUrl:c,restBaseUrl:u}}),this.signoutHandle=window.setTimeout(()=>{this.remainingSignouts-=1,this.finishSignout({accountOrigin:c,redirectToClientUri:h,displaySignoutComplete:l})},D)}return}}handleMessageEvent(t){if(new URL(t.origin).hostname!=="localhost"&&(t.origin.endsWith(".arcgis.com")||t.origin===window.location.origin)){if(typeof t.data=="string"){JSON.parse(t.data).type==="token_exchange"&&this.handleExchangeTokenMessage(t);return}if("type"in t.data)switch(t.data.type){case"signin":this.handleSigninMessage(t);return;case"signout":this.handleSignoutMessage(t);return;case"linkUser":this.handleLinkUserMessage(t);return;case"token_exchange":this.handleExchangeTokenMessage(t);return}if("credential"in t.data){this.handleSigninMessage(t);return}this.handleCheckSignInStatusMessage(t)}}handleSignoutMessage(t){let{error:i,signout:e,accountOrigin:s,redirectToClientUri:n,displaySignoutComplete:a}=t.data;if(this.remainingSignouts-=1,i&&i!=="unknown"){console.error(i),this.showAlert("danger",this.messages.errors.signout);return}e&&(this.user=void 0,this.credential=void 0,this.finishSignout({accountOrigin:s,redirectToClientUri:n,displaySignoutComplete:a}))}handleSigninMessage(t){let{messages:i,clientId:e}=this,{error:s,status:n,state:a,access_token:r,ssl:c}=t.data;if(s){console.error(s),this.showAlert("danger",i.errors.signin);return}if(n==="success"){let{portal:u,user:l}=this,h=this.linkedAccounts.find(R=>R.username===a.user);h?.orgUrlKey===this.portal.urlKey&&m.findCredential(`https://${u.portalHostname}`,l?.username)?.destroy();let p={server:a.portalUrl,userId:a.user,token:r,expires:Number(t.data.expires_in)+Date.now(),ssl:c===void 0||c!=="false"};m.registerToken(p);let k=F({account:h,credential:p,client_id:e,portal:u});window.self!==window.top?window.top?.postMessage({type:"navigate",url:k}):window.location.href=k}}handleCheckSignInStatusMessage(t){let{success:i,orgKey:e,server:s,userId:n,token:a,expires:r,ssl:c}=t.data;e&&s&&i&&n&&a&&r&&c!==void 0&&(this.signedInStatus[n]={token:a,expires:r,ssl:c})}async handleLinkUserMessage(t){let{error:i,username:e,access_token:s}=t.data,{portal:n,user:a,linkedAccounts:r,messages:c}=this;if(i){if(i.toString().toLowerCase().includes("user denied your request"))return;this.showAlert("danger",c.errors.accessAccount);return}if(e===a?.username){this.showAlert("danger",c.errors.selfLink);return}if(r.find(l=>l.username===e)){this.showAlert("danger",f(c.errors.alreadyLinked,{username:e}));return}let u=await M(n,e,s);if(u?.length){this.userAccounts=u,this.targetUser=e??"",this.targetToken=s??"",this.showAssociatedAccountsWarning=!0;return}this.linkAccount(e,s)}handleExchangeTokenMessage(t){let i=typeof t.data=="string"?JSON.parse(t.data):t.data;if(!(i.type&&i.type!=="token_exchange")){if(i.error)console.error(i);else if(i.status==="success"&&this.targetUser){let{portal:e,linkedAccounts:s,targetUser:n,clientId:a}=this,r=s.find(p=>p.username===n);if(!r)return;let c=B(r,e),u=g(r.orgUrlKey,e),l=new URLSearchParams({response_type:"token",client_id:a,redirect_uri:c,state:JSON.stringify({user:r.username,portalUrl:u})}),h=`${b(r,e)}?${l.toString()}`;window.opener?(window.opener.location.href=h,window.close()):window.location.href=h}}}finishSignout({accountOrigin:t,redirectToClientUri:i,displaySignoutComplete:e}){this.signoutHandle&&window.clearTimeout(this.signoutHandle),t===window.location.origin&&m.destroyCredentials(),console.info("Signout complete",t,i,e),this.remainingSignouts<=0&&this.arcgisSignoutComplete.emit({accountOrigin:t,redirectToClientUri:i,displaySignoutComplete:e})}async findLinkedUsers(){if(this.loading=!0,!this.portal||!this.user){this.linkedAccounts=[],this.loading=!1;return}this.linkedAccounts=await K(this.portal,this.user),this.linkedAccounts.length&&(this.signedInStatus=this.linkedAccounts.filter(t=>t.orgUrlKey!==this.portal.urlKey).reduce((t,i)=>(t[i.username]=V(i,this.portal)??null,t),{}),this.accountAccess=z({accounts:this.linkedAccounts,clientId:this.clientId})),this.loading=!1}async linkAccount(t,i){let{portal:e,user:s}=this;if(!e||!s)return;let n=await N({portal:e,user:s,targetUser:t,targetToken:i}),{messages:a}=this;if(n.error){this.showAlert("danger",f(a.errors.linkAccount,{username:t})),this.targetUser="",this.userAccounts=[];return}let r=this.userAccounts?.length?a.success.linkAccountMultiple:a.success.linkAccount;this.showAlert("success",f(r,{username:t})),this.targetUser="",this.userAccounts=[],await T(350),this.findLinkedUsers()}async unlinkAccount(t){if(!this.portal||!this.user)return;let{messages:i,portal:e,user:s}=this,{success:n}=await E({portal:e,user:s,linkedUsername:t.username});n?this.showAlert("success",f(i.success.unlinkAccount,{username:t.username})):this.showAlert("danger",f(i.errors.unlinkAccount,{username:t.username})),await this.findLinkedUsers()}startAccountLink(){j(this.portal)}switchAccount(t){let{portal:i,user:e,clientId:s}=this;if(!i||!e||!t)return;let n=g(e.sourceJSON.orgUrlKey??"",i),a=m.findCredential(n,e.id||e.username);a&&$({config:{baseUrl:n,restBaseUrl:`${n}/sharing/rest`},token:a?.token,clientId:s}),q(t,i,s)}signoutAll(t){let{portal:i,signedInStatus:e,clientId:s}=this;t.forEach(n=>{let a=g(n.orgUrlKey,i),r=`${a}/sharing/rest`,c=e[n.username];$({config:{baseUrl:a,restBaseUrl:r},token:c?.token,clientId:s})})}showAlert(t,i,e){this.alertOptions={kind:t,title:e,message:i}}showUnlinkConfirmation(t){let{messages:i}=this;this.alertOptions={kind:"danger",icon:"exclamation-mark-triangle-f",title:i.unlinkTitle,message:i.unlinkWarning,actions:[{text:i.unlink,kind:"danger",clickHandler:()=>{this.alertOptions=void 0,this.unlinkAccount(t)}}]}}render(){let{linkedAccounts:t,accountAccess:i,user:e,portal:s,messages:n,signout:a}=this;if(!s||!e)return null;if(a){let{signedInAccounts:r}=this;return r.length===0?d`<calcite-loader .label=${n.signingOut} .text=${n.signingOut}></calcite-loader>`:d`<arcgis-portal-account-switcher-signout .portal=${s} .signedInAccounts=${r} @arcgisSwitchAccount=${c=>{this.switchAccount(c.detail.account)}} @arcgisSignOutAll=${()=>{this.signoutAll(r)}}></arcgis-portal-account-switcher-signout>`}return d`<calcite-dialog .heading=${n.switchAccounts} heading-level=2 scale=m width=s open modal .loading=${this.loading} outside-close-disabled @calciteDialogClose=${()=>{this.arcgisClose.emit()}}><calcite-block .heading=${n.currentAccount} heading-level=3 .description=${n.signedInAs} expanded class="current-account-block" tabindex=-1>${L(e.id??e.username,d`<calcite-block class="current-account" .label=${s.urlKey?`${e.username}, ${s.name}`:e.username} heading-level=4 .heading=${e.username} .description=${s.urlKey?`${e.fullName??e.username}, ${s.name}`:e.fullName??e.username}><calcite-avatar slot=content-start inert .fullName=${e.fullName??void 0} .username=${e.username} .userId=${e.id} .thumbnail=${J(e,s)??void 0}></calcite-avatar></calcite-block>`)}</calcite-block>${t.length>0?d`<calcite-block .heading=${n.linkedAccounts} heading-level=3 .description=${n.linkedAccountActions} expanded class="linked-accounts-block"><calcite-button slot=content-end icon-start=plus class="link-account-button" @click=${()=>this.startAccountLink()} .disabled=${t.length>=A}>${n.addAccount}</calcite-button><arcgis-portal-account-switcher-list .portal=${s} .linkedAccounts=${t} .accountAccess=${i} .signedInUsers=${Object.keys(this.signedInStatus).filter(r=>this.signedInStatus[r]!==null)} interactive @arcgisAccountSwitch=${r=>{this.switchAccount(r.detail.account)}} @arcgisAccountUnlink=${r=>{this.showUnlinkConfirmation(r.detail.account)}}></arcgis-portal-account-switcher-list></calcite-block>`:d`<calcite-block .heading=${n.linkedAccounts} heading-level=3 expanded class="empty-accounts-block"><div class="empty-accounts-info"><svg class="empty-accounts-icon" width=48 height=48 viewBox="0 0 48 48" fill=none xmlns=http://www.w3.org/2000/svg>${C`<path d=${W.couple??O} fill=currentColor />`}</svg><h4>${n.emptyListTitle}</h4><p>${n.emptyList}</p><calcite-button icon-start=plus class="link-account-button" @click=${()=>this.startAccountLink()} .disabled=${t.length>=A}>${n.linkAccount}</calcite-button></div></calcite-block>`}<calcite-notice kind=info .open=${t.length>=A}><div slot=message>${n.maxAccounts}</div></calcite-notice><calcite-alert .label=${n.alertLabel} slot=alerts .autoClose=${this.alertOptions?.kind!=="danger"} auto-close-duration=fast placement=bottom .kind=${this.alertOptions?.kind} .icon=${this.alertOptions?.icon} .open=${!!this.alertOptions} @calciteAlertClose=${()=>{this.alertOptions=void 0}}>${this.alertOptions?.title&&d`<h4 slot=title class="alert-title">${this.alertOptions.title}</h4>`||""}${this.alertOptions?.message&&d`<p slot=message class=${I({"alert-message":!0,"short-message":!!this.alertOptions?.actions?.length})}>${this.alertOptions.message}</p>`||""}${this.alertOptions?.actions?.map(r=>d`<calcite-button slot=actions-end .kind=${r.kind} .appearance=${r.appearance} @click=${r.clickHandler}>${r.text}</calcite-button>`)}</calcite-alert></calcite-dialog>${this.showAssociatedAccountsWarning&&d`<arcgis-portal-account-switcher-accounts .portal=${s} .targetUser=${this.targetUser} .accounts=${this.userAccounts??[]} @arcgisLinkAll=${()=>{this.linkAccount(this.targetUser,this.targetToken)}} @arcgisCloseDialog=${()=>{this.showAssociatedAccountsWarning=!1}}></arcgis-portal-account-switcher-accounts>`||""}`}};_("arcgis-portal-account-switcher",y);return y},"identity/IdentityManager","intl",a,b,c)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a as r}from"./H4TRF2G7.js";import{a as n}from"./NDHD5H3P.js";import"./5IEUHTZ7.js";import"./7NZ3RJFV.js";import{K as s,L as c,M as o,T as l,j as a,w as e}from"./N5KMTTYL.js";import"./UZLQALHY.js";export default $arcgis.t(([{substitute:p}])=>{var i=class extends o{constructor(){super(...arguments),this.messages=n({blocking:!0,name:"portal-account-switcher"}),this.dialogRef=s(),this.accounts=[],this.arcgisLinkAll=e(),this.arcgisCloseDialog=e()}static{this.properties={portal:0,targetUser:1,accounts:0}}static{this.styles=r}render(){let{messages:t,portal:g,accounts:u,targetUser:m}=this;return a`<calcite-dialog open modal width=s .heading=${t.linkTitle} heading-level=2 outside-close-disabled @calciteDialogClose=${()=>this.arcgisCloseDialog.emit()} ${c(this.dialogRef)}><calcite-block .heading=${p(t.linkWarning,{targetUser:m})} expanded class="linked-accounts-block"><arcgis-portal-account-switcher-list .portal=${g} .linkedAccounts=${u}></arcgis-portal-account-switcher-list></calcite-block><calcite-button slot=footer-end appearance=outline @click=${()=>{this.dialogRef.value.open=!1}}>${t.cancel}</calcite-button><calcite-button slot=footer-end kind=brand @click=${()=>{this.arcgisLinkAll.emit(),this.dialogRef.value.open=!1}}>${t.linkAll}</calcite-button></calcite-dialog>`}};l("arcgis-portal-account-switcher-accounts",i);return i},"intl")
package/dist/cdn/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{A as e,S as r}from"./N5KMTTYL.js";import"./UZLQALHY.js";var a=e(r,{"arcgis-portal-account-switcher":[()=>import("./PUYQ5NCE.js"),"clientId,messages:,portal:,signout,signoutOptions:"],"arcgis-portal-account-switcher-accounts":[()=>import("./7WLW7D3K.js"),"accounts:,messages:,portal:,targetUser"],"arcgis-portal-account-switcher-list":[()=>import("./Z44L4BKR.js"),"accountAccess:,actions:,interactive,linkedAccounts:,messages:,portal:,signedInUsers:"],"arcgis-portal-account-switcher-signout":[()=>import("./64NRJZKN.js"),"messages:,portal:,signedInAccounts:"],"arcgis-portal-add-gps-metadata":[()=>import("./RCL4QILW.js"),"item:,itemId,messages:,portal:"],"arcgis-portal-ai-assistant":[()=>import("./PO7ZCHRK.js"),"autoDestroyDisabled,config:,defaultClosed,disabledAgents:,navigationCapabilities:,navigationTargetMap:,portal:,t9n:,useProdDocAssistant,user:"],"arcgis-portal-ai-assistant-interrupt":[()=>import("./3RGCV53N.js"),"_messages:,message,options:,type"],"arcgis-portal-browser":[()=>import("./CYKO4OWB.js"),"_messages:,alwaysShowContent,alwaysShowPagination,alwaysShowSelection,formFactor,height,hideContentTop,hideFilters,hideTopBar,loading,panel,preview,rangeFormatter:,response:,searchTerm,selected:,showPreSearch,store:;scrollToTop"],"arcgis-portal-browser-actions":[()=>import("./TF3F2YJ6.js"),"_messages:,actions:,selection:;restoreFocus"],"arcgis-portal-browser-filter-status":[()=>import("./465E43FF.js"),"_messages:,browserWidth,componentWidth,filters:,hiddenFilterIds:"],"arcgis-portal-browser-pagination":[()=>import("./LGH7L7V7.js"),"_messages:,num,start,store:,total;nextPage"],"arcgis-portal-browser-search":[()=>import("./JY3SJARH.js"),"_messages:,allowClear,placeholder,store:,term;setFocus"],"arcgis-portal-browser-sort":[()=>import("./QTDRRCS2.js"),"_messages:,appearance,field,options:,order,showText,useDeleted"],"arcgis-portal-browser-top-bar":[()=>import("./5EQB676K.js"),"_messages:,filtersDisabled,store:"],"arcgis-portal-browser-view":[()=>import("./GF5VTB77.js"),"options:,store:,view,viewText"],"arcgis-portal-classification-banner":[()=>import("./3DERJDIC.js"),"autoDestroyDisabled,messages:,missingExistingClassification,portalItem:,validationErrors,variant;destroy"],"arcgis-portal-classification-config":[()=>import("./E2K7UOTV.js"),"autoDestroyDisabled,messages:,portalItem:,status,valid,values;destroy,resetForm,validateForm"],"arcgis-portal-classification-favorite":[()=>import("./ZRPU3E6I.js"),"attributeExpressionResults:,classificationValue:,favoriteClassifications:,messages:,portalItem:,resetFavoriteClassification:,selectedFavoriteClassificationName,updateClassificationData:"],"arcgis-portal-classification-form-element":[()=>import("./GMLGEIYS.js"),"attribute:,attributeKey,isRequiredErrors:,messages:,renderingInfo:,value:"],"arcgis-portal-extent-picker":[()=>import("./LDY4QCZH.js"),"active,contentOnly,extentService,extentValue:,isArea,itemId,messages:,portal:;;getExtent"],"arcgis-portal-extent-picker-coord-field":[()=>import("./HKJ5QP62.js"),"errorMessage,inputId,label,max,min,relatedErrorMessage,validateRelated:,value;;checkRelatedField,isValid,setFocus"],"arcgis-portal-field-delete":[()=>import("./XCFRL5XT.js"),"config:,fieldNames:,layer:,mapView:,messages:,options:"],"arcgis-portal-group-badges":[()=>import("./7ZCKR7TW.js"),"_messages:,appearance,empty,group:,portal:,scale,showTooltips,width"],"arcgis-portal-group-browser":[()=>import("./BN4SKTLG.js"),"_browserMessages:,_messages:,alwaysShowSelection,cards:,fetch:,filters:,formFactor,hasIndoorsSpaces,height,hidePreviewBadges,hidePreviewFooter,hideTopBar,loading,messageOverrides:,num,portal:,preflight:,preview,q,searchParamInteraction:,searchTerm,searchUser,selected:,selection,sort:,store:,view;clearFilters,refresh"],"arcgis-portal-group-browser-card":[()=>import("./CK2D7FWY.js"),"browser:,cardProps:,group:;restoreFocus"],"arcgis-portal-group-browser-preview":[()=>import("./SXE3WUK6.js"),"currentResponse:,group:,hideBadges,hidePreviewFooter,messages:,portal:,previewFooterActionsSpaced,user:;setFocus"],"arcgis-portal-group-browser-preview-card":[()=>import("./WKFQOWXJ.js"),"baseUrl,hideItemType,hideOwner,hideThumbnail,interactive,item:,link,newTab,portal:,showBadges,showDateUpdated,showOwnerPopup,showSummary,user:;restoreFocus"],"arcgis-portal-group-card":[()=>import("./2HI6C3VG.js"),"disabled,group:,hideBadges,hideDateUpdated,hideOwner,hideViewableBy,indeterminate,link,linkHandler:,messages:,name,newTab,portal:,preview,previewed,selected,selection,showDateCreated,showSummary,user:,view;restoreFocus"],"arcgis-portal-group-thumbnail":[()=>import("./FQCG2EFI.js"),"group:,portal:,scale,tooltip"],"arcgis-portal-info-banner":[()=>import("./M5VLXVNQ.js"),"config:,position"],"arcgis-portal-item-actions":[()=>import("./IE57HB42.js"),"actions:,item:,keyHandler:,label,messages:,portal:,previewText,showFavorite,showPreview,tabIndexOverride,user:;setFocus"],"arcgis-portal-item-badges":[()=>import("./6L5QFCR6.js"),"appearance,empty,item:,portal:,scale,showTooltips,useProduction,user:,width"],"arcgis-portal-item-badge":[()=>import("./WIU3MYUE.js"),"_messages:,appearance,badgeType,item:,portal:,scale,showTooltip,useProduction,user:,width"],"arcgis-portal-item-card":[()=>import("./P5T4PK6A.js"),"actions:,disabled,disableSelection,hideActionsStart,item:,link,linkHandler:,messages:,name,newTab,portal:,preview,previewed,recycleBin,selected,selection,showAccess,showBadges,showBadgeTooltips,showDateUpdated,showFavorite,showFavoriteInActionsMenu,showItemType,showItemTypeHosted,showOwner,showSummary,showThumbnail,user:,userPopupZIndex,view;restoreFocus"],"arcgis-portal-item-favorite":[()=>import("./6XW2ZF24.js"),"iconOnly,item:,messages:,portal:,scale,showTooltip,user:,width;setFocus"],"arcgis-portal-item-thumbnail":[()=>import("./BQLZPSWJ.js"),"cacheString,generate,item:,portal:,serviceInfo:,useProduction,user:;generateThumbnail"],"arcgis-portal-item-type":[()=>import("./C5SWAPH7.js"),"ellipsis,hideIcon,hideText,item:,messages:,portal:,scale,serviceInfo:,showHosted,user:"],"arcgis-portal-mentionable-text-area":[()=>import("./5HVUPXCG.js"),"disabled,maxLength,placeholder,popoverListLabel,popoverPlacement,portal:,readOnly,rows,scale,starters:,user:,value;closePopover,focusTextArea,selectItem"],"arcgis-portal-navigation":[()=>import("./7LIVNXCJ.js"),"clientId,currentPathname,disableNotebookServer,disableTrackViewer,maxWidth,messages:,portal:,portalItem:,product,productHref,projectMenuIcon,projectMenuOptions:,projectMenuSaveIndicator,projectTitle,projectTitleSave:"],"arcgis-portal-replacement-item-redirect":[()=>import("./GXOORXRU.js"),"itemId,messages:,portal:,user:;setFocus"],"arcgis-portal-sublayer-type":[()=>import("./5UU2W2M6.js"),"geometry,hideIcon,hideName,hideType,messages:,name,renderer:,scale,type,underline"],"arcgis-portal-user-avatar":[()=>import("./VU5VTC5L.js"),"checkOnline,description,heading,hideAvatar,messages:,portal:,scale,showName,underline,user:,username,wrap"],"arcgis-portal-user-popup":[()=>import("./JEOHKIHK.js"),"appearance,avatarAriaHidden,baseUrl,checkOnline,fullName,item:,messages:,portal:,scale,showAvatar,showName,showUsername,underline,user:,username,wrap,zIndex;openPopup,setFocus"],"arcgis-portal-voice-input":[()=>import("./X2YH4HME.js"),"language;clearText,startListening,stopListening"]});a({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync("@layer{:not([hydrated]):is(arcgis-portal-account-switcher,arcgis-portal-account-switcher-accounts,arcgis-portal-account-switcher-list,arcgis-portal-account-switcher-signout,arcgis-portal-add-gps-metadata,arcgis-portal-ai-assistant,arcgis-portal-ai-assistant-interrupt,arcgis-portal-browser,arcgis-portal-browser-actions,arcgis-portal-browser-filter-status,arcgis-portal-browser-pagination,arcgis-portal-browser-search,arcgis-portal-browser-sort,arcgis-portal-browser-top-bar,arcgis-portal-browser-view,arcgis-portal-classification-banner,arcgis-portal-classification-config,arcgis-portal-classification-favorite,arcgis-portal-classification-form-element,arcgis-portal-extent-picker,arcgis-portal-field-delete,arcgis-portal-group-badges,arcgis-portal-group-browser,arcgis-portal-group-browser-card,arcgis-portal-group-browser-preview,arcgis-portal-group-browser-preview-card,arcgis-portal-group-card,arcgis-portal-group-thumbnail,arcgis-portal-info-banner,arcgis-portal-item-actions,arcgis-portal-item-badges,arcgis-portal-item-badge,arcgis-portal-item-card,arcgis-portal-item-favorite,arcgis-portal-item-thumbnail,arcgis-portal-item-type,arcgis-portal-mentionable-text-area,arcgis-portal-navigation,arcgis-portal-replacement-item-redirect,arcgis-portal-sublayer-type,arcgis-portal-user-avatar,arcgis-portal-user-popup,arcgis-portal-voice-input){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,r)
2
+ import{A as e,S as r}from"./N5KMTTYL.js";import"./UZLQALHY.js";var a=e(r,{"arcgis-portal-account-switcher":[()=>import("./H2BBKRIY.js"),"clientId,messages:,portal:,signout,signoutOptions:"],"arcgis-portal-account-switcher-accounts":[()=>import("./L4YVQHX3.js"),"accounts:,messages:,portal:,targetUser"],"arcgis-portal-account-switcher-list":[()=>import("./Z44L4BKR.js"),"accountAccess:,actions:,interactive,linkedAccounts:,messages:,portal:,signedInUsers:"],"arcgis-portal-account-switcher-signout":[()=>import("./64NRJZKN.js"),"messages:,portal:,signedInAccounts:"],"arcgis-portal-add-gps-metadata":[()=>import("./RCL4QILW.js"),"item:,itemId,messages:,portal:"],"arcgis-portal-ai-assistant":[()=>import("./PO7ZCHRK.js"),"autoDestroyDisabled,config:,defaultClosed,disabledAgents:,navigationCapabilities:,navigationTargetMap:,portal:,t9n:,useProdDocAssistant,user:"],"arcgis-portal-ai-assistant-interrupt":[()=>import("./3RGCV53N.js"),"_messages:,message,options:,type"],"arcgis-portal-browser":[()=>import("./CYKO4OWB.js"),"_messages:,alwaysShowContent,alwaysShowPagination,alwaysShowSelection,formFactor,height,hideContentTop,hideFilters,hideTopBar,loading,panel,preview,rangeFormatter:,response:,searchTerm,selected:,showPreSearch,store:;scrollToTop"],"arcgis-portal-browser-actions":[()=>import("./TF3F2YJ6.js"),"_messages:,actions:,selection:;restoreFocus"],"arcgis-portal-browser-filter-status":[()=>import("./465E43FF.js"),"_messages:,browserWidth,componentWidth,filters:,hiddenFilterIds:"],"arcgis-portal-browser-pagination":[()=>import("./LGH7L7V7.js"),"_messages:,num,start,store:,total;nextPage"],"arcgis-portal-browser-search":[()=>import("./JY3SJARH.js"),"_messages:,allowClear,placeholder,store:,term;setFocus"],"arcgis-portal-browser-sort":[()=>import("./QTDRRCS2.js"),"_messages:,appearance,field,options:,order,showText,useDeleted"],"arcgis-portal-browser-top-bar":[()=>import("./5EQB676K.js"),"_messages:,filtersDisabled,store:"],"arcgis-portal-browser-view":[()=>import("./GF5VTB77.js"),"options:,store:,view,viewText"],"arcgis-portal-classification-banner":[()=>import("./3DERJDIC.js"),"autoDestroyDisabled,messages:,missingExistingClassification,portalItem:,validationErrors,variant;destroy"],"arcgis-portal-classification-config":[()=>import("./E2K7UOTV.js"),"autoDestroyDisabled,messages:,portalItem:,status,valid,values;destroy,resetForm,validateForm"],"arcgis-portal-classification-favorite":[()=>import("./ZRPU3E6I.js"),"attributeExpressionResults:,classificationValue:,favoriteClassifications:,messages:,portalItem:,resetFavoriteClassification:,selectedFavoriteClassificationName,updateClassificationData:"],"arcgis-portal-classification-form-element":[()=>import("./GMLGEIYS.js"),"attribute:,attributeKey,isRequiredErrors:,messages:,renderingInfo:,value:"],"arcgis-portal-extent-picker":[()=>import("./LDY4QCZH.js"),"active,contentOnly,extentService,extentValue:,isArea,itemId,messages:,portal:;;getExtent"],"arcgis-portal-extent-picker-coord-field":[()=>import("./HKJ5QP62.js"),"errorMessage,inputId,label,max,min,relatedErrorMessage,validateRelated:,value;;checkRelatedField,isValid,setFocus"],"arcgis-portal-field-delete":[()=>import("./XCFRL5XT.js"),"config:,fieldNames:,layer:,mapView:,messages:,options:"],"arcgis-portal-group-badges":[()=>import("./7ZCKR7TW.js"),"_messages:,appearance,empty,group:,portal:,scale,showTooltips,width"],"arcgis-portal-group-browser":[()=>import("./BN4SKTLG.js"),"_browserMessages:,_messages:,alwaysShowSelection,cards:,fetch:,filters:,formFactor,hasIndoorsSpaces,height,hidePreviewBadges,hidePreviewFooter,hideTopBar,loading,messageOverrides:,num,portal:,preflight:,preview,q,searchParamInteraction:,searchTerm,searchUser,selected:,selection,sort:,store:,view;clearFilters,refresh"],"arcgis-portal-group-browser-card":[()=>import("./CK2D7FWY.js"),"browser:,cardProps:,group:;restoreFocus"],"arcgis-portal-group-browser-preview":[()=>import("./SXE3WUK6.js"),"currentResponse:,group:,hideBadges,hidePreviewFooter,messages:,portal:,previewFooterActionsSpaced,user:;setFocus"],"arcgis-portal-group-browser-preview-card":[()=>import("./WKFQOWXJ.js"),"baseUrl,hideItemType,hideOwner,hideThumbnail,interactive,item:,link,newTab,portal:,showBadges,showDateUpdated,showOwnerPopup,showSummary,user:;restoreFocus"],"arcgis-portal-group-card":[()=>import("./2HI6C3VG.js"),"disabled,group:,hideBadges,hideDateUpdated,hideOwner,hideViewableBy,indeterminate,link,linkHandler:,messages:,name,newTab,portal:,preview,previewed,selected,selection,showDateCreated,showSummary,user:,view;restoreFocus"],"arcgis-portal-group-thumbnail":[()=>import("./FQCG2EFI.js"),"group:,portal:,scale,tooltip"],"arcgis-portal-info-banner":[()=>import("./M5VLXVNQ.js"),"config:,position"],"arcgis-portal-item-actions":[()=>import("./IE57HB42.js"),"actions:,item:,keyHandler:,label,messages:,portal:,previewText,showFavorite,showPreview,tabIndexOverride,user:;setFocus"],"arcgis-portal-item-badges":[()=>import("./6L5QFCR6.js"),"appearance,empty,item:,portal:,scale,showTooltips,useProduction,user:,width"],"arcgis-portal-item-badge":[()=>import("./WIU3MYUE.js"),"_messages:,appearance,badgeType,item:,portal:,scale,showTooltip,useProduction,user:,width"],"arcgis-portal-item-card":[()=>import("./P5T4PK6A.js"),"actions:,disabled,disableSelection,hideActionsStart,item:,link,linkHandler:,messages:,name,newTab,portal:,preview,previewed,recycleBin,selected,selection,showAccess,showBadges,showBadgeTooltips,showDateUpdated,showFavorite,showFavoriteInActionsMenu,showItemType,showItemTypeHosted,showOwner,showSummary,showThumbnail,user:,userPopupZIndex,view;restoreFocus"],"arcgis-portal-item-favorite":[()=>import("./6XW2ZF24.js"),"iconOnly,item:,messages:,portal:,scale,showTooltip,user:,width;setFocus"],"arcgis-portal-item-thumbnail":[()=>import("./BQLZPSWJ.js"),"cacheString,generate,item:,portal:,serviceInfo:,useProduction,user:;generateThumbnail"],"arcgis-portal-item-type":[()=>import("./C5SWAPH7.js"),"ellipsis,hideIcon,hideText,item:,messages:,portal:,scale,serviceInfo:,showHosted,user:"],"arcgis-portal-mentionable-text-area":[()=>import("./5HVUPXCG.js"),"disabled,maxLength,placeholder,popoverListLabel,popoverPlacement,portal:,readOnly,rows,scale,starters:,user:,value;closePopover,focusTextArea,selectItem"],"arcgis-portal-navigation":[()=>import("./7LIVNXCJ.js"),"clientId,currentPathname,disableNotebookServer,disableTrackViewer,maxWidth,messages:,portal:,portalItem:,product,productHref,projectMenuIcon,projectMenuOptions:,projectMenuSaveIndicator,projectTitle,projectTitleSave:"],"arcgis-portal-replacement-item-redirect":[()=>import("./GXOORXRU.js"),"itemId,messages:,portal:,user:;setFocus"],"arcgis-portal-sublayer-type":[()=>import("./5UU2W2M6.js"),"geometry,hideIcon,hideName,hideType,messages:,name,renderer:,scale,type,underline"],"arcgis-portal-user-avatar":[()=>import("./VU5VTC5L.js"),"checkOnline,description,heading,hideAvatar,messages:,portal:,scale,showName,underline,user:,username,wrap"],"arcgis-portal-user-popup":[()=>import("./JEOHKIHK.js"),"appearance,avatarAriaHidden,baseUrl,checkOnline,fullName,item:,messages:,portal:,scale,showAvatar,showName,showUsername,underline,user:,username,wrap,zIndex;openPopup,setFocus"],"arcgis-portal-voice-input":[()=>import("./X2YH4HME.js"),"language;clearText,startListening,stopListening"]});a({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync("@layer{:not([hydrated]):is(arcgis-portal-account-switcher,arcgis-portal-account-switcher-accounts,arcgis-portal-account-switcher-list,arcgis-portal-account-switcher-signout,arcgis-portal-add-gps-metadata,arcgis-portal-ai-assistant,arcgis-portal-ai-assistant-interrupt,arcgis-portal-browser,arcgis-portal-browser-actions,arcgis-portal-browser-filter-status,arcgis-portal-browser-pagination,arcgis-portal-browser-search,arcgis-portal-browser-sort,arcgis-portal-browser-top-bar,arcgis-portal-browser-view,arcgis-portal-classification-banner,arcgis-portal-classification-config,arcgis-portal-classification-favorite,arcgis-portal-classification-form-element,arcgis-portal-extent-picker,arcgis-portal-field-delete,arcgis-portal-group-badges,arcgis-portal-group-browser,arcgis-portal-group-browser-card,arcgis-portal-group-browser-preview,arcgis-portal-group-browser-preview-card,arcgis-portal-group-card,arcgis-portal-group-thumbnail,arcgis-portal-info-banner,arcgis-portal-item-actions,arcgis-portal-item-badges,arcgis-portal-item-badge,arcgis-portal-item-card,arcgis-portal-item-favorite,arcgis-portal-item-thumbnail,arcgis-portal-item-type,arcgis-portal-mentionable-text-area,arcgis-portal-navigation,arcgis-portal-replacement-item-redirect,arcgis-portal-sublayer-type,arcgis-portal-user-avatar,arcgis-portal-user-popup,arcgis-portal-voice-input){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,r)