chunk-6URTNEGN.js 947 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. import {
  2. S,
  3. m
  4. } from "./chunk-X7DBH4KK.js";
  5. import {
  6. d,
  7. e,
  8. n2 as n
  9. } from "./chunk-Y3WMVFTW.js";
  10. import {
  11. s
  12. } from "./chunk-EMJ4ZSM2.js";
  13. import {
  14. r
  15. } from "./chunk-GZT4BVFP.js";
  16. // node_modules/@arcgis/core/layers/mixins/ArcGISService.js
  17. var p = (p2) => {
  18. let c = class extends p2 {
  19. get title() {
  20. if (this._get("title") && this.originOf("title") !== "defaults")
  21. return this._get("title");
  22. if (this.url) {
  23. const t = m(this.url);
  24. if (r(t) && t.title)
  25. return t.title;
  26. }
  27. return this._get("title") || "";
  28. }
  29. set title(t) {
  30. this._set("title", t);
  31. }
  32. set url(t) {
  33. this._set("url", S(t, s.getLogger(this.declaredClass)));
  34. }
  35. };
  36. return e([d()], c.prototype, "title", null), e([d({ type: String })], c.prototype, "url", null), c = e([n("esri.layers.mixins.ArcGISService")], c), c;
  37. };
  38. export {
  39. p
  40. };
  41. //# sourceMappingURL=chunk-6URTNEGN.js.map