webmapgl.loadBundle("fadapan6",["exports","./chunk-b06c5cf8.js","./chunk-2cb95155.js"],function(t,e,r){var n=window.webmapgl.h,i=function(){function t(){this.options=[],this.header=e._t("webmapgl.attribute-values.header"),this.limit=1,this.valueMaxWidth="200px"}return t.prototype.componentWillLoad=function(){this.parseAttributeOptions()},t.prototype.parseAttributeOptions=function(){this.options="string"==typeof this.attributeOptions?JSON.parse(this.attributeOptions):this.attributeOptions},t.prototype.getItemsForFeature=function(t,e){var r=this;return e.filter(function(e){return e.name!=r.headerAttribute&&void 0!==t.properties[e.name]}).map(function(e){return n("ion-item",null,n("ion-label",{position:r.labelPosition},e.alias||e.name),n("ion-note",{slot:"stacked"!=r.labelPosition?"end":null,"text-wrap":!0,style:{"max-width":r.valueMaxWidth}},t.properties[e.name]))})},t.prototype.generateOptions=function(t){var e=[];for(var r in t.properties)e.push({name:r});return e},t.prototype.render=function(){if(!this.features||!this.features.length)return null;for(var t=[],e=0,r=this.features.slice(0,this.limit);e<r.length;e++){var i=r[e];t.push(n("ion-item-divider",null,n("ion-label",null,this.headerAttribute?i.properties[this.headerAttribute]:this.header)));var o=this.options||this.generateOptions(i);Array.prototype.push.apply(t,this.getItemsForFeature(i,o))}return n("ion-list",null,t)},Object.defineProperty(t,"is",{get:function(){return"gl-attribute-values"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"properties",{get:function(){return{attributeOptions:{type:String,attr:"attribute-options",watchCallbacks:["parseAttributeOptions"]},el:{elementRef:!0},features:{type:"Any",attr:"features"},header:{type:String,attr:"header"},headerAttribute:{type:String,attr:"header-attribute"},labelPosition:{type:String,attr:"label-position"},limit:{type:Number,attr:"limit"},valueMaxWidth:{type:String,attr:"value-max-width"}}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"style",{get:function(){return"gl-attribute-values ion-note{font-size:14px;line-height:14px;padding-top:16px;text-align:right}"},enumerable:!0,configurable:!0}),t}(),o=function(){function t(){}return t.prototype.hostData=function(){var t;return{class:Object.assign({},r.createColorClasses(this.color),(t={},t[""+this.mode]=!0,t))}},t.prototype.render=function(){return n("slot",null)},Object.defineProperty(t,"is",{get:function(){return"ion-note"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"encapsulation",{get:function(){return"shadow"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"properties",{get:function(){return{color:{type:String,attr:"color"},mode:{type:String,attr:"mode"}}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"style",{get:function(){return".sc-ion-note-md-h{color:var(--color);font-family:var(--ion-font-family,inherit);-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-note-md-h{color:var(--ion-color-base)}.sc-ion-note-md-h{--color:var(--ion-color-step-600,#666);font-size:14px}"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"styleMode",{get:function(){return"md"},enumerable:!0,configurable:!0}),t}();t.GlAttributeValues=i,t.IonNote=o,Object.defineProperty(t,"__esModule",{value:!0})});