diff options
author | seshukm <seshu.kumar.m@huawei.com> | 2017-03-08 11:54:56 +0530 |
---|---|---|
committer | seshukm <seshu.kumar.m@huawei.com> | 2017-03-08 11:54:56 +0530 |
commit | 80b299e8c4f290e3b16f35eea922cac989b6e767 (patch) | |
tree | b99086734507728ae096349cca4d0258335dbf4f /vnfmarket/common/thirdparty/es5-shim | |
parent | 5fa92b4eb456b5f4959c39578a3c6e3555c4ae7d (diff) |
VnfMarket place refactor
IssueId : CLIENT-4
Change-Id: Ia1b076400f9c3bedf9db714099a608ece392aa59
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
Diffstat (limited to 'vnfmarket/common/thirdparty/es5-shim')
-rw-r--r-- | vnfmarket/common/thirdparty/es5-shim/.bower.json | 44 | ||||
-rw-r--r-- | vnfmarket/common/thirdparty/es5-shim/CHANGES | 121 | ||||
-rw-r--r-- | vnfmarket/common/thirdparty/es5-shim/CONTRIBUTORS.md | 27 | ||||
-rw-r--r-- | vnfmarket/common/thirdparty/es5-shim/LICENSE | 22 | ||||
-rw-r--r-- | vnfmarket/common/thirdparty/es5-shim/README.md | 168 | ||||
-rw-r--r-- | vnfmarket/common/thirdparty/es5-shim/bower.json | 35 | ||||
-rw-r--r-- | vnfmarket/common/thirdparty/es5-shim/component.json | 20 | ||||
-rw-r--r-- | vnfmarket/common/thirdparty/es5-shim/es5-sham.js | 466 | ||||
-rw-r--r-- | vnfmarket/common/thirdparty/es5-shim/es5-sham.map | 1 | ||||
-rw-r--r-- | vnfmarket/common/thirdparty/es5-shim/es5-sham.min.js | 7 | ||||
-rw-r--r-- | vnfmarket/common/thirdparty/es5-shim/es5-shim.js | 1434 | ||||
-rw-r--r-- | vnfmarket/common/thirdparty/es5-shim/es5-shim.map | 1 | ||||
-rw-r--r-- | vnfmarket/common/thirdparty/es5-shim/es5-shim.min.js | 7 | ||||
-rw-r--r-- | vnfmarket/common/thirdparty/es5-shim/package.json | 60 | ||||
-rw-r--r-- | vnfmarket/common/thirdparty/es5-shim/shims.json | 7 |
15 files changed, 0 insertions, 2420 deletions
diff --git a/vnfmarket/common/thirdparty/es5-shim/.bower.json b/vnfmarket/common/thirdparty/es5-shim/.bower.json deleted file mode 100644 index 913a49e3..00000000 --- a/vnfmarket/common/thirdparty/es5-shim/.bower.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "es5-shim", - "version": "3.1.0", - "main": "es5-shim.js", - "repository": { - "type": "git", - "url": "git://github.com/es-shims/es5-shim" - }, - "homepage": "https://github.com/es-shims/es5-shim", - "authors": [ - "Kris Kowal <kris@cixar.com> (http://github.com/kriskowal/)", - "Sami Samhuri <sami.samhuri@gmail.com> (http://samhuri.net/)", - "Florian Schäfer <florian.schaefer@gmail.com> (http://github.com/fschaefer)", - "Irakli Gozalishvili <rfobic@gmail.com> (http://jeditoolkit.com)", - "Kit Cambridge <kitcambridge@gmail.com> (http://kitcambridge.github.com)", - "Jordan Harband <ljharb@gmail.com> (https://github.com/ljharb/)" - ], - "description": "ECMAScript 5 compatibility shims for legacy JavaScript engines", - "keywords": [ - "shim", - "es5", - "es5", - "shim", - "javascript", - "ecmascript", - "polyfill" - ], - "license": "MIT", - "ignore": [ - "**/.*", - "node_modules", - "bower_components", - "tests" - ], - "_release": "3.1.0", - "_resolution": { - "type": "version", - "tag": "v3.1.0", - "commit": "f00f0b451448288493fd1f65c74a02e74f6bb4e9" - }, - "_source": "https://github.com/es-shims/es5-shim.git", - "_target": "3.1.0", - "_originalSource": "es5-shim" -}
\ No newline at end of file diff --git a/vnfmarket/common/thirdparty/es5-shim/CHANGES b/vnfmarket/common/thirdparty/es5-shim/CHANGES deleted file mode 100644 index dde12a69..00000000 --- a/vnfmarket/common/thirdparty/es5-shim/CHANGES +++ /dev/null @@ -1,121 +0,0 @@ -3.1.0 - - Fix String#replace in Firefox up through 29 (#228) - -3.0.2 - - Fix `Function#bind` in IE 7 and 8 (#224, #225, #226) - -3.0.1 - - Version bump to ensure npm has newest minified assets - -3.0.0 - - es5-sham: fix `Object.getPrototypeOf` and `Object.getOwnPropertyDescriptor` for Opera Mini - - Better override noncompliant native ES5 methods: `Array#forEach`, `Array#map`, `Array#filter`, `Array#every`, `Array#some`, `Array#reduce`, `Date.parse`, `String#trim` - - Added spec-compliant shim for `parseInt` - - Ensure `Object.keys` handles more edge cases with `arguments` objects and boxed primitives - - Improve minification of builds - -2.3.0 - - parseInt is now properly shimmed in ES3 browsers to default the radix - - update URLs to point to the new organization - -2.2.0 - - Function.prototype.bind shim now reports correct length on a bound function - - fix node 0.6.x v8 bug in Array#forEach - - test improvements - -2.1.0 - - Object.create fixes - - tweaks to the Object.defineProperties shim - -2.0.0 - - Separate reliable shims from dubious shims (shams). - -1.2.10 - - Group-effort Style Cleanup - - Took a stab at fixing Object.defineProperty on IE8 without - bad side-effects. (@hax) - - Object.isExtensible no longer fakes it. (@xavierm) - - Date.prototype.toISOString no longer deals with partial - ISO dates, per spec (@kitcambridge) - - More (mostly from @bryanforbes) - -1.2.9 - - Corrections to toISOString by @kitcambridge - - Fixed three bugs in array methods revealed by Jasmine tests. - - Cleaned up Function.prototype.bind with more fixes and tests from - @bryanforbes. - -1.2.8 - - Actually fixed problems with Function.prototype.bind, and regressions - from 1.2.7 (@bryanforbes, @jdalton #36) - -1.2.7 - REGRESSED - - Fixed problems with Function.prototype.bind when called as a constructor. - (@jdalton #36) - -1.2.6 - - Revised Date.parse to match ES 5.1 (kitcambridge) - -1.2.5 - - Fixed a bug for padding it Date..toISOString (tadfisher issue #33) - -1.2.4 - - Fixed a descriptor bug in Object.defineProperty (raynos) - -1.2.3 - - Cleaned up RequireJS and <script> boilerplate - -1.2.2 - - Changed reduce to follow the letter of the spec with regard to having and - owning properties. - - Fixed a bug where RegExps pass as Functions in some engines in reduce. - -1.2.1 - - Adding few fixes to make jshint happy. - - Fix for issue #12, function expressions can cause scoping issues in IE. - - NPM will minify on install or when `npm run-script install` is executed. - - Adding .gitignore to avoid publishing dev dependencies. - -1.2.0 - - Making script loadable as AMD module. - - Adding `indexOf` to the list of safe shims. - -1.1.0 - - Added support for accessor properties where possible (which is all browsers - except IE). - - Stop exposing bound function's (that are returned by - `Function.prototype.bind`) internal properties (`bound, boundTo, boundArgs`) - as in some cases (when using facade objects for example) capabilities of the - enclosed functions will be leaked. - - `Object.create` now explicitly sets `__proto__` property to guarantee - correct behavior of `Object.getPrototypeOf`'s on all objects created using - `Object.create`. - - Switched to `===` from `==` where possible as it's slightly faster on older - browsers that are target of this lib. - - Added names to all anonymous functions to have a better stack traces. - -1.0.0 - - fixed Date.toISODate, using UTC accessors, as in - http://code.google.com/p/v8/source/browse/trunk/src/date.js?r=6120#986 - (arian) - -0.0.4 - - Revised Object.getPrototypeOf to work in more cases - in response to http://ejohn.org/blog/objectgetprototypeof/ - [issue #2] (fschaefer) - -0.0.3 - - Fixed typos in Object.keys (samsonjs) - -0.0.2 - Per kangax's recommendations: - - faster Object.create(null) - - fixed a function-scope function declaration statement in Object.create - -0.0.1 - - fixed Object.create(null), in so far as that's possible - - reworked Rhino Object.freeze(Function) bug detector and patcher - -0.0.0 - - forked from narwhal-lib - diff --git a/vnfmarket/common/thirdparty/es5-shim/CONTRIBUTORS.md b/vnfmarket/common/thirdparty/es5-shim/CONTRIBUTORS.md deleted file mode 100644 index 43ebf770..00000000 --- a/vnfmarket/common/thirdparty/es5-shim/CONTRIBUTORS.md +++ /dev/null @@ -1,27 +0,0 @@ - -- kriskowal Kris Kowal Copyright (C) 2009-2011 MIT License -- tlrobinson Tom Robinson Copyright (C) 2009-2010 MIT License (Narwhal - Project) -- dantman Daniel Friesen Copyright (C) 2010 XXX TODO License or CLA -- fschaefer Florian Schäfer Copyright (C) 2010 MIT License -- Gozala Irakli Gozalishvili Copyright (C) 2010 MIT License -- kitcambridge Kit Cambridge Copyright (C) 2011 MIT License -- kossnocorp Sasha Koss XXX TODO License or CLA -- bryanforbes Bryan Forbes XXX TODO License or CLA -- killdream Quildreen Motta Copyright (C) 2011 MIT Licence -- michaelficarra Michael Ficarra Copyright (C) 2011 3-clause BSD - License -- sharkbrainguy Gerard Paapu Copyright (C) 2011 MIT License -- bbqsrc Brendan Molloy (C) 2011 Creative Commons Zero (public domain) -- iwyg XXX TODO License or CLA -- DomenicDenicola Domenic Denicola Copyright (C) 2011 MIT License -- xavierm02 Montillet Xavier Copyright (C) 2011 MIT License -- Raynos Jake Verbaten Copyright (C) 2011 MIT Licence -- samsonjs Sami Samhuri Copyright (C) 2010 MIT License -- rwldrn Rick Waldron Copyright (C) 2011 MIT License -- lexer Alexey Zakharov XXX TODO License or CLA -- 280 North Inc. (Now Motorola LLC, a subsidiary of Google Inc.) - Copyright (C) 2009 MIT License -- Steven Levithan Copyright (C) 2012 MIT License -- Jordan Harband (C) 2013 MIT License - diff --git a/vnfmarket/common/thirdparty/es5-shim/LICENSE b/vnfmarket/common/thirdparty/es5-shim/LICENSE deleted file mode 100644 index 3dbd7de3..00000000 --- a/vnfmarket/common/thirdparty/es5-shim/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (C) 2009-2014 Kristopher Michael Kowal and contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - diff --git a/vnfmarket/common/thirdparty/es5-shim/README.md b/vnfmarket/common/thirdparty/es5-shim/README.md deleted file mode 100644 index 40ec70b1..00000000 --- a/vnfmarket/common/thirdparty/es5-shim/README.md +++ /dev/null @@ -1,168 +0,0 @@ -#es5-shim <sup>[![Version Badge][2]][1]</sup> - -[![npm badge][9]][1] - -[![Build Status][3]][4] [![dependency status][5]][6] [![dev dependency status][7]][8] - -`es5-shim.js` and `es5-shim.min.js` monkey-patch a JavaScript context to -contain all EcmaScript 5 methods that can be faithfully emulated with a -legacy JavaScript engine. - -`es5-sham.js` and `es5-sham.min.js` monkey-patch other ES5 methods as -closely as possible. For these methods, as closely as possible to ES5 -is not very close. Many of these shams are intended only to allow code -to be written to ES5 without causing run-time errors in older engines. -In many cases, this means that these shams cause many ES5 methods to -silently fail. Decide carefully whether this is what you want. - - -## Tests - -The tests are written with the Jasmine BDD test framework. -To run the tests, navigate to <root-folder>/tests/. - -## Shims - -### Complete tests ### - -* Array.prototype.every -* Array.prototype.filter -* Array.prototype.forEach -* Array.prototype.indexOf -* Array.prototype.lastIndexOf -* Array.prototype.map -* Array.prototype.some -* Array.prototype.reduce -* Array.prototype.reduceRight -* Array.isArray -* Date.now -* Date.prototype.toJSON -* Function.prototype.bind - * :warning: Caveat: the bound function has a prototype property. - * :warning: Caveat: bound functions do not try too hard to keep you - from manipulating their ``arguments`` and ``caller`` properties. - * :warning: Caveat: bound functions don't have checks in ``call`` and - ``apply`` to avoid executing as a constructor. -* Number.prototype.toFixed -* Object.keys -* String.prototype.split -* String.prototype.trim -* String.prototype.replace - * Firefox (through v29) natively handles capturing groups incorrectly. -* Date.parse (for ISO parsing) -* Date.prototype.toISOString -* parseInt - -## Shams - -* :warning: Object.create - - For the case of simply "begetting" an object that inherits - prototypically from another, this should work fine across legacy - engines. - - :warning: Object.create(null) will work only in browsers that - support prototype assignment. This creates an object that does not - have any properties inherited from Object.prototype. It will - silently fail otherwise. - - :warning: The second argument is passed to Object.defineProperties - which will probably fail either silently or with extreme predudice. - -* :warning: Object.getPrototypeOf - - This will return "undefined" in some cases. It uses `__proto__` if - it's available. Failing that, it uses constructor.prototype, which - depends on the constructor property of the object's prototype having - not been replaced. If your object was created like this, it won't - work: - - function Foo() { - } - Foo.prototype = {}; - - Because the prototype reassignment destroys the constructor - property. - - This will work for all objects that were created using - `Object.create` implemented with this library. - -* :warning: Object.getOwnPropertyNames - - This method uses Object.keys, so it will not be accurate on legacy - engines. - -* Object.isSealed - - Returns "false" in all legacy engines for all objects, which is - conveniently guaranteed to be accurate. - -* Object.isFrozen - - Returns "false" in all legacy engines for all objects, which is - conveniently guaranteed to be accurate. - -* Object.isExtensible - - Works like a charm, by trying very hard to extend the object then - redacting the extension. - -### May fail - -* :warning: Object.getOwnPropertyDescriptor - - The behavior of this shim does not conform to ES5. It should - probably not be used at this time, until its behavior has been - reviewed and been confirmed to be useful in legacy engines. - -* :warning: Object.defineProperty - - In the worst of circumstances, IE 8 provides a version of this - method that only works on DOM objects. This sham will not be - installed. The given version of `defineProperty` will throw an - exception if used on non-DOM objects. - - In slightly better circumstances, this method will silently fail to - set "writable", "enumerable", and "configurable" properties. - - Providing a getter or setter with "get" or "set" on a descriptor - will silently fail on engines that lack "__defineGetter__" and - "__defineSetter__", which include all versions of IE. - - https://github.com/es-shims/es5-shim/issues#issue/5 - -* :warning: Object.defineProperties - - This uses the Object.defineProperty shim - -* Object.seal - - Silently fails on all legacy engines. This should be - fine unless you are depending on the safety and security - provisions of this method, which you cannot possibly - obtain in legacy engines. - -* Object.freeze - - Silently fails on all legacy engines. This should be - fine unless you are depending on the safety and security - provisions of this method, which you cannot possibly - obtain in legacy engines. - -* Object.preventExtensions - - Silently fails on all legacy engines. This should be - fine unless you are depending on the safety and security - provisions of this method, which you cannot possibly - obtain in legacy engines. - -[1]: https://npmjs.org/package/es5-shim -[2]: http://vb.teelaun.ch/es-shims/es5-shim.svg -[3]: https://travis-ci.org/es-shims/es5-shim.png -[4]: https://travis-ci.org/es-shims/es5-shim -[5]: https://david-dm.org/es-shims/es5-shim.png -[6]: https://david-dm.org/es-shims/es5-shim -[7]: https://david-dm.org/es-shims/es5-shim/dev-status.png -[8]: https://david-dm.org/es-shims/es5-shim#info=devDependencies -[9]: https://nodei.co/npm/es5-shim.png?downloads=true&stars=true - diff --git a/vnfmarket/common/thirdparty/es5-shim/bower.json b/vnfmarket/common/thirdparty/es5-shim/bower.json deleted file mode 100644 index 1ac98ad0..00000000 --- a/vnfmarket/common/thirdparty/es5-shim/bower.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "es5-shim", - "version": "3.1.0", - "main": "es5-shim.js", - "repository": { - "type": "git", - "url": "git://github.com/es-shims/es5-shim" - }, - "homepage": "https://github.com/es-shims/es5-shim", - "authors": [ - "Kris Kowal <kris@cixar.com> (http://github.com/kriskowal/)", - "Sami Samhuri <sami.samhuri@gmail.com> (http://samhuri.net/)", - "Florian Schäfer <florian.schaefer@gmail.com> (http://github.com/fschaefer)", - "Irakli Gozalishvili <rfobic@gmail.com> (http://jeditoolkit.com)", - "Kit Cambridge <kitcambridge@gmail.com> (http://kitcambridge.github.com)", - "Jordan Harband <ljharb@gmail.com> (https://github.com/ljharb/)" - ], - "description": "ECMAScript 5 compatibility shims for legacy JavaScript engines", - "keywords": [ - "shim", - "es5", - "es5", - "shim", - "javascript", - "ecmascript", - "polyfill" - ], - "license": "MIT", - "ignore": [ - "**/.*", - "node_modules", - "bower_components", - "tests" - ] -} diff --git a/vnfmarket/common/thirdparty/es5-shim/component.json b/vnfmarket/common/thirdparty/es5-shim/component.json deleted file mode 100644 index e2ecb92e..00000000 --- a/vnfmarket/common/thirdparty/es5-shim/component.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "es5-shim", - "repo": "es-shims/es5-shim", - "description": "ECMAScript 5 compatibility shims for legacy JavaScript engines", - "version": "v3.1.0", - "keywords": [ - "shim", - "es5", - "es5", - "shim", - "javascript", - "ecmascript", - "polyfill" - ], - "license": "MIT", - "main": "es5-shim.js", - "scripts": [ - "es5-shim.js" - ] -} diff --git a/vnfmarket/common/thirdparty/es5-shim/es5-sham.js b/vnfmarket/common/thirdparty/es5-shim/es5-sham.js deleted file mode 100644 index f2970566..00000000 --- a/vnfmarket/common/thirdparty/es5-shim/es5-sham.js +++ /dev/null @@ -1,466 +0,0 @@ -/*! - * https://github.com/es-shims/es5-shim - * @license es5-shim Copyright 2009-2014 by contributors, MIT License - * see https://github.com/es-shims/es5-shim/blob/master/LICENSE - */ - -// vim: ts=4 sts=4 sw=4 expandtab - -//Add semicolon to prevent IIFE from being passed as argument to concated code. -; -// Module systems magic dance -(function (definition) { - // RequireJS - if (typeof define === "function") { - define(definition); - // YUI3 - } else if (typeof YUI === "function") { - YUI.add("es5-sham", definition); - // CommonJS and <script> - } else { - definition(); - } -})(function () { - - -var call = Function.prototype.call; -var prototypeOfObject = Object.prototype; -var owns = call.bind(prototypeOfObject.hasOwnProperty); - -// If JS engine supports accessors creating shortcuts. -var defineGetter; -var defineSetter; -var lookupGetter; -var lookupSetter; -var supportsAccessors; -if ((supportsAccessors = owns(prototypeOfObject, "__defineGetter__"))) { - defineGetter = call.bind(prototypeOfObject.__defineGetter__); - defineSetter = call.bind(prototypeOfObject.__defineSetter__); - lookupGetter = call.bind(prototypeOfObject.__lookupGetter__); - lookupSetter = call.bind(prototypeOfObject.__lookupSetter__); -} - -// ES5 15.2.3.2 -// http://es5.github.com/#x15.2.3.2 -if (!Object.getPrototypeOf) { - // https://github.com/es-shims/es5-shim/issues#issue/2 - // http://ejohn.org/blog/objectgetprototypeof/ - // recommended by fschaefer on github - // - // sure, and webreflection says ^_^ - // ... this will nerever possibly return null - // ... Opera Mini breaks here with infinite loops - Object.getPrototypeOf = function getPrototypeOf(object) { - var proto = object.__proto__; - if (proto || proto === null) { - return proto; - } else if (object.constructor) { - return object.constructor.prototype; - } else { - return prototypeOfObject; - } - }; -} - -//ES5 15.2.3.3 -//http://es5.github.com/#x15.2.3.3 - -function doesGetOwnPropertyDescriptorWork(object) { - try { - object.sentinel = 0; - return Object.getOwnPropertyDescriptor( - object, - "sentinel" - ).value === 0; - } catch (exception) { - // returns falsy - } -} - -//check whether getOwnPropertyDescriptor works if it's given. Otherwise, -//shim partially. -if (Object.defineProperty) { - var getOwnPropertyDescriptorWorksOnObject = doesGetOwnPropertyDescriptorWork({}); - var getOwnPropertyDescriptorWorksOnDom = typeof document === "undefined" || - doesGetOwnPropertyDescriptorWork(document.createElement("div")); - if (!getOwnPropertyDescriptorWorksOnDom || !getOwnPropertyDescriptorWorksOnObject) { - var getOwnPropertyDescriptorFallback = Object.getOwnPropertyDescriptor; - } -} - -if (!Object.getOwnPropertyDescriptor || getOwnPropertyDescriptorFallback) { - var ERR_NON_OBJECT = "Object.getOwnPropertyDescriptor called on a non-object: "; - - Object.getOwnPropertyDescriptor = function getOwnPropertyDescriptor(object, property) { - if ((typeof object !== "object" && typeof object !== "function") || object === null) { - throw new TypeError(ERR_NON_OBJECT + object); - } - - // make a valiant attempt to use the real getOwnPropertyDescriptor - // for I8's DOM elements. - if (getOwnPropertyDescriptorFallback) { - try { - return getOwnPropertyDescriptorFallback.call(Object, object, property); - } catch (exception) { - // try the shim if the real one doesn't work - } - } - - // If object does not owns property return undefined immediately. - if (!owns(object, property)) { - return; - } - - // If object has a property then it's for sure both `enumerable` and - // `configurable`. - var descriptor = { enumerable: true, configurable: true }; - - // If JS engine supports accessor properties then property may be a - // getter or setter. - if (supportsAccessors) { - // Unfortunately `__lookupGetter__` will return a getter even - // if object has own non getter property along with a same named - // inherited getter. To avoid misbehavior we temporary remove - // `__proto__` so that `__lookupGetter__` will return getter only - // if it's owned by an object. - var prototype = object.__proto__; - var notPrototypeOfObject = object !== prototypeOfObject; - // avoid recursion problem, breaking in Opera Mini when - // Object.getOwnPropertyDescriptor(Object.prototype, 'toString') - // or any other Object.prototype accessor - if (notPrototypeOfObject) { - object.__proto__ = prototypeOfObject; - } - - var getter = lookupGetter(object, property); - var setter = lookupSetter(object, property); - - if (notPrototypeOfObject) { - // Once we have getter and setter we can put values back. - object.__proto__ = prototype; - } - - if (getter || setter) { - if (getter) { - descriptor.get = getter; - } - if (setter) { - descriptor.set = setter; - } - // If it was accessor property we're done and return here - // in order to avoid adding `value` to the descriptor. - return descriptor; - } - } - - // If we got this far we know that object has an own property that is - // not an accessor so we set it as a value and return descriptor. - descriptor.value = object[property]; - descriptor.writable = true; - return descriptor; - }; -} - -// ES5 15.2.3.4 -// http://es5.github.com/#x15.2.3.4 -if (!Object.getOwnPropertyNames) { - Object.getOwnPropertyNames = function getOwnPropertyNames(object) { - return Object.keys(object); - }; -} - -// ES5 15.2.3.5 -// http://es5.github.com/#x15.2.3.5 -if (!Object.create) { - - // Contributed by Brandon Benvie, October, 2012 - var createEmpty; - var supportsProto = !({__proto__:null} instanceof Object); - // the following produces false positives - // in Opera Mini => not a reliable check - // Object.prototype.__proto__ === null - if (supportsProto || typeof document === 'undefined') { - createEmpty = function () { - return { "__proto__": null }; - }; - } else { - // In old IE __proto__ can't be used to manually set `null`, nor does - // any other method exist to make an object that inherits from nothing, - // aside from Object.prototype itself. Instead, create a new global - // object and *steal* its Object.prototype and strip it bare. This is - // used as the prototype to create nullary objects. - createEmpty = function () { - var iframe = document.createElement('iframe'); - var parent = document.body || document.documentElement; - iframe.style.display = 'none'; - parent.appendChild(iframe); - iframe.src = 'javascript:'; - var empty = iframe.contentWindow.Object.prototype; - parent.removeChild(iframe); - iframe = null; - delete empty.constructor; - delete empty.hasOwnProperty; - delete empty.propertyIsEnumerable; - delete empty.isPrototypeOf; - delete empty.toLocaleString; - delete empty.toString; - delete empty.valueOf; - empty.__proto__ = null; - - function Empty() {} - Empty.prototype = empty; - // short-circuit future calls - createEmpty = function () { - return new Empty(); - }; - return new Empty(); - }; - } - - Object.create = function create(prototype, properties) { - - var object; - function Type() {} // An empty constructor. - - if (prototype === null) { - object = createEmpty(); - } else { - if (typeof prototype !== "object" && typeof prototype !== "function") { - // In the native implementation `parent` can be `null` - // OR *any* `instanceof Object` (Object|Function|Array|RegExp|etc) - // Use `typeof` tho, b/c in old IE, DOM elements are not `instanceof Object` - // like they are in modern browsers. Using `Object.create` on DOM elements - // is...err...probably inappropriate, but the native version allows for it. - throw new TypeError("Object prototype may only be an Object or null"); // same msg as Chrome - } - Type.prototype = prototype; - object = new Type(); - // IE has no built-in implementation of `Object.getPrototypeOf` - // neither `__proto__`, but this manually setting `__proto__` will - // guarantee that `Object.getPrototypeOf` will work as expected with - // objects created using `Object.create` - object.__proto__ = prototype; - } - - if (properties !== void 0) { - Object.defineProperties(object, properties); - } - - return object; - }; -} - -// ES5 15.2.3.6 -// http://es5.github.com/#x15.2.3.6 - -// Patch for WebKit and IE8 standard mode -// Designed by hax <hax.github.com> -// related issue: https://github.com/es-shims/es5-shim/issues#issue/5 -// IE8 Reference: -// http://msdn.microsoft.com/en-us/library/dd282900.aspx -// http://msdn.microsoft.com/en-us/library/dd229916.aspx -// WebKit Bugs: -// https://bugs.webkit.org/show_bug.cgi?id=36423 - -function doesDefinePropertyWork(object) { - try { - Object.defineProperty(object, "sentinel", {}); - return "sentinel" in object; - } catch (exception) { - // returns falsy - } -} - -// check whether defineProperty works if it's given. Otherwise, -// shim partially. -if (Object.defineProperty) { - var definePropertyWorksOnObject = doesDefinePropertyWork({}); - var definePropertyWorksOnDom = typeof document === "undefined" || - doesDefinePropertyWork(document.createElement("div")); - if (!definePropertyWorksOnObject || !definePropertyWorksOnDom) { - var definePropertyFallback = Object.defineProperty, - definePropertiesFallback = Object.defineProperties; - } -} - -if (!Object.defineProperty || definePropertyFallback) { - var ERR_NON_OBJECT_DESCRIPTOR = "Property description must be an object: "; - var ERR_NON_OBJECT_TARGET = "Object.defineProperty called on non-object: " - var ERR_ACCESSORS_NOT_SUPPORTED = "getters & setters can not be defined " + - "on this javascript engine"; - - Object.defineProperty = function defineProperty(object, property, descriptor) { - if ((typeof object !== "object" && typeof object !== "function") || object === null) { - throw new TypeError(ERR_NON_OBJECT_TARGET + object); - } - if ((typeof descriptor !== "object" && typeof descriptor !== "function") || descriptor === null) { - throw new TypeError(ERR_NON_OBJECT_DESCRIPTOR + descriptor); - } - // make a valiant attempt to use the real defineProperty - // for I8's DOM elements. - if (definePropertyFallback) { - try { - return definePropertyFallback.call(Object, object, property, descriptor); - } catch (exception) { - // try the shim if the real one doesn't work - } - } - - // If it's a data property. - if (owns(descriptor, "value")) { - // fail silently if "writable", "enumerable", or "configurable" - // are requested but not supported - /* - // alternate approach: - if ( // can't implement these features; allow false but not true - !(owns(descriptor, "writable") ? descriptor.writable : true) || - !(owns(descriptor, "enumerable") ? descriptor.enumerable : true) || - !(owns(descriptor, "configurable") ? descriptor.configurable : true) - ) - throw new RangeError( - "This implementation of Object.defineProperty does not " + - "support configurable, enumerable, or writable." - ); - */ - - if (supportsAccessors && (lookupGetter(object, property) || - lookupSetter(object, property))) - { - // As accessors are supported only on engines implementing - // `__proto__` we can safely override `__proto__` while defining - // a property to make sure that we don't hit an inherited - // accessor. - var prototype = object.__proto__; - object.__proto__ = prototypeOfObject; - // Deleting a property anyway since getter / setter may be - // defined on object itself. - delete object[property]; - object[property] = descriptor.value; - // Setting original `__proto__` back now. - object.__proto__ = prototype; - } else { - object[property] = descriptor.value; - } - } else { - if (!supportsAccessors) { - throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED); - } - // If we got that far then getters and setters can be defined !! - if (owns(descriptor, "get")) { - defineGetter(object, property, descriptor.get); - } - if (owns(descriptor, "set")) { - defineSetter(object, property, descriptor.set); - } - } - return object; - }; -} - -// ES5 15.2.3.7 -// http://es5.github.com/#x15.2.3.7 -if (!Object.defineProperties || definePropertiesFallback) { - Object.defineProperties = function defineProperties(object, properties) { - // make a valiant attempt to use the real defineProperties - if (definePropertiesFallback) { - try { - return definePropertiesFallback.call(Object, object, properties); - } catch (exception) { - // try the shim if the real one doesn't work - } - } - - for (var property in properties) { - if (owns(properties, property) && property !== "__proto__") { - Object.defineProperty(object, property, properties[property]); - } - } - return object; - }; -} - -// ES5 15.2.3.8 -// http://es5.github.com/#x15.2.3.8 -if (!Object.seal) { - Object.seal = function seal(object) { - // this is misleading and breaks feature-detection, but - // allows "securable" code to "gracefully" degrade to working - // but insecure code. - return object; - }; -} - -// ES5 15.2.3.9 -// http://es5.github.com/#x15.2.3.9 -if (!Object.freeze) { - Object.freeze = function freeze(object) { - // this is misleading and breaks feature-detection, but - // allows "securable" code to "gracefully" degrade to working - // but insecure code. - return object; - }; -} - -// detect a Rhino bug and patch it -try { - Object.freeze(function () {}); -} catch (exception) { - Object.freeze = (function freeze(freezeObject) { - return function freeze(object) { - if (typeof object === "function") { - return object; - } else { - return freezeObject(object); - } - }; - })(Object.freeze); -} - -// ES5 15.2.3.10 -// http://es5.github.com/#x15.2.3.10 -if (!Object.preventExtensions) { - Object.preventExtensions = function preventExtensions(object) { - // this is misleading and breaks feature-detection, but - // allows "securable" code to "gracefully" degrade to working - // but insecure code. - return object; - }; -} - -// ES5 15.2.3.11 -// http://es5.github.com/#x15.2.3.11 -if (!Object.isSealed) { - Object.isSealed = function isSealed(object) { - return false; - }; -} - -// ES5 15.2.3.12 -// http://es5.github.com/#x15.2.3.12 -if (!Object.isFrozen) { - Object.isFrozen = function isFrozen(object) { - return false; - }; -} - -// ES5 15.2.3.13 -// http://es5.github.com/#x15.2.3.13 -if (!Object.isExtensible) { - Object.isExtensible = function isExtensible(object) { - // 1. If Type(O) is not Object throw a TypeError exception. - if (Object(object) !== object) { - throw new TypeError(); // TODO message - } - // 2. Return the Boolean value of the [[Extensible]] internal property of O. - var name = ''; - while (owns(object, name)) { - name += '?'; - } - object[name] = true; - var returnValue = owns(object, name); - delete object[name]; - return returnValue; - }; -} - -}); diff --git a/vnfmarket/common/thirdparty/es5-shim/es5-sham.map b/vnfmarket/common/thirdparty/es5-shim/es5-sham.map deleted file mode 100644 index be9b6158..00000000 --- a/vnfmarket/common/thirdparty/es5-shim/es5-sham.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["es5-sham.js"],"names":["definition","define","YUI","add","call","Function","prototype","prototypeOfObject","Object","owns","bind","hasOwnProperty","defineGetter","defineSetter","lookupGetter","lookupSetter","supportsAccessors","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__","getPrototypeOf","object","proto","__proto__","constructor","doesGetOwnPropertyDescriptorWork","sentinel","getOwnPropertyDescriptor","value","exception","defineProperty","getOwnPropertyDescriptorWorksOnObject","getOwnPropertyDescriptorWorksOnDom","document","createElement","getOwnPropertyDescriptorFallback","ERR_NON_OBJECT","property","TypeError","descriptor","enumerable","configurable","notPrototypeOfObject","getter","setter","get","set","writable","getOwnPropertyNames","keys","create","createEmpty","supportsProto","iframe","parent","body","documentElement","style","display","appendChild","src","empty","contentWindow","removeChild","propertyIsEnumerable","isPrototypeOf","toLocaleString","toString","valueOf","Empty","properties","Type","defineProperties","doesDefinePropertyWork","definePropertyWorksOnObject","definePropertyWorksOnDom","definePropertyFallback","definePropertiesFallback","ERR_NON_OBJECT_DESCRIPTOR","ERR_NON_OBJECT_TARGET","ERR_ACCESSORS_NOT_SUPPORTED","seal","freeze","freezeObject","preventExtensions","isSealed","isFrozen","isExtensible","name","returnValue"],"mappings":";;;;;CAWA,SAAWA,GAEP,SAAWC,UAAW,WAAY,CAC9BA,OAAOD,OAEJ,UAAWE,OAAQ,WAAY,CAClCA,IAAIC,IAAI,WAAYH,OAEjB,CACHA,OAEL,WAGH,GAAII,GAAOC,SAASC,UAAUF,IAC9B,IAAIG,GAAoBC,OAAOF,SAC/B,IAAIG,GAAOL,EAAKM,KAAKH,EAAkBI,eAGvC,IAAIC,EACJ,IAAIC,EACJ,IAAIC,EACJ,IAAIC,EACJ,IAAIC,EACJ,IAAKA,EAAoBP,EAAKF,EAAmB,oBAAsB,CACnEK,EAAeR,EAAKM,KAAKH,EAAkBU,iBAC3CJ,GAAeT,EAAKM,KAAKH,EAAkBW,iBAC3CJ,GAAeV,EAAKM,KAAKH,EAAkBY,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ham.min.js deleted file mode 100644 index 70f8f0ca..00000000 --- a/vnfmarket/common/thirdparty/es5-shim/es5-sham.min.js +++ /dev/null @@ -1,7 +0,0 @@ -/*! - * https://github.com/es-shims/es5-shim - * @license es5-shim Copyright 2009-2014 by contributors, MIT License - * see https://github.com/es-shims/es5-shim/blob/master/LICENSE - */ -(function(e){if(typeof define==="function"){define(e)}else if(typeof YUI==="function"){YUI.add("es5-sham",e)}else{e()}})(function(){var e=Function.prototype.call;var t=Object.prototype;var r=e.bind(t.hasOwnProperty);var n;var o;var i;var c;var f;if(f=r(t,"__defineGetter__")){n=e.bind(t.__defineGetter__);o=e.bind(t.__defineSetter__);i=e.bind(t.__lookupGetter__);c=e.bind(t.__lookupSetter__)}if(!Object.getPrototypeOf){Object.getPrototypeOf=function g(e){var r=e.__proto__;if(r||r===null){return r}else if(e.constructor){return e.constructor.prototype}else{return t}}}function u(e){try{e.sentinel=0;return Object.getOwnPropertyDescriptor(e,"sentinel").value===0}catch(t){}}if(Object.defineProperty){var p=u({});var a=typeof document==="undefined"||u(document.createElement("div"));if(!a||!p){var l=Object.getOwnPropertyDescriptor}}if(!Object.getOwnPropertyDescriptor||l){var b="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function E(e,n){if(typeof e!=="object"&&typeof e!=="function"||e===null){throw new TypeError(b+e)}if(l){try{return l.call(Object,e,n)}catch(o){}}if(!r(e,n)){return}var u={enumerable:true,configurable:true};if(f){var p=e.__proto__;var a=e!==t;if(a){e.__proto__=t}var _=i(e,n);var s=c(e,n);if(a){e.__proto__=p}if(_||s){if(_){u.get=_}if(s){u.set=s}return u}}u.value=e[n];u.writable=true;return u}}if(!Object.getOwnPropertyNames){Object.getOwnPropertyNames=function z(e){return Object.keys(e)}}if(!Object.create){var _;var s=!({__proto__:null}instanceof Object);if(s||typeof document==="undefined"){_=function(){return{__proto__:null}}}else{_=function(){var e=document.createElement("iframe");var t=document.body||document.documentElement;e.style.display="none";t.appendChild(e);e.src="javascript:";var r=e.contentWindow.Object.prototype;t.removeChild(e);e=null;delete r.constructor;delete r.hasOwnProperty;delete r.propertyIsEnumerable;delete r.isPrototypeOf;delete r.toLocaleString;delete r.toString;delete r.valueOf;r.__proto__=null;function n(){}n.prototype=r;_=function(){return new n};return new n}}Object.create=function S(e,t){var r;function n(){}if(e===null){r=_()}else{if(typeof e!=="object"&&typeof e!=="function"){throw new TypeError("Object prototype may only be an Object or null")}n.prototype=e;r=new n;r.__proto__=e}if(t!==void 0){Object.defineProperties(r,t)}return r}}function d(e){try{Object.defineProperty(e,"sentinel",{});return"sentinel"in e}catch(t){}}if(Object.defineProperty){var y=d({});var O=typeof document==="undefined"||d(document.createElement("div"));if(!y||!O){var j=Object.defineProperty,v=Object.defineProperties}}if(!Object.defineProperty||j){var w="Property description must be an object: ";var P="Object.defineProperty called on non-object: ";var m="getters & setters can not be defined "+"on this javascript engine";Object.defineProperty=function T(e,u,p){if(typeof e!=="object"&&typeof e!=="function"||e===null){throw new TypeError(P+e)}if(typeof p!=="object"&&typeof p!=="function"||p===null){throw new TypeError(w+p)}if(j){try{return j.call(Object,e,u,p)}catch(a){}}if(r(p,"value")){if(f&&(i(e,u)||c(e,u))){var l=e.__proto__;e.__proto__=t;delete e[u];e[u]=p.value;e.__proto__=l}else{e[u]=p.value}}else{if(!f){throw new TypeError(m)}if(r(p,"get")){n(e,u,p.get)}if(r(p,"set")){o(e,u,p.set)}}return e}}if(!Object.defineProperties||v){Object.defineProperties=function D(e,t){if(v){try{return v.call(Object,e,t)}catch(n){}}for(var o in t){if(r(t,o)&&o!=="__proto__"){Object.defineProperty(e,o,t[o])}}return e}}if(!Object.seal){Object.seal=function x(e){return e}}if(!Object.freeze){Object.freeze=function k(e){return e}}try{Object.freeze(function(){})}catch(h){Object.freeze=function F(e){return function t(r){if(typeof r==="function"){return r}else{return e(r)}}}(Object.freeze)}if(!Object.preventExtensions){Object.preventExtensions=function G(e){return e}}if(!Object.isSealed){Object.isSealed=function I(e){return false}}if(!Object.isFrozen){Object.isFrozen=function C(e){return false}}if(!Object.isExtensible){Object.isExtensible=function N(e){if(Object(e)!==e){throw new TypeError}var t="";while(r(e,t)){t+="?"}e[t]=true;var n=r(e,t);delete e[t];return n}}}); -//# sourceMappingURL=es5-sham.map
\ No newline at end of file diff --git a/vnfmarket/common/thirdparty/es5-shim/es5-shim.js b/vnfmarket/common/thirdparty/es5-shim/es5-shim.js deleted file mode 100644 index aed02900..00000000 --- a/vnfmarket/common/thirdparty/es5-shim/es5-shim.js +++ /dev/null @@ -1,1434 +0,0 @@ -/*! - * https://github.com/es-shims/es5-shim - * @license es5-shim Copyright 2009-2014 by contributors, MIT License - * see https://github.com/es-shims/es5-shim/blob/master/LICENSE - */ - -// vim: ts=4 sts=4 sw=4 expandtab - -//Add semicolon to prevent IIFE from being passed as argument to concated code. -; - -// UMD (Universal Module Definition) -// see https://github.com/umdjs/umd/blob/master/returnExports.js -(function (root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(factory); - } else if (typeof exports === 'object') { - // Node. Does not work with strict CommonJS, but - // only CommonJS-like enviroments that support module.exports, - // like Node. - module.exports = factory(); - } else { - // Browser globals (root is window) - root.returnExports = factory(); - } -}(this, function () { - -/** - * Brings an environment as close to ECMAScript 5 compliance - * as is possible with the facilities of erstwhile engines. - * - * Annotated ES5: http://es5.github.com/ (specific links below) - * ES5 Spec: http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf - * Required reading: http://javascriptweblog.wordpress.com/2011/12/05/extending-javascript-natives/ - */ - -// Shortcut to an often accessed properties, in order to avoid multiple -// dereference that costs universally. -var call = Function.prototype.call; -var prototypeOfArray = Array.prototype; -var prototypeOfObject = Object.prototype; -var _Array_slice_ = prototypeOfArray.slice; -var array_splice = Array.prototype.splice; -var array_push = Array.prototype.push; -var array_unshift = Array.prototype.unshift; - -var isFunction = function (val) { - return prototypeOfObject.toString.call(val) === '[object Function]'; -}; -var isRegex = function (val) { - return prototypeOfObject.toString.call(val) === '[object RegExp]'; -}; - -// -// Function -// ======== -// - -// ES-5 15.3.4.5 -// http://es5.github.com/#x15.3.4.5 - -function Empty() {} - -if (!Function.prototype.bind) { - Function.prototype.bind = function bind(that) { // .length is 1 - // 1. Let Target be the this value. - var target = this; - // 2. If IsCallable(Target) is false, throw a TypeError exception. - if (!isFunction(target)) { - throw new TypeError("Function.prototype.bind called on incompatible " + target); - } - // 3. Let A be a new (possibly empty) internal list of all of the - // argument values provided after thisArg (arg1, arg2 etc), in order. - // XXX slicedArgs will stand in for "A" if used - var args = _Array_slice_.call(arguments, 1); // for normal call - // 4. Let F be a new native ECMAScript object. - // 11. Set the [[Prototype]] internal property of F to the standard - // built-in Function prototype object as specified in 15.3.3.1. - // 12. Set the [[Call]] internal property of F as described in - // 15.3.4.5.1. - // 13. Set the [[Construct]] internal property of F as described in - // 15.3.4.5.2. - // 14. Set the [[HasInstance]] internal property of F as described in - // 15.3.4.5.3. - var binder = function () { - - if (this instanceof bound) { - // 15.3.4.5.2 [[Construct]] - // When the [[Construct]] internal method of a function object, - // F that was created using the bind function is called with a - // list of arguments ExtraArgs, the following steps are taken: - // 1. Let target be the value of F's [[TargetFunction]] - // internal property. - // 2. If target has no [[Construct]] internal method, a - // TypeError exception is thrown. - // 3. Let boundArgs be the value of F's [[BoundArgs]] internal - // property. - // 4. Let args be a new list containing the same values as the - // list boundArgs in the same order followed by the same - // values as the list ExtraArgs in the same order. - // 5. Return the result of calling the [[Construct]] internal - // method of target providing args as the arguments. - - var result = target.apply( - this, - args.concat(_Array_slice_.call(arguments)) - ); - if (Object(result) === result) { - return result; - } - return this; - - } else { - // 15.3.4.5.1 [[Call]] - // When the [[Call]] internal method of a function object, F, - // which was created using the bind function is called with a - // this value and a list of arguments ExtraArgs, the following - // steps are taken: - // 1. Let boundArgs be the value of F's [[BoundArgs]] internal - // property. - // 2. Let boundThis be the value of F's [[BoundThis]] internal - // property. - // 3. Let target be the value of F's [[TargetFunction]] internal - // property. - // 4. Let args be a new list containing the same values as the - // list boundArgs in the same order followed by the same - // values as the list ExtraArgs in the same order. - // 5. Return the result of calling the [[Call]] internal method - // of target providing boundThis as the this value and - // providing args as the arguments. - - // equiv: target.call(this, ...boundArgs, ...args) - return target.apply( - that, - args.concat(_Array_slice_.call(arguments)) - ); - - } - - }; - - // 15. If the [[Class]] internal property of Target is "Function", then - // a. Let L be the length property of Target minus the length of A. - // b. Set the length own property of F to either 0 or L, whichever is - // larger. - // 16. Else set the length own property of F to 0. - - var boundLength = Math.max(0, target.length - args.length); - - // 17. Set the attributes of the length own property of F to the values - // specified in 15.3.5.1. - var boundArgs = []; - for (var i = 0; i < boundLength; i++) { - boundArgs.push("$" + i); - } - - // XXX Build a dynamic function with desired amount of arguments is the only - // way to set the length property of a function. - // In environments where Content Security Policies enabled (Chrome extensions, - // for ex.) all use of eval or Function costructor throws an exception. - // However in all of these environments Function.prototype.bind exists - // and so this code will never be executed. - var bound = Function("binder", "return function(" + boundArgs.join(",") + "){return binder.apply(this,arguments)}")(binder); - - if (target.prototype) { - Empty.prototype = target.prototype; - bound.prototype = new Empty(); - // Clean up dangling references. - Empty.prototype = null; - } - - // TODO - // 18. Set the [[Extensible]] internal property of F to true. - - // TODO - // 19. Let thrower be the [[ThrowTypeError]] function Object (13.2.3). - // 20. Call the [[DefineOwnProperty]] internal method of F with - // arguments "caller", PropertyDescriptor {[[Get]]: thrower, [[Set]]: - // thrower, [[Enumerable]]: false, [[Configurable]]: false}, and - // false. - // 21. Call the [[DefineOwnProperty]] internal method of F with - // arguments "arguments", PropertyDescriptor {[[Get]]: thrower, - // [[Set]]: thrower, [[Enumerable]]: false, [[Configurable]]: false}, - // and false. - - // TODO - // NOTE Function objects created using Function.prototype.bind do not - // have a prototype property or the [[Code]], [[FormalParameters]], and - // [[Scope]] internal properties. - // XXX can't delete prototype in pure-js. - - // 22. Return F. - return bound; - }; -} - -// _Please note: Shortcuts are defined after `Function.prototype.bind` as we -// us it in defining shortcuts. -var owns = call.bind(prototypeOfObject.hasOwnProperty); -// Having a toString local variable name breaks in Opera so use _toString. -var _toString = call.bind(prototypeOfObject.toString); - -// If JS engine supports accessors creating shortcuts. -var defineGetter; -var defineSetter; -var lookupGetter; -var lookupSetter; -var supportsAccessors; -if ((supportsAccessors = owns(prototypeOfObject, "__defineGetter__"))) { - defineGetter = call.bind(prototypeOfObject.__defineGetter__); - defineSetter = call.bind(prototypeOfObject.__defineSetter__); - lookupGetter = call.bind(prototypeOfObject.__lookupGetter__); - lookupSetter = call.bind(prototypeOfObject.__lookupSetter__); -} - -// -// Array -// ===== -// - -// ES5 15.4.4.12 -// http://es5.github.com/#x15.4.4.12 -// Default value for second param -// [bugfix, ielt9, old browsers] -// IE < 9 bug: [1,2].splice(0).join("") === "" but should be "12" -if ([1, 2].splice(0).length !== 2) { - if (function () { // test IE < 9 to splice bug - see issue #138 - function makeArray(l) { - var a = []; - while (l--) { - a.unshift(l); - } - return a; - } - - var array = []; - var lengthBefore; - - array.splice.bind(array, 0, 0).apply(null, makeArray(20)); - array.splice.bind(array, 0, 0).apply(null, makeArray(26)); - - lengthBefore = array.length; //20 - array.splice(5, 0, "XXX"); // add one element - - if (lengthBefore + 1 === array.length) { - return true;// has right splice implementation without bugs - } - // else { - // IE8 bug - // } - }()) { // IE 6/7 - Array.prototype.splice = function(start, deleteCount) { - if (!arguments.length) { - return []; - } else { - return array_splice.apply(this, [ - start === void 0 ? 0 : start, - deleteCount === void 0 ? (this.length - start) : deleteCount - ].concat(_Array_slice_.call(arguments, 2))); - } - }; - } else { // IE8 - Array.prototype.splice = function(start, deleteCount) { - var result; - var args = _Array_slice_.call(arguments, 2); - var addElementsCount = args.length; - - if (!arguments.length) { - return []; - } - - if (start === void 0) { // default - start = 0; - } - if (deleteCount === void 0) { // default - deleteCount = this.length - start; - } - - if (addElementsCount > 0) { - if (deleteCount <= 0) { - if (start === this.length) { // tiny optimisation #1 - array_push.apply(this, args); - return []; - } - - if (start === 0) { // tiny optimisation #2 - array_unshift.apply(this, args); - return []; - } - } - - // Array.prototype.splice implementation - result = _Array_slice_.call(this, start, start + deleteCount);// delete part - args.push.apply(args, _Array_slice_.call(this, start + deleteCount, this.length));// right part - args.unshift.apply(args, _Array_slice_.call(this, 0, start));// left part - - // delete all items from this array and replace it to 'left part' + _Array_slice_.call(arguments, 2) + 'right part' - args.unshift(0, this.length); - - array_splice.apply(this, args); - - return result; - } - - return array_splice.call(this, start, deleteCount); - }; - - } -} - -// ES5 15.4.4.12 -// http://es5.github.com/#x15.4.4.13 -// Return len+argCount. -// [bugfix, ielt8] -// IE < 8 bug: [].unshift(0) === undefined but should be "1" -if ([].unshift(0) !== 1) { - Array.prototype.unshift = function() { - array_unshift.apply(this, arguments); - return this.length; - }; -} - -// ES5 15.4.3.2 -// http://es5.github.com/#x15.4.3.2 -// https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/isArray -if (!Array.isArray) { - Array.isArray = function isArray(obj) { - return _toString(obj) === "[object Array]"; - }; -} - -// The IsCallable() check in the Array functions -// has been replaced with a strict check on the -// internal class of the object to trap cases where -// the provided function was actually a regular -// expression literal, which in V8 and -// JavaScriptCore is a typeof "function". Only in -// V8 are regular expression literals permitted as -// reduce parameters, so it is desirable in the -// general case for the shim to match the more -// strict and common behavior of rejecting regular -// expressions. - -// ES5 15.4.4.18 -// http://es5.github.com/#x15.4.4.18 -// https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/array/forEach - - -// Check failure of by-index access of string characters (IE < 9) -// and failure of `0 in boxedString` (Rhino) -var boxedString = Object("a"); -var splitString = boxedString[0] !== "a" || !(0 in boxedString); - -var properlyBoxesContext = function properlyBoxed(method) { - // Check node 0.6.21 bug where third parameter is not boxed - var properlyBoxes = true; - if (method) { - method.call('foo', function (_, __, context) { - if (typeof context !== 'object') { properlyBoxes = false; } - }); - } - return !!method && properlyBoxes; -}; - -if (!Array.prototype.forEach || !properlyBoxesContext(Array.prototype.forEach)) { - Array.prototype.forEach = function forEach(fun /*, thisp*/) { - var object = toObject(this), - self = splitString && _toString(this) === "[object String]" ? - this.split("") : - object, - thisp = arguments[1], - i = -1, - length = self.length >>> 0; - - // If no callback function or if callback is not a callable function - if (!isFunction(fun)) { - throw new TypeError(); // TODO message - } - - while (++i < length) { - if (i in self) { - // Invoke the callback function with call, passing arguments: - // context, property value, property key, thisArg object - // context - fun.call(thisp, self[i], i, object); - } - } - }; -} - -// ES5 15.4.4.19 -// http://es5.github.com/#x15.4.4.19 -// https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/map -if (!Array.prototype.map || !properlyBoxesContext(Array.prototype.map)) { - Array.prototype.map = function map(fun /*, thisp*/) { - var object = toObject(this), - self = splitString && _toString(this) === "[object String]" ? - this.split("") : - object, - length = self.length >>> 0, - result = Array(length), - thisp = arguments[1]; - - // If no callback function or if callback is not a callable function - if (!isFunction(fun)) { - throw new TypeError(fun + " is not a function"); - } - - for (var i = 0; i < length; i++) { - if (i in self) - result[i] = fun.call(thisp, self[i], i, object); - } - return result; - }; -} - -// ES5 15.4.4.20 -// http://es5.github.com/#x15.4.4.20 -// https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/filter -if (!Array.prototype.filter || !properlyBoxesContext(Array.prototype.filter)) { - Array.prototype.filter = function filter(fun /*, thisp */) { - var object = toObject(this), - self = splitString && _toString(this) === "[object String]" ? - this.split("") : - object, - length = self.length >>> 0, - result = [], - value, - thisp = arguments[1]; - - // If no callback function or if callback is not a callable function - if (!isFunction(fun)) { - throw new TypeError(fun + " is not a function"); - } - - for (var i = 0; i < length; i++) { - if (i in self) { - value = self[i]; - if (fun.call(thisp, value, i, object)) { - result.push(value); - } - } - } - return result; - }; -} - -// ES5 15.4.4.16 -// http://es5.github.com/#x15.4.4.16 -// https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/every -if (!Array.prototype.every || !properlyBoxesContext(Array.prototype.every)) { - Array.prototype.every = function every(fun /*, thisp */) { - var object = toObject(this), - self = splitString && _toString(this) === "[object String]" ? - this.split("") : - object, - length = self.length >>> 0, - thisp = arguments[1]; - - // If no callback function or if callback is not a callable function - if (!isFunction(fun)) { - throw new TypeError(fun + " is not a function"); - } - - for (var i = 0; i < length; i++) { - if (i in self && !fun.call(thisp, self[i], i, object)) { - return false; - } - } - return true; - }; -} - -// ES5 15.4.4.17 -// http://es5.github.com/#x15.4.4.17 -// https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/some -if (!Array.prototype.some || !properlyBoxesContext(Array.prototype.some)) { - Array.prototype.some = function some(fun /*, thisp */) { - var object = toObject(this), - self = splitString && _toString(this) === "[object String]" ? - this.split("") : - object, - length = self.length >>> 0, - thisp = arguments[1]; - - // If no callback function or if callback is not a callable function - if (!isFunction(fun)) { - throw new TypeError(fun + " is not a function"); - } - - for (var i = 0; i < length; i++) { - if (i in self && fun.call(thisp, self[i], i, object)) { - return true; - } - } - return false; - }; -} - -// ES5 15.4.4.21 -// http://es5.github.com/#x15.4.4.21 -// https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/reduce -var reduceCoercesToObject = false; -if (Array.prototype.reduce) { - reduceCoercesToObject = typeof Array.prototype.reduce.call('a', function (_, __, ___, list) { return list; }) === 'object'; -} -if (!Array.prototype.reduce || !reduceCoercesToObject) { - Array.prototype.reduce = function reduce(fun /*, initial*/) { - var object = toObject(this), - self = splitString && _toString(this) === "[object String]" ? - this.split("") : - object, - length = self.length >>> 0; - - // If no callback function or if callback is not a callable function - if (!isFunction(fun)) { - throw new TypeError(fun + " is not a function"); - } - - // no value to return if no initial value and an empty array - if (!length && arguments.length === 1) { - throw new TypeError("reduce of empty array with no initial value"); - } - - var i = 0; - var result; - if (arguments.length >= 2) { - result = arguments[1]; - } else { - do { - if (i in self) { - result = self[i++]; - break; - } - - // if array contains no values, no initial value to return - if (++i >= length) { - throw new TypeError("reduce of empty array with no initial value"); - } - } while (true); - } - - for (; i < length; i++) { - if (i in self) { - result = fun.call(void 0, result, self[i], i, object); - } - } - - return result; - }; -} - -// ES5 15.4.4.22 -// http://es5.github.com/#x15.4.4.22 -// https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/reduceRight -if (!Array.prototype.reduceRight) { - Array.prototype.reduceRight = function reduceRight(fun /*, initial*/) { - var object = toObject(this), - self = splitString && _toString(this) === "[object String]" ? - this.split("") : - object, - length = self.length >>> 0; - - // If no callback function or if callback is not a callable function - if (!isFunction(fun)) { - throw new TypeError(fun + " is not a function"); - } - - // no value to return if no initial value, empty array - if (!length && arguments.length === 1) { - throw new TypeError("reduceRight of empty array with no initial value"); - } - - var result, i = length - 1; - if (arguments.length >= 2) { - result = arguments[1]; - } else { - do { - if (i in self) { - result = self[i--]; - break; - } - - // if array contains no values, no initial value to return - if (--i < 0) { - throw new TypeError("reduceRight of empty array with no initial value"); - } - } while (true); - } - - if (i < 0) { - return result; - } - - do { - if (i in this) { - result = fun.call(void 0, result, self[i], i, object); - } - } while (i--); - - return result; - }; -} - -// ES5 15.4.4.14 -// http://es5.github.com/#x15.4.4.14 -// https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/indexOf -if (!Array.prototype.indexOf || ([0, 1].indexOf(1, 2) !== -1)) { - Array.prototype.indexOf = function indexOf(sought /*, fromIndex */ ) { - var self = splitString && _toString(this) === "[object String]" ? - this.split("") : - toObject(this), - length = self.length >>> 0; - - if (!length) { - return -1; - } - - var i = 0; - if (arguments.length > 1) { - i = toInteger(arguments[1]); - } - - // handle negative indices - i = i >= 0 ? i : Math.max(0, length + i); - for (; i < length; i++) { - if (i in self && self[i] === sought) { - return i; - } - } - return -1; - }; -} - -// ES5 15.4.4.15 -// http://es5.github.com/#x15.4.4.15 -// https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/lastIndexOf -if (!Array.prototype.lastIndexOf || ([0, 1].lastIndexOf(0, -3) !== -1)) { - Array.prototype.lastIndexOf = function lastIndexOf(sought /*, fromIndex */) { - var self = splitString && _toString(this) === "[object String]" ? - this.split("") : - toObject(this), - length = self.length >>> 0; - - if (!length) { - return -1; - } - var i = length - 1; - if (arguments.length > 1) { - i = Math.min(i, toInteger(arguments[1])); - } - // handle negative indices - i = i >= 0 ? i : length - Math.abs(i); - for (; i >= 0; i--) { - if (i in self && sought === self[i]) { - return i; - } - } - return -1; - }; -} - -// -// Object -// ====== -// - -// ES5 15.2.3.14 -// http://es5.github.com/#x15.2.3.14 -if (!Object.keys) { - // http://whattheheadsaid.com/2010/10/a-safer-object-keys-compatibility-implementation - var hasDontEnumBug = !({'toString': null}).propertyIsEnumerable('toString'), - hasProtoEnumBug = (function () {}).propertyIsEnumerable('prototype'), - dontEnums = [ - "toString", - "toLocaleString", - "valueOf", - "hasOwnProperty", - "isPrototypeOf", - "propertyIsEnumerable", - "constructor" - ], - dontEnumsLength = dontEnums.length, - isArguments = function isArguments(value) { - var str = _toString(value); - var isArgs = str === '[object Arguments]'; - if (!isArgs) { - isArgs = !Array.isArray(str) - && value !== null - && typeof value === 'object' - && typeof value.length === 'number' - && value.length >= 0 - && isFunction(value.callee); - } - return isArgs; - }; - - Object.keys = function keys(object) { - var isFn = isFunction(object), - isArgs = isArguments(object), - isObject = object !== null && typeof object === 'object', - isString = isObject && _toString(object) === '[object String]'; - - if (!isObject && !isFn && !isArgs) { - throw new TypeError("Object.keys called on a non-object"); - } - - var theKeys = []; - var skipProto = hasProtoEnumBug && isFn; - if (isString || isArgs) { - for (var i = 0; i < object.length; ++i) { - theKeys.push(String(i)); - } - } else { - for (var name in object) { - if (!(skipProto && name === 'prototype') && owns(object, name)) { - theKeys.push(String(name)); - } - } - } - - if (hasDontEnumBug) { - var ctor = object.constructor, - skipConstructor = ctor && ctor.prototype === object; - for (var j = 0; j < dontEnumsLength; j++) { - var dontEnum = dontEnums[j]; - if (!(skipConstructor && dontEnum === 'constructor') && owns(object, dontEnum)) { - theKeys.push(dontEnum); - } - } - } - return theKeys; - }; - -} - -// -// Date -// ==== -// - -// ES5 15.9.5.43 -// http://es5.github.com/#x15.9.5.43 -// This function returns a String value represent the instance in time -// represented by this Date object. The format of the String is the Date Time -// string format defined in 15.9.1.15. All fields are present in the String. -// The time zone is always UTC, denoted by the suffix Z. If the time value of -// this object is not a finite Number a RangeError exception is thrown. -var negativeDate = -62198755200000, - negativeYearString = "-000001"; -if ( - !Date.prototype.toISOString || - (new Date(negativeDate).toISOString().indexOf(negativeYearString) === -1) -) { - Date.prototype.toISOString = function toISOString() { - var result, length, value, year, month; - if (!isFinite(this)) { - throw new RangeError("Date.prototype.toISOString called on non-finite value."); - } - - year = this.getUTCFullYear(); - - month = this.getUTCMonth(); - // see https://github.com/es-shims/es5-shim/issues/111 - year += Math.floor(month / 12); - month = (month % 12 + 12) % 12; - - // the date time string format is specified in 15.9.1.15. - result = [month + 1, this.getUTCDate(), - this.getUTCHours(), this.getUTCMinutes(), this.getUTCSeconds()]; - year = ( - (year < 0 ? "-" : (year > 9999 ? "+" : "")) + - ("00000" + Math.abs(year)) - .slice(0 <= year && year <= 9999 ? -4 : -6) - ); - - length = result.length; - while (length--) { - value = result[length]; - // pad months, days, hours, minutes, and seconds to have two - // digits. - if (value < 10) { - result[length] = "0" + value; - } - } - // pad milliseconds to have three digits. - return ( - year + "-" + result.slice(0, 2).join("-") + - "T" + result.slice(2).join(":") + "." + - ("000" + this.getUTCMilliseconds()).slice(-3) + "Z" - ); - }; -} - - -// ES5 15.9.5.44 -// http://es5.github.com/#x15.9.5.44 -// This function provides a String representation of a Date object for use by -// JSON.stringify (15.12.3). -var dateToJSONIsSupported = false; -try { - dateToJSONIsSupported = ( - Date.prototype.toJSON && - new Date(NaN).toJSON() === null && - new Date(negativeDate).toJSON().indexOf(negativeYearString) !== -1 && - Date.prototype.toJSON.call({ // generic - toISOString: function () { - return true; - } - }) - ); -} catch (e) { -} -if (!dateToJSONIsSupported) { - Date.prototype.toJSON = function toJSON(key) { - // When the toJSON method is called with argument key, the following - // steps are taken: - - // 1. Let O be the result of calling ToObject, giving it the this - // value as its argument. - // 2. Let tv be toPrimitive(O, hint Number). - var o = Object(this), - tv = toPrimitive(o), - toISO; - // 3. If tv is a Number and is not finite, return null. - if (typeof tv === "number" && !isFinite(tv)) { - return null; - } - // 4. Let toISO be the result of calling the [[Get]] internal method of - // O with argument "toISOString". - toISO = o.toISOString; - // 5. If IsCallable(toISO) is false, throw a TypeError exception. - if (typeof toISO !== "function") { - throw new TypeError("toISOString property is not callable"); - } - // 6. Return the result of calling the [[Call]] internal method of - // toISO with O as the this value and an empty argument list. - return toISO.call(o); - - // NOTE 1 The argument is ignored. - - // NOTE 2 The toJSON function is intentionally generic; it does not - // require that its this value be a Date object. Therefore, it can be - // transferred to other kinds of objects for use as a method. However, - // it does require that any such object have a toISOString method. An - // object is free to use the argument key to filter its - // stringification. - }; -} - -// ES5 15.9.4.2 -// http://es5.github.com/#x15.9.4.2 -// based on work shared by Daniel Friesen (dantman) -// http://gist.github.com/303249 -var supportsExtendedYears = Date.parse('+033658-09-27T01:46:40.000Z') === 1e15; -var acceptsInvalidDates = !isNaN(Date.parse('2012-04-04T24:00:00.500Z')) || !isNaN(Date.parse('2012-11-31T23:59:59.000Z')); -var doesNotParseY2KNewYear = isNaN(Date.parse("2000-01-01T00:00:00.000Z")); -if (!Date.parse || doesNotParseY2KNewYear || acceptsInvalidDates || !supportsExtendedYears) { - // XXX global assignment won't work in embeddings that use - // an alternate object for the context. - Date = (function(NativeDate) { - - // Date.length === 7 - function Date(Y, M, D, h, m, s, ms) { - var length = arguments.length; - if (this instanceof NativeDate) { - var date = length === 1 && String(Y) === Y ? // isString(Y) - // We explicitly pass it through parse: - new NativeDate(Date.parse(Y)) : - // We have to manually make calls depending on argument - // length here - length >= 7 ? new NativeDate(Y, M, D, h, m, s, ms) : - length >= 6 ? new NativeDate(Y, M, D, h, m, s) : - length >= 5 ? new NativeDate(Y, M, D, h, m) : - length >= 4 ? new NativeDate(Y, M, D, h) : - length >= 3 ? new NativeDate(Y, M, D) : - length >= 2 ? new NativeDate(Y, M) : - length >= 1 ? new NativeDate(Y) : - new NativeDate(); - // Prevent mixups with unfixed Date object - date.constructor = Date; - return date; - } - return NativeDate.apply(this, arguments); - } - - // 15.9.1.15 Date Time String Format. - var isoDateExpression = new RegExp("^" + - "(\\d{4}|[\+\-]\\d{6})" + // four-digit year capture or sign + - // 6-digit extended year - "(?:-(\\d{2})" + // optional month capture - "(?:-(\\d{2})" + // optional day capture - "(?:" + // capture hours:minutes:seconds.milliseconds - "T(\\d{2})" + // hours capture - ":(\\d{2})" + // minutes capture - "(?:" + // optional :seconds.milliseconds - ":(\\d{2})" + // seconds capture - "(?:(\\.\\d{1,}))?" + // milliseconds capture - ")?" + - "(" + // capture UTC offset component - "Z|" + // UTC capture - "(?:" + // offset specifier +/-hours:minutes - "([-+])" + // sign capture - "(\\d{2})" + // hours offset capture - ":(\\d{2})" + // minutes offset capture - ")" + - ")?)?)?)?" + - "$"); - - var months = [ - 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 - ]; - - function dayFromMonth(year, month) { - var t = month > 1 ? 1 : 0; - return ( - months[month] + - Math.floor((year - 1969 + t) / 4) - - Math.floor((year - 1901 + t) / 100) + - Math.floor((year - 1601 + t) / 400) + - 365 * (year - 1970) - ); - } - - function toUTC(t) { - return Number(new NativeDate(1970, 0, 1, 0, 0, 0, t)); - } - - // Copy any custom methods a 3rd party library may have added - for (var key in NativeDate) { - Date[key] = NativeDate[key]; - } - - // Copy "native" methods explicitly; they may be non-enumerable - Date.now = NativeDate.now; - Date.UTC = NativeDate.UTC; - Date.prototype = NativeDate.prototype; - Date.prototype.constructor = Date; - - // Upgrade Date.parse to handle simplified ISO 8601 strings - Date.parse = function parse(string) { - var match = isoDateExpression.exec(string); - if (match) { - // parse months, days, hours, minutes, seconds, and milliseconds - // provide default values if necessary - // parse the UTC offset component - var year = Number(match[1]), - month = Number(match[2] || 1) - 1, - day = Number(match[3] || 1) - 1, - hour = Number(match[4] || 0), - minute = Number(match[5] || 0), - second = Number(match[6] || 0), - millisecond = Math.floor(Number(match[7] || 0) * 1000), - // When time zone is missed, local offset should be used - // (ES 5.1 bug) - // see https://bugs.ecmascript.org/show_bug.cgi?id=112 - isLocalTime = Boolean(match[4] && !match[8]), - signOffset = match[9] === "-" ? 1 : -1, - hourOffset = Number(match[10] || 0), - minuteOffset = Number(match[11] || 0), - result; - if ( - hour < ( - minute > 0 || second > 0 || millisecond > 0 ? - 24 : 25 - ) && - minute < 60 && second < 60 && millisecond < 1000 && - month > -1 && month < 12 && hourOffset < 24 && - minuteOffset < 60 && // detect invalid offsets - day > -1 && - day < ( - dayFromMonth(year, month + 1) - - dayFromMonth(year, month) - ) - ) { - result = ( - (dayFromMonth(year, month) + day) * 24 + - hour + - hourOffset * signOffset - ) * 60; - result = ( - (result + minute + minuteOffset * signOffset) * 60 + - second - ) * 1000 + millisecond; - if (isLocalTime) { - result = toUTC(result); - } - if (-8.64e15 <= result && result <= 8.64e15) { - return result; - } - } - return NaN; - } - return NativeDate.parse.apply(this, arguments); - }; - - return Date; - })(Date); -} - -// ES5 15.9.4.4 -// http://es5.github.com/#x15.9.4.4 -if (!Date.now) { - Date.now = function now() { - return new Date().getTime(); - }; -} - - -// -// Number -// ====== -// - -// ES5.1 15.7.4.5 -// http://es5.github.com/#x15.7.4.5 -if (!Number.prototype.toFixed || (0.00008).toFixed(3) !== '0.000' || (0.9).toFixed(0) === '0' || (1.255).toFixed(2) !== '1.25' || (1000000000000000128).toFixed(0) !== "1000000000000000128") { - // Hide these variables and functions - (function () { - var base, size, data, i; - - base = 1e7; - size = 6; - data = [0, 0, 0, 0, 0, 0]; - - function multiply(n, c) { - var i = -1; - while (++i < size) { - c += n * data[i]; - data[i] = c % base; - c = Math.floor(c / base); - } - } - - function divide(n) { - var i = size, c = 0; - while (--i >= 0) { - c += data[i]; - data[i] = Math.floor(c / n); - c = (c % n) * base; - } - } - - function toString() { - var i = size; - var s = ''; - while (--i >= 0) { - if (s !== '' || i === 0 || data[i] !== 0) { - var t = String(data[i]); - if (s === '') { - s = t; - } else { - s += '0000000'.slice(0, 7 - t.length) + t; - } - } - } - return s; - } - - function pow(x, n, acc) { - return (n === 0 ? acc : (n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc))); - } - - function log(x) { - var n = 0; - while (x >= 4096) { - n += 12; - x /= 4096; - } - while (x >= 2) { - n += 1; - x /= 2; - } - return n; - } - - Number.prototype.toFixed = function toFixed(fractionDigits) { - var f, x, s, m, e, z, j, k; - - // Test for NaN and round fractionDigits down - f = Number(fractionDigits); - f = f !== f ? 0 : Math.floor(f); - - if (f < 0 || f > 20) { - throw new RangeError("Number.toFixed called with invalid number of decimals"); - } - - x = Number(this); - - // Test for NaN - if (x !== x) { - return "NaN"; - } - - // If it is too big or small, return the string value of the number - if (x <= -1e21 || x >= 1e21) { - return String(x); - } - - s = ""; - - if (x < 0) { - s = "-"; - x = -x; - } - - m = "0"; - - if (x > 1e-21) { - // 1e-21 < x < 1e21 - // -70 < log2(x) < 70 - e = log(x * pow(2, 69, 1)) - 69; - z = (e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1)); - z *= 0x10000000000000; // Math.pow(2, 52); - e = 52 - e; - - // -18 < e < 122 - // x = z / 2 ^ e - if (e > 0) { - multiply(0, z); - j = f; - - while (j >= 7) { - multiply(1e7, 0); - j -= 7; - } - - multiply(pow(10, j, 1), 0); - j = e - 1; - - while (j >= 23) { - divide(1 << 23); - j -= 23; - } - - divide(1 << j); - multiply(1, 1); - divide(2); - m = toString(); - } else { - multiply(0, z); - multiply(1 << (-e), 0); - m = toString() + '0.00000000000000000000'.slice(2, 2 + f); - } - } - - if (f > 0) { - k = m.length; - - if (k <= f) { - m = s + '0.0000000000000000000'.slice(0, f - k + 2) + m; - } else { - m = s + m.slice(0, k - f) + '.' + m.slice(k - f); - } - } else { - m = s + m; - } - - return m; - }; - }()); -} - - -// -// String -// ====== -// - - -// ES5 15.5.4.14 -// http://es5.github.com/#x15.5.4.14 - -// [bugfix, IE lt 9, firefox 4, Konqueror, Opera, obscure browsers] -// Many browsers do not split properly with regular expressions or they -// do not perform the split correctly under obscure conditions. -// See http://blog.stevenlevithan.com/archives/cross-browser-split -// I've tested in many browsers and this seems to cover the deviant ones: -// 'ab'.split(/(?:ab)*/) should be ["", ""], not [""] -// '.'.split(/(.?)(.?)/) should be ["", ".", "", ""], not ["", ""] -// 'tesst'.split(/(s)*/) should be ["t", undefined, "e", "s", "t"], not -// [undefined, "t", undefined, "e", ...] -// ''.split(/.?/) should be [], not [""] -// '.'.split(/()()/) should be ["."], not ["", "", "."] - -var string_split = String.prototype.split; -if ( - 'ab'.split(/(?:ab)*/).length !== 2 || - '.'.split(/(.?)(.?)/).length !== 4 || - 'tesst'.split(/(s)*/)[1] === "t" || - ''.split(/.?/).length || - '.'.split(/()()/).length > 1 -) { - (function () { - var compliantExecNpcg = /()??/.exec("")[1] === void 0; // NPCG: nonparticipating capturing group - - String.prototype.split = function (separator, limit) { - var string = this; - if (separator === void 0 && limit === 0) - return []; - - // If `separator` is not a regex, use native split - if (Object.prototype.toString.call(separator) !== "[object RegExp]") { - return string_split.apply(this, arguments); - } - - var output = [], - flags = (separator.ignoreCase ? "i" : "") + - (separator.multiline ? "m" : "") + - (separator.extended ? "x" : "") + // Proposed for ES6 - (separator.sticky ? "y" : ""), // Firefox 3+ - lastLastIndex = 0, - // Make `global` and avoid `lastIndex` issues by working with a copy - separator2, match, lastIndex, lastLength; - separator = new RegExp(separator.source, flags + "g"); - string += ""; // Type-convert - if (!compliantExecNpcg) { - // Doesn't need flags gy, but they don't hurt - separator2 = new RegExp("^" + separator.source + "$(?!\\s)", flags); - } - /* Values for `limit`, per the spec: - * If undefined: 4294967295 // Math.pow(2, 32) - 1 - * If 0, Infinity, or NaN: 0 - * If positive number: limit = Math.floor(limit); if (limit > 4294967295) limit -= 4294967296; - * If negative number: 4294967296 - Math.floor(Math.abs(limit)) - * If other: Type-convert, then use the above rules - */ - limit = limit === void 0 ? - -1 >>> 0 : // Math.pow(2, 32) - 1 - limit >>> 0; // ToUint32(limit) - while (match = separator.exec(string)) { - // `separator.lastIndex` is not reliable cross-browser - lastIndex = match.index + match[0].length; - if (lastIndex > lastLastIndex) { - output.push(string.slice(lastLastIndex, match.index)); - // Fix browsers whose `exec` methods don't consistently return `undefined` for - // nonparticipating capturing groups - if (!compliantExecNpcg && match.length > 1) { - match[0].replace(separator2, function () { - for (var i = 1; i < arguments.length - 2; i++) { - if (arguments[i] === void 0) { - match[i] = void 0; - } - } - }); - } - if (match.length > 1 && match.index < string.length) { - Array.prototype.push.apply(output, match.slice(1)); - } - lastLength = match[0].length; - lastLastIndex = lastIndex; - if (output.length >= limit) { - break; - } - } - if (separator.lastIndex === match.index) { - separator.lastIndex++; // Avoid an infinite loop - } - } - if (lastLastIndex === string.length) { - if (lastLength || !separator.test("")) { - output.push(""); - } - } else { - output.push(string.slice(lastLastIndex)); - } - return output.length > limit ? output.slice(0, limit) : output; - }; - }()); - -// [bugfix, chrome] -// If separator is undefined, then the result array contains just one String, -// which is the this value (converted to a String). If limit is not undefined, -// then the output array is truncated so that it contains no more than limit -// elements. -// "0".split(undefined, 0) -> [] -} else if ("0".split(void 0, 0).length) { - String.prototype.split = function split(separator, limit) { - if (separator === void 0 && limit === 0) return []; - return string_split.apply(this, arguments); - }; -} - -var str_replace = String.prototype.replace; -var replaceReportsGroupsCorrectly = (function () { - var groups = []; - 'x'.replace(/x(.)?/g, function (match, group) { - groups.push(group); - }); - return groups.length === 1 && typeof groups[0] === 'undefined'; -}()); - -if (!replaceReportsGroupsCorrectly) { - String.prototype.replace = function replace(searchValue, replaceValue) { - var isFn = isFunction(replaceValue); - var hasCapturingGroups = isRegex(searchValue) && (/\)[*?]/).test(searchValue.source); - if (!isFn || !hasCapturingGroups) { - return str_replace.apply(this, arguments); - } else { - var wrappedReplaceValue = function (match) { - var length = arguments.length; - var originalLastIndex = searchValue.lastIndex; - searchValue.lastIndex = 0; - var args = searchValue.exec(match); - searchValue.lastIndex = originalLastIndex; - args.push(arguments[length - 2], arguments[length - 1]); - return replaceValue.apply(this, args); - }; - return str_replace.call(this, searchValue, wrappedReplaceValue); - } - }; -} - -// ECMA-262, 3rd B.2.3 -// Note an ECMAScript standart, although ECMAScript 3rd Edition has a -// non-normative section suggesting uniform semantics and it should be -// normalized across all browsers -// [bugfix, IE lt 9] IE < 9 substr() with negative value not working in IE -if ("".substr && "0b".substr(-1) !== "b") { - var string_substr = String.prototype.substr; - /** - * Get the substring of a string - * @param {integer} start where to start the substring - * @param {integer} length how many characters to return - * @return {string} - */ - String.prototype.substr = function substr(start, length) { - return string_substr.call( - this, - start < 0 ? ((start = this.length + start) < 0 ? 0 : start) : start, - length - ); - }; -} - -// ES5 15.5.4.20 -// whitespace from: http://es5.github.io/#x15.5.4.20 -var ws = "\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003" + - "\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028" + - "\u2029\uFEFF"; -var zeroWidth = '\u200b'; -if (!String.prototype.trim || ws.trim() || !zeroWidth.trim()) { - // http://blog.stevenlevithan.com/archives/faster-trim-javascript - // http://perfectionkills.com/whitespace-deviations/ - ws = "[" + ws + "]"; - var trimBeginRegexp = new RegExp("^" + ws + ws + "*"), - trimEndRegexp = new RegExp(ws + ws + "*$"); - String.prototype.trim = function trim() { - if (this === void 0 || this === null) { - throw new TypeError("can't convert "+this+" to object"); - } - return String(this) - .replace(trimBeginRegexp, "") - .replace(trimEndRegexp, ""); - }; -} - -// ES-5 15.1.2.2 -if (parseInt(ws + '08') !== 8 || parseInt(ws + '0x16') !== 22) { - parseInt = (function (origParseInt) { - var hexRegex = /^0[xX]/; - return function parseIntES5(str, radix) { - str = String(str).trim(); - if (!Number(radix)) { - radix = hexRegex.test(str) ? 16 : 10; - } - return origParseInt(str, radix); - }; - }(parseInt)); -} - -// -// Util -// ====== -// - -// ES5 9.4 -// http://es5.github.com/#x9.4 -// http://jsperf.com/to-integer - -function toInteger(n) { - n = +n; - if (n !== n) { // isNaN - n = 0; - } else if (n !== 0 && n !== (1/0) && n !== -(1/0)) { - n = (n > 0 || -1) * Math.floor(Math.abs(n)); - } - return n; -} - -function isPrimitive(input) { - var type = typeof input; - return ( - input === null || - type === "undefined" || - type === "boolean" || - type === "number" || - type === "string" - ); -} - -function toPrimitive(input) { - var val, valueOf, toStr; - if (isPrimitive(input)) { - return input; - } - valueOf = input.valueOf; - if (isFunction(valueOf)) { - val = valueOf.call(input); - if (isPrimitive(val)) { - return val; - } - } - toStr = input.toString; - if (isFunction(toStr)) { - val = toStr.call(input); - if (isPrimitive(val)) { - return val; - } - } - throw new TypeError(); -} - -// ES5 9.9 -// http://es5.github.com/#x9.9 -var toObject = function (o) { - if (o == null) { // this matches both null and undefined - throw new TypeError("can't convert "+o+" to object"); - } - return Object(o); -}; - -})); diff --git a/vnfmarket/common/thirdparty/es5-shim/es5-shim.map b/vnfmarket/common/thirdparty/es5-shim/es5-shim.map deleted file mode 100644 index 490f27db..00000000 --- a/vnfmarket/common/thirdparty/es5-shim/es5-shim.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["es5-shim.js"],"names":["root","factory","define","amd","exports","module","returnExports","this","call","Function","prototype","prototypeOfArray","Array","prototypeOfObject","Object","_Array_slice_","slice","array_splice","splice","array_push","push","array_unshift","unshift","Empty","bind","that","target","TypeError","args","arguments","binder","bound","result","apply","concat","boundLength","Math","max","length","boundArgs","i","join","owns","hasOwnProperty","_toString","toString","defineGetter","defineSetter","lookupGetter","lookupSetter","supportsAccessors","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__","makeArray","l","a","array","lengthBefore","start","deleteCount","addElementsCount","isArray","obj","boxedString","splitString","properlyBoxesContext","properlyBoxed","method","properlyBoxes","_","__","context","forEach","fun","object","toObject","self","split","thisp","map","filter","value","every","some","reduceCoercesToObject","reduce","___","list","reduceRight","indexOf","sought","toInteger","lastIndexOf","min","abs","keys","hasDontEnumBug","propertyIsEnumerable","hasProtoEnumBug","dontEnums","dontEnumsLength","isFunction","isArguments","str","isArgs","callee","isFn","isObject","isString","theKeys","skipProto","String","name","ctor","constructor","skipConstructor","j","dontEnum","negativeDate","negativeYearString","Date","toISOString","year","month","isFinite","RangeError","getUTCFullYear","getUTCMonth","floor","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","dateToJSONIsSupported","toJSON","NaN","e","key","o","tv","toPrimitive","toISO","supportsExtendedYears","parse","acceptsInvalidDates","isNaN","doesNotParseY2KNewYear","NativeDate","Y","M","D","h","m","s","ms","date","isoDateExpression","RegExp","months","dayFromMonth","t","toUTC","Number","now","UTC","string","match","exec","day","hour","minute","second","millisecond","isLocalTime","Boolean","signOffset","hourOffset","minuteOffset","getTime","toFixed","base","size","data","multiply","n","c","divide","pow","x","acc","log","fractionDigits","f","z","k","string_split","compliantExecNpcg","separator","limit","output","flags","ignoreCase","multiline","extended","sticky","lastLastIndex","separator2","lastIndex","lastLength","source","index","replace","test","substr","string_substr","ws","zeroWidth","trim","trimBeginRegexp","trimEndRegexp","parseInt","origParseInt","hexRegex","parseIntES5","radix","isPrimitive","input","type","val","valueOf"],"mappings":";;;;;CAaC,SAAUA,EAAMC,GACb,SAAWC,UAAW,YAAcA,OAAOC,IAAK,CAE5CD,OAAOD,OACJ,UAAWG,WAAY,SAAU,CAIpCC,OAAOD,QAAUH,QACd,CAEHD,EAAKM,cAAgBL,OAE3BM,KAAM,WAaR,GAAIC,GAAOC,SAASC,UAAUF,IAC9B,IAAIG,GAAmBC,MAAMF,SAC7B,IAAIG,GAAoBC,OAAOJ,SAC/B,IAAIK,GAAgBJ,EAAiBK,KACrC,IAAIC,GAAeL,MAAMF,UAAUQ,MACnC,IAAIC,GAAaP,MAAMF,UAAUU,IACjC,IAAIC,GAAgBT,MAAMF,UAAUY,OAUpC,SAASC,MAET,IAAKd,SAASC,UAAUc,KAAM,CAC1Bf,SAAS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,IAAS,SAIjB,QAASvF,GAAYsF,GACjB,GAAIE,GAAKC,EAAS3L,CAClB,IAAIuL,EAAYC,GAAQ,CACpB,MAAOA,GAEXG,EAAUH,EAAMG,OAChB,UAAWA,KAAY,WAAY,CAC/BD,EAAMC,EAAQhO,KAAK6N,EACnB,IAAID,EAAYG,GAAM,CAClB,MAAOA,IAGf1L,EAAWwL,EAAMxL,QACjB,UAAWA,KAAa,WAAY,CAChC0L,EAAM1L,EAASrC,KAAK6N,EACpB,IAAID,EAAYG,GAAM,CAClB,MAAOA,IAGf,KAAM,IAAI5M,WAKd,GAAIkD,GAAW,SAAUgE,GACrB,GAAIA,GAAK,KAAM,CACX,KAAM,IAAIlH,WAAU,iBAAiBkH,EAAE,cAE3C,MAAO/H,QAAO+H"}
\ No newline at end of file diff --git a/vnfmarket/common/thirdparty/es5-shim/es5-shim.min.js b/vnfmarket/common/thirdparty/es5-shim/es5-shim.min.js deleted file mode 100644 index 5c67537a..00000000 --- a/vnfmarket/common/thirdparty/es5-shim/es5-shim.min.js +++ /dev/null @@ -1,7 +0,0 @@ -/*! - * https://github.com/es-shims/es5-shim - * @license es5-shim Copyright 2009-2014 by contributors, MIT License - * see https://github.com/es-shims/es5-shim/blob/master/LICENSE - */ -(function(t,r){if(typeof define==="function"&&define.amd){define(r)}else if(typeof exports==="object"){module.exports=r()}else{t.returnExports=r()}})(this,function(){var t=Function.prototype.call;var r=Array.prototype;var e=Object.prototype;var n=r.slice;var i=Array.prototype.splice;var o=Array.prototype.push;var a=Array.prototype.unshift;function u(){}if(!Function.prototype.bind){Function.prototype.bind=function G(t){var r=this;if(typeof r!=="function"){throw new TypeError("Function.prototype.bind called on incompatible "+r)}var e=n.call(arguments,1);var i=function(){if(this instanceof p){var i=r.apply(this,e.concat(n.call(arguments)));if(Object(i)===i){return i}return this}else{return r.apply(t,e.concat(n.call(arguments)))}};var o=Math.max(0,r.length-e.length);var a=[];for(var l=0;l<o;l++){a.push("$"+l)}var p=Function("binder","return function("+a.join(",")+"){return binder.apply(this,arguments)}")(i);if(r.prototype){u.prototype=r.prototype;p.prototype=new u;u.prototype=null}return p}}var l=t.bind(e.hasOwnProperty);var p=t.bind(e.toString);var f;var s;var c;var h;var y;if(y=l(e,"__defineGetter__")){f=t.bind(e.__defineGetter__);s=t.bind(e.__defineSetter__);c=t.bind(e.__lookupGetter__);h=t.bind(e.__lookupSetter__)}if([1,2].splice(0).length!=2){if(function(){function t(t){var r=[];while(t--){r.unshift(t)}return r}var r=[];var e;r.splice.bind(r,0,0).apply(null,t(20));r.splice.bind(r,0,0).apply(null,t(26));e=r.length;r.splice(5,0,"XXX");if(e+1===r.length){return true}}()){Array.prototype.splice=function(t,r){if(!arguments.length){return[]}else{return i.apply(this,[t===void 0?0:t,r===void 0?this.length-t:r].concat(n.call(arguments,2)))}}}else{Array.prototype.splice=function(t,r){var e;var u=n.call(arguments,2);var l=u.length;if(!arguments.length){return[]}if(t===void 0){t=0}if(r===void 0){r=this.length-t}if(l>0){if(r<=0){if(t===this.length){o.apply(this,u);return[]}if(t===0){a.apply(this,u);return[]}}e=n.call(this,t,t+r);u.push.apply(u,n.call(this,t+r,this.length));u.unshift.apply(u,n.call(this,0,t));u.unshift(0,this.length);i.apply(this,u);return e}return i.call(this,t,r)}}}if([].unshift(0)!=1){Array.prototype.unshift=function(){a.apply(this,arguments);return this.length}}if(!Array.isArray){Array.isArray=function P(t){return p(t)==="[object Array]"}}var g=Object("a");var v=g[0]!="a"||!(0 in g);var b=function B(t){var r=true;if(t){t.call("foo",function(t,e,n){if(typeof n!=="object"){r=false}})}return!!t&&r};if(!Array.prototype.forEach||!b(Array.prototype.forEach)){Array.prototype.forEach=function H(t){var r=$(this),e=v&&p(this)==="[object String]"?this.split(""):r,n=arguments[1],i=-1,o=e.length>>>0;if(p(t)!="[object Function]"){throw new TypeError}while(++i<o){if(i in e){t.call(n,e[i],i,r)}}}}if(!Array.prototype.map||!b(Array.prototype.map)){Array.prototype.map=function L(t){var r=$(this),e=v&&p(this)==="[object String]"?this.split(""):r,n=e.length>>>0,i=Array(n),o=arguments[1];if(p(t)!="[object Function]"){throw new TypeError(t+" is not a function")}for(var a=0;a<n;a++){if(a in e)i[a]=t.call(o,e[a],a,r)}return i}}if(!Array.prototype.filter||!b(Array.prototype.filter)){Array.prototype.filter=function Y(t){var r=$(this),e=v&&p(this)==="[object String]"?this.split(""):r,n=e.length>>>0,i=[],o,a=arguments[1];if(p(t)!="[object Function]"){throw new TypeError(t+" is not a function")}for(var u=0;u<n;u++){if(u in e){o=e[u];if(t.call(a,o,u,r)){i.push(o)}}}return i}}if(!Array.prototype.every||!b(Array.prototype.every)){Array.prototype.every=function q(t){var r=$(this),e=v&&p(this)==="[object String]"?this.split(""):r,n=e.length>>>0,i=arguments[1];if(p(t)!="[object Function]"){throw new TypeError(t+" is not a function")}for(var o=0;o<n;o++){if(o in e&&!t.call(i,e[o],o,r)){return false}}return true}}if(!Array.prototype.some||!b(Array.prototype.some)){Array.prototype.some=function z(t){var r=$(this),e=v&&p(this)==="[object String]"?this.split(""):r,n=e.length>>>0,i=arguments[1];if(p(t)!="[object Function]"){throw new TypeError(t+" is not a function")}for(var o=0;o<n;o++){if(o in e&&t.call(i,e[o],o,r)){return true}}return false}}var d=false;if(Array.prototype.reduce){d=typeof Array.prototype.reduce.call("a",function(t,r,e,n){return n})==="object"}if(!Array.prototype.reduce||!d){Array.prototype.reduce=function K(t){var r=$(this),e=v&&p(this)==="[object String]"?this.split(""):r,n=e.length>>>0;if(p(t)!="[object Function]"){throw new TypeError(t+" is not a function")}if(!n&&arguments.length===1){throw new TypeError("reduce of empty array with no initial value")}var i=0;var o;if(arguments.length>=2){o=arguments[1]}else{do{if(i in e){o=e[i++];break}if(++i>=n){throw new TypeError("reduce of empty array with no initial value")}}while(true)}for(;i<n;i++){if(i in e){o=t.call(void 0,o,e[i],i,r)}}return o}}if(!Array.prototype.reduceRight){Array.prototype.reduceRight=function Q(t){var r=$(this),e=v&&p(this)==="[object String]"?this.split(""):r,n=e.length>>>0;if(p(t)!="[object Function]"){throw new TypeError(t+" is not a function")}if(!n&&arguments.length===1){throw new TypeError("reduceRight of empty array with no initial value")}var i,o=n-1;if(arguments.length>=2){i=arguments[1]}else{do{if(o in e){i=e[o--];break}if(--o<0){throw new TypeError("reduceRight of empty array with no initial value")}}while(true)}if(o<0){return i}do{if(o in this){i=t.call(void 0,i,e[o],o,r)}}while(o--);return i}}if(!Array.prototype.indexOf||[0,1].indexOf(1,2)!=-1){Array.prototype.indexOf=function V(t){var r=v&&p(this)==="[object String]"?this.split(""):$(this),e=r.length>>>0;if(!e){return-1}var n=0;if(arguments.length>1){n=Z(arguments[1])}n=n>=0?n:Math.max(0,e+n);for(;n<e;n++){if(n in r&&r[n]===t){return n}}return-1}}if(!Array.prototype.lastIndexOf||[0,1].lastIndexOf(0,-3)!=-1){Array.prototype.lastIndexOf=function W(t){var r=v&&p(this)==="[object String]"?this.split(""):$(this),e=r.length>>>0;if(!e){return-1}var n=e-1;if(arguments.length>1){n=Math.min(n,Z(arguments[1]))}n=n>=0?n:e-Math.abs(n);for(;n>=0;n--){if(n in r&&t===r[n]){return n}}return-1}}if(!Object.keys){var w=!{toString:null}.propertyIsEnumerable("toString"),m=function(){}.propertyIsEnumerable("prototype"),S=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],A=S.length,j=function tr(t){return p(t)==="[object Function]"},x=function rr(t){var r=p(t);var e=r==="[object Arguments]";if(!e){e=!Array.isArray(r)&&t!==null&&typeof t==="object"&&typeof t.length==="number"&&t.length>=0&&j(t.callee)}return e};Object.keys=function er(t){var r=j(t),e=x(t),n=t!==null&&typeof t==="object",i=n&&p(t)==="[object String]";if(!n&&!r&&!e){throw new TypeError("Object.keys called on a non-object")}var o=[];var a=m&&r;if(i||e){for(var u=0;u<t.length;++u){o.push(String(u))}}else{for(var f in t){if(!(a&&f==="prototype")&&l(t,f)){o.push(String(f))}}}if(w){var s=t.constructor,c=s&&s.prototype===t;for(var h=0;h<A;h++){var y=S[h];if(!(c&&y==="constructor")&&l(t,y)){o.push(y)}}}return o}}var O=-621987552e5,N="-000001";if(!Date.prototype.toISOString||new Date(O).toISOString().indexOf(N)===-1){Date.prototype.toISOString=function nr(){var t,r,e,n,i;if(!isFinite(this)){throw new RangeError("Date.prototype.toISOString called on non-finite value.")}n=this.getUTCFullYear();i=this.getUTCMonth();n+=Math.floor(i/12);i=(i%12+12)%12;t=[i+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()];n=(n<0?"-":n>9999?"+":"")+("00000"+Math.abs(n)).slice(0<=n&&n<=9999?-4:-6);r=t.length;while(r--){e=t[r];if(e<10){t[r]="0"+e}}return n+"-"+t.slice(0,2).join("-")+"T"+t.slice(2).join(":")+"."+("000"+this.getUTCMilliseconds()).slice(-3)+"Z"}}var T=false;try{T=Date.prototype.toJSON&&new Date(NaN).toJSON()===null&&new Date(O).toJSON().indexOf(N)!==-1&&Date.prototype.toJSON.call({toISOString:function(){return true}})}catch(E){}if(!T){Date.prototype.toJSON=function ir(t){var r=Object(this),e=X(r),n;if(typeof e==="number"&&!isFinite(e)){return null}n=r.toISOString;if(typeof n!="function"){throw new TypeError("toISOString property is not callable")}return n.call(r)}}var F=Date.parse("+033658-09-27T01:46:40.000Z")===1e15;var D=!isNaN(Date.parse("2012-04-04T24:00:00.500Z"))||!isNaN(Date.parse("2012-11-31T23:59:59.000Z"));var _=isNaN(Date.parse("2000-01-01T00:00:00.000Z"));if(!Date.parse||_||D||!F){Date=function(t){function r(e,n,i,o,a,u,l){var p=arguments.length;if(this instanceof t){var f=p===1&&String(e)===e?new t(r.parse(e)):p>=7?new t(e,n,i,o,a,u,l):p>=6?new t(e,n,i,o,a,u):p>=5?new t(e,n,i,o,a):p>=4?new t(e,n,i,o):p>=3?new t(e,n,i):p>=2?new t(e,n):p>=1?new t(e):new t;f.constructor=r;return f}return t.apply(this,arguments)}var e=new RegExp("^"+"(\\d{4}|[+-]\\d{6})"+"(?:-(\\d{2})"+"(?:-(\\d{2})"+"(?:"+"T(\\d{2})"+":(\\d{2})"+"(?:"+":(\\d{2})"+"(?:(\\.\\d{1,}))?"+")?"+"("+"Z|"+"(?:"+"([-+])"+"(\\d{2})"+":(\\d{2})"+")"+")?)?)?)?"+"$");var n=[0,31,59,90,120,151,181,212,243,273,304,334,365];function i(t,r){var e=r>1?1:0;return n[r]+Math.floor((t-1969+e)/4)-Math.floor((t-1901+e)/100)+Math.floor((t-1601+e)/400)+365*(t-1970)}function o(r){return Number(new t(1970,0,1,0,0,0,r))}for(var a in t){r[a]=t[a]}r.now=t.now;r.UTC=t.UTC;r.prototype=t.prototype;r.prototype.constructor=r;r.parse=function u(r){var n=e.exec(r);if(n){var a=Number(n[1]),u=Number(n[2]||1)-1,l=Number(n[3]||1)-1,p=Number(n[4]||0),f=Number(n[5]||0),s=Number(n[6]||0),c=Math.floor(Number(n[7]||0)*1e3),h=Boolean(n[4]&&!n[8]),y=n[9]==="-"?1:-1,g=Number(n[10]||0),v=Number(n[11]||0),b;if(p<(f>0||s>0||c>0?24:25)&&f<60&&s<60&&c<1e3&&u>-1&&u<12&&g<24&&v<60&&l>-1&&l<i(a,u+1)-i(a,u)){b=((i(a,u)+l)*24+p+g*y)*60;b=((b+f+v*y)*60+s)*1e3+c;if(h){b=o(b)}if(-864e13<=b&&b<=864e13){return b}}return NaN}return t.parse.apply(this,arguments)};return r}(Date)}if(!Date.now){Date.now=function or(){return(new Date).getTime()}}if(!Number.prototype.toFixed||8e-5.toFixed(3)!=="0.000"||.9.toFixed(0)==="0"||1.255.toFixed(2)!=="1.25"||0xde0b6b3a7640080.toFixed(0)!=="1000000000000000128"){(function(){var t,r,e,n;t=1e7;r=6;e=[0,0,0,0,0,0];function i(n,i){var o=-1;while(++o<r){i+=n*e[o];e[o]=i%t;i=Math.floor(i/t)}}function o(n){var i=r,o=0;while(--i>=0){o+=e[i];e[i]=Math.floor(o/n);o=o%n*t}}function a(){var t=r;var n="";while(--t>=0){if(n!==""||t===0||e[t]!==0){var i=String(e[t]);if(n===""){n=i}else{n+="0000000".slice(0,7-i.length)+i}}}return n}function u(t,r,e){return r===0?e:r%2===1?u(t,r-1,e*t):u(t*t,r/2,e)}function l(t){var r=0;while(t>=4096){r+=12;t/=4096}while(t>=2){r+=1;t/=2}return r}Number.prototype.toFixed=function p(t){var r,e,n,p,f,s,c,h;r=Number(t);r=r!==r?0:Math.floor(r);if(r<0||r>20){throw new RangeError("Number.toFixed called with invalid number of decimals")}e=Number(this);if(e!==e){return"NaN"}if(e<=-1e21||e>=1e21){return String(e)}n="";if(e<0){n="-";e=-e}p="0";if(e>1e-21){f=l(e*u(2,69,1))-69;s=f<0?e*u(2,-f,1):e/u(2,f,1);s*=4503599627370496;f=52-f;if(f>0){i(0,s);c=r;while(c>=7){i(1e7,0);c-=7}i(u(10,c,1),0);c=f-1;while(c>=23){o(1<<23);c-=23}o(1<<c);i(1,1);o(2);p=a()}else{i(0,s);i(1<<-f,0);p=a()+"0.00000000000000000000".slice(2,2+r)}}if(r>0){h=p.length;if(h<=r){p=n+"0.0000000000000000000".slice(0,r-h+2)+p}else{p=n+p.slice(0,h-r)+"."+p.slice(h-r)}}else{p=n+p}return p}})()}var I=String.prototype.split;if("ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||"tesst".split(/(s)*/)[1]==="t"||"".split(/.?/).length||".".split(/()()/).length>1){(function(){var t=/()??/.exec("")[1]===void 0;String.prototype.split=function(r,e){var n=this;if(r===void 0&&e===0)return[];if(Object.prototype.toString.call(r)!=="[object RegExp]"){return I.apply(this,arguments)}var i=[],o=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.extended?"x":"")+(r.sticky?"y":""),a=0,u,l,p,f;r=new RegExp(r.source,o+"g");n+="";if(!t){u=new RegExp("^"+r.source+"$(?!\\s)",o)}e=e===void 0?-1>>>0:e>>>0;while(l=r.exec(n)){p=l.index+l[0].length;if(p>a){i.push(n.slice(a,l.index));if(!t&&l.length>1){l[0].replace(u,function(){for(var t=1;t<arguments.length-2;t++){if(arguments[t]===void 0){l[t]=void 0}}})}if(l.length>1&&l.index<n.length){Array.prototype.push.apply(i,l.slice(1))}f=l[0].length;a=p;if(i.length>=e){break}}if(r.lastIndex===l.index){r.lastIndex++}}if(a===n.length){if(f||!r.test("")){i.push("")}}else{i.push(n.slice(a))}return i.length>e?i.slice(0,e):i}})()}else if("0".split(void 0,0).length){String.prototype.split=function ar(t,r){if(t===void 0&&r===0)return[];return I.apply(this,arguments)}}if("".substr&&"0b".substr(-1)!=="b"){var M=String.prototype.substr;String.prototype.substr=function ur(t,r){return M.call(this,t<0?(t=this.length+t)<0?0:t:t,r)}}var R=" \n\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003"+"\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028"+"\u2029\ufeff";var C="\u200b";if(!String.prototype.trim||R.trim()||!C.trim()){R="["+R+"]";var k=new RegExp("^"+R+R+"*"),U=new RegExp(R+R+"*$");String.prototype.trim=function lr(){if(this===void 0||this===null){throw new TypeError("can't convert "+this+" to object")}return String(this).replace(k,"").replace(U,"")}}if(parseInt(R+"08")!==8||parseInt(R+"0x16")!==22){parseInt=function(t){var r=/^0[xX]/;return function e(n,i){n=String(n).trim();if(!Number(i)){i=r.test(n)?16:10}return t(n,i)}}(parseInt)}function Z(t){t=+t;if(t!==t){t=0}else if(t!==0&&t!==1/0&&t!==-(1/0)){t=(t>0||-1)*Math.floor(Math.abs(t))}return t}function J(t){var r=typeof t;return t===null||r==="undefined"||r==="boolean"||r==="number"||r==="string"}function X(t){var r,e,n;if(J(t)){return t}e=t.valueOf;if(typeof e==="function"){r=e.call(t);if(J(r)){return r}}n=t.toString;if(typeof n==="function"){r=n.call(t);if(J(r)){return r}}throw new TypeError}var $=function(t){if(t==null){throw new TypeError("can't convert "+t+" to object")}return Object(t)}}); -//# sourceMappingURL=es5-shim.map
\ No newline at end of file diff --git a/vnfmarket/common/thirdparty/es5-shim/package.json b/vnfmarket/common/thirdparty/es5-shim/package.json deleted file mode 100644 index a7ef8f65..00000000 --- a/vnfmarket/common/thirdparty/es5-shim/package.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "name": "es5-shim", - "version": "3.1.0", - "description": "ECMAScript 5 compatibility shims for legacy JavaScript engines", - "homepage": "http://github.com/es-shims/es5-shim/", - "contributors": [ - "Kris Kowal <kris@cixar.com> (http://github.com/kriskowal/)", - "Sami Samhuri <sami.samhuri@gmail.com> (http://samhuri.net/)", - "Florian Schäfer <florian.schaefer@gmail.com> (http://github.com/fschaefer)", - "Irakli Gozalishvili <rfobic@gmail.com> (http://jeditoolkit.com)", - "Kit Cambridge <kitcambridge@gmail.com> (http://kitcambridge.github.com)", - "Jordan Harband <ljharb@gmail.com> (https://github.com/ljharb/)" - ], - "bugs": { - "mail": "ljharb@gmail.com", - "url": "http://github.com/es-shims/es5-shim/issues" - }, - "licenses": [ - { - "type": "MIT", - "url": "http://github.com/es-shims/es5-shim/raw/master/LICENSE" - } - ], - "main": "es5-shim.js", - "repository": { - "type": "git", - "url": "http://github.com/es-shims/es5-shim.git" - }, - "scripts": { - "minify": "npm run minify-shim && npm run minify-sham", - "minify-shim": "uglifyjs es5-shim.js --comments --source-map=es5-shim.map -m -b ascii_only=true,beautify=false > es5-shim.min.js", - "minify-sham": "uglifyjs es5-sham.js --comments --source-map=es5-sham.map -m -b ascii_only=true,beautify=false > es5-sham.min.js", - "test": "jasmine-node --matchall tests/spec/" - }, - "devDependencies": { - "jasmine-node": "~1.14.2", - "uglify-js": "~2.4.12" - }, - "engines": { - "node": ">=0.4.0" - }, - "testling": { - "browsers": [ - "iexplore/6.0..latest", - "firefox/3.0..6.0", - "firefox/18.0..latest", - "firefox/nightly", - "chrome/4.0..10.0", - "chrome/25.0..latest", - "chrome/canary", - "opera/10.0..latest", - "opera/next", - "safari/4.0..latest", - "ipad/6.0..latest", - "iphone/6.0..latest", - "android-browser/4.2" - ] - } -} - diff --git a/vnfmarket/common/thirdparty/es5-shim/shims.json b/vnfmarket/common/thirdparty/es5-shim/shims.json deleted file mode 100644 index 1136162c..00000000 --- a/vnfmarket/common/thirdparty/es5-shim/shims.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "Object": { - "prototype": {} - "keys": "object-keys" - } -} - |