123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- import {
- x as x2
- } from "./chunk-NLLFSKB2.js";
- import {
- c
- } from "./chunk-ISHZAVNR.js";
- import {
- f
- } from "./chunk-FMPQIGFA.js";
- import {
- x
- } from "./chunk-WD4J43GZ.js";
- import {
- e,
- l3 as l,
- n5 as n,
- y3 as y
- } from "./chunk-2Z2TG5CU.js";
- import {
- T
- } from "./chunk-SQOPWYIT.js";
- // node_modules/@arcgis/core/rest/query/executeQueryJSON.js
- async function s(r, t2, e2) {
- const s3 = await a(r, t2, e2);
- return x2.fromJSON(s3);
- }
- async function a(o, s3, a3) {
- const n3 = f(o), i = { ...a3 }, p2 = x.from(s3), { data: u } = await c(n3, p2, p2.sourceSpatialReference, i);
- return u;
- }
- // node_modules/@arcgis/core/layers/support/exifUtils.js
- function n2(n3) {
- const { exifInfo: e2, exifName: a3, tagName: u } = n3;
- if (!e2 || !a3 || !u)
- return null;
- const f2 = e2.find((n4) => n4.name === a3);
- return f2 ? t({ tagName: u, tags: f2.tags }) : null;
- }
- function t(n3) {
- const { tagName: t2, tags: e2 } = n3;
- if (!e2 || !t2)
- return null;
- const a3 = e2.find((n4) => n4.name === t2);
- return a3 && a3.value || null;
- }
- // node_modules/@arcgis/core/rest/query/support/AttachmentInfo.js
- var s2;
- var p = { 1: { id: 1, rotation: 0, mirrored: false }, 2: { id: 2, rotation: 0, mirrored: true }, 3: { id: 3, rotation: 180, mirrored: false }, 4: { id: 4, rotation: 180, mirrored: true }, 5: { id: 5, rotation: -90, mirrored: true }, 6: { id: 6, rotation: 90, mirrored: false }, 7: { id: 7, rotation: 90, mirrored: true }, 8: { id: 8, rotation: -90, mirrored: false } };
- var l2 = s2 = class extends l {
- constructor(t2) {
- super(t2), this.contentType = null, this.exifInfo = null, this.id = null, this.globalId = null, this.keywords = null, this.name = null, this.parentGlobalId = null, this.parentObjectId = null, this.size = null, this.url = null;
- }
- get orientationInfo() {
- const { exifInfo: t2 } = this, o = n2({ exifName: "Exif IFD0", tagName: "Orientation", exifInfo: t2 });
- return p[o] || null;
- }
- clone() {
- return new s2({ contentType: this.contentType, exifInfo: this.exifInfo, id: this.id, globalId: this.globalId, keywords: this.keywords, name: this.name, parentGlobalId: this.parentGlobalId, parentObjectId: this.parentObjectId, size: this.size, url: this.url });
- }
- };
- e([y({ type: String })], l2.prototype, "contentType", void 0), e([y()], l2.prototype, "exifInfo", void 0), e([y({ readOnly: true })], l2.prototype, "orientationInfo", null), e([y({ type: T })], l2.prototype, "id", void 0), e([y({ type: String })], l2.prototype, "globalId", void 0), e([y({ type: String })], l2.prototype, "keywords", void 0), e([y({ type: String })], l2.prototype, "name", void 0), e([y({ json: { read: false } })], l2.prototype, "parentGlobalId", void 0), e([y({ json: { read: false } })], l2.prototype, "parentObjectId", void 0), e([y({ type: T })], l2.prototype, "size", void 0), e([y({ json: { read: false } })], l2.prototype, "url", void 0), l2 = s2 = e([n("esri.layers.support.AttachmentInfo")], l2);
- var a2 = l2;
- export {
- s,
- a,
- a2
- };
- //# sourceMappingURL=chunk-BY5BVC57.js.map
|