{"version":3,"sources":["./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js","./node_modules/mutationobserver-shim/dist/mutationobserver.min.js","./node_modules/node_modules/core-js/internals/a-function.js","./node_modules/node_modules/core-js/internals/a-possible-prototype.js","./node_modules/node_modules/core-js/internals/an-instance.js","./node_modules/node_modules/core-js/internals/an-object.js","./node_modules/node_modules/core-js/internals/array-includes.js","./node_modules/node_modules/core-js/internals/array-iteration.js","./node_modules/node_modules/core-js/internals/array-species-create.js","./node_modules/node_modules/core-js/internals/call-with-safe-iteration-closing.js","./node_modules/node_modules/core-js/internals/check-correctness-of-iteration.js","./node_modules/node_modules/core-js/internals/classof-raw.js","./node_modules/node_modules/core-js/internals/classof.js","./node_modules/node_modules/core-js/internals/collection-strong.js","./node_modules/node_modules/core-js/internals/collection-weak.js","./node_modules/node_modules/core-js/internals/collection.js","./node_modules/node_modules/core-js/internals/copy-constructor-properties.js","./node_modules/node_modules/core-js/internals/correct-prototype-getter.js","./node_modules/node_modules/core-js/internals/create-iterator-constructor.js","./node_modules/node_modules/core-js/internals/create-non-enumerable-property.js","./node_modules/node_modules/core-js/internals/create-property-descriptor.js","./node_modules/node_modules/core-js/internals/define-iterator.js","./node_modules/node_modules/core-js/internals/descriptors.js","./node_modules/node_modules/core-js/internals/document-create-element.js","./node_modules/node_modules/core-js/internals/enum-bug-keys.js","./node_modules/node_modules/core-js/internals/export.js","./node_modules/node_modules/core-js/internals/fails.js","./node_modules/node_modules/core-js/internals/freezing.js","./node_modules/node_modules/core-js/internals/function-bind-context.js","./node_modules/node_modules/core-js/internals/get-built-in.js","./node_modules/node_modules/core-js/internals/get-iterator-method.js","./node_modules/node_modules/core-js/internals/global.js","./node_modules/node_modules/core-js/internals/has.js","./node_modules/node_modules/core-js/internals/hidden-keys.js","./node_modules/node_modules/core-js/internals/html.js","./node_modules/node_modules/core-js/internals/ie8-dom-define.js","./node_modules/node_modules/core-js/internals/indexed-object.js","./node_modules/node_modules/core-js/internals/inherit-if-required.js","./node_modules/node_modules/core-js/internals/inspect-source.js","./node_modules/node_modules/core-js/internals/internal-metadata.js","./node_modules/node_modules/core-js/internals/internal-state.js","./node_modules/node_modules/core-js/internals/is-array-iterator-method.js","./node_modules/node_modules/core-js/internals/is-array.js","./node_modules/node_modules/core-js/internals/is-forced.js","./node_modules/node_modules/core-js/internals/is-object.js","./node_modules/node_modules/core-js/internals/is-pure.js","./node_modules/node_modules/core-js/internals/iterate.js","./node_modules/node_modules/core-js/internals/iterators-core.js","./node_modules/node_modules/core-js/internals/iterators.js","./node_modules/node_modules/core-js/internals/native-symbol.js","./node_modules/node_modules/core-js/internals/native-weak-map.js","./node_modules/node_modules/core-js/internals/object-create.js","./node_modules/node_modules/core-js/internals/object-define-properties.js","./node_modules/node_modules/core-js/internals/object-define-property.js","./node_modules/node_modules/core-js/internals/object-get-own-property-descriptor.js","./node_modules/node_modules/core-js/internals/object-get-own-property-names.js","./node_modules/node_modules/core-js/internals/object-get-own-property-symbols.js","./node_modules/node_modules/core-js/internals/object-get-prototype-of.js","./node_modules/node_modules/core-js/internals/object-keys-internal.js","./node_modules/node_modules/core-js/internals/object-keys.js","./node_modules/node_modules/core-js/internals/object-property-is-enumerable.js","./node_modules/node_modules/core-js/internals/object-set-prototype-of.js","./node_modules/node_modules/core-js/internals/own-keys.js","./node_modules/node_modules/core-js/internals/path.js","./node_modules/node_modules/core-js/internals/redefine-all.js","./node_modules/node_modules/core-js/internals/redefine.js","./node_modules/node_modules/core-js/internals/reflect-metadata.js","./node_modules/node_modules/core-js/internals/require-object-coercible.js","./node_modules/node_modules/core-js/internals/set-global.js","./node_modules/node_modules/core-js/internals/set-species.js","./node_modules/node_modules/core-js/internals/set-to-string-tag.js","./node_modules/node_modules/core-js/internals/shared-key.js","./node_modules/node_modules/core-js/internals/shared-store.js","./node_modules/node_modules/core-js/internals/shared.js","./node_modules/node_modules/core-js/internals/to-absolute-index.js","./node_modules/node_modules/core-js/internals/to-indexed-object.js","./node_modules/node_modules/core-js/internals/to-integer.js","./node_modules/node_modules/core-js/internals/to-length.js","./node_modules/node_modules/core-js/internals/to-object.js","./node_modules/node_modules/core-js/internals/to-primitive.js","./node_modules/node_modules/core-js/internals/to-string-tag-support.js","./node_modules/node_modules/core-js/internals/uid.js","./node_modules/node_modules/core-js/internals/use-symbol-as-uid.js","./node_modules/node_modules/core-js/internals/well-known-symbol.js","./node_modules/node_modules/core-js/modules/es.map.js","./node_modules/node_modules/core-js/modules/es.set.js","./node_modules/node_modules/core-js/modules/es.weak-map.js","./node_modules/node_modules/core-js/modules/esnext.reflect.define-metadata.js","./node_modules/node_modules/core-js/modules/esnext.reflect.delete-metadata.js","./node_modules/node_modules/core-js/modules/esnext.reflect.get-metadata-keys.js","./node_modules/node_modules/core-js/modules/esnext.reflect.get-metadata.js","./node_modules/node_modules/core-js/modules/esnext.reflect.get-own-metadata-keys.js","./node_modules/node_modules/core-js/modules/esnext.reflect.get-own-metadata.js","./node_modules/node_modules/core-js/modules/esnext.reflect.has-metadata.js","./node_modules/node_modules/core-js/modules/esnext.reflect.has-own-metadata.js","./node_modules/node_modules/core-js/modules/esnext.reflect.metadata.js","./node_modules/node_modules/core-js/proposals/reflect-metadata.js","./node_modules/zone.js/dist/zone.js","./src/polyfills.ts"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AAC4C;;;;;;;;;;;;ACP5C;AACA;AACA,6DAA6D,cAAc,UAAU,SAAS,cAAc,cAAc,sBAAsB,mBAAmB,4BAA4B,IAAI,cAAc,OAAO,mJAAmJ,GAAG,2CAA2C,SAAS,gBAAgB,aAAa,mBAAmB,iBAAiB;AACne,iCAAiC,2CAA2C,GAAG,yBAAyB,yBAAyB,6BAA6B,gBAAgB,eAAe,gBAAgB,+CAA+C,oBAAoB,YAAY,+BAA+B,IAAI,wDAAwD,2FAA2F,YAAY,2BAA2B;AACzf,gDAAgD,GAAG,oBAAoB,sBAAsB,iBAAiB,cAAc,cAAc,UAAU,4DAA4D,sHAAsH,mFAAmF,2CAA2C,eAAe,gBAAgB;AACne,sDAAsD,SAAS,sGAAsG,2CAA2C,8FAA8F,wEAAwE,qGAAqG,gBAAgB,QAAQ;AACnf,yEAAyE,0FAA0F,gBAAgB,QAAQ,SAAS,gBAAgB,MAAM,OAAO,SAAS,gBAAgB,SAAS,qBAAqB,OAAO,QAAQ,gGAAgG,sCAAsC,SAAS;AACtb,YAAY,SAAS,IAAI,cAAc,IAAI,oCAAoC,SAAS,IAAI,mBAAmB,SAAS,aAAa,gBAAgB,iBAAiB,WAAW,qBAAqB,SAAS,gBAAgB,YAAY,KAAK,WAAW,oBAAoB,SAAS,oBAAoB,KAAK,WAAW,qCAAqC,SAAS,aAAa,aAAa,sBAAsB,WAAW;AACra,gDAAgD,cAAc,WAAW,8BAA8B,0DAA0D,QAAQ,SAAS,GAAG,QAAQ,aAAa,EAAE,gBAAgB,wBAAwB,0BAA0B,WAAW,cAAc,SAAS,uBAAuB,UAAU,qBAAqB,cAAc,kCAAkC,cAAc,mDAAmD,SAAS;;;;;;;;;;;;ACRhe;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACJA,eAAe,mBAAO,CAAC,0FAAwB;;AAE/C;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACNA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACJA,eAAe,mBAAO,CAAC,0FAAwB;;AAE/C;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACNA,sBAAsB,mBAAO,CAAC,0GAAgC;AAC9D,eAAe,mBAAO,CAAC,0FAAwB;AAC/C,sBAAsB,mBAAO,CAAC,0GAAgC;;AAE9D,qBAAqB,oBAAoB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,YAAY,eAAe;AAChC;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC/BA,WAAW,mBAAO,CAAC,kHAAoC;AACvD,oBAAoB,mBAAO,CAAC,oGAA6B;AACzD,eAAe,mBAAO,CAAC,0FAAwB;AAC/C,eAAe,mBAAO,CAAC,0FAAwB;AAC/C,yBAAyB,mBAAO,CAAC,gHAAmC;;AAEpE;;AAEA,qBAAqB,qDAAqD;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,eAAe;AACzB;AACA;AACA;AACA,2CAA2C;AAC3C;AACA,8BAA8B;AAC9B,+BAA+B;AAC/B,+BAA+B;AAC/B,2CAA2C;AAC3C,SAAS,iCAAiC;AAC1C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AChEA,eAAe,mBAAO,CAAC,0FAAwB;AAC/C,cAAc,mBAAO,CAAC,wFAAuB;AAC7C,sBAAsB,mBAAO,CAAC,0GAAgC;;AAE9D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACnBA,eAAe,mBAAO,CAAC,0FAAwB;;AAE/C;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACZA,sBAAsB,mBAAO,CAAC,0GAAgC;;AAE9D;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc;AACd,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C,SAAS,EAAE;AACzD,CAAC,gBAAgB;;AAEjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB;AAClB;AACA;AACA;AACA;AACA,GAAG,gBAAgB;AACnB;AACA;;;;;;;;;;;;ACrCA,iBAAiB;;AAEjB;AACA;AACA;;;;;;;;;;;;ACJA,4BAA4B,mBAAO,CAAC,kHAAoC;AACxE,iBAAiB,mBAAO,CAAC,8FAA0B;AACnD,sBAAsB,mBAAO,CAAC,0GAAgC;;AAE9D;AACA;AACA,gDAAgD,kBAAkB,EAAE;;AAEpE;AACA;AACA;AACA;AACA,GAAG,gBAAgB;AACnB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACzBa;AACb,qBAAqB,mBAAO,CAAC,oHAAqC;AAClE,aAAa,mBAAO,CAAC,kGAA4B;AACjD,kBAAkB,mBAAO,CAAC,gGAA2B;AACrD,WAAW,mBAAO,CAAC,kHAAoC;AACvD,iBAAiB,mBAAO,CAAC,8FAA0B;AACnD,cAAc,mBAAO,CAAC,sFAAsB;AAC5C,qBAAqB,mBAAO,CAAC,sGAA8B;AAC3D,iBAAiB,mBAAO,CAAC,8FAA0B;AACnD,kBAAkB,mBAAO,CAAC,8FAA0B;AACpD,cAAc,mBAAO,CAAC,0GAAgC;AACtD,0BAA0B,mBAAO,CAAC,oGAA6B;;AAE/D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;;AAEL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,OAAO;AACtC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA;AACA,kCAAkC;AAClC,oCAAoC;AACpC,cAAc;AACd,KAAK;;AAEL;AACA;AACA;AACA;;;;;;;;;;;;;ACzLa;AACb,kBAAkB,mBAAO,CAAC,gGAA2B;AACrD,kBAAkB,mBAAO,CAAC,0GAAgC;AAC1D,eAAe,mBAAO,CAAC,0FAAwB;AAC/C,eAAe,mBAAO,CAAC,0FAAwB;AAC/C,iBAAiB,mBAAO,CAAC,8FAA0B;AACnD,cAAc,mBAAO,CAAC,sFAAsB;AAC5C,2BAA2B,mBAAO,CAAC,sGAA8B;AACjE,WAAW,mBAAO,CAAC,8EAAkB;AACrC,0BAA0B,mBAAO,CAAC,oGAA6B;;AAE/D;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,KAAK;;AAEL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA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;AAEA,gBAAgB,mBAAmB;AACnC;AACA;AACA,yCAAyC,kCAAkC;AAC3E;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,SAAS,qFAAqF;AACnG;;AAEA;AACA;;;;;;;;;;;;ACzFA,YAAY,mBAAO,CAAC,kFAAoB;;AAExC;AACA;AACA,iCAAiC,MAAM,mBAAmB,UAAU,EAAE,EAAE;AACxE,CAAC;;;;;;;;;;;;ACLD,aAAa,mBAAO,CAAC,oFAAqB;AAC1C,eAAe,mBAAO,CAAC,0FAAwB;;AAE/C;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACTA,aAAa,mBAAO,CAAC,oFAAqB;AAC1C,+BAA+B,mBAAO,CAAC,4IAAiD;AACxF,kCAAkC,mBAAO,CAAC,oIAA6C;AACvF,eAAe,mBAAO,CAAC,wFAAuB;AAC9C,gBAAgB,mBAAO,CAAC,4FAAyB;AACjD,gCAAgC,mBAAO,CAAC,8HAA0C;AAClF,eAAe,mBAAO,CAAC,0FAAwB;;AAE/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,mDAAmD;AACnD,GAAG;AACH,kCAAkC;AAClC;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACrDA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;;;;;;;;;;;ACNA,YAAY,mBAAO,CAAC,kFAAoB;;AAExC;AACA,wDAAwD;AACxD,CAAC;;;;;;;;;;;;ACJD,gBAAgB,mBAAO,CAAC,4FAAyB;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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mBAAO,CAAC,4IAAiD;AACzD,mBAAO,CAAC,0HAAwC;AAChD,mBAAO,CAAC,kIAA4C;AACpD,mBAAO,CAAC,kHAAoC;;;;;;;;;;;;ACR5C;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,KAA0C,GAAG,oCAAO,OAAO;AAAA;AAAA;AAAA;AAAA,oGAAC;AAChE,QAAQ,SAAS;AACjB,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,iEAAiE;AAC9F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,4BAA4B;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA,aAAa;AACb;AACA,kCAAkC,+BAA+B,EAAE;AACnE;AACA;AACA,aAAa;AACb;AACA,kCAAkC,qBAAqB,EAAE;AACzD;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,qBAAqB,EAAE;AACzD;AACA;AACA,aAAa;AACb;AACA,kCAAkC,mBAAmB,EAAE;AACvD;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C,kBAAkB;AAC7D,qCAAqC;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wDAAwD;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wDAAwD;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,0BAA0B;AACzD;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,qEAAqE,+CAA+C,EAAE;AACtH,kEAAkE,4CAA4C,EAAE;AAChH,sFAAsF,gEAAgE,EAAE;AACxJ,gEAAgE,0CAA0C;AAC1G;AACA;AACA;AACA,oCAAoC;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,mBAAmB,EAAE;AACvD;AACA;AACA,aAAa;AACb;AACA,kCAAkC,oBAAoB,EAAE;AACxD;AACA;AACA,aAAa;AACb,oEAAoE,8CAA8C;AAClH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,kBAAkB;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB;AACvB;AACA;AACA;AACA;AACA;AACA,2CAA2C,0BAA0B,EAAE;AACvE;AACA;AACA;AACA,4CAA4C,6DAA6D,EAAE;AAC3G,2CAA2C,WAAW,EAAE;AACxD;AACA,sCAAsC,aAAa,EAAE;AACrD,wCAAwC,WAAW,EAAE;AACrD,oCAAoC,aAAa,EAAE;AACnD,yCAAyC,aAAa,EAAE;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,8CAA8C,aAAa,EAAE;AAC7D,qCAAqC,cAAc,EAAE;AACrD,2CAA2C,kBAAkB,EAAE;AAC/D,+CAA+C,aAAa,EAAE;AAC9D,yDAAyD,kBAAkB,EAAE;AAC7E,uCAAuC,kBAAkB,EAAE;AAC3D,qCAAqC,WAAW,EAAE;AAClD,qCAAqC,aAAa,EAAE;AACpD,8CAA8C,aAAa,EAAE;AAC7D,2CAA2C,WAAW,EAAE;AACxD,gDAAgD,aAAa,EAAE;AAC/D,4CAA4C,aAAa,EAAE;AAC3D,yCAAyC,aAAa;AACtD;AACA,iCAAiC;AACjC;AACA;AACA,yBAAyB;AACzB;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gIAAgI,wBAAwB,oCAAoC;AAC5L;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0EAA0E,4BAA4B,EAAE;AACxG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC,4BAA4B;AAChE,2CAA2C,cAAc;AACzD,8CAA8C,2CAA2C;AACzF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C,qCAAqC,EAAE;AACpF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD,qCAAqC,EAAE;AACxF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oFAAoF,sEAAsE;AAC1J;AACA;AACA,mCAAmC,kBAAkB;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oDAAoD;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,oDAAoD;AAChG;AACA;AACA;AACA;AACA;AACA,+BAA+B,mCAAmC;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA,yEAAyE,gBAAgB;AACzF;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAqD,qCAAqC;AAC1F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,2CAA2C,gBAAgB;AAC3D,0CAA0C,eAAe;AACzD;AACA,uFAAuF,kBAAkB;AACzG;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,QAAQ,gBAAgB;AACvD;AACA;AACA;AACA;AACA,6BAA6B,0BAA0B;AACvD;AACA;AACA;AACA,sDAAsD,iDAAiD;AACvG;AACA;AACA;AACA,oDAAoD,UAAU,oCAAoC,EAAE,EAAE;AACtG,mDAAmD,UAAU,kCAAkC,EAAE;AACjG,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uFAAuF,kBAAkB;AACzG;AACA;AACA;AACA;AACA,+BAA+B,QAAQ,gBAAgB;AACvD;AACA;AACA;AACA;AACA,6BAA6B,0BAA0B;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,kBAAkB,EAAE;AACtD;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+EAA+E,2CAA2C,EAAE;AAC5H;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC,QAAQ;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA,uBAAuB,oBAAoB;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mDAAmD;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B,uBAAuB;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B,yBAAyB;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sDAAsD,EAAE;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB,0CAA0C,wCAAwC;AAClF,qBAAqB;AACrB;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,oBAAoB,EAAE;AACxD;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C,yCAAyC;AACpF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD,oCAAoC;AACrF;AACA;AACA;AACA,oEAAoE;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,EAAE;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kDAAkD,cAAc,mBAAmB,yBAAyB,EAAE,EAAE;AAChH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kDAAkD,oCAAoC;AACtF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,sBAAsB;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,sBAAsB;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,0BAA0B;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C,sBAAsB;AACpE,yCAAyC,iBAAiB;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,8BAA8B;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C,0BAA0B;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,0BAA0B;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yEAAyE;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,kBAAkB;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,iBAAiB;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C,wBAAwB;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C,wBAAwB;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,iBAAiB;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,kBAAkB;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8FAA8F;AAC9F;AACA;AACA;AACA;AACA;AACA,cAAc,EAAE;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yDAAyD,6BAA6B,EAAE;AACxF;AACA;AACA;AACA;AACA,kDAAkD,kDAAkD,EAAE;AACtG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD,wDAAwD;AACzG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,UAAU;AACtD,gLAAgL,EAAE;AAClL,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wDAAwD,+CAA+C,EAAE;AACzG;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0DAA0D,0BAA0B,EAAE;AACtF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yDAAyD,+BAA+B,EAAE;AAC1F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yEAAyE,gBAAgB;AACzF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,uBAAuB;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,gCAAgC;AACvD;AACA;AACA,2BAA2B,uBAAuB;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,iBAAiB;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wEAAwE,yDAAyD,aAAa,EAAE,EAAE;AAClJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sFAAsF,yDAAyD,aAAa,EAAE,EAAE;AAChK;AACA;AACA;AACA,kGAAkG;AAClG;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,+CAA+C,EAAE;AACnF,uCAAuC,gDAAgD;AACvF,aAAa;AACb;AACA,0CAA0C;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA,uBAAuB,uBAAuB;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,4BAA4B;AAC/D;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,aAAa;AACb;AACA,KAAK;AACL;AACA,wFAAwF;AACxF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,wCAAwC;AAC1E;AACA,8DAA8D;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,EAAE;AAChB;AACA,iEAAiE;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,EAAE;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,uBAAuB;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,uBAAuB,4BAA4B;AACnD;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C,yBAAyB;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mDAAmD,sBAAsB;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uFAAuF;AACvF;AACA;AACA;AACA,cAAc,EAAE;AAChB;AACA;AACA;AACA,uFAAuF;AACvF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,EAAE;AAChB,yFAAyF;AACzF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,EAAE;AAChB;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sEAAsE,0CAA0C;AAChH;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACv2GD;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;GAcG;;;;AAEH;;GAEG;AAEH,mEAAmE;AACnE;;;;;;;;;;;;;4BAa4B;AAE5B,+EAA+E;AAC/E,oEAAoE;AAEpE,gEAAgE;AAChE,mCAAmC;AAGnC,yCAAyC;AACzC,kGAAkG;AAClG,+BAA+B;AAE/B,WAAW;AACoB;AAE/B;;;IAGI;AACJ,8EAA8E;AAE9E;;;GAGG;AAED,MAAc,CAAC,oCAAoC,GAAG,IAAI,CAAC,CAAC,sCAAsC;AAClG,MAAc,CAAC,0BAA0B,GAAG,IAAI,CAAC,CAAC,2CAA2C;AAC7F,MAAc,CAAC,kCAAkC,GAAG,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC,qCAAqC;AAClH,MAAc,CAAC,iCAAiC,GAAG,IAAI,CAAC;AAEzD;;;EAGE;AACF,MAAc,CAAC,iCAAiC,GAAG,IAAI,CAAC;AAEzD;;GAEG;AACwB,CAAE,6BAA6B;AAI1D;;GAEG","file":"polyfills.js","sourcesContent":["/**\r\n * @license\r\n * Copyright Google Inc. All Rights Reserved.\r\n *\r\n * Use of this source code is governed by an MIT-style license that can be\r\n * found in the LICENSE file at https://angular.io/license\r\n */\r\nimport 'core-js/proposals/reflect-metadata';\r\n","// mutationobserver-shim v0.3.2 (github.com/megawac/MutationObserver.js)\r\n// Authors: Graeme Yeates (github.com/megawac) \r\nwindow.MutationObserver=window.MutationObserver||function(w){function v(a){this.i=[];this.m=a}function I(a){(function c(){var d=a.takeRecords();d.length&&a.m(d,a);a.h=setTimeout(c,v._period)})()}function p(a){var b={type:null,target:null,addedNodes:[],removedNodes:[],previousSibling:null,nextSibling:null,attributeName:null,attributeNamespace:null,oldValue:null},c;for(c in a)b[c]!==w&&a[c]!==w&&(b[c]=a[c]);return b}function J(a,b){var c=C(a,b);return function(d){var f=d.length,n;b.a&&3===a.nodeType&&\r\na.nodeValue!==c.a&&d.push(new p({type:\"characterData\",target:a,oldValue:c.a}));b.b&&c.b&&A(d,a,c.b,b.f);if(b.c||b.g)n=K(d,a,c,b);if(n||d.length!==f)c=C(a,b)}}function L(a,b){return b.value}function M(a,b){return\"style\"!==b.name?b.value:a.style.cssText}function A(a,b,c,d){for(var f={},n=b.attributes,k,g,x=n.length;x--;)k=n[x],g=k.name,d&&d[g]===w||(D(b,k)!==c[g]&&a.push(p({type:\"attributes\",target:b,attributeName:g,oldValue:c[g],attributeNamespace:k.namespaceURI})),f[g]=!0);for(g in c)f[g]||a.push(p({target:b,\r\ntype:\"attributes\",attributeName:g,oldValue:c[g]}))}function K(a,b,c,d){function f(b,c,f,k,y){var g=b.length-1;y=-~((g-y)/2);for(var h,l,e;e=b.pop();)h=f[e.j],l=k[e.l],d.c&&y&&Math.abs(e.j-e.l)>=g&&(a.push(p({type:\"childList\",target:c,addedNodes:[h],removedNodes:[h],nextSibling:h.nextSibling,previousSibling:h.previousSibling})),y--),d.b&&l.b&&A(a,h,l.b,d.f),d.a&&3===h.nodeType&&h.nodeValue!==l.a&&a.push(p({type:\"characterData\",target:h,oldValue:l.a})),d.g&&n(h,l)}function n(b,c){for(var g=b.childNodes,\r\nq=c.c,x=g.length,v=q?q.length:0,h,l,e,m,t,z=0,u=0,r=0;u index) {\r\n value = O[index++];\r\n // eslint-disable-next-line no-self-compare\r\n if (value != value) return true;\r\n // Array#indexOf ignores holes, Array#includes - not\r\n } else for (;length > index; index++) {\r\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\r\n } return !IS_INCLUDES && -1;\r\n };\r\n};\r\n\r\nmodule.exports = {\r\n // `Array.prototype.includes` method\r\n // https://tc39.github.io/ecma262/#sec-array.prototype.includes\r\n includes: createMethod(true),\r\n // `Array.prototype.indexOf` method\r\n // https://tc39.github.io/ecma262/#sec-array.prototype.indexof\r\n indexOf: createMethod(false)\r\n};\r\n","var bind = require('../internals/function-bind-context');\r\nvar IndexedObject = require('../internals/indexed-object');\r\nvar toObject = require('../internals/to-object');\r\nvar toLength = require('../internals/to-length');\r\nvar arraySpeciesCreate = require('../internals/array-species-create');\r\n\r\nvar push = [].push;\r\n\r\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex }` methods implementation\r\nvar createMethod = function (TYPE) {\r\n var IS_MAP = TYPE == 1;\r\n var IS_FILTER = TYPE == 2;\r\n var IS_SOME = TYPE == 3;\r\n var IS_EVERY = TYPE == 4;\r\n var IS_FIND_INDEX = TYPE == 6;\r\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\r\n return function ($this, callbackfn, that, specificCreate) {\r\n var O = toObject($this);\r\n var self = IndexedObject(O);\r\n var boundFunction = bind(callbackfn, that, 3);\r\n var length = toLength(self.length);\r\n var index = 0;\r\n var create = specificCreate || arraySpeciesCreate;\r\n var target = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\r\n var value, result;\r\n for (;length > index; index++) if (NO_HOLES || index in self) {\r\n value = self[index];\r\n result = boundFunction(value, index, O);\r\n if (TYPE) {\r\n if (IS_MAP) target[index] = result; // map\r\n else if (result) switch (TYPE) {\r\n case 3: return true; // some\r\n case 5: return value; // find\r\n case 6: return index; // findIndex\r\n case 2: push.call(target, value); // filter\r\n } else if (IS_EVERY) return false; // every\r\n }\r\n }\r\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\r\n };\r\n};\r\n\r\nmodule.exports = {\r\n // `Array.prototype.forEach` method\r\n // https://tc39.github.io/ecma262/#sec-array.prototype.foreach\r\n forEach: createMethod(0),\r\n // `Array.prototype.map` method\r\n // https://tc39.github.io/ecma262/#sec-array.prototype.map\r\n map: createMethod(1),\r\n // `Array.prototype.filter` method\r\n // https://tc39.github.io/ecma262/#sec-array.prototype.filter\r\n filter: createMethod(2),\r\n // `Array.prototype.some` method\r\n // https://tc39.github.io/ecma262/#sec-array.prototype.some\r\n some: createMethod(3),\r\n // `Array.prototype.every` method\r\n // https://tc39.github.io/ecma262/#sec-array.prototype.every\r\n every: createMethod(4),\r\n // `Array.prototype.find` method\r\n // https://tc39.github.io/ecma262/#sec-array.prototype.find\r\n find: createMethod(5),\r\n // `Array.prototype.findIndex` method\r\n // https://tc39.github.io/ecma262/#sec-array.prototype.findIndex\r\n findIndex: createMethod(6)\r\n};\r\n","var isObject = require('../internals/is-object');\r\nvar isArray = require('../internals/is-array');\r\nvar wellKnownSymbol = require('../internals/well-known-symbol');\r\n\r\nvar SPECIES = wellKnownSymbol('species');\r\n\r\n// `ArraySpeciesCreate` abstract operation\r\n// https://tc39.github.io/ecma262/#sec-arrayspeciescreate\r\nmodule.exports = function (originalArray, length) {\r\n var C;\r\n if (isArray(originalArray)) {\r\n C = originalArray.constructor;\r\n // cross-realm fallback\r\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\r\n else if (isObject(C)) {\r\n C = C[SPECIES];\r\n if (C === null) C = undefined;\r\n }\r\n } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);\r\n};\r\n","var anObject = require('../internals/an-object');\r\n\r\n// call something on iterator step with safe closing on error\r\nmodule.exports = function (iterator, fn, value, ENTRIES) {\r\n try {\r\n return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\r\n // 7.4.6 IteratorClose(iterator, completion)\r\n } catch (error) {\r\n var returnMethod = iterator['return'];\r\n if (returnMethod !== undefined) anObject(returnMethod.call(iterator));\r\n throw error;\r\n }\r\n};\r\n","var wellKnownSymbol = require('../internals/well-known-symbol');\r\n\r\nvar ITERATOR = wellKnownSymbol('iterator');\r\nvar SAFE_CLOSING = false;\r\n\r\ntry {\r\n var called = 0;\r\n var iteratorWithReturn = {\r\n next: function () {\r\n return { done: !!called++ };\r\n },\r\n 'return': function () {\r\n SAFE_CLOSING = true;\r\n }\r\n };\r\n iteratorWithReturn[ITERATOR] = function () {\r\n return this;\r\n };\r\n // eslint-disable-next-line no-throw-literal\r\n Array.from(iteratorWithReturn, function () { throw 2; });\r\n} catch (error) { /* empty */ }\r\n\r\nmodule.exports = function (exec, SKIP_CLOSING) {\r\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\r\n var ITERATION_SUPPORT = false;\r\n try {\r\n var object = {};\r\n object[ITERATOR] = function () {\r\n return {\r\n next: function () {\r\n return { done: ITERATION_SUPPORT = true };\r\n }\r\n };\r\n };\r\n exec(object);\r\n } catch (error) { /* empty */ }\r\n return ITERATION_SUPPORT;\r\n};\r\n","var toString = {}.toString;\r\n\r\nmodule.exports = function (it) {\r\n return toString.call(it).slice(8, -1);\r\n};\r\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\r\nvar classofRaw = require('../internals/classof-raw');\r\nvar wellKnownSymbol = require('../internals/well-known-symbol');\r\n\r\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\r\n// ES3 wrong here\r\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\r\n\r\n// fallback for IE11 Script Access Denied error\r\nvar tryGet = function (it, key) {\r\n try {\r\n return it[key];\r\n } catch (error) { /* empty */ }\r\n};\r\n\r\n// getting tag from ES6+ `Object.prototype.toString`\r\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\r\n var O, tag, result;\r\n return it === undefined ? 'Undefined' : it === null ? 'Null'\r\n // @@toStringTag case\r\n : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag\r\n // builtinTag case\r\n : CORRECT_ARGUMENTS ? classofRaw(O)\r\n // ES3 arguments fallback\r\n : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;\r\n};\r\n","'use strict';\r\nvar defineProperty = require('../internals/object-define-property').f;\r\nvar create = require('../internals/object-create');\r\nvar redefineAll = require('../internals/redefine-all');\r\nvar bind = require('../internals/function-bind-context');\r\nvar anInstance = require('../internals/an-instance');\r\nvar iterate = require('../internals/iterate');\r\nvar defineIterator = require('../internals/define-iterator');\r\nvar setSpecies = require('../internals/set-species');\r\nvar DESCRIPTORS = require('../internals/descriptors');\r\nvar fastKey = require('../internals/internal-metadata').fastKey;\r\nvar InternalStateModule = require('../internals/internal-state');\r\n\r\nvar setInternalState = InternalStateModule.set;\r\nvar internalStateGetterFor = InternalStateModule.getterFor;\r\n\r\nmodule.exports = {\r\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\r\n var C = wrapper(function (that, iterable) {\r\n anInstance(that, C, CONSTRUCTOR_NAME);\r\n setInternalState(that, {\r\n type: CONSTRUCTOR_NAME,\r\n index: create(null),\r\n first: undefined,\r\n last: undefined,\r\n size: 0\r\n });\r\n if (!DESCRIPTORS) that.size = 0;\r\n if (iterable != undefined) iterate(iterable, that[ADDER], that, IS_MAP);\r\n });\r\n\r\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\r\n\r\n var define = function (that, key, value) {\r\n var state = getInternalState(that);\r\n var entry = getEntry(that, key);\r\n var previous, index;\r\n // change existing entry\r\n if (entry) {\r\n entry.value = value;\r\n // create new entry\r\n } else {\r\n state.last = entry = {\r\n index: index = fastKey(key, true),\r\n key: key,\r\n value: value,\r\n previous: previous = state.last,\r\n next: undefined,\r\n removed: false\r\n };\r\n if (!state.first) state.first = entry;\r\n if (previous) previous.next = entry;\r\n if (DESCRIPTORS) state.size++;\r\n else that.size++;\r\n // add to index\r\n if (index !== 'F') state.index[index] = entry;\r\n } return that;\r\n };\r\n\r\n var getEntry = function (that, key) {\r\n var state = getInternalState(that);\r\n // fast case\r\n var index = fastKey(key);\r\n var entry;\r\n if (index !== 'F') return state.index[index];\r\n // frozen object case\r\n for (entry = state.first; entry; entry = entry.next) {\r\n if (entry.key == key) return entry;\r\n }\r\n };\r\n\r\n redefineAll(C.prototype, {\r\n // 23.1.3.1 Map.prototype.clear()\r\n // 23.2.3.2 Set.prototype.clear()\r\n clear: function clear() {\r\n var that = this;\r\n var state = getInternalState(that);\r\n var data = state.index;\r\n var entry = state.first;\r\n while (entry) {\r\n entry.removed = true;\r\n if (entry.previous) entry.previous = entry.previous.next = undefined;\r\n delete data[entry.index];\r\n entry = entry.next;\r\n }\r\n state.first = state.last = undefined;\r\n if (DESCRIPTORS) state.size = 0;\r\n else that.size = 0;\r\n },\r\n // 23.1.3.3 Map.prototype.delete(key)\r\n // 23.2.3.4 Set.prototype.delete(value)\r\n 'delete': function (key) {\r\n var that = this;\r\n var state = getInternalState(that);\r\n var entry = getEntry(that, key);\r\n if (entry) {\r\n var next = entry.next;\r\n var prev = entry.previous;\r\n delete state.index[entry.index];\r\n entry.removed = true;\r\n if (prev) prev.next = next;\r\n if (next) next.previous = prev;\r\n if (state.first == entry) state.first = next;\r\n if (state.last == entry) state.last = prev;\r\n if (DESCRIPTORS) state.size--;\r\n else that.size--;\r\n } return !!entry;\r\n },\r\n // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\r\n // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\r\n forEach: function forEach(callbackfn /* , that = undefined */) {\r\n var state = getInternalState(this);\r\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\r\n var entry;\r\n while (entry = entry ? entry.next : state.first) {\r\n boundFunction(entry.value, entry.key, this);\r\n // revert to the last existing entry\r\n while (entry && entry.removed) entry = entry.previous;\r\n }\r\n },\r\n // 23.1.3.7 Map.prototype.has(key)\r\n // 23.2.3.7 Set.prototype.has(value)\r\n has: function has(key) {\r\n return !!getEntry(this, key);\r\n }\r\n });\r\n\r\n redefineAll(C.prototype, IS_MAP ? {\r\n // 23.1.3.6 Map.prototype.get(key)\r\n get: function get(key) {\r\n var entry = getEntry(this, key);\r\n return entry && entry.value;\r\n },\r\n // 23.1.3.9 Map.prototype.set(key, value)\r\n set: function set(key, value) {\r\n return define(this, key === 0 ? 0 : key, value);\r\n }\r\n } : {\r\n // 23.2.3.1 Set.prototype.add(value)\r\n add: function add(value) {\r\n return define(this, value = value === 0 ? 0 : value, value);\r\n }\r\n });\r\n if (DESCRIPTORS) defineProperty(C.prototype, 'size', {\r\n get: function () {\r\n return getInternalState(this).size;\r\n }\r\n });\r\n return C;\r\n },\r\n setStrong: function (C, CONSTRUCTOR_NAME, IS_MAP) {\r\n var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';\r\n var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);\r\n var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);\r\n // add .keys, .values, .entries, [@@iterator]\r\n // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\r\n defineIterator(C, CONSTRUCTOR_NAME, function (iterated, kind) {\r\n setInternalState(this, {\r\n type: ITERATOR_NAME,\r\n target: iterated,\r\n state: getInternalCollectionState(iterated),\r\n kind: kind,\r\n last: undefined\r\n });\r\n }, function () {\r\n var state = getInternalIteratorState(this);\r\n var kind = state.kind;\r\n var entry = state.last;\r\n // revert to the last existing entry\r\n while (entry && entry.removed) entry = entry.previous;\r\n // get next entry\r\n if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {\r\n // or finish the iteration\r\n state.target = undefined;\r\n return { value: undefined, done: true };\r\n }\r\n // return step by kind\r\n if (kind == 'keys') return { value: entry.key, done: false };\r\n if (kind == 'values') return { value: entry.value, done: false };\r\n return { value: [entry.key, entry.value], done: false };\r\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\r\n\r\n // add [@@species], 23.1.2.2, 23.2.2.2\r\n setSpecies(CONSTRUCTOR_NAME);\r\n }\r\n};\r\n","'use strict';\r\nvar redefineAll = require('../internals/redefine-all');\r\nvar getWeakData = require('../internals/internal-metadata').getWeakData;\r\nvar anObject = require('../internals/an-object');\r\nvar isObject = require('../internals/is-object');\r\nvar anInstance = require('../internals/an-instance');\r\nvar iterate = require('../internals/iterate');\r\nvar ArrayIterationModule = require('../internals/array-iteration');\r\nvar $has = require('../internals/has');\r\nvar InternalStateModule = require('../internals/internal-state');\r\n\r\nvar setInternalState = InternalStateModule.set;\r\nvar internalStateGetterFor = InternalStateModule.getterFor;\r\nvar find = ArrayIterationModule.find;\r\nvar findIndex = ArrayIterationModule.findIndex;\r\nvar id = 0;\r\n\r\n// fallback for uncaught frozen keys\r\nvar uncaughtFrozenStore = function (store) {\r\n return store.frozen || (store.frozen = new UncaughtFrozenStore());\r\n};\r\n\r\nvar UncaughtFrozenStore = function () {\r\n this.entries = [];\r\n};\r\n\r\nvar findUncaughtFrozen = function (store, key) {\r\n return find(store.entries, function (it) {\r\n return it[0] === key;\r\n });\r\n};\r\n\r\nUncaughtFrozenStore.prototype = {\r\n get: function (key) {\r\n var entry = findUncaughtFrozen(this, key);\r\n if (entry) return entry[1];\r\n },\r\n has: function (key) {\r\n return !!findUncaughtFrozen(this, key);\r\n },\r\n set: function (key, value) {\r\n var entry = findUncaughtFrozen(this, key);\r\n if (entry) entry[1] = value;\r\n else this.entries.push([key, value]);\r\n },\r\n 'delete': function (key) {\r\n var index = findIndex(this.entries, function (it) {\r\n return it[0] === key;\r\n });\r\n if (~index) this.entries.splice(index, 1);\r\n return !!~index;\r\n }\r\n};\r\n\r\nmodule.exports = {\r\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\r\n var C = wrapper(function (that, iterable) {\r\n anInstance(that, C, CONSTRUCTOR_NAME);\r\n setInternalState(that, {\r\n type: CONSTRUCTOR_NAME,\r\n id: id++,\r\n frozen: undefined\r\n });\r\n if (iterable != undefined) iterate(iterable, that[ADDER], that, IS_MAP);\r\n });\r\n\r\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\r\n\r\n var define = function (that, key, value) {\r\n var state = getInternalState(that);\r\n var data = getWeakData(anObject(key), true);\r\n if (data === true) uncaughtFrozenStore(state).set(key, value);\r\n else data[state.id] = value;\r\n return that;\r\n };\r\n\r\n redefineAll(C.prototype, {\r\n // 23.3.3.2 WeakMap.prototype.delete(key)\r\n // 23.4.3.3 WeakSet.prototype.delete(value)\r\n 'delete': function (key) {\r\n var state = getInternalState(this);\r\n if (!isObject(key)) return false;\r\n var data = getWeakData(key);\r\n if (data === true) return uncaughtFrozenStore(state)['delete'](key);\r\n return data && $has(data, state.id) && delete data[state.id];\r\n },\r\n // 23.3.3.4 WeakMap.prototype.has(key)\r\n // 23.4.3.4 WeakSet.prototype.has(value)\r\n has: function has(key) {\r\n var state = getInternalState(this);\r\n if (!isObject(key)) return false;\r\n var data = getWeakData(key);\r\n if (data === true) return uncaughtFrozenStore(state).has(key);\r\n return data && $has(data, state.id);\r\n }\r\n });\r\n\r\n redefineAll(C.prototype, IS_MAP ? {\r\n // 23.3.3.3 WeakMap.prototype.get(key)\r\n get: function get(key) {\r\n var state = getInternalState(this);\r\n if (isObject(key)) {\r\n var data = getWeakData(key);\r\n if (data === true) return uncaughtFrozenStore(state).get(key);\r\n return data ? data[state.id] : undefined;\r\n }\r\n },\r\n // 23.3.3.5 WeakMap.prototype.set(key, value)\r\n set: function set(key, value) {\r\n return define(this, key, value);\r\n }\r\n } : {\r\n // 23.4.3.1 WeakSet.prototype.add(value)\r\n add: function add(value) {\r\n return define(this, value, true);\r\n }\r\n });\r\n\r\n return C;\r\n }\r\n};\r\n","'use strict';\r\nvar $ = require('../internals/export');\r\nvar global = require('../internals/global');\r\nvar isForced = require('../internals/is-forced');\r\nvar redefine = require('../internals/redefine');\r\nvar InternalMetadataModule = require('../internals/internal-metadata');\r\nvar iterate = require('../internals/iterate');\r\nvar anInstance = require('../internals/an-instance');\r\nvar isObject = require('../internals/is-object');\r\nvar fails = require('../internals/fails');\r\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\r\nvar setToStringTag = require('../internals/set-to-string-tag');\r\nvar inheritIfRequired = require('../internals/inherit-if-required');\r\n\r\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common) {\r\n var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;\r\n var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;\r\n var ADDER = IS_MAP ? 'set' : 'add';\r\n var NativeConstructor = global[CONSTRUCTOR_NAME];\r\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\r\n var Constructor = NativeConstructor;\r\n var exported = {};\r\n\r\n var fixMethod = function (KEY) {\r\n var nativeMethod = NativePrototype[KEY];\r\n redefine(NativePrototype, KEY,\r\n KEY == 'add' ? function add(value) {\r\n nativeMethod.call(this, value === 0 ? 0 : value);\r\n return this;\r\n } : KEY == 'delete' ? function (key) {\r\n return IS_WEAK && !isObject(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key);\r\n } : KEY == 'get' ? function get(key) {\r\n return IS_WEAK && !isObject(key) ? undefined : nativeMethod.call(this, key === 0 ? 0 : key);\r\n } : KEY == 'has' ? function has(key) {\r\n return IS_WEAK && !isObject(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key);\r\n } : function set(key, value) {\r\n nativeMethod.call(this, key === 0 ? 0 : key, value);\r\n return this;\r\n }\r\n );\r\n };\r\n\r\n // eslint-disable-next-line max-len\r\n if (isForced(CONSTRUCTOR_NAME, typeof NativeConstructor != 'function' || !(IS_WEAK || NativePrototype.forEach && !fails(function () {\r\n new NativeConstructor().entries().next();\r\n })))) {\r\n // create collection constructor\r\n Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\r\n InternalMetadataModule.REQUIRED = true;\r\n } else if (isForced(CONSTRUCTOR_NAME, true)) {\r\n var instance = new Constructor();\r\n // early implementations not supports chaining\r\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\r\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\r\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\r\n // most early implementations doesn't supports iterables, most modern - not close it correctly\r\n // eslint-disable-next-line no-new\r\n var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });\r\n // for early implementations -0 and +0 not the same\r\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\r\n // V8 ~ Chromium 42- fails only with 5+ elements\r\n var $instance = new NativeConstructor();\r\n var index = 5;\r\n while (index--) $instance[ADDER](index, index);\r\n return !$instance.has(-0);\r\n });\r\n\r\n if (!ACCEPT_ITERABLES) {\r\n Constructor = wrapper(function (dummy, iterable) {\r\n anInstance(dummy, Constructor, CONSTRUCTOR_NAME);\r\n var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);\r\n if (iterable != undefined) iterate(iterable, that[ADDER], that, IS_MAP);\r\n return that;\r\n });\r\n Constructor.prototype = NativePrototype;\r\n NativePrototype.constructor = Constructor;\r\n }\r\n\r\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\r\n fixMethod('delete');\r\n fixMethod('has');\r\n IS_MAP && fixMethod('get');\r\n }\r\n\r\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\r\n\r\n // weak collections should not contains .clear method\r\n if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;\r\n }\r\n\r\n exported[CONSTRUCTOR_NAME] = Constructor;\r\n $({ global: true, forced: Constructor != NativeConstructor }, exported);\r\n\r\n setToStringTag(Constructor, CONSTRUCTOR_NAME);\r\n\r\n if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\r\n\r\n return Constructor;\r\n};\r\n","var has = require('../internals/has');\r\nvar ownKeys = require('../internals/own-keys');\r\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\r\nvar definePropertyModule = require('../internals/object-define-property');\r\n\r\nmodule.exports = function (target, source) {\r\n var keys = ownKeys(source);\r\n var defineProperty = definePropertyModule.f;\r\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\r\n for (var i = 0; i < keys.length; i++) {\r\n var key = keys[i];\r\n if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));\r\n }\r\n};\r\n","var fails = require('../internals/fails');\r\n\r\nmodule.exports = !fails(function () {\r\n function F() { /* empty */ }\r\n F.prototype.constructor = null;\r\n return Object.getPrototypeOf(new F()) !== F.prototype;\r\n});\r\n","'use strict';\r\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\r\nvar create = require('../internals/object-create');\r\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\r\nvar setToStringTag = require('../internals/set-to-string-tag');\r\nvar Iterators = require('../internals/iterators');\r\n\r\nvar returnThis = function () { return this; };\r\n\r\nmodule.exports = function (IteratorConstructor, NAME, next) {\r\n var TO_STRING_TAG = NAME + ' Iterator';\r\n IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) });\r\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\r\n Iterators[TO_STRING_TAG] = returnThis;\r\n return IteratorConstructor;\r\n};\r\n","var DESCRIPTORS = require('../internals/descriptors');\r\nvar definePropertyModule = require('../internals/object-define-property');\r\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\r\n\r\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\r\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\r\n} : function (object, key, value) {\r\n object[key] = value;\r\n return object;\r\n};\r\n","module.exports = function (bitmap, value) {\r\n return {\r\n enumerable: !(bitmap & 1),\r\n configurable: !(bitmap & 2),\r\n writable: !(bitmap & 4),\r\n value: value\r\n };\r\n};\r\n","'use strict';\r\nvar $ = require('../internals/export');\r\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\r\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\r\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\r\nvar setToStringTag = require('../internals/set-to-string-tag');\r\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\r\nvar redefine = require('../internals/redefine');\r\nvar wellKnownSymbol = require('../internals/well-known-symbol');\r\nvar IS_PURE = require('../internals/is-pure');\r\nvar Iterators = require('../internals/iterators');\r\nvar IteratorsCore = require('../internals/iterators-core');\r\n\r\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\r\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\r\nvar ITERATOR = wellKnownSymbol('iterator');\r\nvar KEYS = 'keys';\r\nvar VALUES = 'values';\r\nvar ENTRIES = 'entries';\r\n\r\nvar returnThis = function () { return this; };\r\n\r\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\r\n createIteratorConstructor(IteratorConstructor, NAME, next);\r\n\r\n var getIterationMethod = function (KIND) {\r\n if (KIND === DEFAULT && defaultIterator) return defaultIterator;\r\n if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];\r\n switch (KIND) {\r\n case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\r\n case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\r\n case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\r\n } return function () { return new IteratorConstructor(this); };\r\n };\r\n\r\n var TO_STRING_TAG = NAME + ' Iterator';\r\n var INCORRECT_VALUES_NAME = false;\r\n var IterablePrototype = Iterable.prototype;\r\n var nativeIterator = IterablePrototype[ITERATOR]\r\n || IterablePrototype['@@iterator']\r\n || DEFAULT && IterablePrototype[DEFAULT];\r\n var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\r\n var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\r\n var CurrentIteratorPrototype, methods, KEY;\r\n\r\n // fix native\r\n if (anyNativeIterator) {\r\n CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\r\n if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\r\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\r\n if (setPrototypeOf) {\r\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\r\n } else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') {\r\n createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR, returnThis);\r\n }\r\n }\r\n // Set @@toStringTag to native iterators\r\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\r\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\r\n }\r\n }\r\n\r\n // fix Array#{values, @@iterator}.name in V8 / FF\r\n if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {\r\n INCORRECT_VALUES_NAME = true;\r\n defaultIterator = function values() { return nativeIterator.call(this); };\r\n }\r\n\r\n // define iterator\r\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\r\n createNonEnumerableProperty(IterablePrototype, ITERATOR, defaultIterator);\r\n }\r\n Iterators[NAME] = defaultIterator;\r\n\r\n // export additional methods\r\n if (DEFAULT) {\r\n methods = {\r\n values: getIterationMethod(VALUES),\r\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\r\n entries: getIterationMethod(ENTRIES)\r\n };\r\n if (FORCED) for (KEY in methods) {\r\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\r\n redefine(IterablePrototype, KEY, methods[KEY]);\r\n }\r\n } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\r\n }\r\n\r\n return methods;\r\n};\r\n","var fails = require('../internals/fails');\r\n\r\n// Thank's IE8 for his funny defineProperty\r\nmodule.exports = !fails(function () {\r\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\r\n});\r\n","var global = require('../internals/global');\r\nvar isObject = require('../internals/is-object');\r\n\r\nvar document = global.document;\r\n// typeof document.createElement is 'object' in old IE\r\nvar EXISTS = isObject(document) && isObject(document.createElement);\r\n\r\nmodule.exports = function (it) {\r\n return EXISTS ? document.createElement(it) : {};\r\n};\r\n","// IE8- don't enum bug keys\r\nmodule.exports = [\r\n 'constructor',\r\n 'hasOwnProperty',\r\n 'isPrototypeOf',\r\n 'propertyIsEnumerable',\r\n 'toLocaleString',\r\n 'toString',\r\n 'valueOf'\r\n];\r\n","var global = require('../internals/global');\r\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\r\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\r\nvar redefine = require('../internals/redefine');\r\nvar setGlobal = require('../internals/set-global');\r\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\r\nvar isForced = require('../internals/is-forced');\r\n\r\n/*\r\n options.target - name of the target object\r\n options.global - target is the global object\r\n options.stat - export as static methods of target\r\n options.proto - export as prototype methods of target\r\n options.real - real prototype method for the `pure` version\r\n options.forced - export even if the native feature is available\r\n options.bind - bind methods to the target, required for the `pure` version\r\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\r\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\r\n options.sham - add a flag to not completely full polyfills\r\n options.enumerable - export as enumerable property\r\n options.noTargetGet - prevent calling a getter on target\r\n*/\r\nmodule.exports = function (options, source) {\r\n var TARGET = options.target;\r\n var GLOBAL = options.global;\r\n var STATIC = options.stat;\r\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\r\n if (GLOBAL) {\r\n target = global;\r\n } else if (STATIC) {\r\n target = global[TARGET] || setGlobal(TARGET, {});\r\n } else {\r\n target = (global[TARGET] || {}).prototype;\r\n }\r\n if (target) for (key in source) {\r\n sourceProperty = source[key];\r\n if (options.noTargetGet) {\r\n descriptor = getOwnPropertyDescriptor(target, key);\r\n targetProperty = descriptor && descriptor.value;\r\n } else targetProperty = target[key];\r\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\r\n // contained in target\r\n if (!FORCED && targetProperty !== undefined) {\r\n if (typeof sourceProperty === typeof targetProperty) continue;\r\n copyConstructorProperties(sourceProperty, targetProperty);\r\n }\r\n // add a flag to not completely full polyfills\r\n if (options.sham || (targetProperty && targetProperty.sham)) {\r\n createNonEnumerableProperty(sourceProperty, 'sham', true);\r\n }\r\n // extend global\r\n redefine(target, key, sourceProperty, options);\r\n }\r\n};\r\n","module.exports = function (exec) {\r\n try {\r\n return !!exec();\r\n } catch (error) {\r\n return true;\r\n }\r\n};\r\n","var fails = require('../internals/fails');\r\n\r\nmodule.exports = !fails(function () {\r\n return Object.isExtensible(Object.preventExtensions({}));\r\n});\r\n","var aFunction = require('../internals/a-function');\r\n\r\n// optional / simple context binding\r\nmodule.exports = function (fn, that, length) {\r\n aFunction(fn);\r\n if (that === undefined) return fn;\r\n switch (length) {\r\n case 0: return function () {\r\n return fn.call(that);\r\n };\r\n case 1: return function (a) {\r\n return fn.call(that, a);\r\n };\r\n case 2: return function (a, b) {\r\n return fn.call(that, a, b);\r\n };\r\n case 3: return function (a, b, c) {\r\n return fn.call(that, a, b, c);\r\n };\r\n }\r\n return function (/* ...args */) {\r\n return fn.apply(that, arguments);\r\n };\r\n};\r\n","var path = require('../internals/path');\r\nvar global = require('../internals/global');\r\n\r\nvar aFunction = function (variable) {\r\n return typeof variable == 'function' ? variable : undefined;\r\n};\r\n\r\nmodule.exports = function (namespace, method) {\r\n return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])\r\n : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];\r\n};\r\n","var classof = require('../internals/classof');\r\nvar Iterators = require('../internals/iterators');\r\nvar wellKnownSymbol = require('../internals/well-known-symbol');\r\n\r\nvar ITERATOR = wellKnownSymbol('iterator');\r\n\r\nmodule.exports = function (it) {\r\n if (it != undefined) return it[ITERATOR]\r\n || it['@@iterator']\r\n || Iterators[classof(it)];\r\n};\r\n","var check = function (it) {\r\n return it && it.Math == Math && it;\r\n};\r\n\r\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\r\nmodule.exports =\r\n // eslint-disable-next-line no-undef\r\n check(typeof globalThis == 'object' && globalThis) ||\r\n check(typeof window == 'object' && window) ||\r\n check(typeof self == 'object' && self) ||\r\n check(typeof global == 'object' && global) ||\r\n // eslint-disable-next-line no-new-func\r\n Function('return this')();\r\n","var hasOwnProperty = {}.hasOwnProperty;\r\n\r\nmodule.exports = function (it, key) {\r\n return hasOwnProperty.call(it, key);\r\n};\r\n","module.exports = {};\r\n","var getBuiltIn = require('../internals/get-built-in');\r\n\r\nmodule.exports = getBuiltIn('document', 'documentElement');\r\n","var DESCRIPTORS = require('../internals/descriptors');\r\nvar fails = require('../internals/fails');\r\nvar createElement = require('../internals/document-create-element');\r\n\r\n// Thank's IE8 for his funny defineProperty\r\nmodule.exports = !DESCRIPTORS && !fails(function () {\r\n return Object.defineProperty(createElement('div'), 'a', {\r\n get: function () { return 7; }\r\n }).a != 7;\r\n});\r\n","var fails = require('../internals/fails');\r\nvar classof = require('../internals/classof-raw');\r\n\r\nvar split = ''.split;\r\n\r\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\r\nmodule.exports = fails(function () {\r\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\r\n // eslint-disable-next-line no-prototype-builtins\r\n return !Object('z').propertyIsEnumerable(0);\r\n}) ? function (it) {\r\n return classof(it) == 'String' ? split.call(it, '') : Object(it);\r\n} : Object;\r\n","var isObject = require('../internals/is-object');\r\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\r\n\r\n// makes subclassing work correct for wrapped built-ins\r\nmodule.exports = function ($this, dummy, Wrapper) {\r\n var NewTarget, NewTargetPrototype;\r\n if (\r\n // it can work only with native `setPrototypeOf`\r\n setPrototypeOf &&\r\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\r\n typeof (NewTarget = dummy.constructor) == 'function' &&\r\n NewTarget !== Wrapper &&\r\n isObject(NewTargetPrototype = NewTarget.prototype) &&\r\n NewTargetPrototype !== Wrapper.prototype\r\n ) setPrototypeOf($this, NewTargetPrototype);\r\n return $this;\r\n};\r\n","var store = require('../internals/shared-store');\r\n\r\nvar functionToString = Function.toString;\r\n\r\n// this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper\r\nif (typeof store.inspectSource != 'function') {\r\n store.inspectSource = function (it) {\r\n return functionToString.call(it);\r\n };\r\n}\r\n\r\nmodule.exports = store.inspectSource;\r\n","var hiddenKeys = require('../internals/hidden-keys');\r\nvar isObject = require('../internals/is-object');\r\nvar has = require('../internals/has');\r\nvar defineProperty = require('../internals/object-define-property').f;\r\nvar uid = require('../internals/uid');\r\nvar FREEZING = require('../internals/freezing');\r\n\r\nvar METADATA = uid('meta');\r\nvar id = 0;\r\n\r\nvar isExtensible = Object.isExtensible || function () {\r\n return true;\r\n};\r\n\r\nvar setMetadata = function (it) {\r\n defineProperty(it, METADATA, { value: {\r\n objectID: 'O' + ++id, // object ID\r\n weakData: {} // weak collections IDs\r\n } });\r\n};\r\n\r\nvar fastKey = function (it, create) {\r\n // return a primitive with prefix\r\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\r\n if (!has(it, METADATA)) {\r\n // can't set metadata to uncaught frozen object\r\n if (!isExtensible(it)) return 'F';\r\n // not necessary to add metadata\r\n if (!create) return 'E';\r\n // add missing metadata\r\n setMetadata(it);\r\n // return object ID\r\n } return it[METADATA].objectID;\r\n};\r\n\r\nvar getWeakData = function (it, create) {\r\n if (!has(it, METADATA)) {\r\n // can't set metadata to uncaught frozen object\r\n if (!isExtensible(it)) return true;\r\n // not necessary to add metadata\r\n if (!create) return false;\r\n // add missing metadata\r\n setMetadata(it);\r\n // return the store of weak collections IDs\r\n } return it[METADATA].weakData;\r\n};\r\n\r\n// add metadata on freeze-family methods calling\r\nvar onFreeze = function (it) {\r\n if (FREEZING && meta.REQUIRED && isExtensible(it) && !has(it, METADATA)) setMetadata(it);\r\n return it;\r\n};\r\n\r\nvar meta = module.exports = {\r\n REQUIRED: false,\r\n fastKey: fastKey,\r\n getWeakData: getWeakData,\r\n onFreeze: onFreeze\r\n};\r\n\r\nhiddenKeys[METADATA] = true;\r\n","var NATIVE_WEAK_MAP = require('../internals/native-weak-map');\r\nvar global = require('../internals/global');\r\nvar isObject = require('../internals/is-object');\r\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\r\nvar objectHas = require('../internals/has');\r\nvar sharedKey = require('../internals/shared-key');\r\nvar hiddenKeys = require('../internals/hidden-keys');\r\n\r\nvar WeakMap = global.WeakMap;\r\nvar set, get, has;\r\n\r\nvar enforce = function (it) {\r\n return has(it) ? get(it) : set(it, {});\r\n};\r\n\r\nvar getterFor = function (TYPE) {\r\n return function (it) {\r\n var state;\r\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\r\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\r\n } return state;\r\n };\r\n};\r\n\r\nif (NATIVE_WEAK_MAP) {\r\n var store = new WeakMap();\r\n var wmget = store.get;\r\n var wmhas = store.has;\r\n var wmset = store.set;\r\n set = function (it, metadata) {\r\n wmset.call(store, it, metadata);\r\n return metadata;\r\n };\r\n get = function (it) {\r\n return wmget.call(store, it) || {};\r\n };\r\n has = function (it) {\r\n return wmhas.call(store, it);\r\n };\r\n} else {\r\n var STATE = sharedKey('state');\r\n hiddenKeys[STATE] = true;\r\n set = function (it, metadata) {\r\n createNonEnumerableProperty(it, STATE, metadata);\r\n return metadata;\r\n };\r\n get = function (it) {\r\n return objectHas(it, STATE) ? it[STATE] : {};\r\n };\r\n has = function (it) {\r\n return objectHas(it, STATE);\r\n };\r\n}\r\n\r\nmodule.exports = {\r\n set: set,\r\n get: get,\r\n has: has,\r\n enforce: enforce,\r\n getterFor: getterFor\r\n};\r\n","var wellKnownSymbol = require('../internals/well-known-symbol');\r\nvar Iterators = require('../internals/iterators');\r\n\r\nvar ITERATOR = wellKnownSymbol('iterator');\r\nvar ArrayPrototype = Array.prototype;\r\n\r\n// check on default Array iterator\r\nmodule.exports = function (it) {\r\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\r\n};\r\n","var classof = require('../internals/classof-raw');\r\n\r\n// `IsArray` abstract operation\r\n// https://tc39.github.io/ecma262/#sec-isarray\r\nmodule.exports = Array.isArray || function isArray(arg) {\r\n return classof(arg) == 'Array';\r\n};\r\n","var fails = require('../internals/fails');\r\n\r\nvar replacement = /#|\\.prototype\\./;\r\n\r\nvar isForced = function (feature, detection) {\r\n var value = data[normalize(feature)];\r\n return value == POLYFILL ? true\r\n : value == NATIVE ? false\r\n : typeof detection == 'function' ? fails(detection)\r\n : !!detection;\r\n};\r\n\r\nvar normalize = isForced.normalize = function (string) {\r\n return String(string).replace(replacement, '.').toLowerCase();\r\n};\r\n\r\nvar data = isForced.data = {};\r\nvar NATIVE = isForced.NATIVE = 'N';\r\nvar POLYFILL = isForced.POLYFILL = 'P';\r\n\r\nmodule.exports = isForced;\r\n","module.exports = function (it) {\r\n return typeof it === 'object' ? it !== null : typeof it === 'function';\r\n};\r\n","module.exports = false;\r\n","var anObject = require('../internals/an-object');\r\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\r\nvar toLength = require('../internals/to-length');\r\nvar bind = require('../internals/function-bind-context');\r\nvar getIteratorMethod = require('../internals/get-iterator-method');\r\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\r\n\r\nvar Result = function (stopped, result) {\r\n this.stopped = stopped;\r\n this.result = result;\r\n};\r\n\r\nvar iterate = module.exports = function (iterable, fn, that, AS_ENTRIES, IS_ITERATOR) {\r\n var boundFunction = bind(fn, that, AS_ENTRIES ? 2 : 1);\r\n var iterator, iterFn, index, length, result, next, step;\r\n\r\n if (IS_ITERATOR) {\r\n iterator = iterable;\r\n } else {\r\n iterFn = getIteratorMethod(iterable);\r\n if (typeof iterFn != 'function') throw TypeError('Target is not iterable');\r\n // optimisation for array iterators\r\n if (isArrayIteratorMethod(iterFn)) {\r\n for (index = 0, length = toLength(iterable.length); length > index; index++) {\r\n result = AS_ENTRIES\r\n ? boundFunction(anObject(step = iterable[index])[0], step[1])\r\n : boundFunction(iterable[index]);\r\n if (result && result instanceof Result) return result;\r\n } return new Result(false);\r\n }\r\n iterator = iterFn.call(iterable);\r\n }\r\n\r\n next = iterator.next;\r\n while (!(step = next.call(iterator)).done) {\r\n result = callWithSafeIterationClosing(iterator, boundFunction, step.value, AS_ENTRIES);\r\n if (typeof result == 'object' && result && result instanceof Result) return result;\r\n } return new Result(false);\r\n};\r\n\r\niterate.stop = function (result) {\r\n return new Result(true, result);\r\n};\r\n","'use strict';\r\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\r\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\r\nvar has = require('../internals/has');\r\nvar wellKnownSymbol = require('../internals/well-known-symbol');\r\nvar IS_PURE = require('../internals/is-pure');\r\n\r\nvar ITERATOR = wellKnownSymbol('iterator');\r\nvar BUGGY_SAFARI_ITERATORS = false;\r\n\r\nvar returnThis = function () { return this; };\r\n\r\n// `%IteratorPrototype%` object\r\n// https://tc39.github.io/ecma262/#sec-%iteratorprototype%-object\r\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\r\n\r\nif ([].keys) {\r\n arrayIterator = [].keys();\r\n // Safari 8 has buggy iterators w/o `next`\r\n if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\r\n else {\r\n PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\r\n if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\r\n }\r\n}\r\n\r\nif (IteratorPrototype == undefined) IteratorPrototype = {};\r\n\r\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\r\nif (!IS_PURE && !has(IteratorPrototype, ITERATOR)) {\r\n createNonEnumerableProperty(IteratorPrototype, ITERATOR, returnThis);\r\n}\r\n\r\nmodule.exports = {\r\n IteratorPrototype: IteratorPrototype,\r\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\r\n};\r\n","module.exports = {};\r\n","var fails = require('../internals/fails');\r\n\r\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\r\n // Chrome 38 Symbol has incorrect toString conversion\r\n // eslint-disable-next-line no-undef\r\n return !String(Symbol());\r\n});\r\n","var global = require('../internals/global');\r\nvar inspectSource = require('../internals/inspect-source');\r\n\r\nvar WeakMap = global.WeakMap;\r\n\r\nmodule.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));\r\n","var anObject = require('../internals/an-object');\r\nvar defineProperties = require('../internals/object-define-properties');\r\nvar enumBugKeys = require('../internals/enum-bug-keys');\r\nvar hiddenKeys = require('../internals/hidden-keys');\r\nvar html = require('../internals/html');\r\nvar documentCreateElement = require('../internals/document-create-element');\r\nvar sharedKey = require('../internals/shared-key');\r\n\r\nvar GT = '>';\r\nvar LT = '<';\r\nvar PROTOTYPE = 'prototype';\r\nvar SCRIPT = 'script';\r\nvar IE_PROTO = sharedKey('IE_PROTO');\r\n\r\nvar EmptyConstructor = function () { /* empty */ };\r\n\r\nvar scriptTag = function (content) {\r\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\r\n};\r\n\r\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\r\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\r\n activeXDocument.write(scriptTag(''));\r\n activeXDocument.close();\r\n var temp = activeXDocument.parentWindow.Object;\r\n activeXDocument = null; // avoid memory leak\r\n return temp;\r\n};\r\n\r\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\r\nvar NullProtoObjectViaIFrame = function () {\r\n // Thrash, waste and sodomy: IE GC bug\r\n var iframe = documentCreateElement('iframe');\r\n var JS = 'java' + SCRIPT + ':';\r\n var iframeDocument;\r\n iframe.style.display = 'none';\r\n html.appendChild(iframe);\r\n // https://github.com/zloirock/core-js/issues/475\r\n iframe.src = String(JS);\r\n iframeDocument = iframe.contentWindow.document;\r\n iframeDocument.open();\r\n iframeDocument.write(scriptTag('document.F=Object'));\r\n iframeDocument.close();\r\n return iframeDocument.F;\r\n};\r\n\r\n// Check for document.domain and active x support\r\n// No need to use active x approach when document.domain is not set\r\n// see https://github.com/es-shims/es5-shim/issues/150\r\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\r\n// avoid IE GC bug\r\nvar activeXDocument;\r\nvar NullProtoObject = function () {\r\n try {\r\n /* global ActiveXObject */\r\n activeXDocument = document.domain && new ActiveXObject('htmlfile');\r\n } catch (error) { /* ignore */ }\r\n NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();\r\n var length = enumBugKeys.length;\r\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\r\n return NullProtoObject();\r\n};\r\n\r\nhiddenKeys[IE_PROTO] = true;\r\n\r\n// `Object.create` method\r\n// https://tc39.github.io/ecma262/#sec-object.create\r\nmodule.exports = Object.create || function create(O, Properties) {\r\n var result;\r\n if (O !== null) {\r\n EmptyConstructor[PROTOTYPE] = anObject(O);\r\n result = new EmptyConstructor();\r\n EmptyConstructor[PROTOTYPE] = null;\r\n // add \"__proto__\" for Object.getPrototypeOf polyfill\r\n result[IE_PROTO] = O;\r\n } else result = NullProtoObject();\r\n return Properties === undefined ? result : defineProperties(result, Properties);\r\n};\r\n","var DESCRIPTORS = require('../internals/descriptors');\r\nvar definePropertyModule = require('../internals/object-define-property');\r\nvar anObject = require('../internals/an-object');\r\nvar objectKeys = require('../internals/object-keys');\r\n\r\n// `Object.defineProperties` method\r\n// https://tc39.github.io/ecma262/#sec-object.defineproperties\r\nmodule.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {\r\n anObject(O);\r\n var keys = objectKeys(Properties);\r\n var length = keys.length;\r\n var index = 0;\r\n var key;\r\n while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);\r\n return O;\r\n};\r\n","var DESCRIPTORS = require('../internals/descriptors');\r\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\r\nvar anObject = require('../internals/an-object');\r\nvar toPrimitive = require('../internals/to-primitive');\r\n\r\nvar nativeDefineProperty = Object.defineProperty;\r\n\r\n// `Object.defineProperty` method\r\n// https://tc39.github.io/ecma262/#sec-object.defineproperty\r\nexports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) {\r\n anObject(O);\r\n P = toPrimitive(P, true);\r\n anObject(Attributes);\r\n if (IE8_DOM_DEFINE) try {\r\n return nativeDefineProperty(O, P, Attributes);\r\n } catch (error) { /* empty */ }\r\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');\r\n if ('value' in Attributes) O[P] = Attributes.value;\r\n return O;\r\n};\r\n","var DESCRIPTORS = require('../internals/descriptors');\r\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\r\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\r\nvar toIndexedObject = require('../internals/to-indexed-object');\r\nvar toPrimitive = require('../internals/to-primitive');\r\nvar has = require('../internals/has');\r\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\r\n\r\nvar nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\r\n\r\n// `Object.getOwnPropertyDescriptor` method\r\n// https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor\r\nexports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\r\n O = toIndexedObject(O);\r\n P = toPrimitive(P, true);\r\n if (IE8_DOM_DEFINE) try {\r\n return nativeGetOwnPropertyDescriptor(O, P);\r\n } catch (error) { /* empty */ }\r\n if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);\r\n};\r\n","var internalObjectKeys = require('../internals/object-keys-internal');\r\nvar enumBugKeys = require('../internals/enum-bug-keys');\r\n\r\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\r\n\r\n// `Object.getOwnPropertyNames` method\r\n// https://tc39.github.io/ecma262/#sec-object.getownpropertynames\r\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\r\n return internalObjectKeys(O, hiddenKeys);\r\n};\r\n","exports.f = Object.getOwnPropertySymbols;\r\n","var has = require('../internals/has');\r\nvar toObject = require('../internals/to-object');\r\nvar sharedKey = require('../internals/shared-key');\r\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\r\n\r\nvar IE_PROTO = sharedKey('IE_PROTO');\r\nvar ObjectPrototype = Object.prototype;\r\n\r\n// `Object.getPrototypeOf` method\r\n// https://tc39.github.io/ecma262/#sec-object.getprototypeof\r\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {\r\n O = toObject(O);\r\n if (has(O, IE_PROTO)) return O[IE_PROTO];\r\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\r\n return O.constructor.prototype;\r\n } return O instanceof Object ? ObjectPrototype : null;\r\n};\r\n","var has = require('../internals/has');\r\nvar toIndexedObject = require('../internals/to-indexed-object');\r\nvar indexOf = require('../internals/array-includes').indexOf;\r\nvar hiddenKeys = require('../internals/hidden-keys');\r\n\r\nmodule.exports = function (object, names) {\r\n var O = toIndexedObject(object);\r\n var i = 0;\r\n var result = [];\r\n var key;\r\n for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);\r\n // Don't enum bug & hidden keys\r\n while (names.length > i) if (has(O, key = names[i++])) {\r\n ~indexOf(result, key) || result.push(key);\r\n }\r\n return result;\r\n};\r\n","var internalObjectKeys = require('../internals/object-keys-internal');\r\nvar enumBugKeys = require('../internals/enum-bug-keys');\r\n\r\n// `Object.keys` method\r\n// https://tc39.github.io/ecma262/#sec-object.keys\r\nmodule.exports = Object.keys || function keys(O) {\r\n return internalObjectKeys(O, enumBugKeys);\r\n};\r\n","'use strict';\r\nvar nativePropertyIsEnumerable = {}.propertyIsEnumerable;\r\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\r\n\r\n// Nashorn ~ JDK8 bug\r\nvar NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);\r\n\r\n// `Object.prototype.propertyIsEnumerable` method implementation\r\n// https://tc39.github.io/ecma262/#sec-object.prototype.propertyisenumerable\r\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\r\n var descriptor = getOwnPropertyDescriptor(this, V);\r\n return !!descriptor && descriptor.enumerable;\r\n} : nativePropertyIsEnumerable;\r\n","var anObject = require('../internals/an-object');\r\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\r\n\r\n// `Object.setPrototypeOf` method\r\n// https://tc39.github.io/ecma262/#sec-object.setprototypeof\r\n// Works with __proto__ only. Old v8 can't work with null proto objects.\r\n/* eslint-disable no-proto */\r\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\r\n var CORRECT_SETTER = false;\r\n var test = {};\r\n var setter;\r\n try {\r\n setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;\r\n setter.call(test, []);\r\n CORRECT_SETTER = test instanceof Array;\r\n } catch (error) { /* empty */ }\r\n return function setPrototypeOf(O, proto) {\r\n anObject(O);\r\n aPossiblePrototype(proto);\r\n if (CORRECT_SETTER) setter.call(O, proto);\r\n else O.__proto__ = proto;\r\n return O;\r\n };\r\n}() : undefined);\r\n","var getBuiltIn = require('../internals/get-built-in');\r\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\r\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\r\nvar anObject = require('../internals/an-object');\r\n\r\n// all object keys, includes non-enumerable and symbols\r\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\r\n var keys = getOwnPropertyNamesModule.f(anObject(it));\r\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\r\n return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;\r\n};\r\n","var global = require('../internals/global');\r\n\r\nmodule.exports = global;\r\n","var redefine = require('../internals/redefine');\r\n\r\nmodule.exports = function (target, src, options) {\r\n for (var key in src) redefine(target, key, src[key], options);\r\n return target;\r\n};\r\n","var global = require('../internals/global');\r\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\r\nvar has = require('../internals/has');\r\nvar setGlobal = require('../internals/set-global');\r\nvar inspectSource = require('../internals/inspect-source');\r\nvar InternalStateModule = require('../internals/internal-state');\r\n\r\nvar getInternalState = InternalStateModule.get;\r\nvar enforceInternalState = InternalStateModule.enforce;\r\nvar TEMPLATE = String(String).split('String');\r\n\r\n(module.exports = function (O, key, value, options) {\r\n var unsafe = options ? !!options.unsafe : false;\r\n var simple = options ? !!options.enumerable : false;\r\n var noTargetGet = options ? !!options.noTargetGet : false;\r\n if (typeof value == 'function') {\r\n if (typeof key == 'string' && !has(value, 'name')) createNonEnumerableProperty(value, 'name', key);\r\n enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : '');\r\n }\r\n if (O === global) {\r\n if (simple) O[key] = value;\r\n else setGlobal(key, value);\r\n return;\r\n } else if (!unsafe) {\r\n delete O[key];\r\n } else if (!noTargetGet && O[key]) {\r\n simple = true;\r\n }\r\n if (simple) O[key] = value;\r\n else createNonEnumerableProperty(O, key, value);\r\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\r\n})(Function.prototype, 'toString', function toString() {\r\n return typeof this == 'function' && getInternalState(this).source || inspectSource(this);\r\n});\r\n","// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`\r\nvar Map = require('../modules/es.map');\r\nvar WeakMap = require('../modules/es.weak-map');\r\nvar shared = require('../internals/shared');\r\n\r\nvar metadata = shared('metadata');\r\nvar store = metadata.store || (metadata.store = new WeakMap());\r\n\r\nvar getOrCreateMetadataMap = function (target, targetKey, create) {\r\n var targetMetadata = store.get(target);\r\n if (!targetMetadata) {\r\n if (!create) return;\r\n store.set(target, targetMetadata = new Map());\r\n }\r\n var keyMetadata = targetMetadata.get(targetKey);\r\n if (!keyMetadata) {\r\n if (!create) return;\r\n targetMetadata.set(targetKey, keyMetadata = new Map());\r\n } return keyMetadata;\r\n};\r\n\r\nvar ordinaryHasOwnMetadata = function (MetadataKey, O, P) {\r\n var metadataMap = getOrCreateMetadataMap(O, P, false);\r\n return metadataMap === undefined ? false : metadataMap.has(MetadataKey);\r\n};\r\n\r\nvar ordinaryGetOwnMetadata = function (MetadataKey, O, P) {\r\n var metadataMap = getOrCreateMetadataMap(O, P, false);\r\n return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey);\r\n};\r\n\r\nvar ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) {\r\n getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue);\r\n};\r\n\r\nvar ordinaryOwnMetadataKeys = function (target, targetKey) {\r\n var metadataMap = getOrCreateMetadataMap(target, targetKey, false);\r\n var keys = [];\r\n if (metadataMap) metadataMap.forEach(function (_, key) { keys.push(key); });\r\n return keys;\r\n};\r\n\r\nvar toMetadataKey = function (it) {\r\n return it === undefined || typeof it == 'symbol' ? it : String(it);\r\n};\r\n\r\nmodule.exports = {\r\n store: store,\r\n getMap: getOrCreateMetadataMap,\r\n has: ordinaryHasOwnMetadata,\r\n get: ordinaryGetOwnMetadata,\r\n set: ordinaryDefineOwnMetadata,\r\n keys: ordinaryOwnMetadataKeys,\r\n toKey: toMetadataKey\r\n};\r\n","// `RequireObjectCoercible` abstract operation\r\n// https://tc39.github.io/ecma262/#sec-requireobjectcoercible\r\nmodule.exports = function (it) {\r\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\r\n return it;\r\n};\r\n","var global = require('../internals/global');\r\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\r\n\r\nmodule.exports = function (key, value) {\r\n try {\r\n createNonEnumerableProperty(global, key, value);\r\n } catch (error) {\r\n global[key] = value;\r\n } return value;\r\n};\r\n","'use strict';\r\nvar getBuiltIn = require('../internals/get-built-in');\r\nvar definePropertyModule = require('../internals/object-define-property');\r\nvar wellKnownSymbol = require('../internals/well-known-symbol');\r\nvar DESCRIPTORS = require('../internals/descriptors');\r\n\r\nvar SPECIES = wellKnownSymbol('species');\r\n\r\nmodule.exports = function (CONSTRUCTOR_NAME) {\r\n var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\r\n var defineProperty = definePropertyModule.f;\r\n\r\n if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\r\n defineProperty(Constructor, SPECIES, {\r\n configurable: true,\r\n get: function () { return this; }\r\n });\r\n }\r\n};\r\n","var defineProperty = require('../internals/object-define-property').f;\r\nvar has = require('../internals/has');\r\nvar wellKnownSymbol = require('../internals/well-known-symbol');\r\n\r\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\r\n\r\nmodule.exports = function (it, TAG, STATIC) {\r\n if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {\r\n defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG });\r\n }\r\n};\r\n","var shared = require('../internals/shared');\r\nvar uid = require('../internals/uid');\r\n\r\nvar keys = shared('keys');\r\n\r\nmodule.exports = function (key) {\r\n return keys[key] || (keys[key] = uid(key));\r\n};\r\n","var global = require('../internals/global');\r\nvar setGlobal = require('../internals/set-global');\r\n\r\nvar SHARED = '__core-js_shared__';\r\nvar store = global[SHARED] || setGlobal(SHARED, {});\r\n\r\nmodule.exports = store;\r\n","var IS_PURE = require('../internals/is-pure');\r\nvar store = require('../internals/shared-store');\r\n\r\n(module.exports = function (key, value) {\r\n return store[key] || (store[key] = value !== undefined ? value : {});\r\n})('versions', []).push({\r\n version: '3.6.4',\r\n mode: IS_PURE ? 'pure' : 'global',\r\n copyright: '© 2020 Denis Pushkarev (zloirock.ru)'\r\n});\r\n","var toInteger = require('../internals/to-integer');\r\n\r\nvar max = Math.max;\r\nvar min = Math.min;\r\n\r\n// Helper for a popular repeating case of the spec:\r\n// Let integer be ? ToInteger(index).\r\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\r\nmodule.exports = function (index, length) {\r\n var integer = toInteger(index);\r\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\r\n};\r\n","// toObject with fallback for non-array-like ES3 strings\r\nvar IndexedObject = require('../internals/indexed-object');\r\nvar requireObjectCoercible = require('../internals/require-object-coercible');\r\n\r\nmodule.exports = function (it) {\r\n return IndexedObject(requireObjectCoercible(it));\r\n};\r\n","var ceil = Math.ceil;\r\nvar floor = Math.floor;\r\n\r\n// `ToInteger` abstract operation\r\n// https://tc39.github.io/ecma262/#sec-tointeger\r\nmodule.exports = function (argument) {\r\n return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);\r\n};\r\n","var toInteger = require('../internals/to-integer');\r\n\r\nvar min = Math.min;\r\n\r\n// `ToLength` abstract operation\r\n// https://tc39.github.io/ecma262/#sec-tolength\r\nmodule.exports = function (argument) {\r\n return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\r\n};\r\n","var requireObjectCoercible = require('../internals/require-object-coercible');\r\n\r\n// `ToObject` abstract operation\r\n// https://tc39.github.io/ecma262/#sec-toobject\r\nmodule.exports = function (argument) {\r\n return Object(requireObjectCoercible(argument));\r\n};\r\n","var isObject = require('../internals/is-object');\r\n\r\n// `ToPrimitive` abstract operation\r\n// https://tc39.github.io/ecma262/#sec-toprimitive\r\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\r\n// and the second argument - flag - preferred type is a string\r\nmodule.exports = function (input, PREFERRED_STRING) {\r\n if (!isObject(input)) return input;\r\n var fn, val;\r\n if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\r\n if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;\r\n if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\r\n throw TypeError(\"Can't convert object to primitive value\");\r\n};\r\n","var wellKnownSymbol = require('../internals/well-known-symbol');\r\n\r\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\r\nvar test = {};\r\n\r\ntest[TO_STRING_TAG] = 'z';\r\n\r\nmodule.exports = String(test) === '[object z]';\r\n","var id = 0;\r\nvar postfix = Math.random();\r\n\r\nmodule.exports = function (key) {\r\n return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);\r\n};\r\n","var NATIVE_SYMBOL = require('../internals/native-symbol');\r\n\r\nmodule.exports = NATIVE_SYMBOL\r\n // eslint-disable-next-line no-undef\r\n && !Symbol.sham\r\n // eslint-disable-next-line no-undef\r\n && typeof Symbol.iterator == 'symbol';\r\n","var global = require('../internals/global');\r\nvar shared = require('../internals/shared');\r\nvar has = require('../internals/has');\r\nvar uid = require('../internals/uid');\r\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\r\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\r\n\r\nvar WellKnownSymbolsStore = shared('wks');\r\nvar Symbol = global.Symbol;\r\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\r\n\r\nmodule.exports = function (name) {\r\n if (!has(WellKnownSymbolsStore, name)) {\r\n if (NATIVE_SYMBOL && has(Symbol, name)) WellKnownSymbolsStore[name] = Symbol[name];\r\n else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);\r\n } return WellKnownSymbolsStore[name];\r\n};\r\n","'use strict';\r\nvar collection = require('../internals/collection');\r\nvar collectionStrong = require('../internals/collection-strong');\r\n\r\n// `Map` constructor\r\n// https://tc39.github.io/ecma262/#sec-map-objects\r\nmodule.exports = collection('Map', function (init) {\r\n return function Map() { return init(this, arguments.length ? arguments[0] : undefined); };\r\n}, collectionStrong);\r\n","'use strict';\r\nvar collection = require('../internals/collection');\r\nvar collectionStrong = require('../internals/collection-strong');\r\n\r\n// `Set` constructor\r\n// https://tc39.github.io/ecma262/#sec-set-objects\r\nmodule.exports = collection('Set', function (init) {\r\n return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };\r\n}, collectionStrong);\r\n","'use strict';\r\nvar global = require('../internals/global');\r\nvar redefineAll = require('../internals/redefine-all');\r\nvar InternalMetadataModule = require('../internals/internal-metadata');\r\nvar collection = require('../internals/collection');\r\nvar collectionWeak = require('../internals/collection-weak');\r\nvar isObject = require('../internals/is-object');\r\nvar enforceIternalState = require('../internals/internal-state').enforce;\r\nvar NATIVE_WEAK_MAP = require('../internals/native-weak-map');\r\n\r\nvar IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;\r\nvar isExtensible = Object.isExtensible;\r\nvar InternalWeakMap;\r\n\r\nvar wrapper = function (init) {\r\n return function WeakMap() {\r\n return init(this, arguments.length ? arguments[0] : undefined);\r\n };\r\n};\r\n\r\n// `WeakMap` constructor\r\n// https://tc39.github.io/ecma262/#sec-weakmap-constructor\r\nvar $WeakMap = module.exports = collection('WeakMap', wrapper, collectionWeak);\r\n\r\n// IE11 WeakMap frozen keys fix\r\n// We can't use feature detection because it crash some old IE builds\r\n// https://github.com/zloirock/core-js/issues/485\r\nif (NATIVE_WEAK_MAP && IS_IE11) {\r\n InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true);\r\n InternalMetadataModule.REQUIRED = true;\r\n var WeakMapPrototype = $WeakMap.prototype;\r\n var nativeDelete = WeakMapPrototype['delete'];\r\n var nativeHas = WeakMapPrototype.has;\r\n var nativeGet = WeakMapPrototype.get;\r\n var nativeSet = WeakMapPrototype.set;\r\n redefineAll(WeakMapPrototype, {\r\n 'delete': function (key) {\r\n if (isObject(key) && !isExtensible(key)) {\r\n var state = enforceIternalState(this);\r\n if (!state.frozen) state.frozen = new InternalWeakMap();\r\n return nativeDelete.call(this, key) || state.frozen['delete'](key);\r\n } return nativeDelete.call(this, key);\r\n },\r\n has: function has(key) {\r\n if (isObject(key) && !isExtensible(key)) {\r\n var state = enforceIternalState(this);\r\n if (!state.frozen) state.frozen = new InternalWeakMap();\r\n return nativeHas.call(this, key) || state.frozen.has(key);\r\n } return nativeHas.call(this, key);\r\n },\r\n get: function get(key) {\r\n if (isObject(key) && !isExtensible(key)) {\r\n var state = enforceIternalState(this);\r\n if (!state.frozen) state.frozen = new InternalWeakMap();\r\n return nativeHas.call(this, key) ? nativeGet.call(this, key) : state.frozen.get(key);\r\n } return nativeGet.call(this, key);\r\n },\r\n set: function set(key, value) {\r\n if (isObject(key) && !isExtensible(key)) {\r\n var state = enforceIternalState(this);\r\n if (!state.frozen) state.frozen = new InternalWeakMap();\r\n nativeHas.call(this, key) ? nativeSet.call(this, key, value) : state.frozen.set(key, value);\r\n } else nativeSet.call(this, key, value);\r\n return this;\r\n }\r\n });\r\n}\r\n","var $ = require('../internals/export');\r\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\r\nvar anObject = require('../internals/an-object');\r\n\r\nvar toMetadataKey = ReflectMetadataModule.toKey;\r\nvar ordinaryDefineOwnMetadata = ReflectMetadataModule.set;\r\n\r\n// `Reflect.defineMetadata` method\r\n// https://github.com/rbuckton/reflect-metadata\r\n$({ target: 'Reflect', stat: true }, {\r\n defineMetadata: function defineMetadata(metadataKey, metadataValue, target /* , targetKey */) {\r\n var targetKey = arguments.length < 4 ? undefined : toMetadataKey(arguments[3]);\r\n ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), targetKey);\r\n }\r\n});\r\n","var $ = require('../internals/export');\r\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\r\nvar anObject = require('../internals/an-object');\r\n\r\nvar toMetadataKey = ReflectMetadataModule.toKey;\r\nvar getOrCreateMetadataMap = ReflectMetadataModule.getMap;\r\nvar store = ReflectMetadataModule.store;\r\n\r\n// `Reflect.deleteMetadata` method\r\n// https://github.com/rbuckton/reflect-metadata\r\n$({ target: 'Reflect', stat: true }, {\r\n deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) {\r\n var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\r\n var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false);\r\n if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false;\r\n if (metadataMap.size) return true;\r\n var targetMetadata = store.get(target);\r\n targetMetadata['delete'](targetKey);\r\n return !!targetMetadata.size || store['delete'](target);\r\n }\r\n});\r\n","var $ = require('../internals/export');\r\n// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`\r\nvar Set = require('../modules/es.set');\r\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\r\nvar anObject = require('../internals/an-object');\r\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\r\nvar iterate = require('../internals/iterate');\r\n\r\nvar ordinaryOwnMetadataKeys = ReflectMetadataModule.keys;\r\nvar toMetadataKey = ReflectMetadataModule.toKey;\r\n\r\nvar from = function (iter) {\r\n var result = [];\r\n iterate(iter, result.push, result);\r\n return result;\r\n};\r\n\r\nvar ordinaryMetadataKeys = function (O, P) {\r\n var oKeys = ordinaryOwnMetadataKeys(O, P);\r\n var parent = getPrototypeOf(O);\r\n if (parent === null) return oKeys;\r\n var pKeys = ordinaryMetadataKeys(parent, P);\r\n return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys;\r\n};\r\n\r\n// `Reflect.getMetadataKeys` method\r\n// https://github.com/rbuckton/reflect-metadata\r\n$({ target: 'Reflect', stat: true }, {\r\n getMetadataKeys: function getMetadataKeys(target /* , targetKey */) {\r\n var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]);\r\n return ordinaryMetadataKeys(anObject(target), targetKey);\r\n }\r\n});\r\n","var $ = require('../internals/export');\r\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\r\nvar anObject = require('../internals/an-object');\r\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\r\n\r\nvar ordinaryHasOwnMetadata = ReflectMetadataModule.has;\r\nvar ordinaryGetOwnMetadata = ReflectMetadataModule.get;\r\nvar toMetadataKey = ReflectMetadataModule.toKey;\r\n\r\nvar ordinaryGetMetadata = function (MetadataKey, O, P) {\r\n var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);\r\n if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P);\r\n var parent = getPrototypeOf(O);\r\n return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined;\r\n};\r\n\r\n// `Reflect.getMetadata` method\r\n// https://github.com/rbuckton/reflect-metadata\r\n$({ target: 'Reflect', stat: true }, {\r\n getMetadata: function getMetadata(metadataKey, target /* , targetKey */) {\r\n var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\r\n return ordinaryGetMetadata(metadataKey, anObject(target), targetKey);\r\n }\r\n});\r\n","var $ = require('../internals/export');\r\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\r\nvar anObject = require('../internals/an-object');\r\n\r\nvar ordinaryOwnMetadataKeys = ReflectMetadataModule.keys;\r\nvar toMetadataKey = ReflectMetadataModule.toKey;\r\n\r\n// `Reflect.getOwnMetadataKeys` method\r\n// https://github.com/rbuckton/reflect-metadata\r\n$({ target: 'Reflect', stat: true }, {\r\n getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) {\r\n var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]);\r\n return ordinaryOwnMetadataKeys(anObject(target), targetKey);\r\n }\r\n});\r\n","var $ = require('../internals/export');\r\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\r\nvar anObject = require('../internals/an-object');\r\n\r\nvar ordinaryGetOwnMetadata = ReflectMetadataModule.get;\r\nvar toMetadataKey = ReflectMetadataModule.toKey;\r\n\r\n// `Reflect.getOwnMetadata` method\r\n// https://github.com/rbuckton/reflect-metadata\r\n$({ target: 'Reflect', stat: true }, {\r\n getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) {\r\n var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\r\n return ordinaryGetOwnMetadata(metadataKey, anObject(target), targetKey);\r\n }\r\n});\r\n","var $ = require('../internals/export');\r\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\r\nvar anObject = require('../internals/an-object');\r\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\r\n\r\nvar ordinaryHasOwnMetadata = ReflectMetadataModule.has;\r\nvar toMetadataKey = ReflectMetadataModule.toKey;\r\n\r\nvar ordinaryHasMetadata = function (MetadataKey, O, P) {\r\n var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);\r\n if (hasOwn) return true;\r\n var parent = getPrototypeOf(O);\r\n return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false;\r\n};\r\n\r\n// `Reflect.hasMetadata` method\r\n// https://github.com/rbuckton/reflect-metadata\r\n$({ target: 'Reflect', stat: true }, {\r\n hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) {\r\n var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\r\n return ordinaryHasMetadata(metadataKey, anObject(target), targetKey);\r\n }\r\n});\r\n","var $ = require('../internals/export');\r\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\r\nvar anObject = require('../internals/an-object');\r\n\r\nvar ordinaryHasOwnMetadata = ReflectMetadataModule.has;\r\nvar toMetadataKey = ReflectMetadataModule.toKey;\r\n\r\n// `Reflect.hasOwnMetadata` method\r\n// https://github.com/rbuckton/reflect-metadata\r\n$({ target: 'Reflect', stat: true }, {\r\n hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) {\r\n var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\r\n return ordinaryHasOwnMetadata(metadataKey, anObject(target), targetKey);\r\n }\r\n});\r\n","var $ = require('../internals/export');\r\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\r\nvar anObject = require('../internals/an-object');\r\n\r\nvar toMetadataKey = ReflectMetadataModule.toKey;\r\nvar ordinaryDefineOwnMetadata = ReflectMetadataModule.set;\r\n\r\n// `Reflect.metadata` method\r\n// https://github.com/rbuckton/reflect-metadata\r\n$({ target: 'Reflect', stat: true }, {\r\n metadata: function metadata(metadataKey, metadataValue) {\r\n return function decorator(target, key) {\r\n ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetadataKey(key));\r\n };\r\n }\r\n});\r\n","require('../modules/esnext.reflect.define-metadata');\r\nrequire('../modules/esnext.reflect.delete-metadata');\r\nrequire('../modules/esnext.reflect.get-metadata');\r\nrequire('../modules/esnext.reflect.get-metadata-keys');\r\nrequire('../modules/esnext.reflect.get-own-metadata');\r\nrequire('../modules/esnext.reflect.get-own-metadata-keys');\r\nrequire('../modules/esnext.reflect.has-metadata');\r\nrequire('../modules/esnext.reflect.has-own-metadata');\r\nrequire('../modules/esnext.reflect.metadata');\r\n","var __values = (this && this.__values) || function (o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n};\r\n/**\r\n * @license Angular v0.10.2\r\n * (c) 2010-2019 Google LLC. https://angular.io/\r\n * License: MIT\r\n */\r\n(function (factory) {\r\n typeof define === 'function' && define.amd ? define(factory) :\r\n factory();\r\n}(function () {\r\n 'use strict';\r\n /**\r\n * @license\r\n * Copyright Google Inc. All Rights Reserved.\r\n *\r\n * Use of this source code is governed by an MIT-style license that can be\r\n * found in the LICENSE file at https://angular.io/license\r\n */\r\n var Zone$1 = (function (global) {\r\n var performance = global['performance'];\r\n function mark(name) { performance && performance['mark'] && performance['mark'](name); }\r\n function performanceMeasure(name, label) {\r\n performance && performance['measure'] && performance['measure'](name, label);\r\n }\r\n mark('Zone');\r\n // Initialize before it's accessed below.\r\n // __Zone_symbol_prefix global can be used to override the default zone\r\n // symbol prefix with a custom one if needed.\r\n var symbolPrefix = global['__Zone_symbol_prefix'] || '__zone_symbol__';\r\n function __symbol__(name) { return symbolPrefix + name; }\r\n var checkDuplicate = global[__symbol__('forceDuplicateZoneCheck')] === true;\r\n if (global['Zone']) {\r\n // if global['Zone'] already exists (maybe zone.js was already loaded or\r\n // some other lib also registered a global object named Zone), we may need\r\n // to throw an error, but sometimes user may not want this error.\r\n // For example,\r\n // we have two web pages, page1 includes zone.js, page2 doesn't.\r\n // and the 1st time user load page1 and page2, everything work fine,\r\n // but when user load page2 again, error occurs because global['Zone'] already exists.\r\n // so we add a flag to let user choose whether to throw this error or not.\r\n // By default, if existing Zone is from zone.js, we will not throw the error.\r\n if (checkDuplicate || typeof global['Zone'].__symbol__ !== 'function') {\r\n throw new Error('Zone already loaded.');\r\n }\r\n else {\r\n return global['Zone'];\r\n }\r\n }\r\n var Zone = /** @class */ (function () {\r\n function Zone(parent, zoneSpec) {\r\n this._parent = parent;\r\n this._name = zoneSpec ? zoneSpec.name || 'unnamed' : '';\r\n this._properties = zoneSpec && zoneSpec.properties || {};\r\n this._zoneDelegate =\r\n new ZoneDelegate(this, this._parent && this._parent._zoneDelegate, zoneSpec);\r\n }\r\n Zone.assertZonePatched = function () {\r\n if (global['Promise'] !== patches['ZoneAwarePromise']) {\r\n throw new Error('Zone.js has detected that ZoneAwarePromise `(window|global).Promise` ' +\r\n 'has been overwritten.\\n' +\r\n 'Most likely cause is that a Promise polyfill has been loaded ' +\r\n 'after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. ' +\r\n 'If you must load one, do so before loading zone.js.)');\r\n }\r\n };\r\n Object.defineProperty(Zone, \"root\", {\r\n get: function () {\r\n var zone = Zone.current;\r\n while (zone.parent) {\r\n zone = zone.parent;\r\n }\r\n return zone;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(Zone, \"current\", {\r\n get: function () { return _currentZoneFrame.zone; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(Zone, \"currentTask\", {\r\n get: function () { return _currentTask; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n // tslint:disable-next-line:require-internal-with-underscore\r\n Zone.__load_patch = function (name, fn) {\r\n if (patches.hasOwnProperty(name)) {\r\n if (checkDuplicate) {\r\n throw Error('Already loaded patch: ' + name);\r\n }\r\n }\r\n else if (!global['__Zone_disable_' + name]) {\r\n var perfName = 'Zone:' + name;\r\n mark(perfName);\r\n patches[name] = fn(global, Zone, _api);\r\n performanceMeasure(perfName, perfName);\r\n }\r\n };\r\n Object.defineProperty(Zone.prototype, \"parent\", {\r\n get: function () { return this._parent; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(Zone.prototype, \"name\", {\r\n get: function () { return this._name; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Zone.prototype.get = function (key) {\r\n var zone = this.getZoneWith(key);\r\n if (zone)\r\n return zone._properties[key];\r\n };\r\n Zone.prototype.getZoneWith = function (key) {\r\n var current = this;\r\n while (current) {\r\n if (current._properties.hasOwnProperty(key)) {\r\n return current;\r\n }\r\n current = current._parent;\r\n }\r\n return null;\r\n };\r\n Zone.prototype.fork = function (zoneSpec) {\r\n if (!zoneSpec)\r\n throw new Error('ZoneSpec required!');\r\n return this._zoneDelegate.fork(this, zoneSpec);\r\n };\r\n Zone.prototype.wrap = function (callback, source) {\r\n if (typeof callback !== 'function') {\r\n throw new Error('Expecting function got: ' + callback);\r\n }\r\n var _callback = this._zoneDelegate.intercept(this, callback, source);\r\n var zone = this;\r\n return function () {\r\n return zone.runGuarded(_callback, this, arguments, source);\r\n };\r\n };\r\n Zone.prototype.run = function (callback, applyThis, applyArgs, source) {\r\n _currentZoneFrame = { parent: _currentZoneFrame, zone: this };\r\n try {\r\n return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\r\n }\r\n finally {\r\n _currentZoneFrame = _currentZoneFrame.parent;\r\n }\r\n };\r\n Zone.prototype.runGuarded = function (callback, applyThis, applyArgs, source) {\r\n if (applyThis === void 0) { applyThis = null; }\r\n _currentZoneFrame = { parent: _currentZoneFrame, zone: this };\r\n try {\r\n try {\r\n return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\r\n }\r\n catch (error) {\r\n if (this._zoneDelegate.handleError(this, error)) {\r\n throw error;\r\n }\r\n }\r\n }\r\n finally {\r\n _currentZoneFrame = _currentZoneFrame.parent;\r\n }\r\n };\r\n Zone.prototype.runTask = function (task, applyThis, applyArgs) {\r\n if (task.zone != this) {\r\n throw new Error('A task can only be run in the zone of creation! (Creation: ' +\r\n (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')');\r\n }\r\n // https://github.com/angular/zone.js/issues/778, sometimes eventTask\r\n // will run in notScheduled(canceled) state, we should not try to\r\n // run such kind of task but just return\r\n if (task.state === notScheduled && (task.type === eventTask || task.type === macroTask)) {\r\n return;\r\n }\r\n var reEntryGuard = task.state != running;\r\n reEntryGuard && task._transitionTo(running, scheduled);\r\n task.runCount++;\r\n var previousTask = _currentTask;\r\n _currentTask = task;\r\n _currentZoneFrame = { parent: _currentZoneFrame, zone: this };\r\n try {\r\n if (task.type == macroTask && task.data && !task.data.isPeriodic) {\r\n task.cancelFn = undefined;\r\n }\r\n try {\r\n return this._zoneDelegate.invokeTask(this, task, applyThis, applyArgs);\r\n }\r\n catch (error) {\r\n if (this._zoneDelegate.handleError(this, error)) {\r\n throw error;\r\n }\r\n }\r\n }\r\n finally {\r\n // if the task's state is notScheduled or unknown, then it has already been cancelled\r\n // we should not reset the state to scheduled\r\n if (task.state !== notScheduled && task.state !== unknown) {\r\n if (task.type == eventTask || (task.data && task.data.isPeriodic)) {\r\n reEntryGuard && task._transitionTo(scheduled, running);\r\n }\r\n else {\r\n task.runCount = 0;\r\n this._updateTaskCount(task, -1);\r\n reEntryGuard &&\r\n task._transitionTo(notScheduled, running, notScheduled);\r\n }\r\n }\r\n _currentZoneFrame = _currentZoneFrame.parent;\r\n _currentTask = previousTask;\r\n }\r\n };\r\n Zone.prototype.scheduleTask = function (task) {\r\n if (task.zone && task.zone !== this) {\r\n // check if the task was rescheduled, the newZone\r\n // should not be the children of the original zone\r\n var newZone = this;\r\n while (newZone) {\r\n if (newZone === task.zone) {\r\n throw Error(\"can not reschedule task to \" + this.name + \" which is descendants of the original zone \" + task.zone.name);\r\n }\r\n newZone = newZone.parent;\r\n }\r\n }\r\n task._transitionTo(scheduling, notScheduled);\r\n var zoneDelegates = [];\r\n task._zoneDelegates = zoneDelegates;\r\n task._zone = this;\r\n try {\r\n task = this._zoneDelegate.scheduleTask(this, task);\r\n }\r\n catch (err) {\r\n // should set task's state to unknown when scheduleTask throw error\r\n // because the err may from reschedule, so the fromState maybe notScheduled\r\n task._transitionTo(unknown, scheduling, notScheduled);\r\n // TODO: @JiaLiPassion, should we check the result from handleError?\r\n this._zoneDelegate.handleError(this, err);\r\n throw err;\r\n }\r\n if (task._zoneDelegates === zoneDelegates) {\r\n // we have to check because internally the delegate can reschedule the task.\r\n this._updateTaskCount(task, 1);\r\n }\r\n if (task.state == scheduling) {\r\n task._transitionTo(scheduled, scheduling);\r\n }\r\n return task;\r\n };\r\n Zone.prototype.scheduleMicroTask = function (source, callback, data, customSchedule) {\r\n return this.scheduleTask(new ZoneTask(microTask, source, callback, data, customSchedule, undefined));\r\n };\r\n Zone.prototype.scheduleMacroTask = function (source, callback, data, customSchedule, customCancel) {\r\n return this.scheduleTask(new ZoneTask(macroTask, source, callback, data, customSchedule, customCancel));\r\n };\r\n Zone.prototype.scheduleEventTask = function (source, callback, data, customSchedule, customCancel) {\r\n return this.scheduleTask(new ZoneTask(eventTask, source, callback, data, customSchedule, customCancel));\r\n };\r\n Zone.prototype.cancelTask = function (task) {\r\n if (task.zone != this)\r\n throw new Error('A task can only be cancelled in the zone of creation! (Creation: ' +\r\n (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')');\r\n task._transitionTo(canceling, scheduled, running);\r\n try {\r\n this._zoneDelegate.cancelTask(this, task);\r\n }\r\n catch (err) {\r\n // if error occurs when cancelTask, transit the state to unknown\r\n task._transitionTo(unknown, canceling);\r\n this._zoneDelegate.handleError(this, err);\r\n throw err;\r\n }\r\n this._updateTaskCount(task, -1);\r\n task._transitionTo(notScheduled, canceling);\r\n task.runCount = 0;\r\n return task;\r\n };\r\n Zone.prototype._updateTaskCount = function (task, count) {\r\n var zoneDelegates = task._zoneDelegates;\r\n if (count == -1) {\r\n task._zoneDelegates = null;\r\n }\r\n for (var i = 0; i < zoneDelegates.length; i++) {\r\n zoneDelegates[i]._updateTaskCount(task.type, count);\r\n }\r\n };\r\n return Zone;\r\n }());\r\n // tslint:disable-next-line:require-internal-with-underscore\r\n Zone.__symbol__ = __symbol__;\r\n var DELEGATE_ZS = {\r\n name: '',\r\n onHasTask: function (delegate, _, target, hasTaskState) { return delegate.hasTask(target, hasTaskState); },\r\n onScheduleTask: function (delegate, _, target, task) { return delegate.scheduleTask(target, task); },\r\n onInvokeTask: function (delegate, _, target, task, applyThis, applyArgs) { return delegate.invokeTask(target, task, applyThis, applyArgs); },\r\n onCancelTask: function (delegate, _, target, task) { return delegate.cancelTask(target, task); }\r\n };\r\n var ZoneDelegate = /** @class */ (function () {\r\n function ZoneDelegate(zone, parentDelegate, zoneSpec) {\r\n this._taskCounts = { 'microTask': 0, 'macroTask': 0, 'eventTask': 0 };\r\n this.zone = zone;\r\n this._parentDelegate = parentDelegate;\r\n this._forkZS =\r\n zoneSpec && (zoneSpec && zoneSpec.onFork ? zoneSpec : parentDelegate._forkZS);\r\n this._forkDlgt = zoneSpec && (zoneSpec.onFork ? parentDelegate : parentDelegate._forkDlgt);\r\n this._forkCurrZone =\r\n zoneSpec && (zoneSpec.onFork ? this.zone : parentDelegate._forkCurrZone);\r\n this._interceptZS =\r\n zoneSpec && (zoneSpec.onIntercept ? zoneSpec : parentDelegate._interceptZS);\r\n this._interceptDlgt =\r\n zoneSpec && (zoneSpec.onIntercept ? parentDelegate : parentDelegate._interceptDlgt);\r\n this._interceptCurrZone =\r\n zoneSpec && (zoneSpec.onIntercept ? this.zone : parentDelegate._interceptCurrZone);\r\n this._invokeZS = zoneSpec && (zoneSpec.onInvoke ? zoneSpec : parentDelegate._invokeZS);\r\n this._invokeDlgt =\r\n zoneSpec && (zoneSpec.onInvoke ? parentDelegate : parentDelegate._invokeDlgt);\r\n this._invokeCurrZone =\r\n zoneSpec && (zoneSpec.onInvoke ? this.zone : parentDelegate._invokeCurrZone);\r\n this._handleErrorZS =\r\n zoneSpec && (zoneSpec.onHandleError ? zoneSpec : parentDelegate._handleErrorZS);\r\n this._handleErrorDlgt = zoneSpec &&\r\n (zoneSpec.onHandleError ? parentDelegate : parentDelegate._handleErrorDlgt);\r\n this._handleErrorCurrZone =\r\n zoneSpec && (zoneSpec.onHandleError ? this.zone : parentDelegate._handleErrorCurrZone);\r\n this._scheduleTaskZS =\r\n zoneSpec && (zoneSpec.onScheduleTask ? zoneSpec : parentDelegate._scheduleTaskZS);\r\n this._scheduleTaskDlgt = zoneSpec &&\r\n (zoneSpec.onScheduleTask ? parentDelegate : parentDelegate._scheduleTaskDlgt);\r\n this._scheduleTaskCurrZone = zoneSpec &&\r\n (zoneSpec.onScheduleTask ? this.zone : parentDelegate._scheduleTaskCurrZone);\r\n this._invokeTaskZS =\r\n zoneSpec && (zoneSpec.onInvokeTask ? zoneSpec : parentDelegate._invokeTaskZS);\r\n this._invokeTaskDlgt =\r\n zoneSpec && (zoneSpec.onInvokeTask ? parentDelegate : parentDelegate._invokeTaskDlgt);\r\n this._invokeTaskCurrZone =\r\n zoneSpec && (zoneSpec.onInvokeTask ? this.zone : parentDelegate._invokeTaskCurrZone);\r\n this._cancelTaskZS =\r\n zoneSpec && (zoneSpec.onCancelTask ? zoneSpec : parentDelegate._cancelTaskZS);\r\n this._cancelTaskDlgt =\r\n zoneSpec && (zoneSpec.onCancelTask ? parentDelegate : parentDelegate._cancelTaskDlgt);\r\n this._cancelTaskCurrZone =\r\n zoneSpec && (zoneSpec.onCancelTask ? this.zone : parentDelegate._cancelTaskCurrZone);\r\n this._hasTaskZS = null;\r\n this._hasTaskDlgt = null;\r\n this._hasTaskDlgtOwner = null;\r\n this._hasTaskCurrZone = null;\r\n var zoneSpecHasTask = zoneSpec && zoneSpec.onHasTask;\r\n var parentHasTask = parentDelegate && parentDelegate._hasTaskZS;\r\n if (zoneSpecHasTask || parentHasTask) {\r\n // If we need to report hasTask, than this ZS needs to do ref counting on tasks. In such\r\n // a case all task related interceptors must go through this ZD. We can't short circuit it.\r\n this._hasTaskZS = zoneSpecHasTask ? zoneSpec : DELEGATE_ZS;\r\n this._hasTaskDlgt = parentDelegate;\r\n this._hasTaskDlgtOwner = this;\r\n this._hasTaskCurrZone = zone;\r\n if (!zoneSpec.onScheduleTask) {\r\n this._scheduleTaskZS = DELEGATE_ZS;\r\n this._scheduleTaskDlgt = parentDelegate;\r\n this._scheduleTaskCurrZone = this.zone;\r\n }\r\n if (!zoneSpec.onInvokeTask) {\r\n this._invokeTaskZS = DELEGATE_ZS;\r\n this._invokeTaskDlgt = parentDelegate;\r\n this._invokeTaskCurrZone = this.zone;\r\n }\r\n if (!zoneSpec.onCancelTask) {\r\n this._cancelTaskZS = DELEGATE_ZS;\r\n this._cancelTaskDlgt = parentDelegate;\r\n this._cancelTaskCurrZone = this.zone;\r\n }\r\n }\r\n }\r\n ZoneDelegate.prototype.fork = function (targetZone, zoneSpec) {\r\n return this._forkZS ?\r\n this._forkZS.onFork(this._forkDlgt, this.zone, targetZone, zoneSpec) :\r\n new Zone(targetZone, zoneSpec);\r\n };\r\n ZoneDelegate.prototype.intercept = function (targetZone, callback, source) {\r\n return this._interceptZS ?\r\n this._interceptZS.onIntercept(this._interceptDlgt, this._interceptCurrZone, targetZone, callback, source) :\r\n callback;\r\n };\r\n ZoneDelegate.prototype.invoke = function (targetZone, callback, applyThis, applyArgs, source) {\r\n return this._invokeZS ?\r\n this._invokeZS.onInvoke(this._invokeDlgt, this._invokeCurrZone, targetZone, callback, applyThis, applyArgs, source) :\r\n callback.apply(applyThis, applyArgs);\r\n };\r\n ZoneDelegate.prototype.handleError = function (targetZone, error) {\r\n return this._handleErrorZS ?\r\n this._handleErrorZS.onHandleError(this._handleErrorDlgt, this._handleErrorCurrZone, targetZone, error) :\r\n true;\r\n };\r\n ZoneDelegate.prototype.scheduleTask = function (targetZone, task) {\r\n var returnTask = task;\r\n if (this._scheduleTaskZS) {\r\n if (this._hasTaskZS) {\r\n returnTask._zoneDelegates.push(this._hasTaskDlgtOwner);\r\n }\r\n // clang-format off\r\n returnTask = this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt, this._scheduleTaskCurrZone, targetZone, task);\r\n // clang-format on\r\n if (!returnTask)\r\n returnTask = task;\r\n }\r\n else {\r\n if (task.scheduleFn) {\r\n task.scheduleFn(task);\r\n }\r\n else if (task.type == microTask) {\r\n scheduleMicroTask(task);\r\n }\r\n else {\r\n throw new Error('Task is missing scheduleFn.');\r\n }\r\n }\r\n return returnTask;\r\n };\r\n ZoneDelegate.prototype.invokeTask = function (targetZone, task, applyThis, applyArgs) {\r\n return this._invokeTaskZS ?\r\n this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt, this._invokeTaskCurrZone, targetZone, task, applyThis, applyArgs) :\r\n task.callback.apply(applyThis, applyArgs);\r\n };\r\n ZoneDelegate.prototype.cancelTask = function (targetZone, task) {\r\n var value;\r\n if (this._cancelTaskZS) {\r\n value = this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt, this._cancelTaskCurrZone, targetZone, task);\r\n }\r\n else {\r\n if (!task.cancelFn) {\r\n throw Error('Task is not cancelable');\r\n }\r\n value = task.cancelFn(task);\r\n }\r\n return value;\r\n };\r\n ZoneDelegate.prototype.hasTask = function (targetZone, isEmpty) {\r\n // hasTask should not throw error so other ZoneDelegate\r\n // can still trigger hasTask callback\r\n try {\r\n this._hasTaskZS &&\r\n this._hasTaskZS.onHasTask(this._hasTaskDlgt, this._hasTaskCurrZone, targetZone, isEmpty);\r\n }\r\n catch (err) {\r\n this.handleError(targetZone, err);\r\n }\r\n };\r\n // tslint:disable-next-line:require-internal-with-underscore\r\n ZoneDelegate.prototype._updateTaskCount = function (type, count) {\r\n var counts = this._taskCounts;\r\n var prev = counts[type];\r\n var next = counts[type] = prev + count;\r\n if (next < 0) {\r\n throw new Error('More tasks executed then were scheduled.');\r\n }\r\n if (prev == 0 || next == 0) {\r\n var isEmpty = {\r\n microTask: counts['microTask'] > 0,\r\n macroTask: counts['macroTask'] > 0,\r\n eventTask: counts['eventTask'] > 0,\r\n change: type\r\n };\r\n this.hasTask(this.zone, isEmpty);\r\n }\r\n };\r\n return ZoneDelegate;\r\n }());\r\n var ZoneTask = /** @class */ (function () {\r\n function ZoneTask(type, source, callback, options, scheduleFn, cancelFn) {\r\n // tslint:disable-next-line:require-internal-with-underscore\r\n this._zone = null;\r\n this.runCount = 0;\r\n // tslint:disable-next-line:require-internal-with-underscore\r\n this._zoneDelegates = null;\r\n // tslint:disable-next-line:require-internal-with-underscore\r\n this._state = 'notScheduled';\r\n this.type = type;\r\n this.source = source;\r\n this.data = options;\r\n this.scheduleFn = scheduleFn;\r\n this.cancelFn = cancelFn;\r\n if (!callback) {\r\n throw new Error('callback is not defined');\r\n }\r\n this.callback = callback;\r\n var self = this;\r\n // TODO: @JiaLiPassion options should have interface\r\n if (type === eventTask && options && options.useG) {\r\n this.invoke = ZoneTask.invokeTask;\r\n }\r\n else {\r\n this.invoke = function () {\r\n return ZoneTask.invokeTask.call(global, self, this, arguments);\r\n };\r\n }\r\n }\r\n ZoneTask.invokeTask = function (task, target, args) {\r\n if (!task) {\r\n task = this;\r\n }\r\n _numberOfNestedTaskFrames++;\r\n try {\r\n task.runCount++;\r\n return task.zone.runTask(task, target, args);\r\n }\r\n finally {\r\n if (_numberOfNestedTaskFrames == 1) {\r\n drainMicroTaskQueue();\r\n }\r\n _numberOfNestedTaskFrames--;\r\n }\r\n };\r\n Object.defineProperty(ZoneTask.prototype, \"zone\", {\r\n get: function () { return this._zone; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ZoneTask.prototype, \"state\", {\r\n get: function () { return this._state; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ZoneTask.prototype.cancelScheduleRequest = function () { this._transitionTo(notScheduled, scheduling); };\r\n // tslint:disable-next-line:require-internal-with-underscore\r\n ZoneTask.prototype._transitionTo = function (toState, fromState1, fromState2) {\r\n if (this._state === fromState1 || this._state === fromState2) {\r\n this._state = toState;\r\n if (toState == notScheduled) {\r\n this._zoneDelegates = null;\r\n }\r\n }\r\n else {\r\n throw new Error(this.type + \" '\" + this.source + \"': can not transition to '\" + toState + \"', expecting state '\" + fromState1 + \"'\" + (fromState2 ? ' or \\'' + fromState2 + '\\'' : '') + \", was '\" + this._state + \"'.\");\r\n }\r\n };\r\n ZoneTask.prototype.toString = function () {\r\n if (this.data && typeof this.data.handleId !== 'undefined') {\r\n return this.data.handleId.toString();\r\n }\r\n else {\r\n return Object.prototype.toString.call(this);\r\n }\r\n };\r\n // add toJSON method to prevent cyclic error when\r\n // call JSON.stringify(zoneTask)\r\n ZoneTask.prototype.toJSON = function () {\r\n return {\r\n type: this.type,\r\n state: this.state,\r\n source: this.source,\r\n zone: this.zone.name,\r\n runCount: this.runCount\r\n };\r\n };\r\n return ZoneTask;\r\n }());\r\n //////////////////////////////////////////////////////\r\n //////////////////////////////////////////////////////\r\n /// MICROTASK QUEUE\r\n //////////////////////////////////////////////////////\r\n //////////////////////////////////////////////////////\r\n var symbolSetTimeout = __symbol__('setTimeout');\r\n var symbolPromise = __symbol__('Promise');\r\n var symbolThen = __symbol__('then');\r\n var _microTaskQueue = [];\r\n var _isDrainingMicrotaskQueue = false;\r\n var nativeMicroTaskQueuePromise;\r\n function scheduleMicroTask(task) {\r\n // if we are not running in any task, and there has not been anything scheduled\r\n // we must bootstrap the initial task creation by manually scheduling the drain\r\n if (_numberOfNestedTaskFrames === 0 && _microTaskQueue.length === 0) {\r\n // We are not running in Task, so we need to kickstart the microtask queue.\r\n if (!nativeMicroTaskQueuePromise) {\r\n if (global[symbolPromise]) {\r\n nativeMicroTaskQueuePromise = global[symbolPromise].resolve(0);\r\n }\r\n }\r\n if (nativeMicroTaskQueuePromise) {\r\n var nativeThen = nativeMicroTaskQueuePromise[symbolThen];\r\n if (!nativeThen) {\r\n // native Promise is not patchable, we need to use `then` directly\r\n // issue 1078\r\n nativeThen = nativeMicroTaskQueuePromise['then'];\r\n }\r\n nativeThen.call(nativeMicroTaskQueuePromise, drainMicroTaskQueue);\r\n }\r\n else {\r\n global[symbolSetTimeout](drainMicroTaskQueue, 0);\r\n }\r\n }\r\n task && _microTaskQueue.push(task);\r\n }\r\n function drainMicroTaskQueue() {\r\n if (!_isDrainingMicrotaskQueue) {\r\n _isDrainingMicrotaskQueue = true;\r\n while (_microTaskQueue.length) {\r\n var queue = _microTaskQueue;\r\n _microTaskQueue = [];\r\n for (var i = 0; i < queue.length; i++) {\r\n var task = queue[i];\r\n try {\r\n task.zone.runTask(task, null, null);\r\n }\r\n catch (error) {\r\n _api.onUnhandledError(error);\r\n }\r\n }\r\n }\r\n _api.microtaskDrainDone();\r\n _isDrainingMicrotaskQueue = false;\r\n }\r\n }\r\n //////////////////////////////////////////////////////\r\n //////////////////////////////////////////////////////\r\n /// BOOTSTRAP\r\n //////////////////////////////////////////////////////\r\n //////////////////////////////////////////////////////\r\n var NO_ZONE = { name: 'NO ZONE' };\r\n var notScheduled = 'notScheduled', scheduling = 'scheduling', scheduled = 'scheduled', running = 'running', canceling = 'canceling', unknown = 'unknown';\r\n var microTask = 'microTask', macroTask = 'macroTask', eventTask = 'eventTask';\r\n var patches = {};\r\n var _api = {\r\n symbol: __symbol__,\r\n currentZoneFrame: function () { return _currentZoneFrame; },\r\n onUnhandledError: noop,\r\n microtaskDrainDone: noop,\r\n scheduleMicroTask: scheduleMicroTask,\r\n showUncaughtError: function () { return !Zone[__symbol__('ignoreConsoleErrorUncaughtError')]; },\r\n patchEventTarget: function () { return []; },\r\n patchOnProperties: noop,\r\n patchMethod: function () { return noop; },\r\n bindArguments: function () { return []; },\r\n patchThen: function () { return noop; },\r\n patchMacroTask: function () { return noop; },\r\n setNativePromise: function (NativePromise) {\r\n // sometimes NativePromise.resolve static function\r\n // is not ready yet, (such as core-js/es6.promise)\r\n // so we need to check here.\r\n if (NativePromise && typeof NativePromise.resolve === 'function') {\r\n nativeMicroTaskQueuePromise = NativePromise.resolve(0);\r\n }\r\n },\r\n patchEventPrototype: function () { return noop; },\r\n isIEOrEdge: function () { return false; },\r\n getGlobalObjects: function () { return undefined; },\r\n ObjectDefineProperty: function () { return noop; },\r\n ObjectGetOwnPropertyDescriptor: function () { return undefined; },\r\n ObjectCreate: function () { return undefined; },\r\n ArraySlice: function () { return []; },\r\n patchClass: function () { return noop; },\r\n wrapWithCurrentZone: function () { return noop; },\r\n filterProperties: function () { return []; },\r\n attachOriginToPatched: function () { return noop; },\r\n _redefineProperty: function () { return noop; },\r\n patchCallbacks: function () { return noop; }\r\n };\r\n var _currentZoneFrame = { parent: null, zone: new Zone(null, null) };\r\n var _currentTask = null;\r\n var _numberOfNestedTaskFrames = 0;\r\n function noop() { }\r\n performanceMeasure('Zone', 'Zone');\r\n return global['Zone'] = Zone;\r\n })(typeof window !== 'undefined' && window || typeof self !== 'undefined' && self || global);\r\n /**\r\n * @license\r\n * Copyright Google Inc. All Rights Reserved.\r\n *\r\n * Use of this source code is governed by an MIT-style license that can be\r\n * found in the LICENSE file at https://angular.io/license\r\n */\r\n Zone.__load_patch('ZoneAwarePromise', function (global, Zone, api) {\r\n var ObjectGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\r\n var ObjectDefineProperty = Object.defineProperty;\r\n function readableObjectToString(obj) {\r\n if (obj && obj.toString === Object.prototype.toString) {\r\n var className = obj.constructor && obj.constructor.name;\r\n return (className ? className : '') + ': ' + JSON.stringify(obj);\r\n }\r\n return obj ? obj.toString() : Object.prototype.toString.call(obj);\r\n }\r\n var __symbol__ = api.symbol;\r\n var _uncaughtPromiseErrors = [];\r\n var symbolPromise = __symbol__('Promise');\r\n var symbolThen = __symbol__('then');\r\n var creationTrace = '__creationTrace__';\r\n api.onUnhandledError = function (e) {\r\n if (api.showUncaughtError()) {\r\n var rejection = e && e.rejection;\r\n if (rejection) {\r\n console.error('Unhandled Promise rejection:', rejection instanceof Error ? rejection.message : rejection, '; Zone:', e.zone.name, '; Task:', e.task && e.task.source, '; Value:', rejection, rejection instanceof Error ? rejection.stack : undefined);\r\n }\r\n else {\r\n console.error(e);\r\n }\r\n }\r\n };\r\n api.microtaskDrainDone = function () {\r\n while (_uncaughtPromiseErrors.length) {\r\n var _loop_1 = function () {\r\n var uncaughtPromiseError = _uncaughtPromiseErrors.shift();\r\n try {\r\n uncaughtPromiseError.zone.runGuarded(function () { throw uncaughtPromiseError; });\r\n }\r\n catch (error) {\r\n handleUnhandledRejection(error);\r\n }\r\n };\r\n while (_uncaughtPromiseErrors.length) {\r\n _loop_1();\r\n }\r\n }\r\n };\r\n var UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL = __symbol__('unhandledPromiseRejectionHandler');\r\n function handleUnhandledRejection(e) {\r\n api.onUnhandledError(e);\r\n try {\r\n var handler = Zone[UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL];\r\n if (handler && typeof handler === 'function') {\r\n handler.call(this, e);\r\n }\r\n }\r\n catch (err) {\r\n }\r\n }\r\n function isThenable(value) { return value && value.then; }\r\n function forwardResolution(value) { return value; }\r\n function forwardRejection(rejection) { return ZoneAwarePromise.reject(rejection); }\r\n var symbolState = __symbol__('state');\r\n var symbolValue = __symbol__('value');\r\n var symbolFinally = __symbol__('finally');\r\n var symbolParentPromiseValue = __symbol__('parentPromiseValue');\r\n var symbolParentPromiseState = __symbol__('parentPromiseState');\r\n var source = 'Promise.then';\r\n var UNRESOLVED = null;\r\n var RESOLVED = true;\r\n var REJECTED = false;\r\n var REJECTED_NO_CATCH = 0;\r\n function makeResolver(promise, state) {\r\n return function (v) {\r\n try {\r\n resolvePromise(promise, state, v);\r\n }\r\n catch (err) {\r\n resolvePromise(promise, false, err);\r\n }\r\n // Do not return value or you will break the Promise spec.\r\n };\r\n }\r\n var once = function () {\r\n var wasCalled = false;\r\n return function wrapper(wrappedFunction) {\r\n return function () {\r\n if (wasCalled) {\r\n return;\r\n }\r\n wasCalled = true;\r\n wrappedFunction.apply(null, arguments);\r\n };\r\n };\r\n };\r\n var TYPE_ERROR = 'Promise resolved with itself';\r\n var CURRENT_TASK_TRACE_SYMBOL = __symbol__('currentTaskTrace');\r\n // Promise Resolution\r\n function resolvePromise(promise, state, value) {\r\n var onceWrapper = once();\r\n if (promise === value) {\r\n throw new TypeError(TYPE_ERROR);\r\n }\r\n if (promise[symbolState] === UNRESOLVED) {\r\n // should only get value.then once based on promise spec.\r\n var then = null;\r\n try {\r\n if (typeof value === 'object' || typeof value === 'function') {\r\n then = value && value.then;\r\n }\r\n }\r\n catch (err) {\r\n onceWrapper(function () { resolvePromise(promise, false, err); })();\r\n return promise;\r\n }\r\n // if (value instanceof ZoneAwarePromise) {\r\n if (state !== REJECTED && value instanceof ZoneAwarePromise &&\r\n value.hasOwnProperty(symbolState) && value.hasOwnProperty(symbolValue) &&\r\n value[symbolState] !== UNRESOLVED) {\r\n clearRejectedNoCatch(value);\r\n resolvePromise(promise, value[symbolState], value[symbolValue]);\r\n }\r\n else if (state !== REJECTED && typeof then === 'function') {\r\n try {\r\n then.call(value, onceWrapper(makeResolver(promise, state)), onceWrapper(makeResolver(promise, false)));\r\n }\r\n catch (err) {\r\n onceWrapper(function () { resolvePromise(promise, false, err); })();\r\n }\r\n }\r\n else {\r\n promise[symbolState] = state;\r\n var queue = promise[symbolValue];\r\n promise[symbolValue] = value;\r\n if (promise[symbolFinally] === symbolFinally) {\r\n // the promise is generated by Promise.prototype.finally\r\n if (state === RESOLVED) {\r\n // the state is resolved, should ignore the value\r\n // and use parent promise value\r\n promise[symbolState] = promise[symbolParentPromiseState];\r\n promise[symbolValue] = promise[symbolParentPromiseValue];\r\n }\r\n }\r\n // record task information in value when error occurs, so we can\r\n // do some additional work such as render longStackTrace\r\n if (state === REJECTED && value instanceof Error) {\r\n // check if longStackTraceZone is here\r\n var trace = Zone.currentTask && Zone.currentTask.data &&\r\n Zone.currentTask.data[creationTrace];\r\n if (trace) {\r\n // only keep the long stack trace into error when in longStackTraceZone\r\n ObjectDefineProperty(value, CURRENT_TASK_TRACE_SYMBOL, { configurable: true, enumerable: false, writable: true, value: trace });\r\n }\r\n }\r\n for (var i = 0; i < queue.length;) {\r\n scheduleResolveOrReject(promise, queue[i++], queue[i++], queue[i++], queue[i++]);\r\n }\r\n if (queue.length == 0 && state == REJECTED) {\r\n promise[symbolState] = REJECTED_NO_CATCH;\r\n try {\r\n // try to print more readable error log\r\n throw new Error('Uncaught (in promise): ' + readableObjectToString(value) +\r\n (value && value.stack ? '\\n' + value.stack : ''));\r\n }\r\n catch (err) {\r\n var error = err;\r\n error.rejection = value;\r\n error.promise = promise;\r\n error.zone = Zone.current;\r\n error.task = Zone.currentTask;\r\n _uncaughtPromiseErrors.push(error);\r\n api.scheduleMicroTask(); // to make sure that it is running\r\n }\r\n }\r\n }\r\n }\r\n // Resolving an already resolved promise is a noop.\r\n return promise;\r\n }\r\n var REJECTION_HANDLED_HANDLER = __symbol__('rejectionHandledHandler');\r\n function clearRejectedNoCatch(promise) {\r\n if (promise[symbolState] === REJECTED_NO_CATCH) {\r\n // if the promise is rejected no catch status\r\n // and queue.length > 0, means there is a error handler\r\n // here to handle the rejected promise, we should trigger\r\n // windows.rejectionhandled eventHandler or nodejs rejectionHandled\r\n // eventHandler\r\n try {\r\n var handler = Zone[REJECTION_HANDLED_HANDLER];\r\n if (handler && typeof handler === 'function') {\r\n handler.call(this, { rejection: promise[symbolValue], promise: promise });\r\n }\r\n }\r\n catch (err) {\r\n }\r\n promise[symbolState] = REJECTED;\r\n for (var i = 0; i < _uncaughtPromiseErrors.length; i++) {\r\n if (promise === _uncaughtPromiseErrors[i].promise) {\r\n _uncaughtPromiseErrors.splice(i, 1);\r\n }\r\n }\r\n }\r\n }\r\n function scheduleResolveOrReject(promise, zone, chainPromise, onFulfilled, onRejected) {\r\n clearRejectedNoCatch(promise);\r\n var promiseState = promise[symbolState];\r\n var delegate = promiseState ?\r\n (typeof onFulfilled === 'function') ? onFulfilled : forwardResolution :\r\n (typeof onRejected === 'function') ? onRejected : forwardRejection;\r\n zone.scheduleMicroTask(source, function () {\r\n try {\r\n var parentPromiseValue = promise[symbolValue];\r\n var isFinallyPromise = !!chainPromise && symbolFinally === chainPromise[symbolFinally];\r\n if (isFinallyPromise) {\r\n // if the promise is generated from finally call, keep parent promise's state and value\r\n chainPromise[symbolParentPromiseValue] = parentPromiseValue;\r\n chainPromise[symbolParentPromiseState] = promiseState;\r\n }\r\n // should not pass value to finally callback\r\n var value = zone.run(delegate, undefined, isFinallyPromise && delegate !== forwardRejection && delegate !== forwardResolution ?\r\n [] :\r\n [parentPromiseValue]);\r\n resolvePromise(chainPromise, true, value);\r\n }\r\n catch (error) {\r\n // if error occurs, should always return this error\r\n resolvePromise(chainPromise, false, error);\r\n }\r\n }, chainPromise);\r\n }\r\n var ZONE_AWARE_PROMISE_TO_STRING = 'function ZoneAwarePromise() { [native code] }';\r\n var ZoneAwarePromise = /** @class */ (function () {\r\n function ZoneAwarePromise(executor) {\r\n var promise = this;\r\n if (!(promise instanceof ZoneAwarePromise)) {\r\n throw new Error('Must be an instanceof Promise.');\r\n }\r\n promise[symbolState] = UNRESOLVED;\r\n promise[symbolValue] = []; // queue;\r\n try {\r\n executor && executor(makeResolver(promise, RESOLVED), makeResolver(promise, REJECTED));\r\n }\r\n catch (error) {\r\n resolvePromise(promise, false, error);\r\n }\r\n }\r\n ZoneAwarePromise.toString = function () { return ZONE_AWARE_PROMISE_TO_STRING; };\r\n ZoneAwarePromise.resolve = function (value) {\r\n return resolvePromise(new this(null), RESOLVED, value);\r\n };\r\n ZoneAwarePromise.reject = function (error) {\r\n return resolvePromise(new this(null), REJECTED, error);\r\n };\r\n ZoneAwarePromise.race = function (values) {\r\n var e_1, _a;\r\n var resolve;\r\n var reject;\r\n var promise = new this(function (res, rej) {\r\n resolve = res;\r\n reject = rej;\r\n });\r\n function onResolve(value) { resolve(value); }\r\n function onReject(error) { reject(error); }\r\n try {\r\n for (var values_1 = __values(values), values_1_1 = values_1.next(); !values_1_1.done; values_1_1 = values_1.next()) {\r\n var value = values_1_1.value;\r\n if (!isThenable(value)) {\r\n value = this.resolve(value);\r\n }\r\n value.then(onResolve, onReject);\r\n }\r\n }\r\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\r\n finally {\r\n try {\r\n if (values_1_1 && !values_1_1.done && (_a = values_1.return)) _a.call(values_1);\r\n }\r\n finally { if (e_1) throw e_1.error; }\r\n }\r\n return promise;\r\n };\r\n ZoneAwarePromise.all = function (values) { return ZoneAwarePromise.allWithCallback(values); };\r\n ZoneAwarePromise.allSettled = function (values) {\r\n var P = this && this.prototype instanceof ZoneAwarePromise ? this : ZoneAwarePromise;\r\n return P.allWithCallback(values, {\r\n thenCallback: function (value) { return ({ status: 'fulfilled', value: value }); },\r\n errorCallback: function (err) { return ({ status: 'rejected', reason: err }); }\r\n });\r\n };\r\n ZoneAwarePromise.allWithCallback = function (values, callback) {\r\n var e_2, _a;\r\n var resolve;\r\n var reject;\r\n var promise = new this(function (res, rej) {\r\n resolve = res;\r\n reject = rej;\r\n });\r\n // Start at 2 to prevent prematurely resolving if .then is called immediately.\r\n var unresolvedCount = 2;\r\n var valueIndex = 0;\r\n var resolvedValues = [];\r\n var _loop_2 = function (value) {\r\n if (!isThenable(value)) {\r\n value = this_1.resolve(value);\r\n }\r\n var curValueIndex = valueIndex;\r\n try {\r\n value.then(function (value) {\r\n resolvedValues[curValueIndex] = callback ? callback.thenCallback(value) : value;\r\n unresolvedCount--;\r\n if (unresolvedCount === 0) {\r\n resolve(resolvedValues);\r\n }\r\n }, function (err) {\r\n if (!callback) {\r\n reject(err);\r\n }\r\n else {\r\n resolvedValues[curValueIndex] = callback.errorCallback(err);\r\n unresolvedCount--;\r\n if (unresolvedCount === 0) {\r\n resolve(resolvedValues);\r\n }\r\n }\r\n });\r\n }\r\n catch (thenErr) {\r\n reject(thenErr);\r\n }\r\n unresolvedCount++;\r\n valueIndex++;\r\n };\r\n var this_1 = this;\r\n try {\r\n for (var values_2 = __values(values), values_2_1 = values_2.next(); !values_2_1.done; values_2_1 = values_2.next()) {\r\n var value = values_2_1.value;\r\n _loop_2(value);\r\n }\r\n }\r\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\r\n finally {\r\n try {\r\n if (values_2_1 && !values_2_1.done && (_a = values_2.return)) _a.call(values_2);\r\n }\r\n finally { if (e_2) throw e_2.error; }\r\n }\r\n // Make the unresolvedCount zero-based again.\r\n unresolvedCount -= 2;\r\n if (unresolvedCount === 0) {\r\n resolve(resolvedValues);\r\n }\r\n return promise;\r\n };\r\n Object.defineProperty(ZoneAwarePromise.prototype, Symbol.toStringTag, {\r\n get: function () { return 'Promise'; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ZoneAwarePromise.prototype.then = function (onFulfilled, onRejected) {\r\n var chainPromise = new this.constructor(null);\r\n var zone = Zone.current;\r\n if (this[symbolState] == UNRESOLVED) {\r\n this[symbolValue].push(zone, chainPromise, onFulfilled, onRejected);\r\n }\r\n else {\r\n scheduleResolveOrReject(this, zone, chainPromise, onFulfilled, onRejected);\r\n }\r\n return chainPromise;\r\n };\r\n ZoneAwarePromise.prototype.catch = function (onRejected) {\r\n return this.then(null, onRejected);\r\n };\r\n ZoneAwarePromise.prototype.finally = function (onFinally) {\r\n var chainPromise = new this.constructor(null);\r\n chainPromise[symbolFinally] = symbolFinally;\r\n var zone = Zone.current;\r\n if (this[symbolState] == UNRESOLVED) {\r\n this[symbolValue].push(zone, chainPromise, onFinally, onFinally);\r\n }\r\n else {\r\n scheduleResolveOrReject(this, zone, chainPromise, onFinally, onFinally);\r\n }\r\n return chainPromise;\r\n };\r\n return ZoneAwarePromise;\r\n }());\r\n // Protect against aggressive optimizers dropping seemingly unused properties.\r\n // E.g. Closure Compiler in advanced mode.\r\n ZoneAwarePromise['resolve'] = ZoneAwarePromise.resolve;\r\n ZoneAwarePromise['reject'] = ZoneAwarePromise.reject;\r\n ZoneAwarePromise['race'] = ZoneAwarePromise.race;\r\n ZoneAwarePromise['all'] = ZoneAwarePromise.all;\r\n var NativePromise = global[symbolPromise] = global['Promise'];\r\n var ZONE_AWARE_PROMISE = Zone.__symbol__('ZoneAwarePromise');\r\n var desc = ObjectGetOwnPropertyDescriptor(global, 'Promise');\r\n if (!desc || desc.configurable) {\r\n desc && delete desc.writable;\r\n desc && delete desc.value;\r\n if (!desc) {\r\n desc = { configurable: true, enumerable: true };\r\n }\r\n desc.get = function () {\r\n // if we already set ZoneAwarePromise, use patched one\r\n // otherwise return native one.\r\n return global[ZONE_AWARE_PROMISE] ? global[ZONE_AWARE_PROMISE] : global[symbolPromise];\r\n };\r\n desc.set = function (NewNativePromise) {\r\n if (NewNativePromise === ZoneAwarePromise) {\r\n // if the NewNativePromise is ZoneAwarePromise\r\n // save to global\r\n global[ZONE_AWARE_PROMISE] = NewNativePromise;\r\n }\r\n else {\r\n // if the NewNativePromise is not ZoneAwarePromise\r\n // for example: after load zone.js, some library just\r\n // set es6-promise to global, if we set it to global\r\n // directly, assertZonePatched will fail and angular\r\n // will not loaded, so we just set the NewNativePromise\r\n // to global[symbolPromise], so the result is just like\r\n // we load ES6 Promise before zone.js\r\n global[symbolPromise] = NewNativePromise;\r\n if (!NewNativePromise.prototype[symbolThen]) {\r\n patchThen(NewNativePromise);\r\n }\r\n api.setNativePromise(NewNativePromise);\r\n }\r\n };\r\n ObjectDefineProperty(global, 'Promise', desc);\r\n }\r\n global['Promise'] = ZoneAwarePromise;\r\n var symbolThenPatched = __symbol__('thenPatched');\r\n function patchThen(Ctor) {\r\n var proto = Ctor.prototype;\r\n var prop = ObjectGetOwnPropertyDescriptor(proto, 'then');\r\n if (prop && (prop.writable === false || !prop.configurable)) {\r\n // check Ctor.prototype.then propertyDescriptor is writable or not\r\n // in meteor env, writable is false, we should ignore such case\r\n return;\r\n }\r\n var originalThen = proto.then;\r\n // Keep a reference to the original method.\r\n proto[symbolThen] = originalThen;\r\n Ctor.prototype.then = function (onResolve, onReject) {\r\n var _this = this;\r\n var wrapped = new ZoneAwarePromise(function (resolve, reject) { originalThen.call(_this, resolve, reject); });\r\n return wrapped.then(onResolve, onReject);\r\n };\r\n Ctor[symbolThenPatched] = true;\r\n }\r\n api.patchThen = patchThen;\r\n function zoneify(fn) {\r\n return function () {\r\n var resultPromise = fn.apply(this, arguments);\r\n if (resultPromise instanceof ZoneAwarePromise) {\r\n return resultPromise;\r\n }\r\n var ctor = resultPromise.constructor;\r\n if (!ctor[symbolThenPatched]) {\r\n patchThen(ctor);\r\n }\r\n return resultPromise;\r\n };\r\n }\r\n if (NativePromise) {\r\n patchThen(NativePromise);\r\n var fetch_1 = global['fetch'];\r\n if (typeof fetch_1 == 'function') {\r\n global[api.symbol('fetch')] = fetch_1;\r\n global['fetch'] = zoneify(fetch_1);\r\n }\r\n }\r\n // This is not part of public API, but it is useful for tests, so we expose it.\r\n Promise[Zone.__symbol__('uncaughtPromiseErrors')] = _uncaughtPromiseErrors;\r\n return ZoneAwarePromise;\r\n });\r\n /**\r\n * @license\r\n * Copyright Google Inc. All Rights Reserved.\r\n *\r\n * Use of this source code is governed by an MIT-style license that can be\r\n * found in the LICENSE file at https://angular.io/license\r\n */\r\n /**\r\n * Suppress closure compiler errors about unknown 'Zone' variable\r\n * @fileoverview\r\n * @suppress {undefinedVars,globalThis,missingRequire}\r\n */\r\n /// \r\n // issue #989, to reduce bundle size, use short name\r\n /** Object.getOwnPropertyDescriptor */\r\n var ObjectGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\r\n /** Object.defineProperty */\r\n var ObjectDefineProperty = Object.defineProperty;\r\n /** Object.getPrototypeOf */\r\n var ObjectGetPrototypeOf = Object.getPrototypeOf;\r\n /** Object.create */\r\n var ObjectCreate = Object.create;\r\n /** Array.prototype.slice */\r\n var ArraySlice = Array.prototype.slice;\r\n /** addEventListener string const */\r\n var ADD_EVENT_LISTENER_STR = 'addEventListener';\r\n /** removeEventListener string const */\r\n var REMOVE_EVENT_LISTENER_STR = 'removeEventListener';\r\n /** zoneSymbol addEventListener */\r\n var ZONE_SYMBOL_ADD_EVENT_LISTENER = Zone.__symbol__(ADD_EVENT_LISTENER_STR);\r\n /** zoneSymbol removeEventListener */\r\n var ZONE_SYMBOL_REMOVE_EVENT_LISTENER = Zone.__symbol__(REMOVE_EVENT_LISTENER_STR);\r\n /** true string const */\r\n var TRUE_STR = 'true';\r\n /** false string const */\r\n var FALSE_STR = 'false';\r\n /** Zone symbol prefix string const. */\r\n var ZONE_SYMBOL_PREFIX = Zone.__symbol__('');\r\n function wrapWithCurrentZone(callback, source) {\r\n return Zone.current.wrap(callback, source);\r\n }\r\n function scheduleMacroTaskWithCurrentZone(source, callback, data, customSchedule, customCancel) {\r\n return Zone.current.scheduleMacroTask(source, callback, data, customSchedule, customCancel);\r\n }\r\n var zoneSymbol = Zone.__symbol__;\r\n var isWindowExists = typeof window !== 'undefined';\r\n var internalWindow = isWindowExists ? window : undefined;\r\n var _global = isWindowExists && internalWindow || typeof self === 'object' && self || global;\r\n var REMOVE_ATTRIBUTE = 'removeAttribute';\r\n var NULL_ON_PROP_VALUE = [null];\r\n function bindArguments(args, source) {\r\n for (var i = args.length - 1; i >= 0; i--) {\r\n if (typeof args[i] === 'function') {\r\n args[i] = wrapWithCurrentZone(args[i], source + '_' + i);\r\n }\r\n }\r\n return args;\r\n }\r\n function patchPrototype(prototype, fnNames) {\r\n var source = prototype.constructor['name'];\r\n var _loop_3 = function (i) {\r\n var name_1 = fnNames[i];\r\n var delegate = prototype[name_1];\r\n if (delegate) {\r\n var prototypeDesc = ObjectGetOwnPropertyDescriptor(prototype, name_1);\r\n if (!isPropertyWritable(prototypeDesc)) {\r\n return \"continue\";\r\n }\r\n prototype[name_1] = (function (delegate) {\r\n var patched = function () {\r\n return delegate.apply(this, bindArguments(arguments, source + '.' + name_1));\r\n };\r\n attachOriginToPatched(patched, delegate);\r\n return patched;\r\n })(delegate);\r\n }\r\n };\r\n for (var i = 0; i < fnNames.length; i++) {\r\n _loop_3(i);\r\n }\r\n }\r\n function isPropertyWritable(propertyDesc) {\r\n if (!propertyDesc) {\r\n return true;\r\n }\r\n if (propertyDesc.writable === false) {\r\n return false;\r\n }\r\n return !(typeof propertyDesc.get === 'function' && typeof propertyDesc.set === 'undefined');\r\n }\r\n var isWebWorker = (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope);\r\n // Make sure to access `process` through `_global` so that WebPack does not accidentally browserify\r\n // this code.\r\n var isNode = (!('nw' in _global) && typeof _global.process !== 'undefined' &&\r\n {}.toString.call(_global.process) === '[object process]');\r\n var isBrowser = !isNode && !isWebWorker && !!(isWindowExists && internalWindow['HTMLElement']);\r\n // we are in electron of nw, so we are both browser and nodejs\r\n // Make sure to access `process` through `_global` so that WebPack does not accidentally browserify\r\n // this code.\r\n var isMix = typeof _global.process !== 'undefined' &&\r\n {}.toString.call(_global.process) === '[object process]' && !isWebWorker &&\r\n !!(isWindowExists && internalWindow['HTMLElement']);\r\n var zoneSymbolEventNames = {};\r\n var wrapFn = function (event) {\r\n // https://github.com/angular/zone.js/issues/911, in IE, sometimes\r\n // event will be undefined, so we need to use window.event\r\n event = event || _global.event;\r\n if (!event) {\r\n return;\r\n }\r\n var eventNameSymbol = zoneSymbolEventNames[event.type];\r\n if (!eventNameSymbol) {\r\n eventNameSymbol = zoneSymbolEventNames[event.type] = zoneSymbol('ON_PROPERTY' + event.type);\r\n }\r\n var target = this || event.target || _global;\r\n var listener = target[eventNameSymbol];\r\n var result;\r\n if (isBrowser && target === internalWindow && event.type === 'error') {\r\n // window.onerror have different signiture\r\n // https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror#window.onerror\r\n // and onerror callback will prevent default when callback return true\r\n var errorEvent = event;\r\n result = listener &&\r\n listener.call(this, errorEvent.message, errorEvent.filename, errorEvent.lineno, errorEvent.colno, errorEvent.error);\r\n if (result === true) {\r\n event.preventDefault();\r\n }\r\n }\r\n else {\r\n result = listener && listener.apply(this, arguments);\r\n if (result != undefined && !result) {\r\n event.preventDefault();\r\n }\r\n }\r\n return result;\r\n };\r\n function patchProperty(obj, prop, prototype) {\r\n var desc = ObjectGetOwnPropertyDescriptor(obj, prop);\r\n if (!desc && prototype) {\r\n // when patch window object, use prototype to check prop exist or not\r\n var prototypeDesc = ObjectGetOwnPropertyDescriptor(prototype, prop);\r\n if (prototypeDesc) {\r\n desc = { enumerable: true, configurable: true };\r\n }\r\n }\r\n // if the descriptor not exists or is not configurable\r\n // just return\r\n if (!desc || !desc.configurable) {\r\n return;\r\n }\r\n var onPropPatchedSymbol = zoneSymbol('on' + prop + 'patched');\r\n if (obj.hasOwnProperty(onPropPatchedSymbol) && obj[onPropPatchedSymbol]) {\r\n return;\r\n }\r\n // A property descriptor cannot have getter/setter and be writable\r\n // deleting the writable and value properties avoids this error:\r\n //\r\n // TypeError: property descriptors must not specify a value or be writable when a\r\n // getter or setter has been specified\r\n delete desc.writable;\r\n delete desc.value;\r\n var originalDescGet = desc.get;\r\n var originalDescSet = desc.set;\r\n // substr(2) cuz 'onclick' -> 'click', etc\r\n var eventName = prop.substr(2);\r\n var eventNameSymbol = zoneSymbolEventNames[eventName];\r\n if (!eventNameSymbol) {\r\n eventNameSymbol = zoneSymbolEventNames[eventName] = zoneSymbol('ON_PROPERTY' + eventName);\r\n }\r\n desc.set = function (newValue) {\r\n // in some of windows's onproperty callback, this is undefined\r\n // so we need to check it\r\n var target = this;\r\n if (!target && obj === _global) {\r\n target = _global;\r\n }\r\n if (!target) {\r\n return;\r\n }\r\n var previousValue = target[eventNameSymbol];\r\n if (previousValue) {\r\n target.removeEventListener(eventName, wrapFn);\r\n }\r\n // issue #978, when onload handler was added before loading zone.js\r\n // we should remove it with originalDescSet\r\n if (originalDescSet) {\r\n originalDescSet.apply(target, NULL_ON_PROP_VALUE);\r\n }\r\n if (typeof newValue === 'function') {\r\n target[eventNameSymbol] = newValue;\r\n target.addEventListener(eventName, wrapFn, false);\r\n }\r\n else {\r\n target[eventNameSymbol] = null;\r\n }\r\n };\r\n // The getter would return undefined for unassigned properties but the default value of an\r\n // unassigned property is null\r\n desc.get = function () {\r\n // in some of windows's onproperty callback, this is undefined\r\n // so we need to check it\r\n var target = this;\r\n if (!target && obj === _global) {\r\n target = _global;\r\n }\r\n if (!target) {\r\n return null;\r\n }\r\n var listener = target[eventNameSymbol];\r\n if (listener) {\r\n return listener;\r\n }\r\n else if (originalDescGet) {\r\n // result will be null when use inline event attribute,\r\n // such as \r\n // because the onclick function is internal raw uncompiled handler\r\n // the onclick will be evaluated when first time event was triggered or\r\n // the property is accessed, https://github.com/angular/zone.js/issues/525\r\n // so we should use original native get to retrieve the handler\r\n var value = originalDescGet && originalDescGet.call(this);\r\n if (value) {\r\n desc.set.call(this, value);\r\n if (typeof target[REMOVE_ATTRIBUTE] === 'function') {\r\n target.removeAttribute(prop);\r\n }\r\n return value;\r\n }\r\n }\r\n return null;\r\n };\r\n ObjectDefineProperty(obj, prop, desc);\r\n obj[onPropPatchedSymbol] = true;\r\n }\r\n function patchOnProperties(obj, properties, prototype) {\r\n if (properties) {\r\n for (var i = 0; i < properties.length; i++) {\r\n patchProperty(obj, 'on' + properties[i], prototype);\r\n }\r\n }\r\n else {\r\n var onProperties = [];\r\n for (var prop in obj) {\r\n if (prop.substr(0, 2) == 'on') {\r\n onProperties.push(prop);\r\n }\r\n }\r\n for (var j = 0; j < onProperties.length; j++) {\r\n patchProperty(obj, onProperties[j], prototype);\r\n }\r\n }\r\n }\r\n var originalInstanceKey = zoneSymbol('originalInstance');\r\n // wrap some native API on `window`\r\n function patchClass(className) {\r\n var OriginalClass = _global[className];\r\n if (!OriginalClass)\r\n return;\r\n // keep original class in global\r\n _global[zoneSymbol(className)] = OriginalClass;\r\n _global[className] = function () {\r\n var a = bindArguments(arguments, className);\r\n switch (a.length) {\r\n case 0:\r\n this[originalInstanceKey] = new OriginalClass();\r\n break;\r\n case 1:\r\n this[originalInstanceKey] = new OriginalClass(a[0]);\r\n break;\r\n case 2:\r\n this[originalInstanceKey] = new OriginalClass(a[0], a[1]);\r\n break;\r\n case 3:\r\n this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2]);\r\n break;\r\n case 4:\r\n this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2], a[3]);\r\n break;\r\n default:\r\n throw new Error('Arg list too long.');\r\n }\r\n };\r\n // attach original delegate to patched function\r\n attachOriginToPatched(_global[className], OriginalClass);\r\n var instance = new OriginalClass(function () { });\r\n var prop;\r\n for (prop in instance) {\r\n // https://bugs.webkit.org/show_bug.cgi?id=44721\r\n if (className === 'XMLHttpRequest' && prop === 'responseBlob')\r\n continue;\r\n (function (prop) {\r\n if (typeof instance[prop] === 'function') {\r\n _global[className].prototype[prop] = function () {\r\n return this[originalInstanceKey][prop].apply(this[originalInstanceKey], arguments);\r\n };\r\n }\r\n else {\r\n ObjectDefineProperty(_global[className].prototype, prop, {\r\n set: function (fn) {\r\n if (typeof fn === 'function') {\r\n this[originalInstanceKey][prop] = wrapWithCurrentZone(fn, className + '.' + prop);\r\n // keep callback in wrapped function so we can\r\n // use it in Function.prototype.toString to return\r\n // the native one.\r\n attachOriginToPatched(this[originalInstanceKey][prop], fn);\r\n }\r\n else {\r\n this[originalInstanceKey][prop] = fn;\r\n }\r\n },\r\n get: function () { return this[originalInstanceKey][prop]; }\r\n });\r\n }\r\n }(prop));\r\n }\r\n for (prop in OriginalClass) {\r\n if (prop !== 'prototype' && OriginalClass.hasOwnProperty(prop)) {\r\n _global[className][prop] = OriginalClass[prop];\r\n }\r\n }\r\n }\r\n function copySymbolProperties(src, dest) {\r\n if (typeof Object.getOwnPropertySymbols !== 'function') {\r\n return;\r\n }\r\n var symbols = Object.getOwnPropertySymbols(src);\r\n symbols.forEach(function (symbol) {\r\n var desc = Object.getOwnPropertyDescriptor(src, symbol);\r\n Object.defineProperty(dest, symbol, {\r\n get: function () { return src[symbol]; },\r\n set: function (value) {\r\n if (desc && (!desc.writable || typeof desc.set !== 'function')) {\r\n // if src[symbol] is not writable or not have a setter, just return\r\n return;\r\n }\r\n src[symbol] = value;\r\n },\r\n enumerable: desc ? desc.enumerable : true,\r\n configurable: desc ? desc.configurable : true\r\n });\r\n });\r\n }\r\n var shouldCopySymbolProperties = false;\r\n function patchMethod(target, name, patchFn) {\r\n var proto = target;\r\n while (proto && !proto.hasOwnProperty(name)) {\r\n proto = ObjectGetPrototypeOf(proto);\r\n }\r\n if (!proto && target[name]) {\r\n // somehow we did not find it, but we can see it. This happens on IE for Window properties.\r\n proto = target;\r\n }\r\n var delegateName = zoneSymbol(name);\r\n var delegate = null;\r\n if (proto && !(delegate = proto[delegateName])) {\r\n delegate = proto[delegateName] = proto[name];\r\n // check whether proto[name] is writable\r\n // some property is readonly in safari, such as HtmlCanvasElement.prototype.toBlob\r\n var desc = proto && ObjectGetOwnPropertyDescriptor(proto, name);\r\n if (isPropertyWritable(desc)) {\r\n var patchDelegate_1 = patchFn(delegate, delegateName, name);\r\n proto[name] = function () { return patchDelegate_1(this, arguments); };\r\n attachOriginToPatched(proto[name], delegate);\r\n if (shouldCopySymbolProperties) {\r\n copySymbolProperties(delegate, proto[name]);\r\n }\r\n }\r\n }\r\n return delegate;\r\n }\r\n // TODO: @JiaLiPassion, support cancel task later if necessary\r\n function patchMacroTask(obj, funcName, metaCreator) {\r\n var setNative = null;\r\n function scheduleTask(task) {\r\n var data = task.data;\r\n data.args[data.cbIdx] = function () { task.invoke.apply(this, arguments); };\r\n setNative.apply(data.target, data.args);\r\n return task;\r\n }\r\n setNative = patchMethod(obj, funcName, function (delegate) { return function (self, args) {\r\n var meta = metaCreator(self, args);\r\n if (meta.cbIdx >= 0 && typeof args[meta.cbIdx] === 'function') {\r\n return scheduleMacroTaskWithCurrentZone(meta.name, args[meta.cbIdx], meta, scheduleTask);\r\n }\r\n else {\r\n // cause an error by calling it directly.\r\n return delegate.apply(self, args);\r\n }\r\n }; });\r\n }\r\n function attachOriginToPatched(patched, original) {\r\n patched[zoneSymbol('OriginalDelegate')] = original;\r\n }\r\n var isDetectedIEOrEdge = false;\r\n var ieOrEdge = false;\r\n function isIE() {\r\n try {\r\n var ua = internalWindow.navigator.userAgent;\r\n if (ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1) {\r\n return true;\r\n }\r\n }\r\n catch (error) {\r\n }\r\n return false;\r\n }\r\n function isIEOrEdge() {\r\n if (isDetectedIEOrEdge) {\r\n return ieOrEdge;\r\n }\r\n isDetectedIEOrEdge = true;\r\n try {\r\n var ua = internalWindow.navigator.userAgent;\r\n if (ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1 || ua.indexOf('Edge/') !== -1) {\r\n ieOrEdge = true;\r\n }\r\n }\r\n catch (error) {\r\n }\r\n return ieOrEdge;\r\n }\r\n /**\r\n * @license\r\n * Copyright Google Inc. All Rights Reserved.\r\n *\r\n * Use of this source code is governed by an MIT-style license that can be\r\n * found in the LICENSE file at https://angular.io/license\r\n */\r\n // override Function.prototype.toString to make zone.js patched function\r\n // look like native function\r\n Zone.__load_patch('toString', function (global) {\r\n // patch Func.prototype.toString to let them look like native\r\n var originalFunctionToString = Function.prototype.toString;\r\n var ORIGINAL_DELEGATE_SYMBOL = zoneSymbol('OriginalDelegate');\r\n var PROMISE_SYMBOL = zoneSymbol('Promise');\r\n var ERROR_SYMBOL = zoneSymbol('Error');\r\n var newFunctionToString = function toString() {\r\n if (typeof this === 'function') {\r\n var originalDelegate = this[ORIGINAL_DELEGATE_SYMBOL];\r\n if (originalDelegate) {\r\n if (typeof originalDelegate === 'function') {\r\n return originalFunctionToString.call(originalDelegate);\r\n }\r\n else {\r\n return Object.prototype.toString.call(originalDelegate);\r\n }\r\n }\r\n if (this === Promise) {\r\n var nativePromise = global[PROMISE_SYMBOL];\r\n if (nativePromise) {\r\n return originalFunctionToString.call(nativePromise);\r\n }\r\n }\r\n if (this === Error) {\r\n var nativeError = global[ERROR_SYMBOL];\r\n if (nativeError) {\r\n return originalFunctionToString.call(nativeError);\r\n }\r\n }\r\n }\r\n return originalFunctionToString.call(this);\r\n };\r\n newFunctionToString[ORIGINAL_DELEGATE_SYMBOL] = originalFunctionToString;\r\n Function.prototype.toString = newFunctionToString;\r\n // patch Object.prototype.toString to let them look like native\r\n var originalObjectToString = Object.prototype.toString;\r\n var PROMISE_OBJECT_TO_STRING = '[object Promise]';\r\n Object.prototype.toString = function () {\r\n if (this instanceof Promise) {\r\n return PROMISE_OBJECT_TO_STRING;\r\n }\r\n return originalObjectToString.call(this);\r\n };\r\n });\r\n /**\r\n * @license\r\n * Copyright Google Inc. All Rights Reserved.\r\n *\r\n * Use of this source code is governed by an MIT-style license that can be\r\n * found in the LICENSE file at https://angular.io/license\r\n */\r\n var passiveSupported = false;\r\n if (typeof window !== 'undefined') {\r\n try {\r\n var options = Object.defineProperty({}, 'passive', { get: function () { passiveSupported = true; } });\r\n window.addEventListener('test', options, options);\r\n window.removeEventListener('test', options, options);\r\n }\r\n catch (err) {\r\n passiveSupported = false;\r\n }\r\n }\r\n // an identifier to tell ZoneTask do not create a new invoke closure\r\n var OPTIMIZED_ZONE_EVENT_TASK_DATA = {\r\n useG: true\r\n };\r\n var zoneSymbolEventNames$1 = {};\r\n var globalSources = {};\r\n var EVENT_NAME_SYMBOL_REGX = new RegExp('^' + ZONE_SYMBOL_PREFIX + '(\\\\w+)(true|false)$');\r\n var IMMEDIATE_PROPAGATION_SYMBOL = zoneSymbol('propagationStopped');\r\n function patchEventTarget(_global, apis, patchOptions) {\r\n var ADD_EVENT_LISTENER = (patchOptions && patchOptions.add) || ADD_EVENT_LISTENER_STR;\r\n var REMOVE_EVENT_LISTENER = (patchOptions && patchOptions.rm) || REMOVE_EVENT_LISTENER_STR;\r\n var LISTENERS_EVENT_LISTENER = (patchOptions && patchOptions.listeners) || 'eventListeners';\r\n var REMOVE_ALL_LISTENERS_EVENT_LISTENER = (patchOptions && patchOptions.rmAll) || 'removeAllListeners';\r\n var zoneSymbolAddEventListener = zoneSymbol(ADD_EVENT_LISTENER);\r\n var ADD_EVENT_LISTENER_SOURCE = '.' + ADD_EVENT_LISTENER + ':';\r\n var PREPEND_EVENT_LISTENER = 'prependListener';\r\n var PREPEND_EVENT_LISTENER_SOURCE = '.' + PREPEND_EVENT_LISTENER + ':';\r\n var invokeTask = function (task, target, event) {\r\n // for better performance, check isRemoved which is set\r\n // by removeEventListener\r\n if (task.isRemoved) {\r\n return;\r\n }\r\n var delegate = task.callback;\r\n if (typeof delegate === 'object' && delegate.handleEvent) {\r\n // create the bind version of handleEvent when invoke\r\n task.callback = function (event) { return delegate.handleEvent(event); };\r\n task.originalDelegate = delegate;\r\n }\r\n // invoke static task.invoke\r\n task.invoke(task, target, [event]);\r\n var options = task.options;\r\n if (options && typeof options === 'object' && options.once) {\r\n // if options.once is true, after invoke once remove listener here\r\n // only browser need to do this, nodejs eventEmitter will cal removeListener\r\n // inside EventEmitter.once\r\n var delegate_1 = task.originalDelegate ? task.originalDelegate : task.callback;\r\n target[REMOVE_EVENT_LISTENER].call(target, event.type, delegate_1, options);\r\n }\r\n };\r\n // global shared zoneAwareCallback to handle all event callback with capture = false\r\n var globalZoneAwareCallback = function (event) {\r\n // https://github.com/angular/zone.js/issues/911, in IE, sometimes\r\n // event will be undefined, so we need to use window.event\r\n event = event || _global.event;\r\n if (!event) {\r\n return;\r\n }\r\n // event.target is needed for Samsung TV and SourceBuffer\r\n // || global is needed https://github.com/angular/zone.js/issues/190\r\n var target = this || event.target || _global;\r\n var tasks = target[zoneSymbolEventNames$1[event.type][FALSE_STR]];\r\n if (tasks) {\r\n // invoke all tasks which attached to current target with given event.type and capture = false\r\n // for performance concern, if task.length === 1, just invoke\r\n if (tasks.length === 1) {\r\n invokeTask(tasks[0], target, event);\r\n }\r\n else {\r\n // https://github.com/angular/zone.js/issues/836\r\n // copy the tasks array before invoke, to avoid\r\n // the callback will remove itself or other listener\r\n var copyTasks = tasks.slice();\r\n for (var i = 0; i < copyTasks.length; i++) {\r\n if (event && event[IMMEDIATE_PROPAGATION_SYMBOL] === true) {\r\n break;\r\n }\r\n invokeTask(copyTasks[i], target, event);\r\n }\r\n }\r\n }\r\n };\r\n // global shared zoneAwareCallback to handle all event callback with capture = true\r\n var globalZoneAwareCaptureCallback = function (event) {\r\n // https://github.com/angular/zone.js/issues/911, in IE, sometimes\r\n // event will be undefined, so we need to use window.event\r\n event = event || _global.event;\r\n if (!event) {\r\n return;\r\n }\r\n // event.target is needed for Samsung TV and SourceBuffer\r\n // || global is needed https://github.com/angular/zone.js/issues/190\r\n var target = this || event.target || _global;\r\n var tasks = target[zoneSymbolEventNames$1[event.type][TRUE_STR]];\r\n if (tasks) {\r\n // invoke all tasks which attached to current target with given event.type and capture = false\r\n // for performance concern, if task.length === 1, just invoke\r\n if (tasks.length === 1) {\r\n invokeTask(tasks[0], target, event);\r\n }\r\n else {\r\n // https://github.com/angular/zone.js/issues/836\r\n // copy the tasks array before invoke, to avoid\r\n // the callback will remove itself or other listener\r\n var copyTasks = tasks.slice();\r\n for (var i = 0; i < copyTasks.length; i++) {\r\n if (event && event[IMMEDIATE_PROPAGATION_SYMBOL] === true) {\r\n break;\r\n }\r\n invokeTask(copyTasks[i], target, event);\r\n }\r\n }\r\n }\r\n };\r\n function patchEventTargetMethods(obj, patchOptions) {\r\n if (!obj) {\r\n return false;\r\n }\r\n var useGlobalCallback = true;\r\n if (patchOptions && patchOptions.useG !== undefined) {\r\n useGlobalCallback = patchOptions.useG;\r\n }\r\n var validateHandler = patchOptions && patchOptions.vh;\r\n var checkDuplicate = true;\r\n if (patchOptions && patchOptions.chkDup !== undefined) {\r\n checkDuplicate = patchOptions.chkDup;\r\n }\r\n var returnTarget = false;\r\n if (patchOptions && patchOptions.rt !== undefined) {\r\n returnTarget = patchOptions.rt;\r\n }\r\n var proto = obj;\r\n while (proto && !proto.hasOwnProperty(ADD_EVENT_LISTENER)) {\r\n proto = ObjectGetPrototypeOf(proto);\r\n }\r\n if (!proto && obj[ADD_EVENT_LISTENER]) {\r\n // somehow we did not find it, but we can see it. This happens on IE for Window properties.\r\n proto = obj;\r\n }\r\n if (!proto) {\r\n return false;\r\n }\r\n if (proto[zoneSymbolAddEventListener]) {\r\n return false;\r\n }\r\n var eventNameToString = patchOptions && patchOptions.eventNameToString;\r\n // a shared global taskData to pass data for scheduleEventTask\r\n // so we do not need to create a new object just for pass some data\r\n var taskData = {};\r\n var nativeAddEventListener = proto[zoneSymbolAddEventListener] = proto[ADD_EVENT_LISTENER];\r\n var nativeRemoveEventListener = proto[zoneSymbol(REMOVE_EVENT_LISTENER)] =\r\n proto[REMOVE_EVENT_LISTENER];\r\n var nativeListeners = proto[zoneSymbol(LISTENERS_EVENT_LISTENER)] =\r\n proto[LISTENERS_EVENT_LISTENER];\r\n var nativeRemoveAllListeners = proto[zoneSymbol(REMOVE_ALL_LISTENERS_EVENT_LISTENER)] =\r\n proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER];\r\n var nativePrependEventListener;\r\n if (patchOptions && patchOptions.prepend) {\r\n nativePrependEventListener = proto[zoneSymbol(patchOptions.prepend)] =\r\n proto[patchOptions.prepend];\r\n }\r\n function checkIsPassive(task) {\r\n if (!passiveSupported && typeof taskData.options !== 'boolean' &&\r\n typeof taskData.options !== 'undefined' && taskData.options !== null) {\r\n // options is a non-null non-undefined object\r\n // passive is not supported\r\n // don't pass options as object\r\n // just pass capture as a boolean\r\n task.options = !!taskData.options.capture;\r\n taskData.options = task.options;\r\n }\r\n }\r\n var customScheduleGlobal = function (task) {\r\n // if there is already a task for the eventName + capture,\r\n // just return, because we use the shared globalZoneAwareCallback here.\r\n if (taskData.isExisting) {\r\n return;\r\n }\r\n checkIsPassive(task);\r\n return nativeAddEventListener.call(taskData.target, taskData.eventName, taskData.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, taskData.options);\r\n };\r\n var customCancelGlobal = function (task) {\r\n // if task is not marked as isRemoved, this call is directly\r\n // from Zone.prototype.cancelTask, we should remove the task\r\n // from tasksList of target first\r\n if (!task.isRemoved) {\r\n var symbolEventNames = zoneSymbolEventNames$1[task.eventName];\r\n var symbolEventName = void 0;\r\n if (symbolEventNames) {\r\n symbolEventName = symbolEventNames[task.capture ? TRUE_STR : FALSE_STR];\r\n }\r\n var existingTasks = symbolEventName && task.target[symbolEventName];\r\n if (existingTasks) {\r\n for (var i = 0; i < existingTasks.length; i++) {\r\n var existingTask = existingTasks[i];\r\n if (existingTask === task) {\r\n existingTasks.splice(i, 1);\r\n // set isRemoved to data for faster invokeTask check\r\n task.isRemoved = true;\r\n if (existingTasks.length === 0) {\r\n // all tasks for the eventName + capture have gone,\r\n // remove globalZoneAwareCallback and remove the task cache from target\r\n task.allRemoved = true;\r\n task.target[symbolEventName] = null;\r\n }\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n // if all tasks for the eventName + capture have gone,\r\n // we will really remove the global event callback,\r\n // if not, return\r\n if (!task.allRemoved) {\r\n return;\r\n }\r\n return nativeRemoveEventListener.call(task.target, task.eventName, task.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, task.options);\r\n };\r\n var customScheduleNonGlobal = function (task) {\r\n checkIsPassive(task);\r\n return nativeAddEventListener.call(taskData.target, taskData.eventName, task.invoke, taskData.options);\r\n };\r\n var customSchedulePrepend = function (task) {\r\n return nativePrependEventListener.call(taskData.target, taskData.eventName, task.invoke, taskData.options);\r\n };\r\n var customCancelNonGlobal = function (task) {\r\n return nativeRemoveEventListener.call(task.target, task.eventName, task.invoke, task.options);\r\n };\r\n var customSchedule = useGlobalCallback ? customScheduleGlobal : customScheduleNonGlobal;\r\n var customCancel = useGlobalCallback ? customCancelGlobal : customCancelNonGlobal;\r\n var compareTaskCallbackVsDelegate = function (task, delegate) {\r\n var typeOfDelegate = typeof delegate;\r\n return (typeOfDelegate === 'function' && task.callback === delegate) ||\r\n (typeOfDelegate === 'object' && task.originalDelegate === delegate);\r\n };\r\n var compare = (patchOptions && patchOptions.diff) ? patchOptions.diff : compareTaskCallbackVsDelegate;\r\n var blackListedEvents = Zone[zoneSymbol('BLACK_LISTED_EVENTS')];\r\n var makeAddListener = function (nativeListener, addSource, customScheduleFn, customCancelFn, returnTarget, prepend) {\r\n if (returnTarget === void 0) { returnTarget = false; }\r\n if (prepend === void 0) { prepend = false; }\r\n return function () {\r\n var target = this || _global;\r\n var eventName = arguments[0];\r\n if (patchOptions && patchOptions.transferEventName) {\r\n eventName = patchOptions.transferEventName(eventName);\r\n }\r\n var delegate = arguments[1];\r\n if (!delegate) {\r\n return nativeListener.apply(this, arguments);\r\n }\r\n if (isNode && eventName === 'uncaughtException') {\r\n // don't patch uncaughtException of nodejs to prevent endless loop\r\n return nativeListener.apply(this, arguments);\r\n }\r\n // don't create the bind delegate function for handleEvent\r\n // case here to improve addEventListener performance\r\n // we will create the bind delegate when invoke\r\n var isHandleEvent = false;\r\n if (typeof delegate !== 'function') {\r\n if (!delegate.handleEvent) {\r\n return nativeListener.apply(this, arguments);\r\n }\r\n isHandleEvent = true;\r\n }\r\n if (validateHandler && !validateHandler(nativeListener, delegate, target, arguments)) {\r\n return;\r\n }\r\n var options = arguments[2];\r\n if (blackListedEvents) {\r\n // check black list\r\n for (var i = 0; i < blackListedEvents.length; i++) {\r\n if (eventName === blackListedEvents[i]) {\r\n return nativeListener.apply(this, arguments);\r\n }\r\n }\r\n }\r\n var capture;\r\n var once = false;\r\n if (options === undefined) {\r\n capture = false;\r\n }\r\n else if (options === true) {\r\n capture = true;\r\n }\r\n else if (options === false) {\r\n capture = false;\r\n }\r\n else {\r\n capture = options ? !!options.capture : false;\r\n once = options ? !!options.once : false;\r\n }\r\n var zone = Zone.current;\r\n var symbolEventNames = zoneSymbolEventNames$1[eventName];\r\n var symbolEventName;\r\n if (!symbolEventNames) {\r\n // the code is duplicate, but I just want to get some better performance\r\n var falseEventName = (eventNameToString ? eventNameToString(eventName) : eventName) + FALSE_STR;\r\n var trueEventName = (eventNameToString ? eventNameToString(eventName) : eventName) + TRUE_STR;\r\n var symbol = ZONE_SYMBOL_PREFIX + falseEventName;\r\n var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName;\r\n zoneSymbolEventNames$1[eventName] = {};\r\n zoneSymbolEventNames$1[eventName][FALSE_STR] = symbol;\r\n zoneSymbolEventNames$1[eventName][TRUE_STR] = symbolCapture;\r\n symbolEventName = capture ? symbolCapture : symbol;\r\n }\r\n else {\r\n symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR];\r\n }\r\n var existingTasks = target[symbolEventName];\r\n var isExisting = false;\r\n if (existingTasks) {\r\n // already have task registered\r\n isExisting = true;\r\n if (checkDuplicate) {\r\n for (var i = 0; i < existingTasks.length; i++) {\r\n if (compare(existingTasks[i], delegate)) {\r\n // same callback, same capture, same event name, just return\r\n return;\r\n }\r\n }\r\n }\r\n }\r\n else {\r\n existingTasks = target[symbolEventName] = [];\r\n }\r\n var source;\r\n var constructorName = target.constructor['name'];\r\n var targetSource = globalSources[constructorName];\r\n if (targetSource) {\r\n source = targetSource[eventName];\r\n }\r\n if (!source) {\r\n source = constructorName + addSource +\r\n (eventNameToString ? eventNameToString(eventName) : eventName);\r\n }\r\n // do not create a new object as task.data to pass those things\r\n // just use the global shared one\r\n taskData.options = options;\r\n if (once) {\r\n // if addEventListener with once options, we don't pass it to\r\n // native addEventListener, instead we keep the once setting\r\n // and handle ourselves.\r\n taskData.options.once = false;\r\n }\r\n taskData.target = target;\r\n taskData.capture = capture;\r\n taskData.eventName = eventName;\r\n taskData.isExisting = isExisting;\r\n var data = useGlobalCallback ? OPTIMIZED_ZONE_EVENT_TASK_DATA : undefined;\r\n // keep taskData into data to allow onScheduleEventTask to access the task information\r\n if (data) {\r\n data.taskData = taskData;\r\n }\r\n var task = zone.scheduleEventTask(source, delegate, data, customScheduleFn, customCancelFn);\r\n // should clear taskData.target to avoid memory leak\r\n // issue, https://github.com/angular/angular/issues/20442\r\n taskData.target = null;\r\n // need to clear up taskData because it is a global object\r\n if (data) {\r\n data.taskData = null;\r\n }\r\n // have to save those information to task in case\r\n // application may call task.zone.cancelTask() directly\r\n if (once) {\r\n options.once = true;\r\n }\r\n if (!(!passiveSupported && typeof task.options === 'boolean')) {\r\n // if not support passive, and we pass an option object\r\n // to addEventListener, we should save the options to task\r\n task.options = options;\r\n }\r\n task.target = target;\r\n task.capture = capture;\r\n task.eventName = eventName;\r\n if (isHandleEvent) {\r\n // save original delegate for compare to check duplicate\r\n task.originalDelegate = delegate;\r\n }\r\n if (!prepend) {\r\n existingTasks.push(task);\r\n }\r\n else {\r\n existingTasks.unshift(task);\r\n }\r\n if (returnTarget) {\r\n return target;\r\n }\r\n };\r\n };\r\n proto[ADD_EVENT_LISTENER] = makeAddListener(nativeAddEventListener, ADD_EVENT_LISTENER_SOURCE, customSchedule, customCancel, returnTarget);\r\n if (nativePrependEventListener) {\r\n proto[PREPEND_EVENT_LISTENER] = makeAddListener(nativePrependEventListener, PREPEND_EVENT_LISTENER_SOURCE, customSchedulePrepend, customCancel, returnTarget, true);\r\n }\r\n proto[REMOVE_EVENT_LISTENER] = function () {\r\n var target = this || _global;\r\n var eventName = arguments[0];\r\n if (patchOptions && patchOptions.transferEventName) {\r\n eventName = patchOptions.transferEventName(eventName);\r\n }\r\n var options = arguments[2];\r\n var capture;\r\n if (options === undefined) {\r\n capture = false;\r\n }\r\n else if (options === true) {\r\n capture = true;\r\n }\r\n else if (options === false) {\r\n capture = false;\r\n }\r\n else {\r\n capture = options ? !!options.capture : false;\r\n }\r\n var delegate = arguments[1];\r\n if (!delegate) {\r\n return nativeRemoveEventListener.apply(this, arguments);\r\n }\r\n if (validateHandler &&\r\n !validateHandler(nativeRemoveEventListener, delegate, target, arguments)) {\r\n return;\r\n }\r\n var symbolEventNames = zoneSymbolEventNames$1[eventName];\r\n var symbolEventName;\r\n if (symbolEventNames) {\r\n symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR];\r\n }\r\n var existingTasks = symbolEventName && target[symbolEventName];\r\n if (existingTasks) {\r\n for (var i = 0; i < existingTasks.length; i++) {\r\n var existingTask = existingTasks[i];\r\n if (compare(existingTask, delegate)) {\r\n existingTasks.splice(i, 1);\r\n // set isRemoved to data for faster invokeTask check\r\n existingTask.isRemoved = true;\r\n if (existingTasks.length === 0) {\r\n // all tasks for the eventName + capture have gone,\r\n // remove globalZoneAwareCallback and remove the task cache from target\r\n existingTask.allRemoved = true;\r\n target[symbolEventName] = null;\r\n // in the target, we have an event listener which is added by on_property\r\n // such as target.onclick = function() {}, so we need to clear this internal\r\n // property too if all delegates all removed\r\n if (typeof eventName === 'string') {\r\n var onPropertySymbol = ZONE_SYMBOL_PREFIX + 'ON_PROPERTY' + eventName;\r\n target[onPropertySymbol] = null;\r\n }\r\n }\r\n existingTask.zone.cancelTask(existingTask);\r\n if (returnTarget) {\r\n return target;\r\n }\r\n return;\r\n }\r\n }\r\n }\r\n // issue 930, didn't find the event name or callback\r\n // from zone kept existingTasks, the callback maybe\r\n // added outside of zone, we need to call native removeEventListener\r\n // to try to remove it.\r\n return nativeRemoveEventListener.apply(this, arguments);\r\n };\r\n proto[LISTENERS_EVENT_LISTENER] = function () {\r\n var target = this || _global;\r\n var eventName = arguments[0];\r\n if (patchOptions && patchOptions.transferEventName) {\r\n eventName = patchOptions.transferEventName(eventName);\r\n }\r\n var listeners = [];\r\n var tasks = findEventTasks(target, eventNameToString ? eventNameToString(eventName) : eventName);\r\n for (var i = 0; i < tasks.length; i++) {\r\n var task = tasks[i];\r\n var delegate = task.originalDelegate ? task.originalDelegate : task.callback;\r\n listeners.push(delegate);\r\n }\r\n return listeners;\r\n };\r\n proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER] = function () {\r\n var target = this || _global;\r\n var eventName = arguments[0];\r\n if (!eventName) {\r\n var keys = Object.keys(target);\r\n for (var i = 0; i < keys.length; i++) {\r\n var prop = keys[i];\r\n var match = EVENT_NAME_SYMBOL_REGX.exec(prop);\r\n var evtName = match && match[1];\r\n // in nodejs EventEmitter, removeListener event is\r\n // used for monitoring the removeListener call,\r\n // so just keep removeListener eventListener until\r\n // all other eventListeners are removed\r\n if (evtName && evtName !== 'removeListener') {\r\n this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].call(this, evtName);\r\n }\r\n }\r\n // remove removeListener listener finally\r\n this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].call(this, 'removeListener');\r\n }\r\n else {\r\n if (patchOptions && patchOptions.transferEventName) {\r\n eventName = patchOptions.transferEventName(eventName);\r\n }\r\n var symbolEventNames = zoneSymbolEventNames$1[eventName];\r\n if (symbolEventNames) {\r\n var symbolEventName = symbolEventNames[FALSE_STR];\r\n var symbolCaptureEventName = symbolEventNames[TRUE_STR];\r\n var tasks = target[symbolEventName];\r\n var captureTasks = target[symbolCaptureEventName];\r\n if (tasks) {\r\n var removeTasks = tasks.slice();\r\n for (var i = 0; i < removeTasks.length; i++) {\r\n var task = removeTasks[i];\r\n var delegate = task.originalDelegate ? task.originalDelegate : task.callback;\r\n this[REMOVE_EVENT_LISTENER].call(this, eventName, delegate, task.options);\r\n }\r\n }\r\n if (captureTasks) {\r\n var removeTasks = captureTasks.slice();\r\n for (var i = 0; i < removeTasks.length; i++) {\r\n var task = removeTasks[i];\r\n var delegate = task.originalDelegate ? task.originalDelegate : task.callback;\r\n this[REMOVE_EVENT_LISTENER].call(this, eventName, delegate, task.options);\r\n }\r\n }\r\n }\r\n }\r\n if (returnTarget) {\r\n return this;\r\n }\r\n };\r\n // for native toString patch\r\n attachOriginToPatched(proto[ADD_EVENT_LISTENER], nativeAddEventListener);\r\n attachOriginToPatched(proto[REMOVE_EVENT_LISTENER], nativeRemoveEventListener);\r\n if (nativeRemoveAllListeners) {\r\n attachOriginToPatched(proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER], nativeRemoveAllListeners);\r\n }\r\n if (nativeListeners) {\r\n attachOriginToPatched(proto[LISTENERS_EVENT_LISTENER], nativeListeners);\r\n }\r\n return true;\r\n }\r\n var results = [];\r\n for (var i = 0; i < apis.length; i++) {\r\n results[i] = patchEventTargetMethods(apis[i], patchOptions);\r\n }\r\n return results;\r\n }\r\n function findEventTasks(target, eventName) {\r\n var foundTasks = [];\r\n for (var prop in target) {\r\n var match = EVENT_NAME_SYMBOL_REGX.exec(prop);\r\n var evtName = match && match[1];\r\n if (evtName && (!eventName || evtName === eventName)) {\r\n var tasks = target[prop];\r\n if (tasks) {\r\n for (var i = 0; i < tasks.length; i++) {\r\n foundTasks.push(tasks[i]);\r\n }\r\n }\r\n }\r\n }\r\n return foundTasks;\r\n }\r\n function patchEventPrototype(global, api) {\r\n var Event = global['Event'];\r\n if (Event && Event.prototype) {\r\n api.patchMethod(Event.prototype, 'stopImmediatePropagation', function (delegate) { return function (self, args) {\r\n self[IMMEDIATE_PROPAGATION_SYMBOL] = true;\r\n // we need to call the native stopImmediatePropagation\r\n // in case in some hybrid application, some part of\r\n // application will be controlled by zone, some are not\r\n delegate && delegate.apply(self, args);\r\n }; });\r\n }\r\n }\r\n /**\r\n * @license\r\n * Copyright Google Inc. All Rights Reserved.\r\n *\r\n * Use of this source code is governed by an MIT-style license that can be\r\n * found in the LICENSE file at https://angular.io/license\r\n */\r\n function patchCallbacks(api, target, targetName, method, callbacks) {\r\n var symbol = Zone.__symbol__(method);\r\n if (target[symbol]) {\r\n return;\r\n }\r\n var nativeDelegate = target[symbol] = target[method];\r\n target[method] = function (name, opts, options) {\r\n if (opts && opts.prototype) {\r\n callbacks.forEach(function (callback) {\r\n var source = targetName + \".\" + method + \"::\" + callback;\r\n var prototype = opts.prototype;\r\n if (prototype.hasOwnProperty(callback)) {\r\n var descriptor = api.ObjectGetOwnPropertyDescriptor(prototype, callback);\r\n if (descriptor && descriptor.value) {\r\n descriptor.value = api.wrapWithCurrentZone(descriptor.value, source);\r\n api._redefineProperty(opts.prototype, callback, descriptor);\r\n }\r\n else if (prototype[callback]) {\r\n prototype[callback] = api.wrapWithCurrentZone(prototype[callback], source);\r\n }\r\n }\r\n else if (prototype[callback]) {\r\n prototype[callback] = api.wrapWithCurrentZone(prototype[callback], source);\r\n }\r\n });\r\n }\r\n return nativeDelegate.call(target, name, opts, options);\r\n };\r\n api.attachOriginToPatched(target[method], nativeDelegate);\r\n }\r\n /**\r\n * @license\r\n * Copyright Google Inc. All Rights Reserved.\r\n *\r\n * Use of this source code is governed by an MIT-style license that can be\r\n * found in the LICENSE file at https://angular.io/license\r\n */\r\n var globalEventHandlersEventNames = [\r\n 'abort',\r\n 'animationcancel',\r\n 'animationend',\r\n 'animationiteration',\r\n 'auxclick',\r\n 'beforeinput',\r\n 'blur',\r\n 'cancel',\r\n 'canplay',\r\n 'canplaythrough',\r\n 'change',\r\n 'compositionstart',\r\n 'compositionupdate',\r\n 'compositionend',\r\n 'cuechange',\r\n 'click',\r\n 'close',\r\n 'contextmenu',\r\n 'curechange',\r\n 'dblclick',\r\n 'drag',\r\n 'dragend',\r\n 'dragenter',\r\n 'dragexit',\r\n 'dragleave',\r\n 'dragover',\r\n 'drop',\r\n 'durationchange',\r\n 'emptied',\r\n 'ended',\r\n 'error',\r\n 'focus',\r\n 'focusin',\r\n 'focusout',\r\n 'gotpointercapture',\r\n 'input',\r\n 'invalid',\r\n 'keydown',\r\n 'keypress',\r\n 'keyup',\r\n 'load',\r\n 'loadstart',\r\n 'loadeddata',\r\n 'loadedmetadata',\r\n 'lostpointercapture',\r\n 'mousedown',\r\n 'mouseenter',\r\n 'mouseleave',\r\n 'mousemove',\r\n 'mouseout',\r\n 'mouseover',\r\n 'mouseup',\r\n 'mousewheel',\r\n 'orientationchange',\r\n 'pause',\r\n 'play',\r\n 'playing',\r\n 'pointercancel',\r\n 'pointerdown',\r\n 'pointerenter',\r\n 'pointerleave',\r\n 'pointerlockchange',\r\n 'mozpointerlockchange',\r\n 'webkitpointerlockerchange',\r\n 'pointerlockerror',\r\n 'mozpointerlockerror',\r\n 'webkitpointerlockerror',\r\n 'pointermove',\r\n 'pointout',\r\n 'pointerover',\r\n 'pointerup',\r\n 'progress',\r\n 'ratechange',\r\n 'reset',\r\n 'resize',\r\n 'scroll',\r\n 'seeked',\r\n 'seeking',\r\n 'select',\r\n 'selectionchange',\r\n 'selectstart',\r\n 'show',\r\n 'sort',\r\n 'stalled',\r\n 'submit',\r\n 'suspend',\r\n 'timeupdate',\r\n 'volumechange',\r\n 'touchcancel',\r\n 'touchmove',\r\n 'touchstart',\r\n 'touchend',\r\n 'transitioncancel',\r\n 'transitionend',\r\n 'waiting',\r\n 'wheel'\r\n ];\r\n var documentEventNames = [\r\n 'afterscriptexecute', 'beforescriptexecute', 'DOMContentLoaded', 'freeze', 'fullscreenchange',\r\n 'mozfullscreenchange', 'webkitfullscreenchange', 'msfullscreenchange', 'fullscreenerror',\r\n 'mozfullscreenerror', 'webkitfullscreenerror', 'msfullscreenerror', 'readystatechange',\r\n 'visibilitychange', 'resume'\r\n ];\r\n var windowEventNames = [\r\n 'absolutedeviceorientation',\r\n 'afterinput',\r\n 'afterprint',\r\n 'appinstalled',\r\n 'beforeinstallprompt',\r\n 'beforeprint',\r\n 'beforeunload',\r\n 'devicelight',\r\n 'devicemotion',\r\n 'deviceorientation',\r\n 'deviceorientationabsolute',\r\n 'deviceproximity',\r\n 'hashchange',\r\n 'languagechange',\r\n 'message',\r\n 'mozbeforepaint',\r\n 'offline',\r\n 'online',\r\n 'paint',\r\n 'pageshow',\r\n 'pagehide',\r\n 'popstate',\r\n 'rejectionhandled',\r\n 'storage',\r\n 'unhandledrejection',\r\n 'unload',\r\n 'userproximity',\r\n 'vrdisplyconnected',\r\n 'vrdisplaydisconnected',\r\n 'vrdisplaypresentchange'\r\n ];\r\n var htmlElementEventNames = [\r\n 'beforecopy', 'beforecut', 'beforepaste', 'copy', 'cut', 'paste', 'dragstart', 'loadend',\r\n 'animationstart', 'search', 'transitionrun', 'transitionstart', 'webkitanimationend',\r\n 'webkitanimationiteration', 'webkitanimationstart', 'webkittransitionend'\r\n ];\r\n var mediaElementEventNames = ['encrypted', 'waitingforkey', 'msneedkey', 'mozinterruptbegin', 'mozinterruptend'];\r\n var ieElementEventNames = [\r\n 'activate',\r\n 'afterupdate',\r\n 'ariarequest',\r\n 'beforeactivate',\r\n 'beforedeactivate',\r\n 'beforeeditfocus',\r\n 'beforeupdate',\r\n 'cellchange',\r\n 'controlselect',\r\n 'dataavailable',\r\n 'datasetchanged',\r\n 'datasetcomplete',\r\n 'errorupdate',\r\n 'filterchange',\r\n 'layoutcomplete',\r\n 'losecapture',\r\n 'move',\r\n 'moveend',\r\n 'movestart',\r\n 'propertychange',\r\n 'resizeend',\r\n 'resizestart',\r\n 'rowenter',\r\n 'rowexit',\r\n 'rowsdelete',\r\n 'rowsinserted',\r\n 'command',\r\n 'compassneedscalibration',\r\n 'deactivate',\r\n 'help',\r\n 'mscontentzoom',\r\n 'msmanipulationstatechanged',\r\n 'msgesturechange',\r\n 'msgesturedoubletap',\r\n 'msgestureend',\r\n 'msgesturehold',\r\n 'msgesturestart',\r\n 'msgesturetap',\r\n 'msgotpointercapture',\r\n 'msinertiastart',\r\n 'mslostpointercapture',\r\n 'mspointercancel',\r\n 'mspointerdown',\r\n 'mspointerenter',\r\n 'mspointerhover',\r\n 'mspointerleave',\r\n 'mspointermove',\r\n 'mspointerout',\r\n 'mspointerover',\r\n 'mspointerup',\r\n 'pointerout',\r\n 'mssitemodejumplistitemremoved',\r\n 'msthumbnailclick',\r\n 'stop',\r\n 'storagecommit'\r\n ];\r\n var webglEventNames = ['webglcontextrestored', 'webglcontextlost', 'webglcontextcreationerror'];\r\n var formEventNames = ['autocomplete', 'autocompleteerror'];\r\n var detailEventNames = ['toggle'];\r\n var frameEventNames = ['load'];\r\n var frameSetEventNames = ['blur', 'error', 'focus', 'load', 'resize', 'scroll', 'messageerror'];\r\n var marqueeEventNames = ['bounce', 'finish', 'start'];\r\n var XMLHttpRequestEventNames = [\r\n 'loadstart', 'progress', 'abort', 'error', 'load', 'progress', 'timeout', 'loadend',\r\n 'readystatechange'\r\n ];\r\n var IDBIndexEventNames = ['upgradeneeded', 'complete', 'abort', 'success', 'error', 'blocked', 'versionchange', 'close'];\r\n var websocketEventNames = ['close', 'error', 'open', 'message'];\r\n var workerEventNames = ['error', 'message'];\r\n var eventNames = globalEventHandlersEventNames.concat(webglEventNames, formEventNames, detailEventNames, documentEventNames, windowEventNames, htmlElementEventNames, ieElementEventNames);\r\n function filterProperties(target, onProperties, ignoreProperties) {\r\n if (!ignoreProperties || ignoreProperties.length === 0) {\r\n return onProperties;\r\n }\r\n var tip = ignoreProperties.filter(function (ip) { return ip.target === target; });\r\n if (!tip || tip.length === 0) {\r\n return onProperties;\r\n }\r\n var targetIgnoreProperties = tip[0].ignoreProperties;\r\n return onProperties.filter(function (op) { return targetIgnoreProperties.indexOf(op) === -1; });\r\n }\r\n function patchFilteredProperties(target, onProperties, ignoreProperties, prototype) {\r\n // check whether target is available, sometimes target will be undefined\r\n // because different browser or some 3rd party plugin.\r\n if (!target) {\r\n return;\r\n }\r\n var filteredProperties = filterProperties(target, onProperties, ignoreProperties);\r\n patchOnProperties(target, filteredProperties, prototype);\r\n }\r\n function propertyDescriptorPatch(api, _global) {\r\n if (isNode && !isMix) {\r\n return;\r\n }\r\n if (Zone[api.symbol('patchEvents')]) {\r\n // events are already been patched by legacy patch.\r\n return;\r\n }\r\n var supportsWebSocket = typeof WebSocket !== 'undefined';\r\n var ignoreProperties = _global['__Zone_ignore_on_properties'];\r\n // for browsers that we can patch the descriptor: Chrome & Firefox\r\n if (isBrowser) {\r\n var internalWindow_1 = window;\r\n var ignoreErrorProperties = isIE ? [{ target: internalWindow_1, ignoreProperties: ['error'] }] : [];\r\n // in IE/Edge, onProp not exist in window object, but in WindowPrototype\r\n // so we need to pass WindowPrototype to check onProp exist or not\r\n patchFilteredProperties(internalWindow_1, eventNames.concat(['messageerror']), ignoreProperties ? ignoreProperties.concat(ignoreErrorProperties) : ignoreProperties, ObjectGetPrototypeOf(internalWindow_1));\r\n patchFilteredProperties(Document.prototype, eventNames, ignoreProperties);\r\n if (typeof internalWindow_1['SVGElement'] !== 'undefined') {\r\n patchFilteredProperties(internalWindow_1['SVGElement'].prototype, eventNames, ignoreProperties);\r\n }\r\n patchFilteredProperties(Element.prototype, eventNames, ignoreProperties);\r\n patchFilteredProperties(HTMLElement.prototype, eventNames, ignoreProperties);\r\n patchFilteredProperties(HTMLMediaElement.prototype, mediaElementEventNames, ignoreProperties);\r\n patchFilteredProperties(HTMLFrameSetElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties);\r\n patchFilteredProperties(HTMLBodyElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties);\r\n patchFilteredProperties(HTMLFrameElement.prototype, frameEventNames, ignoreProperties);\r\n patchFilteredProperties(HTMLIFrameElement.prototype, frameEventNames, ignoreProperties);\r\n var HTMLMarqueeElement_1 = internalWindow_1['HTMLMarqueeElement'];\r\n if (HTMLMarqueeElement_1) {\r\n patchFilteredProperties(HTMLMarqueeElement_1.prototype, marqueeEventNames, ignoreProperties);\r\n }\r\n var Worker_1 = internalWindow_1['Worker'];\r\n if (Worker_1) {\r\n patchFilteredProperties(Worker_1.prototype, workerEventNames, ignoreProperties);\r\n }\r\n }\r\n var XMLHttpRequest = _global['XMLHttpRequest'];\r\n if (XMLHttpRequest) {\r\n // XMLHttpRequest is not available in ServiceWorker, so we need to check here\r\n patchFilteredProperties(XMLHttpRequest.prototype, XMLHttpRequestEventNames, ignoreProperties);\r\n }\r\n var XMLHttpRequestEventTarget = _global['XMLHttpRequestEventTarget'];\r\n if (XMLHttpRequestEventTarget) {\r\n patchFilteredProperties(XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype, XMLHttpRequestEventNames, ignoreProperties);\r\n }\r\n if (typeof IDBIndex !== 'undefined') {\r\n patchFilteredProperties(IDBIndex.prototype, IDBIndexEventNames, ignoreProperties);\r\n patchFilteredProperties(IDBRequest.prototype, IDBIndexEventNames, ignoreProperties);\r\n patchFilteredProperties(IDBOpenDBRequest.prototype, IDBIndexEventNames, ignoreProperties);\r\n patchFilteredProperties(IDBDatabase.prototype, IDBIndexEventNames, ignoreProperties);\r\n patchFilteredProperties(IDBTransaction.prototype, IDBIndexEventNames, ignoreProperties);\r\n patchFilteredProperties(IDBCursor.prototype, IDBIndexEventNames, ignoreProperties);\r\n }\r\n if (supportsWebSocket) {\r\n patchFilteredProperties(WebSocket.prototype, websocketEventNames, ignoreProperties);\r\n }\r\n }\r\n /**\r\n * @license\r\n * Copyright Google Inc. All Rights Reserved.\r\n *\r\n * Use of this source code is governed by an MIT-style license that can be\r\n * found in the LICENSE file at https://angular.io/license\r\n */\r\n Zone.__load_patch('util', function (global, Zone, api) {\r\n api.patchOnProperties = patchOnProperties;\r\n api.patchMethod = patchMethod;\r\n api.bindArguments = bindArguments;\r\n api.patchMacroTask = patchMacroTask;\r\n // In earlier version of zone.js (<0.9.0), we use env name `__zone_symbol__BLACK_LISTED_EVENTS` to\r\n // define which events will not be patched by `Zone.js`.\r\n // In newer version (>=0.9.0), we change the env name to `__zone_symbol__UNPATCHED_EVENTS` to keep\r\n // the name consistent with angular repo.\r\n // The `__zone_symbol__BLACK_LISTED_EVENTS` is deprecated, but it is still be supported for\r\n // backwards compatibility.\r\n var SYMBOL_BLACK_LISTED_EVENTS = Zone.__symbol__('BLACK_LISTED_EVENTS');\r\n var SYMBOL_UNPATCHED_EVENTS = Zone.__symbol__('UNPATCHED_EVENTS');\r\n if (global[SYMBOL_UNPATCHED_EVENTS]) {\r\n global[SYMBOL_BLACK_LISTED_EVENTS] = global[SYMBOL_UNPATCHED_EVENTS];\r\n }\r\n if (global[SYMBOL_BLACK_LISTED_EVENTS]) {\r\n Zone[SYMBOL_BLACK_LISTED_EVENTS] = Zone[SYMBOL_UNPATCHED_EVENTS] =\r\n global[SYMBOL_BLACK_LISTED_EVENTS];\r\n }\r\n api.patchEventPrototype = patchEventPrototype;\r\n api.patchEventTarget = patchEventTarget;\r\n api.isIEOrEdge = isIEOrEdge;\r\n api.ObjectDefineProperty = ObjectDefineProperty;\r\n api.ObjectGetOwnPropertyDescriptor = ObjectGetOwnPropertyDescriptor;\r\n api.ObjectCreate = ObjectCreate;\r\n api.ArraySlice = ArraySlice;\r\n api.patchClass = patchClass;\r\n api.wrapWithCurrentZone = wrapWithCurrentZone;\r\n api.filterProperties = filterProperties;\r\n api.attachOriginToPatched = attachOriginToPatched;\r\n api._redefineProperty = Object.defineProperty;\r\n api.patchCallbacks = patchCallbacks;\r\n api.getGlobalObjects = function () { return ({ globalSources: globalSources, zoneSymbolEventNames: zoneSymbolEventNames$1, eventNames: eventNames, isBrowser: isBrowser, isMix: isMix, isNode: isNode, TRUE_STR: TRUE_STR,\r\n FALSE_STR: FALSE_STR, ZONE_SYMBOL_PREFIX: ZONE_SYMBOL_PREFIX, ADD_EVENT_LISTENER_STR: ADD_EVENT_LISTENER_STR, REMOVE_EVENT_LISTENER_STR: REMOVE_EVENT_LISTENER_STR }); };\r\n });\r\n /**\r\n * @license\r\n * Copyright Google Inc. All Rights Reserved.\r\n *\r\n * Use of this source code is governed by an MIT-style license that can be\r\n * found in the LICENSE file at https://angular.io/license\r\n */\r\n /**\r\n * @license\r\n * Copyright Google Inc. All Rights Reserved.\r\n *\r\n * Use of this source code is governed by an MIT-style license that can be\r\n * found in the LICENSE file at https://angular.io/license\r\n */\r\n /*\r\n * This is necessary for Chrome and Chrome mobile, to enable\r\n * things like redefining `createdCallback` on an element.\r\n */\r\n var zoneSymbol$1;\r\n var _defineProperty;\r\n var _getOwnPropertyDescriptor;\r\n var _create;\r\n var unconfigurablesKey;\r\n function propertyPatch() {\r\n zoneSymbol$1 = Zone.__symbol__;\r\n _defineProperty = Object[zoneSymbol$1('defineProperty')] = Object.defineProperty;\r\n _getOwnPropertyDescriptor = Object[zoneSymbol$1('getOwnPropertyDescriptor')] =\r\n Object.getOwnPropertyDescriptor;\r\n _create = Object.create;\r\n unconfigurablesKey = zoneSymbol$1('unconfigurables');\r\n Object.defineProperty = function (obj, prop, desc) {\r\n if (isUnconfigurable(obj, prop)) {\r\n throw new TypeError('Cannot assign to read only property \\'' + prop + '\\' of ' + obj);\r\n }\r\n var originalConfigurableFlag = desc.configurable;\r\n if (prop !== 'prototype') {\r\n desc = rewriteDescriptor(obj, prop, desc);\r\n }\r\n return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\r\n };\r\n Object.defineProperties = function (obj, props) {\r\n Object.keys(props).forEach(function (prop) { Object.defineProperty(obj, prop, props[prop]); });\r\n return obj;\r\n };\r\n Object.create = function (obj, proto) {\r\n if (typeof proto === 'object' && !Object.isFrozen(proto)) {\r\n Object.keys(proto).forEach(function (prop) {\r\n proto[prop] = rewriteDescriptor(obj, prop, proto[prop]);\r\n });\r\n }\r\n return _create(obj, proto);\r\n };\r\n Object.getOwnPropertyDescriptor = function (obj, prop) {\r\n var desc = _getOwnPropertyDescriptor(obj, prop);\r\n if (desc && isUnconfigurable(obj, prop)) {\r\n desc.configurable = false;\r\n }\r\n return desc;\r\n };\r\n }\r\n function _redefineProperty(obj, prop, desc) {\r\n var originalConfigurableFlag = desc.configurable;\r\n desc = rewriteDescriptor(obj, prop, desc);\r\n return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\r\n }\r\n function isUnconfigurable(obj, prop) {\r\n return obj && obj[unconfigurablesKey] && obj[unconfigurablesKey][prop];\r\n }\r\n function rewriteDescriptor(obj, prop, desc) {\r\n // issue-927, if the desc is frozen, don't try to change the desc\r\n if (!Object.isFrozen(desc)) {\r\n desc.configurable = true;\r\n }\r\n if (!desc.configurable) {\r\n // issue-927, if the obj is frozen, don't try to set the desc to obj\r\n if (!obj[unconfigurablesKey] && !Object.isFrozen(obj)) {\r\n _defineProperty(obj, unconfigurablesKey, { writable: true, value: {} });\r\n }\r\n if (obj[unconfigurablesKey]) {\r\n obj[unconfigurablesKey][prop] = true;\r\n }\r\n }\r\n return desc;\r\n }\r\n function _tryDefineProperty(obj, prop, desc, originalConfigurableFlag) {\r\n try {\r\n return _defineProperty(obj, prop, desc);\r\n }\r\n catch (error) {\r\n if (desc.configurable) {\r\n // In case of errors, when the configurable flag was likely set by rewriteDescriptor(), let's\r\n // retry with the original flag value\r\n if (typeof originalConfigurableFlag == 'undefined') {\r\n delete desc.configurable;\r\n }\r\n else {\r\n desc.configurable = originalConfigurableFlag;\r\n }\r\n try {\r\n return _defineProperty(obj, prop, desc);\r\n }\r\n catch (error) {\r\n var descJson = null;\r\n try {\r\n descJson = JSON.stringify(desc);\r\n }\r\n catch (error) {\r\n descJson = desc.toString();\r\n }\r\n console.log(\"Attempting to configure '\" + prop + \"' with descriptor '\" + descJson + \"' on object '\" + obj + \"' and got error, giving up: \" + error);\r\n }\r\n }\r\n else {\r\n throw error;\r\n }\r\n }\r\n }\r\n /**\r\n * @license\r\n * Copyright Google Inc. All Rights Reserved.\r\n *\r\n * Use of this source code is governed by an MIT-style license that can be\r\n * found in the LICENSE file at https://angular.io/license\r\n */\r\n function eventTargetLegacyPatch(_global, api) {\r\n var _a = api.getGlobalObjects(), eventNames = _a.eventNames, globalSources = _a.globalSources, zoneSymbolEventNames = _a.zoneSymbolEventNames, TRUE_STR = _a.TRUE_STR, FALSE_STR = _a.FALSE_STR, ZONE_SYMBOL_PREFIX = _a.ZONE_SYMBOL_PREFIX;\r\n var WTF_ISSUE_555 = 'Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video';\r\n var NO_EVENT_TARGET = 'ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket'\r\n .split(',');\r\n var EVENT_TARGET = 'EventTarget';\r\n var apis = [];\r\n var isWtf = _global['wtf'];\r\n var WTF_ISSUE_555_ARRAY = WTF_ISSUE_555.split(',');\r\n if (isWtf) {\r\n // Workaround for: https://github.com/google/tracing-framework/issues/555\r\n apis = WTF_ISSUE_555_ARRAY.map(function (v) { return 'HTML' + v + 'Element'; }).concat(NO_EVENT_TARGET);\r\n }\r\n else if (_global[EVENT_TARGET]) {\r\n apis.push(EVENT_TARGET);\r\n }\r\n else {\r\n // Note: EventTarget is not available in all browsers,\r\n // if it's not available, we instead patch the APIs in the IDL that inherit from EventTarget\r\n apis = NO_EVENT_TARGET;\r\n }\r\n var isDisableIECheck = _global['__Zone_disable_IE_check'] || false;\r\n var isEnableCrossContextCheck = _global['__Zone_enable_cross_context_check'] || false;\r\n var ieOrEdge = api.isIEOrEdge();\r\n var ADD_EVENT_LISTENER_SOURCE = '.addEventListener:';\r\n var FUNCTION_WRAPPER = '[object FunctionWrapper]';\r\n var BROWSER_TOOLS = 'function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }';\r\n var pointerEventsMap = {\r\n 'MSPointerCancel': 'pointercancel',\r\n 'MSPointerDown': 'pointerdown',\r\n 'MSPointerEnter': 'pointerenter',\r\n 'MSPointerHover': 'pointerhover',\r\n 'MSPointerLeave': 'pointerleave',\r\n 'MSPointerMove': 'pointermove',\r\n 'MSPointerOut': 'pointerout',\r\n 'MSPointerOver': 'pointerover',\r\n 'MSPointerUp': 'pointerup'\r\n };\r\n // predefine all __zone_symbol__ + eventName + true/false string\r\n for (var i = 0; i < eventNames.length; i++) {\r\n var eventName = eventNames[i];\r\n var falseEventName = eventName + FALSE_STR;\r\n var trueEventName = eventName + TRUE_STR;\r\n var symbol = ZONE_SYMBOL_PREFIX + falseEventName;\r\n var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName;\r\n zoneSymbolEventNames[eventName] = {};\r\n zoneSymbolEventNames[eventName][FALSE_STR] = symbol;\r\n zoneSymbolEventNames[eventName][TRUE_STR] = symbolCapture;\r\n }\r\n // predefine all task.source string\r\n for (var i = 0; i < WTF_ISSUE_555_ARRAY.length; i++) {\r\n var target = WTF_ISSUE_555_ARRAY[i];\r\n var targets = globalSources[target] = {};\r\n for (var j = 0; j < eventNames.length; j++) {\r\n var eventName = eventNames[j];\r\n targets[eventName] = target + ADD_EVENT_LISTENER_SOURCE + eventName;\r\n }\r\n }\r\n var checkIEAndCrossContext = function (nativeDelegate, delegate, target, args) {\r\n if (!isDisableIECheck && ieOrEdge) {\r\n if (isEnableCrossContextCheck) {\r\n try {\r\n var testString = delegate.toString();\r\n if ((testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS)) {\r\n nativeDelegate.apply(target, args);\r\n return false;\r\n }\r\n }\r\n catch (error) {\r\n nativeDelegate.apply(target, args);\r\n return false;\r\n }\r\n }\r\n else {\r\n var testString = delegate.toString();\r\n if ((testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS)) {\r\n nativeDelegate.apply(target, args);\r\n return false;\r\n }\r\n }\r\n }\r\n else if (isEnableCrossContextCheck) {\r\n try {\r\n delegate.toString();\r\n }\r\n catch (error) {\r\n nativeDelegate.apply(target, args);\r\n return false;\r\n }\r\n }\r\n return true;\r\n };\r\n var apiTypes = [];\r\n for (var i = 0; i < apis.length; i++) {\r\n var type = _global[apis[i]];\r\n apiTypes.push(type && type.prototype);\r\n }\r\n // vh is validateHandler to check event handler\r\n // is valid or not(for security check)\r\n api.patchEventTarget(_global, apiTypes, {\r\n vh: checkIEAndCrossContext,\r\n transferEventName: function (eventName) {\r\n var pointerEventName = pointerEventsMap[eventName];\r\n return pointerEventName || eventName;\r\n }\r\n });\r\n Zone[api.symbol('patchEventTarget')] = !!_global[EVENT_TARGET];\r\n return true;\r\n }\r\n /**\r\n * @license\r\n * Copyright Google Inc. All Rights Reserved.\r\n *\r\n * Use of this source code is governed by an MIT-style license that can be\r\n * found in the LICENSE file at https://angular.io/license\r\n */\r\n // we have to patch the instance since the proto is non-configurable\r\n function apply(api, _global) {\r\n var _a = api.getGlobalObjects(), ADD_EVENT_LISTENER_STR = _a.ADD_EVENT_LISTENER_STR, REMOVE_EVENT_LISTENER_STR = _a.REMOVE_EVENT_LISTENER_STR;\r\n var WS = _global.WebSocket;\r\n // On Safari window.EventTarget doesn't exist so need to patch WS add/removeEventListener\r\n // On older Chrome, no need since EventTarget was already patched\r\n if (!_global.EventTarget) {\r\n api.patchEventTarget(_global, [WS.prototype]);\r\n }\r\n _global.WebSocket = function (x, y) {\r\n var socket = arguments.length > 1 ? new WS(x, y) : new WS(x);\r\n var proxySocket;\r\n var proxySocketProto;\r\n // Safari 7.0 has non-configurable own 'onmessage' and friends properties on the socket instance\r\n var onmessageDesc = api.ObjectGetOwnPropertyDescriptor(socket, 'onmessage');\r\n if (onmessageDesc && onmessageDesc.configurable === false) {\r\n proxySocket = api.ObjectCreate(socket);\r\n // socket have own property descriptor 'onopen', 'onmessage', 'onclose', 'onerror'\r\n // but proxySocket not, so we will keep socket as prototype and pass it to\r\n // patchOnProperties method\r\n proxySocketProto = socket;\r\n [ADD_EVENT_LISTENER_STR, REMOVE_EVENT_LISTENER_STR, 'send', 'close'].forEach(function (propName) {\r\n proxySocket[propName] = function () {\r\n var args = api.ArraySlice.call(arguments);\r\n if (propName === ADD_EVENT_LISTENER_STR || propName === REMOVE_EVENT_LISTENER_STR) {\r\n var eventName = args.length > 0 ? args[0] : undefined;\r\n if (eventName) {\r\n var propertySymbol = Zone.__symbol__('ON_PROPERTY' + eventName);\r\n socket[propertySymbol] = proxySocket[propertySymbol];\r\n }\r\n }\r\n return socket[propName].apply(socket, args);\r\n };\r\n });\r\n }\r\n else {\r\n // we can patch the real socket\r\n proxySocket = socket;\r\n }\r\n api.patchOnProperties(proxySocket, ['close', 'error', 'message', 'open'], proxySocketProto);\r\n return proxySocket;\r\n };\r\n var globalWebSocket = _global['WebSocket'];\r\n for (var prop in WS) {\r\n globalWebSocket[prop] = WS[prop];\r\n }\r\n }\r\n /**\r\n * @license\r\n * Copyright Google Inc. All Rights Reserved.\r\n *\r\n * Use of this source code is governed by an MIT-style license that can be\r\n * found in the LICENSE file at https://angular.io/license\r\n */\r\n function propertyDescriptorLegacyPatch(api, _global) {\r\n var _a = api.getGlobalObjects(), isNode = _a.isNode, isMix = _a.isMix;\r\n if (isNode && !isMix) {\r\n return;\r\n }\r\n if (!canPatchViaPropertyDescriptor(api, _global)) {\r\n var supportsWebSocket = typeof WebSocket !== 'undefined';\r\n // Safari, Android browsers (Jelly Bean)\r\n patchViaCapturingAllTheEvents(api);\r\n api.patchClass('XMLHttpRequest');\r\n if (supportsWebSocket) {\r\n apply(api, _global);\r\n }\r\n Zone[api.symbol('patchEvents')] = true;\r\n }\r\n }\r\n function canPatchViaPropertyDescriptor(api, _global) {\r\n var _a = api.getGlobalObjects(), isBrowser = _a.isBrowser, isMix = _a.isMix;\r\n if ((isBrowser || isMix) &&\r\n !api.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype, 'onclick') &&\r\n typeof Element !== 'undefined') {\r\n // WebKit https://bugs.webkit.org/show_bug.cgi?id=134364\r\n // IDL interface attributes are not configurable\r\n var desc = api.ObjectGetOwnPropertyDescriptor(Element.prototype, 'onclick');\r\n if (desc && !desc.configurable)\r\n return false;\r\n // try to use onclick to detect whether we can patch via propertyDescriptor\r\n // because XMLHttpRequest is not available in service worker\r\n if (desc) {\r\n api.ObjectDefineProperty(Element.prototype, 'onclick', { enumerable: true, configurable: true, get: function () { return true; } });\r\n var div = document.createElement('div');\r\n var result = !!div.onclick;\r\n api.ObjectDefineProperty(Element.prototype, 'onclick', desc);\r\n return result;\r\n }\r\n }\r\n var XMLHttpRequest = _global['XMLHttpRequest'];\r\n if (!XMLHttpRequest) {\r\n // XMLHttpRequest is not available in service worker\r\n return false;\r\n }\r\n var ON_READY_STATE_CHANGE = 'onreadystatechange';\r\n var XMLHttpRequestPrototype = XMLHttpRequest.prototype;\r\n var xhrDesc = api.ObjectGetOwnPropertyDescriptor(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE);\r\n // add enumerable and configurable here because in opera\r\n // by default XMLHttpRequest.prototype.onreadystatechange is undefined\r\n // without adding enumerable and configurable will cause onreadystatechange\r\n // non-configurable\r\n // and if XMLHttpRequest.prototype.onreadystatechange is undefined,\r\n // we should set a real desc instead a fake one\r\n if (xhrDesc) {\r\n api.ObjectDefineProperty(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE, { enumerable: true, configurable: true, get: function () { return true; } });\r\n var req = new XMLHttpRequest();\r\n var result = !!req.onreadystatechange;\r\n // restore original desc\r\n api.ObjectDefineProperty(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE, xhrDesc || {});\r\n return result;\r\n }\r\n else {\r\n var SYMBOL_FAKE_ONREADYSTATECHANGE_1 = api.symbol('fake');\r\n api.ObjectDefineProperty(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE, {\r\n enumerable: true,\r\n configurable: true,\r\n get: function () { return this[SYMBOL_FAKE_ONREADYSTATECHANGE_1]; },\r\n set: function (value) { this[SYMBOL_FAKE_ONREADYSTATECHANGE_1] = value; }\r\n });\r\n var req = new XMLHttpRequest();\r\n var detectFunc = function () { };\r\n req.onreadystatechange = detectFunc;\r\n var result = req[SYMBOL_FAKE_ONREADYSTATECHANGE_1] === detectFunc;\r\n req.onreadystatechange = null;\r\n return result;\r\n }\r\n }\r\n // Whenever any eventListener fires, we check the eventListener target and all parents\r\n // for `onwhatever` properties and replace them with zone-bound functions\r\n // - Chrome (for now)\r\n function patchViaCapturingAllTheEvents(api) {\r\n var eventNames = api.getGlobalObjects().eventNames;\r\n var unboundKey = api.symbol('unbound');\r\n var _loop_4 = function (i) {\r\n var property = eventNames[i];\r\n var onproperty = 'on' + property;\r\n self.addEventListener(property, function (event) {\r\n var elt = event.target, bound, source;\r\n if (elt) {\r\n source = elt.constructor['name'] + '.' + onproperty;\r\n }\r\n else {\r\n source = 'unknown.' + onproperty;\r\n }\r\n while (elt) {\r\n if (elt[onproperty] && !elt[onproperty][unboundKey]) {\r\n bound = api.wrapWithCurrentZone(elt[onproperty], source);\r\n bound[unboundKey] = elt[onproperty];\r\n elt[onproperty] = bound;\r\n }\r\n elt = elt.parentElement;\r\n }\r\n }, true);\r\n };\r\n for (var i = 0; i < eventNames.length; i++) {\r\n _loop_4(i);\r\n }\r\n }\r\n /**\r\n * @license\r\n * Copyright Google Inc. All Rights Reserved.\r\n *\r\n * Use of this source code is governed by an MIT-style license that can be\r\n * found in the LICENSE file at https://angular.io/license\r\n */\r\n function registerElementPatch(_global, api) {\r\n var _a = api.getGlobalObjects(), isBrowser = _a.isBrowser, isMix = _a.isMix;\r\n if ((!isBrowser && !isMix) || !('registerElement' in _global.document)) {\r\n return;\r\n }\r\n var callbacks = ['createdCallback', 'attachedCallback', 'detachedCallback', 'attributeChangedCallback'];\r\n api.patchCallbacks(api, document, 'Document', 'registerElement', callbacks);\r\n }\r\n /**\r\n * @license\r\n * Copyright Google Inc. All Rights Reserved.\r\n *\r\n * Use of this source code is governed by an MIT-style license that can be\r\n * found in the LICENSE file at https://angular.io/license\r\n */\r\n (function (_global) {\r\n var symbolPrefix = _global['__Zone_symbol_prefix'] || '__zone_symbol__';\r\n function __symbol__(name) { return symbolPrefix + name; }\r\n _global[__symbol__('legacyPatch')] = function () {\r\n var Zone = _global['Zone'];\r\n Zone.__load_patch('defineProperty', function (global, Zone, api) {\r\n api._redefineProperty = _redefineProperty;\r\n propertyPatch();\r\n });\r\n Zone.__load_patch('registerElement', function (global, Zone, api) {\r\n registerElementPatch(global, api);\r\n });\r\n Zone.__load_patch('EventTargetLegacy', function (global, Zone, api) {\r\n eventTargetLegacyPatch(global, api);\r\n propertyDescriptorLegacyPatch(api, global);\r\n });\r\n };\r\n })(typeof window !== 'undefined' ?\r\n window :\r\n typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {});\r\n /**\r\n * @license\r\n * Copyright Google Inc. All Rights Reserved.\r\n *\r\n * Use of this source code is governed by an MIT-style license that can be\r\n * found in the LICENSE file at https://angular.io/license\r\n */\r\n var taskSymbol = zoneSymbol('zoneTask');\r\n function patchTimer(window, setName, cancelName, nameSuffix) {\r\n var setNative = null;\r\n var clearNative = null;\r\n setName += nameSuffix;\r\n cancelName += nameSuffix;\r\n var tasksByHandleId = {};\r\n function scheduleTask(task) {\r\n var data = task.data;\r\n function timer() {\r\n try {\r\n task.invoke.apply(this, arguments);\r\n }\r\n finally {\r\n // issue-934, task will be cancelled\r\n // even it is a periodic task such as\r\n // setInterval\r\n if (!(task.data && task.data.isPeriodic)) {\r\n if (typeof data.handleId === 'number') {\r\n // in non-nodejs env, we remove timerId\r\n // from local cache\r\n delete tasksByHandleId[data.handleId];\r\n }\r\n else if (data.handleId) {\r\n // Node returns complex objects as handleIds\r\n // we remove task reference from timer object\r\n data.handleId[taskSymbol] = null;\r\n }\r\n }\r\n }\r\n }\r\n data.args[0] = timer;\r\n data.handleId = setNative.apply(window, data.args);\r\n return task;\r\n }\r\n function clearTask(task) { return clearNative(task.data.handleId); }\r\n setNative =\r\n patchMethod(window, setName, function (delegate) { return function (self, args) {\r\n if (typeof args[0] === 'function') {\r\n var options = {\r\n isPeriodic: nameSuffix === 'Interval',\r\n delay: (nameSuffix === 'Timeout' || nameSuffix === 'Interval') ? args[1] || 0 :\r\n undefined,\r\n args: args\r\n };\r\n var task = scheduleMacroTaskWithCurrentZone(setName, args[0], options, scheduleTask, clearTask);\r\n if (!task) {\r\n return task;\r\n }\r\n // Node.js must additionally support the ref and unref functions.\r\n var handle = task.data.handleId;\r\n if (typeof handle === 'number') {\r\n // for non nodejs env, we save handleId: task\r\n // mapping in local cache for clearTimeout\r\n tasksByHandleId[handle] = task;\r\n }\r\n else if (handle) {\r\n // for nodejs env, we save task\r\n // reference in timerId Object for clearTimeout\r\n handle[taskSymbol] = task;\r\n }\r\n // check whether handle is null, because some polyfill or browser\r\n // may return undefined from setTimeout/setInterval/setImmediate/requestAnimationFrame\r\n if (handle && handle.ref && handle.unref && typeof handle.ref === 'function' &&\r\n typeof handle.unref === 'function') {\r\n task.ref = handle.ref.bind(handle);\r\n task.unref = handle.unref.bind(handle);\r\n }\r\n if (typeof handle === 'number' || handle) {\r\n return handle;\r\n }\r\n return task;\r\n }\r\n else {\r\n // cause an error by calling it directly.\r\n return delegate.apply(window, args);\r\n }\r\n }; });\r\n clearNative =\r\n patchMethod(window, cancelName, function (delegate) { return function (self, args) {\r\n var id = args[0];\r\n var task;\r\n if (typeof id === 'number') {\r\n // non nodejs env.\r\n task = tasksByHandleId[id];\r\n }\r\n else {\r\n // nodejs env.\r\n task = id && id[taskSymbol];\r\n // other environments.\r\n if (!task) {\r\n task = id;\r\n }\r\n }\r\n if (task && typeof task.type === 'string') {\r\n if (task.state !== 'notScheduled' &&\r\n (task.cancelFn && task.data.isPeriodic || task.runCount === 0)) {\r\n if (typeof id === 'number') {\r\n delete tasksByHandleId[id];\r\n }\r\n else if (id) {\r\n id[taskSymbol] = null;\r\n }\r\n // Do not cancel already canceled functions\r\n task.zone.cancelTask(task);\r\n }\r\n }\r\n else {\r\n // cause an error by calling it directly.\r\n delegate.apply(window, args);\r\n }\r\n }; });\r\n }\r\n /**\r\n * @license\r\n * Copyright Google Inc. All Rights Reserved.\r\n *\r\n * Use of this source code is governed by an MIT-style license that can be\r\n * found in the LICENSE file at https://angular.io/license\r\n */\r\n function patchCustomElements(_global, api) {\r\n var _a = api.getGlobalObjects(), isBrowser = _a.isBrowser, isMix = _a.isMix;\r\n if ((!isBrowser && !isMix) || !_global['customElements'] || !('customElements' in _global)) {\r\n return;\r\n }\r\n var callbacks = ['connectedCallback', 'disconnectedCallback', 'adoptedCallback', 'attributeChangedCallback'];\r\n api.patchCallbacks(api, _global.customElements, 'customElements', 'define', callbacks);\r\n }\r\n /**\r\n * @license\r\n * Copyright Google Inc. All Rights Reserved.\r\n *\r\n * Use of this source code is governed by an MIT-style license that can be\r\n * found in the LICENSE file at https://angular.io/license\r\n */\r\n function eventTargetPatch(_global, api) {\r\n if (Zone[api.symbol('patchEventTarget')]) {\r\n // EventTarget is already patched.\r\n return;\r\n }\r\n var _a = api.getGlobalObjects(), eventNames = _a.eventNames, zoneSymbolEventNames = _a.zoneSymbolEventNames, TRUE_STR = _a.TRUE_STR, FALSE_STR = _a.FALSE_STR, ZONE_SYMBOL_PREFIX = _a.ZONE_SYMBOL_PREFIX;\r\n // predefine all __zone_symbol__ + eventName + true/false string\r\n for (var i = 0; i < eventNames.length; i++) {\r\n var eventName = eventNames[i];\r\n var falseEventName = eventName + FALSE_STR;\r\n var trueEventName = eventName + TRUE_STR;\r\n var symbol = ZONE_SYMBOL_PREFIX + falseEventName;\r\n var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName;\r\n zoneSymbolEventNames[eventName] = {};\r\n zoneSymbolEventNames[eventName][FALSE_STR] = symbol;\r\n zoneSymbolEventNames[eventName][TRUE_STR] = symbolCapture;\r\n }\r\n var EVENT_TARGET = _global['EventTarget'];\r\n if (!EVENT_TARGET || !EVENT_TARGET.prototype) {\r\n return;\r\n }\r\n api.patchEventTarget(_global, [EVENT_TARGET && EVENT_TARGET.prototype]);\r\n return true;\r\n }\r\n function patchEvent(global, api) {\r\n api.patchEventPrototype(global, api);\r\n }\r\n /**\r\n * @license\r\n * Copyright Google Inc. All Rights Reserved.\r\n *\r\n * Use of this source code is governed by an MIT-style license that can be\r\n * found in the LICENSE file at https://angular.io/license\r\n */\r\n Zone.__load_patch('legacy', function (global) {\r\n var legacyPatch = global[Zone.__symbol__('legacyPatch')];\r\n if (legacyPatch) {\r\n legacyPatch();\r\n }\r\n });\r\n Zone.__load_patch('timers', function (global) {\r\n var set = 'set';\r\n var clear = 'clear';\r\n patchTimer(global, set, clear, 'Timeout');\r\n patchTimer(global, set, clear, 'Interval');\r\n patchTimer(global, set, clear, 'Immediate');\r\n });\r\n Zone.__load_patch('requestAnimationFrame', function (global) {\r\n patchTimer(global, 'request', 'cancel', 'AnimationFrame');\r\n patchTimer(global, 'mozRequest', 'mozCancel', 'AnimationFrame');\r\n patchTimer(global, 'webkitRequest', 'webkitCancel', 'AnimationFrame');\r\n });\r\n Zone.__load_patch('blocking', function (global, Zone) {\r\n var blockingMethods = ['alert', 'prompt', 'confirm'];\r\n for (var i = 0; i < blockingMethods.length; i++) {\r\n var name_2 = blockingMethods[i];\r\n patchMethod(global, name_2, function (delegate, symbol, name) {\r\n return function (s, args) {\r\n return Zone.current.run(delegate, global, args, name);\r\n };\r\n });\r\n }\r\n });\r\n Zone.__load_patch('EventTarget', function (global, Zone, api) {\r\n patchEvent(global, api);\r\n eventTargetPatch(global, api);\r\n // patch XMLHttpRequestEventTarget's addEventListener/removeEventListener\r\n var XMLHttpRequestEventTarget = global['XMLHttpRequestEventTarget'];\r\n if (XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype) {\r\n api.patchEventTarget(global, [XMLHttpRequestEventTarget.prototype]);\r\n }\r\n patchClass('MutationObserver');\r\n patchClass('WebKitMutationObserver');\r\n patchClass('IntersectionObserver');\r\n patchClass('FileReader');\r\n });\r\n Zone.__load_patch('on_property', function (global, Zone, api) {\r\n propertyDescriptorPatch(api, global);\r\n });\r\n Zone.__load_patch('customElements', function (global, Zone, api) {\r\n patchCustomElements(global, api);\r\n });\r\n Zone.__load_patch('XHR', function (global, Zone) {\r\n // Treat XMLHttpRequest as a macrotask.\r\n patchXHR(global);\r\n var XHR_TASK = zoneSymbol('xhrTask');\r\n var XHR_SYNC = zoneSymbol('xhrSync');\r\n var XHR_LISTENER = zoneSymbol('xhrListener');\r\n var XHR_SCHEDULED = zoneSymbol('xhrScheduled');\r\n var XHR_URL = zoneSymbol('xhrURL');\r\n var XHR_ERROR_BEFORE_SCHEDULED = zoneSymbol('xhrErrorBeforeScheduled');\r\n function patchXHR(window) {\r\n var XMLHttpRequest = window['XMLHttpRequest'];\r\n if (!XMLHttpRequest) {\r\n // XMLHttpRequest is not available in service worker\r\n return;\r\n }\r\n var XMLHttpRequestPrototype = XMLHttpRequest.prototype;\r\n function findPendingTask(target) { return target[XHR_TASK]; }\r\n var oriAddListener = XMLHttpRequestPrototype[ZONE_SYMBOL_ADD_EVENT_LISTENER];\r\n var oriRemoveListener = XMLHttpRequestPrototype[ZONE_SYMBOL_REMOVE_EVENT_LISTENER];\r\n if (!oriAddListener) {\r\n var XMLHttpRequestEventTarget_1 = window['XMLHttpRequestEventTarget'];\r\n if (XMLHttpRequestEventTarget_1) {\r\n var XMLHttpRequestEventTargetPrototype = XMLHttpRequestEventTarget_1.prototype;\r\n oriAddListener = XMLHttpRequestEventTargetPrototype[ZONE_SYMBOL_ADD_EVENT_LISTENER];\r\n oriRemoveListener = XMLHttpRequestEventTargetPrototype[ZONE_SYMBOL_REMOVE_EVENT_LISTENER];\r\n }\r\n }\r\n var READY_STATE_CHANGE = 'readystatechange';\r\n var SCHEDULED = 'scheduled';\r\n function scheduleTask(task) {\r\n var data = task.data;\r\n var target = data.target;\r\n target[XHR_SCHEDULED] = false;\r\n target[XHR_ERROR_BEFORE_SCHEDULED] = false;\r\n // remove existing event listener\r\n var listener = target[XHR_LISTENER];\r\n if (!oriAddListener) {\r\n oriAddListener = target[ZONE_SYMBOL_ADD_EVENT_LISTENER];\r\n oriRemoveListener = target[ZONE_SYMBOL_REMOVE_EVENT_LISTENER];\r\n }\r\n if (listener) {\r\n oriRemoveListener.call(target, READY_STATE_CHANGE, listener);\r\n }\r\n var newListener = target[XHR_LISTENER] = function () {\r\n if (target.readyState === target.DONE) {\r\n // sometimes on some browsers XMLHttpRequest will fire onreadystatechange with\r\n // readyState=4 multiple times, so we need to check task state here\r\n if (!data.aborted && target[XHR_SCHEDULED] && task.state === SCHEDULED) {\r\n // check whether the xhr has registered onload listener\r\n // if that is the case, the task should invoke after all\r\n // onload listeners finish.\r\n var loadTasks = target[Zone.__symbol__('loadfalse')];\r\n if (loadTasks && loadTasks.length > 0) {\r\n var oriInvoke_1 = task.invoke;\r\n task.invoke = function () {\r\n // need to load the tasks again, because in other\r\n // load listener, they may remove themselves\r\n var loadTasks = target[Zone.__symbol__('loadfalse')];\r\n for (var i = 0; i < loadTasks.length; i++) {\r\n if (loadTasks[i] === task) {\r\n loadTasks.splice(i, 1);\r\n }\r\n }\r\n if (!data.aborted && task.state === SCHEDULED) {\r\n oriInvoke_1.call(task);\r\n }\r\n };\r\n loadTasks.push(task);\r\n }\r\n else {\r\n task.invoke();\r\n }\r\n }\r\n else if (!data.aborted && target[XHR_SCHEDULED] === false) {\r\n // error occurs when xhr.send()\r\n target[XHR_ERROR_BEFORE_SCHEDULED] = true;\r\n }\r\n }\r\n };\r\n oriAddListener.call(target, READY_STATE_CHANGE, newListener);\r\n var storedTask = target[XHR_TASK];\r\n if (!storedTask) {\r\n target[XHR_TASK] = task;\r\n }\r\n sendNative.apply(target, data.args);\r\n target[XHR_SCHEDULED] = true;\r\n return task;\r\n }\r\n function placeholderCallback() { }\r\n function clearTask(task) {\r\n var data = task.data;\r\n // Note - ideally, we would call data.target.removeEventListener here, but it's too late\r\n // to prevent it from firing. So instead, we store info for the event listener.\r\n data.aborted = true;\r\n return abortNative.apply(data.target, data.args);\r\n }\r\n var openNative = patchMethod(XMLHttpRequestPrototype, 'open', function () { return function (self, args) {\r\n self[XHR_SYNC] = args[2] == false;\r\n self[XHR_URL] = args[1];\r\n return openNative.apply(self, args);\r\n }; });\r\n var XMLHTTPREQUEST_SOURCE = 'XMLHttpRequest.send';\r\n var fetchTaskAborting = zoneSymbol('fetchTaskAborting');\r\n var fetchTaskScheduling = zoneSymbol('fetchTaskScheduling');\r\n var sendNative = patchMethod(XMLHttpRequestPrototype, 'send', function () { return function (self, args) {\r\n if (Zone.current[fetchTaskScheduling] === true) {\r\n // a fetch is scheduling, so we are using xhr to polyfill fetch\r\n // and because we already schedule macroTask for fetch, we should\r\n // not schedule a macroTask for xhr again\r\n return sendNative.apply(self, args);\r\n }\r\n if (self[XHR_SYNC]) {\r\n // if the XHR is sync there is no task to schedule, just execute the code.\r\n return sendNative.apply(self, args);\r\n }\r\n else {\r\n var options = { target: self, url: self[XHR_URL], isPeriodic: false, args: args, aborted: false };\r\n var task = scheduleMacroTaskWithCurrentZone(XMLHTTPREQUEST_SOURCE, placeholderCallback, options, scheduleTask, clearTask);\r\n if (self && self[XHR_ERROR_BEFORE_SCHEDULED] === true && !options.aborted &&\r\n task.state === SCHEDULED) {\r\n // xhr request throw error when send\r\n // we should invoke task instead of leaving a scheduled\r\n // pending macroTask\r\n task.invoke();\r\n }\r\n }\r\n }; });\r\n var abortNative = patchMethod(XMLHttpRequestPrototype, 'abort', function () { return function (self, args) {\r\n var task = findPendingTask(self);\r\n if (task && typeof task.type == 'string') {\r\n // If the XHR has already completed, do nothing.\r\n // If the XHR has already been aborted, do nothing.\r\n // Fix #569, call abort multiple times before done will cause\r\n // macroTask task count be negative number\r\n if (task.cancelFn == null || (task.data && task.data.aborted)) {\r\n return;\r\n }\r\n task.zone.cancelTask(task);\r\n }\r\n else if (Zone.current[fetchTaskAborting] === true) {\r\n // the abort is called from fetch polyfill, we need to call native abort of XHR.\r\n return abortNative.apply(self, args);\r\n }\r\n // Otherwise, we are trying to abort an XHR which has not yet been sent, so there is no\r\n // task\r\n // to cancel. Do nothing.\r\n }; });\r\n }\r\n });\r\n Zone.__load_patch('geolocation', function (global) {\r\n /// GEO_LOCATION\r\n if (global['navigator'] && global['navigator'].geolocation) {\r\n patchPrototype(global['navigator'].geolocation, ['getCurrentPosition', 'watchPosition']);\r\n }\r\n });\r\n Zone.__load_patch('PromiseRejectionEvent', function (global, Zone) {\r\n // handle unhandled promise rejection\r\n function findPromiseRejectionHandler(evtName) {\r\n return function (e) {\r\n var eventTasks = findEventTasks(global, evtName);\r\n eventTasks.forEach(function (eventTask) {\r\n // windows has added unhandledrejection event listener\r\n // trigger the event listener\r\n var PromiseRejectionEvent = global['PromiseRejectionEvent'];\r\n if (PromiseRejectionEvent) {\r\n var evt = new PromiseRejectionEvent(evtName, { promise: e.promise, reason: e.rejection });\r\n eventTask.invoke(evt);\r\n }\r\n });\r\n };\r\n }\r\n if (global['PromiseRejectionEvent']) {\r\n Zone[zoneSymbol('unhandledPromiseRejectionHandler')] =\r\n findPromiseRejectionHandler('unhandledrejection');\r\n Zone[zoneSymbol('rejectionHandledHandler')] =\r\n findPromiseRejectionHandler('rejectionhandled');\r\n }\r\n });\r\n /**\r\n * @license\r\n * Copyright Google Inc. All Rights Reserved.\r\n *\r\n * Use of this source code is governed by an MIT-style license that can be\r\n * found in the LICENSE file at https://angular.io/license\r\n */\r\n}));\r\n","/**\n * This file includes polyfills needed by Angular and is loaded before the app.\n * You can add your own extra polyfills to this file.\n *\n * This file is divided into 2 sections:\n * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.\n * 2. Application imports. Files imported after ZoneJS that should be loaded before your main\n * file.\n *\n * The current setup is for so-called \"evergreen\" browsers; the last versions of browsers that\n * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),\n * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.\n *\n * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html\n */\n\n/***************************************************************************************************\n * BROWSER POLYFILLS\n */\n\n/** IE9, IE10 and IE11 requires all of the following polyfills. **/\n/* import 'core-js/es6/symbol';\nimport 'core-js/es6/object';\nimport 'core-js/es6/function';\nimport 'core-js/es6/parse-int';\nimport 'core-js/es6/parse-float';\nimport 'core-js/es6/number';\nimport 'core-js/es6/math';\nimport 'core-js/es6/string';\nimport 'core-js/es6/date';\nimport 'core-js/es6/array';\nimport 'core-js/es6/regexp';\nimport 'core-js/es6/map';\nimport 'core-js/es6/weak-map';\nimport 'core-js/es6/set'; */\n\n/** IE10 and IE11 requires the following for NgClass support on SVG elements */\n// import 'classlist.js'; // Run `npm install --save classlist.js`.\n\n/** IE10 and IE11 requires the following for the Reflect API. */\n/* import 'core-js/es6/reflect'; */\n\n\n/** Evergreen browsers require these. **/\n// Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove.\n//import 'core-js/es7/reflect';\n\n// for IE10\nimport 'mutationobserver-shim';\n\n/**\n * Required to support Web Animations `@angular/platform-browser/animations`.\n * Needed for: All but Chrome, Firefox and Opera. http://caniuse.com/#feat=web-animation\n **/\n// import 'web-animations-js'; // Run `npm install --save web-animations-js`.\n\n/**\n * By default, zone.js will patch all possible macroTask and DomEvents\n * user can disable parts of macroTask/DomEvents patch by setting following flags\n */\n\n (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame\n (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick\n (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames\n (window as any).__Zone_enable_cross_context_check = true;\n\n /*\n * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js\n * with the following flag, it will bypass `zone.js` patch for IE/Edge\n */\n(window as any).__Zone_enable_cross_context_check = true;\n\n/***************************************************************************************************\n * Zone JS is required by default for Angular itself.\n */\nimport 'zone.js/dist/zone'; // Included with Angular CLI.\n\n\n\n/***************************************************************************************************\n * APPLICATION IMPORTS\n */\n"],"sourceRoot":"webpack:///"}