/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{g as O,i as w}from"./FUPYXGG6.js";import{G as P,a as x,b as y,c as h,d as u,e as b,f as E,l as f,n as C}from"./RPU6VCJ4.js";var L=e=>(...n)=>{let t=u(),o=new e(...n),r=o.exports;h(t.at(-1));let s=o.component.manager;s.W(o,r),o.watchExports(s.W.bind(s,o)),b(o);let a=[o.component,...t].reverse();return f(a,i=>i===void 0?void 0:D(o,i,r),r)},D=(e,{host:n,key:t,isReactive:o},r)=>{let s=n,a=s[t]!==e.exports,i=s[t]!==r,c=r!==e.exports;if(a&&!i&&c&&(s[t]=e.exports),n===e.component){if(o){let p=e.component.manager;i&&p.W(e,s[t]),e.onUpdate(m=>{if(m.has(t)){let g=s[t];g!==e.exports&&p.W(e,g)}})}e.O=o?void 0:t}let d=e.component.constructor.elementProperties.get(t)?.readOnly;e.watchExports(()=>{s[t]!==e.exports&&(d?E(()=>{s[t]=e.exports}):s[t]=e.exports)})};var A=e=>M(void 0,e);var v=class extends C{constructor(n,t){super(n);let o=this.exports;try{y(this.component);let r=t(this.component,this),s=this.exports!==o;if(x(r)){s||this.setProvisionalExports(r);let a=r.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this.P.reject(i)});this.onLoad(async()=>await a)}else(!s||r!==void 0)&&(this.exports=r),queueMicrotask(()=>super.catchUpLifecycle())}catch(r){this.P.reject(r)}}catchUpLifecycle(){}},M=L(v);var _=e=>(n={})=>A((t,o)=>{let r=O(t.el),s={_lang:r.lang,_t9nLocale:r.t9nLocale,_loading:!0},a=t;o.onLifecycle(()=>w(t.el,()=>e("./assets"),({t9nLocale:c,t9nStrings:l,lang:d})=>{let p={...l,_lang:d,_t9nLocale:c,_loading:!1};o.exports=p;let m=l.componentLabel;typeof m=="string"&&"label"in t&&t.label==null&&(t.label??=m),i(a.messageOverrides)},n.name));let i=c=>{let l=o.exports,d=l._original??l,p=N(d,c);c&&(p._original=d),o.exports=p};return"messageOverrides"in a&&o.onUpdate(c=>{c.has("messageOverrides")&&i(a.messageOverrides)}),n.blocking?(o.setProvisionalExports(s,!1),o.ready):s}),N=(e,n)=>{if(!n)return e;let t={...e};return Object.entries(n).forEach(([o,r])=>{e[o]!==void 0&&(typeof r=="object"?t[o]=N(e[o],r):t[o]=r??e[o])}),t};var z=_(P);export{z as a};
