mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
1 line
2.4 KiB
JSON
1 line
2.4 KiB
JSON
|
{"ast":null,"code":"import nativeCreate from './_nativeCreate.js';\n/** Used to stand-in for `undefined` hash values. */\n\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n/** Used for built-in method references. */\n\nvar objectProto = Object.prototype;\n/** Used to check objects for own properties. */\n\nvar hasOwnProperty = objectProto.hasOwnProperty;\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n\nfunction hashGet(key) {\n var data = this.__data__;\n\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nexport default hashGet;","map":{"version":3,"sources":["/app/node_modules/lodash-es/_hashGet.js"],"names":["nativeCreate","HASH_UNDEFINED","objectProto","Object","prototype","hasOwnProperty","hashGet","key","data","__data__","result","undefined","call"],"mappings":"AAAA,OAAOA,YAAP,MAAyB,oBAAzB;AAEA;;AACA,IAAIC,cAAc,GAAG,2BAArB;AAEA;;AACA,IAAIC,WAAW,GAAGC,MAAM,CAACC,SAAzB;AAEA;;AACA,IAAIC,cAAc,GAAGH,WAAW,CAACG,cAAjC;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,OAAT,CAAiBC,GAAjB,EAAsB;AACpB,MAAIC,IAAI,GAAG,KAAKC,QAAhB;;AACA,MAAIT,YAAJ,EAAkB;AAChB,QAAIU,MAAM,GAAGF,IAAI,CAACD,GAAD,CAAjB;AACA,WAAOG,MAAM,KAAKT,cAAX,GAA4BU,SAA5B,GAAwCD,MAA/C;AACD;;AACD,SAAOL,cAAc,CAACO,IAAf,CAAoBJ,IAApB,EAA0BD,GAA1B,IAAiCC,IAAI,CAACD,GAAD,CAArC,GAA6CI,SAApD;AACD;;AAED,eAAeL,OAAf","sourcesContent":["import nativeCreate from './_nativeCreate.js';\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nexport default hashGet;\n"]},"metadata":{},"sourceType":"module"}
|