@arcgis/common-components 5.0.0-next.115 → 5.0.0-next.116

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.
Files changed (50) hide show
  1. package/dist/cdn/{AOYTSY5V.js → 3HBVXE57.js} +2 -2
  2. package/dist/cdn/{LYJATIGZ.js → 3I5VJL3Y.js} +2 -2
  3. package/dist/cdn/{EKBTNGNJ.js → 3KASOXXS.js} +2 -2
  4. package/dist/cdn/{WP4NYD4W.js → 4GSF7US4.js} +2 -2
  5. package/dist/cdn/{P2ZVYGFG.js → 6OSWAX5Y.js} +2 -2
  6. package/dist/cdn/{ROQXOPAS.js → 73ZLR322.js} +2 -2
  7. package/dist/cdn/{6Z4VQPIH.js → 77WFAVQF.js} +1 -1
  8. package/dist/cdn/{EZSZLYQ3.js → 7YZAGJMR.js} +1 -1
  9. package/dist/cdn/{GLDBQ4C4.js → ABHVLP4O.js} +2 -2
  10. package/dist/cdn/{HHSF5HC7.js → E3ACBLRP.js} +1 -1
  11. package/dist/cdn/{NPBOVHEX.js → GVO7O55U.js} +2 -2
  12. package/dist/cdn/{CZS5VBJT.js → PC7FNFWO.js} +2 -2
  13. package/dist/cdn/{XIDH7CJH.js → QDRYO2PB.js} +2 -2
  14. package/dist/cdn/{PWGVH2GN.js → QDZP3Z6X.js} +2 -2
  15. package/dist/cdn/{2YW4NW5M.js → S5PBGZRZ.js} +1 -1
  16. package/dist/cdn/{2WLWTNFV.js → T6OU33WW.js} +2 -2
  17. package/dist/cdn/{TPDPEUIY.js → TSVRBZXL.js} +2 -2
  18. package/dist/cdn/{PXG2UWR7.js → TYLQ5S57.js} +2 -2
  19. package/dist/cdn/{EXVLDYMU.js → UCEFBZCV.js} +2 -2
  20. package/dist/cdn/{CO6TDXJI.js → VO5QAC4F.js} +2 -2
  21. package/dist/cdn/{5JPAEVBQ.js → WLMHNCED.js} +1 -1
  22. package/dist/cdn/{E4B7FUKJ.js → WMZLZFSQ.js} +2 -2
  23. package/dist/cdn/{O53N24KV.js → YR7DYVMC.js} +2 -2
  24. package/dist/cdn/index.js +2 -2
  25. package/dist/chunks/commonEnums.js +1 -1
  26. package/dist/chunks/commonFunctions.js +1 -1
  27. package/dist/chunks/resources.js +1 -1
  28. package/dist/chunks/runtime.js +1 -1
  29. package/dist/chunks/useT9n.js +1 -1
  30. package/dist/components/arcgis-ckeditor5/customElement.js +1 -1
  31. package/dist/components/arcgis-ckeditor5-popover/customElement.js +1 -1
  32. package/dist/components/arcgis-color-input/customElement.js +1 -1
  33. package/dist/components/arcgis-field-info/customElement.js +1 -1
  34. package/dist/components/arcgis-field-pick-list/customElement.js +1 -1
  35. package/dist/components/arcgis-histogram/customElement.js +1 -1
  36. package/dist/components/arcgis-label-input/customElement.js +1 -1
  37. package/dist/components/arcgis-picker-input/customElement.js +1 -1
  38. package/dist/components/arcgis-ramp-color/customElement.js +1 -1
  39. package/dist/components/arcgis-ramp-color-break/customElement.js +1 -1
  40. package/dist/components/arcgis-ramp-opacity/customElement.js +1 -1
  41. package/dist/components/arcgis-slider/customElement.js +1 -1
  42. package/dist/components/arcgis-slider-input/customElement.js +1 -1
  43. package/dist/components/arcgis-ticks/customElement.js +1 -1
  44. package/dist/components/arcgis-unique-values-list/customElement.js +1 -1
  45. package/dist/docs/api.json +2 -2
  46. package/dist/docs/docs.json +2 -2
  47. package/dist/docs/web-types.json +1 -1
  48. package/dist/index.js +1 -1
  49. package/dist/loader.js +1 -1
  50. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.115 */
