{"ast":null,"code":"'use strict';\n\nlet Node = require('./node');\nclass Declaration extends Node {\n  constructor(defaults) {\n    if (defaults && typeof defaults.value !== 'undefined' && typeof defaults.value !== 'string') {\n      defaults = {\n        ...defaults,\n        value: String(defaults.value)\n      };\n    }\n    super(defaults);\n    this.type = 'decl';\n  }\n  get variable() {\n    return this.prop.startsWith('--') || this.prop[0] === '$';\n  }\n}\nmodule.exports = Declaration;\nDeclaration.default = Declaration;","map":{"version":3,"names":["Node","require","Declaration","constructor","defaults","value","String","type","variable","prop","startsWith","module","exports","default"],"sources":["C:/Users/user/Desktop/000newport/node_modules/postcss/lib/declaration.js"],"sourcesContent":["'use strict'\n\nlet Node = require('./node')\n\nclass Declaration extends Node {\n  constructor(defaults) {\n    if (\n      defaults &&\n      typeof defaults.value !== 'undefined' &&\n      typeof defaults.value !== 'string'\n    ) {\n      defaults = { ...defaults, value: String(defaults.value) }\n    }\n    super(defaults)\n    this.type = 'decl'\n  }\n\n  get variable() {\n    return this.prop.startsWith('--') || this.prop[0] === '$'\n  }\n}\n\nmodule.exports = Declaration\nDeclaration.default = Declaration\n"],"mappings":"AAAA,YAAY;;AAEZ,IAAIA,IAAI,GAAGC,OAAO,CAAC,QAAQ,CAAC;AAE5B,MAAMC,WAAW,SAASF,IAAI,CAAC;EAC7BG,WAAWA,CAACC,QAAQ,EAAE;IACpB,IACEA,QAAQ,IACR,OAAOA,QAAQ,CAACC,KAAK,KAAK,WAAW,IACrC,OAAOD,QAAQ,CAACC,KAAK,KAAK,QAAQ,EAClC;MACAD,QAAQ,GAAG;QAAE,GAAGA,QAAQ;QAAEC,KAAK,EAAEC,MAAM,CAACF,QAAQ,CAACC,KAAK;MAAE,CAAC;IAC3D;IACA,KAAK,CAACD,QAAQ,CAAC;IACf,IAAI,CAACG,IAAI,GAAG,MAAM;EACpB;EAEA,IAAIC,QAAQA,CAAA,EAAG;IACb,OAAO,IAAI,CAACC,IAAI,CAACC,UAAU,CAAC,IAAI,CAAC,IAAI,IAAI,CAACD,IAAI,CAAC,CAAC,CAAC,KAAK,GAAG;EAC3D;AACF;AAEAE,MAAM,CAACC,OAAO,GAAGV,WAAW;AAC5BA,WAAW,CAACW,OAAO,GAAGX,WAAW"},"metadata":{},"sourceType":"script","externalDependencies":[]}