/*! All material copyright GeoScene, All Rights Reserved, unless otherwise specified.
See https://js.geoscene.cn/4.33/geoscene/copyright.txt for details.
v4.33.18 */
import{E as n,P as o,U as l,k as i}from"./3VKC6PRK.js";export default $geoscene.t(([{watch:d}])=>{var s=class extends o{static{this.properties={viewModel:0}}static{this.shadowRootOptions=n}loaded(){this.manager.onLifecycle(()=>[d(()=>this.viewModel.templateOptions.customTextElements,()=>this.requestUpdate(),{initial:!0})])}render(){let e=this.viewModel.templateOptions.customTextElements;return e?i`<div>${e.map(c=>{let[t,r]=Object.entries(c)[0];return t==="date"?null:i`<calcite-label>${t}<calcite-input .value=${r??""} @calciteInputInput=${m=>{let a=e.find(p=>{let[u]=Object.entries(p)[0];return u===t});a&&(a[t]=m.target.value)}}></calcite-input></calcite-label>`})}</div>`:null}};l("geoscene-print-custom-text-elements",s);return s},"core/reactiveUtils")