4
- import{B as x,C,E as d,H as v,g as f,i as z,j as m}from"./EZSZLYQ3.js";export default $arcgis.t(([w])=>{var M=f`:host{display:block;block-size:30px;inline-size:100%}:host([layout="vertical"]){writing-mode:vertical-lr}.hidden{display:none!important}svg{stroke-width:var(--calcite-border-width-sm);stroke:var(--calcite-color-border-input);margin:0;display:block;block-size:100%;inline-size:100%;padding:0}svg .background{fill:#e0e0e0}`,u=class{constructor(i,s,e,a){this.color=i,this.ratio=s,this.opacity=e,this.sizeRatio=a}},D=new w([0,0,0,.5]),I=class extends x{constructor(){super(...arguments),this._minSizeRatio=.2,this._rampStops=[],this._containerDimensions=[0,0],this.layout="horizontal",this.min=0,this.max=1,this.stops=[]}static{this.properties={_containerDimensions:16,layout:3,min:9,max:9,stops:0}}static{this.styles=M}willUpdate(i){if(super.willUpdate(i),i.has("min")||i.has("max")||i.has("stops")){let{stops:s,min:e,max:a}=this,r=a-e,o=s.map(n=>n.size??0),c=Math.min(...o),l=Math.max(...o)-c,t=s.map(n=>{let{color:h,value:g,size:$}=n,y=h instanceof w?h:w.fromString(h)??D,b=(g-e)/r;return new u(y.toCss(),b,y.a,$?($-c)/l:void 0)});if(t[0].ratio!==0){let{color:n,opacity:h,sizeRatio:g}=t[0];t.unshift(new u(n,0,h,g))}if(t[t.length-1].ratio!==0){let{color:n,opacity:h,sizeRatio:g}=t[t.length-1];t.push(new u(n,1,h,g))}this._rampStops=t}}loaded(){let i=new ResizeObserver(a=>{for(let r of a){let{width:o,height:c}=r.contentRect;this._containerDimensions=[o,c]}}),{width:s,height:e}=this.el.getBoundingClientRect();this._containerDimensions=[s,e],i.observe(this.el)}render(){let i=this._rampStops,[s,e]=this._containerDimensions,a=this.layout==="horizontal",r="rampFillId",o="rampBackgroundFillId",c=R(i),l=[];if(s>0&&e>0)if(c){let t=S(this.layout,s,e,i,this._minSizeRatio);l.push(m`<path fill=${`url(#${o})`} d=${t??d} />`,m`<path fill=${`url(#${r})`} d=${t??d} />`)}else l.push(m`<rect fill=${`url(#${o})`} height=100% width=100% x=0 y=0 />`,m`<rect fill=${`url(#${r})`} height=100% width=100% x=0 y=0 />`);return z`<svg xmlns=http://www.w3.org/2000/svg>${m`<defs><linearGradient id=${r} x1=0 x2=${a?1:0} y1=${a?0:1} y2=0>${i.map(({ratio:t,color:n,opacity:h})=>m`<stop offset=${`${(t*100).toFixed(2)}%`} stop-color=${n??d} stop-opacity=${h??d} />`)}</linearGradient><pattern height=15 id=${o} patternUnits=userSpaceOnUse width=15 x=0 y=0><image height=15 href=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgaGVpZ2h0PSIxNiIgd2lkdGg9IjE2Ij48cGF0aCBkPSJNMCAwIEw4IDAgTDggOCBMMCA4IFoiIGZpbGw9IiNjY2MiIC8+PHBhdGggZD0iTTAgMCBMOCAwIEw4IDggTDAgOCBaIiBmaWxsPSIjZmZmIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLDgpIiAvPjxwYXRoIGQ9Ik0wIDAgTDggMCBMOCA4IEwwIDggWiIgZmlsbD0iI2NjYyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOCw4KSIgLz48cGF0aCBkPSJNMCAwIEw4IDAgTDggOCBMMCA4IFoiIGZpbGw9IiNmZmYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDgsMCkiIC8+PC9zdmc+ width=15 x=0 y=0 /></pattern></defs><rect class=${C({background:!0})} height=100% width=100% x=0 y=0 />${l}`}</svg>`}};function R(p){return p.every(i=>i.sizeRatio!==void 0)}function S(p,i,s,e,a){let r=o=>(1-a)*o+a;if(p==="horizontal"){let o=e.map(({ratio:c,sizeRatio:l})=>{let t=c*i,n=s-r(l)*s;return`L ${t} ${n}`});return`M 0 ${s} ${o.join(" ")} L ${i} ${s} Z`}else{let o=e.map(({ratio:c,sizeRatio:l})=>{let t=s-c*s;return`L ${r(l)*i} ${t}`});return`M 0 ${s} ${o.join(" ")} L 0 0 Z`}}v("arcgis-ramp-color",I);return I},"Color")
3
+ v5.0.0-next.116 */
4
+ import{B as x,C,E as d,H as v,g as f,i as z,j as m}from"./7YZAGJMR.js";export default $arcgis.t(([w])=>{var M=f`:host{display:block;block-size:30px;inline-size:100%}:host([layout="vertical"]){writing-mode:vertical-lr}.hidden{display:none!important}svg{stroke-width:var(--calcite-border-width-sm);stroke:var(--calcite-color-border-input);margin:0;display:block;block-size:100%;inline-size:100%;padding:0}svg .background{fill:#e0e0e0}`,u=class{constructor(i,s,e,a){this.color=i,this.ratio=s,this.opacity=e,this.sizeRatio=a}},D=new w([0,0,0,.5]),I=class extends x{constructor(){super(...arguments),this._minSizeRatio=.2,this._rampStops=[],this._containerDimensions=[0,0],this.layout="horizontal",this.min=0,this.max=1,this.stops=[]}static{this.properties={_containerDimensions:16,layout:3,min:9,max:9,stops:0}}static{this.styles=M}willUpdate(i){if(super.willUpdate(i),i.has("min")||i.has("max")||i.has("stops")){let{stops:s,min:e,max:a}=this,r=a-e,o=s.map(n=>n.size??0),c=Math.min(...o),l=Math.max(...o)-c,t=s.map(n=>{let{color:h,value:g,size:$}=n,y=h instanceof w?h:w.fromString(h)??D,b=(g-e)/r;return new u(y.toCss(),b,y.a,$?($-c)/l:void 0)});if(t[0].ratio!==0){let{color:n,opacity:h,sizeRatio:g}=t[0];t.unshift(new u(n,0,h,g))}if(t[t.length-1].ratio!==0){let{color:n,opacity:h,sizeRatio:g}=t[t.length-1];t.push(new u(n,1,h,g))}this._rampStops=t}}loaded(){let i=new ResizeObserver(a=>{for(let r of a){let{width:o,height:c}=r.contentRect;this._containerDimensions=[o,c]}}),{width:s,height:e}=this.el.getBoundingClientRect();this._containerDimensions=[s,e],i.observe(this.el)}render(){let i=this._rampStops,[s,e]=this._containerDimensions,a=this.layout==="horizontal",r="rampFillId",o="rampBackgroundFillId",c=R(i),l=[];if(s>0&&e>0)if(c){let t=S(this.layout,s,e,i,this._minSizeRatio);l.push(m`<path fill=${`url(#${o})`} d=${t??d} />`,m`<path fill=${`url(#${r})`} d=${t??d} />`)}else l.push(m`<rect fill=${`url(#${o})`} height=100% width=100% x=0 y=0 />`,m`<rect fill=${`url(#${r})`} height=100% width=100% x=0 y=0 />`);return z`<svg xmlns=http://www.w3.org/2000/svg>${m`<defs><linearGradient id=${r} x1=0 x2=${a?1:0} y1=${a?0:1} y2=0>${i.map(({ratio:t,color:n,opacity:h})=>m`<stop offset=${`${(t*100).toFixed(2)}%`} stop-color=${n??d} stop-opacity=${h??d} />`)}</linearGradient><pattern height=15 id=${o} patternUnits=userSpaceOnUse width=15 x=0 y=0><image height=15 href=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgaGVpZ2h0PSIxNiIgd2lkdGg9IjE2Ij48cGF0aCBkPSJNMCAwIEw4IDAgTDggOCBMMCA4IFoiIGZpbGw9IiNjY2MiIC8+PHBhdGggZD0iTTAgMCBMOCAwIEw4IDggTDAgOCBaIiBmaWxsPSIjZmZmIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLDgpIiAvPjxwYXRoIGQ9Ik0wIDAgTDggMCBMOCA4IEwwIDggWiIgZmlsbD0iI2NjYyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOCw4KSIgLz48cGF0aCBkPSJNMCAwIEw4IDAgTDggOCBMMCA4IFoiIGZpbGw9IiNmZmYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDgsMCkiIC8+PC9zdmc+ width=15 x=0 y=0 /></pattern></defs><rect class=${C({background:!0})} height=100% width=100% x=0 y=0 />${l}`}</svg>`}};function R(p){return p.every(i=>i.sizeRatio!==void 0)}function S(p,i,s,e,a){let r=o=>(1-a)*o+a;if(p==="horizontal"){let o=e.map(({ratio:c,sizeRatio:l})=>{let t=c*i,n=s-r(l)*s;return`L ${t} ${n}`});return`M 0 ${s} ${o.join(" ")} L ${i} ${s} Z`}else{let o=e.map(({ratio:c,sizeRatio:l})=>{let t=s-c*s;return`L ${r(l)*i} ${t}`});return`M 0 ${s} ${o.join(" ")} L 0 0 Z`}}v("arcgis-ramp-color",I);return I},"Color")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.115 */
3
+ v5.0.0-next.116 */
4
4
  var e=(r=>(r.expression="expression/",r.raster="Raster.",r.relationship="relationships/",r))(e||{});export{e as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.115 */
4
- import{a as b}from"./HHSF5HC7.js";import{B as m,H as o,g as h,i as d,q as r}from"./EZSZLYQ3.js";var $=h`.container{display:flex;align-items:center;justify-content:space-between;position:relative}.slider{width:50%}.input{width:45%}`,p=class extends m{constructor(){super(...arguments),this.debouncedApplyValueOnChange=b(e=>this.applyValueOnChange(e),800),this.disabled=!1,this.flipLabels=!1,this.min=0,this.max=100,this.value=50,this.step=1,this.withSteppers=!1,this.arcgisSliderInputValueChange=r(),this.arcgisValueChange=r()}static{this.properties={disabled:5,label:1,flipLabels:5,min:9,max:9,value:9,step:9,unitsLabel:1,withSteppers:5}}static{this.styles=$}applyValueOnChange(e){let{min:i,max:a,value:n}=this,s=Number(e.value),t=i!==void 0&&a!==void 0?Math.min(a,Math.max(i,s)):s;s!==n&&(e.value=`${t}`,this.arcgisValueChange.emit(t),this.arcgisSliderInputValueChange.emit(t),this.value=t)}render(){let{disabled:e,min:i,max:a,value:n,step:s,withSteppers:t,flipLabels:c,unitsLabel:u,label:g}=this;return d`<div class="container"><calcite-slider class="slider" .disabled=${e} .min=${i} .max=${a} .value=${n} .step=${s} @calciteSliderInput=${l=>this.debouncedApplyValueOnChange(l.currentTarget)}></calcite-slider><calcite-input class="input" .disabled=${e} .min=${i} .max=${a} .numberButtonType=${t?"vertical":"none"} .prefixText=${c?u:""} @calciteInputInput=${l=>this.debouncedApplyValueOnChange(l.target)} @click=${l=>l.stopPropagation()} scale=s step=any .suffixText=${c?"":u} type=number .value=${`${n}`} .label=${g}></calcite-input></div>`}};o("arcgis-slider-input",p);export{p as ArcgisSliderInput};
3
+ v5.0.0-next.116 */
4
+ import{a as b}from"./E3ACBLRP.js";import{B as m,H as o,g as h,i as d,q as r}from"./7YZAGJMR.js";var $=h`.container{display:flex;align-items:center;justify-content:space-between;position:relative}.slider{width:50%}.input{width:45%}`,p=class extends m{constructor(){super(...arguments),this.debouncedApplyValueOnChange=b(e=>this.applyValueOnChange(e),800),this.disabled=!1,this.flipLabels=!1,this.min=0,this.max=100,this.value=50,this.step=1,this.withSteppers=!1,this.arcgisSliderInputValueChange=r(),this.arcgisValueChange=r()}static{this.properties={disabled:5,label:1,flipLabels:5,min:9,max:9,value:9,step:9,unitsLabel:1,withSteppers:5}}static{this.styles=$}applyValueOnChange(e){let{min:i,max:a,value:n}=this,s=Number(e.value),t=i!==void 0&&a!==void 0?Math.min(a,Math.max(i,s)):s;s!==n&&(e.value=`${t}`,this.arcgisValueChange.emit(t),this.arcgisSliderInputValueChange.emit(t),this.value=t)}render(){let{disabled:e,min:i,max:a,value:n,step:s,withSteppers:t,flipLabels:c,unitsLabel:u,label:g}=this;return d`<div class="container"><calcite-slider class="slider" .disabled=${e} .min=${i} .max=${a} .value=${n} .step=${s} @calciteSliderInput=${l=>this.debouncedApplyValueOnChange(l.currentTarget)}></calcite-slider><calcite-input class="input" .disabled=${e} .min=${i} .max=${a} .numberButtonType=${t?"vertical":"none"} .prefixText=${c?u:""} @calciteInputInput=${l=>this.debouncedApplyValueOnChange(l.target)} @click=${l=>l.stopPropagation()} scale=s step=any .suffixText=${c?"":u} type=number .value=${`${n}`} .label=${g}></calcite-input></div>`}};o("arcgis-slider-input",p);export{p as ArcgisSliderInput};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.115 */
4
- import{B as p,H as m,g as l,i as e}from"./EZSZLYQ3.js";export default $arcgis.t(([t])=>{var h=l`:host{display:block;block-size:30px;inline-size:100%}:host([layout="vertical"]){writing-mode:vertical-lr}arcgis-ramp-color{block-size:inherit;inline-size:inherit}`,c=new t([0,121,193]),o=class extends p{constructor(){super(...arguments),this._rampStops=[],this.fillColor=c.clone(),this.layout="horizontal",this.min=0,this.max=1,this.stops=[]}static{this.properties={fillColor:1,layout:1,min:9,max:9,stops:0}}static{this.styles=h}willUpdate(s){if(super.willUpdate(s),s.has("fillColor")||s.has("stops")){let{stops:n,fillColor:i}=this,r=(i instanceof t?i:t.fromString(i)??c).toRgb();this._rampStops=n.map(a=>({color:new t(r&&[...r,a.opacity]),value:a.value}))}}render(){return e`<arcgis-ramp-color .layout=${this.layout} .stops=${this._rampStops} .min=${this.min} .max=${this.max}></arcgis-ramp-color>`}};m("arcgis-ramp-opacity",o);return o},"Color")
3
+ v5.0.0-next.116 */
4
+ import{B as p,H as m,g as l,i as e}from"./7YZAGJMR.js";export default $arcgis.t(([t])=>{var h=l`:host{display:block;block-size:30px;inline-size:100%}:host([layout="vertical"]){writing-mode:vertical-lr}arcgis-ramp-color{block-size:inherit;inline-size:inherit}`,c=new t([0,121,193]),o=class extends p{constructor(){super(...arguments),this._rampStops=[],this.fillColor=c.clone(),this.layout="horizontal",this.min=0,this.max=1,this.stops=[]}static{this.properties={fillColor:1,layout:1,min:9,max:9,stops:0}}static{this.styles=h}willUpdate(s){if(super.willUpdate(s),s.has("fillColor")||s.has("stops")){let{stops:n,fillColor:i}=this,r=(i instanceof t?i:t.fromString(i)??c).toRgb();this._rampStops=n.map(a=>({color:new t(r&&[...r,a.opacity]),value:a.value}))}}render(){return e`<arcgis-ramp-color .layout=${this.layout} .stops=${this._rampStops} .min=${this.min} .max=${this.max}></arcgis-ramp-color>`}};m("arcgis-ramp-opacity",o);return o},"Color")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.115 */
4
- import{b as E}from"./CO6TDXJI.js";import"./6Z4VQPIH.js";import{B as D,C as f,D as y,E as u,H as _,g as L,i as x,j as d}from"./EZSZLYQ3.js";export default $arcgis.t(([{substitute:z}])=>{var p={content:"content",svg:"svg",label:"label",dataLine:"data-line",averageDataLine:"average-data-line",dataLineSymbol:"data-line-symbol"},N=L`:host{display:flex;--arcgis-histogram-bar-color: var(--calcite-color-border-1);--arcgis-histogram-stop-color: color-mix(in srgb, var(--calcite-color-brand) 80%, transparent)}.content{display:flex;flex:1;direction:ltr}.svg{display:inline-block;flex:1;overflow:hidden}.data-line{stroke:#888;stroke-width:1px;shape-rendering:crispEdges}.average-data-line{stroke-width:1px;shape-rendering:crispEdges;stroke:#444}.label,.data-line-symbol{font-size:12px;stroke:#fff;stroke-width:2px;paint-order:stroke;unicode-bidi:plaintext}.data-line-symbol{font-family:"Georgia, serif",sans-serif;font-style:italic}`;function B(n,r,t,e,a){let[i,s]=a;if(!n||s===0||i===0||t==null||r==null)return null;let o=t-r,l=(n.length>1?n[n.length-1].maxValue-n[0].minValue:0)/o,[c,h]=e==="vertical"?[s*l,i]:[s,i*l],b=n?n.map(m=>m.count):[],g=Math.max(...b);return n.map(m=>{let[$,v]=e==="vertical"?[c/n.length,g!==0?m.count/g*h:0]:[g!==0?m.count/g*c:0,h/n.length],{maxValue:k}=m,V=t-k,[I,C]=e==="vertical"?[0,V*(s/o)]:[i-v-V*(i/o),s-$];return[I,C,v,$]})}function A(n,r,t,e,a){let i=[];return n!=null&&i.push({value:n,symbol:"x\u0304",lineClass:p.averageDataLine}),r!=null&&t!=null&&e!=null&&i.push(...H(t,e,r,n)),a&&i.push(...a),i}function P(n,r,t,e,a){if(t==null)return[0,0,0,0];let i=Math.round((a-t)/e*100)/100,[s,o]=n;if(r==="vertical"){let c=o-i*o||1;return c=Math.round(c)+.5,[0,"100%",c,c]}let l=i*s||1;return l=Math.round(l)+.5,[l,l,"100%",0]}function T(n,r,t,e,a){if(t==null)return[0,0];let i=Math.round((a-t)/e*100)/100,[s,o]=n;return r==="vertical"?[s,o-i*o]:[0,i*s]}function O(n,r,t){if(!n||n.length===0)return null;if(S(n)){let e=n.map(a=>({...a,color:M(a.color??t)}));return e.unshift({color:r,minValue:Number.NEGATIVE_INFINITY,maxValue:e[0].minValue}),e.push({color:r,minValue:e[e.length-1].maxValue,maxValue:Number.POSITIVE_INFINITY}),e}else return n.map(e=>({...e,color:M(e.color??t)}))}function R(n,r,t,e){if(!n||n.length===0)return t;if(S(n)){let a=G(n,r);if(a.length===0)return t;if(e){let{color:i=t,weight:s}=a[0],{color:o=t,weight:l}=a[1]??a[0],c=s+l;return`color-mix(in srgb, ${i} ${s/c*100}%, ${o} ${l/c*100}%)`}return a[0].color??t}return Y(n,r)}function G(n,r){let t=[];for(let e of n){let a=Math.max(0,Math.min(r.maxValue,e.maxValue)-Math.max(r.minValue,e.minValue));a>0&&t.push({color:e.color,weight:a})}return t.sort((e,a)=>a.weight-e.weight)}function Y(n,r){let t=(r.maxValue-r.minValue)/2+r.minValue;if(t>n[n.length-1].value)return n[n.length-1].color;for(let e=0;e<n.length-1;e++){let a=n[e],i=n[e+1];if(t<=a.value)return a.color;if(t<i.value){let s=(t-a.value)/(i.value-a.value)*100;return`color-mix(in srgb, ${a.color}, ${i.color} ${s}%)`}}return n[n.length-1].color}function S(n){return n[0]!=null&&"minValue"in n[0]}function M(n){if(!n)return;if(typeof n=="string")return n;if(Array.isArray(n))return`rgba(${n[0]}, ${n[1]}, ${n[2]}, ${n[3]??1})`;let{r,g:t,b:e,a=1}=n;return`rgba(${r}, ${t}, ${e}, ${a})`}function H(n,r,t,e){let a=.06*(r-n);return U(t,e).filter(i=>Math.abs(e-i)>a).map((i,s,o)=>{let l=o.length/2,c=i>e?"+":"-",h=s>=l?s-l+1:l-s;return{symbol:`${c}${h===1?"":h}\u03C3`,value:i}})}function U(n,r){if(r==null||n==null)return[];let t=1,e=[];for(let a=t*-1;a<=t;a++)a!==0&&e.push(r+a*n);return e}var F="var(--arcgis-histogram-bar-color)",q="var(--arcgis-histogram-stop-color)",w=class extends D{constructor(){super(...arguments),this._messages=E(),this._normalizedStops=null,this.containerDimensions=[0,0],this.icon="graph-histogram",this.layout="horizontal",this.colorBlendingEnabled=!1}static{this.properties={containerDimensions:16,colorStops:0,icon:3,average:11,messageOverrides:0,standardDeviation:11,bins:0,dataLines:0,label:1,labelFormatFunction:0,layout:3,max:11,min:11,colorBlendingEnabled:5}}static{this.styles=N}loaded(){let r=new ResizeObserver(a=>{for(let i of a){let{width:s,height:o}=i.contentRect;this.containerDimensions=[s,o]}}),{width:t,height:e}=this.el.getBoundingClientRect();this.containerDimensions=[t,e],r.observe(this.el)}willUpdate(r){r.has("colorStops")&&(this._normalizedStops=O(this.colorStops,F,q))}render(){let{label:r}=this;return this.containerDimensions?x`<div role=img .ariaLabel=${r??void 0} class=${f(p.content)}>${this._renderContent()}</div>`:null}_renderContent(){let{containerDimensions:[r,t]}=this,e="bg-fill";return x`<svg class=${f(p.svg)} xmlns=http://www.w3.org/2000/svg>${d`<defs><clipPath id=${e}><rect height=${t??u} width=${r??u} x=0 y=0 /></clipPath></defs><g style=${y({clipPath:`url(#${e})`})}><g>${this._renderBars()}</g></g><g>${this._renderLines()}</g>`}</svg>`}_renderBars(){let{bins:r,_messages:t}=this,e=B(this.bins,this.min,this.max,this.layout,this.containerDimensions);return!e||!r?null:e.map((a,i)=>{let[s,o,l,c]=a,h=r[i],b=t?.barLabel?z(t.barLabel,h):"";return d`<rect style=${y({fill:R(this._normalizedStops,h,F,this.colorBlendingEnabled)})} .ariaLabel=${b} data-index=${i??u} height=${c??u} role=img shape-rendering=crispEdges stroke-width=0 width=${l??u} x=${s??u} y=${o??u} />`})}_renderLines(){return A(this.average,this.standardDeviation,this.min,this.max,this.dataLines)?.map(r=>W({dataLine:r,containerDimensions:this.containerDimensions,layout:this.layout,min:this.min,max:this.max,labelFormatFunction:this.labelFormatFunction}))}},W=n=>{let{containerDimensions:r,layout:t,min:e,max:a,dataLine:i,labelFormatFunction:s}=n,o=a!=null&&e!=null?a-e:0,[l,c,h,b]=P(r,t,e,o,i.value),[g,m]=T(r,t,e,o,i.value),$="symbol"in i?[d`<tspan class=${f(p.dataLineSymbol)}>${i.symbol}</tspan>`,d`<tspan>${s?s(i.value):i.value}</tspan>`]:i.label,v="lineClass"in i&&i.lineClass?i.lineClass:p.dataLine;return d`<g><title>${i.value}</title><line class=${f(v)} shape-rendering=crispEdges x1=${l??u} x2=${c??u} y1=${h??u} y2=${b??u} /><text class=${f(p.label)} text-anchor=end transform=${(t==="horizontal"?"rotate(270)":void 0)??u} x=${g??u} y=${m-2}>${$}</text></g>`};_("arcgis-histogram",w);return w},"intl")
3
+ v5.0.0-next.116 */
4
+ import{b as E}from"./VO5QAC4F.js";import"./77WFAVQF.js";import{B as D,C as f,D as y,E as u,H as _,g as L,i as x,j as d}from"./7YZAGJMR.js";export default $arcgis.t(([{substitute:z}])=>{var p={content:"content",svg:"svg",label:"label",dataLine:"data-line",averageDataLine:"average-data-line",dataLineSymbol:"data-line-symbol"},N=L`:host{display:flex;--arcgis-histogram-bar-color: var(--calcite-color-border-1);--arcgis-histogram-stop-color: color-mix(in srgb, var(--calcite-color-brand) 80%, transparent)}.content{display:flex;flex:1;direction:ltr}.svg{display:inline-block;flex:1;overflow:hidden}.data-line{stroke:#888;stroke-width:1px;shape-rendering:crispEdges}.average-data-line{stroke-width:1px;shape-rendering:crispEdges;stroke:#444}.label,.data-line-symbol{font-size:12px;stroke:#fff;stroke-width:2px;paint-order:stroke;unicode-bidi:plaintext}.data-line-symbol{font-family:"Georgia, serif",sans-serif;font-style:italic}`;function B(n,r,t,e,a){let[i,s]=a;if(!n||s===0||i===0||t==null||r==null)return null;let o=t-r,l=(n.length>1?n[n.length-1].maxValue-n[0].minValue:0)/o,[c,h]=e==="vertical"?[s*l,i]:[s,i*l],b=n?n.map(m=>m.count):[],g=Math.max(...b);return n.map(m=>{let[$,v]=e==="vertical"?[c/n.length,g!==0?m.count/g*h:0]:[g!==0?m.count/g*c:0,h/n.length],{maxValue:k}=m,V=t-k,[I,C]=e==="vertical"?[0,V*(s/o)]:[i-v-V*(i/o),s-$];return[I,C,v,$]})}function A(n,r,t,e,a){let i=[];return n!=null&&i.push({value:n,symbol:"x\u0304",lineClass:p.averageDataLine}),r!=null&&t!=null&&e!=null&&i.push(...H(t,e,r,n)),a&&i.push(...a),i}function P(n,r,t,e,a){if(t==null)return[0,0,0,0];let i=Math.round((a-t)/e*100)/100,[s,o]=n;if(r==="vertical"){let c=o-i*o||1;return c=Math.round(c)+.5,[0,"100%",c,c]}let l=i*s||1;return l=Math.round(l)+.5,[l,l,"100%",0]}function T(n,r,t,e,a){if(t==null)return[0,0];let i=Math.round((a-t)/e*100)/100,[s,o]=n;return r==="vertical"?[s,o-i*o]:[0,i*s]}function O(n,r,t){if(!n||n.length===0)return null;if(S(n)){let e=n.map(a=>({...a,color:M(a.color??t)}));return e.unshift({color:r,minValue:Number.NEGATIVE_INFINITY,maxValue:e[0].minValue}),e.push({color:r,minValue:e[e.length-1].maxValue,maxValue:Number.POSITIVE_INFINITY}),e}else return n.map(e=>({...e,color:M(e.color??t)}))}function R(n,r,t,e){if(!n||n.length===0)return t;if(S(n)){let a=G(n,r);if(a.length===0)return t;if(e){let{color:i=t,weight:s}=a[0],{color:o=t,weight:l}=a[1]??a[0],c=s+l;return`color-mix(in srgb, ${i} ${s/c*100}%, ${o} ${l/c*100}%)`}return a[0].color??t}return Y(n,r)}function G(n,r){let t=[];for(let e of n){let a=Math.max(0,Math.min(r.maxValue,e.maxValue)-Math.max(r.minValue,e.minValue));a>0&&t.push({color:e.color,weight:a})}return t.sort((e,a)=>a.weight-e.weight)}function Y(n,r){let t=(r.maxValue-r.minValue)/2+r.minValue;if(t>n[n.length-1].value)return n[n.length-1].color;for(let e=0;e<n.length-1;e++){let a=n[e],i=n[e+1];if(t<=a.value)return a.color;if(t<i.value){let s=(t-a.value)/(i.value-a.value)*100;return`color-mix(in srgb, ${a.color}, ${i.color} ${s}%)`}}return n[n.length-1].color}function S(n){return n[0]!=null&&"minValue"in n[0]}function M(n){if(!n)return;if(typeof n=="string")return n;if(Array.isArray(n))return`rgba(${n[0]}, ${n[1]}, ${n[2]}, ${n[3]??1})`;let{r,g:t,b:e,a=1}=n;return`rgba(${r}, ${t}, ${e}, ${a})`}function H(n,r,t,e){let a=.06*(r-n);return U(t,e).filter(i=>Math.abs(e-i)>a).map((i,s,o)=>{let l=o.length/2,c=i>e?"+":"-",h=s>=l?s-l+1:l-s;return{symbol:`${c}${h===1?"":h}\u03C3`,value:i}})}function U(n,r){if(r==null||n==null)return[];let t=1,e=[];for(let a=t*-1;a<=t;a++)a!==0&&e.push(r+a*n);return e}var F="var(--arcgis-histogram-bar-color)",q="var(--arcgis-histogram-stop-color)",w=class extends D{constructor(){super(...arguments),this._messages=E(),this._normalizedStops=null,this.containerDimensions=[0,0],this.icon="graph-histogram",this.layout="horizontal",this.colorBlendingEnabled=!1}static{this.properties={containerDimensions:16,colorStops:0,icon:3,average:11,messageOverrides:0,standardDeviation:11,bins:0,dataLines:0,label:1,labelFormatFunction:0,layout:3,max:11,min:11,colorBlendingEnabled:5}}static{this.styles=N}loaded(){let r=new ResizeObserver(a=>{for(let i of a){let{width:s,height:o}=i.contentRect;this.containerDimensions=[s,o]}}),{width:t,height:e}=this.el.getBoundingClientRect();this.containerDimensions=[t,e],r.observe(this.el)}willUpdate(r){r.has("colorStops")&&(this._normalizedStops=O(this.colorStops,F,q))}render(){let{label:r}=this;return this.containerDimensions?x`<div role=img .ariaLabel=${r??void 0} class=${f(p.content)}>${this._renderContent()}</div>`:null}_renderContent(){let{containerDimensions:[r,t]}=this,e="bg-fill";return x`<svg class=${f(p.svg)} xmlns=http://www.w3.org/2000/svg>${d`<defs><clipPath id=${e}><rect height=${t??u} width=${r??u} x=0 y=0 /></clipPath></defs><g style=${y({clipPath:`url(#${e})`})}><g>${this._renderBars()}</g></g><g>${this._renderLines()}</g>`}</svg>`}_renderBars(){let{bins:r,_messages:t}=this,e=B(this.bins,this.min,this.max,this.layout,this.containerDimensions);return!e||!r?null:e.map((a,i)=>{let[s,o,l,c]=a,h=r[i],b=t?.barLabel?z(t.barLabel,h):"";return d`<rect style=${y({fill:R(this._normalizedStops,h,F,this.colorBlendingEnabled)})} .ariaLabel=${b} data-index=${i??u} height=${c??u} role=img shape-rendering=crispEdges stroke-width=0 width=${l??u} x=${s??u} y=${o??u} />`})}_renderLines(){return A(this.average,this.standardDeviation,this.min,this.max,this.dataLines)?.map(r=>W({dataLine:r,containerDimensions:this.containerDimensions,layout:this.layout,min:this.min,max:this.max,labelFormatFunction:this.labelFormatFunction}))}},W=n=>{let{containerDimensions:r,layout:t,min:e,max:a,dataLine:i,labelFormatFunction:s}=n,o=a!=null&&e!=null?a-e:0,[l,c,h,b]=P(r,t,e,o,i.value),[g,m]=T(r,t,e,o,i.value),$="symbol"in i?[d`<tspan class=${f(p.dataLineSymbol)}>${i.symbol}</tspan>`,d`<tspan>${s?s(i.value):i.value}</tspan>`]:i.label,v="lineClass"in i&&i.lineClass?i.lineClass:p.dataLine;return d`<g><title>${i.value}</title><line class=${f(v)} shape-rendering=crispEdges x1=${l??u} x2=${c??u} y1=${h??u} y2=${b??u} /><text class=${f(p.label)} text-anchor=end transform=${(t==="horizontal"?"rotate(270)":void 0)??u} x=${g??u} y=${m-2}>${$}</text></g>`};_("arcgis-histogram",w);return w},"intl")
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.115 */
4
- import{a as tn}from"./5JPAEVBQ.js";import{a as m_}from"./2YW4NW5M.js";import{e as h_}from"./6Z4VQPIH.js";import{A as a_,B as l_,E as c_,H as d_,I as u_,g as i_,i as n_,q as hi,u as r_,z as s_}from"./EZSZLYQ3.js";var ha=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function n4(f){return f&&f.__esModule&&Object.prototype.hasOwnProperty.call(f,"default")?f.default:f}var ka={exports:{}};ka.exports;var g_;function r4(){return g_||(g_=1,(function(f,I){(function(E){let O=E.en=E.en||{};O.dictionary=Object.assign(O.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(may require <kbd>Fn</kbd>)","%0 of %1":"%0 of %1",Accept:"Accept",Accessibility:"Accessibility","Accessibility help":"Accessibility help","Align cell text to the bottom":"Align cell text to the bottom","Align cell text to the center":"Align cell text to the center","Align cell text to the left":"Align cell text to the left","Align cell text to the middle":"Align cell text to the middle","Align cell text to the right":"Align cell text to the right","Align cell text to the top":"Align cell text to the top","Align center":"Align center","Align left":"Align left","Align right":"Align right","Align table to the left":"Align table to the left","Align table to the right":"Align table to the right",Alignment:"Alignment",Aquamarine:"Aquamarine",Background:"Background","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Below, you can find a list of keyboard shortcuts that can be used in the editor.",Big:"Big",Black:"Black","Block quote":"Block quote",Blue:"Blue",Bold:"Bold","Bold text":"Bold text",Border:"Border","Break text":"Break text","Bulleted List":"Bulleted List","Bulleted list styles toolbar":"Bulleted list styles toolbar",Cancel:"Cancel","Cannot upload file:":"Cannot upload file:","Caption for image: %0":"Caption for image: %0","Caption for the image":"Caption for the image","Cell properties":"Cell properties","Center table":"Center table","Centered image":"Centered image","Change image text alternative":"Change image text alternative","Choose heading":"Choose heading",Circle:"Circle",Clear:"Clear","Click to edit block":"Click to edit block",Close:"Close","Close contextual balloons, dropdowns, and dialogs":"Close contextual balloons, dropdowns, and dialogs",Code:"Code","Code block":"Code block",Color:"Color","Color picker":"Color picker",Column:"Column","Content editing keystrokes":"Content editing keystrokes","Copy selected content":"Copy selected content","Could not insert image at the current position.":"Could not insert image at the current position.","Could not obtain resized image URL.":"Could not obtain resized image URL.","Create link":"Create link",Dashed:"Dashed",Decimal:"Decimal","Decimal with leading zero":"Decimal with leading zero","Decrease indent":"Decrease indent","Decrease list item indent":"Decrease list item indent",Default:"Default","Delete column":"Delete column","Delete row":"Delete row","Dim grey":"Dim grey",Dimensions:"Dimensions",Disc:"Disc","Document colors":"Document colors",Dotted:"Dotted",Double:"Double",Downloadable:"Downloadable","Drag to move":"Drag to move","Dropdown toolbar":"Dropdown toolbar","Edit block":"Edit block","Edit link":"Edit link","Editor block content toolbar":"Editor block content toolbar","Editor contextual toolbar":"Editor contextual toolbar","Editor dialog":"Editor dialog","Editor editing area: %0":"Editor editing area: %0","Editor menu bar":"Editor menu bar","Editor toolbar":"Editor toolbar","Enter image caption":"Enter image caption","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.","Font Background Color":"Font Background Color","Font Color":"Font Color","Font Family":"Font Family","Font Size":"Font Size","Full size image":"Full size image",Green:"Green",Grey:"Grey",Groove:"Groove","Header column":"Header column","Header row":"Header row",Heading:"Heading","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4","Heading 5":"Heading 5","Heading 6":"Heading 6",Height:"Height","Help Contents. To close this dialog press ESC.":"Help Contents. To close this dialog press ESC.",HEX:"HEX","Horizontal line":"Horizontal line","Horizontal text alignment toolbar":"Horizontal text alignment toolbar","HTML object":"HTML object",Huge:"Huge","Image from computer":"Image from computer","Image or file":"Image or file","Image resize list":"Image resize list","Image toolbar":"Image toolbar","image widget":"image widget","In line":"In line","Increase indent":"Increase indent","Increase list item indent":"Increase list item indent",Insert:"Insert","Insert a hard break (a new paragraph)":"Insert a hard break (a new paragraph)","Insert a new paragraph directly after a widget":"Insert a new paragraph directly after a widget","Insert a new paragraph directly before a widget":"Insert a new paragraph directly before a widget","Insert a new table row (when in the last cell of a table)":"Insert a new table row (when in the last cell of a table)","Insert a soft break (a <code>&lt;br&gt;</code> element)":"Insert a soft break (a <code>&lt;br&gt;</code> element)","Insert code block":"Insert code block","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert image":"Insert image","Insert image or file":"Insert image or file","Insert image via URL":"Insert image via URL","Insert image with file manager":"Insert image with file manager","Insert media":"Insert media","Insert paragraph after block":"Insert paragraph after block","Insert paragraph before block":"Insert paragraph before block","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table","Insert with file manager":"Insert with file manager","Inserting image failed":"Inserting image failed",Inset:"Inset","Invalid start index value.":"Invalid start index value.",Italic:"Italic","Italic text":"Italic text",Justify:"Justify","Justify cell text":"Justify cell text","Keystrokes that can be used in a list":"Keystrokes that can be used in a list","Keystrokes that can be used in a table cell":"Keystrokes that can be used in a table cell","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Keystrokes that can be used when a widget is selected (for example: image, table, etc.)","Left aligned image":"Left aligned image","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",Link:"Link","Link image":"Link image","Link URL":"Link URL","List properties":"List properties","Lower-latin":"Lower-latin","Lower\u2013roman":"Lower\u2013roman","Media URL":"Media URL","media widget":"media widget",MENU_BAR_MENU_EDIT:"Edit",MENU_BAR_MENU_FILE:"File",MENU_BAR_MENU_FONT:"Font",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"Help",MENU_BAR_MENU_INSERT:"Insert",MENU_BAR_MENU_TEXT:"Text",MENU_BAR_MENU_TOOLS:"Tools",MENU_BAR_MENU_VIEW:"View","Merge cell down":"Merge cell down","Merge cell left":"Merge cell left","Merge cell right":"Merge cell right","Merge cell up":"Merge cell up","Merge cells":"Merge cells","Move focus between form fields (inputs, buttons, etc.)":"Move focus between form fields (inputs, buttons, etc.)","Move focus in and out of an active dialog window":"Move focus in and out of an active dialog window","Move focus to the menu bar, navigate between menu bars":"Move focus to the menu bar, navigate between menu bars","Move focus to the toolbar, navigate between toolbars":"Move focus to the toolbar, navigate between toolbars","Move out of a link":"Move out of a link","Move out of an inline code style":"Move out of an inline code style","Move the caret to allow typing directly after a widget":"Move the caret to allow typing directly after a widget","Move the caret to allow typing directly before a widget":"Move the caret to allow typing directly before a widget","Move the selection to the next cell":"Move the selection to the next cell","Move the selection to the previous cell":"Move the selection to the previous cell","Navigate through the table":"Navigate through the table","Navigate through the toolbar or menu bar":"Navigate through the toolbar or menu bar",Next:"Next","No results found":"No results found","No searchable items":"No searchable items",None:"None","Numbered List":"Numbered List","Numbered list styles toolbar":"Numbered list styles toolbar","Open in a new tab":"Open in a new tab","Open link in new tab":"Open link in new tab","Open media in new tab":"Open media in new tab","Open the accessibility help dialog":"Open the accessibility help dialog",Orange:"Orange",Original:"Original",Outset:"Outset",Padding:"Padding",Paragraph:"Paragraph","Paste content":"Paste content","Paste content as plain text":"Paste content as plain text","Paste the media URL in the input.":"Paste the media URL in the input.","Plain text":"Plain text","Press %0 for help.":"Press %0 for help.","Press Enter to type after or press Shift + Enter to type before the widget":"Press Enter to type after or press Shift + Enter to type before the widget",Previous:"Previous",Purple:"Purple",Red:"Red",Redo:"Redo","Remove color":"Remove color","Remove Format":"Remove Format","Replace from computer":"Replace from computer","Replace image":"Replace image","Replace image from computer":"Replace image from computer","Replace image with file manager":"Replace image with file manager","Replace with file manager":"Replace with file manager","Resize image":"Resize image","Resize image to %0":"Resize image to %0","Resize image to the original size":"Resize image to the original size","Restore default":"Restore default","Reversed order":"Reversed order","Revert autoformatting action":"Revert autoformatting action","Rich Text Editor":"Rich Text Editor",Ridge:"Ridge","Right aligned image":"Right aligned image",Row:"Row",Save:"Save","Select all":"Select all","Select column":"Select column","Select row":"Select row","Selecting resized image failed":"Selecting resized image failed","Show more items":"Show more items","Show source":"Show source","Side image":"Side image",Small:"Small",Solid:"Solid",Source:"Source","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically",Square:"Square","Start at":"Start at","Start index must be greater than 0.":"Start index must be greater than 0.",Strikethrough:"Strikethrough","Strikethrough text":"Strikethrough text",Style:"Style",Subscript:"Subscript",Superscript:"Superscript",Table:"Table","Table alignment toolbar":"Table alignment toolbar","Table cell text alignment":"Table cell text alignment","Table properties":"Table properties","Table toolbar":"Table toolbar","Text alignment":"Text alignment","Text alignment toolbar":"Text alignment toolbar","Text alternative":"Text alternative",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".',"The URL must not be empty.":"The URL must not be empty.",'The value is invalid. Try "10px" or "2em" or simply "2".':'The value is invalid. Try "10px" or "2em" or simply "2".',"These keyboard shortcuts allow for quick access to content editing features.":"These keyboard shortcuts allow for quick access to content editing features.","This link has no URL":"This link has no URL","This media URL is not supported.":"This media URL is not supported.",Tiny:"Tiny","Tip: Paste the URL into the content to embed faster.":"Tip: Paste the URL into the content to embed faster.","To-do List":"To-do List","Toggle caption off":"Toggle caption off","Toggle caption on":"Toggle caption on","Toggle the circle list style":"Toggle the circle list style","Toggle the decimal list style":"Toggle the decimal list style","Toggle the decimal with leading zero list style":"Toggle the decimal with leading zero list style","Toggle the disc list style":"Toggle the disc list style","Toggle the lower\u2013latin list style":"Toggle the lower\u2013latin list style","Toggle the lower\u2013roman list style":"Toggle the lower\u2013roman list style","Toggle the square list style":"Toggle the square list style","Toggle the upper\u2013latin list style":"Toggle the upper\u2013latin list style","Toggle the upper\u2013roman list style":"Toggle the upper\u2013roman list style",Turquoise:"Turquoise",Underline:"Underline","Underline text":"Underline text",Undo:"Undo",Unlink:"Unlink",Update:"Update","Update image URL":"Update image URL","Upload failed":"Upload failed","Upload from computer":"Upload from computer","Upload image from computer":"Upload image from computer","Upload in progress":"Upload in progress","Upper-latin":"Upper-latin","Upper-roman":"Upper-roman","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.","User interface and content navigation keystrokes":"User interface and content navigation keystrokes","Vertical text alignment toolbar":"Vertical text alignment toolbar",White:"White","Widget toolbar":"Widget toolbar",Width:"Width","Wrap text":"Wrap text",Yellow:"Yellow"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),(function(E,O){f.exports=O()})(self,(()=>(()=>{var E,O,H={8168:(v,S,p)=>{let x=p(8874),D={};for(let k of Object.keys(x))D[x[k]]=k;let C={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};v.exports=C;for(let k of Object.keys(C)){if(!("channels"in C[k]))throw new Error("missing channels property: "+k);if(!("labels"in C[k]))throw new Error("missing channel labels property: "+k);if(C[k].labels.length!==C[k].channels)throw new Error("channel and label counts mismatch: "+k);let{channels:_,labels:B}=C[k];delete C[k].channels,delete C[k].labels,Object.defineProperty(C[k],"channels",{value:_}),Object.defineProperty(C[k],"labels",{value:B})}C.rgb.hsl=function(k){let _=k[0]/255,B=k[1]/255,N=k[2]/255,P=Math.min(_,B,N),V=Math.max(_,B,N),U=V-P,Z,Q;V===P?Z=0:_===V?Z=(B-N)/U:B===V?Z=2+(N-_)/U:N===V&&(Z=4+(_-B)/U),Z=Math.min(60*Z,360),Z<0&&(Z+=360);let se=(P+V)/2;return Q=V===P?0:se<=.5?U/(V+P):U/(2-V-P),[Z,100*Q,100*se]},C.rgb.hsv=function(k){let _,B,N,P,V,U=k[0]/255,Z=k[1]/255,Q=k[2]/255,se=Math.max(U,Z,Q),ge=se-Math.min(U,Z,Q),ie=function(he){return(se-he)/6/ge+.5};return ge===0?(P=0,V=0):(V=ge/se,_=ie(U),B=ie(Z),N=ie(Q),U===se?P=N-B:Z===se?P=.3333333333333333+_-N:Q===se&&(P=.6666666666666666+B-_),P<0?P+=1:P>1&&(P-=1)),[360*P,100*V,100*se]},C.rgb.hwb=function(k){let _=k[0],B=k[1],N=k[2],P=C.rgb.hsl(k)[0],V=1/255*Math.min(_,Math.min(B,N));return N=1-.00392156862745098*Math.max(_,Math.max(B,N)),[P,100*V,100*N]},C.rgb.cmyk=function(k){let _=k[0]/255,B=k[1]/255,N=k[2]/255,P=Math.min(1-_,1-B,1-N);return[100*((1-_-P)/(1-P)||0),100*((1-B-P)/(1-P)||0),100*((1-N-P)/(1-P)||0),100*P]},C.rgb.keyword=function(k){let _=D[k];if(_)return _;let B,N=1/0;for(let U of Object.keys(x)){let Z=x[U],Q=(V=Z,((P=k)[0]-V[0])**2+(P[1]-V[1])**2+(P[2]-V[2])**2);Q<N&&(N=Q,B=U)}var P,V;return B},C.keyword.rgb=function(k){return x[k]},C.rgb.xyz=function(k){let _=k[0]/255,B=k[1]/255,N=k[2]/255;return _=_>.04045?((_+.055)/1.055)**2.4:_/12.92,B=B>.04045?((B+.055)/1.055)**2.4:B/12.92,N=N>.04045?((N+.055)/1.055)**2.4:N/12.92,[100*(.4124*_+.3576*B+.1805*N),100*(.2126*_+.7152*B+.0722*N),100*(.0193*_+.1192*B+.9505*N)]},C.rgb.lab=function(k){let _=C.rgb.xyz(k),B=_[0],N=_[1],P=_[2];return B/=95.047,N/=100,P/=108.883,B=B>.008856?B**.3333333333333333:7.787*B+.13793103448275862,N=N>.008856?N**.3333333333333333:7.787*N+.13793103448275862,P=P>.008856?P**.3333333333333333:7.787*P+.13793103448275862,[116*N-16,500*(B-N),200*(N-P)]},C.hsl.rgb=function(k){let _=k[0]/360,B=k[1]/100,N=k[2]/100,P,V,U;if(B===0)return U=255*N,[U,U,U];P=N<.5?N*(1+B):N+B-N*B;let Z=2*N-P,Q=[0,0,0];for(let se=0;se<3;se++)V=_+.3333333333333333*-(se-1),V<0&&V++,V>1&&V--,U=6*V<1?Z+6*(P-Z)*V:2*V<1?P:3*V<2?Z+(P-Z)*(.6666666666666666-V)*6:Z,Q[se]=255*U;return Q},C.hsl.hsv=function(k){let _=k[0],B=k[1]/100,N=k[2]/100,P=B,V=Math.max(N,.01);return N*=2,B*=N<=1?N:2-N,P*=V<=1?V:2-V,[_,100*(N===0?2*P/(V+P):2*B/(N+B)),100*((N+B)/2)]},C.hsv.rgb=function(k){let _=k[0]/60,B=k[1]/100,N=k[2]/100,P=Math.floor(_)%6,V=_-Math.floor(_),U=255*N*(1-B),Z=255*N*(1-B*V),Q=255*N*(1-B*(1-V));switch(N*=255,P){case 0:return[N,Q,U];case 1:return[Z,N,U];case 2:return[U,N,Q];case 3:return[U,Z,N];case 4:return[Q,U,N];case 5:return[N,U,Z]}},C.hsv.hsl=function(k){let _=k[0],B=k[1]/100,N=k[2]/100,P=Math.max(N,.01),V,U;U=(2-B)*N;let Z=(2-B)*P;return V=B*P,V/=Z<=1?Z:2-Z,V=V||0,U/=2,[_,100*V,100*U]},C.hwb.rgb=function(k){let _=k[0]/360,B=k[1]/100,N=k[2]/100,P=B+N,V;P>1&&(B/=P,N/=P);let U=Math.floor(6*_),Z=1-N;V=6*_-U,1&U&&(V=1-V);let Q=B+V*(Z-B),se,ge,ie;switch(U){default:case 6:case 0:se=Z,ge=Q,ie=B;break;case 1:se=Q,ge=Z,ie=B;break;case 2:se=B,ge=Z,ie=Q;break;case 3:se=B,ge=Q,ie=Z;break;case 4:se=Q,ge=B,ie=Z;break;case 5:se=Z,ge=B,ie=Q}return[255*se,255*ge,255*ie]},C.cmyk.rgb=function(k){let _=k[0]/100,B=k[1]/100,N=k[2]/100,P=k[3]/100;return[255*(1-Math.min(1,_*(1-P)+P)),255*(1-Math.min(1,B*(1-P)+P)),255*(1-Math.min(1,N*(1-P)+P))]},C.xyz.rgb=function(k){let _=k[0]/100,B=k[1]/100,N=k[2]/100,P,V,U;return P=3.2406*_+-1.5372*B+-.4986*N,V=-.9689*_+1.8758*B+.0415*N,U=.0557*_+-.204*B+1.057*N,P=P>.0031308?1.055*P**.4166666666666667-.055:12.92*P,V=V>.0031308?1.055*V**.4166666666666667-.055:12.92*V,U=U>.0031308?1.055*U**.4166666666666667-.055:12.92*U,P=Math.min(Math.max(0,P),1),V=Math.min(Math.max(0,V),1),U=Math.min(Math.max(0,U),1),[255*P,255*V,255*U]},C.xyz.lab=function(k){let _=k[0],B=k[1],N=k[2];return _/=95.047,B/=100,N/=108.883,_=_>.008856?_**.3333333333333333:7.787*_+.13793103448275862,B=B>.008856?B**.3333333333333333:7.787*B+.13793103448275862,N=N>.008856?N**.3333333333333333:7.787*N+.13793103448275862,[116*B-16,500*(_-B),200*(B-N)]},C.lab.xyz=function(k){let _,B,N;B=(k[0]+16)/116,_=k[1]/500+B,N=B-k[2]/200;let P=B**3,V=_**3,U=N**3;return B=P>.008856?P:(B-.13793103448275862)/7.787,_=V>.008856?V:(_-.13793103448275862)/7.787,N=U>.008856?U:(N-.13793103448275862)/7.787,_*=95.047,B*=100,N*=108.883,[_,B,N]},C.lab.lch=function(k){let _=k[0],B=k[1],N=k[2],P;return P=360*Math.atan2(N,B)/2/Math.PI,P<0&&(P+=360),[_,Math.sqrt(B*B+N*N),P]},C.lch.lab=function(k){let _=k[0],B=k[1],N=k[2]/360*2*Math.PI;return[_,B*Math.cos(N),B*Math.sin(N)]},C.rgb.ansi16=function(k,_=null){let[B,N,P]=k,V=_===null?C.rgb.hsv(k)[2]:_;if(V=Math.round(V/50),V===0)return 30;let U=30+(Math.round(P/255)<<2|Math.round(N/255)<<1|Math.round(B/255));return V===2&&(U+=60),U},C.hsv.ansi16=function(k){return C.rgb.ansi16(C.hsv.rgb(k),k[2])},C.rgb.ansi256=function(k){let _=k[0],B=k[1],N=k[2];return _===B&&B===N?_<8?16:_>248?231:Math.round((_-8)/247*24)+232:16+36*Math.round(_/255*5)+6*Math.round(B/255*5)+Math.round(N/255*5)},C.ansi16.rgb=function(k){let _=k%10;if(_===0||_===7)return k>50&&(_+=3.5),_=_/10.5*255,[_,_,_];let B=.5*(1+~~(k>50));return[(1&_)*B*255,(_>>1&1)*B*255,(_>>2&1)*B*255]},C.ansi256.rgb=function(k){if(k>=232){let B=10*(k-232)+8;return[B,B,B]}let _;return k-=16,[Math.floor(k/36)/5*255,Math.floor((_=k%36)/6)/5*255,_%6/5*255]},C.rgb.hex=function(k){let _=(((255&Math.round(k[0]))<<16)+((255&Math.round(k[1]))<<8)+(255&Math.round(k[2]))).toString(16).toUpperCase();return"000000".substring(_.length)+_},C.hex.rgb=function(k){let _=k.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!_)return[0,0,0];let B=_[0];_[0].length===3&&(B=B.split("").map((P=>P+P)).join(""));let N=parseInt(B,16);return[N>>16&255,N>>8&255,255&N]},C.rgb.hcg=function(k){let _=k[0]/255,B=k[1]/255,N=k[2]/255,P=Math.max(Math.max(_,B),N),V=Math.min(Math.min(_,B),N),U=P-V,Z,Q;return Z=U<1?V/(1-U):0,Q=U<=0?0:P===_?(B-N)/U%6:P===B?2+(N-_)/U:4+(_-B)/U,Q/=6,Q%=1,[360*Q,100*U,100*Z]},C.hsl.hcg=function(k){let _=k[1]/100,B=k[2]/100,N=B<.5?2*_*B:2*_*(1-B),P=0;return N<1&&(P=(B-.5*N)/(1-N)),[k[0],100*N,100*P]},C.hsv.hcg=function(k){let _=k[1]/100,B=k[2]/100,N=_*B,P=0;return N<1&&(P=(B-N)/(1-N)),[k[0],100*N,100*P]},C.hcg.rgb=function(k){let _=k[0]/360,B=k[1]/100,N=k[2]/100;if(B===0)return[255*N,255*N,255*N];let P=[0,0,0],V=_%1*6,U=V%1,Z=1-U,Q=0;switch(Math.floor(V)){case 0:P[0]=1,P[1]=U,P[2]=0;break;case 1:P[0]=Z,P[1]=1,P[2]=0;break;case 2:P[0]=0,P[1]=1,P[2]=U;break;case 3:P[0]=0,P[1]=Z,P[2]=1;break;case 4:P[0]=U,P[1]=0,P[2]=1;break;default:P[0]=1,P[1]=0,P[2]=Z}return Q=(1-B)*N,[255*(B*P[0]+Q),255*(B*P[1]+Q),255*(B*P[2]+Q)]},C.hcg.hsv=function(k){let _=k[1]/100,B=_+k[2]/100*(1-_),N=0;return B>0&&(N=_/B),[k[0],100*N,100*B]},C.hcg.hsl=function(k){let _=k[1]/100,B=k[2]/100*(1-_)+.5*_,N=0;return B>0&&B<.5?N=_/(2*B):B>=.5&&B<1&&(N=_/(2*(1-B))),[k[0],100*N,100*B]},C.hcg.hwb=function(k){let _=k[1]/100,B=_+k[2]/100*(1-_);return[k[0],100*(B-_),100*(1-B)]},C.hwb.hcg=function(k){let _=k[1]/100,B=1-k[2]/100,N=B-_,P=0;return N<1&&(P=(B-N)/(1-N)),[k[0],100*N,100*P]},C.apple.rgb=function(k){return[k[0]/65535*255,k[1]/65535*255,k[2]/65535*255]},C.rgb.apple=function(k){return[k[0]/255*65535,k[1]/255*65535,k[2]/255*65535]},C.gray.rgb=function(k){return[k[0]/100*255,k[0]/100*255,k[0]/100*255]},C.gray.hsl=function(k){return[0,0,k[0]]},C.gray.hsv=C.gray.hsl,C.gray.hwb=function(k){return[0,100,k[0]]},C.gray.cmyk=function(k){return[0,0,0,k[0]]},C.gray.lab=function(k){return[k[0],0,0]},C.gray.hex=function(k){let _=255&Math.round(k[0]/100*255),B=((_<<16)+(_<<8)+_).toString(16).toUpperCase();return"000000".substring(B.length)+B},C.rgb.gray=function(k){return[(k[0]+k[1]+k[2])/3/255*100]}},2085:(v,S,p)=>{let x=p(8168),D=p(4111),C={};Object.keys(x).forEach((k=>{C[k]={},Object.defineProperty(C[k],"channels",{value:x[k].channels}),Object.defineProperty(C[k],"labels",{value:x[k].labels});let _=D(k);Object.keys(_).forEach((B=>{let N=_[B];C[k][B]=(function(P){let V=function(...U){let Z=U[0];if(Z==null)return Z;Z.length>1&&(U=Z);let Q=P(U);if(typeof Q=="object")for(let se=Q.length,ge=0;ge<se;ge++)Q[ge]=Math.round(Q[ge]);return Q};return"conversion"in P&&(V.conversion=P.conversion),V})(N),C[k][B].raw=(function(P){let V=function(...U){let Z=U[0];return Z==null?Z:(Z.length>1&&(U=Z),P(U))};return"conversion"in P&&(V.conversion=P.conversion),V})(N)}))})),v.exports=C},4111:(v,S,p)=>{let x=p(8168);function D(_){let B=(function(){let P={},V=Object.keys(x);for(let U=V.length,Z=0;Z<U;Z++)P[V[Z]]={distance:-1,parent:null};return P})(),N=[_];for(B[_].distance=0;N.length;){let P=N.pop(),V=Object.keys(x[P]);for(let U=V.length,Z=0;Z<U;Z++){let Q=V[Z],se=B[Q];se.distance===-1&&(se.distance=B[P].distance+1,se.parent=P,N.unshift(Q))}}return B}function C(_,B){return function(N){return B(_(N))}}function k(_,B){let N=[B[_].parent,_],P=x[B[_].parent][_],V=B[_].parent;for(;B[V].parent;)N.unshift(B[V].parent),P=C(x[B[V].parent][V],P),V=B[V].parent;return P.conversion=N,P}v.exports=function(_){let B=D(_),N={},P=Object.keys(B);for(let V=P.length,U=0;U<V;U++){let Z=P[U];B[Z].parent!==null&&(N[Z]=k(Z,B))}return N}},8874:v=>{v.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},8180:(v,S,p)=>{p.d(S,{Z:()=>_});var x=p(4015),D=p.n(x),C=p(3645),k=p.n(C)()(D());k.push([v.id,".ck-content code{background-color:hsla(0,0%,78%,.3);border-radius:2px;padding:.15em}.ck.ck-editor__editable .ck-code_selected{background-color:hsla(0,0%,78%,.5)}","",{version:3,sources:["webpack://./node_modules/@ckeditor/ckeditor5-basic-styles/theme/code.css"],names:[],mappings:"AAKA,iBACC,kCAAuC,CAEvC,iBAAkB,CADlB,aAED,CAEA,0CACC,kCACD",sourcesContent:[`/*
3
+ v5.0.0-next.116 */
4
+ import{a as tn}from"./WLMHNCED.js";import{a as m_}from"./S5PBGZRZ.js";import{e as h_}from"./77WFAVQF.js";import{A as a_,B as l_,E as c_,H as d_,I as u_,g as i_,i as n_,q as hi,u as r_,z as s_}from"./7YZAGJMR.js";var ha=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function n4(f){return f&&f.__esModule&&Object.prototype.hasOwnProperty.call(f,"default")?f.default:f}var ka={exports:{}};ka.exports;var g_;function r4(){return g_||(g_=1,(function(f,I){(function(E){let O=E.en=E.en||{};O.dictionary=Object.assign(O.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(may require <kbd>Fn</kbd>)","%0 of %1":"%0 of %1",Accept:"Accept",Accessibility:"Accessibility","Accessibility help":"Accessibility help","Align cell text to the bottom":"Align cell text to the bottom","Align cell text to the center":"Align cell text to the center","Align cell text to the left":"Align cell text to the left","Align cell text to the middle":"Align cell text to the middle","Align cell text to the right":"Align cell text to the right","Align cell text to the top":"Align cell text to the top","Align center":"Align center","Align left":"Align left","Align right":"Align right","Align table to the left":"Align table to the left","Align table to the right":"Align table to the right",Alignment:"Alignment",Aquamarine:"Aquamarine",Background:"Background","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Below, you can find a list of keyboard shortcuts that can be used in the editor.",Big:"Big",Black:"Black","Block quote":"Block quote",Blue:"Blue",Bold:"Bold","Bold text":"Bold text",Border:"Border","Break text":"Break text","Bulleted List":"Bulleted List","Bulleted list styles toolbar":"Bulleted list styles toolbar",Cancel:"Cancel","Cannot upload file:":"Cannot upload file:","Caption for image: %0":"Caption for image: %0","Caption for the image":"Caption for the image","Cell properties":"Cell properties","Center table":"Center table","Centered image":"Centered image","Change image text alternative":"Change image text alternative","Choose heading":"Choose heading",Circle:"Circle",Clear:"Clear","Click to edit block":"Click to edit block",Close:"Close","Close contextual balloons, dropdowns, and dialogs":"Close contextual balloons, dropdowns, and dialogs",Code:"Code","Code block":"Code block",Color:"Color","Color picker":"Color picker",Column:"Column","Content editing keystrokes":"Content editing keystrokes","Copy selected content":"Copy selected content","Could not insert image at the current position.":"Could not insert image at the current position.","Could not obtain resized image URL.":"Could not obtain resized image URL.","Create link":"Create link",Dashed:"Dashed",Decimal:"Decimal","Decimal with leading zero":"Decimal with leading zero","Decrease indent":"Decrease indent","Decrease list item indent":"Decrease list item indent",Default:"Default","Delete column":"Delete column","Delete row":"Delete row","Dim grey":"Dim grey",Dimensions:"Dimensions",Disc:"Disc","Document colors":"Document colors",Dotted:"Dotted",Double:"Double",Downloadable:"Downloadable","Drag to move":"Drag to move","Dropdown toolbar":"Dropdown toolbar","Edit block":"Edit block","Edit link":"Edit link","Editor block content toolbar":"Editor block content toolbar","Editor contextual toolbar":"Editor contextual toolbar","Editor dialog":"Editor dialog","Editor editing area: %0":"Editor editing area: %0","Editor menu bar":"Editor menu bar","Editor toolbar":"Editor toolbar","Enter image caption":"Enter image caption","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.","Font Background Color":"Font Background Color","Font Color":"Font Color","Font Family":"Font Family","Font Size":"Font Size","Full size image":"Full size image",Green:"Green",Grey:"Grey",Groove:"Groove","Header column":"Header column","Header row":"Header row",Heading:"Heading","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4","Heading 5":"Heading 5","Heading 6":"Heading 6",Height:"Height","Help Contents. To close this dialog press ESC.":"Help Contents. To close this dialog press ESC.",HEX:"HEX","Horizontal line":"Horizontal line","Horizontal text alignment toolbar":"Horizontal text alignment toolbar","HTML object":"HTML object",Huge:"Huge","Image from computer":"Image from computer","Image or file":"Image or file","Image resize list":"Image resize list","Image toolbar":"Image toolbar","image widget":"image widget","In line":"In line","Increase indent":"Increase indent","Increase list item indent":"Increase list item indent",Insert:"Insert","Insert a hard break (a new paragraph)":"Insert a hard break (a new paragraph)","Insert a new paragraph directly after a widget":"Insert a new paragraph directly after a widget","Insert a new paragraph directly before a widget":"Insert a new paragraph directly before a widget","Insert a new table row (when in the last cell of a table)":"Insert a new table row (when in the last cell of a table)","Insert a soft break (a <code>&lt;br&gt;</code> element)":"Insert a soft break (a <code>&lt;br&gt;</code> element)","Insert code block":"Insert code block","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert image":"Insert image","Insert image or file":"Insert image or file","Insert image via URL":"Insert image via URL","Insert image with file manager":"Insert image with file manager","Insert media":"Insert media","Insert paragraph after block":"Insert paragraph after block","Insert paragraph before block":"Insert paragraph before block","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table","Insert with file manager":"Insert with file manager","Inserting image failed":"Inserting image failed",Inset:"Inset","Invalid start index value.":"Invalid start index value.",Italic:"Italic","Italic text":"Italic text",Justify:"Justify","Justify cell text":"Justify cell text","Keystrokes that can be used in a list":"Keystrokes that can be used in a list","Keystrokes that can be used in a table cell":"Keystrokes that can be used in a table cell","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Keystrokes that can be used when a widget is selected (for example: image, table, etc.)","Left aligned image":"Left aligned image","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",Link:"Link","Link image":"Link image","Link URL":"Link URL","List properties":"List properties","Lower-latin":"Lower-latin","Lower\u2013roman":"Lower\u2013roman","Media URL":"Media URL","media widget":"media widget",MENU_BAR_MENU_EDIT:"Edit",MENU_BAR_MENU_FILE:"File",MENU_BAR_MENU_FONT:"Font",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"Help",MENU_BAR_MENU_INSERT:"Insert",MENU_BAR_MENU_TEXT:"Text",MENU_BAR_MENU_TOOLS:"Tools",MENU_BAR_MENU_VIEW:"View","Merge cell down":"Merge cell down","Merge cell left":"Merge cell left","Merge cell right":"Merge cell right","Merge cell up":"Merge cell up","Merge cells":"Merge cells","Move focus between form fields (inputs, buttons, etc.)":"Move focus between form fields (inputs, buttons, etc.)","Move focus in and out of an active dialog window":"Move focus in and out of an active dialog window","Move focus to the menu bar, navigate between menu bars":"Move focus to the menu bar, navigate between menu bars","Move focus to the toolbar, navigate between toolbars":"Move focus to the toolbar, navigate between toolbars","Move out of a link":"Move out of a link","Move out of an inline code style":"Move out of an inline code style","Move the caret to allow typing directly after a widget":"Move the caret to allow typing directly after a widget","Move the caret to allow typing directly before a widget":"Move the caret to allow typing directly before a widget","Move the selection to the next cell":"Move the selection to the next cell","Move the selection to the previous cell":"Move the selection to the previous cell","Navigate through the table":"Navigate through the table","Navigate through the toolbar or menu bar":"Navigate through the toolbar or menu bar",Next:"Next","No results found":"No results found","No searchable items":"No searchable items",None:"None","Numbered List":"Numbered List","Numbered list styles toolbar":"Numbered list styles toolbar","Open in a new tab":"Open in a new tab","Open link in new tab":"Open link in new tab","Open media in new tab":"Open media in new tab","Open the accessibility help dialog":"Open the accessibility help dialog",Orange:"Orange",Original:"Original",Outset:"Outset",Padding:"Padding",Paragraph:"Paragraph","Paste content":"Paste content","Paste content as plain text":"Paste content as plain text","Paste the media URL in the input.":"Paste the media URL in the input.","Plain text":"Plain text","Press %0 for help.":"Press %0 for help.","Press Enter to type after or press Shift + Enter to type before the widget":"Press Enter to type after or press Shift + Enter to type before the widget",Previous:"Previous",Purple:"Purple",Red:"Red",Redo:"Redo","Remove color":"Remove color","Remove Format":"Remove Format","Replace from computer":"Replace from computer","Replace image":"Replace image","Replace image from computer":"Replace image from computer","Replace image with file manager":"Replace image with file manager","Replace with file manager":"Replace with file manager","Resize image":"Resize image","Resize image to %0":"Resize image to %0","Resize image to the original size":"Resize image to the original size","Restore default":"Restore default","Reversed order":"Reversed order","Revert autoformatting action":"Revert autoformatting action","Rich Text Editor":"Rich Text Editor",Ridge:"Ridge","Right aligned image":"Right aligned image",Row:"Row",Save:"Save","Select all":"Select all","Select column":"Select column","Select row":"Select row","Selecting resized image failed":"Selecting resized image failed","Show more items":"Show more items","Show source":"Show source","Side image":"Side image",Small:"Small",Solid:"Solid",Source:"Source","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically",Square:"Square","Start at":"Start at","Start index must be greater than 0.":"Start index must be greater than 0.",Strikethrough:"Strikethrough","Strikethrough text":"Strikethrough text",Style:"Style",Subscript:"Subscript",Superscript:"Superscript",Table:"Table","Table alignment toolbar":"Table alignment toolbar","Table cell text alignment":"Table cell text alignment","Table properties":"Table properties","Table toolbar":"Table toolbar","Text alignment":"Text alignment","Text alignment toolbar":"Text alignment toolbar","Text alternative":"Text alternative",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".',"The URL must not be empty.":"The URL must not be empty.",'The value is invalid. Try "10px" or "2em" or simply "2".':'The value is invalid. Try "10px" or "2em" or simply "2".',"These keyboard shortcuts allow for quick access to content editing features.":"These keyboard shortcuts allow for quick access to content editing features.","This link has no URL":"This link has no URL","This media URL is not supported.":"This media URL is not supported.",Tiny:"Tiny","Tip: Paste the URL into the content to embed faster.":"Tip: Paste the URL into the content to embed faster.","To-do List":"To-do List","Toggle caption off":"Toggle caption off","Toggle caption on":"Toggle caption on","Toggle the circle list style":"Toggle the circle list style","Toggle the decimal list style":"Toggle the decimal list style","Toggle the decimal with leading zero list style":"Toggle the decimal with leading zero list style","Toggle the disc list style":"Toggle the disc list style","Toggle the lower\u2013latin list style":"Toggle the lower\u2013latin list style","Toggle the lower\u2013roman list style":"Toggle the lower\u2013roman list style","Toggle the square list style":"Toggle the square list style","Toggle the upper\u2013latin list style":"Toggle the upper\u2013latin list style","Toggle the upper\u2013roman list style":"Toggle the upper\u2013roman list style",Turquoise:"Turquoise",Underline:"Underline","Underline text":"Underline text",Undo:"Undo",Unlink:"Unlink",Update:"Update","Update image URL":"Update image URL","Upload failed":"Upload failed","Upload from computer":"Upload from computer","Upload image from computer":"Upload image from computer","Upload in progress":"Upload in progress","Upper-latin":"Upper-latin","Upper-roman":"Upper-roman","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.","User interface and content navigation keystrokes":"User interface and content navigation keystrokes","Vertical text alignment toolbar":"Vertical text alignment toolbar",White:"White","Widget toolbar":"Widget toolbar",Width:"Width","Wrap text":"Wrap text",Yellow:"Yellow"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),(function(E,O){f.exports=O()})(self,(()=>(()=>{var E,O,H={8168:(v,S,p)=>{let x=p(8874),D={};for(let k of Object.keys(x))D[x[k]]=k;let C={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};v.exports=C;for(let k of Object.keys(C)){if(!("channels"in C[k]))throw new Error("missing channels property: "+k);if(!("labels"in C[k]))throw new Error("missing channel labels property: "+k);if(C[k].labels.length!==C[k].channels)throw new Error("channel and label counts mismatch: "+k);let{channels:_,labels:B}=C[k];delete C[k].channels,delete C[k].labels,Object.defineProperty(C[k],"channels",{value:_}),Object.defineProperty(C[k],"labels",{value:B})}C.rgb.hsl=function(k){let _=k[0]/255,B=k[1]/255,N=k[2]/255,P=Math.min(_,B,N),V=Math.max(_,B,N),U=V-P,Z,Q;V===P?Z=0:_===V?Z=(B-N)/U:B===V?Z=2+(N-_)/U:N===V&&(Z=4+(_-B)/U),Z=Math.min(60*Z,360),Z<0&&(Z+=360);let se=(P+V)/2;return Q=V===P?0:se<=.5?U/(V+P):U/(2-V-P),[Z,100*Q,100*se]},C.rgb.hsv=function(k){let _,B,N,P,V,U=k[0]/255,Z=k[1]/255,Q=k[2]/255,se=Math.max(U,Z,Q),ge=se-Math.min(U,Z,Q),ie=function(he){return(se-he)/6/ge+.5};return ge===0?(P=0,V=0):(V=ge/se,_=ie(U),B=ie(Z),N=ie(Q),U===se?P=N-B:Z===se?P=.3333333333333333+_-N:Q===se&&(P=.6666666666666666+B-_),P<0?P+=1:P>1&&(P-=1)),[360*P,100*V,100*se]},C.rgb.hwb=function(k){let _=k[0],B=k[1],N=k[2],P=C.rgb.hsl(k)[0],V=1/255*Math.min(_,Math.min(B,N));return N=1-.00392156862745098*Math.max(_,Math.max(B,N)),[P,100*V,100*N]},C.rgb.cmyk=function(k){let _=k[0]/255,B=k[1]/255,N=k[2]/255,P=Math.min(1-_,1-B,1-N);return[100*((1-_-P)/(1-P)||0),100*((1-B-P)/(1-P)||0),100*((1-N-P)/(1-P)||0),100*P]},C.rgb.keyword=function(k){let _=D[k];if(_)return _;let B,N=1/0;for(let U of Object.keys(x)){let Z=x[U],Q=(V=Z,((P=k)[0]-V[0])**2+(P[1]-V[1])**2+(P[2]-V[2])**2);Q<N&&(N=Q,B=U)}var P,V;return B},C.keyword.rgb=function(k){return x[k]},C.rgb.xyz=function(k){let _=k[0]/255,B=k[1]/255,N=k[2]/255;return _=_>.04045?((_+.055)/1.055)**2.4:_/12.92,B=B>.04045?((B+.055)/1.055)**2.4:B/12.92,N=N>.04045?((N+.055)/1.055)**2.4:N/12.92,[100*(.4124*_+.3576*B+.1805*N),100*(.2126*_+.7152*B+.0722*N),100*(.0193*_+.1192*B+.9505*N)]},C.rgb.lab=function(k){let _=C.rgb.xyz(k),B=_[0],N=_[1],P=_[2];return B/=95.047,N/=100,P/=108.883,B=B>.008856?B**.3333333333333333:7.787*B+.13793103448275862,N=N>.008856?N**.3333333333333333:7.787*N+.13793103448275862,P=P>.008856?P**.3333333333333333:7.787*P+.13793103448275862,[116*N-16,500*(B-N),200*(N-P)]},C.hsl.rgb=function(k){let _=k[0]/360,B=k[1]/100,N=k[2]/100,P,V,U;if(B===0)return U=255*N,[U,U,U];P=N<.5?N*(1+B):N+B-N*B;let Z=2*N-P,Q=[0,0,0];for(let se=0;se<3;se++)V=_+.3333333333333333*-(se-1),V<0&&V++,V>1&&V--,U=6*V<1?Z+6*(P-Z)*V:2*V<1?P:3*V<2?Z+(P-Z)*(.6666666666666666-V)*6:Z,Q[se]=255*U;return Q},C.hsl.hsv=function(k){let _=k[0],B=k[1]/100,N=k[2]/100,P=B,V=Math.max(N,.01);return N*=2,B*=N<=1?N:2-N,P*=V<=1?V:2-V,[_,100*(N===0?2*P/(V+P):2*B/(N+B)),100*((N+B)/2)]},C.hsv.rgb=function(k){let _=k[0]/60,B=k[1]/100,N=k[2]/100,P=Math.floor(_)%6,V=_-Math.floor(_),U=255*N*(1-B),Z=255*N*(1-B*V),Q=255*N*(1-B*(1-V));switch(N*=255,P){case 0:return[N,Q,U];case 1:return[Z,N,U];case 2:return[U,N,Q];case 3:return[U,Z,N];case 4:return[Q,U,N];case 5:return[N,U,Z]}},C.hsv.hsl=function(k){let _=k[0],B=k[1]/100,N=k[2]/100,P=Math.max(N,.01),V,U;U=(2-B)*N;let Z=(2-B)*P;return V=B*P,V/=Z<=1?Z:2-Z,V=V||0,U/=2,[_,100*V,100*U]},C.hwb.rgb=function(k){let _=k[0]/360,B=k[1]/100,N=k[2]/100,P=B+N,V;P>1&&(B/=P,N/=P);let U=Math.floor(6*_),Z=1-N;V=6*_-U,1&U&&(V=1-V);let Q=B+V*(Z-B),se,ge,ie;switch(U){default:case 6:case 0:se=Z,ge=Q,ie=B;break;case 1:se=Q,ge=Z,ie=B;break;case 2:se=B,ge=Z,ie=Q;break;case 3:se=B,ge=Q,ie=Z;break;case 4:se=Q,ge=B,ie=Z;break;case 5:se=Z,ge=B,ie=Q}return[255*se,255*ge,255*ie]},C.cmyk.rgb=function(k){let _=k[0]/100,B=k[1]/100,N=k[2]/100,P=k[3]/100;return[255*(1-Math.min(1,_*(1-P)+P)),255*(1-Math.min(1,B*(1-P)+P)),255*(1-Math.min(1,N*(1-P)+P))]},C.xyz.rgb=function(k){let _=k[0]/100,B=k[1]/100,N=k[2]/100,P,V,U;return P=3.2406*_+-1.5372*B+-.4986*N,V=-.9689*_+1.8758*B+.0415*N,U=.0557*_+-.204*B+1.057*N,P=P>.0031308?1.055*P**.4166666666666667-.055:12.92*P,V=V>.0031308?1.055*V**.4166666666666667-.055:12.92*V,U=U>.0031308?1.055*U**.4166666666666667-.055:12.92*U,P=Math.min(Math.max(0,P),1),V=Math.min(Math.max(0,V),1),U=Math.min(Math.max(0,U),1),[255*P,255*V,255*U]},C.xyz.lab=function(k){let _=k[0],B=k[1],N=k[2];return _/=95.047,B/=100,N/=108.883,_=_>.008856?_**.3333333333333333:7.787*_+.13793103448275862,B=B>.008856?B**.3333333333333333:7.787*B+.13793103448275862,N=N>.008856?N**.3333333333333333:7.787*N+.13793103448275862,[116*B-16,500*(_-B),200*(B-N)]},C.lab.xyz=function(k){let _,B,N;B=(k[0]+16)/116,_=k[1]/500+B,N=B-k[2]/200;let P=B**3,V=_**3,U=N**3;return B=P>.008856?P:(B-.13793103448275862)/7.787,_=V>.008856?V:(_-.13793103448275862)/7.787,N=U>.008856?U:(N-.13793103448275862)/7.787,_*=95.047,B*=100,N*=108.883,[_,B,N]},C.lab.lch=function(k){let _=k[0],B=k[1],N=k[2],P;return P=360*Math.atan2(N,B)/2/Math.PI,P<0&&(P+=360),[_,Math.sqrt(B*B+N*N),P]},C.lch.lab=function(k){let _=k[0],B=k[1],N=k[2]/360*2*Math.PI;return[_,B*Math.cos(N),B*Math.sin(N)]},C.rgb.ansi16=function(k,_=null){let[B,N,P]=k,V=_===null?C.rgb.hsv(k)[2]:_;if(V=Math.round(V/50),V===0)return 30;let U=30+(Math.round(P/255)<<2|Math.round(N/255)<<1|Math.round(B/255));return V===2&&(U+=60),U},C.hsv.ansi16=function(k){return C.rgb.ansi16(C.hsv.rgb(k),k[2])},C.rgb.ansi256=function(k){let _=k[0],B=k[1],N=k[2];return _===B&&B===N?_<8?16:_>248?231:Math.round((_-8)/247*24)+232:16+36*Math.round(_/255*5)+6*Math.round(B/255*5)+Math.round(N/255*5)},C.ansi16.rgb=function(k){let _=k%10;if(_===0||_===7)return k>50&&(_+=3.5),_=_/10.5*255,[_,_,_];let B=.5*(1+~~(k>50));return[(1&_)*B*255,(_>>1&1)*B*255,(_>>2&1)*B*255]},C.ansi256.rgb=function(k){if(k>=232){let B=10*(k-232)+8;return[B,B,B]}let _;return k-=16,[Math.floor(k/36)/5*255,Math.floor((_=k%36)/6)/5*255,_%6/5*255]},C.rgb.hex=function(k){let _=(((255&Math.round(k[0]))<<16)+((255&Math.round(k[1]))<<8)+(255&Math.round(k[2]))).toString(16).toUpperCase();return"000000".substring(_.length)+_},C.hex.rgb=function(k){let _=k.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!_)return[0,0,0];let B=_[0];_[0].length===3&&(B=B.split("").map((P=>P+P)).join(""));let N=parseInt(B,16);return[N>>16&255,N>>8&255,255&N]},C.rgb.hcg=function(k){let _=k[0]/255,B=k[1]/255,N=k[2]/255,P=Math.max(Math.max(_,B),N),V=Math.min(Math.min(_,B),N),U=P-V,Z,Q;return Z=U<1?V/(1-U):0,Q=U<=0?0:P===_?(B-N)/U%6:P===B?2+(N-_)/U:4+(_-B)/U,Q/=6,Q%=1,[360*Q,100*U,100*Z]},C.hsl.hcg=function(k){let _=k[1]/100,B=k[2]/100,N=B<.5?2*_*B:2*_*(1-B),P=0;return N<1&&(P=(B-.5*N)/(1-N)),[k[0],100*N,100*P]},C.hsv.hcg=function(k){let _=k[1]/100,B=k[2]/100,N=_*B,P=0;return N<1&&(P=(B-N)/(1-N)),[k[0],100*N,100*P]},C.hcg.rgb=function(k){let _=k[0]/360,B=k[1]/100,N=k[2]/100;if(B===0)return[255*N,255*N,255*N];let P=[0,0,0],V=_%1*6,U=V%1,Z=1-U,Q=0;switch(Math.floor(V)){case 0:P[0]=1,P[1]=U,P[2]=0;break;case 1:P[0]=Z,P[1]=1,P[2]=0;break;case 2:P[0]=0,P[1]=1,P[2]=U;break;case 3:P[0]=0,P[1]=Z,P[2]=1;break;case 4:P[0]=U,P[1]=0,P[2]=1;break;default:P[0]=1,P[1]=0,P[2]=Z}return Q=(1-B)*N,[255*(B*P[0]+Q),255*(B*P[1]+Q),255*(B*P[2]+Q)]},C.hcg.hsv=function(k){let _=k[1]/100,B=_+k[2]/100*(1-_),N=0;return B>0&&(N=_/B),[k[0],100*N,100*B]},C.hcg.hsl=function(k){let _=k[1]/100,B=k[2]/100*(1-_)+.5*_,N=0;return B>0&&B<.5?N=_/(2*B):B>=.5&&B<1&&(N=_/(2*(1-B))),[k[0],100*N,100*B]},C.hcg.hwb=function(k){let _=k[1]/100,B=_+k[2]/100*(1-_);return[k[0],100*(B-_),100*(1-B)]},C.hwb.hcg=function(k){let _=k[1]/100,B=1-k[2]/100,N=B-_,P=0;return N<1&&(P=(B-N)/(1-N)),[k[0],100*N,100*P]},C.apple.rgb=function(k){return[k[0]/65535*255,k[1]/65535*255,k[2]/65535*255]},C.rgb.apple=function(k){return[k[0]/255*65535,k[1]/255*65535,k[2]/255*65535]},C.gray.rgb=function(k){return[k[0]/100*255,k[0]/100*255,k[0]/100*255]},C.gray.hsl=function(k){return[0,0,k[0]]},C.gray.hsv=C.gray.hsl,C.gray.hwb=function(k){return[0,100,k[0]]},C.gray.cmyk=function(k){return[0,0,0,k[0]]},C.gray.lab=function(k){return[k[0],0,0]},C.gray.hex=function(k){let _=255&Math.round(k[0]/100*255),B=((_<<16)+(_<<8)+_).toString(16).toUpperCase();return"000000".substring(B.length)+B},C.rgb.gray=function(k){return[(k[0]+k[1]+k[2])/3/255*100]}},2085:(v,S,p)=>{let x=p(8168),D=p(4111),C={};Object.keys(x).forEach((k=>{C[k]={},Object.defineProperty(C[k],"channels",{value:x[k].channels}),Object.defineProperty(C[k],"labels",{value:x[k].labels});let _=D(k);Object.keys(_).forEach((B=>{let N=_[B];C[k][B]=(function(P){let V=function(...U){let Z=U[0];if(Z==null)return Z;Z.length>1&&(U=Z);let Q=P(U);if(typeof Q=="object")for(let se=Q.length,ge=0;ge<se;ge++)Q[ge]=Math.round(Q[ge]);return Q};return"conversion"in P&&(V.conversion=P.conversion),V})(N),C[k][B].raw=(function(P){let V=function(...U){let Z=U[0];return Z==null?Z:(Z.length>1&&(U=Z),P(U))};return"conversion"in P&&(V.conversion=P.conversion),V})(N)}))})),v.exports=C},4111:(v,S,p)=>{let x=p(8168);function D(_){let B=(function(){let P={},V=Object.keys(x);for(let U=V.length,Z=0;Z<U;Z++)P[V[Z]]={distance:-1,parent:null};return P})(),N=[_];for(B[_].distance=0;N.length;){let P=N.pop(),V=Object.keys(x[P]);for(let U=V.length,Z=0;Z<U;Z++){let Q=V[Z],se=B[Q];se.distance===-1&&(se.distance=B[P].distance+1,se.parent=P,N.unshift(Q))}}return B}function C(_,B){return function(N){return B(_(N))}}function k(_,B){let N=[B[_].parent,_],P=x[B[_].parent][_],V=B[_].parent;for(;B[V].parent;)N.unshift(B[V].parent),P=C(x[B[V].parent][V],P),V=B[V].parent;return P.conversion=N,P}v.exports=function(_){let B=D(_),N={},P=Object.keys(B);for(let V=P.length,U=0;U<V;U++){let Z=P[U];B[Z].parent!==null&&(N[Z]=k(Z,B))}return N}},8874:v=>{v.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},8180:(v,S,p)=>{p.d(S,{Z:()=>_});var x=p(4015),D=p.n(x),C=p(3645),k=p.n(C)()(D());k.push([v.id,".ck-content code{background-color:hsla(0,0%,78%,.3);border-radius:2px;padding:.15em}.ck.ck-editor__editable .ck-code_selected{background-color:hsla(0,0%,78%,.5)}","",{version:3,sources:["webpack://./node_modules/@ckeditor/ckeditor5-basic-styles/theme/code.css"],names:[],mappings:"AAKA,iBACC,kCAAuC,CAEvC,iBAAkB,CADlB,aAED,CAEA,0CACC,kCACD",sourcesContent:[`/*
5
5
  * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
6
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
7
  */
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.115 */
4
- import{c as $,f as k}from"./6Z4VQPIH.js";import{I as N,a as C,b as L,c as m,d as f,e as P,f as O,m as g,p as v,r as w}from"./EZSZLYQ3.js";var _=t=>(...s)=>{let o=f(),e=new t(...s),r=e.exports;m(o.at(-1));let n=e.component.manager;n.W(e,r),e.watchExports(n.W.bind(n,e)),P(e);let a=[e.component,...o].reverse();return v(a,i=>i===void 0?void 0:j(e,i,r),r)},j=(t,{host:s,key:o,isReactive:e},r)=>{let n=s,a=n[o]!==t.exports,i=n[o]!==r,c=r!==t.exports;if(a&&!i&&c&&(n[o]=t.exports),s===t.component){if(e){let l=t.component.manager;i&&l.W(t,n[o]),t.onUpdate(u=>{if(u.has(o)){let x=n[o];x!==t.exports&&l.W(t,x)}})}t.O=e?void 0:o}let d=t.component.constructor.elementProperties.get(o)?.readOnly;t.watchExports(()=>{n[o]!==t.exports&&(d?O(()=>{n[o]=t.exports}):n[o]=t.exports)})};var z="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),M=new Set(z),h="en",U={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},F=async(t,s,o="")=>{let e=`${s}/${o}`,r=`${e}${t}.json`;return b[r]??(b[r]=A(t,e)),await b[r]},b={},A=async(t,s)=>{let o=`${s}${t}.json`;try{let e=await fetch(o);if(e.ok)return await e.json()}catch(e){return g("error","intl",`An unknown error occurred while fetching localization strings at ${o}`,{detail:{error:e}}),{}}return t===h?{}:await A(h,s)},y=t=>{let s=k(t,"lang",globalThis.navigator?.language||h);return{lang:s,t9nLocale:T(s)}},T=t=>{let[s,o]=t.split("-"),e=s.toLowerCase(),r=e;return o&&(r=`${e}-${o.toUpperCase()}`),r=U[r]??r,M.has(r)?r:o?T(e):h},D=(t,s,o,e)=>{let r,n=()=>K(t,s(),e).then(a=>{(r?.lang!==a.lang||r.t9nLocale!==a.t9nLocale||r.t9nStrings!==a.t9nStrings)&&o(a),r=a}).catch(a=>{g("error","intl","Error updating component locale state",{detail:{error:a}})});return queueMicrotask(n),$(t,["lang"],n)},K=async(t,s,o=t.localName.split("-").slice(1).join("-"))=>{let{lang:e,t9nLocale:r}=y(t),n=`${s}/${o}/t9n`,i=o===null?{}:await F(r,n,"messages.");return{lang:e,t9nLocale:r,t9nStrings:i}};var W=t=>I(void 0,t);var E=class extends w{constructor(s,o){super(s);let e=this.exports;try{L(this.component);let r=o(this.component,this),n=this.exports!==e;if(C(r)){n||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(!n||r!==void 0)&&(this.exports=r),queueMicrotask(()=>super.catchUpLifecycle())}catch(r){this.P.reject(r)}}catchUpLifecycle(){}},I=_(E);var S=t=>(s={})=>W((o,e)=>{let r=y(o.el),n={_lang:r.lang,_t9nLocale:r.t9nLocale,_loading:!0},a=o;e.onLifecycle(()=>D(o.el,()=>t("./assets"),({t9nLocale:c,t9nStrings:p,lang:d})=>{let l={...p,_lang:d,_t9nLocale:c,_loading:!1};e.exports=l;let u=p.componentLabel;typeof u=="string"&&"label"in o&&o.label==null&&(o.label??=u),i(a.messageOverrides)},s.name));let i=c=>{let p=e.exports,d=p._original??p,l=V(d,c);c&&(l._original=d),e.exports=l};return"messageOverrides"in a&&e.onUpdate(c=>{c.has("messageOverrides")&&i(a.messageOverrides)}),s.blocking?(e.setProvisionalExports(n,!1),e.ready):n}),V=(t,s)=>{if(!s)return t;let o={...t};return Object.entries(s).forEach(([e,r])=>{t[e]!==void 0&&(typeof r=="object"?o[e]=V(t[e],r):o[e]=r??t[e])}),o};var ct=S(N);export{_ as a,ct as b};
3
+ v5.0.0-next.116 */
4
+ import{c as $,f as k}from"./77WFAVQF.js";import{I as N,a as C,b as L,c as m,d as f,e as P,f as O,m as g,p as v,r as w}from"./7YZAGJMR.js";var _=t=>(...s)=>{let o=f(),e=new t(...s),r=e.exports;m(o.at(-1));let n=e.component.manager;n.W(e,r),e.watchExports(n.W.bind(n,e)),P(e);let a=[e.component,...o].reverse();return v(a,i=>i===void 0?void 0:j(e,i,r),r)},j=(t,{host:s,key:o,isReactive:e},r)=>{let n=s,a=n[o]!==t.exports,i=n[o]!==r,c=r!==t.exports;if(a&&!i&&c&&(n[o]=t.exports),s===t.component){if(e){let l=t.component.manager;i&&l.W(t,n[o]),t.onUpdate(u=>{if(u.has(o)){let x=n[o];x!==t.exports&&l.W(t,x)}})}t.O=e?void 0:o}let d=t.component.constructor.elementProperties.get(o)?.readOnly;t.watchExports(()=>{n[o]!==t.exports&&(d?O(()=>{n[o]=t.exports}):n[o]=t.exports)})};var z="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),M=new Set(z),h="en",U={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},F=async(t,s,o="")=>{let e=`${s}/${o}`,r=`${e}${t}.json`;return b[r]??(b[r]=A(t,e)),await b[r]},b={},A=async(t,s)=>{let o=`${s}${t}.json`;try{let e=await fetch(o);if(e.ok)return await e.json()}catch(e){return g("error","intl",`An unknown error occurred while fetching localization strings at ${o}`,{detail:{error:e}}),{}}return t===h?{}:await A(h,s)},y=t=>{let s=k(t,"lang",globalThis.navigator?.language||h);return{lang:s,t9nLocale:T(s)}},T=t=>{let[s,o]=t.split("-"),e=s.toLowerCase(),r=e;return o&&(r=`${e}-${o.toUpperCase()}`),r=U[r]??r,M.has(r)?r:o?T(e):h},D=(t,s,o,e)=>{let r,n=()=>K(t,s(),e).then(a=>{(r?.lang!==a.lang||r.t9nLocale!==a.t9nLocale||r.t9nStrings!==a.t9nStrings)&&o(a),r=a}).catch(a=>{g("error","intl","Error updating component locale state",{detail:{error:a}})});return queueMicrotask(n),$(t,["lang"],n)},K=async(t,s,o=t.localName.split("-").slice(1).join("-"))=>{let{lang:e,t9nLocale:r}=y(t),n=`${s}/${o}/t9n`,i=o===null?{}:await F(r,n,"messages.");return{lang:e,t9nLocale:r,t9nStrings:i}};var W=t=>I(void 0,t);var E=class extends w{constructor(s,o){super(s);let e=this.exports;try{L(this.component);let r=o(this.component,this),n=this.exports!==e;if(C(r)){n||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(!n||r!==void 0)&&(this.exports=r),queueMicrotask(()=>super.catchUpLifecycle())}catch(r){this.P.reject(r)}}catchUpLifecycle(){}},I=_(E);var S=t=>(s={})=>W((o,e)=>{let r=y(o.el),n={_lang:r.lang,_t9nLocale:r.t9nLocale,_loading:!0},a=o;e.onLifecycle(()=>D(o.el,()=>t("./assets"),({t9nLocale:c,t9nStrings:p,lang:d})=>{let l={...p,_lang:d,_t9nLocale:c,_loading:!1};e.exports=l;let u=p.componentLabel;typeof u=="string"&&"label"in o&&o.label==null&&(o.label??=u),i(a.messageOverrides)},s.name));let i=c=>{let p=e.exports,d=p._original??p,l=V(d,c);c&&(l._original=d),e.exports=l};return"messageOverrides"in a&&e.onUpdate(c=>{c.has("messageOverrides")&&i(a.messageOverrides)}),s.blocking?(e.setProvisionalExports(n,!1),e.ready):n}),V=(t,s)=>{if(!s)return t;let o={...t};return Object.entries(s).forEach(([e,r])=>{t[e]!==void 0&&(typeof r=="object"?o[e]=V(t[e],r):o[e]=r??t[e])}),o};var ct=S(N);export{_ as a,ct as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.115 */
3
+ v5.0.0-next.116 */
4
4
  var o={arcgisAppCkeditor:"arcgis-app-ckeditor",arcgisAppCkeditorMentionHeader:"arcgis-app-ckeditor-mention-header",arcgisAppCkeditorMentionItem:"arcgis-app-ckeditor-mention-item",arcgisAppCkeditorMentionItemContainer:"arcgis-app-ckeditor-mention-item-container",arcgisAppCkeditorPopoverContainer:"arcgis-app-ckeditor-popover-container",arcgisAppCkeditorPopoverFooter:"arcgis-app-ckeditor-popover-footer",popover:"popover"};export{o as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.115 */
4
- import{a as X}from"./XIDH7CJH.js";import{a as J,b as Q}from"./CO6TDXJI.js";import{a as V,b as G,d as Z}from"./6Z4VQPIH.js";import{A as R,B as W,C as $,D as T,E as w,H as Y,g as H,i as f,o as q,p as K,q as E,s as j,t as O,z as A}from"./EZSZLYQ3.js";export default $arcgis.t(([{on:ze,watch:ee},{createObservable:ce,trackAccess:de},{property:Ne,subclass:Be},He,pe,{property:k,subclass:ve},{watch:F}])=>{var te=(i,e)=>t=>he(t,i),S=class extends j{constructor(e,t){super(e),this.Y=new Map,this.A=void 0,this.#r=ce();let r=this;r.#e=t,r.Z(),r.setProvisionalExports(ue(e,new WeakRef(r),e.M.length-1,r.instance,r.Y),!1),q(e,n=>{if(n){let a=ee(()=>e[n],l=>{if(l===r.instance)return;let s=r.instance;r.exports=l,r.instance=l,r.Y.forEach((o,d)=>e.requestUpdate(o,s[d])),r.#t&&s.destroy(),r.#t=!1},{sync:!0});r.onDestroy(a.remove)}},r.exports)}#t;#r;#e;get exports(){return de(this.#r),super.exports}set exports(e){super.exports=e,this.#r.notify()}Z(){let e=this;e.instance="prototype"in e.#e&&"declaredClass"in e.#e.prototype?new e.#e:e.#e(),e.#t=!0}hostConnected(){this.exports=this.instance}hostDestroy(){this.#t&&this.instance.destroy?.()}},he=J(S),ue=(i,e,t,r,n)=>new Proxy(r,{get:(a,l)=>{let s=a[l];if(typeof l=="symbol"||n.has(l))return s;let o=i.M[t];return o.A=l,K(i,d=>{if(o.A=void 0,d!==void 0){let c=d.key;n.set(l,c);let h=i.constructor.getPropertyOptions(c),u=l!==c&&c.toLowerCase().includes("disable");ge(e,h,l,c,u),h.i===void 0&&me(h,t,l,u)}},s)}}),ge=(i,e,t,r,n,a)=>a=ee(()=>{let l=i.deref();return l===void 0||l.component.manager.destroyed?a=a.remove():l.exports[t]},(l,s)=>{if(!a)return;i.deref().component?.requestUpdate(r,n?!s:s),e.c=!1},{sync:!0}),me=(i,e,t,r)=>{i.d.get=function(){let n=this.M[e]?.exports[t];return r?!n:n},i.d.set=function(n){let a=this.M[e];a.A!==t&&(a.exports[t]=r?!n:n)}};function*re(i,e){if(i!==void 0){let t=0;for(let r of i)yield e(r,t++)}}var fe=H`:host{display:flex;width:100%;height:100%;font-family:Avenir Next,Helvetica Neue,helvetica,arial,sans-serif;font-size:var(--calcite-font-size--2);font-variant-numeric:tabular-nums;--arcgis-slider-dash-length: 5px;--arcgis-slider-handle-size: .875rem;--arcgis-slider-track-background-color: var(--calcite-color-border-2);--arcgis-slider-internal-show-range-labels: 0;--arcgis-slider-internal-show-value-labels: 0;--arcgis-slider-internal-value-labels-placement-leading: 0;--arcgis-slider-internal-value-labels-placement-trailing: 0;--arcgis-slider-internal-range-labels-placement-center: 0;--arcgis-slider-internal-range-labels-placement-trailing: 0;--arcgis-slider-internal-handle-offset: calc(var(--arcgis-slider-handle-size) / 2);--arcgis-slider-internal-label-input-margin: calc(var(--arcgis-slider-internal-handle-offset) + 4px);--arcgis-slider-internal-label-input-height: var(--calcite-input-number-height, 1.5rem);--arcgis-slider-internal-track-size: 2px}:host([show-range-labels]){--arcgis-slider-internal-show-range-labels: 1}:host(:not([value-labels-display="hidden"])){--arcgis-slider-internal-show-value-labels: 1}:host([value-labels-placement="leading"]){--arcgis-slider-internal-value-labels-placement-leading: var(--arcgis-slider-internal-show-value-labels)}:host([value-labels-placement="trailing"]){--arcgis-slider-internal-value-labels-placement-trailing: var(--arcgis-slider-internal-show-value-labels)}:host([range-labels-placement="center"]){--arcgis-slider-internal-range-labels-placement-center: var(--arcgis-slider-internal-show-range-labels)}:host([range-labels-placement="trailing"]){--arcgis-slider-internal-range-labels-placement-trailing: var(--arcgis-slider-internal-show-range-labels)}:host([disabled]){cursor:default;opacity:var(--calcite-opacity-disabled);pointer-events:none}.content{direction:ltr;flex:1;touch-action:none;user-select:none;display:grid;word-wrap:normal;word-break:normal;padding-block:var(--arcgis-slider-internal-handle-offset)}.track-container{grid-area:track-container;position:relative;display:flex;justify-content:center;align-items:center}.track{touch-action:none;position:relative}.track-bounds{background-color:var(--calcite-color-border-2)}.track-fill{--arcgis-slider-track-background-color: var(--calcite-color-brand)}:host([layout="vertical"]){.track-effective-leading{background:repeating-linear-gradient(to bottom,var(--arcgis-slider-track-background-color) 0 var(--arcgis-slider-dash-length),color-mix(in srgb,transparent 75%,var(--arcgis-slider-track-background-color) 25%) var(--arcgis-slider-dash-length) calc(var(--arcgis-slider-dash-length) * 2))}.track-effective-trailing{background:repeating-linear-gradient(to top,var(--arcgis-slider-track-background-color) 0 var(--arcgis-slider-dash-length),color-mix(in srgb,transparent 75%,var(--arcgis-slider-track-background-color) 25%) var(--arcgis-slider-dash-length) calc(var(--arcgis-slider-dash-length) * 2))}}:host([layout="horizontal"]){.track-effective-leading{background:repeating-linear-gradient(to right,var(--arcgis-slider-track-background-color) 0 var(--arcgis-slider-dash-length),color-mix(in srgb,transparent 75%,var(--arcgis-slider-track-background-color) 25%) var(--arcgis-slider-dash-length) calc(var(--arcgis-slider-dash-length) * 2))}.track-effective-trailing{background:repeating-linear-gradient(to left,var(--arcgis-slider-track-background-color) 0 var(--arcgis-slider-dash-length),color-mix(in srgb,transparent 75%,var(--arcgis-slider-track-background-color) 25%) var(--arcgis-slider-dash-length) calc(var(--arcgis-slider-dash-length) * 2))}}.track-range{background-color:var(--calcite-color-brand);&.active{box-shadow:0 0 8px #00000029;outline:1px solid var(--calcite-color-focus, var(--calcite-color-focus, var(--calcite-color-brand)))}}:host([disabled]) .track-range{background-color:var(--calcite-color-text-3)}:host([layout="horizontal"]){.track-range.interactive{&:after{all:initial;cursor:ew-resize;position:absolute;inline-size:100%;content:"";inset-block-start:calc(-1 * var(--arcgis-slider-internal-handle-offset));block-size:var(--arcgis-slider-handle-size);margin-top:1px}}}:host([layout="vertical"]){.track-range.interactive{&:after{all:initial;cursor:ns-resize;position:absolute;inline-size:100%;content:"";inset-block-start:var(--arcgis-slider-internal-handle-offset);block-size:var(--arcgis-slider-handle-size);margin-left:1px}}}.segment{transform-origin:0 0;inset-block-start:0px;block-size:.125rem;position:absolute;top:0;left:0}.thumb{-webkit-user-select:none;user-select:none;background-color:#4c4c4c;position:absolute}.thumb:focus,.thumb.active{.handle{background-color:var(--calcite-color-brand);box-shadow:0 0 8px #00000029;outline:2px solid var(--calcite-color-focus, var(--calcite-color-focus, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}}.handle{cursor:pointer;box-sizing:border-box;z-index:1;touch-action:none;background-color:var(--calcite-color-foreground-1);box-shadow:0 0 0 2px var(--calcite-color-text-3) inset;border-radius:var(--arcgis-slider-handle-size);width:var(--arcgis-slider-handle-size);height:var(--arcgis-slider-handle-size);transition:all .125s ease-in-out;position:absolute;top:calc(var(--arcgis-slider-internal-handle-offset) * -1);left:calc(var(--arcgis-slider-internal-handle-offset) * -1)}.handle:hover{box-shadow:0 0 0 3px var(--calcite-color-brand) inset}.label{position:absolute;will-change:transform}.label[hidden]{display:block;opacity:0;pointer-events:none}.min{grid-area:range-start}.max{grid-area:range-end}:host([layout="horizontal"][mirrored][range-labels-placement="center"]),:host([layout="vertical"]:not([mirrored])){.min{grid-area:range-end}.max{grid-area:range-start}}.content-start{grid-area:content-start;display:flex}.content-end{grid-area:content-end;display:flex}:host([layout="vertical"]){.content{grid-template:". range-start range-start range-start ." "content-start content-start track-container content-end content-end" ". range-end range-end range-end .";grid-template-rows:auto 1fr auto;grid-template-columns:1fr auto auto auto 1fr;row-gap:var(--arcgis-slider-internal-handle-offset)}.track-container{flex-direction:column}.track{flex:1;width:var(--arcgis-slider-internal-track-size)}.segment{writing-mode:vertical-lr}.label{top:calc(var(--arcgis-slider-internal-label-input-height) * -.5)}&:host([value-labels-placement="leading"]){.label{right:var(--arcgis-slider-internal-label-input-margin)}}&:host([value-labels-placement="trailing"]){.label{left:var(--arcgis-slider-internal-label-input-margin)}}}:host([layout="horizontal"][range-labels-placement="center"]){.content{--arcgis-slider-internal-content-start-min-height: calc( ((1 - var(--arcgis-slider-internal-show-range-labels)) * var(--arcgis-slider-internal-handle-offset)) + ( var(--arcgis-slider-internal-value-labels-placement-leading) * var(--arcgis-slider-internal-label-input-height) ) );--arcgis-slider-internal-content-end-min-height: calc( ((1 - var(--arcgis-slider-internal-show-range-labels)) * var(--arcgis-slider-internal-handle-offset)) + ( var(--arcgis-slider-internal-value-labels-placement-trailing) * var(--arcgis-slider-internal-label-input-height) ) );column-gap:calc(var(--arcgis-slider-internal-show-range-labels) * var(--arcgis-slider-internal-handle-offset) / 2);padding-inline:calc((1 - var(--arcgis-slider-internal-show-range-labels)) * var(--arcgis-slider-internal-handle-offset));grid-template:". content-start ." "range-start content-start range-end" "range-start track-container range-end" "range-start content-end range-end" ". content-end .";grid-template-columns:auto 1fr auto;grid-template-rows:minmax(var(--arcgis-slider-internal-content-start-min-height),auto) calc(var(--arcgis-slider-internal-show-range-labels) * calc(calc(var(--arcgis-slider-internal-label-input-height) / 2) - calc(var(--arcgis-slider-internal-track-size) / 2))) var(--arcgis-slider-internal-track-size) calc(var(--arcgis-slider-internal-show-range-labels) * calc(calc(var(--arcgis-slider-internal-label-input-height) / 2) - calc(var(--arcgis-slider-internal-track-size) / 2))) minmax(var(--arcgis-slider-internal-content-end-min-height),auto)}.track{flex:1;height:var(--arcgis-slider-internal-track-size)}&:host([value-labels-placement="leading"]){.label{bottom:var(--arcgis-slider-internal-label-input-margin)}}&:host([value-labels-placement="trailing"]){.label{top:var(--arcgis-slider-internal-label-input-margin)}}}:host([layout="horizontal"][range-labels-placement="trailing"]){.content{--arcgis-slider-internal-content-start-min-height: calc( var(--arcgis-slider-internal-handle-offset) + var(--arcgis-slider-internal-value-labels-placement-leading) * var(--arcgis-slider-internal-label-input-height) );--arcgis-slider-internal-content-end-min-height: calc( var(--arcgis-slider-internal-value-labels-placement-trailing) * var(--arcgis-slider-internal-label-input-height) );padding-inline:var(--arcgis-slider-internal-handle-offset);grid-template:"content-start content-start content-start" "track-container track-container track-container" "content-end content-end content-end" "content-end content-end content-end" "content-end content-end content-end";grid-template-columns:auto;grid-template-rows:minmax(var(--arcgis-slider-internal-content-start-min-height),auto) var(--arcgis-slider-internal-track-size) var(--arcgis-slider-internal-handle-offset) calc(var(--arcgis-slider-internal-range-labels-placement-trailing) * var(--arcgis-slider-internal-label-input-height)) minmax(var(--arcgis-slider-internal-content-end-min-height),auto);column-gap:var(--arcgis-slider-internal-handle-offset)}.track{flex:1;height:var(--arcgis-slider-internal-track-size)}&:host([value-labels-placement="leading"]){.label{bottom:var(--arcgis-slider-internal-label-input-margin)}}&:host([value-labels-placement="trailing"]){.label{top:calc(var(--arcgis-slider-internal-label-input-margin) + var(--arcgis-slider-internal-range-labels-placement-trailing) * (var(--arcgis-slider-internal-label-input-height)))}}.min,.max{--arcgis-slider-internal-range-translation: calc(var(--arcgis-slider-internal-handle-offset) + .5rem + 1px);grid-area:unset;grid-row:-3}&:host(:not([mirrored])){.min{grid-column:1;transform:translate(calc(var(--arcgis-slider-internal-range-translation) * -1))}.max{grid-column:3;transform:translate(var(--arcgis-slider-internal-range-translation))}}&:host([mirrored]){.min{grid-column:3;transform:translate(var(--arcgis-slider-internal-range-translation))}.max{grid-column:1;transform:translate(calc(var(--arcgis-slider-internal-range-translation) * -1))}}}`,be=Object.defineProperty,_e=Object.getOwnPropertyDescriptor,y=(i,e,t,r)=>{for(var n=r>1?void 0:r?_e(e,t):e,a=i.length-1,l;a>=0;a--)(l=i[a])&&(n=(r?l(e,t,n):l(n))||n);return r&&n&&be(e,t,n),n};function xe(){return{min:0,max:100,values:[]}}var _=class extends pe{constructor(i={}){super({...xe(),properties:i}),this._entries=new Map,this.precision=4,this.ready=!1}startup(){let{precision:i}=this,{min:e,max:t,values:r}=this;t=b(t,i),e=b(e,i),r=r?.map(a=>I(b(a,i),e,t)),this._set("min",e),this._set("max",t),this._set("values",r);let n=new Map(r?.map(a=>[O(),a]));this._entries=n,F(()=>this.min,a=>{let l=this.values;a!=null&&l?.length&&l.some(s=>s<a)&&(this._entries.forEach((s,o)=>{s<a&&this._entries.set(o,a)}),this._updatesValues())},{sync:!0}),F(()=>this.max,a=>{let l=this.values;a!=null&&l?.length&&l.some(s=>s>a)&&(this._entries.forEach((s,o)=>{s>a&&this._entries.set(o,a)}),this._updatesValues())},{sync:!0}),F(()=>this.precision,a=>{let{min:l,max:s,values:o}=this;this._set("min",b(l,a)),this._set("max",b(s,a)),o?.length&&(this._entries.forEach((d,c)=>{this._entries.set(c,b(d,a))}),this._updatesValues())},{sync:!0}),this._set("ready",!0)}get entries(){return this._entries}set max(i){if(!this.ready){this._set("max",i);return}let e=this._get("max"),t=b(i,this.precision);e!==t&&this._set("max",t)}set min(i){if(!this.ready){this._set("min",i);return}let e=this._get("min"),t=b(i,this.precision);e!==t&&this._set("min",t)}set values(i){if(!this.ready){this._set("values",i);return}let e=this._get("values");if(i=i?.map(r=>I(b(r,this.precision),this.min,this.max)).sort((r,n)=>r-n),e&&i&&e.length===i.length&&e.every((r,n)=>r===i[n]))return;let t=new Map(i?.map(r=>[O(),r]));this._entries=t,this._set("values",i)}getValue(i){return this._entries.get(i)}setValue(i,e){if(this.values==null)return!1;let{min:t,max:r}=this,n=this._entries.get(i),a=I(b(e,this.precision),t,r);return n===a?!1:(this._entries.set(i,a),this._updatesValues(),!0)}setValues(i){if(this.values==null)return!1;let e=!1,{min:t,max:r}=this;for(let[n,a]of i){let l=this._entries.get(n),s=I(b(a,this.precision),t,r);l!==s&&(e=!0,this._entries.set(n,s))}return e?(this._updatesValues(),!0):!1}_updatesValues(){let i=Array.from(this._entries.values()).sort((e,t)=>e-t);this._set("values",i)}};y([k()],_.prototype,"_entries",2);y([k({readOnly:!0})],_.prototype,"entries",1);y([k()],_.prototype,"max",1);y([k()],_.prototype,"min",1);y([k({cast:i=>I(i,0,20)})],_.prototype,"precision",2);y([k({readOnly:!0})],_.prototype,"ready",2);y([k()],_.prototype,"values",1);_=y([ve("esri.widgets.Slider.SliderData")],_);function I(i,e,t){return Math.min(Math.max(i,e),t)}function b(i,e){return Number.parseFloat(i.toFixed(e))}var N=class{constructor(e){this.steps=e,this.minIndex=0,this.maxIndex=this.steps.length-1}indexToValue(e){return this.steps[P(e,this.minIndex,this.maxIndex)]}valueToIndex(e){let t=this.steps.indexOf(e);return t!==-1?t:this.steps.reduce((r,n,a,l)=>Math.abs(n-e)<Math.abs(l[r]-e)?a:r)}},B=class{constructor(e,t,r){this.min=e,this.max=t,this.stepSize=r,this.minIndex=0,this.maxIndex=Math.round((this.max-this.min)/this.stepSize)}indexToValue(e){return this.min+P(e,this.minIndex,this.maxIndex)*this.stepSize}valueToIndex(e){return e=P(e,this.min,this.max),Math.round((e-this.min)/this.stepSize)}};function ye(i){if(i.steps==null)return null;let e=i.steps;return Array.isArray(e)?e.length===0?null:new N(e):new B(i.min,i.max,e)}function we(i,e,t){if(i==null){let s=new Map;for(let[o,d]of e.entries())s.set(o,d+t);return s}let r=e.size,n=Array.from(e.entries()).map(([s,o])=>{let d=o+t,c=[];for(let h=i.minIndex;h<=i.maxIndex;h++){let u=i.indexToValue(h),p=Math.abs(u-d),g=!1;for(let v=0;v<c.length;v++)if(p<c[v].dist){c.splice(v,0,{idx:h,value:u,dist:p}),g=!0;break}!g&&c.length<r&&c.push({idx:h,value:u,dist:p}),c.length>r&&(c.length=r)}return{uuid:s,stepDistances:c}}),a=new Set,l=new Map;n.sort((s,o)=>s.stepDistances[0].dist-o.stepDistances[0].dist);for(let s of n){let o=s.stepDistances.find(d=>!a.has(d.idx));o?(a.add(o.idx),l.set(s.uuid,o.value)):l.set(s.uuid,e.get(s.uuid))}return l}function ae(i,e,t,r,n){let a=e.get(t)??0;if(!i)return a+r;let l=a+r,s=new Set;if(!n)for(let[c,h]of e.entries())c!==t&&s.add(i.valueToIndex(h));let o=null,d=1/0;for(let c=i.minIndex;c<=i.maxIndex;c++){if(s.has(c))continue;let h=i.indexToValue(c),u=Math.abs(h-l);u<d&&(d=u,o=c)}return o==null?a:i.indexToValue(o)}function ke(i,e,t){let r=new Map,n=t>0?Ee:le,a=Array.from(e).sort((o,d)=>n(o[1],d[1])),l=!1,s=!0;for(let[o,d]of a)if(r.set(o,d),s){let c=se(i,r,o,t);d===c&&(s=!1),l||=s,r.set(o,c)}return{changed:l,entries:r}}function se(i,e,t,r){let{allowValuesOverlap:n,stepsProvider:a,resolution:l,min:s,max:o}=i,d=e.get(t);if(r=r>0?1:-1,!a){let m=P(d+r*l,s,o);if(n)return m;let x=new Set;for(let[M,oe]of e)M!==t&&x.add(oe);for(;x.has(m)&&m<=o&&m>=s;)m=P(m+r*l,s,o);return x.has(m)||m>o||m<s?d:m}let c=a.valueToIndex(d);if(c===-1)return d;if(n){let m=P(c+r,a.minIndex,a.maxIndex);return a.indexToValue(m)}let h=new Set;for(let[m,x]of e)m!==t&&h.add(a.valueToIndex(x));let u=c,p=!1,g=a.minIndex,v=a.maxIndex,D=0;for(;D<Math.abs(v-g)&&(u+=r,!(u<g||u>v));){if(!h.has(u)){p=!0;break}D++}return p?a.indexToValue(u):d}function De(i,e,t,r){let{allowValuesOverlap:n,stepsProvider:a,resolution:l,min:s,max:o}=i,d=e.get(t);if(r=r>0?1:-1,!a){let p=new Set(Array.from(e).filter(([v])=>v!==t).map(([,v])=>v)),g=r>0?o:s;if(n)return g;for(;p.has(g);)if(g-=r*l,r>0&&g>o||r<0&&g<s){g=d;break}return g}if(n)return r>0?a.indexToValue(a.maxIndex):a.indexToValue(a.minIndex);let c=a.valueToIndex(d);if(c===-1)return d;let h=new Set(Array.from(e).filter(([p])=>p!==t).map(([,p])=>a.valueToIndex(p))),u=r>0?a.maxIndex:a.minIndex;for(;h.has(u);)if(u-=r,r>0&&u>o||r<0&&u<s){u=c;break}return a.indexToValue(u)}function Pe(i,e,t){let{stepsProvider:r,min:n,max:a}=i,l=new Map,s=Array.from(e).sort((d,c)=>le(d[1],c[1]));if(r){let d=0;if(t>0){let c=s[s.length-1],h=r.valueToIndex(c[1]);d=r.maxIndex-h}else{let c=s[0],h=r.valueToIndex(c[1]);d=r.minIndex-h}if(d===0)for(let[c,h]of s)l.set(c,h);for(let[c,h]of s){let u=r.indexToValue(r.valueToIndex(h)+d);l.set(c,u)}return l}let o=0;if(t>0){let d=s[s.length-1];o=a-d[1]}else{let d=s[0];o=n-d[1]}for(let[d,c]of s)l.set(d,c+o);return l}function le(i,e){return i-e}function Ee(i,e){return e-i}function P(i,e,t){return Math.max(e,Math.min(t,i))}var $e=te(_),U=class extends W{constructor(){super(...arguments),this._popoverElement=A(),this._trackElement=A(),this.messages=Q({}),this._onPointerMoveDragUpdate=e=>{this._updateDrag(this._mapEventToRange(e))},this._onPointerUpDragEnd=e=>{L(e)&&this._endDrag()},this._onPointerCancelDragEnd=()=>{this._endDrag()},this._minFormatter=e=>this._formatLabel(e,"min"),this._maxFormatter=e=>this._formatLabel(e,"max"),this._valueFormatter=e=>this._formatLabel(e,"value"),this._formatLabel=(e,t)=>{let r=this.labelFormatter;return r?r(e,t,this._defaultFormatter)??this._defaultFormatter(e):this._defaultFormatter(e)},this._defaultFormatter=e=>this._numberFormatter.format(e),this._numberFormatter=new Intl.NumberFormat(this.messages._lang),this._resizeObserver=new ResizeObserver(()=>{this._layoutLabelInputs()}),this._labelInputsUpdateComplete=null,this._dragInfo=null,this._hasPopoverContent=!1,this._hasContentStart=!1,this._hasContentEnd=!1,this._sliderData=$e(this),this.allowValuesOverlap=!1,this.autoDestroyDisabled=!1,this.disabled=!1,this.fillPlacement="start",this.layout="horizontal",this.max=this._sliderData.max,this.min=this._sliderData.min,this.mirrored=!1,this.popoverLabel="",this.popoverPlacement="leading",this.precision=this._sliderData.precision,this.rangeLabelsEditingEnabled=!1,this.rangeLabelsPlacement="center",this.segmentsDraggingDisabled=!1,this.showRangeLabels=!1,this.valueLabelsDisplay="hidden",this.valueLabelsPlacement="leading",this.valueLabelsEditingEnabled=!1,this.values=this._sliderData.values,this.arcgisActiveValueChange=E({cancelable:!1}),this.arcgisChange=E({cancelable:!1}),this.arcgisInput=E({cancelable:!1}),this.arcgisRangeChange=E({cancelable:!1})}static{this.properties={_dragInfo:16,_hasPopoverContent:16,_hasContentStart:16,_hasContentEnd:16,_activePart:16,_sliderData:16,activeValue:32,allowValuesOverlap:5,autoDestroyDisabled:5,disabled:[7,{useDefault:!0}],fullRangeMax:11,fullRangeMin:11,fillPlacement:1,labelFormatter:0,layout:3,max:11,min:11,mirrored:[7,{useDefault:!0}],popoverLabel:1,popoverPlacement:3,precision:11,rangeLabelsEditingEnabled:5,rangeLabelsPlacement:3,segmentsDraggingDisabled:5,showRangeLabels:7,steps:[9,{converter:{fromAttribute(e){if(e.includes(","))return e.split(",").filter(r=>r.trim()!=="").map(parseFloat).filter(r=>Number.isFinite(r));let t=parseFloat(e);return Number.isFinite(t)?t:void 0}}}],valueLabelsDisplay:3,valueLabelsPlacement:3,valueLabelsEditingEnabled:5,values:[1,{converter:{fromAttribute(e){return e.includes(",")?e.split(",").filter(t=>t.trim()!=="").map(parseFloat).filter(t=>Number.isFinite(t)):[parseFloat(e)].filter(t=>Number.isFinite(t))}}}],messageOverrides:0}}static{this.styles=fe}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}get _fullMin(){return this.fullRangeMin??this.min}get _fullMax(){return this.fullRangeMax??this.max}get _fullRange(){return this._fullMax-this._fullMin}get isHorizontal(){return this.layout==="horizontal"}get _trackWidthOrHeight(){let e=this._trackElement.value?.getBoundingClientRect();return e?this.isHorizontal?e.width:e.height:0}get _disabledOrInvalid(){return this.disabled||this.values.length===0||this._invalid}get _invalid(){let e=this.fullRangeMin==null||this.fullRangeMax==null||this.fullRangeMin<this.fullRangeMax,t=this.fullRangeMin==null||this.fullRangeMin<=this.min,r=this.fullRangeMax==null||this.fullRangeMax>=this.max;return this.min>=this.max||!e||!t||!r}get resolution(){let e=(this._sliderData.max-this._sliderData.min)/this._trackWidthOrHeight;return Math.max(e,1/Math.pow(10,this.precision))}get activeValue(){if(this._activePart)return this._activePart==="range"?"all":this._sliderData.getValue(this._activePart)}async destroy(){await this.manager.destroy()}load(){this._sliderData.startup()}willUpdate(e){if((e.has("steps")||e.has("min")||e.has("max"))&&(this._stepsProvider=ye(this)),e.has("messages")||e.has("min")||e.has("max")||e.has("precision")){let t=this.max!=null&&this.min!=null&&this.max-this.min>10?2:this.precision;this._numberFormatter=new Intl.NumberFormat(this.messages._lang,{maximumFractionDigits:t})}}updated(e){this._layoutLabelInputs();let t=this._popoverElement.value;t&&(e.has("values")||e.has("min")||e.has("max"))&&t.reposition()}loaded(){this._resizeObserver.observe(this.el)}disconnectedCallback(){super.disconnectedCallback(),this._removeDragListeners()}_makeResizeRef(){let e=null;return t=>{t?(e=t,this._resizeObserver.observe(t)):e&&(this._resizeObserver.unobserve(e),e=null)}}async _layoutLabelInputs(){if(this.layout!=="horizontal"||!this._trackElement.value||this.valueLabelsDisplay==="hidden")return;let e=this.renderRoot.querySelectorAll("arcgis-label-input"),t=this.componentOnReady().then(()=>Promise.all(Array.from(e,a=>a.updateComplete)));if(this._labelInputsUpdateComplete=t,await t,t!==this._labelInputsUpdateComplete)return;this._labelInputsUpdateComplete=null;let{_trackElement:{value:r}}=this,n=r.getBoundingClientRect();for(let a of this._sliderData.entries.keys()){let l=this._activePart==="range"||this._activePart===a;if(this.valueLabelsDisplay==="always"||l){let s=Re(this,a),o=ie(this,a);if(!s||!o)continue;let d=s.getBoundingClientRect(),c=o.getBoundingClientRect(),h=o.getLabelBoundingClientRect(),u=d.width/2,p=Math.round(d.left+u),g=Math.round(h.width/2),v=c.width/2,D=n.left-u,m=n.right+u,x=p-g,M=p+g;x<D?v+=x-D:M>m&&(v+=M-m),o.style.transform=`translateX(${-Math.round(v)}px)`}}}_onTrackFocus(){this._setActivePart("range")}_onTrackBlur(){this._setActivePart(null)}_onTrackRangePointerDown(e){this._disabledOrInvalid||!L(e)||this._startDrag("range",this._mapEventToRange(e))}async _onPointerDown(e){if(this._disabledOrInvalid||!L(e))return;let t=this.renderRoot.querySelector("arcgis-label-input[editing]");if(e.target===t)return;if(t){t.blur(),this._focusEntry(C(t));return}if(Ce(e.target)||this.values?.length>1)return;let r=this._mapEventToRange(e),[n,a]=this._sliderData.entries.entries().next().value,l=r*this._fullRange+this._fullMin-a,s=z(this._fullMin,this._fullMax,a)/100;this._startDrag(n,s);let o=ae(this._stepsProvider,this._sliderData.entries,n,l,this.allowValuesOverlap);this._setValue(n,o),this._focusEntry(n)}_onThumbPointerDown(e){let t=C(e.currentTarget);if(!L(e)||this._disabledOrInvalid||!t)return;let r=ie(this,t);e.target===r&&r?.editing||(e.stopPropagation(),this._startDrag(t,this._mapEventToRange(e)))}_endDrag(){if(this._disabledOrInvalid)return;this._removeDragListeners();let e=!1;if(this._dragInfo){let{entries:t}=this._dragInfo;for(let[r,n]of t)if(this._sliderData.getValue(r)!==n){e=!0;break}}this._dragInfo=null,e&&this.arcgisChange.emit()}_startDrag(e,t){if(this._disabledOrInvalid)return;let{min:r,max:n,values:a}=this,l=r,s=n;if(this._setActivePart(e),e==="range"){if(this.segmentsDraggingDisabled)return;l=r-a[0],s=n-a[a.length-1]}this._dragInfo={position:t,entries:new Map(this._sliderData.entries.entries()),minDiff:l,maxDiff:s},this._addDragListeners()}_updateDrag(e){if(!this._dragInfo||!this._activePart)return;let{_activePart:t,_dragInfo:{position:r,entries:n,minDiff:a,maxDiff:l}}=this;if(r===e)return;let s=(e-r)*this._fullRange;if(t==="range"){s=Math.min(l,Math.max(a,s));let o=we(this._stepsProvider,n,s);this._setValues(o)}else{let o=ae(this._stepsProvider,n,t,s,this.allowValuesOverlap);this._setValue(t,o)}}_focusEntry(e){e&&Me(this,e)?.focus()}_addDragListeners(){document.addEventListener("pointerup",this._onPointerUpDragEnd),document.addEventListener("pointermove",this._onPointerMoveDragUpdate),document.addEventListener("pointercancel",this._onPointerCancelDragEnd)}_removeDragListeners(){document.removeEventListener("pointerup",this._onPointerUpDragEnd),document.removeEventListener("pointermove",this._onPointerMoveDragUpdate),document.removeEventListener("pointercancel",this._onPointerCancelDragEnd)}_setValues(e){this._sliderData.setValues(e)&&(this._dragInfo||this.arcgisChange.emit(),this.arcgisInput.emit())}_setValue(e,t){this._sliderData.setValue(e,t)&&(this._dragInfo||this.arcgisChange.emit(),this.arcgisInput.emit())}_onThumbFocus(e){let t=C(e.currentTarget);this._setActivePart(t)}_onThumbBlur(){this._setActivePart(null)}_onRangeInputChange(e){let t=e.currentTarget,r=t.value,n=t.dataset.type,a=!1;switch(e.stopPropagation(),n){case"min":{r<this.max?(this.min=r,a=!0):t.value=this.min;break}case"max":{r>this.min?(this.max=r,a=!0):t.value=this.max;break}}a&&this.arcgisRangeChange.emit()}_onValueInputChange(e){let t=e.currentTarget,r=C(t),n=t.value;r&&(e.stopPropagation(),this._setValue(r,n),t.value=this._sliderData.getValue(r))}_mapEventToRange(e){let t=this._trackElement.value?.getBoundingClientRect();if(!t)return 0;let r=this.isHorizontal?(e.clientX-t.left)/t.width:1-(e.clientY-t.top)/t.height;return this.mirrored?1-r:r}_getPositionStyleForElement(e){let t=z(this._fullMin,this._fullMax,e);return{[this.isHorizontal?this.mirrored?"right":"left":this.mirrored?"top":"bottom"]:`${t}%`}}_popoverSlotChange(e){this._hasPopoverContent=V(e)}_onContentStartSlotChange(e){this._hasContentStart=V(e)}_onContentEndSlotChange(e){this._hasContentEnd=V(e)}_onThumbKeyDown(e){let t=C(e.currentTarget);if(!t)return;let r=e.currentTarget.querySelector("arcgis-label-input");if(!r||r.editing)return;let n=e.key;switch(n){case"Enter":{r.edit();break}case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":{e.preventDefault();let a=n==="ArrowUp"||n==="ArrowRight"?1:-1;a=this.mirrored?a*-1:a;let l=se({allowValuesOverlap:this.allowValuesOverlap,stepsProvider:this._stepsProvider,resolution:this.resolution,min:this.min,max:this.max},this._sliderData.entries,t,a);this._setValue(t,l);break}case"End":case"Home":{e.preventDefault();let a=this.isHorizontal&&this.mirrored||this.layout==="vertical"?n==="End"?-1:1:n==="Home"?-1:1,l=De({allowValuesOverlap:this.allowValuesOverlap,stepsProvider:this._stepsProvider,resolution:this.resolution,min:this.min,max:this.max},this._sliderData.entries,t,a);this._setValue(t,l);break}}}_onTrackRangeKeyDown(e){let t=e.key;switch(t){case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":{e.preventDefault();let r=t==="ArrowUp"||t==="ArrowRight"?1:-1;r=this.mirrored?r*-1:r;let{entries:n}=ke({allowValuesOverlap:this.allowValuesOverlap,stepsProvider:this._stepsProvider,resolution:this.resolution,min:this.min,max:this.max},this._sliderData.entries,r);this._setValues(n);break}case"End":case"Home":{e.preventDefault();let r=this.isHorizontal&&this.mirrored||this.layout==="vertical"?t==="End"?-1:1:t==="Home"?-1:1,n=Pe({allowValuesOverlap:this.allowValuesOverlap,stepsProvider:this._stepsProvider,resolution:this.resolution,min:this.min,max:this.max},this._sliderData.entries,r);this._setValues(n);break}}}_setActivePart(e){this._activePart!==e&&(this._activePart=e,this.arcgisActiveValueChange.emit())}render(){return f`<div class=${$({content:!0,disabled:this._disabledOrInvalid})} @pointerdown=${this._onPointerDown}>${this._renderContentStart()}${this._renderContentEnd()}${this._renderRangeLabel("min")}${this._renderTrackRange()}${this._renderRangeLabel("max")}${this._renderPopover()}</div>`}_renderPopover(){let{_activePart:e,layout:t,popoverPlacement:r,valueLabelsPlacement:n,valueLabelsDisplay:a,popoverLabel:l}=this,s=e?Ie(e)?e:"track-range":"",o=this._hasPopoverContent&&!!s,d=t==="horizontal"?r==="leading"?"top":"bottom":r==="leading"?"left":"right",c=14;return a!=="hidden"&&r===n&&(c+=24),f`<calcite-popover flip-disabled focus-trap-disabled .label=${l} .open=${o} .offsetDistance=${c} .placement=${d} pointer-disabled .referenceElement=${s} scale=s trigger-disabled ${R(this._popoverElement)}><slot name=popover @slotchange=${this._popoverSlotChange}></slot></calcite-popover>`}_renderContentStart(){return f`<div class="content-start" .hidden=${!this._hasContentStart}><slot name=content-start @slotchange=${this._onContentStartSlotChange}></slot></div>`}_renderContentEnd(){return f`<div class="content-end" .hidden=${!this._hasContentEnd}><slot name=content-end @slotchange=${this._onContentEndSlotChange}></slot></div>`}_renderTrackRange(){return f`<div class="track-container">${this._renderTrack()}${this._renderThumbs()}</div>`}_renderTrack(){return f`<div class="track" ${R(this._trackElement)}>${this._renderTrackBackground()}${this._renderFillSegment()}</div>`}_renderTrackBackground(){let{max:e,min:t,fillPlacement:r,values:n}=this,a=n.length>1,l=this._fullMin,s=this._fullMax,o=[];return this._invalid?f`<div class="segment track-bounds" style=${T({left:"0%",right:"0%",top:"0%",bottom:"0%"})}></div>`:(l<t&&(o.push(this._renderSegment(l,t,[this.mirrored?"track-effective-trailing":"track-effective-leading",!a&&r==="start"?"track-fill":null])),l=t),s>e&&(o.push(this._renderSegment(e,s,[this.mirrored?"track-effective-leading":"track-effective-trailing",!a&&r==="end"?"track-fill":null])),s=e),o.push(this._renderSegment(l,s,["track-bounds"])),o)}_renderFillSegment(){let{values:e,fillPlacement:t,min:r,max:n}=this;if(!e?.length||this._invalid)return;let a=[...e].sort((l,s)=>l-s);if(a.length===1)switch(t){case"start":if(r<a[0])return this._renderSegment(r,a[0],["track-range"]);break;case"end":if(n>a[0])return this._renderSegment(a[0],n,["track-range"]);break}return this._renderSegment(a[0],a[a.length-1],["track-range",this.segmentsDraggingDisabled?null:"interactive",this._activePart==="range"?"active":null],{id:"track-range",onFocus:this.segmentsDraggingDisabled?void 0:this._onTrackFocus,onBlur:this.segmentsDraggingDisabled?void 0:this._onTrackBlur,onPointerDown:this.segmentsDraggingDisabled?void 0:this._onTrackRangePointerDown,onKeyDown:this.segmentsDraggingDisabled?void 0:this._onTrackRangeKeyDown})}_renderSegment(e,t,r,n){let{_fullMin:a,_fullMax:l,mirrored:s}=this,o=[z(a,l,ne(e,a,l)),100-z(a,l,ne(t,a,l))];s&&o.reverse();let d=this.isHorizontal?{left:`${o[0]}%`,right:`${o[1]}%`}:{top:`${o[1]}%`,bottom:`${o[0]}%`},c=G("segment",...r);return f`<div id=${n?.id??w} class=${$(c)} style=${T(d)} .tabIndex=${n?.onPointerDown?0:-1} @focus=${n?.onFocus} @blur=${n?.onBlur} @pointerdown=${n?.onPointerDown} @keydown=${n?.onKeyDown}></div>`}_renderThumbs(){let{_sliderData:e}=this,t=Array.from(e.entries).filter(([,r])=>r>=this._fullMin&&r<=this._fullMax);return re(t,([r,n])=>this._renderThumb(r,n))}_renderThumb(e,t){let{valueLabelsDisplay:r}=this,n=this._activePart===e||this._activePart==="range",a=this._activePart==="range"||this._activePart===e,l=r==="always"||r==="auto"&&a,s=this.isHorizontal,o=s?"horizontal":"vertical",d=`label-${e}`,c=s?"center":this.valueLabelsPlacement==="leading"?"end":"start";return X(e,f`<div id=${e??w} .ariaLabel=${this.messages.sliderValue} aria-labelledby=${(r?d:void 0)??w} .ariaOrientation=${o} .ariaValueMax=${this.max} .ariaValueMin=${this.min} .ariaValueNow=${t} class=${$({thumb:!0,active:n})} data-entry=${e??w} @pointerdown=${this._onThumbPointerDown} @focus=${this._onThumbFocus} @blur=${this._onThumbBlur} @keydown=${this._onThumbKeyDown} role=slider style=${T({...this._getPositionStyleForElement(t),"z-index":this._activePart===e?1:0})} tabindex=0><span class="handle"></span><arcgis-label-input .alignment=${c} class="label" .hidden=${!l} id=${d??w} .labelFormatter=${this._valueFormatter} @focus=${this._onThumbFocus} @blur=${this._onThumbBlur} @arcgisChange=${this._onValueInputChange} .readOnly=${!this.valueLabelsEditingEnabled} tabindex=-1 .value=${t} ${R(this._makeResizeRef())}></arcgis-label-input></div>`)}_renderRangeLabel(e){let t="center";return this.isHorizontal&&(t=e==="min"?"end":"start",this.rangeLabelsPlacement==="trailing"&&(t=t==="end"?"start":"end"),this.mirrored&&(t=t==="end"?"start":"end")),f`<arcgis-label-input .alignment=${t} class=${$(e)} data-type=${e??w} .hidden=${!this.showRangeLabels} .labelFormatter=${this[`_${e}Formatter`]} @arcgisChange=${this._onRangeInputChange} .readOnly=${!this.rangeLabelsEditingEnabled} .value=${this[e]}></arcgis-label-input>`}};function Ce(i){return"dataset"in i&&i.tagName==="ARCGIS-LABEL-INPUT"&&(i.dataset.type==="min"||i.dataset.type==="max")}function C(i){let e=Z(i,"[data-entry]");return e&&"dataset"in e?e.dataset.entry:null}function Ie(i){return typeof i!=null&&i!=="range"}function Me(i,e){return e?i.renderRoot.querySelector(`div[data-entry="${e}"]`):null}function Re(i,e){return e?i.renderRoot.querySelector(`div[data-entry="${e}"] span.handle`):null}function ie(i,e){return e?i.renderRoot.querySelector(`div[data-entry="${e}"] arcgis-label-input`):null}function L(i){return i.isPrimary&&i.button===0}var Te=5;function z(i,e,t){let r=e-i,n=(t-i)/r*100;return Number.parseFloat(n.toFixed(Te))}function ne(i,e,t){return Math.max(e,Math.min(t,i))}Y("arcgis-slider",U);return U},"core/reactiveUtils","applications/Components/reactiveUtils","core/accessorSupport/decorators","core/Accessor","core/Accessor","core/accessorSupport/decorators","core/reactiveUtils")
3
+ v5.0.0-next.116 */
4
+ import{a as X}from"./QDRYO2PB.js";import{a as J,b as Q}from"./VO5QAC4F.js";import{a as V,b as G,d as Z}from"./77WFAVQF.js";import{A as R,B as W,C as $,D as T,E as w,H as Y,g as H,i as f,o as q,p as K,q as E,s as j,t as O,z as A}from"./7YZAGJMR.js";export default $arcgis.t(([{on:ze,watch:ee},{createObservable:ce,trackAccess:de},{property:Ne,subclass:Be},He,pe,{property:k,subclass:ve},{watch:F}])=>{var te=(i,e)=>t=>he(t,i),S=class extends j{constructor(e,t){super(e),this.Y=new Map,this.A=void 0,this.#r=ce();let r=this;r.#e=t,r.Z(),r.setProvisionalExports(ue(e,new WeakRef(r),e.M.length-1,r.instance,r.Y),!1),q(e,n=>{if(n){let a=ee(()=>e[n],l=>{if(l===r.instance)return;let s=r.instance;r.exports=l,r.instance=l,r.Y.forEach((o,d)=>e.requestUpdate(o,s[d])),r.#t&&s.destroy(),r.#t=!1},{sync:!0});r.onDestroy(a.remove)}},r.exports)}#t;#r;#e;get exports(){return de(this.#r),super.exports}set exports(e){super.exports=e,this.#r.notify()}Z(){let e=this;e.instance="prototype"in e.#e&&"declaredClass"in e.#e.prototype?new e.#e:e.#e(),e.#t=!0}hostConnected(){this.exports=this.instance}hostDestroy(){this.#t&&this.instance.destroy?.()}},he=J(S),ue=(i,e,t,r,n)=>new Proxy(r,{get:(a,l)=>{let s=a[l];if(typeof l=="symbol"||n.has(l))return s;let o=i.M[t];return o.A=l,K(i,d=>{if(o.A=void 0,d!==void 0){let c=d.key;n.set(l,c);let h=i.constructor.getPropertyOptions(c),u=l!==c&&c.toLowerCase().includes("disable");ge(e,h,l,c,u),h.i===void 0&&me(h,t,l,u)}},s)}}),ge=(i,e,t,r,n,a)=>a=ee(()=>{let l=i.deref();return l===void 0||l.component.manager.destroyed?a=a.remove():l.exports[t]},(l,s)=>{if(!a)return;i.deref().component?.requestUpdate(r,n?!s:s),e.c=!1},{sync:!0}),me=(i,e,t,r)=>{i.d.get=function(){let n=this.M[e]?.exports[t];return r?!n:n},i.d.set=function(n){let a=this.M[e];a.A!==t&&(a.exports[t]=r?!n:n)}};function*re(i,e){if(i!==void 0){let t=0;for(let r of i)yield e(r,t++)}}var fe=H`:host{display:flex;width:100%;height:100%;font-family:Avenir Next,Helvetica Neue,helvetica,arial,sans-serif;font-size:var(--calcite-font-size--2);font-variant-numeric:tabular-nums;--arcgis-slider-dash-length: 5px;--arcgis-slider-handle-size: .875rem;--arcgis-slider-track-background-color: var(--calcite-color-border-2);--arcgis-slider-internal-show-range-labels: 0;--arcgis-slider-internal-show-value-labels: 0;--arcgis-slider-internal-value-labels-placement-leading: 0;--arcgis-slider-internal-value-labels-placement-trailing: 0;--arcgis-slider-internal-range-labels-placement-center: 0;--arcgis-slider-internal-range-labels-placement-trailing: 0;--arcgis-slider-internal-handle-offset: calc(var(--arcgis-slider-handle-size) / 2);--arcgis-slider-internal-label-input-margin: calc(var(--arcgis-slider-internal-handle-offset) + 4px);--arcgis-slider-internal-label-input-height: var(--calcite-input-number-height, 1.5rem);--arcgis-slider-internal-track-size: 2px}:host([show-range-labels]){--arcgis-slider-internal-show-range-labels: 1}:host(:not([value-labels-display="hidden"])){--arcgis-slider-internal-show-value-labels: 1}:host([value-labels-placement="leading"]){--arcgis-slider-internal-value-labels-placement-leading: var(--arcgis-slider-internal-show-value-labels)}:host([value-labels-placement="trailing"]){--arcgis-slider-internal-value-labels-placement-trailing: var(--arcgis-slider-internal-show-value-labels)}:host([range-labels-placement="center"]){--arcgis-slider-internal-range-labels-placement-center: var(--arcgis-slider-internal-show-range-labels)}:host([range-labels-placement="trailing"]){--arcgis-slider-internal-range-labels-placement-trailing: var(--arcgis-slider-internal-show-range-labels)}:host([disabled]){cursor:default;opacity:var(--calcite-opacity-disabled);pointer-events:none}.content{direction:ltr;flex:1;touch-action:none;user-select:none;display:grid;word-wrap:normal;word-break:normal;padding-block:var(--arcgis-slider-internal-handle-offset)}.track-container{grid-area:track-container;position:relative;display:flex;justify-content:center;align-items:center}.track{touch-action:none;position:relative}.track-bounds{background-color:var(--calcite-color-border-2)}.track-fill{--arcgis-slider-track-background-color: var(--calcite-color-brand)}:host([layout="vertical"]){.track-effective-leading{background:repeating-linear-gradient(to bottom,var(--arcgis-slider-track-background-color) 0 var(--arcgis-slider-dash-length),color-mix(in srgb,transparent 75%,var(--arcgis-slider-track-background-color) 25%) var(--arcgis-slider-dash-length) calc(var(--arcgis-slider-dash-length) * 2))}.track-effective-trailing{background:repeating-linear-gradient(to top,var(--arcgis-slider-track-background-color) 0 var(--arcgis-slider-dash-length),color-mix(in srgb,transparent 75%,var(--arcgis-slider-track-background-color) 25%) var(--arcgis-slider-dash-length) calc(var(--arcgis-slider-dash-length) * 2))}}:host([layout="horizontal"]){.track-effective-leading{background:repeating-linear-gradient(to right,var(--arcgis-slider-track-background-color) 0 var(--arcgis-slider-dash-length),color-mix(in srgb,transparent 75%,var(--arcgis-slider-track-background-color) 25%) var(--arcgis-slider-dash-length) calc(var(--arcgis-slider-dash-length) * 2))}.track-effective-trailing{background:repeating-linear-gradient(to left,var(--arcgis-slider-track-background-color) 0 var(--arcgis-slider-dash-length),color-mix(in srgb,transparent 75%,var(--arcgis-slider-track-background-color) 25%) var(--arcgis-slider-dash-length) calc(var(--arcgis-slider-dash-length) * 2))}}.track-range{background-color:var(--calcite-color-brand);&.active{box-shadow:0 0 8px #00000029;outline:1px solid var(--calcite-color-focus, var(--calcite-color-focus, var(--calcite-color-brand)))}}:host([disabled]) .track-range{background-color:var(--calcite-color-text-3)}:host([layout="horizontal"]){.track-range.interactive{&:after{all:initial;cursor:ew-resize;position:absolute;inline-size:100%;content:"";inset-block-start:calc(-1 * var(--arcgis-slider-internal-handle-offset));block-size:var(--arcgis-slider-handle-size);margin-top:1px}}}:host([layout="vertical"]){.track-range.interactive{&:after{all:initial;cursor:ns-resize;position:absolute;inline-size:100%;content:"";inset-block-start:var(--arcgis-slider-internal-handle-offset);block-size:var(--arcgis-slider-handle-size);margin-left:1px}}}.segment{transform-origin:0 0;inset-block-start:0px;block-size:.125rem;position:absolute;top:0;left:0}.thumb{-webkit-user-select:none;user-select:none;background-color:#4c4c4c;position:absolute}.thumb:focus,.thumb.active{.handle{background-color:var(--calcite-color-brand);box-shadow:0 0 8px #00000029;outline:2px solid var(--calcite-color-focus, var(--calcite-color-focus, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}}.handle{cursor:pointer;box-sizing:border-box;z-index:1;touch-action:none;background-color:var(--calcite-color-foreground-1);box-shadow:0 0 0 2px var(--calcite-color-text-3) inset;border-radius:var(--arcgis-slider-handle-size);width:var(--arcgis-slider-handle-size);height:var(--arcgis-slider-handle-size);transition:all .125s ease-in-out;position:absolute;top:calc(var(--arcgis-slider-internal-handle-offset) * -1);left:calc(var(--arcgis-slider-internal-handle-offset) * -1)}.handle:hover{box-shadow:0 0 0 3px var(--calcite-color-brand) inset}.label{position:absolute;will-change:transform}.label[hidden]{display:block;opacity:0;pointer-events:none}.min{grid-area:range-start}.max{grid-area:range-end}:host([layout="horizontal"][mirrored][range-labels-placement="center"]),:host([layout="vertical"]:not([mirrored])){.min{grid-area:range-end}.max{grid-area:range-start}}.content-start{grid-area:content-start;display:flex}.content-end{grid-area:content-end;display:flex}:host([layout="vertical"]){.content{grid-template:". range-start range-start range-start ." "content-start content-start track-container content-end content-end" ". range-end range-end range-end .";grid-template-rows:auto 1fr auto;grid-template-columns:1fr auto auto auto 1fr;row-gap:var(--arcgis-slider-internal-handle-offset)}.track-container{flex-direction:column}.track{flex:1;width:var(--arcgis-slider-internal-track-size)}.segment{writing-mode:vertical-lr}.label{top:calc(var(--arcgis-slider-internal-label-input-height) * -.5)}&:host([value-labels-placement="leading"]){.label{right:var(--arcgis-slider-internal-label-input-margin)}}&:host([value-labels-placement="trailing"]){.label{left:var(--arcgis-slider-internal-label-input-margin)}}}:host([layout="horizontal"][range-labels-placement="center"]){.content{--arcgis-slider-internal-content-start-min-height: calc( ((1 - var(--arcgis-slider-internal-show-range-labels)) * var(--arcgis-slider-internal-handle-offset)) + ( var(--arcgis-slider-internal-value-labels-placement-leading) * var(--arcgis-slider-internal-label-input-height) ) );--arcgis-slider-internal-content-end-min-height: calc( ((1 - var(--arcgis-slider-internal-show-range-labels)) * var(--arcgis-slider-internal-handle-offset)) + ( var(--arcgis-slider-internal-value-labels-placement-trailing) * var(--arcgis-slider-internal-label-input-height) ) );column-gap:calc(var(--arcgis-slider-internal-show-range-labels) * var(--arcgis-slider-internal-handle-offset) / 2);padding-inline:calc((1 - var(--arcgis-slider-internal-show-range-labels)) * var(--arcgis-slider-internal-handle-offset));grid-template:". content-start ." "range-start content-start range-end" "range-start track-container range-end" "range-start content-end range-end" ". content-end .";grid-template-columns:auto 1fr auto;grid-template-rows:minmax(var(--arcgis-slider-internal-content-start-min-height),auto) calc(var(--arcgis-slider-internal-show-range-labels) * calc(calc(var(--arcgis-slider-internal-label-input-height) / 2) - calc(var(--arcgis-slider-internal-track-size) / 2))) var(--arcgis-slider-internal-track-size) calc(var(--arcgis-slider-internal-show-range-labels) * calc(calc(var(--arcgis-slider-internal-label-input-height) / 2) - calc(var(--arcgis-slider-internal-track-size) / 2))) minmax(var(--arcgis-slider-internal-content-end-min-height),auto)}.track{flex:1;height:var(--arcgis-slider-internal-track-size)}&:host([value-labels-placement="leading"]){.label{bottom:var(--arcgis-slider-internal-label-input-margin)}}&:host([value-labels-placement="trailing"]){.label{top:var(--arcgis-slider-internal-label-input-margin)}}}:host([layout="horizontal"][range-labels-placement="trailing"]){.content{--arcgis-slider-internal-content-start-min-height: calc( var(--arcgis-slider-internal-handle-offset) + var(--arcgis-slider-internal-value-labels-placement-leading) * var(--arcgis-slider-internal-label-input-height) );--arcgis-slider-internal-content-end-min-height: calc( var(--arcgis-slider-internal-value-labels-placement-trailing) * var(--arcgis-slider-internal-label-input-height) );padding-inline:var(--arcgis-slider-internal-handle-offset);grid-template:"content-start content-start content-start" "track-container track-container track-container" "content-end content-end content-end" "content-end content-end content-end" "content-end content-end content-end";grid-template-columns:auto;grid-template-rows:minmax(var(--arcgis-slider-internal-content-start-min-height),auto) var(--arcgis-slider-internal-track-size) var(--arcgis-slider-internal-handle-offset) calc(var(--arcgis-slider-internal-range-labels-placement-trailing) * var(--arcgis-slider-internal-label-input-height)) minmax(var(--arcgis-slider-internal-content-end-min-height),auto);column-gap:var(--arcgis-slider-internal-handle-offset)}.track{flex:1;height:var(--arcgis-slider-internal-track-size)}&:host([value-labels-placement="leading"]){.label{bottom:var(--arcgis-slider-internal-label-input-margin)}}&:host([value-labels-placement="trailing"]){.label{top:calc(var(--arcgis-slider-internal-label-input-margin) + var(--arcgis-slider-internal-range-labels-placement-trailing) * (var(--arcgis-slider-internal-label-input-height)))}}.min,.max{--arcgis-slider-internal-range-translation: calc(var(--arcgis-slider-internal-handle-offset) + .5rem + 1px);grid-area:unset;grid-row:-3}&:host(:not([mirrored])){.min{grid-column:1;transform:translate(calc(var(--arcgis-slider-internal-range-translation) * -1))}.max{grid-column:3;transform:translate(var(--arcgis-slider-internal-range-translation))}}&:host([mirrored]){.min{grid-column:3;transform:translate(var(--arcgis-slider-internal-range-translation))}.max{grid-column:1;transform:translate(calc(var(--arcgis-slider-internal-range-translation) * -1))}}}`,be=Object.defineProperty,_e=Object.getOwnPropertyDescriptor,y=(i,e,t,r)=>{for(var n=r>1?void 0:r?_e(e,t):e,a=i.length-1,l;a>=0;a--)(l=i[a])&&(n=(r?l(e,t,n):l(n))||n);return r&&n&&be(e,t,n),n};function xe(){return{min:0,max:100,values:[]}}var _=class extends pe{constructor(i={}){super({...xe(),properties:i}),this._entries=new Map,this.precision=4,this.ready=!1}startup(){let{precision:i}=this,{min:e,max:t,values:r}=this;t=b(t,i),e=b(e,i),r=r?.map(a=>I(b(a,i),e,t)),this._set("min",e),this._set("max",t),this._set("values",r);let n=new Map(r?.map(a=>[O(),a]));this._entries=n,F(()=>this.min,a=>{let l=this.values;a!=null&&l?.length&&l.some(s=>s<a)&&(this._entries.forEach((s,o)=>{s<a&&this._entries.set(o,a)}),this._updatesValues())},{sync:!0}),F(()=>this.max,a=>{let l=this.values;a!=null&&l?.length&&l.some(s=>s>a)&&(this._entries.forEach((s,o)=>{s>a&&this._entries.set(o,a)}),this._updatesValues())},{sync:!0}),F(()=>this.precision,a=>{let{min:l,max:s,values:o}=this;this._set("min",b(l,a)),this._set("max",b(s,a)),o?.length&&(this._entries.forEach((d,c)=>{this._entries.set(c,b(d,a))}),this._updatesValues())},{sync:!0}),this._set("ready",!0)}get entries(){return this._entries}set max(i){if(!this.ready){this._set("max",i);return}let e=this._get("max"),t=b(i,this.precision);e!==t&&this._set("max",t)}set min(i){if(!this.ready){this._set("min",i);return}let e=this._get("min"),t=b(i,this.precision);e!==t&&this._set("min",t)}set values(i){if(!this.ready){this._set("values",i);return}let e=this._get("values");if(i=i?.map(r=>I(b(r,this.precision),this.min,this.max)).sort((r,n)=>r-n),e&&i&&e.length===i.length&&e.every((r,n)=>r===i[n]))return;let t=new Map(i?.map(r=>[O(),r]));this._entries=t,this._set("values",i)}getValue(i){return this._entries.get(i)}setValue(i,e){if(this.values==null)return!1;let{min:t,max:r}=this,n=this._entries.get(i),a=I(b(e,this.precision),t,r);return n===a?!1:(this._entries.set(i,a),this._updatesValues(),!0)}setValues(i){if(this.values==null)return!1;let e=!1,{min:t,max:r}=this;for(let[n,a]of i){let l=this._entries.get(n),s=I(b(a,this.precision),t,r);l!==s&&(e=!0,this._entries.set(n,s))}return e?(this._updatesValues(),!0):!1}_updatesValues(){let i=Array.from(this._entries.values()).sort((e,t)=>e-t);this._set("values",i)}};y([k()],_.prototype,"_entries",2);y([k({readOnly:!0})],_.prototype,"entries",1);y([k()],_.prototype,"max",1);y([k()],_.prototype,"min",1);y([k({cast:i=>I(i,0,20)})],_.prototype,"precision",2);y([k({readOnly:!0})],_.prototype,"ready",2);y([k()],_.prototype,"values",1);_=y([ve("esri.widgets.Slider.SliderData")],_);function I(i,e,t){return Math.min(Math.max(i,e),t)}function b(i,e){return Number.parseFloat(i.toFixed(e))}var N=class{constructor(e){this.steps=e,this.minIndex=0,this.maxIndex=this.steps.length-1}indexToValue(e){return this.steps[P(e,this.minIndex,this.maxIndex)]}valueToIndex(e){let t=this.steps.indexOf(e);return t!==-1?t:this.steps.reduce((r,n,a,l)=>Math.abs(n-e)<Math.abs(l[r]-e)?a:r)}},B=class{constructor(e,t,r){this.min=e,this.max=t,this.stepSize=r,this.minIndex=0,this.maxIndex=Math.round((this.max-this.min)/this.stepSize)}indexToValue(e){return this.min+P(e,this.minIndex,this.maxIndex)*this.stepSize}valueToIndex(e){return e=P(e,this.min,this.max),Math.round((e-this.min)/this.stepSize)}};function ye(i){if(i.steps==null)return null;let e=i.steps;return Array.isArray(e)?e.length===0?null:new N(e):new B(i.min,i.max,e)}function we(i,e,t){if(i==null){let s=new Map;for(let[o,d]of e.entries())s.set(o,d+t);return s}let r=e.size,n=Array.from(e.entries()).map(([s,o])=>{let d=o+t,c=[];for(let h=i.minIndex;h<=i.maxIndex;h++){let u=i.indexToValue(h),p=Math.abs(u-d),g=!1;for(let v=0;v<c.length;v++)if(p<c[v].dist){c.splice(v,0,{idx:h,value:u,dist:p}),g=!0;break}!g&&c.length<r&&c.push({idx:h,value:u,dist:p}),c.length>r&&(c.length=r)}return{uuid:s,stepDistances:c}}),a=new Set,l=new Map;n.sort((s,o)=>s.stepDistances[0].dist-o.stepDistances[0].dist);for(let s of n){let o=s.stepDistances.find(d=>!a.has(d.idx));o?(a.add(o.idx),l.set(s.uuid,o.value)):l.set(s.uuid,e.get(s.uuid))}return l}function ae(i,e,t,r,n){let a=e.get(t)??0;if(!i)return a+r;let l=a+r,s=new Set;if(!n)for(let[c,h]of e.entries())c!==t&&s.add(i.valueToIndex(h));let o=null,d=1/0;for(let c=i.minIndex;c<=i.maxIndex;c++){if(s.has(c))continue;let h=i.indexToValue(c),u=Math.abs(h-l);u<d&&(d=u,o=c)}return o==null?a:i.indexToValue(o)}function ke(i,e,t){let r=new Map,n=t>0?Ee:le,a=Array.from(e).sort((o,d)=>n(o[1],d[1])),l=!1,s=!0;for(let[o,d]of a)if(r.set(o,d),s){let c=se(i,r,o,t);d===c&&(s=!1),l||=s,r.set(o,c)}return{changed:l,entries:r}}function se(i,e,t,r){let{allowValuesOverlap:n,stepsProvider:a,resolution:l,min:s,max:o}=i,d=e.get(t);if(r=r>0?1:-1,!a){let m=P(d+r*l,s,o);if(n)return m;let x=new Set;for(let[M,oe]of e)M!==t&&x.add(oe);for(;x.has(m)&&m<=o&&m>=s;)m=P(m+r*l,s,o);return x.has(m)||m>o||m<s?d:m}let c=a.valueToIndex(d);if(c===-1)return d;if(n){let m=P(c+r,a.minIndex,a.maxIndex);return a.indexToValue(m)}let h=new Set;for(let[m,x]of e)m!==t&&h.add(a.valueToIndex(x));let u=c,p=!1,g=a.minIndex,v=a.maxIndex,D=0;for(;D<Math.abs(v-g)&&(u+=r,!(u<g||u>v));){if(!h.has(u)){p=!0;break}D++}return p?a.indexToValue(u):d}function De(i,e,t,r){let{allowValuesOverlap:n,stepsProvider:a,resolution:l,min:s,max:o}=i,d=e.get(t);if(r=r>0?1:-1,!a){let p=new Set(Array.from(e).filter(([v])=>v!==t).map(([,v])=>v)),g=r>0?o:s;if(n)return g;for(;p.has(g);)if(g-=r*l,r>0&&g>o||r<0&&g<s){g=d;break}return g}if(n)return r>0?a.indexToValue(a.maxIndex):a.indexToValue(a.minIndex);let c=a.valueToIndex(d);if(c===-1)return d;let h=new Set(Array.from(e).filter(([p])=>p!==t).map(([,p])=>a.valueToIndex(p))),u=r>0?a.maxIndex:a.minIndex;for(;h.has(u);)if(u-=r,r>0&&u>o||r<0&&u<s){u=c;break}return a.indexToValue(u)}function Pe(i,e,t){let{stepsProvider:r,min:n,max:a}=i,l=new Map,s=Array.from(e).sort((d,c)=>le(d[1],c[1]));if(r){let d=0;if(t>0){let c=s[s.length-1],h=r.valueToIndex(c[1]);d=r.maxIndex-h}else{let c=s[0],h=r.valueToIndex(c[1]);d=r.minIndex-h}if(d===0)for(let[c,h]of s)l.set(c,h);for(let[c,h]of s){let u=r.indexToValue(r.valueToIndex(h)+d);l.set(c,u)}return l}let o=0;if(t>0){let d=s[s.length-1];o=a-d[1]}else{let d=s[0];o=n-d[1]}for(let[d,c]of s)l.set(d,c+o);return l}function le(i,e){return i-e}function Ee(i,e){return e-i}function P(i,e,t){return Math.max(e,Math.min(t,i))}var $e=te(_),U=class extends W{constructor(){super(...arguments),this._popoverElement=A(),this._trackElement=A(),this.messages=Q({}),this._onPointerMoveDragUpdate=e=>{this._updateDrag(this._mapEventToRange(e))},this._onPointerUpDragEnd=e=>{L(e)&&this._endDrag()},this._onPointerCancelDragEnd=()=>{this._endDrag()},this._minFormatter=e=>this._formatLabel(e,"min"),this._maxFormatter=e=>this._formatLabel(e,"max"),this._valueFormatter=e=>this._formatLabel(e,"value"),this._formatLabel=(e,t)=>{let r=this.labelFormatter;return r?r(e,t,this._defaultFormatter)??this._defaultFormatter(e):this._defaultFormatter(e)},this._defaultFormatter=e=>this._numberFormatter.format(e),this._numberFormatter=new Intl.NumberFormat(this.messages._lang),this._resizeObserver=new ResizeObserver(()=>{this._layoutLabelInputs()}),this._labelInputsUpdateComplete=null,this._dragInfo=null,this._hasPopoverContent=!1,this._hasContentStart=!1,this._hasContentEnd=!1,this._sliderData=$e(this),this.allowValuesOverlap=!1,this.autoDestroyDisabled=!1,this.disabled=!1,this.fillPlacement="start",this.layout="horizontal",this.max=this._sliderData.max,this.min=this._sliderData.min,this.mirrored=!1,this.popoverLabel="",this.popoverPlacement="leading",this.precision=this._sliderData.precision,this.rangeLabelsEditingEnabled=!1,this.rangeLabelsPlacement="center",this.segmentsDraggingDisabled=!1,this.showRangeLabels=!1,this.valueLabelsDisplay="hidden",this.valueLabelsPlacement="leading",this.valueLabelsEditingEnabled=!1,this.values=this._sliderData.values,this.arcgisActiveValueChange=E({cancelable:!1}),this.arcgisChange=E({cancelable:!1}),this.arcgisInput=E({cancelable:!1}),this.arcgisRangeChange=E({cancelable:!1})}static{this.properties={_dragInfo:16,_hasPopoverContent:16,_hasContentStart:16,_hasContentEnd:16,_activePart:16,_sliderData:16,activeValue:32,allowValuesOverlap:5,autoDestroyDisabled:5,disabled:[7,{useDefault:!0}],fullRangeMax:11,fullRangeMin:11,fillPlacement:1,labelFormatter:0,layout:3,max:11,min:11,mirrored:[7,{useDefault:!0}],popoverLabel:1,popoverPlacement:3,precision:11,rangeLabelsEditingEnabled:5,rangeLabelsPlacement:3,segmentsDraggingDisabled:5,showRangeLabels:7,steps:[9,{converter:{fromAttribute(e){if(e.includes(","))return e.split(",").filter(r=>r.trim()!=="").map(parseFloat).filter(r=>Number.isFinite(r));let t=parseFloat(e);return Number.isFinite(t)?t:void 0}}}],valueLabelsDisplay:3,valueLabelsPlacement:3,valueLabelsEditingEnabled:5,values:[1,{converter:{fromAttribute(e){return e.includes(",")?e.split(",").filter(t=>t.trim()!=="").map(parseFloat).filter(t=>Number.isFinite(t)):[parseFloat(e)].filter(t=>Number.isFinite(t))}}}],messageOverrides:0}}static{this.styles=fe}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}get _fullMin(){return this.fullRangeMin??this.min}get _fullMax(){return this.fullRangeMax??this.max}get _fullRange(){return this._fullMax-this._fullMin}get isHorizontal(){return this.layout==="horizontal"}get _trackWidthOrHeight(){let e=this._trackElement.value?.getBoundingClientRect();return e?this.isHorizontal?e.width:e.height:0}get _disabledOrInvalid(){return this.disabled||this.values.length===0||this._invalid}get _invalid(){let e=this.fullRangeMin==null||this.fullRangeMax==null||this.fullRangeMin<this.fullRangeMax,t=this.fullRangeMin==null||this.fullRangeMin<=this.min,r=this.fullRangeMax==null||this.fullRangeMax>=this.max;return this.min>=this.max||!e||!t||!r}get resolution(){let e=(this._sliderData.max-this._sliderData.min)/this._trackWidthOrHeight;return Math.max(e,1/Math.pow(10,this.precision))}get activeValue(){if(this._activePart)return this._activePart==="range"?"all":this._sliderData.getValue(this._activePart)}async destroy(){await this.manager.destroy()}load(){this._sliderData.startup()}willUpdate(e){if((e.has("steps")||e.has("min")||e.has("max"))&&(this._stepsProvider=ye(this)),e.has("messages")||e.has("min")||e.has("max")||e.has("precision")){let t=this.max!=null&&this.min!=null&&this.max-this.min>10?2:this.precision;this._numberFormatter=new Intl.NumberFormat(this.messages._lang,{maximumFractionDigits:t})}}updated(e){this._layoutLabelInputs();let t=this._popoverElement.value;t&&(e.has("values")||e.has("min")||e.has("max"))&&t.reposition()}loaded(){this._resizeObserver.observe(this.el)}disconnectedCallback(){super.disconnectedCallback(),this._removeDragListeners()}_makeResizeRef(){let e=null;return t=>{t?(e=t,this._resizeObserver.observe(t)):e&&(this._resizeObserver.unobserve(e),e=null)}}async _layoutLabelInputs(){if(this.layout!=="horizontal"||!this._trackElement.value||this.valueLabelsDisplay==="hidden")return;let e=this.renderRoot.querySelectorAll("arcgis-label-input"),t=this.componentOnReady().then(()=>Promise.all(Array.from(e,a=>a.updateComplete)));if(this._labelInputsUpdateComplete=t,await t,t!==this._labelInputsUpdateComplete)return;this._labelInputsUpdateComplete=null;let{_trackElement:{value:r}}=this,n=r.getBoundingClientRect();for(let a of this._sliderData.entries.keys()){let l=this._activePart==="range"||this._activePart===a;if(this.valueLabelsDisplay==="always"||l){let s=Re(this,a),o=ie(this,a);if(!s||!o)continue;let d=s.getBoundingClientRect(),c=o.getBoundingClientRect(),h=o.getLabelBoundingClientRect(),u=d.width/2,p=Math.round(d.left+u),g=Math.round(h.width/2),v=c.width/2,D=n.left-u,m=n.right+u,x=p-g,M=p+g;x<D?v+=x-D:M>m&&(v+=M-m),o.style.transform=`translateX(${-Math.round(v)}px)`}}}_onTrackFocus(){this._setActivePart("range")}_onTrackBlur(){this._setActivePart(null)}_onTrackRangePointerDown(e){this._disabledOrInvalid||!L(e)||this._startDrag("range",this._mapEventToRange(e))}async _onPointerDown(e){if(this._disabledOrInvalid||!L(e))return;let t=this.renderRoot.querySelector("arcgis-label-input[editing]");if(e.target===t)return;if(t){t.blur(),this._focusEntry(C(t));return}if(Ce(e.target)||this.values?.length>1)return;let r=this._mapEventToRange(e),[n,a]=this._sliderData.entries.entries().next().value,l=r*this._fullRange+this._fullMin-a,s=z(this._fullMin,this._fullMax,a)/100;this._startDrag(n,s);let o=ae(this._stepsProvider,this._sliderData.entries,n,l,this.allowValuesOverlap);this._setValue(n,o),this._focusEntry(n)}_onThumbPointerDown(e){let t=C(e.currentTarget);if(!L(e)||this._disabledOrInvalid||!t)return;let r=ie(this,t);e.target===r&&r?.editing||(e.stopPropagation(),this._startDrag(t,this._mapEventToRange(e)))}_endDrag(){if(this._disabledOrInvalid)return;this._removeDragListeners();let e=!1;if(this._dragInfo){let{entries:t}=this._dragInfo;for(let[r,n]of t)if(this._sliderData.getValue(r)!==n){e=!0;break}}this._dragInfo=null,e&&this.arcgisChange.emit()}_startDrag(e,t){if(this._disabledOrInvalid)return;let{min:r,max:n,values:a}=this,l=r,s=n;if(this._setActivePart(e),e==="range"){if(this.segmentsDraggingDisabled)return;l=r-a[0],s=n-a[a.length-1]}this._dragInfo={position:t,entries:new Map(this._sliderData.entries.entries()),minDiff:l,maxDiff:s},this._addDragListeners()}_updateDrag(e){if(!this._dragInfo||!this._activePart)return;let{_activePart:t,_dragInfo:{position:r,entries:n,minDiff:a,maxDiff:l}}=this;if(r===e)return;let s=(e-r)*this._fullRange;if(t==="range"){s=Math.min(l,Math.max(a,s));let o=we(this._stepsProvider,n,s);this._setValues(o)}else{let o=ae(this._stepsProvider,n,t,s,this.allowValuesOverlap);this._setValue(t,o)}}_focusEntry(e){e&&Me(this,e)?.focus()}_addDragListeners(){document.addEventListener("pointerup",this._onPointerUpDragEnd),document.addEventListener("pointermove",this._onPointerMoveDragUpdate),document.addEventListener("pointercancel",this._onPointerCancelDragEnd)}_removeDragListeners(){document.removeEventListener("pointerup",this._onPointerUpDragEnd),document.removeEventListener("pointermove",this._onPointerMoveDragUpdate),document.removeEventListener("pointercancel",this._onPointerCancelDragEnd)}_setValues(e){this._sliderData.setValues(e)&&(this._dragInfo||this.arcgisChange.emit(),this.arcgisInput.emit())}_setValue(e,t){this._sliderData.setValue(e,t)&&(this._dragInfo||this.arcgisChange.emit(),this.arcgisInput.emit())}_onThumbFocus(e){let t=C(e.currentTarget);this._setActivePart(t)}_onThumbBlur(){this._setActivePart(null)}_onRangeInputChange(e){let t=e.currentTarget,r=t.value,n=t.dataset.type,a=!1;switch(e.stopPropagation(),n){case"min":{r<this.max?(this.min=r,a=!0):t.value=this.min;break}case"max":{r>this.min?(this.max=r,a=!0):t.value=this.max;break}}a&&this.arcgisRangeChange.emit()}_onValueInputChange(e){let t=e.currentTarget,r=C(t),n=t.value;r&&(e.stopPropagation(),this._setValue(r,n),t.value=this._sliderData.getValue(r))}_mapEventToRange(e){let t=this._trackElement.value?.getBoundingClientRect();if(!t)return 0;let r=this.isHorizontal?(e.clientX-t.left)/t.width:1-(e.clientY-t.top)/t.height;return this.mirrored?1-r:r}_getPositionStyleForElement(e){let t=z(this._fullMin,this._fullMax,e);return{[this.isHorizontal?this.mirrored?"right":"left":this.mirrored?"top":"bottom"]:`${t}%`}}_popoverSlotChange(e){this._hasPopoverContent=V(e)}_onContentStartSlotChange(e){this._hasContentStart=V(e)}_onContentEndSlotChange(e){this._hasContentEnd=V(e)}_onThumbKeyDown(e){let t=C(e.currentTarget);if(!t)return;let r=e.currentTarget.querySelector("arcgis-label-input");if(!r||r.editing)return;let n=e.key;switch(n){case"Enter":{r.edit();break}case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":{e.preventDefault();let a=n==="ArrowUp"||n==="ArrowRight"?1:-1;a=this.mirrored?a*-1:a;let l=se({allowValuesOverlap:this.allowValuesOverlap,stepsProvider:this._stepsProvider,resolution:this.resolution,min:this.min,max:this.max},this._sliderData.entries,t,a);this._setValue(t,l);break}case"End":case"Home":{e.preventDefault();let a=this.isHorizontal&&this.mirrored||this.layout==="vertical"?n==="End"?-1:1:n==="Home"?-1:1,l=De({allowValuesOverlap:this.allowValuesOverlap,stepsProvider:this._stepsProvider,resolution:this.resolution,min:this.min,max:this.max},this._sliderData.entries,t,a);this._setValue(t,l);break}}}_onTrackRangeKeyDown(e){let t=e.key;switch(t){case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":{e.preventDefault();let r=t==="ArrowUp"||t==="ArrowRight"?1:-1;r=this.mirrored?r*-1:r;let{entries:n}=ke({allowValuesOverlap:this.allowValuesOverlap,stepsProvider:this._stepsProvider,resolution:this.resolution,min:this.min,max:this.max},this._sliderData.entries,r);this._setValues(n);break}case"End":case"Home":{e.preventDefault();let r=this.isHorizontal&&this.mirrored||this.layout==="vertical"?t==="End"?-1:1:t==="Home"?-1:1,n=Pe({allowValuesOverlap:this.allowValuesOverlap,stepsProvider:this._stepsProvider,resolution:this.resolution,min:this.min,max:this.max},this._sliderData.entries,r);this._setValues(n);break}}}_setActivePart(e){this._activePart!==e&&(this._activePart=e,this.arcgisActiveValueChange.emit())}render(){return f`<div class=${$({content:!0,disabled:this._disabledOrInvalid})} @pointerdown=${this._onPointerDown}>${this._renderContentStart()}${this._renderContentEnd()}${this._renderRangeLabel("min")}${this._renderTrackRange()}${this._renderRangeLabel("max")}${this._renderPopover()}</div>`}_renderPopover(){let{_activePart:e,layout:t,popoverPlacement:r,valueLabelsPlacement:n,valueLabelsDisplay:a,popoverLabel:l}=this,s=e?Ie(e)?e:"track-range":"",o=this._hasPopoverContent&&!!s,d=t==="horizontal"?r==="leading"?"top":"bottom":r==="leading"?"left":"right",c=14;return a!=="hidden"&&r===n&&(c+=24),f`<calcite-popover flip-disabled focus-trap-disabled .label=${l} .open=${o} .offsetDistance=${c} .placement=${d} pointer-disabled .referenceElement=${s} scale=s trigger-disabled ${R(this._popoverElement)}><slot name=popover @slotchange=${this._popoverSlotChange}></slot></calcite-popover>`}_renderContentStart(){return f`<div class="content-start" .hidden=${!this._hasContentStart}><slot name=content-start @slotchange=${this._onContentStartSlotChange}></slot></div>`}_renderContentEnd(){return f`<div class="content-end" .hidden=${!this._hasContentEnd}><slot name=content-end @slotchange=${this._onContentEndSlotChange}></slot></div>`}_renderTrackRange(){return f`<div class="track-container">${this._renderTrack()}${this._renderThumbs()}</div>`}_renderTrack(){return f`<div class="track" ${R(this._trackElement)}>${this._renderTrackBackground()}${this._renderFillSegment()}</div>`}_renderTrackBackground(){let{max:e,min:t,fillPlacement:r,values:n}=this,a=n.length>1,l=this._fullMin,s=this._fullMax,o=[];return this._invalid?f`<div class="segment track-bounds" style=${T({left:"0%",right:"0%",top:"0%",bottom:"0%"})}></div>`:(l<t&&(o.push(this._renderSegment(l,t,[this.mirrored?"track-effective-trailing":"track-effective-leading",!a&&r==="start"?"track-fill":null])),l=t),s>e&&(o.push(this._renderSegment(e,s,[this.mirrored?"track-effective-leading":"track-effective-trailing",!a&&r==="end"?"track-fill":null])),s=e),o.push(this._renderSegment(l,s,["track-bounds"])),o)}_renderFillSegment(){let{values:e,fillPlacement:t,min:r,max:n}=this;if(!e?.length||this._invalid)return;let a=[...e].sort((l,s)=>l-s);if(a.length===1)switch(t){case"start":if(r<a[0])return this._renderSegment(r,a[0],["track-range"]);break;case"end":if(n>a[0])return this._renderSegment(a[0],n,["track-range"]);break}return this._renderSegment(a[0],a[a.length-1],["track-range",this.segmentsDraggingDisabled?null:"interactive",this._activePart==="range"?"active":null],{id:"track-range",onFocus:this.segmentsDraggingDisabled?void 0:this._onTrackFocus,onBlur:this.segmentsDraggingDisabled?void 0:this._onTrackBlur,onPointerDown:this.segmentsDraggingDisabled?void 0:this._onTrackRangePointerDown,onKeyDown:this.segmentsDraggingDisabled?void 0:this._onTrackRangeKeyDown})}_renderSegment(e,t,r,n){let{_fullMin:a,_fullMax:l,mirrored:s}=this,o=[z(a,l,ne(e,a,l)),100-z(a,l,ne(t,a,l))];s&&o.reverse();let d=this.isHorizontal?{left:`${o[0]}%`,right:`${o[1]}%`}:{top:`${o[1]}%`,bottom:`${o[0]}%`},c=G("segment",...r);return f`<div id=${n?.id??w} class=${$(c)} style=${T(d)} .tabIndex=${n?.onPointerDown?0:-1} @focus=${n?.onFocus} @blur=${n?.onBlur} @pointerdown=${n?.onPointerDown} @keydown=${n?.onKeyDown}></div>`}_renderThumbs(){let{_sliderData:e}=this,t=Array.from(e.entries).filter(([,r])=>r>=this._fullMin&&r<=this._fullMax);return re(t,([r,n])=>this._renderThumb(r,n))}_renderThumb(e,t){let{valueLabelsDisplay:r}=this,n=this._activePart===e||this._activePart==="range",a=this._activePart==="range"||this._activePart===e,l=r==="always"||r==="auto"&&a,s=this.isHorizontal,o=s?"horizontal":"vertical",d=`label-${e}`,c=s?"center":this.valueLabelsPlacement==="leading"?"end":"start";return X(e,f`<div id=${e??w} .ariaLabel=${this.messages.sliderValue} aria-labelledby=${(r?d:void 0)??w} .ariaOrientation=${o} .ariaValueMax=${this.max} .ariaValueMin=${this.min} .ariaValueNow=${t} class=${$({thumb:!0,active:n})} data-entry=${e??w} @pointerdown=${this._onThumbPointerDown} @focus=${this._onThumbFocus} @blur=${this._onThumbBlur} @keydown=${this._onThumbKeyDown} role=slider style=${T({...this._getPositionStyleForElement(t),"z-index":this._activePart===e?1:0})} tabindex=0><span class="handle"></span><arcgis-label-input .alignment=${c} class="label" .hidden=${!l} id=${d??w} .labelFormatter=${this._valueFormatter} @focus=${this._onThumbFocus} @blur=${this._onThumbBlur} @arcgisChange=${this._onValueInputChange} .readOnly=${!this.valueLabelsEditingEnabled} tabindex=-1 .value=${t} ${R(this._makeResizeRef())}></arcgis-label-input></div>`)}_renderRangeLabel(e){let t="center";return this.isHorizontal&&(t=e==="min"?"end":"start",this.rangeLabelsPlacement==="trailing"&&(t=t==="end"?"start":"end"),this.mirrored&&(t=t==="end"?"start":"end")),f`<arcgis-label-input .alignment=${t} class=${$(e)} data-type=${e??w} .hidden=${!this.showRangeLabels} .labelFormatter=${this[`_${e}Formatter`]} @arcgisChange=${this._onRangeInputChange} .readOnly=${!this.rangeLabelsEditingEnabled} .value=${this[e]}></arcgis-label-input>`}};function Ce(i){return"dataset"in i&&i.tagName==="ARCGIS-LABEL-INPUT"&&(i.dataset.type==="min"||i.dataset.type==="max")}function C(i){let e=Z(i,"[data-entry]");return e&&"dataset"in e?e.dataset.entry:null}function Ie(i){return typeof i!=null&&i!=="range"}function Me(i,e){return e?i.renderRoot.querySelector(`div[data-entry="${e}"]`):null}function Re(i,e){return e?i.renderRoot.querySelector(`div[data-entry="${e}"] span.handle`):null}function ie(i,e){return e?i.renderRoot.querySelector(`div[data-entry="${e}"] arcgis-label-input`):null}function L(i){return i.isPrimary&&i.button===0}var Te=5;function z(i,e,t){let r=e-i,n=(t-i)/r*100;return Number.parseFloat(n.toFixed(Te))}function ne(i,e,t){return Math.max(e,Math.min(t,i))}Y("arcgis-slider",U);return U},"core/reactiveUtils","applications/Components/reactiveUtils","core/accessorSupport/decorators","core/Accessor","core/Accessor","core/accessorSupport/decorators","core/reactiveUtils")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.115 */
4
- import{B as l,H as e,g as r,i as a}from"./EZSZLYQ3.js";var h=r`:host{display:block;block-size:30px;inline-size:100%}:host([layout="vertical"]){writing-mode:vertical-lr}arcgis-ramp-color{block-size:inherit;inline-size:inherit}`,s=class extends l{constructor(){super(...arguments),this._rampStops=[],this.layout="horizontal",this.min=0,this.max=1,this.stops=[]}static{this.properties={layout:1,min:9,max:9,stops:0}}static{this.styles=h}willUpdate(t){if(super.willUpdate(t),t.has("stops")){let{stops:p}=this,i=[];p.forEach(c=>{let{color:o,max:m,min:n}=c;i.push({value:n,color:o},{value:m,color:o})}),this._rampStops=i}}render(){return a`<arcgis-ramp-color .layout=${this.layout} .min=${this.min} .max=${this.max} .stops=${this._rampStops}></arcgis-ramp-color>`}};e("arcgis-ramp-color-break",s);export{s as ArcgisRampColorBreak};
3
+ v5.0.0-next.116 */
4
+ import{B as l,H as e,g as r,i as a}from"./7YZAGJMR.js";var h=r`:host{display:block;block-size:30px;inline-size:100%}:host([layout="vertical"]){writing-mode:vertical-lr}arcgis-ramp-color{block-size:inherit;inline-size:inherit}`,s=class extends l{constructor(){super(...arguments),this._rampStops=[],this.layout="horizontal",this.min=0,this.max=1,this.stops=[]}static{this.properties={layout:1,min:9,max:9,stops:0}}static{this.styles=h}willUpdate(t){if(super.willUpdate(t),t.has("stops")){let{stops:p}=this,i=[];p.forEach(c=>{let{color:o,max:m,min:n}=c;i.push({value:n,color:o},{value:m,color:o})}),this._rampStops=i}}render(){return a`<arcgis-ramp-color .layout=${this.layout} .min=${this.min} .max=${this.max} .stops=${this._rampStops}></arcgis-ramp-color>`}};e("arcgis-ramp-color-break",s);export{s as ArcgisRampColorBreak};
package/dist/cdn/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.115 */
4
- import{G as i,v as e}from"./EZSZLYQ3.js";var a=e(i,{"arcgis-ckeditor5":[()=>import("./EXVLDYMU.js"),"canResizeVertically,currentLanguage,customConfig,customExpressionCheck:,editorType,groupFieldsAndExpressions,intlExpressionsGroupHeading,intlFieldsGroupHeading,intlTextPlaceHolder,mentionFields:,readOnly,textData;getData,setFocus"],"arcgis-ckeditor5-popover":[()=>import("./WP4NYD4W.js"),"guid:,intlCancel,intlLabel,intlOk,refElement:;reposition"],"arcgis-color-input":[()=>import("./P2ZVYGFG.js"),"clearable,color,compact,disabled,hideRecentColors,messageOverrides:,placement,popoverProps:,showTransparency,storageId;close,setFocus"],"arcgis-field-info":[()=>import("./CZS5VBJT.js"),"fieldName,hideAlias,hideNumericFormat,hideStatistics,layer:,view:;refresh"],"arcgis-field-pick-list":[()=>import("./ROQXOPAS.js"),"customExpressionCheck:,expressionsGroupHeading,fields:,fieldsGroupHeading,filterNoResultsText,filterPlaceholderText,groupFieldsAndExpressions,heading,hideCancel,hideSort,layer:,listOnly,mapView:,multiple,okBtnText,popoverProps:,selectedFields:,showCancel,showDescription,showFieldInfo,showFieldName,showFieldTypeIcon,showFilterLength,showSelectionAll,showSort,sortBy,view:;reposition,setDisabled,setFocus"],"arcgis-histogram":[()=>import("./PXG2UWR7.js"),"average,bins:,colorBlendingEnabled,colorStops:,dataLines:,icon,label,labelFormatFunction:,layout,max,messageOverrides:,min,standardDeviation"],"arcgis-label-input":[()=>import("./NPBOVHEX.js"),"alignment,editing,labelFormatter:,readOnly,value;edit;getLabelBoundingClientRect"],"arcgis-picker-input":[()=>import("./GLDBQ4C4.js"),"disabled,heading,iconEnd:,intlDone,label,popoverProps:;close,setFocus"],"arcgis-ramp-color":[()=>import("./PWGVH2GN.js"),"layout,max,min,stops:"],"arcgis-ramp-color-break":[()=>import("./O53N24KV.js"),"layout,max,min,stops:"],"arcgis-ramp-opacity":[()=>import("./TPDPEUIY.js"),"fillColor,layout,max,min,stops:"],"arcgis-slider":[()=>import("./E4B7FUKJ.js"),"activeValue:,allowValuesOverlap,autoDestroyDisabled,disabled,fillPlacement,fullRangeMax,fullRangeMin,labelFormatter:,layout,max,messageOverrides:,min,mirrored,popoverLabel,popoverPlacement,precision,rangeLabelsEditingEnabled,rangeLabelsPlacement,segmentsDraggingDisabled,showRangeLabels,steps,valueLabelsDisplay,valueLabelsEditingEnabled,valueLabelsPlacement,values;destroy"],"arcgis-slider-input":[()=>import("./2WLWTNFV.js"),"disabled,flipLabels,label,max,min,step,unitsLabel,value,withSteppers"],"arcgis-ticks":[()=>import("./EKBTNGNJ.js"),"interactive,interpolationExponent,labelFormatter:,labelPlacement,layout,max,min,mirrored,mode,showBaseline,showLabels,values"],"arcgis-unique-values-list":[()=>import("./LYJATIGZ.js"),"fieldName,layer:,maxHeight,multiple,numberFormatOptions:,partialUniqueValues,selectedValues:,showFilterLength,sortBy,uniqueValues:,view:;getUniqueValues,setFocus"]});a({resourcesUrl:import.meta.url});var s=new CSSStyleSheet;s.replaceSync("@layer{:not([hydrated]):is(arcgis-ckeditor5,arcgis-ckeditor5-popover,arcgis-color-input,arcgis-field-info,arcgis-field-pick-list,arcgis-histogram,arcgis-label-input,arcgis-picker-input,arcgis-ramp-color,arcgis-ramp-color-break,arcgis-ramp-opacity,arcgis-slider,arcgis-slider-input,arcgis-ticks,arcgis-unique-values-list){visibility:hidden}:root{--arcgis-ckeditor5-initial-height: 30vh;--arcgis-ckeditor5-max-width: 35vw;--arcgis-ckeditor5-mentions-max-width: 33vw;--arcgis-common-ckeditor5-initial-height: 30vh;--arcgis-common-ckeditor5-max-width: 35vw;--arcgis-common-ckeditor5-mentions-max-width: 33vw}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,s];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,i)
3
+ v5.0.0-next.116 */
4
+ import{G as i,v as e}from"./7YZAGJMR.js";var a=e(i,{"arcgis-ckeditor5":[()=>import("./UCEFBZCV.js"),"canResizeVertically,currentLanguage,customConfig,customExpressionCheck:,editorType,groupFieldsAndExpressions,intlExpressionsGroupHeading,intlFieldsGroupHeading,intlTextPlaceHolder,mentionFields:,readOnly,textData;getData,setFocus"],"arcgis-ckeditor5-popover":[()=>import("./4GSF7US4.js"),"guid:,intlCancel,intlLabel,intlOk,refElement:;reposition"],"arcgis-color-input":[()=>import("./6OSWAX5Y.js"),"clearable,color,compact,disabled,hideRecentColors,messageOverrides:,placement,popoverProps:,showTransparency,storageId;close,setFocus"],"arcgis-field-info":[()=>import("./PC7FNFWO.js"),"fieldName,hideAlias,hideNumericFormat,hideStatistics,layer:,view:;refresh"],"arcgis-field-pick-list":[()=>import("./73ZLR322.js"),"customExpressionCheck:,expressionsGroupHeading,fields:,fieldsGroupHeading,filterNoResultsText,filterPlaceholderText,groupFieldsAndExpressions,heading,hideCancel,hideSort,layer:,listOnly,mapView:,multiple,okBtnText,popoverProps:,selectedFields:,showCancel,showDescription,showFieldInfo,showFieldName,showFieldTypeIcon,showFilterLength,showSelectionAll,showSort,sortBy,view:;reposition,setDisabled,setFocus"],"arcgis-histogram":[()=>import("./TYLQ5S57.js"),"average,bins:,colorBlendingEnabled,colorStops:,dataLines:,icon,label,labelFormatFunction:,layout,max,messageOverrides:,min,standardDeviation"],"arcgis-label-input":[()=>import("./GVO7O55U.js"),"alignment,editing,labelFormatter:,readOnly,value;edit;getLabelBoundingClientRect"],"arcgis-picker-input":[()=>import("./ABHVLP4O.js"),"disabled,heading,iconEnd:,intlDone,label,popoverProps:;close,setFocus"],"arcgis-ramp-color":[()=>import("./QDZP3Z6X.js"),"layout,max,min,stops:"],"arcgis-ramp-color-break":[()=>import("./YR7DYVMC.js"),"layout,max,min,stops:"],"arcgis-ramp-opacity":[()=>import("./TSVRBZXL.js"),"fillColor,layout,max,min,stops:"],"arcgis-slider":[()=>import("./WMZLZFSQ.js"),"activeValue:,allowValuesOverlap,autoDestroyDisabled,disabled,fillPlacement,fullRangeMax,fullRangeMin,labelFormatter:,layout,max,messageOverrides:,min,mirrored,popoverLabel,popoverPlacement,precision,rangeLabelsEditingEnabled,rangeLabelsPlacement,segmentsDraggingDisabled,showRangeLabels,steps,valueLabelsDisplay,valueLabelsEditingEnabled,valueLabelsPlacement,values;destroy"],"arcgis-slider-input":[()=>import("./T6OU33WW.js"),"disabled,flipLabels,label,max,min,step,unitsLabel,value,withSteppers"],"arcgis-ticks":[()=>import("./3KASOXXS.js"),"interactive,interpolationExponent,labelFormatter:,labelPlacement,layout,max,min,mirrored,mode,showBaseline,showLabels,values"],"arcgis-unique-values-list":[()=>import("./3I5VJL3Y.js"),"fieldName,layer:,maxHeight,multiple,numberFormatOptions:,partialUniqueValues,selectedValues:,showFilterLength,sortBy,uniqueValues:,view:;getUniqueValues,setFocus"]});a({resourcesUrl:import.meta.url});var s=new CSSStyleSheet;s.replaceSync("@layer{:not([hydrated]):is(arcgis-ckeditor5,arcgis-ckeditor5-popover,arcgis-color-input,arcgis-field-info,arcgis-field-pick-list,arcgis-histogram,arcgis-label-input,arcgis-picker-input,arcgis-ramp-color,arcgis-ramp-color-break,arcgis-ramp-opacity,arcgis-slider,arcgis-slider-input,arcgis-ticks,arcgis-unique-values-list){visibility:hidden}:root{--arcgis-ckeditor5-initial-height: 30vh;--arcgis-ckeditor5-max-width: 35vw;--arcgis-ckeditor5-mentions-max-width: 33vw;--arcgis-common-ckeditor5-initial-height: 30vh;--arcgis-common-ckeditor5-max-width: 35vw;--arcgis-common-ckeditor5-mentions-max-width: 33vw}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,s];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,i)
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.115 */
3
+ v5.0.0-next.116 */
4
4
  var r = /* @__PURE__ */ ((s) => (s.expression = "expression/", s.raster = "Raster.", s.relationship = "relationships/", s))(r || {});
5
5
  export {
6
6
  r as f
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.115 */
3
+ v5.0.0-next.116 */
4
4
  function u(e) {
5
5
  return e != null;
6
6
  }
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.115 */
3
+ v5.0.0-next.116 */
4
4
  const o = {
5
5
  arcgisAppCkeditor: "arcgis-app-ckeditor",
6
6
  arcgisAppCkeditorMentionHeader: "arcgis-app-ckeditor-mention-header",
@@ -3,7 +3,7 @@ import { makeRuntime as e } from "@arcgis/lumina";
3
3
  import { trackAccess as s, createObservable as r, createTrackingTarget as a, runTracked as c } from "@arcgis/core/applications/Components/reactiveUtils.js";
4
4
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
5
5
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
6
- v5.0.0-next.115 */
6
+ v5.0.0-next.116 */
7
7
  const t = e({ defaultAssetPath: "https://jsdev.arcgis.com/5.0.0-next/common-components/", hydratedAttribute: "hydrated" }), { customElement: n, getAssetPath: d, setAssetPath: i } = t;
8
8
  t.t = s;
9
9
  t.o = r;
@@ -2,7 +2,7 @@ import { makeT9nController as o } from "@arcgis/lumina/controllers";
2
2
  import { g as t } from "./runtime.js";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
5
- v5.0.0-next.115 */
5
+ v5.0.0-next.116 */
6
6
  const s = o(t);
7
7
  export {
8
8
  s as u
@@ -7,7 +7,7 @@ import { f as n4 } from "../../chunks/commonEnums.js";
7
7
  import { C as ur } from "../../chunks/resources.js";
8
8
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
9
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
10
- v5.0.0-next.115 */
10
+ v5.0.0-next.116 */
11
11
  var ma = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
12
12
  function o4(f) {
13
13
  return f && f.__esModule && Object.prototype.hasOwnProperty.call(f, "default") ? f.default : f;