{"version":3,"sources":["node_modules/@arcgis/core/renderers/visualVariables/support/sizeVariableUtils.js"],"sourcesContent":["/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nvar n, i;\nfunction e(n) {\n return n && \"esri.renderers.visualVariables.SizeVariable\" === n.declaredClass;\n}\nfunction l(n) {\n return null != n && !isNaN(n) && isFinite(n);\n}\nfunction t(i) {\n return i.valueExpression ? n.Expression : i.field && \"string\" == typeof i.field ? n.Field : n.Unknown;\n}\nfunction a(e, l) {\n const a = l || t(e),\n o = e.valueUnit || \"unknown\";\n return a === n.Unknown ? i.Constant : e.stops ? i.Stops : null != e.minSize && null != e.maxSize && null != e.minDataValue && null != e.maxDataValue ? i.ClampedLinear : \"unknown\" === o ? null != e.minSize && null != e.minDataValue ? e.minSize && e.minDataValue ? i.Proportional : i.Additive : i.Identity : i.RealWorldSize;\n}\n!function (n) {\n n.Unknown = \"unknown\", n.Expression = \"expression\", n.Field = \"field\";\n}(n || (n = {})), function (n) {\n n.Unknown = \"unknown\", n.Stops = \"stops\", n.ClampedLinear = \"clamped-linear\", n.Proportional = \"proportional\", n.Additive = \"additive\", n.Constant = \"constant\", n.Identity = \"identity\", n.RealWorldSize = \"real-world-size\";\n}(i || (i = {}));\nexport { n as InputValueType, i as TransformationType, t as getInputValueType, a as getTransformationType, e as isSizeVariable, l as isValidNumber };"],"mappings":"AAIA,IAAIA,EAAG,EACP,SAASC,EAAE,EAAG,CACZ,OAAO,GAAuD,EAAE,gBAApD,6CACd,CACA,SAASC,EAAE,EAAG,CACZ,OAAe,GAAR,MAAa,CAAC,MAAM,CAAC,GAAK,SAAS,CAAC,CAC7C,CACA,SAASC,EAAEC,EAAG,CACZ,OAAOA,EAAE,gBAAkBJ,EAAE,WAAaI,EAAE,OAAqB,OAAOA,EAAE,OAArB,SAA6BJ,EAAE,MAAQA,EAAE,OAChG,CACA,SAASK,EAAEJ,EAAGC,EAAG,CACf,IAAMG,EAAIH,GAAKC,EAAEF,CAAC,EAChBK,EAAIL,EAAE,WAAa,UACrB,OAAOI,IAAML,EAAE,QAAU,EAAE,SAAWC,EAAE,MAAQ,EAAE,MAAgBA,EAAE,SAAV,MAA6BA,EAAE,SAAV,MAA6BA,EAAE,cAAV,MAAkCA,EAAE,cAAV,KAAyB,EAAE,cAA8BK,IAAd,UAA0BL,EAAE,SAAV,MAA6BA,EAAE,cAAV,KAAyBA,EAAE,SAAWA,EAAE,aAAe,EAAE,aAAe,EAAE,SAAW,EAAE,SAAW,EAAE,aACtT,EACC,SAAU,EAAG,CACZ,EAAE,QAAU,UAAW,EAAE,WAAa,aAAc,EAAE,MAAQ,OAChE,GAAED,IAAMA,EAAI,CAAC,EAAE,EAAG,SAAU,EAAG,CAC7B,EAAE,QAAU,UAAW,EAAE,MAAQ,QAAS,EAAE,cAAgB,iBAAkB,EAAE,aAAe,eAAgB,EAAE,SAAW,WAAY,EAAE,SAAW,WAAY,EAAE,SAAW,WAAY,EAAE,cAAgB,iBAC9M,EAAE,IAAM,EAAI,CAAC,EAAE","names":["n","e","l","t","i","a","o"],"x_google_ignoreList":[0]}