/** * Mappings * Belongs to Decentraleyes. * * @author Thomas Rientjes * @since 2014-05-30 * * @author nobody42 * @since 2020-02-26 * * @license MPL 2.0 * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ 'use strict'; /** * Mappings */ /* * Date of last update. * This only needs to be updated when new domains are added. * It's not necessary for subdirectories! */ var lastMappingUpdate = "2020-06-06"; var mappings = { // Google Hosted Libraries 'ajax.googleapis.com': { '/ajax/libs/': { 'angularjs/{version}/angular-animate.': resources.angularAnimate, 'angularjs/{version}/angular-aria.': resources.angularAria, 'angularjs/{version}/angular-cookies.': resources.angularCookies, 'angularjs/{version}/angular-loader.': resources.angularLoader, 'angularjs/{version}/angular-message-format.': resources.angularMessageFormat, 'angularjs/{version}/angular-messages.': resources.angularMessages, 'angularjs/{version}/angular-parse-ext.': resources.angularParseExt, 'angularjs/{version}/angular-resource.': resources.angularResource, 'angularjs/{version}/angular-route.': resources.angularRoute, 'angularjs/{version}/angular-sanitize.': resources.angularSanitize, 'angularjs/{version}/angular-touch.': resources.angularTouch, 'angularjs/{version}/angular.': resources.angular, 'angular_material/{version}/angular-material.min.js': resources.angularMaterialDesignJS, 'angular_material/{version}/angular-material.min.css': resources.angularMaterialDesignCSS, 'dojo/{version}/dojo/dojo.': resources.dojo, 'ext-core/{version}/ext-core.': resources.extCore, 'ext-core/{version}/ext-core-debug.': resources.extCore, 'jquery/{version}/jquery.': resources.jQuery, 'jqueryui/{version}/jquery-ui.js': resources.jQueryUI, 'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI, 'jqueryui/{version}/themes/base/minified/jquery-ui.min.css': resources.jQueryUiThemes, 'mootools/{version}/mootools-core': resources.mootools, 'mootools/{version}/mootools-yui-compressed.': resources.mootoolsYui, 'prototype/{version}/prototype.': resources.prototypeJS, 'scriptaculous/{version}/scriptaculous.': resources.scriptaculous, 'swfobject/{version}/swfobject.': resources.swfobject, 'webfont/{version}/webfont.': resources.webfont, 'webfont/{version}/webfontloader.js': resources.webfontloader, 'webfont/1/webfont.js': resources.webfont } }, // Microsoft Ajax CDN 'ajax.aspnetcdn.com': { '/ajax/': { 'jQuery/jquery-{version}.': resources.jQuery, 'jquery/jquery-{version}.': resources.jQuery, 'modernizr/modernizr-{version}.': resources.modernizr, 'bootstrap/{version}/bootstrap.min.': resources.bootstrapJS } }, // Microsoft Ajax CDN [Deprecated] 'ajax.microsoft.com': { '/ajax/': { 'jQuery/jquery-{version}.': resources.jQuery, 'jquery/jquery-{version}.': resources.jQuery, 'modernizr/modernizr-{version}.': resources.modernizr } }, // CDNJS (Cloudflare) 'cdnjs.cloudflare.com': { '/ajax/libs/': { 'algoliasearch/{version}/algoliasearch.angular.': resources.algoliaSearch, 'algoliasearch/{version}/algoliasearch.': resources.algoliaSearch, 'angucomplete-alt/{version}/angucomplete-alt.': resources.anguComplete, 'angular-bootstrap-colorpicker/{version}/css/colorpicker.': resources.angularBootstrapColorpickerCSS, 'angular-bootstrap-colorpicker/{version}/js/bootstrap-colorpicker-module.': resources.angularBootstrapColorpickerJS, 'angular-ui-bootstrap/{version}/ui-bootstrap-tpls.': resources.angularUiBootstrapTPLS, 'angular-ui-bootstrap/{version}/ui-bootstrap.min.js': resources.angularUiBootstrap, 'angular-ui-router/{version}/angular-ui-router.': resources.angularUiRouter, 'angular-ui-select/{version}/select.': resources.angularJsUiSelect, 'angular-ui-utils/{version}/angular-ui-utils.': resources.angularUiUtils, 'angularjs-slider/{version}/rzslider.': resources.angularJSslider, 'angular-animate/{version}/angular-animate.min.': resources.angularAnimate, 'angular.js/{version}/angular-animate.': resources.angularAnimate, 'angular.js/{version}/angular-aria.': resources.angularAria, 'angular.js/{version}/angular-cookies.': resources.angularCookies, 'angular.js/{version}/angular-loader.': resources.angularLoader, 'angular.js/{version}/angular-message-format.': resources.angularMessageFormat, 'angular.js/{version}/angular-messages.': resources.angularMessages, 'angular.js/{version}/angular-parse-ext.': resources.angularParseExt, 'angular.js/{version}/angular-resource.': resources.angularResource, 'angular.js/{version}/angular-route.': resources.angularRoute, 'angular.js/{version}/angular-sanitize.': resources.angularSanitize, 'angular.js/{version}/angular-touch.': resources.angularTouch, 'angular.js/{version}/angular.': resources.angular, 'angularjs-toaster/{version}/toaster.min.css': resources.angularJsToasterCSS, 'angularjs-toaster/{version}/toaster.min.js': resources.angularJsToasterJS, 'angularjs-toaster/{version}/toaster.css': resources.angularJsToasterCSS, 'angularjs-toaster/{version}/toaster.js': resources.angularJsToasterJS, 'angular-sanitize/{version}/angular-sanitize.': resources.angularSanitize, 'animate.css/{version}/animate.': resources.animateCSS, 'backbone.js/{version}/backbone.': resources.backbone, 'backbone.js/{version}/backbone-min.': resources.backbone, 'bootstrap-daterangepicker/{version}/daterangepicker.': resources.bootstrapDaterangepicker, 'bootstrap-datepicker/{version}/js/bootstrap-datepicker.': resources.bootstrapDatepickerJS, 'bootstrap-datepicker/{version}/css/bootstrap-datepicker.': resources.bootstrapDatepickerCSS, 'bootstrap-datepicker/{version}/css/datepicker.': resources.bootstrapDatepickerCSS, 'bootstrap-select/{version}/css/bootstrap-select.': resources.bootstrapSelectCSS, 'bootstrap-select/{version}/js/bootstrap-select.': resources.bootstrapSelectJS, 'bootstrap-slider/{version}/css/bootstrap-slider.min.css': resources.bootstrapSliderCSS, 'bootstrap-slider/{version}/css/bootstrap-slider.css': resources.bootstrapSliderCSS, 'bootstrap-slider/{version}/bootstrap-slider.min.js': resources.bootstrapSliderJS, 'clipboard.js/{version}/clipboard.min.js': resources.clipboardJS, 'd3/{version}/d3.min.js': resources.d3JS, 'd3-legend/{version}/d3-legend.': resources.d3legend, 'dojo/{version}/dojo.': resources.dojo, 'ember.js/{version}/ember.': resources.ember, 'ext-core/{version}/ext-core.': resources.extCore, 'fancybox/{version}/jquery.fancybox.min.js': resources.fancyBoxJS, 'fancybox/{version}/jquery.fancybox.js': resources.fancyBoxJS, 'fancybox/{version}/helpers/jquery.fancybox-media.js': resources.fancyBoxMediaJS, 'fancybox/{version}/jquery.fancybox.min.css': resources.fancyBoxCSS, 'fancybox/{version}/jquery.fancybox.css': resources.fancyBoxCSS, 'font-awesome/{version}/css/font-awesome': resources.fontawesome, 'font-awesome/{version}/css/': resources.fontawesome5CSS, 'font-awesome/{version}/js/': resources.fontawesome5JS, 'jeditable.js/{version}/jquery.jeditable.min.js': resources.jeditableJS, 'jeditable.js/{version}/jeditable.min.js': resources.jeditableJS, 'jquery/{version}/jquery.': resources.jQuery, 'jquery/{version}/jquery.min.': resources.jQuery, 'jquery.devbridge-autocomplete/{version}/jquery.autocomplete.min.js': resources.jQueryAjaxAutoComplete, 'jquery.blockUI/{version}/jquery.blockUI.min.js': resources.jQueryBlockUI, 'jquery-csv/{version}/jquery.csv.min.js': resources.jQueryCSV, 'jquery.lazyload/{version}/jquery.lazyload.min.js': resources.jQueryLazyLoad, 'jquery-migrate/{version}/jquery-migrate.min.js': resources.jQueryMigrate, 'jqueryui/{version}/jquery-ui.js': resources.jQueryUI, 'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI, 'jquery-validate/{version}/jquery.validate.min.js': resources.jqueryValidationPlugin, 'jquery.tablesorter/{version}/js/jquery.tablesorter.': resources.jQueryTablesorter, 'jquery-modal/{version}/jquery.modal.js': resources.jQueryModalJS, 'jquery-modal/{version}/jquery.modal.min.js': resources.jQueryModalJS, 'jquery-modal/{version}/jquery.modal.css': resources.jQueryModalCSS, 'jquery-modal/{version}/jquery.modal.min.css': resources.jQueryModalCSS, 'js-cookie/{version}/js.cookie.min.js': resources.jscookie, 'lazysizes/{version}/lazysizes.min.js': resources.lazysizes, 'lodash.js/{version}/lodash.': resources.lodashJS, 'mdbootstrap/{version}/js/mdb.': resources.mdbootstrapJS, 'mdbootstrap/{version}/css/mdb.': resources.mdbootstrapCSS, 'modernizr/{version}/modernizr.': resources.modernizr, 'moment.js/{version}/moment.': resources.moment, 'moment.js/{version}/moment.min.': resources.moment, 'mootools/{version}/mootools-core': resources.mootools, 'nvd3/{version}/nv.d3.min.js': resources.nvd3JS, 'nvd3/{version}/nv.d3.js': resources.nvd3JS, 'nvd3/{version}/nv.d3.min.css': resources.nvd3CSS, 'nvd3/{version}/nv.d3.css': resources.nvd3CSS, 'oclazyload/{version}/ocLazyLoad.': resources.ocLazyLoad, 'page.js/{version}/page.min.': resources.pageJs, 'plyr/{version}/plyr.css': resources.plyrCSS, 'popper.js/{version}/umd/popper.min.js': resources.popperJS, 'raven.js/{version}/raven.min.js': resources.ravenJS, 'raven.js/{version}/plugins/angular.min.js': resources.ravenPluginAngularJS, 'react/{version}/umd/react.production.min.js': resources.react, 'react-dom/{version}/umd/react-dom.production.min.js': resources.reactDOM, 'rickshaw/{version}/rickshaw.min.css': resources.rickshawCSS, 'rickshaw/{version}/rickshaw.min.js': resources.rickshawJS, 'scriptaculous/{version}/scriptaculous.': resources.scriptaculous, 'select2/{version}/js/select2.min.js': resources.select2js, 'select2/{version}/css/select2.min.css': resources.select2css, 'showdown/{version}/showdown.': resources.showdown, 'showdown/{version}/Showdown.': resources.showdown, 'spin.js/{version}/spin.min.js': resources.spinJS, 'socket.io/{version}/socket.io.': resources.socketIO, 'swfobject/{version}/swfobject.': resources.swfobject, 'Swiper/{version}/css/swiper.': resources.swiperCSS, 'Swiper/{version}/js/swiper.': resources.swiperJS, 'tether/{version}/js/tether.': resources.tetherJS, 'toastr.js/{version}/toastr.min.css': resources.toastrCSS, 'toastr.js/{version}/toastr.min.js': resources.toastrJS, 'twitter-bootstrap/{version}/js/bootstrap.min.js': resources.twitterBootstrapJS, 'twitter-bootstrap/{version}-alpha.3/js/bootstrap.min.js': resources.twitterBootstrapJS, 'twitter-bootstrap/{version}-alpha.3/css/bootstrap.min.css': resources.twitterBootstrapCSS, 'twitter-bootstrap/{version}/css/bootstrap': resources.twitterBootstrapCSS, 'twitter-bootstrap/{version}/bootstrap.min.js': resources.twitterBootstrapJS, 'twitter-bootstrap/{version}/bootstrap.js': resources.twitterBootstrapJS, 'twitter-bootstrap/{version}/bootstrap.min.css': resources.twitterBootstrapCSS, 'twitter-bootstrap/{version}/bootstrap.css': resources.twitterBootstrapCSS, 'underscore.js/{version}/underscore.': resources.underscore, 'underscore.js/{version}/underscore-min.': resources.underscore, 'urlive/{version}/jquery.urlive.': resources.jqueryURLive, 'vue/{version}/vue.min.js': resources.vueJs, 'webfont/{version}/webfont.js': resources.webfont, 'webfont/{version}/webfontloader.js': resources.webfont, 'webrtc-adapter/{version}/adapter.min.js': resources.webRTCadapter, 'wow/{version}/wow.min.': resources.wow } }, // jQuery CDN (MaxCDN) 'code.jquery.com': { '/': { 'jquery-{version}.': resources.jQuery, 'ui/{version}/jquery-ui.': resources.jQueryUI, 'mobile/{version}/jquery.mobile': resources.jQueryMobile } }, // jsDelivr (Cloudflare) 'cdn.jsdelivr.net': { '/npm/': { 'angular@{version}/angular.': resources.angular, 'angular@{version}/angular.min.': resources.angular, 'angular-payments@{version}/lib/angular-payments.js': resources.angularPayments, 'angular-stripe-checkout@{version}/angular-stripe-checkout.js': resources.angularStripeCheckout, 'animate.css@{version}/animate.min.css': resources.animateCSS, 'backbone@{version}/backbone.': resources.backbone, 'backbone@{version}/backbone-min.': resources.backbone, 'backbone@{version}/backbone.min.': resources.backbone, 'bootstrap@{version}/dist/js/bootstrap.': resources.bootstrapJS, 'bootstrap@{version}/dist/css/bootstrap.': resources.bootstrapCSS, 'dojo@{version}/dojo.': resources.dojo, 'ember-source@{version}/dist/ember.': resources.ember, 'ember-source@{version}/dist/ember.min.': resources.ember, 'ember-source@{version}/dist/legacy/ember.': resources.ember, 'ember-source@{version}/dist/legacy/ember.min.': resources.ember, 'ethjs@{version}/dist/ethjs.': resources.ethJs, '@findify/bundle@{version}/dist/bundle.js': resources.findifyBundle, '@findify/bundle@{version}/dist/components.js': resources.findifyBundle, '@findify/bundle@{version}/dist/config.js': resources.findifyBundle, '@findify/bundle@{version}/dist/initializer.js': resources.findifyBundle, '@findify/bundle@{version}/dist/polyfill.js': resources.findifyBundle, '@findify/bundle@{version}/dist/vendors~components~initializer.js': resources.findifyBundle, '@findify/bundle@{version}/dist/vendors~initializer.js': resources.findifyBundle, '@findify/bundle@{version}/dist/vendors~sentry.js': resources.findifyBundle, 'flv.js/dist/flv.min.js': resources.flvJS, 'hls.js/dist/hls.min.js': resources.hlsJS, 'jquery@{version}/dist/jquery.': resources.jQuery, 'jquery@{version}/dist/jquery.min.': resources.jQuery, 'jquery-ui@{version}/jquery-ui.js': resources.jQueryUI, 'jquery-ui@{version}/jquery-ui.min.js': resources.jQueryUI, 'jquery-ui-dist@{version}/jquery-ui.js': resources.jQueryUI, 'jquery-ui-dist@{version}/jquery-ui.min.js': resources.jQueryUI, 'lodash@{version}/lodash.min.js': resources.lodashJS, 'lozad': resources.lozad, 'npm-modernizr@{version}/modernizr.': resources.modernizr, 'npm-modernizr@{version}/modernizr.min.': resources.modernizr, 'moment@{version}/moment.': resources.moment, 'moment@{version}/moment.min.': resources.moment, 'mootools@{version}/lib/mootools-core-{version}-server.': resources.mootools, 'mootools@{version}/lib/mootools-core-{version}-server.min.': resources.mootools, 'p2p-media-loader-core@latest/build/p2p-media-loader-core.min.js': resources.p2pMediaLoaderCore, 'swfobject@{version}/index.js': resources.swfobject, 'store-js@{version}/dist/store.legacy.min.js': resources.storeJS, 'scriptaculous-js@{version}/scriptaculous.': resources.scriptaculous, 'underscore@{version}/underscore.': resources.underscore, 'underscore@{version}/underscore-min.': resources.underscore, 'urlize.js/urlize.js': resources.urlize, '@webcomponents/webcomponentsjs/webcomponents-loader.js': resources.webcomponentsJS, 'webfontloader@{version}/webfontloader.': resources.webfont }, '/': { 'algoliasearch/3/algoliasearch.': resources.algoliaSearch, 'angularjs/{version}/angular.': resources.angular, 'autocomplete.js/0/autocomplete.': resources.autocompleteJS, 'backbonejs/{version}/backbone.': resources.backbone, 'backbonejs/{version}/backbone-min.': resources.backbone, 'dojo/{version}/dojo.': resources.dojo, 'emberjs/{version}/ember.': resources.ember, 'jquery/{version}/jquery.': resources.jQuery, 'npm/jquery@{version}/dist/jquery.': resources.jQuery, 'jquery.ui/{version}/jquery-ui.js': resources.jQueryUI, 'jquery.ui/{version}/jquery-ui.min.js': resources.jQueryUI, 'momentjs/{version}/moment.': resources.moment, 'momentjs/{version}/moment.min.': resources.moment, 'mootools/{version}/mootools-': resources.mootools, 'simplemde/latest/simplemde.js': resources.simplemdeJS, 'simplemde/latest/simplemde.min.js': resources.simplemdeJS, 'simplemde/latest/simplemde.css': resources.simplemdeCSS, 'simplemde/latest/simplemde.min.css': resources.simplemdeCSS, 'swfobject/{version}/swfobject.': resources.swfobject, 'underscorejs/{version}/underscore.': resources.underscore, 'underscorejs/{version}/underscore-min.': resources.underscore, 'webfontloader/{version}/webfont': resources.webfont }, // TEMPORARY SOLUTION '/g/': { 'algoliasearch@3(algoliasearchLite.min.js),algoliasearch.helper@2': resources.algoliasearchSearchlightHelper } }, // Yandex CDN 'yastatic.net': { '/': { 'angularjs/{version}/angular-animate.': resources.angularAnimate, 'angularjs/{version}/angular-aria.': resources.angularAria, 'angularjs/{version}/angular-cookies.': resources.angularCookies, 'angularjs/{version}/angular-loader.': resources.angularLoader, 'angularjs/{version}/angular-message-format.': resources.angularMessageFormat, 'angularjs/{version}/angular-messages.': resources.angularMessages, 'angularjs/{version}/angular-parse-ext.': resources.angularParseExt, 'angularjs/{version}/angular-resource.': resources.angularResource, 'angularjs/{version}/angular-route.': resources.angularRoute, 'angularjs/{version}/angular-sanitize.': resources.angularSanitize, 'angularjs/{version}/angular-touch.': resources.angularTouch, 'angularjs/{version}/angular.': resources.angular, 'backbone/{version}/backbone.': resources.backbone, 'backbone/{version}/backbone-min.': resources.backbone, 'dojo/{version}/dojo/dojo.': resources.dojo, 'ext-core/{version}/ext-core.': resources.extCore, 'jquery/{version}/jquery.': resources.jQuery, 'jquery-ui/{version}/jquery-ui.js': resources.jQueryUI, 'jquery-ui/{version}/jquery-ui.min.js': resources.jQueryUI, 'modernizr/{version}/modernizr.': resources.modernizr, 'momentjs/{version}/moment.': resources.moment, 'momentjs/{version}/moment.min.': resources.moment, 'prototype/{version}/prototype.': resources.prototypeJS, 'scriptaculous/{version}/scriptaculous.': resources.scriptaculous, 'swfobject/{version}/swfobject.': resources.swfobject, 'underscore/{version}/underscore.': resources.underscore, 'underscore/{version}/underscore-min.': resources.underscore } }, // Yandex CDN [Deprecated] 'yandex.st': { '/': { 'angularjs/{version}/angular.': resources.angular, 'backbone/{version}/backbone.': resources.backbone, 'backbone/{version}/backbone-min.': resources.backbone, 'dojo/{version}/dojo/dojo.': resources.dojo, 'ext-core/{version}/ext-core.': resources.extCore, 'jquery/{version}/jquery.': resources.jQuery, 'jquery-ui/{version}/jquery-ui.js': resources.jQueryUI, 'jquery-ui/{version}/jquery-ui.min.js': resources.jQueryUI, 'modernizr/{version}/modernizr.': resources.modernizr, 'momentjs/{version}/moment.': resources.moment, 'momentjs/{version}/moment.min.': resources.moment, 'prototype/{version}/prototype.': resources.prototypeJS, 'scriptaculous/{version}/scriptaculous.': resources.scriptaculous, 'swfobject/{version}/swfobject.': resources.swfobject, 'underscore/{version}/underscore.': resources.underscore, 'underscore/{version}/underscore-min.': resources.underscore } }, // Baidu CDN 'apps.bdimg.com': { '/libs/': { 'angular.js/{version}/angular-animate.': resources.angularAnimate, 'angular.js/{version}/angular-aria.': resources.angularAria, 'angular.js/{version}/angular-cookies.': resources.angularCookies, 'angular.js/{version}/angular-loader.': resources.angularLoader, 'angular.js/{version}/angular-message-format.': resources.angularMessageFormat, 'angular.js/{version}/angular-messages.': resources.angularMessages, 'angular.js/{version}/angular-parse-ext.': resources.angularParseExt, 'angular.js/{version}/angular-resource.': resources.angularResource, 'angular.js/{version}/angular-route.': resources.angularRoute, 'angular.js/{version}/angular-sanitize.': resources.angularSanitize, 'angular.js/{version}/angular-touch.': resources.angularTouch, 'angular.js/{version}/angular.': resources.angular, 'backbone.js/{version}/backbone.': resources.backbone, 'backbone.js/{version}/backbone-min.': resources.backbone, 'dojo/{version}/dojo.': resources.dojo, 'ember.js/{version}/ember.': resources.ember, 'ext-core/{version}/ext-core.': resources.extCore, 'jquery/{version}/jquery.': resources.jQuery, 'jqueryui/{version}/jquery-ui.js': resources.jQueryUI, 'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI, 'moment/{version}/moment.': resources.moment, 'moment/{version}/moment.min.': resources.moment, 'mootools/{version}/mootools-yui-compressed.': resources.mootools, 'prototype/{version}/prototype.': resources.prototypeJS, 'scriptaculous/{version}/scriptaculous.': resources.scriptaculous, 'swfobject/{version}/swfobject.': resources.swfobject, 'swfobject/{version}/swfobject_src.': resources.swfobject, 'underscore.js/{version}/underscore.': resources.underscore, 'underscore.js/{version}/underscore-min.': resources.underscore, 'webfont/{version}/webfont.': resources.webfont, 'webfont/{version}/webfont_debug.': resources.webfont } }, // Baidu CDN 'libs.baidu.com': { '/': { 'angular.js/{version}/angular-animate.': resources.angularAnimate, 'angular.js/{version}/angular-aria.': resources.angularAria, 'angular.js/{version}/angular-cookies.': resources.angularCookies, 'angular.js/{version}/angular-loader.': resources.angularLoader, 'angular.js/{version}/angular-message-format.': resources.angularMessageFormat, 'angular.js/{version}/angular-messages.': resources.angularMessages, 'angular.js/{version}/angular-parse-ext.': resources.angularParseExt, 'angular.js/{version}/angular-resource.': resources.angularResource, 'angular.js/{version}/angular-route.': resources.angularRoute, 'angular.js/{version}/angular-sanitize.': resources.angularSanitize, 'angular.js/{version}/angular-touch.': resources.angularTouch, 'angular.js/{version}/angular.': resources.angular, 'backbone.js/{version}/backbone.': resources.backbone, 'backbone.js/{version}/backbone-min.': resources.backbone, 'dojo/{version}/dojo.': resources.dojo, 'ember.js/{version}/ember.min.js': resources.ember.js, 'ext-core/{version}/ext-core.': resources.extCore, 'jquery/{version}/jquery.': resources.jQuery, 'jqueryui/{version}/jquery-ui.js': resources.jQueryUI, 'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI, 'moment/{version}/moment.': resources.moment, 'moment/{version}/moment.min.': resources.moment, 'mootools/{version}/mootools-yui-compressed.': resources.mootools, 'prototype/{version}/prototype.': resources.prototypeJS, 'scriptaculous/{version}/scriptaculous.': resources.scriptaculous, 'swfobject/{version}/swfobject.': resources.swfobject, 'underscore.js/{version}/underscore.': resources.underscore, 'underscore.js/{version}/underscore-min.': resources.underscore, 'webfont/{version}/webfont.': resources.webfont, 'webfont/{version}/webfont_debug.': resources.webfont }, '/libs/': { 'angular.js/{version}/angular-animate.': resources.angularAnimate, 'angular.js/{version}/angular-aria.': resources.angularAria, 'angular.js/{version}/angular-cookies.': resources.angularCookies, 'angular.js/{version}/angular-loader.': resources.angularLoader, 'angular.js/{version}/angular-message-format.': resources.angularMessageFormat, 'angular.js/{version}/angular-messages.': resources.angularMessages, 'angular.js/{version}/angular-parse-ext.': resources.angularParseExt, 'angular.js/{version}/angular-resource.': resources.angularResource, 'angular.js/{version}/angular-route.': resources.angularRoute, 'angular.js/{version}/angular-sanitize.': resources.angularSanitize, 'angular.js/{version}/angular-touch.': resources.angularTouch, 'angular.js/{version}/angular.': resources.angular, 'backbone.js/{version}/backbone.': resources.backbone, 'backbone.js/{version}/backbone-min.': resources.backbone, 'dojo/{version}/dojo.': resources.dojo, 'ember.js/{version}/ember.min.js': resources.ember.js, 'ext-core/{version}/ext-core.': resources.extCore, 'jquery/{version}/jquery.': resources.jQuery, 'jqueryui/{version}/jquery-ui.js': resources.jQueryUI, 'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI, 'mootools/{version}/mootools-yui-compressed.': resources.mootools, 'prototype/{version}/prototype.': resources.prototypeJS, 'scriptaculous/{version}/scriptaculous.': resources.scriptaculous, 'swfobject/{version}/swfobject.': resources.swfobject, 'underscore.js/{version}/underscore.': resources.underscore, 'underscore.js/{version}/underscore-min.': resources.underscore, 'webfont/{version}/webfont.': resources.webfont, 'webfont/{version}/webfont_debug.': resources.webfont } }, // Staticfile CDN 'cdn.staticfile.org': { '/': { 'angular.js/{version}/angular-animate.': resources.angularAnimate, 'angular.js/{version}/angular-aria.': resources.angularAria, 'angular.js/{version}/angular-cookies.': resources.angularCookies, 'angular.js/{version}/angular-loader.': resources.angularLoader, 'angular.js/{version}/angular-message-format.': resources.angularMessageFormat, 'angular.js/{version}/angular-messages.': resources.angularMessages, 'angular.js/{version}/angular-parse-ext.': resources.angularParseExt, 'angular.js/{version}/angular-resource.': resources.angularResource, 'angular.js/{version}/angular-route.': resources.angularRoute, 'angular.js/{version}/angular-sanitize.': resources.angularSanitize, 'angular.js/{version}/angular-touch.': resources.angularTouch, 'angular.js/{version}/angular.': resources.angular, 'backbone.js/{version}/backbone.': resources.backbone, 'backbone.js/{version}/backbone-min.': resources.backbone, 'dojo/{version}/dojo.': resources.dojo, 'ember.js/{version}/ember.min.js': resources.ember.js, 'ext-core/{version}/ext-core.': resources.extCore, 'jquery/{version}/jquery.': resources.jQuery, 'jqueryui/{version}/jquery-ui.js': resources.jQueryUI, 'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI, 'modernizr/{version}/modernizr.': resources.modernizr, 'mootools/{version}/mootools-yui-compressed.': resources.mootools, 'prototype/{version}/prototype.': resources.prototypeJS, 'scriptaculous/{version}/scriptaculous.': resources.scriptaculous, 'swfobject/{version}/swfobject.': resources.swfobject, 'webfont/{version}/webfont.': resources.webfont, 'webfont/{version}/webfont_debug.': resources.webfont } }, // BootCDN 'cdn.bootcss.com': { '/': { 'angular.js/{version}/angular-animate.': resources.angularAnimate, 'angular.js/{version}/angular-aria.': resources.angularAria, 'angular.js/{version}/angular-cookies.': resources.angularCookies, 'angular.js/{version}/angular-loader.': resources.angularLoader, 'angular.js/{version}/angular-message-format.': resources.angularMessageFormat, 'angular.js/{version}/angular-messages.': resources.angularMessages, 'angular.js/{version}/angular-parse-ext.': resources.angularParseExt, 'angular.js/{version}/angular-resource.': resources.angularResource, 'angular.js/{version}/angular-route.': resources.angularRoute, 'angular.js/{version}/angular-sanitize.': resources.angularSanitize, 'angular.js/{version}/angular-touch.': resources.angularTouch, 'angular.js/{version}/angular.': resources.angular, 'backbone.js/{version}/backbone.': resources.backbone, 'backbone.js/{version}/backbone-min.': resources.backbone, 'dojo/{version}/dojo.': resources.dojo, 'ember.js/{version}/ember.min.js': resources.ember.js, 'ext-core/{version}/ext-core.': resources.extCore, 'jquery/{version}/jquery.': resources.jQuery, 'jqueryui/{version}/jquery-ui.js': resources.jQueryUI, 'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI, 'modernizr/{version}/modernizr.': resources.modernizr, 'mootools/{version}/mootools-yui-compressed.': resources.mootools, 'prototype/{version}/prototype.': resources.prototypeJS, 'scriptaculous/{version}/scriptaculous.': resources.scriptaculous, 'swfobject/{version}/swfobject.': resources.swfobject, 'underscore.js/{version}/underscore.': resources.underscore, 'underscore.js/{version}/underscore-min.': resources.underscore, 'webfont/{version}/webfont.': resources.webfont, 'webfont/{version}/webfont_debug.': resources.webfont, 'ember.js/{version}/ember.': resources.ember, 'moment.js/{version}/moment.': resources.moment, 'moment.js/{version}/moment.min.': resources.moment, 'webfont/{version}/webfontloader.': resources.webfont } }, // Tencent Public Libraries 'mat1.gtimg.com': { '/libs/' :{ 'angular.js/{version}/angular-animate.': resources.angularAnimate, 'angular.js/{version}/angular-aria.': resources.angularAria, 'angular.js/{version}/angular-cookies.': resources.angularCookies, 'angular.js/{version}/angular-loader.': resources.angularLoader, 'angular.js/{version}/angular-message-format.': resources.angularMessageFormat, 'angular.js/{version}/angular-messages.': resources.angularMessages, 'angular.js/{version}/angular-parse-ext.': resources.angularParseExt, 'angular.js/{version}/angular-resource.': resources.angularResource, 'angular.js/{version}/angular-route.': resources.angularRoute, 'angular.js/{version}/angular-sanitize.': resources.angularSanitize, 'angular.js/{version}/angular-touch.': resources.angularTouch, 'angular.js/{version}/angular.': resources.angular, 'jquery/{version}/jquery.': resources.jQuery, } }, // Qihoo 360 CDN 'lib.baomitu.com': { '/': { 'angular.js/{version}/angular-animate.': resources.angularAnimate, 'angular.js/{version}/angular-aria.': resources.angularAria, 'angular.js/{version}/angular-cookies.': resources.angularCookies, 'angular.js/{version}/angular-loader.': resources.angularLoader, 'angular.js/{version}/angular-message-format.': resources.angularMessageFormat, 'angular.js/{version}/angular-messages.': resources.angularMessages, 'angular.js/{version}/angular-parse-ext.': resources.angularParseExt, 'angular.js/{version}/angular-resource.': resources.angularResource, 'angular.js/{version}/angular-route.': resources.angularRoute, 'angular.js/{version}/angular-sanitize.': resources.angularSanitize, 'angular.js/{version}/angular-touch.': resources.angularTouch, 'angular.js/{version}/angular.': resources.angular, 'backbone.js/{version}/backbone.': resources.backbone, 'backbone.js/{version}/backbone-min.': resources.backbone, 'dojo/{version}/dojo.': resources.dojo, 'ember.js/{version}/ember.min.js': resources.ember.js, 'ext-core/{version}/ext-core.': resources.extCore, 'jquery/{version}/jquery.': resources.jQuery, 'jqueryui/{version}/jquery-ui.js': resources.jQueryUI, 'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI, 'modernizr/{version}/modernizr.': resources.modernizr, 'mootools/{version}/mootools-yui-compressed.': resources.mootools, 'prototype/{version}/prototype.': resources.prototypeJS, 'scriptaculous/{version}/scriptaculous.': resources.scriptaculous, 'swfobject/{version}/swfobject.': resources.swfobject, 'underscore.js/{version}/underscore.': resources.underscore, 'underscore.js/{version}/underscore-min.': resources.underscore, 'webfont/{version}/webfont.': resources.webfont, 'webfont/{version}/webfont_debug.': resources.webfont } }, // Sina Public Resources 'lib.sinaapp.com': { '/js/': { 'angular.js/angular-{version}/angular.': resources.angular, 'backbone/{version}/backbone.': resources.backbone, 'dojo/{version}/dojo.': resources.dojo, 'ext-core/{version}/ext-core.': resources.extCore, 'ext-core/{version}/ext-core-debug.': resources.extCore, 'jquery/{version}/jquery.': resources.jQuery, 'jquery/{version}/jquery-': resources.jQuery, 'jquery-ui/{version}/jquery-ui.js': resources.jQueryUI, 'jquery-ui/{version}/jquery-ui.min.js': resources.jQueryUI, 'mootools/{version}/mootools.': resources.mootools, 'prototype/{version}/prototype.': resources.prototypeJS, 'scriptaculous/{version}/scriptaculous.': resources.scriptaculous, 'swfobject/{version}/swfobject.': resources.swfobject, 'underscore/{version}/underscore.': resources.underscore, 'underscore/{version}/underscore-min.': resources.underscore, 'webfont/{version}/webfont.': resources.webfont, 'webfont/{version}/webfont_debug.': resources.webfont } }, // UpYun Library 'upcdn.b0.upaiyun.com': { '/libs/': { 'dojo/dojo-{version}.': resources.dojo, 'emberjs/emberjs-{version}.': resources.ember, 'jquery/jquery-{version}.': resources.jQuery, 'jqueryui/jquery.ui-{version}.js': resources.jQueryUI, 'jqueryui/jquery.ui-{version}.min.js': resources.jQueryUI, 'modernizr/modernizr-{version}.': resources.modernizr, 'mootoolscore/mootools.core-{version}.': resources.mootools } }, // StackPath BootstrapCDN 'stackpath.bootstrapcdn.com': { '/': { 'bootstrap/{version}/js/bootstrap.min.': resources.bootstrapJS, 'bootstrap/{version}/css/bootstrap.min.': resources.bootstrapCSS, 'font-awesome/{version}/css/font-awesome': resources.fontawesome } }, // MaxCDN Bootstrap 'maxcdn.bootstrapcdn.com': { '/': { 'bootstrap/{version}/js/bootstrap.min.': resources.bootstrapJS, 'bootstrap/{version}/css/bootstrap.min.': resources.bootstrapCSS, 'twitter-bootstrap/{version}/css/bootstrap': resources.twitterBootstrapCSS, 'font-awesome/{version}/css/font-awesome': resources.fontawesome } }, // NetDNA Bootstrap 'netdna.bootstrapcdn.com': { '/bootstrap/': { '{version}/js/bootstrap.min.': resources.bootstrapJS, '{version}/css/bootstrap.min.': resources.bootstrapCSS }, '/font-awesome/': { '{version}/css/font-awesome.css': resources.fontawesome } }, // Font Awesome CDN 'use.fontawesome.com': { '/releases/v': { '{version}/css/': resources.fontawesome5CSS, '{version}/js/': resources.fontawesome5JS } }, // Cloudflare Rocket-Loader 'ajax.cloudflare.com': { '/': { 'cdn-cgi/scripts/7089c43e/cloudflare-static/rocket-loader.min.': resources.cfRocketLoader, 'cdn-cgi/scripts/04b3eb47/cloudflare-static/mirage2.': resources.mirage2 } }, // Akamai WebCDN 'akamai-webcdn.kgstatic.net': { '/': { 'renewal/static/js/lozad.min.': resources.lozad } } }; // Geekzu Public Service [Mirror] mappings['sdn.geekzu.org'] = { '/ajax/ajax/libs/': mappings['ajax.googleapis.com']['/ajax/libs/'] }; // USTC Linux User Group [Mirror] mappings['ajax.proxy.ustclug.org'] = mappings['ajax.googleapis.com']; //UNPKG (Cloudflare) mappings['unpkg.com'] = { '/': mappings['cdn.jsdelivr.net']['/npm/'] }; // PageCDN mappings['pagecdn.io'] = { '/lib/': mappings['cdnjs.cloudflare.com']['/ajax/libs/'] };